.hero-home {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--color-alabaster);
  overflow: clip;
}
.hero-home__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-home__img {
  position: absolute;
  top: -6%;
  left: 0;
  width: 100%;
  height: 112%;
  object-fit: cover;
  will-change: transform;
}
/* Video plays over the image; the image stays as the fallback behind it. */
.hero-home__video {
  z-index: 1;
}
/* Background overlay — even Steel scrim weighted top (header legibility) + bottom (H1). */
.hero-home::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, 0.7) 74%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.4) 0%, rgba(102, 102, 102, 0) 47%);
}
.hero-home__inner {
  position: relative;
  z-index: 3;
  padding-bottom: clamp(3rem, 6vw, 7rem);
  width: 100%;
}
.hero-home__heading {
  grid-column: 1 / span 8;
  margin: 0;
  color: var(--color-alabaster);
}
.hero-home__motif {
  position: absolute;
  right: var(--gutter, 1rem);
  top: 0%;
  color: var(--color-alabaster);
}

@media (max-width: 1024px) {
  .hero-home__motif {
    top: -20%;
  }
}

@media (max-width: 768px) {
  .hero-home__motif {
    display: none;
  }
  .hero-home__heading {
    grid-column: 1 / -1;
  }
}
/* The dark overlay header sits over this hero, so the hero must reach the top of
   the viewport. Cancel .ttw-main's top padding on dark-overlay (hero-first) pages
   so the white header logo lands on the hero image, not the cream page gap. */
body:has(.site-header--dark) .ttw-main {
  padding-top: 0;
}
