/* Theme switch and deliberate palette corrections after the generated colour layer. */
.sx-motion-site .motion-theme-toggle{display:grid;place-items:center;flex-shrink:0;width:38px;height:38px;min-height:0;margin:0;padding:0;border:1px solid #ffffff36;border-radius:50%;background:#ffffff09;color:#d1e1ed;box-shadow:none;line-height:1;cursor:pointer}
.sx-motion-site .motion-theme-toggle[hidden]{display:none!important}.motion-theme-toggle svg{display:block;width:20px;height:20px}.motion-theme-toggle .motion-theme-moon{display:none}
.sx-motion-site .motion-navigation>.motion-mobile-contact{display:none}
html[data-sx-theme=light]{background:#f7fafc;color-scheme:light}
html[data-sx-theme=dark]{background:#080e19;color-scheme:dark}
html[data-sx-theme=light] .sx-motion-site{color-scheme:light;--sx-bg:#f7fafc;--sx-surface:#fff;--sx-ink:#182f3e;--sx-muted:#4d6578;--sx-line:#1d526a29}
html[data-sx-theme=light] .motion-theme-toggle{background:#fff;border-color:#1d526a35;color:#23566a}
html[data-sx-theme=light] .motion-theme-toggle .motion-theme-moon{display:block}
html[data-sx-theme=light] .motion-theme-toggle .motion-theme-sun{display:none}
html[data-sx-theme=light] .sx-motion-site .motion-logo-wordmark{filter:none!important}
html[data-sx-theme=light] .sx-motion-site .sx-contact-dock a{background:#fffffff2!important;color:#07674f!important;border-color:#13745c44;box-shadow:0 4px 24px #163b5014}
html[data-sx-theme=light] .sx-motion-site :is(.sxsw-page,.sxa-page) em,html[data-sx-theme=light] .sx-motion-home h1 span,html[data-sx-theme=light] body.sx-motion-growth #main .agency-page .hero-copy h1 span{background-image:linear-gradient(105deg,#08745c,#24688b);background-clip:text;-webkit-background-clip:text;color:transparent!important}
html[data-sx-theme=light] .sx-motion-site :is(input,textarea,select){color-scheme:light}
html[data-sx-theme=light] .sx-motion-site :is(input,textarea)::placeholder{color:#536d7f!important;opacity:1}
html[data-sx-theme=light] .sx-motion-site :is(.wpcf7-not-valid-tip,.form-error,.error-message){color:#a3382f!important}
html[data-sx-theme=light] .sx-motion-site :is(a,button,input,textarea,select,summary):focus-visible{outline-color:#08745c}
html[data-sx-theme=light] .sx-motion-site .sxm-toggle{color:#315867;border-color:#1d526a35;background:#ffffffc9}
html[data-sx-theme=light] .sx-motion-site .sxm-canvas{mix-blend-mode:normal;opacity:.55}
html[data-sx-theme=light] .sx-motion-site.sxm-paused .sxm-canvas{opacity:.18}
html[data-sx-theme=light] .sx-motion-home #orb{mix-blend-mode:normal;opacity:1}
@media(max-width:1180px){.sx-motion-site .motion-theme-toggle{margin-left:auto}.sx-motion-site .motion-header-cta{margin-left:auto}.sx-motion-site .motion-header-cta+.motion-theme-toggle{margin-left:0}}
@media(max-width:480px){.sx-motion-site .sx-motion-header .motion-header-cta{display:none}.sx-motion-site .sx-motion-header .motion-theme-toggle{margin-left:auto}.sx-motion-site .motion-navigation>.motion-mobile-contact{display:block}.sx-motion-site .sx-motion-header{gap:12px}}
@media(prefers-reduced-motion:no-preference){.sx-motion-site .motion-theme-toggle{transition:background .18s,color .18s,border-color .18s}.sx-motion-site .motion-theme-toggle:hover{transform:translateY(-1px)}}

html[data-sx-theme=light] .sx-motion-site .sx-motion-header .motion-original-logo,html[data-sx-theme=light] .sx-motion-site .motion-footer-company .motion-original-logo{background:transparent;border:0;box-shadow:none}

/* Daylight motion uses a quieter depth and clearer surfaces. */
html[data-sx-theme=light] .sx-motion-home .hero-glow{opacity:.25;filter:blur(80px)}
html[data-sx-theme=light] .sx-motion-home .hero-art{opacity:1}
html[data-sx-theme=light] .sx-motion-home .glass{background:linear-gradient(125deg,#fffffff2,#f3faf9eb);border-color:#246e7c26;box-shadow:0 10px 28px #1b4d6510;backdrop-filter:blur(8px)}
html[data-sx-theme=light] .sx-motion-about .sxa-photo-frame:after{background:none}
html[data-sx-theme=light] .sx-motion-about .sxa-photo-frame img{filter:none}
html[data-sx-theme=light] :is(.sxsw-hero,.sxa-hero):before{opacity:.28}
html[data-sx-theme=light] body.sxm-enhanced .sxm-card:after{background:radial-gradient(280px circle at var(--sxm-x,50%) var(--sxm-y,50%),rgb(19 112 93 / calc(var(--sxm-glow,0)*.5)),transparent 76%)}
html[data-sx-theme=light] body.sxm-enhanced .sxm-progress{background:linear-gradient(90deg,#17816d,#397cac);box-shadow:none}
html[data-sx-theme=light] body.sxm-enhanced.sxm-running .sxm-depth{animation:none!important;transform:none!important}
@keyframes sxm-daylight-float{0%,100%{translate:0 0}50%{translate:0 -3px}}
@media(prefers-reduced-motion:no-preference){
 html[data-sx-theme=light] body.sxm-enhanced.sxm-running .sxm-reveal{transition-duration:.5s!important;transition-delay:calc(var(--sxm-delay,0ms)*.5)!important;transform:translate3d(0,12px,0)!important}
 html[data-sx-theme=light] body.sxm-enhanced.sxm-running .sxm-reveal.sxm-shown{transform:translate3d(0,0,0)!important}
 html[data-sx-theme=light] body.sxm-enhanced.sxm-running .sxm-intro{transition-duration:.55s;translate:0 10px}
 html[data-sx-theme=light] body.sxm-enhanced.sxm-running.sxm-entered .sxm-intro{translate:0 0}
 html[data-sx-theme=light] .sx-motion-home .floating{animation-name:sxm-daylight-float;animation-duration:9s}
}
@media(min-width:761px) and (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 html[data-sx-theme=light] body.sxm-enhanced.sxm-running .sxm-depth{animation:sxm-daylight-float 9s ease-in-out infinite!important}
 html[data-sx-theme=light] body.sxm-enhanced.sxm-running .sxm-card.sxm-shown:hover{transform:translate3d(0,-2px,0)!important;border-color:#18755d45!important;box-shadow:0 8px 24px #163e5010!important}
 html[data-sx-theme=light] body.sxm-enhanced.sxm-running :is(.sxa-button,.sxsw-button,.ads-button):hover{transform:translateY(-2px);box-shadow:0 6px 18px #19745e18!important}
}
