.hero {
  position: relative;
  min-height: 570px;
  padding: 0;
  background: linear-gradient(116deg, #820012 0%, #c90026 48%, #eb1c3a 100%);
  overflow: hidden;
  isolation: isolate;
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  content: '';
}

.hero::before {
  inset: 0;
  background: radial-gradient(circle at 7% 19%, rgba(255, 255, 255, .13) 0 2px, transparent 2.8px) 0 0 / 15px 15px;
  opacity: .42;
  mask-image: linear-gradient(90deg, #000 0 16%, transparent 34% 100%);
}

.hero::after {
  right: -18vw;
  bottom: -32vw;
  width: 66vw;
  height: 66vw;
  border: 1px solid rgba(255, 218, 107, .22);
  border-radius: 50%;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(370px, .92fr);
  min-height: 570px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(100%, 690px);
  padding: 40px 0;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 570px;
}

.hero h1 {
  font-size: clamp(37px, 5vw, 60px);
}

.hero-illustration {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: min(59vw, 720px);
  height: auto;
  margin: 0 -12px -4px 0;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 1060px) {
  .hero {
    min-height: 540px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr);
    min-height: 540px;
  }

  .hero-copy {
    width: min(100%, 610px);
  }

  .hero-illustration {
    width: min(58vw, 570px);
    margin-right: -20px;
  }
}

@media (max-width: 800px) {
  .hero {
    min-height: 0;
    padding: 0;
  }

  .hero::before {
    mask-image: linear-gradient(90deg, #000 0 38%, transparent 85%);
  }

  .hero::after {
    right: -42vw;
    bottom: -44vw;
    width: 110vw;
    height: 110vw;
  }

  .hero-inner {
    display: flex;
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-illustration {
    order: 1;
    align-self: center;
    width: min(100vw, 400px);
    max-width: none;
    margin: 12px auto -14px;
    transform: translateX(-30px);
  }

  .hero-copy {
    order: 2;
    width: 100%;
    padding: 0 0 44px;
  }

  .hero-copy > p:not(.eyebrow) {
    max-width: 31rem;
  }

  .hero .search-panel {
    position: relative;
    z-index: 3;
  }
}

@media (max-width: 440px) {
  .hero h1 {
    font-size: 34px;
    line-height: 1.24;
  }

  .hero-illustration {
    width: min(100vw, 390px);
    margin-top: 8px;
    transform: translateX(-25px);
  }
}
