html[data-theme="light"]{color-scheme:light}html[data-theme="dark"]{color-scheme:dark}
header#header nav{margin-left:auto}.nav-shell{column-gap:20px}
.theme-toggle{flex:0 0 36px;width:36px;height:36px;display:grid;place-items:center;border:0;border-radius:50%;padding:8px;background:transparent;color:#fff;transition:background-color .2s;cursor:pointer}
.theme-toggle[hidden]{display:none}.theme-toggle:hover{background:#ffffff18}.theme-toggle:focus-visible{outline:1px solid #fff;outline-offset:4px}.theme-toggle svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round}.theme-sun{display:none}html[data-theme="dark"] .theme-moon{display:none}html[data-theme="dark"] .theme-sun{display:block}
html[data-theme="dark"]{--ink:#e3ebf1;--paper:#111d28;--muted:#aab9c6;--deep:#0b1c2b;--theme-accent:#8cbdec}
html[data-theme="dark"] body,html[data-theme="dark"] main{background:#0c151e;color:var(--ink)}
html[data-theme="dark"] .editorial-main{background:#111c26}
html[data-theme="dark"] .production{background:#111d28}
html[data-theme="dark"] .production-rail-section{background:#162633}
html[data-theme="dark"] .editorial-dark{background:#081827}
html[data-theme="dark"] footer,html[data-theme="dark"] .rich-footer{background:#081827}
html[data-theme="dark"] .contact-ledger{background:#132c41}
html[data-theme="dark"] .blue,html[data-theme="dark"] .facts strong,html[data-theme="dark"] .heritage-strip strong{color:var(--theme-accent)}
html[data-theme="dark"] .lead-copy,html[data-theme="dark"] .page-body p,html[data-theme="dark"] .section-heading p,html[data-theme="dark"] .story-aside p,html[data-theme="dark"] .journal-copy>p,html[data-theme="dark"] .journal-copy>div,html[data-theme="dark"] .material-spread p,html[data-theme="dark"] .personal-data-details p,html[data-theme="dark"] .contact-form-section>div>p,html[data-theme="dark"] .contact-consent{color:#b2c0cc}
html[data-theme="dark"] .editorial-main .editorial-deck{color:#c7d3dd}
html[data-theme="dark"] .journal-copy .journal-tagline{color:#e1eaf1}
html[data-theme="dark"] .chapter-index,html[data-theme="dark"] .photo-caption,html[data-theme="dark"] .editorial-main figcaption,html[data-theme="dark"] .intro-photo figcaption,html[data-theme="dark"] .facts span,html[data-theme="dark"] .heritage-strip span,html[data-theme="dark"] .production-rail-card>div>span{color:#99afbf}
html[data-theme="dark"] .folio-number,html[data-theme="dark"] .oversized-word{color:#435d6f}
html[data-theme="dark"] .line-link:not(.light){color:var(--theme-accent);border-color:#7d9fb34f}
html[data-theme="dark"] .editorial-dark .line-link,html[data-theme="dark"] .contact-ledger .line-link{color:#fff;border-color:#ffffff55}
html[data-theme="dark"] .lead-copy a,html[data-theme="dark"] .editorial-deck a,html[data-theme="dark"] .journal-copy>div a{color:var(--theme-accent)}
html[data-theme="dark"] .facts,html[data-theme="dark"] .heritage-strip,html[data-theme="dark"] .production-rail-card>div{border-color:#364d5e}
html[data-theme="dark"] .gallery-controls button,html[data-theme="dark"] .outline-button,html[data-theme="dark"] .production-rail-controls button{color:#b5d8f6;border-color:#4e6d83}
html[data-theme="dark"] .gallery-controls button.active{background:#164b88;color:#fff;border-color:#487fb0}
html[data-theme="dark"] .contact-form-section input:not([type=checkbox]):not([type=hidden]),html[data-theme="dark"] .contact-form-section textarea{background:#142636;color:#e4edf4;border-color:#40596b}
html[data-theme="dark"] .contact-form-section input::placeholder,html[data-theme="dark"] .contact-form-section textarea::placeholder{color:#96aaba;opacity:1}
html[data-theme="dark"] .contact-form-section input:focus-visible,html[data-theme="dark"] .contact-form-section textarea:focus-visible{outline:1px solid #8cbdec;outline-offset:2px}
html[data-theme="dark"] .contact-consent input{accent-color:#4c8dca}
html[data-theme="dark"] .intro-detail-photo{border-color:#111c26;background:#142636}
html[data-theme="dark"] .skeleton{background-image:linear-gradient(100deg,#1a2c3a 25%,#2a4051 40%,#1a2c3a 60%)}
html[data-theme="dark"] .skip{background:#142636;color:#fff}
html[data-theme="dark"] .contact-map{background:#142636}
@media(max-width:800px){.nav-shell{column-gap:12px}.nav-shell>.brand{order:0;margin-right:auto;min-width:0}.nav-shell>.theme-toggle{order:1;flex-basis:32px;width:32px;height:36px;padding:6px}.nav-shell>.menu-toggle{order:2;flex:0 0 30px}.nav-shell>nav{order:3}header#header nav{margin-left:0}}
@media(max-width:380px){.nav-shell{padding-left:20px;padding-right:20px;column-gap:8px}}
@media(prefers-reduced-motion:reduce){.theme-toggle{transition:none}}

@media(min-width:801px) and (max-width:950px){.nav-shell{column-gap:12px}header#header nav{gap:10px;font-size:11px}header#header nav a{font-size:11px}header#header .nav-contact{padding:12px 14px}header#header .nav-contact .arrow-icon{width:24px}.theme-toggle{flex-basis:32px;width:32px}}
