/* A room in transit: the photograph stays behind the House's existing type. */
.hero {
  isolation: isolate;
  overflow: clip;
  min-height: calc(100svh - 68px);
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgb(11 11 10 / .48), rgb(11 11 10 / .48) 62%, rgb(11 11 10 / .02) 86%),
    linear-gradient(180deg, rgb(11 11 10 / .18), transparent 25%, rgb(11 11 10 / .06) 60%, #0b0b0a 100%);
}

.hero h1 {
  text-shadow: 0 2px 22px rgb(0 0 0 / .18);
}

.hero > .label {
  color: #eeeae1;
  text-shadow: 0 1px 10px rgb(0 0 0 / .45);
}

.hero > .hero-tagline {
  max-width: 36rem;
  color: #c5c1b7;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: normal;
  text-wrap: balance;
}

.hero-bottom {
  border-top-color: rgb(238 234 225 / .3);
}

@media (max-width: 768px) {
  .hero > .hero-tagline {
    max-width: 28ch;
    font-size: 13px;
  }

  .hero-image {
    height: 72%;
    object-position: 55% center;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgb(11 11 10 / .48), rgb(11 11 10 / .32) 62%, rgb(11 11 10 / .2)),
      linear-gradient(180deg, rgb(11 11 10 / .46), rgb(11 11 10 / .18) 24%, rgb(11 11 10 / .45) 44%, #0b0b0a 72%);
  }
}

@media (max-width: 700px) {
  .hero {
    min-height: calc(100svh - 60px);
  }
}
