/* Authored finishes for the local Home palette study. Media pixels remain untouched. */
html[data-home-theme="light"] {
    --bg: #ffffff !important;
    --white: #181816 !important;
    --muted: #66665f !important;
    --red: #b94705 !important;
    --shell-orange: #b94705 !important;
    color-scheme: light;
    background: var(--bg);
}
html[data-home-theme="light"] body { background: #ffffff !important; color: #181816 !important; }
html[data-home-theme="light"] .xenith-about-section {
    background:#f3f3f3 !important;
    padding:clamp(72px,7vw,112px) clamp(24px,6vw,120px) clamp(80px,8vw,128px) !important;
}
html[data-home-theme="light"] .xenith-about-header { gap:24px; }
html[data-home-theme="light"] .xenith-about-text { max-width:1100px;line-height:1.1; }
html[data-home-theme="light"] .xenith-about-bottom {
    grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);
    align-items:center;
    gap:clamp(40px,5vw,80px);
    margin-top:clamp(48px,5vw,80px);
}
html[data-home-theme="light"] .xenith-about-copy { max-width:410px; }
html[data-home-theme="light"] .xenith-about-lead { font-size:clamp(20px,1.7vw,27px);line-height:1.25; }
html[data-home-theme="light"] .xenith-about-more { margin-top:24px; }
html[data-home-theme="light"] .xenith-about-images { gap:4%;align-items:center; }
html[data-home-theme="light"] .xenith-about-image.small { width:38%;margin-top:64px;flex-shrink:0; }
html[data-home-theme="light"] .xenith-about-image.large { width:58%;flex-shrink:0; }
@media(max-width:767px) {
    html[data-home-theme="light"] .xenith-about-section { padding:56px 20px 64px !important; }
    html[data-home-theme="light"] .xenith-about-header { gap:20px; }
    html[data-home-theme="light"] .xenith-about-text { font-size:clamp(30px,8.8vw,38px);line-height:1.12; }
    html[data-home-theme="light"] .xenith-about-bottom { margin-top:36px;gap:36px; }
    html[data-home-theme="light"] .xenith-about-copy { max-width:none; }
    html[data-home-theme="light"] .xenith-about-lead { font-size:20px;line-height:1.3; }
    html[data-home-theme="light"] .xenith-about-more { margin-top:18px; }
    html[data-home-theme="light"] .xenith-about-image.small { margin-top:36px; }
}
/* Pure-white canvas, retaining the existing dark version when the switch is off. */
html[data-home-theme="light"] .hero-scroll,
html[data-home-theme="light"] .hero-sticky { background:#fff !important; }
html[data-home-theme="light"] .home-site-header:not(.is-header-sticky):not(.is-menu-open) { background:#fff !important; }
html[data-home-theme="light"] .hero-title-top,
html[data-home-theme="light"] .hero-title-bottom,
html[data-home-theme="light"] .team-stack-title .section-reveal-word { color:#181816 !important; }
html[data-home-theme="light"] .hero-content .badge-el { color:#66665f !important; }
html[data-home-theme="light"] .team-marquee-word { color:#d0d0d0 !important;opacity:1; }
html[data-home-theme="light"] .team-glass-card {
    background: #fff !important;
    border: 1px solid #dedede !important;
    box-shadow: 0 12px 32px rgba(24,24,24,.065) !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
html[data-home-theme="light"] .team-glass-card::before { background: none !important; }
html[data-home-theme="light"] .projects-title,
html[data-home-theme="light"] .projects-title *,
html[data-home-theme="light"] .xenith-about-text,
html[data-home-theme="light"] .xenith-about-text span { color: #181816 !important; }
/* Keep the cinematic showcase legible over its video, in either theme. */
html[data-home-theme="light"] .xenith-visual-hero { --white:#fff; --red:#ed6b17; background:#101010 !important; }
html[data-home-theme="light"] .xenith-visual-hero::after { background:linear-gradient(180deg,rgba(0,0,0,.14),rgba(0,0,0,.38) 72%,rgba(0,0,0,.48)) !important; }
html[data-home-theme="light"] .xenith-hero-content,
html[data-home-theme="light"] .xenith-hero-content * { color:#fff !important; }
html[data-home-theme="light"] .xenith-hero-bg { filter:none !important; }
html[data-home-theme="light"] .hero-video-wrapper { box-shadow:0 12px 34px rgba(0,0,0,.09) !important; }
html[data-home-theme="light"] .hero-video-wrapper > .bg-gradient-to-t { background-image:none !important; }
html[data-home-theme="light"] .xenith-visual-hero {
    outline:1px solid rgba(24,24,24,.10);
    outline-offset:-1px;
    box-shadow:0 12px 36px rgba(24,24,24,.06) !important;
}
html[data-home-theme="light"] .stat-label,
html[data-home-theme="light"] .section-kicker,
html[data-home-theme="light"] .journal-tag,
html[data-home-theme="light"] .team-member-role,
html[data-home-theme="light"] .footer-column-title,
html[data-home-theme="light"] .footer-contact-label,
html[data-home-theme="light"] .footer-copyright,
html[data-home-theme="light"] .footer-credit { color:#595959 !important; }
html[data-home-theme="light"] .journal-intro,
html[data-home-theme="light"] .faq-answer-text,
html[data-home-theme="light"] .footer-manifesto { color:#525252 !important; }
html[data-home-theme="light"] .faq-item,
html[data-home-theme="light"] .footer-bottom { border-color:#dedede !important; }
html[data-home-theme="light"] .xaxis-contact-form input:not([type="checkbox"]),
html[data-home-theme="light"] .xaxis-contact-form textarea,
html[data-home-theme="light"] .premium-select-trigger { border-color:#ccc !important; }
html[data-home-theme="light"] .xaxis-contact-form input:focus-visible,
html[data-home-theme="light"] .xaxis-contact-form textarea:focus-visible,
html[data-home-theme="light"] .premium-select-trigger:focus-visible { border-color:var(--red) !important; outline:2px solid var(--red);outline-offset:3px; }
html[data-home-theme="light"] .home-site-header.is-header-sticky,
html[data-home-theme="light"] .home-site-header.is-menu-open { background:rgba(255,255,255,.98) !important; }
/* The current MENU + control is frameless; ignore the legacy mobile icon border. */
html[data-home-theme="light"] .home-site-header.menu-ready .site-menu-toggle {
    border:0 !important;
    background:transparent !important;
    box-shadow:none !important;
}
html[data-home-theme="light"] .site-footer { background:#ffffff !important; border-top-color:rgba(24,24,22,.13) !important; }
html[data-home-theme="light"] .footer-logo { filter:brightness(0); }
html[data-home-theme="light"] .footer-big-word { color:rgba(24,24,22,.06) !important; }
html[data-home-theme="light"] input,
html[data-home-theme="light"] textarea,
html[data-home-theme="light"] select { color-scheme:light; }
html[data-home-theme="light"] .xaxis-contact-form input,
html[data-home-theme="light"] .xaxis-contact-form textarea,
html[data-home-theme="light"] .premium-select-trigger { box-shadow:none !important; }
html[data-home-theme="light"] .tracking-cookie-consent .cookie-actions button { background:#e9e7e1 !important;color:#242420 !important; }
html[data-home-theme="light"] .tracking-cookie-consent .cookie-actions button:first-child,
html[data-home-theme="light"] .tracking-cookie-consent .cookie-actions button:last-child { background:#242420 !important;color:#fff !important; }
html[data-home-theme="light"] .cookie-consent .cookie-actions .cookie-button { background:#e9e7e1 !important;color:#242420 !important; }
html[data-home-theme="light"] .cookie-consent .cookie-actions .cookie-button.is-primary { background:#242420 !important;color:#fff !important; }
html[data-home-theme="light"] input::placeholder,
html[data-home-theme="light"] textarea::placeholder { color:#686861 !important; opacity:1; }
html[data-home-theme="light"] .contact-submit:hover { color:#fff !important; }
html[data-home-theme="light"] .audit-light-link { animation:none; text-shadow:none !important; }
/* Give the form its own surface on the white canvas. */
html[data-home-theme="light"] .xaxis-contact-form {
    background:#fff !important;
    border:1px solid #e9e9e9;
    border-radius:16px;
    padding:clamp(24px,3vw,42px);
    box-shadow:0 12px 44px rgba(24,24,24,.08),0 2px 8px rgba(24,24,24,.035) !important;
    min-width:0;
}
html[data-home-theme="light"] .cookie-reopen,
html[data-home-theme="light"] .cookie-reopen svg { color:#fff !important; }
@media(max-width:767px) {
    html[data-home-theme="light"] .xaxis-contact-form { padding:24px 18px;border-radius:12px; }
}
/* Local comparison in both themes: quieter scrolling skills band. */
html[data-home-theme] .growth-rotator-word { font-size:clamp(113px,13.2vw,255px) !important; }
html[data-home-theme] .growth-rotator-dot {
    width:clamp(25px,2.52vw,49px) !important;
    height:clamp(25px,2.52vw,49px) !important;
    margin-inline:clamp(50px,5.06vw,99px) !important;
}
@media(max-width:767px) {
    html[data-home-theme] .growth-rotator-word { font-size:clamp(58px,19.36vw,77.5px) !important; }
    html[data-home-theme] .growth-rotator-dot { width:9px !important;height:9px !important;margin-inline:32px !important; }
}
/* Preview only: desktop header control and labelled mobile menu control. */
.home-theme-toggle {
    display:inline-flex;align-items:center;justify-content:center;gap:12px;
    min-height:44px;padding:0;border:0;background:transparent;color:#fff;
    font:600 12px/1.2 'Space Grotesk',sans-serif;cursor:pointer;box-shadow:none;
}
.home-theme-toggle svg { display:block;width:20px;height:20px;flex:0 0 20px; }
.home-theme-toggle:focus-visible { outline:2px solid #db5906;outline-offset:3px;border-radius:4px; }
html[data-home-theme="light"] .home-theme-toggle { color:#181816; }
.home-theme-toggle:hover { color:#db5906 !important; }
.home-theme-toggle--desktop { width:36px; }
.home-theme-toggle--desktop span { display:none; }
@media(min-width:1041px) {
    .home-site-header .home-language-switcher-desktop,
    .site-header .site-language-switcher-desktop { display:flex;align-items:center;gap:12px; }
}
.home-theme-toggle--mobile { width:100%;justify-content:flex-start;margin-top:12px;padding-top:12px;border-top:1px solid rgba(255,255,255,.14); }
html[data-home-theme="light"] .home-theme-toggle--mobile { border-top-color:#dedede; }
