/* Barefoot Betters Classics: campaign site styles.
   Follows the studio design spec v0.1 (bb-studio-www docs/design-spec.md,
   adopted 2026-12-01): plum-ink ground, ecru for actions and rules, Playfair
   Display headings, Inter for UI and body, a 3px apple-green focus ring on
   everything focusable. Tokens below are the spec's; the layout is this
   site's own (a campaign page, not the studio site's product cards). */

:root {
  /* color (spec section 2) */
  --ground: #1a0f1c;
  --surface: #261a2b;
  --raised: #2f2136;
  --band: #221628;
  --border: #46304a;
  --border-strong: #6c5270;
  --text: #efe6ee;
  --muted: #b3a2b5;
  --heading: #ffffff;
  --ecru: #d7c481;
  --ecru-hover: #ead9a0;
  --ecru-light: #f3e7b8;
  --on-ecru: #1a0f1c;
  --focus: #a9bf1c;
  --status: #d7e98a;
  --error: #f4b4a8;
  --cta-panel: linear-gradient(135deg, #3f2542, #8a4a86);
  --accent-rgb: 215, 196, 129;
  --deep-rgb: 12, 6, 14;

  /* type (spec section 3) */
  --font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-ui: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* space and shape (spec section 4) */
  --gutter: 1.25rem;
  --max-w: 1100px;
  --read-w: 46rem;
  --band-y: 3.25rem;
  --radius-card: 14px;
  --radius-panel: 18px;
  --radius-tile: 16px;
  --shadow: 0 12px 30px rgba(var(--deep-rgb), 0.55);

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--ecru); text-underline-offset: 3px; }
a:hover { color: var(--ecru-hover); }
strong { color: var(--heading); font-weight: 600; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; color: var(--heading); line-height: 1.15; }
::selection { background: var(--ecru); color: var(--on-ecru); }

/* Focus (spec section 6): one ring, never removed. */
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.read { max-width: var(--read-w); }

.skip {
  position: absolute; left: var(--gutter); top: -4rem; z-index: 50;
  background: var(--ecru); color: var(--on-ecru); font-weight: 600;
  padding: 0.6rem 1rem; border-radius: 999px; text-decoration: none;
}
.skip:focus { top: 0.75rem; }

/* ---- header: wordmark plus one action ---- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(26, 15, 28, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
}
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.75rem; }
.brand { display: block; border-radius: 6px; }
.brand img { height: 2.3rem; width: auto; }
.top .btn { white-space: nowrap; flex: none; }
.top-nav { display: flex; align-items: center; gap: 1.25rem; }
.nav-link { font-size: 0.9rem; font-weight: 600; color: var(--text); text-decoration: none; border-radius: 4px; }
.nav-link:hover { color: var(--ecru-hover); text-decoration: underline; }
.wide-only { display: none; }

/* ---- Games menu: a <details> dropdown in the header (menu.js closes it) ---- */
.menu > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.1rem; user-select: none; }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary::after {
  content: ""; width: 0.4rem; height: 0.4rem; margin-top: -0.2rem;
  border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg);
  transition: transform 0.15s;
}
.menu[open] > summary { color: var(--ecru-hover); }
.menu[open] > summary::after { transform: rotate(-135deg); margin-top: 0.2rem; }
/* Phones: the panel spans the header, anchored to the sticky bar. */
.menu-panel {
  position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + 0.25rem); z-index: 30;
  padding: 0.5rem; background: var(--surface);
  border: 1px solid var(--border-strong); border-radius: var(--radius-card); box-shadow: var(--shadow);
}
.menu-group { margin: 0; padding: 0.5rem 0.75rem 0.35rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ecru); }
.menu-panel ul { list-style: none; margin: 0; padding: 0; }
.menu-panel li { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-radius: 10px; }
.menu-panel a { color: var(--text); text-decoration: none; border-radius: 8px; }
.menu-game { flex: 1; padding: 0.6rem 0.75rem; font-family: var(--font-heading); font-weight: 700; font-size: 1.02rem; color: var(--heading); }
.menu-sub { padding: 0.6rem 0.75rem; font-size: 0.82rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.menu-panel a:hover, .menu-panel a:focus-visible { background: var(--raised); color: var(--ecru-hover); }
.menu-panel a[aria-current] { color: var(--ecru); }
.menu-all { display: block; margin-top: 0.35rem; padding: 0.6rem 0.75rem; border-top: 1px solid var(--border); border-radius: 0 0 8px 8px; font-size: 0.85rem; font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .menu > summary::after { transition: none; } }

/* ---- labels ---- */
.kicker {
  margin: 0 0 1rem;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ecru);
}
.fine { margin: 0.75rem 0 0; font-size: 0.9rem; color: var(--muted); line-height: 1.5; }

/* ---- buttons (spec section 5) ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 2.9rem;
  padding: 0.75rem 1.7rem;
  border: 1.5px solid var(--ecru);
  border-radius: 999px;
  background: var(--ecru);
  color: var(--on-ecru);
  font: 600 0.84rem/1.2 var(--font-ui);
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; text-align: center;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s, color 0.2s;
}
.btn:hover, .btn:focus-visible {
  background: var(--ecru-hover); border-color: var(--ecru-hover); color: var(--on-ecru);
  transform: translateY(-1px);
  box-shadow: 0 0 22px rgba(var(--accent-rgb), 0.35);
}
.btn-lg { min-height: 3.4rem; padding: 0.95rem 2rem; font-size: 0.92rem; }
.btn-block { display: flex; width: 100%; }
.btn-ghost { background: transparent; color: var(--ecru); }
.btn-ghost:hover, .btn-ghost:focus-visible {
  background: rgba(var(--accent-rgb), 0.12); border-color: var(--ecru); color: var(--ecru-light);
  box-shadow: none;
}
.btn-sm { min-height: 2.5rem; padding: 0.5rem 1.1rem; font-size: 0.76rem; }
.btn:disabled { opacity: 0.6; cursor: default; transform: none; box-shadow: none; }

/* ---- hero ---- */
.hero { padding: 2.25rem 0 var(--band-y); border-bottom: 1px solid var(--border); }
.hero-grid { display: grid; gap: 2.25rem; align-items: center; }
.hero h1 { margin: 0 0 1rem; font-size: clamp(2.1rem, 1.4rem + 3.6vw, 3.6rem); line-height: 1.08; letter-spacing: -0.01em; }
.lede { margin: 0 0 1.5rem; font-size: clamp(1.1rem, 1.02rem + 0.35vw, 1.25rem); line-height: 1.55; max-width: 36rem; }
.hero .btn-lg { width: 100%; }
.hero .sub { margin: 0 0 0.4rem; font-size: 1.4rem; }
.hero .sub + p { margin: 0 0 1.25rem; max-width: 36rem; }
.hero-shot { margin: 0; }
.hero-shot img {
  width: 100%; height: auto;
  border-radius: var(--radius-tile);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
}
.hero-shot figcaption { margin-top: 0.6rem; font-size: 0.9rem; color: var(--muted); }

/* ---- supporter count ---- */
.progress { margin: 0 0 1.5rem; max-width: 36rem; }
.progress-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.5rem; color: var(--muted); font-size: 0.95rem; }
.progress-row b { font-family: var(--font-heading); font-size: 1.5rem; color: var(--heading); }
.progress-row .goal b { font-size: 1.1rem; }
.bar { height: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.bar > span { display: block; height: 100%; width: 2%; background: var(--ecru); border-radius: 999px; }
.seed-note { margin: 0.55rem 0 0; font-size: 0.8rem; color: var(--muted); line-height: 1.45; }

/* ---- bands and section heads ---- */
.band { padding: var(--band-y) 0; }
.band-alt { background: var(--band); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.band h2, .panel-cta h2 { margin: 0 0 0.75rem; font-size: clamp(1.75rem, 1.35rem + 1.8vw, 2.5rem); }
/* Heading mark (spec section 5): a short ecru rule above each band title. */
.band h2::before { content: ""; display: block; width: 2.4rem; height: 3px; background: var(--ecru); margin-bottom: 1rem; }
.band p { margin: 0 0 1rem; max-width: var(--read-w); }
.intro { color: var(--text); }
.muted { color: var(--muted); }

/* ---- cover tiles ---- */
.group { margin: 2.25rem 0 1rem; font-family: var(--font-ui); font-size: 0.84rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ecru); }
.covers { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cover { margin: 0; }
/* A title with its own page links the whole tile (stretched link). */
.cover:has(.cover-link) { position: relative; }
.cover-link { color: var(--heading); text-decoration: underline; text-decoration-color: var(--ecru); text-underline-offset: 4px; }
.cover-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-tile); }
.cover-link:hover { color: var(--ecru-hover); }
.cover:has(.cover-link:hover) .cover-art { border-color: var(--ecru); }
.cover-art {
  aspect-ratio: 4 / 5;
  display: flex; align-items: center; justify-content: center;
  padding: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-tile);
  overflow: hidden;
}
.cover-art img { width: 100%; height: 100%; object-fit: contain; border-radius: 6px; }
.cover-title { margin: 0.7rem 0 0.15rem; font-family: var(--font-heading); font-weight: 700; font-size: 1.08rem; line-height: 1.25; color: var(--heading); }
.cover-meta { margin: 0; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.cover-status {
  display: inline-block; margin: 0.45rem 0 0;
  padding: 0.15rem 0.55rem; border-radius: 999px;
  border: 1px solid var(--border-strong);
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap;
}
.status-key { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem; font-size: 0.95rem; color: var(--muted); }
.status-key .cover-status { margin: 0; }
.status-key > span:last-child { flex: 1 1 18rem; }
.disclaimer { margin: 2rem 0 0; font-size: 0.85rem; color: var(--muted); line-height: 1.5; max-width: var(--read-w); }
.after-covers { margin-top: 2rem; }

/* ---- panels ---- */
.panels { display: grid; gap: 1.25rem; }
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--ecru);
  border-radius: var(--radius-card);
  padding: 1.35rem 1.4rem;
}
.panel h3 { margin: 0 0 0.5rem; font-size: 1.3rem; }
.panel p { margin: 0; }
.panel p + p { margin-top: 0.75rem; }
.panel ul { margin: 0; padding-left: 1.15rem; }
.panel li + li { margin-top: 0.5rem; }

/* ---- grouped content ---- */
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.band h3.subhead { margin: 2.25rem 0 0.6rem; font-size: 1.35rem; }
.plans { list-style: none; margin: 1rem 0 0.75rem; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.plans .panel { margin: 0; }
.status-tables { display: grid; gap: 0 2.5rem; }
.status-tables h3.subhead { margin-top: 1.25rem; }
.founder { margin-top: 1.5rem; }
.founder h3 { margin-bottom: 0.1rem; }
.panel .founder-role { margin: 0 0 0.75rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ecru); }
ul.facts { margin: 0.5rem 0 0; padding-left: 1.15rem; max-width: var(--read-w); }
ul.facts li + li { margin-top: 0.4rem; }

/* ---- steps ---- */
ol.steps { counter-reset: step; list-style: none; margin: 1rem 0 0; padding: 0; max-width: var(--read-w); }
ol.steps li { position: relative; counter-increment: step; padding: 0.2rem 0 1.25rem 3.25rem; }
ol.steps li:last-child { padding-bottom: 0; }
ol.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--ecru); color: var(--on-ecru);
  font: 700 1.05rem/1 var(--font-heading);
}

/* ---- milestones ---- */
table.mi { width: 100%; max-width: var(--read-w); border-collapse: collapse; margin: 0.5rem 0 1rem; }
table.mi th, table.mi td { text-align: left; padding: 0.75rem 0.5rem 0.75rem 0; border-bottom: 1px solid var(--border); vertical-align: top; }
table.mi th { font-family: var(--font-heading); font-weight: 700; color: var(--heading); white-space: nowrap; width: 9.5rem; }
table.mi tr:first-child th, table.mi tr:first-child td { border-top: 1px solid var(--border); }
table.mi-wrap th { white-space: normal; width: 40%; }
.note { font-size: 0.9rem; color: var(--muted); }

/* ---- closing call to action (spec CTA panel) ---- */
.panel-cta {
  background: var(--cta-panel);
  border-radius: var(--radius-panel);
  padding: 2rem 1.4rem;
  box-shadow: var(--shadow);
}
.panel-cta h2 { color: var(--heading); }
.panel-cta p { color: var(--text); max-width: 40rem; }
.panel-cta .fine { color: var(--text); margin-top: 1.1rem; }
/* why: the panel's light end is too close to apple green for the ring to read
   (2.98:1), so the ring gets a ground-colored frame inside the panel. */
.panel-cta :focus-visible { box-shadow: 0 0 0 9px var(--ground); }

/* ---- share row ---- */
.share { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }

/* ---- thank-you pages ---- */
.notice {
  margin: 0 0 1.5rem; max-width: 36rem;
  padding: 0.9rem 1.1rem;
  border: 1.5px solid var(--ecru);
  border-radius: var(--radius-card);
  background: rgba(var(--accent-rgb), 0.08);
}
.notice strong { color: var(--ecru-light); }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.4rem;
}
.tally { margin: 0 0 0.75rem; font-family: var(--font-heading); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--heading); }
.tally small { display: block; margin-top: 0.4rem; font-family: var(--font-ui); font-weight: 400; font-size: 1rem; color: var(--muted); }
.hub { display: grid; gap: 1.25rem; }
.hub .panel { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.vids { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 1rem; }
.vid { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); overflow: hidden; }
.vid .thumb { position: relative; aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #3f2542, #3a3262); }
.vid .thumb::after { content: ""; width: 0; height: 0; margin-left: 5px; border-left: 20px solid rgba(239, 230, 238, 0.85); border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.pill {
  position: absolute; top: 0.6rem; right: 0.6rem;
  padding: 0.2rem 0.6rem; border-radius: 999px;
  background: rgba(var(--deep-rgb), 0.7); border: 1px solid rgba(215, 233, 138, 0.4);
  color: var(--status); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
}
.vid figcaption { padding: 0.8rem 1rem; font-weight: 600; color: var(--heading); }

.news { max-width: 40rem; }
.news form { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }
.news input[type=email] {
  flex: 1 1 15rem; min-width: 0; min-height: 2.9rem;
  padding: 0.7rem 1.1rem;
  background: var(--ground); color: var(--text);
  border: 1.5px solid var(--border-strong); border-radius: 999px;
  font: inherit;
}
.news input[type=email]::placeholder { color: var(--muted); opacity: 1; }
.news .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.news .msg { margin: 0.75rem 0 0; font-size: 0.95rem; min-height: 1.3em; }
.news .msg.ok { color: var(--status); font-weight: 600; }
.news .msg.err { color: var(--error); }

/* ---- game pages (/<series>/<game>/) ---- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.crumbs { padding-top: 1rem; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 0; font-size: 0.85rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin: 0 0.5rem; color: var(--border-strong); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ecru-hover); }
.crumbs [aria-current] { color: var(--text); }
.game-hero { padding-top: 1.25rem; }
.game-hero h1 { margin-bottom: 0.75rem; }
.game-hero .cover-status { margin: 0 0 1.25rem; }
.game-facts { margin: 0 0 1.75rem; padding: 0; display: grid; gap: 0; max-width: 36rem; }
.game-facts > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 0.75rem; padding: 0.55rem 0; border-bottom: 1px solid var(--border); }
.game-facts > div:first-child { border-top: 1px solid var(--border); }
.game-facts dt { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-top: 0.15rem; }
.game-facts dd { margin: 0; }
.game-cover { margin: 0 auto; max-width: 20rem; }
.game-cover img { width: 100%; height: auto; border-radius: var(--radius-tile); border: 1px solid var(--border-strong); box-shadow: var(--shadow); }
.shots { list-style: none; margin: 1.5rem 0 0.5rem; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.shots figure { margin: 0; }
.shots img { width: 100%; height: auto; border-radius: var(--radius-card); border: 1px solid var(--border); }
.shots figcaption { margin-top: 0.4rem; font-size: 0.85rem; color: var(--muted); }
.video { margin: 0; max-width: 52rem; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-tile); overflow: hidden; border: 1px solid var(--border-strong); background: var(--surface); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video figcaption { margin-top: 0.6rem; color: var(--muted); font-size: 0.9rem; }
ol.chapters { list-style: none; margin: 0.5rem 0 0; padding: 0; max-width: var(--read-w); }
ol.chapters li { padding: 0.5rem 0; border-bottom: 1px solid var(--border); }
.notice p { margin: 0; }

/* ---- walkthrough ---- */
.wt { padding-top: 2rem; }
.wt-toc { position: sticky; top: 3.75rem; z-index: 10; margin: 0 calc(-1 * var(--gutter)); padding: 0.6rem var(--gutter); background: rgba(26, 15, 28, 0.94); border-bottom: 1px solid var(--border); backdrop-filter: blur(6px); }
.wt-toc ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.5rem; overflow-x: auto; scrollbar-width: none; }
.wt-toc a { display: inline-block; white-space: nowrap; padding: 0.35rem 0.85rem; border: 1px solid var(--border-strong); border-radius: 999px; font-size: 0.85rem; font-weight: 600; color: var(--text); text-decoration: none; }
.wt-toc a:hover { border-color: var(--ecru); color: var(--ecru-hover); }
.wt-search { margin: 1.5rem 0 0; max-width: 32rem; }
.wt-search label { display: block; margin-bottom: 0.4rem; font-weight: 600; }
.wt-search input {
  width: 100%; min-height: 2.9rem; padding: 0.7rem 1.1rem;
  background: var(--surface); color: var(--text);
  border: 1.5px solid var(--border-strong); border-radius: 999px; font: inherit;
}
.wt-search input::placeholder { color: var(--muted); opacity: 1; }
.wt-search input:disabled { opacity: 0.6; }
.wt-sec { padding: 2.5rem 0 0.5rem; scroll-margin-top: 3rem; }
.wt-sec h2 { margin: 0 0 0.5rem; font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.2rem); }
.wt-sec h2::before { content: ""; display: block; width: 2.4rem; height: 3px; background: var(--ecru); margin-bottom: 1rem; }
.wt-sec > p { max-width: var(--read-w); margin: 0 0 1rem; }
.wt-sec .empty { padding: 1rem 1.2rem; border: 1px dashed var(--border-strong); border-radius: var(--radius-card); color: var(--muted); max-width: var(--read-w); margin: 0; }
.wt-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.wt-list:empty { display: none; }
.wt-grid { grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.wt-item { scroll-margin-top: 3rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 1rem 1.15rem; }
.wt-item.is-target, .wt-item:target { border-color: var(--ecru); box-shadow: 0 0 0 1px var(--ecru); outline: none; }
.wt-item:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.wt-item h3 { margin: 0; font-size: 1.15rem; }
.wt-item > * + * { margin-top: 0.6rem; }
.wt-anchor { color: var(--heading); text-decoration: none; }
.wt-anchor:hover { color: var(--ecru-hover); text-decoration: underline; }
.wt-kicker { margin: 0 0 0.3rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ecru); }
.wt-facts { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0.3rem 0.9rem; font-size: 0.95rem; }
.wt-facts dt { color: var(--muted); }
.wt-facts dd { margin: 0; }
.spoiler { border-top: 1px solid var(--border); padding-top: 0.5rem; }
.spoiler summary { cursor: pointer; font-weight: 600; color: var(--ecru); border-radius: 4px; }
.spoiler summary:hover { color: var(--ecru-hover); }
.spoiler[open] summary { margin-bottom: 0.5rem; }
.spoiler ol, .spoiler ul { margin: 0; padding-left: 1.25rem; }
.watch { display: inline-block; font-size: 0.9rem; font-weight: 600; }

/* ---- footer ---- */
.foot { margin-top: var(--band-y); padding: 2rem 0 2.5rem; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.95rem; }
.foot-in { display: grid; gap: 1rem; grid-template-columns: auto 1fr; align-items: start; }
.foot-mark { width: 2.6rem; height: auto; }
.foot p { margin: 0; }
.foot p + p { margin-top: 0.6rem; }
.foot strong { color: var(--text); }
.foot .fine { font-size: 0.85rem; }

/* ---- wider screens ---- */
@media (min-width: 40rem) {
  :root { --gutter: 1.5rem; }
  .covers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero .btn-lg { width: auto; }
  .panel-cta { padding: 2.75rem 2.5rem; }
  .hub { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand img { height: 2.6rem; }
  .menu { position: relative; }
  .menu-panel { left: auto; right: 0; top: calc(100% + 0.9rem); width: 25rem; }
  .wide-only { display: inline; }
  table.mi-wrap th { width: 13rem; }
}
@media (min-width: 60rem) {
  .hero { padding-top: 3.5rem; }
  .hero-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 3.5rem; }
  .covers { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 1.5rem; }
  .panels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .status-tables { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 72rem) {
  .covers { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .btn:hover, .btn:focus-visible { transform: none; }
}
