/* The sole page background. The fixed viewport surface replaces legacy page fills. */
:root{--enigma-site-base:#f5f6ff;--enigma-site-violet:#bf97fc35;--enigma-site-blue:#4adfff20;--enigma-ambient-violet:#a267ee38;--enigma-ambient-blue:#358ef02a;--enigma-ambient-pink:#ed6dc920}
[data-bs-theme=dark]{--enigma-site-base:#050718;--enigma-site-violet:#33107436;--enigma-site-blue:#0054ee20;--enigma-ambient-violet:#963bef45;--enigma-ambient-blue:#315ef038;--enigma-ambient-pink:#f335db20}
html{background:var(--enigma-site-base)!important}
body{isolation:isolate;background:transparent!important}
.enigma-site-background{position:fixed;inset:0;z-index:-1;overflow:hidden;pointer-events:none;contain:strict;background:radial-gradient(ellipse at 79% 40%,var(--enigma-site-violet),transparent 45%),radial-gradient(ellipse at 55% 90%,var(--enigma-site-blue),transparent 50%),var(--enigma-site-base)}
.enigma-site-background::before{content:'';position:absolute;width:min(760px,100%);height:min(640px,100%);right:0;top:12%;background:radial-gradient(ellipse 210px 190px at 65% 40%,var(--enigma-ambient-violet),transparent 100%),radial-gradient(ellipse 220px 190px at 40% 65%,var(--enigma-ambient-blue),transparent 100%),radial-gradient(ellipse 160px 150px at 68% 70%,var(--enigma-ambient-pink),transparent 100%);animation:enigma-site-drift 24s ease-in-out infinite alternate}
/* Remove old fills, rather than placing a tinted layer on top of them. Cards stay surfaces. */
body #smooth-wrapper,body #smooth-content,body main,body main section,body [data-enigma-hero].hero,body [data-enigma-page-surface]{background:transparent!important;background-image:none!important}
body main :is(.at-service-area,.mg-portfolio-area,.at-sec7-area,.at-sec8-area,.at-sec9-area,.tt-erp-process,.box-newsletter,[class*="sec-2-"],[class*="sec-3-"],[class*="sec-4-"],[class*="sec-1-faqs"],.home-5-section-7){background:transparent!important;background-image:none!important}
/* Intentional sections with white typography and the shared footer use the same navy palette. */
body main :is(section.bi-on-dark,section.bi-hero,section.wd-process,section.wd-cta,.changeless.bg-black,.changeless.bg-neutral-900){background:#0b0e23!important}
@keyframes enigma-site-drift{0%{transform:translate3d(0,-18px,0);opacity:.45}50%{transform:translate3d(-35px,20px,0);opacity:1}100%{transform:translate3d(12px,48px,0);opacity:.65}}
html[data-motion=paused] .enigma-site-background::before,html[data-site-background-paused] .enigma-site-background::before{animation-play-state:paused!important}
@media(max-width:600px){.enigma-site-background::before{height:420px;animation:enigma-site-mobile 30s ease-in-out infinite alternate}@keyframes enigma-site-mobile{from{transform:translate3d(0,-12px,0);opacity:.35}to{transform:translate3d(0,18px,0);opacity:.85}}}
@media(prefers-reduced-motion:reduce){.enigma-site-background::before{animation:none;opacity:.5}}

body #smooth-content main{background:transparent!important;background-image:none!important}

html body main:is(.bg-neutral-0,.bg-neutral-50,.wd-page){background:transparent!important;background-image:none!important}
