/* Hallmark · tokens · genre: atmospheric · theme: Midnight · anchor hue: 250 (cool slate) · accent hue: 70 (amber) */
:root {
  color-scheme: dark;

  /* Paper: cool slate, elevation = lighter surface */
  --color-paper:        oklch(14%  0.012 250);
  --color-paper-2:      oklch(17.5% 0.014 250);
  --color-paper-3:      oklch(21%  0.016 250);
  --color-paper-4:      oklch(25%  0.018 250);
  --color-rule:         oklch(29%  0.016 250);
  --color-rule-2:       oklch(38%  0.016 250);

  /* Ink */
  --color-ink:          oklch(95%  0.006 250);
  --color-ink-2:        oklch(87%  0.008 250);
  --color-muted:        oklch(72%  0.012 250);
  --color-neutral:      oklch(64%  0.012 250);

  /* Accent: amber, matches the warm window light in the photography */
  --color-accent:       oklch(80%  0.155 70);
  --color-accent-hover: oklch(85%  0.140 72);
  --color-accent-ink:   oklch(20%  0.030 70);
  --color-accent-soft:  oklch(80%  0.155 70 / 0.10);
  --color-focus:        oklch(84%  0.150 72);
  --color-error:        oklch(72%  0.170 25);
  --color-success:      oklch(78%  0.140 150);

  /* Overlay modifiers (photo scrims, nav glass, bloom) */
  --color-scrim-strong: oklch(14%  0.012 250 / 0.94);
  --color-scrim-mid:    oklch(14%  0.012 250 / 0.55);
  --color-scrim-clear:  oklch(14%  0.012 250 / 0);
  --color-glass:        oklch(17.5% 0.014 250 / 0.72);
  --color-bloom:        oklch(80%  0.155 70 / 0.07);
  --color-shadow:       oklch(8%   0.010 250 / 0.55);

  /* Type */
  --font-display: "Geist", ui-sans-serif, system-ui, sans-serif;
  --font-body:    "Geist", ui-sans-serif, system-ui, sans-serif;
  --font-label:   "Geist Mono", ui-monospace, "SFMono-Regular", monospace; /* label register: small technical readouts + wordmark */

  --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:  clamp(1.75rem, 2.2vw + 1rem, 2.5rem);
  --text-3xl:  clamp(2.1rem, 3vw + 1rem, 3.5rem);
  --text-display: clamp(2.5rem, 5vw + 1rem, 5.25rem);

  --weight-body: 350;
  --weight-strong: 500;
  --weight-display: 650;

  --tracking-display: -0.035em;
  --tracking-tight:   -0.02em;
  --tracking-label:    0.12em;

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

  --page-gutter: clamp(1rem, 4vw, 4rem);
  --page-max:    84rem;
  --nav-height:  3.5rem;

  /* Radius */
  --radius-sm:   0.625rem;
  --radius-md:   1rem;
  --radius-lg:   1.5rem;
  --radius-pill: 999px;

  /* Rules */
  --rule-hair: 1px;

  /* 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-reveal: 900ms;

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