:root{color-scheme:light}
body,body>header,body>footer{transition:background-color .3s ease,color .3s ease}
:root[data-theme="dark"]{color-scheme:dark;--paper:#18201c;--ink:#edf1e8;--muted:#b9c4b2;--line:#465348;--accent:#d3b393}
body>header .nav-actions{gap:16px}
body>header #theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:9px;flex-shrink:0;min-width:44px;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:24px;background:transparent;color:var(--ink);font:500 12px/1.4 var(--sans);white-space:nowrap}
#theme-toggle:hover{background:var(--line)}
#theme-toggle:focus-visible{outline:2px solid var(--ink);outline-offset:4px}
#theme-toggle svg{flex-shrink:0;transition:transform .25s}
#theme-toggle:hover svg{transform:rotate(-12deg)}
[data-theme="dark"] #theme-toggle .bulb-rays{opacity:0}
/* Photographs retain their original colors; only interface surfaces change. */
html[data-theme="dark"] body>header{background:var(--paper);border-color:var(--line)}
html[data-theme="dark"] body>header :is(nav a,#language,#menu){color:var(--ink)}
html[data-theme="dark"] body .brand-logo .logo-crop img{filter:brightness(0) invert(1)}
html[data-theme="dark"] body>footer{background:#111914}
html[data-theme="dark"] body>main :is(h1,h2,h3,h4,summary){color:var(--ink)}
html[data-theme="dark"] body>main :is(p,small,figcaption,label>span,.number,.eyebrow,.small-link,.hero-explore,.detail-back,.article-meta,.article-breadcrumbs,.article-body li,.article-body blockquote,.article-tags span,.filters a,.filters button,.article-row .arrow,.service-line-icon,.home-service-topline,.image-index){color:var(--muted)}
html[data-theme="dark"] body :is(.black,.reading a.solid,.hero .outline,.article-service-link,.article-share-links [data-copy-link]){background:#c3d0b3;color:#18201c;border-color:#c3d0b3}
html[data-theme="dark"] body :is(.black,.reading a.solid,.hero .outline,.article-service-link,.article-share-links [data-copy-link]):hover{background:#d5dfca;color:#18201c}
html[data-theme="dark"] body>main :is(.outline,.attachment-actions button){border-color:var(--line)}
html[data-theme="dark"] body>main :is(.outline:hover,.attachment-actions button:hover){background:#2c382e;color:var(--ink)}
html[data-theme="dark"] body>main :is(.filters .active,.article-body a,.wizard-service-toolbar>button,#brief-new-request,#form-status){color:#c3d0b3}
html[data-theme="dark"] body>main :is(input,textarea,select){color:var(--ink);background:transparent;border-color:var(--line);accent-color:#c3d0b3}
html[data-theme="dark"] body>main option{background:var(--paper);color:var(--ink)}
html[data-theme="dark"] body>main :is(input,textarea)::placeholder{color:#a8b39f;opacity:1}
html[data-theme="dark"] body>main :is(.brief-wizard,.choice-content,.wizard-privacy-note,.article-body pre){background:#202b24;border-color:var(--line)}
html[data-theme="dark"] body>main .project-choice>input:checked+.choice-content{background:#334330;border-color:#b2c79b}
html[data-theme="dark"] body>main .choice-content>strong{color:var(--ink)}
html[data-theme="dark"] body>main .choice-content>svg{color:#c3d0b3}
html[data-theme="dark"] body>main .wizard-navigation>button{color:var(--muted)}
html[data-theme="dark"] body>main .wizard-navigation>button[aria-current="step"]{color:var(--ink)}
html[data-theme="dark"] body>main .wizard-step-number{border-color:var(--line)}
html[data-theme="dark"] body>main .wizard-navigation [aria-current="step"] .wizard-step-number{background:#c3d0b3;color:#18201c;border-color:#c3d0b3}
html[data-theme="dark"] body>main .wizard-navigation .is-complete .wizard-step-number{color:#c3d0b3;border-color:#c3d0b3}
html[data-theme="dark"] body>main .wizard-progress-track{background:var(--line)}
html[data-theme="dark"] body>main .wizard-progress-track>span{background:#c3d0b3}
html[data-theme="dark"] body>main :is(.wizard-error,.wizard-success){background:#2c382e;color:var(--ink)}
html[data-theme="dark"] body>main :is(.article-body td,.article-body th,.review-row,.article-tags span){border-color:var(--line)}
html[data-theme="dark"] .hero.atelier-hero{--draft:#bd997c;--clay:#d1a083}
html[data-theme="dark"] body>main :is(.atelier-eyebrow,.atelier-signature,.atelier-bottom,.atelier-bottom a,.atelier-figure-caption,.atelier-controls button,.atelier-descriptor){color:#d1b396}
html[data-theme="dark"] #atelier-figure-title[href]:hover{color:#f0d5be}
html[data-theme="dark"] #faq-list summary:after{color:#c3d0b3;border-color:var(--line)}
html[data-theme="dark"] dialog:not(#project-photo-viewer){background:var(--paper);color:var(--ink)}
@media(max-width:1100px){#theme-toggle .theme-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}body>header #theme-toggle{padding:10px;width:44px;height:44px}body>header .nav-actions{gap:8px}}
@media(prefers-reduced-motion:reduce){body,body>header,body>footer,#theme-toggle svg{transition:none}}
