.hero {
    position: relative;
    z-index: 5;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 900px;
    min-height: calc(100dvh - 80px);
    margin: 0 auto;
    padding: 40px clamp(16px, 4vw, 24px) 60px;
    text-align: center;
    box-sizing: border-box;
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.herobanner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  min-height: 720px;
  overflow: hidden;
  z-index: 1;
}

.herobannerimg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  filter: saturate(0.9) brightness(0.75);
  opacity: 0.36;
  mix-blend-mode: screen;
  mask-image: linear-gradient(180deg,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,1) 25%,
    rgba(0,0,0,0.7) 45%,
    rgba(0,0,0,0.35) 65%,
    rgba(0,0,0,0.1) 82%,
    rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(180deg,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,1) 25%,
    rgba(0,0,0,0.7) 45%,
    rgba(0,0,0,0.35) 65%,
    rgba(0,0,0,0.1) 82%,
    rgba(0,0,0,0) 100%);
}

.herobanner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(36, 29, 52, 0.5) 0%,
    rgba(36, 29, 52, 0.35) 25%,
    rgba(36, 29, 52, 0.2) 45%,
    rgba(36, 29, 52, 0.08) 65%,
    rgba(36, 29, 52, 0) 100%);
}
