/* Gala UI pack · Wheat — the field at the end of the afternoon
 *
 * "Can we have a wheatish-coloured background for all these canvases? It
 *  should be muted, not glossy, but our canvases can have a little bit of
 *  gloss. That's what I call SKY GLOSS. When you look at the sky, it has a
 *  certain gloss that it doesn't scream gloss."  — Victor, 9 Sep 2026
 *
 * Two rules come straight out of that sentence and this pack is built on them.
 *
 *   THE GROUND IS MUTED.   Wheat is a low-chroma warm neutral, not a yellow.
 *                          Every stop here sits between 6% and 13% saturation.
 *                          Push it past that and it stops being a field and
 *                          starts being a highlighter.
 *   THE GROUND IS DARKER   than the canvases — deliberately inverted from the
 *                          other packs, where paper is the lightest surface.
 *                          A wheat field with pale canvases lifted off it is
 *                          the contrast Victor asked about, and it is what
 *                          makes the shadows mean anything.
 *
 * SINGLE LOOK, ON PURPOSE. There is no prefers-color-scheme block. Every other
 * pack carries one, and adding one here would mean a viewer in dark mode never
 * sees wheat — which is the one thing this pack exists to be. The palette is
 * committed, and every colour is stated rather than inherited, so it holds on
 * any host ground.
 *
 * The six panel tints keep the same discipline as the other packs: value
 * structure so the composition reads at a squint, a trace of the complement in
 * the peripheral panels so they grey and recede, and chroma highest at the
 * focal plane. Hues stay inside ~14°, so it reads as one late sun on several
 * surfaces rather than as six different papers.
 *
 * Text pairings computed against the surface each actually sits on:
 *   ink on card    #2A2318 on #F0E8D6 — 12.6:1
 *   ink on paper   #2A2318 on #CDBEA0 —  8.9:1
 *   muted on card  #6B5F4A on #F0E8D6 —  5.4:1
 *   crimson on card #9F3E29 on #F0E8D6 — 5.9:1
 */
:root{
  --paper:#CDBEA0;   /* THE FIELD — the darkest surface, not the lightest */
  --ink:#2A2318;
  --card:#F0E8D6;    /* the canvases, lifted off it */
  --rule:#D3C6AC;
  --muted:#6B5F4A;

  --sp-main:#F4EDDD;    /* focal plane — the essay, lightest and purest */
  --sp-talk:#F1E9D8;    /* the forehead, just behind it */
  --sp-line:#EFE6D3;    /* the mouth */
  --sp-ledger:#EAE3D4;  /* the ear — greyed a trace, recedes */
  --sp-figure:#E7E1D3;
  --sp-still:#E5DECF;
  --sp-poster:#E2DBCC;  /* the eyes sit deepest; their own bodies are dark */
  --sp-reel:#E2DBCC;
  --sp-setl:#EDE4CF;    /* the jaw carries the colour, so it keeps chroma */
  --sp-setr:#E9E4D6;

  /* accents kept earthy — a wheat field's own palette, not a UI kit's */
  --crimson:#9F3E29; --ochre:#B07C2E; --olive:#5C6B3C; --teal:#2F5A5E;

  /* SKY GLOSS. The sheen the sky has and does not announce: a graded lift
     across the top of a surface and a hairline where the light catches the
     edge. Read as tokens rather than hardcoded so a darker pack can dial it
     down without touching the layout stylesheet. */
  --gloss:rgba(255,255,255,.52);
  --gloss-edge:rgba(255,255,255,.72);
}
.gala-lit{
  background:
    radial-gradient(120% 90% at 18% 0%, color-mix(in srgb,var(--card) 90%,transparent) 0%, transparent 62%),
    radial-gradient(140% 120% at 82% 108%, color-mix(in srgb,var(--ink) 9%,transparent) 0%, transparent 58%),
    var(--paper);
  position:relative;
}
