/* Brand palette. Photographs and the supplied logo are never filtered. */
:root { color-scheme: only light; --theme-surface: #F7F2E7; }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: 20px; flex-shrink: 0; }
.theme-toggle { display: grid; place-items: center; width: 44px; height: 44px; padding: 11px; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer; }
.theme-toggle[hidden] { display: none; }
.theme-toggle svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .theme-sun { display: none; }
:root[data-theme="dark"] {
  color-scheme: dark;
  --cream: #0D1B26;
  --cream-deep: #112432;
  --ink: #F7F2E7;
  --ink-soft: #BAC5CC;
  --sky: #8CB8CE;
  --sky-deep: #133147;
  --sky-bright: #A7CEE0;
  --line: #365060;
  --line-dark: #49616F;
  --theme-surface: #152C3C;
}
:root[data-theme="dark"] .theme-toggle .theme-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .theme-sun { display: block; }
:root[data-theme="dark"] .site-header,
:root[data-theme="dark"] .site-header.is-scrolled { background: #133147; border-bottom-color: #365060; backdrop-filter: none; }
:root[data-theme="dark"] .brand-logo { border-radius: 0; }
:root[data-theme="dark"] .site-header .nav a { color: #D0DCE3; }
:root[data-theme="dark"] .site-header .nav a.active,
:root[data-theme="dark"] .site-header .nav a:hover { color: #A7CEE0; }
:root[data-theme="dark"] .theme-toggle,
:root[data-theme="dark"] .nav-toggle { border-color: #5D7888; color: #F7F2E7; }
:root[data-theme="dark"] .nav-toggle-bar { background: #F7F2E7; }
:root[data-theme="dark"] :is(.card,.mcard,.showcase-card,.testimonial-card,.ref-logo,.marquee-item,.scope-shot,.scope-tab,.social-card,.info-card) { background: var(--theme-surface); }
:root[data-theme="dark"] .hero-scrim { background: linear-gradient(38deg,#0D1B26 0%,#0D1B26 27%,#0D1B26E0 45%,#0D1B2670 61%,#0D1B2600 79%); }
:root[data-theme="dark"] :is(section.dark,section.dark h2,section.dark h3,.stat-num,.seal,.cta-band h2) { color: #F7F2E7; }
:root[data-theme="dark"] :is(.btn-light,.pop-badge,.filter-chip.is-active,.scope-tab.is-active,.social-row a:hover) { background: #8CB8CE; border-color: #8CB8CE; color: #0D1B26; }
:root[data-theme="dark"] .btn-primary { background: #8CB8CE; border-color: #8CB8CE; color: #0D1B26; }
:root[data-theme="dark"] .btn-primary:hover { background: #B1D2E1; border-color: #B1D2E1; }
:root[data-theme="dark"] .btn-light:hover { background: transparent; color: #F7F2E7; border-color: #F7F2E7; }
:root[data-theme="dark"] :is(.mcard-open,.zoom-cue,.lb-close,.lb-prev,.lb-next,.lb-bar,.social-icon) { color: #F7F2E7; }
:root[data-theme="dark"] :is(.seal-text strong,.seal-meta .v,.cmp-tag-left,.cmp-hint) { color: #F7F2E7; }
:root[data-theme="dark"] :is(.legal-copy a,.legal-related a) { color: #A7CEE0; }
:root[data-theme="dark"] .cmp-grip { background: #152C3C; color: #F7F2E7; border-color: #8CB8CE; }
:root[data-theme="dark"] .cmp-handle::before { background: #F7F2E7; }
:root[data-theme="dark"] .cmp-render-wrap { border-right-color: #F7F2E7; }
:root[data-theme="dark"] .compare.is-dragging .cmp-grip { background: #8CB8CE; color: #0D1B26; }
:root[data-theme="dark"] .cookie-panel { background: #152C3C; color: #F7F2E7; border-color: #5D7888; }
:root[data-theme="dark"] .cookie-panel h2 { color: #F7F2E7; }
:root[data-theme="dark"] .cookie-panel a { color: #A7CEE0; }
:root[data-theme="dark"] .cookie-actions button { background: #133147; border-color: #8CB8CE; color: #F7F2E7; }
:root[data-theme="dark"] .cookie-actions button:hover { background: #24475E; }
:root[data-theme="dark"] .cookie-details input { accent-color: #8CB8CE; }
:root[data-theme="dark"] .cabinet-hero { background: #0D1B26; }
:root[data-theme="dark"] .cabinet-interior { background: radial-gradient(ellipse at 50% 38%, #1D3B50 0%, #152C3C 60%, #0D1B26 100%); }
:root[data-theme="dark"] .cabinet-interior::before { border-color: #8CB8CE40; }
:root[data-theme="dark"] .cabinet-copy h1 { color: #F7F2E7; }
:root[data-theme="dark"] .cabinet-copy h1 span { color: #C6A97C; }
:root[data-theme="dark"] .cabinet-copy :is(.hero-eyebrow,.lede,.cabinet-signature) { color: #BAC5CC; }
:root[data-theme="dark"] .cabinet-door { background-image: url('/media/84ddcc103d4706b47a61-1536.webp'); }
:root[data-theme="dark"] .cabinet-door::after { background: linear-gradient(90deg,#ACA395,#F2ECDF,#B5AB9A); }
:root[data-theme="dark"] .is-enhanced .cabinet-invitation { color: #133147; text-shadow: 0 1px 5px #FFFFFF99; }
:root[data-theme="dark"] .is-enhanced .cabinet-skip { background: #133147; border-color: #133147; color: #F7F2E7; backdrop-filter: none; }
:root[data-theme="dark"] .cabinet-progress { background: #8CB8CE33; }
:root[data-theme="dark"] .cabinet-progress i { background: #C6A97C; }
@media (max-width: 600px) { .header-actions { gap: 8px; margin-left: 8px; } }
/* Without JavaScript the existing light palette remains readable. High contrast
   accessibility mode still controls its own colors; it is not disabled here. */
