/* Hallmark tokens · genre: editorial · theme: studied-DNA (source: https://jalalsamfit.com/ + https://panaceapalm.com/) */

:root {
  /* Warm paper + espresso, with tomato reserved for small signals. */
  --color-paper: oklch(96% 0.015 75);
  --color-paper-2: oklch(92% 0.02 70);
  --color-paper-3: oklch(88% 0.024 68);
  --color-ink: oklch(19% 0.018 45);
  --color-ink-2: oklch(36% 0.016 45);
  --color-muted: oklch(48% 0.014 55);
  --color-rule: oklch(78% 0.02 70);
  --color-accent: oklch(53% 0.19 35);
  --color-accent-ink: oklch(96% 0.015 75);
  --color-focus: oklch(58% 0.22 35);
  --color-on-dark: oklch(96% 0.015 75);
  --color-focus-on-dark: oklch(92% 0.02 70);

  --font-display: "Instrument Serif", ui-serif, Georgia, serif;
  --font-body: "General Sans", ui-sans-serif, system-ui, sans-serif;

  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: 1.0625rem;
  --text-md: 1.1875rem;
  --text-lg: 1.375rem;
  --text-xl: clamp(1.75rem, 1.45rem + 1.2vw, 2.5rem);
  --text-2xl: clamp(2.5rem, 1.8rem + 2.8vw, 4.75rem);
  --text-display-s: clamp(3rem, 2rem + 4.2vw, 6.5rem);
  --text-display: clamp(4rem, 2rem + 7vw, 9rem);

  /* 4-point spacing 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: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;

  --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-fast: 120ms;
  --dur-base: 220ms;
  --dur-slow: 700ms;

  --rule-thin: 1px;
  --rule-double: 3px;
  --radius-sm: 0.125rem;
  --radius-md: 0.25rem;

  --content-max-width: 90rem;
  --reading-width: 68ch;
  --page-gutter: clamp(1rem, 3.5vw, 3rem);
  --masthead-height: 8rem;
}
