/* Readable by default. Motion is an enhancement after capability checks. */
/* Keep the decorative orbit inside the hero at tablet widths. */
.nextform-home .nh-hero{overflow:clip}
.site-header{transition:box-shadow .3s,background-color .3s}.site-header[data-scrolled="true"]{box-shadow:0 8px 28px #102b4510}.nextform-scroll-progress{position:absolute;bottom:-1px;left:0;width:100%;height:2px;background:linear-gradient(90deg,#0068d1,#5597ef);transform:scaleX(0);transform-origin:left;pointer-events:none}
@media(prefers-reduced-motion:no-preference){
[data-motion="pending"]{opacity:0;transform:translate3d(0,18px,0)}
[data-motion="pending"],.motion-entering[data-motion="done"]{transition:opacity .65s cubic-bezier(.22,1,.36,1),transform .65s cubic-bezier(.22,1,.36,1);transition-delay:var(--reveal-delay,0ms)}
[data-motion-kind="image"][data-motion="pending"]{transform:translate3d(0,14px,0) scale(.985)}
[data-motion="done"]{opacity:1}
[data-motion]:focus-within{opacity:1;transform:none;transition:none}
/* The headline stays visible and can paint immediately; only its accent draws in. */
.nextform-motion-on .nh-hero h1 em{position:relative;display:inline-block}
.nextform-motion-on .nh-hero h1 em:after{content:"";position:absolute;height:3px;left:0;right:0;bottom:-6px;transform-origin:left;background:linear-gradient(90deg,#0068d1,#5597ef00);animation:nextform-line .9s cubic-bezier(.2,.7,.2,1) .3s both;border-radius:2px;pointer-events:none}
.nextform-motion-on .nh-hero-copy>.nh-eyebrow,.nextform-motion-on .nh-hero-copy>.nh-actions,.nextform-motion-on .nh-hero-copy>.nh-hero-note{animation:nextform-arrive .7s cubic-bezier(.2,.7,.2,1) both}
.nextform-motion-on .nh-hero-copy>.nh-actions{animation-delay:.12s}.nextform-motion-on .nh-hero-copy>.nh-hero-note{animation-delay:.2s}
.nextform-motion-on .nh-brand-symbol{transform:perspective(900px) rotateX(var(--art-x,0deg)) rotateY(var(--art-y,0deg));transition:transform .55s cubic-bezier(.22,1,.36,1)}
.nextform-motion-on .nh-brand-art img{animation:nextform-float 6s ease-in-out 2 both;animation-play-state:paused}
.nextform-motion-on .nh-orbit-primary{animation:nextform-orbit-primary 12s linear 2 both;animation-play-state:paused}
.nextform-motion-on .nh-orbit-secondary{animation:nextform-orbit-secondary 16s linear 1 both;animation-play-state:paused}
.nextform-motion-on .nh-brand-art:before{animation:nextform-glow 8s ease-in-out 2 both;animation-play-state:paused}
.nextform-motion-on .nh-brand-art.motion-art-active :is(img,.nh-orbit-track),.nextform-motion-on .nh-brand-art.motion-art-active:before{animation-play-state:running}
.nextform-motion-on .page-hero :is(.section-label,.page-lead),.nextform-motion-on .project-intro>.page-lead{animation:nextform-arrive .65s cubic-bezier(.22,1,.36,1) both}
.nextform-motion-on .page-hero>.page-lead{animation-delay:.1s}
.nextform-motion-on :is(.nh-questions,.faq-list,.detail-faq) details[open]>p{animation:nextform-arrive .35s cubic-bezier(.22,1,.36,1) both}
.nextform-motion-on .nh-questions summary:after{content:"+";transition:rotate .25s ease-out}
.nextform-motion-on .nh-questions details[open] summary:after{content:"+";rotate:45deg}
.nextform-motion-on .services-menu[open] .services-dropdown{animation:nextform-menu .24s cubic-bezier(.22,1,.36,1) both;transform-origin:top center}
/* Existing buttons keep their size, labels and click target. */
main .button{position:relative;overflow:hidden;transition:background-color .2s,box-shadow .2s,transform .2s}
main .button:hover{transform:translateY(-2px);box-shadow:0 8px 20px #0059b81a}
main .button:active{transform:translateY(0) scale(.985);box-shadow:none;transition-duration:.1s}
main :is(.button,.nh-text-link,.nh-service-link,.project-actions .link,.project-visit)>span[aria-hidden]{transition:transform .25s}
main :is(.button,.nh-text-link,.nh-service-link,.project-actions .link,.project-visit):hover>span[aria-hidden]{transform:translate(3px,-2px)}
main .button.primary:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 25%,#ffffff20 48%,transparent 72%);transform:translateX(-120%);transition:transform .65s}
main .button.primary:hover:after{transform:translateX(120%)}
:is(.project-thumbnail,.saas-mini){overflow:hidden}.project-thumbnail img{transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.project-presentation:hover .project-thumbnail img,.project-presentation:focus-within .project-thumbnail img{transform:scale(1.025)}
:is(.nh-service,.saas-showcase-card,.project-presentation,.lab-showcase-card){transition:transform .35s cubic-bezier(.2,.7,.2,1),border-color .3s,box-shadow .3s}
:is(.nh-service,.saas-showcase-card,.project-presentation,.lab-showcase-card):hover{transform:translateY(-4px);box-shadow:0 14px 32px #1236600b;border-color:#a8bfdf}
:is(.nh-service,.saas-showcase-card,.project-presentation,.lab-showcase-card):focus-within{border-color:#a8bfdf;box-shadow:0 14px 32px #1236600b}
.portfolio-category-nav a{transition:background-color .2s,border-color .2s,transform .2s}
.portfolio-category-nav a:hover{background:#edf4ff;transform:translateY(-2px)}
.motion-spotlight{position:relative;isolation:isolate}.motion-spotlight:after{content:"";position:absolute;inset:0;border-radius:inherit;background:radial-gradient(320px circle at var(--spot-x,50%) var(--spot-y,50%),#0068d10a,transparent 75%);opacity:0;transition:opacity .4s;pointer-events:none;z-index:-1}.motion-spotlight:hover:after,.motion-spotlight:focus-within:after{opacity:1}
@keyframes nextform-arrive{from{opacity:0;transform:translate3d(0,12px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@keyframes nextform-line{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes nextform-float{0%,100%{transform:rotate(-5deg) translate3d(0,0,0)}50%{transform:rotate(-2deg) translate3d(0,-10px,0)}}
@keyframes nextform-orbit-primary{from{transform:rotate(45deg)}to{transform:rotate(405deg)}}
@keyframes nextform-orbit-secondary{from{transform:rotate(145deg)}to{transform:rotate(-215deg)}}
@keyframes nextform-glow{0%,100%{opacity:.65;transform:scale(.95)}50%{opacity:1;transform:scale(1.05)}}
@keyframes nextform-menu{from{opacity:0;translate:0 -7px;scale:.985}to{opacity:1;translate:0 0;scale:1}}
}
@media(hover:none),(pointer:coarse){main .button:hover,:is(.nh-service,.saas-showcase-card,.project-presentation,.lab-showcase-card):hover,.portfolio-category-nav a:hover{transform:none;box-shadow:none}.project-presentation:hover .project-thumbnail img{transform:none}.motion-spotlight:after{display:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}.nextform-scroll-progress{display:none}.site-header{transition:none}[data-motion]{opacity:1!important;transform:none!important;transition:none!important}.nh-brand-symbol,.nh-brand-art img,.nh-brand-art:before,.nh-orbit-track,main .button,.project-thumbnail img,.services-dropdown,.page-hero :is(.section-label,.page-lead),.project-intro>.page-lead{animation:none!important;transition:none!important}.motion-spotlight:after{display:none}}
@media print{.nextform-motion-on .nh-hero-copy>*,.page-hero :is(.section-label,.page-lead),.project-intro>.page-lead,details[open]>p{animation:none!important;opacity:1!important;transform:none!important}[data-motion]{opacity:1!important;transform:none!important;animation:none!important;transition:none!important}.nextform-scroll-progress{display:none}.nh-brand-symbol,.nh-brand-art img,.nh-brand-art:before,.nh-orbit-track{animation:none!important;transform:none!important}.nh-orbit{display:none}}
