/* NMC Medical Conference — shared styles */
/* Atkinson Hyperlegible Next (SIL OFL, see fonts/OFL.txt) */
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("fonts/AtkinsonHyperlegibleNext-VariableFont_wght.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("fonts/AtkinsonHyperlegibleNext-Italic-VariableFont_wght.woff2") format("woff2");
  font-weight: 200 800; font-style: italic; font-display: swap;
}

:root {
  --plum-900: #24152f;
  --plum-800: #3e2759;
  --plum-700: #4f3271;
  --violet: #4f3271;
  --violet-soft: #8b76a8;
  --rose: #c0698a;
  --rose-soft: #e7b8c8;
  --blush: #f7ece8;
  --cream: #fbf7f2;
  --gold: #c9a35b;
  --ink: #231a2e;
  --muted: #6b6275;
  --line: rgba(79, 50, 113, 0.12);
  --white: #ffffff;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -24px rgba(36, 21, 47, 0.35);
  --shadow-sm: 0 8px 24px -14px rgba(36, 21, 47, 0.3);
  --container: 1200px;
  --font-sans: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Atkinson Hyperlegible Next", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }

.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--tint { background: var(--blush); }
.section--dark { background: var(--plum-900); color: #efe6f7; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--rose);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section-title { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 800; color: var(--plum-800); margin-top: 14px; }
.section--dark .section-title { color: var(--white); }
.section-lead { font-size: 1.1rem; color: var(--muted); max-width: 680px; }
.section--dark .section-lead { color: rgba(239, 230, 247, 0.75); }
.section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { text-align: center; }
.section-head--center .section-lead { margin-inline: auto; }
.serif { font-family: var(--font-serif); font-weight: 500; font-style: italic; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 0.95rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--plum-700); color: var(--white); box-shadow: 0 12px 28px -12px rgba(79, 50, 113, 0.7); }
.btn--primary:hover { background: var(--plum-800); box-shadow: 0 16px 34px -12px rgba(79, 50, 113, 0.85); }
.btn--ghost { border-color: rgba(79, 50, 113, 0.25); color: var(--plum-700); background: rgba(255, 255, 255, 0.6); }
.btn--ghost:hover { border-color: var(--violet); background: var(--white); }
.btn--light { background: var(--white); color: var(--plum-800); }
.btn--outline-light { border-color: rgba(255, 255, 255, 0.4); color: var(--white); }
.btn--outline-light:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }
.btn[aria-disabled="true"] { opacity: 0.6; pointer-events: none; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
.site-header.is-scrolled { background: rgba(251, 247, 242, 0.88); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--violet), var(--rose)); color: var(--white);
  font-weight: 800; font-size: 0.85rem; letter-spacing: 0.02em;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-size: 1.02rem; color: var(--plum-800); }
.brand__text span { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: 0.92rem; color: var(--ink); transition: background 0.2s, color 0.2s;
}
.nav__links a:hover, .nav__links a[aria-current="page"] { background: rgba(79, 50, 113, 0.08); color: var(--violet); }
.nav__dropdown { position: relative; }
.nav__dropdown > button {
  font: inherit; font-weight: 600; font-size: 0.92rem; background: none; border: 0; cursor: pointer;
  padding: 10px 14px; border-radius: 999px; color: var(--ink); display: flex; align-items: center; gap: 6px;
}
.nav__dropdown > button:hover { background: rgba(79, 50, 113, 0.08); color: var(--violet); }
.nav__dropdown > button svg { width: 14px; height: 14px; transition: transform 0.2s; }
.nav__menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 280px; padding: 8px;
  background: var(--white); border-radius: 16px; box-shadow: var(--shadow); list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all 0.2s ease;
}
.nav__dropdown:hover .nav__menu, .nav__dropdown.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__dropdown.is-open > button svg { transform: rotate(180deg); }
.nav__menu a { border-radius: 10px; padding: 10px 12px; }
.nav__menu small { display: block; color: var(--muted); font-weight: 500; font-size: 0.78rem; }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__cta .btn { padding: 11px 20px; }
.nav__toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--white); cursor: pointer; align-items: center; justify-content: center;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--plum-800); border-radius: 2px; position: relative; transition: 0.25s;
}
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; }
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav-open .nav__toggle span { background: transparent; }
.nav-open .nav__toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav__toggle span::after { top: 0; transform: rotate(-45deg); }

/* Hero */
.hero {
  position: relative; padding: 140px 0 80px; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(231, 184, 200, 0.45), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(139, 118, 168, 0.18), transparent 60%),
    var(--cream);
}
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px;
  background: var(--white); box-shadow: var(--shadow-sm); font-size: 0.85rem; font-weight: 600; color: var(--plum-700);
}
.hero__badge b { background: var(--plum-700); color: var(--white); padding: 4px 10px; border-radius: 999px; font-size: 0.75rem; letter-spacing: 0.06em; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); font-weight: 800; color: var(--plum-800); margin: 22px 0 14px; }
.hero h1 .accent { background: linear-gradient(120deg, var(--violet), var(--rose)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__theme { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.2rem, 2.2vw, 1.55rem); color: var(--violet); margin-bottom: 26px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-bottom: 34px; color: var(--ink); font-weight: 600; }
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { width: 20px; height: 20px; color: var(--rose); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__visual { position: relative; }
.hero__img {
  border-radius: 32px 32px 32px 140px; overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 590 / 377; background: var(--blush);
}
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__float {
  position: absolute; left: -24px; bottom: -28px; background: var(--white); border-radius: 18px;
  padding: 16px 20px; box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center;
}
.hero__float .num { font-size: 2rem; font-weight: 800; color: var(--violet); line-height: 1; }
.hero__float .lbl { font-size: 0.8rem; color: var(--muted); line-height: 1.3; }
.hero__ring {
  position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%;
  border: 2px dashed rgba(201, 163, 91, 0.6); z-index: -1;
}

/* Countdown */
.countdown { display: flex; gap: 10px; margin-top: 40px; }
.countdown__item {
  min-width: 78px; padding: 12px 10px; text-align: center; border-radius: 14px;
  background: rgba(255, 255, 255, 0.75); border: 1px solid var(--line);
}
.countdown__item b { display: block; font-size: 1.7rem; font-weight: 800; color: var(--plum-800); line-height: 1.1; font-variant-numeric: tabular-nums; }
.countdown__item small { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* Info strip */
.info-strip { margin-top: -1px; position: relative; z-index: 2; }
.info-strip__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transform: translateY(-40px);
}
.info-item { padding: 26px 24px; display: flex; gap: 14px; align-items: flex-start; border-right: 1px solid var(--line); }
.info-item:last-child { border-right: 0; }
.info-item__icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(79, 50, 113, 0.12), rgba(192, 105, 138, 0.14)); color: var(--violet);
}
.info-item__icon svg { width: 22px; height: 22px; }
.info-item small { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rose); }
.info-item strong { display: block; color: var(--plum-800); font-size: 1rem; line-height: 1.35; margin-top: 2px; }
.info-item a { text-decoration: none; }
.info-item a:hover { color: var(--violet); }

/* Welcome / chair */
.welcome { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.chair-card { position: sticky; top: 110px; }
.chair-card__photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); background: var(--blush); }
.chair-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.chair-card__body {
  margin: -60px 20px 0; position: relative; background: var(--white); border-radius: 16px;
  padding: 20px 22px; box-shadow: var(--shadow-sm);
}
.chair-card__body small { color: var(--rose); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.72rem; }
.chair-card__body h3 { margin: 4px 0 4px; color: var(--plum-800); font-size: 1.25rem; }
.chair-card__body p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.prose { font-size: 1.06rem; color: #3d3448; }
.prose p:first-of-type::first-letter {
  font-family: var(--font-serif); float: left; font-size: 4rem; line-height: 0.85; padding: 6px 10px 0 0; color: var(--violet);
}
.quote {
  margin: 28px 0; padding: 24px 28px; border-left: 4px solid var(--rose); border-radius: 0 16px 16px 0;
  background: linear-gradient(90deg, rgba(231, 184, 200, 0.28), transparent);
  font-family: var(--font-serif); font-style: italic; font-size: 1.35rem; color: var(--plum-700);
}
.signoff { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.signoff strong { display: block; color: var(--plum-800); font-size: 1.1rem; }
.signoff span { display: block; color: var(--muted); font-size: 0.92rem; }

/* Topics */
.topics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.topic {
  background: var(--white); border-radius: 18px; padding: 24px; border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s;
}
.topic:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: transparent; }
.topic__icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px;
  background: var(--blush); color: var(--rose);
}
.topic__icon svg { width: 24px; height: 24px; }
.topic h3 { font-size: 1.02rem; color: var(--plum-800); margin-bottom: 6px; }
.topic p { font-size: 0.9rem; color: var(--muted); margin: 0; line-height: 1.55; }

/* Stage journey */
.stages { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; position: relative; margin-top: 12px; }
.stages::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: 27px; height: 2px;
  background: linear-gradient(90deg, var(--violet-soft), var(--rose), var(--gold));
}
.stage { text-align: center; padding: 0 8px; position: relative; }
.stage__dot {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center;
  background: var(--plum-800); border: 4px solid var(--plum-900); color: var(--white); font-weight: 800; position: relative;
  box-shadow: 0 0 0 2px rgba(231, 184, 200, 0.5);
}
.stage h4 { font-size: 0.98rem; color: var(--white); margin-bottom: 4px; }
.stage p { font-size: 0.82rem; color: rgba(239, 230, 247, 0.65); margin: 0; line-height: 1.45; }

/* Vision */
.vision { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.vision__panel {
  background: linear-gradient(145deg, var(--plum-800), var(--violet)); color: var(--white);
  border-radius: 28px; padding: clamp(32px, 4vw, 52px); position: relative; overflow: hidden; box-shadow: var(--shadow);
}
.vision__panel::after {
  content: ""; position: absolute; width: 280px; height: 280px; right: -90px; bottom: -110px; border-radius: 50%;
  background: radial-gradient(circle, rgba(231, 184, 200, 0.45), transparent 70%);
}
.vision__panel p { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.55; position: relative; }
.vision__panel cite { font-style: normal; font-size: 0.9rem; opacity: 0.8; position: relative; }

/* Attend */
.attend { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.attend__col { background: var(--white); border-radius: 24px; padding: clamp(26px, 3vw, 40px); box-shadow: var(--shadow-sm); }
.attend__col header { display: flex; gap: 16px; align-items: center; margin-bottom: 22px; }
.attend__col header .ico {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; flex-shrink: 0;
  background: linear-gradient(135deg, var(--violet), var(--rose)); color: var(--white);
}
.attend__col header .ico svg { width: 26px; height: 26px; }
.attend__col h3 { font-size: 1.4rem; color: var(--plum-800); margin: 0; }
.attend__col header p { margin: 2px 0 0; color: var(--muted); font-size: 0.9rem; line-height: 1.45; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.checklist li:first-child { border-top: 0; }
.checklist .tick {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(79, 50, 113, 0.1); color: var(--violet);
}
.checklist .tick svg { width: 15px; height: 15px; }
.checklist strong { display: block; color: var(--plum-800); font-size: 0.98rem; }
.checklist span { color: var(--muted); font-size: 0.92rem; line-height: 1.55; }

/* People */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.person {
  background: var(--white); border-radius: 22px; overflow: hidden; border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.person:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.person__photo { aspect-ratio: 1 / 1; background: linear-gradient(145deg, var(--blush), #efe2f3); position: relative; overflow: hidden; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.5s ease; }
.person:hover .person__photo img { transform: scale(1.04); }
.person__initials {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-serif); font-size: 3.4rem; color: var(--violet); font-style: italic;
}
.person__tag {
  position: absolute; left: 14px; top: 14px; background: var(--plum-800); color: var(--white);
  font-size: 0.68rem; letter-spacing: 0.14em; font-weight: 700; padding: 5px 10px; border-radius: 999px; text-transform: uppercase;
}
.person__body { padding: 18px 20px 22px; }
.person__body h3 { font-size: 1.05rem; color: var(--plum-800); margin-bottom: 6px; }
.person__body p { font-size: 0.86rem; color: var(--muted); margin: 0; line-height: 1.5; }
.people--featured { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }

/* Speakers TBA */
.tba {
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
  background: var(--white); border: 1px dashed rgba(79, 50, 113, 0.35); border-radius: 24px; padding: 32px;
}
.tba__avatars { display: flex; }
.tba__avatars span {
  width: 56px; height: 56px; border-radius: 50%; border: 3px solid var(--white); margin-left: -14px;
  background: linear-gradient(135deg, var(--violet-soft), var(--rose-soft));
}
.tba__avatars span:first-child { margin-left: 0; }
.tba h3 { color: var(--plum-800); margin-bottom: 4px; font-size: 1.3rem; }
.tba p { margin: 0; color: var(--muted); }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; border-radius: 32px; padding: clamp(40px, 6vw, 72px);
  background: linear-gradient(130deg, var(--plum-900), var(--plum-700) 55%, var(--rose));
  color: var(--white); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: auto -120px -180px auto; width: 420px; height: 420px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15); box-shadow: 0 0 0 60px rgba(255, 255, 255, 0.03), 0 0 0 120px rgba(255, 255, 255, 0.02);
}
.cta-band h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 800; }
.cta-band p { color: rgba(255, 255, 255, 0.8); margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; position: relative; }

/* Series / editions (home) */
.editions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.edition {
  position: relative; background: var(--white); border-radius: 24px; overflow: hidden; border: 1px solid var(--line);
  display: flex; flex-direction: column; text-decoration: none; transition: transform 0.25s, box-shadow 0.25s;
}
.edition:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.edition__media { aspect-ratio: 16 / 9; position: relative; overflow: hidden; }
.edition__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.edition:hover .edition__media img { transform: scale(1.05); }
.edition__media--surgery {
  background:
    radial-gradient(400px 200px at 80% 20%, rgba(77, 208, 232, 0.45), transparent 60%),
    linear-gradient(135deg, #062040, #1a2a3a 60%, #0f4c6b);
  display: grid; place-items: center; color: var(--white); text-align: center; padding: 20px;
}
.edition__media--surgery b { display: block; font-size: 1.5rem; letter-spacing: -0.01em; }
.edition__media--surgery span { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: #4dd0e8; }
.edition__num {
  position: absolute; left: 16px; top: 16px; background: rgba(255, 255, 255, 0.92); color: var(--plum-800);
  font-weight: 800; font-size: 0.75rem; letter-spacing: 0.1em; padding: 6px 12px; border-radius: 999px; text-transform: uppercase;
}
.edition__status {
  position: absolute; right: 16px; top: 16px; font-size: 0.72rem; font-weight: 700; padding: 6px 12px; border-radius: 999px;
  background: var(--plum-800); color: var(--white); letter-spacing: 0.06em;
}
.edition__status--live { background: var(--rose); }
.edition__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.edition__body h3 { color: var(--plum-800); font-size: 1.25rem; margin-bottom: 8px; }
.edition__body p { color: var(--muted); font-size: 0.92rem; margin-bottom: 18px; }
.edition__meta { display: grid; gap: 6px; font-size: 0.86rem; color: var(--ink); font-weight: 600; margin-bottom: 20px; }
.edition__meta span { display: flex; gap: 8px; align-items: center; }
.edition__meta svg { width: 16px; height: 16px; color: var(--rose); }
.edition__link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--violet); font-weight: 700; font-size: 0.92rem; }
.edition__link svg { width: 18px; height: 18px; transition: transform 0.2s; }
.edition:hover .edition__link svg { transform: translateX(4px); }
.edition--current { border: 2px solid var(--violet); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { padding: 28px 24px; border-radius: 20px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); }
.stat b { display: block; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--white); line-height: 1.1; }
.stat span { color: rgba(239, 230, 247, 0.7); font-size: 0.92rem; }

.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pill-list span {
  padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line);
  font-size: 0.86rem; font-weight: 600; color: var(--plum-700);
}

/* Footer */
.site-footer { background: var(--plum-900); color: rgba(239, 230, 247, 0.75); padding: 72px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .brand__text strong { color: var(--white); }
.site-footer .brand__text span { color: rgba(239, 230, 247, 0.6); }
.site-footer h4 { color: var(--white); font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: var(--white); }
.footer__bottom {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.85rem;
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* Responsive */
@media (max-width: 1080px) {
  .topics { grid-template-columns: repeat(2, 1fr); }
  .stages { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .stages::before { display: none; }
  .editions { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav__links, .nav__cta .btn--ghost { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav-open .nav__links {
    display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 76px; left: 16px; right: 16px;
    background: var(--white); border-radius: 18px; padding: 12px; box-shadow: var(--shadow);
  }
  .nav-open .site-header { background: var(--cream); }
  .nav__menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 0 12px; display: none; }
  .nav__dropdown.is-open .nav__menu { display: block; }
  .nav__dropdown > button { width: 100%; justify-content: space-between; }
  .hero__grid, .welcome, .vision, .about-split, .cta-band { grid-template-columns: 1fr; }
  .hero { padding-top: 116px; }
  .hero__visual { order: -1; }
  .hero__float { left: 12px; bottom: -22px; }
  .hero__ring { display: none; }
  .info-strip__grid { grid-template-columns: 1fr 1fr; }
  .info-item:nth-child(2) { border-right: 0; }
  .info-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .chair-card { position: static; max-width: 420px; }
  .attend { grid-template-columns: 1fr; }
  .cta-band__actions { justify-content: flex-start; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .tba { grid-template-columns: 1fr; text-align: left; }
}
@media (max-width: 640px) {
  .brand__text span { display: none; }
  .brand__text strong { font-size: 0.88rem; }
  .brand__mark { width: 36px; height: 36px; font-size: 0.75rem; }
  .nav { gap: 10px; }
  .nav__cta .btn--primary { padding: 10px 14px; font-size: 0.85rem; }
  .topics, .editions, .stats { grid-template-columns: 1fr; }
  .stages { grid-template-columns: repeat(2, 1fr); }
  .info-strip__grid { grid-template-columns: 1fr; }
  .info-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .info-item:last-child { border-bottom: 0; }
  .countdown__item { min-width: 0; flex: 1; }
  .people { grid-template-columns: 1fr 1fr; gap: 14px; }
  .person__body { padding: 14px; }
  .person__body h3 { font-size: 0.95rem; }
  .person__body p { font-size: 0.8rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* Abstract submission page */
.page-hero { padding: 140px 0 72px; text-align: left; }
.page-hero h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 800; color: var(--plum-800); margin: 18px 0 12px; }
.page-hero .section-lead { margin-bottom: 26px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--plum-700); font-weight: 700; text-decoration: none; font-size: 0.92rem; }
.back-link svg { width: 18px; height: 18px; }
.back-link:hover { color: var(--rose); }

.criteria { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: crit; }
.criteria li {
  list-style: none; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 22px 18px;
  font-weight: 700; color: var(--plum-800);
}
.criteria li b { display: block; font-size: 1.6rem; color: var(--rose); margin-bottom: 6px; }
.note {
  margin-top: 22px; padding: 20px 24px; border-radius: 16px; background: var(--white); border-left: 4px solid var(--plum-700);
  color: #3d3448;
}

.spec { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm); }
.spec th, .spec td { text-align: left; padding: 18px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec th { width: 200px; color: var(--plum-800); font-size: 0.92rem; background: rgba(79, 50, 113, 0.04); }
.spec td { color: #3d3448; }
.structures { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.structure { background: var(--white); border-radius: 20px; padding: 26px 28px; border: 1px solid var(--line); }
.structure h3 { color: var(--plum-800); font-size: 1.15rem; }
.structure ol { margin: 0; padding-left: 22px; color: #3d3448; display: grid; gap: 6px; }
.structure ol li::marker { color: var(--rose); font-weight: 700; }

.form-card { background: var(--white); border-radius: 28px; padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--plum-800); }
.field label .req { color: var(--rose); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--cream);
  border: 1.5px solid rgba(79, 50, 113, 0.18); border-radius: 12px; padding: 13px 15px; width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.55; }
.field textarea.tall { min-height: 260px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--plum-700); background: var(--white); box-shadow: 0 0 0 4px rgba(79, 50, 113, 0.12);
}
.field__hint { font-size: 0.85rem; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; }
.word-counter { font-weight: 700; color: var(--plum-700); font-variant-numeric: tabular-nums; }
.word-counter.over { color: #b3261e; }
.checks { display: grid; gap: 12px; margin-top: 6px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; color: #3d3448; font-size: 0.95rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--plum-700); }
.form-error { display: none; padding: 14px 18px; border-radius: 12px; background: #fdecea; color: #8c1d18; font-weight: 600; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 8px; }
.form-actions p { margin: 0; color: var(--muted); font-size: 0.9rem; flex: 1 1 280px; }
.btn:disabled { opacity: 0.7; cursor: progress; transform: none; }

.dates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.date-card { padding: 28px 26px; border-radius: 22px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); }
.date-card small { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rose-soft); }
.date-card b { display: block; font-size: 1.5rem; color: var(--white); margin: 8px 0 4px; }
.date-card span { color: rgba(239, 230, 247, 0.7); font-size: 0.92rem; }

@media (max-width: 1080px) { .criteria { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 960px) { .structures, .dates { grid-template-columns: 1fr; } .page-hero { padding-top: 116px; } }
@media (max-width: 640px) {
  .criteria { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .spec th, .spec td { display: block; width: 100%; }
  .spec th { border-bottom: 0; padding-bottom: 4px; }
  .spec td { padding-top: 4px; }
}

/* Speaker filters (conference page) */
.speaker-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.speaker-filters button {
  font: inherit; font-weight: 700; font-size: 0.9rem; cursor: pointer; padding: 9px 18px; border-radius: 999px;
  border: 1.5px solid rgba(79, 50, 113, 0.2); background: var(--white); color: var(--plum-700);
}
.speaker-filters button[aria-pressed="true"] { background: var(--plum-700); border-color: var(--plum-700); color: var(--white); }

/* NMC logo lockup */
.brand__logo { height: 40px; width: auto; display: block; }
.brand__logo + .brand__text { padding-left: 12px; border-left: 1px solid var(--line); }
.site-footer .brand__logo { height: 44px; }
.site-footer .brand__logo + .brand__text { border-left-color: rgba(255, 255, 255, 0.18); }
@media (max-width: 640px) {
  .brand__logo { height: 34px; }
  .site-header .brand__logo + .brand__text { display: none; }
}

/* Hero laid out like the conference banner: image left, title right */
.hero--banner .hero__grid { grid-template-columns: 0.95fr 1.05fr; }
.hero--banner .hero__visual { order: -1; }
.hero--banner .hero__img { border-radius: 28px 28px 28px 120px; }
.hero__kicker { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin: 0; }
.hero__annual { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 600; color: var(--plum-700); line-height: 1.05; letter-spacing: -0.02em; }
.hero__annual sup { font-size: 0.5em; vertical-align: 0.75em; margin-left: 1px; }
.hero__when { font-size: 1rem; font-weight: 600; color: #4a4553; }
.hero__when i { font-style: normal; color: var(--plum-700); margin: 0 4px; }
.hero h1.hero__title { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 600; color: var(--plum-700); margin: 4px 0 0; line-height: 1.08; }
.hero__rule { border: 0; height: 2px; background: var(--plum-700); opacity: 0.85; margin: 22px 0 18px; }
.hero--banner .hero__theme { font-family: var(--font-sans); font-style: normal; font-weight: 600; font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: var(--plum-800); margin-bottom: 30px; }
@media (max-width: 960px) {
  .hero--banner .hero__grid { grid-template-columns: 1fr; }
}

/* Hero balance: image + countdown on the left, bigger title on the right */
.hero--banner .hero__grid { align-items: center; }
.hero--banner .hero__visual { display: flex; flex-direction: column; gap: 22px; }
.hero--banner .hero__visual .countdown { margin-top: 0; }
.hero--banner .hero__visual .countdown__item { flex: 1; min-width: 0; padding: 16px 10px; background: var(--white); box-shadow: var(--shadow-sm); }
.hero--banner .hero__visual .countdown__item b { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.hero__annual { font-size: clamp(2.4rem, 4.8vw, 3.8rem); }
.hero h1.hero__title { font-size: clamp(2.8rem, 6.2vw, 5.2rem); line-height: 1.02; }
.hero--banner .hero__theme { font-size: clamp(1.15rem, 2vw, 1.45rem); }
@media (min-width: 961px) {
  .hero--banner .hero__grid { align-items: stretch; grid-template-columns: 1fr 1fr; }
  .hero--banner .hero__copy { display: flex; flex-direction: column; justify-content: center; }
  .hero--banner .hero__img { flex: 1; aspect-ratio: auto; min-height: 320px; }
}
.hero--banner .hero__visual .hero__when { margin: 0; text-align: center; font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 700; color: #4a4553; }
/* Hero buttons on one line on desktop */
@media (min-width: 1100px) {
  .hero--banner .hero__actions { flex-wrap: nowrap; gap: 10px; }
  .hero--banner .hero__actions .btn { padding: 13px 18px; font-size: 0.9rem; gap: 8px; }
  .hero--banner .hero__actions .btn svg { width: 16px; height: 16px; }
}

/* Animated gradient on the hero headline */
.hero__annual,
.hero h1.hero__title {
  background: linear-gradient(100deg, #3e2759 0%, #6b3fa0 25%, #c0698a 50%, #6b3fa0 75%, #3e2759 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: hero-gradient 8s ease-in-out infinite alternate;
}
.hero__annual { animation-delay: -2s; }
@keyframes hero-gradient {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__annual, .hero h1.hero__title { animation: none; background-position: 30% 50%; }
}
/* Heavier hero headline */
.hero h1.hero__title { font-weight: 800; letter-spacing: -0.03em; }
.hero__annual { font-weight: 700; }
