/* Expanding ring strokes through a local square-pixel mask, adapted from the reference. */
.hero-atmosphere{inset:0 0 auto;height:clamp(600px,58vw,850px);pointer-events:none;background:linear-gradient(90deg,transparent 8%,#ffffff05 8.05%,transparent 8.1%,transparent 91.9%,#ffffff05 91.95%,transparent 92%);-webkit-mask-image:linear-gradient(transparent 0%,#000 44%,transparent 100%);mask-image:linear-gradient(transparent 0%,#000 44%,transparent 100%)}
.hero-atmosphere:after{content:none}
.hero-pixel-field{position:absolute;inset:0;isolation:isolate;overflow:hidden;user-select:none;-webkit-mask-image:linear-gradient(transparent 0%,#000 15%,#000 65%,transparent 100%);mask-image:linear-gradient(transparent 0%,#000 15%,#000 65%,transparent 100%)}
.hero-pixel-grid{position:absolute;inset:0;opacity:.8;-webkit-mask:url('assets/hero-pixel-mask.svg') 0 0/201px 201px repeat;mask:url('assets/hero-pixel-mask.svg') 0 0/201px 201px repeat}
.hero-pixel-rings{position:absolute;inset:0 -8%;display:flex;align-items:center;justify-content:center;filter:blur(14px)}
.hero-pixel-rings>i{position:absolute;width:100%;aspect-ratio:1;border:clamp(64px,10vh,160px) solid #b9b9b9;border-radius:50%;transform:scale(0);opacity:0;animation:hero-pixel-wave 9s ease infinite;animation-play-state:paused;will-change:transform,opacity}
.hero-pixel-rings>i:nth-child(1){animation-delay:0s}
.hero-pixel-rings>i:nth-child(2){animation-delay:-3s}
.hero-pixel-rings>i:nth-child(3){animation-delay:-6s}
.hero[data-pixel-motion=running] .hero-pixel-rings>i{animation-play-state:running}
@keyframes hero-pixel-wave{from{transform:scale(0);opacity:1}to{transform:scale(1);opacity:0}}
.hero-motion-toggle{position:absolute;right:0;bottom:-34px;display:grid;place-items:center;width:28px;height:28px;padding:0;border:1px solid #ffffff12;border-radius:50%;background:#ffffff03;color:#8e8e8e;cursor:pointer;transition:background .2s,color .2s}
.hero-motion-toggle:hover{background:#ffffff0b;color:#eee}
.hero-motion-toggle svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.hero-motion-toggle .hero-play-icon{display:none}
.hero-motion-toggle[aria-pressed=true] .hero-pause-icon{display:none}
.hero-motion-toggle[aria-pressed=true] .hero-play-icon{display:block}
.hero-motion-toggle[hidden]{display:none}
@media(max-width:650px){.hero-pixel-rings{inset:0 -60%}.hero-pixel-grid{opacity:.65}.hero-atmosphere{height:580px}}
@media(prefers-reduced-motion:reduce){.hero-pixel-rings>i{animation:none;will-change:auto;transform:scale(.6);opacity:.3}.hero-pixel-rings>i:nth-child(2){transform:scale(.92);opacity:.15}.hero-pixel-rings>i:nth-child(3){display:none}.hero-motion-toggle{display:none}}
