/* Hallmark · tokens · Dmzphoto
 * theme: Atelier-register (catalog, editorial genre) · paper: light · display: classical-serif · accent: warm
 */
:root {
  /* Colour — warm ivory paper, oxblood/terracotta accent (anchor hue ~34–70) */
  --color-paper:    oklch(97% 0.012 70);
  --color-paper-2:  oklch(94% 0.014 68);
  --color-rule:     oklch(85% 0.012 65);
  --color-neutral:  oklch(58% 0.014 60);
  --color-muted:    oklch(42% 0.012 55);
  --color-ink:      oklch(19% 0.014 50);
  --color-ink-2:    oklch(30% 0.013 52);
  --color-accent:   oklch(40% 0.150 32);
  --color-focus:    oklch(52% 0.160 34);
  --color-error:    oklch(52% 0.190 24); /* form validation only — distinct from brand accent */

  /* Type */
  --font-display: "Cormorant Garamond", ui-serif, Georgia, serif;
  --font-body:    "EB Garamond", ui-serif, Georgia, serif;
  --font-outlier: "Geist Mono", ui-monospace, monospace;

  --text-xs:      0.64rem;
  --text-sm:      0.8rem;
  --text-base:    1rem;
  --text-md:      1.25rem;
  --text-lg:      1.5625rem;
  --text-xl:      1.9531rem;
  --text-2xl:     2.4414rem;
  --text-3xl:     3.0518rem;
  --text-4xl:     3.8147rem;
  --text-display:   clamp(2.5rem, 4vw + 1rem, 4.25rem);
  --text-display-s: clamp(2rem, 2.6vw + 1rem, 3.25rem);

  /* Space — 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;
  --space-4xl: 9rem;

  /* Motion */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.7, 0, 0.84, 0);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro:   120ms;
  --dur-short:   220ms;
  --dur-long:    420ms;
  --dur-ambient: 900ms; /* slow crossfades — hero photo rotator, not UI feedback */
  --ease-lamp:   cubic-bezier(0.34, 1.5, 0.64, 1); /* slight overshoot — the nav lamp settling, stands in for a spring */

  /* Structure */
  --rule-hair:    1px;
  --radius-sm:    2px;
  --radius-pill:  999px;
  --page-gutter:  clamp(1.25rem, 4vw, 3rem);

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