.hero--video {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: 6rem;
}

.hero--video + .tiles {
  margin-top: 0;
}

.hero--video .hero__poster,
.hero--video .hero__video {
  position: absolute;
  inset: 0;
}

.hero--video .hero__video {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.hero--video .hero__video.is-playing {
  opacity: 1;
}

.hero__video-toggle {
  position: absolute;
  left: 2rem;
  /* Match the centre of the 56px WhatsApp control, inset 2rem. */
  bottom: calc(2rem + 28px);
  transform: translateY(50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius);
  background: rgba(11, 6, 30, 0.72);
  color: #fff;
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
}

.hero__video-toggle[hidden] {
  display: none;
}

.hero__video-toggle:hover {
  background: var(--navy);
}

.hero__video-toggle:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}

.hero__video-toggle svg {
  width: 18px;
  height: 18px;
}

.hero__video-play,
.hero__video-toggle.is-paused .hero__video-pause {
  display: none;
}

.hero__video-toggle.is-paused .hero__video-play {
  display: block;
}

@media (max-width: 768px) {
  .hero--video {
    padding-top: calc(var(--header-h) + 1.5rem);
    padding-bottom: 5rem;
  }

}

@media (prefers-reduced-motion: reduce) {
  .hero--video .hero__video {
    transition: none;
  }
}

@media (max-width: 600px) {
  .hero--video .hero__tagline {
    font-size: clamp(0.6rem, 2.7vw, 0.7rem);
    letter-spacing: 0.16em;
  }

  .hero--video {
    padding-bottom: calc(10rem + env(safe-area-inset-bottom, 0px));
  }

  .hero__video-toggle {
    left: auto;
    right: 1rem;
    bottom: calc(5.75rem + env(safe-area-inset-bottom, 0px));
    transform: none;
  }
}

@media (max-width: 360px) {
  .hero--video .hero__title { font-size: 1.75rem; }
}
