/* ============================================================
   MAST 13 — Masterclass in Arthroplasty Surgery
   Component styles. Tokens/resets/buttons live in tokens.css.
   Layout uses Bootstrap's grid/flex utilities; styles below cover
   what Bootstrap doesn't provide (bespoke type, gradients, motion,
   hairline grids, sticky columns, etc).
   ============================================================ */

/* ============================================================
   HEADER / NAVBAR
   #site-header (outer, full-width fixed bar) carries .is-top /
   .is-scrolled. #mainNav (inner, .shell-width) carries Bootstrap's
   navbar-dark / navbar-light for nav-link + toggler contrast.
   ============================================================ */
.site-header {
  height: 84px;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: var(--steel-200);
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
}

#mainNav { flex-wrap: wrap; justify-content: space-between; gap: 0; }

.navbar.shell { height: 100%; padding-top: 0; padding-bottom: 0; }

/* brand logo */
.brand__logo { height: 70px; width: auto; transition: height .3s ease; }
.site-header.is-scrolled .brand__logo { height: 50px; }

/* nav links — underline on hover */
.navbar-nav .nav-link {
  font-size: 0.95rem; font-weight: 500;
  position: relative; padding: 4px 0;
  transition: color .2s;
}
.navbar-nav .nav-link::after {
  content: ""; display: block; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
  border: 0; margin-left: 0;
}
.navbar-nav .nav-link:hover::after { transform: scaleX(1); }

/* ---- Speakers/Programme submenus (Bootstrap dropdown, reskinned) ----
   .dropdown-toggle is also a .nav-link, so it shares the single ::after
   pseudo-element above (same selector shape) — the reset properties just
   added (border/margin-left/vertical-align/display) neutralize Bootstrap's
   built-in caret shape without disabling the underline effect. The visible
   caret is a plain CSS border-triangle (not an <svg>) — mainMenu.html is
   fetched as a fragment and injected via innerHTML, and some dev servers
   (e.g. Live Server) auto-inject their reload script into any response
   containing an <svg> tag assuming it's an SVG file, which corrupts the
   fragment; a border-triangle sidesteps that entirely. */
.nav-caret {
  display: inline-block; width: 0; height: 0; margin-left: 6px; vertical-align: 2px; opacity: .7;
  border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor;
  transition: transform .2s ease;
}
.dropdown-toggle[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }
.navbar-nav .dropdown-menu {
  border: 1px solid var(--steel-200); border-radius: var(--radius);
  box-shadow: 0 20px 40px -16px rgba(22,33,44,.25); padding: 8px; margin-top: 12px; min-width: 224px;
}
.navbar-nav .dropdown-item {
  font-size: 0.92rem; font-weight: 500; color: var(--ink);
  border-radius: calc(var(--radius) - 1px); padding: 10px 14px; transition: background .15s, color .15s;
}
.navbar-nav .dropdown-item:hover, .navbar-nav .dropdown-item:focus { background: var(--paper-2); color: var(--accent); }

@media (min-width: 992px) {
  .navbar-nav { gap: clamp(10px, 1.2vw, 18px); }
  #navbarResponsive { align-items: center; }
}

/* mobile collapse — frosted dropdown panel below the fixed header */
@media (max-width: 991.98px) {
  #navbarResponsive {
    position: absolute; top: 84px; left: 0; right: 0;
    background: rgba(255,255,255,.96); backdrop-filter: blur(14px);
    padding: 18px var(--gutter); border-bottom: 1px solid var(--steel-200);
  }
  #navbarResponsive .navbar-nav .nav-link { color: var(--steel-900); font-size: 1.05rem; padding: 8px 0; }
  #navbarResponsive .header-cta { margin-top: 12px; }
  #navbarResponsive .header-cta .btn { width: 100%; justify-content: center; }

  /* submenu expands inline instead of floating, matching the collapsed panel */
  #navbarResponsive .dropdown-menu {
    position: static; box-shadow: none; border: 0; background: transparent;
    padding: 0 0 0 16px; margin-top: 2px;
  }
  #navbarResponsive .dropdown-item { color: var(--steel-700); font-size: 0.98rem; padding: 6px 0; }
  #navbarResponsive .dropdown-item:hover, #navbarResponsive .dropdown-item:focus { background: transparent; color: var(--accent); }
}

/* ============================================================
   HERO — full-bleed video/image, dark scrim, amber glow accents
   ============================================================ */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  color: #fff; overflow: hidden;
  background: linear-gradient(145deg, #2c3e52 0%, #50647c 48%, #7d96b1 100%);
}
.hero__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__video, .hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  /* newer clip's backdrop (red/teal graphic, warm wood) is far less
     LED-cyan-dominant than the old footage — a light touch keeps it vivid
     instead of flattening it, letting the scrim/wash do the brand tie-in */
  filter: saturate(0.8) brightness(0.9) contrast(1.08);
}

.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  /* sculpted, not flat: darkest at the very top (nav/header legibility) and
     bottom (full-width text band), lightest across the middle where faces
     sit — keeps people well-lit while still guaranteeing text contrast */
  background: linear-gradient(
    to bottom,
    rgba(22,33,44,.5) 0%,
    rgba(22,33,44,.22) 32%,
    rgba(22,33,44,.4) 60%,
    rgba(22,33,44,.88) 100%
  );
}

.hero__wash {
  position: absolute; inset: 0; z-index: 1;
  /* warms the cool cast back toward the brand palette without adding darkness */
  background: radial-gradient(120% 90% at 50% 100%, rgba(183,90,51,.5) 0%, rgba(183,90,51,.18) 45%, transparent 75%);
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero__glow {
  position: absolute; z-index: 1; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,200,130,.45) 0%, rgba(255,157,66,.2) 35%, transparent 68%);
  filter: blur(8px); pointer-events: none; mix-blend-mode: screen;
}
.hero__glow.g1 { left: 6%; top: 50%; }
.hero__glow.g2 { left: 14%; top: 74%; width: 240px; height: 240px; opacity: .8; }

.hero__inner {
  position: relative; z-index: 2; width: 100%;
  padding-bottom: clamp(48px, 8vh, 110px); padding-top: 140px;
}
.hero__eyebrow { margin-bottom: 18px; color: var(--amber-hot); }
.hero__title {
  font-size: clamp(3rem, 8.6vw, 7.25rem); font-weight: 600; line-height: 0.96;
  letter-spacing: -0.045em; text-wrap: balance;
}
.hero__title .l2 { color: var(--amber-hot); }
.hero__badges { display: flex; gap: 14px; align-items: center; margin-top: 30px; flex-wrap: wrap; }
.hero__badges .pill {
  font-size: 0.78rem; letter-spacing: 0.04em; padding: 7px 14px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,.32); color: rgba(255,255,255,.9);
  display: inline-flex; align-items: center; gap: 8px;
}
.hero__badges .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); }

.hero__meta {
  display: flex; flex-direction: column; gap: 20px;
  padding: 30px; border-left: 3px solid var(--accent);
  background: linear-gradient(180deg, rgba(22,33,44,.35), rgba(22,33,44,.05));
  backdrop-filter: blur(6px); border-radius: var(--radius);
}
.hero__dates { display: flex; align-items: baseline; gap: 14px; font-weight: 600; }
.hero__dates .dd { font-size: clamp(2.4rem,5vw,3.6rem); letter-spacing: -0.03em; line-height: 1; color: var(--amber-hot); }
.hero__dates .mm { font-family: var(--serif); font-weight: 300; font-size: 1.25rem; line-height: 1.1; }
.hero__loc { font-size: 1.05rem; color: rgba(255,255,255,.85); }
.hero__loc strong { font-weight: 600; color: #fff; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

@media (max-width: 991.98px) {
  .hero__badges { margin-top: 8px; }
}

.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255,255,255,.6);
}
.scroll-cue .line { width: 1px; height: 38px; background: linear-gradient(rgba(255,255,255,.7), transparent); animation: cue 2s ease-in-out infinite; }
@keyframes cue { 0%,100%{transform:scaleY(.4);transform-origin:top;opacity:.4} 50%{transform:scaleY(1);opacity:1} }

/* ============================================================
   WELCOME + WHAT'S NEW
   ============================================================ */
.welcome { background: var(--paper); padding: clamp(70px, 11vh, 150px) 0; }
.welcome__left { position: sticky; top: 110px; }
.section-head .eyebrow { display: block; margin-bottom: 14px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.3rem); letter-spacing: -0.03em; line-height: 1.02; }
.welcome__sig { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--steel-200); }
.welcome__sig .name { font-weight: 600; font-size: 1.1rem; }
.welcome__sig .role { color: var(--steel-700); font-size: 0.92rem; margin-top: 4px; }
.welcome__sig .role span { display: block; }

.welcome__body { font-size: clamp(1.05rem, 1.5vw, 1.28rem); line-height: 1.62; color: var(--ink-2); }
.welcome__body p { margin-bottom: 1.1em; }
.welcome__body .drop { color: var(--ink); font-weight: 500; }
.welcome__more { overflow: hidden; transition: max-height .55s cubic-bezier(.4,0,.2,1), opacity .4s ease; }
.welcome__more.collapsed { max-height: 0; opacity: 0; }
.welcome__more.expanded { max-height: 2400px; opacity: 1; }
.expand-btn {
  margin-top: 22px; display: inline-flex; align-items: center; gap: 10px;
  background: none; border: 0; color: var(--accent); font-weight: 600; font-size: 1rem; padding: 0;
}
.expand-btn .chev { transition: transform .3s ease; }
.expand-btn.open .chev { transform: rotate(180deg); }

.whatsnew { margin-top: 40px; display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--steel-200); border: 1px solid var(--steel-200); border-radius: var(--radius); overflow: hidden; }
.whatsnew .cell { background: var(--paper); padding: 22px; }
.whatsnew .cell .n { font-family: var(--serif); color: var(--accent); font-size: 0.9rem; font-weight: 500; }
.whatsnew .cell .t { font-weight: 600; margin-top: 8px; font-size: 0.98rem; }
.whatsnew .cell .d { color: var(--steel-700); font-size: 0.86rem; margin-top: 4px; line-height: 1.4; }

@media (max-width: 991.98px) { .welcome__left { position: static; } }
@media (max-width: 767.98px) { .whatsnew { grid-template-columns: 1fr; } }

/* ============================================================
   STATS
   ============================================================ */
.stats { background: var(--ink); color: #fff; padding: clamp(54px, 8vh, 92px) 0; position: relative; overflow: hidden; }
.stats::before {
  content:""; position:absolute; right:-6%; top:-40%; width:560px; height:560px; border-radius:50%;
  background: radial-gradient(circle, rgba(183,90,51,.45), transparent 62%); filter: blur(20px);
}
.stat { border-left: 2px solid rgba(255,255,255,.16); padding-left: 22px; position: relative; z-index: 1; }
.stat .num { font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.stat .num .suf { color: var(--amber); }
.stat .lab { margin-top: 12px; font-size: 0.92rem; color: var(--steel-300); letter-spacing: 0.02em; }

/* ============================================================
   COUNTDOWN
   ============================================================ */
.countdown {
  position: relative; color: #fff; padding: clamp(70px,12vh,140px) 0; overflow: hidden;
  background: linear-gradient(120deg, #3b4f63, #50647c 60%, #2c3e52);
}
.countdown__intro .eyebrow { color: var(--amber-hot); display:block; margin-bottom: 12px; }
.countdown__intro h2 { font-size: clamp(1.8rem,3.4vw,2.8rem); }
.countdown__intro p { color: rgba(255,255,255,.8); margin-top: 14px; max-width: 40ch; }
.cd-clock { display: flex; gap: clamp(14px,2.4vw,30px); }
.cd-unit { text-align: center; min-width: 84px; }
.cd-unit .v {
  font-size: clamp(2.8rem,6vw,5rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1;
  font-variant-numeric: tabular-nums; display:block;
}
.cd-unit .l { margin-top: 10px; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--steel-300); }
.cd-sep { font-size: clamp(2.4rem,5vw,4rem); font-weight: 300; color: rgba(255,255,255,.3); align-self: flex-start; }

@media (max-width: 991.98px) {
  .cd-unit { min-width: 0; flex: 1; }
  .cd-clock { gap: 10px; }
}
@media (max-width: 767.98px) {
  .cd-sep { display: none; }
}

/* ============================================================
   PROGRAMME — tabs, panels, topics, workshops
   ============================================================ */
.programme { background: var(--paper-2); padding: clamp(70px,11vh,150px) 0; }
.programme__head .section-head { max-width: 30ch; }
.tabs { display: flex; gap: 8px; background: var(--paper); padding: 6px; border-radius: 100px; border: 1px solid var(--steel-200); }
.tab {
  border: 0; background: transparent; padding: 12px 26px; border-radius: 100px;
  font-weight: 600; font-size: 0.96rem; color: var(--steel-700); transition: all .22s ease; position: relative;
}
.tab.active { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -10px rgba(151,67,31,.8); }
.tab .day { display:block; font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: .7; font-weight: 600; }

.panel { animation: fade .4s ease; }
.panel[hidden] { display: none; }
@keyframes fade { from{opacity:0; transform: translateY(10px);} to{opacity:1; transform:none;} }
.panel__aside { position: sticky; top: 110px; }
.panel__aside .dnum { font-family: var(--serif); font-weight: 300; font-size: clamp(3rem,7vw,5.5rem); color: var(--accent); line-height: .9; }
.panel__aside .dlabel { font-size: 1.3rem; font-weight: 600; margin-top: 8px; }
.panel__aside .ddate { color: var(--steel-700); margin-top: 6px; }
.panel__aside .dtag { display:inline-block; margin-top: 18px; font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--bronze-300); padding: 6px 12px; border-radius: 100px; }

.topics { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--steel-200); border: 1px solid var(--steel-200); border-radius: var(--radius); overflow: hidden; }
.topic { background: var(--paper); padding: 20px 22px; display: flex; gap: 16px; align-items: baseline; transition: background .2s; }
.topic:hover { background: var(--paper-warm); }
.topic .ti { font-family: var(--serif); font-size: 0.85rem; color: var(--steel-400); min-width: 28px; font-variant-numeric: tabular-nums; }
.topic .tt { font-weight: 500; font-size: 1.02rem; }

.workshop-list { display: flex; flex-direction: column; gap: 1px; background: var(--steel-200); border: 1px solid var(--steel-200); border-radius: var(--radius); overflow: hidden; }
.workshop { background: var(--paper); padding: 22px; display: flex; gap: 18px; align-items: flex-start; }
.workshop .wi { font-family: var(--serif); font-size: 1.2rem; color: var(--accent); min-width: 30px; }
.workshop .wt { font-weight: 600; }
.workshop .wd { color: var(--steel-700); font-size: 0.9rem; margin-top: 3px; }

@media (max-width: 991.98px) { .panel__aside { position: static; } }
@media (max-width: 767.98px) { .topics { grid-template-columns: 1fr; } }

/* ============================================================
   CONTACT US
   ============================================================ */
   a.contact-link { color: var(--bronze); text-decoration: none; transition: color .6s ease;}
   a.contact-link:hover { color:var(--amber); text-decoration: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: var(--steel-300); padding: clamp(60px,9vh,100px) 0 40px; }
.footer__top { padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer h4 { color: #fff; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 18px; font-weight: 600; }
.footer__brand p { margin-top: 18px; max-width: 36ch; line-height: 1.6; color: var(--steel-400); font-size: 0.96rem; }
.footer__links a { color: var(--steel-300); font-size: 0.96rem; transition: color .2s; width: fit-content; }
.footer__links a:hover { color: #fff; }
.endorse-chip { font-size: 0.8rem; color: var(--steel-300); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: 10px 14px; line-height: 1.3; }
.endorse-chip strong { display:block; color:#fff; font-weight:600; }
.footer__bottom { padding-top: 28px; font-size: 0.84rem; color: var(--steel-500); }
.brand__logo--footer { height: 220px; width: auto; }

/* ============================================================
   INTERIOR PAGES — page banner, section helpers, hairline grid,
   flags, speakers, registration, abstracts components
   (shared by speakers.html, registration.html, abstracts.html)
   ============================================================ */

/* ---- Section rhythm + backgrounds ---- */
.section { padding-block: clamp(64px, 10vh, 140px); }
.section--paper { background: var(--paper); }
.section--cool  { background: var(--paper-2); }
.section--ink   { background: var(--ink); color: #fff; }

.section-head--center { max-width: 40ch; margin-inline: auto; }
.lead-2 { color: var(--steel-700); margin-top: 16px; font-size: 1.1rem; line-height: 1.6; }
.section--ink .lead-2 { color: var(--steel-300); }

/* ---- Hairline lattice helper ----
   Put `.hair` on a Bootstrap `.row.g-0`. The container draws the
   top+left frame; each column draws its bottom+right — a clean
   1px lattice with no doubled lines, regardless of how the row wraps. */
.hair { border-top: 1px solid var(--steel-200); border-left: 1px solid var(--steel-200); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.hair > [class*="col"] { border-bottom: 1px solid var(--steel-200); border-right: 1px solid var(--steel-200); }

/* ---- Country flag chip ---- */
.flag { width: 26px; height: 18px; border-radius: 2px; overflow: hidden; flex: 0 0 auto; display: inline-block; line-height: 0; box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.18); }
.flag svg, .flag img { width: 100%; height: 100%; display: block; object-fit: cover; }
.flag--none { background: var(--steel-100); box-shadow: inset 0 0 0 1px var(--steel-200); }

/* ============================================================
   PAGE BANNER
   ============================================================ */
.page-banner { position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(145deg, #2c3e52 0%, #50647c 52%, #7d96b1 100%);
  padding: clamp(130px, 18vh, 200px) 0 clamp(54px, 8vh, 96px); }
.page-banner__scrim { position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(120% 100% at 85% 0%, rgba(183,90,51,.28), transparent 55%),
    linear-gradient(180deg, rgba(22,33,44,.45), rgba(22,33,44,0) 40%, rgba(22,33,44,.35)); }
.page-banner__glow { position: absolute; z-index: 1; width: 420px; height: 420px; border-radius: 50%;
  right: -60px; top: -140px; pointer-events: none; mix-blend-mode: screen; filter: blur(6px);
  background: radial-gradient(circle, rgba(255,200,130,.5) 0%, rgba(255,157,66,.18) 40%, transparent 70%); }
.page-banner__inner { position: relative; z-index: 2; }
.page-banner .eyebrow { color: var(--amber-hot); display: block; margin-bottom: 16px; }
.page-banner h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); font-weight: 600; letter-spacing: -0.04em; line-height: 0.98; text-wrap: balance; }
.page-banner__sub { margin-top: 22px; max-width: 56ch; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.6; color: rgba(255,255,255,.85); }
.page-banner .pill { font-size: 0.8rem; letter-spacing: 0.03em; padding: 8px 15px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,.32); color: rgba(255,255,255,.92); display: inline-flex; align-items: center; gap: 8px; }
.page-banner .pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); }

/* ============================================================
   SPEAKERS
   ============================================================ */
.featured { background: var(--paper); padding: 28px; transition: background .2s; }
.featured:hover { background: var(--paper-warm); }
.featured__photo { width: 232px; height: 232px; border-radius: 50%; flex: 0 0 auto; overflow: hidden;
  background: var(--steel-100); box-shadow: inset 0 0 0 3px var(--paper), 0 0 0 1px var(--steel-200); }
.featured__photo img { width: 100%; height: 100%; object-fit: cover; }
.featured__role { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 0.92rem; }
.featured__name { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; margin-top: 6px; }
.featured__cred { color: var(--steel-700); font-size: 0.94rem; line-height: 1.45; margin-top: 8px; }
.featured__loc { display: inline-flex; align-items: center; gap: 9px; margin-top: 14px; font-size: 0.86rem; font-weight: 500; color: var(--ink-2); }

/* .speaker__photo { position: relative; width: 100%; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--steel-100); box-shadow: 0 1px 0 var(--steel-200); } */
.speaker__photo { position: relative; width: 100%; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: linear-gradient(145deg, #2c3e52 0%, #50647c 52%, #7d96b1 100%); box-shadow: 0 1px 0 var(--steel-200); }
.speaker__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.16) contrast(1.02); transition: transform .5s cubic-bezier(.2,.7,.2,1), filter .4s; }
.speaker:hover .speaker__photo img { transform: scale(1.045); filter: grayscale(0) contrast(1.04); }
.speaker__photo::after { content: ""; position: absolute; left: 0; bottom: 0; width: 46px; height: 3px; background: var(--accent); }
.speaker__name { font-weight: 600; font-size: 1.06rem; letter-spacing: -0.01em; margin-top: 16px; }
.speaker__cred { color: var(--steel-700); font-size: 0.86rem; line-height: 1.4; margin-top: 4px; }
.speaker__country { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--steel-500); }
.faculty-note { color: var(--steel-700); }
.faculty-note .e { font-family: var(--serif); font-style: italic; color: var(--accent); }

/* ============================================================
   SPEAKERS ARCHIVE — "Speakers, over the years" roster page.
   Sticky filter bar + continent jump-nav + country rosters.
   ============================================================ */
.archive-bar {
  position: sticky; top: 84px; z-index: 20;
  background: rgba(255,255,255,.92); backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--steel-200);
  padding-block: 18px;
}
.archive-bar__row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.archive-search { position: relative; flex: 1 1 280px; max-width: 380px; }
.archive-search input {
  width: 100%; border: 1px solid var(--steel-300); border-radius: 100px;
  padding: 12px 20px 12px 42px; font-size: 0.96rem; font-family: var(--sans);
  background: var(--paper-2); transition: border-color .2s, background .2s;
}
.archive-search input:focus { outline: none; border-color: var(--accent); background: var(--paper); }
.archive-search__icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--steel-500); pointer-events: none; }
.archive-count { font-size: 0.86rem; color: var(--steel-700); white-space: nowrap; }
.archive-count strong { color: var(--ink); font-weight: 600; }
.archive-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.archive-jump a {
  font-size: 0.82rem; font-weight: 600; color: var(--steel-700);
  border: 1px solid var(--steel-200); border-radius: 100px; padding: 7px 15px;
  transition: all .2s ease;
}
.archive-jump a:hover { border-color: var(--accent); color: var(--accent); }
.archive-empty { display: none; text-align: center; padding: 60px 20px; color: var(--steel-700); }
.archive-empty.is-visible { display: block; }

.continent-group { padding-block: clamp(40px, 6vh, 72px); }
.continent-group + .continent-group { border-top: 1px solid var(--steel-200); }
.continent-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.continent-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -0.02em; }
.continent-count { font-size: 0.86rem; color: var(--steel-500); letter-spacing: 0.02em; }

.country-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--steel-200); border: 1px solid var(--steel-200); border-radius: var(--radius); overflow: hidden; }
.country-block { background: var(--paper); padding: 22px 24px; transition: background .15s; }
.country-block__head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.country-block__head h3 { font-size: 1.02rem; font-weight: 600; letter-spacing: -0.01em; margin-right: auto; }
.country-block__count { font-size: 0.76rem; color: var(--steel-500); font-variant-numeric: tabular-nums; background: var(--paper-2); border-radius: 100px; padding: 2px 9px; }
.roster { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.roster__item { font-size: 0.92rem; line-height: 1.3; }
.roster__item.is-hidden { display: none; }
.roster__first { color: var(--steel-700); font-weight: 400; }
.country-block.is-hidden { display: none; }
.continent-group.is-hidden { display: none; }

@media (max-width: 991.98px) { .country-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) {
  .country-grid { grid-template-columns: 1fr; }
  .archive-bar { top: 0; }
  .archive-jump { display: none; }
}

/* ============================================================
   PREVIOUS MASTERCLASSES — vertical timeline (history.html)
   ============================================================ */
.history { position: relative; }
.history__row { position: relative; display: flex; align-items: flex-start; gap: 28px; padding: 30px 0; border-top: 1px solid var(--steel-200); }
.history__row:first-child { border-top: 0; }

.history__spine { position: relative; flex: 0 0 auto; width: 11px; align-self: stretch; display: flex; justify-content: center; }
.history__spine::before {
  content: ""; position: absolute; top: 6px; bottom: -30px; left: 50%; width: 1px;
  background: var(--steel-200); transform: translateX(-50%);
}
.history__row:last-child .history__spine::before { display: none; }
.history__dot { position: relative; z-index: 1; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); margin-top: 6px; box-shadow: 0 0 0 4px var(--paper); }

.history__year { flex: 0 0 auto; width: 64px; padding-top: 3px; font-family: var(--serif); font-weight: 300; font-size: 1.5rem; color: var(--accent); font-variant-numeric: tabular-nums; }

.history__thumb {
  flex: 0 0 auto; width: 245px; height: 350px; border-radius: var(--radius);
  background: var(--paper-2); box-shadow: 0 0 0 1px var(--steel-200);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.history__thumb img { width: 100%; height: 100%; object-fit: contain; }
.history__thumb--badge img { width: 60%; height: 60%; object-fit: contain; }

.history__body { flex: 1 1 auto; min-width: 0; padding-top: 2px; }
.history__ed { font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel-500); font-weight: 600; }
.history__title { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; margin-top: 4px; }
.history__theme { color: var(--steel-700); font-size: 0.92rem; margin-top: 4px; line-height: 1.45; }
.history__meta { color: var(--steel-500); font-size: 0.84rem; margin-top: 8px; }

.history__cta { flex: 0 0 auto; align-self: center; white-space: nowrap; }
.history__cta.is-disabled { opacity: .4; pointer-events: none; }

@media (max-width: 767.98px) {
  .history__row { flex-wrap: wrap; gap: 16px; }
  .history__spine { display: none; }
  .history__year { width: auto; margin-right: -8px; }
  .history__thumb { width: 116px; height: 158px; }
  .history__cta { flex: 1 1 100%; margin-top: 4px; }
}

/* ============================================================
   REGISTRATION
   ============================================================ */
.fee-card { position: relative; background: var(--paper); border: 1px solid var(--steel-200); border-radius: var(--radius);
  padding: 30px 26px 28px; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.fee-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -26px rgba(22,33,44,.42); border-color: var(--bronze-300); }
.fee-card.is-feature { border-color: var(--accent); box-shadow: 0 22px 50px -28px rgba(151,67,31,.55); }
.fee-card.is-feature::before { content: "Most attended"; position: absolute; top: -11px; left: 26px; background: var(--accent); color: #fff;
  font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; padding: 4px 11px; border-radius: 100px; }
.fee-card__type { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 1.05rem; }
.fee-card__price { font-size: clamp(2.4rem, 4vw, 3rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1; margin-top: 14px; }
.fee-card__price .cur { color: var(--steel-500); font-weight: 500; font-size: 1.4rem; }
.fee-card__vat { color: var(--steel-500); font-size: 0.82rem; margin-top: 8px; }
.fee-card__for { color: var(--steel-700); font-size: 0.9rem; margin-top: 16px; line-height: 1.45; padding-top: 16px; border-top: 1px solid var(--steel-200); }
.vat-chip { font-weight: 600; color: var(--ink); background: var(--paper-warm); border: 1px solid var(--bronze-100); padding: 7px 14px; border-radius: 100px; font-size: 1.2rem; }
.fee-foot { color: var(--steel-700); font-size: 0.92rem; }

.incl-card { border-radius: var(--radius); padding: 34px; border: 1px solid rgba(255,255,255,.12); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.01)); }
.incl-card__tag { display: inline-flex; align-items: center; gap: 9px; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber-hot); }
.incl-card__tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.incl-card h3 { font-size: 1.5rem; margin-top: 14px; }
.incl-item { color: rgba(255,255,255,.86); font-size: 1rem; line-height: 1.45; }
.incl-item .tick { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,157,66,.16); color: var(--amber-hot); display: grid; place-items: center; font-size: 0.8rem; margin-top: 1px; }

.reg-cta { background: var(--paper); border: 1px solid var(--steel-200); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: clamp(30px,4vw,48px); }
.reg-cta h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.02em; }
.reg-cta p { color: var(--steel-700); margin-top: 12px; max-width: 46ch; }
.reg-link {font-weight: 600; color: var(--accent);}

/* ============================================================
   ABSTRACTS
   ============================================================ */
.date-cell { background: var(--paper); padding: 30px; position: relative; }
.date-cell .k { font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel-500); }
.date-cell .v { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 600; letter-spacing: -0.02em; margin-top: 10px; font-variant-numeric: tabular-nums; }
.date-cell .v .mo { color: var(--accent); }

.guide-aside { position: sticky; top: 110px; }
.guide-aside .num { font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem,5vw,4rem); color: var(--accent); line-height: .9; }
.guide-aside h2 { font-size: clamp(1.6rem,2.6vw,2.2rem); margin-top: 8px; letter-spacing: -0.02em; }
.guide-aside p { color: var(--steel-700); margin-top: 12px; font-size: 0.96rem; }
@media (max-width: 991.98px) { .guide-aside { position: static; } }

.struct-item { background: var(--paper); padding: 22px 24px; }
.struct-item .i { font-family: var(--serif); font-weight: 300; color: var(--accent); font-size: 1.1rem; min-width: 26px; font-variant-numeric: tabular-nums; }
.struct-item .t { font-size: 1rem; line-height: 1.5; color: var(--ink-2); }
.struct-item .t b { color: var(--ink); font-weight: 600; }

.rule-list li { border-top: 1px solid var(--steel-200); color: var(--ink-2); line-height: 1.55; }
.rule-list li:first-child { border-top: 0; }
.rule-list .i { font-family: var(--serif); color: var(--accent); font-size: 0.95rem; min-width: 24px; font-variant-numeric: tabular-nums; }

.callout { background: var(--paper-warm); border: 1px solid var(--bronze-100); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: clamp(24px,3vw,34px); }
.callout .e { font-family: var(--serif); font-style: italic; color: var(--accent); display: block; margin-bottom: 10px; }
.callout p { color: var(--ink-2); line-height: 1.6; }

/* ============================================================
   Reduced-motion overrides for component-level animations
   (base .reveal handling lives in tokens.css)
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .scroll-cue .line { animation: none; }
  .panel { animation: none; }
}
