/* ═══════════════════════════════════════════════════
   THEME — CAFÉ
   Coffee shop in golden hour light.
   Walnut wood, bone china, brass fixtures.
   ───────────────────────────────────────────────────
   A theme file is a COLOUR SCRIPT and nothing else: one ground rod, five cues.
   Every surface, hairline, ink, hover, wash, shadow and foreground is derived
   from these numbers by the derivation block in 01-tokens.css, in both light
   and dark, once.

   This file used to be 130 lines because it restated every derived token three
   times — dark, light-by-class, light-by-media-query. Restating a derived value
   is also what silently disconnected the chroma rods in v0.2.0: the moment a
   theme re-declares --wal-accent with a number inlined, setting
   --wal-accent-chroma stops doing anything. There is nothing here to drift.

   Café used to restate walnut's default script, the terracotta one on :root in
   01-tokens.css. It now leads with the blue on the bone china instead, so that
   no two shipped palettes open on the same colour. A page that wants the old
   default needs no class at all.
═══════════════════════════════════════════════════ */

.wal-cafe,
[data-theme="cafe"],
[data-theme^="cafe-"] {
  /* ── The ground rod ── warm amber; walnut at the dark end, bone at the light */
  --wal-hue:    55;
  --wal-chroma: 0.04;

  /* ── The five cues ── the china leads and the room answers it.
     Bloom and cool are pinned. Their defaults step from the accent (+27° and
     +209°), which from a china blue lands on a violet and a lime: neither is in
     a coffee shop. */
  --wal-accent-hue: 258;  --wal-accent-chroma: 0.16;  /* china blue    */
  --wal-bloom-hue:  250;  --wal-bloom-chroma:  0.10;  /* glaze         */
  --wal-gold-hue:   85;   --wal-gold-chroma:   0.12;  /* brass         */
  --wal-olive-hue:  62;   --wal-olive-chroma:  0.11;  /* golden hour   */
  --wal-cool-hue:   50;   --wal-cool-chroma:   0.07;  /* walnut counter */

  /* Brass sits a stop under the shared 60% on paper: at 60 its badge type
     measures 4.57:1 on its own wash, at 59 it clears 4.6. */
  --wal-l-gold-light: 59%;
}
