/* ─── VICTORIA PYTEL — TOKEN LAYER ───
   Structure, motion, atmosphere and the base reset. No colour of its own: the palette
   (Nectarina, light + dark + chapter grounds) lives only in ds-brand.css, and the reset
   reads its roles. Load order:
     <link rel="stylesheet" href="assets/ds-scale.css">
     <link rel="stylesheet" href="assets/ds-tokens.css">
     <link rel="stylesheet" href="assets/ds-brand.css">
   The coral layer this replaced (Nov 5 2026) is frozen for the archive in old/assets/ds-tokens.css. */

:root{
  /* structure — all on the space grid */
  --rail:128px;         /* --s-11 */
  --maxw:1328px;
  --gutter:40px;        /* --s-7 */
  --gutter-sm:24px;     /* --s-5 */
  --sec-y:min(15vh,128px);
  /* motion */
  --e-bloom:cubic-bezier(.16,.84,.24,1);--e-snap:cubic-bezier(.2,.9,.2,1);
  --e-veil:cubic-bezier(.7,0,.3,1);--e-knob:cubic-bezier(.5,1.55,.5,1);
  --d-tick:.12s;--d-fast:.4s;--d-base:.5s;--d-slow:.85s;--d-bloom:1.1s;--d-bg:1.3s;
  /* atmosphere */
  --fieldOp:.9;--foreOp:.32;--grainOp:.45;
}
html[data-theme="dark"]{--fieldOp:.95}

/* base reset — colours are ds-brand.css's roles */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:'Hanken Grotesk',system-ui,sans-serif;font-size:var(--t-body);background:var(--bg);color:var(--ink);line-height:var(--lh-body);overflow-x:hidden;transition:background var(--d-bg) ease;-webkit-font-smoothing:antialiased}
a{color:var(--ink);text-decoration:none}
a:hover{color:var(--rose-ink)}
img{display:block;max-width:100%}
::selection{background:var(--rose);color:#fff}
:focus-visible{outline:2px solid var(--rose-ink);outline-offset:var(--s-1);border-radius:var(--r-focus)}
