/* Clear — site styles
   Palette: ink #1C3F36 · cream #F6EBD8 · accent #14244D · seafoam #3E8F74
   Map fills: public #A9D4C4 · small systems #E4C56A · private wells #E07A62
   Fonts: Archivo (variable width + weight) and Yellowtail (script accent) */

:root {
  --navy: #1C3F36;
  --cream: #F6EBD8;
  --sun: #14244D;
  --blue: #3E8F74;
  --ink-2: #3D564C;
  --ink-3: #5A6E64;
  --paper: #FBF6EE;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    repeating-linear-gradient(0deg, transparent 0 8px, rgba(28, 63, 54, .045) 8px 9px),
    repeating-linear-gradient(90deg, transparent 0 8px, rgba(28, 63, 54, .045) 8px 9px);
  color: var(--navy);
  font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  font-stretch: 100%;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
}
a { color: inherit; }
option { color: var(--navy); background: #FFFFFF; }
[id] { scroll-margin-top: 16px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.utility-bar {
  position: relative;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 32px;
  padding: max(6px, env(safe-area-inset-top)) 22px 6px;
  background: #1C3F36;
  color: #F6EBD8;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .03em;
}
.utility-bar p { margin: 0; }
.utility-bar a {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  min-height: 27px;
  display: inline-flex;
  align-items: center;
}
.utility-dot { margin: 0 .45em; opacity: .55; }
@media (max-width: 720px) {
  .utility-bar { font-size: 12px; padding-left: 14px; padding-right: 14px; }
  .utility-extra { display: none; }
}

/* ---------- Type ---------- */
.clear-display { font-family: 'Archivo', sans-serif; font-weight: 900; font-stretch: 118%; text-transform: uppercase; letter-spacing: -0.01em; line-height: .9; }
.clear-script { font-family: 'Playball', cursive; font-weight: 400; font-stretch: 100%; text-transform: none; letter-spacing: 0; line-height: .85; }
.clear-caps { font-family: 'Archivo', sans-serif; font-weight: 800; font-stretch: 82%; text-transform: uppercase; letter-spacing: .05em; }

/* ---------- Mascots ---------- */
.nav-logo { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.nav-logo img { height: 62px; width: auto; display: block; background: var(--cream); border-radius: 14px; padding: 5px 10px 3px; box-shadow: 3px 3px 0 var(--navy); }
.sunday-mark {
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  height: 88px;
  text-decoration: none;
  line-height: 0;
}
.sunday-mark img {
  height: 88px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 0 rgba(16, 40, 34, .4));
}
.mascot-paw { width: 168px; height: auto; flex: 0 0 auto; }
.mascot-body { width: 230px; height: auto; display: block; margin-top: 28px; }

/* ---------- Hero ---------- */
.sunday-hero {
  min-height: calc(100vh - 44px);
  min-height: calc(100dvh - 44px);
  background-color: #2F6B58;
  background-image:
    linear-gradient(rgba(0, 0, 0, .15), rgba(0, 0, 0, .15)),
    url("assets/Vintage New England Countryside Engraving.png?v=2");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
}
.clear-sky {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #2F6B58;
}
.clear-sky-img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(0, 0, 0, .15), rgba(0, 0, 0, .15)),
    url("assets/Vintage New England Countryside Engraving.png?v=2");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
}
.sunday-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  height: 180px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(251, 246, 238, 0) 0%, rgba(251, 246, 238, .35) 42%, #FBF6EE 100%);
}
.sunday-hero-copy .clear-facts { color: #fff; text-shadow: 0 1px 10px rgba(16,40,34,.4); }
.clear-photo {
  background-color: #2F6B58;
  background-image:
    linear-gradient(180deg, rgba(20, 55, 46, .38), rgba(20, 55, 46, .5)),
    url(assets/cta-landscape.jpg?v=1);
  background-position: center center;
  background-size: cover;
}
.sunday-pennant {
  display: inline-flex;
  align-items: center;
  margin: 0 0 8px;
  background: var(--sun);
  color: #fff;
  font-size: 13px;
  letter-spacing: .16em;
  padding: 8px 22px 8px 14px;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%);
  transform: rotate(-2deg);
  box-shadow: 3px 3px 0 var(--navy);
}
.sunday-script {
  display: block;
  color: #fff !important;
  font-size: 1.28em;
  line-height: .78;
  margin: 0 0 .08em;
  padding: 0 .08em;
  transform: rotate(-7deg);
  text-shadow: 0.04em 0.055em 0 #14244D, 0.065em 0.085em 0 #1C3F36;
}
.sunday-hero-copy {
  position: relative;
  z-index: 5;
  flex: 1 1 auto;
  width: 100%;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: center !important;
  text-align: center;
  padding: 56px 24px 0 !important;
  box-sizing: border-box;
}
.sunday-hero h1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  color: #fff !important;
  font-size: clamp(48px, 5.4vw, 80px) !important;
  line-height: .82 !important;
  letter-spacing: -0.03em;
  max-width: none;
  text-shadow: 0 3px 0 rgba(28, 63, 54, .35);
}
.sunday-hero h1 span { display: block; }
.sunday-hero .hero-lines {
  margin: 18px 0 22px;
  max-width: 38rem;
  padding: 16px 22px 14px;
  border-radius: 20px;
  background: rgba(16, 40, 34, .82);
}
.sunday-hero .hero-lede {
  margin: 0;
  color: #FBF6EE;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
}
.sunday-hero .hero-promise {
  margin: 8px 0 0;
  font-size: 16px;
  font-weight: 600;
  color: #F6EBD8;
}
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 6;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #1C3F36;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: .16em;
}
.hero-scroll svg { display: block; }
.footer-logo { height: 108px; width: auto; display: block; }

/* ---------- Components ---------- */
.clear-sticker { border: 2px solid var(--navy); box-shadow: 5px 5px 0 var(--navy); }
.clear-press { transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s, background .2s; }
.clear-press:active { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--navy); }
.clear-btn { transition: transform .2s cubic-bezier(.34,1.56,.64,1), background .2s; }
.clear-btn:active { transform: translateY(1px); }
.clear-navlink { transition: opacity .2s; }
@media (hover: hover) {
  .clear-press:hover { transform: translate(-2px,-2px); }
  .clear-sticker.clear-press:hover { box-shadow: 7px 7px 0 var(--navy); }
  .clear-btn:hover { transform: translateY(-2px); }
  .clear-navlink:hover { opacity: .75; }
}
.clear-field { transition: border-color .2s, box-shadow .2s; }
.clear-field::placeholder { color: #7A8A82; }
.clear-field:focus { outline: none; box-shadow: 0 0 0 4px rgba(62,143,116,.28); }
.clear-dark-field:focus { outline: none; box-shadow: 0 0 0 4px rgba(210,59,59,.4); }
.clear-search:focus-within { box-shadow: 6px 6px 0 var(--navy), 0 0 0 5px rgba(210,59,59,.45) !important; }

.addr-field { position: relative; }
.addr-suggest {
  position: absolute;
  z-index: 40;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  margin: 0;
  padding: 6px;
  list-style: none;
  text-align: left;
  background: #FFFFFF;
  color: var(--navy);
  border: 2px solid var(--navy);
  border-radius: 18px;
  box-shadow: 5px 5px 0 var(--navy);
  max-height: 320px;
  overflow: auto;
}
.addr-suggest[hidden] { display: none; }
.addr-suggest button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  font: inherit;
  color: inherit;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  min-height: 48px;
}
.addr-suggest button[aria-selected="true"] { background: var(--sun); color: #fff; }
.addr-suggest button[aria-selected="true"] .addr-sub { color: #D5E0F2; }
@media (hover: hover) {
  .addr-suggest button:hover { background: var(--sun); color: #fff; }
  .addr-suggest button:hover .addr-sub { color: #D5E0F2; }
}
.addr-suggest .addr-main { display: block; font-weight: 800; font-size: 15px; line-height: 1.3; }
.addr-suggest .addr-sub { display: block; margin-top: 2px; font-weight: 600; font-size: 13px; line-height: 1.3; color: #3D564C; }
.addr-suggest .addr-credit { padding: 6px 12px 4px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #7A8A82; }

.systems-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
@media (max-width: 960px) {
  .systems-row { grid-template-columns: 1fr; }
  .systems-row .clear-featured { order: -1; }
}
.systems-row .clear-card { overflow: hidden; }
.systems-row .clear-featured { transform: none; }
.price-art,
.clear-featured .price-art {
  width: 100%;
  height: 210px;
  margin: 0;
  padding: 18px 12px 10px;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  box-sizing: border-box;
  background: #FBF6EE;
  border-radius: 18px;
  border: 2px solid rgba(28, 63, 54, .16);
}
.system-flag {
  align-self: flex-start;
  background: #14244D;
  color: #fff;
  font-size: 12px;
  letter-spacing: .08em;
  padding: 6px 12px;
  border-radius: 999px;
}
.card-fit { margin: 0; font-size: 15px; line-height: 1.45; font-weight: 700; color: #1C3F36; }
.card-fit .clear-caps { display: block; font-size: 12px; color: #3E8F74; margin-bottom: 4px; }
.clear-featured .card-fit { color: #F6EBD8; }
.clear-featured .card-fit .clear-caps { color: #C5D4EE; }
.offer-chip {
  margin: 0;
  background: #E07A62;
  color: #1C3F36;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  padding: 10px 12px;
  border-radius: 14px;
  border: 2px solid #1C3F36;
  box-shadow: 2px 2px 0 #1C3F36;
}
.clear-featured .offer-chip { background: #14244D; color: #fff; }

.problem { position: relative; padding: 96px 28px 72px; }
.problem-title {
  margin: 0 auto 72px;
  text-align: center;
  font-size: clamp(34px, 5vw, 68px);
  color: #1C3F36;
  text-shadow: 0.035em 0.035em 0 rgba(28, 63, 54, .22);
}
.problem-rows { width: 100%; max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 72px; }
.problem-point {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
.problem-figure {
  min-height: 240px;
  border-radius: 22px;
  background: var(--blue);
  box-shadow: 0 10px 24px rgba(28, 63, 54, .16);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 32px 28px;
}
.problem-stat {
  margin: 0;
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-stretch: 108%;
  font-size: clamp(52px, 6vw, 76px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: #F6EBD8;
}
.problem-caption {
  margin: 10px auto 0;
  max-width: 16em;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(246, 235, 216, .72);
}
.problem-copy { max-width: 420px; }
.problem-heading {
  margin: 0;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-stretch: 100%;
  text-transform: none;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.problem-body {
  margin: 14px 0 0;
  max-width: 38ch;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--ink-2);
}
.problem-em { color: #C23A2E; font-weight: 600; }
.cite-keep { white-space: nowrap; }
.problem-body sup {
  font-size: 0.65em;
  line-height: 0;
  vertical-align: super;
}
.problem-body sup a { color: inherit; text-decoration: none; }
.problem-body sup a:hover { text-decoration: underline; }
.problem-meter { display: none; }
@media (min-width: 1024px) {
  .problem-rows { gap: 128px; }
  .problem-point { grid-template-columns: 1.08fr .92fr; gap: 56px 88px; }
  .problem-figure { min-height: 360px; padding: 40px 36px; }
  .problem-point:nth-child(even) .problem-figure { order: 2; }
  .problem-point:nth-child(even) .problem-copy { order: 1; }
}
/* The section stays put while scrolling steps through the three points. */
.problem-step {
  --problem-steps: 3;
  --problem-step: 70vh;
  height: calc(100dvh + (var(--problem-steps) * var(--problem-step)));
  padding: 0;
}
.problem-step .problem-pin {
  position: sticky;
  top: 0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 28px 32px;
  overflow: hidden;
}
.problem-step .problem-title {
  margin-bottom: 18px;
  font-size: clamp(32px, 4.4vw, 60px);
}
.problem-step .problem-meter {
  display: block;
  width: min(180px, 42%);
  height: 5px;
  margin: 0 auto 28px;
  border-radius: 999px;
  background: rgba(28, 63, 54, .14);
}
.problem-step .problem-meter span {
  display: block;
  height: 100%;
  width: 33.33%;
  border-radius: inherit;
  background: #3E8F74;
  transition: width .45s cubic-bezier(.2, .8, .2, 1);
}
.problem-step .problem-rows { display: grid; gap: 0; }
.problem-step .problem-point {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(22px);
  pointer-events: none;
  transition: opacity .45s cubic-bezier(.2, .8, .2, 1), transform .45s cubic-bezier(.2, .8, .2, 1), visibility .45s;
}
.problem-step .problem-point.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}
.problem-step .problem-figure { min-height: min(280px, 40dvh); }
@media (min-width: 1024px) {
  .problem-step .problem-figure { min-height: min(360px, 46dvh); }
}
@media (max-width: 1023px) {
  .problem-rows { max-width: 680px; }
  .problem-figure { width: 100%; }
  .problem-copy { width: 100%; max-width: none; }
  .problem-body { max-width: 46ch; }
}
@media (max-width: 720px) {
  .problem-step { --problem-step: 52vh; }
  .problem-step .problem-pin { padding: 20px 16px 24px; }
  .problem-step .problem-figure { min-height: min(190px, 30dvh); padding: 24px 20px; }
  .problem-step .problem-stat { font-size: clamp(42px, 12vw, 64px); }
  .problem-heading { font-size: 26px; }
}
@media (max-height: 760px) {
  .problem-step .problem-pin { padding-top: 16px; padding-bottom: 16px; }
  .problem-step .problem-title { margin-bottom: 10px; font-size: clamp(28px, 4vw, 44px); }
  .problem-step .problem-meter { margin-bottom: 14px; }
  .problem-step .problem-figure { min-height: min(200px, 32dvh); }
  .problem-step .problem-point { gap: 18px; }
}
@media (max-height: 520px) {
  .problem-step .problem-figure { min-height: 0; padding: 16px 18px; }
  .problem-step .problem-stat { font-size: 36px; }
  .problem-step .problem-heading { font-size: 20px; }
  .problem-step .problem-body { font-size: 14px; margin-top: 8px; }
  .problem-step .problem-title { font-size: 26px; margin-bottom: 8px; }
  .problem-step .problem-meter { margin-bottom: 8px; }
}
@media (max-height: 520px) and (min-width: 700px) {
  .problem-rows { max-width: 1100px; }
  .problem-step .problem-point { grid-template-columns: 1fr 1fr; gap: 28px; }
  .problem-point:nth-child(even) .problem-figure { order: 2; }
  .problem-point:nth-child(even) .problem-copy { order: 1; }
}
.sources { padding: 72px 28px 110px; }
.sources-inner { max-width: 820px; margin: 0 auto; }
.sources h1 { margin: 12px 0 28px; font-size: clamp(40px, 6vw, 72px); }
.sources ol {
  margin: 0;
  padding-left: 1.4em;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 500;
  color: var(--ink-2);
}
.sources li { margin: 0 0 22px; padding: 4px 8px; scroll-margin-top: 24px; border-radius: 8px; }
.sources li:target { background: rgba(62, 143, 116, .14); }
.sources a { color: inherit; text-decoration-color: rgba(90, 110, 100, .45); overflow-wrap: anywhere; }
.sources a:hover { color: var(--navy); }

.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--cream); border-radius: 20px; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 16px 18px;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.3;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }
.faq-item summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 16px; }
.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sun);
  border: 2px solid var(--navy);
  box-shadow: 2px 2px 0 var(--navy);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 22px;
  line-height: 1;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin: 0; padding: 0 18px 18px; max-width: 68ch; font-size: 16px; line-height: 1.55; color: var(--ink-2); }

.badge { align-self: flex-start; font-size: 12px; padding: 7px 13px; border-radius: 999px; color: var(--navy); }
.panel-caution {
  align-self: flex-start;
  background: #E07A62;
  color: var(--navy);
  font-size: 13px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 2px solid #1C3F36;
  box-shadow: 2px 2px 0 #1C3F36;
}
.panel-checks-label { margin: 0; font-size: 12px; color: #C5D4EE; }
.panel-checks { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.panel-checks li {
  background: rgba(224,122,98,.18);
  border: 1.5px solid #E07A62;
  color: #F6EBD8;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 13px;
  font-weight: 800;
}

.panel-meter { display: flex; flex-direction: column; gap: 8px; }
.panel-meter-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.panel-meter-label { margin: 0; flex: 1; font-weight: 800; font-size: 18px; line-height: 1.25; color: #F6EBD8; }
.panel-meter-pct {
  margin: 0;
  flex: 0 0 auto;
  font-weight: 900;
  font-stretch: 118%;
  font-size: 34px;
  line-height: .85;
  letter-spacing: -0.03em;
  color: #C5D4EE;
}
.panel-meter-track {
  position: relative;
  height: 16px;
  margin: 8px 0 2px;
  border-radius: 999px;
  background: rgba(255,246,234,.1);
  border: 2px solid rgba(255,246,234,.35);
}
.panel-meter-clip { position: absolute; left: 11px; right: 11px; top: 0; bottom: 0; overflow: hidden; border-radius: 999px; }
.panel-meter-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: #8EAFDF;
  transition: width .45s cubic-bezier(.34,1.2,.64,1);
}
.panel-meter-limit {
  position: absolute;
  top: -6px;
  bottom: -6px;
  left: calc(11px + (100% - 22px) * 0.5);
  width: 3px;
  border-radius: 2px;
  background: #F6EBD8;
  transform: translateX(-50%);
}
.panel-meter-knob {
  position: absolute;
  top: 50%;
  left: 11px;
  width: 22px;
  height: 22px;
  margin-left: -11px;
  border-radius: 50%;
  background: #F6EBD8;
  border: 2px solid #1C3F36;
  box-shadow: 2px 2px 0 #14244D;
  transform: translateY(-50%);
  transition: left .45s cubic-bezier(.34,1.2,.64,1);
}
.panel-meter-scale {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(255,246,234,.55);
}
.panel-meter-scale span:nth-child(2) { color: #F6EBD8; }
.panel-meter-detail { margin: 0; font-size: 14px; line-height: 1.4; color: rgba(255,246,234,.78); }
.panel-meter.is-over .panel-meter-label,
.panel-meter.is-over .panel-meter-pct { color: #E07A62; }
.panel-meter.is-over .panel-meter-fill { background: #E07A62; }
.panel-meter.is-over .panel-meter-knob { box-shadow: 2px 2px 0 #E07A62; }
.panel-meter.is-empty .panel-meter-pct { color: rgba(255,246,234,.45); }
.panel-meter.is-empty .panel-meter-knob { opacity: 0; }

.clear-facts {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  column-gap: 14px;
  row-gap: 8px;
  width: min(860px, 100%);
  align-items: center;
}
.fact-left { justify-self: end; text-align: right; }
.fact-right { justify-self: start; text-align: left; }
.fact-star { color: #14244D; justify-self: center; line-height: 1; }
.fact-star-break { display: none; }
.chip { font: inherit; font-size: 15px; font-weight: 700; min-height: 44px; padding: 10px 18px; border-radius: 999px; cursor: pointer; border: 2px solid var(--navy); background: #FFFFFF; color: var(--navy); box-shadow: 2px 2px 0 var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); color: var(--cream); box-shadow: none; }

/* Filtration: the section stays put while scrolling steps through the cards */
.stage-scroll {
  --stage-steps: 4;
  --stage-step: 72vh;
  position: relative;
  height: calc(100dvh + (var(--stage-steps) * var(--stage-step)));
  background: var(--blue);
  color: var(--cream);
  padding: 0 !important;
}
.stage-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.stage-pin-inner { width: 100%; max-width: 1200px; margin: 0 auto; padding: 64px 20px 36px; }
.stage-wave { position: absolute; left: 0; right: 0; width: 100%; height: 44px; display: block; pointer-events: none; }
.stage-wave-top { top: -1px; }
.stage-wave-bottom { bottom: -1px; }

/* Filtration stage cards */
.stage-card { text-align: left; font: inherit; cursor: pointer; border-radius: 24px; padding: 26px; min-height: 250px; display: flex; flex-direction: column; color: var(--navy); background: var(--cream); opacity: .72; transition: background .35s, opacity .35s, transform .35s; }
.stage-card.is-active { background: var(--sun); opacity: 1; }
.stage-num { font-size: 15px; width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--navy); color: var(--navy); }
.stage-card.is-active .stage-num { background: var(--navy); color: var(--cream); }
.stage-name { display: block; font-size: 26px; line-height: 1; margin: 20px 0 10px; }
.stage-body { display: block; font-size: 15px; line-height: 1.5; color: #3D564C; }
.stage-tag { margin-top: auto; padding-top: 16px; font-size: 12px; color: var(--blue); }
.stage-card.is-active .stage-tag { color: #fff; }
.stage-card.is-active,
.stage-card.is-active .stage-body { color: #fff; }
.faq-item summary::after { color: #fff; }
li > span.clear-display { color: #fff; }
.panel-checks-label { color: #F6EBD8; }
.panel-meter-pct { color: #F6EBD8; }
.clear-featured .card-fit .clear-caps { color: #F6EBD8; }
.progress-fill { height: 100%; width: 25%; border-radius: 999px; background: var(--sun); transition: width .6s cubic-bezier(.34,1.4,.64,1); }

/* Map */
.clear-map .map-ctx path { fill: var(--cream); fill-opacity: .13; stroke: var(--cream); stroke-opacity: .3; stroke-width: 1; vector-effect: non-scaling-stroke; }
.clear-map .clear-t { cursor: pointer; stroke: var(--navy); stroke-opacity: .7; stroke-width: .8; vector-effect: non-scaling-stroke; transition: fill-opacity .15s; }
.clear-map .clear-t:hover { fill-opacity: .7; }
.map-zoom { transform-origin: 0 0; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.sel-halo, .sel-line { fill: none; stroke-linejoin: round; vector-effect: non-scaling-stroke; pointer-events: none; }
.sel-halo { stroke: var(--navy); stroke-width: 5.5; }
.sel-line { stroke: var(--cream); stroke-width: 2.5; }
.sel-label { position: absolute; transform: translate(-6px,-6px); display: flex; align-items: center; gap: 6px; pointer-events: none; transition: left .8s cubic-bezier(.2,.8,.2,1), top .8s cubic-bezier(.2,.8,.2,1); }
.hover-tip { position: absolute; transform: translate(-50%, calc(-100% - 12px)); padding: 8px 13px; border-radius: 12px; background: var(--cream); color: var(--navy); border: 2px solid var(--navy); box-shadow: 3px 3px 0 var(--navy); pointer-events: none; white-space: nowrap; }
.zoom-btn { width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--navy); }
.zoom-btn + .zoom-btn { border-top: 2px solid var(--navy); }

/* Entrance motion */
@keyframes clearRise { 0% { opacity: 0; transform: translateY(24px); } 100% { opacity: 1; transform: translateY(0); } }
.clear-rise { animation: clearRise .9s cubic-bezier(.2,.8,.2,1) both; }
.clear-rise2 { animation: clearRise .9s .12s cubic-bezier(.2,.8,.2,1) both; }
.clear-rise3 { animation: clearRise .9s .4s cubic-bezier(.2,.8,.2,1) both; }
.sunday-in { animation: clearRise .9s cubic-bezier(.2,.8,.2,1) both; }
.sunday-in-2 { animation: clearRise .9s .14s cubic-bezier(.2,.8,.2,1) both; }
.sunday-in-3 { animation: clearRise .9s .32s cubic-bezier(.2,.8,.2,1) both; }

/* Mobile nav. Links start wrapping into the logo below this width. */
.clear-menubtn { display: none; align-items: center; justify-content: center; }
.clear-menusheet { display: none; flex-direction: column; }
@media (max-width: 980px) {
  .clear-navlinks { display: none !important; }
  .clear-menubtn { display: inline-flex !important; }
  .clear-menusheet { display: flex !important; }
  .clear-navbook { display: none !important; }
}

/* ---------- Phones ---------- */
@media (max-width: 720px) {
  .clear-navlinks { display: none !important; }
  .clear-menubtn { display: inline-flex !important; }
  .clear-menusheet { display: flex !important; }
  .clear-navbook { display: none !important; }
  .clear-hero { min-height: 0 !important; }
  .sunday-hero { min-height: calc(100dvh - 44px) !important; }
  .sunday-hero-copy { padding: 28px 18px 48px !important; justify-content: center !important; align-items: center !important; }
  .clear-sky-img { background-position: center bottom; }
  .nav-logo img { height: 48px; padding: 4px 8px 2px; }
  .sunday-mark, .sunday-mark img { height: 58px; }
  .footer-logo { height: 76px; }
  .mascot-paw { width: 120px; }
  .mascot-body { width: 160px; margin-left: auto; margin-right: auto; margin-top: 18px; }

  h2.clear-display { font-size: clamp(32px, 9vw, 42px) !important; line-height: 1.05 !important; }
  h2 .clear-script, .book-title .clear-script { display: block; width: max-content; line-height: 1; margin: .16em 0 .22em; padding: 0; }
  #pricing h2 .clear-script, .clear-cta .clear-script { margin-left: auto; margin-right: auto; }

  .clear-hero h1 {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    font-size: 46px !important;
    line-height: .9 !important;
    gap: 0;
  }
  .clear-hero h1 .clear-script {
    font-size: .68em !important;
    line-height: 1;
    margin: 6px 0 8px;
    padding: 0;
  }
  .clear-hero h1 .sunday-script {
    font-size: 1.2em !important;
    line-height: .8;
    margin: 0 0 8px;
    display: block;
  }
  .sunday-hero h1 { font-size: 40px !important; }
  .sunday-hero .hero-lines { margin: 14px 0 16px; padding: 14px 16px 12px; }
  .sunday-hero .hero-lede { font-size: 16px; }
  .sunday-hero .hero-promise { font-size: 15px; }
  .clear-rise2 { font-size: 16px !important; margin: 18px 0 20px !important; text-shadow: 0 1px 12px rgba(16, 40, 34, .65), 0 0 18px rgba(16, 40, 34, .35) !important; }
  .clear-hero-inner { padding: 12px 16px 128px !important; }
  .sunday-hero h1 { max-width: none !important; margin-left: auto; margin-right: auto; }
  .sunday-hero .clear-rise2 { margin-left: auto !important; margin-right: auto !important; }
  .clear-search { border-radius: 24px !important; padding: 6px !important; }
  .clear-search input { flex: 1 1 100% !important; padding: 12px 14px !important; font-size: 16px !important; }
  .clear-search button,
  .clear-search > a.clear-btn { flex: 1 1 100% !important; justify-content: center; }
  .clear-facts { grid-template-columns: 1fr; justify-items: center; font-size: 13px !important; gap: 6px !important; margin-top: 18px !important; }
  .clear-facts .fact-left,
  .clear-facts .fact-right { justify-self: center; text-align: center; }
  .fact-star-break { display: block; }
  .addr-suggest { max-height: min(280px, 42vh); }

  .clear-sec { padding-left: 16px !important; padding-right: 16px !important; padding-top: 48px !important; padding-bottom: 48px !important; }
  .clear-mapcard { padding: 8px !important; border-radius: 22px !important; gap: 8px !important; }
  .clear-panel { order: -1; padding: 20px !important; }
  .clear-mapcol { order: 0; padding: 4px !important; }
  .clear-legend { gap: 6px !important; }
  .clear-legend > span { font-size: 11px !important; padding: 5px 9px !important; }
  .map-zooms { left: 8px !important; right: auto !important; top: 8px !important; }
  .map-sound { font-size: 16px !important; left: 12px !important; bottom: 6px !important; }
  #panelHeadline { font-size: 22px !important; }
  .panel-meter-pct { font-size: 28px; }
  .panel-meter-label { font-size: 16px; }
  .clear-panel a.clear-btn { font-size: 15px !important; }

  .stage-scroll.clear-sec { padding: 0 !important; }
  .stage-scroll { --stage-step: 36vh; }
  .stage-pin { align-items: center; }
  .stage-pin-inner { padding: max(28px, env(safe-area-inset-top)) 18px 24px; }
  .stage-pin .mascot-filtration { display: block !important; margin: 0 0 14px !important; text-align: left; }
  .stage-pin .mascot-filtration > div { text-align: left !important; }
  .stage-pin h2 { font-size: 34px !important; line-height: .92 !important; margin: 4px 0 8px !important; max-width: 11em; }
  .stage-pin h2 .clear-script { display: inline !important; width: auto; font-size: .78em !important; margin: 0 .08em !important; line-height: 1; vertical-align: baseline; }
  .stage-pin p { font-size: 15px !important; line-height: 1.4 !important; max-width: 28em; }
  .stage-pin .mascot-paw { display: none; }
  .stage-meter { height: 6px !important; margin-bottom: 14px !important; padding: 0 !important; border: 0 !important; background: rgba(255,246,234,.28) !important; }
  .stage-pin .clear-rail {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    overflow: visible;
    margin: 0;
    padding: 2px 2px 8px 0 !important;
    scroll-snap-type: none;
  }
  .stage-pin .stage-card {
    grid-area: 1 / 1;
    width: 100%;
    min-height: 0;
    padding: 16px 16px 14px;
    border-radius: 20px;
    box-shadow: 3px 3px 0 var(--navy);
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 12px;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity .28s ease, transform .28s ease, background .28s ease, visibility .28s;
  }
  .stage-pin .stage-card.is-active {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
  .stage-pin .stage-num { width: 34px; height: 34px; font-size: 13px; }
  .stage-pin .stage-name { grid-column: 2; margin: 0; font-size: 22px; line-height: 1; }
  .stage-pin .stage-body,
  .stage-pin .stage-tag { grid-column: 1 / -1; }
  .stage-pin .stage-body { margin-top: 10px; font-size: 15px; }
  .stage-pin .stage-tag { padding-top: 12px; }

  .systems-row { grid-template-columns: 1fr; }
  .systems-row .clear-featured { order: -1; transform: none; }
  .price-art, .clear-featured .price-art { height: 180px; margin-top: 0; padding-top: 14px; }
  .clear-card { padding: 22px !important; }
  .faq-item summary { font-size: 16px; min-height: 56px; }
  .clear-formcard { padding: 18px !important; }
  input, select, textarea { font-size: 16px; }
  .clear-cta { padding: 40px 16px !important; border-radius: 26px !important; }
  .clear-cta h2 { font-size: 36px !important; }
  .clear-cta .clear-script { font-size: 44px !important; }
  .clear-cta-row { flex-direction: column; align-items: stretch; }
  .clear-cta-row a { width: 100%; justify-content: center; box-sizing: border-box; }
  .clear-foot { padding: 40px 20px calc(20px + env(safe-area-inset-bottom)) !important; }
  .clear-foot a { min-height: 44px; display: inline-flex; align-items: center; }
  .clear-foot .clear-display { font-size: 36px !important; }
}

@media (max-width: 720px) and (max-height: 740px) {
  .stage-pin-inner { padding-top: 18px; padding-bottom: 16px; }
  .stage-pin h2 { font-size: 30px !important; }
  .stage-pin .mascot-filtration { margin-bottom: 10px !important; }
}

@media (max-width: 720px) and (prefers-reduced-motion: reduce) {
  .stage-pin .stage-card {
    grid-area: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    margin-bottom: 12px;
  }
  .stage-pin .clear-rail { display: flex !important; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .clear-rise, .clear-rise2, .clear-rise3, .sunday-in, .sunday-in-2, .sunday-in-3 { animation: none; }
  .clear-press, .clear-btn, .map-zoom, .sel-label, .progress-fill, .stage-card, .panel-meter-fill, .panel-meter-knob, .problem-step .problem-point, .problem-step .problem-meter span { transition: none; }
  .problem-step { height: auto !important; padding: 96px 28px 72px; }
  .problem-step .problem-pin { position: relative; height: auto; overflow: visible; display: block; padding: 0; }
  .problem-step .problem-title { margin-bottom: 72px; font-size: clamp(34px, 5vw, 68px); }
  .problem-step .problem-meter { display: none; }
  .problem-step .problem-rows { display: flex; flex-direction: column; gap: 72px; }
  .problem-step .problem-point { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
  .problem-step .problem-figure { min-height: 240px; }
  .stage-scroll { height: auto !important; }
  .stage-pin { position: relative; height: auto; overflow: visible; }
  .stage-pin-inner { padding-top: 88px; padding-bottom: 88px; }
}
@media (prefers-reduced-motion: reduce) and (min-width: 1024px) {
  .problem-step .problem-rows { gap: 128px; }
  .problem-step .problem-figure { min-height: 360px; padding: 40px 36px; }
}

/* ---------- Water plan ---------- */
.plan-page { max-width: 820px; margin: 0 auto; padding: 56px 20px 88px; }
.plan-kicker { font-size: 14px; color: var(--blue); margin: 0 0 10px; }
.plan-page h1 { font-size: clamp(40px, 6vw, 68px); margin: 0 0 12px; line-height: .92; }
.plan-lead { margin: 0; max-width: 38rem; font-size: 18px; line-height: 1.5; color: var(--ink-2); font-weight: 600; }
.plan-build {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  width: min(560px, 100%); margin: 8px auto 0; padding: 34px 28px 26px;
  background: #fff; border-radius: 28px;
  border: 1px solid rgba(28, 63, 54, .06);
  box-shadow: 0 22px 50px rgba(28, 63, 54, .08);
  animation: planIn .5s cubic-bezier(.22, 1, .36, 1);
}
.plan-build h1 { font-size: clamp(28px, 4vw, 44px); margin: 0; }
.plan-ring {
  position: relative;
  width: 196px;
  height: 196px;
  margin: 26px 0 6px;
}
.plan-ring::before {
  content: "";
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(62, 143, 116, .2), rgba(62, 143, 116, 0) 68%);
  animation: planPulse 2.2s ease-in-out infinite;
}
.plan-ring.is-complete::before,
.plan-ring.is-complete .plan-ring-spin { animation: none; opacity: 0; transition: opacity .35s; }
.plan-ring svg { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; }
.plan-ring > svg:not(.plan-ring-spin) { transform: rotate(-90deg); }
.plan-ring > .plan-ring-spin {
  inset: -10px;
  z-index: 0;
  width: auto;
  height: auto;
  animation: planSpin 1.35s linear infinite;
}
.plan-ring-track,
.plan-ring-value,
.plan-ring-spin-arc { fill: none; }
.plan-ring-track { stroke: rgba(28, 63, 54, .1); stroke-width: 10; }
.plan-ring-value {
  stroke: url(#planRingGrad);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 326.73;
  stroke-dashoffset: 326.73;
}
.plan-ring-spin-arc {
  stroke: #14244D;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 48 280;
}
.plan-ring-rotor {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.plan-ring-knob {
  position: absolute;
  left: 50%;
  top: 13px;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  background: #14244D;
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px #3E8F74;
}
.plan-ring-count {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  font-weight: 800;
  font-size: 52px;
  letter-spacing: -0.06em;
  color: #1C3F36;
  font-variant-numeric: tabular-nums;
}
.plan-ring-unit { font-size: 22px; letter-spacing: 0; color: #3E8F74; }
.plan-build-status {
  margin: 16px 0 0;
  min-height: 1.45em;
  max-width: 28rem;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 700;
  color: #1C3F36;
}
.plan-bar {
  width: min(440px, 100%);
  height: 10px;
  margin: 18px 0 0;
  border-radius: 999px;
  background: rgba(28, 63, 54, .08);
  overflow: hidden;
}
.plan-bar span {
  position: relative;
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #3E8F74 0%, #1C3F36 55%, #14244D 100%);
  transform: scaleX(0);
  transform-origin: left center;
  overflow: hidden;
}
.plan-bar span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, .65) 48%, transparent 72%);
  transform: translateX(-120%);
  animation: planSheen 1.5s ease-in-out infinite;
}
.plan-steps { list-style: none; margin: 22px 0 0; padding: 0; width: 100%; display: flex; flex-direction: column; gap: 8px; text-align: left; }
.plan-steps li {
  display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 14px;
  border-radius: 16px; font-size: 15px; font-weight: 700; color: var(--ink-3);
  background: #FBF6EE; border: 1.5px solid transparent;
  transition: background .3s, color .3s, border-color .3s, transform .3s;
}
.plan-steps li.is-active {
  background: #fff; color: #1C3F36; border-color: #3E8F74;
  box-shadow: 0 8px 22px rgba(20, 36, 77, .06);
}
.plan-steps li.is-done { color: #1C3F36; background: #F6EBD8; }
.plan-mark {
  width: 28px; height: 28px; flex: 0 0 auto; border-radius: 50%;
  border: 2px solid rgba(28, 63, 54, .18); display: grid; place-items: center;
  font-size: 13px; font-weight: 800; color: var(--ink-3); background: #fff;
}
.plan-steps li.is-active .plan-mark {
  border-color: #3E8F74; color: #3E8F74;
  box-shadow: 0 0 0 5px rgba(62, 143, 116, .16);
}
.plan-steps li.is-done .plan-mark {
  background: #14244D; border-color: #14244D; color: transparent; font-size: 0;
  box-shadow: none; animation: none;
}
.plan-steps li.is-done .plan-mark::after { content: "✓"; color: #fff; font-size: 14px; animation: planPop .35s cubic-bezier(.22, 1, .36, 1); }
@keyframes planSpin { to { transform: rotate(360deg); } }
@keyframes planPulse { 50% { transform: scale(1.05); opacity: .7; } }
@keyframes planIn { from { opacity: 0; transform: translateY(14px); } }
@keyframes planSheen { to { transform: translateX(120%); } }
@keyframes planPop { from { transform: scale(.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .plan-build, .plan-ring::before, .plan-ring-spin, .plan-bar span::after,
  .plan-steps li.is-done .plan-mark::after { animation: none; }
  .plan-ring.is-complete::before, .plan-ring.is-complete .plan-ring-spin, .plan-steps li { transition: none; }
}
.plan-home { margin: 18px 0 0; font-size: 16px; font-weight: 700; color: var(--navy); }
.plan-badge {
  display: inline-flex; align-items: center; margin-top: 14px;
  background: #14244D; color: #fff; border-radius: 999px;
  padding: 7px 14px; font-size: 13px;
}
.plan-block { margin-top: 36px; }
.plan-block h2 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 8px; }
.plan-note { margin: 0 0 16px; font-size: 16px; line-height: 1.5; color: var(--ink-2); font-weight: 600; }
.plan-findings { display: flex; flex-direction: column; gap: 12px; }
.plan-finding { background: var(--cream); border-radius: 22px; padding: 18px 20px; }
.plan-finding h3 { margin: 0 0 6px; font-size: 18px; letter-spacing: -0.02em; }
.plan-level { margin: 0 0 6px; font-weight: 800; color: #14244D; }
.plan-finding p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--ink-2); font-weight: 600; }
.plan-card {
  margin-top: 16px; background: var(--navy); color: var(--cream);
  border-radius: 26px; padding: 28px; display: flex; gap: 22px; align-items: center;
  box-shadow: 5px 5px 0 #14244D, 5px 5px 0 2px var(--navy);
}
.plan-card img { width: 140px; height: 150px; object-fit: contain; flex: 0 0 auto; background: var(--cream); border-radius: 18px; }
.plan-card h2 { color: #fff; margin: 0 0 8px; font-size: clamp(32px, 4vw, 44px); }
.plan-card p { margin: 0 0 16px; font-size: 16px; line-height: 1.45; font-weight: 600; }
.plan-card a {
  display: inline-flex; align-items: center; justify-content: center;
  background: #14244D; color: #fff; text-decoration: none;
  border-radius: 999px; min-height: 52px; padding: 0 22px; font-size: 16px;
}
.plan-foot { margin: 18px 0 0; font-size: 14px; line-height: 1.5; color: var(--ink-3); font-weight: 600; }
.plan-foot a { color: var(--navy); }
.plan-miss { max-width: 520px; }
.plan-miss form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.plan-miss select {
  flex: 1 1 220px; min-height: 52px; border-radius: 999px; border: 2px solid var(--navy);
  background: #fff; color: var(--navy); font: inherit; font-weight: 700; padding: 0 18px;
}
.plan-miss button {
  border: 0; cursor: pointer; background: #14244D; color: #fff; border-radius: 999px;
  min-height: 52px; padding: 0 22px; font-size: 16px;
}
@media (max-width: 720px) {
  .plan-page { padding-top: 32px; }
  .plan-card { flex-direction: column; align-items: stretch; }
  .plan-card img { width: 100%; height: 180px; }
  .plan-card a { width: 100%; }
}

/* Keep last so it beats the display rules above */
[hidden] { display: none !important; }
