/* ============================================================
   LC-A — NIGHT palette
   ------------------------------------------------------------
   The html[data-mode="night"] 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="night"]{
  /* -- core: byte-identical on all five static pages -- */
  --bg:#0a0a0c;
  --bg-2:#141417;
  --fg:#f3f2ef;
  --fg-soft:#cdccc9;
  --muted:#8c8c91;
  --excerpt-fg:#b4b4b8;
  --line:rgba(243,242,239,.18);
  --line-soft:rgba(243,242,239,.07);
  --pane-edge:rgba(255,255,255,.16);
  --motif:rgba(243,242,239,.24);
  --cast:rgba(176,190,222,.24);
  --cast-op:.72;
  --nav-bg:rgba(10,10,13,.52);
  --foot-mark-op:1;
  /* --excerpt-fg is one step lighter than --muted — 8.90: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(3,3,4,.56)0%,rgba(3,3,4,.16)30%,rgba(3,3,4,.38)66%,rgba(3,3,4,.85)100%); /* index, orbit */
  --chip-on-bg:#f3f2ef;                           /* projects */
  --chip-on-fg:#0a0a0c;                           /* projects */
  --field-bg:rgba(243,242,239,.03);               /* studio, contact */
  --sb-thumb:rgba(243,242,239,.40);               /* orbit */
  --sb-thumb-hover:rgba(243,242,239,.6);          /* orbit */
  --sb-track:rgba(243,242,239,.08);               /* orbit */
}
