/* =====================================================================
   FAIRWEATHER BUREAU - main.css
   Fictional regional meteorological service for the Kestrel Valley,
   est. 1934. Identity: "Isobar Ledger" - warm paper, ink navy, bureau
   red, barometric blue; Source Serif 4 variable against IBM Plex Mono.
   All colours OKLCH tokens. No frameworks. Everything fictional.
   ===================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  /* surfaces */
  --paper:        oklch(0.965 0.014 88);   /* warm chart paper */
  --paper-dim:    oklch(0.935 0.018 88);
  --paper-deep:   oklch(0.905 0.022 86);
  --panel:        oklch(0.99 0.008 92);    /* ruled card */
  --ink:          oklch(0.31 0.045 262);   /* ink navy */
  --ink-soft:     oklch(0.42 0.04 262);
  --ink-faint:    oklch(0.56 0.03 262);
  --red:          oklch(0.56 0.185 30);    /* bureau red */
  --red-deep:     oklch(0.46 0.16 30);
  --blue:         oklch(0.60 0.11 235);    /* barometric blue */
  --blue-deep:    oklch(0.48 0.10 235);
  --sky:          oklch(0.90 0.04 225);
  --moss:         oklch(0.55 0.09 150);    /* "all clear" green */
  --amber:        oklch(0.72 0.13 75);     /* caution */
  --storm:        oklch(0.35 0.06 268);

  /* type */
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", "Courier New", monospace;

  /* scale (1.25 modular, fluid) */
  --step-0: clamp(1.02rem, 0.98rem + 0.2vw, 1.12rem);
  --step-1: clamp(1.22rem, 1.15rem + 0.35vw, 1.42rem);
  --step-2: clamp(1.5rem, 1.36rem + 0.7vw, 1.92rem);
  --step-3: clamp(1.86rem, 1.6rem + 1.3vw, 2.55rem);
  --step-4: clamp(2.3rem, 1.85rem + 2.2vw, 3.4rem);
  --step-5: clamp(2.8rem, 2.1rem + 3.4vw, 4.4rem);
  --step-6: clamp(3.3rem, 2.3rem + 5vw, 5.6rem);

  /* space */
  --sp-1: 0.35rem; --sp-2: 0.7rem; --sp-3: 1.1rem;
  --sp-4: 1.8rem;  --sp-5: 2.9rem; --sp-6: 4.6rem; --sp-7: 7rem;

  /* misc */
  --line: oklch(0.31 0.045 262 / 0.16);
  --line-strong: oklch(0.31 0.045 262 / 0.42);
  --radius: 2px;
  --wrap: 68rem;
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 280ms;
  --header-h: 4.1rem;

  --heading-weight: 620;
  --kicker-weight: 600;
}

[data-theme="storm"] {
  --paper:        oklch(0.24 0.03 265);
  --paper-dim:    oklch(0.27 0.032 265);
  --paper-deep:   oklch(0.30 0.034 265);
  --panel:        oklch(0.28 0.032 265);
  --ink:          oklch(0.93 0.012 88);
  --ink-soft:     oklch(0.80 0.02 88);
  --ink-faint:    oklch(0.66 0.02 88);
  --red:          oklch(0.70 0.17 30);
  --red-deep:     oklch(0.62 0.15 30);
  --blue:         oklch(0.72 0.10 235);
  --blue-deep:    oklch(0.82 0.08 235);
  --sky:          oklch(0.34 0.05 235);
  --line: oklch(0.93 0.012 88 / 0.18);
  --line-strong: oklch(0.93 0.012 88 / 0.45);
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: var(--step-0);
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--red-deep); text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { line-height: 1.12; font-weight: var(--heading-weight); letter-spacing: -0.012em; text-wrap: balance; }
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { max-width: 62ch; }
::selection { background: var(--red); color: var(--paper); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: var(--radius); }
strong { font-weight: 640; }
code, kbd, .mono {
  font-family: var(--mono);
  font-size: 0.86em;
  letter-spacing: 0.01em;
}
hr { border: 0; border-top: 1px solid var(--line); margin: var(--sp-5) 0; }

/* skip link */
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper);
  padding: 0.7rem 1.1rem; z-index: 100;
  font-family: var(--mono); font-size: 0.85rem;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* ---------- 3. Layout ---------- */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.2rem); }
section { padding-block: var(--sp-6); }
.section-rule { border-top: 2px solid var(--ink); }
.grid { display: grid; gap: var(--sp-4); }
@media (min-width: 46em) {
  .grid.cols-2 { grid-template-columns: 1fr 1fr; }
  .grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
}
.stack > * + * { margin-top: var(--sp-3); }

/* ---------- 4. Header & navigation ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklch, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--ink);
  min-height: var(--header-h);
  display: flex; align-items: stretch;
}
.site-head .wrap { display: flex; align-items: center; gap: var(--sp-4); width: 100%; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 2.35rem; height: 2.35rem; flex: none; }
.brand-mark .vane { transform-origin: 24px 24px; animation: vane-spin 14s linear infinite; }
@keyframes vane-spin { to { transform: rotate(360deg); } }
.brand-name {
  font-family: var(--serif); font-weight: 680; font-size: 1.18rem;
  letter-spacing: -0.01em; line-height: 1.05;
}
.brand-name small {
  display: block; font-family: var(--mono); font-weight: 400;
  font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-faint);
}
.nav-main { margin-left: auto; }
.nav-main ul { list-style: none; display: flex; gap: 0.2rem; padding: 0; }
.nav-main a {
  display: block; padding: 0.45rem 0.7rem;
  font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.06em;
  text-transform: uppercase; text-decoration: none; color: var(--ink-soft);
  border-bottom: 2px solid transparent;
  transition: color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.nav-main a:hover, .nav-main a:focus-visible { color: var(--red-deep); border-color: var(--red-deep); }
.nav-main a[aria-current="page"] { color: var(--ink); border-color: var(--ink); font-weight: 600; }
@media (max-width: 56em) {
  .nav-main { display: none; }
}
.nav-toggle {
  margin-left: auto; display: none;
  border: 1.5px solid var(--ink); background: none; color: var(--ink);
  font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.1em;
  padding: 0.45rem 0.8rem; cursor: pointer;
}
.nav-toggle:hover { background: var(--ink); color: var(--paper); }
@media (max-width: 56em) {
  .nav-toggle { display: block; }
  .site-head.nav-open .nav-main {
    display: block; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 2px solid var(--ink);
  }
  .site-head.nav-open .nav-main ul { flex-direction: column; padding: 0.6rem 1rem 1rem; }
  .site-head.nav-open .nav-main a { padding: 0.7rem 0.4rem; border-bottom: 1px solid var(--line); }
}
.theme-btn {
  border: 1.5px solid var(--line-strong); background: none; color: var(--ink);
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em;
  padding: 0.4rem 0.6rem; cursor: pointer; flex: none;
}
.theme-btn:hover { border-color: var(--ink); }

/* ---------- 5. Ticker ---------- */
.ticker {
  border-bottom: 1px solid var(--line-strong);
  background: var(--paper-deep);
  overflow: hidden; white-space: nowrap;
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.05em;
  padding: 0.42rem 0; color: var(--ink-soft);
}
.ticker-track { display: inline-block; animation: ticker-scroll 38s linear infinite; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
.ticker-track b { color: var(--red-deep); font-weight: 600; }
.ticker .dot { margin-inline: 1.4rem; color: var(--ink-faint); }
@keyframes ticker-scroll { to { transform: translateX(-50%); } }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-block: var(--sp-7) var(--sp-6);
  border-bottom: 2px solid var(--ink);
}
.hero-inner { position: relative; z-index: 2; }
.hero-kicker {
  font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--red-deep); font-weight: var(--kicker-weight);
  display: flex; align-items: center; gap: 0.8rem;
}
.hero-kicker::after { content: ""; height: 1px; flex: 0 0 4.5rem; background: var(--red-deep); }
.hero h1 { margin-top: var(--sp-3); font-weight: 760; }
.hero .lede { margin-top: var(--sp-3); font-size: var(--step-1); max-width: 46ch; color: var(--ink-soft); }
.hero-actions { margin-top: var(--sp-4); display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.hero-meta {
  margin-top: var(--sp-5); display: flex; gap: var(--sp-4); flex-wrap: wrap;
  font-family: var(--mono); font-size: 0.78rem; color: var(--ink-faint);
}
.hero-meta span b { color: var(--ink); font-weight: 600; display: block; font-size: 0.95rem; }

/* ---------- 7. Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--mono); font-size: 0.84rem; letter-spacing: 0.07em;
  text-transform: uppercase; text-decoration: none;
  padding: 0.72rem 1.25rem; border-radius: var(--radius);
  border: 1.5px solid var(--ink); color: var(--ink); background: transparent;
  cursor: pointer;
  transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out),
              transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.btn:hover { background: var(--ink); color: var(--paper); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.primary { background: var(--red-deep); border-color: var(--red-deep); color: var(--paper); }
.btn.primary:hover { background: var(--red); border-color: var(--red); color: var(--paper); }
.btn.solid-ink { background: var(--ink); color: var(--paper); }
.btn.solid-ink:hover { background: var(--red-deep); border-color: var(--red-deep); }
.text-link { font-weight: 560; }

/* ---------- 8. Section headers & kickers ---------- */
.sec-head { margin-bottom: var(--sp-4); }
.sec-kicker {
  font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.16em;
  text-transform: uppercase; font-weight: var(--kicker-weight); color: var(--blue-deep);
}
.sec-head h2 { margin-top: 0.5rem; }
.sec-head p { margin-top: 0.6rem; color: var(--ink-soft); }

/* ---------- 9. Cards ---------- */
.card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
  padding: var(--sp-4);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 6px 6px 0 0 color-mix(in oklch, var(--ink) 16%, transparent);
  border-top-color: var(--red-deep);
}
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--red-deep); text-decoration: underline; }
.card .meta, .card .tag {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-faint);
}
.card .tag { color: var(--red-deep); font-weight: 600; }
.card p { margin-top: 0.7rem; font-size: 0.95rem; color: var(--ink-soft); }

/* station card with mini gauge */
.card.station .spark { margin-top: 0.9rem; }
.card.station .spark svg { width: 100%; height: 3rem; }
.card.station .spark .trace {
  fill: none; stroke: var(--blue); stroke-width: 2;
  stroke-dasharray: 420; stroke-dashoffset: 420;
}
.card.station:hover .spark .trace, .card.station:target .spark .trace { animation: draw 1.1s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* warning strip */
.warn {
  border: 1.5px solid var(--red-deep);
  border-left: 6px solid var(--red-deep);
  background: color-mix(in oklch, var(--red) 7%, var(--panel));
  padding: var(--sp-3) var(--sp-4);
}
.warn .lvl {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; font-weight: 600; color: var(--red-deep);
}
.warn.caution { border-color: var(--amber); border-left-color: var(--amber); }
.warn.caution .lvl { color: oklch(0.55 0.12 75); }
.warn.allclear { border-color: var(--moss); border-left-color: var(--moss); }
.warn.allclear .lvl { color: var(--moss); }
.warn h3 { margin-top: 0.3rem; }
.warn p { margin-top: 0.4rem; font-size: 0.95rem; }

/* ---------- 10. Data tables (station ledger) ---------- */
.ledger { overflow-x: auto; }
table.ledger {
  width: 100%; border-collapse: collapse;
  font-family: var(--mono); font-size: 0.84rem;
}
.ledger caption {
  caption-side: top; text-align: left;
  font-family: var(--serif); font-size: var(--step-1); font-weight: var(--heading-weight);
  padding-bottom: 0.7rem;
}
.ledger th, .ledger td {
  border-bottom: 1px solid var(--line);
  padding: 0.55rem 0.7rem; text-align: left; white-space: nowrap;
}
.ledger thead th {
  font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-faint); border-bottom: 2px solid var(--ink);
}
.ledger tbody tr:hover td { background: color-mix(in oklch, var(--sky) 45%, var(--panel)); }
.ledger td.num { text-align: right; font-variant-numeric: tabular-nums; }
.ledger td .up { color: var(--red-deep); }
.ledger td .down { color: var(--blue-deep); }
.ledger .now { background: color-mix(in oklch, var(--sky) 60%, var(--panel)); font-weight: 600; }

/* reading chips */
.chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.chip {
  border: 1px solid var(--line-strong); background: var(--panel);
  padding: 0.5rem 0.85rem; min-width: 8.5rem;
}
.chip .k {
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-faint); display: block;
}
.chip .v { font-family: var(--mono); font-size: 1.15rem; font-weight: 600; }
.chip .v small { font-size: 0.66rem; font-weight: 400; color: var(--ink-faint); }
.chip.alert { border-color: var(--red-deep); }
.chip.alert .v { color: var(--red-deep); }

/* ---------- 11. Forecast bars ---------- */
.bars { display: grid; gap: 0.5rem; }
.bar-row { display: grid; grid-template-columns: 6.5rem 1fr 3.4rem; align-items: center; gap: 0.9rem; }
.bar-row .d { font-family: var(--mono); font-size: 0.8rem; }
.bar-row .t { font-family: var(--mono); font-size: 0.8rem; color: var(--ink-faint); text-align: right; }
.bar-track { height: 1.15rem; background: var(--paper-deep); border: 1px solid var(--line); position: relative; }
.bar-fill {
  position: absolute; inset: 0 auto 0 0;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue) 55%, var(--amber) 120%);
  width: 0;
  animation: bar-grow 0.9s var(--ease-out) forwards;
}
.bar-fill.warm { background: linear-gradient(90deg, var(--blue), var(--amber) 60%, var(--red) 115%); }
@keyframes bar-grow { from { width: 0; } }
.bar-row:nth-child(1) .bar-fill { animation-delay: 0.05s; }
.bar-row:nth-child(2) .bar-fill { animation-delay: 0.12s; }
.bar-row:nth-child(3) .bar-fill { animation-delay: 0.19s; }
.bar-row:nth-child(4) .bar-fill { animation-delay: 0.26s; }
.bar-row:nth-child(5) .bar-fill { animation-delay: 0.33s; }
.bar-row:nth-child(6) .bar-fill { animation-delay: 0.40s; }
.bar-row:nth-child(7) .bar-fill { animation-delay: 0.47s; }

/* ---------- 12. Journal / prose ---------- */
.prose { max-width: 60ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3 { margin-top: 1.6em; }
.prose blockquote {
  border-left: 3px solid var(--red-deep); padding-left: 1.1rem;
  font-style: italic; color: var(--ink-soft);
}
.prose .note {
  border: 1px dashed var(--line-strong); background: var(--paper-deep);
  padding: 0.85rem 1rem; font-size: 0.92rem;
}
.byline {
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.06em;
  color: var(--ink-faint); display: flex; gap: 1rem; flex-wrap: wrap;
  border-block: 1px solid var(--line); padding-block: 0.6rem; margin-top: var(--sp-3);
}

/* ---------- 13. Forms ---------- */
.field { display: grid; gap: 0.35rem; margin-top: var(--sp-3); }
.field label { font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--panel);
  border: 1.5px solid var(--line-strong); border-radius: var(--radius);
  padding: 0.6rem 0.75rem; width: 100%;
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-soft); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue-deep); outline: none;
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--blue) 30%, transparent);
}
.field input:invalid:not(:placeholder-shown), .field textarea:invalid:not(:placeholder-shown) {
  border-color: var(--red-deep);
}
.field .hint { font-size: 0.82rem; color: var(--ink-faint); }
.form-note { font-size: 0.85rem; color: var(--ink-faint); margin-top: var(--sp-2); }
.toast {
  margin-top: var(--sp-3); border: 1.5px solid var(--moss); background: color-mix(in oklch, var(--moss) 10%, var(--panel));
  padding: 0.7rem 1rem; font-size: 0.92rem; display: none;
}
.toast.show { display: block; animation: toast-in 0.4s var(--ease-out); }
@keyframes toast-in { from { opacity: 0; transform: translateY(6px); } }

/* ---------- 14. Footer ---------- */
.site-foot {
  margin-top: var(--sp-6);
  border-top: 2px solid var(--ink);
  background: var(--paper-deep);
  padding-block: var(--sp-5) var(--sp-4);
}
.site-foot .cols { display: grid; gap: var(--sp-4); }
@media (min-width: 46em) { .site-foot .cols { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.site-foot h4 { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); font-weight: var(--kicker-weight); }
.site-foot ul { list-style: none; padding: 0; margin-top: 0.7rem; display: grid; gap: 0.4rem; }
.site-foot a { color: var(--ink-soft); text-decoration: none; }
.site-foot a:hover { color: var(--red-deep); text-decoration: underline; }
.foot-fiction {
  margin-top: var(--sp-4); padding-top: var(--sp-3); border-top: 1px solid var(--line);
  font-size: 0.82rem; color: var(--ink-faint);
}
.foot-stamp {
  margin-top: var(--sp-2); font-family: var(--mono); font-size: 0.72rem;
  letter-spacing: 0.1em; color: var(--ink-faint);
}

/* ---------- 15. Motion signature: the synoptic chart ---------- */
/* Drifting isobar contours: layered SVG loops behind hero + section breaks */
.synoptic { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.synoptic svg { position: absolute; inset: -20% -10%; width: 120%; height: 140%; }
.isobar {
  fill: none; stroke: var(--blue); stroke-opacity: 0.35; stroke-width: 1.5;
  stroke-dasharray: 6 7;
  animation: drift 26s linear infinite;
}
.isobar.hi { stroke: var(--red); stroke-opacity: 0.3; }
.isobar.lo { stroke: var(--blue-deep); stroke-opacity: 0.42; stroke-dasharray: 2 5; }
.synoptic .iso-2 { animation-duration: 34s; animation-direction: reverse; }
.synoptic .iso-3 { animation-duration: 44s; }
.synoptic .iso-4 { animation-duration: 52s; animation-direction: reverse; }
@keyframes drift { from { transform: translateX(-4%); } to { transform: translateX(4%); } }
.synoptic .low {
  fill: color-mix(in oklch, var(--blue) 12%, transparent);
  animation: pulse-low 9s ease-in-out infinite alternate;
}
@keyframes pulse-low { from { opacity: 0.5; } to { opacity: 1; } }
/* wind arrows racing along a route */
.windline { stroke: var(--ink-faint); stroke-width: 1.5; fill: none; stroke-dasharray: 5 8; }
.winddot {
  fill: var(--red-deep);
  animation: wind-run 6s linear infinite;
  offset-path: path("M40,120 C160,60 280,170 400,110 S560,40 680,100");
}
@keyframes wind-run { from { offset-distance: 0%; } to { offset-distance: 100%; } }

/* scroll-driven contour draw (IO fallback added in JS) */
.draw-on-scroll {
  stroke-dasharray: 1000; stroke-dashoffset: 1000;
  animation: contour-draw 1.4s var(--ease-out) forwards;
  animation-timeline: view();
}
@supports not (animation-timeline: view()) { .draw-on-scroll { animation-timeline: auto; animation-delay: 0.1s; } }
@keyframes contour-draw { to { stroke-dashoffset: 0; } }

/* scroll progress meter: the barometer column */
.progress-rail {
  position: fixed; left: 0; top: 0; bottom: 0; width: 4px; z-index: 60;
  background: transparent; pointer-events: none;
}
.progress-fill {
  width: 100%; height: 0; background: var(--red-deep);
  animation: fill-barometer linear both;
  animation-timeline: scroll(root block);
}
@supports not (animation-timeline: scroll()) { .progress-fill { display: none; } }
@keyframes fill-barometer { to { height: 100%; } }

/* staggered entrances */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.enter { animation: rise 0.7s var(--ease-out) both; }
.enter.d1 { animation-delay: 0.08s; } .enter.d2 { animation-delay: 0.16s; }
.enter.d3 { animation-delay: 0.24s; } .enter.d4 { animation-delay: 0.32s; }
.enter.d5 { animation-delay: 0.4s; }  .enter.d6 { animation-delay: 0.48s; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.in:nth-child(2) { transition-delay: 0.08s; }
.reveal.in:nth-child(3) { transition-delay: 0.16s; }
.reveal.in:nth-child(4) { transition-delay: 0.24s; }
.reveal.in:nth-child(5) { transition-delay: 0.32s; }

/* page transitions (View Transitions API) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 0.22s both; }
::view-transition-new(root) { animation: vt-in 0.28s 0.06s both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }

/* ---------- 16. States ---------- */
.state-note {
  border: 1px dashed var(--line-strong); background: var(--paper-deep);
  padding: var(--sp-4); text-align: center; color: var(--ink-soft);
}
.state-note .big { font-family: var(--mono); font-size: 1.6rem; font-weight: 600; display: block; color: var(--ink); }
.btn.loading { pointer-events: none; opacity: 0.7; }
.btn.loading::after {
  content: ""; width: 0.85em; height: 0.85em; flex: none;
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
a[data-broken="true"] { text-decoration: line-through; color: var(--ink-faint); pointer-events: none; }

/* ---------- 17. 404 ---------- */
.error-page { min-height: 60vh; display: grid; place-content: center; text-align: center; }
.error-page .code {
  font-family: var(--mono); font-size: var(--step-6); font-weight: 600; color: var(--red-deep);
  line-height: 1;
}

/* ---------- 18. Utility ---------- */
.mono { font-family: var(--mono); }
.small { font-size: 0.86rem; }
.faint { color: var(--ink-faint); }
.mt-2 { margin-top: var(--sp-2); } .mt-3 { margin-top: var(--sp-3); }
.mt-4 { margin-top: var(--sp-4); } .mt-5 { margin-top: var(--sp-5); }
.two-col { column-gap: var(--sp-5); }
@media (min-width: 46em) { .two-col { columns: 2; } }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- 19. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .synoptic, .winddot { display: none; }
  .reveal { opacity: 1; transform: none; }
  .draw-on-scroll { stroke-dashoffset: 0; }
  .bar-fill { width: var(--final-w, 60%); }
}
@media print {
  .site-head, .ticker, .synoptic, .progress-rail, .site-foot nav { display: none; }
  body { background: white; color: black; }
}

/* ---------- 20. Glossary ---------- */
.glossary { max-width: none; }
.glossary .term { margin-top: var(--sp-4); border-top: 1px solid var(--line); padding-top: var(--sp-3); }
.glossary .term:first-child { border-top: 0; }
.glossary dt {
  font-weight: var(--heading-weight); font-size: var(--step-1);
  display: flex; align-items: baseline; gap: 0.8rem;
}
.glossary dt .sym {
  font-family: var(--mono); font-size: 0.75rem; color: var(--red-deep);
  letter-spacing: 0.08em; flex: none;
}
.glossary dd { margin: 0.4rem 0 0 0; color: var(--ink-soft); max-width: 62ch; }
.glossary nav.jump {
  display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: var(--sp-3);
  font-family: var(--mono); font-size: 0.8rem;
}
.glossary nav.jump a {
  display: inline-block; border: 1px solid var(--line-strong);
  padding: 0.3rem 0.7rem; text-decoration: none; color: var(--ink-soft);
}
.glossary nav.jump a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- 21. Media / press kit ---------- */
.media-grid { display: grid; gap: var(--sp-4); }
@media (min-width: 46em) { .media-grid { grid-template-columns: repeat(3, 1fr); } }
.media-card {
  border: 1px solid var(--line); background: var(--panel); padding: var(--sp-3);
  display: grid; gap: 0.6rem;
}
.media-card .preview {
  border: 1px solid var(--line); aspect-ratio: 16 / 9; overflow: hidden;
  background: var(--paper-deep); display: grid; place-items: center;
}
.media-card .preview svg { width: 100%; height: 100%; }
.media-card .meta-row {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em;
  color: var(--ink-faint);
}
.media-card .dl {
  font-family: var(--mono); font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--red-deep); text-decoration: none;
  border-bottom: 1.5px solid currentColor; align-self: start; cursor: default;
}
.media-card .dl:hover { color: var(--ink); }

/* ---------- 22. Station page extras: compass dial ---------- */
.dial-wrap { display: grid; gap: 1rem; justify-items: center; }
.dial { width: min(16rem, 80%); }
.dial .rose { transform-origin: 100px 100px; animation: vane-spin 90s linear infinite reverse; }
.dial .needle { transform-origin: 100px 100px; transition: transform 1.2s var(--ease-out); }
.dial text { font-family: var(--mono); font-size: 9px; fill: var(--ink-faint); }
.dial .readout { font-family: var(--mono); font-size: 0.85rem; color: var(--ink); }

/* ---------- 23. Timeline (history alt view) ---------- */
.timeline { list-style: none; padding: 0; margin-top: var(--sp-4); border-left: 2px solid var(--ink); }
.timeline li { position: relative; padding: 0 0 var(--sp-4) var(--sp-4); }
.timeline li::before {
  content: ""; position: absolute; left: -7px; top: 0.45rem;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--paper); border: 2.5px solid var(--red-deep);
}
.timeline .yr { font-family: var(--mono); font-weight: 600; color: var(--red-deep); letter-spacing: 0.06em; }
.timeline p { margin-top: 0.3rem; color: var(--ink-soft); }

/* ---------- 24. Legend swatches (synoptic key) ---------- */
.legend {
  display: flex; flex-wrap: wrap; gap: var(--sp-3);
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.05em;
  color: var(--ink-soft); border: 1px solid var(--line);
  background: var(--panel); padding: var(--sp-3) var(--sp-4);
}
.legend .key { display: inline-flex; align-items: center; gap: 0.5rem; }
.legend .sw { width: 2.2rem; height: 0; border-top: 2.5px solid var(--blue); display: inline-block; }
.legend .sw.hi { border-color: var(--red); border-top-style: solid; }
.legend .sw.lo { border-color: var(--blue-deep); border-top-style: dashed; }
.legend .sw.st { border-color: var(--ink-faint); border-top-style: dotted; }

/* ---------- 25. Forecast card strip ---------- */
.days { display: grid; gap: var(--sp-2); grid-template-columns: repeat(auto-fit, minmax(8.6rem, 1fr)); }
.day {
  border: 1px solid var(--line); background: var(--panel); padding: var(--sp-3);
  transition: transform var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.day:hover { transform: translateY(-2px); border-color: var(--blue-deep); }
.day .dow { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); }
.day .hi { font-family: var(--mono); font-size: 1.5rem; font-weight: 600; margin-top: 0.4rem; }
.day .lo { font-family: var(--mono); font-size: 0.8rem; color: var(--ink-faint); }
.day .sum { font-size: 0.84rem; color: var(--ink-soft); margin-top: 0.45rem; min-height: 2.4em; }
.day .ico { color: var(--blue-deep); margin-top: 0.3rem; }
.day.frost { border-top: 3px solid var(--blue-deep); }

/* ---------- 26. Pressure dial card ---------- */
.gauge-card {
  display: grid; grid-template-columns: auto 1fr; gap: var(--sp-3); align-items: center;
  border: 1px solid var(--line); background: var(--panel); padding: var(--sp-3);
}
.gauge-card .arc { width: 6.4rem; }
.gauge-card .arc text { font-family: var(--mono); font-size: 8px; fill: var(--ink-faint); }
.gauge-card .needle { transform-origin: 60px 60px; transition: transform 1s var(--ease-out); }

/* ---------- 27. Table row focus interactions ---------- */
.ledger tbody tr { transition: background var(--dur) var(--ease-out); }
.ledger tbody tr:focus-visible { outline: 2px solid var(--blue-deep); outline-offset: -2px; }

/* ---------- 28. Keyboard hint kbd ---------- */
kbd {
  border: 1px solid var(--line-strong); border-bottom-width: 2px;
  border-radius: 3px; padding: 0.05em 0.45em; background: var(--panel);
}

/* ---------- 29. Easter egg: foghorn bar ---------- */
.foghorn {
  position: fixed; left: 50%; bottom: 1.2rem; transform: translateX(-50%) translateY(140%);
  background: var(--ink); color: var(--paper); font-family: var(--mono);
  font-size: 0.8rem; letter-spacing: 0.08em; padding: 0.7rem 1.2rem;
  border-radius: var(--radius); z-index: 80; pointer-events: none;
  transition: transform 0.4s var(--ease-out);
}
.foghorn.on { transform: translateX(-50%) translateY(0); }

/* ---------- 30. Avatar-less byline blocks ---------- */
.byline-block {
  display: flex; gap: 0.8rem; align-items: flex-start;
  border: 1px solid var(--line); background: var(--panel); padding: var(--sp-3);
}
.byline-block .initial {
  width: 2.6rem; height: 2.6rem; flex: none; display: grid; place-items: center;
  background: var(--ink); color: var(--paper); font-family: var(--mono); font-weight: 600;
}
.byline-block p { font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- 31. Big number callouts ---------- */
.bignum { font-family: var(--mono); font-weight: 600; font-size: var(--step-5); line-height: 1; color: var(--ink); }
.bignum small { font-size: 0.35em; font-weight: 400; color: var(--ink-faint); letter-spacing: 0.08em; }

/* ---------- 32. Vertical rhythm helpers for long pages ---------- */
.lead-block { border-top: 2px solid var(--ink); margin-top: var(--sp-5); padding-top: var(--sp-4); }
.endnote { font-size: 0.85rem; color: var(--ink-faint); border-top: 1px solid var(--line); margin-top: var(--sp-5); padding-top: var(--sp-3); }

/* ---------- 33. Summary/details styling ---------- */
details.card summary { cursor: pointer; list-style: none; display: flex; align-items: baseline; gap: 0.7rem; }
details.card summary::-webkit-details-marker { display: none; }
details.card summary::after {
  content: "+"; font-family: var(--mono); color: var(--red-deep);
  font-weight: 600; margin-left: auto; transition: transform var(--dur) var(--ease-out);
}
details.card[open] summary::after { transform: rotate(45deg); }
details.card summary h3 { font-size: var(--step-1); }

/* ---------- 34. Media queries: coarse pointers ---------- */
@media (pointer: coarse) {
  .btn { padding: 0.85rem 1.4rem; }
  .nav-main a { padding: 0.6rem 0.9rem; }
}

/* ---------- 35. Narrow columns for dense lists ---------- */
@media (min-width: 60em) {
  .glossary.two-col dd, .two-col .term { max-width: none; }
}

/* ---------- 36. Records page tables ---------- */
.records { border-collapse: collapse; width: 100%; font-family: var(--mono); font-size: 0.84rem; }
.records th, .records td { border-bottom: 1px solid var(--line); padding: 0.6rem 0.7rem; text-align: left; }
.records thead th { border-bottom: 2px solid var(--ink); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); }
.records td.val { font-size: 1.15rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.records td.who { color: var(--ink-soft); }
.records tr:nth-child(odd) td { background: color-mix(in oklch, var(--paper-dim) 60%, transparent); }
.records .stamp { font-family: var(--mono); font-size: 0.7rem; color: var(--red-deep); letter-spacing: 0.08em; }

/* ---------- 37. Safety page: step cards ---------- */
.steps { counter-reset: step; }
.step {
  counter-increment: step; position: relative;
  border: 1px solid var(--line); background: var(--panel); padding: var(--sp-4) var(--sp-4) var(--sp-4) 4.2rem;
}
.step::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: var(--sp-3); top: var(--sp-3);
  font-family: var(--mono); font-weight: 600; color: var(--red-deep); font-size: 1.1rem;
}
.step h3 { font-size: var(--step-1); }
.step p { margin-top: 0.4rem; color: var(--ink-soft); font-size: 0.95rem; }
.steps .step + .step { margin-top: var(--sp-2); }

/* ---------- 38. Checklist boxes ---------- */
.checklist { list-style: none; padding: 0; display: grid; gap: 0.5rem; }
.checklist li {
  display: flex; gap: 0.6rem; align-items: flex-start;
  font-size: 0.95rem; color: var(--ink-soft);
}
.checklist li::before {
  content: "✓"; color: var(--moss); font-weight: 700; flex: none; margin-top: 0.05em;
}
.checklist.no li::before { content: "×"; color: var(--red-deep); }

/* ---------- 39. Banner / notice strip ---------- */
.notice {
  display: flex; gap: 0.8rem; align-items: flex-start;
  border: 1.5px solid var(--ink); background: var(--paper-deep);
  padding: var(--sp-3) var(--sp-4); margin-top: var(--sp-4);
}
.notice .mark { font-family: var(--mono); font-weight: 600; color: var(--red-deep); flex: none; }
.notice p { font-size: 0.92rem; }

/* ---------- 40. Footer mini index ---------- */
.foot-index { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.04em; line-height: 2; color: var(--ink-faint); }
.foot-index a { color: var(--ink-soft); }

/* ---------- 41. Hero variant: readings page ---------- */
.hero.narrow { padding-block: var(--sp-6) var(--sp-5); }
.hero.narrow h1 { font-size: var(--step-4); }

/* ---------- 42. Day icons ---------- */
.ico svg { width: 2.4rem; height: 2.4rem; }
.ico .sun { fill: var(--amber); stroke: var(--red); stroke-width: 1.5; }
.ico .cloud { fill: var(--sky); stroke: var(--blue-deep); stroke-width: 1.5; }
.ico .rain { stroke: var(--blue-deep); stroke-width: 1.5; stroke-dasharray: 2 4; }

/* ---------- 43. Print ledger strip ---------- */
.ledger-strip {
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.04em;
  color: var(--ink-faint); border-block: 1px solid var(--line); padding-block: 0.5rem;
  display: flex; gap: 1.4rem; flex-wrap: wrap;
}

/* ---------- 44. Table sort hint (visual only) ---------- */
.ledger th[data-sortable] { cursor: default; }
.ledger th[data-sortable]::after { content: "⇅"; margin-left: 0.4rem; color: var(--ink-faint); opacity: 0.6; }

/* ---------- 45. Quote wall ---------- */
.quotes { display: grid; gap: var(--sp-3); }
@media (min-width: 46em) { .quotes { grid-template-columns: 1fr 1fr; } }
.quotes blockquote {
  border-left: 3px solid var(--red-deep); background: var(--panel);
  padding: var(--sp-3) var(--sp-4); font-style: italic; color: var(--ink-soft);
}
.quotes cite { display: block; margin-top: 0.6rem; font-family: var(--mono); font-size: 0.74rem; font-style: normal; color: var(--ink-faint); letter-spacing: 0.06em; }

/* ---------- 46. Focus ring variant on dark ---------- */
[data-theme="storm"] :focus-visible { outline-color: var(--red); }
[data-theme="storm"] ::selection { background: var(--paper); color: var(--ink); }

/* ---------- 47. Small print, real small ---------- */
.smallprint { font-size: 0.78rem; line-height: 1.55; color: var(--ink-faint); max-width: 62ch; }

/* ---------- 48. Anchor offset for headings ---------- */
[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }

/* ---------- 49. Site map page list ---------- */
.maplist { list-style: none; padding: 0; display: grid; gap: 0.45rem; font-family: var(--mono); font-size: 0.85rem; }
.maplist a { text-decoration: none; color: var(--ink-soft); display: flex; gap: 0.8rem; }
.maplist a:hover { color: var(--red-deep); }
.maplist .path { color: var(--ink-faint); min-width: 16rem; }
@media (max-width: 40em) { .maplist .path { min-width: 0; } }

/* ---------- 50. Hero meter row variant ---------- */
.hero .meter-row {
  display: flex; gap: var(--sp-3); flex-wrap: wrap; margin-top: var(--sp-4);
}
.hero .meter {
  border: 1px solid var(--line-strong); background: var(--panel);
  padding: 0.5rem 0.9rem; min-width: 7.5rem;
}
.hero .meter .k { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); display: block; }
.hero .meter .v { font-family: var(--mono); font-weight: 600; font-size: 1.05rem; }

/* ---------- 51. Deck lead paragraph ---------- */
.deck {
  font-size: var(--step-1); line-height: 1.45; color: var(--ink-soft);
  max-width: 52ch; margin-top: var(--sp-3);
}

/* ---------- 52. Attribution line under charts ---------- */
.chart-src {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.05em;
  color: var(--ink-faint); margin-top: 0.6rem;
}

/* ---------- 53. Kicker row with rule on both sides ---------- */
.kicker-both {
  display: flex; align-items: center; gap: 0.8rem;
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--red-deep); font-weight: var(--kicker-weight);
}
.kicker-both::before, .kicker-both::after { content: ""; height: 1px; flex: 0 0 3rem; background: var(--red-deep); }

/* ---------- 54. Table title row ---------- */
.table-title {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  margin-bottom: 0.6rem;
}
.table-title .stamp { font-family: var(--mono); font-size: 0.7rem; color: var(--red-deep); letter-spacing: 0.1em; }

/* ---------- 55. Storm-mode tweaks: charts and chips ---------- */
[data-theme="storm"] .isobar { stroke-opacity: 0.5; }
[data-theme="storm"] .chip { background: var(--paper-deep); }
[data-theme="storm"] .card, [data-theme="storm"] .step { background: var(--panel); }
[data-theme="storm"] .ledger tbody tr:hover td { background: color-mix(in oklch, var(--sky) 30%, var(--panel)); }

/* ---------- 56. Last CSS line, by hand ---------- */
/* fin */

/* ---------- 57. Post footer nav ---------- */
.post-nav { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-5); border-top: 2px solid var(--ink); padding-top: var(--sp-4); }
.post-nav .next { margin-left: auto; }

/* ---------- 58. Flood-line motif for the ledger post ---------- */
.floodline {
  position: relative; border: 1px solid var(--line); background: var(--panel);
  padding: var(--sp-4);
}
.floodline::after {
  content: ""; position: absolute; left: 0; right: 0; top: 62%;
  border-top: 2px dashed var(--blue-deep); pointer-events: none;
}
.floodline .above { padding-bottom: 3.2rem; }
.floodline .below { padding-top: 2.6rem; font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- 59. Shoebox figure ---------- */
.shoebox {
  display: grid; gap: 0.8rem; justify-items: center;
  border: 1.5px solid var(--line-strong); background: var(--paper-deep);
  padding: var(--sp-4); text-align: center;
}
.shoebox .lid { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; color: var(--red-deep); font-weight: 600; }

/* ---------- 60. Quotation with huge quote mark ---------- */
.pull {
  position: relative; padding-left: 3rem; margin-top: var(--sp-5);
}
.pull::before {
  content: "“"; position: absolute; left: 0; top: -0.35em;
  font-size: 4rem; line-height: 1; color: var(--red-deep); font-family: var(--serif);
}
.pull p { font-size: var(--step-2); line-height: 1.3; font-weight: 560; max-width: 40ch; }

/* ---------- 61. Fine footer for posts ---------- */
.post-foot {
  margin-top: var(--sp-5); border-top: 1px solid var(--line);
  padding-top: var(--sp-3); font-size: 0.85rem; color: var(--ink-faint);
}

/* ---------- 62. Table of contents for long posts ---------- */
.toc {
  border: 1px solid var(--line); background: var(--panel); padding: var(--sp-3) var(--sp-4);
  font-size: 0.9rem;
}
.toc .t { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }
.toc ol { margin: 0.6rem 0 0 1.2rem; display: grid; gap: 0.3rem; }

/* fin 2 */

/* ---------- 63. Five-day strip on home ---------- */
.strip { display: flex; gap: 0; border: 1px solid var(--line); background: var(--panel); overflow-x: auto; }
.strip .day { flex: 1 0 9rem; border: 0; border-right: 1px solid var(--line); box-shadow: none; }
.strip .day:last-child { border-right: 0; }

/* ---------- 64. Hour header row on station pages ---------- */
.hour-row {
  display: grid; grid-template-columns: 5rem 1fr auto; gap: 1rem; align-items: center;
  border-bottom: 1px solid var(--line); padding-block: 0.55rem;
  font-family: var(--mono); font-size: 0.82rem;
}
.hour-row .hh { color: var(--ink-faint); }
.hour-row .note { color: var(--ink-soft); }
.hour-row.now { background: color-mix(in oklch, var(--sky) 55%, var(--panel)); border-left: 4px solid var(--red-deep); padding-left: 0.7rem; }

/* ---------- 65. Small caps lead-in for prose ---------- */
.leadin::first-letter {
  font-size: 3.1em; float: left; line-height: 0.85;
  padding: 0.06em 0.14em 0 0; color: var(--red-deep); font-weight: 640;
}

/* ---------- 66. Figure + caption ---------- */
figure { margin: var(--sp-4) 0; }
figcaption {
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.05em;
  color: var(--ink-faint); margin-top: 0.6rem;
}

/* ---------- 67. Inline data badge ---------- */
.badge {
  display: inline-block; font-family: var(--mono); font-size: 0.68rem;
  letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
  border: 1px solid currentColor; border-radius: 999px; padding: 0.15em 0.7em;
  color: var(--blue-deep); vertical-align: middle;
}
.badge.red { color: var(--red-deep); }
.badge.moss { color: var(--moss); }

/* ---------- 68. Ghost heading watermark on sections ---------- */
.sec-mark {
  position: relative;
}
.sec-mark::before {
  content: attr(data-mark); position: absolute; right: 0; top: -0.6em;
  font-family: var(--mono); font-size: clamp(3rem, 9vw, 7rem); font-weight: 600;
  color: color-mix(in oklch, var(--ink) 7%, transparent); pointer-events: none; line-height: 1;
}

/* ---------- 69. Final spacing pass ---------- */
.site-foot .brand-name { font-size: 1.05rem; }
.hero-meta span { min-width: 7.5rem; }
.warn h3 { font-size: var(--step-1); }
.days .day.frost .dow { color: var(--blue-deep); }

/* fin 3 */

/* ---------- 70. Bulletin header block ---------- */
.bulletin-head {
  display: grid; gap: 0.4rem; border: 2px solid var(--ink); background: var(--panel);
  padding: var(--sp-4); margin-top: var(--sp-4);
}
.bulletin-head .no { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.12em; color: var(--red-deep); font-weight: 600; }
.bulletin-head .sig { font-family: var(--mono); font-size: 0.72rem; color: var(--ink-faint); letter-spacing: 0.06em; }

/* ---------- 71. Signed strip ---------- */
.signed {
  display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap;
  border-top: 1px dashed var(--line-strong); margin-top: var(--sp-4); padding-top: var(--sp-3);
  font-family: var(--mono); font-size: 0.74rem; color: var(--ink-soft); letter-spacing: 0.05em;
}
.signed .sig-name { font-size: 1.05rem; font-family: var(--serif); font-style: italic; color: var(--ink); }

/* ---------- 72. Balloon figure ---------- */
.balloon {
  display: grid; justify-items: center; gap: 0.5rem; padding: var(--sp-3);
}
.balloon svg { width: 5rem; height: auto; }
.balloon .asc { animation: rise-slow 8s ease-in-out infinite alternate; }
@keyframes rise-slow { from { transform: translateY(0); } to { transform: translateY(-1.2rem); } }
.balloon figcaption { text-align: center; }

/* ---------- 73. Data download list ---------- */
.dl-list { list-style: none; padding: 0; display: grid; gap: 0.4rem; }
.dl-list li {
  display: flex; justify-content: space-between; gap: 1rem; align-items: baseline;
  border-bottom: 1px solid var(--line); padding-block: 0.45rem;
  font-family: var(--mono); font-size: 0.8rem;
}
.dl-list .fmt { color: var(--ink-faint); }
.dl-list .size { color: var(--red-deep); font-weight: 600; }

/* ---------- 74. Election-day quiet note (seasonal) ---------- */
.season-note {
  border-left: 4px solid var(--amber); background: color-mix(in oklch, var(--amber) 9%, var(--panel));
  padding: var(--sp-3) var(--sp-4); font-size: 0.92rem;
}

/* ---------- 75. Micro nav breadcrumbs ---------- */
.crumbs {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em;
  color: var(--ink-faint); margin-bottom: var(--sp-3);
}
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--red-deep); text-decoration: underline; }
.crumbs .sep { margin-inline: 0.5rem; }

/* ---------- 76. Final misc ---------- */
::marker { color: var(--red-deep); }
ol.toc li::marker { color: var(--blue-deep); }
@media (max-width: 34em) {
  h1 { letter-spacing: -0.005em; }
  .bar-row { grid-template-columns: 4.6rem 1fr 3rem; gap: 0.5rem; }
  .chips { gap: 0.5rem; }
  .chip { min-width: 7rem; }
}

/* fin 4 */
