/* design idea: the palette and type are decisions encoded as variables, not prose.
   One ground, one ink, one accent (electric deep blue, the company's one color), one refined
   sans stack, one spacing rhythm. Every future surface imports this file; drift is
   a defect. Direction: the Mortar mark with the brick wordmark (brick-brand run, june 10 2026). */

:root {
  /* color — the decided palette */
  --ground: #F5F3EF;        /* warm near-white, the wall the work hangs on */
  --ink: #1C1814;           /* warm near-black, all structure and text */
  --ink-muted: #6E655B;     /* captions, provenance, secondary lines */
  --line: #E2DDD4;          /* hairline rules only, never borders-as-decoration */
  --accent: #1F30E8;        /* electric deep blue: the only color, small doses, never a wash */

  /* type — refined modern sans per BRAND.md font law; monospace only for literal code */
  --font-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text",
               "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --text-xs: 0.8125rem;     /* 13 — provenance, labels */
  --text-sm: 0.9375rem;     /* 15 — captions */
  --text-base: 1.0625rem;   /* 17 — body */
  --text-lg: 1.375rem;      /* 22 — standfirst */
  --text-xl: 1.875rem;      /* 30 — section heads */
  --text-2xl: 2.75rem;      /* 44 — display */
  --text-3xl: 4.25rem;      /* 68 — the big line */
  --track-tight: -0.022em;  /* display sizes only */
  --track-tighter: -0.034em;/* the big line only */
  --leading-body: 1.55;
  --leading-display: 1.06;
  --weight-body: 400;
  --weight-medium: 500;
  --weight-display: 650;

  /* space — one rhythm, chosen, not the framework default */
  --s1: 0.25rem;
  --s2: 0.5rem;
  --s3: 0.75rem;
  --s4: 1rem;
  --s5: 1.5rem;
  --s6: 2rem;
  --s7: 3rem;
  --s8: 4.5rem;
  --s9: 7rem;

  /* measure — body text never runs wide */
  --measure: 36em;
}
