/* ============================================================
   tokens.css — christianare.com design tokens
   Source: DESIGN.md (Phase 1). RGB triplets so rgba() works
   everywhere: rgb(var(--bg)) / rgb(var(--accent) / .3).
   ============================================================ */

:root {
  /* Palette — editorial navy (DESIGN.md) */
  --bg: 11 18 32;            /* #0B1220 page canvas */
  --bg2: 17 24 39;           /* #111827 raised surface — Deep Navy, the brand base */
  --panel: 23 35 59;         /* #17233B cards, bands, proof strip field */
  --panel-2: 29 44 73;       /* #1D2C49 hover / raised-within-panel */
  --ink: 242 246 252;        /* #F2F6FC text */
  --ink-dim: 167 179 199;    /* #A7B3C7 */
  --ink-faint: 100 116 143;  /* #64748F */
  --white: 255 255 255;

  /* Accent — one signal color for the whole site */
  --accent: 0 212 212;       /* #00D4D4 cyan: links, edge light, kickers, active */
  --accent-bright: 63 232 232; /* #3FE8E8 hover */
  --accent-deep: 0 110 110;  /* #006E6E teal: large tints, glow bases, gradients */
  --on-accent: 3 34 43;      /* #03222B text on cyan fills — never white on cyan */

  /* Semantic (house parity) */
  --success: 47 224 124;     /* #2FE07C */
  --danger: 255 84 112;      /* #FF5470 */

  /* Paper surface — Story page only (the magazine insert) */
  --paper: 246 242 233;      /* #F6F2E9 */
  --paper-ink: 21 34 56;     /* #152238 */
  --paper-dim: 85 97 122;    /* #55617A */

  /* Lines */
  --line: rgb(var(--white) / .08);
  --line-strong: rgb(var(--white) / .14);

  /* Type — three faces, three assigned jobs (DESIGN.md) */
  --font-display: "Fraunces", "Fraunces Fallback", Georgia, serif;
  --font-body: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Type scale (px) */
  --t-12: .75rem;  --t-13: .8125rem; --t-15: .9375rem; --t-17: 1.0625rem;
  --t-20: 1.25rem; --t-24: 1.5rem;   --t-32: 2rem;     --t-44: 2.75rem;
  --t-64: 4rem;    --t-88: 5.5rem;

  /* Spacing scale */
  --s-4: 4px;  --s-8: 8px;   --s-12: 12px; --s-16: 16px; --s-24: 24px;
  --s-32: 32px; --s-48: 48px; --s-64: 64px; --s-96: 96px;

  /* Layout */
  --maxw: 1200px;
  --prose: 68ch;
  --section-pad: clamp(64px, 10vw, 128px);

  /* Radii */
  --r-card: 20px; --r-row: 16px; --r-img: 24px; --r-hero-img: 28px; --r-pill: 999px;

  /* Depth — layered box-shadow only. NEVER filter: blur(), never SVG filters. */
  --glow-accent: 0 0 0 1px rgb(var(--accent) / .30),
                 0 0 24px rgb(var(--accent) / .12),
                 0 18px 40px -18px rgb(0 0 0 / .55);
  --edge-top: inset 0 1px 0 rgb(var(--accent) / .30);
  --card-shadow: 0 18px 40px -18px rgb(0 0 0 / .55);
  --glow-teal: 0 0 0 1px rgb(var(--accent-deep) / .55),
               0 0 32px rgb(var(--accent-deep) / .28),
               0 18px 40px -18px rgb(0 0 0 / .55);

  /* Motion tokens (DESIGN.md) — only transform + opacity ever animate */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.22, 1.4, .36, 1);
  --d-120: 120ms; --d-200: 200ms; --d-320: 320ms; --d-520: 520ms; --d-800: 800ms;
}
