/* Design tokens for "The Story of Cranes". Text only: colour and type do all the work.
   Palette: site-office paper, steel ink, crane-safety orange as the single accent.
   Contrast (WCAG AA, on --color-bg): text 15:1, muted 7:1, link 8:1, accent 6:1.
   Type: Georgia headings (engineering-drawing seriousness), system sans body for easy reading. */
:root {
  --color-bg: #faf8f3;
  --color-surface: #f0ece2;
  --color-text: #1b1f24;
  --color-muted: #4a525c;
  --color-link: #0b4f8a;
  --color-link-hover: #07325a;
  --color-accent: #8a4b00;
  --color-accent-strong: #f2a900;
  --color-border: #cfc8b8;
  --color-header-bg: #1b1f24;
  --color-header-text: #faf8f3;
  --color-focus: #0b4f8a;

  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-heading: Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, "Cascadia Mono", Consolas, monospace;

  /* type scale, ratio ~1.25 */
  --text-sm: 0.875rem;
  --text-base: 1.0625rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5625rem;
  --text-2xl: 1.953rem;
  --text-3xl: 2.441rem;
  --leading-body: 1.65;
  --leading-heading: 1.2;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 2rem;
  --space-4: 3rem;
  --measure: 65ch;
  --radius: 4px;
  --rule: 1px solid var(--color-border);
}
