/* The site's dark theme (2026-11-18). Every page links this after its own
   styles, so these values replace the light ones. Pages name their colours in
   one of two ways (--ink-* or --text-*); both are set here. The home page
   carries its own finer rules in a <style id="dark"> block. */
:root {
  color-scheme: dark;
  --bg-base: #140E0A; --bg-surface: #1D1510; --bg-elevated: #231913;
  --ink: #F4EADF; --ink-2: #CDB6A4; --ink-3: #A38D7C;
  --text-primary: #F4EADF; --text-secondary: #CDB6A4; --text-tertiary: #A38D7C;
  --accent-deep: #E39B70; --accent-hover: #E8A47A;
  --room: #2A1C14; --room-2: #1B120D;
  --border: color-mix(in srgb, #CF7A52 24%, transparent);
  --border-strong: color-mix(in srgb, #CF7A52 46%, transparent);
  --border-subtle: color-mix(in srgb, #CF7A52 14%, transparent);
  --ok: #58C48A;
}
/* No background on html: with one, the body's own background paints over
   anything set behind the page (the hero arch and its glow, z-index -1). */
body {
  background:
    radial-gradient(90% 50% at 50% -8%, rgba(207,122,82,.20), transparent 62%),
    var(--bg-base);
  background-attachment: fixed;
  color: var(--text-primary, var(--ink));
}
.navbar { background: color-mix(in srgb, var(--bg-base) 78%, transparent); }
.nav-cta { background: #F4EADF; color: #16100B; }
.nav-cta:hover { background: #F0C089; color: #16100B; }
.room { border: 1px solid color-mix(in srgb, #CF7A52 18%, transparent); }
::selection { color: #16100B; background: #F0C089; }
::-webkit-scrollbar-track { background: #140E0A; }
::-webkit-scrollbar-thumb { background: #4A3426; border-color: #140E0A; }

/* Messages written for a light page. */
.err, .msg.err { color: #F08A6E; }
.ok, .msg.ok { color: #6FCB94; }
[style*="color:#A8402E"] { color: #F08A6E !important; }

/* Drawings made for a light page. */
[stroke^="rgba(43,33,26"] { stroke: rgba(244,234,223,.10); }
[fill="#FAF6F1"] { fill: #231913; }
[fill="#7C6A5B"], [fill="#6E5E51"] { fill: #A38D7C; }
[stroke="#B7A190"] { stroke: #8C7767; }

/* Forms. The Google button keeps its own white, as Google asks. */
input, select, textarea { color-scheme: dark; }
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), select, textarea {
  background-color: #1D1510; color: #F4EADF; border-color: color-mix(in srgb, #CF7A52 32%, transparent);
}
input::placeholder, textarea::placeholder { color: #8C7767; }
input:-webkit-autofill { -webkit-text-fill-color: #F4EADF; box-shadow: 0 0 0 1000px #1D1510 inset; }
