/* Hallmark · tokens · theme: custom (vibe: "quiet luxury, a little play, a little engineering")
 * axes: dark / classical-serif / cool
 */
:root {
  color-scheme: dark;

  /* Colour: anchor hue 250, taken from the Knova icon's blue ring */
  --color-paper:    oklch(14% 0.012 250);
  --color-paper-2:  oklch(17.5% 0.014 250);
  --color-paper-3:  oklch(22% 0.016 250);
  --color-rule:     oklch(30% 0.012 250);
  --color-neutral:  oklch(64% 0.012 250);
  --color-muted:    oklch(76% 0.010 250);
  --color-ink:      oklch(94% 0.008 250);
  --color-accent:   oklch(70% 0.15 250);
  --color-focus:    oklch(78% 0.13 250);

  /* Knob materials */
  --color-metal-hi: oklch(78% 0.008 250);
  --color-metal-lo: oklch(34% 0.010 250);
  --color-metal-mid: oklch(56% 0.010 250);
  --color-metal-edge: oklch(86% 0.006 250);
  --color-metal-sheen: oklch(96% 0.004 250 / 0.07);
  --color-shadow:   oklch(6% 0.010 250);
  --color-glass:    oklch(9% 0.010 250);
  --color-track:    oklch(26% 0.014 250);

  /* Type: system faces only, nothing downloaded */
  --font-display: "New York", ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --text-sm: 0.875rem;
  --text-base: 1.0625rem;
  --text-lg: clamp(1.25rem, 1rem + 0.8vw, 1.5rem);
  --text-2xl: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  --text-display: clamp(3rem, 1.25rem + 5.5vw, 7rem);

  /* 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: 6rem;
  --space-4xl: 9rem;
  /* side padding: fluid on small screens, then grows so content stays within --page-max */
  --page-max: 84rem;
  --page-gutter: max(clamp(1.25rem, 5vw, 5rem), calc((100% - var(--page-max)) / 2));
  --measure: 34rem;

  --rule-hair: 1px;
  --rule-thick: 2px;
  --radius-sm: 4px;

  /* 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;
}
