/* Home hero canvas — loaded on the home page only. */
.hero--animated { isolation: isolate; }
.hero--animated::before { z-index: -1; }
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  display: block;
  pointer-events: none;
}
/* Shade keeps the copy readable over the moving scene. */
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 46% 58% at 50% 50%, rgba(28,16,8,0.72) 0%, rgba(28,16,8,0.45) 55%, rgba(28,16,8,0) 100%),
    linear-gradient(180deg, rgba(28,16,8,0.25) 0%, rgba(28,16,8,0) 40%);
}
@media (max-width: 640px) {
  .hero__shade {
    background:
      radial-gradient(ellipse 80% 60% at 50% 50%, rgba(28,16,8,0.74) 0%, rgba(28,16,8,0.5) 60%, rgba(28,16,8,0.1) 100%);
  }
}
.hero--animated .hero-content { z-index: 1; }
