/* Veltman Law design tokens. Route A: The Programme.
   Swap this file to change route; site.css uses tokens only. */
:root {
  color-scheme: light dark;

  /* Paper pages */
  --paper: #f5f1e7;         /* programme stock: warm, not white (18 Nov 2026) */
  --paper-2: #ece5d6;
  --ink: #17181b;
  --muted: #55585f;
  --rule: #d8cfbd;
  --accent: #5a2a47;        /* house curtain */
  --on-accent: #f4f4f2;
  --gilt: #8a6a2a;          /* hairlines on paper */
  --gilt-ink: #765819;      /* small gilt labels on paper: AA on the warm stock */
  /* paper tooth: one small noise tile, drawn by the browser */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .36 0 0 0 0 .27 0 0 0 0 .12 0 0 0 .075 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  /* Stage and curtain: the same in light and dark */
  --house-dark: #0f0d10;
  --house-2: #17121a;
  --stage-ink: #f1ede4;
  --stage-muted: #b9b2a5;
  --velvet-hi: #7d3a62;
  --velvet: #5a2a47;
  --velvet-lo: #2c1224;
  --velvet-deep: #3d1932;
  --rope: #b8954a;
  --rope-hi: #e3c983;
  --rope-lo: #6e5424;

  /* Type */
  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --body: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --label: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.1875rem;      /* 19px body */
  --step-1: 1.375rem;
  --step-2: 1.75rem;
  --step-3: clamp(2rem, 1.4rem + 2.2vw, 2.75rem);
  --step-4: clamp(2.25rem, 1.3rem + 3.6vw, 3.75rem);
  --step-5: clamp(2.4rem, 1rem + 5.2vw, 4.75rem);

  /* Layout */
  --measure: 40rem;
  --wide: 72rem;
  --gutter: clamp(1.125rem, 4vw, 2.5rem);
  --header-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #141417;
    --paper-2: #1b1b1f;
    --ink: #ebe9e4;
    --muted: #a9a59c;
    --rule: #2e2d32;
    --accent: #d4a3c1;
    --on-accent: #1a1016;
    --gilt: #cdae6c;
    --gilt-ink: #cdae6c;
    --grain: none;
  }
}
