/* ============================================================
   Phil Stokes — concept · "Ledger" system
   Cool-light, statement-grade. Deliberately distinct from the
   previous build in this system (warm ivory + deep navy +
   Cormorant) and from the District 4 field (white + royal blue/red
   + bold Inter).

   Palette : cool near-white canvas, ONE deep-teal accent, ONE dark band
   Type    : Archivo (display) · Inter Tight (body) · JetBrains Mono (labels)
   Idea    : his credentials set like a financial statement — mono column
             labels, oversized TABULAR figures, hairline rules.
   ============================================================ */

:root {
  --bg: #FBFCFE;            /* cool near-white canvas */
  --bg-2: #F1F4F9;          /* alt wash */
  --surface: #FFFFFF;
  --ink: #101720;           /* near-black */
  --ink-2: #4E5967;         /* muted body — 6.93:1 on --bg */
  --ink-3: #656E7C;         /* faint labels — 5.02:1 on --bg, 4.68:1 on --bg-2 */
  --line: rgba(16,23,32,.10);
  --line-2: rgba(16,23,32,.055);
  --accent: #0C6B5E;        /* THE one accent — deep teal. 6.39:1 on white,
                               so white text on it also passes AA. */
  --accent-deep: #08544A;
  --accent-soft: rgba(12,107,94,.09);
  --dark: #0C1A1C;          /* the single dark band + body underlay */

  --shadow-sm: 0 1px 2px rgba(16,23,32,.04), 0 2px 8px rgba(16,23,32,.05);
  --shadow: 0 6px 16px rgba(16,23,32,.06), 0 18px 40px rgba(16,23,32,.07);

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Shared photo grade. No photography is used yet — the hero is fully
     typographic because no cleared portrait exists. When the campaign supplies
     images, every one of them gets this filter so they read as one shoot.
     ⚠️ Keep in sync with GRADE in make_og.py. */
  --grade: saturate(1.06) contrast(1.06) brightness(1.01);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --maxw: 1160px;
  --pad: clamp(20px, 5vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

/* overflow-x: CLIP, not hidden. `hidden` forces overflow-y to compute to `auto`,
   which makes <body> a nested scroll container and produces phantom scroll space
   below the footer — Chrome-for-Android only, invisible everywhere else. */
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* body is DARK and <main> carries the light canvas. The overscroll/rubber-band
   area and the iOS status-bar strip both take the BODY background, not the
   footer's — so a light body under a dark footer shows a slab of white when you
   pull past the bottom. Dark body + opaque light main fixes both ends at once. */
body {
  background: var(--dark);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16.5px;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
main { background: var(--bg); }

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08;
  letter-spacing: -0.022em; }

/* every figure on the page is tabular — this is the whole conceit */
.lc-fig, .vd-day, .tl-when, .st-num, .w-num { font-variant-numeric: tabular-nums; }

.mono { font-family: var(--mono); font-weight: 400; letter-spacing: .1em;
  text-transform: uppercase; font-size: 11px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
.section { padding-block: clamp(70px, 11vw, 132px); position: relative; }
.section.wash { background: var(--bg-2); }

.skip { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--accent);
  color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; }

:where(a, button, input, textarea):focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px;
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 9px; border: 0; cursor: pointer;
  font-family: var(--sans); font-weight: 500; font-size: 15px; letter-spacing: -0.005em;
  padding: 13px 22px; border-radius: 10px; transition: background .25s var(--ease),
  color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-solid { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-solid:hover { background: var(--accent-deep); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(12,107,94,.28); }
.btn-ghost:hover { background: var(--accent-soft); }
.btn-lg { padding: 16px 28px; font-size: 16px; }

/* ---------- header ---------- */
#site-head { position: fixed; inset: 0 0 auto; z-index: 100;
  background: rgba(251,252,254,.82); backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line-2); }

/* authority strip — the civic-page pattern of stating jurisdiction up top.
   Collapses to 0 on scroll so the glass nav stays slim. */
.gov-strip { background: var(--dark); color: rgba(255,255,255,.74); overflow: hidden;
  height: 34px; transition: height .35s var(--ease); }
.gov-strip .wrap { height: 34px; display: flex; align-items: center;
  justify-content: space-between; gap: 16px; }
.gov-strip span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .09em;
  text-transform: uppercase; white-space: nowrap; }
.gs-left { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.gs-left > span { overflow: hidden; text-overflow: ellipsis; }
.seal { width: 14px; height: 14px; flex: none; fill: none; stroke: var(--accent);
  stroke-width: 1.7; }
#site-head.scrolled .gov-strip { height: 0; }

.nav { display: flex; align-items: center; gap: 22px; height: 68px;
  transition: height .35s var(--ease); }
#site-head.scrolled .nav { height: 62px; }

.brand { display: inline-flex; align-items: center; gap: 11px; margin-right: auto; }
.brand .mark { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--accent);
  stroke-width: 1.8; }
.bn { font-family: var(--display); font-weight: 600; font-size: 17.5px;
  letter-spacing: -0.02em; line-height: 1.1; }
.bn small { display: block; font-family: var(--mono); font-weight: 400; font-size: 9.5px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-top: 3px; }

.nav-links { display: flex; gap: 26px; }
.nav-links a { font-size: 14.5px; color: var(--ink-2); position: relative;
  transition: color .2s var(--ease); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px;
  height: 1.5px; background: var(--accent); transition: right .3s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { right: 0; }
.head-cta { padding: 10px 18px; font-size: 14px; }

.burger { display: none; background: none; border: 0; cursor: pointer; width: 40px;
  height: 40px; padding: 10px; }
.burger span { display: block; height: 1.6px; background: var(--ink); border-radius: 2px; }
.burger span + span { margin-top: 5px; }

/* ---------- mobile drawer ---------- */
/* The drawer is hidden in the BASE rule, not behind .js — this is the one
   hidden-by-default state that must NOT be gated on JS. Gated, a no-JS visitor
   got a full-screen dark panel covering the entire page, because nothing was
   left to hide it. Only the *transition* is scoped to .js.

   visibility: hidden, not just opacity + pointer-events: the drawer carries
   aria-hidden="true" when closed, and opacity alone leaves its links in the tab
   order — the "[aria-hidden] element contains focusable descendants"
   accessibility failure. visibility is transitionable, so the fade still works;
   it is delayed to the end of the close so the panel doesn't vanish mid-fade. */
#drawer { position: fixed; inset: 0; z-index: 120; background: var(--dark); color: #fff;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  gap: 6px; padding: var(--pad);
  opacity: 0; visibility: hidden; pointer-events: none; }
#drawer.open { opacity: 1; visibility: visible; pointer-events: auto; }
.js #drawer { transform: translateY(-12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease),
              visibility 0s linear .3s; }
.js #drawer.open { transform: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease),
              visibility 0s linear 0s; }
/* the burger cannot do anything without JS, so don't offer it. The always-visible
   footer nav is the no-JS route between sections. */
html:not(.js) .burger { display: none !important; }
#drawer nav { display: flex; flex-direction: column; gap: 4px; margin-bottom: 22px; }
#drawer nav a { font-family: var(--display); font-weight: 600; font-size: 30px;
  letter-spacing: -0.025em; padding-block: 8px; }
.dclose { position: absolute; top: 20px; right: 20px; background: none; border: 0;
  color: #fff; cursor: pointer; width: 44px; height: 44px; padding: 10px; }

/* ============================================================
   1 · HERO — fully typographic, no photo dependency
   ============================================================ */
/* overflow: CLIP, not hidden — same reason as on html/body. The bloom below is
   wider than a phone viewport, and `hidden` made .hero a nested horizontal
   scroll container (scrollWidth 420 vs clientWidth 375 at 375px), so the hero
   could be swiped sideways on touch. `clip` clips without ever scrolling. */
.hero { padding-top: clamp(148px, 21vw, 214px); padding-bottom: clamp(56px, 8vw, 96px);
  position: relative; overflow: clip; }
/* one soft teal bloom, low opacity — the only decoration in the hero */
.hero::before { content: ""; position: absolute; top: -22%; right: -12%; width: 60vw;
  height: 60vw; max-width: 760px; max-height: 760px; border-radius: 50%;
  background: radial-gradient(circle, rgba(12,107,94,.075), transparent 66%);
  pointer-events: none; }

/* type column + portrait plate. The plate column is capped in px rather than a
   fraction so the portrait can't outgrow the name beside it on a wide monitor. */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 420px);
  gap: clamp(30px, 5vw, 76px); align-items: center; }
.hero-copy { min-width: 0; }

.hero-photo { margin: 0; justify-self: end; width: 100%; max-width: 420px; }
.hero-photo img { width: 100%; height: auto; border-radius: 16px;
  filter: var(--grade); box-shadow: var(--shadow);
  outline: 1px solid var(--line); outline-offset: -1px; }

.eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 22px; }

.hero h1 { font-size: clamp(58px, 12.5vw, 152px); font-weight: 700; letter-spacing: -0.038em;
  line-height: .92; margin-bottom: 28px; }
.hero-lede { font-size: clamp(17px, 2.1vw, 21.5px); line-height: 1.55; color: var(--ink-2);
  max-width: 40ch; margin-bottom: 26px; }
.hero-slogan { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px;
  padding-left: 16px; border-left: 2px solid var(--accent); margin-bottom: 38px;
  max-width: 46ch; }
.hero-slogan span { font-family: var(--display); font-weight: 500; font-size: clamp(17px, 2vw, 20px);
  letter-spacing: -0.02em; }
.hero-slogan i { font-family: var(--mono); font-style: normal; font-size: 10.5px;
  letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* hero arrives on load rather than on scroll */
.js .hero .eyebrow, .js .hero h1, .js .hero .hero-lede,
.js .hero .hero-slogan, .js .hero .hero-cta, .js .hero .hero-photo {
  opacity: 0; transform: translateY(20px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.js .hero.in .eyebrow    { opacity: 1; transform: none; transition-delay: .05s; }
.js .hero.in h1          { opacity: 1; transform: none; transition-delay: .12s; }
.js .hero.in .hero-lede  { opacity: 1; transform: none; transition-delay: .22s; }
.js .hero.in .hero-slogan{ opacity: 1; transform: none; transition-delay: .30s; }
.js .hero.in .hero-cta   { opacity: 1; transform: none; transition-delay: .38s; }
.js .hero.in .hero-photo { opacity: 1; transform: none; transition-delay: .18s; }

/* ============================================================
   2 · CREDENTIALS — the ledger band (signature moment)
   Set like a financial statement: mono column labels, oversized
   tabular figures, hairline rules that draw in from the left.
   ============================================================ */
.ledger-band { background: var(--surface); border-block: 1px solid var(--line);
  padding-block: clamp(30px, 4.6vw, 52px); }

.lb-cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px;
  padding-bottom: 20px; }
.lb-cap .mono { color: var(--accent); }
.lb-note { font-size: 12.5px; color: var(--ink-3); }

.ledger { display: grid; grid-template-columns: repeat(6, 1fr); }
.lc { padding: 22px 18px 4px; position: relative; }
.lc:first-child { padding-left: 0; }
.lc:last-child { padding-right: 0; }

/* the hairline rules ARE the ledger. Each cell's top rule draws in from the left
   when the band reveals; the vertical hairlines separate the columns. */
.lc::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--line); transform-origin: left center; }
.js .ledger .lc::before { transform: scaleX(0); transition: transform .8s var(--ease); }
.js .ledger.in .lc::before { transform: scaleX(1); }
.js .ledger.in .lc:nth-child(2)::before { transition-delay: .06s; }
.js .ledger.in .lc:nth-child(3)::before { transition-delay: .12s; }
.js .ledger.in .lc:nth-child(4)::before { transition-delay: .18s; }
.js .ledger.in .lc:nth-child(5)::before { transition-delay: .24s; }
.js .ledger.in .lc:nth-child(6)::before { transition-delay: .30s; }

.lc + .lc::after { content: ""; position: absolute; top: 22px; bottom: 8px; left: 0;
  width: 1px; background: var(--line-2); }

.lc-fig { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 4.6vw, 54px);
  letter-spacing: -0.04em; line-height: 1; color: var(--ink); display: flex;
  align-items: baseline; gap: 1px; }
.lc-fig i { font-style: normal; font-size: .48em; font-weight: 600; color: var(--accent);
  letter-spacing: -0.02em; }
.lc-fig i.pre { font-size: .5em; margin-right: 1px; }
.lc-lab { font-family: var(--mono); font-size: 10px; letter-spacing: .085em;
  text-transform: uppercase; color: var(--ink-3); margin-top: 11px; line-height: 1.45; }

/* ============================================================
   shared section furniture
   ============================================================ */
.head { max-width: 60ch; margin-bottom: clamp(38px, 5vw, 60px); }
.head .eyebrow { margin-bottom: 16px; }
.head h2 { font-size: clamp(29px, 4.5vw, 50px); margin-bottom: 18px; }
.head p { color: var(--ink-2); font-size: clamp(15.5px, 1.7vw, 17.5px); max-width: 58ch; }

/* draft marker — every page of draft copy is labelled as draft */
.draft-note { display: block; background: var(--accent-soft);
  border-left: 2px solid var(--accent); border-radius: 0 8px 8px 0;
  padding: 14px 18px; font-size: 14px; color: var(--ink-2); max-width: 74ch;
  margin-bottom: clamp(30px, 4vw, 46px); }
.draft-note b { color: var(--ink); font-weight: 600; }

.foot-note { margin-top: clamp(28px, 3.6vw, 44px); padding-top: 18px;
  border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3);
  max-width: 82ch; }
.foot-note b { color: var(--ink-2); font-weight: 600; }
.foot-note a, .vote-note a { color: var(--accent); text-decoration: underline;
  text-decoration-thickness: 1px; text-underline-offset: 2px; }

/* ============================================================
   3 · RECORD — timeline
   ============================================================ */
.timeline { list-style: none; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 168px 1fr; gap: 28px;
  padding: 26px 0; border-top: 1px solid var(--line); position: relative; }
.timeline li:last-child { border-bottom: 1px solid var(--line); }

.tl-when { font-family: var(--mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-3); padding-top: 5px; }
.tl-what h3 { font-size: clamp(18px, 2.1vw, 22px); margin-bottom: 8px; }
.tl-what p { color: var(--ink-2); font-size: 15.5px; max-width: 64ch; }
.tl-what b { color: var(--ink); font-weight: 600; }

/* the two entries that carry real weight get the accent */
.tl-key .tl-when { color: var(--accent); }
.tl-key .tl-what h3::before { content: ""; display: inline-block; width: 6px; height: 6px;
  border-radius: 50%; background: var(--accent); vertical-align: .32em; margin-right: 10px; }

/* ============================================================
   4 · WHERE HE STANDS — numbered editorial rows, each with a
   credential tag and a source line
   ============================================================ */
.stands { display: grid; gap: 0; }
.stand { display: grid; grid-template-columns: 92px 1fr; gap: 24px;
  padding: clamp(30px, 4vw, 46px) 0; border-top: 1px solid var(--line); }
.stand:last-child { border-bottom: 1px solid var(--line); }

.st-num { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.04em; line-height: 1; color: var(--accent); opacity: .32; }
.st-tag { display: inline-block; font-family: var(--mono); font-size: 10px;
  letter-spacing: .09em; text-transform: uppercase; color: var(--accent);
  background: var(--accent-soft); padding: 6px 11px; border-radius: 6px;
  margin-bottom: 15px; }
.st-body h3 { font-size: clamp(21px, 2.7vw, 30px); margin-bottom: 15px; max-width: 34ch; }
.st-body p { color: var(--ink-2); font-size: 16px; max-width: 66ch; }
.st-body p + p { margin-top: 13px; }

.stand blockquote { margin: 20px 0 0; padding-left: 18px;
  border-left: 2px solid var(--accent); max-width: 56ch; }
.stand blockquote { font-family: var(--display); font-weight: 500; font-size: clamp(17px, 2vw, 21px);
  letter-spacing: -0.02em; line-height: 1.4; color: var(--ink); }
.stand blockquote cite { display: block; margin-top: 10px; font-family: var(--mono);
  font-style: normal; font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase;
  color: var(--ink-3); }
.st-src { margin-top: 18px; font-size: 12.5px; color: var(--ink-3) !important; }

/* ============================================================
   5 · HOW TO VOTE — tabbed tool with an oversized date block
   ============================================================ */
.vote-card { background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }

.vote-tabs { display: flex; border-bottom: 1px solid var(--line); }
.vote-tabs button { flex: 1; background: none; border: 0; cursor: pointer;
  padding: 17px 12px; font-size: 14.5px; font-weight: 500; color: var(--ink-3);
  position: relative; transition: color .22s var(--ease), background .22s var(--ease); }
.vote-tabs button + button { border-left: 1px solid var(--line-2); }
.vote-tabs button:hover { color: var(--ink-2); background: var(--bg-2); }
.vote-tabs button[aria-selected="true"] { color: var(--accent); background: var(--accent-soft); }
.vote-tabs button[aria-selected="true"]::after { content: ""; position: absolute;
  left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); }

/* panels are OPEN by default; only html.js collapses them, so a no-JS visitor
   reads all three instead of one */
.vote-panel { display: grid; grid-template-columns: 190px 1fr; gap: clamp(20px, 3vw, 38px);
  padding: clamp(24px, 3.4vw, 40px); }
.vote-panel + .vote-panel { border-top: 1px solid var(--line); }
.js .vote-panel { display: none; }
.js .vote-panel.active { display: grid; }

.vote-date { background: var(--dark); color: #fff; border-radius: 12px;
  padding: 22px 18px; text-align: center; align-self: start; }
.vd-mon { font-family: var(--mono); font-size: 10.5px; letter-spacing: .11em;
  text-transform: uppercase; color: rgba(255,255,255,.72); }
.vd-day { font-family: var(--display); font-weight: 700; font-size: clamp(48px, 7vw, 68px);
  letter-spacing: -0.045em; line-height: 1.02; margin-block: 4px 6px; }
.vd-yr { font-family: var(--mono); font-size: 10.5px; letter-spacing: .09em;
  text-transform: uppercase; color: var(--bg); }

.vote-body h3 { font-size: clamp(19px, 2.3vw, 25px); margin-bottom: 12px; }
.vote-body > p { color: var(--ink-2); font-size: 15.5px; max-width: 62ch; }
.vote-body b { color: var(--ink); font-weight: 600; }
.vb-meta { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 18px 0; }
.vb-meta span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .07em;
  text-transform: uppercase; color: var(--ink-3); background: var(--bg-2);
  border: 1px solid var(--line-2); border-radius: 6px; padding: 7px 11px; }
.vb-meta b { color: var(--accent); font-weight: 500; }

.vote-note { margin-top: 22px; font-size: 13px; color: var(--ink-3); max-width: 84ch; }

/* ============================================================
   6 · GET INVOLVED
   ============================================================ */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.way { background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: clamp(22px, 2.6vw, 30px); display: flex; flex-direction: column;
  align-items: flex-start; }
.w-num { color: var(--accent); margin-bottom: 16px; }
.way h3 { font-size: clamp(19px, 2.1vw, 22px); margin-bottom: 10px; }
.way p { color: var(--ink-2); font-size: 15px; margin-bottom: 20px; flex: 1; }

.reach { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 52px);
  margin-top: clamp(34px, 4.4vw, 56px); padding-top: clamp(34px, 4.4vw, 56px);
  border-top: 1px solid var(--line); }
.reach-l h3 { font-size: clamp(21px, 2.5vw, 28px); margin-bottom: 12px; }
.reach-l > p { color: var(--ink-2); font-size: 15.5px; max-width: 44ch; }
.reach-mail { display: inline-block; margin: 18px 0; font-family: var(--mono);
  font-size: clamp(12px, 1.5vw, 14px); color: var(--accent); word-break: break-all;
  border-bottom: 1px solid rgba(12,107,94,.32); padding-bottom: 2px; }
.reach-warn { font-size: 13px; color: var(--ink-3); max-width: 48ch;
  border-left: 2px solid var(--line); padding-left: 14px; }
.reach-warn b { color: var(--ink-2); font-weight: 600; }

.reach-f { display: grid; gap: 14px; align-content: start; }
.reach-f label { display: grid; gap: 7px; font-family: var(--mono); font-size: 10px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.reach-f input, .reach-f textarea { font-family: var(--sans); font-size: 15.5px;
  letter-spacing: normal; text-transform: none; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: 9px;
  padding: 12px 14px; resize: vertical; transition: border-color .2s var(--ease); }
.reach-f input:focus, .reach-f textarea:focus { border-color: var(--accent); }
.reach-f .btn { justify-self: start; }
.form-msg { font-size: 14px; color: var(--accent); }

/* ============================================================
   footer — the one dark band, and the mark signs the page
   ============================================================ */
footer { background: var(--dark); color: rgba(255,255,255,.68);
  padding-block: clamp(46px, 6vw, 76px) clamp(28px, 3.4vw, 40px); }
.f-top { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 34px;
  padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.1); }
.f-brand { color: #fff; margin-right: auto; }
.f-brand .bn small { color: rgba(255,255,255,.55); }
.f-brand .mark { stroke: #fff; }
.f-nav { display: flex; flex-wrap: wrap; gap: 20px; }
.f-nav a { font-size: 14px; color: rgba(255,255,255,.68);
  transition: color .2s var(--ease); }
.f-nav a:hover { color: #fff; }
.f-social { display: flex; gap: 8px; }
.f-social a { width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 9px; background: rgba(255,255,255,.07);
  transition: background .22s var(--ease); }
.f-social a:hover { background: rgba(255,255,255,.16); }
.f-social svg { width: 17px; height: 17px; fill: #fff; }

/* §106.143 — the legally required line. Given real prominence, and spelled right.
   The campaign/treasurer approves this wording; we only place it. */
.disclaimer { margin-top: 30px; font-family: var(--mono); font-size: 11px;
  letter-spacing: .07em; text-transform: uppercase; line-height: 1.7; color: #fff;
  background: rgba(255,255,255,.06); border-left: 2px solid var(--accent);
  border-radius: 0 8px 8px 0; padding: 15px 18px; max-width: 74ch; }

.f-bot { display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: 20px 34px; margin-top: 28px; }
.f-legal { font-size: 12.5px; color: rgba(255,255,255,.52); max-width: 76ch; }
.f-legal b { color: rgba(255,255,255,.78); font-weight: 600; }

/* Discreet bottom-right attribution, per the house standard. .45 flattened to
   #798182 on --dark = 4.47:1 and failed WCAG AA by 0.03; .52 measures 5.56:1 and
   is still visually subtle. Don't lower this again — it costs Accessibility 100. */
.f-credit { font-size: 12.5px; color: rgba(255,255,255,.52); white-space: nowrap; }
.f-credit i { font-family: var(--display); font-style: italic; }
.f-credit a { color: rgba(255,255,255,.72); border-bottom: 1px solid rgba(255,255,255,.22); }
.f-credit a:hover { color: #fff; }

/* the mark signs the page: stroke draws, then fills.
   CLOSED path, so stroke-dasharray MUST EXCEED pathLength (108 vs 100) — equal
   values butt the dash's tail against its own head at the start vertex and leave
   a permanent hairline crack. */
footer.sign-ready .mark path { stroke-dasharray: 108 108; stroke-dashoffset: 108;
  stroke-linejoin: round; stroke-linecap: round; fill: transparent; }
footer.sign .mark path { stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.1s var(--ease); }

/* concept ribbon — injected by app.js, removed for a real launch */
.ribbon { position: fixed; right: 10px; bottom: 10px; z-index: 130;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em;
  text-transform: uppercase; color: #fff; background: rgba(12,26,28,.88);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  padding: 7px 11px; border-radius: 7px; pointer-events: none;
  box-shadow: 0 2px 10px rgba(16,23,32,.18); }

/* ============================================================
   Layer 1 motion — reveal system
   Every hidden-by-default state is scoped to html.js (set by an inline
   head script), so with JS off nothing is ever hidden.
   ============================================================ */
.js [data-reveal] { opacity: 0; transform: translateY(24px);
  transition: opacity .85s var(--ease), transform .85s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal][data-d="1"] { transition-delay: .08s; }
.js [data-reveal][data-d="2"] { transition-delay: .16s; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1000px) {
  /* 6 columns → 3. The vertical hairline is suppressed on the first cell of each
     ROW, so the rules stay a grid rather than a stray line down the left edge. */
  .ledger { grid-template-columns: repeat(3, 1fr); }
  .lc, .lc:first-child, .lc:last-child { padding-inline: 16px; }
  .lc:nth-child(3n+1) { padding-left: 0; }
  .lc:nth-child(3n) { padding-right: 0; }
  .lc + .lc::after { display: block; }
  .lc:nth-child(3n+1)::after { display: none; }
  .ways { grid-template-columns: 1fr; }
  .reach { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  /* the header CTA overflows a phone width and pushes the burger off-screen —
     it lives in the drawer instead */
  .nav-links, .head-cta { display: none; }
  .burger { display: block; }
  .gs-right { display: none; }
  /* portrait drops below the type block and is capped so it doesn't dominate the
     fold on a phone */
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { justify-self: start; max-width: min(74vw, 330px); }
  .timeline li { grid-template-columns: 1fr; gap: 8px; }
  .tl-when { padding-top: 0; }
  .stand { grid-template-columns: 1fr; gap: 10px; }
  .st-num { font-size: 26px; }
  .vote-panel { grid-template-columns: 1fr; }
  .vote-date { display: flex; align-items: baseline; gap: 12px; text-align: left;
    padding: 15px 18px; }
  .vd-day { font-size: 38px; margin: 0; }
}

@media (max-width: 560px) {
  /* 3 columns → 2. The 3-column padding + hairline rules above have to be undone
     explicitly first, or cells 4 and 7 keep a 3-col alignment inside a 2-col grid. */
  .ledger { grid-template-columns: repeat(2, 1fr); }
  .lc:nth-child(3n+1) { padding-left: 16px; }
  .lc:nth-child(3n) { padding-right: 16px; }
  .lc:nth-child(3n+1)::after { display: block; }
  .lc:nth-child(2n+1) { padding-left: 0; }
  .lc:nth-child(2n) { padding-right: 0; }
  .lc:nth-child(2n+1)::after { display: none; }
  .vote-tabs { flex-direction: column; }
  .vote-tabs button + button { border-left: 0; border-top: 1px solid var(--line-2); }
  .vote-tabs button[aria-selected="true"]::after { display: none; }
  .f-bot { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   Reduced motion — kill every transform/transition, keep everything legible
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js [data-reveal], .js .hero .eyebrow, .js .hero h1, .js .hero .hero-lede,
  .js .hero .hero-slogan, .js .hero .hero-cta, .js .hero .hero-photo {
    opacity: 1 !important; transform: none !important; }
  .js .ledger .lc::before { transform: scaleX(1) !important; }
  footer.sign-ready .mark path { stroke-dasharray: none; stroke-dashoffset: 0; }
}

@media print {
  #site-head, #drawer, .burger, .hero::before { display: none !important; }
  body, main, footer { background: #fff !important; color: #000 !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .js .vote-panel { display: grid !important; }
}
