/* Export hero rebuilt to match the approved full-bleed reference. */
body.export-page .export-main > .ex-hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: block;
  overflow: hidden;
  padding: clamp(8rem, 13.6vh, 8.6rem) 0 4.35rem !important;
  background: #f7f5f0;
}

body.export-page .ex-hero .ex-container {
  width: min(calc(100% - 2.5rem), 1300px);
}

body.export-page .ex-hero__grid {
  position: static;
  display: block;
}

body.export-page .ex-hero__copy {
  position: relative;
  z-index: 2;
  width: min(100%, 590px);
}

body.export-page .ex-hero h1 {
  max-width: 590px;
  font-size: clamp(3.45rem, 5.55vw, 5.5rem);
  font-weight: 750;
  line-height: .99;
  letter-spacing: -.05em;
}

body.export-page .ex-hero h1::after {
  content: "";
  display: block;
  width: 88px;
  height: 6px;
  margin-top: 1.05rem;
  border-radius: 99px;
  background: #a64b2a;
}

body.export-page .ex-hero .ex-lead {
  max-width: 580px;
  margin-top: 1rem;
  max-width: 560px;
  font-size: 1.16rem;
  line-height: 1.6;
}

body.export-page .ex-hero .ex-lead--small {
  max-width: 560px;
  margin-top: 1.55rem;
  font-size: 1.12rem;
  line-height: 1.65;
}

body.export-page .ex-hero .ex-actions {
  position: relative;
  z-index: 2;
  width: min(100%, 590px);
  gap: .8rem;
  margin-top: 1.45rem;
}

body.export-page .ex-hero .ex-button {
  min-height: 52px;
  padding-inline: 1.45rem;
  font-size: .97rem;
}

body.export-page .ex-hero__media {
  position: absolute;
  z-index: 0;
  inset: 0;
  min-width: 0;
  overflow: hidden;
  pointer-events: none;
}

body.export-page .ex-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #f7f5f0 0%,
    #f7f5f0 30%,
    rgba(247, 245, 240, .98) 37%,
    rgba(247, 245, 240, .86) 43%,
    rgba(247, 245, 240, .42) 50%,
    rgba(247, 245, 240, .08) 58%,
    rgba(247, 245, 240, 0) 64%
  );
}

body.export-page .ex-hero .ex-media-figure--hero {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
  background: transparent;
}

body.export-page .ex-hero .ex-media-figure--hero .ex-media-image {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  object-position: center center;
  background: transparent;
}

.ex-hero-desktop-break {
  display: none;
}

@media (min-width: 1200px) {
  body.export-page .ex-hero-desktop-break {
    display: block;
  }
}

@media (max-width: 900px) {
  body.export-page .export-main > .ex-hero {
    min-height: 0;
    padding: 6.5rem 0 2.5rem !important;
  }

  body.export-page .ex-hero .ex-container {
    width: min(calc(100% - 2rem), 1300px);
  }

  body.export-page .ex-hero__grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  body.export-page .ex-hero__copy {
    width: 100%;
  }

  body.export-page .ex-hero h1 {
    font-size: clamp(2.7rem, 8.5vw, 4rem);
    line-height: 1;
  }

  body.export-page .ex-hero .ex-lead {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.7;
  }

  body.export-page .ex-hero .ex-lead--small {
    max-width: 100%;
    margin-top: 1rem;
    font-size: 1rem;
    line-height: 1.7;
  }

  body.export-page .ex-hero__media {
    position: relative;
    inset: auto;
    z-index: 0;
    order: 2;
    width: 100vw;
    height: auto;
    aspect-ratio: 3 / 2;
    margin: 1.6rem 0 0 calc(50% - 50vw);
    overflow: hidden;
  }

  body.export-page .ex-hero__media::after {
    background: linear-gradient(
      180deg,
      #f7f5f0 0%,
      rgba(247, 245, 240, .9) 9%,
      rgba(247, 245, 240, .52) 20%,
      rgba(247, 245, 240, .08) 36%,
      rgba(247, 245, 240, 0) 66%,
      rgba(247, 245, 240, .22) 88%,
      #f7f5f0 100%
    );
  }

  body.export-page .ex-hero .ex-actions {
    order: 3;
  }

  body.export-page .ex-hero .ex-media-figure--hero {
    height: 100%;
  }

  body.export-page .ex-hero .ex-media-figure--hero .ex-media-image {
    object-position: center center;
  }
}

@media (max-width: 620px) {
  body.export-page .export-main > .ex-hero {
    padding-top: 6.25rem !important;
    padding-bottom: 1rem !important;
  }

  body.export-page .ex-hero h1 {
    font-size: clamp(2.6rem, 10.8vw, 3.25rem);
  }

  body.export-page .ex-hero h1::after {
    margin-top: .9rem;
  }

  body.export-page .ex-hero .ex-lead {
    margin-top: .9rem;
  }

  body.export-page .ex-hero .ex-actions {
    margin-top: 1.25rem;
  }

  body.export-page .ex-hero__media {
    margin-top: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.export-page .ex-hero * {
    scroll-behavior: auto;
  }
}

/* Restore strong contrast for the secondary hero CTA on the ivory image fade. */
.export-page .ex-hero .ex-button.ex-button--outline {
  color: #173524 !important;
  border-color: #1a3b28;
  background: rgba(255, 253, 248, .78);
  text-decoration: none;
}

.export-page .ex-hero .ex-button.ex-button--outline:hover,
.export-page .ex-hero .ex-button.ex-button--outline:focus-visible {
  color: #fffdf8 !important;
  border-color: #1a3b28;
  background: #1a3b28;
  text-decoration: none;
}

.export-page .ex-hero .ex-button.ex-button--outline:focus-visible {
  outline: 3px solid #c89a45;
  outline-offset: 3px;
}
