/* ==========================================================================
   TOKENS — transcribed from 01_BRAND_CORE/design-tokens/*.json (all Approved).

   Nothing in this file is invented. If a token changes at the source, change
   it here too; this prototype has no build step to generate it.
   ========================================================================== */

:root {
  /* colour — brand */
  --color-sand: #E0DBC8;
  --color-orange: #FF6A00;
  --color-ink: #181A21;
  --color-off-white: #F8F7F6;
  --color-mist: #EBEEED;

  /* colour — semantic roles */
  --canvas: #F8F7F6;
  --surface: #EBEEED;
  --text: #181A21;
  --line: #E0DBC8;
  --signal: #FF6A00;
  --focus: #181A21;

  /* ink tints — derived from --text so a token change propagates.
     Sand (--line) is the only non-ink hairline and carries no information;
     anything a reader must perceive uses an ink tint instead. */
  --ink-70: color-mix(in srgb, var(--text) 70%, var(--canvas));
  --ink-45: color-mix(in srgb, var(--text) 45%, var(--canvas));
  --ink-28: color-mix(in srgb, var(--text) 28%, var(--canvas));
  --ink-14: color-mix(in srgb, var(--text) 14%, var(--canvas));
  --ink-08: color-mix(in srgb, var(--text) 8%, var(--canvas));

  /* spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
  --space-32: 128px;

  /* motion */
  --dur-fast: 160ms;
  --dur-base: 320ms;
  --dur-camera: 1000ms;
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-enter: cubic-bezier(0.16, 1, 0.3, 1);

  /* typography — families. Calibre is licensed and self-hosted; the stack
     falls through to system faces where the licence does not reach. */
  --font-sans: "Calibre", -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "DejaVu Sans Mono", ui-monospace, Menlo, Consolas, monospace;

  /* typography — scale. Calibre carries the hierarchy; mono never changes size. */
  --type-xs: 0.75rem;
  --type-sm: 0.875rem;
  --type-base: 1rem;
  --type-lg: 1.25rem;
  --type-xl: 1.75rem;
  --type-display: 4rem;

  /* typography — the measuring voice, one size everywhere */
  --mono-size: 0.625rem;
  --mono-tracking: 0.1em;
  --mono-transform: uppercase;
}

/* Breakpoints (px). Custom properties cannot be used inside media queries,
 * so they are recorded here and restated literally in site.css:
 *   sm = 480   md = 768   lg = 1024   xl = 1440
 */
