
/* Final layout adjustments: only the four edited page types load this file. */
body.final-home .hero-home {
  padding: 30px 0 56px;
}
body.final-home .hero-home .wrap.hero-split {
  width: min(1050px, calc(100% - 56px));
  max-width: 1050px;
  display: grid;
  grid-template-columns: minmax(0, 510px) minmax(0, 450px);
  justify-content: center;
  align-items: center;
  column-gap: 30px;
}
body.final-home .hero-home .hero-copy {
  width: 100%;
  max-width: 510px;
  padding: 0;
  margin: 0;
  align-self: center;
}
body.final-home .hero-home h1 {
  font-size: clamp(46px, 5.2vw, 70px);
  max-width: 100%;
  line-height: 1.02;
  color: #372F2B;
}
body.final-home .hero-home .hero-title-line {
  color: #372F2B;
}
body.final-home .hero-home .hero-portrait {
  width: 100%;
  max-width: 450px;
  justify-self: center;
  margin: 0;
  padding: 0;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
}
body.final-home .hero-home .hero-portrait img {
  display: block;
  width: 100%;
  max-width: 445px;
  max-height: 620px;
  height: auto;
  object-fit: contain;
}
body.final-home .hero-home .hero-coaching-links {
  width: 100%;
  max-width: 510px;
}
body.final-home .hero-home .hero-coaching-link {
  width: 100%;
}
body.final-compact .page-heading {
  display: none !important;
}
body.final-compact main > section.section:first-child {
  padding-top: 16px;
}
body.final-compact main.programs-page > section.section:first-child {
  padding-top: 12px;
}
body.final-compact .service-row:first-child,
body.final-compact .program-card-link:first-child {
  border-top: 1px solid var(--line);
}
body.final-compact main > section.section:first-child > .wrap {
  margin-top: 0;
}
body.final-compact .section-split {
  align-items: center;
}
@media (min-width: 981px) and (max-width: 1100px) {
  body.final-home .hero-home .wrap.hero-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    column-gap: 22px;
  }
}
@media (max-width: 850px) {
  body.final-home .hero-home .wrap.hero-split {
    width: min(100% - 40px, 680px);
    grid-template-columns: 1fr;
    gap: 14px;
  }
  body.final-home .hero-home .hero-portrait {
    max-width: 420px;
  }
  body.final-compact main > section.section:first-child {
    padding-top: 24px;
  }
}
@media (max-width: 630px) {
  body.final-home .hero-home {
    padding-top: 30px;
  }
  body.final-home .hero-home .wrap.hero-split {
    width: calc(100% - 36px);
  }
  body.final-home .hero-home h1 {
    font-size: clamp(38px, 10vw, 50px);
  }
}
