:root {
  /* Twilight Magic — the park after dark. Deep indigo night, candlelight cream,
     fireworks rose + gold, a whisper of teal. OKLCH, tuned for readable contrast. */
  --paper:    oklch(24% 0.045 276);  /* deep indigo midnight (not black) */
  --paper-2:  oklch(29% 0.050 277);  /* lifted indigo panel */
  --ink:      oklch(93% 0.030 84);   /* warm candlelight cream */
  --ink-soft: oklch(83% 0.030 84);
  --muted:    oklch(72% 0.032 84);
  --rule:     oklch(58% 0.040 282);  /* a visible light rule on the night */
  --hair:     oklch(37% 0.050 278);  /* faint line just above the bg */
  --red:      oklch(67% 0.205 8);    /* fireworks rose-magenta (urgent accent only) */
  --red-deep: oklch(60% 0.190 8);
  --blue:     oklch(82% 0.095 88);   /* links — warm gold, not teal */
  /* the "wonder" accent — candlelight gold (magic), used as rarely as the rose */
  --gold:      oklch(84% 0.130 86);
  --gold-deep: oklch(75% 0.130 84);

  /* The sky glow over the masthead — overridden by time-of-day below, so the
     page literally changes color with the visitor's own clock. */
  --glow: oklch(50% 0.10 300 / 0.42);

  --display: "Libre Caslon Display", Georgia, "Times New Roman", serif;
  --text:    "Spectral", Georgia, "Times New Roman", serif;
  --label:   "Saira Condensed", "Arial Narrow", system-ui, sans-serif;

  /* 4pt spacing scale */
  --space-2xs: 4px;  --space-xs: 8px;  --space-sm: 12px; --space-md: 16px;
  --space-lg: 24px;  --space-xl: 32px; --space-2xl: 48px; --space-3xl: 64px;
}

* { box-sizing: border-box; }

html { position: relative; min-height: 100%; }

body {
  background-color: var(--paper);
  /* a faint scattered starfield + a dusk-sky glow over the masthead */
  background-image:
    radial-gradient(1.3px 1.3px at 24px 40px,   oklch(95% 0.02 88 / 0.55), transparent),
    radial-gradient(1px 1px     at 150px 22px,  oklch(85% 0.13 86 / 0.50), transparent),
    radial-gradient(1px 1px     at 92px 130px,  oklch(95% 0.02 88 / 0.40), transparent),
    radial-gradient(1.4px 1.4px at 188px 168px, oklch(85% 0.13 86 / 0.42), transparent),
    radial-gradient(1px 1px     at 44px 188px,  oklch(95% 0.02 88 / 0.45), transparent),
    radial-gradient(1.1px 1.1px at 205px 60px,  oklch(95% 0.02 88 / 0.35), transparent),
    radial-gradient(1px 1px     at 120px 80px,  oklch(85% 0.13 86 / 0.30), transparent),
    radial-gradient(150% 80% at 50% -22%, var(--glow), transparent 55%);
  background-repeat: repeat, repeat, repeat, repeat, repeat, repeat, repeat, no-repeat;
  background-size: 230px 240px, 250px 220px, 210px 260px, 270px 230px, 200px 250px, 260px 210px, 240px 280px, 100% 720px;
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.45; /* light-on-dark wants a touch more air */
  margin: 0;
  /* a thin gilded spine across the very top of the page */
  border-top: 4px solid var(--gold);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.rdn-container { max-width: 1280px; margin: 0 auto; padding: 0 var(--space-md); }

a { color: var(--blue); }

::selection { background: oklch(84% 0.13 86 / 0.3); color: var(--ink); }

/* ---------- utility bar ---------- */
.utility-bar {
  border-bottom: 1px solid var(--hair);
  background: var(--paper-2);
  font-family: var(--label);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.utility-bar .rdn-container {
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-md);
  padding-top: var(--space-xs); padding-bottom: var(--space-xs);
}
/* ---- rope drop countdown ---- */
.ropedrop {
  font-family: var(--label);
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-soft); white-space: nowrap;
  flex: 0 0 auto; width: 20rem; text-align: center;  /* fixed box so each park fades in the same spot */
  transition: opacity 0.22s ease;
}
.ropedrop strong { color: var(--gold-deep); font-weight: 700; }
.ropedrop .rd-mark { margin-right: 5px; }
.ropedrop.rd-swap { opacity: 0; }
@media (max-width: 640px) { .ropedrop { display: none; } }
.utility-links { display: flex; align-items: center; gap: var(--space-md); }
.utility-links a { color: var(--ink-soft); text-decoration: none; }
.utility-links a:hover { color: var(--gold); }
.utility-links form { display: inline; }
.utility-links button {
  background: none; border: none; color: var(--ink-soft);
  font: inherit; text-transform: uppercase; letter-spacing: 0.04em; cursor: pointer; padding: 0;
}
.utility-links button:hover { color: var(--gold); }

/* ---------- masthead ---------- */
.masthead {
  text-align: center;
  padding: var(--space-lg) var(--space-md) var(--space-sm);
  border-bottom: 3px double var(--rule);
  position: relative;
}
.masthead-sparkles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.sparkle { position: absolute; color: var(--gold); line-height: 1; opacity: 0; transform: scale(0); }
@media (prefers-reduced-motion: no-preference) {
  .sparkle { animation: twinkle 3.4s ease-in-out infinite; }
  .sparkle:nth-child(2n) { animation-duration: 4.3s; }
  .sparkle:nth-child(3n) { animation-duration: 2.7s; }
  @keyframes twinkle {
    0%, 100% { opacity: 0;    transform: scale(0.2) rotate(0deg); }
    50%      { opacity: 0.95; transform: scale(1.1) rotate(16deg); }
  }
}
.masthead-title {
  display: inline-block;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(42px, 8.5vw, 88px);
  line-height: 0.92;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
}
.masthead-tagline {
  font-family: var(--label);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  margin-top: var(--space-sm);
  padding-left: 0.28em; /* optically re-center the tracked text */
}

/* time-of-day paper warmth (set by JS from the visitor's local hour) */
:root[data-tod="morning"] { --paper: oklch(27% 0.042 262); }  /* cooler dawn indigo */
:root[data-tod="evening"] { --paper: oklch(23% 0.058 298); }  /* warm violet twilight */
:root[data-tod="night"]   { --paper: oklch(20% 0.048 278); }  /* deepest midnight */
body { transition: background-color 600ms ease; }

/* Morning Edition flourish (5–9am local) */
.morning-badge { display: none; }
:root[data-morning-edition] .morning-badge {
  display: inline-block;
  margin-top: var(--space-xs);
  font-family: var(--label); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.18em; font-size: 10px;
  color: var(--paper); background: var(--ink);
  padding: 3px 10px;
}

/* ---------- section navigation (the spine) ---------- */
.section-nav {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.snav {
  display: flex; flex-wrap: wrap;
  justify-content: center; align-items: stretch;
  gap: 0 var(--space-lg);
  max-width: 1280px; margin: 0 auto;
  padding: 0 var(--space-md);
  list-style: none;
}
.snav-item { display: flex; align-items: stretch; }
.snav-has-menu { position: relative; }

.snav-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--label); font-weight: 600; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft);
  background: none; border: 0;
  padding: 11px 2px; cursor: pointer;
  text-decoration: none; white-space: nowrap;
}
.snav-link:hover,
.snav-link:focus-visible,
.snav-link.is-current {
  color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--gold);
  text-underline-offset: 5px; text-decoration-thickness: 1px;
}
.snav-caret { font-size: 9px; color: var(--muted); transition: transform 200ms ease; }
.snav-disclosure[aria-expanded="true"] .snav-caret { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .snav-caret { transition: none; } }

/* desktop dropdown (the Parks menu) */
.snav-menu {
  display: none;
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 244px; padding: var(--space-xs) 0;
  background: var(--paper-2); border: 1px solid var(--rule);
  box-shadow: 0 14px 40px oklch(12% 0.03 278 / 0.45);
  z-index: 50;
}
.snav-disclosure[aria-expanded="true"] + .snav-menu { display: block; }
.snav-menu-group {
  display: block;
  font-family: var(--label); font-weight: 700;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
  padding: var(--space-xs) var(--space-lg) 2px;
}
.snav-menu-group ~ .snav-menu-group { margin-top: var(--space-2xs); border-top: 1px solid var(--hair); }
.snav-menu-link {
  display: block;
  font-family: var(--text); font-size: 15px; color: var(--ink);
  text-decoration: none; padding: 6px var(--space-lg);
}
.snav-menu-link:hover, .snav-menu-link:focus-visible {
  background: var(--paper);
  text-decoration: underline; text-decoration-color: var(--gold);
  text-underline-offset: 3px; text-decoration-thickness: 1px;
}
.snav-menu-all {
  margin-top: var(--space-2xs); padding-top: var(--space-sm);
  border-top: 1px solid var(--hair);
  color: var(--gold); font-family: var(--label);
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
}

/* the off-canvas bits stay hidden until the phone breakpoint */
.nav-toggle, .nav-close, .section-nav-head, .snav-item-search { display: none; }
/* the scrim is governed by the [hidden] attribute (like the Read Pile's), so it
   never intercepts taps while closed; opacity only drives the fade. */
.nav-scrim {
  position: fixed; inset: 0; background: oklch(12% 0.03 278 / 0.55);
  opacity: 0; transition: opacity 320ms ease; z-index: 70;
}
:root.nav-open .nav-scrim { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .nav-scrim { transition: none; } }

@media (max-width: 760px) {
  /* a corner hamburger on the nameplate opens the panel */
  .nav-toggle {
    display: inline-flex; align-items: center; gap: var(--space-xs);
    position: absolute; top: var(--space-sm); left: var(--space-md); z-index: 5;
    background: none; border: 0; cursor: pointer; padding: 8px 2px;
    font-family: var(--label); font-weight: 600; font-size: 12px;
    letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft);
  }
  .nav-toggle:hover, .nav-toggle:focus-visible { color: var(--gold); }
  .nav-toggle-bars { position: relative; width: 18px; height: 2px; background: currentColor; }
  .nav-toggle-bars::before, .nav-toggle-bars::after {
    content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor;
  }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }

  .section-nav {
    position: fixed; top: 0; left: 0; bottom: 0;
    width: min(320px, 86vw);
    border-right: 1px solid var(--rule); border-bottom: 0;
    z-index: 71; overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 320ms cubic-bezier(0.2, 0.7, 0.2, 1);
    box-shadow: 12px 0 40px oklch(24% 0.014 60 / 0.16);
  }
  :root.nav-open .section-nav { transform: translateX(0); }
  @media (prefers-reduced-motion: reduce) { .section-nav { transition: none; } }

  .section-nav-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: var(--space-md) var(--space-lg); border-bottom: 3px double var(--rule);
  }
  .section-nav-title { font-family: var(--display); font-size: 22px; }
  .nav-close {
    display: block; background: none; border: 0; font-size: 18px;
    line-height: 1; cursor: pointer; color: var(--muted);
  }
  .nav-close:hover { color: var(--gold); }

  .snav { flex-direction: column; align-items: stretch; flex-wrap: nowrap; gap: 0; padding: var(--space-xs) 0; }
  .snav-item { display: block; border-bottom: 1px solid var(--hair); }
  .snav-item-search { display: block; }
  .snav-link { width: 100%; justify-content: space-between; padding: var(--space-md) var(--space-lg); font-size: 14px; }
  .snav-has-menu { position: static; }

  /* the parks dropdown becomes an inline accordion inside the panel */
  .snav-menu {
    position: static; transform: none; min-width: 0;
    border: 0; box-shadow: none; background: var(--paper-2);
    padding: var(--space-2xs) 0 var(--space-xs);
  }
  .snav-menu-link { padding-left: var(--space-xl); }
}

/* ---------- fireworks ornament divider ---------- */
.ornament { display: flex; align-items: center; gap: var(--space-md); margin: var(--space-2xl) 0 var(--space-lg); }
.ornament-line { flex: 1; height: 1px; background: var(--hair); }
.ornament-burst { width: 38px; height: 38px; flex: 0 0 auto; }

/* ---------- on this day / from the vault (lives in the footer) ---------- */
.footer-vault {
  text-align: center;
  padding-top: var(--space-lg);
}
.almanac-kicker {
  font-family: var(--label); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 11px;
  color: var(--gold-deep);
}
.almanac-kicker::after { content: " · "; color: var(--hair); font-weight: 400; }
.almanac-body { font-family: var(--text); font-style: italic; font-size: 14px; color: var(--ink-soft); }

/* ---------- the wire ticker ---------- */
.ticker {
  display: flex; align-items: stretch;
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  overflow: hidden;
}
.ticker-flag {
  flex: 0 0 auto;
  display: flex; align-items: center;
  background: var(--ink); color: var(--paper);
  font-family: var(--label); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 11px;
  padding: 7px var(--space-md);
  white-space: nowrap;
}
.ticker-viewport { flex: 1 1 auto; overflow: hidden; position: relative; }
.ticker-track {
  display: inline-flex; align-items: center;
  white-space: nowrap; will-change: transform;
  animation: ticker-scroll var(--ticker-dur, 60s) linear infinite;
}
@keyframes ticker-scroll { to { transform: translateX(-50%); } }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
.ticker-item {
  font-family: var(--text); font-size: 14px; color: var(--ink);
  text-decoration: none; padding: 7px 0; display: inline-block;
}
.ticker-item:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.ticker-src {
  font-family: var(--label); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; font-size: 11px; color: var(--muted); margin-right: 7px;
}
.ticker-sep { color: var(--gold-deep); font-size: 9px; padding: 0 var(--space-md); opacity: 0.65; }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .ticker-viewport { overflow-x: auto; }
}

/* ---------- "new on the wire" pill ---------- */
.wire-pill {
  position: fixed; top: 14px; left: 50%;
  transform: translate(-50%, -140%);
  z-index: 50;
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--red); color: var(--paper);
  font-family: var(--label); font-weight: 700; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 9px 16px; border: 0; border-radius: 999px; cursor: pointer;
  box-shadow: 0 6px 22px oklch(53% 0.205 8 / 0.35);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.4s ease;
}
.wire-pill.is-visible { transform: translate(-50%, 0); opacity: 1; }
.wire-pill:hover { background: var(--red-deep); }
.wire-pill-arrow { font-size: 10px; }
@media (prefers-reduced-motion: reduce) { .wire-pill { transition: opacity 0.3s ease; } }

/* ---------- wire status line ---------- */
.wire-status {
  display: flex; justify-content: flex-start; align-items: center; gap: var(--space-sm);
  flex-wrap: wrap;
  font-family: var(--label);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  color: var(--muted);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--hair);
  margin-bottom: var(--space-lg);
}
.wire-status .live { color: var(--red-deep); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.wire-status .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--red);
  display: inline-block;
  /* a steady signal lamp, not a pulse — the page favors calm lights */
  box-shadow: 0 0 7px 1px oklch(67% 0.205 8 / 0.55);
}
.wire-status .sep { color: var(--hair); }

/* ---------- the front page: hero ---------- */
.fp-hero {
  padding: var(--space-xl) 0 var(--space-lg);
  text-align: left;
}
.fp-hero .kicker {
  font-family: var(--label);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: var(--space-md);
}
.fp-hero.hot .kicker { color: var(--red); }
.fp-hero-head { margin: 0; }
.fp-hero-head a {
  display: block;
  max-width: 22ch;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(38px, 6vw, 84px);
  line-height: 1.01;
  letter-spacing: -0.005em;
  text-wrap: balance;
  color: var(--ink);
  text-decoration: none;
}
.fp-hero-head a:hover {
  text-decoration: underline; text-decoration-color: var(--gold);
  text-underline-offset: 8px; text-decoration-thickness: 1px;
}
.fp-hero-meta {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-xs) var(--space-sm);
  margin-top: var(--space-lg);
  font-family: var(--label);
  font-size: 13px; letter-spacing: 0.05em;
  color: var(--muted);
}
.fp-hero-meta .fp-src { color: var(--ink-soft); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; font-size: 12px; }
.fp-hero-meta .fp-dot { color: var(--hair); }
.fp-hero-meta .fp-first { color: var(--gold); font-weight: 600; }
.fp-hero-meta .fp-also a {
  color: var(--ink-soft); text-decoration: underline; text-decoration-color: transparent;
  text-underline-offset: 3px; text-decoration-thickness: 1px;
  transition: text-decoration-color 220ms ease;
}
.fp-hero-meta .fp-also a:hover { color: var(--ink); text-decoration-color: var(--gold); }
.fp-hero-meta .fp-more { color: var(--muted); }

/* ---------- the front page: second deck ---------- */
.deck {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr;
  grid-auto-rows: auto;
  gap: var(--space-lg) var(--space-2xl);
  padding: var(--space-lg) 0 var(--space-xl);
  border-top: 1px solid var(--rule);
  border-bottom: 3px double var(--rule);
}
.deck-item { min-width: 0; }
.deck-lead { grid-row: span 2; padding-right: var(--space-lg); border-right: 1px solid var(--hair); }
.deck-head {
  display: block;
  font-family: var(--text); font-size: 17px; font-weight: 600; line-height: 1.28;
  text-wrap: balance;
  color: var(--ink); text-decoration: underline; text-decoration-color: transparent;
  text-underline-offset: 3px; text-decoration-thickness: 1px;
  transition: text-decoration-color 220ms ease;
}
.deck-head:hover { text-decoration-color: var(--gold); }
.deck-lead .deck-head {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(24px, 2.4vw, 32px); line-height: 1.1;
}
.deck-lead .deck-head:hover { text-underline-offset: 5px; }
.deck-blurb {
  margin: var(--space-sm) 0 0; max-width: 52ch;
  font-size: 15px; line-height: 1.5; color: var(--ink-soft);
  display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.deck-meta {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2xs) var(--space-xs);
  margin-top: var(--space-xs);
  font-family: var(--label); font-size: 12px; letter-spacing: 0.04em; color: var(--muted);
}
.deck-meta .fp-dot { color: var(--hair); }
.deck-also { color: var(--gold-deep); }

/* ---------- the full wire (the by-source wall, demoted but intact) ---------- */
.fullwire-head {
  font-family: var(--display); font-size: clamp(22px, 2.6vw, 30px); font-weight: 400;
  text-align: center; margin: 0 0 var(--space-xl);
}
.fullwire-sub {
  font-family: var(--label); font-size: 13px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
}
.wire-empty {
  text-align: center; color: var(--muted); font-family: var(--label);
  text-transform: uppercase; letter-spacing: 0.1em; padding: var(--space-3xl) 0;
}

/* ---------- lead post: your own published edition, the front-page lead ---------- */
.lead-post {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
  text-align: left;
  padding: var(--space-lg) 0 var(--space-xl);
  margin-bottom: var(--space-lg);
  border-bottom: 1px solid var(--rule);
}
.lead-post .kicker {
  font-family: var(--label); text-transform: uppercase; letter-spacing: 0.16em;
  font-size: 11px; font-weight: 700; color: var(--gold); margin-bottom: var(--space-xs);
}
.lead-post-link {
  display: block;
  font-family: var(--display); font-size: clamp(30px, 4vw, 50px); line-height: 1.05;
  color: var(--ink); text-decoration: none;
}
.lead-post-link:hover {
  text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 5px;
}
.lead-post-aside { align-self: end; }
.lead-post-meta {
  font-family: var(--label); letter-spacing: 0.04em;
  font-size: 12px; color: var(--muted); margin-bottom: var(--space-sm);
}
.lead-post-excerpt {
  margin: 0; max-width: 46ch;
  font-family: var(--text); font-size: 16px; line-height: 1.5; color: var(--ink-soft);
}
.lead-post-more {
  display: inline-block; margin-top: var(--space-sm);
  font-family: var(--label); text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 12px; font-weight: 700; color: var(--gold); text-decoration: none;
}
.lead-post-more:hover { color: var(--ink); }
@media (max-width: 760px) {
  .lead-post { grid-template-columns: 1fr; gap: var(--space-md); }
  .lead-post-aside { align-self: start; }
}

/* ---------- most read ---------- */
.mr-src {
  display: block; font-family: var(--label); font-size: 12px;
  letter-spacing: 0.03em; color: var(--muted); margin-top: 3px;
}

/* ---------- rail + news layout ---------- */
.layout {
  display: grid;
  grid-template-columns: 232px 1fr;
  gap: var(--space-2xl);
  align-items: start;
}
.layout.no-rail { grid-template-columns: 1fr; }

/* left rail */
.rail { position: sticky; top: var(--space-md); display: grid; gap: var(--space-xl); }
.rail-block { }
.rail-head {
  font-family: var(--label); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink);
  border-bottom: 2px solid var(--rule); padding-bottom: var(--space-2xs);
  margin: 0 0 var(--space-sm);
}
.rail-sections { list-style: none; margin: 0; padding: 0; }
.rail-sections li { margin-bottom: 7px; }
.rail-sections a {
  font-family: var(--label); font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--ink-soft); text-decoration: none;
}
.rail-sections a:hover { color: var(--gold); }
.rail-most-read { list-style: none; counter-reset: rmr; margin: 0; padding: 0; }
.rail-most-read li {
  counter-increment: rmr; position: relative; padding-left: 1.9rem;
  margin-bottom: var(--space-md);
}
.rail-most-read li::before {
  content: counter(rmr); position: absolute; left: 0; top: -2px;
  font-family: var(--display); font-size: 22px; line-height: 1; color: var(--gold);
}
.rail-most-read a {
  display: block; font-family: var(--text); font-size: 14px; font-weight: 600; line-height: 1.3;
  color: var(--ink); text-decoration: none;
}
.rail-most-read .mr-src {
  display: block; font-family: var(--label); font-size: 11px;
  letter-spacing: 0.03em; color: var(--muted); margin-top: 3px;
}

/* rail "Rope Drop" park hours — each row is one .rp-link flex line */
.rail-parks { list-style: none; margin: 0; padding: 0; }
.rail-parks li {
  display: block;
  font-family: var(--label); font-size: 12px; letter-spacing: 0.03em; text-transform: uppercase;
  border-bottom: 1px solid var(--hair);
}
.rail-parks li:last-child { border-bottom: 0; }
.rp-park { color: var(--ink-soft); }
.rp-time { color: var(--gold-deep); white-space: nowrap; font-weight: 600; }
.rp-open { color: var(--gold); }
.rail-parks-loading { color: var(--muted); justify-content: flex-start; }

/* news area — CSS multi-column auto-balances block heights */
.news {
  column-count: 3;
  column-gap: var(--space-2xl);
  column-rule: 1px solid var(--hair);
}
.source-block { break-inside: avoid; }
.source-block :is(h2, a, div) { break-inside: avoid; }

/* ---------- auto source blocks ---------- */
.source-block { margin: 0 0 var(--space-xl); }
.source-head {
  display: flex; align-items: baseline; gap: var(--space-xs);
  font-family: var(--label);
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  padding-bottom: var(--space-2xs);
  margin: 0 0 var(--space-sm);
}
.source-head::before {
  content: ""; width: 7px; height: 7px; background: var(--rule);
  flex: 0 0 auto; transform: translateY(-1px);
}
.source-head a { color: inherit; text-decoration: none; }

.story { margin-bottom: var(--space-sm); }
.story a {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px; font-weight: 400; line-height: 1.42;
  text-wrap: pretty;
  transition: color 120ms ease;
}

/* the newest item per source leads, heavier and larger — real scale contrast */
.story-lead { margin-bottom: var(--space-md); }
.story-lead a { font-size: 21px; font-weight: 600; line-height: 1.18; text-wrap: balance; }

.source-more {
  display: inline-block; margin-top: var(--space-2xs);
  font-family: var(--label); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted); text-decoration: none;
}
.source-more:hover { color: var(--gold); }

/* Fresh-this-hour marker — quiet gold, so rose stays reserved for live + breaking. */
.flag-new {
  font-family: var(--label);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold);
  vertical-align: 2px; margin-right: 6px;
}
.flag-new::before { content: "✦ "; font-size: 9px; }

/* "Since your last visit" — a gold tick beside anything that landed while you were away. */
.since-tick {
  color: var(--gold-deep); font-size: 11px; margin-right: 6px;
  vertical-align: 1px;
}
.since-flag { color: var(--gold); font-weight: 600; }

/* ---------- house posts ---------- */
.house-posts { margin-top: 0; }
.house-posts h2 {
  font-family: var(--label);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink); text-align: center;
  margin: 0 0 var(--space-lg);
}
.house-posts h2 span { color: var(--gold); }
.house {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}
/* a single Desk post owns the full measure — no stranded empty column */
.house.house-solo { grid-template-columns: 1fr; }
.house-solo .house-lead h3 { font-size: clamp(30px, 4vw, 44px); max-width: 30ch; }
.house-solo .house-lead p { max-width: 70ch; font-size: 17px; }
.house-lead a { color: var(--ink); text-decoration: none; }
.house-lead h3 { font-family: var(--display); font-size: clamp(26px, 3vw, 38px); line-height: 1.08; margin: var(--space-2xs) 0 var(--space-sm); text-wrap: balance; }
.house-lead a:hover h3 { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 5px; text-decoration-thickness: 1px; }
.house-lead p { font-size: 16px; line-height: 1.5; color: var(--ink-soft); margin: 0; max-width: 60ch; }
.house-rest { display: grid; gap: var(--space-md); }
.house-rest a { color: var(--ink); text-decoration: none; display: block; padding-bottom: var(--space-md); border-bottom: 1px solid var(--hair); }
.house-rest a:last-child { border-bottom: 0; }
.house-rest h4 { font-family: var(--display); font-size: 19px; line-height: 1.15; margin: var(--space-2xs) 0 0; text-wrap: balance; }
.house-rest a:hover h4 { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.byline {
  font-family: var(--label); font-size: 12px; color: var(--muted);
  letter-spacing: 0.04em;
}

/* ---------- ad slots ---------- */
.ad-slot { text-align: center; margin: var(--space-md) 0; }
.ad-placeholder {
  border: 1px solid var(--hair);
  color: var(--muted);
  font-family: var(--label);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: var(--space-lg); background: var(--paper-2);
}
.ad-leaderboard .ad-placeholder, .ad-footer .ad-placeholder { min-height: 90px; display: flex; align-items: center; justify-content: center; }

/* ---------- read pile (save for later) ---------- */
.pile-toggle {
  font-family: var(--label); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase;
  background: none; border: 0; color: var(--ink-soft); cursor: pointer; padding: 0; white-space: nowrap;
}
.pile-toggle:hover { color: var(--gold); }

.save-star {
  background: none; border: 0; cursor: pointer;
  color: var(--hair); font-size: 13px; line-height: 1; padding: 0 4px; margin-left: 3px;
  opacity: 0; transition: opacity 120ms ease, color 120ms ease;
}
.story:hover .save-star, .save-star:focus-visible { opacity: 1; }
.save-star:hover { color: var(--gold); }
.save-star.is-saved { opacity: 1; color: var(--gold); }
/* no hover on touch screens — keep the star quietly visible so the feature exists */
@media (hover: none) {
  .save-star { opacity: 0.55; }
}

.pile-scrim {
  position: fixed; inset: 0; background: oklch(12% 0.03 278 / 0.55);
  opacity: 0; transition: opacity 320ms ease; z-index: 60;
}
:root.pile-open .pile-scrim { opacity: 1; }
.pile-panel {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 88vw);
  background: var(--paper); border-left: 1px solid var(--rule);
  z-index: 61; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 320ms cubic-bezier(0.2, 0.7, 0.2, 1);
  box-shadow: -12px 0 40px oklch(24% 0.014 60 / 0.16);
}
:root.pile-open .pile-panel { transform: translateX(0); }
.pile-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-md) var(--space-lg); border-bottom: 3px double var(--rule);
}
.pile-title { font-family: var(--display); font-size: 22px; }
.pile-close { background: none; border: 0; font-size: 18px; cursor: pointer; color: var(--muted); }
.pile-close:hover { color: var(--gold); }
.pile-list { overflow-y: auto; }
.pile-item {
  display: flex; align-items: baseline; gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg); border-bottom: 1px solid var(--hair);
}
.pile-item a { flex: 1; font-family: var(--text); font-size: 15px; color: var(--ink); text-decoration: none; }
.pile-item a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.pile-remove { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 12px; }
.pile-remove:hover { color: var(--gold); }
.pile-empty { font-family: var(--text); font-size: 15px; color: var(--muted); padding: var(--space-xl) var(--space-lg); text-align: center; font-style: italic; }

/* ---------- the reel (videos) ---------- */
.reel { margin-top: 0; }
.reel-head {
  font-family: var(--display); font-size: clamp(24px, 3vw, 32px);
  text-align: center; margin: 0 0 var(--space-lg);
}
.reel-sub { font-family: var(--label); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.reel-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl) var(--space-2xl);
}
.reel-name {
  display: flex; align-items: baseline; gap: var(--space-xs);
  font-family: var(--label); font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink);
  border-bottom: 1px solid var(--rule); padding-bottom: var(--space-2xs); margin: 0 0 var(--space-sm);
}
.reel-name::before { content: ""; width: 7px; height: 7px; background: var(--rule); flex: 0 0 auto; transform: translateY(-1px); }
.reel-name a { color: inherit; text-decoration: none; }

.reel-hero { display: block; text-decoration: none; margin-bottom: var(--space-md); }
/* --gs / --tint are scrubbed by fx.js as thumbnails scroll into view;
   hover rules target the properties directly so a hover always wins. */
.reel-thumb { position: relative; display: block; overflow: hidden; border: 1px solid var(--rule); --gs: 1; --tint: 0.62; }
.reel-thumb img {
  display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  filter: grayscale(var(--gs)) contrast(1.04) brightness(0.96);
  transition: filter 320ms ease, transform 420ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reel-thumb::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: oklch(44% 0.10 278); mix-blend-mode: color;
  opacity: var(--tint); transition: opacity 320ms ease;
}
.reel-hero:hover .reel-thumb img, .reel-hero:focus-visible .reel-thumb img { filter: none; transform: scale(1.03); }
.reel-hero:hover .reel-thumb::after, .reel-hero:focus-visible .reel-thumb::after { opacity: 0; }
.reel-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  background: oklch(20% 0.04 278 / 0.82); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-size: 14px; padding-left: 3px;
  transition: background 200ms ease, color 200ms ease;
}
.reel-hero:hover .reel-play { background: var(--gold); color: var(--paper); }
.reel-hero-title {
  display: block; font-family: var(--text); font-size: 17px; font-weight: 600; line-height: 1.25;
  text-wrap: balance;
  color: var(--ink); margin-top: var(--space-xs);
}
.reel-hero:hover .reel-hero-title { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; text-decoration-thickness: 1px; }

.reel-list { list-style: none; margin: 0; padding: 0; }
.reel-list li { margin-bottom: var(--space-xs); }
.reel-list a { font-family: var(--text); font-size: 14px; color: var(--ink); text-decoration: none; line-height: 1.32; display: flex; gap: 7px; }
.reel-list a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.reel-bullet { color: var(--rule); font-size: 9px; flex: 0 0 auto; transform: translateY(3px); }
@media (prefers-reduced-motion: reduce) { .reel-thumb img { transition: filter 320ms ease; } .reel-hero:hover .reel-thumb img { transform: none; } }

/* ---------- newsletter ---------- */
.newsletter {
  text-align: center;
  border-top: 3px double var(--rule);
  padding: var(--space-xl) 0 var(--space-xs);
}
/* the signup as a vintage admission ticket */
.newsletter.ticket {
  position: relative; border-top: 0; padding: 0;
  max-width: 620px; margin: var(--space-2xl) auto var(--space-md);
  border: 2px solid var(--ink); background: var(--paper-2);
}
.ticket-head {
  font-family: var(--label); text-transform: uppercase; letter-spacing: 0.3em;
  font-size: 13px; font-weight: 700; color: var(--ink);
  padding: var(--space-sm) 0;
  border-bottom: 2px dashed color-mix(in oklab, var(--ink) 45%, transparent);
}
.ticket-star { color: var(--gold-deep); margin: 0 10px; font-size: 11px; vertical-align: 2px; }
/* a tiny serial number along the ticket's edge, like a real stub */
.ticket-serial {
  position: absolute; right: 7px; top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--label); font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-deep); opacity: 0.75;
  pointer-events: none;
}
.ticket-body { padding: var(--space-lg) var(--space-xl); }
.ticket::before, .ticket::after {
  content: ""; position: absolute; top: 41px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--paper); transform: translateY(-50%); z-index: 2;
}
.ticket::before { left: -11px; }
.ticket::after { right: -11px; }
.newsletter-eyebrow {
  font-family: var(--label); font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
  margin-bottom: var(--space-xs);
}
.newsletter-title { font-family: var(--display); font-size: clamp(28px, 3.4vw, 40px); margin: 0 0 var(--space-xs); }
.newsletter-sub { font-size: 16px; color: var(--ink-soft); margin: 0 auto var(--space-md); max-width: 56ch; }
.newsletter-status { font-family: var(--label); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); font-weight: 600; }
.newsletter-status.is-error { color: var(--red); }
.newsletter-form { display: flex; gap: var(--space-xs); justify-content: center; flex-wrap: wrap; }
.newsletter-form input[type=email] {
  font-family: var(--text); font-size: 16px; padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--rule); background: var(--paper); color: var(--ink); min-width: 280px;
}
.newsletter-form input[type=email]:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.newsletter-form button {
  font-family: var(--label); font-weight: 700; font-size: 13px;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--ink); color: var(--paper); border: 0; padding: 0 var(--space-lg); cursor: pointer;
  transition: background 140ms ease;
}
.newsletter-form button:hover { background: var(--gold); color: var(--paper); }

/* ---------- footer ---------- */
.site-footer { margin-top: var(--space-2xl); }
.footer-links { text-align: center; font-family: var(--label); text-transform: uppercase; letter-spacing: 0.1em; font-size: 12px; margin: var(--space-md) 0 var(--space-xs); }
.footer-links a { color: var(--blue); text-decoration: none; margin: 0 var(--space-sm); }
.footer-links a:hover { color: var(--ink); }
.footer-fine { text-align: center; font-family: var(--label); letter-spacing: 0.04em; font-size: 11px; color: var(--muted); padding-bottom: var(--space-lg); }

/* ---------- hover dossier ---------- */
.dossier {
  position: absolute; z-index: 55; width: 320px; max-width: 86vw;
  background: var(--paper); border: 1px solid var(--rule);
  box-shadow: 0 10px 34px oklch(24% 0.014 60 / 0.18);
  padding: var(--space-sm) var(--space-md);
  opacity: 0; transform: translateY(4px);
  transition: opacity 160ms ease, transform 160ms ease;
  pointer-events: none;
}
.dossier.is-visible { opacity: 1; transform: none; }
.dossier-kicker {
  font-family: var(--label); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.14em; font-size: 11px; color: var(--red-deep);
}
.dossier-body {
  font-family: var(--text); font-size: 14px; line-height: 1.4; color: var(--ink-soft);
  margin: 4px 0 0;
  display: -webkit-box; -webkit-line-clamp: 5; line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---------- article ---------- */
.article { max-width: 70ch; margin: var(--space-xl) auto; }
.article h1 { font-family: var(--display); font-size: clamp(34px, 5vw, 52px); line-height: 1.04; }
.article .byline { margin-top: var(--space-sm); }
.article-body { font-size: 19px; line-height: 1.6; margin-top: var(--space-lg); }
.article-body a { color: var(--blue); }

/* ---------- the paper trail (public records) ---------- */
/* rail block */
.rail-trail { list-style: none; margin: 0; padding: 0; }
.rail-trail li { margin-bottom: var(--space-md); }
.rail-trail a {
  display: block; font-family: var(--text); font-size: 14px; font-weight: 600; line-height: 1.3;
  color: var(--ink); text-decoration: underline; text-decoration-color: transparent;
  text-underline-offset: 3px; text-decoration-thickness: 1px;
  transition: text-decoration-color 220ms ease;
}
.rail-trail a:hover { text-decoration-color: var(--gold); }
.trail-src {
  display: block; font-family: var(--label); font-size: 11px;
  letter-spacing: 0.03em; color: var(--gold-deep); margin-top: 3px;
}

/* /paper-trail page */
.trail-page { max-width: 760px; margin: var(--space-xl) auto var(--space-3xl); }
.trail-header { margin-bottom: var(--space-2xl); }
.trail-header .kicker {
  font-family: var(--label); text-transform: uppercase; letter-spacing: 0.2em;
  font-size: 11px; font-weight: 700; color: var(--gold); margin-bottom: var(--space-sm);
}
.trail-title {
  font-family: var(--display); font-size: clamp(32px, 4.5vw, 50px);
  line-height: 1.06; margin: 0 0 var(--space-md); text-wrap: balance;
}
.trail-sub { font-size: 17px; line-height: 1.55; color: var(--ink-soft); max-width: 60ch; margin: 0; }
.trail-empty { font-style: italic; color: var(--muted); text-align: center; padding: var(--space-2xl) 0; }

.trail-meeting { margin-bottom: var(--space-2xl); }
.trail-meeting-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-md);
  font-family: var(--label); font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink);
  border-bottom: 2px solid var(--rule); padding-bottom: var(--space-2xs);
  margin: 0 0 var(--space-lg);
}
.trail-source {
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  color: var(--gold-deep); text-decoration: none; white-space: nowrap;
}
.trail-source:hover { color: var(--gold); }

.trail-item { margin-bottom: var(--space-lg); }
.trail-item-head {
  font-family: var(--text); font-size: 19px; font-weight: 600; line-height: 1.3;
  text-wrap: balance; margin: 0 0 var(--space-2xs); color: var(--ink);
}
.trail-item-meta {
  font-family: var(--label); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--muted); margin: 0 0 var(--space-2xs);
}
.trail-item-raw summary {
  font-family: var(--label); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--gold-deep); cursor: pointer;
}
.trail-item-raw summary:hover { color: var(--gold); }
.trail-item-raw p {
  font-size: 15px; line-height: 1.55; color: var(--ink-soft);
  margin: var(--space-xs) 0 0; max-width: 70ch;
}

/* /tracker — the Permit Tracker hub */
.tracker-page { max-width: 960px; }
.tracker-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: var(--space-lg);
}
.tracker-card {
  background: var(--paper-2);
  border: 1px solid var(--hair);
  border-top: 3px solid var(--gold-deep);
  padding: var(--space-lg);
  display: flex; flex-direction: column; gap: var(--space-xs);
}
.tracker-card-meta {
  display: flex; flex-wrap: wrap; gap: var(--space-xs);
  font-family: var(--label); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em; margin: 0;
}
.tracker-loc { color: var(--muted); }
.tracker-status {
  color: var(--gold-deep);
  border: 1px solid var(--hair); border-radius: 2px; padding: 0 6px;
}
.tracker-card-head {
  font-family: var(--display); font-size: 26px; line-height: 1.1;
  margin: 0; text-wrap: balance;
}
.tracker-card-head a {
  color: var(--ink); text-decoration: underline; text-decoration-color: transparent;
  text-underline-offset: 4px; text-decoration-thickness: 1px;
  transition: text-decoration-color 220ms ease;
}
.tracker-card-head a:hover { text-decoration-color: var(--gold); }
.tracker-card-blurb {
  font-size: 14.5px; line-height: 1.5; color: var(--ink-soft); margin: 0; flex: 1;
}
.tracker-card-foot {
  font-family: var(--label); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--muted); margin: 0;
}
.tracker-count { color: var(--gold-deep); }
.tracker-watching { color: var(--muted); font-style: italic; text-transform: none; letter-spacing: 0.02em; }
.tracker-foot {
  margin-top: var(--space-2xl); padding-top: var(--space-lg);
  border-top: 1px solid var(--hair);
  font-size: 14px; line-height: 1.55; color: var(--muted); max-width: 70ch;
}
.tracker-project-meta { margin: 0 0 var(--space-md); }
.trail-header .kicker a { color: var(--gold); text-decoration: none; }
.trail-header .kicker a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* park page — the Wait Time Almanac (typical waits from our own samples) */
.almanac-section { margin-top: var(--space-2xl); }
.almanac-head {
  font-family: var(--label); font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink);
  border-bottom: 2px solid var(--rule); padding-bottom: var(--space-2xs);
  margin: 0 0 var(--space-2xs);
}
.almanac-sub { font-size: 14px; color: var(--muted); margin: 0 0 var(--space-md); }
.almanac-table { width: 100%; border-collapse: collapse; }
.almanac-table th {
  font-family: var(--label); font-size: 11px; font-weight: 600; text-align: left;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted);
  border-bottom: 1px solid var(--hair); padding: var(--space-2xs) var(--space-xs);
}
.almanac-table th:not(:first-child), .almanac-table td:not(:first-child) { text-align: right; }
.almanac-table td {
  font-size: 14.5px; color: var(--ink-soft); padding: var(--space-2xs) var(--space-xs);
  border-bottom: 1px solid var(--hair);
}
.almanac-table td:first-child { color: var(--ink); font-weight: 600; }
.almanac-best { color: var(--gold-deep); white-space: nowrap; }

/* display headlines never leave a lonely last word on its own line */
.newsletter-title, .lead-post-link, .article h1, .park-title { text-wrap: balance; }

/* ---------- staggered load (restrained) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(8px); animation: rise 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
  .reveal-1 { animation-delay: 0.04s; }
  .reveal-2 { animation-delay: 0.12s; }
  .reveal-3 { animation-delay: 0.20s; }
  .reveal-4 { animation-delay: 0.28s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .news { column-count: 2; }
  .deck { grid-template-columns: 1.4fr 1fr; }
  .deck-lead { grid-row: span 4; }
}
@media (max-width: 860px) {
  .layout { grid-template-columns: 1fr; gap: var(--space-lg); }
  .rail { position: static; grid-template-columns: 1fr 1fr; }
  .house { grid-template-columns: 1fr; gap: var(--space-lg); }
}
@media (max-width: 700px) {
  .deck { grid-template-columns: 1fr; gap: var(--space-lg); }
  .deck-lead { grid-row: auto; padding-right: 0; border-right: 0; }
  .fp-hero { padding-top: var(--space-lg); }
  .fp-hero-meta { margin-top: var(--space-md); }
}
@media (max-width: 560px) {
  .news { column-count: 1; }
  /* phones read headlines first: news, then Most Read, then the parks board */
  .rail { display: contents; }
  .news { order: 0; }
  .rail-block-mostread { order: 1; }
  .rail-block-parks { order: 2; }
}

/* ============================================================
   Magic layer — a living night sky. All additive; every piece
   honors prefers-reduced-motion and degrades to nothing.
   ============================================================ */

/* 1 — the sky changes color with the visitor's own clock.
   data-tod is set by the existing time-of-day script. */
html[data-tod="morning"] { --glow: oklch(67% 0.115 42  / 0.34); }  /* dawn, warm amber-rose  */
html[data-tod="day"]     { --glow: oklch(75% 0.060 250 / 0.15); }  /* pale daylight haze     */
html[data-tod="evening"] { --glow: oklch(54% 0.130 332 / 0.44); }  /* dusk, fireworks magenta*/
html[data-tod="night"]   { --glow: oklch(46% 0.110 295 / 0.46); }  /* deep midnight indigo   */

/* 2 — the sky sits behind all content. The .skyband is the Nightfall WebGL
   canvas, clipped to the masthead + hero and faded out below; .nightsky is the
   DOM fallback for shooting stars when WebGL is unavailable. */
.nightsky { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.skyband {
  position: absolute; top: 0; left: 0; right: 0;
  height: min(78vh, 760px);
  z-index: 0; pointer-events: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, black 62%, transparent 96%);
  mask-image: linear-gradient(to bottom, black 62%, transparent 96%);
}
.skyband canvas { display: block; width: 100%; height: 100%; }
/* lift the real page above the sky without disturbing the fixed overlays
   (utility-bar 50, dossier 55, scrim/panel 60/61) which already stack higher */
.masthead, .wire-ticker, main.rdn-container, .site-footer,
.rdn-container > .ad-slot { position: relative; z-index: 1; }

.shooting-star {
  position: absolute; top: 0; left: 0; width: 2px; height: 2px; border-radius: 50%;
  background: oklch(96% 0.025 88);
  box-shadow: 0 0 7px 1px oklch(90% 0.06 88 / 0.85);
  will-change: transform, opacity;
}
/* the trailing tail streams out behind the head (local -X) */
.shooting-star::after {
  content: ""; position: absolute; right: 1px; top: 50%; height: 1px; width: 78px;
  transform: translateY(-50%);
  background: linear-gradient(to left, oklch(92% 0.07 88 / 0.85), transparent);
}

/* 3 — clipping a story flings a gold star into the Read Pile. */
.fly-star {
  position: fixed; top: 0; left: 0; z-index: 62; pointer-events: none;
  font-family: var(--label); font-size: 20px; color: var(--gold);
  text-shadow: 0 0 12px oklch(84% 0.13 86 / 0.85);
  will-change: transform, opacity;
}
@media (prefers-reduced-motion: no-preference) {
  .pile-pulse { animation: pile-pulse 0.42s cubic-bezier(0.2, 0.7, 0.2, 1); }
  @keyframes pile-pulse { 0% { transform: none; } 38% { transform: scale(1.16); } 100% { transform: none; } }
}

/* 4 — Park constellation: a steady light, bright when a park is open. */
.rp-dot {
  flex: none; width: 8px; height: 8px; border-radius: 50%;
  background: transparent; box-shadow: inset 0 0 0 1px var(--rule);
}
.rp-dot.is-open {
  background: var(--gold);
  box-shadow: 0 0 7px 1px oklch(84% 0.13 86 / 0.7), inset 0 0 0 1px var(--gold-deep);
}
.rp-park { flex: 1; }

/* 5 — Tonight line in the parks rail (moon phase over every park). */
.parks-tonight {
  margin: 0 0 var(--space-sm); padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--hair);
  font-family: var(--label); font-size: 12px; letter-spacing: 0.03em; color: var(--gold);
}

/* 6 — Read Pile as a collected constellation of stars. */
.pile-tally {
  margin: 0; padding: var(--space-sm) var(--space-lg) 0;
  font-family: var(--label); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--gold);
}
.pile-item { align-items: flex-start; }
.pile-star {
  position: relative; flex: none; width: 14px; text-align: center;
  color: var(--gold); font-size: 12px; line-height: 1.6;
  text-shadow: 0 0 8px oklch(84% 0.13 86 / 0.55);
}
.pile-item:not(:last-child) .pile-star::before {
  content: ""; position: absolute; left: 50%; top: 18px; bottom: -22px; width: 1px;
  transform: translateX(-50%); background: var(--hair);
}

/* Weather at the Parks — a quiet two-row readout above the park lights. */
.park-weather {
  display: flex; flex-direction: column; gap: 5px;
  margin: 0 0 var(--space-sm); padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--hair);
}
.wx-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-sm);
  font-family: var(--label);
}
.wx-place {
  font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-soft);
}
.wx-val { display: flex; align-items: baseline; gap: var(--space-xs); white-space: nowrap; }
.wx-temp { font-size: 15px; font-weight: 700; color: var(--gold); }
.wx-cond { font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }

/* 7 — Refined reading craft: a gold underline that fades in beneath a headline,
   keeping the rose red rare. Plus a consistent gold focus ring for keyboard nav. */
.story a, .rail-most-read a, .source-head a {
  text-decoration: underline; text-decoration-color: transparent;
  text-underline-offset: 3px; text-decoration-thickness: 1px;
  transition: text-decoration-color 220ms ease, color 120ms ease;
}
.story a:hover, .rail-most-read a:hover, .source-head a:hover {
  color: var(--ink); text-decoration-color: var(--gold);
}
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 2px;
}

/* ============================================================
   Live wait times — utility-bar rotator, rail links, park page
   ============================================================ */

/* the bold rotating wait time in the middle of the utility bar */
.waits-rotator {
  flex: 1; min-width: 0; text-align: center; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
  font-family: var(--label); font-size: 13px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none;
  color: var(--gold); transition: opacity 0.28s ease;
}
.waits-rotator.is-fading { opacity: 0; }
.waits-rotator .wr-wait { color: var(--ink); }
.waits-rotator .wr-park { color: var(--muted); font-weight: 600; }
.waits-rotator:hover .wr-ride { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
@media (max-width: 700px) { .waits-rotator { font-size: 11px; } }
/* tight phones: the date and Read Pile breathe; live waits still ride the ticker */
@media (max-width: 560px) { .waits-rotator { display: none; } }

/* rail "At the Parks" rows become links into each park page */
.rp-link {
  display: flex; align-items: baseline; gap: var(--space-sm);
  padding: 7px 0; text-decoration: none; color: inherit;
}
.rp-link:hover .rp-park { color: var(--ink); }

/* ---------- park wait-times page ---------- */
.park-page { max-width: 1080px; margin: 0 auto; padding: var(--space-lg) 0 var(--space-3xl); }
.park-back {
  display: inline-block; margin-bottom: var(--space-md);
  font-family: var(--label); text-transform: uppercase; letter-spacing: 0.1em;
  font-size: 12px; color: var(--muted); text-decoration: none;
}
.park-back:hover { color: var(--gold); }

.park-header { padding-bottom: var(--space-md); margin-bottom: var(--space-lg); border-bottom: 1px solid var(--rule); }
.park-kicker { font-family: var(--label); text-transform: uppercase; letter-spacing: 0.16em; font-size: 11px; font-weight: 700; color: var(--gold); }
.park-title { font-family: var(--display); font-size: clamp(36px, 5.5vw, 60px); line-height: 1; margin: var(--space-xs) 0 var(--space-sm); color: var(--ink); }
.park-status { font-family: var(--label); text-transform: uppercase; letter-spacing: 0.06em; font-size: 14px; color: var(--muted); margin: 0; }
.park-status.is-open { color: var(--gold); }
.park-status.is-closed { font-size: 17px; color: var(--gold); }
.park-status strong { color: var(--ink); }

/* "Down right now" surfaced at the top, not buried at the bottom */
.park-down {
  margin: var(--space-sm) 0 0; font-family: var(--label); font-size: 13px;
  letter-spacing: 0.03em; text-transform: uppercase; color: var(--ink-soft);
}
.park-down .pd-label { color: var(--red); font-weight: 700; margin-right: var(--space-xs); }

/* "Today at the park" panel — crowd level, weather, golden hour, tonight's shows */
.park-today { display: flex; flex-wrap: wrap; gap: var(--space-md) var(--space-xl); margin-top: var(--space-md); }
.pt-item { display: flex; flex-direction: column; gap: 2px; }
.pt-label { font-family: var(--label); font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.pt-val { font-family: var(--label); font-size: 17px; font-weight: 700; letter-spacing: 0.02em; color: var(--ink); white-space: nowrap; }
.pt-crowd.is-light { color: var(--ink-soft); }
.pt-crowd.is-moderate { color: var(--gold); }
.pt-crowd.is-busy { color: var(--gold-deep); }
.pt-crowd.is-packed { color: var(--red); }

/* the board: a dense grid where the number is the headline and color is the heat */
.wt-board {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));
  gap: 1px; background: var(--hair); border: 1px solid var(--hair);
  margin-bottom: var(--space-lg);
}
.wt-cell { background: var(--paper); padding: var(--space-md) var(--space-md) var(--space-sm); }
.wt-num { font-family: var(--display); font-size: 40px; line-height: 0.95; }
.wt-unit { font-family: var(--label); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-left: 4px; }
.wt-cell.wt-hot .wt-num { color: var(--red); }
.wt-cell.wt-warm .wt-num { color: var(--gold); }
.wt-cell.wt-cool .wt-num { color: var(--ink-soft); }
.wt-num.wt-walk { font-family: var(--label); font-size: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--gold-deep); }
.wt-name { font-family: var(--text); font-size: 14px; line-height: 1.25; color: var(--ink-soft); margin-top: var(--space-2xs); }

.park-rest { font-family: var(--text); font-style: italic; color: var(--muted); padding: var(--space-2xl) 0; text-align: center; }

/* the quiet "closed" list at the bottom */
.wt-closed {
  margin: 0 0 var(--space-lg); font-family: var(--label); font-size: 12px;
  letter-spacing: 0.03em; text-transform: uppercase; color: var(--muted); line-height: 1.8;
}
.wt-closed-label { color: var(--ink-soft); font-weight: 700; margin-right: var(--space-xs); }

.park-empty, .park-foot {
  font-family: var(--label); font-size: 12px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.park-foot { margin-top: var(--space-lg); }
.park-foot a { color: var(--muted); }
.park-empty { padding: var(--space-2xl) 0; text-align: center; font-size: 14px; text-transform: none; letter-spacing: 0; font-style: italic; font-family: var(--text); }

@media (max-width: 560px) {
  .wt-board { grid-template-columns: repeat(2, 1fr); }
  .wt-num { font-size: 32px; }
}

/* ============================================================
   Planning pages — /parks hub, best-times, crowd-calendar.
   Evergreen views built on our own wait-time history.
   ============================================================ */
.plan-lede {
  font-family: var(--text); font-size: 17px; line-height: 1.5;
  color: var(--ink-soft); max-width: 64ch; margin: var(--space-sm) 0 0;
}
.plan-lede strong { color: var(--ink); }

/* cross-link row between the live board and the planning pages */
.plan-links {
  display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-lg);
  margin: 0 0 var(--space-lg);
}
.plan-links a {
  font-family: var(--label); text-transform: uppercase; letter-spacing: 0.06em;
  font-size: 13px; font-weight: 700; color: var(--gold); text-decoration: none;
}
.plan-links a:hover { color: var(--ink); }

/* /parks hub cards */
.plan-resort {
  font-family: var(--label); text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 13px; font-weight: 700; color: var(--muted);
  margin: var(--space-xl) 0 var(--space-sm); padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--hair);
}
.plan-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-md);
}
.plan-card {
  background: var(--paper-2); border: 1px solid var(--hair);
  padding: var(--space-md) var(--space-md) var(--space-sm);
}
.plan-card-name { font-family: var(--display); font-size: 24px; margin: 0 0 var(--space-xs); color: var(--ink); }
.plan-card-links { display: flex; flex-direction: column; gap: 3px; }
.plan-card-links a {
  font-family: var(--label); text-transform: uppercase; letter-spacing: 0.05em;
  font-size: 13px; color: var(--ink-soft); text-decoration: none; padding: 2px 0;
}
.plan-card-links a:hover { color: var(--gold); }

/* "still gathering data" state */
.plan-empty {
  background: var(--paper-2); border: 1px solid var(--hair);
  padding: var(--space-lg); margin: var(--space-md) 0;
  font-family: var(--text); color: var(--ink-soft); line-height: 1.5;
}
.plan-empty p { margin: 0 0 var(--space-sm); }
.plan-empty p:last-child { margin-bottom: 0; }
.plan-empty a { color: var(--gold); }

/* ride × hour heatmap (best-times) */
.plan-scroll { overflow-x: auto; margin: 0 0 var(--space-sm); -webkit-overflow-scrolling: touch; }
.plan-grid-table { border-collapse: collapse; width: 100%; font-family: var(--label); }
.plan-grid-table th, .plan-grid-table td { border: 1px solid var(--paper); }
.plan-grid-table thead th {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--muted); font-weight: 700; padding: var(--space-2xs) 4px; text-align: center;
  position: sticky; top: 0; background: var(--paper); z-index: 1;
}
.plan-grid-table th.pg-ride {
  text-align: left; position: sticky; left: 0; z-index: 2; background: var(--paper);
  min-width: 168px; max-width: 220px;
}
tbody th.pg-ride {
  font-family: var(--text); font-size: 14px; font-weight: 600; color: var(--ink-soft);
  padding: 6px var(--space-xs) 6px 0; line-height: 1.2;
}
.pg-best { text-align: center; }
td.pg-best { font-size: 13px; font-weight: 700; color: var(--gold); white-space: nowrap; padding: 0 6px; }
.pg-cell {
  text-align: center; font-size: 13px; font-weight: 700; color: var(--ink);
  padding: 6px 4px; min-width: 34px;
}
.pg-cell.wt-cool { background: oklch(40% 0.05 278 / 0.32); color: var(--ink-soft); }
.pg-cell.wt-warm { background: oklch(70% 0.13 86 / 0.24); color: var(--ink); }
.pg-cell.wt-hot  { background: oklch(60% 0.19 8 / 0.30); color: var(--ink); }
.pg-cell.pg-na   { color: var(--hair); background: transparent; font-weight: 400; }
.pg-cell.is-best { outline: 2px solid var(--gold); outline-offset: -2px; position: relative; }
.pg-cell.is-best::after { content: "◇"; position: absolute; top: 0; right: 2px; font-size: 8px; color: var(--gold); }

.plan-legend {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-md);
  font-family: var(--label); font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--muted); margin: 0 0 var(--space-xl);
}
.lg-swatch { width: 13px; height: 13px; display: inline-block; margin-right: -6px; border: 1px solid var(--hair); }
.lg-swatch.wt-cool { background: oklch(40% 0.05 278 / 0.32); }
.lg-swatch.wt-warm { background: oklch(70% 0.13 86 / 0.24); }
.lg-swatch.wt-hot  { background: oklch(60% 0.19 8 / 0.30); }
.lg-best-key { color: var(--gold); }

/* crowd-calendar callouts */
.plan-callouts { display: flex; flex-wrap: wrap; gap: var(--space-md); margin: 0 0 var(--space-xl); }
.plan-callout {
  flex: 1 1 200px; background: var(--paper-2); border: 1px solid var(--hair);
  padding: var(--space-md); display: flex; flex-direction: column; gap: 2px;
}
.plan-callout.is-quiet { border-left: 3px solid var(--gold); }
.plan-callout.is-busy { border-left: 3px solid var(--red); }
.pc-label { font-family: var(--label); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.pc-day { font-family: var(--display); font-size: 30px; line-height: 1; color: var(--ink); }
.pc-meta { font-family: var(--label); font-size: 13px; letter-spacing: 0.03em; color: var(--ink-soft); }

.plan-sub {
  font-family: var(--display); font-size: 24px; color: var(--ink);
  margin: var(--space-xl) 0 var(--space-sm);
}

/* day-of-week bars */
.dow-bars { list-style: none; margin: 0 0 var(--space-lg); padding: 0; }
.dow-row { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: var(--space-sm); padding: 5px 0; }
.dow-name { font-family: var(--label); font-size: 14px; font-weight: 700; letter-spacing: 0.04em; color: var(--ink-soft); }
.dow-track { background: var(--hair); height: 14px; border-radius: 2px; overflow: hidden; }
.dow-fill { display: block; height: 100%; border-radius: 2px; min-width: 2px; }
.dow-fill.is-light { background: var(--ink-soft); }
.dow-fill.is-moderate { background: var(--gold); }
.dow-fill.is-busy { background: var(--gold-deep); }
.dow-fill.is-packed { background: var(--red); }
.dow-val { font-family: var(--label); font-size: 12px; letter-spacing: 0.03em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.dow-unit { margin-left: 2px; }

/* recent-days strip */
.cal-strip { display: flex; flex-wrap: wrap; gap: 5px; margin: 0 0 var(--space-xl); }
.cal-day {
  width: 58px; padding: var(--space-xs) 4px; border: 1px solid var(--hair);
  display: flex; flex-direction: column; align-items: center; gap: 1px; text-align: center;
}
.cal-day.is-light { background: oklch(40% 0.05 278 / 0.32); }
.cal-day.is-moderate { background: oklch(70% 0.13 86 / 0.22); }
.cal-day.is-busy { background: oklch(70% 0.13 86 / 0.34); }
.cal-day.is-packed { background: oklch(60% 0.19 8 / 0.30); }
.cal-dow { font-family: var(--label); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.cal-num { font-family: var(--display); font-size: 22px; line-height: 1; color: var(--ink); }
.cal-date { font-family: var(--label); font-size: 10px; color: var(--muted); }

/* FAQ block (shared) */
.plan-faq { margin: var(--space-xl) 0; border-top: 1px solid var(--hair); padding-top: var(--space-lg); }
.plan-faq-head { font-family: var(--display); font-size: 26px; color: var(--ink); margin: 0 0 var(--space-md); }
.plan-faq dt { font-family: var(--text); font-size: 17px; font-weight: 600; color: var(--ink); margin: var(--space-md) 0 var(--space-2xs); }
.plan-faq dd { font-family: var(--text); font-size: 16px; line-height: 1.55; color: var(--ink-soft); margin: 0; }

@media (max-width: 560px) {
  .pc-day { font-size: 26px; }
  .plan-grid-table thead th.pg-hour { font-size: 9px; }
}

/* park-page tool cards — the prominent nav from the live board to the planners */
.park-tools {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(218px, 1fr));
  gap: var(--space-md); margin: 0 0 var(--space-xl);
}
.park-tool {
  position: relative; display: flex; flex-direction: column; gap: 4px;
  padding: var(--space-md) var(--space-lg) var(--space-md) var(--space-md);
  background: var(--paper-2); border: 1px solid var(--hair); border-left: 3px solid var(--gold);
  text-decoration: none; transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}
.park-tool:hover {
  transform: translateY(-2px); border-color: var(--gold);
  box-shadow: 0 10px 28px oklch(10% 0.03 278 / 0.42);
}
.park-tool::after {
  content: "→"; position: absolute; top: var(--space-md); right: var(--space-md);
  font-family: var(--label); color: var(--gold); transition: transform 150ms ease;
}
.park-tool:hover::after { transform: translateX(3px); }
.park-tool-name {
  font-family: var(--label); text-transform: uppercase; letter-spacing: 0.07em;
  font-size: 15px; font-weight: 700; color: var(--gold); padding-right: 22px;
}
.park-tool-sub { font-family: var(--text); font-size: 14px; line-height: 1.35; color: var(--ink-soft); }
@media (max-width: 560px) { .park-tools { grid-template-columns: 1fr; } }

/* ============================================================
   Ranked rides index — /parks/{park}/rides
   ============================================================ */
.rank-page { max-width: 1000px; margin: 0 auto; padding: var(--space-lg) 0 var(--space-3xl); }

.rank-filters { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin: var(--space-lg) 0 var(--space-md); }
.rank-chip {
  font-family: var(--label); text-transform: uppercase; letter-spacing: 0.06em; font-size: 12px; font-weight: 700;
  color: var(--ink-soft); background: var(--paper-2); border: 1px solid var(--hair);
  padding: 7px var(--space-md); border-radius: 999px; cursor: pointer; transition: all 140ms ease;
}
.rank-chip:hover { border-color: var(--gold); color: var(--ink); }
.rank-chip.is-active { background: var(--gold); color: var(--paper); border-color: var(--gold); }

.rank-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.rank-table { border-collapse: collapse; width: 100%; font-family: var(--label); }
.rank-table thead th {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 700;
  text-align: left; padding: var(--space-xs) var(--space-sm); border-bottom: 1px solid var(--rule); white-space: nowrap;
}
.rank-table tbody td, .rank-table tbody th { padding: var(--space-sm); border-bottom: 1px solid var(--hair); text-align: left; vertical-align: middle; }
.rank-table tbody tr:hover { background: var(--paper-2); }
.rk-num { font-family: var(--display); font-size: 18px; color: var(--muted); width: 36px; text-align: center !important; }
.rk-ride { min-width: 200px; }
.rk-ride a { font-family: var(--text); font-size: 16px; font-weight: 600; color: var(--ink); text-decoration: none; }
.rk-ride a:hover { color: var(--gold); }
.rk-now { font-family: var(--display); font-size: 18px; color: var(--gold); white-space: nowrap; }
.rk-best { color: var(--gold-deep); white-space: nowrap; }
.rk-land, .rk-height { font-size: 13px; color: var(--ink-soft); white-space: nowrap; }
.rank-table td:nth-child(4) { font-family: var(--display); font-size: 17px; color: var(--ink); }
.rank-empty { font-family: var(--text); font-style: italic; color: var(--muted); padding: var(--space-xl) 0; text-align: center; }

@media (max-width: 640px) {
  .rank-table .rk-land, .rank-table th:nth-child(6) { display: none; }
  .rk-ride a { font-size: 15px; }
}

/* ============================================================
   Per-ride pages — /parks/{park}/rides/{ride}
   ============================================================ */
.ride-page { max-width: 880px; margin: 0 auto; padding: var(--space-lg) 0 var(--space-3xl); }

.ride-hero { margin: var(--space-sm) 0 0; position: relative; }
.ride-hero img {
  display: block; width: 100%; height: auto; max-height: 460px; object-fit: cover;
  border: 1px solid var(--hair); border-radius: 4px;
  box-shadow: 0 14px 40px oklch(10% 0.03 278 / 0.5);
}
.ride-credit {
  font-family: var(--label); font-size: 11px; letter-spacing: 0.02em; color: var(--muted);
  text-align: right; margin-top: 5px;
}
.ride-credit a { color: var(--muted); }
.ride-credit a:hover { color: var(--gold); }

.ride-head { margin: var(--space-lg) 0 var(--space-md); }
.ride-kicker { font-family: var(--label); text-transform: uppercase; letter-spacing: 0.16em; font-size: 12px; font-weight: 700; color: var(--gold); }
.ride-title { font-family: var(--display); font-size: clamp(30px, 4.6vw, 48px); line-height: 1.05; margin: var(--space-xs) 0 var(--space-sm); color: var(--ink); }
.ride-blurb { font-family: var(--text); font-size: 18px; line-height: 1.55; color: var(--ink-soft); margin: 0; max-width: 68ch; }

/* live + headline stats */
.ride-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--hair); border: 1px solid var(--hair); margin: var(--space-lg) 0; }
.ride-stat { background: var(--paper); padding: var(--space-md); display: flex; flex-direction: column; gap: 4px; }
.rs-label { font-family: var(--label); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.rs-val { font-family: var(--display); font-size: 28px; line-height: 1; color: var(--ink); }
.ride-stat-live .rs-val { color: var(--muted); }
.ride-stat-live.is-live { background: var(--paper-2); }
.ride-stat-live.is-live .rs-val { color: var(--gold); }
.ride-stat-best .rs-val { color: var(--gold); }

.ride-h2 { font-family: var(--display); font-size: clamp(24px, 3.2vw, 30px); color: var(--ink); margin: 0 0 var(--space-md); }
.ride-facts, .ride-best, .ride-faq, .ride-more { margin: var(--space-2xl) 0; }

.ride-facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--space-md); margin: 0; }
.ride-facts-grid > div { border-left: 2px solid var(--hair); padding-left: var(--space-sm); }
.ride-facts-grid dt { font-family: var(--label); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin: 0; }
.ride-facts-grid dd { font-family: var(--text); font-size: 17px; color: var(--ink); margin: 2px 0 0; }

/* hourly strip */
.ride-best-sub { font-family: var(--text); font-size: 16px; line-height: 1.5; color: var(--ink-soft); margin: 0 0 var(--space-md); }
.ride-hours { display: grid; grid-template-columns: repeat(auto-fit, minmax(50px, 1fr)); gap: 4px; }
.ride-hour { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: var(--space-sm) 2px; border: 1px solid var(--hair); position: relative; }
.ride-hour.wt-cool { background: oklch(40% 0.05 278 / 0.32); }
.ride-hour.wt-warm { background: oklch(70% 0.13 86 / 0.24); }
.ride-hour.wt-hot  { background: oklch(60% 0.19 8 / 0.30); }
.ride-hour.is-best { outline: 2px solid var(--gold); outline-offset: -2px; }
.ride-hour.is-best::after { content: "◇"; position: absolute; top: 1px; right: 3px; font-size: 9px; color: var(--gold); }
.rh-wait { font-family: var(--display); font-size: 20px; line-height: 1; color: var(--ink); }
.rh-hour { font-family: var(--label); font-size: 10px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.ride-best-tip { font-family: var(--text); font-size: 16px; line-height: 1.55; color: var(--ink-soft); margin: var(--space-md) 0 0; }
.ride-best-tip strong { color: var(--gold); }
.ride-best-sub a { color: var(--gold); }

.ride-faq dt { font-family: var(--text); font-size: 17px; font-weight: 600; color: var(--ink); margin: var(--space-md) 0 var(--space-2xs); }
.ride-faq dd { font-family: var(--text); font-size: 16px; line-height: 1.55; color: var(--ink-soft); margin: 0; }

.ride-more-links { display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-lg); margin-bottom: var(--space-md); }
.ride-more-links a { font-family: var(--label); text-transform: uppercase; letter-spacing: 0.06em; font-size: 13px; font-weight: 700; color: var(--gold); text-decoration: none; }
.ride-more-links a:hover { color: var(--ink); }
.ride-siblings { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-md); padding: 0; margin: 0; }
.ride-siblings a { font-family: var(--text); font-size: 15px; color: var(--ink-soft); text-decoration: none; }
.ride-siblings a:hover { color: var(--gold); }

@media (max-width: 560px) {
  .ride-hours { grid-template-columns: repeat(auto-fit, minmax(44px, 1fr)); }
  .rh-wait { font-size: 17px; }
}

/* ============================================================
   Planning guide — long-form evergreen article (/guides/...)
   ============================================================ */
.guide { max-width: 820px; margin: 0 auto; padding: var(--space-lg) 0 var(--space-3xl); }
.guide-hero { text-align: center; padding-bottom: var(--space-lg); }
.guide-kicker { font-family: var(--label); text-transform: uppercase; letter-spacing: 0.16em; font-size: 12px; font-weight: 700; color: var(--gold); }
.guide-title { font-family: var(--display); font-size: clamp(34px, 5.5vw, 56px); line-height: 1.04; margin: var(--space-sm) 0; color: var(--ink); }
/* scoped under .guide so these beat the generic `.guide p` rule (0,0,1,1) */
.guide .guide-standfirst { font-family: var(--text); font-size: 19px; line-height: 1.6; color: var(--ink-soft); margin: var(--space-md) 0 0; max-width: none; text-align: left; }

.guide-figure { margin: var(--space-lg) 0; }
.guide-figure img { display: block; width: 100%; height: auto; border: 1px solid var(--hair); border-radius: 3px; box-shadow: 0 10px 34px oklch(10% 0.03 278 / 0.45); }
.guide-figure-lead { margin-top: var(--space-xl); }
.guide-figure figcaption {
  font-family: var(--label); font-size: 13px; letter-spacing: 0.02em; color: var(--muted);
  text-align: center; margin-top: var(--space-xs); line-height: 1.4;
}

.guide .guide-lede { font-family: var(--text); font-size: 20px; line-height: 1.55; color: var(--ink); margin: var(--space-xl) 0; }
.guide-lede strong, .guide p strong { color: var(--gold); font-weight: 600; }

.guide-section { margin: var(--space-2xl) 0; }
.guide-section > h2 { font-family: var(--display); font-size: clamp(26px, 3.4vw, 34px); line-height: 1.1; color: var(--ink); margin: 0 0 var(--space-md); }
.guide p { font-family: var(--text); font-size: 17px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 var(--space-md); }
.guide a { color: var(--gold); text-decoration: none; border-bottom: 1px solid oklch(84% 0.13 86 / 0.35); }
.guide a:hover { border-bottom-color: var(--gold); }

.guide-tool { margin: var(--space-lg) 0; }
.guide-tool h3 { font-family: var(--display); font-size: 23px; color: var(--ink); margin: 0 0 var(--space-2xs); }

/* numbered steps */
.guide-steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.guide-step { counter-increment: step; position: relative; padding: 0 0 var(--space-lg) 56px; }
.guide-step::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 20px; color: var(--paper);
  background: var(--gold); box-shadow: 0 0 0 4px oklch(84% 0.13 86 / 0.18);
}
.guide-step-name { font-family: var(--display); font-size: 21px; color: var(--ink); margin: 4px 0 var(--space-2xs); line-height: 1.15; }
.guide-step p { margin: 0; }

/* the big tip */
.guide-callout {
  margin: var(--space-2xl) 0; padding: var(--space-lg);
  background: var(--paper-2); border: 1px solid var(--hair); border-left: 3px solid var(--gold);
}
.guide-callout-label { font-family: var(--label); text-transform: uppercase; letter-spacing: 0.12em; font-size: 12px; font-weight: 700; color: var(--gold); margin-bottom: var(--space-xs); }
.guide-callout p { margin: 0; font-size: 18px; color: var(--ink); }

/* park-by-park table */
.guide-parktable { overflow-x: auto; }
.guide-parktable table { border-collapse: collapse; width: 100%; }
.guide-parktable th, .guide-parktable td { text-align: left; padding: var(--space-sm) var(--space-md); border-bottom: 1px solid var(--hair); }
.guide-parktable thead th { font-family: var(--label); text-transform: uppercase; letter-spacing: 0.06em; font-size: 11px; color: var(--muted); font-weight: 700; }
.guide-parktable tbody th { font-family: var(--display); font-size: 18px; color: var(--ink); font-weight: 400; }
.guide-parktable td a { font-family: var(--label); text-transform: uppercase; letter-spacing: 0.04em; font-size: 13px; border-bottom: none; }

/* FAQ */
.guide-faq dt { font-family: var(--text); font-size: 18px; font-weight: 600; color: var(--ink); margin: var(--space-md) 0 var(--space-2xs); }
.guide-faq dd { font-family: var(--text); font-size: 16px; line-height: 1.6; color: var(--ink-soft); margin: 0; }

/* closing CTA */
.guide-cta { text-align: center; margin: var(--space-2xl) 0 var(--space-lg); }
.guide-cta p { font-family: var(--display); font-size: 24px; color: var(--ink); margin: 0 0 var(--space-sm); }
/* scoped under .guide so it outranks the .guide a link rule (gold-on-gold fix) */
.guide a.guide-cta-btn {
  display: inline-block; font-family: var(--label); text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 15px; font-weight: 700; color: var(--paper); background: var(--gold);
  padding: var(--space-sm) var(--space-xl); border-radius: 2px; text-decoration: none; border: none; border-bottom: none;
}
.guide a.guide-cta-btn:hover { background: var(--gold-deep); color: var(--paper); }
.guide .guide-foot { text-align: center; font-family: var(--label); font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); margin-top: var(--space-xl); }

@media (max-width: 560px) {
  .guide-step { padding-left: 46px; }
  .guide-step::before { width: 32px; height: 32px; font-size: 17px; }
}

/* homepage guide promo — the how-to card under the parks band */
.guide-promo {
  display: grid; grid-template-columns: 320px 1fr; align-items: stretch;
  margin: var(--space-lg) 0 var(--space-xl);
  border: 1px solid var(--hair); border-left: 3px solid var(--gold);
  background: var(--paper-2); text-decoration: none; overflow: hidden;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
.guide-promo:hover {
  transform: translateY(-2px); border-color: var(--gold);
  box-shadow: 0 14px 38px oklch(10% 0.03 278 / 0.45);
}
.guide-promo-art {
  display: block; background-size: cover; background-position: left center;
  min-height: 188px; position: relative;
}
/* fade the art into the panel so the text side reads cleanly */
.guide-promo-art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 55%, var(--paper-2) 100%);
}
.guide-promo-body {
  padding: var(--space-lg) var(--space-xl);
  display: flex; flex-direction: column; justify-content: center; gap: var(--space-2xs);
}
.guide-promo-kicker { font-family: var(--label); text-transform: uppercase; letter-spacing: 0.14em; font-size: 11px; font-weight: 700; color: var(--gold); }
.guide-promo-title { font-family: var(--display); font-size: clamp(23px, 3vw, 31px); line-height: 1.08; color: var(--ink); }
.guide-promo-desc { font-family: var(--text); font-size: 16px; line-height: 1.5; color: var(--ink-soft); margin-top: 4px; max-width: 54ch; }
.guide-promo-cta { font-family: var(--label); text-transform: uppercase; letter-spacing: 0.06em; font-size: 14px; font-weight: 700; color: var(--gold); margin-top: var(--space-sm); }
.guide-promo:hover .guide-promo-cta { color: var(--ink); }

@media (max-width: 640px) {
  .guide-promo { grid-template-columns: 1fr; }
  .guide-promo-art { min-height: 130px; background-position: center; }
  .guide-promo-art::after { background: linear-gradient(180deg, transparent 50%, var(--paper-2) 100%); }
  .guide-promo-body { padding: var(--space-md) var(--space-lg) var(--space-lg); }
}

/* ============================================================
   Homepage "Live at the Parks" band — the parks utility,
   surfaced hard and high on the front page.
   ============================================================ */
.parks-band {
  margin: var(--space-xl) 0;
  padding: var(--space-lg) var(--space-lg) var(--space-xl);
  background:
     radial-gradient(120% 100% at 50% -20%, oklch(32% 0.07 295 / 0.5), transparent 60%),
     var(--paper-2);
  border: 1px solid var(--hair);
  border-top: 3px solid var(--gold);
}
.parks-band-head { text-align: center; margin-bottom: var(--space-md); }
.pb-kicker { font-family: var(--label); text-transform: uppercase; letter-spacing: 0.16em; font-size: 12px; font-weight: 700; color: var(--gold); }
.pb-title { font-family: var(--display); font-size: clamp(28px, 4vw, 42px); line-height: 1.05; margin: var(--space-2xs) 0 var(--space-xs); color: var(--ink); }
.pb-lede { font-family: var(--text); font-size: 16px; color: var(--ink-soft); margin: 0 auto; max-width: 60ch; }

.pb-livenow {
  text-align: center; font-family: var(--label); text-transform: uppercase;
  letter-spacing: 0.05em; font-size: 14px; color: var(--ink-soft); margin: 0 0 var(--space-md);
}
.pb-livenow strong { color: var(--gold); }
.pb-flame { margin-right: 4px; }

.pb-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: var(--space-sm); margin-bottom: var(--space-lg);
}
.pb-park {
  display: flex; flex-direction: column; gap: 4px;
  padding: var(--space-sm) var(--space-md);
  background: var(--paper); border: 1px solid var(--hair);
  text-decoration: none; transition: border-color 150ms ease, transform 150ms ease;
}
.pb-park:hover { border-color: var(--gold); transform: translateY(-2px); }
.pb-park-name { font-family: var(--display); font-size: 19px; color: var(--ink); line-height: 1.1; }
.pb-park-status { font-family: var(--label); font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.pb-park.is-open .pb-park-status { color: var(--gold); }
.pb-park.is-open .pb-park-name::before {
  content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); margin-right: 6px; vertical-align: middle;
  box-shadow: 0 0 7px 1px oklch(84% 0.13 86 / 0.6);
}

.pb-cta {
  display: block; text-align: center;
  font-family: var(--label); text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 15px; font-weight: 700; color: var(--paper);
  background: var(--gold); padding: var(--space-sm) var(--space-md);
  text-decoration: none; border-radius: 2px;
}
.pb-cta:hover { background: var(--gold-deep); }

@media (max-width: 560px) {
  .pb-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   The Constellation — the park as a night sky. Each operating
   ride is a star placed at its real coordinates; size and color
   are the wait. Built by skymap.js on park pages.
   ============================================================ */
.skymap {
  position: relative;
  margin: 0 0 var(--space-lg);
  border: 1px solid var(--hair);
  background:
    radial-gradient(120% 90% at 50% -10%, oklch(30% 0.07 295 / 0.5), transparent 60%),
    oklch(19% 0.045 278);
  overflow: hidden;
}
.skymap svg { display: block; width: 100%; height: auto; }
.skymap-foot {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-md);
  padding: var(--space-xs) var(--space-md) var(--space-sm);
  font-family: var(--label); font-size: 11px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted);
}
.skymap-legend { display: flex; gap: var(--space-md); }
.skymap-legend i {
  font-style: normal; display: inline-flex; align-items: center; gap: 5px;
}
.skymap-legend i::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; display: inline-block;
}
.skymap-legend .lg-cool::before { background: oklch(88% 0.025 84); }
.skymap-legend .lg-warm::before { background: var(--gold); }
.skymap-legend .lg-hot::before  { background: var(--red); }

.sky-edge { stroke: oklch(58% 0.04 282 / 0.30); stroke-width: 1; }
.sky-star { cursor: pointer; }
.sky-star .halo { opacity: 0.16; }
.sky-star .core { transition: opacity 200ms ease; }
.sky-star.wt-cool .core, .sky-star.wt-cool .halo { fill: oklch(90% 0.025 84); }
.sky-star.wt-warm .core, .sky-star.wt-warm .halo { fill: var(--gold); }
.sky-star.wt-hot  .core, .sky-star.wt-hot  .halo { fill: var(--red); }
.sky-star.wt-down .core { fill: none; stroke: var(--red-deep); stroke-width: 1.4; }
.sky-star.wt-down .halo { fill: var(--red-deep); opacity: 0.08; }
.sky-star:hover .core { opacity: 1; }
.sky-label {
  font-family: var(--label); font-size: 12px; letter-spacing: 0.05em;
  text-transform: uppercase; fill: oklch(75% 0.03 84); pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .sky-star .core { animation: star-breathe var(--tw-dur, 4s) ease-in-out var(--tw-delay, 0s) infinite alternate; }
  @keyframes star-breathe { from { opacity: 0.72; } to { opacity: 1; } }
}

.sky-tip {
  position: absolute; z-index: 5; pointer-events: none;
  background: var(--paper); border: 1px solid var(--rule);
  box-shadow: 0 8px 26px oklch(10% 0.03 278 / 0.45);
  padding: 6px 10px; max-width: 240px;
  opacity: 0; transform: translateY(3px);
  transition: opacity 140ms ease, transform 140ms ease;
}
.sky-tip.is-visible { opacity: 1; transform: none; }
.sky-tip-name { font-family: var(--text); font-size: 13px; font-weight: 600; color: var(--ink); display: block; line-height: 1.25; }
.sky-tip-wait { font-family: var(--label); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); }

/* ============================================================
   The Story File — one event, every outlet's take, in the
   order the wire heard it. /story/{id}
   ============================================================ */
.storyfile { max-width: 760px; margin: var(--space-xl) auto var(--space-3xl); }
.fp-story, .deck-also { text-decoration: none; }
a.fp-story { color: var(--gold); font-weight: 600; }
a.fp-story:hover, a.deck-also:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }

.takes { list-style: none; margin: var(--space-xl) 0 0; padding: 0; }
.take {
  position: relative;
  display: grid; grid-template-columns: 132px 1fr;
  gap: var(--space-lg);
  padding: 0 0 var(--space-xl) var(--space-lg);
}
/* the timeline spine: a node per take, a thread between them */
.take::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--rule);
}
.take-first::before {
  background: var(--gold);
  box-shadow: 0 0 8px 1px oklch(84% 0.13 86 / 0.6);
}
.take::after {
  content: ""; position: absolute; left: 3px; top: 20px; bottom: 6px;
  width: 1px; background: var(--hair);
}
.take:last-child::after { display: none; }
.take:last-child { padding-bottom: 0; }

.take-when { text-align: left; }
.take-flag {
  display: block; font-family: var(--label); font-weight: 700; font-size: 13px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold);
}
.take-after {
  display: block; font-family: var(--display); font-size: 22px; line-height: 1;
  color: var(--ink-soft);
}
.take-clock {
  display: block; margin-top: 3px;
  font-family: var(--label); font-size: 11px; letter-spacing: 0.04em; color: var(--muted);
}
.take-src {
  display: block; font-family: var(--label); font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft);
  margin-bottom: var(--space-2xs);
}
.take-head {
  font-family: var(--text); font-size: 19px; font-weight: 600; line-height: 1.3;
  text-wrap: balance; color: var(--ink);
  text-decoration: underline; text-decoration-color: transparent;
  text-underline-offset: 3px; text-decoration-thickness: 1px;
  transition: text-decoration-color 220ms ease;
}
.take-head:hover { text-decoration-color: var(--gold); }
.take-first .take-head { font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.15; }
.take-sum {
  margin: var(--space-xs) 0 0; max-width: 56ch;
  font-size: 14.5px; line-height: 1.5; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.storyfile-foot {
  margin-top: var(--space-2xl); padding-top: var(--space-lg);
  border-top: 1px solid var(--hair);
  font-size: 14px; color: var(--muted);
}
.storyfile-foot a { color: var(--gold); text-decoration: none; }
.storyfile-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) {
  .take { grid-template-columns: 1fr; gap: var(--space-2xs); }
}

/* ============================================================
   Search the Wire — /search
   ============================================================ */
.searchpage { max-width: 760px; margin: var(--space-xl) auto var(--space-3xl); }
.search-form { display: flex; gap: var(--space-xs); margin-top: var(--space-lg); max-width: 560px; }
.search-form input[type=search] {
  flex: 1; font-family: var(--text); font-size: 17px;
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--rule); background: var(--paper-2); color: var(--ink);
}
.search-form input[type=search]:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.search-form button {
  font-family: var(--label); font-weight: 700; font-size: 13px;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--ink); color: var(--paper); border: 0;
  padding: 0 var(--space-lg); cursor: pointer; transition: background 140ms ease;
}
.search-form button:hover { background: var(--gold); }
.search-count {
  font-family: var(--label); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid var(--hair); padding-bottom: var(--space-xs);
  margin: var(--space-2xl) 0 var(--space-lg);
}
.search-none { font-style: italic; color: var(--muted); margin-top: var(--space-2xl); }
.search-results { list-style: none; margin: 0; padding: 0; }
.search-hit { margin-bottom: var(--space-xl); }
.search-meta {
  display: block; margin-top: var(--space-2xs);
  font-family: var(--label); font-size: 12px; letter-spacing: 0.04em; color: var(--muted);
}

/* ============================================================
   Article extras — share row + "meanwhile, on the wire"
   ============================================================ */
.share-row {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-md);
  margin-top: var(--space-2xl); padding-top: var(--space-lg);
  border-top: 1px solid var(--hair);
  font-family: var(--label); font-size: 13px; letter-spacing: 0.06em;
}
.share-label {
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 11px; color: var(--gold);
}
.share-row a, .share-row button {
  color: var(--ink-soft); text-decoration: none; background: none; border: 0;
  font: inherit; cursor: pointer; padding: 0;
  text-decoration: underline; text-decoration-color: transparent;
  text-underline-offset: 3px; text-decoration-thickness: 1px;
  transition: text-decoration-color 220ms ease, color 120ms ease;
}
.share-row a:hover, .share-row button:hover { color: var(--ink); text-decoration-color: var(--gold); }
.share-row button:disabled { color: var(--gold); cursor: default; }

.article-after { max-width: 70ch; margin: 0 auto var(--space-xl); }
.after-head {
  font-family: var(--display); font-size: 24px; font-weight: 400;
  margin: 0 0 var(--space-lg);
}
.wire-mini { list-style: none; margin: 0; padding: 0; }
.wire-mini li { margin-bottom: var(--space-lg); }
.wire-mini-head {
  font-family: var(--text); font-size: 18px; font-weight: 600; line-height: 1.3;
  text-wrap: balance; color: var(--ink);
  text-decoration: underline; text-decoration-color: transparent;
  text-underline-offset: 3px; text-decoration-thickness: 1px;
  transition: text-decoration-color 220ms ease;
}
.wire-mini-head:hover { text-decoration-color: var(--gold); }
.wire-mini-meta {
  display: block; margin-top: 3px;
  font-family: var(--label); font-size: 12px; letter-spacing: 0.04em; color: var(--muted);
}
.wire-mini-meta a { color: var(--gold-deep); text-decoration: none; }
.wire-mini-meta a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   Accessibility chrome — skip link + ticker pause control
   ============================================================ */
.skip-link {
  position: fixed; top: 10px; left: 50%; transform: translate(-50%, -300%);
  z-index: 100;
  background: var(--gold); color: var(--paper);
  font-family: var(--label); font-weight: 700; font-size: 13px;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  padding: 9px 18px;
  transition: transform 180ms ease;
}
.skip-link:focus-visible { transform: translate(-50%, 0); outline-offset: 3px; }

.ticker-pause {
  flex: 0 0 auto;
  background: none; border: 0; border-left: 1px solid var(--hair);
  color: var(--muted); font-size: 11px; line-height: 1;
  padding: 0 var(--space-sm); cursor: pointer;
}
.ticker-pause:hover { color: var(--gold); }
.ticker.is-paused .ticker-track { animation-play-state: paused; }

/* article-body tables (Markdig pipe tables) — set like the almanac board */
.article-body table { width: 100%; border-collapse: collapse; margin: var(--space-lg) 0; }
.article-body th {
  font-family: var(--label); font-size: 11px; font-weight: 600; text-align: left;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted);
  border-bottom: 1px solid var(--rule); padding: var(--space-2xs) var(--space-xs);
}
.article-body td {
  font-size: 15px; line-height: 1.45; color: var(--ink-soft);
  padding: var(--space-xs); border-bottom: 1px solid var(--hair);
  vertical-align: top;
}
.article-body td:first-child { color: var(--ink); font-weight: 600; }

/* ============================================================
   Contact form — /contact
   ============================================================ */
.contact-form { margin: var(--space-lg) 0 var(--space-md); max-width: 100%; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
@media (max-width: 560px) { .cf-row { grid-template-columns: 1fr; } }
.cf-field { display: block; margin-bottom: var(--space-md); }
.cf-field > span {
  display: block; margin-bottom: var(--space-2xs);
  font-family: var(--label); font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft);
}
.cf-field > span em { color: var(--muted); font-style: normal; font-weight: 400; text-transform: none; letter-spacing: 0; }
.cf-field input, .cf-field select, .cf-field textarea {
  width: 100%; font-family: var(--text); font-size: 16px;
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--rule); background: var(--paper-2); color: var(--ink);
}
.cf-field textarea { resize: vertical; line-height: 1.5; }
.cf-field input:focus, .cf-field select:focus, .cf-field textarea:focus {
  outline: 2px solid var(--gold); outline-offset: 1px;
}
.cf-gotcha { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-submit {
  font-family: var(--label); font-weight: 700; font-size: 13px;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--ink); color: var(--paper); border: 0;
  padding: var(--space-sm) var(--space-xl); cursor: pointer; transition: background 140ms ease;
}
.cf-submit:hover { background: var(--gold); }
.contact-ok {
  font-family: var(--text); font-size: 18px; color: var(--gold);
  padding: var(--space-lg) 0;
}
.contact-err { color: var(--red); font-family: var(--label); letter-spacing: 0.04em; }
.contact-fine { font-size: 13px; color: var(--muted); margin-top: var(--space-md); }
.contact-fine a { color: var(--gold-deep); }

/* ============================================================
   From the Desk — promoted homepage band + /news archive
   ============================================================ */
.house-posts { margin: var(--space-2xl) 0; }
.desk-head {
  font-family: var(--label); font-size: 13px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink);
  border-bottom: 2px solid var(--rule); padding-bottom: var(--space-2xs);
  margin: 0 0 var(--space-lg); text-align: left;
}
.desk-head span:not(.desk-sub) { color: var(--gold); }
.desk-sub {
  font-weight: 600; letter-spacing: 0.1em; color: var(--muted);
}
.desk-all {
  display: inline-block; margin-top: var(--space-lg);
  font-family: var(--label); font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); text-decoration: none;
}
.desk-all:hover { color: var(--ink); }

.desk-archive { max-width: 760px; margin: var(--space-xl) auto var(--space-3xl); }
.edition-list { list-style: none; margin: var(--space-xl) 0 0; padding: 0; }
.edition {
  display: grid; grid-template-columns: 120px 1fr; gap: var(--space-lg);
  padding: var(--space-lg) 0; border-top: 1px solid var(--hair);
}
.edition:first-child { border-top: 0; }
.edition-when {
  font-family: var(--label); font-size: 12px; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--muted); padding-top: 4px;
}
.edition-head {
  font-family: var(--display); font-size: clamp(22px, 2.4vw, 28px); font-weight: 400;
  line-height: 1.12; text-wrap: balance; color: var(--ink);
  text-decoration: underline; text-decoration-color: transparent;
  text-underline-offset: 4px; text-decoration-thickness: 1px;
  transition: text-decoration-color 220ms ease;
}
.edition-head:hover { text-decoration-color: var(--gold); }
.edition-excerpt {
  margin: var(--space-xs) 0 var(--space-2xs); max-width: 58ch;
  font-size: 15px; line-height: 1.5; color: var(--ink-soft);
}
.edition-byline {
  font-family: var(--label); font-size: 11px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted);
}
@media (max-width: 560px) {
  .edition { grid-template-columns: 1fr; gap: var(--space-2xs); }
}
