/* The site's light and dark themes, which follow the device's setting. Every page links it right after fonts.css.
   Page styles keep the brand palette (--white, --charcoal, --ocean …) for what stays the same in both themes — text on
   a photo or a dark band, a button's fill — and paint light grounds, body text and hairlines with these tokens, which
   are all that changes. */
:root {
  color-scheme: light dark;
  --bg: #ffffff;           /* page and card ground (was --white as a background) */
  --bg-alt: #f5f0e8;       /* the sand ground (--sand) */
  --bg-sunk: #e8dfd2;      /* a deeper sand ground: chips, tracks (--sand-dark) */
  --bg-paper: #f4e9d0;     /* the paper note (--paper) */
  --fg: #1a1a1a;           /* body text (--charcoal) */
  --fg-muted: #6b6560;     /* secondary text (--warm-gray) */
  --rule: #e8dfd2;         /* hairlines and borders (--sand-dark) */
  --ocean-ink: #0a4d68;    /* ocean as text or a line on the ground (--ocean) */
  --ocean-deep-ink: #092e3e;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11181c;
    --bg-alt: #172127;
    --bg-sunk: #22313a;
    --bg-paper: #2a2519;
    --fg: #e9e6e1;
    --fg-muted: #a9a29a;
    --rule: #2c3b44;
    --ocean-ink: #7cc4dd;
    --ocean-deep-ink: #b5dcea;
  }
}
