/* The mono theme (?theme=mono; the default until 11 Nov 2026, now navy, which builds on this file; ?theme=violet brings back the original violet everywhere). Only the BACKGROUNDS and the shapes go neutral: the page colour, the gradient moments
   (graphite instead of violet), the soft blobs behind them, and (in js/shapes3d.js and js/fold.js, which read the same ?theme flag) the 3D shapes and the gradient fold.
   The purple ACCENT stays exactly as it was (tokens.css: --accent, --accent-on-dark, and the buttons, links, chat bubble, tiles and card details that use it), as do the text colours.
   Loaded after site.css on every page. */
html:not([data-theme="violet"]) {
  --bg: #f4f4f5; --bg-tint: #e9e9eb;
  --bg-dark: #0d0d10; --bg-dark-mid: #2a2a30;
  --canvas: #f4f4f5;
  --peak: #303036;      /* the colour the page deepens to in a gradient moment (hero, proof, contact, footer) */
}

/* the soft CSS blobs behind the gradient moments (what reduced motion and no-WebGL see): silver greys instead of peach, rose and ice-blue */
html:not([data-theme="violet"]) .mesh i:nth-child(1) { --c: rgb(214 214 222); }
html:not([data-theme="violet"]) .mesh i:nth-child(2) { --c: rgb(150 150 160); }
html:not([data-theme="violet"]) .mesh i:nth-child(3) { --c: rgb(190 196 210); }
html:not([data-theme="violet"]) .mesh--cool i:nth-child(1) { --c: rgb(190 196 210); }
html:not([data-theme="violet"]) .mesh--cool i:nth-child(2) { --c: rgb(150 150 160); }
html:not([data-theme="violet"]) .mesh--cool i:nth-child(3) { --c: rgb(214 214 222); }
html:not([data-theme="violet"]) .horizon { background: radial-gradient(circle at 50% 12%, #6b6b73 0%, #3a3a40 22%, #1a1a1e 55%, #0d0d10 75%); box-shadow: 0 -30px 120px 10px rgb(200 200 210 / .22); }

/* The white buttons (on the gradient moments and the footer) go to the accent on hover, like the dark ones do, instead of fading to a lighter white.
   --accent is white inside those sections, so the purple used on dark surfaces (--accent-on-dark) is named here. */
html:not([data-theme="violet"]) .section--glow .btn-small:hover,
html:not([data-theme="violet"]) .section--peak .btn-small:hover { background: var(--accent-on-dark); border-color: var(--accent-on-dark); color: var(--bg); }

/* The footer icons' drop shadow (site.css) is violet-tinted; on mono it is neutral, same offsets and blur. */
html:not([data-theme="violet"]) .contact-icon { filter: drop-shadow(4px 9px 6px rgb(0 0 0 / .3)); }
