/* ═══════════════════════════════════════════════════════════════════════════
   DISCURSA PAPER THEME — the shared half
   ═══════════════════════════════════════════════════════════════════════════

   Only what was byte-identical across every page that had it. The palette as a
   whole is NOT shared and should not be: the pages disagree on purpose. --ink
   has five different values across the site and --gold four, because the site
   is mid-migration from a dark theme — each page still carries a dark :root
   with body.theme-hybrid layered over it to repaint it as paper. Moving the
   conflicting tokens into one file would not remove that confusion, it would
   relocate it.

   What IS identical is this overlay itself, copied verbatim into ten pages.
   That is the nav.css situation exactly: one definition, ten hand-maintained
   copies, and nothing keeping them in step.

   index.html deliberately does not use this file. Its overlay carries the same
   values in a different order plus an extra rule, and its ::before opacity is
   0.35 against 0.3 here — a real difference on the dark hero, not drift.

   Link this AFTER the page's own <style> block, so a page can still override a
   token if it needs to.
   ═══════════════════════════════════════════════════════════════════════════ */

/* Reset. Identical on every page that carries it. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* The paper repaint. Layered over each page's legacy dark :root — which is why
   --gold resolves to teal here: on the paper theme teal is the working colour
   and real gold moved to --brand. That inversion is confusing and worth undoing
   one day; it is preserved exactly for now because ten pages depend on it. */
body.theme-hybrid {
  --bg:#faf8f3;
  --card:#ffffff;
  --ink:#1a1a17;
  --ink-60:#544f43;
  --ink-45:#6b675c;
  --gold:#0e6b64;
  --gold-faint:rgba(14,107,100,0.2);
  --serif:'Playfair Display', Georgia, serif;
  --mono:'DM Sans','Helvetica Neue', sans-serif;
  --brand:#c9a96e;
}

/* The noise texture is shared by both themes; the paper one wants it fainter. */
body.theme-hybrid::before { opacity:0.3; }
