/* ===== CX motion system · original implementation ===== */
.spark-canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:6}
header.nav .spark-canvas{z-index:70}
.hero .spark-canvas{z-index:4}
.motion-ripple{position:absolute;border-radius:50%;background:rgba(255,255,255,.5);transform:scale(0);opacity:.65;pointer-events:none;animation:motionRipple .68s cubic-bezier(.2,.7,.2,1) forwards}
@keyframes motionRipple{to{transform:scale(1);opacity:0}}
.btn,.nav-cta,.hero-controls button,.ptabs button{position:relative;overflow:hidden}
.menu a{overflow:hidden}
.btn svg,.nav-cta svg{transition:transform .25s cubic-bezier(.2,.7,.2,1)}
.btn:hover svg,.nav-cta:hover svg{transform:translateX(3px)}
/* carousel image + text choreography */
.hero .hero-bg.on{animation:cxKenBurns 7.2s cubic-bezier(.2,.7,.2,1) both}
.hero.motion-ready .bg{animation:cxKenBurns 13s ease-out both}
@keyframes cxKenBurns{from{transform:scale(1.06);filter:brightness(.92) saturate(.95)}to{transform:scale(1.15) translateX(-.6%);filter:brightness(1.02) saturate(1.05)}}
.hero .slide.on .eyebrow{animation:cxRise .55s .04s cubic-bezier(.2,.7,.2,1) both}
.hero .slide.on h1{animation:cxRise .72s .12s cubic-bezier(.2,.7,.2,1) both}
.hero .slide.on .lead{animation:cxRise .72s .22s cubic-bezier(.2,.7,.2,1) both}
.hero .slide.on .cta-row{animation:cxRise .72s .32s cubic-bezier(.2,.7,.2,1) both}
@keyframes cxRise{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
.hero-dots{position:relative;padding-bottom:9px}
.hero-dots::before{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;border-radius:2px;background:linear-gradient(90deg,#f0ad4e,#ffd18a);transform-origin:left;animation:cxProgress 6.5s linear infinite}
.hero-dots.restart::before{animation:none}
.hero:hover .hero-dots::before{animation-play-state:paused}
@keyframes cxProgress{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@media (prefers-reduced-motion:reduce){
  .spark-canvas,.motion-ripple,.hero-dots::before{display:none!important}
  .hero .hero-bg.on,.hero.motion-ready .bg,.hero .slide.on .eyebrow,.hero .slide.on h1,.hero .slide.on .lead,.hero .slide.on .cta-row{animation:none!important}
  .btn svg,.nav-cta svg{transition:none}
}

.spark-canvas.global-spark{position:fixed!important;inset:0!important;z-index:200!important}
