.pool-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  container: poolHero / inline-size;
  background: var(--ice);
}
.pool-hero-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: #08a6d0;
}
.pool-hero-art picture {
  display: block;
  width: 100%;
  height: 100%;
}
.pool-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 49%;
}
.pool-water-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}
.pool-water-canvas.is-ready { opacity: 1; }
.pool-hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fbfcfdb8 0%, #fbfcfda8 26%, #fbfcfd89 34%, #fbfcfd24 44%, #fbfcfd00 49%);
  pointer-events: none;
}
.pool-hero-content {
  display: flex;
  align-items: center;
  min-height: clamp(33rem, 43vw, 42rem);
  padding-block: clamp(2.8rem, 4.8vw, 4.5rem);
}
.pool-hero-copy {
  width: min(49%, 37rem);
  container-type: inline-size;
}
.hero-service {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: .75rem;
  color: #245570;
}
.pool-hero h1 {
  font-size: clamp(2.85rem, 12.55cqi, 4.8rem);
  font-style: italic;
  font-weight: 800;
  line-height: .93;
  letter-spacing: -.022em;
  text-wrap: initial;
  padding-right: .12em;
}
.pool-hero-description {
  max-width: 34ch;
  margin: 1rem 0 1.35rem;
  font-size: clamp(1.125rem, 1.6vw, 1.35rem);
  line-height: 1.45;
}
.offer-strip {
  background: #bceff8;
  border-block: 1px solid #9bd6e3;
}
.offer-strip-inner {
  display: grid;
  grid-template-columns: minmax(0,max-content) minmax(0,max-content);
  align-items: start;
  justify-content: center;
  column-gap: clamp(.55rem,2vw,1.65rem);
}
.offer-strip-link {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  align-content: center;
  gap: 0 .55rem;
  padding-block: .3rem;
  min-height: 44px;
  text-decoration: none;
  font-size: 1.125rem;
  line-height: 1.25;
  font-weight: 650;
}
.offer-strip-link:hover span { text-decoration: underline; }
.offer-strip-link strong { font: italic 800 1.8rem/1 var(--display); white-space: nowrap; }
.offer-strip-terms {
  position: relative;
  min-width: 0;
  display: grid;
  justify-items: start;
  align-self: center;
}
.offer-strip-terms summary {
  min-height: 44px;
  display: list-item;
  width: fit-content;
  align-content: center;
  font-size: 1rem;
  line-height: 1.23;
  font-weight: 700;
  text-underline-offset: .18em;
  text-decoration: underline;
}
.offer-strip-terms p {
  position: absolute;
  z-index: 5;
  top: 100%;
  inset-inline-end: 0;
  width: min(23rem, calc(100vw - 2.5rem));
  margin: 0;
  padding: .8rem 1rem;
  border: 1px solid #a3c8d7;
  background: #fff;
  box-shadow: 0 5px 20px #062d521b;
  font-size: 1rem;
  line-height: 1.45;
}
@media (max-width: 620px) {
  .offer-strip-inner {
    grid-template-columns: minmax(0,1fr) auto;
    align-items: center;
  }
  .offer-strip-link { display: block; padding-block: .42rem; font-size: 1rem; text-wrap: balance; }
  .offer-strip-link strong { margin-inline-end: .23rem; font-size: 1.52rem; }
  .offer-strip-terms summary { font-size: .9375rem; }
}
@media (max-width: 310px) {
  .offer-strip-inner { grid-template-columns: minmax(0,1fr); }
  .offer-strip-terms p { inset-inline: 0 auto; }
}
.pool-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem 1.4rem;
  margin-top: 1.2rem;
}
.pool-hero-actions .hero-quote-button {
  border: 1px solid #05758f;
  border-bottom: 3px solid #08617d;
  border-radius: .4rem;
  background: #56c6de;
  color: var(--navy);
  box-shadow: 0 3px 8px #062d5226;
}

.pool-hero-actions .hero-quote-button:hover {
  background: #73cee0;
}

.hero-plan-link {
  min-height: 44px;
  font-size: 1.0625rem;
}
.hero-plan-link span { margin-inline-start: .2em; }

.pool-hero-copy .cpo-credential {
  width: min(100%, 19rem);
  margin-top: 1.05rem;
}
.pool-hero-copy .cpo-plate {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr);
}
.pool-hero-copy .cpo-designation {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: .35rem;
  padding: .55rem .48rem;
}
.pool-hero-copy .cpo-designation strong { font-size: 1.9rem; }
.pool-hero-copy .cpo-designation > span { font-size: .875rem; }
.pool-hero-copy .cpo-issuer { padding: .3rem .4rem .3rem .8rem; }

@container (max-width: 16rem) {
  .pool-hero-copy .cpo-designation {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
  }
}

.home-plans,
.people-section,
.neighborhood-section,
.home-questions {
  padding-block: clamp(2.65rem, 5.7vw, 5.25rem);
}
.section.home-plans {
  padding-block: clamp(2.1rem, 4.4vw, 3.8rem);
  background: #f6fafb;
  border-top: 1px solid var(--line);
}

.home-plans-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .65rem 2rem;
  margin-bottom: clamp(1.1rem, 3vw, 1.85rem);
}

.home-plans-heading h2 {
  text-wrap: balance;
}

.home-plans-heading p {
  max-width: 40ch;
  margin: 0 0 .1rem;
  line-height: 1.46;
  color: var(--muted);
}

.home-plan-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: .35rem 2rem .35rem .35rem;
  overflow: hidden;
  background: linear-gradient(#062d52be, #062d52e0), #062d52 url("/assets/pool-offer-water-960.webp") center 44% / cover no-repeat;
}

.home-plan-option {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.home-plan-option + .home-plan-option {
  border-inline-start: 1px solid #8bacbd;
}

.home-plan-option header {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  justify-items: start;
  gap: .55rem;
  padding: clamp(1rem, 3.5vw, 2rem);
  min-height: 9rem;
  color: #fff;
  border-bottom: 4px solid var(--cyan);
}

.home-plan-option h3 {
  font: 700 clamp(1.65rem, 3.15vw, 2.45rem)/1.06 var(--display);
  overflow-wrap: anywhere;
}

.home-plan-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  color: #eaf9fe;
  gap: .12em .33em;
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.18;
}

.home-plan-price strong {
  color: #fff;
  font: 700 clamp(2.75rem, 4.8vw, 4.4rem)/.95 var(--display);
  letter-spacing: -.025em;
}

.home-plan-details {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(.85rem, 2.7vw, 1.4rem);
  padding: clamp(1.05rem, 3.5vw, 2rem);
  background: #fff;
}

.home-plan-option[data-plan="full-service"] .home-plan-details {
  background: #edf7fa;
}

.home-plan-details p {
  max-width: 48ch;
  margin: 0;
  line-height: 1.52;
}

.home-plan-details .button {
  max-width: 100%;
  margin-top: auto;
  min-height: 48px;
  white-space: normal;
  overflow-wrap: anywhere;
}

.home-plans-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .15rem 1.45rem;
  margin-top: .55rem;
}

.home-plans-foot p {
  max-width: 65ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.45;
}

@container contentSection (max-width: 43rem) {
  .home-plan-pair {
    grid-template-columns: minmax(0, 1fr);
    background-size: auto, 100% auto;
    background-repeat: no-repeat, repeat-y;
  }

  .home-plan-option + .home-plan-option { border-inline-start: 0; }
  .home-plan-option header { min-height: 0; }
}


.people-section { background: var(--ice); }
.people-grid {
  display: grid;
  grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr);
  gap: clamp(1.6rem, 5.5vw, 5.25rem);
  align-items: center;
}
.people-copy h2 { max-width: 13ch; }
.people-copy > p {
  max-width: 41ch;
  margin: .85rem 0 0;
}
.service-detail {
  max-width: 44ch;
  margin-top: 1.05rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.service-detail h3 { font-size: 1.27rem; font-weight: 700; }
.service-detail p {
  margin: .4rem 0 0;
  font-size: 1.125rem;
  line-height: 1.5;
}
.people-copy > .text-link { margin-top: .45rem; }
.people-owner img {
  width: 100%;
  aspect-ratio: 1.5;
  object-fit: cover;
  object-position: center;
  border-radius: .25rem 1.75rem .25rem .25rem;
}
.people-owner figcaption {
  margin-top: .58rem;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--muted);
}

.home-cleanups { padding-block: clamp(2.65rem, 5.7vw, 5.25rem); }
.cleanup-layout {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: stretch;
  overflow: hidden;
  border-radius: .25rem 1.75rem .25rem .25rem;
  background: var(--navy);
  color: white;
  --focus: white;
}
.cleanup-photo {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: 57% 50%;
}
.cleanup-content { padding: clamp(1.15rem, 4vw, 3.25rem); }
.cleanup-content h2 { font-size: clamp(2.55rem, 4.2vw, 3.9rem); }
.cleanup-content > p {
  margin: .65rem 0 .95rem;
  max-width: 40ch;
  color: #e1edf5;
  font-size: 1.125rem;
  line-height: 1.5;
}
.cleanup-choices {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #6e91aa;
}
.cleanup-choices li { border-bottom: 1px solid #6e91aa; }
.cleanup-choices a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  column-gap: .7rem;
  padding: .64rem .2rem;
  text-decoration: none;
}
.cleanup-choices a:focus-visible { outline-offset: -3px; }
.cleanup-choices a:hover .cleanup-choice-name,
.cleanup-choices a:focus-visible .cleanup-choice-name { text-decoration: underline; }
.cleanup-choice-name {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.2;
}
.cleanup-choice-price {
  font-size: 1rem;
  line-height: 1.25;
  color: #e1edf5;
  white-space: nowrap;
}
.cleanup-choice-price strong {
  margin-right: .14em;
  font: 700 1.72rem/1 var(--display);
  color: white;
}
.cleanup-choice-arrow {
  color: #99e6f8;
  font-size: 1.4rem;
  line-height: 1;
}
.cleanup-detail-link {
  margin-top: .45rem;
  font-size: 1.0625rem;
  color: #99e6f8;
}

.neighborhood-section { background: #edf7fb; }
.area-guide {
  display: grid;
  grid-template-columns: minmax(0, 1.26fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.55rem, 6.5vw, 6rem);
}
.area-guide p {
  margin: .65rem 0 .85rem;
  line-height: 1.45;
}
.area-guide-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(.8rem, 2.2vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.area-guide-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .4rem;
  min-height: 44px;
  padding-block: .45rem;
  border-bottom: 1px solid #aac5d4;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}
.area-guide-links a:hover,
.area-guide-links a:focus-visible { text-decoration: underline; }
.area-guide-links span { color: #176279; }
.area-guide-map {
  width: 100%;
  max-width: 32rem;
  height: auto;
  justify-self: end;
  border: 1px solid #a9c6d2;
  border-radius: .25rem 1.75rem .25rem .25rem;
}
.home-questions .questions-grid { gap: clamp(1.3rem, 6vw, 5rem); }
.home-questions h2 + a { margin-top: .45rem; }

@container poolHero (54rem < width <= 57rem) {
  .pool-hero-actions { flex-direction: column; align-items: flex-start; }
}

@container poolHero (max-width: 54rem) {
  .pool-hero-content {
    grid-row: 1;
    min-height: 0;
    padding-block: 1.65rem 1.55rem;
  }
  .pool-hero-copy { width: min(100%, 34rem); }
  .pool-hero h1 { font-size: clamp(2.45rem, 13.7cqi, 4.65rem); }
  .pool-hero-description { margin: .75rem 0 .95rem; }
  .pool-hero-actions { margin-top: .95rem; }
  .pool-hero-actions .button { min-height: 48px; padding: .65rem 1rem; font-size: 1.0625rem; }
  .pool-hero-art {
    grid-row: 2;
    position: relative;
    inset: auto;
    height: clamp(10.5rem, 45vw, 16rem);
    z-index: 0;
  }
  .pool-hero-image { object-position: 80% 49%; }
  .pool-hero-art::after { display: none; }
}

@container contentSection (max-width: 52rem) {
  .people-grid,
  .area-guide { grid-template-columns: minmax(0, 1fr); }
  .people-copy h2 { max-width: 18ch; }
  .people-owner { width: 100%; max-width: 39rem; }
  .area-guide-map { justify-self: start; }
}

@container contentSection (max-width: 46rem) {
  .cleanup-layout { grid-template-columns: minmax(0, 1fr); }
  .cleanup-photo { height: clamp(9.25rem, 35vw, 13rem); object-position: 50% 55%; }
  .cleanup-content { grid-row: 1; }
}

@container contentSection (max-width: 23rem) {
  .cleanup-choices a { grid-template-columns: minmax(0, 1fr) auto; }
  .cleanup-choice-price { grid-column: 1; }
  .cleanup-choice-arrow { grid-column: 2; grid-row: 1 / 3; }
  .area-guide-links { grid-template-columns: 1fr; }
}
