/* Everholt & Co. · V2 · 01 tokens — "Plum ledger" (direction A, owner pick 2026-11-06 ET, amended the same day:
   lighter warm paper, the plum carries the Call, ink only on the footer).
   The only file with raw colour values. Every colour on the site, in CSS and in drawn figures, resolves to one of these. */
@layer tokens, reset, layout, components, signature, build;

@layer tokens {
:root {
  color-scheme: light;   /* the site is one light system; form controls and scrollbars follow it on dark-mode devices */
  /* ---- grounds ---- */
  --g-page:  #FDFBF8;   /* page paper, light warm */
  --g-alt:   #F5F0EA;   /* the alternate band */
  --g-frame: #FFFFFF;   /* plates, cards, tables */
  --g-tint:  #F6ECF2;   /* the plum wash: statement band, selected states */
  --g-ink:   #1F161B;   /* one ink: the footer */
  --g-foot:  #170F13;
  --print-ink: #000;   /* print only: the document card's rules on paper (F-41, d2g) */
  --g-hero:  var(--g-page);

  /* ---- text ---- */
  --t-head:  #1F161B;
  --t-body:  #2F262B;
  --t-soft:  #554A50;   /* 7.6:1 on page */
  --t-muted: #6C6066;   /* 5.3:1 on page, 4.9:1 on alt */
  --t-on-ink:      #F8F2EF;
  --t-on-ink-soft: #CBBDC3;

  /* ---- rules: three hairline strengths, one on ink ---- */
  --r-1: #ECE5DD;
  --r-2: #DDD2C8;
  --r-3: #B5A69C;
  --r-field: #8F7F74;        /* form field and radio borders: 3.7:1 on the page, 3.4:1 on the alternate band (WCAG 1.4.11) */
  --r-field-hover: #6F6157;
  --r-on-ink: rgba(248, 242, 239, 0.18);

  /* ---- the accent and the action ---- */
  --accent:        #6B2A5B;   /* plum: links, labels, figure marks, the plate corner */
  --accent-strong: #521D45;
  --accent-tint:   #F1E3EC;
  --accent-on-ink: #E2B8D5;
  --call:          #6B2A5B;   /* the one action colour: the Call button, the call bar, a form's send */
  --call-text:     #FDFBF8;   /* 9.5:1 on the call */
  --call-hover:    #521D45;
  --focus:         #6B2A5B;   /* 2 px ring at 3 px offset, on every ground */
  --scroll-thumb:  #B99AB0;   /* thin scrollbars in a muted plum; plum on hover */

  /* ---- states ---- */
  --good: #2E6A48; --good-tint: #E7F1EA;
  --caution: #85560F; --caution-tint: #F6EDDA;
  --stop: #9A2B2B; --stop-tint: #F8E6E4;

  /* ---- figures and maps ---- */
  --fig-wash: #F5F0EA; --fig-line: #B5A69C; --fig-line-fill: #DDD2C8;

  /* ---- type ---- */
  --font-display: "Newsreader", "Newsreader Fallback", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-text:    "IBM Plex Sans", "IBM Plex Sans Fallback", "Helvetica Neue", Arial, sans-serif;
  --font-mono:    "IBM Plex Mono", "IBM Plex Mono Fallback", ui-monospace, Menlo, Consolas, monospace;
  --font-num:     var(--font-display);
  --font-brief:   var(--font-display);
  --font-q:       var(--font-display); --w-q: 500; --fs-q: 1.3rem;
  --fs-body: 1.0625rem; --lh-body: 1.65; --fs-small: 0.95rem; --fs-label: 0.78rem; --fs-chip: 0.84rem; --fs-nav: 0.95rem;
  --fs-btn: 0.98rem; --fs-btn-lg: 1.02rem;
  --fs-h1: clamp(2.65rem, 1.45rem + 4.1vw, 4.75rem); --lh-h1: 1.02; --track-h1: -0.022em; --w-h1: 430; --var-h1: "opsz" 72;
  --fs-h2: clamp(1.95rem, 1.35rem + 2vw, 3.05rem);   --lh-h2: 1.08; --track-h2: -0.015em; --w-h2: 430; --var-h2: "opsz" 60;
  --fs-h2-xl: clamp(2.3rem, 1.4rem + 3vw, 3.7rem);
  --fs-h3: 1.32rem; --fs-h3-lg: clamp(1.5rem, 1.2rem + 1vw, 2rem); --w-h3: 500;
  --fs-lede: clamp(1.13rem, 1.05rem + 0.35vw, 1.3rem); --fs-intro: 1.1rem; --fs-brief: clamp(1.2rem, 1.1rem + 0.45vw, 1.45rem);
  --fs-plate-title: 1.45rem; --fs-rate: clamp(1.7rem, 1.4rem + 1vw, 2.2rem); --fs-stat: clamp(2.6rem, 2rem + 2vw, 3.6rem); --w-stat: 400;
  --fs-quote: 1.35rem; --w-quote: 430; --fs-statement: clamp(2rem, 1.3rem + 2.6vw, 3.4rem);
  --label-track: 0.08em; --label-case: uppercase;
  --text-features: "kern", "liga";

  /* ---- space, frames, motion ---- */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px; --s-6: 24px; --s-7: 32px; --s-8: 40px; --s-10: 56px; --s-12: 80px;
  --wrap: 1200px; --gutter: clamp(16px, 4vw, 40px); --band: clamp(64px, 8vw, 120px); --band-sm: clamp(40px, 5vw, 64px);
  --radius-btn: 2px; --radius-plate: 2px; --radius-tile: 0; --radius-chip: 2px; --radius-step: 50%; --radius-field: 2px;
  --tile-bg: transparent; --tile-border: 0; --tile-pad: var(--s-6) 0 0; --tile-gap: var(--s-8) var(--s-8);
  --shadow-plate: 0 1px 0 rgba(31, 22, 27, 0.04), 0 18px 40px -24px rgba(31, 22, 27, 0.25);
  --shadow-panel: 0 16px 40px -18px rgba(31, 22, 27, 0.28);
  --shadow-field: 0 1px 2px rgba(31, 22, 27, 0.04);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1); --t-fast: 150ms; --t-med: 260ms;
}
}
