/* Homepage hero motion study V2. Only the hero background is affected. */
.hero {
  background: #f7fafc;
  isolation: isolate;
}

.hero::before,
.hero::after {
  opacity: 0.32 !important;
  z-index: -1 !important;
}

.hero-light-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero > .hero-grid {
  position: relative;
  z-index: 2;
}

html[data-hero-light-mode="strands"] .hero {
  background: linear-gradient(118deg, #fbfdfe 0%, #f3fafb 48%, #f3f0fa 100%);
}

html[data-hero-light-mode="colorfield"] .hero,
html[data-hero-light-mode="hybrid"] .hero {
  background: #f5fafb;
}

@media (max-width: 760px) {
  .hero-light-canvas { opacity: 0.92; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-light-canvas { opacity: 0.88; }
}
