/* ExploreBucks design tokens.
   Layout: a daily edition under a nameplate. The traced Explore B mark opens the page on the
   brand's own green-to-black fade; the day's lead runs as a magazine cover with the tear-off
   date tile pinned to it; the day unfolds in time order; a schematic county map does the
   wayfinding. Mobile first. One deep-green look, by choice (no light theme).
   Greens are sampled from the ExploreBucks announcement post.

   Seasons: js/app.js sets <html data-season="...">. Each season only overrides tokens below.
   Special editions: js/app.js sets <html data-edition="..."> on the edition's date (see
   js/config.js specialEditions). An edition may re-color the whole site by overriding tokens,
   as the Crossing edition does at the bottom of this file. */
:root{
  /* brand greens */
  --pine:#1d4217;           /* the brand green: left edge of the ExploreBucks fade */
  --hemlock:#11280f;        /* page ground: the middle of that fade */
  --hemlock-deep:#0a1a09;   /* sunk panels, nav, footer */
  --night:#040b04;          /* where the fade ends */
  --moss:#1a3b16;           /* raised surfaces, map land */
  --moss-hi:#224a1d;        /* raised surface, hover */
  --fern:#32602a;           /* map edge, far ridge */
  --brand-fade:linear-gradient(90deg,var(--pine) 0%,var(--hemlock) 46%,var(--hemlock-deep) 78%,var(--night) 100%);

  /* inks */
  --limestone:#f3edda;      /* primary ink, the date tile, paper */
  --lichen:#b5c4a8;         /* secondary ink */
  --goldenrod:#edb949;      /* accent: today, picks, pins */
  --goldenrod-hi:#f4c866;
  --barn:#f08a69;           /* state: on now, ends tonight */
  --river:#8accc5;          /* the Delaware, demo notices */
  --paper-soft:#3d4f37;     /* quiet text on the paper band */

  /* the same colors as channels, for translucent rules, scrims and tints */
  --ink-rgb:243,237,218;
  --deep-rgb:10,26,9;
  --night-rgb:4,11,4;
  --tint-rgb:29,66,23;      /* the wash laid over stock photos so they sit in the palette */
  --gold-rgb:237,185,73;

  --line:rgba(var(--ink-rgb),.14);
  --line-strong:rgba(var(--ink-rgb),.3);
  --tile-rule:rgba(var(--deep-rgb),.32);
  --shadow:rgba(2,8,2,.5);

  /* seasonal hooks (autumn defaults) */
  --season-accent:var(--goldenrod);
  --ridge-far:var(--fern);
  --ridge-sun:var(--goldenrod);

  /* type */
  --font-display:"Young Serif",Georgia,"Times New Roman",serif;
  --font-text:"Newsreader",Georgia,"Times New Roman",serif;
  --font-body:"Figtree",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --font-label:"Barlow Condensed","Arial Narrow","Helvetica Neue",Arial,sans-serif;

  /* shape and motion */
  --r-s:3px;
  --r-m:6px;
  --r-l:12px;
  --ease:cubic-bezier(.2,.7,.2,1);
  --ease-out:cubic-bezier(.16,1,.3,1);
  --t-fast:.18s;
  --t:.32s;

  --gutter-l:max(16px,env(safe-area-inset-left,0px));
  --gutter-r:max(16px,env(safe-area-inset-right,0px));
  --nav-h:3.125rem;

  color-scheme:dark;
}

/* ---------- seasons ---------- */
:root[data-season="holiday"]{
  --season-accent:#e6efe9;
  --ridge-far:#d9dfd2;
  --ridge-sun:#f3edda;
}
:root[data-season="winter"]{
  --season-accent:#cfe3df;
  --ridge-far:#c9d3c4;
  --ridge-sun:#f3edda;
}
:root[data-season="spring"]{
  --season-accent:#f2a7b0;
  --ridge-far:#4f8a3e;
}
:root[data-season="summer"]{
  --season-accent:var(--river);
  --ridge-far:#3f7a38;
}

/* ---------- special edition: The Crossing (December 25) ----------
   A moonlit river night. The greens give way to deep blues, the paper cools to snow,
   and the gold stays as lantern light. */
:root[data-edition="crossing"]{
  --pine:#17365f;
  --hemlock:#0b1b35;
  --hemlock-deep:#071326;
  --night:#030915;
  --moss:#12284a;
  --moss-hi:#183460;
  --fern:#2c5488;

  --limestone:#eef3f8;
  --lichen:#a9bdd7;
  --goldenrod:#f2c25b;
  --goldenrod-hi:#f8d27c;
  --barn:#f0886a;
  --river:#a5d8ea;
  --paper-soft:#3b4a63;

  --ink-rgb:238,243,248;
  --deep-rgb:7,19,38;
  --night-rgb:3,9,21;
  --tint-rgb:23,54,95;
  --gold-rgb:242,194,91;
  --shadow:rgba(2,6,16,.55);

  --season-accent:#cfe6f5;
  --ridge-far:#dfeaf5;
  --ridge-sun:#f4f1e4;
}
