/* ==========================================================================
   Blueprint & Brick — tokens.css
   Exported from the design system "Blueprint & Brick — Design System"
   (project/tokens.json, v1) · 2026-11-15 · 04_design
   Source of truth: tokens.json. Do not edit values here by hand;
   change tokens.json first, then re-export.

   Themes
   - Light (documents): the default on :root.
   - Dark (brand / website): <html data-theme="dark">. The website runs Dark.
   Use the semantic tokens (--bg, --text, --accent…) in components;
   the palette tokens are for the few places a fixed colour is required
   (e.g. the camel rule, which is always camel on Prussian).
   ========================================================================== */

/* ---------- Fonts (self-hosted; no Google Fonts) ----------
   Paths are relative to this file. Cormorant files come from
   04_design/brand-assets/fonts/. Frank Ruhl Libre and Assistant (OFL)
   are downloaded at build time into the same folder. */

:root {
  /* ---------- Palette ---------- */
  --prussian-blue: #1B3A4B;
  --camel: #C8A97E;          /* on Prussian only — never text on white/limestone */
  --limestone: #EDE4D6;
  --antique-brass: #8E6B3E;  /* accent on light grounds */
  --deep-ink: #0F1C24;
  --white: #FFFFFF;
  --paper: #F7F5F1;          /* neutral support */
  --hairline: #E2DCD2;       /* neutral support */
  --stone-grey: #6B665F;     /* neutral support */

  /* ---------- Semantic — Light (default) ---------- */
  --bg: var(--white);
  --bg-subtle: var(--paper);
  --surface-brand: var(--prussian-blue);
  --text: var(--deep-ink);
  --text-muted: var(--stone-grey);
  --text-brand: var(--prussian-blue);
  --accent: var(--antique-brass);
  --border: var(--hairline);

  /* ---------- Type families ---------- */
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-hebrew: "Frank Ruhl Libre", "Cormorant Garamond", Georgia, serif;
  --font-sans: Assistant, "Segoe UI", system-ui, sans-serif;

  /* ---------- Type scale (size / line-height / weight) ---------- */
  --type-display-size: 64px;  --type-display-lh: 68px;  --type-display-weight: 500;
  --type-h1-size: 44px;       --type-h1-lh: 52px;       --type-h1-weight: 500;
  --type-h2-size: 32px;       --type-h2-lh: 40px;       --type-h2-weight: 500;
  --type-h3-size: 24px;       --type-h3-lh: 32px;       --type-h3-weight: 600;
  --type-quote-size: 26px;    --type-quote-lh: 36px;    --type-quote-weight: 500;
  --type-he-h1-size: 40px;    --type-he-h1-lh: 52px;    --type-he-h1-weight: 500;
  --type-he-h2-size: 30px;    --type-he-h2-lh: 40px;    --type-he-h2-weight: 500;
  --type-he-h3-size: 22px;    --type-he-h3-lh: 32px;    --type-he-h3-weight: 500;
  --type-body-lg-size: 18px;  --type-body-lg-lh: 30px;  --type-body-lg-weight: 400;
  --type-body-size: 16px;     --type-body-lh: 26px;     --type-body-weight: 400;
  --type-body-sm-size: 14px;  --type-body-sm-lh: 22px;  --type-body-sm-weight: 400;
  --type-label-size: 15px;    --type-label-lh: 20px;    --type-label-weight: 500;
  --type-eyebrow-size: 12px;  --type-eyebrow-lh: 16px;  --type-eyebrow-weight: 600; --type-eyebrow-tracking: 0.18em;
  --type-caption-size: 12px;  --type-caption-lh: 18px;  --type-caption-weight: 400;
  /* Rule: Cormorant (--font-display) never below 16px. */

  /* ---------- Spacing ---------- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;

  /* ---------- Radius ---------- */
  --radius-none: 0px;   /* default: blocks, images, sections */
  --radius-sm: 2px;     /* buttons, inputs */
  --radius-md: 4px;     /* cards */
  --radius-full: 9999px;/* only round elements */

  /* ---------- Stroke ---------- */
  --stroke-hairline: 1px;
  --stroke-icon: 1.5px;
}

/* ---------- Semantic — Dark (brand / website) ---------- */
[data-theme="dark"] {
  --bg: var(--prussian-blue);
  --bg-subtle: var(--deep-ink);
  --surface-brand: var(--deep-ink);
  --text: var(--limestone);
  --text-muted: var(--camel);
  --text-brand: var(--limestone);
  --accent: var(--camel);
  --border: #C8A97E59; /* camel at 35% */
}