/* Hallmark · macrostructure: Wire Desk (custom split) · tone: editorial/utilitarian · anchor hue: signal red */

:root {
  --paper: oklch(96.5% 0.012 85);
  --paper-raised: oklch(98.5% 0.008 85);
  --paper-sunk: oklch(93.5% 0.014 82);
  --ink: oklch(20% 0.018 60);
  --ink-soft: oklch(38% 0.018 60);
  --ink-faint: oklch(52% 0.016 60);
  --rule: oklch(80% 0.018 75);
  --rule-strong: oklch(66% 0.02 68);
  --accent: oklch(52% 0.19 27);
  --accent-deep: oklch(41% 0.16 27);
  --record: oklch(55% 0.23 27);
  --record-soft: oklch(64% 0.18 27);
  --inverse: oklch(17.5% 0.015 60);
  --inverse-raised: oklch(23% 0.018 60);
  --inverse-ink: oklch(93% 0.01 85);
  --inverse-ink-soft: oklch(74% 0.012 85);
  --inverse-rule: oklch(38% 0.018 60);
  --stage: oklch(11% 0.01 60);
  --capture-black: oklch(0% 0 0);
  --focus: oklch(48% 0.17 250);
  --danger: oklch(49% 0.2 27);
  --success: oklch(47% 0.12 150);

  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  --text-xs: 0.72rem;
  --text-sm: 0.82rem;
  --text-base: 1rem;
  --text-md: 1.12rem;
  --text-lg: 1.35rem;
  --text-xl: 1.7rem;
  --text-display: clamp(2.35rem, 7.4vw, 4.2rem);
  --text-library: clamp(1.8rem, 5vw, 2.6rem);

  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;

  --radius-sm: 2px;
  --radius-md: 4px;

  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 140ms;
  --dur-base: 220ms;
  --dur-slow: 420ms;

  --rule-hair: 1px solid var(--rule);
  --rule-ink: 2px solid var(--ink);
  --shadow-lift: 0 18px 40px -28px oklch(20% 0.02 60 / 0.45);
  --page-gutter: clamp(1.1rem, 4.2vw, 3.25rem);
  --page-max: 1240px;
}
