.services-page {
  gap: 4rem;
}

.services-page #introduction-content {
  width: min(1120px, calc(100% - 2rem));
  gap: clamp(1.25rem, 3vw, 2rem);
}

.services-heading {
  text-align: center;
  justify-items: center;
}

#services-overview .section-heading {
  margin-bottom: 0.5rem;
}

#services-overview {
  display: grid;
  gap: 2rem;
}

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

.hero-services-summary {
  width: 100%;
  padding-top: clamp(0.95rem, 2vw, 1.2rem);
  text-align: left;
}

.hero-services-summary .summary-item {
  min-height: 100%;
  padding: 0 clamp(1rem, 2vw, 1.35rem);
  border: 0;
  border-left: 1px solid rgba(82, 14, 8, 0.16);
  background: transparent;
  box-shadow: none;
  display: grid;
  align-content: start;
  gap: 0.55rem;
}

.hero-services-summary .summary-item:first-child {
  border-left: 0;
  padding-left: 0;
}

.hero-services-summary .summary-item:last-child {
  padding-right: 0;
}

#introduction-content .hero-services-summary p {
  max-width: none;
}

.hero-services-summary .summary-item h2 {
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  margin: 0;
}

.hero-services-summary .summary-item a {
  color: var(--brand);
  text-decoration-color: rgba(82, 14, 8, 0.28);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

.hero-services-summary .summary-item a:hover,
.hero-services-summary .summary-item a:focus-visible {
  color: var(--ink-strong);
  text-decoration-color: var(--gold-dark);
}

.hero-services-summary .summary-item p {
  color: rgba(61, 61, 61, 0.84);
}

.services-page #introduction-content .hero-actions {
  width: 100%;
  margin-top: 0;
  padding-top: clamp(1rem, 2vw, 1.35rem);
}

.services-page #introduction-content .hero-actions .button-gold,
.services-page #introduction-content .hero-actions .button-secondary {
  min-width: min(100%, 220px);
}

.service-detail {
  padding: 2rem 0;
  border-top: 1px solid rgba(82, 14, 8, 0.14);
}

.service-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.service-section-heading {
  display: grid;
  gap: 0.45rem;
  position: sticky;
  top: 110px;
}

.service-section-heading h3 {
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
}

.service-section-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: start;
}

.service-text {
  display: grid;
  gap: 1rem;
}

.service-text p,
.service-text li,
.services-callout p {
  text-align: justify;
  text-justify: inter-word;
}

.service-text strong {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-weight: 700;
  color: var(--ink-strong);
}

.service-text h4 {
  margin-top: 0.4rem;
}

.service-text ul {
  display: grid;
  gap: 0.75rem;
  padding-left: 1.15rem;
}

.services-callout {
  width: var(--container);
  margin: 0 auto;
}

.services-callout .button-gold {
  min-width: 180px;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .service-section,
  .service-section-body {
    grid-template-columns: 1fr;
  }

  .service-section-heading {
    position: static;
  }
}

@media (max-width: 768px) {
  .services-page {
    gap: 3.25rem;
  }

  .services-page #introduction-content {
    width: min(100%, calc(100% - 1rem));
  }

  .hero-services-summary .summary-item {
    padding: 0 0.65rem;
  }

  .hero-services-summary {
    padding-top: 0.9rem;
  }

  .hero-services-summary .summary-item h2 {
    font-size: 1rem;
  }

  .hero-services-summary .summary-item p {
    font-size: 0.92rem;
  }

  .service-detail {
    padding: 1.4rem 0;
  }
}

@media (max-width: 640px) {
  .services-summary {
    grid-template-columns: 1fr;
  }

  .hero-services-summary .summary-item,
  .hero-services-summary .summary-item:first-child,
  .hero-services-summary .summary-item:last-child {
    padding: 0.95rem 0;
    border-left: 0;
    border-top: 1px solid rgba(82, 14, 8, 0.14);
  }

  .hero-services-summary .summary-item:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .hero-services-summary .summary-item:last-child {
    padding-bottom: 0;
  }
}
