/* Forever In Form V4.2: homepage Hero only. Existing markup and assets stay intact. */
.hero.shell {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: none;
  height: 80vh;
  height: 80svh;
  min-height: 620px;
  max-height: 980px;
  margin: 0;
  padding: 0;
  gap: 0;
  overflow: hidden;
  background: #e7e3da;
}

.hero.shell .hero-image {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  aspect-ratio: auto;
}

.hero.shell .hero-image .hero-poster,
.hero.shell .hero-image video.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero.shell .hero-image img,
.hero.shell .hero-image video.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 43%;
}

/* Warm paper on the copy side; the figure remains unobscured at center-right. */
.hero.shell::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(248, 247, 241, .96) 0%,
    rgba(248, 247, 241, .91) 17%,
    rgba(248, 247, 241, .69) 33%,
    rgba(248, 247, 241, .25) 48%,
    rgba(248, 247, 241, 0) 65%);
}

.hero.shell .hero-copy {
  position: relative;
  z-index: 2;
  flex: none;
  width: min(46vw, 620px);
  max-width: none;
  margin-left: max(5vw, calc((100vw - 1310px) / 2));
  padding-right: 18px;
}

.hero.shell h1 {
  max-width: 620px;
  margin-bottom: 24px;
  font-size: clamp(62px, 5.6vw, 104px);
  line-height: .99;
}

.hero.shell .hero-copy > p:not(.eyebrow) {
  max-width: 470px;
  color: #30342e;
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.55;
}

.hero.shell .hero-image figcaption {
  right: 18px;
  bottom: 18px;
  left: auto;
}

@media (min-width: 721px) and (max-width: 1199px) {
  .hero.shell .hero-copy {
    width: min(50vw, 530px);
    margin-left: 5vw;
  }

  .hero.shell h1 {
    font-size: clamp(54px, 6.1vw, 74px);
  }
}

@media (max-width: 720px) {
  .hero.shell {
    align-items: flex-start;
    height: 80vh;
    height: 80svh;
    min-height: 630px;
    max-height: 820px;
  }

  .hero.shell .hero-image img {
    object-position: 50% 43%;
  }

  .hero.shell::after {
    background: linear-gradient(180deg,
      rgba(248, 247, 241, .98) 0%,
      rgba(248, 247, 241, .92) 19%,
      rgba(248, 247, 241, .57) 42%,
      rgba(248, 247, 241, .06) 65%,
      rgba(248, 247, 241, 0) 100%);
  }

  .hero.shell .hero-copy {
    width: 100%;
    max-width: 480px;
    margin: 0;
    padding: clamp(42px, 7svh, 68px) 24px 0;
  }

  .hero.shell h1 {
    max-width: 360px;
    margin-bottom: 16px;
    font-size: clamp(44px, 11.2vw, 60px);
  }

  .hero.shell .hero-copy > p:not(.eyebrow) {
    max-width: 340px;
    font-size: 15px;
  }

  .hero.shell .hero-image figcaption {
    right: 12px;
    bottom: 12px;
  }
}
