:root{--theme-canvas:#FFFFFF;--theme-surface:#F0F1EF;--theme-fg:#2B2E31;--theme-muted:#5F6062;--theme-line:#DCDDD9;--theme-reverse:#FFFFFF;--theme-header:rgba(255,255,255,.95)}
:root[data-theme="dark"]{--theme-canvas:#2B2E31;--theme-surface:#2B2E31;--theme-fg:#F0F1EF;--theme-muted:#BFC2BE;--theme-line:#606560;--theme-reverse:#F0F1EF;--theme-header:rgba(43,46,49,.97)}
html,body{background:var(--theme-canvas)!important;color:var(--theme-fg)}
html[data-theme="dark"] .consense-editorial{--ink:#F0F1EF;--paper:#2B2E31}
html[data-theme="dark"] nav[aria-label^="Primary"] a{color:var(--theme-fg)!important}
html[data-theme="dark"] nav[aria-label^="Primary"] a[aria-current="page"]{border-color:#F0F1EF!important}
html[data-theme="dark"] img[src="lockup-horizontal-daylight.svg"]{content:url('/lockup-horizontal-signal.svg')}
html[data-theme="dark"] img[src="mark-daylight.svg"]{content:url('/mark-signal.svg')}
html[data-theme="dark"] .experience-logo{background:#FFFFFF}
html[data-theme="dark"] .case-cover{border:1px solid #606560}
html[data-theme="dark"] .case-cover .case-title{color:#F0F1EF}
html[data-theme="dark"] .case-cover .case-category,html[data-theme="dark"] .case-cover .case-number{color:#BFC2BE}
html[data-theme="dark"] .home-primary,html[data-theme="dark"] .contact-link,html[data-theme="dark"] nav a[href^="mailto:"]{border:1px solid #F0F1EF!important;color:#F0F1EF!important;background:#2B2E31!important}
html[data-theme="dark"] .method-research,html[data-theme="dark"] .method-execution,html[data-theme="dark"] .editorial-contact,html[data-theme="dark"] .npa-feature{background:#2B2E31;color:#F0F1EF;border-block:1px solid #606560}
html[data-theme="dark"] .method-research *,html[data-theme="dark"] .method-execution *,html[data-theme="dark"] .npa-feature *{--paper:#F0F1EF;--ink:#2B2E31}
html[data-theme="dark"] a:hover{color:#F0F1EF;text-decoration-color:currentColor}
html[data-theme="dark"] :focus-visible{outline:2px solid #F0F1EF!important;outline-offset:4px}
.theme-footer{display:flex;align-items:center;gap:12px;margin-top:24px;font:11px 'DM Mono',monospace;color:var(--theme-muted)}
@media(max-width:1140px){.site-header-row{gap:12px!important}.site-header-row>a img{height:auto!important;width:156px!important}.site-header-row>.theme-toggle{margin-left:auto!important}.site-header-row>button[aria-controls]{margin-left:0!important}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important}}
html[data-theme="dark"] .site-header button[aria-controls="site-menu"] span{background:#F0F1EF!important}
html[data-theme="dark"] .home-primary{background:#F0F1EF!important;color:#2B2E31!important}
html[data-theme="dark"] .home-primary:hover{color:#2B2E31!important}
html[data-theme="dark"] .case-summary{--theme-fg:#2B2E31;--theme-muted:#5F6062;background:#F0F1EF;color:#2B2E31}
html[data-theme="dark"] .case-card:hover{border-color:#F0F1EF}
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;flex-shrink:0;padding:0;border:1px solid transparent;border-radius:50%;color:var(--theme-fg);background:transparent;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background .18s,border-color .18s,transform .12s}
.theme-toggle svg{display:block;transition:transform .22s ease}
.theme-toggle[aria-pressed="true"] svg{transform:rotate(180deg)}
@media(hover:hover){.theme-toggle:hover{border-color:var(--theme-line);background:color-mix(in srgb,var(--theme-fg) 8%,transparent)}}
.theme-toggle:active{transform:scale(.9);background:color-mix(in srgb,var(--theme-fg) 14%,transparent)}
.theme-toggle:focus-visible{outline:2px solid var(--theme-fg);outline-offset:3px}
html[data-theme="dark"] .case-card{border-color:#606560}
html[data-theme="dark"] .case-cover{border:0;border-bottom:1px solid #606560}
@media(prefers-reduced-motion:reduce){.theme-toggle,.theme-toggle svg{transition:none}}
/* The brand's seven-step data ramp supplies a restrained surface hierarchy. */
:root[data-theme="dark"]{--theme-surface:#484A4D;--theme-muted:#A9AAAA;--theme-line:#66696B}
html[data-theme="dark"] :is(.method-execution,.editorial-contact,.ai-brand-package,.engagement-grid article){background:#484A4D;color:#F0F1EF;--theme-muted:#CCCDCC;--theme-line:#87898A}
html[data-theme="dark"] .method-execution{border-block:0}
html[data-theme="dark"] .editorial-contact{border-color:#66696B}
html[data-theme="dark"] .ai-brand-package{border-color:#66696B}
html[data-theme="dark"] .package-link{border-color:currentColor}
html[data-theme="dark"] section[style*="background"][style*="--theme-surface"]{--theme-muted:#CCCDCC}
html[data-theme="dark"] .founder-profile>div{padding:clamp(24px,3vw,40px);background:#484A4D;color:#F0F1EF}
html[data-theme="dark"] .founder-profile .profile-label{color:#CCCDCC}
html[data-theme="dark"] .founder-profile .profile-close{border-color:#87898A}
html[data-theme="dark"] .case-cover :is(.case-category,.case-number){color:#A9AAAA}
html[data-theme="dark"] .case-cover,html[data-theme="dark"] .case-card{border-color:#66696B}
html[data-theme="dark"] .case-summary a:hover{color:#2B2E31}
html[data-theme="dark"] .case-summary :focus-visible{outline-color:#2B2E31!important}
[data-brand-stat]{font-family:'DM Mono',ui-monospace,monospace!important;font-variant-numeric:tabular-nums;letter-spacing:-.045em!important}
html[data-theme="dark"] [style*="background"][style*="--theme-surface"]{--theme-muted:#CCCDCC}
