/* Hallmark · tokens · theme: Atelier (patisserie tuning)
 * axes: paper-band light · display high-contrast-serif · accent warm (framboise) · softened: cocoa ink, rounded, tinted rules
 */
/* Fraunces draws a swash ampersand; borrow a plain one for "&" only */
@font-face {
  font-family: "Plain Amp";
  src: local("Georgia"), local("Times New Roman");
  unicode-range: U+0026;
}

:root {
  /* Colour — white paper, espresso ink, framboise accent */
  --color-paper:        oklch(100% 0 0);
  --color-paper-2:      oklch(97% 0.010 75);
  --color-paper-3:      oklch(93.5% 0.016 70);
  --color-blush:        oklch(97% 0.014 25);
  --color-rule-blush:   oklch(87% 0.035 20);
  --color-surface:      oklch(100% 0 0);
  --color-ink:          oklch(31% 0.035 35);
  --color-ink-2:        oklch(48% 0.030 40);
  --color-ink-3:        oklch(60% 0.025 45);
  --color-rule:         oklch(89% 0.018 60);
  --color-rule-strong:  oklch(78% 0.025 50);
  --color-accent:       oklch(52% 0.135 12);
  --color-accent-deep:  oklch(45% 0.125 12);
  --color-accent-wash:  oklch(95.5% 0.022 15);
  --color-accent-ink:   oklch(98% 0.008 80);
  --color-gold:         oklch(70% 0.110 78);
  --color-honey:        oklch(68% 0.145 68);
  --color-pistachio:    oklch(47% 0.075 135);
  --color-night:        oklch(34% 0.035 30);
  --color-night-2:      oklch(28% 0.022 40);
  --color-night-ink:    oklch(93% 0.016 75);
  --color-night-muted:  oklch(74% 0.022 60);
  --color-night-rule:   oklch(36% 0.020 40);
  --color-error:        oklch(50% 0.180 27);
  --color-error-wash:   oklch(96% 0.025 27);
  --color-success:      oklch(48% 0.110 150);
  --color-focus:        oklch(55% 0.130 12);
  --color-scrim:        oklch(30% 0.030 35 / 0.35);
  --color-glass:        oklch(100% 0 0 / 0.94);

  /* Type */
  --font-display: "Plain Amp", "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body:    "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display-soft: "SOFT" 100, "WONK" 0;

  --text-2xs: 0.6875rem;
  --text-xs:  0.75rem;
  --text-sm:  0.875rem;
  --text-base: 0.9375rem;
  --text-md:  1.0625rem;
  --text-lg:  1.25rem;
  --text-xl:  1.5rem;
  --text-2xl: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --text-display: clamp(2rem, 1.4rem + 2.2vw, 2.875rem);
  --text-wordmark: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);

  /* Space — 4pt scale */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs:  0.75rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2rem;
  --space-xl:  3rem;
  --space-2xl: 4.5rem;
  --space-3xl: 7rem;

  /* Rules, radii */
  --rule-hair: 1px;
  --rule-firm: 1.5px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Soft elevation */
  --shadow-soft: 0 1px 2px oklch(31% 0.035 35 / 0.04), 0 8px 24px -8px oklch(31% 0.035 35 / 0.10);
  --shadow-lift: 0 2px 4px oklch(31% 0.035 35 / 0.05), 0 20px 40px -12px oklch(31% 0.035 35 / 0.18);

  /* 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-short: 160ms;
  --dur-med:   240ms;
}
