/* =============================================================================
   LEarn2arn — 3D layer for #main-content only (Three.js canvas)
   ============================================================================= */

.site-main {
  position: relative;
  isolation: isolate;
}

.site-main > .section,
.site-main > .hero {
  position: relative;
  z-index: 1;
}

.site-main-3d {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.site-main-3d__canvas {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-atmosphere {
  opacity: 0.35;
}

@media (prefers-reduced-motion: reduce) {
  .site-main-3d__canvas {
    opacity: 0.55;
  }
}
