/* Hallmark · genre: editorial · macrostructure: Letter · theme: Atelier (Cyrillic substitution: Cormorant Garamond + EB Garamond) · enrichment: none · nav: N9 · footer: Ft6
 * tone: строгий, статусный · anchor hue: 85 (ivory-warm) · accent: bordeaux ~2%
 * Hallmark · pre-emit critique: P5 H4 E4 S4 R5 V4
 * contrast: pass (40–41) · slop: pass (42–45) · honest: pass (46) · chrome: pass (47) · tokens: pass (48) · responsive: pass (49) · icons: pass (30) · mobile: pass (34, 49, 50–57)
 */
:root {
  /* Colour — ivory paper · graphite ink · bordeaux accent */
  --color-paper:    oklch(96.5% 0.012 85);
  --color-paper-2:  oklch(93.5% 0.014 85);
  --color-rule:     oklch(84%   0.012 85);
  --color-neutral:  oklch(46%   0.015 60);
  --color-ink:      oklch(21%   0.014 55);
  --color-accent:   oklch(42%   0.13  20);
  --color-focus:    oklch(45%   0.15  20);

  /* Type — 2 families, luxury free pairing (both with Cyrillic) */
  --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-body:    "EB Garamond", Georgia, "Times New Roman", serif;

  /* Scale — major third (1.25) от 18px письма */
  --text-sm:      0.875rem;
  --text-base:    1.1875rem;
  --text-md:      1.375rem;
  --text-lg:      1.75rem;
  --text-xl:      2.2rem;
  --text-display: clamp(2.4rem, 4.5vw + 1rem, 3.4rem);

  /* Space — 4pt */
  --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-micro: 120ms;
  --dur-long:  420ms;

  /* Misc */
  --page-gutter: clamp(1.25rem, 5vw, 4rem);
  --rule-hairline: 1px solid var(--color-rule);
}
