/* GSAP owns only these motion properties; default styling remains the fallback. */
html[data-gsap-state=active] .ad-theme .ad-float,
html[data-gsap-state=active] .ad-theme .v2-network,
html[data-gsap-state=active] .ad-theme .megamenu:not([hidden]),
html[data-gsap-state=active] .ad-theme .mm-panel:not([hidden]),
html[data-gsap-state=active] .ad-theme .timeline--h>li.ad-progress-visible .ad-progress{animation:none!important}
html[data-gsap-state=off] .ad-theme .ad-float,
html[data-gsap-state=off] .ad-theme .v2-network{animation:none!important}
html[data-gsap-state=off] .ad-theme .timeline--h>li .ad-progress{transform:scaleX(1)!important}

/* Decorative hero motion: behind all content, never captures input. */
.ad-theme .v2-hero .hero-effects{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:-1;color:var(--hero-particle);opacity:.72;mask-image:linear-gradient(to bottom,transparent 0%,#000 13%,#000 88%,transparent 100%)}
.ad-theme .hero-effects svg{display:block;width:100%;height:100%;max-width:none}
html[data-design=ai-marketing-agency] .ad-theme .hero-effects{opacity:1;mask-image:linear-gradient(to bottom,transparent 0%,#000 8%,#000 94%,transparent)}
html[data-theme=dark] .ad-theme .hero-effects{opacity:.9}
html[data-motion=off] .ad-theme .hero-effects{display:none}
@media(prefers-reduced-motion:reduce){.ad-theme .hero-effects{display:none}}
@media(max-width:639px){.ad-theme .v2-hero .hero-effects{opacity:.48}}

/* Pending reveal is staged before entering the viewport. No transform changes layout.
   Only the running engine marks nodes; without JS all content is visible. */
html[data-gsap-state=active]:not([data-motion=off]) [data-reveal-pending=true]{opacity:0;transition:none!important}
html[data-motion=off] [data-reveal-pending=true]{opacity:1!important}
@media(prefers-reduced-motion:reduce){[data-reveal-pending=true]{opacity:1!important}}
html[data-gsap-state=active] [data-reveal-running=true]{transition:none!important}
