.service-detail-page,
.residential-page {
  --service-title-size: 2.625rem;
  --service-heading-size: 1.875rem;
  --service-title-color: var(--ink);
  --service-eyebrow-color: var(--primary);
}

.service-detail-page main {
  background: #fff;
}
.service-container {
  width: min(calc(100% - 36px), 1280px);
  margin-inline: auto;
}
.service-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding-block: 18px;
  color: #626864;
  font-size: .8125rem;
}
.service-breadcrumb a {
  text-decoration: none;
}
.service-breadcrumb a:hover {
  color: var(--primary);
}
.service-detail-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: 340px;
  padding-block: 48px;
  overflow: hidden;
  color: #fff;
  background: #343a36;
}
.service-detail-hero > img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}
.service-detail-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgb(12 18 15 / .5);
}
.service-detail-hero .eyebrow {
  color: #fff;
  margin-bottom: 12px;
}
.service-detail-hero h1 {
  max-width: 1000px;
  margin: 0 0 16px;
  font-size: var(--service-title-size);
  line-height: 1.15;
  letter-spacing: 0;
  overflow-wrap: break-word;
}
.service-detail-hero p:not(.eyebrow) {
  max-width: 690px;
  margin: 0 0 24px;
  font-size: 1.0625rem;
}
.service-detail-page .button {
  border-radius: 6px;
  white-space: normal;
  text-align: center;
}
.service-detail-page section[id] {
  scroll-margin-top: 110px;
}
.service-intro,
.service-information {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: 64px;
  padding-block: 56px;
}
.service-detail-page h2 {
  margin: 0 0 20px;
  font-size: var(--service-heading-size);
  line-height: 1.25;
  letter-spacing: 0;
  overflow-wrap: break-word;
}
.service-detail-page h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: 0;
}
.service-detail-page section p:not(.eyebrow) {
  line-height: 1.75;
}
.service-intro > div > p:not(.eyebrow),
.service-information p,
.service-feature-grid p,
.service-process p {
  color: #5f6561;
}
.service-summary {
  align-self: start;
  padding-left: 30px;
  border-left: 3px solid var(--primary);
}
.service-summary > span {
  color: #626864;
  font-size: .875rem;
}
.service-price {
  display: block;
  margin-top: 8px;
  color: var(--primary);
  font-size: 34px;
  line-height: 1.3;
}
.service-summary > p {
  margin: 6px 0 20px;
  font-size: .875rem;
}
.service-summary dl {
  margin: 0 0 20px;
}
.service-summary dl > div {
  padding-block: 10px;
  border-top: 1px solid #e3e6e4;
}
.service-summary dt {
  color: #626864;
  font-size: .8125rem;
}
.service-summary dd {
  margin: 4px 0 0;
  font-size: .9375rem;
  font-weight: 500;
}
.service-text-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}
.service-text-link:hover,
.service-text-link:focus-visible {
  text-decoration: underline;
}
.service-band {
  padding-block: 56px;
  background: #f2f4f3;
}
.service-section-lead {
  max-width: 760px;
  margin-bottom: 28px;
  color: #5f6561;
}
.service-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.service-feature-grid article {
  padding: 24px;
  background: #fff;
  border: 1px solid #e1e5e2;
  border-top: 3px solid var(--primary);
  border-radius: 6px;
}
.service-feature-grid p {
  margin-bottom: 0;
  font-size: .9375rem;
}
.service-information {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.service-check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.service-check-list li {
  position: relative;
  padding-left: 24px;
}
.service-check-list li::before {
  content: "";
  position: absolute;
  top: .5em;
  left: 2px;
  width: 10px;
  height: 6px;
  border-left: 2px solid #397655;
  border-bottom: 2px solid #397655;
  transform: rotate(-45deg);
}
.service-notes {
  padding-left: 32px;
  border-left: 1px solid #e3e6e4;
}
.service-process ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding: 0;
  margin: 32px 0 0;
  list-style: none;
}
.service-process li > span {
  display: block;
  margin-bottom: 14px;
  color: var(--primary);
  font-size: 28px;
  font-weight: 600;
}
.service-process p {
  margin: 0;
  font-size: .9375rem;
}
.service-contact {
  padding-block: 56px;
  color: #fff;
  background: #202322;
}
.service-contact > div {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.service-contact .eyebrow {
  color: #ffa9a8;
}
.service-contact p {
  color: #d3d8d5;
}
.service-contact .service-opening-hours {
  margin-bottom: 0;
  font-size: .8125rem;
}
.service-contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.service-contact .service-text-link {
  color: #fff;
  font-size: .875rem;
}
.service-phone {
  font-size: 24px;
  font-weight: 600;
  text-decoration: none;
}
.service-related {
  padding-block: 56px 72px;
}
.service-related-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
}
.service-related-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px;
  border-bottom: 1px solid #e1e5e2;
  text-decoration: none;
  font-size: .9375rem;
}
.service-related-links a:hover,
.service-related-links a:focus-visible {
  color: var(--primary);
}
.service-related-links span {
  color: var(--primary);
}
.service-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-block: 32px 44px;
}
.service-directory-link {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  color: #252b27;
  background: #fff;
  border: 1px solid #dce2de;
  border-radius: 6px;
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.service-directory-link:hover,
.service-directory-link:focus-visible {
  border-color: var(--primary);
  box-shadow: 0 8px 22px rgb(0 0 0 / .12);
}
.service-directory-link img {
  display: block;
  width: 100%;
  aspect-ratio: 2;
  object-fit: cover;
}
.service-directory-link > div {
  padding: 22px;
}
.service-directory-link h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.3;
}
.service-directory-link p {
  margin: 0 0 18px;
  color: #626864;
  font-size: .875rem;
  line-height: 1.6;
}
.service-directory-link span {
  color: var(--primary);
  font-size: .875rem;
  font-weight: 600;
}
.services-advantages-title {
  margin: 0 0 24px;
  font-size: 24px;
  line-height: 1.3;
}
@media (min-width: 1321px) {
  .service-detail-page .site-header nav a,
  .builder-page .builder-nav nav a {
    padding-inline: 11px;
  }
}
@media (min-width: 1081px) and (max-width: 1250px) {
  .service-detail-page .builder-footer,
  .builder-page .builder-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1081px) and (max-width: 1320px) {
  .service-detail-page .category-menu-button > span,
  .builder-page .builder-nav .category-menu-button > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .service-detail-page .site-header nav a,
  .builder-page .builder-nav nav a {
    padding-inline: 4px;
    font-size: .6875rem;
  }
  .builder-page .builder-nav .mega-menu {
    width: min(960px, calc(100vw - 120px));
  }
}
@media (max-width: 900px) {
  .service-intro,
  .service-information,
  .service-contact > div {
    gap: 32px;
  }
  .service-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .service-breadcrumb {
    font-size: .75rem;
    padding-block: 14px;
  }
  .service-detail-hero {
    min-height: 320px;
    padding-block: 36px;
  }
  .service-detail-hero h1 {
    font-size: 30px;
  }
  .service-detail-hero p:not(.eyebrow) {
    font-size: .9375rem;
  }
  .service-detail-page h2 {
    font-size: 24px;
  }
  .service-intro,
  .service-information,
  .service-contact > div {
    grid-template-columns: 1fr;
  }
  .service-intro,
  .service-information,
  .service-band,
  .service-contact {
    padding-block: 36px;
  }
  .service-summary {
    padding-left: 20px;
  }
  .service-feature-grid,
  .service-process ol,
  .service-related-links,
  .service-directory {
    grid-template-columns: 1fr;
  }
  .service-process ol {
    gap: 24px;
  }
  .service-process li {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 16px;
  }
  .service-notes {
    padding: 28px 0 0;
    border-left: 0;
    border-top: 1px solid #e3e6e4;
  }
  .service-feature-grid article {
    padding: 20px;
  }
  .service-contact-actions .button {
    width: 100%;
  }
  .service-price {
    font-size: 28px;
  }
  .service-phone {
    font-size: 22px;
  }
  .service-related {
    padding-block: 36px 48px;
  }
}

/* About-page inspired service layouts */
body.service-detail-page {
  background: #e8e8e8;
}

.service-detail-page main {
  padding-bottom: 96px;
  background: #e8e8e8;
}

.service-detail-page .service-container {
  width: min(calc(100% - 36px), var(--page-max-width));
}

.service-breadcrumb {
  margin-top: 18px;
  padding: 14px 24px;
  background: #fff;
  border: 1px solid rgba(36, 33, 29, .09);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(36, 33, 29, .06);
}

.service-detail-hero {
  width: min(calc(100% - 36px), var(--page-max-width));
  min-height: 300px;
  align-items: end;
  margin: 18px auto 0;
  padding: 44px 48px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(36, 33, 29, .08);
}

.service-detail-hero::before {
  background: linear-gradient(90deg, rgba(18, 22, 21, .92), rgba(18, 22, 21, .7) 62%, rgba(18, 22, 21, .22));
}

.service-detail-hero .service-container {
  width: auto;
  margin: 0;
}

.service-detail-hero h1 {
  max-width: 1040px;
  margin-bottom: 10px;
  font-size: var(--service-title-size);
  line-height: 1.2;
}

.service-detail-hero p:not(.eyebrow) {
  max-width: 880px;
  font-size: 1.0625rem;
}

.service-intro,
.service-information,
.service-related,
.service-band > .service-container {
  width: min(calc(100% - 36px), var(--page-max-width));
  margin: 18px auto 0;
  padding: 48px;
  background: #fff;
  border: 1px solid rgba(36, 33, 29, .09);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(36, 33, 29, .06);
}

.service-band {
  padding-block: 0;
  background: transparent;
}

.service-detail-page h2 {
  margin-bottom: 18px;
  font-size: var(--service-heading-size);
  line-height: 1.3;
}

.service-detail-page h3 {
  font-size: 1.125rem;
}

.service-intro,
.service-information {
  gap: 52px;
}

.service-intro > div > p:not(.eyebrow),
.service-information p,
.service-feature-grid p,
.service-process p {
  color: var(--muted);
}

.service-summary {
  align-self: stretch;
  display: grid;
  align-content: center;
  padding: 0 0 0 30px;
  border-left: 3px solid var(--primary);
}

.service-feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 36px;
  border-top: 1px solid rgba(36, 33, 29, .1);
}

.service-feature-grid article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-content: start;
  gap: 18px;
  padding: 26px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(36, 33, 29, .1);
  border-radius: 0;
}

.service-feature-grid article + article {
  padding-left: 0;
  border-left: 0;
}

.service-section-lead {
  margin-bottom: 30px;
}

.service-notes {
  padding-left: 32px;
  border-left: 1px solid rgba(36, 33, 29, .1);
}

.service-process ol {
  gap: 32px;
  border-top: 0;
}

.service-process li {
  padding: 0;
}

.service-process li + li {
  padding-left: 0;
  border-left: 0;
}

.service-contact {
  width: min(calc(100% - 36px), var(--page-max-width));
  margin: 18px auto 0;
  padding: 0;
  background: #202322;
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(36, 33, 29, .1);
}

.service-contact > div {
  width: auto;
  padding: 42px 48px;
}

.service-related {
  padding-bottom: 48px;
}

.service-directory-link {
  border-color: rgba(36, 33, 29, .09);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(36, 33, 29, .06);
}

@media (max-width: 1050px) {
  .service-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-feature-grid article:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 700px) {
  .service-detail-page main {
    padding-bottom: 72px;
  }

  .service-detail-page .service-container,
  .service-breadcrumb,
  .service-detail-hero,
  .service-intro,
  .service-information,
  .service-related,
  .service-band > .service-container,
  .service-contact {
    width: calc(100% - 20px);
    margin-top: 10px;
  }

  .service-breadcrumb {
    padding: 12px 16px;
  }

  .service-detail-hero {
    min-height: 260px;
    padding: 26px 24px;
  }

  .service-detail-hero h1 {
    font-size: var(--service-title-size);
  }

  .service-detail-page h2 {
    font-size: var(--service-heading-size);
  }

  .service-intro,
  .service-information,
  .service-band > .service-container,
  .service-related {
    padding: 24px;
  }

  .service-summary {
    padding: 24px 0 0;
    border-top: 3px solid var(--primary);
    border-left: 0;
  }

  .service-feature-grid,
  .service-process ol {
    grid-template-columns: 1fr;
  }

  .service-feature-grid article,
  .service-feature-grid article + article,
  .service-feature-grid article:nth-child(3) {
    padding: 24px 0;
    border-top: 0;
    border-left: 0;
  }

  .service-notes {
    padding: 28px 0 0;
    border-top: 1px solid rgba(36, 33, 29, .1);
    border-left: 0;
  }

  .service-contact > div {
    padding: 28px 24px;
  }
}

/* Service details use the same icon and process language on every subpage. */
.service-detail-icon {
  display: block;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-page-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
  margin-block: 18px 0;
  padding: 8px 24px;
}

.service-page-nav a,
.service-detail-icon-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
}

.service-page-nav a {
  padding-block: 10px;
  color: #414944;
  font-size: .8125rem;
  font-weight: 500;
}

.service-page-nav a:hover,
.service-page-nav a:focus-visible {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.service-page-nav .service-detail-icon,
.service-section-label .service-detail-icon,
.service-summary dt .service-detail-icon {
  width: 18px;
  height: 18px;
}

.service-page-nav .service-detail-icon {
  color: var(--primary);
}

:is(.service-detail-page, .residential-page) main .service-section-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-feature-icon,
.service-note-icon,
.residential-page .residential-benefit-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--primary);
  background: #fbeeee;
  border: 0;
  border-radius: 6px;
}

.service-feature-grid article:nth-child(even) .service-feature-icon,
.residential-page .residential-benefit-grid article:nth-child(even) .residential-benefit-icon {
  color: #397655;
  background: #edf5ef;
}

.service-note-icon {
  margin-bottom: 18px;
  color: #397655;
  background: #edf5ef;
}

.service-summary dt {
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-summary dt .service-detail-icon {
  color: #397655;
}

.service-summary dd {
  margin-left: 28px;
}

.service-check-list {
  gap: 0;
  border-top: 1px solid #e3e6e4;
}

.service-check-list li {
  padding: 13px 0 13px 28px;
  border-bottom: 1px solid #e3e6e4;
  font-size: .9375rem;
  line-height: 1.65;
}

.service-check-list li::before {
  top: 22px;
}

.service-contact-actions .button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
}

.service-contact-actions .button .service-detail-icon {
  width: 20px;
  height: 20px;
}

.service-process li,
.residential-page .residential-process li,
.residential-page .residential-process li:nth-child(2),
.residential-page .residential-process li:nth-child(3) {
  position: relative;
  display: block;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.service-process li > .service-step-marker,
.residential-page .residential-process li > .service-step-marker {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  color: #397655;
  background: #edf5ef;
  border: 1px solid #d9e7dc;
  border-radius: 50%;
}

.service-step-number {
  position: absolute;
  right: -6px;
  bottom: -4px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #fff;
  background: var(--primary);
  border: 2px solid #fff;
  border-radius: 50%;
  font-size: .625rem;
  font-weight: 600;
  line-height: 1;
}

.service-process li:not(:last-child)::after,
.residential-page .residential-process li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 28px;
  right: 0;
  left: 80px;
  height: 1px;
  background: #d9e1db;
}

.residential-page .residential-process ol {
  gap: 32px;
}

.residential-benefit-groups {
  display: grid;
  gap: 32px;
}

.residential-page .residential-group-title {
  margin: 0 0 18px;
  padding-left: 12px;
  border-left: 3px solid var(--primary);
}

.residential-page .residential-benefit-grid {
  gap: 0 24px;
  border: 0;
  border-top: 1px solid #e3e6e4;
}

.residential-page .residential-benefit-grid article,
.residential-page .residential-benefit-grid article:first-child {
  min-height: 0;
  padding: 24px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #e3e6e4;
  border-radius: 0;
}

.residential-page .residential-benefit-grid h4 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

:is(.service-detail-page, .residential-page) main section[id] {
  scroll-margin-top: 150px;
}

@media (max-width: 1050px) {
  .residential-page .residential-benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .service-detail-page .service-page-nav,
  .residential-page .service-page-nav {
    width: calc(100% - 20px);
    gap: 0 16px;
    margin-top: 10px;
    padding: 4px 14px;
  }

  .service-process ol,
  .residential-page .residential-process ol {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .residential-page .residential-benefit-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .residential-page .residential-benefit-grid article,
  .residential-page .residential-benefit-grid article:first-child {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 18px;
  }

  .residential-page .residential-benefit-icon {
    margin-bottom: 0;
  }

  .service-process li,
  .residential-page .residential-process li,
  .residential-page .residential-process li:nth-child(2),
  .residential-page .residential-process li:nth-child(3) {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 22px;
  }

  .service-process li > .service-step-marker,
  .residential-page .residential-process li > .service-step-marker {
    margin-bottom: 0;
  }

  .service-process li:not(:last-child)::after,
  .residential-page .residential-process li:not(:last-child)::after {
    top: 72px;
    right: auto;
    bottom: -12px;
    left: 28px;
    width: 1px;
    height: auto;
  }
}

@media (max-width: 380px) {
  .service-feature-grid article {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
  }

  .service-feature-icon {
    width: 36px;
    height: 36px;
  }

  .residential-page .residential-benefit-grid article,
  .residential-page .residential-benefit-grid article:first-child {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
  }

  .residential-page .residential-benefit-icon {
    width: 36px;
    height: 36px;
  }
}

/* Shared heading hierarchy, with contrast matched to each section surface. */
.service-detail-page main h1,
.residential-page .residential-hero-copy h1 {
  color: var(--service-title-color);
  font-size: var(--service-title-size);
  line-height: 1.2;
}

.service-detail-page main h2,
.residential-page :is(.residential-fit, .residential-project-band, .residential-section-head, .residential-relief, .residential-delivery) h2 {
  margin-bottom: 18px;
  color: var(--service-title-color);
  font-size: var(--service-heading-size);
  line-height: 1.3;
}

:is(.service-detail-page, .residential-page) main h3 {
  color: var(--service-title-color);
  font-size: 1.125rem;
  line-height: 1.4;
}

:is(.service-detail-page, .residential-page) main :is(h1, h2, h3) {
  font-weight: 600;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

:is(.service-detail-page, .residential-page) main .eyebrow {
  margin-bottom: 10px;
  color: var(--service-eyebrow-color);
  font-size: .75rem;
  line-height: 1.5;
}

.service-detail-hero,
.service-contact,
.residential-page .residential-project-band,
.residential-page .residential-relief {
  --service-title-color: #fff;
  --service-eyebrow-color: #ffa9a8;
}

.service-detail-hero p:not(.eyebrow),
.service-detail-page .service-section-lead,
.residential-page .residential-hero-summary > p,
.residential-page .residential-section-head > p {
  font-size: 1.0625rem;
  line-height: 1.7;
}

.service-detail-hero p:not(.eyebrow) {
  color: #e5e9e7;
}

.residential-page .residential-project-copy p,
.residential-page .residential-relief-copy > p:not(.eyebrow),
.residential-page .residential-relief-copy li {
  color: #d3d8d5;
}

.residential-page .residential-project-copy strong {
  color: #fff;
}

.residential-page .residential-relief-copy li::before {
  color: #a7cfb6;
}

.residential-page .residential-hero-copy .eyebrow {
  font-size: .75rem !important;
}

.service-detail-page .service-detail-hero > .service-container,
.service-detail-page .service-contact > .service-container {
  width: 100%;
  margin: 0;
}

@media (max-width: 1050px) {
  .residential-page :is(.residential-fit, .residential-project-inner, .residential-relief-inner, .residential-delivery) {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .residential-page .residential-relief-inner {
    min-height: 0;
  }

  .residential-page .residential-relief-copy {
    padding-block: 0;
  }
}

@media (max-width: 720px) {
  .service-detail-page,
  .residential-page {
    --service-title-size: 1.875rem;
    --service-heading-size: 1.5rem;
  }

  .residential-page .residential-hero-top {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-detail-hero p:not(.eyebrow),
  .service-detail-page .service-section-lead,
  .residential-page .residential-hero-summary > p,
  .residential-page .residential-section-head > p {
    font-size: 1rem;
  }
}
