.hero {
  --hero-gutter: max(32px, calc((100% - 1120px) / 2));
  --hero-text-width: clamp(280px, 32vw, 440px);
  position: relative;
  display: grid;
  align-items: center;
  isolation: isolate;
  min-height: 700px;
  padding: 0;
  background: #fffefb;
  text-align: left;
}
.hero::before, .hero::after { display: none; }
.hero .hero-content {
  z-index: 2;
  position: relative;
  width: calc(100% - var(--hero-gutter) * 2);
  max-width: none;
  margin: 0 auto;
  padding: 56px 0;
}
.hero-text { width: var(--hero-text-width); max-width: 100%; }
.hero .hero-text h1, .hero .hero-copy {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
.hero .hero-text h1 {
  font-size: clamp(40px, 4.15vw, 56px);
  line-height: 1.02;
  margin-bottom: 22px;
  overflow-wrap: normal;
}
.hero .hero-text h1 br { display: none; }
.hero .hero-text h1 span { display: block; }
.hero .hero-text h1 span::before { content: none; }
.hero .hero-copy { font-size: 15px; line-height: 1.6; }
.hero .eyebrow { max-width: 100%; }
.hero .cta { margin-top: 12px; }
.hero .hero-media {
  position: absolute;
  z-index: 0;
  inset: 0 0 0 calc(var(--hero-gutter) + var(--hero-text-width) - 40px);
  overflow: hidden;
  background: #fffefb;
}
.hero .hero-video, .hero .hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero .hero-media::before {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #fffefb 0, #fffefb 40px, #fffefbf5 64px, #fffefbb3 98px, #fffefb40 140px, #fffefb00 190px);
}
.hero .hero-media::after {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(0deg, #fffefb 0, #fffefbb3 16px, #fffefb00 76px);
}
.hero.page-hero { min-height: 570px; }
@media (min-width: 1600px) {
  .hero { min-height: 740px; }
  .hero.page-hero { min-height: 640px; }
}
@media (min-width: 2000px) {
  .hero, .hero.page-hero { min-height: 760px; }
}
@media (min-width: 600px) and (max-width: 850px) {
  .hero { --hero-gutter: 28px; --hero-text-width: 280px; }
  .hero .hero-content { padding: 44px 0; }
  .hero .hero-media::before {
    background: linear-gradient(90deg, #fffefb 0, #fffefb 40px, #fffefbf0 60px, #fffefb99 90px, #fffefb00 145px);
  }
}
@media (max-width: 599px) {
  .hero, .hero.page-hero {
    --hero-text-width: 440px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding: 0;
    text-align: center;
  }
  .hero .hero-content {
    order: 1;
    width: calc(100% - 40px);
    padding: 40px 0 18px;
    margin: 0 auto;
  }
  .hero .hero-text { width: 100%; max-width: 440px; margin: 0 auto; }
  .hero .hero-text h1 { font-size: 44px; line-height: 1.03; }
  .hero .hero-copy { width: 100%; max-width: none; }
  .hero .hero-media {
    order: 2;
    position: relative;
    inset: auto;
    width: 100%;
    height: clamp(240px, 66vw, 380px);
    flex: none;
  }
  .hero .hero-media::before {
    background: linear-gradient(180deg, #fffefb 0, #fffefbdb 14px, #fffefb66 35px, #fffefb00 72px);
  }
  .hero .hero-media::after {
    background: linear-gradient(0deg, #fffefb 0, #fffefb80 14px, #fffefb00 50px);
  }
}
