/* Homepage hero backdrop: Customertimes navy with the brand's circuit element.
 * Replaces the former background video; no media is fetched for the hero. */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 70% at 22% 30%, rgba(70, 202, 255, 0.28), transparent 70%),
    radial-gradient(ellipse 45% 55% at 70% 85%, rgba(24, 80, 255, 0.45), transparent 70%),
    linear-gradient(135deg, #0a1d4e 0%, #12307f 55%, #18399b 100%);
}

.hero-bg::before {
  content: "";
  position: absolute;
  left: clamp(-6rem, -4vw, -2rem);
  bottom: -4rem;
  width: min(58vw, 720px);
  aspect-ratio: 460 / 501;
  background: url("/files/images/ct-elements.svg") no-repeat center / contain;
  opacity: 0.9;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.7), transparent 75%);
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.7), transparent 75%);
}

@media (max-width: 900px) {
  .hero-bg::before {
    width: 80vw;
    left: -10vw;
    bottom: auto;
    top: -6rem;
    opacity: 0.5;
  }
}
