/* Two composed worlds: daylight → black editorial; night → light editorial. */
:root{--x-theme-duration:1.45s;--x-theme-ease:cubic-bezier(.45,0,.2,1)}
body,.what-we-do,.what-we-do__s-container,.h-projects,.awards,.footer,.x-blackhole,.header,.experience-trigger,.x-theme-toggle,.mobile-nav__surface,.mobile-nav__logo,.what-we-do__title,.what-we-do__list-item,.h-projects__text,.x-case-copy p,.awards__title,.awards__item,.footer__title{transition:background-color var(--x-theme-duration) var(--x-theme-ease),color var(--x-theme-duration) var(--x-theme-ease),border-color var(--x-theme-duration) var(--x-theme-ease)}
.x-theme-toggle{position:fixed;top:19px;right:14%;z-index:82;display:flex;gap:7px;align-items:center;min-height:38px;padding:7px 13px;border:1px solid #15151530;border-radius:24px;background:#ffffffb8;color:#151515;font:500 12px/1 -apple-system,BlinkMacSystemFont,sans-serif;backdrop-filter:blur(14px);cursor:pointer;box-shadow:0 4px 20px #00000005}
.x-theme-toggle:focus-visible{outline:2px solid #ff6cbf;outline-offset:4px}.x-theme-toggle:hover{border-color:#ff6cbf}.x-theme-icon{width:17px;height:17px;display:flex}.x-theme-icon svg{width:100%;height:100%}.x-theme-moon{display:none}.x-night .x-theme-sun{display:none}.x-night .x-theme-moon{display:flex}
.x-dark-world .x-theme-toggle,.x-night:not(.x-dark-world) .x-theme-toggle{background:#111623cf;color:#f5f5f7;border-color:#ffffff35}.x-night.x-dark-world .x-theme-toggle{background:#ffffffcf;color:#10131a;border-color:#161b2933}
.x-rich-portrait>.x-rich-day,.x-rich-portrait>.x-rich-night{transition:opacity var(--x-theme-duration) var(--x-theme-ease)}.x-rich-portrait>.x-rich-night{opacity:0;filter:none!important}.x-night .x-rich-portrait>.x-rich-day{opacity:0}.x-night .x-rich-portrait>.x-rich-night{opacity:1}
.x-night body{background:#050811;color:#f5f5f7}.x-night .loader{background:#050811!important;color:#f5f5f7!important}.x-night .loader__content:before{color:#f5f5f7!important}
.x-night .hero-storytelling{color:#f5f5f7!important}.x-night .hero-storytelling [class*="__title"],.x-night .hero-storytelling [class*="__text"],.x-night .hero-storytelling [class*="__desc"]{color:#f5f5f7!important;transition:color var(--x-theme-duration) var(--x-theme-ease)}
.x-night .header{color:#f5f5f7!important}.x-night .header__logo a{background:transparent!important;padding:0!important}.x-night:not(.x-dark-world) .header__logo .x-brand-wordmark{filter:brightness(0) invert(1)}.x-night:not(.x-dark-world) .header__logo a:before{content:'';position:absolute;inset:0;background:url('/assets/brand/xcale-lettering.png') center/contain no-repeat;clip-path:inset(0 65% 0 0);z-index:1;pointer-events:none}
.x-night .experience-trigger{background:#0b1221cf;color:#f5f5f7;border-color:#ffffff35}.x-night .experience-menu{background:#101623;color:#f5f5f7;border-color:#344055}.x-night .experience-menu a{border-color:#344055}.x-night .experience-menu small{color:#b3bdcf}.x-night .experience-close{background:#253044;color:#fff}
.x-night .x-blackhole{background:#fff;box-shadow:0 0 0 2px #ff8dcc,0 0 24px 6px #ff6cbf60,0 0 90px 18px #ff6cbf26}
.x-night .what-we-do,.x-night .what-we-do__s-container,.x-night .h-projects{background:#fff!important;color:#12141b!important}.x-night .what-we-do__title{color:#14151b!important}.x-night .what-we-do__list-item,.x-night .what-we-do__list-item:has(.what-we-do__list-item-icon){color:#555963!important}.x-night .what-we-do__list-item.x-service-active{color:#090b10!important}.x-night .what-we-do__btn{color:#090b10!important}.x-night .h-projects__text,.x-night .h-projects .x-case-copy p{color:#60636c!important}.x-night .h-projects .x-case-copy h3,.x-night .h-projects .h-project__title,.x-night .h-projects .h-project__info,.x-night .h-projects .h-projects__title{color:#14151b!important}.x-night .h-projects .x-case-detail{border-color:#d0d1d7;color:#14151b}.x-night .h-projects__btn{color:#14151b!important}
.x-night.x-dark-world .header{color:#11151b!important}.x-night.x-dark-world .header__logo .x-brand-wordmark{filter:none!important}.x-night.x-dark-world .header__logo a:before{display:none}.x-night.x-dark-world .experience-trigger{background:#ffffffd9;color:#14151b;border-color:#161b2933}
.x-night .awards,.x-night .footer{background:#070b12!important;color:#f5f5f7!important}.x-night .awards__title,.x-night .awards__item-title,.x-night .awards__item-title a,.x-night .awards__item-list,.x-night .awards__item-list h4,.x-night .footer__title,.x-night .footer__text,.x-night .footer__link,.x-night .footer-bottom{color:#f5f5f7!important}.x-night .awards__title-sub,.x-night .awards__text,.x-night .footer__description{color:#aab4c5!important}.x-night .awards__item,.x-night .awards__item-list,.x-night .footer__bottom{border-color:#ffffff32!important}.x-night .x-brand-seal img{filter:brightness(0) invert(1)}
.x-night .x-access{background:#111a28;color:#f5f5f7;border-color:#9aa7c15c}.x-night.x-dark-world .x-access{background:#ff6cbf;color:#0b0d12;border-color:#ff6cbf}
.x-night .mobile-nav__surface{background:#111a28!important;border-color:#ffffff35!important}.x-night .mobile-nav__logo .x-brand-wordmark{filter:brightness(0) invert(1)}.x-night .mobile-nav__logo:before{content:'';position:absolute;inset:0;background:url('/assets/brand/xcale-lettering.png') center/contain no-repeat;clip-path:inset(0 65% 0 0);z-index:1}.x-night .mobile-nav button,.x-night .mobile-nav__toggle{color:#fff!important}.x-night.x-dark-world .mobile-nav__surface{background:#fff!important;border-color:#1113!important}.x-night.x-dark-world .mobile-nav__logo .x-brand-wordmark{filter:none}.x-night.x-dark-world .mobile-nav__logo:before{display:none}.x-night.x-dark-world .mobile-nav button,.x-night.x-dark-world .mobile-nav__toggle{color:#111!important}
/* Basic service destinations share the selected palette. */
.x-night body:has(>header>.logo){background:#070b12!important;color:#f5f5f7!important}.x-night body:has(>header>.logo) header,.x-night body:has(>header>.logo) footer,.x-night .services article{border-color:#ffffff35}.x-night .copy{color:#b6c0d0}.x-night .services small{color:#ff8dcc}.x-night .next{color:#111}.x-night header>.logo:has(.x-brand-wordmark){background:#fff;border-radius:8px;padding:3px 5px}.x-night .philosophy-page{background:#070b12!important;color:#f5f5f7!important}.x-night .philosophy-page h1,.x-night .principle{color:#f5f5f7!important}
@media(max-width:700px){.x-theme-toggle{top:16px;right:12px;padding:8px 10px;min-height:36px;font-size:11px;gap:5px}.x-theme-icon{width:15px;height:15px}.x-night .mobile-nav__logo .x-brand-wordmark{filter:brightness(0) invert(1)}.x-night.x-dark-world .mobile-nav__logo .x-brand-wordmark{filter:none}}
@media(prefers-reduced-motion:reduce){:root{--x-theme-duration:0s}.x-rich-portrait{transform:none!important}}

body:has(>header>.logo) .x-theme-toggle{top:103px;right:5vw}body:has(>header>.logo) .experience-trigger{top:103px;left:5vw;transform:none}
@media(max-width:700px){body:has(>header>.logo) .x-theme-toggle,body:has(>header>.logo) .experience-trigger{top:96px}body:has(>header>.logo) main{padding-top:92px}}
@media(min-width:701px) and (max-width:900px){.x-theme-toggle{right:16px}}

.x-night:not(.x-dark-world) .mobile-nav{color:#f5f5f7!important}.x-night:not(.x-dark-world) .mobile-nav__burger-line{background:#f5f5f7!important}.x-night:not(.x-dark-world) .mobile-nav__stroke{border-color:#ffffff55!important}.x-night.x-dark-world .mobile-nav{color:#14151b!important}.x-night.x-dark-world .mobile-nav__burger-line{background:#14151b!important}.mobile-nav__setting:has(#mobile-nav-dark){display:none!important}
/* Preserve every letter and the original pink brush texture in either world. */
.header__logo a:before,.mobile-nav__logo:before{display:none!important;content:none!important}
html:not(.x-night).x-dark-world .header__logo .x-brand-wordmark,
html.x-night:not(.x-dark-world) .header__logo .x-brand-wordmark,
html.x-night:not(.x-dark-world) .mobile-nav__logo .x-brand-wordmark,
html.x-night header>.logo .x-brand-wordmark,
html.x-night .philosophy-page nav>a .x-brand-wordmark{filter:url(#xcale-dark-wordmark)!important}
html.x-night.x-dark-world .header__logo .x-brand-wordmark,
html.x-night.x-dark-world .mobile-nav__logo .x-brand-wordmark{filter:none!important}
html.x-night header>.logo:has(.x-brand-wordmark){background:transparent;padding:0;border-radius:0}
.x-night .x-dialog{background:#0b111e;color:#f5f5f7;border-color:#ffffff35}.x-night .x-dialog input,.x-night .x-dialog textarea{background:#0b111e;color:#f5f5f7;border-color:#677188}.x-night .x-dialog input::placeholder,.x-night .x-dialog textarea::placeholder{color:#aab4c5}.x-night .x-close{color:inherit}.x-night .footer-data__group,.x-night .footer-data__group a,.x-night .next-page,.x-night .next-page__title,.x-night .next-page__next-text,.x-night .next-page__top{color:#f5f5f7!important}
