.header-actions{display:flex;align-items:center;gap:15px;flex:none}
.theme-toggle{display:grid;place-items:center;width:40px;height:40px;flex:none;padding:0;border:1px solid #d8d0e0;border-radius:50%;background:transparent;color:var(--ink);transition:background .25s,border-color .25s,transform .35s cubic-bezier(.16,1,.3,1)}
.theme-toggle:hover{background:var(--pale);border-color:var(--lavender);transform:rotate(-8deg)}
.theme-toggle svg{width:18px;height:18px}
.theme-sun{display:none}.theme-moon{display:block}
.theme-logo-dark{display:none!important}.theme-logo-light{display:block}
:root[data-theme="dark"]{--ink:#eee8f5;--lavender:#bba1d5;--pale:#21192d;--paper:#17121f;--muted:#b5a9c1;--line:#3b2e4a;color-scheme:dark}
[data-theme="dark"] .theme-logo-light{display:none!important}
[data-theme="dark"] .theme-logo-dark{display:block!important}
[data-theme="dark"] .theme-sun{display:block}
[data-theme="dark"] .theme-moon{display:none}
[data-theme="dark"] .site-header{background:#17121fe0}
[data-theme="dark"] .site-header.scrolled{border-color:var(--line)}
[data-theme="dark"] .desktop-nav a{color:#c5b7d5}
[data-theme="dark"] .desktop-nav a:hover{color:var(--ink)}
[data-theme="dark"] .header-contact,[data-theme="dark"] .theme-toggle,[data-theme="dark"] .menu-toggle{border-color:#584169}
[data-theme="dark"] .theme-toggle:hover,[data-theme="dark"] .header-contact:hover{background:#2e213c;border-color:#aa8bc4}
[data-theme="dark"] .button-primary{background:#c1a5de;border-color:#c1a5de;color:#21132d}
[data-theme="dark"] .button-primary:hover{background:#d2bce8;border-color:#d2bce8}
[data-theme="dark"] .hero h1>span,[data-theme="dark"] h2>span,[data-theme="dark"] .page-intro h1 span{color:#bda1d7}
[data-theme="dark"] .hero-eyebrow{color:#c9b8d8}
[data-theme="dark"] .hero-bottom{color:#b5a9c1}
[data-theme="dark"] .art-caption,[data-theme="dark"] .art-cross{color:#b09ac2}
[data-theme="dark"] .world-motion-toggle{color:#d5c3e6;background:#21192dcf;border-color:#6c527f;box-shadow:0 5px 25px #00000020}
[data-theme="dark"] .world-motion-toggle:hover{background:#342342}
[data-theme="dark"] .craft-art,[data-theme="dark"] .craft-capabilities article,[data-theme="dark"] .principle{border-color:#59436b}
[data-theme="dark"] .craft-node{color:#c3aed4}
[data-theme="dark"] .craft-node>span,[data-theme="dark"] .craft-capabilities article>span,[data-theme="dark"] .principle-number{color:#b294c9}
[data-theme="dark"] .craft-art-caption{color:#aa96bc}
[data-theme="dark"] .craft-capabilities article,[data-theme="dark"] .principle{background:linear-gradient(180deg,#17121fcc,#17121f70 80%,transparent)}
[data-theme="dark"] .craft-capabilities h3 button:hover,[data-theme="dark"] .craft-capabilities h3 button[aria-pressed="true"]{color:#cfb2e5}
[data-theme="dark"] .principle-top svg{stroke:#ba9cd2}
[data-theme="dark"] .principle:hover .principle-top svg{stroke:#e4cff4}
[data-theme="dark"] .principle:hover{border-color:#bba1d5}
[data-theme="dark"] .contact-banner{background:#241a31}
[data-theme="dark"].world-ready .home .contact-banner{background:transparent}
[data-theme="dark"] .contact-banner .email-link{color:#eee8f5;border-color:#87669d}
[data-theme="dark"] .footer-links .eyebrow{color:#ac95bd}
[data-theme="dark"] .page-intro>.eyebrow{color:#bea2d3}
[data-theme="dark"] .contact-email-card{border-color:#4d385e}
[data-theme="dark"] .contact-email-card>.eyebrow{color:#c0a6d2}
[data-theme="dark"] .contact-email-card>a:hover,[data-theme="dark"] .contact-card-footer .copy-email:hover{color:#d5b6ed}
[data-theme="dark"] .contact-card-footer{border-color:#584169}
[data-theme="dark"] .contact-form input,[data-theme="dark"] .contact-form textarea{background:#1e1726e6;color:var(--ink);border-color:#574166;caret-color:#e2cef3}
[data-theme="dark"] .contact-form input:hover,[data-theme="dark"] .contact-form textarea:hover{border-color:#9573ae}
[data-theme="dark"] .contact-form input:focus,[data-theme="dark"] .contact-form textarea:focus{border-color:#c3a0dd;box-shadow:0 0 0 3px #b695d523}
[data-theme="dark"] .form-status[data-state="error"]{color:#eca7b8}
[data-theme="dark"] .form-status[data-state="success"]{color:#a9d4b0}
[data-theme="dark"] .toast{background:#d4bce9;color:#21132d}
[data-theme="dark"] .underlined{border-color:#6c527e}
[data-theme="dark"] ::selection{background:#76528f;color:#fff}
@media(max-width:850px){.header-actions{gap:12px}.theme-toggle{width:37px;height:37px}}
@media(max-width:640px){.header-actions{gap:10px}.theme-toggle{width:38px;height:38px}.theme-toggle svg{width:18px;height:18px}}
@media(prefers-reduced-motion:reduce){.theme-toggle{transition:none}}

[data-theme="dark"] .hero-art-fallback{filter:brightness(0) invert(1)}
[data-theme="dark"] :is(a,button,summary):focus-visible{outline-color:#cfb4e4}
[data-theme="dark"] .site-header::after{background:linear-gradient(90deg,#a08ac0,#e4d4ef)}
