.hero {
  position: relative;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: 2%;
  top: 13%;
  width: min(42vw, 540px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 198, 0, 0.17), rgba(255, 198, 0, 0.035) 42%, transparent 70%);
  filter: blur(5px);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 7% -4% 3% 48%;
  opacity: 0.16;
  background-image: radial-gradient(rgba(158, 189, 207, 0.26) 0.7px, transparent 0.7px);
  background-size: 12px 12px;
  mask-image: linear-gradient(120deg, transparent, #000 35%, transparent 88%);
  pointer-events: none;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  animation: hero-panel-in 0.7s cubic-bezier(.2,.75,.25,1) both;
}

.hero-panel::after {
  content: "";
  position: absolute;
  top: -85px;
  right: -75px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(158, 189, 207, 0.28);
  border-radius: 50%;
}

@keyframes hero-panel-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-panel { animation: none; }
}

@media (max-width: 800px) {
  .hero::before { top: 48%; right: -30%; width: 90vw; }
  .hero::after { inset: 48% -15% 0 20%; }
}
