/* Default — warm editorial paper, ink, terracotta accent */
:root {
  --paper: #f7f3ec;
  --paper-2: #efe8dc;
  --ink: #17130f;
  --muted: #6b6157;
  --line: #d9cfbf;
  --accent: #9e3b26;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --grid-min: 165px;
  --gap: clamp(1rem, 2vw, 1.5rem);
  --radius: 2px;
  --max: 1100px;
  --hero-scale: 1;
  --nav-bg: rgba(247, 243, 236, .94);
  color-scheme: light dark;
}
:root[data-theme="light"] { color-scheme: light; }

/* Dark — pure black, white, and neutral grays */
:root[data-theme="dark"] {
  --paper: #000000;
  --paper-2: #111111;
  --ink: #ffffff;
  --muted: #c7c7c7;
  --line: #333333;
  --accent: #ffffff;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --grid-min: 165px;
  --gap: clamp(1rem, 2vw, 1.5rem);
  --radius: 0;
  --max: 1100px;
  --hero-scale: 1;
  --nav-bg: rgba(0, 0, 0, .94);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #000000;
    --paper-2: #111111;
    --ink: #ffffff;
    --muted: #c7c7c7;
    --line: #333333;
    --accent: #ffffff;
    --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
    --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --grid-min: 165px;
    --gap: clamp(1rem, 2vw, 1.5rem);
    --radius: 0;
    --max: 1100px;
    --hero-scale: 1;
    --nav-bg: rgba(0, 0, 0, .94);
  }
}