/* ---------- Tokens ---------- */
:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-hero: clamp(3.5rem, 1rem + 8vw, 8.5rem);

  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem; --space-5: 1.25rem;
  --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem; --space-12: 3rem; --space-16: 4rem;
  --space-20: 5rem; --space-24: 6rem; --space-32: 8rem;

  --font-display: 'Zodiak', 'Georgia', serif;
  --font-body: 'Satoshi', 'Helvetica Neue', Arial, sans-serif;

  --radius-sm: 4px; --radius-md: 8px; --radius-lg: 14px;
  --measure: 62ch;
}

:root, [data-theme="light"] {
  --bg: oklch(0.965 0.012 80);
  --surface: oklch(0.985 0.008 85);
  --surface-2: oklch(0.94 0.014 78);
  --border: oklch(0.86 0.014 75);
  --divider: oklch(0.90 0.012 78);
  --text: oklch(0.22 0.015 60);
  --muted: oklch(0.48 0.02 60);
  --faint: oklch(0.66 0.015 65);
  --accent: oklch(0.47 0.19 27);
  --accent-hover: oklch(0.40 0.18 27);
  --accent-soft: oklch(0.93 0.04 30);
  --beth: oklch(0.52 0.10 55);
  --beth-soft: oklch(0.94 0.035 70);
  --normal-band: oklch(0.90 0.05 150 / 0.55);
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: oklch(0.17 0.01 60);
  --surface: oklch(0.21 0.012 60);
  --surface-2: oklch(0.25 0.012 60);
  --border: oklch(0.33 0.012 60);
  --divider: oklch(0.29 0.012 60);
  --text: oklch(0.93 0.01 80);
  --muted: oklch(0.70 0.015 70);
  --faint: oklch(0.52 0.012 65);
  --accent: oklch(0.68 0.17 27);
  --accent-hover: oklch(0.76 0.15 27);
  --accent-soft: oklch(0.28 0.05 27);
  --beth: oklch(0.75 0.10 60);
  --beth-soft: oklch(0.27 0.03 60);
  --normal-band: oklch(0.35 0.05 150 / 0.55);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: var(--text-base); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--faint); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--accent); }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; }
h1, h2 { font-family: var(--font-display); }
p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--radius-sm); }
.skip { position: absolute; left: -999px; top: var(--space-2); background: var(--accent); color: #fff; padding: var(--space-2) var(--space-4); z-index: 100; }
.skip:focus { left: var(--space-2); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: var(--space-6);
  padding: var(--space-3) clamp(var(--space-4), 4vw, var(--space-12));
  background: color-mix(in oklch, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--divider);
}
.brand { display: inline-flex; align-items: center; gap: var(--space-3); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); white-space: nowrap; }
.brand .logo { color: var(--accent); }
.topnav { margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.topnav::-webkit-scrollbar { display: none; }
.topnav ol { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--space-1); }
.topnav a { display: flex; flex-direction: column; text-decoration: none; padding: var(--space-1) var(--space-3); border-radius: var(--radius-sm); line-height: 1.25; min-width: 0; }
.topnav a:hover { background: var(--surface-2); }
.toc-n { display: none; }
.toc-name { font-size: var(--text-sm); font-weight: 700; }
.toc-dx { font-size: var(--text-xs); color: var(--muted); white-space: nowrap; }
.theme { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--border); background: var(--surface); border-radius: 999px; flex: none; }
.theme .moon { display: none; }
[data-theme="dark"] .theme .sun { display: none; }
[data-theme="dark"] .theme .moon { display: block; }

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(var(--space-8), 5vw, var(--space-20));
  align-items: center; min-height: 82vh;
  padding: clamp(var(--space-12), 8vw, var(--space-24)) clamp(var(--space-4), 6vw, var(--space-24));
  border-bottom: 1px solid var(--divider);
}
.kicker { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-bottom: var(--space-8); }
.hero h1 { font-size: var(--text-hero); line-height: 0.92; letter-spacing: -0.03em; color: var(--accent); }
.hero-sub { font-family: var(--font-display); font-size: var(--text-xl); margin-top: var(--space-6); }
.hero-lede { max-width: var(--measure); margin-top: var(--space-6); color: var(--muted); font-size: var(--text-base); }
.hero-meta { display: flex; flex-wrap: wrap; gap: var(--space-6); margin-top: var(--space-10); font-size: var(--text-sm); color: var(--muted); }
.hero-meta strong { color: var(--text); font-weight: 700; }
.cta { display: inline-block; margin-top: var(--space-10); background: var(--accent); color: #fff; text-decoration: none; font-weight: 700; font-size: var(--text-sm); padding: var(--space-3) var(--space-8); border-radius: 999px; }
.cta:hover { background: var(--accent-hover); }
.hero-img { margin: 0; }
.hero-img img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 2 / 3; object-fit: cover; max-height: 78vh; }

/* ---------- Shared section bits ---------- */
.ch-num { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent); font-weight: 700; }
.co-inner { max-width: 1100px; margin: 0 auto; padding: clamp(var(--space-12), 7vw, var(--space-24)) clamp(var(--space-4), 5vw, var(--space-12)); }
.coldopen h2, .closing h2, .notes h2 { font-size: var(--text-2xl); margin-top: var(--space-3); max-width: 24ch; }
.co-note { color: var(--muted); font-size: var(--text-sm); margin-top: var(--space-4); font-style: normal; }
.coldopen, .closing { background: var(--surface); border-bottom: 1px solid var(--divider); }
.mini-clips { list-style: none; margin: var(--space-8) 0 0; padding: 0; display: grid; gap: var(--space-3); }
.mini-clips li { display: grid; grid-template-columns: auto 1fr; gap: var(--space-4); align-items: baseline; padding: var(--space-3) 0; border-top: 1px solid var(--divider); }
.mini-q { font-family: var(--font-display); font-size: var(--text-lg); line-height: 1.3; }

/* ---------- Chapters ---------- */
.chapter { padding: clamp(var(--space-12), 7vw, var(--space-24)) clamp(var(--space-4), 5vw, var(--space-12)); border-bottom: 1px solid var(--divider); }
.chapter:nth-of-type(even) { background: var(--surface); }
.ch-head { max-width: 1100px; margin: 0 auto var(--space-12); }
.ch-head h2 { font-size: var(--text-2xl); margin-top: var(--space-3); }
.ch-dx { margin-top: var(--space-3); font-size: var(--text-lg); font-weight: 500; }
.ch-dx .dot { color: var(--faint); margin: 0 var(--space-2); }
.ch-tag { display: inline-block; margin-top: var(--space-4); font-size: var(--text-xs); padding: var(--space-1) var(--space-3); border: 1px solid var(--border); border-radius: 999px; color: var(--muted); }
.ch-lede { margin-top: var(--space-6); max-width: var(--measure); color: var(--muted); }
.ch-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: start; }
.ch-media { position: sticky; top: 84px; }
.frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius-md); overflow: hidden; }
.frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.src { margin-top: var(--space-3); font-size: var(--text-xs); color: var(--muted); }
.ch-media-static { position: static; }
.beth-media img { border-radius: var(--radius-md); aspect-ratio: 3 / 2; object-fit: cover; }
.tl-title { font-size: var(--text-lg); margin-top: var(--space-8); }
.timeline { list-style: none; margin: var(--space-4) 0 0; padding: 0; border-left: 2px solid var(--beth); }
.timeline li { position: relative; padding: 0 0 var(--space-4) var(--space-5); display: grid; gap: var(--space-1); }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--beth); }
.tl-date { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--beth); font-weight: 700; }
.tl-text { font-size: var(--text-sm); color: var(--muted); }

/* Story column */
.ch-story { display: grid; gap: var(--space-6); }
.block { display: grid; gap: var(--space-3); }
.block.narr { padding: var(--space-5); background: var(--surface-2); border-radius: var(--radius-md); border-left: 3px solid var(--accent); }
.block.bethvo { padding: var(--space-5); background: var(--beth-soft); border-radius: var(--radius-md); border-left: 3px solid var(--beth); }
.block.wide { margin-top: var(--space-10); max-width: 72ch; }
.narr-text, .beth-text { font-size: var(--text-base); }
.beth-text { font-family: var(--font-display); font-size: calc(var(--text-base) * 1.12); line-height: 1.5; }
.block.narr .narr-text + .narr-text { margin-top: var(--space-3); }
.vo { margin: 0; display: grid; gap: var(--space-2); }
.vo figcaption { display: flex; justify-content: space-between; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 700; }
.vo.beth figcaption .vo-label { color: var(--beth); }
.vo.narr figcaption .vo-label { color: var(--accent); }
.vo audio { width: 100%; height: 36px; }
.block.clip { grid-template-columns: auto 1fr; gap: var(--space-4); align-items: start; padding: var(--space-4) 0; border-top: 1px solid var(--divider); }
.block.clip.pull { grid-template-columns: 1fr; background: var(--accent-soft); padding: var(--space-6); border-radius: var(--radius-md); border-top: 0; }
.block.clip.pull blockquote { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.25; }
.tc { display: inline-flex; align-items: center; gap: var(--space-2); background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: var(--space-2) var(--space-3); font-size: var(--text-xs); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; min-height: 36px; color: var(--accent); }
.tc:hover { border-color: var(--accent); background: var(--accent-soft); }
.tc .arrow { color: var(--faint); font-weight: 400; }
.tc.small { min-height: 32px; }
.clip-body { display: grid; gap: var(--space-1); }
.who { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 700; }
blockquote { margin: 0; font-size: var(--text-base); }
.note { color: var(--muted); font-size: var(--text-sm); }

/* Chart */
.chart { margin: var(--space-8) 0 0; }
.chart figcaption { font-size: var(--text-xs); color: var(--muted); margin-bottom: var(--space-2); }
.chart svg { width: 100%; height: auto; }
.chart .grid { stroke: var(--divider); stroke-width: 1; }
.chart .ax { fill: var(--muted); font-size: 11px; font-family: var(--font-body); }
.chart .val { fill: var(--text); font-size: 12px; font-weight: 700; font-family: var(--font-body); }
.chart .line { fill: none; stroke: var(--beth); stroke-width: 2.5; stroke-linejoin: round; }
.chart .pt { fill: var(--beth); }
.chart .normal { fill: var(--normal-band); }

/* Notes & footer */
.notes-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-10); margin-top: var(--space-10); }
.notes h3 { font-size: var(--text-base); margin-bottom: var(--space-3); }
.notes p { font-size: var(--text-sm); color: var(--muted); }
.foot { padding: var(--space-8) clamp(var(--space-4), 5vw, var(--space-12)); font-size: var(--text-xs); color: var(--muted); border-top: 1px solid var(--divider); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-img { order: -1; }
  .hero-img img { aspect-ratio: 16 / 10; max-height: 46vh; }
  .ch-grid { grid-template-columns: 1fr; }
  .ch-media { position: static; }
  .notes-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .topnav { display: none; }
}
@media (max-width: 600px) {
  .block.clip { grid-template-columns: 1fr; }
  .block.clip .tc, .mini-clips .tc { justify-self: start; }
  .mini-clips li { grid-template-columns: 1fr; }
  .hero-meta { gap: var(--space-4); }
}

/* ---------- Video player ---------- */
.frame video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }
.clip-badge { position: absolute; top: var(--space-3); left: var(--space-3); background: color-mix(in oklch, var(--accent) 88%, black); color: #fff; font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.06em; padding: var(--space-1) var(--space-3); border-radius: 999px; pointer-events: none; }
.clip-badge[hidden] { display: none; }
.cta.ghost { background: transparent; color: var(--text); border: 1px solid var(--border); margin-left: var(--space-3); }
.cta.ghost:hover { border-color: var(--accent); color: var(--accent); background: transparent; }
.toc-x .toc-name { color: var(--accent); }

/* ---------- Why / Evidence / Ask ---------- */
.why, .evidence, .ask { border-bottom: 1px solid var(--divider); }
.why { background: var(--bg); }
.evidence { background: var(--surface); }
.ask { background: var(--accent); color: #fff; }
.ask .ch-num, .ask .why-lede { color: color-mix(in oklch, white 80%, var(--accent)); }
.ask h2 { color: #fff; max-width: 26ch; }
.ask a { color: #fff; }
.why h2, .evidence h2 { font-size: var(--text-2xl); margin-top: var(--space-3); max-width: 28ch; }
.why-lede { margin-top: var(--space-5); max-width: var(--measure); color: var(--muted); }
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-8); margin-top: var(--space-12); }
.why-card { padding: var(--space-8); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); display: grid; gap: var(--space-4); align-content: start; }
.why-n { font-family: var(--font-display); font-size: var(--text-xl); color: var(--accent); line-height: 1; }
.why-card h3 { font-family: var(--font-display); font-size: var(--text-lg); line-height: 1.2; }
.why-card p { font-size: var(--text-sm); color: var(--muted); }
.why-card p a, .stat-l a, .skeptic p a { color: var(--text); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); margin-top: var(--space-12); }
.stat { display: grid; gap: var(--space-3); padding: var(--space-6) 0 0; border-top: 2px solid var(--accent); }
.stat-v { font-family: var(--font-display); font-size: var(--text-2xl); line-height: 1; color: var(--accent); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat-l { font-size: var(--text-sm); color: var(--muted); }
.sk-title { font-family: var(--font-display); font-size: var(--text-xl); margin-top: var(--space-20); max-width: 30ch; }
.skeptic { margin-top: var(--space-6); border-top: 1px solid var(--divider); }
.skeptic details { border-bottom: 1px solid var(--divider); }
.skeptic summary { cursor: pointer; padding: var(--space-4) 0; font-weight: 700; font-size: var(--text-base); list-style: none; display: flex; justify-content: space-between; gap: var(--space-4); }
.skeptic summary::-webkit-details-marker { display: none; }
.skeptic summary::after { content: "+"; color: var(--accent); font-weight: 400; flex: none; }
.skeptic details[open] summary::after { content: "\2212"; }
.skeptic p { padding: 0 0 var(--space-5); font-size: var(--text-sm); color: var(--muted); max-width: 72ch; }
.ask-list { margin: var(--space-10) 0 0; padding: 0; list-style: none; counter-reset: ask; display: grid; gap: var(--space-6); max-width: 72ch; }
.ask-list li { counter-increment: ask; display: grid; grid-template-columns: auto 1fr; gap: var(--space-5); font-size: var(--text-base); }
.ask-list li::before { content: counter(ask, decimal-leading-zero); font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.1; opacity: 0.7; }
.ask-list strong { display: block; font-family: var(--font-display); font-size: var(--text-lg); margin-bottom: var(--space-2); }
@media (max-width: 960px) {
  .why-grid, .stats { grid-template-columns: 1fr; }
  .cta.ghost { margin-left: 0; margin-top: var(--space-3); }
}
.ask-list li > span { display: block; }
.ask-list li::before { grid-row: 1 / span 2; }
.ask-list li { grid-template-rows: auto auto; }
.ask-list strong { grid-column: 2; }
.ask-list li > span { grid-column: 2; }
@media (max-width: 1500px) { .topnav .toc-dx { display: none; } .topnav a { padding: var(--space-2) var(--space-3); } }

/* ---------- Beth photo + statement ---------- */
.beth-media .beth-photo { margin: 0; }
.beth-media .beth-photo img { aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius-md); width: 100%; height: auto; }
.beth-media figcaption, .st-photo figcaption { font-size: var(--text-xs); color: var(--muted); margin-top: var(--space-2); }
.statement { background: var(--surface); border-bottom: 1px solid var(--divider); }
.st-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-12); align-items: start; }
.st-photo { margin: 0; position: sticky; top: calc(var(--space-16) + var(--space-4)); }
.st-photo img { width: 100%; height: auto; border-radius: var(--radius-md); display: block; }
.st-text h2 { font-size: var(--text-2xl); margin-top: var(--space-3); margin-bottom: var(--space-8); max-width: 22ch; }
.st-text p { max-width: 62ch; margin-bottom: var(--space-5); font-size: var(--text-base); }
.st-text .st-beth { border-left: 3px solid var(--accent); padding: var(--space-3) 0 var(--space-3) var(--space-5); font-family: var(--font-display); font-size: var(--text-lg); line-height: 1.45; color: var(--text); }
.st-sign { font-family: var(--font-display); font-size: var(--text-lg); margin-top: var(--space-8); }
.st-sign span { font-family: var(--font-body); font-size: var(--text-sm); color: var(--muted); }
@media (max-width: 960px) { .st-grid { grid-template-columns: 1fr; } .st-photo { position: static; max-width: 420px; } }

/* ---------- Regulatory status ---------- */
.status { margin-top: var(--space-8); padding: var(--space-6) var(--space-8); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg); }
.status-title { font-family: var(--font-display); font-size: var(--text-lg); margin-bottom: var(--space-4); }
.status-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.status-list li { display: grid; grid-template-columns: 8.5rem 1fr; gap: var(--space-4); align-items: start; font-size: var(--text-sm); color: var(--muted); }
.status-list a { color: var(--text); }
.pill { display: inline-block; font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.3em 0.7em; border-radius: 999px; text-align: center; }
.pill.ok { background: oklch(0.55 0.13 150 / 0.15); color: oklch(0.42 0.13 150); }
.pill.rev { background: oklch(0.75 0.15 80 / 0.2); color: oklch(0.5 0.13 70); }
.pill.no { background: color-mix(in oklch, var(--accent) 14%, transparent); color: var(--accent); }
[data-theme="dark"] .pill.ok { color: oklch(0.78 0.13 150); } [data-theme="dark"] .pill.rev { color: oklch(0.82 0.13 80); }
@media (max-width: 600px) { .status-list li { grid-template-columns: 1fr; gap: var(--space-2); } .pill { justify-self: start; } }

/* ---------- Present button ---------- */
.present-btn { margin-left: var(--space-3); background: var(--accent); color: #fff; border: 0; border-radius: 999px; padding: var(--space-2) var(--space-4); font: inherit; font-size: var(--text-sm); font-weight: 700; cursor: pointer; }
.present-btn:hover { background: var(--accent-hover); }
.cta { border: 0; cursor: pointer; font-family: inherit; }
.cta-sub { font-weight: 400; opacity: 0.85; margin-left: 0.4em; }

/* ---------- Stage (present mode) ---------- */
body.presenting { overflow: hidden; }
.stage { position: fixed; inset: 0; z-index: 100; background: #0c0b0a; color: var(--text); display: grid; grid-template-rows: 3px 1fr auto; font-family: var(--font-body); }
.stage[hidden] { display: none; }
.stage-progress { background: oklch(1 0 0 / 0.1); }
.stage-bar { height: 100%; width: 0; background: var(--accent); transition: width 0.4s ease; }
.stage-close { position: absolute; top: var(--space-4); right: var(--space-5); background: transparent; border: 1px solid oklch(1 0 0 / 0.2); color: var(--muted); border-radius: 999px; padding: var(--space-1) var(--space-3); font: inherit; font-size: var(--text-xs); cursor: pointer; z-index: 2; }
.stage-close:hover { color: var(--text); border-color: var(--text); }
.stage-gate { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 5; background: var(--text); color: var(--bg); border: 0; border-radius: 999px; padding: var(--space-3) var(--space-6); font: inherit; font-size: var(--text-base); font-weight: 600; cursor: pointer; box-shadow: 0 12px 40px oklch(0 0 0 / 0.5); }
.stage-gate:hover { opacity: 0.92; }
.stage-body { overflow: auto; display: grid; place-items: center; padding: var(--space-10) clamp(1.5rem, 5vw, 5rem); }
.stage-ctl { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-4) var(--space-6); border-top: 1px solid oklch(1 0 0 / 0.08); font-size: var(--text-sm); color: var(--muted); }
.stage-ctl button { background: oklch(1 0 0 / 0.06); border: 1px solid oklch(1 0 0 / 0.15); color: var(--text); border-radius: 999px; min-width: 2.75rem; padding: var(--space-2) var(--space-4); font: inherit; font-size: var(--text-sm); cursor: pointer; }
.stage-ctl button:hover { border-color: var(--accent); color: var(--accent); }
.stage-count { margin-left: var(--space-3); font-variant-numeric: tabular-nums; }
.stage-hint { margin-left: auto; text-align: right; }
.sb-title, .sb-card { text-align: center; max-width: 40ch; }
.sb-title h1 { font-family: var(--font-display); font-size: clamp(4rem, 12vw, 9rem); line-height: 0.95; color: var(--accent); margin: var(--space-6) 0; letter-spacing: -0.02em; }
.sb-title .kicker { font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.sb-card h2 { font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.05; margin-top: var(--space-4); }
.sb-sub { font-family: var(--font-display); font-size: var(--text-xl); color: var(--text); margin-top: var(--space-5); }
.sb-tag { color: var(--accent); font-weight: 700; margin-top: var(--space-4); font-size: var(--text-sm); }
.sb-note { color: var(--muted); font-size: var(--text-sm); margin-top: var(--space-8); max-width: 52ch; margin-inline: auto; }
.sb-clip { display: grid; gap: var(--space-6); width: min(100%, 1400px); justify-items: center; }
.sb-video { position: relative; width: 100%; max-height: 66vh; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius-md); overflow: hidden; }
.sb-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; opacity: 0; transition: opacity 0.9s ease; }
.sb-video video.is-cur { opacity: 1; }
.sb-video video[hidden] { display: none; }
.sb-video video.layer-in { opacity: 1; z-index: 2; }
.sb-cap { transition: opacity 0.45s ease; }
.sb-cap.cap-out { opacity: 0; }
.sb-cap { max-width: 78ch; text-align: center; }
.sb-cap .who { display: block; font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: var(--space-3); }
.sb-cap blockquote { font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.6rem); line-height: 1.4; margin: 0; }
.sb-audio { display: grid; gap: var(--space-8); align-items: center; max-width: 900px; }
.sb-audio.has-img { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); max-width: 1200px; }
.sb-audio img { width: 100%; border-radius: var(--radius-md); max-height: 70vh; object-fit: cover; }
.sb-audio .vo-label { display: inline-block; font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; margin-bottom: var(--space-5); color: var(--muted); }
.sb-audio .vo-label.beth { color: var(--accent); }
.sb-audio p { font-family: var(--font-display); font-size: clamp(1.25rem, 2.2vw, 1.85rem); line-height: 1.45; }
.sb-slide { width: min(100%, 1180px); background: var(--bg); border-radius: var(--radius-lg); padding: var(--space-10) var(--space-12); align-self: start; }
.sb-slide.wide { background: transparent; padding: 0; }
.sb-slide.wide .chart svg { width: 100%; height: auto; max-height: 70vh; }
.sb-slide .st-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.sb-slide .st-photo { position: static; }
.sb-slide .why-grid { gap: var(--space-5); margin-top: var(--space-8); }
.sb-slide .why-card { padding: var(--space-5); }
.sb-slide .stats { margin-top: var(--space-8); }
.sb-slide .sk-title { margin-top: var(--space-10); }
.sb-slide .ask-list, .sb-slide .ask h2 { color: var(--text); }
.sb-slide .ask-list { margin-top: var(--space-6); }
@media (max-width: 960px) { .sb-audio.has-img { grid-template-columns: 1fr; } .sb-slide { padding: var(--space-6); } .sb-slide .st-grid { grid-template-columns: 1fr; } .stage-hint { display: none; } }

/* Present mode motion */
.stage-body { opacity: 1; transition: opacity 0.5s ease; }
.stage-body.is-out { opacity: 0; transition: opacity 0.24s ease; }
.stage-body > * { animation: sbIn 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes sbIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.sb-title h1 { animation: sbTitle 6s ease-out both; }
@keyframes sbTitle { from { letter-spacing: 0.02em; opacity: 0.85; } to { letter-spacing: -0.02em; opacity: 1; } }
.sb-img { overflow: hidden; border-radius: var(--radius-md); max-height: 70vh; }
.sb-img img { width: 100%; height: 100%; max-height: 70vh; object-fit: cover; display: block; transform-origin: 50% 40%; animation: kenBurns 75s linear both; }
@keyframes kenBurns { from { transform: scale(1); } to { transform: scale(1.09); } }
.sb-video { position: relative; box-shadow: 0 30px 80px oklch(0 0 0 / 0.6); }
.stage-media { position: absolute; width: 0; height: 0; overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .stage-body > * { animation: none; } .sb-img img { animation: none; } }
.ask-coda { margin-top: var(--space-8); max-width: 72ch; border-top: 1px solid var(--border); padding-top: var(--space-6); }
/* film export: hide presenter chrome, fit long slides */
body.filming .stage-progress, body.filming .stage-ctl { visibility: hidden; }
body.filming .stage-close { display: none !important; }
body.filming .stage-body { padding-bottom: 40px; }
body.filming .sb-slide { zoom: 0.78; width: min(100%, 1480px); }
body.filming .sb-slide.wide { zoom: 0.9; }
body.filming .sb-slide .ask-list { gap: var(--space-4); }
body.filming .sb-slide .ask-list li span { font-size: 0.95em; }
