/* Palette trials for Jeremiah (Nov 11 call: "some blues ... more that fits the island feel", "a little brighter").
   The default (no attribute) is Maui, in ht.css. Others are active only with ?palette=<name> in the URL
   (assets/palettes.js sets html[data-palette]).
   Each block overrides the page tokens in ht.css and the five spot colours the live plates print with (--plate-*). */
/* Lagoon: white sand, ocean blue bands, the accent word in bright water blue, coral only in the plates. */
html[data-palette="lagoon"]{--mark:#0f6fa6;--paper:#f7f5ef;--paper-2:#e4eff5;--ink:#0f2f4f;--deep:#0b5a8a;--soft:#435a70;
  --clay:#1e9bd7;--clay-ink:#0f6fa6;--sage:#3fbfae;--sky:#2f9fe0;--rule:rgba(15,47,79,.18);--on-deep:#f7f5ef;--on-deep-soft:#d3e6f2;
  --hi-1:#ffc09c;--hi-2:#a8e0fb;--hi-3:#a6ecdc;
  --plate-paper:#f7f5ef;--plate-sky:#2f9fe0;--plate-clay:#f49a72;--plate-sage:#3fbfae;--plate-ink:#123f63}
/* Reef: seafoam paper, bright teal bands, coral accents. */
html[data-palette="reef"]{--mark:#c2401f;--paper:#f2f8f7;--paper-2:#dff0ee;--ink:#0d3539;--deep:#007480;--soft:#3f5f60;
  --clay:#ff7a59;--clay-ink:#c2401f;--sage:#5ccf8f;--sky:#19b6cf;--rule:rgba(13,53,57,.18);--on-deep:#f2f8f7;--on-deep-soft:#d0eef0;
  --hi-1:#ffc4ae;--hi-2:#bff2fa;--hi-3:#c9f2c0;
  --plate-paper:#f2f8f7;--plate-sky:#19b6cf;--plate-clay:#ff8a6a;--plate-sage:#5ccf8f;--plate-ink:#0b4f57}
/* Sunny: warm white, clear-sky blue bands, a mango-sun accent. */
html[data-palette="sunny"]{--mark:#a8580a;--paper:#fcf9f1;--paper-2:#eaf2fb;--ink:#16284a;--deep:#1f66c1;--soft:#475570;
  --clay:#f5a83a;--clay-ink:#a8580a;--sage:#5cbf86;--sky:#4aa8ec;--rule:rgba(22,40,74,.18);--on-deep:#fcf9f1;--on-deep-soft:#dde9f9;
  --hi-1:#ffd27a;--hi-2:#d2ebff;--hi-3:#c4f2d0;
  --plate-paper:#fcf9f1;--plate-sky:#4aa8ec;--plate-clay:#f5a83a;--plate-sage:#5cbf86;--plate-ink:#1d3a66}

/* Before: the oat paper, green-black ink and clay accent the site launched with (2026-11-09). */
html[data-palette="before"]{--mark:#b0583a;--hi-warm:#f0a583;--paper:#f1ebdf;--paper-2:#e8e0cf;--ink:#22302d;--deep:#1f3835;--sage:#78a476;--clay:#d67c58;--clay-ink:#b0583a;--sky:#78b0d0;--soft:#4c5a56;
  --rule:rgba(34,48,45,.18);--on-deep:#f1ebdf;--on-deep-soft:#cfdad3;
  --hi-1:#f0a583;--hi-2:#a5d0e8;--hi-3:#a9cfa5;--plate-paper:#f1ebdf;--plate-sky:#78b0d0;--plate-clay:#d67c58;--plate-sage:#78a476;--plate-ink:#243e3a}

/* the chooser (only rendered in trial mode) */
.pal{position:fixed;left:16px;bottom:16px;z-index:20;display:flex;gap:6px;align-items:center;padding:6px;border-radius:999px;background:rgba(255,255,255,.92);box-shadow:0 4px 24px rgba(0,0,0,.14);font:500 14px var(--sans);color:#1b2b2b}
.pal span{padding:0 8px 0 10px;color:#5a6464}
.pal button{min-height:36px;padding:0 14px;border:0;border-radius:999px;background:transparent;font:inherit;color:inherit;cursor:pointer}
.pal button[aria-pressed="true"]{background:#1b2b2b;color:#fff}
@media (max-width:520px){.pal{left:8px;right:8px;bottom:8px;justify-content:center}.pal span{display:none}.pal button{padding:0 10px}}
