/* Shared layouts for the public pages beyond the front page. */
.page-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 57% 32%, #fff8fa 0, transparent 36%), linear-gradient(115deg, #f9e7ec, #f4d9e2);
}

.page-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
  align-items: center;
  gap: clamp(42px, 7vw, 110px);
  padding-block: 72px 83px;
}

.page-hero__copy {
  max-width: 650px;
}

.page-hero h1 {
  margin-block: 18px 22px;
  font-size: clamp(54px, 6vw, 84px);
}

.page-hero__lead {
  max-width: 520px;
  margin-bottom: 29px;
  color: #604953;
  font-size: 17px;
  line-height: 1.8;
}

.page-hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 27px;
}

.page-hero__image {
  position: relative;
  margin: 0;
  height: 475px;
  padding: 9px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 240px 240px 25px 25px;
  background: rgba(255,250,248,.7);
  box-shadow: 0 24px 52px rgba(78,42,56,.13);
  transform: rotate(2deg);
}

.page-hero__image img {
  width: 100%;
  height: 100%;
  border-radius: 232px 232px 18px 18px;
  object-fit: cover;
}

.page-hero__image figcaption {
  position: absolute;
  right: -25px;
  bottom: 32px;
  padding: 11px 18px;
  border-radius: 4px;
  background: var(--plum);
  color: #fff;
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  transform: rotate(-7deg);
}

.page-section {
  padding-block: 92px;
}

.page-section--soft {
  background: #fbf0f2;
}

.page-section--tight {
  padding-block: 70px;
}

.page-heading {
  max-width: 710px;
  margin-bottom: 43px;
}

.page-heading h2 {
  margin-block: 15px;
}

.page-heading p,
.page-prose p {
  max-width: 650px;
  color: var(--muted);
  line-height: 1.85;
}

.treatment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.treatment-card {
  padding: 34px 30px 31px;
  border: 1px solid #ead8dd;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 15px 35px rgba(72,43,55,.045);
}

.treatment-card:nth-child(2) {
  background: #fff5f7;
}

.treatment-card__number {
  color: #b66885;
  font-family: var(--serif);
  font-size: 28px;
  font-style: italic;
}

.treatment-card h3 {
  margin-block: 20px 14px;
  font-size: 31px;
  letter-spacing: -.04em;
  line-height: 1.15;
}

.treatment-card p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(35px, 7vw, 95px);
}

.split-panel__image {
  height: 495px;
  margin: 0;
  overflow: hidden;
  border-radius: 230px 230px 18px 18px;
  background: #f2d6df;
}

.split-panel__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-panel__copy h2 {
  margin-block: 15px 19px;
}

.split-panel__copy p {
  max-width: 530px;
  color: var(--muted);
  line-height: 1.9;
}

.split-panel__copy .button,
.split-panel__copy .text-link {
  margin-top: 10px;
}

.page-note {
  padding: 30px 35px;
  border-left: 3px solid #c57995;
  border-radius: 0 15px 15px 0;
  background: #fff9fa;
  color: var(--muted);
  line-height: 1.8;
}

.page-note p:last-child {
  margin-bottom: 0;
}

.page-note strong {
  color: var(--plum-dark);
}

.page-price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 21px;
}

.page-price-grid .price-card {
  min-height: 0;
}

.page-price-grid .price-card--details {
  grid-column: 1 / -1;
}

.page-price-grid .price-card--details .price-row {
  display: inline-flex;
  width: min(49%, 410px);
  margin-right: 1%;
}

.price-explainer {
  margin-top: 25px;
  color: var(--muted);
  font-size: 13px;
}

.portrait-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
}

.portrait-gallery figure {
  margin: 0;
}

.portrait-gallery img {
  width: 100%;
  aspect-ratio: .75;
  border-radius: 150px 150px 15px 15px;
  object-fit: cover;
}

.portrait-gallery figcaption {
  padding: 13px 3px 0;
  color: var(--plum-dark);
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
}

.page-cta {
  padding-block: 84px;
  background: radial-gradient(circle at 15% 15%, rgba(255,255,255,.15), transparent 28%), #783b56;
  color: #fff;
  text-align: center;
}

.page-cta h2 {
  margin-block: 16px 13px;
}

.page-cta h2 em {
  color: #f6c7d8;
}

.page-cta p {
  max-width: 560px;
  margin: 0 auto 26px;
  color: #fff5f6;
}

.page-cta .eyebrow {
  color: #f5d1df;
}

.page-cta__links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 19px;
}

.page-cta__links > a:not(.button) {
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page-cta__links > a:not(.button):hover {
  color: #f6c7d8;
}

@media (max-width: 860px) {
  .page-hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-block: 68px 75px;
  }

  .page-hero__image {
    width: min(100%, 470px);
    height: 500px;
    margin-inline: auto;
  }

  .treatment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-panel {
    grid-template-columns: .85fr 1.15fr;
    gap: 35px;
  }

  .split-panel__image {
    height: 430px;
  }

  .portrait-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .page-hero__inner {
    gap: 36px;
    padding-block: 57px 64px;
  }

  .page-hero h1 {
    font-size: clamp(48px, 12vw, 64px);
  }

  .page-hero__lead {
    font-size: 15px;
  }

  .page-hero__image {
    width: min(92%, 390px);
    height: min(104vw, 450px);
    min-height: 330px;
  }

  .page-hero__image figcaption {
    right: -15px;
    bottom: 22px;
    font-size: 16px;
  }

  .page-section {
    padding-block: 70px;
  }

  .page-heading {
    margin-bottom: 30px;
  }

  .page-heading p,
  .page-prose p {
    font-size: 14px;
  }

  .treatment-grid,
  .split-panel,
  .page-price-grid {
    grid-template-columns: 1fr;
  }

  .split-panel__image {
    width: min(100%, 360px);
    height: 420px;
    margin-inline: auto;
  }

  .page-price-grid .price-card--details {
    grid-column: auto;
  }

  .page-price-grid .price-card--details .price-row {
    display: flex;
    width: 100%;
    margin-right: 0;
  }

  .portrait-gallery {
    gap: 18px 11px;
  }

  .portrait-gallery figcaption {
    font-size: 16px;
  }

  .page-note {
    padding: 23px 24px;
    font-size: 14px;
  }

  .page-cta {
    padding-block: 75px;
  }
}
