/* tokens.css — GENERATED by tools/palette.mjs. Do not edit by hand.
   Every value below was solved in OKLCh and proved as a PAIR: each surface
   against the photograph it sits on (at the dark and the bright end of the
   picture, composited in GAMMA space the way the compositor does it), and each
   ink against the thinnest glass it is ever set on. Run
   `node tools/palette.mjs --check` to re-prove it and
   `node tools/palette.mjs --control` to prove the check still fails when it
   should.

   The ground measured here: p10 rgb(39 67 20), p50 rgb(73 86 88), p90 rgb(130 109 200). */
:root {
  /* inks — hue 158, the shade between the stems */
  --ink: #082a19;
  --ink-2: #1e3d2c;
  --ink-3: #405d4c;
  --line: rgba(8, 42, 25, .13);
  --line-2: rgba(8, 42, 25, .075);

  /* the meadow green — buttons, links, the dark chips */
  --leaf: #204a2b;
  --leaf-2: #3f774d;
  --sprout: #6dd3c0;
  --bright: #b5ecd8;
  --wash: rgba(32, 74, 43, .085);
  --wash-2: rgba(32, 74, 43, .15);

  /* the wing */
  --gold: #f9bb51;
  --gold-ink: #663600;
  --flame: #bf5818;
  --flame-wash: rgba(191, 88, 24, .14);

  --up: #00543b;
  --down: #8f1d1b;
  /* the vetch flower: a lot whose cost the chain could not tell us */
  --vetch: #593c8d;
  --vetch-wash: rgba(89, 60, 141, .13);

  /* the same colours as r,g,b triples, so the stylesheet can set an alpha on one
     of them without ever typing a chromatic literal of its own (tools/validate.mjs
     refuses those: a brand hue typed into CSS is the thing that drifts). */
  --ink-rgb: 8, 42, 25;
  --leaf-rgb: 32, 74, 43;
  --gold-rgb: 249, 187, 81;
  --flame-rgb: 191, 88, 24;
  --bright-rgb: 181, 236, 216;
  --up-rgb: 0, 84, 59;
  --down-rgb: 143, 29, 27;
  --vetch-rgb: 89, 60, 141;

  /* glass: rgb(255 250 240) is white warmed toward the wing */
  --glass: 255, 250, 240;
  --head: rgba(var(--glass), 0.48);
  --surface: rgba(var(--glass), 0.58);
  --surface-2: rgba(var(--glass), 0.68);
  --surface-3: rgba(var(--glass), 0.82);
  --panel: var(--surface);

  /* Blur stays light on purpose: at 18-22px it erases the photograph under every
     card and the page measures busy ~0 where the reference reads 2-7. At 4px the
     docs sheet and the census panes still measured 24-25% flat against the
     reference's worst 16%; the ground is already softened, so 2px is enough. */
  --blur: saturate(150%) blur(2px);
  --blur-lite: saturate(140%) blur(1.5px);

  --shadow-sm: 0 1px 2px rgba(8, 42, 25, .06), 0 4px 14px rgba(8, 42, 25, .07);
  --shadow: 0 16px 44px rgba(8, 42, 25, .16);
  --shadow-lg: 0 30px 80px rgba(8, 42, 25, .24);

  /* the ground behind everything, for the flash before the jpeg paints */
  --ground-fill: rgb(73 86 88);
}
