:root {
  --hero-height: 80vh;
  --hero-min-height: 440px;
}

@media screen and (orientation: portrait) {
  :root {
    --hero-height: 70vh
  }
}

#hero {
  position: relative;
  height: var(--hero-height);
  min-height: var(--hero-min-height);
  color: #fff;
  background: #000;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  clip-path: inset(0 0 0 0);
}

#hero .heading {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  text-align: center;
  line-height: 1em;
  padding-bottom: 50px;
  z-index: 100;
  pointer-events: none;
  font-size: 1rem;
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
}

@media screen and (min-width: 580px) {
  #hero .heading {
    font-size: 1.45rem;
  }
}

@media screen and (min-width: 1200px) {
  #hero .heading {
    font-size: 1.65rem;
  }
}

#hero .heading h1 {
  font-weight: normal;
  line-height: 1em;
  font-size: 2.5em;
  margin: 0;
}

#hero .heading p {
  margin: 0;
  font-size: 1em;
  line-height: 1em;
}

#hero .bg {
  position: fixed;
  width: 100%;
  height: var(--hero-height);
  min-height: var(--hero-min-height);
  overflow: hidden;
}

#hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.34) 50%, rgba(0, 0, 0, 0.2) 100%);
  mix-blend-mode: multiply;
  z-index: 1;
  pointer-events: none;
}

#hero .separator {
  margin: 1em auto;
}
