/* ============================================================
   WO! Studio — design tokens · single source of truth
   ------------------------------------------------------------
   Concept: THE DARKROOM — noise resolved into signal, blur into
   focus. Cool-tinted shadows, warm highlights, ONE warm accent
   that behaves like the only light in the room.
   Type: Newsreader (optical editorial display + italic) paired
   with Space Mono (technical "contact-sheet" workhorse).
   ============================================================ */
:root{
  /* ---- colour grade (cool shadow / warm light) ---- */
  --shadow:#0A0B0D;          /* page base — deepest cool shadow */
  --shadow-2:#0F1216;        /* raised surface */
  --shadow-3:#171B21;        /* lit surface / hairline panels */
  --paper:#ECE7DB;           /* warm highlight — primary ink on dark */
  --paper-2:#CBC5B6;         /* secondary warm */
  --paper-dim:#857F73;       /* muted label */
  --line:rgba(236,231,219,.12);
  --line-2:rgba(236,231,219,.055);
  --accent:#F2843A;          /* THE LIGHT — warm amber-ember (only accent) */
  --accent-soft:#F6A463;
  --accent-deep:#B85420;
  --accent-glow:rgba(242,132,58,.45);

  /* ---- type families ---- */
  --f-display:"Newsreader",Georgia,"Times New Roman",serif;
  --f-mono:"Space Mono",ui-monospace,SFMono-Regular,Menlo,monospace;

  /* ---- fluid type scale ---- */
  --step--1:clamp(.78rem,.74rem + .18vw,.88rem);
  --step-0:clamp(1rem,.96rem + .22vw,1.12rem);
  --step-1:clamp(1.25rem,1.05rem + .8vw,1.6rem);
  --step-2:clamp(1.7rem,1.35rem + 1.5vw,2.6rem);
  --step-3:clamp(2.4rem,1.7rem + 2.9vw,4.2rem);   /* ×φ from step-2 (2.6) */
  --step-4:clamp(3.1rem,1.85rem + 5.7vw,6.8rem);  /* ×φ from step-3 (4.2) */
  --step-5:clamp(3.6rem,1.7rem + 8.4vw,9.5rem);   /* deliberate cap below φ (≈11) */
  --step-6:clamp(4.2rem,1rem + 13.5vw,15rem);     /* hero / wordmark */
  --phi:1.618;                                    /* golden ratio — the scale above (steps 1→4) and key layout proportions track φ */

  /* ---- layout ---- */
  --gutter:clamp(20px,4.4vw,76px);
  --maxw:1720px;
  --col-gap:clamp(16px,1.8vw,30px);

  /* ---- motion tokens (reused everywhere) ---- */
  --t-fast:.35s;
  --t-base:.7s;
  --t-slow:1.2s;
  --t-xslow:1.9s;
  --e-out:cubic-bezier(.16,1,.3,1);      /* primary decelerate reveal */
  --e-inout:cubic-bezier(.76,0,.24,1);   /* large symmetrical moves */
  --e-soft:cubic-bezier(.22,1,.36,1);    /* gentle settle */

  --z-grain:120; --z-cursor:200; --z-nav:90; --z-intro:400;
}

/* ---- LIGHT GRADE (toggle) — warm paper, dark ink, deepened amber ---- */
[data-theme="light"]{
  --shadow:#EDE7DA;          /* page base — warm paper */
  --shadow-2:#E4DCCB;
  --shadow-3:#D8CFBB;
  --paper:#1B1815;           /* primary ink (dark) */
  --paper-2:#4A4337;
  --paper-dim:#7C7464;
  --line:rgba(27,24,21,.16);
  --line-2:rgba(27,24,21,.07);
  --accent:#C2611F;          /* deepened for contrast on light */
  --accent-soft:#D8843E;
  --accent-deep:#8E3F10;
  --accent-glow:rgba(194,97,31,.38);
}
