/* ============================================================================
   v1.css — "Rope Drop Control" · NIGHTFALL EDITION
   Persona: Marisa Vance (CRO + PLG SEO) — tool-first dashboard layout —
   reskinned in the site's Twilight Magic theme: deep indigo midnight,
   candlelight cream, fireworks gold, a starlit sky glow.
   Same layout + Bricolage/Hanken fonts; dark, magical skin. OKLCH throughout.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

:root {
  /* Surfaces — the park after dark */
  --bg:        oklch(21% 0.046 280);
  --surface:   oklch(27% 0.050 279);   /* lifted indigo panel (cards) */
  --surface-2: oklch(30.5% 0.052 279); /* tiles */
  --surface-3: oklch(35% 0.053 279);   /* hover */

  /* Ink — warm candlelight cream */
  --ink:   oklch(93% 0.030 84);
  --ink-2: oklch(82% 0.030 84);
  --ink-3: oklch(70% 0.032 84);

  /* Lines on the night */
  --line:   oklch(40% 0.050 280);
  --line-2: oklch(50% 0.046 281);

  /* Brand = candlelight gold (the wonder accent) */
  --brand:       oklch(84% 0.130 86);
  --brand-press: oklch(75% 0.130 84);
  --brand-tint:  oklch(84% 0.130 86 / 0.14);
  --brand-tint2: oklch(84% 0.130 86 / 0.22);
  --brand-ink:   oklch(24% 0.045 78);   /* dark text on a gold button */

  --amber:      oklch(83% 0.135 82);
  --amber-deep: oklch(72% 0.130 80);
  --open:       oklch(84% 0.130 86);    /* open park = gold glow */
  --red:        oklch(72% 0.200 10);    /* fireworks rose (breaking) */

  /* Wait-time heat scale (brightened for the dark) */
  --heat-low:  oklch(81% 0.160 152);
  --heat-med:  oklch(84% 0.140 82);
  --heat-high: oklch(73% 0.190 13);

  /* sky glow over the hero */
  --glow-violet: oklch(52% 0.130 320 / 0.50);
  --glow-gold:   oklch(60% 0.120 72 / 0.26);

  --r-xs: 6px; --r-sm: 9px; --r: 13px; --r-lg: 18px; --r-pill: 999px;

  --shadow-sm: 0 1px 2px oklch(10% 0.02 280 / 0.45);
  --shadow:    0 14px 36px oklch(8% 0.03 280 / 0.55), 0 2px 6px oklch(8% 0.02 280 / 0.4);
  --shadow-lg: 0 28px 64px oklch(6% 0.03 280 / 0.62);
  --halo:      0 0 0 1px oklch(84% 0.13 86 / 0.30), 0 12px 40px oklch(70% 0.13 84 / 0.16);

  --display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --ui:      "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --maxw: 1240px;
  --z-base: 0; --z-sticky: 100; --z-overlay: 200; --z-toast: 300;
}

/* z-scale (semantic): sticky 100 · overlay 200 · toast 300 */

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--ui);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background:
    radial-gradient(1200px 560px at 50% -200px, var(--glow-violet), transparent 64%),
    radial-gradient(900px 520px at 88% -120px, var(--glow-gold), transparent 58%),
    linear-gradient(180deg, oklch(23% 0.052 286) 0%, oklch(20% 0.044 279) 52%, oklch(18.5% 0.040 277) 100%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  font-feature-settings: "ss01", "cv01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* starlight — a fixed, sparse field behind everything */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(1.6px 1.6px at 12% 18%, oklch(96% 0.02 84 / 0.85), transparent 60%),
    radial-gradient(1.4px 1.4px at 26% 9%,  oklch(92% 0.02 84 / 0.6), transparent 60%),
    radial-gradient(1.8px 1.8px at 41% 22%, oklch(96% 0.03 86 / 0.7), transparent 60%),
    radial-gradient(1.3px 1.3px at 58% 7%,  oklch(90% 0.02 84 / 0.55), transparent 60%),
    radial-gradient(1.7px 1.7px at 73% 16%, oklch(96% 0.03 86 / 0.8), transparent 60%),
    radial-gradient(1.4px 1.4px at 88% 11%, oklch(92% 0.02 84 / 0.6), transparent 60%),
    radial-gradient(1.5px 1.5px at 33% 30%, oklch(94% 0.02 84 / 0.5), transparent 60%),
    radial-gradient(1.4px 1.4px at 95% 26%, oklch(92% 0.02 84 / 0.55), transparent 60%),
    radial-gradient(1.3px 1.3px at 6% 33%,  oklch(90% 0.02 84 / 0.5), transparent 60%);
  background-repeat: no-repeat;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; color: var(--ink); }
p { margin: 0; }
button { font-family: inherit; }
.tnum { font-variant-numeric: tabular-nums; }

:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 2px; border-radius: 3px; }
::selection { background: var(--brand); color: var(--brand-ink); }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); position: relative; }
.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: var(--z-toast);
  background: var(--brand); color: var(--brand-ink); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700;
}
.skip-link:focus { left: 16px; }

/* ---------------------------------------------------------------- App bar */
.appbar {
  position: sticky; top: 0; z-index: var(--z-sticky);
  background: oklch(21% 0.046 280 / 0.72);
  backdrop-filter: saturate(1.3) blur(12px);
  border-bottom: 1px solid var(--line);
}
.appbar-in { display: flex; align-items: center; gap: 20px; height: 60px; }
.brand {
  display: inline-flex; align-items: baseline; gap: 8px;
  font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -0.03em;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand); display: inline-block; box-shadow: 0 0 8px 1px oklch(84% 0.13 86 / 0.7); position: relative; top: -1px; }
.brand small { font-family: var(--ui); font-weight: 600; font-size: 11px; letter-spacing: 0.02em; color: var(--ink-3); text-transform: none; }
.appnav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.appnav a {
  color: var(--ink-2); font-weight: 600; font-size: 14.5px; padding: 8px 12px; border-radius: var(--r-sm);
}
.appnav a:hover { color: var(--ink); background: oklch(100% 0 0 / 0.06); text-decoration: none; }
.appnav .pill {
  color: var(--brand-ink); background: var(--brand); padding: 8px 15px; box-shadow: 0 0 24px oklch(70% 0.13 84 / 0.25);
}
.appnav .pill:hover { background: var(--brand-press); color: var(--brand-ink); }
.appbar-date { font-size: 13px; color: var(--ink-3); font-weight: 500; white-space: nowrap; }
.menu-btn { display: none; }

/* ---------------------------------------------------------------- Hero panel */
.console { padding: clamp(22px, 4vw, 40px) 0 8px; position: relative; }
.console::before {
  content: ""; position: absolute; left: 50%; top: -40px; transform: translateX(-50%);
  width: min(900px, 96%); height: 420px; pointer-events: none; z-index: 0;
  background: radial-gradient(60% 70% at 30% 30%, oklch(56% 0.15 330 / 0.30), transparent 70%);
  filter: blur(8px);
}
.console-sky { position: absolute; inset: -20px 0 auto; height: 360px; pointer-events: none; z-index: 0; }
.console .wrap { z-index: 1; }
.spark { position: absolute; color: var(--brand); font-size: 12px; opacity: 0; text-shadow: 0 0 8px oklch(84% 0.13 86 / 0.7); }
@media (prefers-reduced-motion: no-preference) {
  .spark { animation: twinkle 3.6s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) { .spark { opacity: 0.8; } }
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.3) rotate(0deg); }
  50%      { opacity: 0.95; transform: scale(1.05) rotate(14deg); }
}

.console-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(20px, 3vw, 40px);
  align-items: stretch; position: relative; z-index: 1;
}
.console-lede { align-self: center; max-width: 36rem; }
.klabel {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-tint); padding: 6px 12px; border-radius: var(--r-pill);
}
.klabel .live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 var(--brand); animation: pulse 2.4s ease-out infinite; }
@media (prefers-reduced-motion: reduce) { .klabel .live-dot { animation: none; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 oklch(84% 0.13 86 / 0.5); } 70%,100% { box-shadow: 0 0 0 8px oklch(84% 0.13 86 / 0); } }

.console h1 {
  font-size: clamp(40px, 6.2vw, 72px); font-weight: 800; letter-spacing: -0.035em; line-height: 0.98;
  margin: 16px 0 14px; text-wrap: balance;
}
.console h1 em { font-style: normal; color: var(--brand); text-shadow: 0 0 36px oklch(84% 0.13 86 / 0.35); }
.console-sub { font-size: clamp(16px, 1.6vw, 19px); color: var(--ink-2); line-height: 1.45; max-width: 30rem; }

/* Park picker */
.picker { margin-top: 22px; }
.picker-label { font-size: 12.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 9px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  border: 1.5px solid var(--line-2); background: oklch(100% 0 0 / 0.03); color: var(--ink-2);
  font-weight: 600; font-size: 14px; padding: 8px 13px; border-radius: var(--r-pill);
  cursor: pointer; transition: border-color .16s, color .16s, background .16s, transform .12s;
}
.chip:hover { border-color: var(--brand); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); box-shadow: 0 0 22px oklch(70% 0.13 84 / 0.3); }
.chip .cdot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); margin-right: 6px; vertical-align: middle; }
.chip.is-open .cdot { background: var(--open); box-shadow: 0 0 6px 1px oklch(84% 0.13 86 / 0.7); }
.chip[aria-pressed="true"].is-open .cdot { background: var(--brand-ink); box-shadow: none; }

/* Tool CTAs */
.tool-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.console-newcomer { margin-top: 14px; font-size: 14px; color: var(--ink-3); }
.console-newcomer a { color: var(--brand); font-weight: 700; }
.tcta {
  display: flex; align-items: center; gap: 13px; padding: 14px 16px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  color: var(--ink); font-weight: 600; transition: transform .14s, box-shadow .14s, border-color .14s;
}
.tcta:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-2); text-decoration: none; }
.tcta.primary { grid-column: 1 / -1; background: var(--brand); color: var(--brand-ink); border-color: transparent; box-shadow: 0 0 34px oklch(70% 0.13 84 / 0.28); }
.tcta.primary:hover { background: var(--brand-press); box-shadow: 0 0 44px oklch(70% 0.13 84 / 0.34); }
.tcta .ic { width: 38px; height: 38px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); flex: none; }
.tcta.primary .ic { background: oklch(24% 0.045 78 / 0.16); color: var(--brand-ink); }
.tcta .ic svg { width: 21px; height: 21px; }
.tcta-tx { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.tcta-tx b { font-size: 15.5px; font-weight: 700; }
.tcta-tx span { font-size: 12.5px; font-weight: 500; color: var(--ink-3); }
.tcta.primary .tcta-tx span { color: oklch(24% 0.045 78 / 0.72); }
.tcta .arr { margin-left: auto; opacity: .5; transition: transform .14s; }
.tcta:hover .arr { transform: translateX(3px); opacity: 1; }

/* Live board */
.board {
  background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); border: 1px solid var(--line);
  padding: 18px; display: flex; flex-direction: column; min-height: 100%; position: relative; z-index: 1;
}
.board-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.board-head h2 { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.board-head .stamp { font-size: 12px; color: var(--ink-3); font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.board-head .stamp .ld { width: 7px; height: 7px; border-radius: 50%; background: var(--open); box-shadow: 0 0 7px 1px oklch(84% 0.13 86 / 0.6); }
.board-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ptile {
  display: flex; flex-direction: column; gap: 2px; padding: 12px 13px; border-radius: var(--r);
  background: var(--surface-2); border: 1px solid var(--line); color: var(--ink);
  transition: background .15s, transform .12s, border-color .15s; position: relative; overflow: hidden;
}
.ptile:hover { background: var(--surface-3); transform: translateY(-1px); text-decoration: none; border-color: var(--line-2); }
.ptile.open { border-color: oklch(84% 0.13 86 / 0.35); }
.ptile-top { display: flex; align-items: center; gap: 7px; }
.ptile .pdot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); flex: none; }
.ptile.open .pdot { background: var(--open); box-shadow: 0 0 8px 1px oklch(84% 0.13 86 / 0.7); }
.ptile-name { font-weight: 700; font-size: 14.5px; letter-spacing: -0.01em; }
.ptile-status { font-size: 12.5px; color: var(--ink-2); font-weight: 600; }
.ptile-wait { margin-top: 5px; display: flex; align-items: baseline; gap: 5px; }
.ptile-wait[hidden] { display: none; }
.ptile-wait b { font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 1; letter-spacing: -0.03em; }
.ptile-wait span { font-size: 11.5px; color: var(--ink-3); font-weight: 600; }
.ptile-wait.heat-low b { color: var(--heat-low); }
.ptile-wait.heat-med b { color: var(--heat-med); }
.ptile-wait.heat-high b { color: var(--heat-high); }
.board-foot {
  margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--ink-2); display: flex; align-items: center; gap: 8px; min-height: 22px;
}
.board-foot[hidden] { display: none; }

/* ---------------------------------------------------------------- Section heads */
.sec { padding: clamp(34px, 5vw, 58px) 0; position: relative; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(24px, 3.2vw, 34px); font-weight: 800; letter-spacing: -0.03em; }
.sec-head p { color: var(--ink-2); font-size: 15px; margin-top: 6px; max-width: 46ch; }
.sec-head .more { font-weight: 700; color: var(--brand); font-size: 14.5px; white-space: nowrap; }

/* Tools showcase */
.tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 16px; }
.toolcard {
  background: var(--surface); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: transform .16s, box-shadow .16s, border-color .16s; color: var(--ink);
}
.toolcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); text-decoration: none; border-color: oklch(84% 0.13 86 / 0.4); }
.toolcard-art { aspect-ratio: 16 / 10; background: var(--surface-3) center/cover no-repeat; border-bottom: 1px solid var(--line); position: relative; }
.toolcard-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, oklch(20% 0.04 280 / 0.55)); }
.toolcard-b { padding: 16px 17px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.toolcard-b h3 { font-size: 18px; font-weight: 700; }
.toolcard-b p { font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }
.toolcard-b .go { margin-top: auto; padding-top: 8px; font-weight: 700; font-size: 14px; color: var(--brand); }

/* ---- Rope Drop Explains — homepage feature -------------------------------- */
.explain-feature {
  display: grid; grid-template-columns: minmax(0, 320px) 1fr; gap: clamp(18px, 3.2vw, 40px);
  align-items: center; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(16px, 2.4vw, 26px); color: var(--ink);
  box-shadow: var(--shadow-sm); transition: transform .16s, box-shadow .16s, border-color .16s;
}
.explain-feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: oklch(84% 0.13 86 / 0.4); text-decoration: none; }
.explain-feature-art {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface-2); box-shadow: var(--shadow-sm);
}
.explain-feature-art img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.explain-feature-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 62%, oklch(20% 0.04 280 / 0.5)); }
.explain-feature-tag {
  position: absolute; top: 10px; left: 10px; z-index: 1; font-family: var(--display);
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brand-ink); background: var(--brand); padding: 4px 9px; border-radius: var(--r-pill);
}
.explain-feature-kicker { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; font-weight: 800; color: var(--brand); }
.explain-feature-body h3 { font-size: clamp(22px, 3vw, 32px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.08; margin: 8px 0 10px; text-wrap: balance; }
.explain-feature-body p { color: var(--ink-2); font-size: 15.5px; line-height: 1.5; max-width: 58ch; }
.explain-feature-go { display: inline-block; margin-top: 14px; font-weight: 700; font-size: 14.5px; color: var(--brand); }
@media (max-width: 720px) {
  .explain-feature { grid-template-columns: 1fr; }
  .explain-feature-art { aspect-ratio: 16 / 7; }
}

/* Arcade feature art — generated twilight key art for the daily game. A twilight gradient sits
   behind the lazy image as a placeholder; the crop is centered so the MAGIC tiles hold at both
   the desktop (4:3) and mobile (16:7) card ratios (the default art crop is top-anchored). */
.explain-feature-art.arcade-art {
  background: radial-gradient(135% 95% at 50% -12%, oklch(35% 0.062 286), var(--surface-2) 72%);
}
.explain-feature-art.arcade-art img { object-position: center; }

/* ---------------------------------------------------------------- Wire + rail */
.feed { display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(22px, 3.4vw, 44px); align-items: start; }
.feed-main { min-width: 0; }

.lead-story {
  display: block; padding: 20px; border-radius: var(--r-lg); background: var(--surface);
  box-shadow: var(--shadow-sm); border: 1px solid var(--line); color: var(--ink); margin-bottom: 14px;
  transition: box-shadow .16s, transform .14s, border-color .16s;
}
.lead-story:hover { box-shadow: var(--shadow); transform: translateY(-2px); text-decoration: none; border-color: oklch(84% 0.13 86 / 0.35); }
.lead-kicker { font-size: 12px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--red); }
.lead-kicker.calm { color: var(--brand); }
.lead-story h3 { font-size: clamp(21px, 2.5vw, 28px); font-weight: 800; letter-spacing: -0.025em; margin: 9px 0 8px; line-height: 1.08; text-wrap: balance; }
.lead-story p { color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.story-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 11px; font-size: 12.5px; color: var(--ink-3); font-weight: 600; }
.story-meta .src { color: var(--ink-2); }
.story-meta .sd { opacity: .5; }

.rows { display: flex; flex-direction: column; }
.row {
  display: flex; gap: 13px; padding: 14px 2px; border-top: 1px solid var(--line); align-items: baseline;
}
.row:first-child { border-top: 0; }
.row .rk { font-family: var(--display); font-weight: 800; font-size: 15px; color: var(--line-2); flex: none; width: 20px; }
.row a { color: var(--ink); font-weight: 600; font-size: 15.5px; line-height: 1.32; }
.row a:hover { color: var(--brand); }
.row .row-meta { display: block; margin-top: 4px; font-size: 12px; color: var(--ink-3); font-weight: 600; }
.row .row-meta a { font-size: 12px; color: var(--brand); font-weight: 700; }

/* Rail */
.rail { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 76px; }
.card {
  background: var(--surface); border-radius: var(--r-lg); border: 1px solid var(--line); padding: 16px 17px;
}
.card > h3 {
  font-size: 12.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3);
  padding-bottom: 11px; margin-bottom: 11px; border-bottom: 1px solid var(--line);
}
.mr { list-style: none; margin: 0; padding: 0; counter-reset: mr; display: flex; flex-direction: column; gap: 11px; }
.mr li { counter-increment: mr; display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.mr li::before { content: counter(mr); font-family: var(--display); font-weight: 800; font-size: 17px; color: var(--brand); line-height: 1.2; }
.mr a { color: var(--ink); font-weight: 600; font-size: 14px; line-height: 1.3; }
.mr a:hover { color: var(--brand); }
.mr .mr-src { display: block; font-size: 11.5px; color: var(--ink-3); margin-top: 2px; font-weight: 600; }

.desk { display: flex; flex-direction: column; gap: 13px; }
.desk a { color: var(--ink); display: block; }
.desk a:hover h4 { color: var(--brand); }
.desk .by { font-size: 11.5px; color: var(--ink-3); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.desk h4 { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; margin-top: 3px; line-height: 1.25; font-family: var(--display); }

.trail { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.trail a { color: var(--ink); font-weight: 600; font-size: 13.5px; line-height: 1.3; }
.trail a:hover { color: var(--brand); }
.trail .ts { display: block; font-size: 11.5px; color: var(--ink-3); margin-top: 3px; font-weight: 600; }
.card .card-more { display: inline-block; margin-top: 12px; font-weight: 700; font-size: 13px; color: var(--brand); }

/* ---------------------------------------------------------------- Reel */
.reel-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.vid { color: var(--ink); }
.vid-thumb { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 16/9; background: var(--surface-2); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.vid-thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.55) brightness(0.9); transition: transform .4s cubic-bezier(.2,.7,.2,1), filter .35s ease; }
.vid:hover .vid-thumb img { transform: scale(1.05); filter: none; }
.vid-thumb .play { position: absolute; inset: 0; margin: auto; width: 44px; height: 44px; border-radius: 50%; background: oklch(20% 0.03 280 / 0.6); color: var(--brand); display: grid; place-items: center; backdrop-filter: blur(2px); border: 1px solid oklch(84% 0.13 86 / 0.4); }
.vid-name { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-3); margin: 10px 0 4px; }
.vid h4 { font-size: 14.5px; font-weight: 700; line-height: 1.25; }
.vid:hover h4 { color: var(--brand); }

/* ---------------------------------------------------------------- FAQ */
.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 4px 17px;
}
.faq details[open] { border-color: oklch(84% 0.13 86 / 0.35); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 15.5px; padding: 13px 0; list-style: none; display: flex; justify-content: space-between; gap: 10px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-weight: 700; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 15px; color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.faq details p a { font-weight: 700; }

/* ---------------------------------------------------------------- Ad slot */
.ad-slot {
  margin: 6px auto; max-width: 970px; min-height: 96px; display: grid; place-items: center;
  background: oklch(100% 0 0 / 0.02);
  border: 1px dashed var(--line-2); border-radius: var(--r); color: var(--ink-3);
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}

/* ---------------------------------------------------------------- Newsletter */
.news-band { background: oklch(25% 0.052 282); border: 1px solid oklch(84% 0.13 86 / 0.28); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px); color: var(--ink); position: relative; overflow: hidden; }
.news-band::before { content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, oklch(84% 0.13 86 / 0.5) 0%, transparent 68%); opacity: .5; }
.news-band::after { content: ""; position: absolute; left: -50px; bottom: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, oklch(56% 0.15 330 / 0.5) 0%, transparent 68%); opacity: .5; }
.news-band-in { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; }
.news-band h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.news-band p { color: var(--ink-2); font-size: 15px; margin-top: 10px; }
.nl-form { display: flex; gap: 8px; }
.nl-form input { flex: 1; min-width: 0; padding: 14px 16px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: oklch(18% 0.04 279 / 0.7); color: var(--ink); font-size: 15px; }
.nl-form input::placeholder { color: var(--ink-3); }
.nl-form button { padding: 14px 22px; border-radius: var(--r-sm); border: 0; background: var(--brand); color: var(--brand-ink); font-weight: 800; font-size: 15px; cursor: pointer; white-space: nowrap; transition: transform .12s, filter .15s; box-shadow: 0 0 26px oklch(70% 0.13 84 / 0.3); }
.nl-form button:hover { filter: brightness(1.06); transform: translateY(-1px); }
.nl-status { margin-top: 10px; font-weight: 600; font-size: 13.5px; color: var(--brand); }
.nl-status.is-error { color: var(--red); }

/* ---------------------------------------------------------------- Footer */
.foot { border-top: 1px solid var(--line); margin-top: 24px; padding: 36px 0 60px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.foot-brand .brand { font-size: 22px; }
.foot-brand p { color: var(--ink-2); font-size: 13.5px; margin-top: 12px; max-width: 30ch; line-height: 1.5; }
.foot-col { display: flex; flex-direction: column; gap: 9px; }
.foot-col h4 { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 3px; font-family: var(--ui); }
.foot-col a { color: var(--ink-2); font-size: 14px; }
.foot-col a:hover { color: var(--brand); }
.foot-fine { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 12.5px; line-height: 1.5; }
.preview-flag {
  display: inline-flex; gap: 8px; align-items: center; margin-bottom: 14px;
  background: var(--brand-tint); color: var(--brand); font-weight: 700; font-size: 12.5px;
  padding: 6px 12px; border-radius: var(--r-pill);
}

/* ---------------------------------------------------------------- Reveal
   .rv is a JS hook only — resting state is fully visible. Entrance plays via
   WAAPI so content never depends on a class toggle (no-JS / headless safe). */

/* ---------------------------------------------------------------- The Wire ticker */
.ticker { display: flex; align-items: stretch; border-bottom: 1px solid var(--line); background: oklch(24% 0.050 281 / 0.85); backdrop-filter: blur(6px); overflow: hidden; }
.ticker-flag { flex: 0 0 auto; display: flex; align-items: center; background: var(--brand); color: var(--brand-ink); font-family: var(--ui); font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; font-size: 11px; padding: 8px 16px; 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, .ticker.is-paused .ticker-track { animation-play-state: paused; }
.ticker-item { font-family: var(--ui); font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; padding: 8px 0; display: inline-block; }
.ticker-item:hover { color: var(--ink); }
.ticker-src { font-family: var(--ui); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; font-size: 11px; color: var(--ink-3); margin-right: 7px; }
.ticker-sep { color: var(--brand); font-size: 9px; padding: 0 16px; opacity: 0.6; }
.ticker-pause { flex: 0 0 auto; background: none; border: 0; border-left: 1px solid var(--line); color: var(--ink-3); font-size: 12px; padding: 0 14px; cursor: pointer; }
.ticker-pause:hover { color: var(--brand); }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } .ticker-viewport { overflow-x: auto; } }

/* ---------------------------------------------------------------- Buy Me a Treat */
.churro-jar { position: fixed; right: clamp(12px, 3vw, 24px); bottom: clamp(12px, 3vw, 24px); z-index: var(--z-overlay); }
.churro-link { display: flex; align-items: center; gap: 9px; text-decoration: none; background: var(--surface); border: 1px solid var(--brand); border-radius: var(--r-pill); padding: 7px 12px 7px 16px; box-shadow: 0 8px 22px oklch(8% 0.03 280 / 0.5); transition: transform .18s ease, box-shadow .18s ease; }
.churro-link:hover, .churro-link:focus-visible { transform: translateY(-2px); box-shadow: 0 12px 28px oklch(8% 0.03 280 / 0.6); }
.churro-bubble { font-family: var(--ui); font-weight: 600; font-size: 13px; letter-spacing: 0.01em; color: var(--ink); white-space: nowrap; }
.churro-icon { display: inline-flex; flex: none; }
.churro-icon svg { display: block; filter: drop-shadow(0 1px 1px rgba(0,0,0,0.3)); }
.churro-icon .treat { display: inline-flex; align-items: center; justify-content: center; }
.churro-icon .treat[hidden] { display: none; }
.churro-icon .treat--emoji { width: 32px; height: 32px; font-size: 25px; line-height: 1; }
@media (max-width: 520px) { .churro-bubble { display: none; } .churro-link { padding: 9px; } }

/* ---------------------------------------------------------------- Responsive */
@media (max-width: 1000px) {
  .console-grid { grid-template-columns: 1fr; }
  .board { min-height: 0; }
  .feed { grid-template-columns: 1fr; }
  .rail { position: static; flex-direction: row; flex-wrap: wrap; }
  .rail .card { flex: 1 1 280px; }
}
@media (max-width: 760px) {
  .appnav { display: none; }
  .menu-btn {
    display: inline-flex; margin-left: auto; align-items: center; gap: 8px; background: oklch(100% 0 0 / 0.05);
    border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 8px 12px; font-weight: 700; cursor: pointer; color: var(--ink);
  }
  .appbar-date { display: none; }
  .news-band-in { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .tool-ctas { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .board-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .console h1 { font-size: clamp(34px, 11vw, 48px); }
}
/* Tighten the hero on phones so the live status board lands inside the first screen (R6). */
@media (max-width: 600px) {
  .console-grid { gap: 14px; }
  .picker { margin-top: 16px; }
  .tool-ctas { margin-top: 12px; }
  .tcta { padding: 12px 14px; }
  .console-newcomer { margin-top: 10px; }
}

/* Mobile menu */
.m-menu { display: none; }
.m-menu.show { display: block; position: fixed; inset: 60px 0 0; z-index: var(--z-overlay); background: oklch(20% 0.044 279 / 0.98); backdrop-filter: blur(12px); padding: 20px; }
.m-menu a { display: block; padding: 14px 6px; font-size: 18px; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line); }

/* ============================================================
   The Wire (/wire) page + homepage Desk / Paper Trail / teaser.
   Added with the wire-to-/wire migration. Builds on the existing
   feed / rail / card system; these are the new surfaces only.
   ============================================================ */

/* --- The Wire masthead --- */
.wire-masthead { padding: clamp(28px, 5vw, 52px) 0 clamp(18px, 3vw, 28px); border-bottom: 1px solid var(--line); position: relative; }
.wire-masthead h1 { font-family: var(--display); font-size: clamp(40px, 8vw, 84px); font-weight: 800; letter-spacing: -0.03em; line-height: 0.96; margin: 12px 0 0; text-wrap: balance; }
.wire-standfirst { color: var(--ink-2); font-size: clamp(15px, 1.8vw, 18px); line-height: 1.5; max-width: 58ch; margin-top: 14px; text-wrap: pretty; }
.wire-stats { margin-top: 16px; font-size: 14px; color: var(--ink-3); font-weight: 600; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.wire-stats b { color: var(--brand); font-size: 16px; }
.wire-stats .wsd { opacity: .45; }
.wire-jump { margin-top: 12px; font-size: 14.5px; font-weight: 700; }
.wire-jump a { color: var(--brand); }

.wire-body { padding-top: clamp(26px, 4vw, 40px); }
.wire-empty { text-align: center; padding: clamp(30px, 6vw, 60px) 0; }
.wire-empty h2 { font-family: var(--display); font-size: clamp(22px, 3vw, 28px); font-weight: 800; letter-spacing: -0.02em; }
.wire-empty p { color: var(--ink-2); margin-top: 8px; }
.wire-empty a { color: var(--brand); font-weight: 700; }

/* lead-story heading on /wire is an <h2>; match the homepage <h3> sizing */
.wire-body .lead-story h2 { font-size: clamp(22px, 2.7vw, 30px); font-weight: 800; letter-spacing: -0.025em; margin: 9px 0 8px; line-height: 1.08; text-wrap: balance; }
.story-meta .scoop { color: var(--brand); font-weight: 700; }

/* --- Browse every source --- */
.src-browse { margin-top: clamp(28px, 4vw, 42px); padding-top: clamp(22px, 3vw, 32px); border-top: 1px solid var(--line); }
.src-browse-h { font-family: var(--display); font-size: clamp(19px, 2.4vw, 24px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; }
.src-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.src-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 15px 16px 16px; }
.src-block-h { font-family: var(--display); font-size: 12.5px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--brand); margin-bottom: 11px; }
.src-block-h a { color: var(--brand); }
.src-block-h a:hover { color: var(--brand-press); }
.src-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.src-list li { padding: 9px 0; border-top: 1px solid var(--line); }
.src-list li:first-child { border-top: 0; padding-top: 0; }
.src-list a { color: var(--ink); font-weight: 600; font-size: 14px; line-height: 1.32; }
.src-list a:hover { color: var(--brand); }
.src-when { display: block; margin-top: 3px; font-size: 11.5px; color: var(--ink-3); font-weight: 600; }

/* --- Homepage: From the Desk band --- */
.deskwall { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(18px, 2.6vw, 30px); align-items: start; }
.desk-lead { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 2.4vw, 26px); transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, border-color .25s; }
.desk-lead:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: oklch(84% 0.13 86 / 0.4); text-decoration: none; }
.desk-lead-kicker { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.07em; font-size: 12px; font-weight: 800; color: var(--brand); }
.desk-lead h3 { font-size: clamp(20px, 2.6vw, 28px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; margin: 9px 0 9px; text-wrap: balance; }
.desk-lead p { color: var(--ink-2); font-size: 14.5px; line-height: 1.5; max-width: 54ch; }
.desk-lead-meta { display: block; margin-top: 12px; font-size: 12.5px; color: var(--ink-3); font-weight: 600; }
.desk-lead-meta .sd { opacity: .45; }
.desk-more { display: flex; flex-direction: column; }
.desk-item { display: block; padding: 14px 0; border-top: 1px solid var(--line); }
.desk-more .desk-item:first-child { border-top: 0; padding-top: 0; }
.desk-item-by { font-size: 11.5px; color: var(--ink-3); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.desk-item-by .sd { opacity: .45; }
.desk-item h4 { font-family: var(--display); font-size: 16px; font-weight: 700; letter-spacing: -0.012em; margin-top: 4px; line-height: 1.25; color: var(--ink); }
.desk-item:hover h4 { color: var(--brand); }

/* --- Homepage: Paper Trail band --- */
.trailwall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.trailwall li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 15px 16px; }
.trailwall a { color: var(--ink); font-weight: 700; font-size: 15px; line-height: 1.3; font-family: var(--display); letter-spacing: -0.01em; }
.trailwall a:hover { color: var(--brand); }
.trailwall .ts { display: block; margin-top: 7px; font-size: 12px; color: var(--ink-3); font-weight: 600; }
.trailwall .ts .sd { opacity: .45; }

/* --- Homepage: On the wire teaser --- */
.wireteaser-sec { padding-top: clamp(18px, 3vw, 30px); }
.wireteaser { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(20px, 3vw, 40px); align-items: center; background: linear-gradient(180deg, var(--surface), var(--surface-2)); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 30px); transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, border-color .25s; }
.wireteaser:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: oklch(84% 0.13 86 / 0.35); text-decoration: none; }
.wireteaser-top h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.08; margin: 10px 0 8px; color: var(--ink); text-wrap: balance; }
.wireteaser-top p { color: var(--ink-2); font-size: 14.5px; line-height: 1.5; max-width: 40ch; }
.wireteaser-go { display: inline-block; margin-top: 14px; font-weight: 800; font-size: 14.5px; color: var(--brand); }
.wireteaser-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.wireteaser-list li { padding: 11px 0; border-top: 1px solid var(--line); }
.wireteaser-list li:first-child { border-top: 0; padding-top: 0; }
.wt-t { display: block; color: var(--ink); font-weight: 600; font-size: 14.5px; line-height: 1.32; }
.wt-m { display: block; margin-top: 3px; font-size: 11.5px; color: var(--ink-3); font-weight: 600; }
.wt-m .sd { opacity: .45; }

@media (max-width: 1000px) {
  .deskwall { grid-template-columns: 1fr; }
  .wireteaser { grid-template-columns: 1fr; align-items: start; }
}

/* ============================================================
   Jumbotron hero carousel (homepage). Three feature slides that
   auto-advance, with dots + arrows + swipe. Reuses the console
   atmosphere, the picker, the live board, and the .tcta buttons.
   ============================================================ */
.jumbo .wrap { position: relative; z-index: 1; }
.jumbo-track {
  display: flex; align-items: stretch; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.jumbo-track::-webkit-scrollbar { display: none; }
.jumbo-slide {
  flex: 0 0 100%; min-width: 100%; scroll-snap-align: start; scroll-snap-stop: always;
  display: flex; align-items: center;
}
.jumbo-grid {
  width: 100%;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(20px, 3vw, 44px);
  align-items: center; min-height: clamp(340px, 40vw, 430px); padding: 6px 0 4px;
}
.jumbo-text { align-self: center; max-width: 36rem; min-width: 0; }
.jumbo-text h1, .jumbo-h {
  font-size: clamp(38px, 6vw, 70px); font-weight: 800; letter-spacing: -0.035em; line-height: 0.98;
  margin: 14px 0 14px; text-wrap: balance;
}
.jumbo-text h1 em, .jumbo-h em { font-style: normal; color: var(--brand); text-shadow: 0 0 36px oklch(84% 0.13 86 / 0.35); }
.jumbo-sub { font-size: clamp(16px, 1.6vw, 19px); color: var(--ink-2); line-height: 1.45; max-width: 32rem; }
.jumbo-text .picker, .jumbo-text .tool-ctas { margin-top: 18px; }

.jumbo-visual { align-self: center; display: flex; min-width: 0; }
.jumbo-visual .board { width: 100%; }
.jumbo-shot {
  position: relative; display: block; width: 100%; align-self: center;
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .2s cubic-bezier(.2,.7,.2,1), box-shadow .2s, border-color .2s;
}
.jumbo-shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }
.jumbo-shot::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 58%, oklch(20% 0.04 280 / 0.5)); }
.jumbo-shot:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: oklch(84% 0.13 86 / 0.4); text-decoration: none; }

/* nav: dots + arrows */
.jumbo-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: clamp(14px, 2vw, 22px); }
.jumbo-dots { display: flex; align-items: center; gap: 9px; }
.jumbo-dot {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: var(--r-pill);
  background: var(--line-2); cursor: pointer; transition: background .2s, width .3s cubic-bezier(.2,.7,.2,1);
}
.jumbo-dot:hover { background: var(--ink-3); }
.jumbo-dot.is-active, .jumbo-dot.is-active:hover { background: var(--brand); width: 28px; }
.jumbo-arrow {
  width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink-2); font-size: 22px; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  transition: border-color .15s, color .15s, background .15s, transform .12s;
}
.jumbo-arrow:hover { border-color: var(--brand); color: var(--brand); background: var(--surface-2); }
.jumbo-arrow:active { transform: scale(0.94); }

/* Two-up CTA row for the promo slides — equal width, balanced */
.jumbo-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; max-width: 34rem; }
.jumbo-ctas .tcta { min-width: 0; }
.jumbo-ctas .tcta.primary { grid-column: auto; }   /* keep the gold button in its own column, not full width */

/* Floating screenshot stack (slide 2): two cards that drift and trade depth */
.jumbo-stack { position: relative; align-self: center; width: 100%; aspect-ratio: 16 / 11; max-height: 460px; }
.jumbo-stack-glow {
  position: absolute; inset: 7% 5%; z-index: 0; pointer-events: none; border-radius: 50%;
  background: radial-gradient(58% 56% at 52% 46%, var(--glow-gold), transparent 72%);
  filter: blur(40px);
}
.jumbo-card {
  position: absolute; width: 76%; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); background: var(--surface);
  transform-origin: center; will-change: transform, filter;
}
.jumbo-card img { display: block; width: 100%; height: auto; }
.jumbo-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 58%, oklch(20% 0.04 280 / 0.45)); }
.jumbo-card-back  { top: 2%; right: 2%; animation: jcardBack 12s ease-in-out infinite; }
.jumbo-card-front { bottom: 2%; left: 2%; animation: jcardFront 12s ease-in-out infinite; }
.jumbo-card:hover { box-shadow: var(--shadow-lg), var(--halo); text-decoration: none; }

@keyframes jcardFront {
  0%, 100% { transform: translateY(0) rotate(-3.5deg) scale(1);    z-index: 3; filter: brightness(1); }
  25%      { transform: translateY(-9px) rotate(-3deg) scale(.98); }
  50%      { transform: translateY(0) rotate(-2deg) scale(.9);     z-index: 1; filter: brightness(.78); }
  75%      { transform: translateY(-9px) rotate(-3deg) scale(.93); }
}
@keyframes jcardBack {
  0%, 100% { transform: translateY(0) rotate(3.5deg) scale(.9);    z-index: 1; filter: brightness(.78); }
  25%      { transform: translateY(9px) rotate(3deg) scale(.93); }
  50%      { transform: translateY(0) rotate(2deg) scale(1);       z-index: 3; filter: brightness(1); }
  75%      { transform: translateY(9px) rotate(3deg) scale(.98); }
}
@media (prefers-reduced-motion: reduce) {
  .jumbo-card-front { animation: none; transform: rotate(-3.5deg); z-index: 3; }
  .jumbo-card-back  { animation: none; transform: rotate(3.5deg) scale(.92); z-index: 1; }
}

@media (max-width: 880px) {
  /* Mobile: slides take natural height (the console slide is much taller than the promos);
     jumbo.js sizes the track to the active slide so there is no giant void. Desktop keeps
     equal-height (stretch) so the carousel height never jerks between slides. */
  .jumbo-track { align-items: flex-start; }
  .jumbo-grid { grid-template-columns: 1fr; min-height: 0; gap: 20px; padding: 4px 0 2px; }
  .jumbo-text { order: 1; max-width: none; }
  .jumbo-visual { order: 2; }
  .jumbo-shot img { aspect-ratio: 16 / 9; }
  .jumbo-ctas { max-width: none; }
  .jumbo-stack { aspect-ratio: 16 / 12; max-height: 380px; margin-inline: auto; max-width: 540px; }
}
@media (max-width: 480px) {
  .jumbo-arrow { display: none; }
  .jumbo-ctas { grid-template-columns: 1fr; }
}

/* Promo-slide actions: a clean primary pill + a ghost link (replaces the blocky cards) */
.jumbo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 24px; }
.jumbo-btn {
  display: inline-flex; align-items: center; gap: 9px; padding: 13px 22px; border-radius: var(--r-pill);
  background: var(--brand); color: var(--brand-ink); font-weight: 700; font-size: 15.5px; letter-spacing: -0.01em;
  box-shadow: 0 0 30px oklch(70% 0.13 84 / 0.30); transition: background .15s, transform .15s, box-shadow .15s;
}
.jumbo-btn:hover { background: var(--brand-press); transform: translateY(-2px); box-shadow: 0 0 42px oklch(70% 0.13 84 / 0.40); text-decoration: none; }
.jumbo-btn .jb-arr { transition: transform .15s; }
.jumbo-btn:hover .jb-arr { transform: translateX(3px); }
.jumbo-link { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); font-weight: 700; font-size: 15px; }
.jumbo-link span { color: var(--brand); transition: transform .15s; }
.jumbo-link:hover { color: var(--brand); text-decoration: none; }
.jumbo-link:hover span { transform: translateX(3px); }

/* ============================================================
   Guides showcase + Ride-reliability hook (homepage content).
   ============================================================ */
.guidewall { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(18px, 2.6vw, 34px); align-items: stretch; }
.guide-feature {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; color: var(--ink);
  transition: transform .2s cubic-bezier(.2,.7,.2,1), box-shadow .2s, border-color .2s;
}
.guide-feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: oklch(84% 0.13 86 / 0.4); text-decoration: none; }
.guide-feature-art { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--line); }
.guide-feature-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.guide-feature-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, oklch(20% 0.04 280 / 0.55)); }
.guide-feature-tag {
  position: absolute; left: 14px; top: 14px; z-index: 1; font-family: var(--display);
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--brand-ink); background: var(--brand); padding: 5px 11px; border-radius: var(--r-pill);
}
.guide-feature-body { padding: clamp(18px, 2.2vw, 24px); display: flex; flex-direction: column; flex: 1; }
.guide-kicker { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.07em; font-size: 12px; font-weight: 800; color: var(--brand); }
.guide-feature-body h3 { font-size: clamp(21px, 2.6vw, 28px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; margin: 8px 0 9px; text-wrap: balance; }
.guide-feature-body > p { color: var(--ink-2); font-size: 15px; line-height: 1.5; max-width: 52ch; }
.guide-byline { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.guide-byline .gb-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 7px 1px oklch(84% 0.13 86 / 0.55); flex: none; }
.guide-go { margin-top: auto; padding-top: 16px; font-weight: 800; font-size: 14.5px; color: var(--brand); }

.guide-list { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.guide-item {
  display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 15px 17px; color: var(--ink); position: relative;
  transition: transform .16s, border-color .16s, background .16s; flex: 1;
}
.guide-item:hover { transform: translateX(3px); border-color: oklch(84% 0.13 86 / 0.4); background: var(--surface-2); text-decoration: none; }
.guide-item-kicker { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.05em; font-size: 11px; font-weight: 800; color: var(--ink-3); }
.guide-item h4 { font-size: 16.5px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; margin: 5px 26px 5px 0; }
.guide-item:hover h4 { color: var(--brand); }
.guide-item p { color: var(--ink-2); font-size: 13.5px; line-height: 1.45; max-width: 46ch; }
.guide-item-go { position: absolute; right: 16px; top: 15px; color: var(--line-2); font-weight: 800; transition: color .16s, transform .16s; }
.guide-item:hover .guide-item-go { color: var(--brand); transform: translateX(2px); }

/* Ride reliability hook: a compact ranked strip of the least-reliable rides */
.relhook { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.relhook a {
  display: grid; grid-template-columns: 26px 1fr auto auto; align-items: center; gap: 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 13px 16px; color: var(--ink);
  transition: transform .15s, border-color .15s, background .15s;
}
.relhook a:hover { transform: translateX(3px); border-color: oklch(84% 0.13 86 / 0.4); background: var(--surface-2); text-decoration: none; }
.rel-rank { font-family: var(--display); font-weight: 800; font-size: 17px; color: var(--line-2); text-align: center; }
.rel-ride { min-width: 0; display: flex; flex-direction: column; }
.rel-ride b { font-weight: 700; font-size: 15.5px; letter-spacing: -0.01em; line-height: 1.2; }
.rel-park { font-size: 12px; color: var(--ink-3); font-weight: 600; margin-top: 2px; }
.rel-grade { font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: var(--r-pill); white-space: nowrap; border: 1px solid transparent; }
.rel-grade.is-bad    { color: var(--heat-high); background: oklch(72% 0.19 13 / 0.14); border-color: oklch(72% 0.19 13 / 0.30); }
.rel-grade.is-spotty { color: var(--amber);     background: oklch(83% 0.135 82 / 0.13); border-color: oklch(83% 0.135 82 / 0.30); }
.rel-grade.is-good,
.rel-grade.is-solid  { color: var(--heat-low);  background: oklch(81% 0.16 152 / 0.12); border-color: oklch(81% 0.16 152 / 0.28); }
.rel-up { font-size: 12.5px; color: var(--ink-3); font-weight: 600; white-space: nowrap; }
.rel-up b { font-family: var(--display); color: var(--ink); font-size: 15px; font-weight: 800; }

@media (max-width: 880px) {
  .guidewall { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .relhook a { grid-template-columns: 24px 1fr auto; gap: 11px; }
  .rel-up { display: none; }
  .rel-grade { font-size: 11px; padding: 4px 9px; }
}
