/**
 * Road To Kickoff — homepage chrome refresh (PR 3)
 * Hero band + paper-card form panel + segmented control.
 * Loaded AFTER redesign/wizard.css in <head>.
 */

/* ── BODY BACKGROUND ─────────────────────────────────────────────────────
   Only the hero band is pitch-green now. Everything below it sits on chalk.
   The .page wrapper keeps its max-width centering but gets out of the way
   of the hero-band full-bleed. */
body {
  background: var(--chalk);
  color: var(--ink);
}

/* Kill the old .page top padding — hero-band provides it */
.page {
  padding-top: 0;
  padding-bottom: 80px;
}

/* ── HERO BAND ───────────────────────────────────────────────────────────
   Full-width pitch-green band containing masthead + tagline + status + ctas.
   The extra bottom padding (--space-9 = 80px) gives the form-card room to
   overlap without crashing into the tagline. */
.hero-band {
  background: var(--pitch);
  padding: var(--space-3) var(--space-5) var(--space-6);
  color: var(--chalk);
}

/* Centre the hero contents to match .page's max-width rhythm */
.hero-band-inner {
  max-width: 720px;
  margin: 0 auto;
}

/* The masthead itself already uses chalk-coloured text so it reads fine
   on pitch. Preserve its own internal padding but zero out any margin
   that might double-up with hero-band padding. */
.hero-band .masthead {
  margin-bottom: 0;
}

/* Status bar on pitch — swap its paper background for a subtle pitch tint
   so it doesn't look like a card floating in the band */
.hero-band .status-bar.loading {
  background: rgba(244, 239, 229, 0.08);
  border-color: rgba(244, 239, 229, 0.18);
  color: rgba(244, 239, 229, 0.75);
}
.hero-band .status-bar.loading .status-dot {
  background: rgba(244, 239, 229, 0.5);
}
.hero-band .status-bar.err {
  background: rgba(200, 16, 46, 0.15);
  border-color: rgba(200, 16, 46, 0.35);
  color: #ff8080;
}

/* restart-link buttons sit in the hero band — already chalk-coloured text */
.hero-band .restart-link {
  color: var(--chalk);
  display: block;
}

/* Preserve hidden attribute — our display:block must not win over [hidden] */
.hero-band .restart-link[hidden] {
  display: none;
}

/* ── FORM CARD ───────────────────────────────────────────────────────────
   Paper-coloured floating card that overlaps the hero band's bottom edge.
   Negative top-margin pulls it up into the pitch band. */
.form-card {
  max-width: 720px;
  margin: calc(-1 * var(--space-7)) auto 0;
  padding: 0 var(--space-5);   /* side padding mirrors .page */
  position: relative;
  z-index: 1;
}

.form-card-inner {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  box-shadow: 0 4px 24px rgba(15, 33, 56, 0.10);
}
.planner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--hairline);
}
.planner-header__text {
  flex: 1;
  min-width: 0;
}
.planner-header__title {
  font-family: var(--font-serif, var(--serif));
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 4px;
}
.planner-header__sub {
  font-family: var(--font-sans, var(--sans));
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.planner-header__quick {
  flex-shrink: 0;
  font-family: var(--font-sans, var(--sans));
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  background: none;
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 5px 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
  text-decoration: none;
}
.planner-header__quick:hover {
  color: var(--ink);
  border-color: var(--ink-light, #6b7280);
}

/* SEGMENTED MODE CONTROL — dark transparent track, animated white pill.
   Sits at the top of the form-card. The pill morphs in width to match
   the active label, computed by setMode() and applied as inline style. */
.segmented {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  gap: 0;
  background: rgba(15, 33, 56, 0.85);
  border-radius: var(--radius-pill);
  padding: 4px;
  margin-bottom: var(--space-5);
  /* Pill is positioned absolutely inside; segments are inline so they
     size to their label width, not 50/50. */
}
.seg {
  position: relative;
  z-index: 1;
  background: transparent;
  border: none;
  padding: 10px 18px;
  font-family: var(--font-sans, var(--sans));
  font-size: 14px;
  font-weight: 600;
  color: rgba(244, 239, 229, 0.55);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  transition: color var(--dur-normal) var(--ease-out);
  border-radius: var(--radius-pill);
}
.seg.is-on,
.segmented[data-active="casual"] .seg[data-mode="casual"],
.segmented[data-active="diehard"] .seg[data-mode="diehard"] {
  color: var(--pitch-deep);
}
.seg:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 2px;
}
.seg-pill {
  position: absolute;
  top: 4px;
  bottom: 4px;
  /* left + width set via inline style by setMode(), based on the active
     segment's offsetLeft and offsetWidth. */
  background: var(--chalk);
  border-radius: var(--radius-pill);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  transition: left var(--dur-normal) var(--ease-out), width var(--dur-normal) var(--ease-out);
  z-index: 0;
  pointer-events: none;
}

/* ── 8px-GRID OVERRIDES — existing form panels inside the card ───────── */

/* The .panel class normally provides its own card chrome — suppress it
   inside .form-card-inner since the outer card IS the chrome */
.form-card-inner .panel {
  padding: 0;
  background: transparent;
  border: none;
  margin-bottom: 0;
  border-radius: 0;
}

/* Spacing rhythm — map to --space-* tokens */
.form-card-inner .form-block {
  margin-bottom: var(--space-5);
}

.form-card-inner .form-block:last-of-type {
  margin-bottom: 0;
}

.form-card-inner .field-label {
  margin-bottom: var(--space-2);
}

.form-card-inner .row-2 {
  gap: var(--space-4);
}

/* ── RESULTS PANELS chrome ───────────────────────────────────────────────
   Results live inside #f-casual / #f-diehard (nested in the form card).
   Give them their own visual separation — paper card with shadow — so they
   read as a distinct results section below the form controls. */
#results-casual:not(:empty),
#results-diehard:not(:empty) {
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  margin-top: var(--space-5);
  box-shadow: 0 4px 24px rgba(15, 33, 56, 0.08);
  border: 1px solid var(--hairline);
}

/* The results-wrap has its own card styles — strip them inside form-card
   since the results containers above already provide the chrome */
.form-card-inner .results-wrap {
  margin-top: 0;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

/* ── FOOTER — restore chalk border on chalk background ───────────────── */
footer {
  border-top-color: var(--hairline);
  color: var(--muted);
}

/* Masthead-nav link colours need to remain readable on pitch in the hero band */
.hero-band .masthead-nav {
  border-bottom-color: rgba(244, 239, 229, 0.12);
}

/* The city map sits on a paper background now — the map fills look fine
   as-is (they use their own fill colours). The border and hit-area dots
   may need slight adjustments for the new background, but the fills are
   compatible. The map container border-radius and background are kept. */
.form-card-inner .host-map {
  background: #DCE5DC;
  border-color: var(--hairline);
}

/* FORM-PANEL INTRO — fluid serif headline + dek per mode */
.panel-intro {
  margin-bottom: var(--space-6);
}
.panel-hed {
  font-family: var(--font-serif, var(--serif));
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 var(--space-2);
  text-wrap: balance;
}
.panel-dek {
  font-family: var(--font-sans, var(--sans));
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 56ch;
  margin: 0;
}

/* NUMBERED FIELD LABELS — italic serif Roman numeral prefix before each
   mono caps label. Counter resets per panel so each form restarts at i. */
.form-card .panel { counter-reset: field; }
.form-card .field-label {
  counter-increment: field;
  display: block;
  position: relative;
  padding-left: 28px;
  font-family: var(--font-mono, var(--mono));
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-card .field-label::before {
  content: counter(field, lower-roman) ".";
  position: absolute;
  left: 0;
  top: -1px;
  font-family: var(--font-serif, var(--serif));
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: lowercase;
  color: var(--pitch-deep);
  opacity: 0.85;
}
/* Don't number nested/secondary labels (e.g. "From"/"To" inside the
   travel-window block, which use the same .field-label class). Only the
   top-level form-block labels get a numeral. */
.form-card .form-block > .field-label::before { /* already covered above; this rule confirms scope */ }
.form-card .row-2 .field-label,
.form-card .form-block .form-block .field-label,
.form-card .quiz-range-block .field-label {
  counter-increment: none;
  padding-left: 0;
  text-transform: uppercase;
}
.form-card .row-2 .field-label::before,
.form-card .form-block .form-block .field-label::before,
.form-card .quiz-range-block .field-label::before {
  content: none;
}

/* MASTHEAD — compact lockup per brand-book/assets/KICKOFF-MARK.md
   Replaces the old hero-style masthead. ~56px tall. */
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) 0;
  min-height: 56px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}
.brand-lockup {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--font-sans, var(--sans));
  color: var(--chalk);
  line-height: 1;
}
.brand-pre {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 239, 229, 0.55);
}
.brand-main {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--chalk);
}
.lang-menu { position: relative; }
.lang-menu__trigger {
  list-style: none; cursor: pointer;
  font-family: var(--font-mono, var(--mono)); font-size: 10px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(244, 239, 229, 0.65);
  display: inline-flex; align-items: center; gap: 5px;
  transition: color 0.12s;
  user-select: none;
}
.lang-menu__trigger::-webkit-details-marker { display: none; }
.lang-menu__trigger::after { content: "▾"; font-size: 9px; opacity: 0.7; transition: transform 0.15s; }
.lang-menu[open] > .lang-menu__trigger::after { transform: rotate(180deg); }
.lang-menu__trigger:hover,
.lang-menu[open] > .lang-menu__trigger { color: var(--chalk); }
.lang-menu__list {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 100;
  margin: 0; padding: 6px; list-style: none;
  background: var(--chalk); color: var(--ink-deep);
  border: 1px solid var(--hairline); border-radius: 4px;
  min-width: 160px;
  box-shadow: 0 6px 18px rgba(15, 33, 56, 0.18);
}
.lang-menu__item {
  display: flex; align-items: baseline; gap: 10px; width: 100%;
  padding: 9px 12px; background: none; border: none; cursor: pointer;
  font-family: var(--font-mono, var(--mono)); font-size: 11px;
  font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-deep); border-radius: 2px; text-align: left;
}
.lang-menu__item:hover { background: var(--paper-warm); }
.lang-menu__item.is-on { color: var(--pitch); }
.lang-menu__name {
  font-family: var(--font-sans, var(--sans)); font-size: 12px;
  font-weight: 400; letter-spacing: 0; text-transform: none;
  color: var(--muted);
}

/* HERO DISPLAY — the big serif statement under the masthead */
.hero-display {
  padding: var(--space-4) 0 var(--space-3);
  max-width: 960px;
}
.masthead-tagline {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(244, 239, 229, 0.65);
  letter-spacing: 0;
  margin: 0 var(--space-5);
  text-align: center;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 860px) {
  .masthead-tagline { display: none; }
}
.hero-hed {
  font-family: var(--font-serif, var(--serif));
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-3);
  text-wrap: balance;
}
.hero-hed-q {
  display: block;
  font-style: italic;
  font-weight: 400;
  color: rgba(244, 239, 229, 0.55);
}
.hero-hed-a {
  display: block;
  font-weight: 700;
  color: var(--chalk);
}
.hero-dek {
  font-family: var(--font-serif, var(--serif));
  font-size: 20px;
  line-height: 1.45;
  color: rgba(244, 239, 229, 0.75);
  max-width: 40ch;
  margin: 0;
}
.hero-dek__featured {
  display: block;
  font-family: var(--font-mono, var(--mono));
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  margin-top: 8px;
}

/* FORM INPUTS — heavier styling for the paper form-card.
   Targets are scoped to .form-card so the styles don't bleed into other
   contexts (e.g. wizard inputs, which have their own rules in wizard.css). */

.form-card input[type="date"],
.form-card select {
  font-family: var(--font-sans, var(--sans));
  font-size: 16px;
  line-height: 1.3;
  padding: 14px 16px;
  width: 100%;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.form-card input[type="date"]:hover,
.form-card select:hover {
  border-color: var(--pitch);
}
.form-card input[type="date"]:focus,
.form-card select:focus,
.form-card input[type="date"]:focus-visible,
.form-card select:focus-visible {
  border-color: var(--pitch-deep);
  box-shadow: 0 0 0 3px rgba(47, 107, 44, 0.18);
}

/* CITY + TEAM CHIPS — 44px min touch target */
.form-card .chip,
.form-card .team-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  font-family: var(--font-sans, var(--sans));
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
  user-select: none;
}
.form-card .chip:hover,
.form-card .team-btn:hover {
  border-color: var(--pitch);
}
.form-card .chip:active,
.form-card .team-btn:active {
  transform: scale(0.97);
}
.form-card .chip.on,
.form-card .team-btn.on {
  background: var(--pitch-deep);
  border-color: var(--pitch-deep);
  color: var(--chalk);
}
.form-card .chip.on:hover,
.form-card .team-btn.on:hover {
  background: var(--pitch);
  border-color: var(--pitch);
}

/* SUBMIT BUTTON — primary CTA at the bottom of each form panel */
.form-card .submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 24px;
  font-family: var(--font-sans, var(--sans));
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--chalk);
  background: var(--pitch-deep);
  border: 1px solid var(--pitch-deep);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
}
.form-card .submit:hover {
  background: var(--pitch);
  border-color: var(--pitch);
}
.form-card .submit::after {
  content: "→";
  font-family: var(--font-mono, var(--mono));
  display: inline-block;
  transition: transform var(--dur-normal) var(--ease-out);
}
.form-card .submit:hover::after {
  transform: translateX(4px);
}
.form-card .submit:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 2px;
}

/* The "I'm flexible" + similar flex-link buttons inside the form keep
   their existing minimal styling but ensure adequate hit area. */
.form-card .flex-link {
  min-height: 32px;
  padding: 6px 0;
  font-family: var(--font-sans, var(--sans));
  font-size: 13px;
  color: var(--muted);
  background: none;
  border: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--dur-fast) var(--ease-out);
}
.form-card .flex-link:hover { color: var(--ink); }

/* ── MATCH ROW — bumped typography, badge stack on the right ──────────────
   Targets match rows in the results panel whether they appear inside the
   form-card (casual) or in the standalone results sections (diehard).
   The .match-row class is added alongside the existing .match class so JS
   selectors that use .match[data-match-id] / .match.is-saved continue to
   work without change. */
.match.match-row {
  display: grid;
  grid-template-columns: 22px 60px 1fr auto;
  align-items: start;
  gap: var(--space-4, 16px);
  padding: var(--space-4, 16px) 0;
  border-bottom: 1px solid var(--hairline);
  border-top: 0;
}
.match.match-row:last-of-type {
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 28px;
}

/* Day number — big serif numeral */
.match-row .match-day {
  font-family: var(--font-serif, var(--serif));
  font-size: 37px;
  font-weight: 600;
  line-height: 1;
  color: var(--ink, var(--ink-deep));
  letter-spacing: -0.02em;
}

/* Month label below the day number */
.match-row .match-month {
  font-family: var(--font-mono, var(--mono));
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}

/* Fixture line — the "Mexico vs South Africa" text */
.match-row .match-fixture {
  font-family: var(--font-serif, var(--serif));
  font-size: 21px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink, var(--ink-deep));
  margin: 0 0 8px;
}

/* Meta row — date / city / venue / kickoff */
.match-row .match-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--font-mono, var(--mono));
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* Right column — vertical stack of badges */
.match-row .match-badges {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

/* Badge base — override the old inline-block badge with a flex row */
.match-row .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-family: var(--font-mono, var(--mono));
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-pill, 99px);
  background: var(--paper-2, var(--paper-warm));
  color: var(--ink);
  white-space: nowrap;
  margin-top: 0;   /* override the base .badge margin-top: 5px */
  border: none;
}
.match-row .badge-glyph {
  font-size: 12px;
  line-height: 1;
}

/* Stage-specific badge tints — override the shorthand b-* classes within rows */
.match-row .b-group      { background: rgba(122, 116, 104, 0.12); color: var(--ink); border: none; }
.match-row .b-r32        { background: rgba(15, 33, 56, 0.08);    color: var(--kit-navy, #0f2138); }
.match-row .b-r16        { background: rgba(184, 110, 14, 0.12);  color: var(--amber, #b86e0e); }
.match-row .b-qf         { background: rgba(31, 77, 29, 0.10);    color: var(--pitch-deep, #1f4d1d); }
.match-row .b-sf         { background: rgba(200, 16, 46, 0.12);   color: var(--postbox-red, #c8102e); }
.match-row .b-final      { background: var(--pitch-deep, #1f4d1d); color: var(--cream, #f4efe5); }
.match-row .b-tbd        { background: rgba(122, 116, 104, 0.08); color: var(--muted); border: 1px dashed var(--hairline); }
.match-row .badge-saved  { background: var(--pitch-deep, #1f4d1d); color: var(--chalk, #fafaf8); }

/* FEATURED FIELD GUIDE — editorial row inside .hero-band, after .hero-display.
   Signals that the site is a publication with rotating content, not just a
   one-off planner. Swap href/copy in index.html to rotate. */
.featured-guide {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-3) 0 var(--space-3);
  margin-top: var(--space-3);
  border-top: 2px solid rgba(244, 239, 229, 0.25);
}
.featured-guide__header {
  display: flex;
  align-items: baseline;
  gap: var(--space-5);
}
.featured-guide__title {
  font-family: var(--font-serif, var(--serif));
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--chalk);
  margin: 0;
  white-space: nowrap;
}
.featured-guide__subtitle {
  font-family: var(--font-sans, var(--sans));
  font-size: 13px;
  color: rgba(244, 239, 229, 0.5);
  margin: 0;
}
.featured-guide__card {
  display: grid;
  grid-template-columns: minmax(100px, 140px) 1fr;
  gap: var(--space-3);
  align-items: start;
}
.featured-guide__rail {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-top: 6px;
}
.featured-guide__rail-line {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--cream);
}
.featured-guide__eyebrow {
  font-family: var(--font-mono, var(--mono));
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 239, 229, 0.55);
}
.featured-guide__link {
  text-decoration: none;
  color: inherit;
  display: block;
  max-width: 720px;
}
.featured-guide__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono, var(--mono));
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 239, 229, 0.6);
  margin-bottom: var(--space-3);
}
.featured-guide__num {
  color: var(--cream);
}
.featured-guide__sep {
  opacity: 0.5;
}
.featured-guide__hed {
  font-family: var(--font-serif, var(--serif));
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--chalk);
  margin: 0 0 var(--space-3);
  text-wrap: balance;
}
.featured-guide__dek {
  font-family: var(--font-serif, var(--serif));
  font-size: 15px;
  font-style: italic;
  line-height: 1.45;
  color: rgba(244, 239, 229, 0.7);
  max-width: 60ch;
  margin: 0 0 var(--space-4);
}
.featured-guide__cta {
  font-family: var(--font-sans, var(--sans));
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.featured-guide__arrow {
  font-family: var(--font-mono, var(--mono));
  transition: transform var(--dur-normal) var(--ease-out);
}
.featured-guide__link:hover .featured-guide__arrow {
  transform: translateX(4px);
}
.featured-guide__link:hover .featured-guide__hed {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

/* Browse-all affordance — inline expanding list of every field guide.
   Self-contained, no JS needed. Reuses native <details>/<summary>. */
.featured-guide__all {
  margin-top: var(--space-4);
  border-top: 1px solid rgba(244, 239, 229, 0.2);
  padding-top: var(--space-4);
}
.featured-guide__all > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono, var(--mono));
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 239, 229, 0.6);
  transition: color var(--dur-fast) var(--ease-out);
}
.featured-guide__all > summary::-webkit-details-marker { display: none; }
.featured-guide__all > summary:hover { color: var(--chalk); }
.featured-guide__all-arrow {
  display: inline-block;
  font-family: var(--font-mono, var(--mono));
  transition: transform var(--dur-normal) var(--ease-out);
}
.featured-guide__all[open] > summary > .featured-guide__all-arrow {
  transform: rotate(180deg);
}
.featured-guide__all-list {
  list-style: none;
  padding: var(--space-3) 0 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.featured-guide__all-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.featured-guide__all-list a {
  font-family: var(--font-serif, var(--serif));
  font-size: 18px;
  font-weight: 500;
  color: var(--chalk);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-fast) var(--ease-out);
}
.featured-guide__all-list a:hover {
  border-bottom-color: var(--chalk);
}
.featured-guide__all-meta {
  font-family: var(--font-mono, var(--mono));
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 239, 229, 0.45);
}

/* On narrow viewports the rail stacks above the content */
@media (max-width: 720px) {
  .featured-guide__card {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .featured-guide__header {
    flex-direction: column;
    gap: var(--space-2);
  }
}

/* ── CITY GUIDE LINK IN MATCH ROWS ──────────────────────────────────────── */
.match-row .match-guide-link {
  font-family: var(--font-mono, var(--mono));
  font-size: var(--fs-50);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pitch-deep);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: opacity var(--dur-fast) var(--ease-out);
}
.match-row .match-guide-link:hover { opacity: 0.7; }
.match-row .match-guide-link::after { content: " →"; opacity: 0.7; }
