/* Hallmark · theme: Saffron-Linen (by request) · genre: editorial · posture: restrained · hero: settled · nav: sticky · footer: dark-lantern */
:root {
  /* Core Palette — Warm Linen, Toasted Biscuit, Roasted Walnut & Burnt Saffron-Sienna */
  --color-paper: oklch(95.2% 0.016 78);
  --color-paper-2: oklch(90.8% 0.018 75);
  --color-surface: oklch(97.4% 0.01 78);
  --color-rule: oklch(82% 0.018 72);
  --color-rule-strong: oklch(72% 0.022 65);
  --color-muted: oklch(43% 0.024 45);
  --color-ink: oklch(18.5% 0.025 45);

  /* Architectural Wainscoting Sage & Evening Walnut Surface */
  --color-sage-soft: oklch(88.5% 0.026 145);
  --color-sage-ink: oklch(28% 0.038 145);
  --color-evening: oklch(16.5% 0.024 45);
  --color-evening-surface: oklch(21.5% 0.024 45);
  --color-evening-rule: oklch(31% 0.022 45);
  --color-evening-ink: oklch(94.5% 0.014 78);
  --color-evening-muted: oklch(77% 0.016 75);

  /* Accent (< 5% viewport) */
  --color-accent: oklch(50% 0.165 42);
  --color-accent-hover: oklch(43.5% 0.165 42);
  --color-accent-soft: oklch(92% 0.042 45);
  --color-accent-ink: oklch(98% 0.008 78);

  /* Semantic Status & Stars */
  --color-star: oklch(62% 0.155 68);
  --color-open: oklch(40% 0.11 148);
  --color-open-bg: oklch(92% 0.032 148);
  --color-closed: oklch(45% 0.024 45);
  --color-closed-bg: oklch(89% 0.015 75);

  /* Elevation */
  --shadow-sm: 0 1px 2px oklch(18.5% 0.025 45 / 0.06);
  --shadow-md: 0 10px 28px -8px oklch(18.5% 0.025 45 / 0.12);
  --shadow-lg: 0 24px 48px -14px oklch(18.5% 0.025 45 / 0.24);
  --backdrop-dialog: oklch(14% 0.02 45 / 0.82);
  --lantern-glow: oklch(50% 0.165 42 / 0.16);
  --ring-light: oklch(97.4% 0.01 78 / 0.85);
  --caption-scrim: oklch(16.5% 0.024 45 / 0.86);

  /* Typography — Fraunces (700) + DM Sans (400, 600) */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;

  --text-xs: 0.875rem;
  --text-sm: 0.9375rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: clamp(1.375rem, 1.2rem + 0.9vw, 1.75rem);
  --text-2xl: clamp(1.85rem, 1.45rem + 1.8vw, 2.65rem);
  --text-hero: clamp(2.35rem, 1.75rem + 2.8vw, 3.85rem);

  --weight-regular: 400;
  --weight-semibold: 600;
  --weight-bold: 700;

  --leading-tight: 1.04;
  --leading-snug: 1.25;
  --leading-normal: 1.55;

  /* Spacing Scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Radii & Layout */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  --container-max: 1180px;
  --measure: 60ch;
  --dock-clearance: 5.5rem;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fast: 180ms;
  --duration-base: 320ms;
  --duration-slow: 560ms;

  /* Layering */
  --z-base: 1;
  --z-sticky: 30;
  --z-progress: 50;
  --z-dock: 40;
}
