/* pixel design tokens + styles */
:root {
  --primary: #1769E8;
  --primary-ink: #0B3F99;
  --accent: #0EA5A8;
  --accent-soft: rgba(14, 165, 168, 0.12);
  --background: #F4F8FF;
  --surface: #FFFFFF;
  --surface-2: #E8F1FF;
  --surface-3: #DCE9FF;
  --text: #13213A;
  --muted: #52647C;
  --border: #C9D9F2;
  --border-strong: #A8C0E6;
  --success: #0F8A5F;
  --warn: #B45309;
  --danger: #B42318;
  --shadow-card: 0 10px 30px rgba(19, 33, 58, 0.08);
  --shadow-float: 0 18px 50px rgba(23, 105, 232, 0.12);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --header-h: 74px;
  --sticky-cta-h: 68px;
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Sans", ui-monospace, SFMono-Regular, Menlo, monospace;
  --max: 1180px;
  --gutter: clamp(16px, 3vw, 28px);
  --focus: 0 0 0 3px rgba(23, 105, 232, 0.35);
  --grid-line: rgba(23, 105, 232, 0.08);
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(232, 241, 255, 0.9), transparent 220px),
    repeating-linear-gradient(0deg, transparent, transparent 31px, var(--grid-line) 32px),
    repeating-linear-gradient(90deg, transparent, transparent 31px, var(--grid-line) 32px),
    var(--background);
  background-attachment: fixed;
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--sticky-cta-h) + env(safe-area-inset-bottom, 0px));
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-ink); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--primary); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--primary); color: #fff;
  padding: 10px 14px; z-index: 1000;
}
.skip-link:focus { left: 12px; top: 12px; }

.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }

/* Header / MENU_050 centered */
.site-header {
  position: sticky; top: 0; z-index: 300;
  background: rgba(244, 248, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
body.nav-open .site-header {
  z-index: 320;
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 8px 24px rgba(19, 33, 58, 0.06);
  background: rgba(255, 255, 255, 0.96);
}
.header-inner {
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text); white-space: nowrap;
}
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(145deg, var(--primary), var(--accent));
  color: #fff; display: grid; place-items: center;
  font-weight: 700; letter-spacing: -0.04em; font-size: 15px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
}
.brand-name { font-weight: 700; font-size: 1.05rem; letter-spacing: -0.03em; }
.brand-tag { display: block; font-size: 11px; color: var(--muted); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }

.main-nav { display: none; justify-content: center; }
.main-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 4px 6px; justify-content: center;
}
.main-nav a {
  display: inline-flex; align-items: center; min-height: 40px;
  padding: 0 12px; border-radius: 999px; text-decoration: none;
  color: var(--text); font-weight: 700; font-size: 0.92rem; white-space: nowrap;
}
.main-nav a:hover, .main-nav a[aria-current="page"] {
  background: var(--surface-2); color: var(--primary-ink);
}
.header-right { display: flex; align-items: center; gap: 10px; }
.verify-chip {
  display: none; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; color: var(--success);
  background: rgba(15, 138, 95, 0.1); border: 1px solid rgba(15, 138, 95, 0.25);
  border-radius: 999px; padding: 6px 10px; white-space: nowrap;
}
.header-cta, .btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 18px; border-radius: 999px;
  font-weight: 700; font-size: 0.92rem; letter-spacing: 0.01em;
  text-decoration: none; border: 1px solid transparent; white-space: nowrap; cursor: pointer;
}
.btn-primary, .header-cta {
  background: var(--primary); color: #fff !important;
  box-shadow: 0 10px 22px rgba(23, 105, 232, 0.25);
}
.btn-primary:hover, .header-cta:hover { background: var(--primary-ink); }
.btn-secondary, .header-cta-ghost {
  background: var(--surface); color: var(--text) !important;
  border-color: var(--border-strong);
}
.btn-secondary:hover, .header-cta-ghost:hover { background: var(--surface-2); }
.btn-accent {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff !important;
}
.header-cta-ghost { display: none; }

.hamburger {
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--surface);
  display: inline-grid; place-items: center; gap: 5px; padding: 0;
  position: relative; z-index: 330; cursor: pointer;
}
.hamburger span {
  display: block; width: 18px; height: 2px; background: var(--text);
  border-radius: 2px; transition: transform .2s ease, opacity .2s ease;
}
body.nav-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .hamburger span:nth-child(2) { opacity: 0; }
body.nav-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(19, 33, 58, 0.35);
  opacity: 0; pointer-events: none; transition: opacity .2s ease; z-index: 260;
}
body.nav-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
.mobile-drawer {
  position: fixed; top: 0; right: 0; width: min(88vw, 360px); height: 100dvh;
  background: var(--surface); z-index: 270; transform: translateX(104%);
  transition: transform .24s ease; border-left: 1px solid var(--border);
  padding: 88px 20px 28px; overflow: auto;
}
body.nav-open .mobile-drawer { transform: translateX(0); }
.mobile-drawer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mobile-drawer a {
  display: flex; align-items: center; min-height: 48px; padding: 0 14px;
  border-radius: 12px; text-decoration: none; color: var(--text); font-weight: 700;
  background: var(--surface-2);
}
.drawer-meta { margin-top: 18px; color: var(--muted); font-size: 0.9rem; }

@media (min-width: 980px) {
  .main-nav { display: flex; }
  .hamburger { display: none; }
  .verify-chip { display: inline-flex; }
  .header-cta-ghost { display: inline-flex; }
}

/* Game switcher */
.game-switcher {
  display: flex; gap: 8px; overflow-x: auto; padding: 10px 0 0;
  scrollbar-width: none;
}
.game-switcher::-webkit-scrollbar { display: none; }
.game-switcher a, .filter-chip {
  flex: 0 0 auto; min-height: 34px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--border); background: rgba(255,255,255,.75);
  color: var(--muted); font-size: 12px; font-weight: 700; text-decoration: none;
  display: inline-flex; align-items: center; white-space: nowrap; cursor: pointer;
}
.game-switcher a.is-active, .filter-chip.is-active, .filter-chip[aria-pressed="true"] {
  background: var(--text); color: #fff; border-color: var(--text);
}

/* Sections */
main { overflow-x: clip; }
.section { padding: clamp(42px, 6vw, 72px) 0; position: relative; }
.section[id] { scroll-margin-top: 88px; }
.section-head {
  display: grid; grid-template-columns: auto 1fr; gap: 18px 22px;
  align-items: end; margin-bottom: 28px;
}
.stage-num {
  font-size: clamp(3.4rem, 8vw, 5.6rem); line-height: 0.85; font-weight: 700;
  letter-spacing: -0.08em; color: rgba(23, 105, 232, 0.16);
  font-variant-numeric: tabular-nums; user-select: none;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #0B7C7E; margin: 0 0 8px;
}
.section h2, .page-hero h1, .hero-title {
  margin: 0; letter-spacing: -0.04em; line-height: 1.08; font-weight: 700;
}
.section h2 { font-size: clamp(1.7rem, 3.4vw, 2.35rem); max-width: 18ch; }
.lede, .section-lede { margin: 10px 0 0; color: var(--muted); max-width: 62ch; font-size: 1.02rem; }
.band { background: linear-gradient(180deg, var(--surface-2), transparent); }
.band-white { background: rgba(255,255,255,.72); border-block: 1px solid var(--border); }

/* Floating panels / cards */
.card, .data-card, .step-card, .loose-card, .hub-card, .portrait-card, .note-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 20px;
}
.loose-card {
  background: linear-gradient(135deg, rgba(23,105,232,0.06) 0%, rgba(14,165,168,0.04) 100%);
  border: 2px solid rgba(23, 105, 232, 0.18);
}
.card-grid { display: grid; gap: 16px; }
.stat-tile {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 16px 18px; box-shadow: var(--shadow-card);
}
.stat-tile strong { display: block; font-size: 1.45rem; letter-spacing: -0.04em; }
.stat-tile span { color: var(--muted); font-size: 0.88rem; font-weight: 700; }

/* Hero stacked story */
.hero {
  position: relative; padding: 28px 0 18px; min-height: 520px;
}
.hero-grid {
  display: grid; gap: 18px;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
}
.hero-cover {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  min-height: 460px; background: var(--surface-3);
  border: 1px solid var(--border); box-shadow: var(--shadow-float);
}
.hero-cover img {
  width: 100%; height: 100%; object-fit: cover; min-height: 460px;
}
.hero-cover-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(19,33,58,.82) 0%, rgba(19,33,58,.35) 55%, rgba(19,33,58,.15) 100%),
    linear-gradient(0deg, rgba(19,33,58,.55), transparent 45%);
  color: #fff; display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(20px, 4vw, 36px);
}
.hero-kicker {
  display: inline-flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px;
}
.pill {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px;
  border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.12); color: #fff; white-space: nowrap;
}
.pill-live { background: rgba(14,165,168,.25); border-color: rgba(14,165,168,.55); }
.hero-title { font-size: clamp(2rem, 4.8vw, 3.4rem); max-width: 16ch; color: #fff; }
.hero-lede { color: rgba(255,255,255,.88); max-width: 42ch; margin: 12px 0 0; font-size: 1.02rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.hero-cta .btn-secondary { background: rgba(255,255,255,.95); }
.bracket-rail {
  display: grid; gap: 12px; align-content: start;
}
.bracket-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px; box-shadow: var(--shadow-card); position: relative; overflow: hidden;
}
.bracket-card::before {
  content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px;
  background: linear-gradient(var(--primary), var(--accent)); border-radius: 3px;
}
.bracket-card h3 { margin: 0 0 6px; font-size: 1rem; padding-left: 10px; }
.bracket-card p { margin: 0; color: var(--muted); font-size: 0.92rem; padding-left: 10px; }
.lead-analysis {
  background: linear-gradient(160deg, #13213A, #1B3A6B);
  color: #fff; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-float);
}
.lead-analysis h3 { margin: 0 0 8px; font-size: 1.05rem; }
.lead-analysis p { margin: 0; color: rgba(255,255,255,.84); font-size: 0.94rem; }

/* Stage chapters */
.stage-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.stage-card {
  min-height: 210px; border-radius: var(--radius); padding: 18px;
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-card); display: grid; align-content: space-between;
  position: relative; overflow: hidden;
}
.stage-card .big { font-size: 3.2rem; font-weight: 700; letter-spacing: -0.08em; color: #4A74B8; line-height: 1; }
.stage-card h3 { margin: 8px 0 6px; font-size: 1.15rem; }
.stage-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* Tables / ledgers */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-card); }
table.data-table { width: 100%; border-collapse: collapse; min-width: 640px; }
table.data-table th, table.data-table td {
  text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: top;
}
table.data-table th {
  font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
  background: var(--surface-2);
}
table.data-table tr:last-child td { border-bottom: 0; }
.tag {
  display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px;
  border-radius: 999px; font-size: 11px; font-weight: 700; background: var(--surface-2);
  color: var(--primary-ink); border: 1px solid var(--border); white-space: nowrap;
}
.tag-cyan { background: var(--accent-soft); color: #0B6E70; border-color: rgba(14,165,168,.3); }

/* Portrait panels */
.portrait-grid {
  display: grid; gap: 16px;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
}
.portrait-card { padding: 0; overflow: hidden; }
.portrait-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.portrait-card .body { padding: 16px 18px 18px; }
.portrait-card h3 { margin: 0 0 6px; font-size: 1.12rem; }
.portrait-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.portrait-card.feature { grid-row: span 1; }
.portrait-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }

/* Role gallery */
.role-strip {
  display: grid; gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.role-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow-card); min-width: 0;
}
.role-card .icon-box {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--surface-2); color: var(--primary-ink); font-weight: 700; margin-bottom: 12px;
}
.role-card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.role-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* Split desks */
.split-desk {
  display: grid; gap: 16px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.note-card h3 { margin: 0 0 10px; }
.note-card p, .note-card li { color: var(--muted); }
.note-card ul { margin: 0; padding-left: 1.1rem; }

/* Tactical map notebook */
.map-notebook {
  display: grid; gap: 16px;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}
.map-plate {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); min-height: 320px; background: var(--surface-3);
  box-shadow: var(--shadow-float);
}
.map-plate img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.callout-stack { display: grid; gap: 12px; align-content: start; }
.callout {
  background: var(--surface); border: 1px dashed var(--border-strong); border-radius: var(--radius-sm);
  padding: 14px 16px; box-shadow: var(--shadow-card);
}
.callout strong { display: block; margin-bottom: 4px; }

/* Preview ledger */
.ledger {
  display: grid; gap: 16px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.ledger-col {
  border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface);
  box-shadow: var(--shadow-card); overflow: hidden;
}
.ledger-col header {
  padding: 14px 16px; font-weight: 700; border-bottom: 1px solid var(--border);
  background: var(--surface-2); letter-spacing: -0.02em;
}
.ledger-col.facts header { background: #E7F3EF; color: #0B5E40; }
.ledger-col.scenarios header { background: rgba(23,105,232,.08); color: var(--primary-ink); }
.ledger-col .item { padding: 14px 16px; border-bottom: 1px solid var(--border); }
.ledger-col .item:last-child { border-bottom: 0; }
.ledger-col .item p { margin: 4px 0 0; color: var(--muted); font-size: 0.94rem; }

/* Streaming matrix */
.matrix {
  display: grid; gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.matrix-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px; box-shadow: var(--shadow-card); min-width: 0;
}
.matrix-card h3 { margin: 0 0 8px; font-size: 1rem; }
.matrix-card p { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* Film room timeline */
.timeline { display: grid; gap: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 28px; top: 8px; bottom: 8px; width: 2px; background: var(--border);
}
.timeline-item {
  display: grid; grid-template-columns: 56px 1fr; gap: 14px; padding: 12px 0;
}
.timeline-item .tn {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border); font-weight: 700;
  color: var(--primary); position: relative; z-index: 1; box-shadow: var(--shadow-card);
}
.timeline-item .body {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px 18px; box-shadow: var(--shadow-card); min-width: 0;
}
.timeline-item h3 { margin: 0 0 6px; font-size: 1.05rem; }
.timeline-item p { margin: 0; color: var(--muted); }

/* Filter desk */
.filter-bar { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 16px; padding-bottom: 4px; }
.desk-list { display: grid; gap: 12px; }
.desk-item {
  display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 12px; box-shadow: var(--shadow-card); min-width: 0;
}
.desk-item img {
  width: 96px; height: 72px; object-fit: cover; border-radius: 10px; background: var(--surface-3);
}
.desk-item h3 { margin: 0 0 4px; font-size: 1.02rem; }
.desk-item p { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* Inline images */
.inline-image-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 18px; align-items: center;
  margin: 22px 0;
}
.inline-image-row img, .content-image-card img, .page-banner img {
  width: 100%; border-radius: var(--radius); border: 1px solid var(--border);
  box-shadow: var(--shadow-card); object-fit: cover;
}
.inline-image-row img { aspect-ratio: 16/10; }
.content-image-card { margin: 24px 0; }
.content-image-card figcaption, .inline-image-row figcaption, .page-banner figcaption {
  margin-top: 8px; color: var(--muted); font-size: 0.88rem;
}
.page-banner { margin: 0 0 28px; }
.page-banner img { aspect-ratio: 21/9; max-height: 420px; width: 100%; object-fit: cover; }

/* FAQ */
.faq-grid { display: grid; gap: 10px; }
.faq-grid details, details.faq {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 14px 16px; box-shadow: var(--shadow-card);
}
.faq-grid summary, details.faq summary {
  cursor: pointer; font-weight: 700; list-style: none; color: var(--text);
}
.faq-grid summary::-webkit-details-marker { display: none; }
.faq-grid details p, details.faq p { margin: 10px 0 0; color: var(--muted); }

/* Steps */
.step-grid { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step-card .step-num {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: var(--primary); color: #fff; font-weight: 700; margin-bottom: 12px;
}
.step-card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.step-card p { margin: 0; color: var(--muted); font-size: 0.94rem; }

/* CTA panels */
.cta-panel {
  border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 36px);
  background:
    radial-gradient(circle at 85% 20%, rgba(14,165,168,.22), transparent 30%),
    linear-gradient(135deg, #13213A, #1C4B9A 60%, #0E6E8A);
  color: #fff; box-shadow: var(--shadow-float);
}
.cta-panel h2, .cta-panel h3 { margin: 0 0 10px; color: #fff; max-width: none; }
.cta-panel p { margin: 0; color: rgba(255,255,255,.86); max-width: 58ch; }
.cta-panel .hero-cta { margin-top: 18px; }
.cta-panel .btn-secondary { color: var(--text) !important; }
.disclosure {
  margin-top: 14px; font-size: 0.86rem; color: rgba(255,255,255,.72);
}

/* Page chrome */
.page-hero {
  padding: 34px 0 10px;
}
.page-hero .crumbs {
  display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 0.9rem; margin-bottom: 12px;
}
.page-hero .crumbs a { color: var(--muted); text-decoration: none; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); max-width: 18ch; }
.toc {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px 18px; margin: 18px 0 28px; box-shadow: var(--shadow-card);
}
.toc strong { display: block; margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 1.2rem; color: var(--muted); }
.toc a { text-decoration: none; }

.article-body h2 { margin-top: 2.2rem; font-size: clamp(1.4rem, 2.6vw, 1.85rem); max-width: none; letter-spacing: -0.03em; }
.article-body h3 { margin-top: 1.4rem; font-size: 1.15rem; }
.article-body p { color: var(--text); }
.article-body .muted { color: var(--muted); }
.related-grid { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.related-grid a {
  text-decoration: none; color: inherit; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-card); display: block;
}
.related-grid a strong { display: block; margin-bottom: 6px; }
.related-grid a span { color: var(--muted); font-size: 0.9rem; }

/* Footer */
.site-footer {
  background: #0F1A2E; color: rgba(255,255,255,.84); padding: 56px 0 120px; margin-top: 20px;
}
.footer-grid {
  display: grid; gap: 28px;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
}
.site-footer a { color: rgba(255,255,255,.84); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer h3 {
  margin: 0 0 14px; font-size: 0.85rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-brand .brand-name { color: #fff; }
.footer-note { margin-top: 10px; color: rgba(255,255,255,.62); font-size: 0.92rem; max-width: 36ch; }
.footer-bottom {
  margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: space-between;
  color: rgba(255,255,255,.55); font-size: 0.88rem;
}

/* Mobile sticky CTA */
.mobile-sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 240;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(244,248,255,.94); backdrop-filter: blur(12px);
  border-top: 1px solid var(--border); display: grid;
}
.mobile-sticky-cta a {
  display: flex; align-items: center; justify-content: center; min-height: 48px;
  border-radius: 14px; background: linear-gradient(135deg, var(--primary), #0B8EBA);
  color: #fff !important; font-weight: 700; letter-spacing: .04em; text-decoration: none;
  box-shadow: 0 10px 24px rgba(23,105,232,.28); white-space: nowrap;
}
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .mobile-sticky-cta { display: none; }
}

/* Utilities */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}
.grid-2 { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.min0, .hero-grid > *, .split-desk > *, .ledger > *, .map-notebook > *, .portrait-grid > *, .stage-grid > *, .role-strip > *, .matrix > *, .related-grid > *, .step-grid > *, .desk-item, .inline-image-row > * { min-width: 0; }

/* Verify stubs for QA class coverage */
.data-card, .step-card, .step-num, .loose-card, .band, .faq-grid, .card { }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .portrait-grid, .map-notebook, .split-desk, .ledger, .inline-image-row { grid-template-columns: 1fr; }
  .stage-grid, .role-strip, .matrix, .related-grid, .step-grid, .footer-grid, .grid-4, .grid-3 { grid-template-columns: 1fr 1fr; }
  .desk-item { grid-template-columns: 84px 1fr; }
  .desk-item .desk-action { display: none; }
  .section-head { grid-template-columns: 1fr; gap: 8px; }
  .stage-num { font-size: 3rem; }
}
@media (max-width: 899px) {
  .hero { min-height: 480px !important; max-height: 720px !important; padding: 18px 0 8px !important; overflow: hidden; }
  .hero-grid { max-height: 720px; }
  .hero-cover { min-height: 420px !important; max-height: 640px !important; }
  .hero-cover img { min-height: 420px !important; max-height: 640px !important; height: 100% !important; object-fit: cover !important; }
  .hero-title { font-size: 32px !important; line-height: 1.1 !important; }
  .hero-lede { font-size: 16px !important; line-height: 1.5 !important; }
  .hero-trust { display: none !important; }
  .lead-analysis { display: none !important; }
  .bracket-rail { display: none !important; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) !important; }
}
@media (max-width: 640px) {
  .stage-grid, .role-strip, .matrix, .related-grid, .step-grid, .footer-grid, .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .header-cta { display: none; }
  body { font-size: 17px; }
  .page-banner img { aspect-ratio: 16/10; max-height: 280px; }
}
@media (max-width: 430px) {
  .hero-cover, .hero-cover img { min-height: 460px !important; max-height: 640px !important; }
  .btn, .header-cta, .mobile-sticky-cta a { white-space: nowrap; }
}

/* Prevent media expanding tracks */
.hero-grid, .split-desk, .map-notebook, .ledger, .portrait-grid, .inline-image-row {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
}
.portrait-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); }
.ledger, .split-desk, .inline-image-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.map-notebook { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
@media (max-width: 980px) {
  .hero-grid, .portrait-grid, .map-notebook, .split-desk, .ledger, .inline-image-row { grid-template-columns: minmax(0, 1fr); }
}
