/*
 * Evensong — design tokens.
 * Two themes: "night" (default — warm near-black, lamplight amber, for reading in bed)
 * and "day" (warm paper, editorial, for the table).
 * No gradients, no glass, no glow. The screen should feel like a printed page.
 */

:root {
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --measure: 38rem;          /* readable column */
  --radius: 10px;
  --ease: cubic-bezier(0.25, 0.6, 0.3, 1);
}

body[data-theme="night"] {
  --bg: #121009;             /* warm near-black */
  --bg-raised: #1a1710;
  --bg-inset: #0d0b06;
  --ink: #e9e2d4;            /* warm off-white, dimmed for night */
  --ink-soft: #b0a690;
  --ink-faint: #756c58;
  --accent: #c79a5b;         /* lamplight amber, desaturated */
  --accent-ink: #16120a;     /* text on accent */
  --rule: #2c2719;           /* hairline rules */
  --rule-strong: #3d3624;
  --danger: #b3675e;
  color-scheme: dark;
}

body[data-theme="day"] {
  --bg: #f7f2e9;             /* warm paper */
  --bg-raised: #fdfaf4;
  --bg-inset: #efe8da;
  --ink: #2a251c;
  --ink-soft: #5c5546;
  --ink-faint: #948b77;
  --accent: #8a5a28;         /* burnished brown-gold */
  --accent-ink: #fdfaf4;
  --rule: #e0d8c7;
  --rule-strong: #cfc5af;
  --danger: #a14e44;
  color-scheme: light;
}
