@charset "UTF-8";

/* Keep the opening copy together beside two complete, aligned photographs. */
body.page-styling .service-hero.styling-overview {
  grid-template-columns: minmax(0, 1fr) minmax(0, 490px);
  align-items: center;
  gap: clamp(36px, 4vw, 64px);
  padding-top: 56px;
  padding-bottom: 56px;
}
body.page-styling .styling-hero-copy { min-width: 0; }
body.page-styling .styling-hero-copy h1 {
  max-width: 520px;
  margin: 18px 0 20px;
  font-size: clamp(32px, 3.3vw, 44px);
  line-height: 1.35;
  text-wrap: balance;
}
body.page-styling .styling-hero-copy .service-intro {
  max-width: 430px;
  line-height: 1.8;
}
body.page-styling .styling-hero-copy .service-jump { margin-top: 24px; }
body.page-styling .styling-overview-pair {
  /* The column ratio follows the images' native proportions. */
  grid-template-columns: minmax(0, 1.21665fr) minmax(0, 1fr);
  align-items: end;
  gap: 18px;
  width: 100%;
  max-width: 490px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
body.page-styling .styling-overview-pair figure {
  min-width: 0;
  padding: 0;
}
body.page-styling .styling-overview-pair .service-photo {
  height: auto;
  aspect-ratio: auto;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
}
body.page-styling .styling-overview-pair .service-photo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
body.page-styling .styling-overview-pair figcaption {
  margin: 0;
  padding-top: 12px;
  color: var(--site-muted);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 900px) {
  body.page-styling .service-hero.styling-overview {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding-top: 38px;
    padding-bottom: 38px;
  }
  body.page-styling .styling-hero-copy h1 { max-width: 620px; }
  body.page-styling .styling-hero-copy .service-intro { max-width: 560px; }
  body.page-styling .styling-overview-pair {
    max-width: 470px;
    justify-self: center;
  }
}
@media (max-width: 600px) {
  body.page-styling .service-hero.styling-overview {
    gap: 28px;
    padding-top: 30px;
    padding-bottom: 34px;
  }
  body.page-styling .styling-hero-copy h1 {
    margin: 14px 0 16px;
    font-size: clamp(25px, 6.8vw, 34px);
    line-height: 1.4;
  }
  body.page-styling .styling-hero-copy .service-jump { margin-top: 20px; }
  body.page-styling .styling-overview-pair { gap: 12px; }
  body.page-styling .styling-overview-pair figcaption { padding-top: 10px; }
}
