/* Mobile art direction: the portrait and live copy share one opening scene. */
.hero-emphasis { color: #874a37; }
.hero-underline { position: relative; display: inline-block; }
.hero-wave {
  position: absolute;
  left: -.025em;
  bottom: -.2em;
  width: calc(100% + .05em);
  height: .27em;
  fill: currentColor;
  stroke: none;
  pointer-events: none;
}
@media (max-width: 800px) {
  .hero {
    display: block;
    min-height: 666px;
    padding: 126px 0 46px;
    isolation: isolate;
  }
  .hero-inner { z-index: 4; }
  .hero-copy { width: 100%; max-width: none; padding: 0; }
  .hero-copy .eyebrow { font-size: 10px; line-height: 1.5; letter-spacing: .13em; margin-bottom: 24px; max-width: 270px; }
  .hero h1 { font-size: 65px; line-height: .99; letter-spacing: -.055em; max-width: 260px; }
  .hero-emphasis { font-style: italic; white-space: nowrap; }
  .hero-description { font-size: 20px; line-height: 1.48; max-width: 255px; margin: 25px 0 27px; }
  .hero-copy > .reassurance { font-size: 12px; max-width: 320px; }
  .hero-visual {
    top: 55px;
    right: 0;
    bottom: 14px;
    width: 100%;
    height: auto;
    opacity: 1;
    overflow: hidden;
    -webkit-mask-image: none;
    mask-image: none;
    z-index: 0;
  }
  .hero-visual img { object-position: 43% center; }
  .hero-visual::after {
    background:
      linear-gradient(180deg, var(--cream), transparent 17%, transparent 73%, var(--cream)),
      linear-gradient(90deg, #fcf8f0fa, #fcf8f0e6 24%, #fcf8f099 40%, #fcf8f014 63%, transparent 76%);
  }
  .foliage--hero { top: 90px; right: -110px; width: 190px; height: 560px; opacity: .6; z-index: 1; }
  .menu-toggle { width: 46px; height: 46px; margin-right: 0; border-radius: 50%; border: 1px solid #ffffffd9; background: #fffdf58c; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 1px 0 #fff, 0 4px 16px #424d3910; }
  .menu-toggle svg { width: 23px; height: 23px; }
  .header-inner { height: 92px; gap: 20px; }
  .mobile-nav:not([hidden]) { top: 86px; z-index: 20; }
}
/* Keep the next heading close to the photo's soft fade on every phone width. */
@media (max-width: 640px) {
  .hero { min-height: 590px; padding-bottom: 24px; }
  .hero-visual { bottom: auto; height: 537px; }
}
@media (max-width: 480px) {
  .hero { min-height: 575px; padding-top: 120px; padding-bottom: 24px; }
  .hero-copy .eyebrow { font-size: 9px; letter-spacing: .12em; max-width: 250px; margin-bottom: 22px; }
  .hero h1 { font-size: clamp(49px, 13.8vw, 62px); max-width: 210px; line-height: 1.01; }
  .hero-description { font-size: 17px; line-height: 1.47; max-width: 180px; margin: 23px 0 28px; }
  .hero-copy > .button { min-height: 56px; width: 100%; max-width: 360px; font-size: 16px; justify-content: space-between; padding: 15px 23px; border: 1px solid #fbdac18c; box-shadow: inset 0 1px 0 #ffe7cd70, 0 9px 25px #71312024; }
  .hero-copy > .reassurance { max-width: 310px; font-size: 11px; line-height: 1.6; margin-top: 12px; }
  .hero-visual { top: 76px; right: 0; bottom: auto; width: 100%; height: 499px; }
  .hero-visual img { object-position: 44.5% center; }
  .hero-visual::after {
    background:
      linear-gradient(180deg, var(--cream), #fcf8f026 12%, transparent 23%, transparent 63%, #fcf8f080 81%, var(--cream)),
      linear-gradient(90deg, #fcf8f0fa, #fcf8f0f0 23%, #fcf8f0b3 41%, #fcf8f026 61%, transparent 74%);
  }
  .foliage--hero { top: 100px; right: -106px; width: 160px; height: 530px; opacity: .55; }
  .header-inner { height: 90px; }
  .wordmark { width: 183px; }
}
@media (max-width: 360px) {
  .hero { min-height: 535px; padding-top: 106px; padding-bottom: 24px; }
  .header-inner { height: 80px; }
  .wordmark { width: 166px; }
  .mobile-nav:not([hidden]) { top: 75px; }
  .hero-copy .eyebrow { font-size: 8px; max-width: 220px; margin-bottom: 20px; }
  .hero h1 { font-size: 47px; max-width: 185px; }
  .hero-description { font-size: 16px; max-width: 160px; margin-top: 22px; margin-bottom: 25px; }
  .hero-copy > .button { font-size: 14px; min-height: 52px; padding: 13px 18px; }
  .hero-copy > .reassurance { max-width: 250px; font-size: 10px; }
  .hero-visual { top: 65px; height: 465px; }
  .hero-visual img { object-position: 45% center; }
  .foliage--hero { right: -115px; }
}
/* Slightly smaller lower portrait, keeping its centre in the same place. */
@media (min-width: 641px) and (max-width: 800px) {
  .lower-scene { top: 141px; height: 658px; }
}
@media (max-width: 640px) {
  .lower-scene { height: 705px; bottom: -12px; }
  .lower-scene img { object-position: 25.5% center; }
  .lower-scene::after { background: linear-gradient(90deg, transparent 28%, #fcf8f04d 39%, #fcf8f0c2 51%, #fcf8f0e6 75%, #fcf8f0f0); }
  .about-copy { width: 60%; margin-left: auto; display: grid; grid-template-columns: max-content minmax(0, 1fr); }
  .about-copy > .about-eyebrow, .about-copy > .about-intro { grid-column: 1 / -1; }
  .about-copy > h2 { grid-column: 1; }
  /* The heading sets the right edge for the benefits and button. */
  .about-copy > .benefits { grid-column: 1; contain: inline-size; }
  .about-copy .benefits li { justify-content: flex-end; text-align: right; }
  .about-copy > .button { grid-column: 1; justify-self: end; }
  .next-step { margin-top: -85px; }
  .next-step::before { top: 0; }
}
@media (max-width: 360px) {
  .lower-scene { height: 635px; }
}
@media (max-width: 800px) and (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: 520px; padding-top: 108px; }
  .hero h1 { font-size: 52px; max-width: 330px; }
  .hero-description { font-size: 17px; max-width: 280px; margin: 18px 0 22px; }
  .hero-visual { top: 0; height: 100%; }
  .hero-visual img { object-position: 45% center; }
}
