/* ELUVRA — THE TOKENS (look v3 "Glass", d8). BRAND KIT v3.1, Wed 18 Nov 2026 (v3.0 of Tue 17 Nov 2026 + SITE v4.2 brief §2: the type pair, the scale, five tiers, the stage).
   v3.1 is additive: every colour of v3.0 is unchanged; the Desk keeps BRAND KIT v3 (v3.0) until its restyle (#560).
   The only file with colour values. Every surface (site, Desk, sign-in, Instagram, PDFs, signatures) reads these and nothing else.
   Values = LOOK v3 GLASS brief §2, exactly, plus the Desk's page surface (DESK FIX LIST N87). The same values are in eluvra-tokens.json. */
:root{
  /* surfaces */
  --page:#FFFFFF;            /* the page */
  --paper:#FFFFFF;           /* every card */
  --glass:rgba(255,255,255,.86);  /* cards that sit over a picture, with the blur and saturate below */
  --glass-blur:20px;
  --glass-saturate:1.3;
  --desk-surface:#F4F4F2;    /* N87: the Desk page only, behind white cards and a white rail. The public site stays white */

  /* ink and bronze */
  --ink:#1A1714;             /* text, the one filled button, the footer: 17.8 to 1 on white */
  --ink-2:#4A4641;           /* notes: 9.4 */
  --ink-3:#5E5852;           /* labels, captions, sources: 7.0 */
  --bronze:#A68465;          /* the E, the wordmark, the 1 px line, the source square: marks and lines only, never text (3.4) */
  --bronze-ink:#73553A;      /* the italic turn, text links, the active tab: 6.8 */
  --hairline:#E4E2DF;        /* card edges, table lines */
  --hairline-card:#EFEDEA;   /* lines inside a card */
  --on-ink:#FFFFFF;          /* footer text: 17.8 */
  --on-ink-2:#C9C4BD;        /* footer notes: 10.3 */
  --bronze-light:#C9A57E;    /* bronze on ink: 7.8 */

  /* Desk time: Desk and Room only, always with a word */
  --late:#A63D2F;            /* white on it 6.3 */
  --today:#C9A57E;           /* ink on it 7.8 */
  --done:#2A6170;            /* white on it 6.9 */

  /* lift and corners */
  --lift:0 0 0 1px rgba(26,23,20,.07), 0 1px 2px rgba(26,23,20,.05), 0 18px 40px -18px rgba(26,23,20,.28);
  --r-card:16px;             /* cards */
  --r-glass:20px;            /* glass cards: 20 to 28 */
  --r-glass-l:28px;
  --r-picture:16px;          /* pictures: 16 to 28 */
  --r-picture-l:28px;
  --r-pill:999px;            /* buttons and tags */
  --r-field:12px;            /* fields */

  /* type (v3.1): Instrument Serif for headlines and display figures; Geist for everything you read or operate (the PDF reading face is in eluvra-tokens.json) */
  --font-head:"Instrument Serif",Georgia,serif;
  --font-ui:Geist,Arial,sans-serif;
  --head-weight:400;
  --button:600 15px/1 var(--font-ui);
  --label-track:.12em;

  /* the type scale (v3.1, SITE v4.2 brief §2): one set of steps per tier, set below. Nothing uses a size outside it */
  --t-hero:44px; --t-h1:38px; --t-display:35px; --t-h2:34px; --t-h3:24px; --t-fig:32px; --t-lede:18px; --t-body:16px; --t-note:14px; --t-src:13px; --t-label:12px;
  --body:400 var(--t-body)/1.55 var(--font-ui);
  --label:600 var(--t-label)/1.3 var(--font-ui);
  /* measures per tier: side gutter, space above a section, inside a card, between siblings, the bar, the phone dock, the wrap */
  --gut:20px; --sec:56px; --pad:20px; --gap:12px; --bar:56px; --dock:64px; --wrap:1320px;

  /* derived: no new hue, only white or ink at an opacity, kept here so no colour value sits outside this file */
  --glass-edge:inset 0 0 0 1px rgba(255,255,255,.7);
  --glass-lift:0 18px 40px -18px rgba(26,23,20,.35);
  --scrim:rgba(255,255,255,.9);   /* the budget buttons' ground on glass */

  /* derived (v3.1): the bar, the stage, definition. Still no new hue: white, ink or bronze at an opacity */
  --frost:#FFFFFF;                                                     /* the bar and the phone dock: solid white, the page rolls under them */
  --stage-glow:color-mix(in srgb,var(--bronze) 12%,transparent);      /* the stage: a bronze light in one corner */
  --stage-dot:color-mix(in srgb,var(--ink) 9%,transparent);           /* a 1 px dot every 22 px */
  --stage-edge:color-mix(in srgb,var(--ink) 8%,transparent);          /* its 1 px edge */
  --stage:radial-gradient(60% 90% at 100% 0,var(--stage-glow),transparent 70%),radial-gradient(var(--stage-dot) 1px,transparent 1.5px) 0 0/22px 22px,var(--paper);
  --pic-edge:inset 0 0 0 1px color-mix(in srgb,var(--ink) 8%,transparent);   /* every picture frame: a pale sky never dissolves into the page */
  --row-tint:color-mix(in srgb,var(--bronze) 5%,transparent);         /* a table row under the pointer */
  --lift-card:0 0 0 1px var(--hairline),0 1px 2px rgba(26,23,20,.04),0 24px 48px -28px rgba(26,23,20,.22);   /* every card: a hairline and lift */
  --lift-hover:0 0 0 1px var(--ink-3),0 28px 56px -28px rgba(26,23,20,.3);
  --lift-dock:0 0 0 1px var(--hairline),0 18px 40px -16px rgba(26,23,20,.35);
  --lift-seal:0 0 0 1px var(--hairline),0 10px 24px -12px rgba(26,23,20,.3);
  --lift-form:inset 0 0 0 1px rgba(255,255,255,.9),0 0 0 1px var(--hairline),0 28px 56px -28px rgba(26,23,20,.3);   /* the brief on glass over the stage */
}
/* the five tiers (v3.1): phone < 600 · tablet 600–899 · landscape 900–1279 · desktop 1280–1679 · wide >= 1680 (wrap 1,600) */
@media (min-width:600px){:root{--t-hero:64px;--t-h1:52px;--t-display:50px;--t-h2:44px;--t-h3:26px;--t-fig:38px;--t-lede:19px;--t-body:17px;--gut:32px;--sec:72px;--pad:24px;--gap:16px;--dock:0px}}
@media (min-width:900px){:root{--t-hero:52px;--t-h1:60px;--t-display:44px;--t-h2:48px;--t-h3:28px;--t-fig:40px;--gut:48px;--sec:88px;--pad:28px;--gap:20px;--bar:72px}}
@media (min-width:1280px){:root{--t-hero:76px;--t-h1:68px;--t-display:52px;--t-h2:54px;--t-h3:28px;--t-fig:44px;--t-lede:20px;--t-note:15px;--gut:64px;--sec:104px;--pad:32px;--gap:24px}}
@media (min-width:1680px){:root{--t-hero:92px;--t-h1:84px;--t-display:64px;--t-h2:64px;--t-h3:32px;--t-fig:52px;--t-lede:22px;--t-body:18px;--t-note:16px;--t-src:14px;--t-label:13px;--gut:80px;--sec:128px;--pad:40px;--gap:28px;--wrap:1600px}}
