/* Dark tones: colours only. Loaded after brand.css. Nothing here changes a font, size, spacing or layout.
   Remove the <link> to switch back to the light site. */
:root {
  --paper: #0a0a0a; --night: #050505; --ink: #f2f0ec; --grey: rgba(242,240,236,.72); --mute: rgba(242,240,236,.5);
  --line: rgba(242,240,236,.14);
}
html, body { background: #0a0a0a !important; color: var(--ink); }
::selection { background: var(--brand-blue); color: #fff; }

/* header */
.nav.is-scrolled, .ct-page .nav, body:not(:has(.fold)):not(:has(.hC5)) .nav:not(.is-scrolled), body:has(.hC5) .nav.is-scrolled { background: rgba(10,10,10,.82) !important; box-shadow: 0 1px 0 var(--line) !important; }
.logo, .wordmark, .nav nav a { color: var(--ink) !important; }
.nav nav a:hover, .nav nav a.is-active { color: #7d93ff !important; }

/* homepage hero stays exactly as on the light site */
.hC5 { --ink: #0b0e1a; --grey: #3a3c48; --mute: #6c6e7a; --line: rgba(11,14,26,.14); }
body:has(.hC5) .nav:not(.is-scrolled) .logo, body:has(.hC5) .nav:not(.is-scrolled) .wordmark, body:has(.hC5) .nav:not(.is-scrolled) nav a { color: #0a0a0a !important; }
body:has(.hC5) .nav:not(.is-scrolled) nav a.is-active, body:has(.hC5) .nav:not(.is-scrolled) nav a:hover { color: #3150f5 !important; }

/* text that was set dark on purpose */
.lede b, .tags { color: #7d93ff; }
.tile, .tile b { color: var(--ink) !important; }
.tile p, .cols { color: var(--grey) !important; }
.title { border-bottom-color: var(--line); }

/* image placeholders and frames */
figure, .row figure, .mosaic figure { background-color: #161616 !important; }
.row figure.on-paper { background: #161616 !important; }

/* prev / all / next */
.pager, .pager .all { border-color: var(--line) !important; }
.pager a:hover { background: #161616 !important; color: var(--ink) !important; }

/* archive bands */
.pg-band--2, .pg-band--3 { background: #101010 !important; color: var(--ink) !important; }
.pg-band p { color: var(--grey) !important; }

/* about: award cards and pop-ups */
.aw { background: #161616 !important; color: var(--ink); }
.aw__kind { color: var(--mute) !important; }
.aw__body p:not(.aw__org) { color: var(--grey) !important; }
.aw__org { color: #ff7a45 !important; }
.pop--box { background: #161616 !important; color: var(--ink) !important; }

/* set design cards */
.sf__card { background: #161616 !important; border-color: var(--line) !important; }

/* homepage misc */
.h-play { background: #161616 !important; color: var(--ink) !important; }

/* near-black version: footer and bands follow the page */
.footer, .footer > * { background: #050505 !important; background-image: none !important; }
.band { background: #050505 !important; }
