@font-face { font-family: "Bespoke Stencil"; src: url("/assets/fonts/bespoke-stencil-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Bespoke Stencil"; src: url("/assets/fonts/bespoke-stencil-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Bespoke Stencil"; src: url("/assets/fonts/bespoke-stencil-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --asphalt: #121110;
  --raised: #1b1915;
  --seam: #2a2722;
  --bone: #ece4d3;
  --dim: #a39b8c;
  --sodium: #c99a55;
  --sodium-lo: #8a6a3d;
  --rec: #b5503c;
  --stencil: "Bespoke Stencil", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--asphalt);
  color: var(--bone);
  font: 400 1.0625rem/1.6 var(--body);
  overflow-x: hidden;
 
}
/* AIDEV-NOTE: Road-surface grain lives on a fixed layer BEHIND content (z-index -1), never over text. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .92 0 0 0 0 .89 0 0 0 0 .82 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
sup { font-size: .62em; line-height: 0; }
sup a { color: var(--sodium); text-decoration: none; padding: 0 .1em; }
sup a:hover { color: var(--bone); }
strong { font-weight: 650; color: var(--bone); }
:focus-visible { outline: 2px solid var(--sodium); outline-offset: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--bone); color: var(--asphalt); padding: 10px 14px; font-weight: 600; }
.skip:focus { top: 16px; }
section[id], .done { scroll-margin-top: 84px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  z-index: 20;
  top: 14px;
  left: 50%;
  translate: -50% 0;
  width: min(100% - 28px, 760px);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 14px;
  background: rgb(27 25 21 / .9);
  box-shadow: inset 0 0 0 1px rgb(236 228 211 / .07), inset 0 1px 0 rgb(236 228 211 / .06);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: nav-in .7s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes nav-in { from { translate: -50% -14px; } to { translate: -50% 0; } }
.nav__mark { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.05rem/1 var(--stencil); letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.nav__eye { width: 30px; height: 18px; color: var(--bone); }
.nav nav { display: flex; gap: 2px; margin-left: auto; }
.nav nav a { text-decoration: none; color: var(--dim); font-size: .9rem; padding: 8px 12px; transition: color .2s; }
.nav nav a:hover { color: var(--bone); }
.nav__cta {
  text-decoration: none;
  background: var(--bone);
  color: var(--asphalt);
  font: 700 .95rem/1 var(--stencil);
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 11px 18px;
  transition: background-color .2s;
}
.nav__cta:hover { background: var(--sodium); }
@media (max-width: 720px) {
  .nav nav { display: none; }
  .nav__cta { margin-left: auto; }
}

/* ---------- feed (hero) ---------- */
.feed {
  position: relative;
  min-height: 100svh;
  min-height: max(100svh, 620px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}
.feed__scene { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; transition: filter 1.2s ease; }
.feed::after {
  /* darkens only the lower band behind the title; fades out before the section edge is reached by the next section's matching asphalt */
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 62%;
  z-index: -1;
  background: linear-gradient(to bottom, rgb(18 17 16 / 0), rgb(18 17 16 / .55) 45%, rgb(18 17 16 / .92) 82%, var(--asphalt));
  pointer-events: none;
}
.scene__lamp rect { animation: hum 7s steps(1) infinite; }
@keyframes hum { 0%, 61%, 64%, 100% { opacity: 1; } 62% { opacity: .55; } 63% { opacity: .85; } }
.scene__car { animation: drive 14s linear infinite; transform-origin: 820px 507px; }
@keyframes drive {
  0% { transform: translate(0, 0) scale(1); opacity: 0; }
  6% { opacity: 1; }
  100% { transform: translate(0, -2px) scale(.2); opacity: 0; }
}

.feed__frame { position: absolute; inset: clamp(70px, 9vh, 92px) var(--gutter) clamp(18px, 3vh, 28px); pointer-events: none; }
.corner { position: absolute; width: 34px; height: 34px; border: 0 solid rgb(236 228 211 / .55); }
.corner--tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.corner--tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.corner--bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.corner--br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }

.hud { position: absolute; inset: clamp(70px, 9vh, 92px) var(--gutter) auto; display: flex; justify-content: space-between; padding: 14px 18px; pointer-events: none; font: 500 .74rem/1.5 var(--mono); color: rgb(236 228 211 / .78); letter-spacing: .04em; text-transform: uppercase; }
.hud p { margin: 0; }
.hud__tl span { color: var(--dim); }
.hud__tr { text-align: right; font-variant-numeric: tabular-nums; }
.rec { color: var(--bone); }
.rec::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--rec); vertical-align: 0; animation: blink 1.6s steps(1) infinite; }
@keyframes blink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: .2; } }
@media (max-width: 560px) { .hud__wide { display: none; } }
.hud__off { display: none; position: absolute; right: 18px; top: 14px; color: var(--bone); }

.reticle {
  position: absolute;
  left: 0; top: 0;
  width: 132px;
  color: rgb(236 228 211 / .85);
  pointer-events: none;
  z-index: 1;
  translate: 62vw 40vh;
  will-change: translate;
}
.reticle svg { width: 132px; height: 88px; }
.reticle p { margin: 6px 0 0; font: 500 .66rem/1.4 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: rgb(236 228 211 / .7); white-space: nowrap; }
.reticle.is-locked svg { color: var(--bone); }

.feed__copy {
  width: min(100% - 2 * var(--gutter), 1480px);
  margin: 0 auto;
  padding: 0 clamp(4px, 1.6vw, 22px) clamp(48px, 9vh, 92px);
  display: grid;
  grid-template-columns: 1fr minmax(260px, 360px);
  gap: 32px clamp(24px, 4vw, 64px);
  align-items: end;
}
.feed__title {
  margin: 0;
  font: 700 clamp(4.2rem, 10.6vw, 11.5rem)/.86 var(--stencil);
  text-transform: uppercase;
  letter-spacing: .005em;
  color: var(--bone);
}
.feed__side { padding-bottom: .6rem; }
.feed__lede { margin: 0 0 22px; font-size: 1.08rem; line-height: 1.5; color: rgb(236 228 211 / .82); max-width: 34ch; }

/* The off switch: the knob slides to OFF on hover; a real state change, no lift. */
.switch { display: inline-flex; align-items: center; gap: 16px; text-decoration: none; padding: 10px 18px 10px 10px; background: var(--bone); color: var(--asphalt); transition: background-color .25s; }
.switch__track { position: relative; width: 58px; height: 30px; background: var(--asphalt); flex: none; }
.switch__knob { position: absolute; top: 4px; left: 32px; width: 22px; height: 22px; background: var(--rec); transition: left .35s cubic-bezier(.6,0,.2,1), background-color .35s; }
.switch:hover .switch__knob, .switch:focus-visible .switch__knob { left: 4px; background: var(--dim); }
.switch:hover { background: var(--sodium); }
.switch__label { display: flex; flex-direction: column; font: 700 1.35rem/1 var(--stencil); text-transform: uppercase; letter-spacing: .02em; }
.switch__label small { font: 500 .82rem/1.3 var(--body); text-transform: none; letter-spacing: 0; margin-top: 4px; }

@media (max-width: 1080px) {
  .feed__copy { grid-template-columns: 1fr; }
  .feed__title { font-size: clamp(4.2rem, 13.5vw, 8.5rem); }
}
@media (max-width: 820px) {
  .hud { font-size: .64rem; padding: 12px 14px; }
  .reticle { width: 96px; }
  .reticle svg { width: 96px; height: 64px; }
}

/* camera-off state, set after signing (persisted) */
.cam-off .feed__scene { filter: brightness(.38) saturate(.4); }
.cam-off .scene__car, .cam-off .scene__lamp rect { animation: none; }
.cam-off .reticle, .cam-off .hud__tr { display: none; }
.cam-off .hud__off { display: block; }
.cam-off .switch__knob { left: 4px; background: var(--dim); }

/* ---------- receipts ---------- */
.receipts { padding: clamp(80px, 12vw, 150px) 0 clamp(60px, 9vw, 110px); }
.receipts__lead { display: grid; grid-template-columns: auto minmax(0, 32ch); gap: 12px 40px; align-items: end; }
.bignum { margin: 0; font: 700 clamp(3.4rem, 11vw, 10.5rem)/.9 var(--stencil); letter-spacing: .01em; color: var(--bone); }
.receipts__cap { margin: 0 0 .6em; color: var(--dim); font-size: 1.1rem; }
@media (max-width: 860px) { .receipts__lead { grid-template-columns: 1fr; } }

.cars { margin: clamp(56px, 8vw, 96px) 0 0; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px clamp(32px, 5vw, 72px); align-items: center; }
.cars__field { position: relative; display: grid; grid-template-columns: repeat(20, 1fr); gap: clamp(6px, 1vw, 14px) clamp(4px, .6vw, 9px); max-width: 640px; }
@media (max-width: 560px) { .cars__field { grid-template-columns: repeat(10, 1fr); gap: 7px 9px; max-width: 300px; } }
.car { aspect-ratio: 1 / 1.9; color: var(--seam); }
.car svg { width: 100%; height: 100%; }
.car.is-lit { color: var(--bone); }
.car .tail { fill: #3a352c; }
.car.is-lit .tail { fill: var(--sodium); }
.cars__lock {
  position: absolute;
  left: 0; top: 0;
  border: 2px solid var(--sodium);
  pointer-events: none;
  transition: translate .9s cubic-bezier(.6,0,.2,1), width .9s, height .9s;
}
.cars figcaption { color: var(--dim); font-size: 1.1rem; max-width: 36ch; }
.cars figcaption strong { display: block; font: 700 clamp(2.4rem, 5vw, 3.6rem)/1 var(--stencil); text-transform: uppercase; margin-bottom: 14px; }
@media (max-width: 860px) { .cars { grid-template-columns: 1fr; } }

.facts { margin: clamp(64px, 9vw, 110px) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px clamp(24px, 3vw, 44px); }
.facts div { display: grid; grid-template-rows: auto 1fr; gap: 12px; }
.facts dt { font: 700 clamp(2rem, 3.6vw, 3rem)/1 var(--stencil); text-transform: uppercase; white-space: nowrap; }
.facts dd { margin: 0; color: var(--dim); font-size: 1rem; }
@media (max-width: 960px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .facts { grid-template-columns: 1fr; } }

/* ---------- why ---------- */
.why { padding: clamp(70px, 10vw, 130px) 0; position: relative; }
/* A lane line handed down from the hero road: a column of road-paint dashes, centered, as the section seam. */
.why::before, .village::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 6px;
  height: 130px;
  translate: -50% -50%;
  background: repeating-linear-gradient(to bottom, #3a352c 0 30px, transparent 30px 50px);
  border-radius: 3px;
}
.why__title { margin: 0; font: 700 clamp(2.6rem, 6.6vw, 6rem)/.95 var(--stencil); text-transform: uppercase; max-width: 15ch; }
.why__intro { margin: 28px 0 0; max-width: 52ch; font-size: 1.2rem; color: rgb(236 228 211 / .82); }
.tenets { margin-top: clamp(56px, 7vw, 88px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(28px, 4vw, 56px); }
/* subgrid keeps every title and body on a shared row across columns, whatever wraps */
.tenets article { display: grid; grid-row: span 2; grid-template-rows: subgrid; padding-bottom: clamp(40px, 5vw, 64px); }
.tenets h3 { margin: 0 0 12px; font: 700 1.55rem/1.08 var(--stencil); text-transform: uppercase; letter-spacing: .01em; }
.tenets p { margin: 0; color: var(--dim); }
.tenets article:hover h3 { color: var(--sodium); }
.tenets h3 { transition: color .25s; }
@media (max-width: 960px) { .tenets { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .tenets { grid-template-columns: 1fr; } }

/* ---------- sign ---------- */
.sign { position: relative; isolation: isolate; padding: clamp(80px, 10vw, 130px) 0; }
/* The streetlight comes back: one directional wash from the upper right, no radial halo.
   Masked top and bottom so it never meets the neighbouring sections at a hard seam. */
.sign::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(200deg, rgb(201 154 85 / .11) 0%, rgb(201 154 85 / .04) 30%, transparent 60%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgb(0 0 0 / .25) 6%, rgb(0 0 0 / .6) 12%, #000 20%, #000 72%, rgb(0 0 0 / .5) 86%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgb(0 0 0 / .25) 6%, rgb(0 0 0 / .6) 12%, #000 20%, #000 72%, rgb(0 0 0 / .5) 86%, transparent 100%);
  pointer-events: none;
}
.sign__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px clamp(40px, 6vw, 96px); align-items: start; }
.petition { position: sticky; top: 96px; }
.petition__title { margin: 0 0 28px; font: 700 clamp(3rem, 7.5vw, 6.6rem)/.9 var(--stencil); text-transform: uppercase; }
.petition__letter { font-size: 1.12rem; color: rgb(236 228 211 / .86); max-width: 44ch; }
.petition__letter p { margin: 0 0 16px; }
.petition__to { font-weight: 600; color: var(--bone); }
.count { margin: 32px 0 0; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; color: var(--dim); }
.count [data-count-n] { font: 700 2.4rem/1 var(--stencil); color: var(--bone); font-variant-numeric: tabular-nums; }
.count.is-empty [data-count-n] { font: 600 1.1rem/1.4 var(--body); color: var(--bone); }
@media (max-width: 900px) {
  .sign__grid { grid-template-columns: 1fr; }
  .petition { position: static; }
}

.form { background: var(--raised); padding: clamp(22px, 3.4vw, 40px); box-shadow: inset 0 0 0 1px rgb(236 228 211 / .05), inset 0 1px 0 rgb(236 228 211 / .06); }
.form fieldset { border: 0; margin: 0 0 30px; padding: 0; min-width: 0; }
.form legend { padding: 0; margin-bottom: 14px; font: 700 1.2rem/1.2 var(--stencil); text-transform: uppercase; letter-spacing: .02em; color: var(--bone); }
.hint { font: 400 .85rem/1.3 var(--body); text-transform: none; letter-spacing: 0; color: var(--dim); margin-left: 6px; }
.form label { display: block; font-size: .92rem; color: rgb(236 228 211 / .8); margin-bottom: 14px; }
.form label .hint { margin-left: 4px; }
.form .fieldnote { margin: -8px 0 14px; font-size: .95rem; }
.label { margin: 6px 0 10px; font-size: .92rem; color: rgb(236 228 211 / .8); }
.form input:not([type="radio"], [type="checkbox"]), .form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 13px;
  background: var(--asphalt);
  color: var(--bone);
  border: 0;
  border-radius: 0;
  box-shadow: inset 0 0 0 1px var(--seam), inset 0 -2px 0 var(--seam);
  font: 400 1rem/1.4 var(--body);
  transition: box-shadow .2s;
}
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form textarea:focus { outline: none; box-shadow: inset 0 0 0 1px var(--seam), inset 0 -2px 0 var(--sodium); }
.form input[aria-invalid="true"] { box-shadow: inset 0 0 0 1px var(--seam), inset 0 -2px 0 var(--rec); }
.form textarea::placeholder { color: #6f685c; }
.row { display: grid; gap: 0 14px; }
.row--2 { grid-template-columns: 1fr 1fr; }
.row--town { grid-template-columns: 1fr 9rem; }
.short { max-width: 12rem; }
@media (max-width: 460px) { .row--2 { grid-template-columns: 1fr; } .row--town { grid-template-columns: 1fr 7rem; } }

.choices { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.choices--wrap { display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .choices--wrap { grid-template-columns: 1fr; } }
.form .choice { margin: 0; position: relative; display: flex; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px 11px 12px;
  background: var(--asphalt);
  box-shadow: inset 0 0 0 1px var(--seam);
  color: rgb(236 228 211 / .86);
  font-size: .95rem;
  line-height: 1.3;
  cursor: pointer;
  transition: box-shadow .2s, background-color .2s, color .2s;
}
.choice span::before { content: ""; flex: none; width: 14px; height: 14px; box-shadow: inset 0 0 0 2px #4a443a; transition: box-shadow .2s, background-color .2s; }
.choice input[type="radio"] + span::before { border-radius: 50%; }
.choice:hover span { box-shadow: inset 0 0 0 1px #4a443a; }
.choice input:checked + span { background: #221f1a; color: var(--bone); box-shadow: inset 0 0 0 1px var(--sodium-lo); }
.choice input:checked + span::before { background: var(--sodium); box-shadow: inset 0 0 0 3px var(--asphalt), 0 0 0 2px var(--sodium); }
.choice input:focus-visible + span { outline: 2px solid var(--sodium); outline-offset: 2px; }

.form .check { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 14px; cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--sodium); }
.check input:disabled + span { opacity: .45; }
.reveal { margin-top: 4px; }
.reveal[hidden] { display: none; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__error { margin: 0 0 16px; padding: 12px 14px; background: rgb(181 80 60 / .16); color: var(--bone); }

.submit {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 19px 22px;
  border: 0;
  border-radius: 0;
  background: var(--bone);
  color: var(--asphalt);
  font: 700 1.4rem/1 var(--stencil);
  text-transform: uppercase;
  letter-spacing: .03em;
  cursor: pointer;
  transition: background-color .2s;
}
.submit:hover { background: var(--sodium); }
.submit:disabled { cursor: progress; background: var(--dim); }
.fineprint { margin: 18px 0 0; font-size: .84rem; line-height: 1.55; color: var(--dim); }
.fineprint a { color: var(--bone); }

.done { background: var(--raised); padding: clamp(28px, 4vw, 52px); box-shadow: inset 0 0 0 1px rgb(236 228 211 / .05); outline: none; }
.done[hidden] { display: none; }
.done__title { margin: 0 0 16px; font: 700 clamp(3rem, 7vw, 5.4rem)/.9 var(--stencil); text-transform: uppercase; }
.done__line { font-size: 1.25rem; color: var(--bone); margin: 0 0 10px; }
.done p { color: rgb(236 228 211 / .82); }
.share { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 26px; }
.share__btn { display: block; text-align: center; padding: 14px; background: var(--asphalt); color: var(--bone); border: 0; box-shadow: inset 0 0 0 1px var(--seam); font: 700 1rem/1 var(--stencil); text-transform: uppercase; letter-spacing: .03em; text-decoration: none; cursor: pointer; transition: box-shadow .2s, color .2s; }
.share__btn:hover { box-shadow: inset 0 0 0 1px var(--sodium); color: var(--sodium); }

/* ---------- village ---------- */
.village { position: relative; padding: clamp(80px, 10vw, 130px) 0; }
.village__grid { display: grid; gap: clamp(28px, 4vw, 48px); }
.village__body { columns: 2 22rem; column-gap: clamp(40px, 6vw, 96px); }
.village__body p { break-inside: avoid; }
.village__title { margin: 0; font: 700 clamp(2.3rem, 5vw, 4.4rem)/.95 var(--stencil); text-transform: uppercase; }
.village__body p { margin: 0 0 18px; color: rgb(236 228 211 / .84); font-size: 1.1rem; max-width: 56ch; }
.village__body a { color: var(--bone); text-decoration-color: var(--sodium-lo); text-underline-offset: 3px; }
.village__body a:hover { text-decoration-color: var(--sodium); }

/* ---------- footer ---------- */
.foot { padding-top: clamp(60px, 8vw, 100px); overflow: hidden; background: linear-gradient(to bottom, transparent, #0d0c0b 40%); }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: 32px clamp(32px, 5vw, 72px); align-items: start; padding-bottom: clamp(36px, 5vw, 60px); }
.foot__about { margin: 0; color: var(--dim); max-width: 46ch; }
.sources summary { cursor: pointer; font: 700 1.05rem/1.2 var(--stencil); text-transform: uppercase; letter-spacing: .03em; list-style: none; }
.sources summary::-webkit-details-marker { display: none; }
.sources summary::after { content: " +"; color: var(--sodium); }
.sources[open] summary::after { content: " \2212"; }
.sources ol { margin: 14px 0 0; padding-left: 1.2em; color: var(--dim); font-size: .88rem; }
.sources li { margin-bottom: 8px; }
.sources li:target { color: var(--bone); }
.foot__links { margin: 0; display: flex; gap: 22px; font-size: .95rem; }
.foot__links a { color: var(--bone); text-decoration: none; }
.foot__links a:hover { color: var(--sodium); }
@media (max-width: 900px) { .foot__grid { grid-template-columns: 1fr; } }

/* AIDEV-NOTE: The wordmark is anchored flush to the page bottom and bleeds only downward (stencil caps
   have no descenders, so the shaved edge is below the letters). Size is width-fit; re-check if the copy changes. */
.foot__word {
  margin: 0 0 -.1em;
  text-align: center;
  white-space: nowrap;
  font: 700 clamp(2.6rem, 11.2vw, 13rem)/1 var(--stencil);
  text-transform: uppercase;
  letter-spacing: .02em;
  color: #24211c;
  user-select: none;
}

/* ---------- blackout (camera switching off) ---------- */
.blackout { position: fixed; inset: 0; z-index: 60; background: #000; display: grid; place-items: center; pointer-events: none; }
.blackout[hidden] { display: none; }
.blackout span { display: block; width: 100%; height: 3px; background: var(--bone); }
.blackout.is-on { animation: bo-fade 1.5s ease forwards; }
.blackout.is-on span { animation: bo-line 1s cubic-bezier(.7,0,.3,1) forwards; }
@keyframes bo-line { 0% { transform: scaleX(1); opacity: 1; } 55% { transform: scaleX(.004); opacity: 1; } 100% { transform: scaleX(0); opacity: 0; } }
@keyframes bo-fade { 0%, 70% { opacity: 1; } 100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
