/* $WEEPI — design tokens
   🔴 THE CENTRAL DECISION: the dark ground is WEEPI'S OWN INK (#0A2B36), measured off
   nine archive files, NOT a generic near-black. His ink is a deep petrol teal-navy
   (hue ~195, sat ~0.83, val ~0.21). Building the page out of his own outline colour is
   what stops the painterly art reading as a sticker slapped onto #0d0d0d.
   pons acid-lime #d4fc50 is the ONE foreign colour and it appears only as instrument
   light — a live readout, a lit sensor. Never a gradient, never a fill, never a glow blob. */
:root {
  color-scheme: dark;

  /* ---- ground: Weepi's ink, in layers ---- */
  --ink-abyss:    #04161d;   /* page ground, below his ink */
  --ink:          #0a2b36;   /* HIS OUTLINE INK — the primary surface */
  --ink-raised:   #0e3743;   /* cards, entry frames */
  --ink-line:     #16505f;   /* dividers, hairlines */
  --ink-line-soft:#0f3c49;

  /* ---- Weepi's own body palette (k-means over real pixels) ---- */
  --weepi-mid:    #4cc451;
  --weepi-light:  #85d886;
  --weepi-deep:   #37933c;
  --weepi-vein:   #c8eec0;
  --crown-gold:   #fbe60a;
  --crown-amber:  #f6b706;
  --cream:        #f2f0bc;   /* his CREAM RIM LIGHT — our warm text colour */
  --rust:         #be6b2d;   /* his chromatic offset, light-facing edge */
  --violet:       #5d3e75;   /* his chromatic offset, shadow-facing edge */

  /* ---- pons: the instrument light. ONE colour, used sparingly ---- */
  --lime:         #d4fc50;
  --lime-hover:   #e2ff66;
  --lime-dim:     #2a3a14;
  --lime-soft:    #1c2610;

  /* ---- text ---- */
  --text:         #f2f0bc;              /* cream — his rim light */
  --text-muted:   #8fb0b8;              /* desaturated petrol, reads as instrument grey */
  --text-faint:   #7ea0aa;              /* AA on ALL THREE grounds (worst 4.55:1 on
                                           --ink-raised). The earlier #5b7f89 was 3.4:1 and
                                           was used at MICRO sizes, where 'AA-large' does
                                           not apply. Measured, not eyeballed. */
  --text-on-lime: #0a2b36;

  /* ---- type (families locked by type-stack.md; swap here only) ---- */
  --ff-display: 'Montagu Slab', 'Iowan Old Style', Georgia, serif;
  --ff-body:    'Literata', 'Iowan Old Style', Georgia, serif;
  --ff-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* ---- scale ---- */
  --fs-hero:   clamp(2.4rem, 7vw, 5.6rem);
  --fs-h2:     clamp(1.5rem, 3.4vw, 2.6rem);
  --fs-entry:  clamp(1.15rem, 2.3vw, 1.75rem);
  --fs-body:   clamp(1rem, 1.35vw, 1.125rem);
  --fs-mono:   clamp(0.7rem, 1.05vw, 0.8125rem);
  --fs-micro:  clamp(0.625rem, 0.9vw, 0.6875rem);

  /* ---- rhythm: strictly monotonic ---- */
  --sp-1: 0.5rem;  --sp-2: 0.875rem; --sp-3: 1.25rem; --sp-4: 2rem;
  --sp-5: 3.25rem; --sp-6: 5rem;     --sp-7: 8rem;    --sp-8: 12rem;

  --measure: 34rem;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --maxw: 78rem;
}
