.hero-with-video {
  position: relative;
  overflow: hidden;
  min-height: 76vh;
  background: #000;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-with-video .hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0,0,0,.84), rgba(0,0,0,.68) 45%, rgba(0,0,0,.42)),
    linear-gradient(180deg, rgba(0,0,0,.58), rgba(0,0,0,.34) 38%, rgba(0,0,0,.68));
}

.hero-with-video .hero-content {
  position: relative;
  z-index: 2;
  width: min(1320px, calc(100% - 48px));
  max-width: none;
}

.hero-with-video h1 {
  max-width: 1120px;
}

.hero-with-video p {
  max-width: 980px;
}

.hero-with-video h1,
.hero-with-video p {
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,.66);
}

.hero-with-video .button-secondary {
  color: #fff;
  border-color: rgba(255,255,255,.55);
  background: rgba(0,0,0,.22);
}

.hero-with-video .button {
  box-shadow: 0 14px 40px rgba(0,0,0,.28);
}

@media (max-width: 900px) {
  .hero-with-video .hero-content {
    width: min(100% - 32px, 760px);
  }

  .hero-with-video h1,
  .hero-with-video p {
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  .hero-video {
    display: none;
  }

  .hero-with-video {
    min-height: 70vh;
    background-image:
      linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.58)),
      url('/assets/chandelier-hero-poster.webp');
    background-size: cover;
    background-position: center;
  }
}
