/* =========================================================
   OPERATION IMAGINAL, Shared Brand System
   Botanical / nature-inspired
   Warm cream + forest green + terracotta. Editorial. Organic.
   ========================================================= */

/* Self-hosted webfonts (Inter, Fraunces, JetBrains Mono, all OFL).
   Replaces the previous Google Fonts @import to eliminate third-party tracking.
   To regenerate: node fetch-fonts.mjs */

@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/fraunces-400.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/fraunces-600.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/fraunces-700.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/fraunces-800.woff2') format('woff2'); }
@font-face { font-family: 'Inter';    font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/inter-400.woff2')    format('woff2'); }
@font-face { font-family: 'Inter';    font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/inter-500.woff2')    format('woff2'); }
@font-face { font-family: 'Inter';    font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/inter-600.woff2')    format('woff2'); }
@font-face { font-family: 'Inter';    font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/inter-700.woff2')    format('woff2'); }
@font-face { font-family: 'Inter';    font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/inter-800.woff2')    format('woff2'); }
@font-face { font-family: 'Inter';    font-style: normal; font-weight: 900; font-display: swap; src: url('fonts/inter-900.woff2')    format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/jetbrains-mono-400.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/jetbrains-mono-500.woff2') format('woff2'); }

/* ---------- TOKENS ---------- */
:root {
  --bg:        #F7F2E4;   /* warm cream paper */
  --bg-elev:   #FFFCF2;   /* card surface, slightly brighter */
  --bg-elev-2: #EFE7D0;   /* warmer accent surface */
  --ink:       #1C2620;   /* deep charcoal-with-green-undertone */
  --ink-dim:   #5C6B5D;   /* sage gray */
  --ink-faint: #93A092;   /* faded sage */
  --rule:      #DDD3B6;   /* warm tan rule line */
  --rule-soft: #ECE3C7;   /* lighter rule for subtle dividers */

  --accent:    #2E5D3F;   /* deep forest moss, primary credibility color */
  --accent-soft: #6B8E5A; /* lighter botanical green */
  --accent-2:  #D97742;   /* warm terracotta, hero numbers, CTAs */
  --accent-2-deep: #B85A2A; /* darker terracotta for hover */
  --danger:    #8B2C1B;   /* deep rust for warnings */
  --honey:     #E8B547;   /* honey amber for highlights */

  --bg-light: #FFF8EB;  /* light cream for button text on accent */

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Typographic scale (locked) */
  --text-xs:   12px;
  --text-sm:   14px;
  --text-base: 16px;
  --text-md:   20px;
  --text-lg:   24px;
  --text-xl:   32px;
  --text-2xl:  40px;
  --text-3xl:  56px;

  /* Line heights */
  --lh-tight:  1.1;   /* headings, display text */
  --lh-snug:   1.3;   /* labels, compact text */
  --lh-normal: 1.6;   /* body, paragraphs */

  /* Letter spacing */
  --ls-tight:  -0.02em; /* headings */
  --ls-normal: 0;       /* body */
  --ls-caps:   0.1em;   /* uppercase labels */

  /* Spacing scale (4px base). The 8px-step rungs (sp-2/4/6/8/12/16/20/24)
     are the primary scale; the 4px-step rungs (sp-1/3/5/7/9/10) fill the
     gaps for cases where 8px is too coarse. Donate.css uses sp-5/sp-7/sp-10
     directly; missing rungs there silently invalidate the whole shorthand
     declaration and collapse padding/margin/gap to 0 (the cause of the
     2026-05-20 "tight spacing" report). */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-7: 28px;
  --sp-8: 32px;
  --sp-9: 36px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;

  --max-w: 1200px;
  --max-w-narrow: 760px;

  --shadow-soft: 0 2px 8px rgba(46, 93, 63, 0.06), 0 8px 32px rgba(28, 38, 32, 0.08);
  --shadow-warm: 0 4px 24px rgba(217, 119, 66, 0.18);
  --shadow-card: 0 1px 3px rgba(28, 38, 32, 0.05), 0 12px 32px rgba(28, 38, 32, 0.08);

  /* Federal party tokens (muted, harmonize with --accent and --accent-2).
     Not raw party-brand saturation. Used by the Algorithm-Found-Your-Tribe
     page to recolour every chart in response to the visitor's picker. */
  --party-lpc:  #B0342A;   /* muted cranberry */
  --party-cpc:  #2E4A7A;   /* deep slate */
  --party-ndp:  #C97A1C;   /* burnt ochre */
  --party-gpc:  #5B7A3E;   /* warmer olive */
  --party-bq:   #4B8CA8;   /* dusty sky */
  --party-ppc:  #6B4A7A;   /* muted plum */
  --party-none: #5C6B5D;   /* opt-out state, = --ink-dim */

  --party-color: var(--party-none);

  /* News-source tokens for the MediaDiet stacked bar. */
  --src-social:  #A85A5A;   /* rose-sage, "feed" */
  --src-tv:      #5C6B5D;   /* legacy grey-green */
  --src-radio:   #8E6B2E;   /* warm brown */
  --src-print:   #4A3E35;   /* deep paper-brown */
  --src-podcast: #2E5D3F;   /* = --accent */
  --src-other:   #93A092;   /* = --ink-faint */
}

/* Scoped party tokens, flipped by the PartyPicker setting
   data-party on <html>. Every algorithm-tribe widget reads
   var(--party-color) for the highlighted slice. */
[data-party="lpc"] { --party-color: var(--party-lpc); }
[data-party="cpc"] { --party-color: var(--party-cpc); }
[data-party="ndp"] { --party-color: var(--party-ndp); }
[data-party="gpc"] { --party-color: var(--party-gpc); }
[data-party="bq"]  { --party-color: var(--party-bq);  }
[data-party="ppc"] { --party-color: var(--party-ppc); }
[data-party="none"]{ --party-color: var(--party-none);}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  background-image:
    radial-gradient(ellipse at top left, rgba(232, 181, 71, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(46, 93, 63, 0.04) 0%, transparent 50%);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--text-base);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
a { color: var(--accent); text-decoration: none; transition: opacity .15s ease; }
a:hover { opacity: .75; }

/* ---------- TYPOGRAPHY ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--accent-2-deep);
  margin: 0 0 var(--sp-4) 0;
}
/* Attribution / source / kicker line. Used under quotes, stats, and pull-outs.
   Same family as .eyebrow but smaller and tonally quieter (--ink-dim by default). */
.attribution {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--ink-dim);
  margin: var(--sp-4) 0 0;
}
.attribution-sm { font-size: 10px; letter-spacing: 0.08em; }
.attribution-accent { color: var(--accent-2-deep); }
.attribution-faint { color: var(--ink-faint); }
.h1 {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-2xl), 6vw, 84px);
  font-weight: 700;
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-tight);
  margin: 0 0 var(--sp-6) 0;
  color: var(--ink);
}
/* Compressed hero for action pages where a form sits below the fold.
   Same family / weight / leading as canonical .h1, smaller scale. */
.petition-hero .h1 { font-size: clamp(36px, 5vw, 56px); }
.petition-hero .lede { margin-left: auto; margin-right: auto; }
.h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-tight);
  margin: 0 0 var(--sp-6) 0;
  color: var(--ink);
}
.h3 {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-md), 2vw, 26px);
  font-weight: 600;
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-snug);
  margin: 0 0 var(--sp-3) 0;
  color: var(--ink);
}
.lede {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 400;
  line-height: var(--lh-normal);
  color: var(--ink-dim);
  margin: 0 0 var(--sp-8) 0;
  max-width: 56ch;
}
.mono { font-family: var(--font-mono); }
.serif { font-family: var(--font-serif); }
.ink-dim { color: var(--ink-dim); }
.accent { color: var(--accent); }
.accent-2 { color: var(--accent-2-deep); }

/* ---------- UTILITIES ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.form-label-hint {
  color: var(--ink-faint);
  text-transform: none;
  letter-spacing: 0;
}
.form-notice {
  font-size: 11px;
  color: var(--ink-faint);
  text-align: center;
  margin-top: var(--sp-4);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}
.form-error {
  display: none;
  color: var(--danger);
  text-align: center;
  margin-top: var(--sp-4);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
}

/* ---------- LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow {
  width: 100%;
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section-sm { padding: 48px 0; }

/* ---------- HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 242, 228, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.site-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.wordmark a { color: inherit; }
.wordmark-glyph {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, var(--honey) 0%, transparent 55%),
    radial-gradient(circle at 70% 70%, var(--accent) 0%, var(--accent-soft) 40%, transparent 75%);
  box-shadow: 0 0 0 2px var(--bg), 0 2px 8px rgba(46, 93, 63, 0.2);
}
.header-cta {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2-deep);
  padding: 9px 16px;
  border: 1.5px solid var(--accent-2);
  border-radius: 999px;
  transition: all .15s ease;
  background: transparent;
}
.header-cta:hover {
  background: var(--accent-2);
  color: var(--bg-elev);
  opacity: 1;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: all .15s ease;
  text-decoration: none;
  font-family: var(--font-sans);
}
.btn-primary {
  background: var(--accent-2);
  color: var(--bg-light);
  box-shadow: 0 4px 14px rgba(217, 119, 66, 0.25);
}
.btn-primary:hover {
  background: var(--accent-2-deep);
  box-shadow: 0 6px 20px rgba(217, 119, 66, 0.35);
  transform: translateY(-1px);
  opacity: 1;
}
.btn-large {
  padding: 22px 44px;
  font-size: 17px;
  font-weight: 700;
}
.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--rule);
}
.btn-ghost:hover {
  border-color: var(--accent);
  background: rgba(46, 93, 63, 0.05);
  opacity: 1;
}

/* ---------- CARDS ---------- */
.card {
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 28px;
  transition: all .15s ease;
  box-shadow: var(--shadow-soft);
}
.card:hover {
  border-color: var(--accent-soft);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.card-link:hover { opacity: 1; }

/* ---------- FOOTER CTA BANNER ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--bg-elev) 0%, var(--bg-elev-2) 100%);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(217, 119, 66, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.cta-banner-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}
.cta-banner h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.18;
  margin: 0 0 32px 0;
  letter-spacing: -0.015em;
}
.share-row {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.share-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  color: var(--ink-dim);
  border: 1px solid var(--rule);
  padding: 10px 18px;
  border-radius: 999px;
  transition: all .15s ease;
}
.share-btn:hover {
  color: var(--accent-2-deep);
  border-color: var(--accent-2);
  background: rgba(217, 119, 66, 0.05);
}

/* ---------- SITE FOOTER ---------- */
.site-footer {
  padding: 48px 24px;
  text-align: center;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-top: 1px solid var(--rule);
  background: var(--bg);
}
.site-footer a {
  color: var(--ink-dim);
}

/* ---------- UTILITIES ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mt-8 { margin-top: 64px; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }
.mb-8 { margin-bottom: 64px; }

.divider {
  height: 1px;
  background: var(--rule);
  margin: 64px 0;
  border: none;
}

/* ---------- HERO (shared across artifacts) ---------- */
.hero {
  padding: 96px 0 64px;
  position: relative;
}
.hero-grid {
  display: grid;
  gap: 48px;
}

/* ---------- INITIALS BLOCK (avatar substitute) ---------- */
.initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-elev-2);
  border: 1.5px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  flex-shrink: 0;
}
.initials-lg { width: 72px; height: 72px; font-size: 20px; }

/* =========================================================
   ARTIFACT 1, THE PLANE QUESTION (replaces probability wall)
   ========================================================= */
.plane-hero {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  text-align: center;
  padding: 80px 24px;
}
.plane-killer {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 40px;
  background: var(--bg-elev);
  border: 1.5px solid var(--rule);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.plane-killer::before {
  content: '';
  position: absolute;
  top: -1.5px;
  left: 24px;
  right: 24px;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-2) 50%, transparent 100%);
  border-radius: 2px;
}
.plane-killer-stat {
  font-family: var(--font-serif);
  font-size: clamp(96px, 16vw, 200px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--accent-2);
  font-feature-settings: 'tnum';
}
.plane-killer-text {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
  margin: 24px auto 0;
  max-width: 52ch;
  font-style: italic;
}
.plane-killer-text strong {
  color: var(--accent-2-deep);
  font-weight: 700;
  font-style: normal;
}
.plane-killer-attr {
  display: block;
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.plane-pivot {
  max-width: 720px;
  margin: 96px auto 64px;
  padding: 0 24px;
  text-align: center;
}
.plane-pivot p {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  font-style: italic;
}

/* The 6 leader "billboard" cards */
.plane-leaders {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.plane-leaders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.plane-leader {
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
  transition: all .15s ease;
}
.plane-leader:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-left-color: var(--accent-2);
}
.plane-leader-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.portrait {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
  background: var(--bg-elev-2);
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-soft);
}
.portrait-lg {
  width: 96px;
  height: 96px;
  border-width: 2.5px;
}
.portrait-sm {
  width: 32px;
  height: 32px;
  border-width: 1.5px;
}

/* ---------- FACE MOSAIC (landing page wall of voices) ---------- */
.face-mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 900px) { .face-mosaic { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .face-mosaic { grid-template-columns: repeat(3, 1fr); gap: 8px; } }
.face-mosaic-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  transition: transform .2s ease;
}
.face-mosaic-tile:hover { transform: translateY(-3px); }
.face-mosaic-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
  border: 2px solid var(--accent);
  background: var(--bg-elev-2);
  box-shadow: var(--shadow-soft);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.face-mosaic-tile:hover img {
  border-color: var(--accent-2);
  box-shadow: var(--shadow-card);
}
.face-mosaic-tile span {
  margin-top: var(--sp-2);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--ink-dim);
  text-align: center;
  line-height: var(--lh-snug);
}

/* ---------- VOICES SECTION (landing page wrapper for face-mosaic) ---------- */
.voices-section {
  padding: var(--sp-16) var(--sp-6);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  text-align: center;
}
.voices-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.voices-section .face-mosaic {
  max-width: 900px;
  margin: 32px auto;
}
.voices-section .face-mosaic-tile img {
  filter: grayscale(100%);
  transition: filter .3s ease, border-color .2s ease, box-shadow .2s ease;
}
.voices-section .face-mosaic-tile:hover img {
  filter: grayscale(0);
}

/* ---------- MANIFESTO SECTION (relocated hero text) ---------- */
.manifesto-section {
  padding: var(--sp-16) var(--sp-6);
  text-align: center;
}
.manifesto-text {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.8vw, var(--text-xl));
  font-weight: 600;
  font-style: italic;
  color: var(--accent-2-deep);
  line-height: var(--lh-snug);
  max-width: 36ch;
  margin: 0 auto var(--sp-6);
}
.manifesto-ask {
  font-size: clamp(var(--text-base), 1.4vw, 18px);
  color: var(--ink-dim);
  line-height: var(--lh-normal);
  max-width: 52ch;
  margin: 0 auto;
}

.plane-leader-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.15;
}
.plane-leader-cred {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-top: 4px;
}
.plane-leader-quote {
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.45;
  color: var(--ink);
  font-style: italic;
  margin: 0;
  flex: 1;
}

.plane-decline {
  max-width: 760px;
  margin: 96px auto 0;
  padding: 0 24px;
  text-align: center;
}
.plane-decline h3 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}
.plane-decline p {
  font-size: 17px;
  color: var(--ink-dim);
  line-height: 1.6;
  margin: 0 0 24px;
}
.plane-decline-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.plane-decline-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 6px;
  background: var(--bg-elev-2);
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
}
.plane-decline-tag .focus {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  color: var(--accent-2-deep);
  margin-left: 8px;
  letter-spacing: 0.08em;
}

/* =========================================================
   ARTIFACT 2, CONSENSUS HEATMAP
   ========================================================= */
.heatmap-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  overflow-x: auto;
}
.heatmap {
  display: grid;
  grid-template-columns: 240px repeat(12, minmax(58px, 1fr));
  gap: 4px;
  min-width: 1020px;
  background: var(--bg);
}
.heatmap-corner { background: var(--bg); }
.heatmap-col-label {
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 10px 4px;
  text-align: center;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  height: 180px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  line-height: 1.25;
}
.heatmap-row-label {
  background: var(--bg);
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  padding: 12px 18px 12px 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  text-align: right;
  letter-spacing: -0.005em;
}
.heatmap-row-label .portrait-sm {
  border-width: 1.5px;
}
.heatmap-cell {
  background: var(--bg-elev-2);
  border: 1px solid var(--rule-soft);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-faint);
  cursor: pointer;
  border-radius: 4px;
  transition: all .12s ease;
}
.heatmap-cell:hover {
  border-color: var(--accent-2);
  transform: scale(1.1);
  z-index: 5;
  position: relative;
  box-shadow: 0 4px 12px rgba(217, 119, 66, 0.2);
}
.heatmap-cell.intensity-0 {
  background: transparent;
  border-color: var(--rule-soft);
  cursor: default;
}
.heatmap-cell.intensity-0:hover {
  transform: none;
  border-color: var(--rule-soft);
  box-shadow: none;
}
.heatmap-cell.intensity-1 {
  background: rgba(46, 93, 63, 0.14);
  border-color: rgba(46, 93, 63, 0.25);
  color: var(--accent);
}
.heatmap-cell.intensity-2 {
  background: rgba(46, 93, 63, 0.4);
  border-color: rgba(46, 93, 63, 0.55);
  color: var(--bg-light);
}
.heatmap-cell.intensity-3 {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg-light);
  box-shadow: 0 2px 8px rgba(46, 93, 63, 0.25);
}

.heatmap-legend {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.heatmap-legend-swatch {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 6px;
  vertical-align: middle;
  border: 1px solid var(--rule);
  border-radius: 3px;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(28, 38, 32, 0.55);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: 16px;
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 48px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  color: var(--ink-dim);
  border: none;
  font-size: 26px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.modal-close:hover { color: var(--accent-2-deep); background: var(--bg-elev-2); }
.modal-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2-deep);
  margin: 0;
}
.modal-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 12px 0 24px;
}
.modal-name {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 4px;
  letter-spacing: -0.015em;
  line-height: 1.1;
}
.modal-cred {
  font-size: 13px;
  color: var(--ink-dim);
  margin: 0;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.modal-quote {
  font-family: var(--font-serif);
  font-size: 21px;
  line-height: 1.45;
  color: var(--ink);
  font-style: italic;
  border-left: 3px solid var(--accent-2);
  padding-left: 24px;
  margin: 24px 0;
}

.consensus-cards {
  max-width: 1100px;
  margin: 80px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}
.consensus-card {
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--shadow-soft);
  transition: all .15s ease;
}
.consensus-card:hover {
  border-color: var(--accent-soft);
  box-shadow: var(--shadow-card);
}
.consensus-card-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent-2-deep);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.consensus-card-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.consensus-card-text {
  font-size: 14px;
  color: var(--ink-dim);
  line-height: 1.6;
  margin: 0 0 16px;
}
.consensus-card-quote {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--ink);
  font-style: italic;
  border-left: 2px solid var(--accent);
  padding-left: 16px;
  margin: 0;
  line-height: 1.5;
}
.consensus-card-attr {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-style: normal;
}

/* Mobile heatmap fallback */
.heatmap-mobile {
  display: none;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}
.heatmap-mobile-card {
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-soft);
}
.heatmap-mobile-card-title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--ink);
}
.heatmap-mobile-card-leaders {
  font-size: 12px;
  color: var(--ink-dim);
  font-family: var(--font-mono);
}

/* Phase 2 (Idempotent Phoenix Phase 2 polish, 2026-05-11). The mobile
   card fallback now kicks in at 640px (true phones) instead of 768px
   (which dropped tablet portrait into the card fallback unnecessarily).
   The 12x12 grid is more legible than the 12-row card stack on any
   surface wide enough to scroll horizontally, and the .heatmap-wrap
   already carries overflow-x: auto so narrower tablets can scroll. */
@media (max-width: 640px) {
  .heatmap-wrap { display: none; }
  .heatmap-mobile { display: block; }
}

/* Tablet-landscape and tablet-portrait sizing tweaks: shrink the row-label
   column and the cell column min-width so the full grid fits without
   horizontal scrolling on tablet landscape (>= 1024px), and is at least
   close-to-fitting on tablet portrait (>= 768px). The minimum total
   grid width drops from 1020px to ~880px. */
@media (max-width: 1023px) and (min-width: 641px) {
  .heatmap {
    grid-template-columns: 180px repeat(12, minmax(46px, 1fr));
    min-width: 880px;
  }
  .heatmap-col-label {
    font-size: 11px;
    height: 150px;
    padding: 8px 2px;
  }
  .heatmap-row-label {
    font-size: 14px;
    padding: 10px 12px 10px 0;
  }
  .heatmap-row-label .portrait-sm {
    width: 28px;
    height: 28px;
  }
}

/* =========================================================
   ARTIFACT 3, SAME COMPANIES 1000x (scrollytelling)
   ========================================================= */
.timeline-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.timeline-beat {
  display: grid;
  grid-template-columns: 1fr 72px 1fr;
  gap: 24px;
  align-items: stretch;
  min-height: auto;
  padding: 48px 0;
  border-bottom: 1px dashed var(--rule);
  opacity: 0.3;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.timeline-beat.in-view {
  opacity: 1;
  transform: translateY(0);
}
.timeline-side {
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow-soft);
}
.timeline-side-left {
  border-left: 4px solid var(--ink-faint);
}
.timeline-side-right {
  border-left: 4px solid var(--accent-2);
  background: linear-gradient(135deg, var(--bg-elev) 0%, rgba(217, 119, 66, 0.05) 100%);
}
.timeline-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 14px;
}
.timeline-side-right .timeline-tag {
  color: var(--accent-2-deep);
}
.timeline-headline {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.timeline-body {
  font-size: 16px;
  color: var(--ink-dim);
  line-height: 1.6;
  margin: 0;
}
.timeline-attr {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
/* Horizontal time-flow connector that replaced the sideways "VS" text.
   Reads "same story, later" as a visual: thin sage line at the left,
   gradient to terracotta, chevron pointing right at the end. Labels
   the structural parallelism without competing with the beats. */
.timeline-vs {
  position: relative;
  align-self: center;
  height: 56px;
  width: 100%;
  /* Hide the literal "VS" text from the HTML without removing it for
     screen readers: the accessible label reads the surrounding beat
     tags instead. */
  font-size: 0;
  color: transparent;
  overflow: visible;
}
.timeline-vs::before {
  content: '';
  position: absolute;
  left: 4px;
  right: 18px;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, var(--ink-faint) 0%, var(--accent-2) 100%);
  transform: translateY(-50%);
  border-radius: 2px;
  opacity: 0.75;
}
.timeline-vs::after {
  content: '';
  position: absolute;
  right: 2px;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid var(--accent-2);
  transform: translateY(-50%);
  filter: drop-shadow(0 0 6px rgba(217, 119, 66, 0.35));
}

/* Convergence beat, full bleed */
.timeline-converge {
  grid-column: 1 / -1;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-elev) 0%, var(--bg-elev-2) 100%);
  border: 1.5px solid var(--accent-2);
  border-radius: 16px;
  padding: 80px 32px;
  box-shadow: var(--shadow-warm);
}
.timeline-converge .timeline-quote {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 24px;
  color: var(--ink);
  font-style: italic;
  letter-spacing: -0.015em;
}
.timeline-converge .timeline-quote-attr {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2-deep);
}

@media (max-width: 768px) {
  .timeline-beat {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 40px 0;
  }
  .timeline-vs { display: none; }
  .timeline-side { padding: 28px; }
}

.timeline-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 900px;
  margin: 0 auto 64px;
  padding: 0 24px;
  text-align: center;
}
.timeline-intro-grid h3 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.timeline-intro-grid .timeline-intro-year {
  font-family: var(--font-serif);
  font-size: clamp(56px, 9vw, 108px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  margin: 8px 0;
}
.timeline-intro-grid .timeline-intro-label {
  font-size: 14px;
  color: var(--ink-dim);
}
.timeline-intro-right .timeline-intro-year {
  color: var(--accent-2);
}
@media (max-width: 600px) {
  .timeline-intro-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* =========================================================
   ARTIFACT 4, BUYING THE WHEEL (lobbying)
   ========================================================= */
.btw-hero {
  text-align: center;
  padding: 96px 24px 64px;
}
.btw-hero .h1 {
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}
.btw-killer {
  max-width: 760px;
  margin: 32px auto 0;
  padding: 56px 40px;
  background: var(--bg-elev);
  border: 1.5px solid var(--rule);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.btw-killer::before {
  content: '';
  position: absolute;
  top: -1.5px;
  left: 24px;
  right: 24px;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-2) 50%, transparent 100%);
  border-radius: 2px;
}
.btw-multiplier {
  font-family: var(--font-serif);
  font-size: clamp(120px, 22vw, 280px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.88;
  color: var(--accent-2);
  font-feature-settings: 'tnum';
}
.btw-headline {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  margin: 16px auto 32px;
  max-width: 22ch;
  font-style: italic;
}
.btw-from-to {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.btw-fromto-item {
  text-align: center;
}
.btw-fromto-num {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 700;
  color: var(--ink);
  font-feature-settings: 'tnum';
  letter-spacing: -0.02em;
  line-height: 1;
}
.btw-fromto-num.muted { color: var(--ink-faint); }
.btw-fromto-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-top: 8px;
}
.btw-fromto-arrow {
  font-family: var(--font-serif);
  font-size: 36px;
  color: var(--accent-2);
  line-height: 1;
}
.btw-source {
  display: block;
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  font-style: normal;
}

/* The Army section, lobbyist count visualization */
.btw-army {
  max-width: 900px;
  margin: 96px auto;
  padding: 0 24px;
  text-align: center;
}
.btw-army-bars {
  margin: 32px auto;
  max-width: 640px;
}
.btw-army-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
}
.btw-army-year {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
  width: 56px;
  text-align: right;
  flex-shrink: 0;
}
.btw-army-bar-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}
.btw-army-bar {
  height: 32px;
  background: var(--bg-elev-2);
  border-radius: 4px;
  position: relative;
  border: 1px solid var(--rule);
}
.btw-army-bar.then {
  width: 34%;
  background: var(--ink-faint);
  opacity: 0.5;
}
.btw-army-bar.now {
  width: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  border-color: transparent;
}
.btw-army-num {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  font-feature-settings: 'tnum';
  letter-spacing: -0.01em;
  flex-shrink: 0;
  width: 60px;
}

/* Per-company lobbying cards */
.btw-companies {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.btw-company-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
  margin-top: 32px;
}
.btw-company {
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-top: 4px solid var(--accent-2);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: all .15s ease;
}
.btw-company:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.btw-company-name {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 4px;
  color: var(--ink);
  line-height: 1.1;
}
.btw-company-cred {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 24px;
}
.btw-company-spend {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 8px;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--rule);
}
.btw-spend-then {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--ink-faint);
  font-weight: 600;
  text-decoration: line-through;
  text-decoration-color: var(--ink-faint);
  text-decoration-thickness: 1.5px;
  font-feature-settings: 'tnum' 'lnum';
  line-height: 1;
}
.btw-spend-arrow {
  color: var(--accent-2);
  font-size: 18px;
  font-weight: 700;
  align-self: center;
  line-height: 1;
}
.btw-spend-now {
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--accent-2);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  font-feature-settings: 'tnum' 'lnum';
}
.btw-spend-note {
  font-size: 12px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  margin: 0 0 16px;
}
.btw-killed-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  font-weight: 600;
}
.btw-killed-text {
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  font-style: italic;
  margin: 0;
  flex: 1;
}
.btw-company-source {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--rule);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
}

/* The Kill List */
.btw-killlist {
  max-width: 900px;
  margin: 96px auto 0;
  padding: 0 24px;
}
.btw-killlist-item {
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--danger);
  border-radius: 10px;
  padding: 32px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-soft);
}
.btw-killlist-name {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.btw-killlist-outcome {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--danger);
  margin-bottom: 16px;
  font-weight: 600;
}
.btw-killlist-what {
  font-size: 15px;
  color: var(--ink-dim);
  line-height: 1.6;
  margin: 0 0 16px;
}
.btw-killlist-who {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  font-style: italic;
  border-left: 2px solid var(--accent);
  padding-left: 16px;
  margin: 0;
}

/* =========================================================
   PETITION PAGE, The Wheel
   ========================================================= */

.wheel-hero {
  text-align: center;
  padding: 96px 24px 80px;
  position: relative;
}
.wheel-svg-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}
.wheel-svg {
  width: clamp(96px, 14vw, 140px);
  height: clamp(96px, 14vw, 140px);
  color: var(--accent);
  animation: wheel-rock 6s ease-in-out infinite;
}
@keyframes wheel-rock {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: rotate(4deg); }
}
.wheel-hero .h1 {
  max-width: 16ch;
  margin-left: auto;
  margin-right: auto;
}
.wheel-hero .lede {
  margin-left: auto;
  margin-right: auto;
  max-width: 56ch;
}

/* The verbatim bus manifesto */
.bus-manifesto {
  max-width: 60ch;
  margin: 40px auto 24px;
  text-align: left;
  font-family: var(--font-serif);
  font-size: clamp(19px, 1.9vw, 23px);
  line-height: 1.6;
  color: var(--ink);
}
.bus-manifesto p {
  margin: 0 0 22px;
}
.bus-manifesto p:last-child {
  margin-bottom: 0;
}
.bus-manifesto strong {
  color: var(--accent-2-deep);
  font-weight: 700;
}
.bus-coda {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 600;
  font-style: italic;
  text-align: center;
  margin: 40px auto 0;
  color: var(--accent-2-deep);
  letter-spacing: -0.01em;
}
.bus-action {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2vw, 24px);
  font-style: italic;
  color: var(--ink);
  margin: 48px auto 32px;
  max-width: 48ch;
  line-height: 1.5;
  font-weight: 500;
}

/* Drivers section */
.drivers-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 24px;
}
.drivers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
  margin-top: 32px;
}
.driver-card {
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-top: 4px solid var(--accent);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow-soft);
  transition: all .15s ease;
  display: flex;
  flex-direction: column;
}
.driver-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-top-color: var(--accent-2);
}
.driver-card-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}
.driver-card-head .portrait-lg {
  border-color: var(--danger);
}
.driver-card-name {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 4px;
  color: var(--ink);
  line-height: 1.1;
}
.driver-card-cred {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.driver-block {
  border-left: 2px solid var(--rule);
  padding-left: 16px;
  margin-bottom: 16px;
}
.driver-block:last-child { margin-bottom: 0; }
.driver-block-said {
  border-left-color: var(--accent);
}
.driver-block-did {
  border-left-color: var(--accent-2);
}
.driver-block-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 6px;
  font-weight: 600;
}
.driver-block-said .driver-block-label { color: var(--accent); }
.driver-block-did .driver-block-label { color: var(--accent-2-deep); }
.driver-block-text {
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
  font-style: italic;
}
.driver-block-did .driver-block-text {
  font-style: normal;
}
.driver-card-source {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--rule);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
}


.petition-form {
  max-width: 560px;
  margin: 48px auto 0;
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 48px;
  box-shadow: var(--shadow-card);
}
.form-row { margin-bottom: var(--sp-6); }
.form-row label {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: var(--sp-2);
}
.form-row input, .form-row textarea {
  width: 100%;
  padding: var(--sp-4) var(--sp-6);
  background: var(--bg);
  border: 1.5px solid var(--rule);
  border-radius: 10px;
  color: var(--ink);
  font-family: inherit;
  font-size: var(--text-base);
  transition: border-color .15s;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--accent-2);
  background: var(--bg-elev);
}
.form-row textarea { min-height: 96px; resize: vertical; }
.form-submit {
  width: 100%;
  margin-top: var(--sp-4);
}

.demands-grid {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.demand-card {
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-left: 6px solid var(--accent);
  border-radius: 10px;
  padding: 32px 36px;
  box-shadow: var(--shadow-soft);
}
.demand-card--urgent {
  border-left-color: var(--accent-2);
}
.demand-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-2-deep);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}
.demand-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(217, 119, 66, 0.14);
  color: var(--accent-2-deep);
  padding: 3px 10px;
  border-radius: 999px;
  line-height: 1;
}
.demand-title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.demand-hook {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.55;
  margin: 0 0 12px;
}
.demand-bullets {
  font-size: var(--text-base);
  color: var(--ink-dim);
  line-height: 1.6;
  margin: 0;
  padding-left: 20px;
  list-style: none;
}
.demand-bullets li {
  position: relative;
  padding-left: 6px;
  margin-bottom: 8px;
}
.demand-bullets li:last-child {
  margin-bottom: 0;
}
.demand-bullets li::before {
  content: '';
  position: absolute;
  left: -16px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
}
.demand-text {
  font-size: var(--text-base);
  color: var(--ink-dim);
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 560px) {
  .demand-card {
    padding: 24px 20px;
    border-left-width: 5px;
  }
  .demand-title {
    font-size: 21px;
  }
}

.signature-counter {
  text-align: center;
  margin: 48px auto;
  padding: 32px;
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: 16px;
  max-width: 480px;
  box-shadow: var(--shadow-soft);
}
.signature-counter-num {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 800;
  color: var(--accent-2);
  letter-spacing: -0.025em;
  font-feature-settings: 'tnum';
  line-height: 1;
}
.signature-counter-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-top: var(--sp-3);
}
.signature-counter--bare {
  border: none;
  box-shadow: none;
  background: transparent;
  padding: 0;
  margin: 0 auto;
}

/* =========================================================
   LANDING PAGE
   ========================================================= */
.landing-hero {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}
.landing-wordmark {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-2-deep);
  margin-bottom: 28px;
}
.landing-headline {
  font-family: var(--font-serif);
  font-size: clamp(48px, 8vw, 104px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 0.98;
  margin: 0 0 32px;
  color: var(--ink);
}
.landing-manifesto {
  font-family: var(--font-serif);
  font-size: clamp(19px, 2vw, 23px);
  color: var(--ink-dim);
  line-height: 1.55;
  max-width: 60ch;
  margin: 0 auto 48px;
  font-style: italic;
}
.landing-cards {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.landing-card {
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 40px 32px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all .2s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.landing-card::after {
  content: '→';
  position: absolute;
  top: 32px;
  right: 32px;
  color: var(--accent-2);
  font-size: 24px;
  opacity: 0;
  transition: all .2s ease;
}
.landing-card:hover {
  border-color: var(--accent-2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  opacity: 1;
}
.landing-card:hover::after {
  opacity: 1;
  transform: translateX(4px);
}
.landing-card-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent-2-deep);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.landing-card-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
  color: var(--ink);
  line-height: 1.15;
}
.landing-card-blurb {
  font-size: 15px;
  color: var(--ink-dim);
  line-height: 1.6;
  margin: 0;
}

/* =========================================================
   LANDING PAGE v2, Hero-action split, proof band, stats
   ========================================================= */

/* Hero + inline form: split layout */
.hero-action {
  min-height: min(100vh, 900px);
  display: flex;
  align-items: center;
  padding: 120px clamp(24px, 4vw, 48px) 80px;
}
.hero-action-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr minmax(auto, 480px);
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
  width: 100%;
  padding-top: 24px;
}
.hero-copy {
  text-align: left;
  max-width: 600px;
}
.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 700;
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-tight);
  margin: 0 0 var(--sp-6);
  color: var(--ink);
  max-width: 52ch;
}
.hero-subline {
  font-size: clamp(var(--text-base), 1.4vw, 19px);
  font-weight: 400;
  color: var(--ink-dim);
  line-height: var(--lh-normal);
  margin: 0 0 var(--sp-8);
  max-width: 52ch;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}
.hero-counter-num {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--accent-2);
  font-feature-settings: 'tnum';
  line-height: 1;
}
.hero-counter-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--ink-dim);
}

/* Compact form variant for inline landing page */
.petition-form-compact {
  max-width: 480px;
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow-card);
}
.petition-form-compact #postal {
  max-width: 100%;
}
.petition-form-compact .form-row textarea {
  min-height: 64px;
}

/* "Add a comment" expand toggle */
.form-expand-btn {
  display: block;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  cursor: pointer;
  margin-bottom: 16px;
  transition: color .15s;
}
.form-expand-btn:hover {
  color: var(--accent-2-deep);
}

/* Proof line (used in voices section) */
.proof-line {
  font-size: var(--text-base);
  color: var(--ink-dim);
  line-height: var(--lh-normal);
  margin: 0 0 var(--sp-4);
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
}

/* Three killer stats */
.killer-stats {
  padding: var(--sp-16) 0;
  border-top: 1px solid var(--rule);
}
.killer-stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-6);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
}
.killer-stat {
  text-align: center;
}
.killer-stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(var(--text-2xl), 6vw, 72px);
  font-weight: 800;
  color: var(--accent-2);
  letter-spacing: var(--ls-tight);
  line-height: 1;
  margin-bottom: var(--sp-3);
}
.killer-stat-text {
  display: block;
  font-size: var(--text-base);
  color: var(--ink-dim);
  line-height: var(--lh-normal);
  margin-bottom: var(--sp-3);
  max-width: 28ch;
  margin-left: auto;
  margin-right: auto;
}
.killer-stat-link {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--accent);
}

/* Compact demands list */
.demands-compact {
  padding: var(--sp-16) 0;
  text-align: center;
}
.demands-compact h2 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.5vw, var(--text-xl));
  font-weight: 700;
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-snug);
  margin: 0 auto 32px;
  max-width: 36ch;
  color: var(--ink);
}
.demands-list {
  max-width: 560px;
  margin: 0 auto 32px;
  padding: 0;
  list-style: none;
  counter-reset: demand;
  text-align: left;
}
.demands-list li {
  counter-increment: demand;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}
.demands-list li:first-child {
  border-top: 1px solid var(--rule);
}
.demands-list li::before {
  content: counter(demand) ". ";
  color: var(--accent-2-deep);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}

/* Final CTA (replaces imaginal cells banner) */
.cta-final {
  text-align: center;
  padding: var(--sp-16) var(--sp-6);
  border-top: 1px solid var(--rule);
  background: linear-gradient(135deg, var(--bg-elev) 0%, var(--bg-elev-2) 100%);
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(217, 119, 66, 0.06) 0%, transparent 60%);
  pointer-events: none;
}
.cta-final-inner {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}
.cta-final h2 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.5vw, var(--text-2xl));
  font-weight: 700;
  line-height: var(--lh-tight);
  margin: var(--sp-6) 0 var(--sp-8);
  letter-spacing: var(--ls-tight);
  color: var(--ink);
}

/* Collapsible depth section on petition page */
.petition-depth {
  max-width: var(--max-w);
  margin: 48px auto;
  padding: 0 24px;
}
.petition-depth summary {
  cursor: pointer;
  text-align: center;
  list-style: none;
  display: flex;
  justify-content: center;
}
.petition-depth summary::-webkit-details-marker { display: none; }
.petition-depth summary::marker { display: none; content: ''; }
.petition-depth[open] summary {
  margin-bottom: 48px;
}

/* Post-sign section wrapper (shared across pages) */
.post-sign-section {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

/* ---- Responsive: hero-action layout ---- */
@media (max-width: 900px) {
  .hero-action {
    min-height: auto;
    padding: 80px 24px 48px;
  }
  .hero-action-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-copy {
    text-align: left;
  }
  .hero-headline {
    max-width: 100%;
  }
  .hero-subline {
    margin-left: 0;
    margin-right: auto;
  }
  .hero-proof {
    justify-content: center;
  }
  .petition-form-compact {
    max-width: 520px;
    margin: 0 auto;
  }
  .killer-stats-inner {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }
}
@media (max-width: 560px) {
  .hero-action {
    padding: var(--sp-20) 20px var(--sp-8);
  }
  .hero-action-inner {
    gap: var(--sp-6);
  }
  .hero-copy {
    text-align: center;
  }
  .hero-subline {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-headline {
    font-size: clamp(28px, 7vw, 36px);
  }
  .petition-form-compact {
    padding: var(--sp-6);
  }
}
@media (max-width: 375px) {
  .hero-headline {
    font-size: 28px;
  }
  .petition-form-compact {
    padding: 24px 20px;
    border-radius: 12px;
  }
  .face-mosaic {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

/* =========================================================
   QUOTE-CLIP COMPONENT, lazy-loaded YouTube embeds
   ========================================================= */
.quote-clip-wrap {
  margin-top: 16px;
}
.quote-clip-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: transparent;
  color: var(--accent-2-deep);
  border: 1.5px solid var(--accent-2);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .15s ease;
}
.quote-clip-btn:hover {
  background: var(--accent-2);
  color: var(--bg-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(217, 119, 66, 0.25);
}
.quote-clip-btn-icon {
  font-size: 12px;
  line-height: 1;
}
.quote-clip-btn-duration {
  font-size: 10px;
  opacity: 0.7;
  padding-left: 6px;
  border-left: 1px solid currentColor;
  margin-left: 2px;
}

.quote-clip-iframe-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.quote-clip-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.quote-clip-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.quote-clip-yt-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: transparent;
  color: var(--accent-2-deep);
  border: 1px solid var(--accent-2);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all .15s ease;
}
.quote-clip-yt-link:hover {
  background: var(--accent-2);
  color: var(--bg-light);
  opacity: 1;
}
.quote-clip-close {
  display: inline-flex;
  padding: 6px 14px;
  background: transparent;
  color: var(--ink-faint);
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .15s ease;
}
.quote-clip-close:hover {
  color: var(--ink);
  border-color: var(--ink-dim);
}

/* =========================================================
   WRITE YOUR REP, post-confirmation email flow
   ========================================================= */
.rep-section {
  padding: 48px 0;
}
.rep-container {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Rep lookup card */
.rep-lookup-card {
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow-card);
  margin-top: 32px;
}
.rep-lookup-card .form-row { margin-bottom: 18px; }
.rep-lookup-card .form-row:last-of-type { margin-bottom: 0; }

/* Rep result cards */
.rep-results {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.rep-card {
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 24px 28px;
  box-shadow: var(--shadow-soft);
  transition: all .15s ease;
}
.rep-card:hover {
  border-left-color: var(--accent-2);
  box-shadow: var(--shadow-card);
}
.rep-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.rep-card-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--rule);
  background: var(--bg-elev-2);
  flex-shrink: 0;
}
.rep-card-photo-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-elev-2);
  border: 2px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
  flex-shrink: 0;
}
.rep-card-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  line-height: 1.2;
}
.rep-card-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-top: 2px;
}
.rep-card-social {
  font-size: 13px;
  color: var(--ink-faint);
  margin-bottom: 16px;
}
.rep-card-social strong {
  color: var(--accent-2-deep);
  font-weight: 600;
}

/* Template picker */
.template-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}
@media (max-width: 480px) {
  .template-picker { grid-template-columns: 1fr; }
}
.template-option {
  background: var(--bg);
  border: 1.5px solid var(--rule);
  border-radius: 10px;
  padding: 16px;
  cursor: pointer;
  transition: all .15s ease;
  text-align: left;
}
.template-option:hover {
  border-color: var(--accent-soft);
  background: var(--bg-elev);
}
.template-option.selected {
  border-color: var(--accent-2);
  background: var(--bg-elev);
  box-shadow: 0 0 0 1px var(--accent-2);
}
.template-option-title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 4px;
}
.template-option-angle {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0;
}

/* Email composer */
.email-composer {
  margin-top: 24px;
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.email-composer-header {
  padding: 16px 24px;
  background: var(--bg-elev-2);
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.email-composer-field {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 13px;
}
.email-composer-field-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  flex-shrink: 0;
  min-width: 56px;
}
.email-composer-field-value {
  color: var(--ink-dim);
}
.email-subject-input {
  width: 100%;
  padding: 12px 24px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}
.email-subject-input:focus {
  outline: none;
  background: rgba(217, 119, 66, 0.03);
}
.email-body-textarea {
  width: 100%;
  min-height: 400px;
  padding: 24px;
  background: transparent;
  border: none;
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  resize: vertical;
}
.email-body-textarea:focus {
  outline: none;
  background: rgba(217, 119, 66, 0.02);
}
.email-composer-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.email-char-count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-faint);
}
.email-char-count.over { color: var(--danger); }

/* Send status */
.rep-send-status {
  margin-top: 16px;
  padding: 16px 20px;
  border-radius: 10px;
  font-size: 14px;
  text-align: center;
}
.rep-send-status.success {
  background: rgba(46, 93, 63, 0.08);
  border: 1px solid rgba(46, 93, 63, 0.2);
  color: var(--accent);
}
.rep-send-status.error {
  background: rgba(139, 44, 27, 0.06);
  border: 1px solid rgba(139, 44, 27, 0.15);
  color: var(--danger);
}

/* =========================================================
   WAGE COLLAPSE CALCULATOR
   ========================================================= */
.calc-hero {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 24px 48px;
}
.calc-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Killer stat card */
.calc-killer-card {
  max-width: 560px;
  margin: 48px auto 0;
  padding: 48px 40px;
  background: var(--bg-elev);
  border: 1.5px solid var(--rule);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  text-align: center;
  position: relative;
}
.calc-killer-card::before {
  content: '';
  position: absolute;
  top: -1.5px;
  left: 24px;
  right: 24px;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-2) 50%, transparent 100%);
  border-radius: 2px;
}
.calc-killer-stat {
  font-family: var(--font-serif);
  font-size: clamp(80px, 14vw, 160px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--accent-2);
  font-feature-settings: 'tnum';
}
.calc-killer-text {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
  margin-top: 16px;
  font-style: italic;
}
.calc-killer-attr {
  display: block;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

/* Calculator input card */
.calc-input-card {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow-card);
}
.calc-input-card .form-row { position: relative; }
.calc-clear-btn {
  position: absolute;
  right: 12px;
  top: 34px;
  width: 28px;
  height: 28px;
  border: none;
  background: var(--bg-elev-2);
  color: var(--ink-dim);
  border-radius: 50%;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .15s;
}
.calc-clear-btn:hover {
  background: var(--rule);
  color: var(--ink);
}

/* Dropdown */
.calc-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 20;
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-top: none;
  border-radius: 0 0 8px 8px;
  box-shadow: var(--shadow-card);
  max-height: 320px;
  overflow-y: auto;
}
.calc-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  cursor: pointer;
  transition: background .1s;
  gap: 12px;
}
.calc-dropdown-item:hover,
.calc-dropdown-item.active {
  background: var(--bg-elev-2);
}
.calc-dd-label {
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
}
.calc-dd-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  font-weight: 600;
}
.calc-dd-badge[data-level="very-high"] { background: rgba(217, 119, 66, 0.15); color: var(--accent-2-deep); }
.calc-dd-badge[data-level="high"]      { background: rgba(217, 119, 66, 0.10); color: var(--accent-2); }
.calc-dd-badge[data-level="moderate"]  { background: rgba(46, 93, 63, 0.10); color: var(--accent); }
.calc-dd-badge[data-level="low"]       { background: rgba(46, 93, 63, 0.08); color: var(--accent-soft); }

/* Sector browse */
.calc-browse-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 24px 0 10px;
  text-align: center;
}
.calc-sector-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
@media (min-width: 560px) {
  .calc-sector-grid { grid-template-columns: repeat(4, 1fr); }
}
.calc-sector-btn {
  background: var(--bg);
  border: 1.5px solid var(--rule);
  border-radius: 8px;
  padding: 12px 8px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-dim);
  transition: all .15s ease;
  text-align: center;
}
.calc-sector-btn:hover {
  border-color: var(--accent-soft);
  color: var(--ink);
  background: var(--bg-elev);
}

/* Result header */
.calc-result-header {
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
}
.calc-result-name {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--ink);
}
.calc-result-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.calc-sector-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.calc-exposure-bar {
  height: 8px;
  background: var(--bg-elev-2);
  border-radius: 4px;
  overflow: hidden;
}
.calc-exposure-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent-soft) 0%, var(--accent-2) 60%, var(--accent-2-deep) 100%);
  transition: width .8s ease-out;
}

/* Chart */
.calc-chart-wrap {
  margin: 0 0 24px;
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 20px 16px;
  box-shadow: var(--shadow-soft);
}
.calc-chart-wrap canvas {
  display: block;
  width: 100%;
}

/* Tier cards */
.calc-tier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}
@media (max-width: 480px) {
  .calc-tier-grid { grid-template-columns: 1fr; }
}
.calc-tier-card {
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
}
.calc-tier-card.tier-1 { border-left: 4px solid var(--accent); }
.calc-tier-card.tier-2 { border-left: 4px solid var(--accent-2); }
.calc-tier-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.tier-1 .calc-tier-label { color: var(--accent); }
.tier-2 .calc-tier-label { color: var(--accent-2-deep); }
.calc-tier-value {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  font-feature-settings: 'tnum';
  margin-bottom: 4px;
}
.tier-1 .calc-tier-value { color: var(--accent); }
.tier-2 .calc-tier-value { color: var(--accent-2); }
.calc-tier-desc {
  font-size: 13px;
  color: var(--ink-faint);
}

/* Key sentence */
.calc-key-sentence {
  font-family: var(--font-serif);
  font-size: clamp(17px, 2vw, 21px);
  font-style: italic;
  color: var(--ink);
  line-height: 1.5;
  text-align: center;
  max-width: 56ch;
  margin: 0 auto 24px;
}
.calc-key-sentence strong {
  color: var(--accent-2-deep);
  font-weight: 700;
  font-style: normal;
}

/* Inline CTA */
.calc-inline-cta {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 15px;
  font-style: italic;
  color: var(--ink-dim);
  margin: 0 auto;
  max-width: 48ch;
}

/* Cascade timeline */
.calc-cascade-timeline {
  position: relative;
  padding-left: 40px;
}
.calc-cascade-timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--rule);
}
.calc-cascade-stage {
  position: relative;
  margin-bottom: 28px;
  padding: 20px 24px;
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
  transition: all .15s ease;
}
.calc-cascade-stage:last-child { margin-bottom: 0; }
.calc-cascade-stage.active {
  border-color: var(--accent-2);
  border-left: 4px solid var(--accent-2);
  box-shadow: var(--shadow-card);
}
.calc-cascade-marker {
  position: absolute;
  left: -40px;
  top: 20px;
  width: 30px;
  height: 30px;
  background: var(--bg-elev);
  border: 2px solid var(--rule);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.calc-cascade-stage.active .calc-cascade-marker {
  background: var(--accent-2);
  border-color: var(--accent-2);
}
.calc-cascade-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-dim);
}
.calc-cascade-stage.active .calc-cascade-num { color: #FFF8EB; }
.calc-cascade-year {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 4px;
}
.calc-cascade-name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
}
.calc-cascade-text {
  font-size: 14px;
  color: var(--ink-dim);
  line-height: 1.55;
  margin: 0;
}
.calc-cascade-you {
  font-size: 14px;
  color: var(--accent-2-deep);
  line-height: 1.55;
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}

/* Methodology */
.calc-methodology {
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
}
.calc-methodology summary {
  padding: 20px 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-dim);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.calc-methodology summary::-webkit-details-marker { display: none; }
.calc-methodology summary::before {
  content: '+';
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-2);
  transition: transform .2s;
}
.calc-methodology[open] summary::before {
  content: '\2212'; /* minus sign */
}
.calc-methodology-body {
  padding: 0 24px 24px;
  font-size: 14px;
  color: var(--ink-dim);
  line-height: 1.6;
}
.calc-methodology-body p { margin-bottom: 12px; }
.calc-methodology-body h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 20px 0 8px;
}
.calc-methodology-body ul {
  padding-left: 18px;
  margin: 8px 0;
}
.calc-methodology-body li { margin-bottom: 4px; }

/* =========================================================
   PIECE 06, THE PARENTS' WALL (Common Fate)
   ========================================================= */
.pw-hero {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 24px 80px;
}
.pw-hero .h1 {
  max-width: 16ch;
  margin-bottom: 0;
}

/* The Grid */
.pw-grid-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px 48px;
}
.pw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 720px) {
  .pw-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .pw-grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
}

/* Each tile */
.pw-tile {
  text-align: center;
  cursor: default;
}
.pw-tile-images {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-elev-2);
  border: 1px solid var(--rule);
}
.pw-tile-leader,
.pw-tile-child {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pw-tile-leader {
  z-index: 2;
  transition: opacity 1.2s ease;
}
.pw-tile-leader img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}
.pw-tile-child {
  z-index: 1;
  background: var(--bg-elev-2);
  flex-direction: column;
  gap: 8px;
  padding: 20%;
}
.pw-tile-child img,
.pw-tile-child svg {
  width: 60%;
  height: auto;
  opacity: 0.5;
}
/* Leader placeholder (when no photo yet) */
.pw-tile-leader-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elev);
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  filter: grayscale(100%);
}

/* Dissolve state */
.pw-tile.is-revealed .pw-tile-leader {
  opacity: 0;
}

/* Labels */
.pw-tile-info {
  margin-top: 12px;
  position: relative;
  min-height: 48px;
}
.pw-tile-label-leader,
.pw-tile-label-child {
  transition: opacity 0.8s ease;
}
.pw-tile-label-leader {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}
.pw-tile-role {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 2px;
}
.pw-tile-label-child {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transition: opacity 0.8s ease 0.4s;
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--accent-2-deep);
  font-style: italic;
}
.pw-tile.is-revealed .pw-tile-label-leader { opacity: 0; }
.pw-tile.is-revealed .pw-tile-label-child  { opacity: 1; }
.pw-tile.is-revealed .pw-tile-role { opacity: 0; transition: opacity 0.6s ease; }

/* Reveal line */
.pw-reveal-line {
  text-align: center;
  margin-top: 48px;
  font-family: var(--font-serif);
  font-size: clamp(18px, 2vw, 22px);
  font-style: italic;
  color: var(--ink-dim);
  line-height: 1.5;
  max-width: 48ch;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  transition: opacity 1.5s ease;
}
.pw-reveal-line.is-visible { opacity: 1; }

/* Argument */
.pw-argument {
  max-width: 640px;
  margin: 0 auto;
  padding: 64px 24px;
}
.pw-quote {
  font-family: var(--font-serif);
  font-size: clamp(19px, 2.4vw, 26px);
  font-weight: 500;
  font-style: italic;
  color: var(--ink);
  line-height: 1.45;
  border-left: 3px solid var(--accent-2);
  padding: 16px 24px;
  margin: 0 0 40px;
  background: rgba(217, 119, 66, 0.04);
}
.pw-argument-body p {
  font-size: 16px;
  color: var(--ink-dim);
  line-height: 1.65;
  margin-bottom: 16px;
}
.pw-argument-body p:last-child {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  margin-top: 32px;
}

/* Bridge */
.pw-bridge {
  text-align: center;
  padding: 64px 24px 80px;
  border-top: 1px solid var(--rule);
  background: linear-gradient(135deg, var(--bg-elev) 0%, var(--bg-elev-2) 100%);
  position: relative;
  overflow: hidden;
}
.pw-bridge::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(217, 119, 66, 0.06) 0%, transparent 60%);
  pointer-events: none;
}
.pw-bridge-line {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  font-style: italic;
  color: var(--ink);
  line-height: 1.3;
  max-width: 24ch;
  margin: 0 auto 40px;
  position: relative;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
