/* Hallmark · genre: editorial · macrostructure: Long Document · theme: custom
 * vibe: warm reading paper, azure ink accents, book-set text
 * paper oklch(99% 0.006 95) · accent oklch(50% 0.095 230) cool-azure
 * display+body: Source Serif 4 · utility: Source Sans 3
 * axes: light / roman-serif / cool · nav: reader toolbar · footer: Ft4 colophon
 * light mode only — no dark scheme, by design
 */
:root {
  --color-paper: oklch(99% 0.006 95);
  --color-card: oklch(96.8% 0.009 95);
  --color-rule: oklch(89% 0.011 95);
  --color-rule-soft: oklch(93.5% 0.009 95);
  --color-muted: oklch(50% 0.012 95);
  --color-ink: oklch(22% 0.008 90);
  --color-accent: oklch(50% 0.095 230);
  --color-accent-bright: oklch(67% 0.13 220);
  --color-accent-tint: oklch(96% 0.024 230);
  --color-focus: oklch(55% 0.13 230);

  --fmt-rss: oklch(62% 0.16 55);
  --fmt-atom: oklch(55% 0.13 260);
  --fmt-json: oklch(58% 0.13 155);

  --tile-azure: oklch(56% 0.11 228);
  --tile-black: oklch(15% 0 0);
  --tile-orange: oklch(67% 0.21 41);
  --tile-ink-on: oklch(99% 0.006 95);

  --font-display: "Source Serif 4", Georgia, serif;
  --font-body: "Source Serif 4", Georgia, serif;
  --font-utility: "Source Sans 3", system-ui, sans-serif;
  --body-face: var(--font-body);
  --body-size: 1.19rem;

  --text-xs: 0.76rem;
  --text-sm: 0.88rem;
  --text-lg: 1.3rem;
  --text-xl: 1.62rem;
  --text-display: clamp(2.9rem, 7.4vw, 4.75rem);

  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4.5rem;

  /* Editorial grid: a marginal rail for section labels, then the measure. */
  --rail: 8.5rem;
  --rail-gap: 2.5rem;
  --measure: 34rem;
  --wide: 60rem;

  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
  --dur-short: 160ms;
  --rule-hairline: 1px solid var(--color-rule);
  --radius-sm: 10px;
  --radius-tile: 14px;
  --radius-card: 18px;
  --radius-phone: 30px;
  --shadow-lift: 0 1px 2px oklch(22% 0.008 90 / 0.04), 0 12px 34px oklch(22% 0.008 90 / 0.07);
}

[data-theme="sepia"] {
  --color-paper: oklch(94% 0.032 88);
  --color-card: oklch(90.5% 0.038 87);
  --color-rule: oklch(83% 0.04 86);
  --color-rule-soft: oklch(88% 0.038 86);
  --color-muted: oklch(52% 0.05 75);
  --color-ink: oklch(33% 0.045 70);
  --color-accent: oklch(46% 0.085 230);
  --color-accent-tint: oklch(90% 0.045 200);
}
