/* Amaya identity "Thread" — design tokens. Definition of record.
 * Version 2, 2026-09-30: round 7 "Alive, refined", approved by August. Version 1
 * (2026-08-15) is in git history; what changed is in ../README.md § Status.
 *
 * The rule the identity rests on: the studio's colours are SAMPLED from the
 * studio's photograph (../images/AmayaImage1.jpg), never invented. A product's
 * colours come from that product's photograph the same way: it copies this file
 * and re-samples the chromatic values (deep, teal, copper, gold) from its own
 * image. Paper, ink, type, spacing, radius and the key stay identical.
 *
 * Consumed by copying into the product repo, then ../components/thread.css and
 * ../components/resolve.js (see ../README.md — there is no package registry; the
 * copy is the mechanism and this directory is the record).
 */

:root {
  /* ---- colour ---- */
  --amaya-paper:       #FFFFFF;  /* every page, card and panel; white is required */
  --amaya-ink:         #101416;  /* primary text 18.5:1; primary key fill; key shadow */
  --amaya-ink-2:       #3C4245;  /* secondary text 10.2:1; input borders */
  --amaya-grey:        #8E9294;  /* large de-emphasised numerals and the parked mark only (3.1:1) */
  --amaya-hair:        #DCDFDF;  /* hairlines and card borders; decoration only */
  --amaya-stone:       #F6F6F4;  /* the one quiet surface: parked cards, disabled keys */
  --amaya-deep:        #174A54;  /* the one colour band on a page */
  --amaya-on-deep:     #EEF3F3;  /* text on deep, 8.8:1 */
  --amaya-teal:        #266673;  /* mark thread 1; considered/building marks; focus ring (6.5:1) */
  --amaya-copper:      #A64B26;  /* mark thread 2; the claim's emphasis; the error mark (5.7:1) */
  --amaya-gold:        #A9843F;  /* live halo, always beside the word "live" (3.5:1) */
  --amaya-teal-bright: #6FB9C6;  /* dark mark, on ink or deep */
  --amaya-amber:       #C97B3D;  /* dark mark, on ink or deep; never on white */
  --overlay-scrim:     rgba(16, 20, 22, 0.45);

  /* ---- type ---- Geist + Geist Mono, self-hosted woff2 from ../type/ — never a CDN. */
  --font-sans: 'Geist', system-ui, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, monospace;
  /* claim      clamp(40px, 6.2vw, 74px) · 500 · -0.045em · lh 0.98  (one per page; titles never end in a full stop)
     numeral    clamp(72px, 10vw, 128px) · 500 · -0.06em  · lh 0.8   (readouts)
     statement  clamp(26px, 3.4vw, 40px) · 500 · -0.03em  · lh 1.12  (the deep band)
     title      34px · 500 · -0.04em  (app page title)
     body 15/1.5 · control 14px · detail 13/1.4
     label      mono 10.5px · 500 · +0.08em · uppercase
     meta       mono 10.5px · 400 · +0.04em */

  /* ---- structure ---- */
  --amaya-gutter: 24px;       /* 16px under 560px */
  --section: 36px;
  --key-gap: 14px;
  --card-gap: 10px;
  --measure: 44ch;
  --amaya-radius: 0px;        /* crisp everywhere; only the live halo is round */
  --hairline: 1px;
  --key-border: 1.5px;
  --key-shadow: 4px 4px 0 #101416;        /* keys only */
  --key-shadow-hover: 5px 5px 0 #101416;  /* lifts 1px on hover; presses to 0 */
}
