/* Project wordmarks retain their approved light brand surface. */
html[data-theme=light]{color-scheme:light}
html[data-theme=dark]{color-scheme:dark;--ink:#f4eaf5;--paper:#19141d;--soft:#2a2230;--muted:#c0afc4;--line:#514257;--blush:#2a2230}
html[data-theme=dark] body.project-page{background:color-mix(in srgb,var(--project-background) 10%,#19141d);--muted:#c0afc4;--line:#514257;--project-surface:#29212e;--project-surface-soft:#332939;--project-divider:#7a6584}
html[data-theme=dark] :is(.project-card,.article-card,.model-guide-card,.booking-panel,.contact-form-panel,.service-offer,.tech-module,.credit-person,.project-downloads,.gallery-grid figure,.recruiter-case,.skill-project-links a,.related-skills a,.search-results>li){background:#29212e;border-color:var(--line)}
html[data-theme=dark] :is(.method-panel,.article-body ul,.article-body p code,.article-figure,.resume-download,.skills-note,.recruiter-overview,.recruiter-facts,.recruiter-summary){background:#2a2230}
html[data-theme=dark] :is(.skills-search input,.site-search-input input){background:var(--paper);color:var(--ink)}
html[data-theme=dark] :is(.hero-art,.contact-strip,.writing-panel,.model-system,.model-download,footer){background:#28172d;color:#fff8f5}
html[data-theme=dark] :is(.hero-art,.contact-strip,.writing-panel,.model-system,.model-download,footer){--paper:#fff8f5;--muted:#d5c1d9}
html[data-theme=dark] .model-download .button,html[data-theme=dark] .contact-strip .button{color:#28172d}
html[data-theme=dark] .article-body pre{background:#302437;color:#fff6ef}
html[data-theme=dark] .button.coral,html[data-theme=dark] .current-badge{color:#28172d}
html[data-theme=dark] .project-cover{--ink:#28172d;color:#28172d}
html[data-theme=dark] .case-title .case-logo-title{display:inline-block;width:fit-content;max-width:100%;background:var(--project-background,#fff8f5);padding:20px;border-radius:9px}
html[data-theme=dark] .case-logo-title .project-name-fallback{color:#28172d}
html[data-theme=dark] .selected-work-card{background:#29212e;border-color:var(--line)}
html[data-theme=dark] .selected-work-card img{background:#fff8f5;padding:10px;border-radius:6px;box-sizing:content-box}
html[data-theme=dark] .contact-status[data-state=error]{color:#ffaaa8}
html[data-theme=dark] .contact-status[data-state=success]{color:#91e0b1}
html[data-theme=dark] :focus-visible{outline-color:#f2bd79}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
