/* ==========================================================================
   Glow — soft blurred colour fields used as section ambience
   Size and placement are set by the owning section (e.g. .story__glow).
   ========================================================================== */

.glow {
  position: absolute;
  z-index: var(--z-base);
  display: block;
  width: var(--glow-size, 31.5rem);
  aspect-ratio: var(--glow-ratio, 1);
  border-radius: 50%;
  opacity: 0.5;
  filter: blur(var(--blur-glow));
  pointer-events: none;
  will-change: transform;
}

.glow--brand {
  background-color: var(--color-brand-600);
}

.glow--teal {
  background-color: var(--color-teal-500);
}

/* Figma: gradient fill at 60% opacity on a 50% layer */
.glow--gradient {
  background-image: var(--gradient-glow);
  opacity: 0.3;
}

@media (max-width: 47.99rem) {
  .glow {
    filter: blur(calc(var(--blur-glow) * 0.6));
  }
}
