.home-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: clamp(420px, 34vw, 600px);
  padding: 64px 0 80px;
  overflow: hidden;
  background: #222a30;
  color: #fff;
  text-align: center;
}

.home-hero__video,
.home-hero::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-hero__video {
  z-index: -2;
  object-fit: cover;
}

.home-hero::before {
  content: "";
  z-index: -1;
  background: rgb(10 18 24 / 52%);
}

.home-hero__content #hero-title {
  margin: 0;
  color: #fff;
  text-wrap: balance;
}

.home-hero__divider {
  display: block;
  width: 36px;
  height: 4px;
  margin: 28px auto;
  background: #f5a63f;
}

.home-hero__intro {
  margin: 0;
  font-size: clamp(1rem, .5rem + 1vw, 1.375rem);
  line-height: 1.5;
  text-wrap: balance;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 32px;
  margin-top: 36px;
}

.home-hero__actions .button {
  width: 270px;
  margin: 0;
}

.home-hero__playback {
  position: absolute;
  right: 20px;
  bottom: 16px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.home-hero__playback[hidden],
.home-hero__playback[data-paused="true"] .home-hero__pause-icon,
.home-hero__playback[data-paused="false"] .home-hero__play-icon {
  display: none;
}

.home-hero__playback:hover {
  background: rgb(0 0 0 / 20%);
}

.home-hero__playback svg {
  width: 16px;
  height: 16px;
}

.home-hero :focus-visible {
  /* Override the legacy stylesheet's important focus reset. */
  outline: 3px solid #fff !important;
  outline-offset: 4px;
}

.home-results {
  padding: 56px 0 64px;
  text-align: center;
}

.home-results__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 820px;
  margin: 32px auto 0;
}

.home-results__grid figure {
  margin: 0;
}

.home-results__grid img {
  display: block;
  width: 100%;
  height: auto;
  border: 8px solid #fff;
}

.home-results__grid figcaption {
  margin-top: 12px;
  color: #151515;
  font-size: var(--font-size-large);
  font-weight: 500;
}

@media (max-width: 575.98px) {
  .home-hero {
    min-height: 460px;
    padding: 48px 0 80px;
  }

  .home-hero__actions {
    gap: 12px;
    margin-top: 28px;
  }

  .home-hero__actions .button {
    width: min(270px, 100%);
  }

  .home-results {
    padding: 40px 0;
  }

  .home-results__grid {
    gap: 12px;
    margin-top: 24px;
  }

  .home-results__grid img {
    border-width: 4px;
  }
}
