/* Living technology: circuits, travelling signals and scroll-driven stages. */
.services-stage,.approach-section,.clients-section,.contact-section,.projects-section{position:relative;isolation:isolate}
.ambient-circuit{position:absolute;inset:0;z-index:-1;width:100%;height:100%;pointer-events:none;opacity:.75}
.services-stage>.shell,.approach-section>.shell,.clients-section>.shell,.contact-section>.shell{position:relative;z-index:1}
.services-intro{z-index:1}
.process-bus::before{content:"";position:absolute;left:calc(var(--process-progress,0) * 100%);top:50%;width:9px;height:9px;border-radius:50%;background:var(--accent-light);border:3px solid var(--deep);transform:translate(-50%,-50%);z-index:2;box-sizing:content-box}
.process-track.is-scroll-linked .process-bus::after{transition:background-color .5s}
.process-node::after{content:"";position:absolute;inset:-1px;border:1px solid var(--accent-light);border-radius:inherit;opacity:0;pointer-events:none}
.process-track button[aria-selected="true"] .process-node::after{animation:node-broadcast 2.7s ease-out infinite}
@keyframes node-broadcast{0%,15%{transform:scale(1);opacity:.7}80%,100%{transform:scale(1.45);opacity:0}}
.process-track .is-complete .process-node{border-color:var(--accent-light);color:var(--accent-light)}
.process-track .is-complete strong{color:#e4f1f5}
.detail-photo::after{animation:corner-signal 3.2s ease-in-out infinite;animation-play-state:paused}.services-stage.is-visible .detail-photo::after{animation-play-state:running}
@keyframes corner-signal{0%,100%{width:24px;height:24px;opacity:.5}50%{width:42px;height:42px;opacity:1}}
.gallery-photos::after{content:"";position:absolute;left:0;right:0;top:-4%;height:1px;background:linear-gradient(90deg,transparent,#d4f0ff99,transparent);z-index:1;opacity:0;pointer-events:none;animation:gallery-scan 6s linear infinite;animation-play-state:paused}
.about-gallery.is-visible .gallery-photos::after{animation-play-state:running}
@keyframes gallery-scan{0%,10%{top:0;opacity:0}20%{opacity:.75}80%{opacity:.75}90%,100%{top:100%;opacity:0}}
.gallery-corner{animation:corner-signal 4s ease-in-out infinite;animation-play-state:paused}.about-gallery.is-visible .gallery-corner{animation-play-state:running}
.project-traces path{stroke-dasharray:80 15 2 15;animation:project-data 9s linear infinite;animation-play-state:paused}.projects-section.is-visible .project-traces path{animation-play-state:running}
.project-traces{opacity:.5}.project-traces circle{stroke-width:2}
@keyframes project-data{to{stroke-dashoffset:-448}}
.lab-preview{transform:perspective(900px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg));transition:transform .3s ease-out,background-color .55s;transform-style:preserve-3d}
.lab-preview:hover{transform:perspective(900px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)) translateY(-4px)}
.lab-symbol>.icon{animation:lab-float 3.5s ease-in-out infinite;animation-play-state:paused}.projects-section.is-visible .lab-symbol>.icon{animation-play-state:running}
@keyframes lab-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
.technologies li{overflow:hidden;transition:background-color .25s,color .25s}
.technologies img{transition:transform .3s cubic-bezier(.22,1,.36,1)}
.technologies li:hover img{transform:translateY(-2px) scale(1.06)}
.contact-choice.is-active .icon:first-child{animation:contact-node 3.5s ease-in-out infinite;animation-play-state:paused}.contact-section.is-visible .contact-choice.is-active .icon:first-child{animation-play-state:running}
@keyframes contact-node{0%,100%{transform:scale(1)}50%{transform:scale(1.13)}}
.form-circuit{stroke-dasharray:22 6;animation:project-data 14s linear infinite;animation-play-state:paused;opacity:.4}.contact-section.is-visible .form-circuit{animation-play-state:running}
.button .icon{transition:transform .25s}.button:hover .icon{transform:translateX(4px)}
.clients-section::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:linear-gradient(90deg,transparent,var(--accent-light),transparent);opacity:.5;pointer-events:none}
@media(max-width:760px){.ambient-circuit{opacity:.5}.process-node::after{inset:0}.process-bus::before{width:6px;height:6px;border-width:2px}}
@media(prefers-reduced-motion:reduce){.ambient-circuit{display:none}.process-node::after,.gallery-photos::after{display:none}.project-traces path,.lab-symbol>.icon,.technologies li::before,.contact-choice.is-active .icon,.form-circuit,.gallery-corner,.detail-photo::after{animation:none}.lab-preview,.lab-preview:hover{transform:none}}

.process-track button[aria-selected="true"] .process-node::after{animation-play-state:paused}.approach-section.is-visible .process-track button[aria-selected="true"] .process-node::after{animation-play-state:running}

/* The pinned stage fits beneath the persistent navigation. */
.approach-section{z-index:3}
@media(max-width:760px) and (max-height:740px){.approach{padding-block:30px}.approach .section-heading{margin-bottom:24px;gap:12px}.approach h2{font-size:30px}.process-detail{min-height:155px}.process-track strong{font-size:16px}}
