/* Hallmark · tokens · genre: atmospheric · theme: Midnight (Night Foundry drop)
 * paper band: dark (L 13%) · display style: classical-serif (roman) · accent hue: warm amber
 * Portable design system for the Jay Jay photography site.
 */

:root {
  /* ---- Colour (OKLCH) ---------------------------------------------- */
  --color-paper:      oklch(13% 0.012 62);
  --color-paper-2:    oklch(17% 0.014 62);
  --color-paper-3:    oklch(22% 0.016 62);
  --color-ink:        oklch(95% 0.008 72);
  --color-ink-2:      oklch(76% 0.010 72);
  --color-ink-3:      oklch(59% 0.010 72);
  --color-line:       oklch(30% 0.012 62);
  --color-accent:     oklch(79% 0.135 68);
  --color-accent-dim: oklch(64% 0.110 68);
  --color-ember:      oklch(65% 0.155 34);
  --color-focus:      oklch(86% 0.140 68);
  --color-scrim:      oklch(8% 0.010 62 / 0.72);

  /* ---- Type -------------------------------------------------------- */
  --font-display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-meta:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --text-display:   clamp(3rem, 9vw + 0.5rem, 7.5rem);
  --text-display-s: clamp(2.4rem, 5.5vw + 0.5rem, 4.6rem);
  --text-4xl:       clamp(2rem, 3.4vw + 0.5rem, 3rem);
  --text-2xl:       clamp(1.35rem, 1.2vw + 0.9rem, 1.75rem);
  --text-lg:        clamp(1.05rem, 0.4vw + 0.95rem, 1.2rem);
  --text-base:      1rem;
  --text-sm:        0.875rem;
  --text-xs:        0.75rem;

  /* ---- Space (4 pt scale) ------------------------------------------ */
  --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: 7rem;
  --space-4xl: 11rem;

  /* ---- Line, radius, motion ---------------------------------------- */
  --rule-hair: 1px;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-pill: 999px;

  --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-fast: 160ms;
  --dur-mid:  320ms;
  --dur-slow: 700ms;
}
