/* ═══════════════════════════════════════════════════════════════
   TBOTE PROJECT — Editorial Investigative Design
   Aesthetic: ProPublica meets The Intercept
   High-contrast documentary gravitas, precision typography
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=DM+Mono:wght@400;500&display=swap');

:root {
  /* Palette — ink & parchment with red evidence markers */
  --ink: #0d0d0d;
  --ink-90: #1a1a1a;
  --ink-80: #2d2d2d;
  --ink-60: #525252;
  --ink-40: #7a7a7a;
  --ink-20: #b0b0b0;
  --ink-10: #d4d4d4;
  --ink-05: #ededed;
  --ink-02: #f7f7f6;
  --parchment: #fcfcfb;
  --white: #ffffff;
  --evidence: #c22d2d;
  --evidence-dark: #a12323;
  --evidence-glow: rgba(194, 45, 45, 0.08);
  --evidence-glow-strong: rgba(194, 45, 45, 0.15);
  --alert-amber: #c77d1a;
  --alert-amber-bg: rgba(199, 125, 26, 0.06);
  --info-blue: #2563eb;
  --info-blue-bg: rgba(37, 99, 235, 0.05);

  /* Typography */
  --font-display: 'Libre Baskerville', 'Georgia', serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'DM Mono', 'Consolas', monospace;

  /* Spacing scale (modular, 4px base) */
  --s1: 0.25rem; --s2: 0.5rem; --s3: 0.75rem; --s4: 1rem;
  --s5: 1.25rem; --s6: 1.5rem; --s8: 2rem; --s10: 2.5rem;
  --s12: 3rem; --s16: 4rem; --s20: 5rem; --s24: 6rem;

  /* Layout */
  --measure: 68ch;
  --page-max: 1180px;
  --page-wide: 1400px;
  --nav-h: 56px;
  --radius: 4px;
  --radius-lg: 8px;

  /* Shadows — layered for depth */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 2px 4px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 4px 8px rgba(0,0,0,0.04), 0 8px 32px rgba(0,0,0,0.08);
  --shadow-card: 0 1px 3px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.04);
  --shadow-card-hover: 0 4px 16px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.06);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration: 200ms;
  --duration-slow: 400ms;
}

/* Dark theme */
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e8e8e8;
    --ink-90: #d5d5d5;
    --ink-80: #bfbfbf;
    --ink-60: #9a9a9a;
    --ink-40: #777;
    --ink-20: #4a4a4a;
    --ink-10: #333;
    --ink-05: #252525;
    --ink-02: #1c1c1c;
    --parchment: #111111;
    --white: #1a1a1a;
    --evidence: #e85454;
    --evidence-dark: #f47070;
    --evidence-glow: rgba(232, 84, 84, 0.12);
    --evidence-glow-strong: rgba(232, 84, 84, 0.2);
    --alert-amber-bg: rgba(199, 125, 26, 0.12);
    --info-blue-bg: rgba(37, 99, 235, 0.12);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
    --shadow-md: 0 2px 10px rgba(0,0,0,0.5);
    --shadow-lg: 0 4px 24px rgba(0,0,0,0.6);
    --shadow-card: 0 0 0 1px rgba(255,255,255,0.08), 0 1px 4px rgba(0,0,0,0.3);
    --shadow-card-hover: 0 0 0 1px rgba(255,255,255,0.14), 0 4px 20px rgba(0,0,0,0.5);
  }

  /* Nav legibility */
  .nav { background: #050505; border-bottom-color: var(--evidence); }
  .nav-brand { color: #fff; }
  .nav-links a { color: rgba(255,255,255,0.8); }
  .nav-links a:hover { color: #fff; }
  .nav-links a.active { color: #fff; }

  /* Cards need visible borders in dark */
  .card {
    background: #1e1e1e;
    border: 1px solid #2e2e2e;
  }
  .card:hover {
    border-color: var(--evidence);
  }
  .card h3 { color: #e0e0e0; }
  .card p { color: #999; }
  .card-tag {
    background: rgba(232, 84, 84, 0.15);
    color: var(--evidence);
  }

  /* Tabs */
  .tab-btn { color: #888; }
  .tab-btn:hover { color: #ccc; }
  .tab-btn.active { color: var(--evidence); }

  /* Tab panel prose */
  .tab-panel .prose { color: #bbb; }
  .tab-panel .prose strong { color: #e0e0e0; }
  .tab-panel .prose h3 { color: #ddd; }

  /* Findings */
  .finding {
    background: #1e1e1e;
    border: 1px solid #2e2e2e;
  }
  .finding:hover {
    border-left-color: var(--evidence);
    border-color: var(--evidence);
  }
  .finding h3 { color: #ddd; }
  .finding p { color: #999; }
  .finding-number {
    background: var(--evidence);
    color: #fff;
  }
  .finding-source { color: #777; border-top-color: #2e2e2e; }

  /* Filter buttons */
  .filter-btn {
    background: #1e1e1e;
    border-color: #333;
    color: #999;
  }
  .filter-btn:hover { border-color: #555; color: #ccc; }
  .filter-btn.active {
    background: var(--evidence);
    color: #fff;
    border-color: var(--evidence);
  }

  /* Stats bar */
  .stat { background: #0a0a0a; }
  .stat-value { color: var(--evidence); }
  .stat-label { color: rgba(255,255,255,0.5); }

  /* Hero */
  .hero { background: #020202; }
  .hero h1 { color: #ffffff; }
  .hero-subtitle { color: rgba(255,255,255,0.75); }
  .hero-badge { background: var(--evidence); color: #fff; }

  /* Sections */
  .section-alt {
    background: #141414;
    border-color: #252525;
  }
  .section-header h1,
  .section-header h2 { color: #f0f0f0; }
  .section-header p { color: #aaa; }
  .section-label { color: var(--evidence); border-bottom-color: var(--evidence); }

  /* Prose */
  .prose { color: #ccc; }
  .prose h1, .prose h2, .prose h3 { color: #f0f0f0; }
  .prose strong { color: #f0f0f0; }
  .prose blockquote { background: rgba(232, 84, 84, 0.08); color: #aaa; }
  .prose code { background: #222; border-color: #333; color: #bbb; }
  .prose th { color: #ddd; border-bottom-color: #333; }
  .prose td { border-bottom-color: #252525; }
  .prose tr:hover td { background: #1e1e1e; }

  /* Footer */
  .footer { background: #0a0a0a; }

  /* Timeline */
  .timeline::before { background: linear-gradient(180deg, var(--evidence), #333); }
  .timeline-item p { color: #999; }
  .timeline-item h3 { color: #ddd; }
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink-90);
  background: var(--parchment);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--evidence);
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color var(--duration) var(--ease-out);
}
a:hover { color: var(--evidence-dark); text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--evidence); outline-offset: 3px; border-radius: 2px; }

/* ─── SKIP LINK ─── */
.skip-link {
  position: absolute; top: -100%; left: var(--s4);
  background: var(--evidence); color: #fff;
  padding: var(--s2) var(--s4);
  border-radius: var(--radius); z-index: 9999;
  font-weight: 600; font-size: 0.875rem;
}
.skip-link:focus { top: var(--s4); color: #fff; text-decoration: none; }

/* ─── NAVIGATION ─── */
.nav {
  background: var(--ink);
  position: sticky; top: 0; z-index: 100;
  border-bottom: 3px solid var(--evidence);
}

.nav-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--s6);
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h);
}

.nav-brand {
  font-family: var(--font-body);
  font-weight: 700; font-size: 0.95rem;
  color: #fff; text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-brand:hover { color: #fff; text-decoration: none; }
.nav-brand span { color: var(--evidence); font-weight: 300; }

.nav-links {
  display: none; list-style: none; gap: 0;
}

.nav-links a {
  color: rgba(255,255,255,0.65);
  padding: var(--s2) var(--s3);
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all var(--duration) var(--ease-out);
  border-bottom: 2px solid transparent;
}
.nav-links a:hover {
  color: rgba(255,255,255,0.95);
  text-decoration: none;
  border-bottom-color: var(--evidence);
}
.nav-links a.active {
  color: #fff;
  border-bottom-color: var(--evidence);
}

.nav-toggle {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: var(--s2);
}
.nav-toggle span { width: 20px; height: 1.5px; background: #fff; transition: all var(--duration); }

.nav.open .nav-links {
  display: flex; flex-direction: column;
  position: absolute; top: var(--nav-h); left: 0; right: 0;
  background: var(--ink);
  padding: var(--s4) var(--s6) var(--s6);
  border-bottom: 3px solid var(--evidence);
}
.nav.open .nav-links a { padding: var(--s3) 0; border-bottom: none; }

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
}

/* ─── LAYOUT ─── */
.container { max-width: var(--page-max); margin: 0 auto; padding: 0 var(--s6); }
.container-prose { max-width: var(--measure); margin: 0 auto; padding: 0 var(--s6); }

/* ─── HERO ─── */
.hero {
  background: var(--ink);
  color: #fff;
  padding: var(--s20) 0 var(--s16);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(255,255,255,0.02) 59px, rgba(255,255,255,0.02) 60px),
    repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(255,255,255,0.02) 59px, rgba(255,255,255,0.02) 60px);
  pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex; align-items: center; gap: var(--s2);
  background: var(--evidence);
  color: #fff;
  font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  padding: var(--s1) var(--s4);
  margin-bottom: var(--s8);
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  max-width: 800px;
  margin-bottom: var(--s6);
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.85);
  max-width: 620px;
  line-height: 1.7;
  font-weight: 300;
}

/* Stats bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  margin-top: var(--s12);
  max-width: 720px;
}

@media (min-width: 640px) {
  .stats-bar { grid-template-columns: repeat(4, 1fr); }
}

.stat {
  background: var(--ink);
  padding: var(--s6) var(--s5);
  text-align: center;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 1.85rem);
  font-weight: 700;
  color: var(--evidence);
  line-height: 1;
  margin-bottom: var(--s1);
}

.stat-label {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* ─── SECTIONS ─── */
.section {
  padding: var(--s16) 0;
}

.section-alt {
  background: var(--white);
  border-top: 1px solid var(--ink-05);
  border-bottom: 1px solid var(--ink-05);
}

.section-header {
  margin-bottom: var(--s10);
}

.section-header h1,
.section-header h2 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.section-header h1 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); }
.section-header h2 { font-size: clamp(1.35rem, 3vw, 1.85rem); }

.section-header p {
  color: var(--ink-60);
  font-size: 1rem;
  max-width: 560px;
  margin-top: var(--s3);
  line-height: 1.7;
}

.section-label {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--evidence);
  margin-bottom: var(--s3);
  padding-bottom: var(--s1);
  border-bottom: 2px solid var(--evidence);
}

/* ─── CARDS ─── */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s5);
}

@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--s8) var(--s6);
  box-shadow: var(--shadow-card);
  transition: all var(--duration-slow) var(--ease-out);
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--evidence);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  opacity: 0;
  transition: opacity var(--duration) var(--ease-out);
}

.card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}
.card:hover::before { opacity: 1; }

.card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: var(--s2);
  line-height: 1.35;
  color: var(--ink);
}

.card p {
  color: var(--ink-60);
  font-size: 0.875rem;
  line-height: 1.6;
}

.card-tag {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--evidence);
  background: var(--evidence-glow);
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: var(--s3);
}

.card-link { display: block; color: inherit; text-decoration: none; }
.card-link:hover { text-decoration: none; color: inherit; }

/* ─── CHANNEL TABS ─── */
.tabs {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  display: flex; flex-wrap: wrap; gap: 0;
  margin-bottom: var(--s8);
  border-bottom: 1px solid var(--ink-10);
}

.tab-btn {
  white-space: nowrap;
  background: none; border: none;
  padding: var(--s3) var(--s5);
  font-family: var(--font-body);
  font-size: 0.8rem; font-weight: 600;
  color: var(--ink-40);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all var(--duration) var(--ease-out);
  letter-spacing: 0.02em;
}
.tab-btn:hover { color: var(--ink-80); }
.tab-btn.active {
  color: var(--evidence);
  border-bottom-color: var(--evidence);
}

.tab-panel { display: none; }
.tab-panel.active {
  display: block;
  animation: fadeIn var(--duration-slow) var(--ease-out);
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ─── TIMELINE ─── */
.timeline {
  position: relative;
  padding-left: var(--s10);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--evidence), var(--ink-10));
}

.timeline-item {
  position: relative;
  padding-bottom: var(--s8);
  padding-left: var(--s4);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--s10) + 3px);
  top: 5px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--evidence);
  box-shadow: 0 0 0 3px var(--parchment), 0 0 0 4px var(--evidence);
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--evidence);
  letter-spacing: 0.05em;
  margin-bottom: var(--s1);
}

.timeline-item h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--s1);
  color: var(--ink);
}

.timeline-item p {
  color: var(--ink-60);
  font-size: 0.875rem;
  line-height: 1.65;
}

@media (min-width: 768px) {
  .timeline { padding-left: 0; max-width: 820px; margin: 0 auto; }
  .timeline::before { left: 50%; }
  .timeline-item { width: 46%; padding-left: 0; }
  .timeline-item:nth-child(odd) { margin-left: 0; text-align: right; padding-right: var(--s8); }
  .timeline-item:nth-child(even) { margin-left: 54%; padding-left: var(--s8); }
  .timeline-item:nth-child(odd)::before { left: auto; right: -5px; }
  .timeline-item:nth-child(even)::before { left: -5px; }
}

/* ─── FINDINGS ─── */
.finding {
  padding: var(--s6);
  background: var(--white);
  border-radius: var(--radius-lg);
  margin-bottom: var(--s4);
  box-shadow: var(--shadow-sm);
  border-left: 3px solid transparent;
  transition: all var(--duration) var(--ease-out);
}

.finding:hover {
  border-left-color: var(--evidence);
  box-shadow: var(--shadow-md);
}

.finding-number {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 30px; height: 30px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.finding-header {
  display: flex;
  align-items: flex-start;
  gap: var(--s4);
  margin-bottom: var(--s2);
}

.finding h3 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
}

.finding p {
  color: var(--ink-60);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-left: calc(30px + var(--s4));
}

.finding-source {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-40);
  margin-left: calc(30px + var(--s4));
  margin-top: var(--s2);
  padding-top: var(--s2);
  border-top: 1px solid var(--ink-05);
}

/* Filter bar */
.filter-bar {
  display: flex; flex-wrap: wrap;
  gap: var(--s2);
  margin-bottom: var(--s8);
}

.filter-btn {
  font-family: var(--font-body);
  font-size: 0.75rem; font-weight: 600;
  padding: var(--s2) var(--s4);
  border: 1px solid var(--ink-10);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink-60);
  cursor: pointer;
  transition: all var(--duration) var(--ease-out);
  letter-spacing: 0.02em;
}
.filter-btn:hover { border-color: var(--ink-20); color: var(--ink-80); }
.filter-btn.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* ─── PROSE ─── */
.prose {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--ink-80);
}

.prose h1 {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 700;
  margin: var(--s12) 0 var(--s4);
  color: var(--ink);
  line-height: 1.25;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.45rem; font-weight: 700;
  margin: var(--s12) 0 var(--s4);
  color: var(--ink);
  line-height: 1.3;
  padding-bottom: var(--s3);
  border-bottom: 1px solid var(--ink-05);
}

.prose h3 {
  font-family: var(--font-body);
  font-size: 1.1rem; font-weight: 700;
  margin: var(--s8) 0 var(--s3);
  color: var(--ink);
}

.prose h4 {
  font-family: var(--font-body);
  font-size: 0.95rem; font-weight: 700;
  margin: var(--s6) 0 var(--s2);
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.prose p { margin-bottom: var(--s5); }
.prose strong { color: var(--ink); font-weight: 700; }

.prose ul, .prose ol {
  margin-bottom: var(--s5);
  padding-left: var(--s6);
}
.prose li {
  margin-bottom: var(--s2);
  padding-left: var(--s2);
}
.prose li::marker { color: var(--evidence); }

.prose blockquote {
  border-left: 3px solid var(--evidence);
  padding: var(--s5) var(--s6);
  margin: var(--s6) 0;
  background: var(--evidence-glow);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  font-style: italic;
  color: var(--ink-80);
}

.prose code {
  font-family: var(--font-mono);
  font-size: 0.82em;
  background: var(--ink-02);
  padding: 2px 7px;
  border-radius: 3px;
  border: 1px solid var(--ink-05);
  color: var(--ink-80);
}

.prose pre {
  background: var(--ink);
  color: var(--ink-10);
  padding: var(--s6);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  margin: var(--s6) 0;
  font-size: 0.85rem;
  line-height: 1.6;
}
.prose pre code {
  background: none; border: none; padding: 0;
  color: inherit;
}

.prose table {
  width: 100%; border-collapse: collapse;
  margin: var(--s8) 0;
  font-family: var(--font-body);
  font-size: 0.85rem;
}
.prose th, .prose td {
  padding: var(--s3) var(--s4);
  text-align: left;
  border-bottom: 1px solid var(--ink-05);
}
.prose th {
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  border-bottom: 2px solid var(--ink-10);
}
.prose tr:hover td { background: var(--ink-02); }

.prose img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin: var(--s8) 0;
}

/* ─── CALLOUT BOXES ─── */
.callout {
  padding: var(--s5) var(--s6);
  border-radius: var(--radius-lg);
  margin: var(--s6) 0;
  display: flex; gap: var(--s4);
  align-items: flex-start;
  font-size: 0.9rem;
  line-height: 1.6;
}

.callout::before {
  content: '';
  width: 20px; height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.callout-warning {
  background: var(--alert-amber-bg);
  border: 1px solid rgba(199, 125, 26, 0.2);
}
.callout-warning::before {
  background: var(--alert-amber);
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2L1 21h22L12 2zm0 4l7.53 13H4.47L12 6zm-1 5v4h2v-4h-2zm0 6v2h2v-2h-2z'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2L1 21h22L12 2zm0 4l7.53 13H4.47L12 6zm-1 5v4h2v-4h-2zm0 6v2h2v-2h-2z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.callout-info {
  background: var(--info-blue-bg);
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.callout-danger {
  background: var(--evidence-glow);
  border: 1px solid rgba(194, 45, 45, 0.2);
}

/* ─── FOOTER ─── */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  padding: var(--s10) 0;
  margin-top: auto;
  font-size: 0.8rem;
  border-top: 3px solid var(--evidence);
}

.footer a { color: rgba(255,255,255,0.85); }
.footer a:hover { color: #fff; }

.footer-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--s6);
  display: flex; flex-direction: column;
  gap: var(--s4);
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ─── UTILITIES ─── */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.text-center { text-align: center; }
.text-muted { color: var(--ink-60); }
.mt-lg { margin-top: var(--s6); }
.mt-xl { margin-top: var(--s8); }
.mb-lg { margin-bottom: var(--s6); }
.mb-xl { margin-bottom: var(--s8); }

/* ─── PRINT ─── */
@media print {
  .nav, .nav-toggle, .footer, .skip-link { display: none; }
  body { background: #fff; color: #000; font-size: 10pt; }
  .hero { background: #fff; color: #000; padding: 1rem 0; border-bottom: 2px solid #000; }
  .hero::before { display: none; }
  .stat-value { color: #000; }
  .card { break-inside: avoid; box-shadow: none; border: 1px solid #ccc; }
  a { color: #000; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 0.75em; color: #666; }
}
