/* ═══════════════════════════════════════════════════════════════
   UN for Men Too — unformentoo.org
   The official record, subverted: document typography (Bricolage
   Grotesque display · IBM Plex Mono labels · serif body on paper),
   solid cards for what exists, dashed ghost slots for what doesn't.
   Light "paper" is default; hero and closing are fixed "night"
   bookends; dark theme is opt-in via the toggle.
   ═══════════════════════════════════════════════════════════════ */

/* ── Fonts (vendored, OFL) ──────────────────────────────────── */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../assets/fonts/BricolageGrotesque-400-800.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../assets/fonts/IBMPlexMono-400.woff2") format("woff2");
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../assets/fonts/IBMPlexMono-500.woff2") format("woff2");
  font-weight: 500; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../assets/fonts/IBMPlexMono-600.woff2") format("woff2");
  font-weight: 600; font-display: swap;
}

/* ── Tokens ─────────────────────────────────────────────────── */
:root {
  color-scheme: light;

  --brand:          #2B4CAC;

  --page:           #faf8f3;   /* warm paper */
  --surface:        #fffdf9;
  --surface-tint:   #f3f0e7;
  --surface-brand:  #edf1fa;

  --ink:            #151a2c;   /* blue-black ink */
  --ink-2:          #494f63;
  --ink-3:          #7b8296;

  --series-w:       #d23f76;   /* women and girls — pink */
  --series-m:       #2e7fc2;   /* men and boys — light blue */
  --series-w-soft:  #f9dbe7;
  --series-m-soft:  #d8e9f8;
  --accent:         #c98a1f;   /* attention: new days, widening gap */
  --rainbow: linear-gradient(90deg, #e40303, #ff8c00, #ffed00, #008026, #24408e, #732982);
  --neutral-band:   #9aa0ae;   /* minorities & everyone the gauges miss */

  --ghost:          #948b71;   /* dashed outlines of what is missing */
  --ghost-ink:      #6d6551;

  --rule:           #e6e2d5;
  --rule-strong:    #c9c3b0;
  --grid:           #eeebe0;

  /* Fixed night palette for the hero/closing bookends */
  --night:          #090e1d;
  --night-2:        #0d1428;
  --night-surface:  #101832;
  --night-ink:      #edf1fa;
  --night-ink-2:    #b6bfd6;
  --night-ink-3:    #7c87a5;
  --night-rule:     #232c47;
  --night-blue:     #6b8ce0;
  --night-men:      #7cc0f5;

  --on-series:      #ffffff;   /* text on series/brand fills */
  --shadow-sm: 0 1px 2px rgba(21,26,44,.05), 0 2px 10px rgba(21,26,44,.05);
  --shadow-md: 0 2px 4px rgba(21,26,44,.06), 0 14px 36px rgba(21,26,44,.1);

  --display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --wrap: 68rem;
  --step: clamp(3.75rem, 9vw, 7.5rem);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --snap: cubic-bezier(.34, 1.3, .5, 1);

  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --brand:          #6b8ce0;
  --page:           #0c111f;
  --surface:        #121829;
  --surface-tint:   #0f1424;
  --surface-brand:  #151d33;
  --ink:            #edf1fa;
  --ink-2:          #bdc4d8;
  --ink-3:          #848da6;
  --series-w:       #f27ba6;
  --series-m:       #7cc0f5;
  --series-w-soft:  #4a2338;
  --series-m-soft:  #1d3a55;
  --accent:         #e0b25c;
  --ghost:          #6b7494;
  --ghost-ink:      #98a2bd;
  --rule:           #232b41;
  --rule-strong:    #3a445f;
  --grid:           #1a2136;
  --night:          #090e1d;
  --on-series:      #0c111f;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.5);
  --shadow-md: 0 2px 4px rgba(0,0,0,.45), 0 14px 36px rgba(0,0,0,.55);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--page);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, select, input { font: inherit; color: inherit; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--page);
  padding: .6rem 1rem; border-radius: 8px; text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus-visible { top: 1rem; }

:focus-visible {
  outline: 2px solid var(--series-w);
  outline-offset: 3px;
  border-radius: 4px;
}
.night :focus-visible { outline-color: var(--night-blue); }

.wrap { width: min(var(--wrap), calc(100% - 2.5rem)); margin-inline: auto; }
.wrap-wide { width: min(92rem, calc(100% - 2.5rem)); margin-inline: auto; }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3 {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.022em;
}

h2 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  max-width: 22ch;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}
.h2-unit { font-size: .45em; letter-spacing: 0; color: var(--ink-3); font-weight: 600; margin-left: .1em; }
.h2-tail { display: inline; }
h2 .counter { color: var(--series-w); font-variant-numeric: tabular-nums; }

h3 { font-size: 1.28rem; line-height: 1.2; }

.section-kicker {
  display: flex; align-items: center; gap: .8rem;
  font-family: var(--mono);
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 1.2rem;
}
.section-no {
  display: grid; place-items: center;
  min-width: 2rem; height: 2rem; padding-inline: .3rem;
  border: 1px solid var(--rule-strong);
  border-radius: 3px;
  font-size: .7rem;
  color: var(--ink-2);
}

.section-lead {
  font-size: clamp(1.075rem, 1.9vw, 1.26rem);
  line-height: 1.62;
  color: var(--ink-2);
  max-width: 62ch;
  margin-bottom: 2.75rem;
}

.fineprint {
  font-size: .84rem;
  line-height: 1.6;
  color: var(--ink-3);
  max-width: 70ch;
  margin-top: 1.25rem;
}
.fineprint a { color: inherit; }

/* ── Grain + night bookends ─────────────────────────────────── */
.night {
  position: relative;
  background:
    radial-gradient(ellipse 120% 80% at 72% -10%, rgba(43,76,172,.34), transparent 55%),
    radial-gradient(ellipse 90% 60% at 15% 110%, rgba(43,76,172,.16), transparent 60%),
    linear-gradient(180deg, var(--night), var(--night-2));
  color: var(--night-ink);
}
.night::after {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--grain);
  opacity: .05;
  pointer-events: none;
  z-index: 1;
}
.night > * { position: relative; z-index: 2; }

/* ── Header ─────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--page) 84%, transparent);
  backdrop-filter: saturate(1.5) blur(14px);
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; height: 3.5rem;
}
.brand {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--mono);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.brand-mark { width: 1.5rem; height: 1.5rem; flex: none; }
:root[data-theme="dark"] .brand-mark { filter: brightness(1.6) saturate(.85); }

.header-tools { display: flex; align-items: center; gap: .5rem; }

.theme-toggle {
  width: 2.25rem; height: 2.25rem;
  display: grid; place-items: center;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 8px;
  cursor: pointer;
  color: var(--ink-2);
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.theme-toggle:hover { background: var(--surface-tint); color: var(--ink); border-color: var(--rule-strong); }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.progress { height: 2px; background: transparent; }
.progress span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--series-w), var(--series-m));
  transition: width .1s linear;
}

/* ── Reveal ─────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  overflow: hidden;
  padding: clamp(4.5rem, 12vh, 8rem) 0 clamp(4rem, 10vh, 6.5rem);
}
.hero-globe {
  position: absolute;
  right: max(-12rem, -14vw); top: 50%;
  width: clamp(30rem, 58vw, 56rem); aspect-ratio: 1;
  transform: translateY(-50%);
  opacity: .5;
  pointer-events: none;
  z-index: 1;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 72%);
  mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 72%);
}
.hero-globe svg { width: 100%; height: 100%; }
.hero-inner { position: relative; z-index: 2; }

.kicker {
  font-family: var(--mono);
  font-weight: 500;
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--night-blue);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(3.4rem, 12.5vw, 9rem);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.035em;
  margin-bottom: 1.6rem;
  color: var(--night-ink);
  text-wrap: balance;
}
.hero-title .ht-a { color: var(--night-ink); }
.hero-title .ht-b { color: var(--night-men); }
.hero-title .ht-b { white-space: nowrap; color: var(--night-men); }
@media (max-width: 30rem) { .hero-title .ht-b { white-space: normal; } }

.hero-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 3vw, 1.8rem);
  line-height: 1.35;
  color: var(--night-ink-2);
  max-width: 32ch;
  margin-bottom: 1.5rem;
  transition-delay: .1s;
}
.hero-lead {
  font-size: clamp(1.02rem, 1.8vw, 1.15rem);
  color: var(--night-ink-2);
  max-width: 52ch;
  margin-bottom: 2.5rem;
  transition-delay: .18s;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: .75rem;
  padding: .9rem 0;
  border: 0;
  text-decoration: none;
  font-family: var(--mono);
  font-size: .92rem;
  letter-spacing: .06em;
  color: var(--night-men);
  transition: gap .22s var(--ease), color .22s var(--ease);
  transition-delay: .26s;
}
.hero-cta:hover { gap: 1.15rem; color: var(--night-ink); }

/* ── Hero quick actions: vote, story, share, right at the top ─ */
.hero-acts {
  margin-bottom: 2.4rem;
  display: flex; flex-direction: column; align-items: flex-start;
  gap: .85rem;
}
.voice-btn--hero { font-size: clamp(1rem, 2vw, 1.2rem); padding: .9rem 1.9rem; }
.voice-btn--hero.is-voiced,
.voice-btn--hero.is-voiced[disabled] {
  background: transparent;
  color: var(--night-ink);
  border: 1px solid var(--night-rule);
  box-shadow: none;
  opacity: 1;
}
.hero-voice-note {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .06em;
  color: var(--night-ink-3);
}
.hero-voice-note .hvn-n { color: var(--night-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.hero-act-row { display: flex; gap: .6rem; flex-wrap: wrap; }
.hero-act {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem 1rem;
  border: 1px solid var(--night-rule);
  border-radius: 8px;
  background: color-mix(in srgb, var(--night-surface) 60%, transparent);
  color: var(--night-ink-2);
  font-family: var(--mono);
  font-size: .82rem;
  cursor: pointer;
  transition: color .18s var(--ease), border-color .18s var(--ease), background .18s var(--ease);
}
.hero-act:hover { color: var(--night-ink); border-color: var(--night-ink-3); background: color-mix(in srgb, var(--night-surface) 85%, transparent); }
.hero-better { display: flex; flex-direction: column; gap: .55rem; }
.hero-better-label {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .06em;
  color: var(--night-men);
}
.hero-better-chips { display: flex; gap: .5rem; flex-wrap: wrap; }
.hero-word .hero-acts.reveal { transition-delay: .26s; }
.hero-word .hero-cta.reveal { transition-delay: .32s; }

.cta-arrow { animation: nudge 2.4s var(--ease) infinite; }
@keyframes nudge { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .cta-arrow { animation: none; } }

/* The wordmark holds until the hero search resolves; releasing
   .is-held lets the already-primed reveals cascade in. */
.hero-word.is-held .reveal {
  opacity: 0 !important;
  transform: translateY(18px) !important;
}
.hero-word .kicker.reveal { transition-delay: 0s; }
.hero-word .hero-title.reveal { transition-delay: .07s; }
.hero-word .hero-sub.reveal { transition-delay: .15s; }
.hero-word .hero-lead.reveal { transition-delay: .22s; }

/* ── The console (null search) ──────────────────────────────── */
.console {
  max-width: 34rem;
  margin-bottom: clamp(2.5rem, 6vh, 4rem);
  border: 1px solid var(--night-rule);
  border-radius: 14px;
  background: color-mix(in srgb, var(--night-surface) 82%, transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 18px 50px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.05);
  padding: 1rem 1.15rem 1.15rem;
  cursor: default;
  position: relative;
}
.console-label {
  display: flex; align-items: center; gap: .55rem;
  font-family: var(--mono);
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--night-ink-3);
  margin-bottom: .8rem;
}
.console-dot {
  width: .45rem; height: .45rem; border-radius: 50%;
  background: var(--night-blue);
  box-shadow: 0 0 8px var(--night-blue);
  animation: console-pulse 2.6s ease-in-out infinite;
}
@keyframes console-pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.console-field {
  display: flex; align-items: center; gap: .6rem;
  border: 1px solid var(--night-rule);
  border-radius: 9px;
  background: rgba(0,0,0,.28);
  padding: .7rem .85rem;
  font-family: var(--mono);
  font-size: 1.02rem;
  color: var(--night-ink);
  min-height: 2.9rem;
}
.console-icon { flex: none; color: var(--night-ink-3); }
.console-query { white-space: pre; }
.console-caret {
  width: 2px; height: 1.15em; flex: none;
  background: var(--night-blue);
  animation: caret 1.05s steps(1) infinite;
}
@keyframes caret { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }
.console-odometer {
  margin-left: auto;
  font-size: .72rem;
  color: var(--night-ink-3);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.console-skip {
  position: absolute; right: 1rem; top: .9rem;
  font-family: var(--mono); font-size: .62rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--night-ink-3);
  opacity: .8;
}
@media (max-width: 36rem) { .console-skip { display: none !important; } }

.console-results { display: grid; gap: .6rem; margin-top: .7rem; }
.record {
  border-left: 3px solid var(--night-blue);
  border-radius: 4px 10px 10px 4px;
  background: color-mix(in srgb, var(--night-blue) 10%, transparent);
  padding: .8rem 1rem .85rem;
  transform-origin: top left;
}
.record-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -.01em;
  margin-bottom: .15rem;
}
.record-desc { font-size: .85rem; line-height: 1.45; color: var(--night-ink-2); margin-bottom: .45rem; }
.record-meta {
  font-family: var(--mono);
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--night-blue);
}
.record--ghost {
  border-left: none;
  border: 1.5px dashed color-mix(in srgb, var(--night-ink-3) 65%, transparent);
  border-radius: 10px;
  background: repeating-linear-gradient(-45deg, transparent 0 8px, rgba(255,255,255,.022) 8px 9px);
}
.record-none {
  font-family: var(--mono);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  color: var(--night-ink);
  margin-bottom: .2rem;
}
.record-didyou { font-size: .85rem; line-height: 1.5; color: var(--night-ink-3); font-style: italic; }

/* Hero console animation states (driven by app.js) */
.console.is-armed .record { display: none; }
.console.is-armed .console-skip { display: block; }
.console:not(.is-armed) .console-skip { display: none; }
.console .record.is-shown { display: block; animation: record-in .45s var(--snap) both; }
@keyframes record-in { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .console .record.is-shown { animation: none; }
  .console-caret, .console-dot { animation: none; }
}

/* Paper variant (SDG section) */
.console--paper {
  max-width: 40rem;
  margin: 0 0 2.5rem;
  border-color: var(--rule-strong);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.console--paper .console-label { color: var(--ink-3); }
.console--paper .console-dot { background: var(--series-w); box-shadow: none; animation: none; }
.console--paper .console-field {
  background: var(--surface-tint);
  border-color: var(--rule);
  color: var(--ink);
}
.console--paper .console-icon { color: var(--ink-3); }
.console--paper .console-caret { background: var(--series-w); }
.console--paper .console-odometer { color: var(--ink-3); }
.console--paper .record--ghost {
  border-color: var(--ghost);
  background: repeating-linear-gradient(-45deg, transparent 0 8px, color-mix(in srgb, var(--ghost) 10%, transparent) 8px 9px);
}
.console--paper .record-none { color: var(--ink); }
.console--paper .record-didyou { color: var(--ink-2); font-style: normal; }

/* ── Sections ───────────────────────────────────────────────── */
.section, .closing, .hero { scroll-margin-top: 4.25rem; }
.section { padding: var(--step) 0; }
.section-tinted { background: var(--surface-tint); }

/* ── Stat tiles ─────────────────────────────────────────────── */
.stat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 2rem;
}
@media (min-width: 46rem) {
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat-grid--3 { grid-template-columns: 1fr 1fr 1fr; }
}
.stat-tile { background: var(--surface); padding: 2rem 1.7rem 1.8rem; }
.stat-value {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 4.6vw, 2.9rem);
  line-height: 1;
  letter-spacing: -.03em;
  margin-bottom: .75rem;
  color: var(--series-w);
}
.stat-label { font-size: .95rem; line-height: 1.55; color: var(--ink-2); max-width: 34ch; }
.stat-source {
  font-family: var(--mono);
  font-size: .64rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3);
  margin-top: .8rem;
}

/* ── Pledge ─────────────────────────────────────────────────── */
.pledge {
  display: grid;
  grid-template-columns: 3px 1fr;
  gap: 1.4rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  line-height: 1.35;
  letter-spacing: -.01em;
  max-width: 46ch;
  margin: 2.5rem 0 1rem;
}
.pledge-rule { background: var(--series-m); border-radius: 2px; }

/* ── Everyone band: who "men and boys" includes ─────────────── */
.everyone {
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: 1.7rem 1.7rem 1.5rem;
  margin-top: 2.25rem;
  max-width: 46rem;
}
.everyone-band {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: .35rem;
  margin-bottom: 1rem;
}
.everyone-seg { display: grid; gap: .45rem; }
.everyone-swatch { height: .55rem; border-radius: 999px; }
.everyone-seg:nth-child(1) .everyone-swatch { background: var(--series-w); }
.everyone-seg:nth-child(2) .everyone-swatch { background: var(--series-m); }
.everyone-seg:nth-child(3) .everyone-swatch { background: var(--rainbow); }
.everyone-seg:nth-child(4) .everyone-swatch { background: var(--neutral-band); }
.everyone-label {
  font-family: var(--mono);
  font-weight: 500;
  font-size: .6rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.everyone-text { font-size: .97rem; line-height: 1.62; color: var(--ink-2); max-width: 60ch; }
.everyone-note { margin-top: .8rem; font-size: .88rem; color: var(--ink-3); max-width: 60ch; }
@media (max-width: 34rem) { .everyone-band { grid-template-columns: 1fr 1fr; } }

/* ── Quotes ─────────────────────────────────────────────────── */
.big-quote { margin: 3rem 0 0; padding: 0; max-width: 48ch; }
.big-quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 3.2vw, 2.05rem);
  line-height: 1.3;
  letter-spacing: -.01em;
  text-wrap: balance;
  margin-bottom: 1rem;
}
.big-quote cite {
  font-style: normal;
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ── Ratio banner ───────────────────────────────────────────── */
.ratio-banner {
  display: flex; align-items: center; gap: 2rem; flex-wrap: wrap;
  padding: 2rem 2rem;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}
.ratio-figure {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3.5rem, 11vw, 6rem);
  line-height: .9;
  letter-spacing: -.04em;
  flex: none;
  font-variant-numeric: tabular-nums;
}
.ratio-w { color: var(--series-w); }
.ratio-sep { color: var(--ink-3); margin: 0 .14em; font-size: .55em; vertical-align: .18em; font-weight: 600; }
.ratio-m { color: var(--series-m); }
.ratio-caption {
  font-size: clamp(.98rem, 2vw, 1.15rem);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 30ch;
}

/* ── Calendar of days ───────────────────────────────────────── */
.cal-figure {
  margin: 0 0 1.25rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 1.5rem 1.4rem 1.2rem;
  box-shadow: var(--shadow-sm);
}
.cal {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(9.5rem, 100%), 1fr));
  gap: 1rem .9rem;
}
.cal-month { min-width: 0; }
.cal-month-name {
  font-family: var(--mono);
  font-weight: 600;
  font-size: .66rem;
  letter-spacing: .16em;
  color: var(--ink-3);
  margin-bottom: .45rem;
  display: flex; justify-content: space-between; align-items: baseline;
}
.cal-month-count { color: var(--series-w); font-size: .62rem; }
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2.5px;
}
.cal-d {
  aspect-ratio: 1;
  border-radius: 2.5px;
  background: var(--grid);
  border: 0;
  padding: 0;
  position: relative;
}
.cal-d--day {
  background: var(--series-w);
  cursor: pointer;
  opacity: 0;
  transform: scale(.3);
  transition: box-shadow .15s var(--ease);
}
.cal-figure.is-in .cal-d--day { animation: pop .4s var(--snap) forwards; animation-delay: calc(var(--i) * 110ms + .3s); }
.cal-d--day:hover, .cal-d--day:focus-visible { box-shadow: 0 0 0 3px color-mix(in srgb, var(--series-w) 30%, transparent); }
.cal-d--day.is-new::after {
  content: "";
  position: absolute; right: -2px; top: -2px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}
.cal-d--ghost {
  background: transparent;
  border: 1.5px dashed var(--ghost);
  cursor: pointer;
  transition: box-shadow .15s var(--ease), background .15s var(--ease);
}
.cal-d--ghost:hover, .cal-d--ghost:focus-visible {
  background: color-mix(in srgb, var(--series-m) 10%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--series-m) 25%, transparent);
}
.cal-d--ghost.is-found { background: color-mix(in srgb, var(--series-m) 14%, transparent); border-color: var(--series-m); }
@keyframes pop { to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .cal-d--day { opacity: 1; transform: none; }
  .cal-figure.is-in .cal-d--day { animation: none; }
}

.sw-ghost {
  background: transparent;
  border: 1.5px dashed var(--ghost);
}

.cal-prompt {
  display: flex; gap: .8rem; align-items: baseline;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  margin: 1.75rem 0 1rem;
  max-width: 52ch;
}
.cal-prompt-mark { color: var(--series-m); flex: none; }

.cal-detail {
  border: 1px solid var(--rule);
  border-left: 3px solid var(--series-w);
  border-radius: 6px 12px 12px 6px;
  background: var(--surface);
  padding: 1rem 1.25rem;
  font-size: .95rem;
  color: var(--ink-2);
  max-width: 56ch;
  min-height: 3.4rem;
  transition: border-color .2s var(--ease);
}
.cal-detail.is-ghost { border-left-color: var(--series-m); }
.cal-detail strong { display: block; color: var(--ink); font-family: var(--display); font-weight: 600; margin-bottom: .2rem; }
.cal-detail .cal-detail-meta {
  display: block;
  font-family: var(--mono); font-size: .66rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3); margin-top: .5rem;
}

/* ── Callout ────────────────────────────────────────────────── */
.callout {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  line-height: 1.35;
  letter-spacing: -.012em;
  padding: 1.1rem 0 1.1rem 1.5rem;
  border-left: 3px solid var(--accent);
  max-width: 44ch;
  margin: 2rem 0 1rem;
}

/* ── Ledger (machinery) ─────────────────────────────────────── */
.ledger { display: grid; gap: .7rem; margin-bottom: 2rem; }
.ledger-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .7rem;
  font-family: var(--mono);
  font-weight: 600;
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 0 .25rem .3rem;
}
.ledger-head .lh-m { color: var(--ghost-ink); }
.ledger-row { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }

.ledger-card {
  border: 1px solid var(--rule);
  border-left: 3px solid var(--series-w);
  border-radius: 6px 12px 12px 6px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: 1rem 1.2rem 1.05rem;
  text-align: left;
  width: 100%;
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
  opacity: 0;
  transform: translateX(-16px);
}
.ledger-row.is-in .ledger-card { animation: ledger-in .55s var(--ease) forwards; }
@keyframes ledger-in { to { opacity: 1; transform: none; } }
.ledger-toggle { display: block; width: 100%; text-align: left; background: transparent; border: 0; padding: 0; cursor: pointer; }
.ledger-card:hover { border-color: var(--rule-strong); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.ledger-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -.01em;
  display: flex; align-items: baseline; gap: .6rem; justify-content: space-between;
}
.ledger-caret { color: var(--ink-3); font-size: .8rem; transition: transform .2s var(--ease); }
.ledger-toggle[aria-expanded="true"] .ledger-caret { transform: rotate(90deg); }
.ledger-gloss { font-size: .88rem; color: var(--ink-2); margin-top: .1rem; }
.ledger-meta {
  font-family: var(--mono);
  font-size: .62rem; font-weight: 500;
  letter-spacing: .12em;
  color: var(--series-w);
  margin-top: .55rem;
}
.ledger-detail {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .3s var(--ease), margin-top .3s var(--ease);
  margin-top: 0;
  font-size: .9rem; line-height: 1.6; color: var(--ink-2);
}
.ledger-detail > span { overflow: hidden; }
.ledger-card.is-open .ledger-detail { grid-template-rows: 1fr; margin-top: .6rem; }

.ledger-ghost {
  border: 1.5px dashed var(--ghost);
  border-radius: 12px;
  background: repeating-linear-gradient(-45deg, transparent 0 8px, color-mix(in srgb, var(--ghost) 9%, transparent) 8px 9px);
  display: grid; place-items: center; align-content: center; gap: .3rem;
  padding: 1rem;
  opacity: 0;
  transform: scale(.96);
}
.ledger-row.is-in .ledger-ghost { animation: ghost-in .5s var(--ease) forwards; animation-delay: .22s; }
@keyframes ghost-in { to { opacity: 1; transform: none; } }
.ledger-ghost-dash {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ghost-ink);
}
.ledger-ghost-label {
  font-family: var(--mono);
  font-size: .62rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--ghost-ink);
}
@media (prefers-reduced-motion: reduce) {
  .ledger-card, .ledger-ghost { opacity: 1; transform: none; }
  .ledger-row.is-in .ledger-card, .ledger-row.is-in .ledger-ghost { animation: none; }
}
@media (max-width: 40rem) {
  .ledger-row { grid-template-columns: 1fr; gap: .35rem; }
  .ledger-ghost {
    padding: .4rem .8rem;
    grid-auto-flow: column;
    justify-content: flex-start;
    align-items: center;
    gap: .55rem;
    border-radius: 8px;
    border-width: 1.5px;
  }
  .ledger-ghost-dash { font-size: 1rem; }
  .ledger-ghost-label { font-size: .58rem; letter-spacing: .12em; }
  .ledger-head { grid-template-columns: 1fr; }
  .ledger-head .lh-m { display: none; }
}

.ledger-tally {
  display: flex; align-items: center; gap: 2rem; flex-wrap: wrap;
  padding: 2rem;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-sm);
  margin-top: 2rem;
}
.tally-figure {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3rem, 9vw, 5rem);
  line-height: .9;
  letter-spacing: -.04em;
  flex: none;
  font-variant-numeric: tabular-nums;
}
.tally-w { color: var(--series-w); }
.tally-sep { color: var(--ink-3); margin: 0 .14em; font-size: .55em; vertical-align: .18em; }
.tally-m { color: var(--series-m); }
.tally-caption { font-size: clamp(1rem, 2vw, 1.18rem); color: var(--ink-2); max-width: 30ch; line-height: 1.5; }

/* ── Waffle (the money) ─────────────────────────────────────── */
.waffle-figure {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}
.waffle {
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  gap: .38rem;
  margin-bottom: 1.1rem;
}
@media (max-width: 40rem) { .waffle { grid-template-columns: repeat(16, 1fr); gap: .3rem; } }
.waffle-dot {
  aspect-ratio: 1;
  border-radius: 2.5px;
  background: var(--series-w);
  opacity: 0;
  transform: scale(.3);
}
.waffle.is-in .waffle-dot { animation: pop .4s var(--ease) forwards; animation-delay: calc(var(--i) * 6ms); }
.waffle-dot.is-ghost {
  background: transparent;
  border: 1.5px dashed var(--series-m);
  transform: none;
}
.waffle.is-in .waffle-dot.is-ghost { animation-delay: calc(142 * 6ms + 300ms); }
@media (prefers-reduced-motion: reduce) {
  .waffle-dot { opacity: 1; transform: none; }
  .waffle.is-in .waffle-dot { animation: none; }
}
.chart-caption {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem;
  margin-top: .25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-size: .84rem;
  color: var(--ink-3);
}
.legend-item { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--ink-2); max-width: 34rem; }
.legend-swatch { width: .8rem; height: .8rem; border-radius: 3px; flex: none; }
.sw-women { background: var(--series-w); }
.sw-men { background: var(--series-m); }

/* ── Scale rows ─────────────────────────────────────────────── */
.scale-heading { margin: 2.5rem 0 1.25rem; }
.scale-rows { display: grid; gap: 1.1rem; }
.scale-row { display: grid; gap: .35rem; }
.scale-label {
  display: flex; justify-content: space-between; gap: 1rem; align-items: baseline;
  font-size: .92rem; color: var(--ink-2);
}
.scale-value { font-family: var(--mono); font-weight: 600; font-size: .84rem; color: var(--series-w); white-space: nowrap; }
.scale-track { display: grid; grid-template-columns: 1fr auto; gap: .6rem; align-items: center; }
.scale-fill {
  height: 1.1rem;
  border-radius: 0 4px 4px 0;
  background: var(--series-w);
  width: 0;
  min-width: 3px;
  transition: width 1.05s var(--ease);
}
.scale-ghost {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 1.5px dashed var(--ghost);
  border-radius: 6px;
  padding: .3rem .7rem;
  font-family: var(--mono);
  font-size: .66rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ghost-ink);
  white-space: nowrap;
}
@media (max-width: 40rem) {
  .scale-track { grid-template-columns: 1fr; }
  .scale-ghost { justify-self: start; }
}

/* ── Cost slider (parity pattern) ───────────────────────────── */
.parity {
  margin-top: 3rem;
  padding: 2.25rem 2rem 1.75rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.parity h3 { margin-bottom: .75rem; }
.parity-lead { color: var(--ink-2); max-width: 58ch; margin-bottom: 2rem; font-size: .95rem; }
.parity-result { display: flex; align-items: baseline; gap: .9rem; flex-wrap: wrap; margin-bottom: .35rem; }
.parity-amount {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--series-m);
  font-variant-numeric: tabular-nums;
}
.parity-result-label { font-size: .95rem; color: var(--ink-2); max-width: 26ch; }
.parity-factor { font-family: var(--mono); font-size: .8rem; color: var(--ink-3); margin-bottom: 1.75rem; min-height: 1.2em; }
.parity-slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 1.75rem;
  background: transparent;
  cursor: grab; display: block;
}
.parity-slider:active { cursor: grabbing; }
.parity-slider::-webkit-slider-runnable-track {
  height: .5rem; border-radius: 999px;
  background: linear-gradient(90deg, var(--series-m) var(--fill, 8%), var(--grid) var(--fill, 8%));
}
.parity-slider::-moz-range-track {
  height: .5rem; border-radius: 999px;
  background: linear-gradient(90deg, var(--series-m) var(--fill, 8%), var(--grid) var(--fill, 8%));
}
.parity-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 1.5rem; height: 1.5rem; margin-top: -.5rem;
  border-radius: 50%;
  background: var(--series-m);
  border: 3px solid var(--surface);
  box-shadow: 0 1px 6px rgba(0,0,0,.28);
  transition: transform .16s var(--ease);
}
.parity-slider::-moz-range-thumb {
  width: 1.5rem; height: 1.5rem; border-radius: 50%;
  background: var(--series-m);
  border: 3px solid var(--surface);
  box-shadow: 0 1px 6px rgba(0,0,0,.28);
}
.parity-slider:hover::-webkit-slider-thumb,
.parity-slider:focus-visible::-webkit-slider-thumb { transform: scale(1.12); }
.parity-scale {
  display: flex; justify-content: space-between; gap: 1rem;
  margin-top: .35rem;
  font-size: .72rem;
  color: var(--ink-3);
  font-family: var(--mono);
}

/* ── SDG grid ───────────────────────────────────────────────── */
.sdg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(4.6rem, 1fr));
  gap: .5rem;
  margin-bottom: 1.25rem;
}
.sdg-tile {
  aspect-ratio: 1;
  border-radius: 9px;
  border: 1px solid var(--rule);
  background: var(--surface);
  display: grid; place-items: center; align-content: center; gap: .15rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ink-3);
  position: relative;
}
.sdg-tile-label {
  font-family: var(--mono); font-weight: 500;
  font-size: .5rem; letter-spacing: .1em;
  color: var(--ink-3);
}
.sdg-tile--five {
  background: var(--series-w);
  border-color: var(--series-w);
  color: var(--on-series);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--series-w) 22%, transparent);
}
.sdg-tile--five .sdg-tile-label { color: var(--on-series); opacity: .8; }
.sdg-five {
  border: 1px solid var(--rule);
  border-left: 3px solid var(--series-w);
  border-radius: 6px 12px 12px 6px;
  background: var(--surface);
  padding: 1.15rem 1.3rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.sdg-five-name { font-family: var(--display); font-weight: 700; font-size: 1.05rem; margin-bottom: .7rem; }
.sdg-five-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip {
  font-size: .8rem;
  font-family: var(--serif);
  padding: .32rem .75rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
}

/* ── Outcome cards ──────────────────────────────────────────── */
.outcome-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr));
  gap: 1.1rem;
  margin-bottom: 1rem;
}
.outcome-card {
  display: grid;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: relative;
}
.outcome-face {
  grid-area: 1 / 1;
  padding: 1.6rem 1.5rem 1.4rem;
  display: flex; flex-direction: column; gap: .55rem; align-items: flex-start;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.outcome-face--back {
  background: color-mix(in srgb, var(--series-w) 6%, var(--surface));
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  visibility: hidden;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
}
.outcome-card.is-flipped .outcome-face--front { opacity: 0; transform: translateY(-6px); pointer-events: none; visibility: hidden; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s; }
.outcome-card.is-flipped .outcome-face--back { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s; }
@media (prefers-reduced-motion: reduce) { .outcome-face { transition: opacity .2s linear; transform: none !important; } }
.outcome-value {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.3rem, 5vw, 3.1rem);
  line-height: .95;
  letter-spacing: -.03em;
  color: var(--series-m);
  font-variant-numeric: tabular-nums;
}
.outcome-title {
  font-family: var(--mono);
  font-weight: 600;
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.outcome-text { font-size: .95rem; line-height: 1.55; color: var(--ink-2); }
.outcome-but {
  margin-top: auto;
  align-self: flex-end;
  border: 1px solid color-mix(in srgb, var(--series-w) 55%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--series-w) 8%, transparent);
  color: var(--series-w);
  font-family: var(--mono);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .06em;
  padding: .32rem .85rem;
  cursor: pointer;
  transition: background .18s var(--ease), transform .18s var(--ease);
}
.outcome-but:hover { background: color-mix(in srgb, var(--series-w) 16%, transparent); transform: translateY(-1px); }
.outcome-source {
  font-family: var(--mono);
  font-size: .62rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3);
}
.outcome-face--back .outcome-title { color: var(--series-w); }

/* ── The quietest number ────────────────────────────────────── */
.hour-figure {
  margin: 0 0 1rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 1.6rem 1.6rem 1.4rem;
  box-shadow: var(--shadow-sm);
}
.hour-title {
  font-family: var(--mono);
  font-weight: 600;
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 1.1rem;
}
.hour-row { display: grid; gap: .45rem; }
.hour-row + .hour-row { margin-top: 1.1rem; }
.hour-marks { display: flex; flex-wrap: wrap; gap: .28rem; }
.hour-mark {
  width: .72rem; height: 1.15rem;
  border-radius: 2.5px;
  background: var(--ink-3);
  opacity: 0;
  transform: scaleY(.4);
  transform-origin: bottom;
}
.hour-marks--men .hour-mark { background: var(--series-m); }
.hour-figure.is-in .hour-mark { animation: mark-rise .35s var(--snap) forwards; animation-delay: calc(var(--i) * 18ms); }
@keyframes mark-rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hour-mark { opacity: 1; transform: none; }
  .hour-figure.is-in .hour-mark { animation: none; }
}
.hour-label { font-size: .92rem; color: var(--ink-2); }
.hour-label strong { font-family: var(--display); font-size: 1.15rem; color: var(--ink); margin-right: .25rem; }

.silence-sub { margin: 2.75rem 0 .9rem; font-size: clamp(1.3rem, 2.6vw, 1.7rem); }
.stat-value--men { color: var(--series-m); }

.fact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr));
  gap: 1.1rem;
}
.fact-card {
  border: 1px solid var(--rule);
  border-left: 3px solid var(--series-m);
  border-radius: 6px 12px 12px 6px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem 1.5rem 1.3rem;
}
.fact-title { font-family: var(--display); font-weight: 700; font-size: 1.12rem; letter-spacing: -.01em; margin-bottom: .55rem; }
.fact-text { font-size: .94rem; line-height: 1.62; color: var(--ink-2); }
.fact-meta {
  font-family: var(--mono);
  font-weight: 500;
  font-size: .62rem;
  letter-spacing: .12em;
  color: var(--series-m);
  margin-top: .8rem;
}
.helpline {
  margin-top: 2rem;
  border: 1px solid color-mix(in srgb, var(--series-m) 40%, var(--rule));
  border-radius: 12px;
  background: color-mix(in srgb, var(--series-m) 6%, var(--surface));
  padding: 1rem 1.2rem;
  font-size: .95rem;
  color: var(--ink);
  max-width: 56ch;
}

/* ── One better (post-vote) ─────────────────────────────────── */
.better { width: 100%; border-top: 1px solid var(--rule); padding-top: 1.4rem; display: grid; gap: .8rem; }
.better h3 { font-size: 1.25rem; }
.better-lead { color: var(--ink-2); font-size: .95rem; }
.better-channels { display: flex; flex-wrap: wrap; gap: .5rem; }
.better-chip {
  display: inline-flex; align-items: center;
  border: 0;
  padding: .35rem .6rem .35rem 0;
  font-family: var(--mono);
  font-size: .8rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  transition: color .18s var(--ease), transform .18s var(--ease);
}
.better-chip:hover { color: var(--series-m); transform: translateY(-1px); }
.better-news { display: grid; gap: .5rem; max-width: 30rem; margin-top: .4rem; }
.better-news-row { display: flex; gap: .5rem; flex-wrap: wrap; }
.better-news-row .suggest-input { flex: 1 1 14rem; }
.cta-btn-solid {
  border: 0;
  border-radius: 9px;
  background: var(--series-w);
  color: var(--on-series);
  font-family: var(--mono);
  font-weight: 600;
  font-size: .84rem;
  padding: .7rem 1.2rem;
  cursor: pointer;
  transition: filter .18s var(--ease), transform .18s var(--ease);
}
.cta-btn-solid:hover { filter: brightness(1.08); transform: translateY(-1px); }

/* ── Loop ───────────────────────────────────────────────────── */
.loop-toggle {
  display: inline-flex;
  border: 1px solid var(--rule-strong);
  border-radius: 10px;
  padding: .25rem;
  gap: .25rem;
  background: var(--surface);
  margin-bottom: 2rem;
}
.loop-btn {
  border: 0;
  border-radius: 7px;
  background: transparent;
  font-family: var(--mono);
  font-weight: 500;
  font-size: .8rem;
  padding: .5rem 1.1rem;
  color: var(--ink-2);
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.loop-btn[aria-pressed="true"] { background: var(--series-w); color: var(--on-series); }
#loopBtnM[aria-pressed="true"] { background: var(--series-m); }

.flow-diagram {
  position: relative;
  display: grid;
  justify-items: center;
  gap: clamp(2.5rem, 6vw, 3.75rem);
  padding: 1rem clamp(1.5rem, 6vw, 4rem) 1.5rem;
  margin-bottom: 2.25rem;
}
.fd-links { position: absolute; inset: 0; overflow: visible; pointer-events: none; }
.fd-link {
  fill: none;
  stroke: var(--rule-strong);
  stroke-width: 2;
  stroke-dasharray: 7 6;
  animation: fd-flow 1.1s linear infinite;
}
.fd-link.is-loop { stroke: color-mix(in srgb, var(--series-w) 70%, transparent); }
@keyframes fd-flow { to { stroke-dashoffset: -13; } }
.fd-arrow-head { fill: var(--rule-strong); }
.fd-arrow-loop-head { fill: color-mix(in srgb, var(--series-w) 70%, transparent); }
.fd-link-label {
  font-family: var(--mono); font-size: 11px; fill: var(--ink-3);
  paint-order: stroke; stroke: var(--surface); stroke-width: 4px;
}
@media (max-width: 52rem) { .fd-link-label--side { display: none; } }

.fd-node {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .25rem .75rem;
  width: min(28rem, 100%);
  text-align: left;
  padding: 1rem 1.25rem 1.05rem;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease), opacity .3s var(--ease);
}
.fd-node:hover { border-color: var(--rule-strong); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.fd-node.is-active { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 16%, transparent); }
.fd-num {
  grid-row: span 2;
  display: grid; place-items: center;
  width: 1.9rem; height: 1.9rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  color: var(--brand);
  font-family: var(--mono); font-size: .8rem;
}
.fd-node.is-active .fd-num { background: var(--brand); color: var(--on-series); }
.fd-title { font-family: var(--display); font-weight: 600; font-size: 1.02rem; line-height: 1.3; align-self: center; letter-spacing: -.01em; }
.fd-sub { grid-column: 2; font-size: .85rem; color: var(--ink-3); }

/* Loop: the men's state — every node a ghost, the flow stopped */
.flow-diagram.is-stalled .fd-node {
  border-style: dashed;
  border-color: var(--ghost);
  background: repeating-linear-gradient(-45deg, transparent 0 8px, color-mix(in srgb, var(--ghost) 8%, transparent) 8px 9px);
  box-shadow: none;
  color: var(--ghost-ink);
  cursor: default;
}
.flow-diagram.is-stalled .fd-node:hover { transform: none; }
.flow-diagram.is-stalled .fd-node .fd-num { background: transparent; border: 1.5px dashed var(--ghost); color: var(--ghost-ink); }
.flow-diagram.is-stalled .fd-node .fd-title { color: var(--ghost-ink); }
.flow-diagram.is-stalled .fd-node--first {
  border-style: solid;
  border-color: var(--series-m);
  background: color-mix(in srgb, var(--series-m) 7%, var(--surface));
  color: var(--ink);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--series-m) 15%, transparent);
}
.flow-diagram.is-stalled .fd-node--first .fd-title { color: var(--ink); }
.flow-diagram.is-stalled .fd-node--first .fd-num { border: 0; background: var(--series-m); color: #fff; }
.flow-diagram.is-stalled .fd-link { animation-play-state: paused; stroke-dasharray: 3 7; opacity: .55; }
.flow-diagram.is-stalled .fd-link.is-loop { stroke: var(--ghost); }
.flow-diagram.is-stalled .fd-arrow-head, .flow-diagram.is-stalled .fd-arrow-loop-head { fill: var(--ghost); }

.flow { display: grid; gap: .75rem; }
.flow-step {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 1.1rem 1.3rem;
  transition: border-color .22s var(--ease), background .22s var(--ease), transform .22s var(--ease);
}
.flow-head {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1.25rem;
  align-items: center;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.flow-step:hover { border-color: var(--rule-strong); transform: translateX(3px); }
.flow-step.is-open {
  border-color: color-mix(in srgb, var(--series-w) 60%, transparent);
  background: color-mix(in srgb, var(--series-w) 6%, var(--surface));
}
.flow-num {
  display: grid; place-items: center;
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--series-w) 12%, transparent);
  color: var(--series-w);
  font-family: var(--mono);
  font-size: .9rem;
}
.flow-head[aria-expanded="true"] .flow-num { background: var(--series-w); color: var(--on-series); }
.flow-body { min-width: 0; }
.flow-title { font-family: var(--display); font-weight: 600; font-size: 1.05rem; line-height: 1.35; letter-spacing: -.01em; }
.flow-desc {
  color: var(--ink-2);
  font-size: .95rem;
  display: grid;
  grid-template-rows: 0fr;
  margin-left: 3.75rem;
  transition: grid-template-rows .3s var(--ease), margin-top .3s var(--ease);
  margin-top: 0;
}
.flow-desc > span { overflow: hidden; }
.flow-step.is-open .flow-desc { grid-template-rows: 1fr; margin-top: .45rem; }

.flow-loop {
  display: flex; align-items: center; gap: .75rem;
  margin-top: 1.5rem;
  font-size: .95rem;
  color: var(--ink-2);
  max-width: 54ch;
}
.flow-loop-icon {
  display: grid; place-items: center;
  width: 2rem; height: 2rem; flex: none;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--series-w) 50%, transparent);
  color: var(--series-w);
  font-size: 1.05rem;
}

.loop-stalled {
  border: 1.5px dashed var(--ghost);
  border-radius: 12px;
  padding: 1.5rem 1.6rem;
  margin-top: 1.5rem;
  background: repeating-linear-gradient(-45deg, transparent 0 8px, color-mix(in srgb, var(--ghost) 7%, transparent) 8px 9px);
}
.stalled-title { font-family: var(--display); font-weight: 700; font-size: 1.1rem; margin-bottom: .4rem; }
.stalled-desc { font-size: .95rem; color: var(--ink-2); max-width: 60ch; }
.stalled-caption {
  margin-top: .9rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--series-m);
}

/* ── History plates ─────────────────────────────────────────── */
.section-plates {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--ghost) 7%, var(--page)), var(--page));
}
.plates { display: grid; gap: 1.5rem; }
.plate {
  display: grid;
  grid-template-columns: minmax(10rem, 17rem) 1fr;
  gap: 0;
  border: 1px solid var(--rule-strong);
  border-radius: 4px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.plate:nth-child(even) { grid-template-columns: 1fr minmax(10rem, 17rem); }
.plate:nth-child(even) .plate-art { order: 2; }
.plate-art {
  position: relative;
  min-height: 11rem;
  background: color-mix(in srgb, var(--ghost) 12%, var(--surface));
  border-right: 1px solid var(--rule);
  display: grid; place-items: center;
  overflow: hidden;
}
.plate:nth-child(even) .plate-art { border-right: 0; border-left: 1px solid var(--rule); }
.plate-art img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; filter: sepia(.14) contrast(1.02); }
.plate-art svg { width: 62%; height: auto; opacity: .8; }
.plate-art::after {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--grain);
  opacity: .08;
  pointer-events: none;
}
.plate-body { padding: 1.6rem 1.7rem 1.5rem; align-self: center; }
.plate-year {
  font-family: var(--mono);
  font-weight: 600;
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .5rem;
}
.plate-title { font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: -.01em; margin-bottom: .5rem; }
.plate-text { font-size: .97rem; line-height: 1.62; color: var(--ink-2); max-width: 56ch; }
@media (max-width: 44rem) {
  .plate, .plate:nth-child(even) { grid-template-columns: 1fr; }
  .plate:nth-child(even) .plate-art { order: 0; border-left: 0; }
  .plate-art { min-height: 9rem; border-right: 0; border-bottom: 1px solid var(--rule); }
}

/* ── Timeline ───────────────────────────────────────────────── */
.timeline-outer { margin-top: 1rem; }
.timeline {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(15.5rem, 1fr);
  gap: 1rem;
  overflow-x: auto;
  padding: 1.6rem .25rem 1.25rem;
  scroll-snap-type: x proximity;
  position: relative;
  scrollbar-width: thin;
}
.tl-item { scroll-snap-align: start; display: grid; gap: 0; position: relative; }
.tl-item::before {
  content: "";
  position: absolute; left: .55rem; right: -1rem; top: .48rem;
  height: 2px;
  background: var(--rule-strong);
}
.tl-item:last-child::before { right: .5rem; background: linear-gradient(90deg, var(--rule-strong), transparent); }
.tl-dot {
  width: .95rem; height: .95rem;
  border-radius: 50%;
  background: var(--series-w);
  border: 2.5px solid var(--page);
  box-shadow: 0 0 0 1.5px var(--series-w);
  position: relative; z-index: 1;
  margin-bottom: .9rem;
}
.tl-item--ghost .tl-dot { background: transparent; box-shadow: none; border: 1.5px dashed var(--series-m); }
.tl-card {
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: 1.15rem 1.25rem 1.2rem;
  height: 100%;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.tl-item:hover .tl-card { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tl-item--ghost .tl-card {
  border: 1.5px dashed var(--series-m);
  background: color-mix(in srgb, var(--series-m) 5%, var(--surface));
}
.tl-year {
  font-family: var(--mono);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .14em;
  color: var(--series-w);
  display: flex; align-items: center; gap: .5rem;
  margin-bottom: .5rem;
}
.tl-item--ghost .tl-year { color: var(--series-m); }
.tl-flag { font-size: 1rem; }
.tl-title { font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; margin-bottom: .4rem; }
.tl-text { font-size: .88rem; line-height: 1.55; color: var(--ink-2); }

/* ── Objections ─────────────────────────────────────────────── */
.obj-progress {
  font-family: var(--mono);
  font-weight: 500;
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 1.25rem;
  min-height: 1.2em;
}
.obj-list { display: grid; gap: .8rem; }
.obj-card {
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.obj-card.is-done { border-color: color-mix(in srgb, var(--series-w) 45%, var(--rule)); }
.obj-q {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 1.2rem 1.4rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  letter-spacing: -.01em;
  transition: background .18s var(--ease);
}
.obj-q:hover { background: color-mix(in srgb, var(--series-w) 5%, transparent); }
.obj-check {
  font-family: var(--mono); font-size: .8rem;
  color: var(--ink-3);
  display: inline-flex; align-items: center; gap: .5rem;
}
.obj-card.is-done .obj-check { color: var(--series-w); }
.obj-chevron { transition: transform .25s var(--ease); display: inline-block; }
.obj-card[data-open="true"] .obj-chevron { transform: rotate(90deg); }
.obj-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s var(--ease);
}
.obj-a > div { overflow: hidden; }
.obj-card[data-open="true"] .obj-a { grid-template-rows: 1fr; }
.obj-a-inner { padding: .25rem 1.4rem 1.4rem; display: grid; gap: 1rem; }
.obj-beat { display: grid; grid-template-columns: 5.4rem 1fr; gap: 1rem; align-items: baseline; }
.obj-beat-label {
  font-family: var(--mono);
  font-weight: 600;
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--series-w);
  padding-top: .2em;
}
.obj-beat--fair .obj-beat-label { color: var(--ink-3); }
.obj-beat--and .obj-beat-label { color: var(--series-m); }
.obj-beat p { font-size: .96rem; line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.obj-receipts { list-style: none; padding: 0; display: grid; gap: .4rem; }
.obj-receipts li {
  display: grid; grid-template-columns: auto 1fr; gap: .6rem;
  font-family: var(--mono);
  font-size: .78rem;
  line-height: 1.5;
  color: var(--ink-2);
}
.obj-receipts li::before { content: "▸"; color: var(--series-w); }
.obj-pocket {
  display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center;
  border: 1px solid color-mix(in srgb, var(--series-w) 40%, var(--rule));
  border-radius: 10px;
  background: color-mix(in srgb, var(--series-w) 6%, transparent);
  padding: .85rem 1.1rem;
}
.obj-pocket p { font-family: var(--display); font-weight: 600; font-size: 1rem; letter-spacing: -.01em; }
.obj-copy {
  border: 1px solid var(--rule-strong);
  border-radius: 8px;
  background: var(--surface);
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: .45rem .8rem;
  cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
  white-space: nowrap;
}
.obj-copy:hover { border-color: var(--series-w); color: var(--series-w); }
.obj-copy.is-copied { background: var(--series-w); border-color: var(--series-w); color: var(--on-series); }
@media (max-width: 40rem) {
  .obj-beat { grid-template-columns: 1fr; gap: .25rem; }
  .obj-pocket { grid-template-columns: 1fr; }
  .obj-copy { justify-self: start; }
}

/* ── Demands ────────────────────────────────────────────────── */
.demand-hint {
  font-family: var(--mono);
  font-weight: 500;
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--series-m);
  margin: -1.5rem 0 1.5rem;
}
.demand-rows { display: grid; gap: .8rem; }
.demand-row {
  display: grid;
  grid-template-columns: auto 1fr minmax(11rem, 16rem);
  gap: 1.25rem;
  align-items: center;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem 1.4rem;
  transition: border-color .25s var(--ease);
}
.demand-row.is-on { border-color: color-mix(in srgb, var(--series-m) 45%, var(--rule)); }
.demand-switch {
  width: 3.3rem; height: 1.9rem; flex: none;
  border-radius: 999px;
  border: 1.5px solid var(--rule-strong);
  background: var(--grid);
  position: relative;
  cursor: pointer;
  transition: background .25s var(--ease), border-color .25s var(--ease);
  align-self: start;
  margin-top: .2rem;
}
.demand-switch::after {
  content: "";
  position: absolute; left: .18rem; top: 50%;
  width: 1.3rem; height: 1.3rem;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--rule-strong);
  transform: translateY(-50%);
  transition: left .25s var(--snap), background .25s var(--ease), border-color .25s var(--ease);
}
.demand-switch[aria-checked="true"] { background: var(--series-m); border-color: var(--series-m); }
.demand-switch[aria-checked="true"]::after { left: calc(100% - 1.48rem); background: #fff; border-color: #fff; }
.demand-body { min-width: 0; }
.demand-title { font-family: var(--display); font-weight: 700; font-size: 1.12rem; letter-spacing: -.01em; margin-bottom: .35rem; }
.demand-desc { font-size: .92rem; line-height: 1.55; color: var(--ink-2); max-width: 58ch; }
.demand-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .7rem; }
.demand-tag {
  font-family: var(--mono);
  font-size: .64rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid var(--rule);
  border-radius: 5px;
  padding: .2rem .5rem;
  color: var(--ink-3);
}
.demand-tag--cost { color: var(--series-m); border-color: color-mix(in srgb, var(--series-m) 45%, transparent); }
.demand-slot {
  align-self: stretch;
  border: 1.5px dashed var(--ghost);
  border-radius: 12px;
  background: repeating-linear-gradient(-45deg, transparent 0 8px, color-mix(in srgb, var(--ghost) 8%, transparent) 8px 9px);
  display: grid; place-items: center; align-content: center; gap: .3rem;
  padding: .8rem;
  text-align: center;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.demand-slot .slot-dash { font-family: var(--display); font-weight: 700; color: var(--ghost-ink); }
.demand-slot .slot-label {
  font-family: var(--mono);
  font-size: .62rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ghost-ink);
}
.demand-row.is-on .demand-slot {
  border: 1px solid var(--series-m);
  background: var(--series-m);
  animation: slot-stamp .4s var(--snap);
}
@keyframes slot-stamp { 0% { transform: scale(.94); } 100% { transform: scale(1); } }
.demand-row.is-on .demand-slot .slot-dash { display: none; }
.demand-row.is-on .demand-slot .slot-label { color: var(--on-series); }
.demand-row.is-on .demand-slot .slot-granted { display: block; }
.slot-granted {
  display: none;
  font-family: var(--display);
  font-weight: 700;
  color: var(--on-series);
  font-size: 1rem;
}
@media (max-width: 46rem) {
  .demand-row { grid-template-columns: auto 1fr; }
  .demand-slot {
    grid-column: 1 / -1;
    padding: .4rem .8rem;
    grid-auto-flow: column;
    justify-content: flex-start;
    align-items: center;
    gap: .55rem;
  }
  .demand-slot .slot-label { font-size: .58rem; }
}
@media (prefers-reduced-motion: reduce) {
  .demand-row.is-on .demand-slot { animation: none; }
}

/* ── Voice ──────────────────────────────────────────────────── */
.voice-block {
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  padding: clamp(2rem, 5vw, 3rem);
  display: grid;
  justify-items: start;
  gap: 1.4rem;
  margin-bottom: 1rem;
}
.voice-count {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.6rem, 8vw, 4.5rem);
  line-height: .95;
  letter-spacing: -.03em;
  color: var(--series-w);
  font-variant-numeric: tabular-nums;
  display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap;
}
.voice-count-label {
  font-family: var(--mono);
  font-weight: 500;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.voice-btn {
  border: 0;
  border-radius: 12px;
  background: var(--series-m);
  color: var(--on-series);
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  letter-spacing: -.01em;
  padding: 1rem 2.1rem;
  cursor: pointer;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--series-m) 35%, transparent);
  transition: transform .18s var(--snap), filter .18s var(--ease), box-shadow .18s var(--ease);
}
.voice-btn:hover { transform: translateY(-2px) scale(1.015); filter: brightness(1.06); }
.voice-btn:active { transform: scale(.98); }
.voice-btn[disabled] { opacity: .55; cursor: default; transform: none; box-shadow: none; }
.voice-status { font-size: .95rem; color: var(--ink-2); min-height: 1.4em; }

/* ── Closing ────────────────────────────────────────────────── */
.closing { padding: var(--step) 0 calc(var(--step) * .8); overflow: hidden; }
.closing .section-kicker { color: var(--night-ink-3); }
.closing .section-no { border-color: var(--night-rule); color: var(--night-ink-2); }
.closing-q {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.2rem, 6.5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -.03em;
  margin-bottom: 1.5rem;
  text-wrap: balance;
  color: var(--night-ink);
}
.closing-q .closing-b { color: var(--night-blue); }
.closing-body { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--night-ink-2); max-width: 54ch; margin-bottom: 3rem; }

.cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr));
  gap: 1.1rem;
}
.cta-card {
  border: 1px solid var(--night-rule);
  border-radius: 14px;
  background: color-mix(in srgb, var(--night-surface) 85%, transparent);
  padding: 1.7rem 1.6rem;
  display: flex; flex-direction: column; gap: .9rem; align-items: flex-start;
}
.cta-card h3 { color: var(--night-ink); font-size: 1.15rem; }
.cta-card p { font-size: .92rem; line-height: 1.6; color: var(--night-ink-2); }
.cta-share-line { font-style: italic; }
.cta-actions { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; margin-top: auto; }
.cta-btn {
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--night-ink-2);
  font-family: var(--mono);
  font-weight: 500;
  font-size: .8rem;
  padding: .6rem .9rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, var(--night-ink-3) 60%, transparent);
  transition: color .18s var(--ease), transform .18s var(--ease);
}
.cta-btn:hover { color: var(--night-ink); transform: translateY(-1px); }
.cta-btn--primary { background: var(--night-blue); color: #0a0f1e; font-weight: 600; text-decoration: none; padding: .6rem 1.2rem; }
.cta-btn--primary:hover { filter: brightness(1.1); }
.cta-btn.is-copied { background: var(--night-blue); border-color: var(--night-blue); color: #0a0f1e; }
.cta-kbd {
  font-family: var(--mono); font-size: .72rem;
  border: 1px solid var(--night-rule); border-radius: 5px;
  padding: .15rem .5rem; color: var(--night-ink-3);
}
.deeper-list { list-style: none; padding: 0; display: grid; gap: .55rem; width: 100%; }
.deeper-list a {
  display: grid; grid-template-columns: auto 1fr; gap: .6rem; align-items: baseline;
  color: var(--night-ink-2);
  font-size: .9rem;
  text-decoration: none;
  transition: color .15s var(--ease);
}
.deeper-list a::before { content: "→"; color: var(--night-blue); }
.deeper-list a:hover { color: var(--night-ink); text-decoration: underline; text-underline-offset: 3px; }

.closing-rule { border: 0; border-top: 1px solid var(--night-rule); margin: 3.5rem 0; }

.sources h3 { color: var(--night-ink); margin-bottom: .6rem; }
.sources-lead { color: var(--night-ink-2); font-size: .95rem; max-width: 60ch; margin-bottom: 1.25rem; }
.creed {
  margin-top: 2rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: var(--night-ink-2);
  max-width: 50ch;
}

/* ── Register page ──────────────────────────────────────────── */
.register-table { margin: 1rem 0 2rem; }
.reg-table {
  width: 100%; min-width: 34rem;
  border-collapse: collapse;
  font-size: .9rem;
}
.reg-table th, .reg-table td {
  text-align: left; padding: .6rem .75rem;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.reg-table th {
  font-family: var(--mono); font-weight: 600; color: var(--ink-2);
  font-size: .68rem; text-transform: uppercase; letter-spacing: .08em;
}
.reg-table td a { color: var(--series-m); text-underline-offset: 2px; }
.creed--paper { color: var(--ink-2); }
.register-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-family: var(--mono);
  font-size: .8rem;
  color: var(--night-blue);
  text-underline-offset: 3px;
}
.suggest-form { display: grid; gap: .6rem; max-width: 38rem; }
.suggest-label {
  font-family: var(--mono); font-weight: 500;
  font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3); margin-top: .6rem;
}
.suggest-input {
  border: 1px solid var(--rule-strong);
  border-radius: 9px;
  background: var(--surface);
  padding: .7rem .85rem;
  font-family: var(--mono);
  font-size: .92rem;
  color: var(--ink);
  width: 100%;
  resize: vertical;
}
.suggest-input:focus-visible { outline: 2px solid var(--series-m); outline-offset: 1px; }
.suggest-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: .8rem; }
.voice-btn--small { font-size: 1rem; padding: .7rem 1.5rem; }

/* ── Data tables ────────────────────────────────────────────── */
.data-table { margin-top: 1.5rem; }
.data-table summary {
  cursor: pointer;
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .06em;
  color: var(--ink-2);
  padding: .5rem 0;
  list-style-position: inside;
}
.data-table summary:hover { color: var(--ink); }
.table-scroll { overflow-x: auto; }
.data-table table {
  width: 100%;
  min-width: 30rem;
  border-collapse: collapse;
  margin-top: .75rem;
  font-size: .88rem;
  font-variant-numeric: tabular-nums;
}
.data-table th, .data-table td {
  text-align: left;
  padding: .55rem .75rem;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.data-table th {
  font-family: var(--mono);
  font-weight: 600; color: var(--ink-2);
  font-size: .68rem; text-transform: uppercase; letter-spacing: .08em;
}
.data-table td a { color: var(--series-w); text-underline-offset: 2px; }
.data-table--night summary { color: var(--night-ink-2); }
.data-table--night summary:hover { color: var(--night-ink); }
.data-table--night th { color: var(--night-ink-3); }
.data-table--night th, .data-table--night td { border-bottom-color: var(--night-rule); }
.data-table--night td { color: var(--night-ink-2); }
.data-table--night td a { color: var(--night-blue); }
.st-status--ok { color: var(--series-w); font-family: var(--mono); font-size: .74rem; }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  padding: 3rem 0 4rem;
  border-top: 1px solid var(--rule);
  font-size: .9rem;
  color: var(--ink-2);
}
.site-footer p + p { margin-top: .75rem; }
.footer-inner { display: flex; align-items: flex-start; gap: 1.75rem; flex-wrap: wrap; }
.footer-logos { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; flex: none; }
.footer-logo { width: 4.5rem; height: auto; flex: none; }
.footer-logo--wide { width: 8.5rem; }
:root[data-theme="dark"] .footer-logo--wide { filter: invert(1) hue-rotate(180deg) brightness(1.1); }
.footer-inner > div { flex: 1 1 22rem; min-width: 0; }
.footer-org a { color: var(--brand); text-underline-offset: 2px; }
:root[data-theme="dark"] .footer-logo,
:root[data-theme="dark"] .stage-logo { filter: brightness(1.55) saturate(.85); }

/* ── Tooltip ────────────────────────────────────────────────── */
.tooltip {
  position: fixed;
  z-index: 80;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -108%) scale(.96);
  transition: opacity .14s var(--ease), transform .14s var(--ease);
  background: var(--ink);
  color: var(--page);
  padding: .6rem .8rem;
  border-radius: 8px;
  font-size: .82rem;
  line-height: 1.45;
  max-width: 18rem;
  box-shadow: var(--shadow-md);
}
.tooltip.is-visible { opacity: 1; transform: translate(-50%, -118%) scale(1); }
.tooltip strong { display: block; margin-bottom: .15rem; font-size: .85rem; }
.tooltip .tt-meta { display: block; font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; opacity: .75; margin-top: .2rem; }

/* ── Section navigation rail ────────────────────────────────── */
.section-nav {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: none;
  flex-direction: column;
  gap: .1rem;
  padding: .5rem .35rem;
}
@media (min-width: 86rem) { .section-nav { display: flex; } }
.nav-item {
  display: flex; align-items: center; gap: .7rem;
  justify-content: flex-end;
  padding: .28rem 0;
  text-decoration: none;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .04em;
  white-space: nowrap;
}
.nav-label {
  opacity: 0;
  transform: translateX(6px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), color .22s var(--ease);
}
.nav-dash {
  width: 1.1rem; height: 2px; flex: none;
  border-radius: 1px;
  background: var(--rule-strong);
  transition: width .24s var(--ease), background .24s var(--ease);
}
.section-nav:hover .nav-label,
.nav-item:focus-visible .nav-label { opacity: 1; transform: none; }
.nav-item:hover .nav-dash { width: 1.7rem; background: var(--ink-3); }
.nav-item:hover .nav-label { color: var(--ink); }
.nav-item[aria-current="true"] .nav-dash { width: 2rem; background: var(--series-m); }
.nav-item[aria-current="true"] .nav-label { opacity: 1; transform: none; color: var(--ink); }

/* ── Present button ─────────────────────────────────────────── */
.present-btn {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .42rem .9rem;
  border: 1px solid var(--brand);
  border-radius: 8px;
  background: var(--brand);
  color: var(--on-series);
  font-family: var(--mono);
  font-weight: 500;
  font-size: .8rem;
  cursor: pointer;
  white-space: nowrap;
  transition: filter .18s var(--ease), transform .18s var(--ease);
}
.present-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
@media (max-width: 32rem) { .present-btn span { display: none; } .present-btn { padding: .45rem .55rem; } }

/* ── Header voice pin: the count, one tap away, everywhere ──── */
.voice-pin {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .42rem .8rem;
  border: 1px solid var(--series-m);
  border-radius: 8px;
  background: var(--series-m);
  color: var(--on-series);
  font-family: var(--mono);
  font-weight: 600;
  font-size: .8rem;
  cursor: pointer;
  white-space: nowrap;
  transition: filter .18s var(--ease), transform .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
}
.voice-pin:hover { filter: brightness(1.1); transform: translateY(-1px); }
.voice-pin .vp-n { font-variant-numeric: tabular-nums; order: 2; }
.voice-pin .vp-n:empty { display: none; }
.voice-pin .vp-n::before { content: "· "; opacity: .7; }
.voice-pin .vp-add { order: 1; }
.voice-pin .vp-done { display: none; order: 3; }
body.is-voiced .voice-pin { background: transparent; color: var(--series-m); }
body.is-voiced .voice-pin .vp-add { display: none; }
body.is-voiced .voice-pin .vp-done { display: inline; }
body.is-voiced .voice-pin .vp-n { order: 1; }
body.is-voiced .voice-pin .vp-n::before { content: none; }
@media (max-width: 40rem) {
  /* Unvoiced: verb only. Voiced: count only. Header space is tight. */
  .voice-pin { padding: .45rem .7rem; }
  .voice-pin .vp-n { display: none; }
  body.is-voiced .voice-pin .vp-n { display: inline; }
  body.is-voiced .voice-pin .vp-n::before { content: none; }
  body.is-voiced .voice-pin .vp-label { display: none; }
}

/* ── Presentation mode ──────────────────────────────────────── */
body.is-presenting { overflow: hidden; }
body.is-presenting .site-header,
body.is-presenting .section-nav,
body.is-presenting .site-footer { display: none; }

body.is-presenting main { position: fixed; inset: 0 0 4.75rem; z-index: 60; background: var(--page); }
body.is-presenting main > section { display: none; }
body.is-presenting main > section.is-slide {
  display: block;
  position: absolute; inset: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(1.5rem, 5vh, 3.5rem) 0;
  animation: slide-in .5s var(--ease) both;
}
body.is-presenting main > section.is-slide > .wrap,
body.is-presenting main > section.is-slide > .hero-inner { width: min(72rem, calc(100% - 3rem)); }
@keyframes slide-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  body.is-presenting main > section.is-slide { animation: none; }
}

body.is-presenting main > section.is-slide.hero,
body.is-presenting main > section.is-slide.closing {
  display: grid;
  align-content: center;
}
body.is-presenting main > section.is-slide h2 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); }
body.is-presenting main > section.is-slide .section-lead { margin-bottom: 1.75rem; }
body.is-presenting main > section.is-slide { padding-block: clamp(1.25rem, 4vh, 2.5rem); }
body.is-presenting .section-tinted, body.is-presenting .section-plates { background: var(--page); }
body.is-presenting .data-table,
body.is-presenting .hero-cta,
body.is-presenting .console-skip { display: none; }

body.is-presenting main > section.is-slide > .wrap,
body.is-presenting main > section.is-slide > .hero-inner {
  transform-origin: top center;
  transition: transform .25s var(--ease);
}

.stage-bar {
  position: fixed; inset: auto 0 0 0; z-index: 70;
  background: var(--surface);
  border-top: 1px solid var(--rule);
}
.stage-progress { height: 3px; background: var(--grid); }
.stage-progress span { display: block; height: 100%; width: 0; background: var(--brand); }
.stage-controls {
  display: flex; align-items: center; gap: .5rem;
  padding: .6rem clamp(.75rem, 3vw, 1.5rem);
  height: 4.25rem;
}
.stage-logo { width: 1.75rem; height: 1.75rem; flex: none; margin-right: .35rem; }
.stage-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  min-width: 2.4rem; height: 2.4rem;
  justify-content: center;
  padding: 0 .6rem;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  transition: background .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease);
}
.stage-btn:hover { background: var(--surface-tint); color: var(--ink); border-color: var(--rule-strong); }
.stage-btn--play { background: var(--brand); border-color: var(--brand); color: var(--on-series); }
.stage-btn--play:hover { background: var(--brand); border-color: var(--brand); color: var(--on-series); filter: brightness(1.08); }
.stage-btn--exit { margin-left: auto; font-size: .85rem; }
.stage-btn kbd {
  font-family: var(--mono); font-size: .68rem;
  border: 1px solid var(--rule-strong); border-radius: 4px;
  padding: .05rem .3rem; color: var(--ink-3);
}
@media (max-width: 34rem) { .stage-btn--exit span { display: none; } .stage-btn--exit kbd { display: none; } }
.stage-bar.is-paused .icon-pause { display: none; }
.stage-bar:not(.is-paused) .icon-play { display: none; }
.stage-count {
  font-family: var(--mono); font-size: .8rem; color: var(--ink-3);
  font-variant-numeric: tabular-nums; margin-left: .35rem; white-space: nowrap;
}
.stage-dots { display: flex; gap: .3rem; margin-left: .5rem; flex-wrap: wrap; }
@media (max-width: 52rem) { .stage-dots { display: none; } }
.stage-dot {
  width: .55rem; height: .55rem; padding: 0;
  border: 0; border-radius: 50%;
  background: var(--rule-strong);
  cursor: pointer;
  transition: background .18s var(--ease), transform .18s var(--ease);
}
.stage-dot:hover { transform: scale(1.25); }
.stage-dot[aria-current="true"] { background: var(--brand); transform: scale(1.25); }

/* Dense sections carry logical parts: invisible wrappers on the page,
   separate slides when presented. */
.part { display: contents; }
body.is-presenting .part { display: none; }
body.is-presenting .part.is-part { display: block; }

/* ── Globe wireframe ────────────────────────────────────────── */
.globe-line { fill: none; stroke: var(--night-blue); stroke-width: 1; opacity: .34; }
.globe-line--eq { opacity: .5; stroke-width: 1.2; }
.globe-outline { fill: none; stroke: var(--night-blue); stroke-width: 1.4; opacity: .6; }
.globe-dot { fill: var(--night-blue); opacity: .8; }

/* ── Mobile refinements ─────────────────────────────────────── */
@media (max-width: 40rem) {
  .ratio-banner { padding: 1.6rem 1.3rem; }
  .parity, .voice-block, .cal-figure, .waffle-figure { padding-left: 1.15rem; padding-right: 1.15rem; }
  .plate-body { padding: 1.25rem 1.2rem; }
  .obj-q { padding: 1.05rem 1.1rem; }
  .obj-a-inner { padding: .25rem 1.1rem 1.2rem; }
  .demand-row { padding: 1.05rem 1.1rem; }
  .hero-globe { right: -40%; width: 30rem; opacity: .35; }
}

@media print {
  .site-header, .section-nav, .tooltip, .stage-bar, .console-skip, .voice-btn { display: none; }
  .reveal { opacity: 1; transform: none; }
  .data-table[open] summary { display: none; }
  .night { background: #fff; color: #000; }
}

@media (prefers-reduced-motion: reduce) {
  /* rm-extra */
  .fd-link { animation: none; }
  .scale-fill { transition: none; }
  .console.is-armed .record { display: block; }
}

/* ═══════════════════════════════════════════════════════════════
   Story mode — the 60-second version. One beat at a time.
   ═══════════════════════════════════════════════════════════════ */
body.is-story { overflow: hidden; }
.story {
  position: fixed; inset: 0; z-index: 90;
  display: none;
  background:
    radial-gradient(ellipse 120% 80% at 70% -10%, rgba(43,76,172,.38), transparent 55%),
    linear-gradient(180deg, var(--night), var(--night-2));
  color: var(--night-ink);
  cursor: pointer;
}
.story::after {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--grain);
  opacity: .06;
  pointer-events: none;
}
.story.is-on { display: grid; grid-template-rows: auto 1fr; }
.story-bar {
  display: flex; align-items: center; gap: 1rem;
  padding: .9rem 1rem .4rem;
  position: relative; z-index: 2;
}
.story-segs { display: flex; gap: .3rem; flex: 1; }
.story-seg {
  height: 3px; flex: 1;
  border-radius: 2px;
  background: color-mix(in srgb, var(--night-ink-3) 40%, transparent);
  transition: background .2s var(--ease);
}
.story-seg.is-done { background: var(--night-ink-2); }
.story-seg.is-live { background: var(--night-blue); }
.story-exit {
  border: 1px solid var(--night-rule);
  background: transparent;
  color: var(--night-ink-2);
  border-radius: 8px;
  width: 2.2rem; height: 2.2rem;
  font-size: 1rem;
  cursor: pointer;
}
.story-exit:hover { color: var(--night-ink); border-color: var(--night-blue); }
.story-stage {
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  gap: 1.2rem;
  padding: 2rem clamp(1.25rem, 6vw, 5rem) 4rem;
  position: relative; z-index: 2;
  overflow: hidden;
}
.story-big {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 7.5vw, 5.2rem);
  line-height: 1.04;
  letter-spacing: -.03em;
  max-width: 18ch;
  text-wrap: balance;
}
.story-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(.35em) scale(.96);
  animation: word-in .34s var(--snap) forwards;
  animation-delay: calc(var(--i) * 70ms);
}
@keyframes word-in { to { opacity: 1; transform: none; } }
.story-calm { color: var(--night-ink); }
.story-setup { font-size: clamp(1.3rem, 3.6vw, 2.4rem); font-weight: 600; color: var(--night-ink-2); }
.story-punch.is-w { color: var(--series-w); }
.story-punch.is-m, .story-slam.is-m { color: var(--night-men); }
.story-slam .story-word { animation-name: word-slam; animation-duration: .3s; }
@keyframes word-slam {
  0% { opacity: 0; transform: scale(1.6); filter: blur(6px); }
  100% { opacity: 1; transform: none; filter: none; }
}
.story-delayed .story-word { animation-delay: calc(var(--i) * 70ms + .55s); }
.story-label { font-size: clamp(1.1rem, 2.6vw, 1.7rem); font-weight: 600; color: var(--night-ink-2); }
.story-number {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(4.5rem, 18vw, 12rem);
  line-height: .9;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
  animation: num-in .5s var(--snap) both;
}
@keyframes num-in { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
.story-number.is-w { color: var(--series-w); }
.story-number.is-m { color: var(--night-men); }
.story-suf { font-size: .32em; font-weight: 700; margin-left: .12em; color: var(--night-ink-2); }
.story-console {
  width: min(30rem, 92vw);
  border: 1px solid var(--night-rule);
  border-radius: 14px;
  background: color-mix(in srgb, var(--night-surface) 85%, transparent);
  padding: 1.1rem 1.2rem 1.3rem;
  display: grid; gap: .8rem;
  text-align: left;
  animation: num-in .4s var(--snap) both;
}
.story-conlabel {
  font-family: var(--mono); font-weight: 500;
  font-size: .64rem; letter-spacing: .18em;
  color: var(--night-ink-3);
}
.story-field {
  display: flex; align-items: center; gap: .1rem;
  border: 1px solid var(--night-rule);
  border-radius: 9px;
  background: rgba(0,0,0,.3);
  padding: .8rem .9rem;
  font-family: var(--mono);
  font-size: clamp(1.05rem, 3vw, 1.5rem);
}
.story-caret { width: 2px; height: 1.2em; background: var(--night-blue); animation: caret 1.05s steps(1) infinite; }
.story-noresult {
  font-family: var(--mono);
  font-size: clamp(.85rem, 2.2vw, 1.05rem);
  color: var(--night-men);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.story-noresult.is-hidden { opacity: 0; transform: translateY(6px); }
.story-final { display: grid; justify-items: center; gap: 1.2rem; }
.story-logo { width: clamp(4.5rem, 12vw, 7rem); height: auto; animation: num-in .5s var(--snap) both; }
.story-url {
  font-family: var(--mono); font-weight: 600;
  font-size: clamp(1rem, 2.6vw, 1.4rem);
  letter-spacing: .14em;
  color: var(--night-blue);
}
.story-final-row { display: flex; gap: .7rem; flex-wrap: wrap; justify-content: center; margin-top: .6rem; }
@media (prefers-reduced-motion: reduce) {
  .story-word { animation: none; opacity: 1; transform: none; }
  .story-number, .story-console, .story-logo { animation: none; }
  .story-caret { animation: none; }
}

/* ── Type that acts out the message ─────────────────────────── */
.story-ghost {
  color: var(--night-ink-3) !important;
  animation: word-in .34s var(--snap) forwards, ghost-flicker 2.4s steps(12) .6s infinite !important;
  animation-delay: calc(var(--i) * 70ms), .6s;
}
@keyframes ghost-flicker {
  0%, 100% { opacity: 1; }
  8% { opacity: .35; }
  12% { opacity: .9; }
  46% { opacity: .55; }
  52% { opacity: 1; }
  78% { opacity: .4; }
  84% { opacity: .95; }
}
.story-num-ghost .story-count {
  color: color-mix(in srgb, var(--night-men) 45%, var(--night-ink-3));
  animation: ghost-flicker 2.4s steps(12) .8s infinite;
}

/* Toilet: the line drops in and lands with a plunk */
.fx-drop .story-word {
  animation-name: word-drop;
  animation-duration: .5s;
  animation-timing-function: cubic-bezier(.34, 1.7, .5, 1);
}
@keyframes word-drop {
  0% { opacity: 0; transform: translateY(-1.4em); }
  70% { opacity: 1; transform: translateY(.08em); }
  100% { opacity: 1; transform: none; }
}

/* "5 years less": each word steps down a stair */
.fx-steps .story-word { transform: translateY(calc(var(--i) * .18em)); }
.fx-steps .story-word { animation-name: word-step; }
@keyframes word-step {
  from { opacity: 0; transform: translateY(calc(var(--i) * .18em - .35em)) scale(.96); }
  to { opacity: 1; transform: translateY(calc(var(--i) * .18em)); }
}

/* 64 seconds: a heartbeat, then the line dims to silence */
.fx-heartbeat {
  animation: heartbeat 1.05s ease-in-out .9s 2, dim-out 1.2s var(--ease) 3s forwards;
}
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  12% { transform: scale(1.045); }
  24% { transform: scale(1); }
  36% { transform: scale(1.03); }
  48% { transform: scale(1); }
}
@keyframes dim-out { to { opacity: .22; } }

/* "The UN's turn": stamped */
.fx-stamp {
  animation: stamp-in .42s cubic-bezier(.2, 1.6, .4, 1) both;
}
@keyframes stamp-in {
  0% { opacity: 0; transform: scale(2) rotate(2.5deg); filter: blur(4px); }
  100% { opacity: 1; transform: scale(1) rotate(0); filter: none; }
}

/* "Too": restless, insistent, not going away */
.story-too, .wiggle-too {
  display: inline-block;
  animation: too-wiggle 2.6s var(--ease) 1s infinite;
  transform-origin: 50% 85%;
}
.wiggle-too { color: var(--night-men); }
@keyframes too-wiggle {
  0%, 74%, 100% { transform: rotate(0); }
  78% { transform: rotate(-4deg) translateY(-.03em); }
  82% { transform: rotate(3.5deg); }
  86% { transform: rotate(-2.5deg); }
  90% { transform: rotate(1.8deg); }
  94% { transform: rotate(0); }
}
@media (prefers-reduced-motion: reduce) {
  .story-ghost, .story-num-ghost .story-count { animation: none; opacity: 1; }
  .fx-drop .story-word, .fx-steps .story-word { animation: none; opacity: 1; }
  .fx-heartbeat, .fx-stamp { animation: none; }
  .story-too, .wiggle-too { animation: none; }
}

/* ── SDG live search ────────────────────────────────────────── */
.console-input {
  flex: 1;
  border: 0;
  background: transparent;
  font-family: var(--mono);
  font-size: 1.02rem;
  color: inherit;
  min-width: 0;
}
.console-input:focus-visible { outline: none; }
.console--paper .console-field:focus-within {
  border-color: var(--series-m);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--series-m) 18%, transparent);
}
.sdg-hits { display: grid; gap: .45rem; padding: .2rem .15rem .4rem; }
.sdg-hit {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .6rem;
  font-size: .82rem;
  line-height: 1.45;
  color: var(--ink-2);
}
.sdg-hit-code {
  font-family: var(--mono);
  font-weight: 600;
  font-size: .72rem;
  color: var(--series-w);
  padding-top: .15em;
  white-space: nowrap;
}
.sdg-hit-more { font-family: var(--mono); font-size: .74rem; color: var(--ink-3); }

/* Finale: one arrow, pointing right out of the screen */
.story-right {
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  display: grid;
  justify-items: center;
  gap: .3rem;
  border: 0;
  background: transparent;
  color: var(--night-ink-2);
  cursor: pointer;
  padding: 1.2rem clamp(.5rem, 2vw, 1.4rem) 1.2rem .6rem;
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.story-right:hover { color: var(--night-ink); }
.story-right-chev {
  font-size: 3.4rem;
  line-height: .7;
  color: var(--night-men);
  animation: chev-out 1.6s var(--ease) infinite;
}
.story-right-label { max-width: 7rem; }
@keyframes chev-out {
  0%, 100% { transform: translateX(0); opacity: .7; }
  50% { transform: translateX(.45rem); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .story-right-chev { animation: none; } }

/* Follow the movement (closing) */
.follow-label {
  font-family: var(--mono); font-weight: 500;
  font-size: .64rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--night-ink-3);
  margin-top: .9rem;
}
.follow-row { display: flex; flex-wrap: wrap; gap: .2rem 1.1rem; }
.better-chip--night {
  color: var(--night-ink-2);
  font-size: .74rem;
  padding: .3rem .8rem .3rem 0;
}
.better-chip--night:hover { color: var(--night-men); }

/* ── Icons ──────────────────────────────────────────────────── */
.ico { display: inline-block; width: 1.1em; height: 1.1em; vertical-align: -0.18em; flex: none; }
.kicker-icon { width: 1rem; height: 1rem; color: var(--series-m); vertical-align: -.1em; }
.outcome-icon {
  width: 1.5rem; height: 1.5rem;
  color: var(--series-m);
  opacity: .85;
  position: absolute; top: 1.45rem; right: 1.4rem;
}
.outcome-card { position: relative; }
.chip-icon { width: .95rem; height: .95rem; margin-right: .45rem; }
.better-chip { display: inline-flex; align-items: center; }
.story-icon {
  width: clamp(3.2rem, 8vw, 5rem);
  height: clamp(3.2rem, 8vw, 5rem);
  color: var(--night-ink-2);
  animation: icon-in .5s var(--snap) both;
  margin-bottom: .4rem;
}
.story-icon.is-w { color: var(--series-w); }
.story-icon.is-m { color: var(--night-men); }
@keyframes icon-in {
  0% { opacity: 0; transform: translateY(-.4rem) scale(.7); }
  100% { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .story-icon { animation: none; } }

/* ── Press kit ──────────────────────────────────────────────── */
.press-boiler {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: start;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--series-m);
  border-radius: 6px 12px 12px 6px;
  background: var(--surface);
  padding: 1.2rem 1.3rem;
  margin-bottom: 1.8rem;
  max-width: 60rem;
}
.press-boiler p { font-size: .95rem; line-height: 1.65; color: var(--ink-2); }
.press-numbers, .press-assets { list-style: none; padding: 0; display: grid; gap: .45rem; margin-bottom: 1.8rem; }
.press-numbers li {
  display: grid; grid-template-columns: auto 1fr; gap: .6rem;
  font-family: var(--mono); font-size: .82rem; line-height: 1.55; color: var(--ink-2);
}
.press-numbers li::before { content: "▸"; color: var(--series-m); }
.press-assets a { color: var(--series-m); font-size: .92rem; text-underline-offset: 3px; }
.press-contact { font-size: .95rem; color: var(--ink-2); }
@media (max-width: 40rem) { .press-boiler { grid-template-columns: 1fr; } }

/* ── Hamburger menu ─────────────────────────────────────────── */
.menu-btn {
  width: 2.25rem; height: 2.25rem;
  display: grid; place-items: center;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 8px;
  cursor: pointer;
  color: var(--ink-2);
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.menu-btn:hover { background: var(--surface-tint); color: var(--ink); border-color: var(--rule-strong); }
.menu-btn .mb-close { display: none; }
.menu-btn[aria-expanded="true"] .mb-open { display: none; }
.menu-btn[aria-expanded="true"] .mb-close { display: block; }

body.is-menu { overflow: hidden; }
.menu-panel {
  position: fixed;
  top: 3.65rem; left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--page) 94%, transparent);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  overflow-y: auto;
  padding: 1.25rem clamp(1.25rem, 6vw, 4rem) 3rem;
  display: grid;
  align-content: start;
  gap: .15rem;
}
.menu-item {
  display: flex; align-items: center; gap: .9rem;
  padding: .72rem .5rem;
  border: 0;
  border-bottom: 1px solid var(--rule);
  background: transparent;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  letter-spacing: -.01em;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: color .15s var(--ease), padding-left .18s var(--ease);
}
.menu-item:hover { color: var(--series-m); padding-left: .8rem; }
.menu-ico { width: 1.15rem; height: 1.15rem; color: var(--series-m); flex: none; }
.menu-item--story {
  color: var(--series-w);
  border-bottom-width: 2px;
}
.menu-item--story .menu-ico { color: var(--series-w); }
.menu-item--sub { font-family: var(--mono); font-weight: 500; font-size: .85rem; color: var(--ink-2); }
@media (min-width: 60rem) {
  .menu-panel { grid-template-columns: 1fr 1fr; column-gap: 3rem; }
  .menu-item--story { grid-column: 1 / -1; }
}
