/* Hero background reel — replaces mp- parallax.
   Revert: delete this file, its <link>, mp-hero.js + its <script>,
   and restore the .mp-stage block in index.html. */

/* Transparent overlay so the dark video shows through */
.hero-overlay { background: transparent; }

#heroPoster,
.hero__poster { background: #000; }

/* Autoplay background video — fills poster, sits below scrim and CTAs */
.hero__reel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
  opacity: 1;
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero__reel:not(.is-ready) {
  opacity: 0;
}

/* Dark gradient scrim — lighter at top so video reads through the header */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to bottom,
      rgba(0,0,0,0.12) 0%,
      rgba(0,0,0,0.08) 28%,
      rgba(0,0,0,0.15) 55%,
      rgba(0,0,0,0.48) 100%);
}

/* CTAs sit above scrim */
.hero__ctas { z-index: 2; }

/* Ghost CTA — subtle against video */
.hero__view-work-text {
  color: rgba(255, 255, 255, 0.72);
}

.hero__view-work:hover .hero__view-work-text {
  color: rgba(255, 255, 255, 0.9);
}

/* prefers-reduced-motion: hide autoplay video; poster image shows instead */
@media (prefers-reduced-motion: reduce) {
  .hero__reel { display: none; }
}
