/* Hallmark tokens · theme: Garden (catalog) · paper: light · display: organic roman serif · accent: leaf-green
 * Every colour and font on the page resolves through this file.
 */

:root {
  /* Paper → ink, tinted toward the botanical anchor */
  --color-paper:    oklch(95.5% 0.022 92);
  --color-paper-2:  oklch(92.5% 0.026 92);
  --color-paper-3:  oklch(88.5% 0.030 90);
  --color-rule:     oklch(83%   0.028 115);
  --color-rule-2:   oklch(62%   0.045 132);
  --color-muted:    oklch(46%   0.040 138);
  --color-neutral:  oklch(40%   0.045 142);
  --color-ink-2:    oklch(33%   0.050 150);
  --color-ink:      oklch(24%   0.052 152);

  /* One accent (leaf-green), one rare pop (clay) */
  --color-accent:     oklch(47% 0.13 140);
  --color-accent-2:   oklch(54% 0.14 46);
  --color-accent-ink: oklch(96% 0.02 92);
  --color-focus:      oklch(47% 0.13 140);
  --color-error:      oklch(50% 0.16 32);

  /* Photo-slot surfaces */
  --color-slot:       oklch(89% 0.034 108);
  --color-slot-line:  oklch(78% 0.040 120);

  /* Type — two families: display + reading serif */
  --font-display: "Young Serif", ui-serif, Georgia, serif;
  --font-body:    "Newsreader", ui-serif, Georgia, serif;

  --text-xs:   0.8125rem;
  --text-sm:   0.9375rem;
  --text-base: 1.1875rem;
  --text-md:   1.3125rem;
  --text-lg:   1.625rem;
  --text-xl:   2rem;
  --text-2xl:  2.5rem;
  --text-display:   clamp(2.85rem, 5.2vw + 1rem, 5rem);
  --text-display-s: clamp(2.1rem, 3.2vw + 1rem, 3.25rem);

  --lh-tight:   1.06;
  --lh-snug:    1.22;
  --lh-body:    1.65;

  --tracking-display: -0.006em;
  --tracking-caps:    0.07em;

  /* 4pt spacing 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: 6.5rem;
  --space-4xl: 10rem;

  --page-max:    78rem;
  --page-gutter: clamp(1rem, 4vw, 3rem);
  --measure:     40rem;

  --rule-hair: 1px;
  --radius-input: 8px;

  --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:  560ms;

  --z-base:   1;
  --z-raised: 10;
}
