/* ============================================================
   Bites Web v0 — Design System
   Tokens from design_handoff_bites_web_v0/reference/bites.css
   + bites-v0.css footer + sidebar layout + responsive
   ============================================================ */

/* ── FONTS ──────────────────────────────────────────────────────
   Single-typeface system — Geist for everything:
   • Geist → logo, hero headline, all headings, body, UI, labels
   Geist Mono and Instrument Serif were both retired so the entire
   product reads in one consistent family. Hierarchy comes from
   size, weight, tracking & uppercasing — not from switching fonts.
   ─────────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&display=swap');

/* ── TOKENS ─────────────────────────────────────────────────── */
:root {
  --paper:        #F6F4EF;
  --paper-2:      #EFECE5;
  --paper-3:      #E8E4DC;
  --surface:      #FFFFFF;
  --surface-2:    #FBFAF7;

  --ink:          #1C1A17;
  --ink-2:        #5A544E;
  --ink-3:        #8C857C;
  --line:         #E8E4DC;
  --line-2:       #DCD7CC;

  --accent:       #FF6B35;
  --accent-hover: #ED5A22;
  --accent-soft:  #FFEFE6;
  --accent-tint:  #FFD9C2;

  --hero-ink:     #0E0D10;
  --hero-ink-2:   #1A1722;

  --r-sm:   8px;
  --r-md:  12px;
  --r-lg:  16px;
  --r-xl:  20px;
  --r-2xl: 24px;
  --r-pill: 999px;

  --shadow-1: 0 1px 2px rgba(28,26,23,.04), 0 0 0 1px rgba(28,26,23,.05);
  --shadow-2: 0 4px 14px rgba(28,26,23,.06), 0 0 0 1px rgba(28,26,23,.05);
  --shadow-3: 0 10px 30px rgba(28,26,23,.08), 0 0 0 1px rgba(28,26,23,.05);
  --shadow-hero: 0 20px 40px -10px rgba(14,13,16,.35), 0 0 0 1px rgba(14,13,16,.06);

  --font-body:    "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  /* Small uppercase labels / meta / counts — same family as body,
     differentiated by size, weight, tracking & uppercasing. */
  --font-label:   var(--font-body);
}

/* ── DARK MODE (class on <html>) ─────────────────────────────── */
html.dark {
  --paper:        #14130F;
  --paper-2:      #1B1A16;
  --paper-3:      #24221D;
  --surface:      #1F1D19;
  --surface-2:    #25221D;

  --ink:          #F4F1EB;
  --ink-2:        #B6AFA3;
  --ink-3:        #7A7268;
  --line:         #2A2620;
  --line-2:       #35302A;

  --accent-soft:  color-mix(in oklch, var(--accent) 18%, #000 82%);
  --accent-tint:  color-mix(in oklch, var(--accent) 35%, #000 65%);

  --shadow-1: 0 1px 2px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.04);
  --shadow-2: 0 4px 14px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.05);
  --shadow-3: 0 10px 30px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.05);
}

/* ── DARK — callout accent text stays orange ─────────────────── */
html.dark .b-callout-title,
html.dark .b-callout-meta { color: var(--accent); }

/* ── BASE ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body, #app-root { height: 100%; margin: 0; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01";
  overflow: hidden;
}

button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── UTILITY ─────────────────────────────────────────────────── */
.hidden { display: none !important; }

/* ── BRAND ───────────────────────────────────────────────────── */
.b-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(155deg,
    color-mix(in oklch, var(--accent) 75%, #fff 25%) 0%,
    var(--accent) 60%,
    color-mix(in oklch, var(--accent) 80%, #000 20%) 100%);
  border-radius: 24%;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.3),
    0 4px 12px color-mix(in oklch, var(--accent) 25%, transparent 75%);
  flex-shrink: 0;
}

.b-wordmark {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
}
.b-wordmark .dot { color: var(--accent); }

/* ── COMMON BUILDING BLOCKS ──────────────────────────────────── */
.b-eyebrow {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}

.b-page-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 32px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
  color: var(--ink);
}

.b-icon-btn {
  width: 36px;
  height: 36px;
  border: 0;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-2);
  border-radius: var(--r-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background .15s, transform .12s;
  flex-shrink: 0;
}
.b-icon-btn:hover  { background: var(--paper-2); }
.b-icon-btn:active { transform: scale(.96); }

/* ── HERO ────────────────────────────────────────────────────── */
.b-hero {
  position: relative;
  border-radius: var(--r-2xl);
  overflow: hidden;
  color: #fff;
  box-shadow: var(--shadow-hero);
  display: flex;
  align-items: flex-end;
}
/* Bottom gradient wash — legibility for the headline */
.b-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(10,9,14,.72) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}
.b-hero-lg { aspect-ratio: 16/7; }

.b-hero-art { position: absolute; inset: 0; }

.b-hero-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.4;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.b-hero-top {
  position: absolute;
  top: 22px; left: 28px; right: 28px;
  display: flex;
  align-items: flex-start;
  z-index: 2;
}

.b-hero-kicker {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}

.b-hero-pill {
  background: rgba(0,0,0,.4);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  color: #fff;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.b-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 0 28px 26px;
}
.b-hero-copy h1 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(28px, 3.5vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── STATS ───────────────────────────────────────────────────── */
.b-stats {
  display: flex;
  align-items: center;
  padding: 14px 4px;
}
.b-stats-left {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--ink-2);
  font-size: 13px;
}
.b-stat { display: inline-flex; gap: 6px; align-items: baseline; }
.b-stat-n { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.b-stats-sep { color: var(--ink-3); }

/* ── SMALL BITES CALLOUT ─────────────────────────────────────── */
.b-callout {
  background: var(--surface);
  border-radius: var(--r-xl);
  border: 1px solid var(--accent-tint);
  overflow: hidden;
}
.b-callout-head {
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
}
.b-callout-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-hover);
  font-weight: 600;
  font-size: 14px;
}
.b-callout-meta { font-size: 13px; color: var(--accent-hover); font-weight: 500; }
.b-callout-body { padding: 20px 26px 24px; }

.b-bites-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.b-bites-list li {
  position: relative;
  padding-left: 24px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
}
.b-bites-list li::before {
  content: "";
  position: absolute;
  left: 4px; top: 9px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* ── SUMMARY ─────────────────────────────────────────────────── */
.b-summary {
  background: var(--surface);
  border-radius: var(--r-2xl);
  padding: 32px 36px;
  box-shadow: var(--shadow-1);
  position: relative;
}
.b-summary-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.b-summary-head h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.02em;
  margin: 0;
}
.b-summary-meta {
  font-family: var(--font-label);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.b-summary-body p {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 1.1em;
}
.b-summary-body p:last-child { margin-bottom: 0; }

/* ── CITATION SPANS ──────────────────────────────────────────── */
.cite-span {
  cursor: pointer;
  border-radius: 2px;
  transition: background .12s;
}
.cite-span:hover,
.cite-span.active {
  background: var(--accent-soft);
}
.cite-badge {
  display: inline;
  font-size: 10px;
  font-family: var(--font-label);
  color: var(--accent);
  vertical-align: super;
  line-height: 1;
  margin-left: 1px;
  padding: 1px 3px;
  border-radius: 4px;
  border: 1px solid var(--accent-tint);
  background: var(--accent-soft);
  cursor: pointer;
  transition: background .12s, color .12s;
  white-space: nowrap;
}
.cite-badge.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ── CITATION POPOVER ────────────────────────────────────────── */
.cite-popover {
  display: none;
  position: absolute;
  z-index: 200;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-3);
  padding: 14px 16px 16px;
  width: min(380px, calc(100% - 48px));
  animation: citePopIn .15s ease;
}
@keyframes citePopIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cite-popover-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.cite-popover-label {
  font-family: var(--font-label);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-3);
}
.cite-popover-close {
  background: none;
  border: none;
  padding: 3px 6px;
  cursor: pointer;
  color: var(--ink-3);
  font-size: 13px;
  line-height: 1;
  border-radius: var(--r-sm);
  transition: background .1s, color .1s;
}
.cite-popover-close:hover { background: var(--paper-2); color: var(--ink); }
.cite-popover-items {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cite-popover-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  background: var(--paper);
  border-radius: var(--r-md);
  text-decoration: none;
  color: inherit;
  transition: background .12s;
  border: 1px solid var(--line);
}
.cite-popover-item:hover { background: var(--paper-2); }
.cite-popover-num {
  font-family: var(--font-label);
  font-size: 11px;
  color: var(--accent);
  font-weight: 500;
  flex-shrink: 0;
  min-width: 18px;
  margin-top: 2px;
}
.cite-popover-text { flex: 1; min-width: 0; }
.cite-popover-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 3px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.cite-popover-pub {
  font-size: 11px;
  font-family: var(--font-label);
  color: var(--ink-3);
}

.b-readmore {
  background: none;
  border: 0;
  color: var(--accent);
  font-weight: 500;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 8px 0;
  margin-top: 4px;
}
.b-readmore:hover { color: var(--accent-hover); }

/* ── SOURCES ─────────────────────────────────────────────────── */
.b-sources {
  background: var(--surface);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}

/* Toggle button — full-width clickable header */
.b-sources-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 36px;
  width: 100%;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--ink);
  text-align: left;
  font-family: inherit;
  transition: background .15s;
}
.b-sources-head:hover { background: var(--paper-2); }

.b-sources-head h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 22px;
  margin: 0;
  letter-spacing: -0.02em;
}
.b-sources-count {
  font-family: var(--font-label);
  font-size: 13px;
  color: var(--ink-3);
  margin-left: 6px;
}

/* Right side: meta label + chevron */
.b-sources-toggle-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.b-sources-meta {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.b-sources-chevron {
  color: var(--ink-3);
  flex-shrink: 0;
  transition: transform .25s ease;
}
.b-sources-head[aria-expanded="true"] .b-sources-chevron {
  transform: rotate(180deg);
}

/* Collapsible body — grid row trick (0fr → 1fr) for smooth height */
.b-sources-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}
.b-sources-body.open {
  grid-template-rows: 1fr;
}
.b-sources-body-inner {
  overflow: hidden;
  padding: 0 36px 12px;
}

.b-source-row {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  transition: padding-left .15s, background .15s, border-radius .15s;
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
}
.b-source-row:hover {
  background: var(--paper-2);
  margin: 0 -12px;
  padding-left: 12px;
  padding-right: 12px;
  border-radius: var(--r-sm);
  border-top-color: transparent;
}
.b-source-row:hover + .b-source-row { border-top-color: transparent; }
.b-source-num {
  font-family: var(--font-label);
  font-size: 11px;
  color: var(--ink-3);
}
.b-source-text { min-width: 0; }
.b-source-title { font-size: 15px; font-weight: 500; }
.b-source-pub   { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.b-source-row > svg { color: var(--ink-3); flex-shrink: 0; }

/* ── SIDEBAR LAYOUT ──────────────────────────────────────────── */
.b-app {
  display: grid;
  height: 100%;
  min-height: 0;
}
.b-layout-sidebar {
  grid-template-columns: 280px 1fr;
}

.b-rail {
  background: var(--paper);
  padding: 24px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow-y: auto;
  border-right: 1px solid var(--line);
  min-height: 0;
}
.b-rail-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 4px 4px;
}
.b-rail-sep {
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 0 12px 4px;
}
.b-rail-archive { display: flex; flex-direction: column; gap: 2px; }

.b-rail-day {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: var(--ink-2);
  transition: background .15s;
  width: 100%;
}
.b-rail-day:hover { background: var(--paper-2); }

.b-rail-day-label {
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.b-rail-day-head {
  font-size: 13px;
  line-height: 1.35;
  color: var(--ink);
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.b-rail-day.active {
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.b-rail-day.active .b-rail-day-label { color: var(--accent); }

.b-rail-day.empty .b-rail-day-head {
  color: var(--ink-3);
  font-style: italic;
}

.b-rail-foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 8px;
}

/* ── MAIN AREA ───────────────────────────────────────────────── */
.b-main {
  overflow-y: auto;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.b-main-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 64px 20px;
  position: sticky;
  top: 0;
  background: color-mix(in oklch, var(--paper) 90%, transparent 10%);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  z-index: 5;
  flex-shrink: 0;
}

.b-reading {
  max-width: 820px;
  margin: 0 auto;
  width: 100%;
  padding: 12px 64px 80px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
}

/* ── MOBILE HEADER (hidden on desktop) ───────────────────────── */
.b-mobile-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
  flex-shrink: 0;
}
.b-mobile-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.b-mobile-nav-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.b-mobile-nav-btn {
  width: 32px;
  height: 32px;
  border: 0;
  background: var(--paper-2);
  border-radius: var(--r-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
  transition: background .15s, color .15s;
  cursor: pointer;
  flex-shrink: 0;
}
.b-mobile-nav-btn:hover:not(:disabled) { background: var(--paper-3); color: var(--ink); }
.b-mobile-nav-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.b-mobile-date-label {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  min-width: 90px;
  text-align: center;
  white-space: nowrap;
}

/* ── STATE VIEWS (loading / error / empty) ───────────────────── */
.b-state-view {
  padding: 80px 24px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.b-loader-ring {
  width: 36px;
  height: 36px;
  border: 2.5px solid var(--line-2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: b-spin 0.75s linear infinite;
  flex-shrink: 0;
}
@keyframes b-spin { to { transform: rotate(360deg); } }

.b-state-icon  { color: var(--ink-3); }
.b-state-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
  margin: 4px 0 0;
  letter-spacing: -0.02em;
}
.b-state-body {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.6;
  max-width: 340px;
  margin: 0;
}
.b-retry-btn {
  margin-top: 8px;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  transition: background .15s;
}
.b-retry-btn:hover { background: var(--accent-hover); }

/* ── SITE FOOTER (from bites-v0.css) ─────────────────────────── */
.b-footer {
  padding: 56px 64px 40px;
  border-top: 1px solid var(--line);
  background: var(--paper);
  margin-top: 32px;
  flex-shrink: 0;
}

.b-footer-inner {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "brand links"
    "copy  copy";
  align-items: center;
  gap: 20px 32px;
}
.b-footer-l {
  grid-area: brand;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.b-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.b-footer-tagline {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.5;
}
.b-footer-links {
  grid-area: links;
  display: flex;
  gap: 24px;
  align-items: center;
}
.b-footer-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  transition: color .15s;
}
.b-footer-links a:hover { color: var(--accent); }
.b-footer-copy {
  grid-area: copy;
  padding-top: 18px;
  margin-top: 4px;
  border-top: 1px solid var(--line);
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  /* Sidebar collapses */
  .b-layout-sidebar { grid-template-columns: 1fr; }
  .b-rail            { display: none; }

  /* Mobile header appears */
  .b-mobile-header { display: flex; }

  /* Main head hidden on mobile (replaced by mobile header) */
  .b-main-head { display: none; }

  /* Reading column tighter padding */
  .b-reading { padding: 16px 20px 56px; }

  /* Hero on mobile: headline hidden, art-only — kicker stays top-left */
  .b-hero-copy   { display: none; }
  .b-hero        { align-items: flex-start; }
  .b-hero-lg     { aspect-ratio: 16/6; }
  .b-hero-kicker { font-size: 13px; letter-spacing: 0.06em; }

  /* Summary & sources tighter */
  .b-summary  { padding: 24px 22px; }
  .b-sources-head      { padding: 20px 22px; }
  .b-sources-body-inner { padding: 0 22px 10px; }
  .b-callout-body { padding: 16px 18px 20px; }
}

@media (max-width: 700px) {
  /* Footer stacks */
  .b-footer { padding: 40px 20px 32px; }
  .b-footer-inner {
    grid-template-columns: 1fr;
    grid-template-areas: "brand" "links" "copy";
    gap: 16px;
  }
  .b-footer-links { flex-wrap: wrap; gap: 16px; }
}

