.primary-nav .menu-appearance{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding-top:18px;font-size:16px;flex-shrink:0}
.menu-appearance small{display:block;font-size:13px;color:var(--muted);margin-top:4px}
.menu-appearance .theme-switch{display:flex;align-items:center;width:52px;min-width:52px;height:32px;padding:6px;border:0;border-radius:24px;background:#d7d1c9}
.theme-switch>span{display:block;width:20px;height:20px;border-radius:50%;background:white;box-shadow:0 1px 4px #0002;transition:transform .2s}
.theme-switch[aria-checked=true]>span{transform:translateX(20px)}
:root[data-theme=dark]{--ink:#f4f0eb;--paper:#211f1d;--muted:#bcb4ac;--line:#4a4540;--dark-base:#181715;--dark-surface:#2c2926;background:var(--dark-base);color:var(--ink);color-scheme:dark}
:root[data-theme=dark] body{background:var(--dark-base);color:var(--ink)}
:root[data-theme=dark] body :is(article,aside){background-color:var(--paper);color:var(--ink);border-color:var(--line)}
:root[data-theme=dark] body :is(details,button){color:var(--ink);border-color:var(--line)}
:root[data-theme=dark] body :is(.site-header,.primary-nav,dialog,.site-footer,.newsletter,.newsletter-signup,.experience-panel,.experience-copy,.ed-hero,.article-hero,.feature-interface-visual,.feature-visual,.product-stage,.product-stage-bar,.product-stage-body,.product-edit,.product-look figcaption,.interface-dialog header,.privacy-consent-banner,.privacy-preferences,.demo-toolbar,.demo-dialog,.demo-loading,.product-proof,.page-hero,.page-section,.company-credibility,.university-partnerships,.relationship-card,.team-grid article,.leadership-status,.team-join,.careers-callout,.contact-route-card,.conversation-card,.integration-option,.integration-card,.cookie-control-panel){background-color:var(--paper)!important;color:var(--ink)!important;border-color:var(--line)!important}
:root[data-theme=dark] body .site-header{background:#181715f5!important}
:root[data-theme=dark] body :is(.experience-art.product-interface,.vic-message,.product-edit-piece,.feature-copy,.platform-proof-card,.channel-card,.article-aside,.ceo-letter-aside,.team-detail,.newsletter-dialog,.book-dialog,.booking-dialog,.consumer-signup,.partner-form,.form-card){background-color:var(--dark-surface)!important;color:var(--ink)!important;border-color:var(--line)!important}
:root[data-theme=dark] body :is(h1,h2,h3,h4,strong,.footer-column nav a,.footer-socials a,.nav-contact,.desktop-nav a,.primary-nav a,.quiet-link,.interface-dialog,.product-edit-piece strong,.product-stage-bar strong){color:var(--ink)}
:root[data-theme=dark] body :is(p,small,.eyebrow,.hero-description,.ed-lede,.serif,.team-unicorn,.team-grid span,.team-position,.relationship-category,.leadership-instruction,.footer-legal,.footer-follow h2,.footer-column h2,.interface-caption,.vic-draft,.vic-attachment,.journey,.stage-eyebrow,.stage-status,.language-trigger,.team-page .leadership-intro strong){color:var(--muted)!important}
:root[data-theme=dark] body :is(.primary-button,.ed-button,.button-dark,.privacy-primary,.privacy-consent-accept,.newsletter-form button,.newsletter-action button,.gform_button){background:var(--ink)!important;color:var(--dark-base)!important;border-color:var(--ink)!important}
:root[data-theme=dark] body :is(.button,.button-small,.button-light,.secondary-button,.language-trigger,.experience-tabs button,.channel-tabs button,.privacy-consent-actions button,.article-social-actions a,.article-social-actions button,.footer-button){background-color:var(--paper);color:var(--ink);border-color:var(--line)}
:root[data-theme=dark] body :is(.experience-tabs button[data-preview-active=true],.channel-tabs button[aria-selected=true]){background:var(--ink);color:var(--dark-base)}
:root[data-theme=dark] body :is(.primary-button,.ed-button,.button-dark,.privacy-primary,.privacy-consent-accept,.gform_button) :is(span,small,svg){color:inherit!important}
:root[data-theme=dark] body :is(input,select,textarea){background-color:var(--dark-surface)!important;color:var(--ink)!important;border-color:var(--line)!important;accent-color:var(--ink)}
:root[data-theme=dark] body :is(input,textarea)::placeholder{color:var(--muted);opacity:1}
:root[data-theme=dark] body :is(.footer-thesis,.footer-follow,.footer-legal,.footer-grid,.nav-main,.nav-actions,.benefits>div,.article-details,.relationship-card,.team-card,.leadership-card){border-color:var(--line)!important}
:root[data-theme=dark] body :is(.site-logo,.footer-logo img,.arrival img[src*="logo"],.page-loader img[src*="logo"],.ceo-signature-mark){filter:invert(1)}
:root[data-theme=dark] body .site-header .nav-experience{background-color:var(--dark-surface)!important;color:var(--ink)!important;box-shadow:0 0 0 1px var(--line);animation:none}
:root[data-theme=dark] body :is(.footer-language nav,.language-dialog nav a,.newsletter-confirmation,.form-success){background-color:var(--paper);color:var(--ink);border-color:var(--line)}
:root[data-theme=dark] body :is(.hero h1 span,.editorial-page h1 span,.article-back-link,#enlarge-interface){color:var(--muted)}
:root[data-theme=dark] body .theme-switch{background:#807468}
:root[data-theme=dark] body :is(.nav-toggle,.product-stage-bar>span){color:var(--muted)!important}
:root[data-theme=dark] body :is(.recognition-card,.leadership-tabs button,.value-accordion,.team-person,.team-profile-dialog,.operator-experience){background-color:var(--paper)!important;color:var(--ink)!important;border-color:var(--line)!important}
:root[data-theme=dark] body :is(.operator-experience span,.team-profile-copy,.team-profile-copy span){color:var(--ink)!important}
:root[data-theme=dark] body .leadership-tabs button.is-active{background-color:var(--dark-surface)!important;border-color:var(--muted)!important}
:root[data-theme=dark] body :is(dialog header>button,.dialog-heading>button,.privacy-preferences-close,.arrival-dismiss){background-color:var(--paper)!important;color:var(--ink)!important;border-color:var(--line)!important}
:root[data-theme=dark] body :focus-visible{outline:2px solid #d5cbc1;outline-offset:3px}
:root[data-theme=dark] dialog::backdrop{background:#000b}
/* The photograph remains photographic; its surrounding controls follow the theme. */
:root[data-theme=dark] body .photo-signature{background:#211f1dee;border-color:var(--line)}
:root[data-theme=dark] body .photo-signature img{filter:invert(1)}
@media(max-width:520px){.primary-nav .menu-appearance{font-size:15px}.menu-appearance .theme-switch{min-height:36px;height:36px}}
@media(prefers-reduced-motion:reduce){.theme-switch>span{transition:none}}
/* Page sections and media frames use the same palette, including older page templates. */
:root[data-theme=dark] body :is(main,main section,.brand-story-page,.ceo-letter){background:var(--dark-base)!important;color:var(--ink);border-color:var(--line)}
:root[data-theme=dark] body :is(figure,figcaption,.associate-result,.product-twin,.product-compare,.product-look,.dev-code-tabs button[aria-selected=true],.skip,.ed-cta,.story-final-cta,.dev-final-cta,.story-statement,.ceo-endurance,.open-role,.blog-feature-story,.page-intro){background-color:var(--paper)!important;color:var(--ink)!important;border-color:var(--line)!important}
:root[data-theme=dark] body :is(.presenter-film figcaption,.dev-video-slot figcaption,.story-video-frame figcaption) :is(span,strong){color:var(--ink)!important}
:root[data-theme=dark] body :is(.article-hero-media img,.blog-feature-media img,.story-video-frame>img,.story-video-frame video,.dev-video-slot video){background-color:var(--paper)}
:root[data-theme=dark] body :is(.page-intro-logo,.page-intro-mark){filter:invert(1)}
:root[data-theme=dark] body :is(.dev-launch-steps li,.dev-asset-callout){background-color:var(--paper)!important;color:var(--ink)!important;border-color:var(--line)!important}
:root[data-theme=dark] body :is(.hero-film,.experience-tabs,.channel-tabs){background-color:var(--dark-surface)!important;border-color:var(--line)!important}
/* Keep text and its surface in the same palette, including legacy page cards. */
:root[data-theme=dark] body .desktop-try{background:var(--ink)!important;color:var(--dark-base)!important;border-color:var(--ink)!important;box-shadow:none}
:root[data-theme=dark] body :is(.consumer-store,.consumer-form,.integration-concierge){background-color:var(--dark-surface)!important;color:var(--ink)!important;border-color:var(--line)!important}
:root[data-theme=dark] body .consumer-store img{filter:invert(1)}
:root[data-theme=dark] body main :is(a,label){color:var(--ink)}
:root[data-theme=dark] body main :is(span,i){color:var(--muted)}
:root[data-theme=dark] body :is(.newsletter-form label,.integration-status,.associate-edit>div span,.leader-meta i,.press-ribbon>span){color:var(--muted)!important}
:root[data-theme=dark] body .press-ribbon a{color:var(--ink)!important}
:root[data-theme=dark] body .hero-film:after{background:linear-gradient(90deg,#181715fa 0%,#181715ed 26%,#18171500 65%)}
:root[data-theme=dark] body :is(.hero-heading .eyebrow,.hero-description){color:#ded7cf!important}
/* Text inside a selected or primary action follows the action's contrasting ink. */
:root[data-theme=dark] body :is(.primary-button,.ed-button,.button-dark,.privacy-primary,.privacy-consent-accept,.newsletter-form button,.newsletter-action button,.gform_button){background:var(--ink)!important;color:var(--dark-base)!important;border-color:var(--ink)!important}
:root[data-theme=dark] body :is(.primary-button,.ed-button,.button-dark,.privacy-primary,.privacy-consent-accept,.newsletter-form button,.newsletter-action button,.gform_button,.experience-tabs button[data-preview-active=true],.channel-tabs button[aria-selected=true]) :is(span,small,strong,svg){color:inherit!important}
:root[data-theme=dark] body :is(pre,code){background-color:var(--dark-surface)!important;color:var(--ink)!important;border-color:var(--line)!important}

/* Theme surfaces must preserve photographic background images and light-mode grouping. */
:root[data-theme=dark] body :is(.value-card,.value-accordion,.leader-card,.feature-tabs button){background-color:transparent!important}
:root[data-theme=dark] body .feature-tabs button[aria-selected=true]{background-color:var(--paper)!important;color:var(--ink)}
:root[data-theme=dark] body :is(.leader-profile-popover,.product-motion,.customer-message,.fit-illustration-note){background-color:var(--paper)!important;color:var(--ink)!important;border-color:var(--line)!important}
:root[data-theme=dark] body .leader-linkedin,:root[data-theme=dark] body .leader-linkedin:hover,:root[data-theme=dark] body .leader-linkedin:focus-visible{color:#fff!important}
:root[data-theme=dark] body .leader-linkedin svg{fill:currentColor}
:root[data-theme=dark] body .product-page :is(#feature-compare,#feature-stylist) .product-pair figure,:root[data-theme=dark] body .product-page :is(#feature-outfit,#feature-saved) .product-look{background-color:transparent!important}

:root[data-theme=dark] body .saved-edit li{color:var(--muted)}

:root[data-theme=dark] body .vic-message>span{color:var(--muted)!important}

:root[data-theme=dark] body #enlarge-interface{background-color:transparent!important}

:root[data-theme=dark] body .journey b{color:var(--muted)!important}
