/* Home page. Heading and body use locally served Outfit. */

.page-home {
  color: #000;
  background: #fff;
  --home-gutter: 6vw;
  --home-col: 88vw;
  --home-f: var(--home-col);
  --home-lead-size: clamp(21.064px, calc(19.824914285714286px + 0.317714285714286vw), 24.4px);
  --home-quote-gap: clamp(77.25px, calc(65.01588571428571px + 3.136952380952381vw), 112.719px);
}

.hero-home {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  color: #fff;
  background: #000;
}

.hero-home .hero-media,
.hero-home .hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-home .hero-media img {
  object-fit: cover;
  object-position: center center;
  max-width: none;
  filter: none;
  opacity: 1;
}

.hero-home::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(0, 0, 0);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

.hero-home .hero-copy {
  position: absolute;
  z-index: 1;
  left: 23px;
  right: 23px;
  bottom: 12%;
  width: auto;
  color: #fff;
}

.hero-home h1,
.hero-home h2 {
  color: #fff;
}

.hero-home h1 {
  text-align: center;
}

.hero-home h2 {
  margin-top: 12px;
  text-align: start;
  font-size: 20.4px;
  line-height: 20.4px;
}

.home-welcome,
.home-bio,
.home-testimonials,
.home-next,
.home-service-rows,
.home-closing-signup {
  width: var(--home-col);
  margin: 0 auto;
  padding: 40px 0;
}

.home-welcome {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: right;
  gap: 32px;
  padding-top: 47.52px;
}

.home-welcome-copy {
  width: 100%;
}

.home-welcome-copy > p {
  text-align: right;
  font-size: 16px;
  line-height: 28.8px;
  font-weight: 300;
  margin: 0 0 16px;
}

.page-home .welcome-lead {
  font-size: var(--home-lead-size);
  line-height: 1.8;
  font-weight: 300;
  text-align: right;
  margin: 0 0 16px;
}

.home-welcome-copy .welcome-lead strong,
.home-welcome-copy .welcome-lead em {
  font-weight: 700;
}

.home-welcome-copy .welcome-lead em {
  font-style: italic;
}

.home-welcome-copy code {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0.16px;
  background: transparent;
  color: inherit;
  white-space: pre-wrap;
}

.home-welcome-copy .cta-wrap,
.home-bio .cta-wrap {
  text-align: center;
}

.page-home .btn-cta {
  font-size: 16px;
  line-height: normal;
  font-weight: 500;
  letter-spacing: 0.32px;
  padding: 17.6px 29.392px;
  background: var(--color-navy);
  color: var(--color-white);
  text-decoration: none;
  border: 0;
}

.home-welcome-figure {
  margin: 0;
  width: 100%;
}

.home-welcome-figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 677 / 451;
}

.home-bio,
.home-testimonials,
.home-next,
.home-service-rows {
  text-align: left;
}

.home-bio p {
  text-align: justify;
  font-size: 16px;
  line-height: 28.8px;
  font-weight: 300;
}

.home-bio .bio-bullets {
  list-style: disc;
  margin: 0 0 16px;
  padding: 0 0 0 40px;
}

.home-bio .bio-bullets li {
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 28.8px;
}

.home-bio .bio-bullets p {
  margin: 8px 0;
  text-align: justify;
}

.home-testimonials h3 {
  margin-bottom: 36px;
}

.home-testimonials .testimonial {
  width: 96.72%;
  max-width: 592.109px;
  margin: 0 0 var(--home-quote-gap);
}

.home-testimonials blockquote {
  margin: 0;
  font-size: var(--home-lead-size);
  line-height: 1.8;
  font-weight: 300;
  text-align: start;
}

.home-testimonials figcaption {
  margin-top: 0;
  width: 100%;
  font-size: 16px;
  line-height: 16px;
  font-weight: 400;
  letter-spacing: 0.16px;
  text-align: right;
}

.home-next h2 {
  font-size: 28px;
  line-height: 1.3;
  margin: 0 0 20px;
}

.home-next .welcome-lead {
  width: 100%;
  margin: 16px 0;
}

.service-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
  width: var(--home-f);
  margin: 0 0 40px;
}

.service-row-pair {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  width: 100%;
}

.service-row-pair > figure {
  width: 100%;
  margin: 0;
  flex: none;
}

.service-row-pair > figure img {
  width: 100%;
  height: auto;
  max-width: none;
  display: block;
  object-fit: contain;
  object-position: center center;
}

.service-row-copy {
  width: 100%;
  margin-top: 10%;
  flex: none;
}

.service-row-copy p {
  text-align: left;
}

.service-row h4 {
  margin-bottom: 12px;
}

.service-row .cta-wrap {
  text-align: center;
  margin: 0;
}

.home-closing-signup {
  padding-bottom: 96px;
}

.home-closing-frame {
  display: block;
  position: relative;
  width: var(--home-f);
  margin: 0 auto 0 0;
}

.home-closing-portrait {
  margin: 0;
  width: 90%;
}

.home-closing-portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  display: block;
  object-fit: contain;
  object-position: center center;
}

.home-signup-card {
  width: 90%;
  margin-top: -20%;
  margin-left: 10%;
  margin-right: 0;
  padding: 9%;
  box-sizing: border-box;
  background: rgb(224, 224, 219);
  color: #000;
  position: relative;
  transform: none;
}

.home-signup-card h4 {
  margin: 0 0 16px;
}

.home-appointment-heading {
  width: var(--home-f);
  margin: 34px 0 16px;
  text-align: start;
}

.page-home .bp-form-signup {
  width: var(--home-f);
  margin: 0 auto 0 0;
  text-align: start;
}

.page-home .bp-form-signup .form-row-name {
  display: block;
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.page-home .bp-form-signup .form-group-label {
  display: block;
  font-size: 16px;
  font-weight: 300;
  line-height: normal;
  letter-spacing: normal;
  padding: 0 0 4px;
  margin: 0;
}

.page-home .bp-form-signup .form-row-split {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-end;
  gap: 10px;
}

.page-home .bp-form-signup .form-row-split .form-field {
  flex: 1 1 0;
  min-width: 0;
}

.page-home .bp-form-signup .form-field {
  margin-bottom: 20px;
}

.page-home .bp-form-signup .form-row-split .form-field label {
  display: block;
  font-size: 12px;
  font-weight: 300;
  line-height: normal;
  letter-spacing: normal;
  margin: 0;
  padding: 0;
}

.page-home .bp-form-signup > .form-field:not(.form-field-check) > label {
  display: block;
  font-size: 16px;
  font-weight: 300;
  line-height: 28.8px;
  letter-spacing: normal;
  margin: 0;
  padding: 0 0 4px;
}

.page-home .bp-form-signup .form-required {
  font-size: 14.272px;
  font-weight: 300;
  opacity: 0.7;
}

.page-home .bp-form-signup .form-row-split .form-required {
  line-height: 14.272px;
}

.page-home .bp-form-signup > .form-field:not(.form-field-check) > label .form-required {
  line-height: 25.6896px;
}

.page-home .bp-form-signup .form-field-check label {
  font-size: 14.272px;
  font-weight: 300;
  line-height: 25.6896px;
  padding-right: 4px;
}

@media screen and (min-width: 768px) {
  .page-home {
    --home-gutter: 3vw;
    --home-col: min(47vw, 700px);
    --home-f: calc((11 * var(--home-col) - 34px) / 12);
  }

  .hero-home h2 {
    font-size: 40.3px;
    line-height: 40.3px;
  }

  .page-home h3 {
    font-size: 36.16px;
    line-height: 48.194px;
  }

  .page-home h4 {
    font-size: 26.08px;
    line-height: 35.6357px;
  }

  .home-next h2 {
    font-size: 46.24px;
    line-height: 60.075px;
  }

  .home-next .welcome-lead {
    width: 91.25%;
    max-width: 638.828px;
  }

  .page-home .bp-form-signup {
    width: var(--home-f);
    max-width: none;
    margin-left: 0;
    margin-right: auto;
  }

  .home-testimonials .testimonial {
    width: 84.72%;
    margin-left: 0;
    margin-right: 0;
  }

}

@media screen and (min-width: 471px) and (max-width: 767px),
  screen and (min-width: 969px) {
  .service-row-pair {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0;
  }

  .service-row-pair > figure,
  .service-row-copy {
    width: 45%;
    flex: 0 0 45%;
    margin-top: 0;
  }

  .home-closing-frame {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    position: relative;
  }

  .home-closing-portrait {
    width: 70%;
    flex: 0 0 70%;
  }

  .home-signup-card {
    position: absolute;
    top: 50%;
    right: 0;
    bottom: auto;
    width: 50%;
    margin: 0;
    padding: 5%;
    transform: translateY(-50%);
  }
}

@media screen and (min-width: 1440px) {
  .hero-home .hero-copy {
    left: 50%;
    right: auto;
    width: min(700px, calc(50% - 3vw));
    bottom: 139px;
  }
}
