/* ==========================================================
   PROJECT WITNESS — Article Design Tokens
   Shared across all episode article pages.
   ========================================================== */

:root {
  /* Palette */
  --cream: #faf8f4;
  --warm-card: #f0ebe0;
  --gold: #8b5e00;
  /* Darker gold reserved for SMALL/eyebrow gold text that sits on --warm-card
     (#f0ebe0) or --care-bg (#f4f1ea). Plain --gold on warm-card computes ~4.7:1
     (thin AA margin at small sizes); --gold-on-card computes ~5.8:1. Additive —
     existing --gold usages are unchanged. Do NOT use as a background fill: on a
     background, near-black text needs the lighter --gold for its own contrast. */
  --gold-on-card: #7a5200;
  --dark-gold: #6a5a1e;
  --near-black: #1a1a1a;
  --body-text: #444;
  --secondary-text: #555;
  --muted-text: #666666;
  --light-border: #e8e4dc;
  --highlight-bg: #fdf8ed;

  /* Trauma-informed cards palette */
  --care-bg: #f4f1ea;
  --care-border: #d6cfba;
  --care-accent: #6a5a1e;

  /* Typography */
  --font-display: Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-mono: 'SF Mono', Menlo, Monaco, Consolas, monospace;

  /* Type scale */
  --fs-eyebrow: 11px;
  --fs-caption: 13px;
  --fs-body: 16px;
  --fs-body-lg: 17px;
  --fs-pull: 22px;
  --fs-h3: 22px;
  --fs-h2: 32px;
  --fs-h1: 48px;
  --fs-display: 72px;

  /* Spacing scale */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 96px;
  --space-4xl: 144px;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-pill: 100px;

  /* Shadows */
  --shadow-card: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-elevated: 0 4px 12px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.06);
  --shadow-cinematic: 0 20px 60px rgba(0,0,0,0.25), 0 8px 24px rgba(0,0,0,0.12);

  /* Layout */
  --read-width: 680px;
  --wide-width: 1080px;
  --container-max: 1320px;
  --max-width: 1280px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; display: block; }
