/* Hero ---------------------------------------------------------------------- */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: #1a1a1a; /* behind the poster while it loads */
}
.hero__media, .hero__video { width: 100%; height: 100%; }
.hero__video { object-fit: cover; }

.hero__content {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  max-width: 678px;
  transform: translate(-50%, -10%);
  opacity: 0;
  visibility: hidden;
}
.is-hero-ready .hero__content {
  transform: translate(-50%, -50%);
  opacity: 1;
  visibility: visible;
  transition: transform 1s, opacity 1s, visibility 1s;
}
.hero__title { text-align: center; color: var(--c-light); }
.hero__cta { display: flex; justify-content: center; margin-top: 30px; }

@media (max-width: 768px) {
  .hero { height: 110lvh; }
  .hero__content { padding: 0 20px; }
}
