/* The Paper look: dark, quiet surfaces where live shaders (Paper Shaders, /assets/paper/fx.js) carry the colour.
   Shared by every page; page styles build on these names. */
@font-face{font-family:"Inter";font-style:normal;font-weight:100 900;font-display:swap;src:url("/assets/fonts/inter-latin.woff2") format("woff2")}
@font-face{font-family:"Instrument Serif";font-style:italic;font-weight:400;font-display:swap;src:url("/assets/fonts/instrument-serif-italic-latin.woff2") format("woff2")}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:100 800;font-display:swap;src:url("/assets/fonts/jetbrains-mono-latin.woff2") format("woff2")}
:root{
  color-scheme:dark;
  --bg:#0b0b0f; --bg-2:#111117; --surface:#16161d; --surface-2:#1d1d26; --line:rgba(255,255,255,.09); --line-2:rgba(255,255,255,.16);
  --text:#f3f1ec; --muted:#aaa7b6; --faint:#7c7989;
  --accent:#ffd447; --accent-ink:#17130a; --violet:#9f50d3; --pink:#f75092; --blue:#5b8cff; --mint:#7be0b4; --coral:#ff7a59;
  --paper:#f2efe7; --ink:#231e16;                       /* the ink figures keep their own paper cards */
  --sans:"Inter",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  --serif:"Instrument Serif",ui-serif,Georgia,serif;
  --mono:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
  --r:22px; --r-sm:14px; --gap:clamp(10px,1.2vw,16px);
  --shadow:0 1px 0 rgba(255,255,255,.05) inset,0 20px 50px -24px rgba(0,0,0,.7);
  --ease:cubic-bezier(.2,.8,.2,1);
}
:root[data-theme="light"]{
  color-scheme:light;
  --bg:#f4f2ee; --bg-2:#ebe8e2; --surface:#ffffff; --surface-2:#f6f4f0; --line:rgba(20,18,30,.10); --line-2:rgba(20,18,30,.18);
  --text:#16141c; --muted:#55525f; --faint:#6e6a78; --accent-ink:#17130a;
  --shadow:0 1px 0 rgba(255,255,255,.6) inset,0 18px 40px -26px rgba(20,18,30,.35);
}
