/*
 * Design tokens — single source of truth (ADR-011).
 * Candidate values come from Stitch direction C. Every foreground/background pair is MEASURED by
 * scripts/contrast_matrix.py; do not change a colour without re-running it.
 * Colour tokens must stay plain 6-digit hex so the checker can read them.
 */
:root {
  /* brand and neutrals */
  --kb-pine: #1F3F2A;
  --kb-fruit: #A4422B;
  --kb-paper: #F6F5F0;
  --kb-surface: #FFFFFF;
  --kb-text: #18211B;
  --kb-text-muted: #4A564E;

  /* on-colour text */
  --kb-on-pine: #FFFFFF;
  --kb-on-pine-muted: #D9E3DB;
  --kb-on-fruit: #FFFFFF;

  /* graphite bands (direction C footer) */
  --kb-ink: #18211B;
  --kb-on-ink: #E3EAE5;
  --kb-on-ink-muted: #B4C6BA;

  /* interaction */
  --kb-focus: #1F3F2A;
  --kb-focus-on-dark: #FFFFFF;
  --kb-border-strong: #6B766E;
  --kb-border-soft: #D8D6CC;

  /* typography */
  --kb-font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --kb-font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --kb-text-size: 1.0625rem;      /* 17px */
  --kb-text-leading: 1.75;
  --kb-measure: 68ch;

  /* spacing and shape */
  --kb-space-1: 0.25rem;
  --kb-space-2: 0.5rem;
  --kb-space-3: 0.75rem;
  --kb-space-4: 1rem;
  --kb-space-6: 1.5rem;
  --kb-space-8: 2rem;
  --kb-radius: 6px;
  --kb-target: 2.75rem;           /* 44px preferred target size */
  --kb-focus-width: 3px;
  --kb-focus-offset: 2px;
}
