/* ================================================================
   LIMEHAWK PRIME — news-portal structure, product-grade execution
   Palette: deep ink + electric lime. One accent, committed.
   ================================================================ */

/* ---------- self-hosted brand fonts (latin subset, no external requests) ----
   Sixtyfour = the LIMEHAWK wordmark; IBM Plex Mono = the "receipts" texture.
   Both fall back to close system faces so text never disappears if a font
   fails to load (font-display: swap). Files in /public/fonts. */
@font-face {
  font-family: "Sixtyfour";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/Sixtyfour-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/IBMPlexMono-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/IBMPlexMono-Bold.woff2") format("woff2");
}

:root {
  --ink: #0d110a;
  --ink-2: #161c11;
  --ink-3: #202817;
  --paper: #fafbf4;
  --card: #ffffff;
  --line: #e2e6d5;
  --line-dark: #2b3520;
  --text: #171c10;
  --muted: #676f5c;
  --muted-dark: #9aa48a;
  --lime: #c9f53a;
  --lime-hot: #daff4d;
  --moss: #55700a;
  --cream: #f2f4e4;

  --font-display: "Arial Black", "Arial Bold", Arial, sans-serif;
  --font-wordmark: "Sixtyfour", "Arial Black", "Arial Bold", Arial, sans-serif;
  --font-body: system-ui, "Segoe UI", Tahoma, Verdana, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Consolas, Menlo, "Courier New", monospace;

  --maxw: 1240px;
  --pad: 28px;
  --r: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
/* Root is INK (matches the dark masthead), not paper. iOS Safari tints the
   status bar / expanded toolbar from the page background on load — a white
   body flashed a white bar until you scrolled (which re-samples via
   theme-color). The light content canvas lives on <main> instead. */
html { scroll-behavior: smooth; background: var(--ink); }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
}
main { background: var(--paper); }
::selection { background: var(--lime); color: var(--ink); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
/* Two rings, because this site has both a light content canvas and dark
   chrome. Lime alone was 1.21:1 against --paper — WCAG 1.4.11 wants 3:1 for
   a focus indicator, so keyboard focus was effectively invisible across most
   of the site. Ink reads on paper (15:1); the lime halo reads on the ink
   masthead, hero, footer and CTA bands (11:1). One of the two always shows. */
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--lime);
  border-radius: 2px;
}

/* Visible only when focused — the first tab stop on every page. Before this
   there were 8-9 stops through the utility bar, logo and nav before a
   keyboard user reached the content. */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
  font-weight: 700;
  border-radius: 0 0 var(--r) 0;
}
.skip-link:focus {
  left: 0;
}
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- shared atoms ---------- */
.kicker {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--moss);
}
.kicker--onDark { color: var(--lime); }
.stamp {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--muted);
  text-transform: uppercase;
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 800; font-size: 16px;
  padding: 15px 28px; border-radius: 8px; border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: var(--lime-hot); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201, 245, 58, .35); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(13, 17, 10, .25); }
.btn-ghost { background: transparent; color: var(--paper); border-color: rgba(250, 251, 244, .35); }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn .arr { font-family: var(--font-body); transition: transform .15s ease; }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- byline chip ---------- */
.byline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.byline .avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--ink); color: var(--lime);
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex: none;
  overflow: hidden;
}
.byline .avatar img { width: 100%; height: 100%; object-fit: cover; }
.byline .who { font-size: 13.5px; font-weight: 700; }
.byline .who span { font-weight: 400; color: var(--muted); }
.byline .dot { color: var(--line); font-size: 13px; }
.byline .stamp { white-space: nowrap; }

/* ================================================================
   1. UTILITY BAR
   ================================================================ */
/* Thin dismissible strip for the legacy Win95 site (client component). */
.retro-banner {
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .04em;
  border-bottom: 1px solid var(--moss);
}
.retro-banner .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 28px;
  padding-top: 3px;
  padding-bottom: 3px;
}
.retro-banner p {
  flex: 1;
  margin: 0;
  line-height: 1.35;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  text-align: center;
}
.retro-banner-icon {
  flex: none;
  width: 14px;
  height: 14px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}
.retro-banner a {
  font-weight: 700;
  border-bottom: 1px solid var(--ink);
}
.retro-banner a:hover {
  color: var(--moss);
  border-bottom-color: var(--moss);
}
.retro-banner-close {
  flex: none;
  background: transparent;
  border: none;
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  opacity: .65;
  border-radius: 2px;
  /* The bar got shorter but the tap target must not: WCAG 2.5.8 wants 24x24
     minimum, and the old padding-based box came out at 23.7px wide. Fixed
     dimensions instead of padding, so shrinking the bar can't shrink this. */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 24px;
  padding: 0;
}
.retro-banner-close:hover { opacity: 1; }

.utility {
  background: var(--ink); color: var(--muted-dark);
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .05em;
}
.utility .wrap { display: flex; justify-content: space-between; align-items: center; height: 36px; gap: 16px; }
.utility strong { color: var(--paper); font-weight: 700; }
.utility .u-left { display: flex; align-items: center; gap: 11px; min-width: 0; }
.utility .u-right { display: flex; gap: 18px; align-items: center; }
.utility a:hover { color: var(--lime); }
.u-sep { color: var(--line-dark); }
.u-temp { display: inline-flex; align-items: center; gap: 6px; color: var(--lime); white-space: nowrap; }
.u-temp svg { flex: none; }
@media (max-width: 460px) {
  .u-temp svg { display: none; }
  .utility .wrap { gap: 10px; }
}

/* ================================================================
   2. MASTHEAD / NAV
   ================================================================ */
.masthead {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink); color: var(--paper);
  border-bottom: 1px solid var(--line-dark);
}
.masthead .wrap { display: flex; align-items: center; gap: 34px; height: 72px; }
/* Lockup: the hawk takes up exactly the same vertical space as the two-line
   text block — its height equals the stack (LIMEHAWK line = 1em, + 4px gap +
   the tagline line) so the mark and the wordmark are vertically balanced, not
   one taller than the other. Aspect-correct width (60×51) + overflow:visible
   keep the beak (which sits on the viewBox edge) from ever clipping. Gap = 0.5em
   ≈ one letter. The em unit is set once on .logo so everything scales together. */
.logo { display: flex; align-items: center; gap: 0.5em; flex: none; font-size: 26px; }
.logo-mark {
  flex: none;
  height: calc(1em + 4px + 11px);          /* = LIMEHAWK line + gap + tagline line */
  width: calc((1em + 15px) * 60 / 51);
  overflow: visible;
}
.logo--display .logo-mark { height: calc(1em + 4px + 12px); width: calc((1em + 16px) * 60 / 51); }
.logo-stack { display: flex; flex-direction: column; gap: 4px; }
.logo-word {
  font-family: var(--font-wordmark); font-size: 1em; letter-spacing: normal;
  color: var(--paper); line-height: 1; text-transform: uppercase;
}
.logo-word em { font-style: normal; color: var(--lime); }
.logo-sub {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--muted-dark); line-height: 1;
}
.logo--display { font-size: 32px; }
.logo--display .logo-sub { font-size: 12px; letter-spacing: .24em; }
/* Clear-space demo (brand page): dashed exclusion zone = 1 cap height (0.875em)
   on all four sides. */
.logo-clearspace { padding: 0.875em; outline: 1.5px dashed var(--lime); outline-offset: 0; }
.nav { display: flex; gap: 4px; flex: 1; min-width: 0; }
.nav a {
  font-size: 14.5px; font-weight: 700; color: var(--muted-dark);
  padding: 9px 13px; border-radius: 6px; position: relative;
  transition: color .15s ease, background .15s ease;
}
.nav a:hover { color: var(--paper); background: var(--ink-3); }
.nav a.hot { color: var(--lime); }
.mast-cta { display: flex; align-items: center; gap: 14px; flex: none; margin-left: auto; }
.btn-sm { padding: 11px 20px; font-size: 14.5px; }

/* Mobile hamburger menu (shown only under 1024px), built on <details>.
   It used to be a JS-controlled button, for two stated reasons: <details>
   "couldn't close on client-side nav" and was "flaky on iOS". The first reason
   retired with the client-side router — every link is now a real document
   request, so the menu closes because the page is replaced. The second is
   handled below: the default disclosure triangle is reset for WebKit, which is
   where the flakiness actually lived. */
.mobmenu { display: none; position: relative; }
.mobmenu-toggle {
  cursor: pointer; background: transparent; padding: 0;
  width: 42px; height: 42px; border-radius: 7px;
  border: 1px solid var(--line-dark);
  display: flex; align-items: center; justify-content: center;
  -webkit-tap-highlight-color: transparent;
  list-style: none;   /* kill the disclosure triangle (standards) */
}
.mobmenu-toggle::-webkit-details-marker { display: none; }  /* and on WebKit */
.mobmenu-toggle::marker { content: ""; }
.mobmenu-bars, .mobmenu-bars::before, .mobmenu-bars::after {
  display: block; width: 18px; height: 2px; background: var(--paper); border-radius: 2px;
}
.mobmenu-bars { position: relative; }
.mobmenu-bars::before { content: ""; position: absolute; top: -6px; left: 0; }
.mobmenu-bars::after { content: ""; position: absolute; top: 6px; left: 0; }
.mobmenu[open] .mobmenu-toggle { border-color: var(--lime); }
.mobmenu-list {
  position: absolute; right: 0; top: calc(100% + 12px);
  background: var(--ink-2); border: 1px solid var(--line-dark);
  border-radius: 9px; padding: 8px; min-width: 200px; z-index: 60;
  display: flex; flex-direction: column;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .5);
}
.mobmenu-list a {
  padding: 13px 14px; border-radius: 6px; cursor: pointer;
  font-size: 15px; font-weight: 700; color: var(--muted-dark);
  -webkit-tap-highlight-color: transparent;
}
.mobmenu-list a:hover { color: var(--paper); background: var(--ink-3); }
.mobmenu-list a[href^="tel:"] {
  color: var(--lime); font-family: var(--font-mono); font-size: 13.5px;
  border-top: 1px solid var(--line-dark); margin-top: 6px; border-radius: 0 0 6px 6px;
}
/* Book-a-call CTA inside the mobile menu (shown only when the masthead button is
   hidden on phones — see the ≤560px block). */
.mm-book { display: none; }
.mobmenu-list a.mm-book {
  align-items: center; justify-content: space-between; gap: 10px;
  background: var(--lime); color: var(--ink); font-weight: 800; font-size: 15px;
  margin-bottom: 4px;
}
.mobmenu-list a.mm-book:hover { background: var(--lime-hot); color: var(--ink); }

/* ================================================================
   3. HERO — kinetic oversized headline, orchestrated load
   ================================================================ */
.hero {
  background:
    radial-gradient(900px 480px at 82% -10%, rgba(201, 245, 58, .14), transparent 60%),
    repeating-linear-gradient(90deg, rgba(250, 251, 244, .025) 0 1px, transparent 1px 88px),
    var(--ink);
  color: var(--paper);
  padding: 84px 0 72px;
  overflow: hidden;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--lime);
  margin-bottom: 30px;
}
.hero-eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--lime); }
.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(46px, 8.6vw, 118px);
  line-height: .94;
  letter-spacing: -.030em;
  text-transform: uppercase;
  margin-bottom: 34px;
}
.hline { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hline > span { display: inline-block; transform: translateY(110%); animation: riseUp .7s cubic-bezier(.2, .8, .2, 1) forwards; }
.hline:nth-child(1) > span { animation-delay: .05s; }
.hline:nth-child(2) > span { animation-delay: .15s; }
.hline:nth-child(3) > span { animation-delay: .25s; }
.hl {
  background: var(--lime); color: var(--ink);
  padding: 0 .12em;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
@keyframes riseUp { to { transform: translateY(0); } }

.hero-cols { display: flex; gap: 60px; align-items: flex-end; justify-content: space-between; }
.hero-sub {
  max-width: 560px; font-size: 19px; line-height: 1.6; color: var(--muted-dark);
  opacity: 0; animation: fadeUp .7s ease .45s forwards;
}
.hero-sub strong { color: var(--paper); }
.hero-actions {
  display: flex; align-items: center; gap: 22px; flex: none;
  opacity: 0; animation: fadeUp .7s ease .58s forwards;
}
.hero-alt { font-size: 14px; color: var(--muted-dark); line-height: 1.5; }
.hero-alt a { font-family: var(--font-mono); color: var(--paper); font-size: 13.5px; }
.hero-alt a:hover { color: var(--lime); }
.hero-chips {
  display: flex; gap: 12px; flex-wrap: wrap; margin-top: 44px;
  opacity: 0; animation: fadeUp .7s ease .72s forwards;
}
.hero-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .05em;
  color: var(--muted-dark);
  border: 1px solid var(--line-dark); border-radius: 999px;
  padding: 8px 16px;
}
.hero-chip b { color: var(--lime); font-weight: 700; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* ================================================================
   4. TICKER
   ================================================================ */
.ticker {
  background: var(--lime); color: var(--ink);
  overflow: hidden; white-space: nowrap;
  border-top: 1px solid var(--ink);
  padding: 11px 0;
}
.ticker-track {
  display: inline-flex; gap: 0;
  animation: marquee 46s linear infinite;
  will-change: transform;
}
.ticker-track span {
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
  padding-right: 48px;
}
.ticker-track span::before { content: "///"; margin-right: 48px; opacity: .45; }
@keyframes marquee { to { transform: translateX(-50%); } }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ================================================================
   5. SECTION HEADS + LEAD STORY CLUSTER
   ================================================================ */
.section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: -.02em; text-transform: uppercase; line-height: 1;
  display: flex; align-items: center; gap: 14px;
}
.section-title::before { content: ""; width: 14px; height: 14px; background: var(--lime); flex: none; }
.section-more {
  font-family: var(--font-mono); font-size: 13px; font-weight: 700;
  letter-spacing: .06em; color: var(--moss); white-space: nowrap;
}
.section-more:hover { color: var(--ink); }

.lead { padding: 64px 0 56px; }
.lead-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 48px; align-items: start; }

.lead-card { display: block; }
/* Editorial cover art — homepage lead + report pages (via ReportArt) */
.lead-card .art,
.article .art {
  border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 22px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.lead-card .art svg,
.article .art svg { display: block; width: 100%; height: auto; }
.lead-card:hover .art { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(13, 17, 10, .14); }
.lead-card .kicker { display: block; margin-bottom: 10px; }
.lead-title {
  font-size: clamp(26px, 3vw, 36px); font-weight: 800; line-height: 1.14;
  letter-spacing: -.015em; margin-bottom: 14px;
}
.lead-card:hover .lead-title { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 4px; text-underline-offset: 5px; }
.answer {
  font-size: 16.5px; line-height: 1.6; color: var(--muted);
  border-left: 3px solid var(--lime);
  padding-left: 16px; margin-bottom: 18px;
}

.stack { border-top: 2px solid var(--ink); }
.stack-label {
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  padding: 14px 0 4px; color: var(--text);
  display: flex; align-items: center; gap: 8px;
}
.stack-label::before { content: ""; width: 9px; height: 9px; background: var(--lime); }
.stack-item { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); }
.stack-item:last-of-type { border-bottom: none; }
.stack-item .meta-row { display: flex; gap: 10px; align-items: baseline; margin-bottom: 6px; }
.stack-item h3 {
  font-size: 17px; font-weight: 700; line-height: 1.35; letter-spacing: -.01em;
  transition: color .12s ease;
}
.stack-item:hover h3 { color: var(--moss); text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.stack-more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  font-weight: 800; font-size: 14.5px;
  padding: 12px 22px; border: 2px solid var(--ink); border-radius: 8px;
  transition: background .15s ease, color .15s ease;
}
.stack-more:hover { background: var(--ink); color: var(--lime); }

/* ================================================================
   6. CTA SLOT (premium ad-slot rhythm)
   ================================================================ */
.slot { padding: 8px 0 56px; }
.slot-inner {
  background: var(--ink); color: var(--paper);
  border-radius: var(--r);
  padding: 38px 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 36px;
  position: relative; overflow: hidden;
}
.slot-inner::after {
  content: ""; position: absolute; right: -70px; top: -70px; width: 260px; height: 260px;
  border-radius: 50%; background: radial-gradient(circle, rgba(201, 245, 58, .22), transparent 65%);
  pointer-events: none;
}
.slot-tag {
  position: absolute; top: 14px; left: 44px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted-dark);
}
.slot-copy { padding-top: 14px; }
.slot-h {
  font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 32px);
  letter-spacing: -.02em; text-transform: uppercase; line-height: 1.05;
  margin-bottom: 8px;
}
.slot-h em { font-style: normal; color: var(--lime); }
.slot-p { color: var(--muted-dark); font-size: 16px; max-width: 520px; }
.slot-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; flex: none; }
.slot-sub { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted-dark); }
.slot-sub a:hover { color: var(--lime); }

/* ================================================================
   7. REPORT FEED — bold list rows
   ================================================================ */
.feed { padding: 24px 0 64px; }
.chips {
  display: flex; gap: 10px; overflow-x: auto; padding-bottom: 18px; margin-bottom: 6px;
  scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; font-size: 14px; font-weight: 700;
  padding: 9px 18px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--card); color: var(--muted);
  transition: all .15s ease; cursor: pointer; font-family: var(--font-body);
  display: inline-block;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.active { background: var(--ink); border-color: var(--ink); color: var(--lime); }

.rows { border-top: 3px solid var(--ink); }
.row {
  display: grid;
  grid-template-columns: 66px 150px 1fr 60px;
  gap: 26px; align-items: center;
  padding: 26px 18px 26px 10px;
  border-bottom: 1px solid var(--line);
  transition: background .16s ease;
  position: relative;
}
.row:hover { background: var(--ink); }
.row-num {
  font-family: var(--font-mono); font-size: 15px; font-weight: 700; color: var(--muted);
  transition: color .16s ease;
}
.row:hover .row-num { color: var(--lime); }
.row-kick { transition: color .16s ease; }
.row:hover .row-kick { color: var(--lime); }
.row-main h3 {
  font-size: 21px; font-weight: 800; line-height: 1.25; letter-spacing: -.012em;
  margin-bottom: 6px; transition: color .16s ease;
}
.row:hover .row-main h3 { color: var(--paper); }
.row-sum { font-size: 15px; color: var(--muted); line-height: 1.5; margin-bottom: 8px; transition: color .16s ease; display: block; }
.row:hover .row-sum { color: var(--muted-dark); }
.row-meta {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .05em;
  text-transform: uppercase; color: var(--muted);
  display: flex; gap: 14px; flex-wrap: wrap;
  transition: color .16s ease;
}
.row:hover .row-meta { color: var(--muted-dark); }
.row-meta b { color: var(--moss); font-weight: 700; transition: color .16s ease; }
.row:hover .row-meta b { color: var(--lime); }
.row-arr {
  font-family: var(--font-display); font-size: 24px; color: var(--line);
  justify-self: end; transition: color .16s ease, transform .16s ease;
}
.row:hover .row-arr { color: var(--lime); transform: translateX(6px); }
.feed-foot { display: flex; justify-content: center; padding-top: 34px; }

/* ================================================================
   8. VIDEO DESK
   ================================================================ */
.videodesk { background: var(--ink); color: var(--paper); padding: 64px 0; }
.videodesk .section-title { color: var(--paper); }
.videodesk .section-more { color: var(--lime); }
.videodesk .section-more:hover { color: var(--paper); }
.vd-sub { color: var(--muted-dark); max-width: 640px; margin: -12px 0 34px; font-size: 16.5px; }
.vd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.vd-card { display: block; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-dark); transition: transform .18s ease, border-color .18s ease; }
.vd-card:hover { transform: translateY(-5px); border-color: var(--lime); }
.vd-card .art { position: relative; }
.vd-body { padding: 16px 18px 20px; background: var(--ink-2); }
.vd-body .kicker--onDark { display: block; margin-bottom: 8px; }
.vd-body h3 { font-size: 17px; font-weight: 700; line-height: 1.35; }
.vd-card:hover h3 { color: var(--lime); }

/* ================================================================
   9. SERVICES
   ================================================================ */
.services { padding: 64px 0; }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.svc {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 24px 24px; position: relative; overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  display: block;
}
.svc::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 5px;
  background: var(--lime); transform: scaleX(0); transform-origin: left;
  transition: transform .22s ease;
}
.svc:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(13, 17, 10, .12); border-color: var(--ink); }
.svc:hover::before { transform: scaleX(1); }
.svc .kicker { display: block; margin-bottom: 12px; }
.svc h3 { font-size: 20px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; margin-bottom: 10px; }
.svc p { font-size: 14.5px; color: var(--muted); margin-bottom: 16px; }
.svc ul { list-style: none; }
.svc li {
  font-size: 13.5px; color: var(--text); padding: 6px 0 6px 22px; position: relative;
  border-top: 1px dashed var(--line);
}
.svc li::before { content: "→"; position: absolute; left: 2px; color: var(--moss); font-weight: 700; }

/* ================================================================
   10. AUTHOR
   ================================================================ */
.author { padding: 96px 0 72px; }          /* top room so the head bleeds above the panel */
.author-inner {
  position: relative;
  display: grid; grid-template-columns: 320px 1fr; gap: 52px; align-items: center;
  background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--r);
  padding: 44px 48px; min-height: 300px;
  overflow: visible;                        /* let Corey escape the frame */
}

/* Ghost masthead monogram — faint paper on ink, pinned top-right. */
.author-mono {
  position: absolute; top: -.18em; right: 26px; z-index: 0;
  font-family: var(--font-display); font-size: clamp(120px, 15vw, 210px);
  line-height: 1; letter-spacing: -.04em;
  color: var(--paper); opacity: .05;
  pointer-events: none; user-select: none;
}

/* Corey floats on the panel floor and bleeds past the top + left edges. */
.author-art {
  position: absolute; top: -80px; left: -34px; width: 340px; z-index: 1;
  border-radius: 0; overflow: visible;
}
.author-art img {
  display: block; width: 100%; height: auto; border-radius: 0;
  filter: drop-shadow(0 24px 34px rgba(13, 17, 10, .55));   /* silhouette-hugging grounding */
}
/* The ONE accent: a hard-edged lime slab behind his torso. */
.author-art::before {
  content: ""; position: absolute; left: 46px; bottom: 0;
  width: 230px; height: 210px; background: var(--lime); z-index: -1;
}

/* Art is out of flow, so pin the copy to the 1fr track. */
.author-copy { grid-column: 2; position: relative; z-index: 2; }
.author-copy .kicker { display: block; margin-bottom: 14px; }
.author-h {
  font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -.02em; text-transform: uppercase; line-height: 1;
  margin-bottom: 16px; color: var(--paper);
}
.author-h em { font-style: normal; color: var(--lime); }
.author-p { font-size: 17px; color: var(--muted-dark); max-width: 620px; margin-bottom: 12px; }
.author-cred {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .05em;
  text-transform: uppercase; color: var(--lime); margin-bottom: 26px;
}
.author-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ================================================================
   11. LOCAL BAND
   ================================================================ */
.local {
  background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 56px 0; position: relative; overflow: hidden;
}
.local-ridge { position: absolute; bottom: -6px; left: 0; right: 0; opacity: .5; pointer-events: none; }
.local .wrap { position: relative; }
.local-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.local-h {
  font-family: var(--font-display); font-size: clamp(24px, 2.8vw, 34px);
  letter-spacing: -.02em; text-transform: uppercase; line-height: 1.05; margin-bottom: 14px;
}
.local-h em { font-style: normal; background: var(--lime); padding: 0 .1em; }
.local-p { color: var(--muted); font-size: 16.5px; max-width: 520px; }
.local-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.ltag {
  font-family: var(--font-mono); font-size: 13px; font-weight: 700;
  background: var(--card); border: 1.5px solid var(--line); border-radius: 999px;
  padding: 9px 18px; transition: all .15s ease;
  display: inline-block;
}
.ltag:hover { border-color: var(--ink); background: var(--lime); }

/* ================================================================
   12. FAQ
   ================================================================ */
.faq { padding: 72px 0; }
.faq-grid { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: start; }
.faq-side .kicker { display: block; margin-bottom: 14px; }
.faq-h {
  font-family: var(--font-display); font-size: clamp(26px, 3vw, 40px);
  letter-spacing: -.02em; text-transform: uppercase; line-height: .98; margin-bottom: 18px;
}
.faq-side p { color: var(--muted); font-size: 16px; margin-bottom: 24px; }
.faq-list { border-top: 3px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 4px; font-size: 18.5px; font-weight: 800; letter-spacing: -.01em;
  transition: color .12s ease;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--moss); }
.faq-list summary::after {
  content: "+"; font-family: var(--font-display); font-size: 22px; color: var(--moss);
  flex: none; transition: transform .18s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 4px 24px; color: var(--muted); font-size: 16px; max-width: 760px; }
.faq-a strong { color: var(--text); }

/* ================================================================
   13. BOOK — the big slot
   ================================================================ */
.book { padding: 0 0 84px; }
.book-inner {
  background:
    radial-gradient(700px 400px at 15% 110%, rgba(201, 245, 58, .16), transparent 60%),
    var(--ink);
  color: var(--paper);
  border-radius: 14px;
  padding: 74px 60px;
  text-align: center; position: relative; overflow: hidden;
}
.book-tag {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted-dark);
  display: inline-block; margin-bottom: 26px;
  border: 1px solid var(--line-dark); border-radius: 999px; padding: 7px 18px;
}
.book-h {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.4vw, 68px);
  letter-spacing: -.028em; text-transform: uppercase; line-height: .96;
  margin: 0 auto 20px; max-width: 900px;
}
.book-h em { font-style: normal; background: var(--lime); color: var(--ink); padding: 0 .1em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.book-p { color: var(--muted-dark); font-size: 18px; max-width: 560px; margin: 0 auto 36px; }
.book-actions { display: flex; justify-content: center; align-items: center; gap: 18px; flex-wrap: wrap; }
.book-contact {
  margin-top: 26px; font-family: var(--font-mono); font-size: 13px; color: var(--muted-dark);
  display: flex; justify-content: center; gap: 26px; flex-wrap: wrap;
}
.book-contact a:hover { color: var(--lime); }

/* ================================================================
   13b. REVIEWS — aggregate score + featured lead + masonry wall
   ================================================================ */
/* Aggregate score: dark block, big lime number (brand's dark-accent pattern) */
.rv-score {
  display: flex; align-items: center; gap: 34px; flex-wrap: wrap;
  background: var(--ink); color: var(--paper);
  border-radius: var(--r); padding: 30px 40px; margin-bottom: 40px;
  position: relative; overflow: hidden;
}
.rv-score::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px;
  border-radius: 50%; background: radial-gradient(circle, rgba(201, 245, 58, .18), transparent 65%);
  pointer-events: none;
}
.rv-score-num {
  font-family: var(--font-display); font-size: 68px; line-height: .9;
  color: var(--lime); font-variant-numeric: tabular-nums; letter-spacing: -.02em;
}
.rv-score-mid { display: flex; flex-direction: column; gap: 6px; }
.rv-stars-lg { color: var(--lime); font-size: 22px; letter-spacing: 3px; line-height: 1; }
.rv-score-label {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted-dark);
}
.rv-score-gap { flex: 1; }
.rv-score .status-chip {
  background: transparent; color: var(--lime); border-color: var(--line-dark);
}
.rv-score .status-chip::before { background: var(--lime); }

/* Shared quotation mark */
.rv-quote {
  font-family: var(--font-display); color: var(--lime);
  line-height: .6; display: block;
}

/* Featured lead review — dark, oversized, editorial */
.rv-lead {
  background: var(--ink); color: var(--paper);
  border-radius: var(--r); padding: 44px 48px 38px; margin-bottom: 34px;
  position: relative; overflow: hidden;
}
.rv-lead::after {
  content: ""; position: absolute; left: -50px; bottom: -60px; width: 240px; height: 240px;
  border-radius: 50%; background: radial-gradient(circle, rgba(201, 245, 58, .14), transparent 65%);
  pointer-events: none;
}
.rv-lead .rv-quote { font-size: 82px; height: 34px; margin-bottom: 10px; }
.rv-lead-text {
  font-size: clamp(20px, 2.3vw, 28px); font-weight: 800; line-height: 1.34;
  letter-spacing: -.01em; max-width: 880px; margin-bottom: 26px; position: relative;
}
.rv-foot { display: flex; align-items: center; gap: 13px; }
.rv-lead .rv-foot { border-top: 1px solid var(--line-dark); padding-top: 22px; }
.rv-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: var(--lime); color: var(--ink);
  font-family: var(--font-mono); font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.rv-avatar img { width: 100%; height: 100%; object-fit: cover; }
.rv-who { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rv-name { font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.rv-lead .rv-name { color: var(--paper); }
.rv-meta {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .05em;
  text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: 9px;
}
.rv-lead .rv-meta { color: var(--muted-dark); }
.rv-foot-gap { flex: 1; }
.rv-stars { color: var(--moss); font-size: 13px; letter-spacing: 1.5px; line-height: 1; white-space: nowrap; }
.rv-lead .rv-stars { color: var(--lime); }

/* Masonry wall — CSS columns so uneven review lengths pack naturally */
.rv-wall { columns: 3 300px; column-gap: 22px; }
.rv-card {
  break-inside: avoid; -webkit-column-break-inside: avoid;
  margin: 0 0 22px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 26px 22px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.rv-card:hover {
  transform: translateY(-3px); border-color: var(--ink);
  box-shadow: 0 14px 32px rgba(13, 17, 10, .11);
}
.rv-card .rv-quote { font-size: 50px; height: 22px; margin-bottom: 8px; }
.rv-text { font-size: 15.5px; line-height: 1.6; color: var(--text); margin-bottom: 20px; }
.rv-card .rv-foot { border-top: 1px solid var(--line); padding-top: 16px; }
.rv-card .rv-avatar { background: var(--ink); color: var(--lime); }
.rv-source {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted);
  display: inline-flex; align-items: center; gap: 6px;
}
.rv-source::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--moss); }
.rv-readlink {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 14px;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; color: var(--moss);
}
.rv-readlink:hover { color: var(--ink); }
.rv-lead .rv-readlink { color: var(--lime); }
.rv-lead .rv-readlink:hover { color: var(--lime-hot); }

@media (max-width: 640px) {
  .rv-score { padding: 24px 26px; gap: 22px; }
  .rv-score-num { font-size: 54px; }
  .rv-lead { padding: 32px 26px 28px; }
  .rv-wall { columns: 1; }
}

/* ================================================================
   14. FOOTER
   ================================================================ */
.footer { background: var(--ink); color: var(--muted-dark); padding: 64px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 52px; }
.foot-brand p { font-size: 14.5px; max-width: 300px; margin-top: 16px; line-height: 1.6; }
.foot-col h4 {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--paper);
  margin-bottom: 16px;
}
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 10px; }
.foot-col a { font-size: 14.5px; transition: color .12s ease; }
.foot-col a:hover { color: var(--lime); }
.foot-rule { border: none; border-top: 1px solid var(--line-dark); margin-bottom: 24px; }
.foot-base {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em;
}
.foot-base a { color: var(--muted-dark); }
.foot-base a:hover { color: var(--lime); }
.foot-retro a { border-bottom: 1px dotted var(--line-dark); }

/* ================================================================
   15. INTERIOR PAGES — page hero, breadcrumbs, prose, article modules
   ================================================================ */
.page-hero {
  background:
    radial-gradient(700px 380px at 85% -20%, rgba(201, 245, 58, .12), transparent 60%),
    var(--ink);
  color: var(--paper);
  padding: 56px 0 48px;
}
.page-hero .kicker--onDark { display: block; margin-bottom: 16px; }
.page-h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: .98; letter-spacing: -.025em; text-transform: uppercase;
  margin-bottom: 18px; max-width: 980px;
}
.page-sub { color: var(--muted-dark); font-size: 18px; max-width: 720px; line-height: 1.6; }
.page-hero .byline { margin-top: 24px; }
.page-hero .byline .who { color: var(--paper); }
.page-hero .byline .who span,
.page-hero .byline .stamp { color: var(--muted-dark); }
.page-hero .byline .dot { color: var(--line-dark); }

.crumbs {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .05em;
  text-transform: uppercase; color: var(--muted-dark);
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 26px;
}
.crumbs a:hover { color: var(--lime); }
.crumbs .sep { opacity: .5; }

.article { padding: 52px 0 72px; }
.article-grid { display: grid; grid-template-columns: minmax(0, 760px) 1fr; gap: 64px; align-items: start; }
/* Let the columns shrink below their content on narrow screens — otherwise a
   long unbreakable string (registry keys, file paths) forces the grid wider
   than the viewport and the page scrolls sideways on mobile. */
.article-grid > * { min-width: 0; }
.article-rail { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 22px; }

.prose { font-size: 17.5px; line-height: 1.7; overflow-wrap: break-word; }
.prose p { margin-bottom: 20px; }
.prose a { color: var(--moss); font-weight: 700; text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { color: var(--ink); }
.prose ul, .prose ol { margin: 0 0 20px 24px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); }
.prose h2 {
  font-family: var(--font-display); font-size: clamp(21px, 2.4vw, 27px);
  letter-spacing: -.015em; text-transform: uppercase; line-height: 1.1;
  margin: 44px 0 18px; padding-top: 22px;
  border-top: 3px solid var(--ink);
  display: flex; align-items: center; gap: 12px;
}
.prose h2::before { content: ""; width: 11px; height: 11px; background: var(--lime); flex: none; }
.prose h3 { font-size: 20px; font-weight: 800; margin: 30px 0 12px; letter-spacing: -.01em; }
.prose blockquote { border-left: 3px solid var(--lime); padding-left: 18px; color: var(--muted); margin-bottom: 20px; }
.prose code { font-family: var(--font-mono); font-size: .88em; background: var(--cream); border: 1px solid var(--line); border-radius: 4px; padding: 1px 6px; }
.prose table { border-collapse: collapse; width: 100%; margin-bottom: 20px; font-size: 15px; }
/* Phones: let a table wider than the screen scroll inside its own box instead
   of pushing the whole page sideways. */
@media (max-width: 640px) {
  table { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
.prose th, .prose td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.prose th { background: var(--cream); font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.prose td { font-variant-numeric: tabular-nums; }

/* tl;dr — the extractable answer block */
.tldr {
  background: var(--cream); border: 1px solid var(--line); border-left: 5px solid var(--lime);
  border-radius: var(--r); padding: 24px 28px; margin: 0 0 32px;
}
.tldr-label {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--moss);
  margin-bottom: 10px; display: block;
}
.tldr p { font-size: 17px; line-height: 1.65; color: var(--text); margin: 0; }

/* metric strip */
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 0 0 32px; }
.metric {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 16px 18px;
}
.metric-value {
  font-family: var(--font-display); font-size: 26px; letter-spacing: -.02em; line-height: 1;
  color: var(--ink); margin-bottom: 6px; font-variant-numeric: tabular-nums;
}
.metric.good .metric-value { color: var(--moss); }
.metric.bad .metric-value { color: #a3341f; }
.metric-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
}

/* timeline */
.timeline { list-style: none; margin: 0 0 32px; border-left: 3px solid var(--line); padding-left: 0; }
.timeline li { position: relative; padding: 0 0 20px 28px; }
.timeline li::before {
  content: ""; position: absolute; left: -8px; top: 6px;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--lime); border: 3px solid var(--paper);
  box-shadow: 0 0 0 1.5px var(--line);
}
.timeline li.bad::before { background: #a3341f; }
.timeline-time {
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--moss); display: block; margin-bottom: 3px;
}
.timeline li.bad .timeline-time { color: #a3341f; }
.timeline-text { font-size: 16px; line-height: 1.55; }

/* pull quote */
.pullquote {
  margin: 8px 0 32px; padding: 26px 30px;
  background: var(--ink); color: var(--paper); border-radius: var(--r);
  position: relative; overflow: hidden;
}
.pullquote::after {
  content: ""; position: absolute; right: -50px; top: -50px; width: 180px; height: 180px;
  border-radius: 50%; background: radial-gradient(circle, rgba(201, 245, 58, .18), transparent 65%);
}
.pullquote p { font-size: 21px; font-weight: 800; line-height: 1.4; letter-spacing: -.01em; margin: 0; }
.pullquote cite { display: block; margin-top: 12px; font-style: normal; font-family: var(--font-mono); font-size: 12.5px; color: var(--muted-dark); text-transform: uppercase; letter-spacing: .08em; }

/* takeaways checklist */
.takeaways {
  border: 1px solid var(--line); border-radius: var(--r); padding: 24px 28px; margin: 0 0 32px;
  background: var(--card);
}
.takeaways ul { list-style: none; margin: 0; }
.takeaways li { padding: 8px 0 8px 30px; position: relative; border-top: 1px dashed var(--line); font-size: 16px; }
.takeaways li:first-child { border-top: none; }
.takeaways li::before { content: "✓"; position: absolute; left: 2px; color: var(--moss); font-weight: 900; }

/* code block */
.codewrap { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-dark); margin: 0 0 28px; }
.codewrap-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  background: var(--ink-3); color: var(--muted-dark);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .05em;
  padding: 10px 16px;
}
.codewrap-bar a { color: var(--lime); font-weight: 700; }
.codewrap-bar a:hover { color: var(--lime-hot); }
.codewrap-actions { display: flex; align-items: center; gap: 16px; }
.copy-btn {
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  background: transparent; color: var(--muted-dark);
  border: 1px solid var(--line-dark); border-radius: 5px;
  padding: 4px 12px; cursor: pointer;
  transition: color .15s ease, border-color .15s ease;
}
.copy-btn:hover { color: var(--lime); border-color: var(--lime); }
.codewrap pre {
  background: var(--ink); color: #d8dfc8;
  padding: 20px; overflow: auto;
  max-height: 480px;
  font-family: var(--font-mono); font-size: 13.5px; line-height: 1.6;
  scrollbar-width: thin;
  scrollbar-color: var(--muted) var(--ink-3);
}
.codewrap pre::-webkit-scrollbar { width: 11px; height: 11px; }
.codewrap pre::-webkit-scrollbar-track { background: var(--ink-3); }
.codewrap pre::-webkit-scrollbar-thumb {
  background: var(--muted); border-radius: 6px;
  border: 2px solid var(--ink-3);
}
.codewrap pre::-webkit-scrollbar-thumb:hover { background: var(--muted-dark); }
.codewrap pre::-webkit-scrollbar-corner { background: var(--ink-3); }

/* details disclosure inside articles */
.prose details, .article details.fold {
  border: 1px solid var(--line); border-radius: var(--r); margin: 0 0 24px; background: var(--card);
}
.prose details summary, details.fold summary {
  list-style: none; cursor: pointer; padding: 16px 20px;
  font-weight: 800; font-size: 16px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.prose details summary::-webkit-details-marker, details.fold summary::-webkit-details-marker { display: none; }
.prose details summary::after, details.fold summary::after { content: "+"; font-family: var(--font-display); color: var(--moss); }
.prose details[open] summary::after, details.fold[open] summary::after { content: "−"; }
.prose details .fold-body, details.fold .fold-body { padding: 0 20px 18px; }

/* rail widgets */
.railbox { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; }
.railbox-label {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--moss);
  display: flex; align-items: center; gap: 8px; margin-bottom: 14px;
}
.railbox-label::before { content: ""; width: 9px; height: 9px; background: var(--lime); }
.railbox ul { list-style: none; }
.railbox li { border-top: 1px solid var(--line); }
.railbox li:first-child { border-top: none; }
.railbox li a { display: block; padding: 12px 0; font-size: 15px; font-weight: 700; line-height: 1.4; }
.railbox li a:hover { color: var(--moss); text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.railbox--cta { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.railbox--cta p { color: var(--muted-dark); font-size: 14.5px; margin-bottom: 16px; }
.railbox--cta .railbox-label { color: var(--lime); }

/* status chip */
.status-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  background: var(--cream); color: var(--moss);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px;
}
.status-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--moss); }

/* ================================================================
   16. FORMS (contact / interest)
   ================================================================ */
.form-grid { display: grid; gap: 18px; max-width: 640px; }
.field label {
  display: block; font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--moss); margin-bottom: 7px;
}
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--font-body); font-size: 16px;
  padding: 13px 16px; border-radius: 8px;
  /* --line is 1.27:1 on --card, and --card is 1.07:1 on the page behind it,
     which made the contact fields near-invisible boxes. --muted is 5.3:1 —
     a field you can actually see the edge of. WCAG 1.4.11 wants 3:1. */
  border: 1.5px solid var(--muted);
  background: var(--card); color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(201, 245, 58, .4);
}
.field .error { color: #a3341f; font-size: 13.5px; margin-top: 5px; }
.field .ok { color: var(--moss); font-size: 13.5px; margin-top: 5px; }

/* ================================================================
   17. BRAND GUIDELINES PAGE
   ================================================================ */
.swatch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; margin-bottom: 12px; }
.swatch { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--card); }
.swatch-chip { height: 88px; }
.swatch-meta { padding: 12px 14px; }
.swatch-meta b { display: block; font-size: 14.5px; }
.swatch-meta code {
  font-family: var(--font-mono); font-size: 12px; color: var(--muted);
  display: block; margin: 3px 0 5px;
}
.swatch-meta span { font-size: 12.5px; color: var(--muted); line-height: 1.45; display: block; }

.spec { border-top: 1px solid var(--line); padding: 22px 0; display: grid; grid-template-columns: 190px 1fr; gap: 24px; align-items: baseline; }
.spec-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.spec-sample { min-width: 0; overflow-wrap: break-word; }

.demo-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.demo-block { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 28px; margin-bottom: 18px; }
.demo-block--dark { background: var(--ink); border-color: var(--ink); color: var(--paper); }

@media (max-width: 700px) {
  .spec { grid-template-columns: 1fr; gap: 8px; }
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1080px) {
  .lead-grid { grid-template-columns: 1.35fr 1fr; gap: 36px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .row { grid-template-columns: 52px 130px 1fr 44px; gap: 18px; }
  .author-inner { grid-template-columns: 300px 1fr; gap: 40px; padding: 40px; }
  .author-art { width: 300px; left: -24px; }
  .author-art::before { left: 40px; bottom: 0; width: 200px; height: 190px; }
  .author-mono { font-size: clamp(110px, 14vw, 170px); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .article-grid { grid-template-columns: 1fr; gap: 40px; }
  .article-rail { position: static; }
}
/* Nav → hamburger switch happens earlier than the layout breakpoint: six
   nav items + logo + CTA get cramped well before 860px. */
@media (max-width: 1024px) {
  .nav { display: none; }
  .mobmenu { display: block; }
}
/* Phones: the wide logo + full CTA + hamburger don't fit. Drop the standalone
   CTA (it lives in the menu now, and the hero CTA is right below), shrink the
   logo a touch, and keep the tagline so the hawk stays balanced. */
@media (max-width: 560px) {
  .logo { font-size: 22px; }
  .mast-cta .btn-lime { display: none; }
  .mm-book { display: flex; }
}
@media (max-width: 860px) {
  .hero { padding: 60px 0 56px; }
  .hero-cols { flex-direction: column; align-items: flex-start; gap: 30px; }
  .lead-grid { grid-template-columns: 1fr; }
  .slot-inner { flex-direction: column; align-items: flex-start; padding: 34px 30px 30px; }
  .slot-actions { align-items: flex-start; }
  .row { grid-template-columns: 44px 1fr 34px; grid-template-rows: auto auto; }
  .row-kick { grid-column: 2; order: -1; margin-bottom: -14px; }
  .row-num { grid-row: 1 / span 2; align-self: start; padding-top: 2px; }
  .row-main { grid-column: 2; }
  .row-arr { grid-row: 1; grid-column: 3; }
  .vd-grid { grid-template-columns: 1fr; }
  .author { padding: 64px 0 56px; }
  .author-inner { grid-template-columns: 1fr; gap: 20px; padding: 0 30px 36px; min-height: 0; }
  .author-art { position: relative; top: -56px; left: 0; width: 240px; margin: 0 auto -44px; }
  .author-art::before { left: 50%; transform: translateX(-50%); bottom: 0; width: 200px; height: 150px; }
  .author-copy { grid-column: 1; }
  .author-mono { top: -.1em; right: 16px; font-size: clamp(90px, 22vw, 130px); }
  .local-grid { grid-template-columns: 1fr; gap: 30px; }
  .faq-grid { grid-template-columns: 1fr; gap: 30px; }
  .book-inner { padding: 56px 26px; }
}
@media (max-width: 480px) {
  :root { --pad: 18px; }
  body { font-size: 16px; }
  .utility .u-right .u-hide { display: none; }
  .masthead .wrap { height: 64px; gap: 14px; justify-content: space-between; }
  .hero-h1 { font-size: clamp(40px, 12.5vw, 56px); }
  .hero-sub { font-size: 17px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 16px; }
  .row { padding: 22px 8px 22px 4px; }
  .row-main h3 { font-size: 18px; }
  .svc-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .book-actions { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001s !important;
    animation-delay: 0s !important;
    transition-duration: .001s !important;
  }
  .hline > span { transform: none; }
  .hero-sub, .hero-actions, .hero-chips { opacity: 1; }
  .ticker-track { animation: none; }
}
