/* A shared circuit connects the idea to the studio, without new layout boxes. */
.hero-circuit{position:absolute;inset:0;width:100%;height:100%;overflow:hidden;pointer-events:none;z-index:0}
.hero-circuit path{fill:none;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.hero-circuit-rail{stroke:#619ad8;stroke-width:1;opacity:.12}
.hero-circuit-pulse{stroke:#7dbbff;stroke-width:1.5;opacity:0}
.hero-copy,.hero .studio-stage{z-index:1;position:relative}
.studio-blueprint{position:absolute;inset:4% 0 0;z-index:-1;pointer-events:none;opacity:.45;overflow:clip}
.studio-blueprint:before{content:"";position:absolute;inset:15% 0 3%;background:repeating-linear-gradient(0deg,transparent 0 43px,#5089bd29 44px 45px),repeating-linear-gradient(90deg,transparent 0 43px,#5089bd29 44px 45px);transform:perspective(600px) rotateX(56deg) rotateZ(-15deg) scale(.98);mask-image:radial-gradient(ellipse,#000 10%,transparent 70%)}
@media(max-width:800px){.hero-circuit-rail{opacity:.07}.studio-blueprint{inset:14% 4% 2%;opacity:.35}}
@media(prefers-reduced-motion:reduce){.hero-circuit{display:none}}

/* Blueprint remains visible around the open screen, not just behind it. */
.studio-blueprint{inset:-60px -18px -80px -100px;opacity:.78}
.studio-blueprint:before{inset:0;transform:perspective(850px) rotateX(23deg) rotateZ(-12deg) scale(.92);mask-image:radial-gradient(ellipse,#000 30%,#0009 58%,transparent 78%);background:repeating-linear-gradient(0deg,transparent 0 49px,#5089bd55 50px 51px),repeating-linear-gradient(90deg,transparent 0 49px,#5089bd55 50px 51px)}
.studio-blueprint:after{content:attr(data-caption);position:absolute;bottom:6px;left:7%;right:7%;padding:12px 0;border-top:1px solid #5281b04d;color:#7899bd;font:9px var(--mono);letter-spacing:.16em;white-space:pre;text-align:center}
.hero .studio-stage{margin-bottom:28px}
@media(max-width:800px){.studio-blueprint{inset:-18px 0 -34px;opacity:.5}.studio-blueprint:after{font-size:8px;letter-spacing:.09em}.hero .studio-stage{margin-bottom:30px}}

/* Sparse circuit contours keep the studio grounded in its own technical space. */
.studio-orbit{position:absolute;inset:0;width:100%;height:100%;overflow:hidden;pointer-events:none}
.studio-orbit path{fill:none;vector-effect:non-scaling-stroke;stroke-linecap:round}
.orbit-line{stroke:#5284b8;stroke-width:1;opacity:.35}.orbit-line-1{opacity:.17}.orbit-line-2{opacity:.5}
.orbit-signal{stroke:#8ccaff;stroke-width:1.5;stroke-dasharray:24 976;animation:orbit-current 16s linear infinite;opacity:.8}.orbit-signal-1{animation-duration:23s;animation-delay:-9s;opacity:.45}
.orbit-node{fill:#96c8f5;opacity:.7}.orbit-node-ring{fill:none;stroke:#6fa0cd;stroke-width:1;opacity:.35}.orbit-code{fill:#6c95be;font:12px var(--mono);letter-spacing:2px}
.studio-blueprint:before{opacity:.65}.scene-paused .orbit-signal{animation-play-state:paused}
@keyframes orbit-current{from{stroke-dashoffset:1000}to{stroke-dashoffset:0}}
@media(max-width:800px){.studio-orbit{opacity:.7}.orbit-code{font-size:14px}.studio-blueprint{inset:-28px -8px -45px}.studio-blueprint:after{bottom:0}}
@media(prefers-reduced-motion:reduce){.orbit-signal{animation:none;opacity:0}}

/* One lit volume and an elliptical ground plane replace the flat grid. */
.studio-blueprint:before{inset:0;background:radial-gradient(ellipse at 59% 52%,#2560a326 0%,#173b6920 37%,transparent 70%);transform:none;mask-image:none;opacity:1}
.studio-depth-floor{position:absolute;left:10%;right:0;bottom:30px;height:140px;border-radius:50%;transform:rotate(-7deg);border:1px solid #6fa8db35;background:radial-gradient(ellipse,#1a507a22,transparent 68%);box-shadow:0 22px 38px #0005,inset 0 1px #90c8f51c}
.studio-depth-floor:before{content:'';position:absolute;inset:18px 32px;border:1px solid #5292c52b;border-radius:50%}.studio-depth-floor:after{content:'';position:absolute;inset:38px 62px;border-top:1px solid #9bd5ff38;border-radius:50%}
.studio-orbit{transform:rotate(-5deg) scale(.98);transform-origin:60% 50%}.orbit-line-2{opacity:.22}.orbit-code{opacity:.65}
.hero-mascot-dock{position:absolute;top:-27px;left:50px;width:138px;height:8px;border-top:1px solid #80bce7;border-radius:50%;background:linear-gradient(90deg,transparent,#396b964d,transparent);box-shadow:0 5px 14px #3485c42b;pointer-events:none}
.hero-mascot-dock:after{content:'';position:absolute;left:18px;right:18px;top:8px;height:7px;border-bottom:1px solid #518ab54d;border-radius:50%}
@media(max-width:800px){.hero-mascot-dock{position:relative;top:auto;left:auto;margin:102px auto 30px;width:120px}.studio-depth-floor{height:90px;bottom:26px;left:6%}.studio-orbit{transform:none}}
@media(prefers-reduced-motion:reduce){.hero-mascot-dock{display:none}}

.hero-circuit-rail{opacity:.2;stroke:#5484b5}.hero-circuit-pulse{stroke:#a1d7ff;stroke-width:2;stroke-linecap:round;filter:drop-shadow(0 0 3px #439fff88)}
@media(max-width:800px){.hero-circuit-rail{opacity:.12}.hero-circuit-pulse{stroke-width:1.7}}

/* Keep visual activity at the idea; the laptop needs only one quiet ground plane. */
.studio-orbit{display:block}.orbit-line-2{display:none}.studio-depth-floor:after{display:none}.studio-depth-floor{border-color:#6fa8db20;box-shadow:0 22px 38px #0005}.studio-blueprint:after{border-top:0;opacity:.7}.hero-circuit-rail{opacity:.08}.hero-circuit-pulse{stroke-width:1.8}

/* The mascot's fixed landing surface doubles as a downward studio spotlight. */
.hero-mascot-dock{z-index:0;border-top:1px solid #b6dff7;background:linear-gradient(180deg,#7494ae,#213346 65%,#0e1a2a);box-shadow:0 2px 0 #0b1522,0 5px 18px #3f9dd33d;border-radius:50%;isolation:isolate}
.hero-mascot-dock:before{content:'';position:absolute;inset:-3px -9px -8px;border-radius:50%;z-index:-1;background:linear-gradient(180deg,#95b2cb66 0%,#263b50 26%,#101d2e 60%,#4c91bc 85%,#99dcf0 92%,#1e455e);border:1px solid #799fbc66;box-shadow:inset 0 2px 2px #d4edff26,0 9px 18px #0005}
.hero-mascot-dock:after{left:21px;right:21px;top:10px;height:5px;background:#b3eeff;border:0;box-shadow:0 0 8px #6dcfff99,0 6px 21px #4bbcff66;opacity:.75}
.dock-beam{position:absolute;top:14px;left:calc(50% - 140px);width:540px;height:315px;z-index:-2;pointer-events:none;clip-path:polygon(23% 0,29% 0,100% 100%,0 100%);background:linear-gradient(180deg,#8bd8ff38,#439ad41c 22%,#3377b111 65%,transparent);mask-image:linear-gradient(90deg,transparent,#000 20%,#000 78%,transparent);transform-origin:26% 0;filter:blur(1px)}
.dock-beam:after{content:'';position:absolute;inset:0;background:linear-gradient(105deg,transparent 20%,#9ce4ff0f 35%,transparent 55%)}
/* The spotlight now provides the headline lighting; avoid doubling the glow. */
.code-depth-light{opacity:.45}
@media(max-width:800px){.dock-beam{left:calc(50% - 170px);width:340px;height:335px;clip-path:polygon(45% 0,55% 0,100% 100%,0 100%);transform-origin:50% 0}.hero-mascot-dock:before{inset-inline:-7px}}
@media(max-width:370px){.dock-beam{width:300px;left:calc(50% - 150px)}}

.dock-beam{clip-path:none;background:conic-gradient(from 140deg at 26% 0,transparent 0deg,#70c8f516 12deg,#8bd8ff26 28deg,#439ad410 47deg,transparent 65deg);mask-image:linear-gradient(#000, #000b 30%,transparent 96%);filter:blur(5px)}.dock-beam:after{display:none}@media(max-width:800px){.dock-beam{clip-path:none;background:conic-gradient(from 147deg at 50% 0,transparent 0deg,#70c8f516 12deg,#8bd8ff26 33deg,#439ad410 50deg,transparent 66deg)}}
