/* Hallmark · custom (bespoke) · vibe: illuminated grimoire, dark vellum, gilt, candle-lit
 * paper oklch(16.5% 0.012 55) · accent gilt oklch(80% 0.115 84) · IM Fell English + Literata
 * axes: dark / classical-serif / warm
 */
:root {
  --color-paper: oklch(16.5% 0.012 55);
  --color-paper-2: oklch(20% 0.014 56);
  --color-paper-3: oklch(24.5% 0.017 58);
  --color-rule: oklch(34% 0.02 66);
  --color-rule-soft: oklch(27% 0.016 60);
  --color-ink: oklch(89% 0.028 84);
  --color-ink-2: oklch(76% 0.024 80);
  --color-ink-3: oklch(60% 0.02 76);
  --color-gilt: oklch(80% 0.115 84);
  --color-gilt-2: oklch(69% 0.105 76);
  --color-gilt-ink: oklch(19% 0.02 60);
  --color-gilt-wash: oklch(80% 0.115 84 / 0.09);
  --color-blood: oklch(64% 0.15 28);
  --color-blood-wash: oklch(64% 0.15 28 / 0.12);
  --color-focus: oklch(85% 0.12 86);
  --color-scrim: oklch(10% 0.01 55 / 0.72);

  /* Spine leathers for the shelf, one per spark */
  --spine-flame: oklch(34% 0.09 30);
  --spine-tide: oklch(31% 0.06 235);
  --spine-storm: oklch(33% 0.04 270);
  --spine-stone: oklch(36% 0.025 70);
  --spine-bloom: oklch(32% 0.07 150);
  --spine-shade: oklch(26% 0.03 300);
  --spine-mind: oklch(33% 0.07 320);
  --spine-bone: oklch(45% 0.03 85);
  --spine-null: oklch(22% 0.005 60);

  --font-display: "IM Fell English", "Iowan Old Style", Georgia, serif;
  --font-caps: "IM Fell English SC", "IM Fell English", Georgia, serif;
  --font-body: "Literata", Georgia, serif;

  --text-xs: 0.78rem;
  --text-sm: 0.88rem;
  --text-md: 1.02rem;
  --text-lg: 1.2rem;
  --text-xl: 1.55rem;
  --text-2xl: 2.1rem;
  --text-display: clamp(3.4rem, 15vw, 6.4rem);

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;

  --radius: 2px;
  --rule: 1px solid var(--color-rule);
  --rule-soft: 1px solid var(--color-rule-soft);
  --measure: 36rem;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.55, 0, 1, 0.45);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 140ms;
  --dur: 240ms;
  --dur-slow: 420ms;
}
