/* ============================================================
   HERO.CSS — full-height hero + CSS pressure-spray burst
============================================================= */

.hero {
  position: relative;
  min-height: 100dvh;
  background-image:
    linear-gradient(rgba(13, 13, 13, 0.55), rgba(13, 13, 13, 0.50)),
    url("../assets/herobackground.png");
  background-color: var(--color-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 2rem 1.25rem;
  width: 100%;
}

.hero-headline {
  font-size: clamp(3.75rem, 11vw, 6.25rem); /* 60px -> 100px */
  color: var(--color-white);
  max-width: 16ch;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  color: var(--color-gray);
  max-width: 52ch;
  margin-bottom: 2.25rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ============================================================
   SPRAY BURST — radiating lime lines from a top-right nozzle.
   Built entirely with CSS gradients + mask. No images.
============================================================= */
.spray-burst {
  position: absolute;
  top: -14vh;
  right: -14vh;
  width: 70vh;
  height: 70vh;
  z-index: 1;
  pointer-events: none;
  opacity: 0.06;
  /* nozzle origin is bottom-left of this box */
  background:
    repeating-conic-gradient(
      from 180deg at 0% 100%,
      var(--color-green) 0deg 0.6deg,
      transparent 0.6deg 7deg
    );
  /* fade the rays out as they travel from the nozzle */
  -webkit-mask-image: radial-gradient(circle at 0% 100%, #000 0%, rgba(0,0,0,0.6) 45%, transparent 72%);
          mask-image: radial-gradient(circle at 0% 100%, #000 0%, rgba(0,0,0,0.6) 45%, transparent 72%);
  transform-origin: 0% 100%;
  animation: radiate 6s ease-in-out infinite;
}

/* soft glow at the nozzle point */
.spray-burst::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 26%;
  height: 26%;
  background: radial-gradient(circle at 0% 100%, rgba(126, 200, 32, 0.55), transparent 70%);
  filter: blur(8px);
}

@keyframes radiate {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.05;
  }
  50% {
    transform: scale(1.06) rotate(1.5deg);
    opacity: 0.09;
  }
}

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

@media (min-width: 900px) {
  .spray-burst {
    width: 90vh;
    height: 90vh;
    opacity: 0.07;
  }
}
