/* Hallmark · token system: Querino · route: custom (tuned)
 * vibe: "marcenaria silenciosa, matéria quente, detalhe exato"
 * paper: oklch(95% 0.014 78) · accent: oklch(61% 0.12 67)
 * display: Cormorant Garamond · body: IBM Plex Sans
 * axes: light / roman-serif / chromatic-amber · v1.1.0
 */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-garamond-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("assets/fonts/ibm-plex-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-stretch: 100%;
  font-display: swap;
}

:root {
  --color-paper: oklch(95% 0.014 78);
  --color-paper-2: oklch(91% 0.018 75);
  --color-paper-3: oklch(87% 0.022 72);
  --color-ink: oklch(20% 0.022 55);
  --color-ink-2: oklch(31% 0.02 58);
  --color-muted: oklch(46% 0.016 62);
  --color-neutral: oklch(57% 0.014 67);
  --color-rule: oklch(75% 0.018 72);
  --color-rule-2: oklch(83% 0.016 74);
  --color-accent: oklch(61% 0.12 67);
  --color-accent-ink: oklch(20% 0.022 55);
  --color-focus: oklch(57% 0.2 62);
  --color-success: oklch(48% 0.1 145);
  --color-success-on-dark: oklch(78% 0.1 145);
  --color-error: oklch(48% 0.14 28);
  --color-error-on-dark: oklch(78% 0.12 28);
  --color-overlay: oklch(16% 0.022 55 / 0.58);

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "IBM Plex Sans", "Trebuchet MS", sans-serif;

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

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.25rem;
  --text-lg: 1.5625rem;
  --text-xl: 1.953rem;
  --text-2xl: 2.441rem;
  --text-3xl: 3.052rem;
  --text-4xl: 3.815rem;
  --text-display-s: clamp(2.5rem, 7vw, 4.5rem);
  --text-display: clamp(3rem, 7vw, 5.25rem);

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

  --rule-hair: 1px;
  --rule-strong: 2px;
  --radius-none: 0;
  --radius-sm: 0.25rem;
  --radius-round: 50%;

  --page-gutter: clamp(1rem, 4vw, 4.5rem);
  --page-max: 92rem;
  --measure: 65ch;
  --z-base: 1;
  --z-raised: 10;
  --z-sticky: 200;
}
