/* Rich motion layer. Layout, photos and approved page order stay intact. */
.reading-progress{position:fixed;top:0;left:0;right:0;height:3px;z-index:80;pointer-events:none;background:transparent}
.reading-progress>span{display:block;width:100%;height:100%;background:linear-gradient(90deg,#0763dc,#59b5ff);transform:scaleX(0);transform-origin:left center;will-change:transform}
.inquiry-live-tools{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex:none}
.inquiry-clock-label{font-size:12px;color:#65748a;white-space:nowrap;font-variant-numeric:tabular-nums;letter-spacing:0}
.inquiry-clock-label time{display:inline-block;min-width:64px;margin-left:5px;color:#163b70;font-weight:700;font-size:13px}
.inquiry-motion-toggle{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:9px 13px;border:1px solid #d9e5f4;border-radius:10px;background:#fff;color:#245181;font-size:12px;font-weight:700;white-space:nowrap}
.inquiry-motion-toggle>.icon{width:15px;height:15px}
.inquiry-motion-toggle:hover{background:#edf5ff;border-color:#acc8eb}
.inquiry-motion-toggle[aria-pressed=true]{background:#edf5ff}
.inquiry-window{position:relative;overflow:hidden;isolation:isolate}
.inquiry-window:focus-visible{outline:2px solid #78aff4;outline-offset:-2px}
.inquiry-marquee{transform:translate3d(0,0,0);animation:inquiry-flow var(--inquiry-loop-duration,28s) linear infinite;animation-play-state:paused;will-change:transform;backface-visibility:hidden}
.inquiry-marquee.is-running{animation-play-state:running}
.inquiry-marquee.is-static{animation:none;transform:none}
.inquiry-marquee.is-static>[aria-hidden=true]{display:none}
.inquiry-marquee>[aria-hidden=true]{pointer-events:none;user-select:none}
.inquiry-row{font-variant-numeric:tabular-nums}
.inquiry-row:nth-child(even){background:#f8faff}
@keyframes inquiry-flow{from{transform:translate3d(0,0,0)}to{transform:translate3d(0,calc(-1 * var(--inquiry-loop-distance,324px)),0)}}

/* Scroll and sequential reveals. All content is visible without JavaScript. */
html.effects-ready.motion-ready .reveal-item{transform:translate3d(0,26px,0);transition-duration:.76s;transition-timing-function:cubic-bezier(.16,.8,.24,1)}
html.effects-ready.motion-ready .reveal-item.is-visible,
html.effects-ready.motion-ready .reveal-item:focus-within{transform:none}
html.effects-ready .section-heading h2 em{position:relative;isolation:isolate}
html.effects-ready .section-heading h2 em::after{content:"";position:absolute;left:0;right:0;bottom:-4px;height:5px;border-radius:5px;background:#c7e3ff;z-index:-1;transform:scaleX(0);transform-origin:left center;transition:transform .75s cubic-bezier(.16,.8,.24,1) .25s}
html.effects-ready .section-heading.is-visible h2 em::after{transform:scaleX(1)}
html.effects-ready .hero-video{animation:hero-depth 18s ease-in-out infinite alternate;animation-play-state:paused;transform-origin:50% 55%}
html.effects-ready .hero.motion-visible .hero-video{animation-play-state:running}
html.effects-ready .hero[data-video-state]:not([data-video-state="playing"]) .hero-video{animation-play-state:paused}
html.effects-ready .benefit>.icon{animation:benefit-float 5.4s ease-in-out infinite;animation-play-state:paused}
html.effects-ready .benefit:nth-child(2)>.icon{animation-delay:.5s}
html.effects-ready .benefit:nth-child(3)>.icon{animation-delay:1s}
html.effects-ready .benefits.motion-visible .benefit>.icon{animation-play-state:running}
html.effects-ready .closing-mascot>img{animation:mascot-float 6s ease-in-out infinite;animation-play-state:paused}
html.effects-ready .closing-cta.motion-visible .closing-mascot>img{animation-play-state:running}
html.effects-ready .video-frame>button>.icon{animation:play-invitation 3.8s ease-in-out infinite;animation-play-state:paused}
html.effects-ready .videos-section.motion-visible .video-frame>button>.icon{animation-play-state:running}
@keyframes hero-depth{from{transform:scale(1.025) translateY(0)}to{transform:scale(1.065) translateY(-5px)}}
@keyframes benefit-float{0%,60%,100%{transform:translateY(0)}75%{transform:translateY(-4px)}88%{transform:translateY(0)}}
@keyframes mascot-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@keyframes play-invitation{0%,75%,100%{transform:scale(1)}86%{transform:scale(1.09)}}

/* Call buttons get a gentle light sweep and an occasional phone cue. */
.call-link{position:relative;overflow:hidden;isolation:isolate}
html.effects-ready .call-link::after{content:"";position:absolute;top:-30%;left:-65%;height:160%;width:40%;background:linear-gradient(100deg,transparent,#ffffff30,transparent);transform:translateX(-180%) skewX(-22deg);pointer-events:none;animation:button-light 6.8s ease-in-out infinite}
html.effects-ready .sticky-actions .call-link{animation:call-breathe 4.8s ease-in-out infinite}
html.effects-ready .sticky-actions .call-link>.icon{animation:phone-invitation 7s ease-in-out infinite;transform-origin:50% 50%}
html.effects-ready .popup-call::after{animation-delay:.4s}
html.effects-ready .closing-cta .call-link::after{animation-play-state:paused}
html.effects-ready .closing-cta.motion-visible .call-link::after{animation-play-state:running}
@keyframes button-light{0%,60%{transform:translateX(-180%) skewX(-22deg)}84%,100%{transform:translateX(560%) skewX(-22deg)}}
@keyframes call-breathe{0%,70%,100%{box-shadow:0 0 0 0 #0763dc00}82%{box-shadow:0 0 0 5px #0763dc18}}
@keyframes phone-invitation{0%,76%,100%{transform:rotate(0)}80%,88%{transform:rotate(-10deg)}84%,92%{transform:rotate(9deg)}96%{transform:rotate(0)}}

@media(hover:hover) and (pointer:fine){
 .site-header nav a{position:relative}
 .site-header nav a::after{content:"";position:absolute;bottom:-6px;left:0;right:0;height:2px;border-radius:2px;background:var(--blue);transform:scaleX(0);transform-origin:left;transition:transform .25s ease}
 .site-header nav a:hover::after,.site-header nav a:focus-visible::after{transform:scaleX(1)}
 html.effects-ready .service-card.is-visible:hover,html.effects-ready .scope-card.is-visible:hover,html.effects-ready .review-card.is-visible:hover{transform:translateY(-5px);box-shadow:0 12px 26px #17375c14}
 .scope-card,.video-card{transition:box-shadow .3s ease,transform .3s ease,border-color .3s ease}
 html.effects-ready .video-card.is-visible:hover{transform:translateY(-5px)}
 .round:hover{transform:translateX(2px);transition:transform .2s ease,background .2s ease}
 .round:has(.flip):hover{transform:translateX(-2px)}
}

@media(max-width:760px){
 .inquiry-section .section-heading.split{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
 .inquiry-section .section-heading.split>div:first-child{width:100%}
 .inquiry-live-tools{width:100%;justify-content:space-between;gap:8px}
 .inquiry-clock-label{font-size:11px}
 .inquiry-clock-label time{font-size:12px;min-width:61px}
 .inquiry-motion-toggle{font-size:11px;min-height:44px;padding:9px 12px}
 html.effects-ready.motion-ready .reveal-item{transform:translate3d(0,18px,0);transition-duration:.6s}
}

html.effects-paused .hero-video,
html.effects-paused .benefit>.icon,
html.effects-paused .closing-mascot>img,
html.effects-paused .video-frame>button>.icon,
html.effects-paused .sticky-actions .call-link,
html.effects-paused .sticky-actions .call-link>.icon,
html.effects-paused .site-header .call-link::after,
html.effects-paused .sticky-contact .call-link::after,
html.effects-paused .closing-cta .call-link::after{animation-play-state:paused!important}
html.capture-mode .reading-progress{display:none}
html.capture-mode .inquiry-marquee{animation:none!important;transform:none!important}
html.capture-mode .inquiry-marquee>[aria-hidden=true]{display:none!important}
html.capture-mode .section-heading h2 em::after{display:none}
@media(prefers-reduced-motion:reduce){
 .reading-progress{display:none}
 .inquiry-marquee{animation:none!important;transform:none!important}
 .inquiry-marquee>[aria-hidden=true]{display:none}
 html.effects-ready .reveal-item{transform:none!important;opacity:1!important}
 html.effects-ready .call-link::after,html.effects-ready .section-heading h2 em::after{display:none}
 *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
