/* BDIC connected services: restrained electrical flow, no blur filters. */
:is(.scene-frame,.electric-visual) .electric-wire-layer{pointer-events:none}
:is(.scene-frame,.electric-visual) .wire-flow{fill:none;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;animation:bdic-wire-current var(--wire-duration,6s) linear infinite;animation-delay:var(--wire-delay,0s);animation-play-state:paused}
:is(.scene-frame,.electric-visual)[data-wire-running=true] .wire-flow{animation-play-state:running}
:is(.scene-frame,.electric-visual) .wire-flow--halo{stroke:#249fff;stroke-width:8;opacity:.24;stroke-dasharray:88 912;animation-name:bdic-wire-halo}
:is(.scene-frame,.electric-visual) .wire-flow--trail{stroke:#3acbff;stroke-width:3;opacity:.9;stroke-dasharray:54 946;animation-name:bdic-wire-trail}
:is(.scene-frame,.electric-visual) .wire-flow--core{stroke:#e5fbff;stroke-width:1.4;opacity:1;stroke-dasharray:28 972;animation-name:bdic-wire-current}
html[data-theme=light] :is(.scene-frame,.electric-visual) .wire-flow--halo{stroke:#187bea;opacity:.2}
html[data-theme=light] :is(.scene-frame,.electric-visual) .wire-flow--trail{stroke:#1685ee;opacity:.92}
html[data-theme=light] :is(.scene-frame,.electric-visual) .wire-flow--core{stroke:#f2fcff}
@keyframes bdic-wire-current{from{stroke-dashoffset:0px}to{stroke-dashoffset:-1000px}}
@keyframes bdic-wire-trail{from{stroke-dashoffset:26px}to{stroke-dashoffset:-974px}}
@keyframes bdic-wire-halo{from{stroke-dashoffset:52px}to{stroke-dashoffset:-948px}}
@media(prefers-reduced-motion:reduce){:is(.scene-frame,.electric-visual) .electric-wire-layer{display:none!important}:is(.scene-frame,.electric-visual) .wire-flow{animation:none!important}}
html.reduced-motion :is(.scene-frame,.electric-visual) .electric-wire-layer{display:none!important}

.wire-flow-bundle-0{--wire-duration:7.4s;--wire-delay:-1.8s}.wire-flow-bundle-1{--wire-duration:5.6s;--wire-delay:-.9s}.wire-flow-bundle-2{--wire-duration:5.6s;--wire-delay:-3.7s}

/* Overlays use the same viewBox and object-fit geometry as the preserved images. */
.electric-visual{position:relative}
.electric-visual .electric-service-overlay{position:absolute;inset:0 auto auto 0;width:100%;height:100%;max-height:270px;margin:0;pointer-events:none;z-index:1;transition:transform .3s cubic-bezier(.2,.7,.2,1)}
html[data-theme=dark] .electric-visual .electric-service-overlay.image-light,html[data-theme=light] .electric-visual .electric-service-overlay.image-dark{display:none!important}
.cinematic-service-art .electric-service-overlay{inset:14px;width:calc(100% - 28px);height:calc(100% - 28px);max-height:none;margin:0}
.service-card:hover .service-visual .electric-service-overlay{transform:translateY(-4px)}
.electric-visual .wire-flow--halo{stroke-width:6;opacity:.2}
.electric-visual .wire-flow--trail{stroke-width:2.2}
.electric-visual .wire-flow--core{stroke-width:1.15}
.electric-visual .wire-flow-bundle-0{--wire-duration:6.6s;--wire-delay:-1.7s}
.electric-visual .wire-flow-bundle-1{--wire-duration:5.9s;--wire-delay:-3.1s}
.electric-visual .wire-flow-bundle-2{--wire-duration:7.1s;--wire-delay:-4.4s}
.wire-motion-toggle{border:1px solid var(--line);border-radius:999px;background:transparent;color:var(--muted);font:inherit;font-size:12px;min-height:44px;padding:8px 14px;cursor:pointer}
.wire-motion-toggle:hover{color:var(--text);border-color:var(--blue)}
.wire-motion-toggle:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
@media(prefers-reduced-motion:reduce){.wire-motion-toggle{display:none!important}.service-card:hover .service-visual .electric-service-overlay{transform:none!important}}
