:root {
  --bg: #070B16;
  --card: #0E1528;
  --line: #1A2440;
  --line-2: #26345A;
  --line-3: #3A4B75;
  --muted: #9FB4CF;
  --body: #B7C6DB;
  --accent: #8FB8FF;
  --blue: #1470AF;
  --red: #C0392B;
  --gold: #F5B301;
  --warn: #FFD27A;
  --hdr: 60px;
  --gutter: 18px;
  --sans: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Roboto Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--hdr); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: #FFFFFF; font-family: var(--sans); overflow-x: clip; }
a { color: var(--accent); }
a:hover { color: #FFFFFF; }
img { max-width: 100%; }
p, h1, h2, h3, h4 { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.gold { color: var(--gold); }
.muted { color: var(--muted); }
.normal { font-weight: 400; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 600; border-radius: 300px; border: 0; cursor: pointer; color: #FFFFFF; transition: filter .15s, background-color .15s; }
.btn:hover { color: #FFFFFF; filter: brightness(1.1); }
.btn-red { background: var(--red); font-size: 14px; padding: 11px 18px; }
.btn-blue { background: var(--blue); min-height: 52px; padding: 0 24px; font-size: 16px; }
.btn-outline { border: 1px solid var(--line-3); min-height: 52px; font-size: 16px; }
.btn-ghost { border: 1px solid var(--line-3); min-height: 52px; padding: 0 24px; font-size: 16px; margin-top: 22px; }
.btn-block { display: flex; width: 100%; min-height: 56px; font-size: 17px; font-weight: 700; margin-top: 18px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(7,11,22,0.9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-row { height: var(--hdr); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-right: 12px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #FFFFFF; font-weight: 800; font-size: 24px; letter-spacing: -0.04em; }
/* The navy drop disappears on the dark page, so the logo sits on a white tile like its original artwork */
.logo-mark, .footer-logo { display: block; width: auto; box-sizing: content-box; background: #FFFFFF; }
.logo-mark { height: 36px; padding: 4px 9px; border-radius: 10px; }
.footer-logo { height: 104px; padding: 14px 20px; border-radius: 18px; }
.header-nav { display: none; }

/* Intro */
.intro { padding: 32px 0 8px; background: radial-gradient(120% 90% at 50% 0%, #1B2A4A 0%, #0D1428 50%, var(--bg) 85%); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.intro h1 { margin-top: 14px; font-weight: 800; font-size: clamp(56px, 17.5vw, 68px); line-height: 0.88; letter-spacing: -0.06em; padding-bottom: 0.06em; background: linear-gradient(100deg, #FFFFFF 10%, #CFE0FF 45%, #8FB8FF 75%, #F5B301 110%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { margin-top: 18px; font-size: 17px; line-height: 1.5; color: var(--body); max-width: 34em; }

/* Drop runway: the stage sticks while the runway scrolls past */
.drop-runway { position: relative; height: 1240px; }
.drop-stage { position: sticky; top: var(--hdr); height: 560px; overflow: hidden; }
.faucet { position: absolute; left: 50%; top: 0; margin-left: -60px; }
.scroll-hint { position: absolute; left: 0; right: 0; top: 96px; text-align: center; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--muted); }
.ripple { position: absolute; left: 50%; top: 318px; border: 1.5px solid var(--accent); border-radius: 50%; opacity: 0; pointer-events: none; }
.drop { position: absolute; z-index: 2; left: 50%; top: 62px; width: 40px; height: 40px; margin: -20px 0 0 -20px; overflow: hidden; display: flex; align-items: center; justify-content: center; text-decoration: none; color: #FFFFFF; background: linear-gradient(135deg, #E3EEFF 0%, #8FB8FF 45%, #1470AF 100%); border-radius: 0 20px 20px 20px; transform: rotate(45deg); will-change: transform, width, height, top; }
.drop:hover { color: #FFFFFF; }
.drop.is-cta { box-shadow: 0 10px 36px rgba(20,112,175,0.55), 0 0 0 1px #8FB8FF inset; }
.drop.is-cta:hover .drop-solid { background: #1A80C6; }
.drop-solid { position: absolute; inset: 0; background: var(--blue); opacity: 0; }
.drop-shine { position: absolute; left: 22%; top: 30%; width: 18%; height: 34%; border-radius: 50%; background: #FFFFFF; opacity: 0.5; transform: rotate(-45deg); }
.drop-text { position: relative; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; opacity: 0; }
.drop-caption { position: absolute; left: 0; right: 0; top: 344px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; color: var(--muted); opacity: 0; }
.drop-caption img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; border: 1.5px solid var(--accent); }
.trust { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 28px; max-width: 720px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding-top: 18px; border-top: 1px solid var(--line); text-align: center; opacity: 0; }
.trust-num { font-weight: 800; font-size: 26px; letter-spacing: -0.04em; }
.trust-label { margin-top: 2px; font-size: 12px; color: var(--muted); }

/* Moving water band. Tiles repeat every 130/195px; the layers are 390px
   wider than the viewport so a translate of (offset mod 390) loops seamlessly. */
.waves { --k: 1; position: relative; height: calc(130px * var(--k)); overflow: hidden; background: var(--bg); }
.wave { position: absolute; left: 0; top: 0; width: calc(100% + 390px * var(--k)); height: 100%; background-repeat: repeat-x; will-change: transform; }
.wave-back { opacity: 0.45; background-size: calc(130px * var(--k)) 100%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='130' height='130' viewBox='0 0 130 130' preserveAspectRatio='none'%3E%3Cpath d='M0 52 Q32.5 30 65 52 T130 52 V130 H0 Z' fill='%231470AF'/%3E%3C/svg%3E"); }
.wave-mid { opacity: 0.8; background-size: calc(195px * var(--k)) 100%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='195' height='130' viewBox='0 0 195 130' preserveAspectRatio='none'%3E%3Cpath d='M0 66 Q48.75 48 97.5 66 T195 66 V130 H0 Z' fill='%231B4E86'/%3E%3C/svg%3E"); }
.wave-front { box-shadow: 0 12px 0 #0B1A33; /* covers the gap when it bobs up */ background-size: calc(130px * var(--k)) 100%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='130' height='130' viewBox='0 0 130 130' preserveAspectRatio='none'%3E%3Cpath d='M0 80 Q32.5 64 65 80 T130 80 V130 H0 Z' fill='%230B1A33'/%3E%3C/svg%3E"); }
.bubble { position: absolute; bottom: 4px; border-radius: 50%; border: 1px solid var(--accent); opacity: 0; will-change: transform; }

/* Sections */
.section { padding: 44px 0; border-top: 1px solid var(--line); }
.report { border-top: 0; padding-top: 12px; background: linear-gradient(180deg, #0B1A33 0%, #08142A 100%); }
.step { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--gold); }
h2 { margin-top: 6px; font-weight: 800; font-size: 44px; line-height: 0.92; letter-spacing: -0.05em; }
.sub { margin: 12px 0 16px; font-size: 16px; line-height: 1.5; color: var(--body); }
.fine { margin-top: 12px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.big-head { margin-bottom: 16px; font-weight: 800; font-size: 40px; line-height: 0.92; letter-spacing: -0.05em; }
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }

/* Chips / toggles */
.chips { display: flex; flex-wrap: wrap; gap: 8px 6px; }
.chip, .size { flex: none; min-height: 44px; padding: 0 15px; border-radius: 300px; cursor: pointer; white-space: nowrap; font-weight: 600; font-size: 15px; background: transparent; color: #FFFFFF; border: 1px solid var(--line-3); transition: background-color .15s, color .15s, border-color .15s; }
.chip:hover, .size:hover { border-color: var(--accent); }
a.chip { display: inline-flex; align-items: center; text-decoration: none; }
a.chip:hover { color: #FFFFFF; }
a.chip[aria-current="page"] { background: #FFFFFF; color: var(--bg); border-color: #FFFFFF; }
.report.city-report { padding-top: 32px; }
.city-title { margin-top: 6px; font-weight: 800; font-size: 44px; line-height: 0.92; letter-spacing: -0.05em; }
.chip[aria-pressed="true"], .size[aria-pressed="true"] { background: #FFFFFF; color: var(--bg); border-color: #FFFFFF; }

/* Report card */
.report-card { margin-top: 14px; border: 1px solid var(--line-2); border-radius: 20px; background: rgba(7,11,22,0.55); overflow: hidden; }
.report-head { padding: 10px 18px; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
.report-body { padding: 18px; }
.report-city { font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.report-range { margin-top: 6px; display: flex; align-items: flex-end; gap: 10px; }
.range { font-weight: 800; font-size: 92px; line-height: 0.85; letter-spacing: -0.06em; color: var(--accent); }
.range-unit { font-size: 13px; line-height: 1.3; color: var(--muted); padding-bottom: 8px; }
.meter { margin-top: 18px; height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.meter-fill { height: 100%; width: 48%; border-radius: 4px; background: linear-gradient(90deg, #8FB8FF, #F5B301, #C0392B); transition: width .4s ease; }
.meter-scale { display: flex; justify-content: space-between; margin-top: 6px; font-family: var(--mono); font-size: 10px; color: var(--muted); }
.report-dl { margin: 16px 0 0; font-size: 14px; }
.report-dl div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.report-dl dt { color: var(--muted); }
.report-dl dd { margin: 0; font-weight: 600; text-align: right; }
.report-dl dd.warn { color: var(--warn); }
.pfas-note { margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--warn); }
.pfas-note[hidden] { display: none; }

/* "Learn the science" button under the PFAS glossary entry: a play drop like the hero's */
.science-btn { margin-top: 10px; width: 100%; min-height: 76px; display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 12px; border-radius: 18px; cursor: pointer; background: var(--card); border: 1px solid var(--line-2); color: #FFFFFF; text-align: left; transition: background-color .15s, border-color .15s; }
.science-btn:hover { background: #0E1F3D; border-color: var(--accent); }
.science-icon { position: relative; flex: none; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; }
.science-icon::before { content: ""; position: absolute; left: 9px; top: 11px; width: 34px; height: 34px; background: linear-gradient(135deg, #E3EEFF 0%, #8FB8FF 45%, #1470AF 100%); border-radius: 0 17px 17px 17px; transform: rotate(45deg); }
.science-icon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--accent); opacity: 0; animation: science-ping 2.6s ease-out infinite; }
.science-icon svg { position: relative; width: 16px; height: 16px; margin: 8px 0 0 2px; fill: #FFFFFF; }
@keyframes science-ping { 0% { transform: scale(0.7); opacity: 0.8; } 70%, 100% { transform: scale(1.3); opacity: 0; } }
.science-copy { flex: 1; min-width: 0; }
.science-label { display: block; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.science-sub { display: block; margin-top: 2px; font-size: 14px; line-height: 1.35; color: var(--muted); }
.science-time { flex: none; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--accent); }

/* Explainer modal */
.science-modal { width: min(960px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--line-2); border-radius: 20px; background: var(--card); color: #FFFFFF; overflow: auto; }
.science-modal::backdrop { background: rgba(7,11,22,0.84); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.science-modal[open] { animation: science-in .22s ease-out; }
@keyframes science-in { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
.science-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 14px 14px 18px; border-bottom: 1px solid var(--line); }
.science-title { margin-top: 4px; font-weight: 800; font-size: 22px; line-height: 1.1; letter-spacing: -0.03em; }
.science-close { flex: none; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; background: transparent; color: #FFFFFF; border: 1.5px solid var(--line-3); transition: border-color .15s; }
.science-close:hover { border-color: var(--accent); }
.science-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.science-modal video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000000; }
.science-foot { padding: 14px 18px 18px; font-size: 14px; line-height: 1.55; color: var(--body); }
html.modal-open { overflow: hidden; }

/* Glossary under the report */
.glossary { margin: 14px 0 0; display: grid; gap: 10px; }
.glossary div { padding: 14px 16px; border-radius: 14px; background: rgba(143,184,255,0.06); border: 1px solid var(--line); }
.glossary dt { font-weight: 700; font-size: 15px; color: var(--accent); }
.glossary dd { margin: 4px 0 0; font-size: 14px; line-height: 1.55; color: var(--body); }

/* Fair questions */
.faq { border-top: 1px solid var(--line-2); margin-top: 8px; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 16px 0; font-weight: 700; font-size: 18px; line-height: 1.3; letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line-3); background: linear-gradient(var(--accent), var(--accent)) center / 12px 2px no-repeat, linear-gradient(var(--accent), var(--accent)) center / 2px 12px no-repeat; transition: transform .2s, background-color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq-a { padding: 0 44px 20px 0; }
.faq-a p { font-size: 15px; line-height: 1.6; color: var(--body); }

/* Goals */
.goals { display: flex; flex-direction: column; gap: 8px; }
.goal { width: 100%; min-height: 66px; display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 18px; cursor: pointer; background: var(--card); border: 1px solid var(--line-2); color: #FFFFFF; text-align: left; transition: background-color .15s, border-color .15s; }
.goal:hover { border-color: var(--line-3); }
.goal[aria-pressed="true"] { background: #0E1F3D; border: 2px solid var(--accent); padding: 9px 13px 9px 9px; }
.goal svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.goal-mark { flex: none; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #13213F; color: var(--accent); transition: background-color .15s, color .15s; }
.goal-mark svg { width: 24px; height: 24px; }
.goal[aria-pressed="true"] .goal-mark { background: var(--blue); color: #FFFFFF; }
.goal-copy { flex: 1; min-width: 0; }
.goal-label { display: block; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.goal-sub { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }
.goal-check { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line-3); color: var(--muted); display: flex; align-items: center; justify-content: center; transition: background-color .15s, border-color .15s; }
.goal-check svg { width: 16px; height: 16px; stroke-width: 2.4; }
.goal-check .tick { display: none; }
.goal[aria-pressed="true"] .goal-check { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.goal[aria-pressed="true"] .goal-check .tick { display: inline; }
.goal[aria-pressed="true"] .goal-check .plus { display: none; }
.pick-hint { margin-bottom: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.pick-hint span { color: var(--accent); }
.mini-head { margin: 24px 0 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.sizes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.size { min-height: 48px; padding: 0; font-family: var(--mono); }

/* Match */
.match { background: radial-gradient(100% 60% at 100% 0%, #13213F 0%, var(--bg) 70%); }
.for-line { margin-top: 14px; font-size: 14px; color: var(--muted); }
.rec-name { margin-top: 4px; font-weight: 800; font-size: 46px; line-height: 0.9; letter-spacing: -0.05em; }
.match .sub { margin-bottom: 0; line-height: 1.55; }
.why { margin-top: 10px; font-size: 14px; color: var(--accent); }
.rec-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; font-weight: 600; font-size: 15px; text-decoration: none; }
.pt-name a { color: #FFFFFF; text-decoration: none; }
.pt-name a:hover { color: var(--accent); }
.pt-name a::after { content: " →"; color: var(--accent); font-weight: 600; }
.rec-note { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(245,179,1,0.1); border: 1px solid rgba(245,179,1,0.35); font-size: 14px; line-height: 1.5; color: var(--warn); }
.rec-note[hidden], .price-split[hidden] { display: none; }
.price-split { margin-top: 6px; font-size: 13px; color: #CFE0FF; }
.gallery { margin: 18px 0 0; }
.gallery-main { aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); background: var(--card); }
.gallery-main img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: opacity .2s; }
.gallery-cap { margin-top: 8px; font-size: 13px; color: var(--muted); }
.thumbs { margin-top: 10px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.thumb { position: relative; padding: 0; aspect-ratio: 1; border: 2px solid var(--line-2); border-radius: 12px; overflow: hidden; background: var(--card); cursor: pointer; opacity: 0.7; transition: opacity .15s, border-color .15s; }
.thumb:hover { opacity: 1; }
.thumb[aria-pressed="true"] { border-color: var(--accent); opacity: 1; }
.thumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.price-card { margin-top: 14px; border-radius: 18px; background: var(--blue); padding: 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.price-label { font-size: 13px; color: #CFE0FF; }
.price { margin-top: 2px; font-weight: 800; font-size: 50px; line-height: 1; letter-spacing: -0.05em; }
.stamp { width: 80px; height: 80px; flex: none; border: 2px solid var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; text-align: center; transform: rotate(-10deg); font-weight: 800; font-size: 12px; line-height: 1.1; text-transform: uppercase; color: var(--gold); }
.list-head { margin-top: 26px; font-weight: 700; font-size: 18px; padding-bottom: 8px; border-bottom: 1px solid var(--line-3); }
.spec-list { margin: 0; font-size: 15px; }
.spec-list div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.spec-list dt { color: var(--muted); font-size: 14px; }
.spec-list dd { margin: 0; line-height: 1.45; }
.check-list { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.check-list li { padding: 11px 0; border-bottom: 1px solid var(--line); display: flex; gap: 10px; }
.check-list span { color: var(--accent); }

/* Credentials */
.creds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cred { border: 1px solid var(--line-2); border-radius: 16px; background: var(--card); padding: 16px; }
.cred-num { font-weight: 800; font-size: 28px; letter-spacing: -0.04em; }
.cred-label { margin-top: 4px; font-size: 13px; color: var(--muted); }
.cred-red { background: var(--red); border-color: var(--red); }
.cred-red .cred-label { color: #FFE1DD; }
.cred-blue { background: var(--blue); border-color: var(--blue); }
.cred-blue .cred-label { color: #CFE0FF; }

/* Reviews */
.stars-line { margin-bottom: 14px; font-size: 14px; font-weight: 600; color: var(--accent); }
.pull { margin: 0; font-weight: 700; font-size: 34px; line-height: 1.02; letter-spacing: -0.04em; }
.who { margin-top: 14px; font-size: 14px; color: var(--muted); }
.quotes { margin-top: 26px; display: flex; flex-direction: column; gap: 10px; }
.quotes figure { margin: 0; border: 1px solid var(--line-2); border-radius: 16px; padding: 18px; }
.quotes blockquote { margin: 0; font-size: 17px; line-height: 1.45; }
.quotes figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }

/* Owner */
.owner-photo { margin: 0; position: relative; overflow: hidden; border-radius: 20px; border: 1px solid var(--line-2); }
.owner-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.owner-photo figcaption { position: absolute; z-index: 2; left: 12px; bottom: 12px; background: rgba(7,11,22,0.82); border-radius: 300px; padding: 8px 14px; font-size: 13px; font-weight: 600; }

/* Water rising up the left edge of Blake's photo. Tiles repeat every 160px
   vertically; main.js slides them with scroll. Blake stands right, so the
   water stays under ~45% of the width. */
.owner-water { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ow-layer { position: absolute; left: 0; top: -160px; height: calc(100% + 160px); background-repeat: repeat-y; background-size: 100% 160px; will-change: transform; }
.ow-back { width: 46%; opacity: 0.35; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='160' viewBox='0 0 200 160' preserveAspectRatio='none'%3E%3Cpath d='M0 0 H165 Q195 40 165 80 T165 160 H0 Z' fill='%238FB8FF'/%3E%3C/svg%3E"); }
.ow-front { width: 38%; opacity: 0.55; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='160' viewBox='0 0 200 160' preserveAspectRatio='none'%3E%3Cpath d='M0 0 H160 Q185 40 160 80 T160 160 H0 Z' fill='%231470AF'/%3E%3C/svg%3E"); }
.ow-bubble { position: absolute; bottom: 0; border-radius: 50%; border: 1.5px solid rgba(227,238,255,0.85); opacity: 0; will-change: transform; }
.owner h2 { margin-top: 24px; font-size: 40px; line-height: 0.94; }
.body-copy { margin-top: 14px; font-size: 15px; line-height: 1.6; color: var(--body); }

/* Request form */
.request-form { border: 1px solid var(--line-2); border-radius: 20px; background: var(--card); padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.request-form .btn-block { margin-top: 0; }
.request-form .fine { margin-top: 0; }
.match-box { padding: 12px; background: #13213F; border-radius: 10px; font-size: 14px; line-height: 1.5; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field input { min-height: 48px; padding: 0 14px; border: 1px solid var(--line-3); border-radius: 12px; background: var(--bg); color: #FFFFFF; font: 16px var(--sans); }
.field input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(143,184,255,0.25); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 108px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.site-footer a { color: var(--body); text-decoration: none; }
.site-footer a:hover, .site-footer a[aria-current="page"] { color: #FFFFFF; }
.site-footer a[aria-current="page"] { font-weight: 600; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 20px; }
.footer-brand { grid-column: 1 / -1; }
.footer-tag { margin-top: 14px; font-weight: 700; font-size: 17px; letter-spacing: -0.02em; color: #FFFFFF; }
.footer-head { margin-bottom: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col a { display: inline-flex; align-items: center; min-height: 36px; }
.footer-base { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.social { list-style: none; margin: 16px 0 0; padding: 0; display: flex; gap: 10px; }
.social a { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line-3); color: var(--body); transition: color .15s, border-color .15s, background-color .15s; }
.social a:hover { color: #FFFFFF; border-color: var(--accent); background: #13213F; }
.social svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.social svg .fill { fill: currentColor; stroke: none; }

/* ---------- Pricing page ---------- */
.pricing-intro { padding-bottom: 36px; }
.pt-section { padding: 0 0 56px; }
.pt { border: 1px solid var(--line-2); border-radius: 20px; background: var(--card); overflow: hidden; }
.pt-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 18px 14px; border-bottom: 1px solid var(--line); }
.pt-title { margin: 0; font-weight: 700; font-size: 22px; line-height: 1.1; letter-spacing: -0.02em; }
.stamp-sm { width: 68px; height: 68px; font-size: 10px; }
.pt-head { display: none; }
.pt-group { padding: 16px 18px 6px; border-bottom: 1px solid var(--line); }
.pt-group:last-child { border-bottom: 0; }
.pt-featured { background: #0E1F3D; box-shadow: inset 3px 0 0 var(--accent); }
.pt-name { font-weight: 800; font-size: 22px; letter-spacing: -0.03em; }
.pt-badge { display: inline-block; margin-left: 8px; vertical-align: 3px; padding: 4px 9px; border-radius: 300px; background: var(--blue); font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.pt-rows { list-style: none; margin: 8px 0 0; padding: 0; }
.pt-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "size price" "for price"; column-gap: 16px; row-gap: 2px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.pt-row:first-child { border-top: 0; }
.pt-size { grid-area: size; font-weight: 600; font-size: 16px; }
.pt-for { grid-area: for; font-size: 14px; color: var(--muted); }
.pt-price { grid-area: price; font-weight: 800; font-size: 28px; letter-spacing: -0.04em; color: var(--accent); }
.pt-note { margin-top: 14px; max-width: 52em; }

.inc-title { margin-bottom: 24px; }
.inc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
.inc { border-top: 2px solid var(--accent); padding-top: 16px; }
.inc h3 { font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.inc p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--body); }
.warranty { list-style: none; margin: 28px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted); }
.warranty li::before { content: "✓"; color: var(--accent); margin-right: 10px; }

.svc-grid { display: grid; gap: 10px; }
.svc { border: 1px solid var(--line-2); border-radius: 18px; background: var(--card); padding: 22px; }
.svc h3 { font-weight: 700; font-size: 21px; letter-spacing: -0.02em; }
.svc p { margin: 8px 0 12px; font-size: 15px; line-height: 1.55; color: var(--body); }
.svc a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; }

.cta-band { padding: 12px 0 56px; background: linear-gradient(180deg, #0B1A33 0%, #08142A 100%); }
.cta-band .sub { margin-bottom: 0; }
.cta-actions { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.cta-actions .btn { padding: 0 24px; }

/* ---------- City pages: local details ---------- */
.notice { margin-top: 18px; padding: 16px 18px; border-radius: 16px; font-size: 15px; line-height: 1.55; }
.notice p + p { margin-top: 4px; }
.notice-title { font-weight: 700; font-size: 16px; }
.notice-warn { background: rgba(245,179,1,0.1); border: 1px solid rgba(245,179,1,0.35); color: var(--warn); }
.notice-warn .notice-title { color: #FFFFFF; }
.notice-info { background: rgba(143,184,255,0.08); border: 1px solid var(--line-2); color: var(--body); }
.notice-info .notice-title { color: var(--accent); }
.city-sources a { color: var(--accent); }
.contaminants { margin: 0; }
.contaminants div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contaminants dt { font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.contaminants dd { margin: 4px 0 0; font-size: 15px; line-height: 1.55; color: var(--body); }
.tiers { display: grid; gap: 10px; }
.tier { border: 1px solid var(--line-2); border-radius: 18px; background: var(--card); padding: 22px; }
.tier:last-child { background: #0E1F3D; border-color: var(--accent); }
.tier-label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--gold); }
.tier h3 { margin-top: 6px; font-weight: 800; font-size: 24px; letter-spacing: -0.03em; }
.tier-price { margin-top: 2px; font-weight: 700; color: var(--accent); }
.tier ul { list-style: none; margin: 14px 0 0; padding: 0; font-size: 15px; line-height: 1.5; color: var(--body); }
.tier li { padding: 6px 0 6px 24px; position: relative; }
.tier li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); }
.tier-con { color: var(--muted); }
.tier li.tier-plus { padding-left: 0; color: var(--muted); }
.tier li.tier-plus::before { content: none; }
.tier-con { margin-top: 10px; font-size: 14px; padding-left: 24px; position: relative; }
.tier-con::before { content: "–"; position: absolute; left: 4px; }

/* ---------- System pages ---------- */
.sys-intro { padding-bottom: 32px; }
.sys-intro .eyebrow { margin-top: 14px; }
.intro.sys-intro h1 { font-size: clamp(44px, 12vw, 56px); }
.sys-photo { margin: 24px 0 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); position: relative; }
.sys-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.sys-photo figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(7,11,22,0.82); border-radius: 300px; padding: 8px 14px; font-size: 13px; font-weight: 600; }
.sys-fixes { margin-top: 18px; }
.sys-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; margin-top: 14px; border-radius: 16px; border: 1px solid var(--line-2); background: #000000; }
.sys-prices { margin-top: 18px; }
.sys-prices .pt-rows { margin: 0; padding: 4px 18px; }
.sys-upkeep { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--body); }
.removes dd { color: var(--accent); font-weight: 700; }
.tier h3 a { color: #FFFFFF; text-decoration: none; }
.tier h3 a:hover { color: var(--accent); }
.tier h3 a::after { content: " →"; color: var(--accent); }

/* ---------- Blog ---------- */
.blog-list { padding: 0 0 56px; }
.post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.post-card { display: block; height: 100%; padding: 20px; border-radius: 18px; border: 1px solid var(--line-2); background: var(--card); color: #FFFFFF; text-decoration: none; transition: border-color .15s, background-color .15s; }
.post-card:hover { color: #FFFFFF; border-color: var(--accent); background: #0E1F3D; }
.post-meta { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.post-title { display: block; margin-top: 8px; font-weight: 800; font-size: 22px; line-height: 1.15; letter-spacing: -0.03em; }
.post-sum { display: block; margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--body); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-head { padding: 32px 0 8px; background: radial-gradient(120% 90% at 50% 0%, #1B2A4A 0%, #0D1428 50%, var(--bg) 85%); }
.post-wrap { max-width: 760px; }
.post-crumbs { font-size: 14px; color: var(--muted); }
.post-crumbs a { color: var(--muted); text-decoration: none; }
.post-crumbs a:hover { color: #FFFFFF; }
.post h1 { margin-top: 14px; font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: -0.045em; }
.post-byline { margin-top: 16px; display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 1.4; color: var(--muted); }
.post-byline img { flex: none; width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 1.5px solid var(--accent); }
.post-short { margin-top: 24px; padding: 18px 20px; border-radius: 16px; background: #0E1F3D; border: 1px solid var(--line-2); box-shadow: inset 3px 0 0 var(--accent); font-size: 17px; line-height: 1.55; }
.post-short-label { margin-bottom: 6px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.post-body { padding: 8px 0 0; font-size: 17px; line-height: 1.65; color: var(--body); }
.post-body h2 { margin-top: 36px; font-size: 28px; line-height: 1.1; letter-spacing: -0.03em; color: #FFFFFF; }
.post-body p, .post-body ul, .post-body ol { margin: 14px 0 0; }
.post-body ul, .post-body ol { padding-left: 22px; }
.post-body li + li { margin-top: 6px; }
.post-body strong { color: #FFFFFF; }
.post-cta { margin-top: 32px; display: flex; flex-direction: column; gap: 10px; }
.post-cta .btn { padding: 0 24px; }
.post-faq { margin: 44px 0 56px; }
.post-faq h2 { font-size: 30px; line-height: 1; margin-bottom: 8px; }
/* ---------- Financing page ---------- */
.intro.fin-intro h1 { font-size: clamp(44px, 12.8vw, 58px); }
.fin-actions { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.fin-actions .btn { padding: 0 24px; }
.fin-terms { padding: 0 0 44px; }
.fin-stats { margin-top: 12px; }
.fin-phone { margin: 0 0 32px; display: flex; flex-direction: column; align-items: center; }
.fin-phone img { display: block; width: 100%; max-width: 301px; height: auto; }
.fin-phone figcaption { margin-top: 16px; max-width: 300px; text-align: center; font-size: 13px; line-height: 1.5; color: var(--muted); }
.fin-steps { list-style: none; margin: 22px 0 0; padding: 0; }
.fin-steps li { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.fin-steps li:last-child { border-bottom: 1px solid var(--line); }
.fin-num { flex: none; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--blue); font-family: var(--mono); font-weight: 600; font-size: 18px; }
.fin-steps h3 { font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.fin-steps p { margin-top: 6px; font-size: 15px; line-height: 1.55; color: var(--body); }
.fin-legal { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line); }

/* Mobile sticky action bar */
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; background: rgba(7,11,22,0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }

/* ---------- Desktop ---------- */
@media (min-width: 900px) {
  :root { --hdr: 72px; --gutter: 40px; }
  .header-row { padding-right: var(--gutter); }
  .logo { font-size: 28px; gap: 12px; }
  .logo-mark { height: 44px; padding: 5px 11px; border-radius: 12px; }
  .footer-logo { height: 120px; }
  .header-nav { display: flex; gap: 28px; margin-left: auto; }
  .header-nav a { color: var(--body); text-decoration: none; font-size: 15px; font-weight: 500; }
  .header-nav a:hover, .header-nav a[aria-current="page"] { color: #FFFFFF; }
  .header-nav a[aria-current="page"] { font-weight: 600; }

  .pricing-intro { padding-bottom: 56px; }
  .pt-section { padding-bottom: 96px; }
  .pt-top { padding: 24px 32px; }
  .pt-title { font-size: 28px; }
  .stamp-sm { width: 80px; height: 80px; font-size: 12px; }
  .pt-head, .pt-group { display: grid; grid-template-columns: 260px minmax(0, 1fr); column-gap: 32px; padding-left: 32px; padding-right: 32px; }
  .pt-head { padding-top: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
  .pt-head .pt-row { padding: 0; border: 0; }
  .pt-head .pt-row > span { font: inherit; color: inherit; letter-spacing: inherit; }
  .pt-group { padding-top: 6px; padding-bottom: 6px; align-items: start; }
  .pt-name { padding: 16px 0; font-size: 24px; }
  .pt-badge { display: table; margin: 8px 0 0; vertical-align: 0; }
  .pt-rows { margin: 0; }
  .pt-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 140px; grid-template-areas: "size for price"; padding: 18px 0; }
  .pt-size { font-size: 17px; }
  .pt-for { font-size: 15px; }
  .pt-price { text-align: right; font-size: 32px; }
  .pt-note { font-size: 15px; }

  .inc-title { margin-bottom: 48px; }
  .inc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; }
  .inc h3 { font-size: 22px; }
  .inc p { font-size: 16px; }
  .warranty { flex-direction: row; flex-wrap: wrap; gap: 12px 40px; margin-top: 48px; font-size: 15px; }

  .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .svc { padding: 32px; }
  .svc h3 { font-size: 24px; }
  .svc p { font-size: 16px; }

  .cta-band { padding: 48px 0 112px; }
  .cta-band .split { align-items: center; }
  .cta-actions { margin-top: 0; flex-direction: row; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }

  .tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .intro.sys-intro { padding-top: 64px; padding-bottom: 56px; text-align: left; }
  .sys-intro .split { align-items: center; }
  .intro.sys-intro h1 { font-size: 72px; max-width: none; margin: 14px 0 0; }
  .sys-intro .lede { margin-left: 0; }
  .sys-intro .fin-actions { justify-content: flex-start; }
  .sys-photo { margin-top: 0; }
  .sys-photo img { max-height: 640px; }
  .tier { padding: 28px; }
  .post-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .post-list-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-card { padding: 26px; }
  .blog-list { padding-bottom: 96px; }
  .post-head { padding-top: 64px; }
  .post h1 { font-size: 60px; }
  .post-body { font-size: 18px; }
  .post-body h2 { font-size: 34px; }
  .post-cta { flex-direction: row; flex-wrap: wrap; }
  .fin-actions { margin-top: 32px; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 12px; }
  .intro.fin-intro h1 { font-size: clamp(72px, 7.2vw, 104px); max-width: 14ch; }
  .fin-terms { padding-bottom: 72px; }
  .fin-how { align-items: center; }
  .fin-phone { margin: 0; }
  .fin-phone figcaption { max-width: 340px; }
  .fin-steps h3 { font-size: 22px; }
  .fin-steps p { font-size: 16px; }
  .btn-red { font-size: 15px; padding: 13px 22px; }

  .intro { padding: 88px 0 24px; text-align: center; }
  .intro h1 { font-size: clamp(88px, 9.6vw, 140px); max-width: 11ch; margin: 18px auto 0; }
  .lede { font-size: 20px; margin: 24px auto 0; }

  .drop-runway { height: 1360px; }
  .drop-stage { height: 620px; }
  .drop-text { font-size: 20px; }
  .drop-caption { font-size: 15px; }
  .trust { bottom: 36px; }
  .trust-num { font-size: 36px; }
  .trust-label { font-size: 14px; }

  .waves { --k: 1.5; }

  .section { padding: 96px 0; }
  .report { padding-top: 32px; padding-bottom: 96px; }
  .report.city-report { padding-top: 64px; }
  .city-title { font-size: 64px; }
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
  h2 { font-size: 64px; }
  .sub { font-size: 18px; max-width: 30em; }
  .chips { margin-top: 8px; }
  .faq-intro { position: sticky; top: calc(var(--hdr) + 32px); }
  .faq { margin-top: 0; }
  .faq summary { font-size: 20px; min-height: 72px; }
  .faq-a p { font-size: 16px; }
  .report-card { margin-top: 0; }
  .range { font-size: 112px; }

  .gallery-main { aspect-ratio: 1; }
  .rec-name { font-size: 64px; }
  .list-head:first-child { margin-top: 0; }

  .big-head { font-size: 64px; margin-bottom: 28px; }
  .creds { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .cred { padding: 24px; }
  .cred-num { font-size: 40px; }
  .cred-label { font-size: 14px; }

  .pull { font-size: 52px; }
  .quotes { margin-top: 0; }
  .quotes figure { padding: 24px; }

  .owner { align-items: center; }
  .owner-photo img { max-height: 680px; }
  .owner h2 { margin-top: 0; font-size: 56px; }
  .body-copy { font-size: 18px; }

  .request-form { padding: 28px; }

  .site-footer { padding: 56px 0 40px; }
  .footer-grid { grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
  .footer-brand { grid-column: auto; }
  .footer-col a { min-height: 32px; }
  .footer-base { margin-top: 40px; flex-direction: row; justify-content: space-between; }

  .action-bar { display: none; }
}

@media (min-width: 900px) and (max-width: 1100px) {
  .header-nav { gap: 18px; }
  .header-nav a:nth-child(2), .header-nav a:nth-child(5) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .meter-fill { transition: none; }
  .science-icon::after { animation: none; }
  .science-modal[open] { animation: none; }
}
