/* Maybridge design tokens. Derived from the cinematic design's palette.
   Loaded by every page; the only place design tokens are declared. */
:root {
  --ink: #14140f;
  --paper: #f3ece0;
  --stone: #b8ae9d;
  /* Muted body/label text on light (--paper) grounds. --stone reads well as an
     accent on dark grounds but is only 1.87:1 on --paper — far under WCAG AA's
     4.5:1 for normal text. --ink-soft is a desaturated warm dark grey, a
     darkened sibling of --stone's hue, that clears 4.5:1 on --paper (measured
     ~4.81:1; see tests/contrast.test.mjs). Use this — never --stone — for
     text-on-light. --stone stays correct for text-on-dark and for purely
     decorative borders/rules/dividers on light.

     "Non-text is exempt" is NOT true in general, and reading it that way is
     how the focus ring shipped at 1.87:1. WCAG 2.2 SC 1.4.11 still requires
     3:1 for anything non-text that CARRIES INFORMATION — focus indicators,
     the visual boundary of an interactive control, state indicators. Only
     decoration that conveys nothing is genuinely exempt. So: --stone for a
     divider, never for a focus ring (use --ink, 15.7:1). Guarded by
     AA_NON_TEXT in tests/contrast.test.mjs. */
  --ink-soft: #6b675c;
  --shadow: rgba(0, 0, 0, 0.42);
  --ground: #0b0c0b;

  /* "Ogg Medium" was named in the source design but is never loaded and is not
     licensed to Maybridge — visitors always rendered the fallback. Dropped. */
  --display: "Instrument Serif", Georgia, serif;
  --body: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1100px;
  --gutter: clamp(20px, 5vw, 48px);
}
