/* Dean Abrams for Governor — site styles ("Cinematic" design, Oct. 19, 2026).
   Light and dark share one token set. Theme: Auto follows the device; Light/Dark set data-theme on <html> (assets/theme.js).
   Brand colors from the campaign logo: navy #032459, red #DC212E. Font: Archivo (variable width + weight, SIL OFL, self-hosted). */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url(/assets/fonts/archivo-latin-standard-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url(/assets/fonts/archivo-latin-ext-standard-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #f6f7fb; --surface: #ffffff; --soft: #eceff6; --fg: #0b1a33; --muted: #4a5873; --line: #d4dbe8;
  --navy: #032459; --head: #032459; --red: #dc212e; --red-hover: #b81a26; --on-red: #ffffff;
  --band-bg: #032459; --band-fg: #ffffff; --band-muted: #c9d6ee; --band-accent: #ff9aa2;
  --leg-bg: #e4eaf5; --leg-fg: #032459;
  --hero-fade: 246, 247, 251; --glow: rgba(157, 184, 236, .55); --glow-2: rgba(220, 33, 46, .10); --grain: .05;
  --ok: #1d6b3a; --bad: #b42318; --focus: #dc212e; --ghost: rgba(11, 26, 51, .55);
  --sans: "Archivo", Arial, Helvetica, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #020d22; --surface: #061633; --soft: #0a1c3c; --fg: #ffffff; --muted: #a9b9d6; --line: #1d2f52;
  --navy: #032459; --head: #ffffff; --red: #e8303d; --red-hover: #ff4753; --on-red: #ffffff;
  --band-bg: #061633; --band-fg: #ffffff; --band-muted: #a9b9d6; --band-accent: #ff9aa2;
  --leg-bg: #13284f; --leg-fg: #c9d9f6;
  --hero-fade: 2, 13, 34; --glow: rgba(22, 89, 214, .55); --glow-2: rgba(220, 33, 46, .18); --grain: .12;
  --ok: #6fd69a; --bad: #ff8a8a; --focus: #ff6b76; --ghost: rgba(255, 255, 255, .6);
  color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg: #020d22; --surface: #061633; --soft: #0a1c3c; --fg: #ffffff; --muted: #a9b9d6; --line: #1d2f52;
  --navy: #032459; --head: #ffffff; --red: #e8303d; --red-hover: #ff4753; --on-red: #ffffff;
  --band-bg: #061633; --band-fg: #ffffff; --band-muted: #a9b9d6; --band-accent: #ff9aa2;
  --leg-bg: #13284f; --leg-fg: #c9d9f6;
  --hero-fade: 2, 13, 34; --glow: rgba(22, 89, 214, .55); --glow-2: rgba(220, 33, 46, .18); --grain: .12;
  --ok: #6fd69a; --bad: #ff8a8a; --focus: #ff6b76; --ghost: rgba(255, 255, 255, .6);
  color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img, svg { max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
h1, h2, h3 { line-height: 1.05; margin: 0 0 .5em; letter-spacing: -.02em; text-wrap: balance; }
h2 { font-size: clamp(30px, 4vw, 52px); font-weight: 300; }
h2 b { font-weight: 900; }
h3 { font-size: 22px; font-weight: 850; }
p { margin: 0 0 1em; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 820px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: var(--red); color: var(--on-red); padding: 10px 14px; }
.muted { color: var(--muted); }
.small { font-size: 14.5px; }
.center { text-align: center; margin-top: 28px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: 12.5px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 40px; height: 2px; background: var(--red); flex: none; }
.lede { font-size: 19px; color: var(--muted); max-width: 640px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px;
  font: 700 16px/1 var(--sans); text-decoration: none; border: 0; cursor: pointer; transition: background .15s, box-shadow .15s; }
.btn-primary { background: var(--red); color: var(--on-red); }
.btn-primary:hover { background: var(--red-hover); }
.btn-ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--ghost); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--fg); }
.btn-donate { min-height: 44px; padding: 0 22px; }
.show-phone { display: none !important; }
@media (max-width: 820px) { .hide-phone { display: none !important; } .show-phone { display: inline-flex !important; }
  .hero-join, .hero-join:hover { background: transparent; color: var(--red); box-shadow: inset 0 0 0 2px var(--red); } }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Header */
.site-header { position: relative; z-index: 15; }
.hdr { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 26px; min-height: 80px; }
.wordmark { margin-right: auto; font-weight: 900; font-stretch: 125%; font-size: 18px; letter-spacing: .02em; text-decoration: none; white-space: nowrap; }
.wordmark span { color: var(--red); }
.hdr-menu { display: flex; align-items: center; gap: 26px; }
.nav { display: flex; gap: 26px; font-size: 13.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.nav a { text-decoration: none; padding: 8px 0; opacity: .85; }
.nav a:hover { opacity: 1; }
.hdr-donate { display: none; } /* phones only, see the 820px block */
.nav a[aria-current="page"] { opacity: 1; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 7px; }
.nav-btn { display: none; min-width: 46px; min-height: 44px; border-radius: 999px; border: 0; box-shadow: inset 0 0 0 1.5px var(--line); background: var(--surface); color: var(--fg); font-size: 20px; cursor: pointer; }

/* Home: hero */
.hero { position: relative; overflow: hidden; margin-top: -80px; min-height: clamp(600px, 88vh, 880px); display: flex; align-items: flex-end; }
.hero-media { position: absolute; top: 80px; bottom: 0; right: max(0px, calc((100vw - 1200px) / 2)); width: min(50%, 640px); margin: 0; }
.hero-media::before { content: ""; position: absolute; left: 50%; top: 46%; width: 115%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, var(--glow) 0%, var(--glow-2) 42%, transparent 70%); }
.hero-media img { position: relative; display: block; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; animation: rise 1.2s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes rise { from { transform: translateY(28px); opacity: 0; } to { transform: none; opacity: 1; } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(0deg, rgb(var(--hero-fade)) 0%, rgba(var(--hero-fade), 0) 22%); }
.grain { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: var(--grain); mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero .wrap { position: relative; z-index: 3; width: 100%; padding-top: 140px; padding-bottom: 72px; }
.hero h1 { margin: 0; max-width: 640px; font-weight: 300; font-size: clamp(44px, 5.6vw, 92px); line-height: .95; letter-spacing: -.035em; }
.hero h1 b, .hero h1 em { font-weight: 900; font-stretch: 112%; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero-sub { max-width: 640px; display: flex; flex-wrap: wrap; gap: 18px 26px; align-items: center; margin-top: 30px; }
.hero-sub p { margin: 0; max-width: 440px; color: var(--muted); font-size: 18px; }
.hero-sub .cta-row { margin-top: 0; }
.scroll-cue { position: absolute; right: max(24px, env(safe-area-inset-right, 0px)); bottom: 30px; z-index: 3; writing-mode: vertical-rl; font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }

/* Home: five fights rail */
.rail-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding-top: 96px; padding-bottom: 26px; }
.rail-head h2 { margin: 0; font-size: clamp(34px, 4.6vw, 64px); line-height: 1; letter-spacing: -.03em; }
.rail-nav { display: flex; gap: 8px; }
.rail-nav button { width: 46px; height: 46px; border-radius: 50%; border: 0; box-shadow: inset 0 0 0 1.5px var(--line); background: var(--surface); color: var(--fg); font: 800 18px var(--sans); cursor: pointer; }
.rail-nav button:hover { box-shadow: inset 0 0 0 1.5px var(--fg); }
.rail-nav button:disabled { opacity: .35; cursor: default; }
/* Phones: no arrow buttons, so a "Scroll →" hint, and the cards nudge left once when they first come into view (assets/site.js). */
.rail-hint { display: none; }
@keyframes hint-arrow { 0%, 100% { transform: none; } 50% { transform: translateX(7px); } }
.rail { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain;
  padding-left: max(24px, calc((100vw - 1200px) / 2 + 24px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); padding-bottom: 40px;
  scroll-padding-left: max(24px, calc((100vw - 1200px) / 2 + 24px)); }
.rail::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 min(420px, 82vw); aspect-ratio: 4 / 5; scroll-snap-align: start; border-radius: 14px; position: relative; overflow: hidden; --pad: clamp(22px, 6.6vw, 30px); padding: var(--pad);
  display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none; color: #fff; isolation: isolate; container-type: inline-size; background: var(--card, #0a2a63); }
/* Photo fills the card; a tinted fade from the bottom keeps the words readable over any photo. */
.slide .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.slide::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--card) 0%, color-mix(in srgb, var(--card) 70%, transparent) 30%, transparent 58%); }
.slide:hover .bg { transform: scale(1.04); }
.slide .no { position: absolute; top: calc(var(--pad) - 4px); left: var(--pad); font-size: max(12px, 3.6cqi); font-weight: 800; letter-spacing: .2em; }
.slide h3 { margin: 0 0 3.6cqi; font-size: max(30px, 11.2cqi); line-height: .98; letter-spacing: -.03em; font-weight: 900; text-wrap: balance; }
.slide p { margin: 0; font-size: max(15px, 4.6cqi); line-height: 1.4; opacity: .95; }
.slide .more { margin-top: 6cqi; font-size: max(13px, 4cqi); font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.s1 { --card: #6e1230; } .s2 { --card: #4a0a12; } .s3 { --card: #0b3f7a; } .s4 { --card: #2a2140; }
.s5 { --card: #0b3540; } .s6 { --card: #151a48; }
.s7 { --card: #f6c9d3; color: #032459; } .s7::before { background: linear-gradient(0deg, #f7c6d1 0%, rgba(247, 205, 215, .75) 34%, transparent 62%); }
.s3 .more { color: #8fe0f5; }

/* Home: Instagram feed (Elfsight widget) */
.social .wrap { padding-top: 40px; padding-bottom: 80px; }
.social-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 24px; margin-bottom: 26px; }
.social-head h2 { margin: 0; font-size: clamp(34px, 4.6vw, 64px); line-height: 1; letter-spacing: -.03em; }
.ig-feed { min-height: 320px; }

/* Home: quote */
.quote { background: var(--surface); border-block: 1px solid var(--line); }
.quote .wrap { padding-top: 100px; padding-bottom: 100px; text-align: center; }
.quote blockquote { margin: 0 auto; max-width: 980px; font-size: clamp(26px, 3.6vw, 48px); line-height: 1.15; font-weight: 300; letter-spacing: -.02em; text-wrap: balance; }
.quote blockquote b { font-weight: 900; }
.quote cite { display: block; margin-top: 22px; font-style: normal; font-size: 12.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.quote .cta-row { justify-content: center; margin-top: 30px; }

/* Home: sign-up band */
.join-band { background: var(--red); color: var(--on-red); }
.join-band .wrap { padding-top: 80px; padding-bottom: 80px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 30px; }
.join-band h2 { margin: 0; font-size: clamp(40px, 6vw, 88px); line-height: .9; font-weight: 900; letter-spacing: -.04em; }
.quick { flex: 1 1 360px; max-width: 480px; }
.quick .line { display: flex; align-items: center; border-bottom: 2px solid currentColor; }
.quick input { flex: 1; min-width: 0; min-height: 56px; background: none; border: 0; color: inherit; font: 20px var(--sans); }
.quick input::placeholder { color: inherit; opacity: .8; }
.quick input:focus-visible { outline: none; }
.quick .line:focus-within { box-shadow: 0 2px 0 0 currentColor; }
.quick button { background: none; border: 0; color: inherit; font: 800 15px var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; min-height: 44px; }
.quick .form-msg { color: inherit; margin-top: 10px; }
.quick .small { margin: 10px 0 0; opacity: .9; }
.quick .small a { color: inherit; }

/* Inner pages */
.page-head { padding-top: 56px; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(40px, 5.6vw, 80px); font-weight: 300; letter-spacing: -.035em; line-height: .98; margin-bottom: 18px; color: var(--fg); }
.page-head h1 b { font-weight: 900; font-stretch: 112%; }
.band { padding-top: 64px; padding-bottom: 64px; }
.band-soft { background: var(--soft); }
.band-ink { background: var(--band-bg); color: var(--band-fg); }
.band-ink .small, .band-ink p, .band-ink li { color: var(--band-muted); }
.band-ink h2, .band-ink h3 { color: var(--band-fg); }
.band-ink h3 { border-bottom: 3px solid var(--red); padding-bottom: 8px; display: inline-block; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.prose h2 { font-weight: 900; font-size: clamp(30px, 3.6vw, 44px); }
.prose h3 { margin-top: 1.4em; color: var(--head); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .6em; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.toc a { font-size: 14px; font-weight: 700; text-decoration: none; padding: 8px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); }
.toc a:hover { box-shadow: inset 0 0 0 1.5px var(--fg); }
.tag { display: inline-block; vertical-align: middle; font: 800 11.5px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 6px 9px; border-radius: 4px; margin-left: 6px; }
.tag-leg { background: var(--leg-bg); color: var(--leg-fg); }
.owed dt { font-weight: 850; font-size: 20px; margin-top: 18px; color: var(--head); }
.owed dd { margin: 4px 0 0; }
.person { display: flex; align-items: center; gap: 18px; margin: 8px 0 18px; }
.person ~ .person { margin-top: 40px; }
.person h2 { margin: 0; font-size: 32px; font-weight: 900; }
.person p { margin: 0; }
.avatar { flex: none; width: 112px; height: 112px; border-radius: 50%; object-fit: cover; background: var(--soft); box-shadow: 0 0 0 3px var(--bg), 0 0 0 6px var(--red); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 28px; }
.notice { background: var(--soft); border-left: 4px solid var(--red); border-radius: 4px; padding: 18px 20px; margin-bottom: 20px; }
.donate-panel { text-align: center; margin-bottom: 24px; }
.donate-panel .lede { margin: 0 auto 20px; }
.btn-big { min-height: 60px; padding: 0 44px; font-size: 1.15rem; }
.social-big { display: flex; flex-wrap: wrap; gap: 10px; }
.social-big a { font-weight: 700; text-decoration: none; border-radius: 999px; padding: 10px 16px; box-shadow: inset 0 0 0 1.5px var(--line); }
.social-big a:hover { box-shadow: inset 0 0 0 1.5px var(--fg); }

/* Issues page: sticky section list on wide screens, chips in the page head on phones */
.page-head .toc { display: none; }
.issues-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; padding-top: 48px; padding-bottom: 72px; }
.issues-nav { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 2px; max-height: calc(100vh - 48px); overflow-y: auto; padding-right: 6px; }
.issues-nav-h { margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.issues-nav a:not(.btn) { display: flex; gap: 10px; align-items: baseline; padding: 7px 10px; border-radius: 6px; text-decoration: none; font-size: 14.5px; font-weight: 600; color: var(--muted); border-left: 3px solid transparent; }
.issues-nav a:not(.btn) span { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; opacity: .7; min-width: 18px; }
.issues-nav a:not(.btn):hover { color: var(--fg); background: var(--soft); }
.issues-nav a.on { color: var(--fg); background: var(--soft); border-left-color: var(--red); }
.issues-nav .btn { margin-top: 18px; }
.issues-body { max-width: 760px; min-width: 0; }
.issue-sec { padding-top: 8px; padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line); scroll-margin-top: 16px; }
.issue-sec:last-child { border-bottom: 0; }
.issue-sec .sec-no { margin: 0 0 6px; font-size: 13px; font-weight: 800; letter-spacing: .2em; color: var(--red); }
.issue-sec h2 { font-weight: 900; font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -.03em; margin-bottom: .4em; }
.issue-sec h3 { font-size: 23px; margin-top: 1.6em; scroll-margin-top: 16px; }
.issue-sec h3 .anchor { margin-left: 4px; color: var(--muted); text-decoration: none; font-weight: 400; opacity: 0; transition: opacity .15s; }
.issue-sec h3:hover .anchor, .issue-sec h3 .anchor:focus-visible { opacity: 1; }
.issue-sec .sub-label { margin: 1.2em 0 .4em; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.issue-sec ul { margin: 0 0 1em; }
.issue-sec ul ul { margin: .4em 0 0; }
.issue-sec li b { color: var(--head); }
.issue-sec .closer { margin-top: 1.6em; padding: 20px 22px; border-left: 4px solid var(--red); background: var(--soft); font-weight: 700; font-size: 18px; }
.table-wrap { overflow-x: auto; margin: 0 0 1.2em; border: 1px solid var(--line); border-radius: 8px; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 15.5px; font-variant-numeric: tabular-nums; }
.table-wrap th, .table-wrap td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.table-wrap th { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--soft); }
.table-wrap td:not(:first-child), .table-wrap th:not(:first-child) { text-align: right; white-space: nowrap; }
.table-wrap tr.total td { font-weight: 800; border-bottom: 0; }

/* Share rows (Issues page head and the end of each section) */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px; }
.share-l { margin-right: 4px; font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.share a, .share button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 0; border-radius: 999px;
  background: none; color: var(--fg); font: 700 14px var(--sans); text-decoration: none; cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--line); }
.share a:hover, .share button:hover { box-shadow: inset 0 0 0 1.5px var(--fg); }
.share .native { background: var(--red); color: var(--on-red); box-shadow: none; }
.share .native:hover { background: var(--red-hover); box-shadow: none; }
.share button.done { color: var(--ok); }
.issue-sec .share { margin-top: 28px; padding-top: 18px; border-top: 1px dashed var(--line); }
.issue-sec .share a span, .issue-sec .share button:not(.native) span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.issue-sec .share a, .issue-sec .share button:not(.native) { width: 44px; padding: 0; justify-content: center; }
.copied-note { position: fixed; left: 50%; bottom: 24px; z-index: 40; transform: translateX(-50%); padding: 10px 16px; border-radius: 999px; background: var(--fg); color: var(--bg); font-weight: 700; font-size: 14.5px; }

/* Back to top (every page; shows after the first screen) */
.to-top { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: max(18px, env(safe-area-inset-bottom, 0px)); z-index: 30;
  display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 16px 0 14px; border-radius: 999px; background: var(--red); color: var(--on-red);
  font: 800 13px var(--sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; box-shadow: 0 8px 24px rgba(2, 13, 34, .28);
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .25s, transform .25s, background .15s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--red-hover); }

/* Media page (gallery rendered by worker/media.js) */
.page-head .m-folders { display: flex; }
.m-folders a[aria-current] { background: var(--fg); color: var(--bg); box-shadow: none; }
.m-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 28px; align-items: start; }
.m-item { margin: 0; }
.m-img { display: block; border-radius: 10px; overflow: hidden; background: var(--soft); }
.m-img img { display: block; width: 100%; height: auto; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
a.m-img:hover img { transform: scale(1.03); }
.m-item figcaption { margin-top: 12px; font-size: 15.5px; line-height: 1.5; white-space: pre-line; }
.m-share { margin-top: 12px; gap: 6px; }
.m-share a, .m-share button { width: 44px; padding: 0; justify-content: center; }
.m-share a span, .m-share button:not(.native) span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.m-share .m-dl { width: auto; padding: 0 14px; margin-left: auto; }
.m-share .m-dl span { position: static; width: auto; height: auto; clip: auto; }
.m-share .native { width: auto; padding: 0 14px; }
.m-big { max-width: 960px; margin: 0 auto; }
.m-big figcaption { font-size: 19px; }
.m-back { max-width: 960px; margin: 0 auto 18px; font-weight: 700; }
.m-back a { text-decoration: none; }
.m-empty { color: var(--muted); font-size: 18px; }

/* Sign-up form (Join page) */
.signup .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.signup label { display: block; margin-bottom: 12px; font-weight: 700; font-size: 14.5px; }
.signup label span { display: block; margin-bottom: 4px; }
.signup input:not([type=checkbox]) { width: 100%; min-height: 50px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 8px; font: 17px var(--sans); background: var(--bg); color: var(--fg); }
.signup input:focus { border-color: var(--fg); outline: none; }
.signup .check { display: flex; align-items: center; gap: 10px; font-weight: 600; margin: 4px 0 16px; }
.signup .check input { width: 22px; height: 22px; accent-color: var(--red); }
.signup .check.sms { align-items: flex-start; font-weight: 400; font-size: .9rem; line-height: 1.45; }
.signup .check.sms input { flex: none; margin-top: 2px; }
.signup .btn { width: 100%; }
.signup .small { margin-top: 12px; color: var(--muted); }
.hp { position: absolute; left: -9999px; }
.form-msg { font-weight: 700; margin: 8px 0 0; min-height: 1.5em; }
.form-msg.ok { color: var(--ok); }
.form-msg.bad { color: var(--bad); }
.join-band .form-msg.ok, .join-band .form-msg.bad { color: inherit; }

/* Footer */
.site-footer { color: var(--muted); font-size: 14.5px; border-top: 1px solid var(--line); }
.site-footer .wrap { padding-top: 44px; padding-bottom: 32px; }
.ft { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.ft-name { font-weight: 900; font-stretch: 112%; font-size: 20px; color: var(--fg); margin-bottom: 6px; }
.ft-name span { color: var(--red); }
.ft-links, .ft-social { display: flex; flex-direction: column; gap: 8px; }
.ft-links a, .ft-social a { text-decoration: none; }
.ft-links a:hover, .ft-social a:hover { color: var(--fg); text-decoration: underline; }
.disclaimer { margin: 30px 0 0; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 4px; color: var(--fg); font-weight: 700; font-size: 13.5px; }
.ft-copy { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; }
.theme-toggle { display: inline-flex; align-items: center; gap: 4px; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.theme-toggle .tt-l { padding: 0 8px 0 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.theme-toggle button { min-height: 32px; padding: 0 12px; border: 0; border-radius: 999px; background: none; color: var(--fg); font: 700 13px var(--sans); cursor: pointer; }
.theme-toggle button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }

@media (max-width: 980px) {
  .hero-media { width: 52%; }
  .issues-layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 24px; }
  .issues-nav { display: none; }
  .page-head .toc { display: flex; }
}
@media (max-width: 820px) {
  body { font-size: 16.5px; }
  .wrap { padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); }
  .nav-btn { display: inline-flex; align-items: center; justify-content: center; }
  .hdr-menu { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 8px; padding: 0 0 14px; }
  .hdr-menu.open { display: flex; }
  .hdr-donate { display: inline-flex; padding: 0 18px; }
  .page-home .hdr-donate { display: none; } /* home has its own Donate pill in the hero on phones */
  .hdr-menu .btn-donate { display: none; }
  .nav { flex-direction: column; gap: 0; }
  .nav a { padding: 12px 0; border-top: 1px solid var(--line); }
  .hero { display: block; min-height: 0; margin-top: 0; }
  .hero::after, .scroll-cue { display: none; }
  .hero-media { position: relative; top: auto; right: auto; width: 100%; height: min(108vw, 460px);
    -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 26%); mask-image: linear-gradient(0deg, transparent 0%, #000 26%); }
  .hero .wrap { padding-top: 0; padding-bottom: 48px; margin-top: -28px; }
  .rail-head { padding-top: 64px; }
  .rail-nav { display: none; }
  .rail-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .rail-hint { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 12.5px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); transition: opacity .4s; }
  .rail-hint span { color: var(--red); font-size: 16px; letter-spacing: 0; animation: hint-arrow 1.4s ease-in-out infinite; }
  .rail-hint.done { opacity: 0; }
  .rail { padding-left: max(18px, env(safe-area-inset-left, 0px)); scroll-padding-left: max(18px, env(safe-area-inset-left, 0px)); }
  .quote .wrap { padding-top: 64px; padding-bottom: 64px; }
  .join-band .wrap { padding-top: 56px; padding-bottom: 56px; }
  .band { padding-top: 48px; padding-bottom: 48px; }
  .page-head { padding-top: 32px; padding-bottom: 40px; }
  .split, .ft { grid-template-columns: 1fr; gap: 28px; }
  .signup .row { grid-template-columns: 1fr; gap: 0; }
  .cta-row .btn { flex: 1 1 auto; }
}
@media (max-width: 420px) { .wordmark { font-size: 15px; } .hdr { gap: 10px; } }
@media (max-width: 360px) { .wordmark { font-size: 14px; font-stretch: 100%; letter-spacing: 0; } .hdr { gap: 8px; } .hdr-donate { padding: 0 12px; } .nav-btn { min-width: 44px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .rail { scroll-behavior: auto; } }

/* Scroll reveal (assets/site.js). Only active when JavaScript runs and the visitor allows motion:
   without either, everything is simply visible. */
.rv-on [data-rv] { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--rv-d, 0ms); will-change: opacity, transform; }
.rv-on [data-rv="right"] { transform: translate3d(70px, 0, 0); }
.rv-on [data-rv="left"] { transform: translate3d(-50px, 0, 0); }
.rv-on [data-rv="zoom"] { transform: scale(.94); }
.rv-on [data-rv].rv-in { opacity: 1; transform: none; }
.rv-on .slide[data-rv].rv-in:hover .bg { transform: scale(1.04); }
.hero-media { will-change: transform; }
@media (prefers-reduced-motion: reduce) { .rv-on [data-rv] { opacity: 1; transform: none; } }
