/* Novak|GS light/dark toggle button, shared by every page. */
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; padding: 0; border-radius: 999px; cursor: pointer; border: 1px solid rgba(21,27,34,.18); background: #ffffff; color: #2a333d; transition: border-color .2s, color .2s; }
html[data-theme="dark"] .theme-toggle { border-color: rgba(255,255,255,.16); background: rgba(12,16,22,.78); color: #c3cad1; }
.theme-toggle:hover { border-color: #e8711a; color: #e8711a; }
.theme-toggle:focus-visible { outline: 2px solid #e8711a; outline-offset: 2px; }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .i-moon { display: none; }
html[data-theme="dark"] .theme-toggle .i-sun { display: none; }
html[data-theme="dark"] .theme-toggle .i-moon { display: block; }
.theme-toggle.floating { position: absolute; top: 12px; right: 12px; z-index: 50; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
@media (max-width: 600px) { body.has-floating-toggle > header:first-of-type { padding-top: 64px; } }
.theme-slot-wrap { display: inline-flex; align-items: center; gap: 8px; }
/* live contour background, softened for the light theme */
html[data-theme="light"] [data-topo="page"] > .topo-canvas, html[data-theme="light"] [data-topo="page"].topo-canvas { filter: invert(1); opacity: .12 !important; }

/* Site header band: pinned, logo left, menu right (same on every page) */
html { scroll-padding-top: calc(var(--band-h, 120px) + 16px); }
.band { position: sticky; top: 0; z-index: 30; width: 100%; box-sizing: border-box; background: #0a0d12; border-bottom: 4px solid #e8711a; padding: 14px 16px; font-family: Roboto, "Segoe UI", system-ui, -apple-system, Arial, sans-serif; line-height: 1.2; text-align: left; }
.band *, .band *::before, .band *::after { box-sizing: border-box; }
.band-row { display: flex; align-items: center; justify-content: space-between; gap: 10px 24px; max-width: 1080px; margin: 0 auto; flex-wrap: wrap; }
.band .band-logo { display: block; flex: none; width: 188px; margin: 0; }
.band .band-logo img { width: 100%; height: auto; display: block; max-width: none; margin: 0; }
.band-nav { display: flex; align-items: center; gap: 8px 22px; }
.band-nav nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; margin: 0; padding: 0; }
.band-nav nav a { color: #c9d0d7; text-decoration: none; font-size: 15px; font-weight: 500; padding: 10px 0; margin: 0; border: 0; background: none; }
.band-nav nav a:hover { color: #fff; }
.band-nav nav a.nav-quote { background: #e8711a; color: #12161c; padding: 10px 18px; border-radius: 999px; font-weight: 600; }
.band-nav nav a.nav-quote:hover { color: #12161c; filter: brightness(1.08); }
.band .theme-toggle, html[data-theme="dark"] .band .theme-toggle { border-color: rgba(255,255,255,.2); background: rgba(12,16,22,.7); color: #e6eaee; }
.band .theme-toggle:hover { border-color: #e8711a; color: #e8711a; }
@media (max-width: 960px) {
  .band { padding: 10px 16px 4px; }
  .band .band-logo { width: 150px; }
  .band-nav { display: contents; }
  .band .theme-toggle { order: 2; }
  .band-nav nav { order: 3; width: 100%; justify-content: space-between; gap: 0 12px; border-top: 1px solid rgba(255,255,255,.12); }
  .band-nav nav a { font-size: 14px; }
  .band-nav nav a.nav-quote { display: none; }
}
.band-nav nav a .brk { color: #e8711a; }
@media (max-width: 400px) { .band-nav nav { gap: 0 8px; } .band-nav nav a { font-size: 13px; } }
@media (max-width: 340px) { .band-nav nav a { font-size: 12px; } .band-nav nav { gap: 0 6px; } }
.band-nav nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 #e8711a; }
