/* ── tokens.css — the palette and type, as variables ─────────────────
   Linked before app.css (S1, 2026-09-29). Every colour and face the
   stylesheet uses is a variable defined here and nowhere else, so a
   palette switch is an edit to this file alone.

   THE CURRENT PALETTE — U0's ink and ochre, on a COOL surface since
   2026-11-03 (owner: the site "looks too AI-generated").

   WHAT WAS WRONG WAS THE SURFACE, NOT THE BRAND. `--paper` was
   #F4EFE6, a warm cream, and `--card` #FFFDF8 — a contrast of 1.127,
   so cards did not lift off the page at all and every band read as one
   flat wash. Warm cream with an indigo ink and an ochre accent is also
   the palette every generator reaches for, which is the look he named.
   The ink and the ochre are the brand and are unchanged; the surface
   moved from warm beige to a cool indigo-grey that belongs to the same
   family as the ink, so the ochre now reads as a deliberate warm
   counterpoint instead of beige on beige. Cards are true white.

   Card lift 1.127 -> 1.24 (it was 1.399 until 2026-11-17, when the
   owner chose a softer lift; the page moved #D6DAE4 -> #E4E7EE).
   Measured text contrast IMPROVED: the worst pair was 5.16 and is now
   6.12, against a 4.5 floor (`--muted` on `--hair` is 5.27, the only
   text there is a disabled select, WCAG-exempt). The table under
   the identity block below has every pair.

   `--muted` and `--accent` are darkened here, which is the same work
   U-4 asked for — on a cooler surface they would otherwise have drifted
   toward the floor. */
:root{--ink:#1B1F3A;--paper:#E4E7EE;--ochre:#C8862A;--accent:#754B0F;
--card:#FFFFFF;--muted:#4F5368;--soft:#343852;--line:#B6BCCC;--hair:#D3D7E2;
--outline:#7A7F96;--now-light:#9A6A12;--moonlit:#F4F5F8;
--bg:var(--paper);--warn:#6B4E10;--warnbg:#F6EBCE;--bar-h:60px;
--serif:"Noto Serif","Noto Serif Devanagari",Georgia,"Times New Roman",serif;
--sans:"Noto Sans","Noto Sans Devanagari",system-ui,-apple-system,"Segoe UI",sans-serif;
--ease:cubic-bezier(.2,0,0,1);--dur-1:90ms;--dur-2:150ms;--dur-3:240ms;--dur-arrive:800ms;--dur-stagger:130ms;
--btn-bg:var(--ink);--btn-fg:var(--paper);--btn-radius:10px;--btn-pad:.65rem 1.4rem;
--card-radius:10px;--card-pad:1rem 1.2rem;--hairline:1px solid var(--line)}

/* ── THE MOTION SCALE ──────────────────────────────────────────────────
   One curve, three feedback durations and two arrival durations; no
   stylesheet writes a literal time. The register is feedback, not
   spectacle: a control answers a touch, a panel settles, and nothing
   draws the eye to itself, because this is a page people read slowly.
   --ease starts fast and lands soft (an ease-out), so a response is
   visible at once and never lingers.
   --dur-1 90ms: hover, press and focus colour changes, under the
   threshold where a delay reads as lag. --dur-2 150ms: small state
   changes such as a disclosure or a tab. --dur-3 240ms: the longest
   feedback allowed, a panel or a scroll-linked reveal. Past 250ms a
   reader waits on the page, so nothing that answers a touch goes
   longer. app.css switches all of it off under prefers-reduced-motion.
   --dur-arrive 800ms and --dur-stagger 130ms are the arrival register:
   a page entering, not a control answering. Only the landing sheet
   (landing.css) may use them; test_landing.py enforces it. */

/* ── THE NEW IDENTITY PALETTE — NOT IN USE ─────────────────────────────
   From docs/design/identity/ (MAR-identity.v6). Kept here, commented,
   so the owner can switch by uncommenting this block and commenting the
   one above; the variable names the stylesheet reads stay the same.
   Contrast WAS checked on 2026-10-29 and three text pairs fail; the
   measurement is below the block. Do not switch before reading it.

   The last three variables are carried over unchanged. They were
   missing: --bar-h, --serif and --sans were declared only by the live
   block, so the switch described above would have left every page
   without a font stack and the bottom bar without a height.
   `test_both_palettes_declare_the_same_variables` now holds the two
   blocks to the same set of names, and
   `test_the_identity_palette_is_one_comment_and_nests_none` holds this
   file to a shape a browser can read. CSS comments do not nest: a
   second opener inside this block ends it at the first closer, and
   everything after that becomes live declarations plus a stray closer.
   That happened while this very note was being written, twice — the
   second time because the note itself spelled the two delimiters out.

:root{
  --black:#000000; --white:#FFFFFF;
  --grey-1:#1C1C1E; --grey-2:#48484A; --grey-3:#8E8E93; --grey-4:#D1D1D6;
  --star-1:#FFF3C4; --star-2:#F5C84C; --star-3:#C98A1E;
  --graha-ink:#1F2344; --graha-red:#C8452F; --graha-green:#5E8C6A;
  --graha-rose:#E3B3AE; --graha-tan:#B8733D;

  --ink:var(--grey-1); --paper:var(--white); --ochre:var(--star-2);
  --accent:var(--star-3); --card:var(--white); --muted:var(--grey-3);
  --soft:var(--grey-2); --line:var(--grey-4); --hair:#EDEDF0;
  --outline:#7A7F96; --now-light:#9A6A12; --moonlit:#F4F5F8;
  --bg:var(--paper); --warn:var(--star-3); --warnbg:var(--star-1);

  --bar-h:60px;
  --serif:"Noto Serif","Noto Serif Devanagari",Georgia,"Times New Roman",serif;
  --sans:"Noto Sans","Noto Sans Devanagari",system-ui,-apple-system,"Segoe UI",sans-serif;
  --ease:cubic-bezier(.2,0,0,1); --dur-1:90ms; --dur-2:150ms; --dur-3:240ms; --dur-arrive:800ms; --dur-stagger:130ms;
  --btn-bg:var(--ink); --btn-fg:var(--paper); --btn-radius:10px; --btn-pad:.65rem 1.4rem;
  --card-radius:10px; --card-pad:1rem 1.2rem; --hairline:1px solid var(--line);
}

   ── CONTRAST, MEASURED 2026-10-29 (the check this block asked for) ───

   WCAG 2.1 relative luminance, against the pairs `app.css` actually
   renders TEXT in. `--ochre` is not in the list because no rule in
   `app.css` uses it for text — it is outlines, meter bars, dots and
   left borders only.

                                   new palette      current palette
     --ink   on --bg    body        17.01  pass      11.51  pass
     --soft  on --paper              9.12  pass       8.19  pass
     --muted on --paper  .meta,     3.26  FAIL        5.42  pass
                         th, labels
     --accent on --paper links      2.94  FAIL        5.42  pass
     --warn  on --warnbg            2.64  FAIL        6.50  pass

   So the switch is NOT safe as drawn: every link, every helper line,
   every table heading and every warning would fall below 4.5:1, which
   `/privacy` and the accessibility of the whole reader side depend on.
   All four live text pairs pass.

   THE CURRENT COLUMN WAS RE-MEASURED 2026-11-03, when the live surface
   moved from warm cream to a cool indigo-grey. Every live pair still
   passes and the worst of them improved from 5.16 to 5.42, because
   `--muted` and `--accent` were darkened in the same edit. On the card
   surface, which is true white now, those same pairs read 7.58.

   What remains of U-4 is THIS block's own values: its --accent is
   --star-3 (#C98A1E) and its --muted is --grey-3 (#8E8E93), and no
   darkening of either has been chosen. Still a brand decision, and
   still his.
*/
