/* V163 — align homepage chapters 05, 06 and 07 without changing their
   surrounding visual structures, content or interactions. */

:root {
  --home-lower-title-measure: 760px;
}

/* Equal title hierarchy for Process, Client feedback and Contact. */
.home-v143 #processTitle,
.home-v143 #testimonialsTitle,
.home-v143 #homeContactTitle {
  width: auto !important;
  max-width: var(--home-lower-title-measure) !important;
  margin: 0 !important;
  font-size: var(--morphd-title-section) !important;
  font-weight: 400 !important;
  line-height: var(--morphd-leading-section) !important;
  letter-spacing: -.04em !important;
  text-transform: none !important;
  text-wrap: balance;
}

/* Equal label-to-title spacing. */
.home-v143 .journey-process-v28 .journey-index,
.home-v143 .editorial-testimonials__top .journey-index,
.home-v143 .journey-contact--v130-restored .journey-index {
  margin: 0 0 var(--morphd-label-title-gap) !important;
}

/* Keep the testimonial title block on the same left datum and measure as 05. */
.home-v143 .editorial-testimonials__top > div:first-child {
  width: 100%;
  max-width: var(--home-lower-title-measure);
}

/* Contact keeps its image-led composition, but its content starts from the
   same journey-shell gutter as Process and Client feedback. */
.home-v143 .journey-contact--v130-restored .journey-contact__copy {
  width: min(100%, var(--journey-max)) !important;
  max-width: var(--journey-max) !important;
  margin-inline: auto !important;
  padding-inline: var(--journey-gutter) !important;
}

.home-v143 .journey-contact--v130-restored .journey-contact__copy > p:not(.journey-index) {
  margin-top: var(--morphd-title-copy-gap) !important;
}

@media (max-width: 760px) {
  :root {
    --home-lower-title-measure: none;
  }

  .home-v143 #processTitle,
  .home-v143 #testimonialsTitle,
  .home-v143 #homeContactTitle {
    max-width: none !important;
  }
}
