/* Hallmark · genre: modern-minimal · macrostructure: Letter (index) / Long Document (arch, privacy)
 * theme: custom (vibe: "warm oat, intimate, minimal" · paper oklch(97% 0.008 75) · accent oklch(52% 0.16 35) warm-amber)
 * display: Instrument Serif · body: Geist · outlier: Geist Mono
 * design-system: design.md · designed-as-app
 * pre-emit critique: P5 H5 E5 S4 R5 V4
 */

:root {
  /* ── Colour ── */
  --color-paper:    oklch(97% 0.008 75);
  --color-paper-2:  oklch(93% 0.012 75);
  --color-paper-3:  oklch(89% 0.014 75);
  --color-rule:     oklch(82% 0.010 75);
  --color-muted:    oklch(55% 0.008 75);
  --color-ink:      oklch(18% 0.012 75);
  --color-accent:   oklch(52% 0.16 35);
  --color-focus:    oklch(55% 0.19 35);

  /* ── Typography ── */
  --font-display: "Instrument Serif", Georgia, serif;
  --font-body:    "Geist", ui-sans-serif, system-ui, sans-serif;
  --font-outlier: "Geist Mono", ui-monospace, monospace;

  /* ── Type scale (major third 1.25) ── */
  --text-xs:      0.75rem;
  --text-sm:      0.875rem;
  --text-base:    1rem;
  --text-md:      1.125rem;
  --text-lg:      1.375rem;
  --text-xl:      1.75rem;
  --text-2xl:     2.25rem;
  --text-display: clamp(2.5rem, 5vw + 1rem, 4rem);

  /* ── Spacing (4pt scale) ── */
  --space-3xs: 0.125rem;
  --space-2xs: 0.25rem;
  --space-xs:  0.5rem;
  --space-sm:  0.75rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* ── Motion ── */
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.7, 0, 0.84, 0);
  --dur-short: 180ms;
  --dur-med:   280ms;

  /* ── Radius ── */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* ── Z-index ── */
  --z-base:     1;
  --z-raised:   10;
  --z-dropdown: 100;
  --z-sticky:   200;
  --z-modal:    400;
  --z-toast:    500;
}
