/*
  Design tokens. Every brand-specific visual value lives in this file.
  No hex values or font names may appear in any other stylesheet.
  Direction locked 2026-09-17 (Chris): "Ledger". Banknote paper ground,
  teal ink primary, brass details, deep ink-teal section bands, and a
  clay tint as the warm break surface. Display face Newsreader.
*/

:root {
  /* Paper surfaces */
  --surface-0: #F3EFE5;
  --surface-1: #ECE6D7;
  --surface-2: #E3DBC7;
  --edge: #CFC5AC;
  --edge-soft: #DDD5C2;

  /* Ink text (contrast on surface-0: ink 12.6:1, muted 5.6:1) */
  --text-1: #1D2B27;
  --text-2: #5C6660;

  /* Primary accent: teal ink (7.4:1 on paper; paper text on teal passes AA) */
  --accent: #175A50;
  --accent-strong: #1E6E62;
  --on-accent: #F5F1E7;
  --accent-dim: rgba(23, 90, 80, 0.08);

  /* Secondary accent: brass. Text-safe dark brass on paper, a decorative
     line brass, and a brighter brass that passes AA on the ink band. */
  --accent-2: #7A5A22;
  --accent-2-line: #B8964F;
  --brass-on-ink: #CBA95F;

  /* Ink band: the dark section register */
  --band-bg: #1C3A34;
  --band-text: #F3EFE5;
  --band-muted: #A9BBB4;
  --band-edge: rgba(243, 239, 229, 0.16);

  /* Clay tint: the warm boxed register (strong clay passes AA on the tint) */
  --tint-bg: #F0E0CE;
  --tint-edge: #DCC6AB;
  --tint-strong: #8F4A26;

  /* Map (the scan screen's Google map, styled to the paper) */
  --map-water: #CFE0E3;
  --map-park: #D8E4CF;
  --map-highway: #F0E0CE;

  /* Type */
  --font-display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-text: 'Inter', -apple-system, 'Segoe UI', system-ui, sans-serif;
  --display-weight: 500;
  --display-tracking: -0.015em;

  /* Shape */
  --radius-s: 8px;
  --radius-m: 12px;
  --radius-band: 24px;
  --radius-pill: 999px;

  /* Elevation */
  --shadow-1: 0 1px 2px rgba(29, 43, 39, 0.08);
  --shadow-2: 0 10px 30px rgba(29, 43, 39, 0.10);

  /* Motion */
  --t-fast: 160ms;
  --t-slow: 600ms;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --t-fast: 0ms;
    --t-slow: 0ms;
  }
}
