/* Approved HOME tablet and dark-section connections. Light backgrounds remain unchanged. */
.depth-variant .device-crop{overflow:visible;perspective:1150px;perspective-origin:50% 48%;isolation:isolate;margin-top:78px}
.depth-variant .tablet-surface{position:relative;width:100%;aspect-ratio:1.97;transform-style:preserve-3d;transform:rotateX(9deg) rotateY(-24deg) rotateZ(-2deg);transform-origin:50% 50%;border-radius:22px;box-shadow:1px 1px 0 #dce6ef,3px 2px 0 #8d9ca8,6px 3px 0 #354554,10px 5px 0 #172738,14px 7px 0 #101a25,20px 25px 30px #183b6e40,38px 48px 70px #183b6e32;animation:tablet-breathe 20s ease-in-out infinite;animation-play-state:paused}
.depth-variant .device-crop img{display:block;position:relative;width:100%;height:auto;max-width:100%;top:auto;left:auto;transform:none;border-radius:22px;clip-path:inset(0 round 22px);border-bottom:9px solid #121b25}
.depth-variant .tablet-surface:before{content:'';position:absolute;inset:0;border-radius:inherit;transform:translateZ(-12px);background:linear-gradient(110deg,#aebdc7,#263847 35%,#0b1521);box-shadow:0 0 24px #2389e94d}
.depth-variant .tablet-surface:after{content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(116deg,transparent 15%,#ffffff05 29%,#ffffff44 37%,#ffffff0a 46%,transparent 57%);background-size:220% 100%;mix-blend-mode:screen;animation:tablet-reflection 20s ease-in-out infinite;animation-play-state:paused;box-shadow:inset 0 2px 2px #ffffffb3,inset 2px 0 3px #a8deff}
.depth-variant .device-crop:before{content:'';position:absolute;left:3%;right:0;top:30%;height:70%;border-radius:50%;background:radial-gradient(ellipse,#158bff40,transparent 70%);filter:blur(24px);transform:translateY(25px);pointer-events:none}
.depth-variant .device-crop.motion-active .tablet-surface,.depth-variant .device-crop.motion-active .tablet-surface:after{animation-play-state:running}
@keyframes tablet-breathe{0%,100%{transform:rotateX(8deg) rotateY(-32deg) translateY(0)}50%{transform:rotateX(8deg) rotateY(32deg) translateY(-6px)}}
@keyframes tablet-reflection{0%,100%{background-position:15% 0;opacity:.5}50%{background-position:75% 0;opacity:.8}}
.depth-variant .circuit-section{position:relative;isolation:isolate;overflow:hidden}
.depth-variant .circuit-layer{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden;mask-image:linear-gradient(180deg,transparent,#000 12%,#000 90%,transparent)}
.circuit-layer svg{position:absolute;width:100%;height:100%;inset:0;overflow:visible}
.circuit-base{fill:none;stroke:#40c8f3;stroke-width:1.1;opacity:.47}
.circuit-base.ribbon-strong{stroke:#79eaff;stroke-width:1.6;opacity:.7}
.circuit-pulse{fill:none;stroke:#c3faff;stroke-width:2.8;stroke-linecap:round;stroke-dasharray:5 95;stroke-dashoffset:100;opacity:0;filter:drop-shadow(0 0 4px #00c6ef);animation:circuit-connect 9s linear infinite;animation-delay:var(--circuit-delay,0s);animation-play-state:paused}
.circuit-network{fill:none;stroke:#64b6dc;stroke-width:1;opacity:.25}
.circuit-node{fill:#9bedff;stroke:#29bfea;stroke-width:1;opacity:.45;transform-box:fill-box;transform-origin:center;animation:circuit-node 9s ease-in-out infinite;animation-delay:var(--circuit-delay,0s);animation-play-state:paused}
.circuit-section.motion-active .circuit-pulse,.circuit-section.motion-active .circuit-node{animation-play-state:running}
.depth-variant .industries-section .circuit-layer:before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 0% 72%,#009eff24,transparent 48%),radial-gradient(ellipse at 95% 35%,#00c6ef21,transparent 35%)}
.depth-variant .industries-grid{position:relative;z-index:1}
.depth-variant .industries-section .section-copy{position:relative}
.depth-variant .industries-section .section-copy:before{content:'';position:absolute;inset:-28px -22px;z-index:-1;background:radial-gradient(ellipse,#1e293bf5 40%,#1e293bb8 66%,transparent 76%);pointer-events:none}
@keyframes circuit-connect{0%{stroke-dashoffset:100;opacity:0}8%,85%{opacity:.95}100%{stroke-dashoffset:-8;opacity:0}}
@keyframes circuit-node{0%,65%,100%{opacity:.35;transform:scale(1)}76%{opacity:.95;transform:scale(1.5)}86%{opacity:.45;transform:scale(1)}}
@media(max-width:600px){
 .depth-variant .device-crop{margin-top:36px;perspective:700px;width:calc(100% - 50px)}
 .depth-variant .tablet-surface{border-radius:11px;box-shadow:2px 1px 0 #b6c7d4,4px 2px 0 #526778,7px 4px 0 #172738,15px 20px 32px #183b6e40;animation-name:tablet-breathe-mobile;transform:rotateX(7deg) rotateY(-23deg) rotateZ(-2deg)}
 .depth-variant .device-crop img{border-radius:11px;clip-path:inset(0 round 11px);border-bottom-width:6px}
 .depth-variant .circuit-layer svg{width:180%;left:-40%}
 .depth-variant .industries-section .section-copy:before{inset:-20px -12px;background:radial-gradient(ellipse,#1e293bf5 48%,#1e293bba 65%,transparent 78%)}
}
@keyframes tablet-breathe-mobile{0%,100%{transform:rotateX(6deg) rotateY(-32deg) translateY(0)}50%{transform:rotateX(6deg) rotateY(32deg) translateY(-4px)}}
@media(prefers-reduced-motion:reduce){
 .depth-variant .tablet-surface,.depth-variant .tablet-surface:after,.circuit-pulse,.circuit-node{animation:none!important}
 .depth-variant .tablet-surface{transform:rotateX(8deg) rotateY(-23deg) rotateZ(-2deg)}.circuit-pulse{opacity:0}.circuit-node{opacity:.45}
}

.depth-variant :is(.footer-main,.footer-bottom){position:relative;z-index:1}
.depth-variant .site-footer .circuit-layer{opacity:.5;mask-image:linear-gradient(90deg,#000,transparent 23%,transparent 65%,#000)}
.depth-variant .site-footer .circuit-pulse{stroke-width:2;filter:none}
@media(max-width:600px){.depth-variant .site-footer .circuit-layer{opacity:.4;mask-image:linear-gradient(90deg,#000,transparent 22%,transparent 78%,#000)}}

/* Mobile keeps the connections while avoiding per-path SVG repaints. */
@media(max-width:600px){
 .depth-variant .circuit-layer svg{width:100%;left:0;animation:mobile-circuit-breathe 12s ease-in-out infinite;animation-play-state:paused}
 .depth-variant .motion-active .circuit-layer svg{animation-play-state:running}
 .depth-variant .circuit-pulse{display:none;filter:none;animation:none!important}
 .depth-variant .circuit-node{animation:none!important;transform:none;opacity:.45}
 .depth-variant .industries-art{height:100%;transform:none;mix-blend-mode:normal;opacity:.24}
 .depth-variant .industries-art img{inset:0;width:100%;height:100%;object-fit:cover}
 .depth-variant .industries-shade{mix-blend-mode:normal;opacity:.35}
 .depth-variant .industries-glow{display:none}
}
@keyframes mobile-circuit-breathe{0%,100%{opacity:.65}50%{opacity:.9}}
@media(prefers-reduced-motion:reduce){.depth-variant .circuit-layer svg{animation:none!important;opacity:1}}
