/* ============================================================
   LC-A — DAY palette
   ------------------------------------------------------------
   The html[data-mode="day"] block and nothing else. Extracted verbatim
   from the static site's five inline <style> blocks (COMPONENTS.md A2).

   Selected by the pre-paint script in <head>, which restores
   localStorage['lca-mode'] onto <html data-mode> BEFORE any stylesheet
   is applied (COMPONENTS.md B1 / risk register #1).

   The site's whole mode contract is exactly:
     localStorage['lca-mode'] in {'day','night'} -> <html data-mode>
   Nothing else. Any theme or plugin "dark mode" will fight it.
   ============================================================ */
html[data-mode="day"]{
  /* -- core: byte-identical on all five static pages -- */
  --bg:#fefdf9;
  --bg-2:#f1f0ec;
  --fg:#1a1a1a;
  --fg-soft:#3a3a3c;
  --muted:#6b6b6e;
  --excerpt-fg:#4a4a4d;
  --line:rgba(26,26,26,.16);
  --line-soft:rgba(26,26,26,.07);
  --pane-edge:rgba(255,255,255,.55);
  --motif:rgba(26,26,26,.22);
  --cast:rgba(8,10,16,.55);
  --cast-op:.62;
  --nav-bg:rgba(254,253,249,.66);
  --foot-mark-op:1;
  /* --excerpt-fg is one step darker than --muted — 7.74:1 on the footer's --bg-2 */

  /* -- page-scoped in the static site; declared here so one stylesheet serves
        every page. An unused custom property costs nothing, and the static
        site already shipped several of these unused per page (COMPONENTS.md A2). -- */
  --scrim:linear-gradient(180deg,rgba(18,18,20,.36)0%,rgba(18,18,20,.05)30%,rgba(18,18,20,.10)64%,rgba(18,18,20,.52)100%); /* index, orbit */
  --chip-on-bg:#1a1a1a;                           /* projects */
  --chip-on-fg:#fefdf9;                           /* projects */
  --field-bg:rgba(26,26,26,.02);                  /* studio, contact */
  --sb-thumb:rgba(26,26,26,.34);                  /* orbit */
  --sb-thumb-hover:rgba(26,26,26,.5);             /* orbit */
  --sb-track:rgba(26,26,26,.08);                  /* orbit */
}
