/* Lightweight, code-native scenery in EvaCode's teal palette. */
.has-ambient{position:relative;isolation:isolate}
.ambient-scene{position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none;user-select:none;contain:paint;--ambient-line:#47948928;--ambient-dot:#76b9ab32;--ambient-wash:#47948912}
.ambient-shape{position:absolute;display:block;animation-play-state:paused!important}
.ambient-scene[data-active="true"] .ambient-shape{animation-play-state:running!important}
.ambient-ring{width:440px;height:440px;right:-230px;top:20px;border:1px solid var(--ambient-line);border-radius:50%;box-shadow:0 0 0 30px #47948905,0 0 0 60px #47948905,0 0 0 90px #47948904;animation:ambient-orbit 38s ease-in-out infinite alternate}
.ambient-ring::before,.ambient-ring::after{content:'';position:absolute;border:1px solid var(--ambient-line);border-radius:50%;inset:32px}
.ambient-ring::after{inset:66px;border-style:dashed;opacity:.65}
.ambient-frame{width:160px;height:160px;left:-90px;top:42%;border:1px solid var(--ambient-line);border-radius:28px;transform:rotate(25deg);animation:ambient-frame-drift 28s ease-in-out infinite alternate}
.ambient-frame::before{content:'';position:absolute;inset:23px;border:1px solid var(--ambient-line);border-radius:20px}
.ambient-slashes{width:100px;height:85px;right:8%;bottom:42px;opacity:.65;animation:ambient-slash-drift 23s ease-in-out infinite alternate}
.ambient-slashes::before,.ambient-slashes::after{content:'';position:absolute;width:70px;height:27px;background:linear-gradient(110deg,var(--ambient-wash),#47948920);border:1px solid var(--ambient-line);transform:skewY(-23deg) skewX(-23deg)}
.ambient-slashes::after{left:22px;top:39px}
.ambient-dots{width:176px;height:100px;left:25px;bottom:35px;background:radial-gradient(circle,var(--ambient-dot) 1px,transparent 1.6px);background-size:14px 14px;mask-image:linear-gradient(135deg,#000,transparent 90%);animation:ambient-dot-drift 31s ease-in-out infinite alternate}
.ambient-glow{width:570px;height:400px;right:-130px;top:0;background:radial-gradient(ellipse,var(--ambient-wash),transparent 68%);animation:ambient-glow-drift 25s ease-in-out infinite alternate}
.ambient-variant-1 .ambient-ring{top:auto;bottom:-290px;right:4%;width:520px;height:520px}
.ambient-variant-1 .ambient-frame{left:auto;right:-65px;top:15%;border-radius:45%;width:190px;height:190px;animation-delay:-9s}
.ambient-variant-1 .ambient-slashes{right:auto;left:4%;bottom:12%;opacity:.35}
.ambient-variant-1 .ambient-dots{left:auto;right:35px;bottom:auto;top:32px;width:210px}
.ambient-variant-1 .ambient-glow{right:auto;left:-200px;top:20%;animation-delay:-12s}
.ambient-variant-2 .ambient-ring{right:auto;left:-300px;top:15%;width:480px;height:480px;animation-delay:-18s}
.ambient-variant-2 .ambient-frame{left:auto;right:-70px;top:20%;width:230px;height:230px;border-radius:6px;animation-delay:-13s}
.ambient-variant-2 .ambient-frame::before{border-radius:4px;inset:35px}
.ambient-variant-2 .ambient-dots{left:40%;bottom:auto;top:12px;opacity:.5}
.ambient-variant-2 .ambient-slashes{right:7%;bottom:20px;animation-delay:-6s}
.ambient-variant-3 .ambient-ring{width:350px;height:350px;right:-180px;top:-160px;animation-delay:-12s}
.ambient-variant-3 .ambient-frame{width:140px;height:140px;left:6%;top:auto;bottom:-90px;animation-delay:-5s}
.ambient-variant-3 .ambient-dots{left:auto;right:2%;bottom:20px;animation-delay:-15s}
.ambient-variant-3 .ambient-slashes{right:auto;left:-35px;bottom:30%;opacity:.4}
.ambient-variant-3 .ambient-glow{right:auto;left:-250px;top:-200px}
/* Keep the hero's existing branded globe as the strongest visual. */
.hero-v2 .ambient-ring{left:-335px;right:auto;top:70px;width:480px;height:480px;opacity:.55}
.hero-v2 .ambient-frame{left:auto;right:30%;top:-110px;opacity:.6}
.hero-v2 .ambient-slashes{right:43%;bottom:110px;opacity:.28}
.hero-v2 .ambient-dots{bottom:135px;left:45%;width:100px;opacity:.6}
body.light .ambient-scene{--ambient-line:#47948925;--ambient-dot:#47948932;--ambient-wash:#4794890c}
body.light .ambient-slashes{opacity:.45}
.motion-paused .ambient-shape{animation-play-state:paused!important}
@keyframes ambient-orbit{from{transform:translate3d(0,-10px,0) rotate(-18deg)}to{transform:translate3d(20px,22px,0) rotate(22deg)}}
@keyframes ambient-frame-drift{from{transform:translate3d(0,0,0) rotate(20deg)}to{transform:translate3d(20px,-24px,0) rotate(42deg)}}
@keyframes ambient-slash-drift{from{transform:translate3d(-7px,8px,0) rotate(-5deg)}to{transform:translate3d(12px,-13px,0) rotate(5deg)}}
@keyframes ambient-dot-drift{from{transform:translate3d(0,0,0)}to{transform:translate3d(12px,-14px,0)}}
@keyframes ambient-glow-drift{from{transform:translate3d(-20px,-10px,0) scale(.95);opacity:.6}to{transform:translate3d(25px,20px,0) scale(1.08);opacity:1}}
@media(max-width:760px){.ambient-ring{opacity:.6}.ambient-frame{opacity:.5}.ambient-dots{width:110px;height:75px;background-size:12px 12px;opacity:.55}.ambient-slashes{scale:.7;transform-origin:bottom right}.ambient-glow{width:350px;height:300px;opacity:.6}.hero-v2 .ambient-slashes,.hero-v2 .ambient-dots{display:none}}
@media(prefers-reduced-motion:reduce){.ambient-shape{animation:none!important;transition:none!important}}
