/* ==========================================================================
   Ambient glow — reusable full-page background effect.
   Opt in on any page by adding the `cn-ambient-glow` class to <body>
   (see inc/enqueue.php: cultnerds_ambient_glow_body_class).
   Markup for .cn-glow-layer is injected by assets/js/ambient-glow.js.
   Low opacity and fading radial gradients provide softness without filters.
   ========================================================================== */

.cn-glow-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.cn-glow {
  position: absolute;
  border-radius: 50%;
  opacity: 0.14;
  will-change: transform;
}

.cn-glow--orange {
  width: clamp(320px, 32vw, 560px);
  height: clamp(320px, 32vw, 560px);
  top: 10%;
  left: 8%;
  background: radial-gradient(circle, var(--cn-orange, #f29020) 0%, transparent 65%);
}

.cn-glow--blue {
  width: clamp(320px, 34vw, 600px);
  height: clamp(320px, 34vw, 600px);
  top: 55%;
  left: 68%;
  background: radial-gradient(circle, var(--cn-pink, #58a4ff) 0%, transparent 65%);
}

@media (max-width: 768px) {
  .cn-glow {
    width: clamp(260px, 75vw, 400px);
    height: clamp(260px, 75vw, 400px);
    will-change: auto;
  }

  .cn-glow--orange {
    left: -15%;
  }

  .cn-glow--blue {
    left: auto;
    right: -15%;
  }
}
