/* Political Eye — the public landing (geopoliticalearth.com/), light by default since 29 Oct 2026.
   The guide keeps lp/site.css (dark). This sheet stands alone.

   Colour rules:
   · --data-r / --data-b are the party data colours (red = Republican, blue = Democratic). They appear only
     where the page talks about results: the legend, the result swatches, the three-view note.
   · --flag-red / --flag-blue are the flag's own colours (Old Glory Red #B31942, Old Glory Blue #0A3161).
     They are decoration and always appear together (the flag, the stripe tick), never alone as a claim.
   · Navy (--ink, --navy) carries the brand: text, the primary button, the focus ring. */

:root {
  --paper: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #eef2f8;
  --ink: #0b1f44;
  --ink-2: #2b3a5c;
  --mute: #4c5a78;
  --line: #dde3ed;
  --line-2: #c3cddd;
  --navy: #0a3161;
  --navy-h: #123f7a;
  --on-navy: #ffffff;
  --flag-red: #b31942;
  --flag-blue: #0a3161;
  --data-r: #d7263d;
  --data-b: #2563eb;
  --teal: #14b8a6;
  --teal-ink: #0f766e;
  --gold-ink: #8a5a00;
  --scrim: rgba(245, 247, 251, 0.86);
  --shadow-1: 0 1px 2px rgba(11, 31, 68, 0.06), 0 8px 24px rgba(11, 31, 68, 0.07);
  --shadow-2: 0 2px 6px rgba(11, 31, 68, 0.08), 0 30px 70px rgba(11, 31, 68, 0.14);
  --frame: #0b1634;
  --display: 'Big Shoulders Display', Impact, 'Arial Narrow', sans-serif; /* the brand wordmark only */
  --serif: 'Source Serif 4', 'Source Serif Pro', Georgia, 'Times New Roman', serif;
  --body: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Consolas, monospace;
  --wrap: 1180px;
  --gut: clamp(16px, 4vw, 40px);
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0a1430;
    --surface: #111d3f;
    --surface-2: #16244a;
    --ink: #eef2fa;
    --ink-2: #ccd5ea;
    --mute: #a3b0cd;
    --line: rgba(160, 180, 230, 0.16);
    --line-2: rgba(160, 180, 230, 0.3);
    --navy: #e9eef8;
    --navy-h: #ffffff;
    --on-navy: #0a1f44;
    --data-r: #f0626f;
    --data-b: #6b97f6;
    --teal-ink: #4fd1c0;
    --gold-ink: #e8b04a;
    --scrim: rgba(10, 20, 48, 0.84);
    --shadow-1: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 14px 40px rgba(2, 6, 20, 0.45);
    --shadow-2: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 34px 90px rgba(2, 6, 20, 0.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0a1430;
  --surface: #111d3f;
  --surface-2: #16244a;
  --ink: #eef2fa;
  --ink-2: #ccd5ea;
  --mute: #a3b0cd;
  --line: rgba(160, 180, 230, 0.16);
  --line-2: rgba(160, 180, 230, 0.3);
  --navy: #e9eef8;
  --navy-h: #ffffff;
  --on-navy: #0a1f44;
  --data-r: #f0626f;
  --data-b: #6b97f6;
  --teal-ink: #4fd1c0;
  --gold-ink: #e8b04a;
  --scrim: rgba(10, 20, 48, 0.84);
  --shadow-1: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 14px 40px rgba(2, 6, 20, 0.45);
  --shadow-2: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 34px 90px rgba(2, 6, 20, 0.6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--body); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-color: var(--line-2); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(10, 49, 97, 0.18); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: var(--on-navy); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* ── type ─────────────────────────────────────────── */
/* the stripe tick: a tiny flag (red, white, blue together) that marks an eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12px/1.3 var(--mono); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-2); margin: 0 0 14px;
}
.eyebrow::before {
  content: ''; flex: none; width: 18px; height: 11px; border-radius: 1.5px;
  background:
    linear-gradient(var(--flag-blue), var(--flag-blue)) 0 0 / 8px 6px no-repeat,
    repeating-linear-gradient(180deg, var(--flag-red) 0 1.57px, #fff 1.57px 3.14px);
  box-shadow: 0 0 0 1px var(--line-2);
}
h1, h2, h3 { margin: 0; text-wrap: balance; }
h2 { font: 600 clamp(32px, 4.2vw, 52px)/1.08 var(--serif); letter-spacing: -0.015em; }
h3 { font: 700 19px/1.3 var(--body); letter-spacing: -0.005em; }
.lede { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--ink-2); max-width: 62ch; margin: 18px 0 0; text-wrap: pretty; }
.sec-head { max-width: 780px; margin-bottom: clamp(28px, 4vw, 48px); }
.r { color: var(--data-r); }
.b { color: var(--data-b); }

/* ── buttons ──────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 700 15.5px/1 var(--body); text-decoration: none; white-space: nowrap; cursor: pointer;
  border: 1.5px solid var(--line-2); color: var(--ink); background: var(--surface);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:hover { border-color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn .arr { font-family: var(--mono); transition: transform 0.2s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn-primary { background: var(--navy); border-color: var(--navy); color: var(--on-navy); box-shadow: 0 10px 26px rgba(10, 49, 97, 0.22); }
.btn-primary:hover { background: var(--navy-h); border-color: var(--navy-h); color: var(--on-navy); }
.btn-text { border-color: transparent; background: transparent; padding: 0 6px; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 5px; }
.btn-text:hover { border-color: transparent; text-decoration-color: currentColor; }
.btn-demo .play { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; }
.btn-map .pin { width: 10px; height: 10px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #c98a16; }
.btn-support .heart { width: 9px; height: 9px; background: #1f9d74; transform: rotate(45deg); border-radius: 2px 0 0 0; position: relative; margin: 0 3px; }
.btn-support .heart::before, .btn-support .heart::after { content: ''; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: #1f9d74; }
.btn-support .heart::before { left: -4.5px; top: 0; }
.btn-support .heart::after { left: 0; top: -4.5px; }

/* ── nav ──────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 50; background: var(--scrim); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 32px; height: 32px; }
.brand b { font: 800 22px/1 var(--display); letter-spacing: 0.02em; }
.brand small { display: block; font: 500 10px/1.2 var(--mono); letter-spacing: 0.16em; color: var(--mute); text-transform: uppercase; margin-top: 3px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 14.5px; }
.nav-links a { position: relative; padding: 8px 0; color: var(--ink-2); text-decoration: none; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current]::after { transform: scaleX(1); }
.nav .btn { min-height: 40px; padding: 0 16px; font-size: 14px; }
@media (max-width: 960px) { .nav-links { display: none; } .nav .btn-live { margin-left: auto; } }
@media (max-width: 420px) { .brand small { display: none; } .nav .btn-login { display: none; } }

/* ── hero ─────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 7vw, 88px); isolation: isolate; }
/* the flag: still image first (and for no-WebGL / reduced motion), the WebGL canvas fades in over it */
.hero-flag {
  position: absolute; inset: 0 0 auto 0; height: min(100%, 980px); z-index: -1; pointer-events: none;
  background-color: var(--paper);
  background-image: url(hero-plate.jpg);
  background-image: image-set(url(hero-plate.webp) type("image/webp"), url(hero-plate.jpg) type("image/jpeg"));
  background-size: cover; background-position: center top;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero-flag {
    background-image: url(hero-plate-dark.jpg);
    background-image: image-set(url(hero-plate-dark.webp) type("image/webp"), url(hero-plate-dark.jpg) type("image/jpeg"));
  }
}
:root[data-theme="dark"] .hero-flag {
  background-image: url(hero-plate-dark.jpg);
  background-image: image-set(url(hero-plate-dark.webp) type("image/webp"), url(hero-plate-dark.jpg) type("image/jpeg"));
}
.hero-flag canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.9s ease; }
/* !important: the dark-mode still rules above are more specific; once WebGL draws, no still underneath */
.flag-gl .hero-flag { background-image: none !important; }
.flag-gl .hero-flag canvas { opacity: 1; }
.flag-still .hero-flag canvas { display: none; }
/* a soft wash behind the copy so the flag never costs the text its contrast */
.hero-flag::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 58% 70% at 22% 40%, var(--scrim), transparent 72%),
    linear-gradient(180deg, transparent 55%, var(--paper) 98%);
}
.hero .wrap { position: relative; }
.hero h1 { font: 600 clamp(40px, 5.4vw, 76px)/1.04 var(--serif); letter-spacing: -0.022em; max-width: 15ch; }
.hero h1 .h1-sub { display: block; margin-top: 0.3em; font: 400 italic clamp(22px, 2.6vw, 34px)/1.2 var(--serif); letter-spacing: -0.01em; color: var(--ink-2); max-width: none; }
.date-chip {
  display: inline-flex; align-items: stretch; margin: 0 0 22px; border-radius: 999px; overflow: hidden;
  border: 1.5px solid var(--ink); background: var(--surface); font: 600 12.5px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase;
}
.date-chip span { display: inline-flex; align-items: center; padding: 9px 12px; }
.date-chip span:first-child { background: var(--ink); color: var(--paper); }
.date-chip .count:empty { display: none; }
.date-chip .count { border-left: 1.5px solid var(--ink); }
.hero .promise { font: 400 clamp(17px, 1.6vw, 20px)/1.55 var(--body); color: var(--ink-2); max-width: 56ch; margin: 22px 0 0; }
.hero .cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.hero .more { margin: 18px 0 0; font-size: 15px; color: var(--ink-2); }
.hero .more a { font-weight: 600; }
.flag-toggle {
  position: absolute; right: var(--gut); top: 14px; z-index: 2;
  min-height: 32px; padding: 0 12px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2);
  font: 600 11px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase;
}
.flag-toggle:hover { border-color: var(--ink); color: var(--ink); }
.flag-toggle[hidden] { display: none; }

/* the explainer video, in its window frame */
.screen { position: relative; margin: clamp(36px, 5vw, 60px) 0 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow-2); background: var(--frame); }
.screen .stage { position: relative; aspect-ratio: 16 / 9; background: var(--frame); }
.screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.chrome { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); position: relative; }
.chrome i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); flex: none; }
.chrome span { margin-left: 10px; font: 500 11px/1 var(--mono); letter-spacing: 0.06em; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chrome b { margin-left: auto; font: 600 10.5px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
@media (max-width: 480px) { .chrome b { display: none; } .chrome { height: 30px; } }
.vid-toggle {
  position: absolute; right: 14px; bottom: 14px; min-height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35); background: rgba(8, 18, 43, 0.78); color: #fff;
  font: 600 12px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer;
}
.vid-toggle:hover { background: rgba(8, 18, 43, 0.95); }
.vid-sound { right: auto; left: 14px; min-height: 44px; }

.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; margin-top: 28px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.stats div { background: var(--surface); padding: 18px 20px 16px; }
.stats b { display: block; font: 600 clamp(28px, 3vw, 38px)/1 var(--serif); font-variant-numeric: tabular-nums; margin-bottom: 6px; }
.stats span { font: 500 12px/1.35 var(--mono); color: var(--mute); letter-spacing: 0.03em; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } .stats div:last-child { grid-column: span 2; } }

/* ── sections ─────────────────────────────────────── */
section { padding: clamp(64px, 8vw, 112px) 0; position: relative; }
section + section { border-top: 1px solid var(--line); }
.band { background: var(--surface); }

/* the three things the page leads with (Ben, 29 Oct): live vote tracking, learn about politics, radio & TV */
.pillars { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.pillar { background: var(--surface); padding: 22px 24px 20px; display: flex; flex-direction: column; gap: 8px; }
.pillar svg { width: 28px; height: 28px; fill: none; stroke: var(--navy); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.pillar .h3 { margin: 4px 0 0; font: 600 22px/1.2 var(--serif); letter-spacing: -0.01em; }
.pillar p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.pillar a { margin-top: auto; padding-top: 6px; font-weight: 600; font-size: 15px; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

/* how to read the map */
.read { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.legend { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.legend li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: center; }
.legend svg { width: 64px; height: 40px; display: block; border-radius: 4px; }
.legend b { display: block; font-weight: 700; }
.legend span { color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.note-line { margin: 22px 0 0; padding: 14px 16px; border-left: 3px solid var(--ink); background: var(--surface-2); border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: 15px; color: var(--ink-2); }
.shot { margin: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow-2); background: var(--frame); }
.shot img { width: 100%; height: auto; }
.shot figcaption { padding: 10px 14px; font: 500 12px/1.45 var(--mono); color: var(--mute); background: var(--surface); border-top: 1px solid var(--line); }
@media (max-width: 900px) { .read { grid-template-columns: 1fr; } }

/* a card for every state */
.card-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.card-points li { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.card-points b { display: block; margin-bottom: 4px; }
.card-points span { color: var(--ink-2); font-size: 15px; }
.row-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
@media (max-width: 860px) { .card-points { grid-template-columns: 1fr; } }

/* the Academy: chapters in time order */
.academy { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line-2); }
.timeline li { position: relative; padding: 0 0 18px 22px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ''; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--ink); }
.timeline li.now::before { background: var(--ink); }
.timeline .era { display: block; font: 600 11.5px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }
.timeline b { display: block; font-weight: 700; }
.timeline a { font-weight: 600; }
@media (max-width: 900px) { .academy { grid-template-columns: 1fr; } }

/* newsletter */
.news { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.nl { max-width: 520px; }
.nl-row { display: flex; gap: 10px; flex-wrap: wrap; }
.nl label { display: block; font-weight: 700; margin-bottom: 8px; }
.nl input[type="email"] {
  flex: 1 1 240px; min-width: 0; min-height: 48px; padding: 0 16px; border-radius: 999px;
  border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink); font: 400 16px/1 var(--body);
}
.nl input[type="email"]:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; border-color: var(--ink); }
.nl .nl-status { margin: 10px 0 0; font: 600 12px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-ink); }
.nl .nl-consent { margin: 10px 0 0; font-size: 13.5px; color: var(--mute); }
.nl .nl-msg { margin: 10px 0 0; font-size: 14.5px; color: var(--ink-2); min-height: 1.4em; }
/* beehiiv draws its own form (title, subtitle, navy border, flag-red button) inside .nl-embed */
.nl-embed { min-height: 0; }
.nl[data-mode="beehiiv"] .nl-embed { min-height: 180px; }
.nl-embed iframe { max-width: 100%; }
.nl-fallback[hidden] { display: none; }
.nl-fallback .nl-status { font: 500 13.5px/1.45 var(--body); letter-spacing: 0; text-transform: none; }
.nl-nojs { margin: 0; }
@media (max-width: 860px) { .news { grid-template-columns: 1fr; } }

/* walkthrough (the drill-down clips) */
.path { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 32px; padding: 0; list-style: none; font: 600 12.5px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }
.path li { padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-2); background: var(--surface); }
.path li:last-child { border-color: var(--ink); color: var(--ink); }
.drill { display: grid; gap: clamp(28px, 4vw, 48px); counter-reset: step; }
.step { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(20px, 3.4vw, 48px); align-items: center; }
.step:nth-child(even) { grid-template-columns: minmax(0, 1fr) 300px; }
.step:nth-child(even) .step-txt { order: 2; }
.step-txt { counter-increment: step; }
.step-txt::before { content: counter(step) ' / 5'; display: block; margin-bottom: 10px; font: 600 12px/1 var(--mono); letter-spacing: 0.12em; color: var(--mute); }
.step-txt h3 { font: 600 28px/1.1 var(--serif); letter-spacing: -0.01em; margin-bottom: 10px; }
.step-txt p { margin: 0; color: var(--ink-2); font-size: 16px; }
.step-txt .tag { display: inline-block; margin-top: 14px; padding-top: 10px; border-top: 1px dashed var(--line-2); font: 500 11.5px/1.4 var(--mono); color: var(--mute); }
@media (max-width: 860px) { .step, .step:nth-child(even) { grid-template-columns: 1fr; gap: 16px; } .step:nth-child(even) .step-txt { order: 0; } }

.clip { position: relative; margin: 0; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow-1); background: var(--frame); }
.clip .stage { position: relative; aspect-ratio: 16 / 10; background: var(--frame); overflow: hidden; }
.clip .stage img, .clip .stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.clip .stage video { opacity: 0; transition: opacity 0.5s ease; }
.clip.is-live .stage video { opacity: 1; }
.clip-toggle {
  position: absolute; right: 10px; bottom: 10px; z-index: 3; width: 40px; height: 40px; padding: 0; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35); background: rgba(8, 18, 43, 0.78); color: #fff; cursor: pointer;
  opacity: 0; transition: opacity 0.2s;
}
.clip-toggle::before { content: ''; position: absolute; left: 50%; top: 50%; transform: translate(-35%, -50%); border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; }
.is-playing > .stage > .clip-toggle::before { width: 10px; height: 12px; transform: translate(-50%, -50%); border-width: 0 3px; border-color: currentColor; }
.clip:hover .clip-toggle, .clip-toggle:focus-visible, .clip:not(.is-playing) .clip-toggle { opacity: 1; }
@media (hover: none) { .clip-toggle { opacity: 0.9; } }

/* trust */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.tile .grp { font: 600 11px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.tile p { margin: 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 860px) { .trust { grid-template-columns: 1fr; } }
.pledge { margin-top: 18px; padding: 16px 20px; border-radius: var(--r-md); border: 1px solid var(--line-2); background: var(--surface-2); font-size: 15.5px; color: var(--ink-2); }
.pledge b { color: var(--ink); }
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 28px; }
.lic { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.lic th, .lic td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.lic td:first-child { font-weight: 600; }
.lic th { font: 600 11px/1.2 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }
.lic td:last-child { font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); }
.legal-note { margin-top: 16px; font: 500 12.5px/1.55 var(--mono); color: var(--mute); }

/* more in the guide */
.more-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.more-grid a { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); text-decoration: none; transition: border-color 0.2s, box-shadow 0.2s; }
.more-grid a:hover { border-color: var(--ink); box-shadow: var(--shadow-1); }
.more-grid b { font-weight: 700; }
.more-grid span { color: var(--ink-2); font-size: 14.5px; }
@media (max-width: 960px) { .more-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .more-grid { grid-template-columns: 1fr; } }

/* sponsors (content unchanged; restyled) */
.spons { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.who-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; padding: 0; list-style: none; }
.who-list li { padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); font: 600 12.5px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.rules { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.rules li { padding-left: 26px; position: relative; color: var(--ink-2); font-size: 15.5px; }
.rules li::before { content: ''; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; border-radius: 3px; border: 2px solid var(--ink); }
.rules b { color: var(--ink); }
.ad-card { border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--surface); box-shadow: var(--shadow-2); overflow: hidden; max-width: 420px; margin-left: auto; }
.ad-card .ad-top { padding: 14px 18px; display: flex; justify-content: space-between; font: 600 11px/1 var(--mono); letter-spacing: 0.12em; color: var(--mute); text-transform: uppercase; border-bottom: 1px solid var(--line); }
.ad-card .ad-top span:last-child { color: var(--gold-ink); }
.ad-card .ad-body { padding: 18px; }
.ad-card h4 { margin: 0; font: 600 26px/1.1 var(--serif); }
.ad-card .where { margin: 8px 0 14px; color: var(--ink-2); font-size: 14px; }
.ad-card .row { display: flex; gap: 8px; flex-wrap: wrap; }
.ad-card .pill { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; }
.ad-card .paid { margin: 0; padding: 12px 18px; border-top: 1px solid var(--line); background: var(--surface-2); font: 500 12px/1.45 var(--mono); }
.spons-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
@media (max-width: 860px) { .spons { grid-template-columns: 1fr; } .ad-card { margin: 0; } }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 52px 16px 20px; font-weight: 700; position: relative; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font: 500 22px/1 var(--mono); color: var(--mute); }
.faq details[open] summary::after { content: '\2212'; }
.faq details > div { padding: 0 20px 18px; color: var(--ink-2); }
.faq details > div p { margin: 0 0 8px; }

/* access + supporters (content unchanged; restyled) */
.access { text-align: center; }
.access h2 { font-size: clamp(36px, 5.4vw, 64px); }
.access .lede { margin-left: auto; margin-right: auto; }
.access .cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.access .eye { width: 72px; height: 72px; margin: 0 auto 20px; }
.who-gets { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 26px; font: 500 12px/1 var(--mono); color: var(--mute); letter-spacing: 0.1em; text-transform: uppercase; }
.who-gets span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; }
.access .support-note { max-width: 62ch; margin: 18px auto 0; font-size: 13px; color: var(--mute); }
.access .ask { margin: 22px 0 0; font-size: 14px; color: var(--mute); }
.access .wall { max-width: 1040px; margin: clamp(56px, 7vw, 88px) auto 0; padding-top: clamp(36px, 5vw, 56px); border-top: 1px solid var(--line); }
.access .wall h3 { font: 600 clamp(28px, 3.6vw, 40px)/1.1 var(--serif); letter-spacing: -0.01em; margin: 6px 0 0; }
.wall-lede { margin: 14px auto 0; max-width: 56ch; color: var(--ink-2); font-size: 16px; }
.wall-grid { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; text-align: left; }
.wall-card { height: 168px; overflow: hidden; display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.wall-card.is-ph { background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%) 0 0 / 200% 100%; animation: wall-ph 1.6s linear infinite; }
@keyframes wall-ph { to { background-position: -200% 0; } }
.wall-card.is-note { grid-column: 1 / -1; align-items: center; justify-content: center; text-align: center; border-style: dashed; }
.wall-name { margin: 0; font: 700 18px/1.2 var(--body); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex-shrink: 0; }
.wall-msg { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.45; font-style: italic; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; flex-shrink: 0; }
.wall-date { margin: auto 0 0; font: 500 12px/1 var(--mono); color: var(--mute); }
.access .wall-cta { margin-top: 22px; }
@media (max-width: 860px) { .wall-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .wall-grid { grid-template-columns: 1fr; }
  .wall-card { height: auto; min-height: 132px; }
  .wall-card.is-ph { height: 132px; }
  .wall-card.is-ph:nth-child(n+2) { display: none; }
}

/* footer */
footer { border-top: 1px solid var(--line); padding: 44px 0 56px; font-size: 14px; color: var(--ink-2); background: var(--surface); }
footer .f-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 28px 48px; align-items: start; }
footer .f-brand { font: 600 19px/1.2 var(--serif); }
footer .f-brand span { color: var(--mute); padding: 0 8px; }
footer nav { display: flex; gap: 8px 18px; flex-wrap: wrap; margin-top: 16px; }
footer nav a { color: var(--ink-2); padding: 4px 0; }
footer .nl label { font-size: 15px; }
footer .credits { margin-top: 28px; font: 500 12px/1.65 var(--mono); color: var(--mute); max-width: 980px; }
@media (max-width: 860px) { footer .f-top { grid-template-columns: 1fr; } }

/* the /access modal */
.access-dlg {
  width: min(800px, calc(100vw - 24px)); height: min(860px, calc(100dvh - 24px)); max-height: none;
  padding: 0; border: 1px solid var(--line-2); border-radius: 20px; overflow: hidden;
  background: #0a1532; box-shadow: 0 40px 120px rgba(0, 0, 0, 0.45);
}
.access-dlg::backdrop { background: rgba(11, 31, 68, 0.5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.access-dlg iframe { display: block; width: 100%; height: 100%; border: 0; background: transparent; color-scheme: dark; }
.dlg-x { position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.3); background: rgba(8, 18, 43, 0.85); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }

/* reveal on scroll (only when motion is welcome and JS runs) */
.js .rv { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .rv.in { opacity: 1; transform: none; }

/* small screens */
.hero .cta .btn-text { padding: 0 2px; }
@media (max-width: 600px) {
  .hero { padding-top: 60px; }
  .flag-toggle { top: 12px; min-height: 30px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: clamp(46px, 14.5vw, 60px); }
  .hero .cta .btn:not(.btn-text) { flex: 1 1 100%; }
  .access .cta .btn, .spons-cta .btn, .row-cta .btn { flex: 1 1 100%; white-space: normal; text-align: center; padding: 10px 18px; }
  .stats div { padding: 14px 14px 12px; }
  .lic { font-size: 13.5px; }
  .lic th, .lic td { padding: 10px; }
  .date-chip { font-size: 11px; letter-spacing: 0.08em; }
  .date-chip span { padding: 8px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .btn, .btn .arr, .nav-links a::after, .clip .stage video, .hero-flag canvas { transition: none; }
  .wall-card.is-ph { animation: none; }
}
[data-after-election][hidden] { display: none !important; }
