.editorial-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  align-items: center;
  gap: clamp(1.6rem, 5vw, 5.4rem);
  padding-block: var(--page-space);
}

.editorial-feature h1 {
  max-width: 25ch;
  margin-bottom: 1.1rem;
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  letter-spacing: -.052em;
  line-height: 1.17;
  text-wrap: balance;
}

.editorial-feature .eyebrow, .page-band-inner .eyebrow { margin-bottom: .7rem; }
.editorial-feature-copy > p:not(.eyebrow) { max-width: 51ch; }
.editorial-feature-copy > p + p { margin-top: .75rem; }
.editorial-feature-copy .button { margin-top: 1.15rem; }

.editorial-feature-photo {
  position: relative;
  aspect-ratio: 1 / 1.04;
  overflow: hidden;
  background: var(--ivory);
}

.editorial-feature-photo img {
  position: absolute;
  inset: 0;
  object-position: 50% 54%;
}

.editorial-feature-photo::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(to right, var(--ivory), #f4ede26f 7%, #f4ede200 21%),
    linear-gradient(to top, #f4ede2bb, #f4ede200 10%);
}

.offer-portrait { aspect-ratio: .87; }
.offer-portrait img { object-position: 50% 66%; }
.waterfront-portrait { aspect-ratio: 5 / 4; }
.waterfront-portrait img { object-position: 50% 56%; }
.family-portrait { aspect-ratio: 4 / 5; }
.family-portrait img { object-position: 50% 74%; }
.waterfront-portrait::after, .family-portrait::after {
  background:
    linear-gradient(to left, var(--ivory), #f4ede276 6%, #f4ede200 18%),
    linear-gradient(to top, #f4ede2a6, #f4ede200 10%);
}

.editorial-section { padding-block: var(--page-space); }
.editorial-section h2, .editorial-with-image h2, .page-band-inner h2 {
  font-size: clamp(1.65rem, 2.75vw, 2.65rem);
  text-wrap: pretty;
}

.editorial-section :is(h2, p) + p { margin-top: .8rem; }
.editorial-emphasis {
  padding-left: .85rem;
  border-left: 1px solid var(--rule);
  font-family: var(--heading);
  line-height: 1.55;
}
.page-band-dark .editorial-emphasis { border-color: var(--sage); }

.story-narrow { max-width: 45rem; }
.story-narrow > p { max-width: 58ch; }
.story-today { border-top: 1px solid var(--rule); }
.story-conviction h2 { font-size: clamp(1.9rem, 3.25vw, 3.05rem); }
.story-conviction p { margin-top: 1.1rem; }

.editorial-with-image {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(1.4rem, 6vw, 6rem);
}
.editorial-with-image .text-link { margin-top: .35rem; }

.editorial-invitation.editorial-section .button { margin-top: 1rem; }
.editorial-invitation .button + .detail-note { margin-top: .55rem; }
.editorial-invitation .editorial-other-path { margin-top: .85rem; }
.editorial-other-path a { text-underline-offset: .2em; }

.offer-voices {
  padding-left: clamp(.85rem, 2vw, 1.5rem);
  border-left: 1px solid var(--rule);
  font-family: var(--heading);
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
}

.offer-voices p + p { margin-top: .9rem; }
.offer-change-title { max-width: 34ch; }
.offer-outcomes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.9rem, 3vw, 2.8rem);
  margin-top: clamp(1.2rem, 3vw, 2.25rem);
}
.offer-outcomes > div { border-top: 1px solid var(--rule); padding-top: .75rem; }
.offer-outcomes h3 { margin-bottom: .45rem; font-size: clamp(1.05rem, 1.8vw, 1.26rem); }

.testimonials-compact {
  padding-block: clamp(1.5rem, 3.4vw, 2.75rem);
  background: var(--paper);
}
.testimonials-compact .testimonials-inner { max-width: 59rem; }
.testimonials-compact .testimonials-media { gap: clamp(1rem, 3vw, 2.75rem); }
.testimonials-compact .whatsapp-testimonials { max-width: 21rem; justify-self: center; }
.testimonials-compact .whatsapp-track { grid-auto-columns: 100%; align-items: center; }
.testimonials-compact .whatsapp-shot { width: 100%; height: auto; aspect-ratio: auto; }
.testimonials-compact .whatsapp-shot img { height: auto; }
.testimonials-compact .whatsapp-shot[data-message-window] {
  position: relative;
  aspect-ratio: 941 / var(--message-height);
}
.testimonials-compact .whatsapp-shot[data-message-window] img {
  position: absolute;
  inset: 0 auto auto 0;
  transform: translateY(var(--message-offset));
}
.testimonials-compact .whatsapp-controls { justify-content: center; }
.testimonials-compact .whatsapp-track-position { display: block; }
.testimonials-compact .testimonial-icon:hover:not(:disabled) { background: var(--ivory); }

@media (max-width: 48rem) {
  .editorial-feature, .editorial-with-image { grid-template-columns: minmax(0, 1fr); }
  .editorial-feature { gap: 1.35rem; }
  .editorial-feature h1 { font-size: clamp(1.75rem, 5.2vw, 2.35rem); text-wrap: pretty; }
  .editorial-feature-photo { aspect-ratio: 4 / 3; }
  .offer-portrait img { object-position: 50% 68%; }
  .family-portrait { aspect-ratio: 4 / 5; }
  .editorial-feature-photo::after {
    background: linear-gradient(to top, #f4ede2b5, #f4ede200 12%),
      linear-gradient(to bottom, #f4ede278, #f4ede200 8%);
  }
  .story-today .editorial-feature-photo { order: 1; }
}

@media (max-width: 34rem) {
  .offer-outcomes { grid-template-columns: minmax(0, 1fr); }
  .testimonials-compact .testimonials-inner { width: calc(100% - 1.5rem); }
  .testimonials-compact .whatsapp-testimonials { max-width: 27rem; }
}
