/* Clear Flow Sewer & Drain Services: shared styles for every page (design 3, "The Pour") */
:root {
  --sky-pale: #F3F8FC; --white: #FFFFFF; --navy: #14202B; --slate: #2B3D4D; --muted: #52616D; --line: #DCE6EE;
  --flow: #3589E6; --flow-ink: #2A6FD0; /* --flow-ink: the blue behind white text (4.9:1, WCAG AA) */ --sky: #3DB6F2; --water: #3468D2; --royal: #2D57C4; --tint: #E6F2FB;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--white); color: var(--navy); font: 400 18px/1.6 Figtree, Arial, sans-serif; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--flow); outline-offset: 3px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }
/* headings in Archivo, a sturdy grotesque close to the logo's CLEAR FLOW lettering */
.display { font-family: Archivo, Arial, sans-serif; font-weight: 800; letter-spacing: -.02em; line-height: 1.04; margin: 0; }
/* one size for every section heading, small label above it */
.section-title { font-size: clamp(34px, 3.1vw, 48px); }
.kicker { margin: 0 0 14px; font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--water); }
.on-blue .kicker { color: #B7E3FA; }

html { scroll-padding-top: 104px; }

/* ---------- header ---------- */
/* the header stays pinned while scrolling; it gains a soft shadow once the page moves */
/* solid pale blue, not see-through: iPhone Safari colours the strips around its address bar and toolbar
   from the header and bottom bar, and from the page background when you scroll past either end */
html { background: var(--sky-pale); }
header { position: sticky; top: 0; z-index: 100; background: var(--sky-pale); transition: box-shadow .2s; }
header.scrolled { box-shadow: 0 6px 20px rgba(20, 32, 43, .08); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 96px; }
.bar img { height: 60px; display: block; }
nav { display: flex; align-items: center; gap: 32px; font-weight: 600; font-size: 16px; }
nav a { text-decoration: none; color: var(--muted); }
nav a:hover { color: var(--navy); }
nav a[aria-current] { color: var(--navy); }
nav .call { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; background: var(--navy); color: #fff; border-radius: 999px; padding: 11px 20px; }
nav .call:hover { color: #fff; background: var(--slate); }
nav .call svg { width: 16px; height: 16px; flex: none; }
nav .call .num { margin-left: -3px; }

/* phone menu: hidden on wide screens, where the links sit in the header */
.menu-btn, .menu { display: none; }

/* ---------- home hero ---------- */
/* the hero text, buttons and drawing grow with wide screens and stay put on laptops */
.hero { position: relative; background: linear-gradient(to bottom, var(--sky-pale) calc(100% - 40px), var(--royal) calc(100% - 40px)); height: clamp(804px, 56vw, 1000px); overflow: hidden; }
.hero .art { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-copy { position: relative; z-index: 1; padding-top: clamp(26px, 2.2vw, 56px); margin: 0 auto; text-align: center; }
.where { font-weight: 600; font-size: clamp(16px, 1.05vw, 21px); color: var(--water); margin: 0 0 18px; }
.hero > .wrap { max-width: 1640px; }
.hero h1 { font-size: clamp(64px, 5.6vw, 128px); }
.lede { font-size: clamp(19px, 1.45vw, 27px); color: var(--muted); margin: 20px auto 28px; max-width: 40ch; }
.ctas { display: flex; gap: clamp(12px, 1vw, 18px); flex-wrap: wrap; justify-content: center; }
.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 19px; padding: 18px 30px; border-radius: 999px; transition: background .15s, color .15s; }
.btn svg { width: 21px; height: 21px; flex: none; }
.hero .btn { font-size: clamp(18px, 1.3vw, 23px); padding: clamp(16px, 1.25vw, 22px) clamp(26px, 2.1vw, 38px); }
.hero .btn svg { width: 1.1em; height: 1.1em; }
.btn.primary { background: var(--flow-ink); color: #fff; box-shadow: 0 10px 24px rgba(53, 137, 230, .35); }
.btn.primary:hover { background: #2463C2; }
.btn.quiet { background: var(--white); color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn.quiet:hover { background: var(--navy); color: #fff; }
.btn.white { background: #fff; color: var(--navy); box-shadow: 0 10px 24px rgba(10, 24, 70, .25); }
.btn.white:hover { background: #EAF4FD; }
.btn.outline-light { color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .9); }
.btn.outline-light:hover { background: rgba(255, 255, 255, .14); }
.btn.small { font-size: 16px; padding: 13px 22px; }
.art-mobile { display: none; position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 110px; }

/* ---------- inner page header: short, ending in the same three bands of water ---------- */
.page-hero { background: var(--sky-pale); }
.page-hero .wrap { padding-top: 48px; padding-bottom: 8px; }
.page-hero h1 { font-size: clamp(46px, 4.4vw, 76px); }
.page-hero .lede { margin: 18px 0 0; max-width: 44ch; }
.page-hero .where { margin-bottom: 14px; }
.page-waves { display: block; width: 100%; height: clamp(96px, 9vw, 150px); margin-bottom: -1px; }
/* jump links to each service */
.jump { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.jump a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; background: #fff; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); text-decoration: none; font-weight: 600; font-size: 16px; }
.jump a:hover { box-shadow: inset 0 0 0 1.5px var(--water); color: var(--water); }
.jump svg { width: 18px; height: 18px; color: var(--water); }

/* ---------- mid-page call to action ---------- */
.cta-card { margin-top: 28px; background: linear-gradient(120deg, var(--flow-ink), var(--royal)); color: #fff; border-radius: 24px; padding: 40px 44px; display: flex; align-items: center; justify-content: space-between; gap: 32px; position: relative; overflow: hidden; }
.cta-card > * { position: relative; }
.cta-card h2 { font-size: clamp(28px, 2.4vw, 38px); }
.cta-card p { margin: 8px 0 0; color: #FFFFFF; font-size: 18px; }
.cta-card .lines { position: absolute; right: 0; top: 0; height: 100%; width: 420px; opacity: .16; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; flex: none; }

/* call and quote buttons pinned to the bottom of the screen on phones */
.callbar { display: none; }

/* ---------- services summary (home) ---------- */
.services { background: var(--white); color: var(--navy); padding: 56px 0 72px; position: relative; }
.services h2 { margin-bottom: 36px; text-align: center; }
/* trust strip: only facts that are confirmed */
.trust { list-style: none; margin: 52px 0 0; padding: 30px 0 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 56px; border-top: 1px solid rgba(255, 255, 255, .16); font-weight: 600; font-size: 17px; }
.trust li { display: flex; align-items: center; gap: 10px; }
.trust svg { width: 22px; height: 22px; color: #9FDCF8; flex: none; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc { background: var(--sky-pale); color: var(--navy); border-radius: 20px; padding: 32px 30px 30px; display: flex; flex-direction: column; box-shadow: inset 0 0 0 1px var(--line); }
.ic { width: 60px; height: 60px; border-radius: 50%; background: #E3F3FC; color: var(--water); display: grid; place-items: center; margin-bottom: 20px; }
.ic svg { width: 30px; height: 30px; }
/* cards with a photo on top: the photo runs edge to edge, the text keeps the card's padding */
.svc:has(.svc-photo) { padding: 0; overflow: hidden; }
.svc-photo { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.svc-text { display: flex; flex-direction: column; flex: 1; padding: 26px 30px 30px; }
.svc-head-photo { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 20px; margin-bottom: 24px; box-shadow: 0 16px 36px rgba(20, 52, 90, .14); }
.svc h3 { font-family: Archivo, Arial, sans-serif; font-weight: 800; font-size: 25px; letter-spacing: -.01em; margin: 0 0 10px; }
.svc h3 a { text-decoration: none; }
.svc h3 a:hover { color: var(--water); }
.svc p { margin: 0; color: var(--muted); }
.svc .for { margin-top: auto; padding-top: 20px; font-size: 15.5px; color: var(--navy); }
.svc .for b { color: var(--water); }
/* wave edges between sections: each svg's background is the section below, its path the section above (or the reverse) */
.wave-out, .wave { display: block; width: 100%; height: 90px; margin: -1px 0; }
.wave-out { background: var(--tint); }

section.block { padding: 80px 0 100px; }
.tint { background: var(--tint); }
section.signs { padding: 36px 0 64px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.panel { background: var(--white); border-radius: 24px; padding: 44px 44px 40px; box-shadow: 0 1px 0 #D3E4F1, 0 16px 36px rgba(20, 52, 90, .07); }
.panel h2 { font-size: 30px; margin-bottom: 24px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: start; font-weight: 500; }
.checks svg { flex: none; width: 24px; height: 24px; margin-top: 2px; color: var(--water); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.steps .n { width: 44px; height: 44px; border-radius: 50%; background: var(--water); color: #fff; display: grid; place-items: center; font-weight: 700; }
.steps h3 { margin: 6px 0 4px; font-size: 20px; }
.steps p { margin: 0; color: var(--muted); font-size: 17px; }

/* ---------- home: warning signs as icon tiles ---------- */
.center { text-align: center; }
.signs .section-title { margin-bottom: 30px; }
.sign-grid { list-style: none; margin: 0 0 76px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sign-grid li { display: flex; align-items: center; gap: 16px; padding: 20px 22px; background: #fff; border-radius: 20px; font-weight: 600; line-height: 1.4; box-shadow: 0 1px 0 #D3E4F1, 0 12px 28px rgba(20, 52, 90, .06); }
.sign-ic { flex: none; display: block; width: 60px; height: 60px; object-fit: contain; }

/* ---------- home: how it works, three fittings joined by a pipe ---------- */
.flow { --n: 64px; --gap: 28px; list-style: none; margin: 0 0 76px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); text-align: center; }
.flow li { position: relative; }
/* pipe from this step's fitting to the next one */
.flow li:not(:last-child)::before { content: ""; position: absolute; z-index: 0; top: calc(var(--n) / 2); left: 50%; width: calc(100% + var(--gap)); height: 24px; transform: translateY(-50%); background: #C5D5DA; border: 3px solid var(--slate); border-radius: 12px; box-sizing: border-box; }
/* the water inside it */
.flow li:not(:last-child)::after { content: ""; position: absolute; z-index: 0; top: calc(var(--n) / 2); left: 50%; width: calc(100% + var(--gap)); height: 10px; margin-top: -5px; border-radius: 6px; background: repeating-linear-gradient(90deg, var(--sky) 0 22px, #7FD3F8 22px 30px); transform-origin: left center; transition: transform 1s cubic-bezier(.5, 0, .3, 1); }
.flow li:nth-child(2)::after { transition-delay: .9s; }
.flow-n { position: relative; z-index: 1; display: grid; place-items: center; width: var(--n); height: var(--n); margin: 0 auto 18px; border-radius: 50%; background: #fff; border: 4px solid var(--slate); box-shadow: inset 0 0 0 5px #E3F3FC, 0 0 0 6px var(--tint); font: 800 26px/1 Archivo, Arial, sans-serif; color: var(--water); }
.flow h3 { margin: 0 0 6px; font-family: Archivo, Arial, sans-serif; font-weight: 800; font-size: 22px; letter-spacing: -.01em; }
.flow p { margin: 0 auto; max-width: 26ch; color: var(--muted); font-size: 17px; }
.cta-card .btn.white { position: relative; }

/* ---------- services page: one row per service ---------- */
.svc-detail { padding: 72px 0; }
.svc-detail + .svc-detail { border-top: 1px solid var(--line); }
.svc-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
/* the name and button stay in view while the details scroll past */
.svc-head { position: sticky; top: 128px; }
.svc-head .ic { width: 76px; height: 76px; }
.svc-head .ic svg { width: 38px; height: 38px; }
.svc-head h2 { margin-bottom: 14px; }
.svc-head .sum { margin: 0 0 26px; color: var(--muted); font-size: 19px; max-width: 34ch; }
.svc-body { display: grid; gap: 22px; }
.svc-body .panel { padding: 34px 36px 32px; box-shadow: inset 0 0 0 1px var(--line); background: var(--sky-pale); }
.svc-body .panel h3 { font-family: Archivo, Arial, sans-serif; font-weight: 800; font-size: 22px; letter-spacing: -.01em; margin: 0 0 16px; }
.svc-body .panel p { margin: 0 0 12px; color: var(--muted); }
.svc-body .panel p:last-child { margin-bottom: 0; }
.svc-body a, .faq details a { color: var(--water); font-weight: 600; text-underline-offset: 4px; }
/* quick guide: problem on the left, the service it usually starts with on the right */
.guide { list-style: none; margin: 0; padding: 0; background: #fff; border-radius: 24px; box-shadow: 0 1px 0 #D3E4F1, 0 16px 36px rgba(20, 52, 90, .07); overflow: hidden; }
.guide li { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: center; padding: 22px 32px; }
.guide li + li { border-top: 1px solid var(--line); }
.guide .problem { font-weight: 600; }
.guide .fix { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.guide .fix svg { width: 20px; height: 20px; flex: none; color: var(--sky); }
.guide .fix a { color: var(--water); font-weight: 700; text-underline-offset: 4px; }
.guide-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.guide-head .aside p { color: var(--muted); margin: 14px 0 0; max-width: 34ch; }

/* ---------- equipment: the trailer jetter's numbers ---------- */
.equip { background: var(--white); padding: 0 0 88px; }
.equip-card { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; align-items: center; background: var(--navy); color: #fff; border-radius: 28px; padding: 52px 56px; }
.equip-card > * { position: relative; }
.equip-card .lines { position: absolute; left: 0; bottom: 0; width: 520px; height: 60%; opacity: .07; }
.equip-card .kicker { color: #9FDCF8; }
.equip-card h2 { color: #fff; margin-bottom: 18px; }
.equip-text p:not(.kicker) { color: #B9C8D4; margin: 0 0 12px; max-width: 48ch; }
.equip-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0; }
.equip-stats div { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 22px 22px 18px; border-radius: 18px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.equip-stats dd { margin: 0; font-family: Archivo, Arial, sans-serif; font-weight: 800; font-size: clamp(34px, 3vw, 46px); line-height: 1; color: var(--sky); white-space: nowrap; font-variant-numeric: tabular-nums; }
.equip-stats dd span { font-size: .4em; font-weight: 700; color: #fff; letter-spacing: .02em; }
.equip-stats dt { margin-top: 10px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #A9BAC7; }

/* ---------- service area: scrolling town names over a map of pins ---------- */
.service-area { background: var(--navy); color: #fff; padding: 64px 0 0; }
.area-top { text-align: center; }
.service-area h2 span { color: var(--sky); }
.area-sub { color: #A9BAC7; margin: 14px auto 0; max-width: 46ch; }
.ticker { overflow: hidden; margin: 36px 0 30px; -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent); }
.ticker-track { display: flex; width: max-content; }
/* site.js adds a second copy of the list and the "moving" class; the track slides one copy's width and repeats */
.ticker.moving .ticker-track { animation: ticker 150s linear infinite; }
.ticker.moving:hover .ticker-track, .ticker.paused .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker-list { display: flex; gap: 44px; list-style: none; margin: 0; padding: 0 44px 0 0; }
.ticker:not(.moving) .ticker-track { width: auto; justify-content: center; }
.ticker:not(.moving) .ticker-list { flex-wrap: wrap; justify-content: center; gap: 12px 32px; padding: 0 16px; }
.ticker li { display: flex; align-items: center; gap: 10px; white-space: nowrap; font-family: Archivo, Arial, sans-serif; font-weight: 800; font-size: clamp(22px, 2vw, 30px); text-transform: uppercase; letter-spacing: .01em; }
.ticker li::before { content: ""; flex: none; width: .75em; height: .9em; background: var(--sky);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 24'%3E%3Cpath d='M10 0a9 9 0 0 0-9 9c0 6.6 9 15 9 15s9-8.4 9-15a9 9 0 0 0-9-9zm0 12.5A3.5 3.5 0 1 1 10 5.5a3.5 3.5 0 0 1 0 7z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 24'%3E%3Cpath d='M10 0a9 9 0 0 0-9 9c0 6.6 9 15 9 15s9-8.4 9-15a9 9 0 0 0-9-9zm0 12.5A3.5 3.5 0 1 1 10 5.5a3.5 3.5 0 0 1 0 7z'/%3E%3C/svg%3E") center / contain no-repeat; }
/* reduced motion: no scrolling at all, just the towns wrapped in rows */
@media (prefers-reduced-motion: reduce) {
  .ticker.moving .ticker-track { animation: none; width: auto; justify-content: center; }
  .ticker.moving .ticker-list { flex-wrap: wrap; justify-content: center; gap: 12px 32px; padding: 0 16px; }
  .ticker.moving .ticker-list[aria-hidden] { display: none; }
}
.area-cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; padding-bottom: 44px; }
/* the moving town names can be paused (WCAG 2.2.2) */
.ticker-toggle { display: inline-flex; align-items: center; gap: 8px; font: 700 15px/1 var(--body, Figtree, Arial, sans-serif); color: #fff; background: transparent; border: 0; border-radius: 999px; padding: 13px 18px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55); cursor: pointer; }
.ticker-toggle:hover { box-shadow: inset 0 0 0 2px #fff; }
.ticker-toggle svg { width: 14px; height: 14px; }
/* isolation keeps the map's own layers under the pinned header and the phone call bar */
.area-map { position: relative; isolation: isolate; z-index: 0; height: clamp(460px, 46vw, 640px); background: #AAD3DF; }
.cf-pin { background: #fff; border-radius: 50%; box-shadow: 0 0 0 3px var(--sky), 0 6px 14px rgba(10, 24, 40, .35); }
.cf-pin img { display: block; width: 100%; height: 100%; }
.area-map .leaflet-popup-content-wrapper { border-radius: 16px; box-shadow: 0 16px 36px rgba(10, 24, 40, .25); }
.area-map .leaflet-popup-content { margin: 18px 20px; font: 500 15px/1.4 Figtree, Arial, sans-serif; color: var(--navy); }
.area-map .leaflet-popup-content strong { display: block; font-family: Archivo, Arial, sans-serif; font-weight: 800; font-size: 19px; margin: 0 26px 8px 0; }
.area-map .pop-phone { display: inline-flex; align-items: center; gap: 7px; color: var(--water); font-weight: 700; text-decoration: none; font-size: 16px; }
.area-map .pop-phone svg { width: 16px; height: 16px; }
.area-map .pop-btn { display: block; margin-top: 12px; text-align: center; background: var(--navy); color: #fff; text-decoration: none; font-weight: 700; border-radius: 999px; padding: 9px 16px; }
.area-map .pop-btn:hover { background: var(--slate); }

/* ---------- FAQ ---------- */
section.faq { padding: 56px 0 72px; }
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: start; }
.faq h2 { margin-bottom: 16px; }
.faq .aside p { margin: 0 0 14px; color: var(--muted); }
.faq .aside a { color: var(--water); font-weight: 700; text-underline-offset: 4px; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; font-weight: 700; font-size: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: Archivo, Arial, sans-serif; font-weight: 600; font-size: 30px; line-height: .8; color: var(--water); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); max-width: 70ch; }

/* ---------- quote form band ---------- */
/* on the home page it overlaps the deep-water band at the bottom of the hero drawing (which scales with the screen),
   transparent over that strip so the drawing still shows */
.quote-band { --lift: clamp(60px, 7vw, 124px); margin-top: calc(-1 * var(--lift)); background: linear-gradient(to bottom, transparent calc(var(--lift) - 3px), var(--royal) calc(var(--lift) - 3px)); color: #fff; padding: 28px 0 100px; position: relative; z-index: 2; overflow: hidden; }
/* inner pages: straight on from the page header's water. A plain colour, not the gradient:
   Safari draws a gradient whose stops are both below zero as transparent, leaving white text on white */
.quote-band.flat { margin-top: 0; background: var(--royal); padding-top: 12px; }
.quote-band .wrap { position: relative; }
.quote-band .swoosh { position: absolute; left: 0; bottom: 0; width: 100%; height: 140px; }
.quote-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "top form" "more form"; grid-template-rows: auto 1fr; gap: 0 56px; align-items: start; }
.reach-top { grid-area: top; }
.reach-more { grid-area: more; }
.quote-grid .form { grid-area: form; }
.form { background: var(--white); color: var(--navy); border-radius: 22px; padding: 34px 34px 30px; box-shadow: 0 24px 50px rgba(10, 24, 70, .28); position: relative; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field { display: grid; gap: 7px; margin: 0 0 20px; }
.field > label, fieldset legend { font-weight: 700; font-size: 15px; padding: 0; }
.opt { font-weight: 500; color: var(--muted); }
.field input, .field textarea { font: inherit; font-size: 17px; color: var(--navy); background: var(--sky-pale); border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 15px; width: 100%; }
.field textarea { min-height: 128px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--sky); outline-offset: 1px; border-color: var(--flow); background: #fff; }
.field ::placeholder { color: #66727D; }
fieldset { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 9px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; }
.chips span { display: inline-block; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 600; font-size: 15px; cursor: pointer; background: #fff; }
.chips input:checked + span { background: var(--water); border-color: var(--water); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.send { font: inherit; font-weight: 700; font-size: 18px; background: var(--flow-ink); color: #fff; border: 0; border-radius: 999px; padding: 17px 30px; cursor: pointer; margin-top: 4px; }
.send:hover { background: #2463C2; }
.send[disabled] { opacity: .7; cursor: progress; }
.fine { font-size: 14px; color: var(--muted); margin: 16px 0 0; }
.fine a { color: var(--water); }
/* Cloudflare spam check: space reserved so the button doesn't jump when the box loads */
.cf-turnstile { min-height: 65px; margin: 0 0 18px; }
/* spam trap: hidden from people, bots fill it in */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 16px 0 0; padding: 14px 16px; border-radius: 12px; background: #FDECEC; color: #8A1C1C; font-weight: 600; font-size: 16px; }
.form-error a { color: inherit; }
.form-done { text-align: center; padding: 36px 8px 30px; }
.form-done .ic { margin: 0 auto 18px; width: 72px; height: 72px; }
.form-done h3 { font-family: Archivo, Arial, sans-serif; font-weight: 800; font-size: 30px; letter-spacing: -.01em; margin: 0 0 10px; }
.form-done p { margin: 0 auto; color: var(--muted); max-width: 36ch; }
.form-done h3:focus { outline: none; }
.form-done a { color: var(--water); font-weight: 600; white-space: nowrap; }
.reach { padding-top: 6px; }
.reach h2 { margin-bottom: 14px; color: #fff; }
.reach p { margin: 0; }
.reach .intro { color: #D5E5F7; font-size: 19px; max-width: 30ch; margin-bottom: 36px; }
.reach .label { font-weight: 600; font-size: 15px; color: #D5E5F7; }
.reach .phone { display: inline-block; font-size: 52px; color: #fff; text-decoration: none; white-space: nowrap; margin: 2px 0 8px; }
.reach .mail a { color: #fff; font-weight: 600; text-underline-offset: 4px; overflow-wrap: anywhere; }
.reach .area { display: flex; gap: 10px; align-items: flex-start; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .22); font-weight: 500; }
.reach .now { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; padding: 16px 18px; background: rgba(255, 255, 255, .12); border-radius: 14px; font-size: 16px; }
.reach .area svg, .reach .now svg { flex: none; width: 22px; height: 22px; color: var(--sky); margin-top: 1px; }

/* ---------- plain text pages (privacy, thanks) ---------- */
.prose { padding: 56px 0 88px; }
.prose .wrap { max-width: 820px; }
.prose h2 { font-family: Archivo, Arial, sans-serif; font-weight: 800; font-size: 26px; letter-spacing: -.01em; margin: 40px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--slate); }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--water); font-weight: 600; text-underline-offset: 4px; }
.prose .updated { color: var(--muted); font-size: 15px; }
.page-hero .ctas { justify-content: flex-start; margin-top: 28px; }

/* ---------- footer ---------- */
footer { background: var(--navy); color: #A9BAC7; font-size: 15.5px; }
.foot-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; padding-top: 52px; padding-bottom: 40px; }
.foot-brand img { height: 52px; display: block; margin-bottom: 16px; }
.foot-brand p { margin: 0; max-width: 34ch; }
.foot-grid h2 { margin: 6px 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #7FA6C4; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot-grid a { color: #fff; text-decoration: none; overflow-wrap: anywhere; }
.foot-grid a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 30px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; }
.foot-bottom a { color: inherit; text-decoration: none; }
.foot-bottom a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- tablets and phones ---------- */
@media (max-width: 900px) {
  .wrap { padding: 0 16px; }
  html { scroll-padding-top: 84px; }
  .bar { height: 72px; }
  .bar img { height: 44px; }
  .bar nav a:not(.call) { display: none; }
  nav .call { padding: 9px 14px; font-size: 14px; }
  /* phones: logo on the left, then Call and the menu button together on the right */
  .bar { gap: 10px; }
  .bar nav { margin-left: auto; }
  .menu-btn { display: grid; place-content: center; gap: 5px; flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; }
  .menu-btn span { display: block; width: 20px; height: 2.4px; border-radius: 2px; background: var(--navy); transition: transform .25s, opacity .2s; }
  .menu-open .menu-btn span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
  .menu-open .menu-btn span:nth-child(2) { opacity: 0; }
  .menu-open .menu-btn span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }
  .menu { position: absolute; left: 0; right: 0; top: 100%; gap: 0; padding: 6px 16px 18px; background: #fff; box-shadow: 0 18px 30px rgba(20, 32, 43, .16); border-top: 1px solid var(--line); }
  .menu-open .menu { display: grid; animation: menu-in .22s ease-out; }
  @keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
  .menu a { padding: 15px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 700; font-size: 20px; color: var(--navy); }
  .menu a[aria-current] { color: var(--water); }
  .menu .menu-call { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 14px; padding: 15px; border: 0; border-radius: 999px; background: var(--flow-ink); color: #fff; font-size: 18px; }
  .menu .menu-call svg { width: 20px; height: 20px; }
  /* phones: text first, then the same pipe-and-water drawing sized to the screen */
  .hero { height: auto; padding-bottom: 0; display: flex; flex-direction: column; }
  .hero > .wrap { order: 1; }
  .hero .art { order: 2; position: relative; inset: auto; display: block; width: 100%; height: clamp(320px, 104vw, 460px); margin-top: -48px; }
  .hero .art-mobile { display: none; }
  .hero .ctas { max-width: 440px; margin: 0 auto; }
  .hero-copy { padding-top: 34px; }
  .hero h1 br { display: none; }
  .lede { font-size: 18px; margin: 18px 0 24px; }
  .btn { flex: 1 1 100%; justify-content: center; }
  /* the pinned bar at the bottom has "Request a quote", so the top keeps one big Call button */
  .hero .btn.quiet { display: none; }
  .hero h1 { font-size: clamp(38px, 12vw, 46px); }
  .page-hero .wrap { padding-top: 32px; }
  .page-hero h1 { font-size: clamp(38px, 11vw, 46px); }
  .page-hero .lede { margin: 14px 0 0; }
  .page-hero .ctas { margin-top: 22px; }
  .page-waves { height: 72px; }
  .jump { margin-top: 22px; gap: 8px; }
  .jump a { padding: 9px 14px; font-size: 15px; }
  .cta-card { flex-direction: column; align-items: stretch; padding: 30px 22px; gap: 22px; }
  .cta-card h2 { font-size: 32px; }
  .cta-actions { flex-direction: column; }
  .callbar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--sky-pale); box-shadow: 0 -6px 20px rgba(20, 32, 43, .14); }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: 999px; font-weight: 700; font-size: 17px; text-decoration: none; }
  .callbar svg { width: 19px; height: 19px; }
  .callbar .cb-call { background: var(--flow-ink); color: #fff; }
  .callbar .cb-quote { color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
  footer { padding-bottom: 72px; }
  .services { padding: 40px 0 64px; }
  .trust { flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px 4px 0; margin-top: 32px; font-size: 16px; }
  .svc-grid, .two { grid-template-columns: 1fr; }
  .panel { padding: 30px 22px; }
  .wave-out, .wave { height: 48px; }
  section.signs { padding: 20px 0 44px; }
  section.block { padding: 48px 0 64px; }
  section.faq { padding: 36px 0 48px; }
  .faq-wrap { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .faq summary { font-size: 18px; }
  .sign-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-bottom: 52px; }
  .sign-grid li { padding: 14px 16px; gap: 14px; font-size: 16px; border-radius: 16px; }
  .sign-ic { width: 50px; height: 50px; }
  /* phones: fittings down the left, the pipe running down between them */
  .flow { --n: 52px; --gap: 26px; grid-template-columns: minmax(0, 1fr); text-align: left; margin-bottom: 52px; }
  .flow li { display: grid; grid-template-columns: var(--n) minmax(0, 1fr); column-gap: 16px; align-items: start; }
  .flow-n { grid-row: span 2; margin: 0; font-size: 22px; }
  .flow h3 { margin-top: 12px; font-size: 20px; }
  .flow p { margin: 0; max-width: none; }
  .flow li:not(:last-child)::before { top: calc(var(--n) / 2); left: calc(var(--n) / 2); width: 24px; height: calc(100% + var(--gap)); transform: translateX(-50%); }
  .flow li:not(:last-child)::after { top: calc(var(--n) / 2); left: calc(var(--n) / 2); width: 10px; height: calc(100% + var(--gap)); margin: 0 0 0 -5px; background: repeating-linear-gradient(180deg, var(--sky) 0 22px, #7FD3F8 22px 30px); transform-origin: center top; }
  .svc-detail { padding: 44px 0; }
  .svc-row, .guide-head { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .svc-head { position: static; }
  .svc-head .ic { width: 64px; height: 64px; margin-bottom: 16px; }
  .svc-head .sum { margin-bottom: 20px; font-size: 18px; }
  .svc-head .btn { flex: 0 1 auto; }
  .svc-body { gap: 16px; }
  .svc-body .panel { padding: 26px 20px; }
  .guide li { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 18px 20px; }
  /* no overlap on phones, so a plain colour (see .quote-band.flat for why not the gradient) */
  .quote-band, .quote-band.flat { margin-top: 0; background: var(--royal); padding: 8px 0 72px; }
  /* phones: heading, then the form, then phone and email */
  .quote-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "top" "form" "more"; grid-template-rows: auto; gap: 0; }
  .reach-top .intro { margin-bottom: 20px; }
  .reach.reach-more { padding-top: 32px; }
  .equip { padding-bottom: 56px; }
  .equip-card { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 32px 20px 22px; border-radius: 22px; }
  .equip-stats { gap: 10px; }
  .equip-stats div { padding: 18px 16px 14px; }
  .equip-stats dd { font-size: 32px; }
  .equip-stats dt { font-size: 12px; letter-spacing: .06em; }
  .service-area { padding-top: 44px; }
  .ticker { margin: 26px 0 24px; }
  .area-cta { padding-bottom: 32px; }
  .area-cta .btn { font-size: 17px; padding: 15px 20px; white-space: nowrap; }
  .area-map { height: 380px; }
  /* phones keep just the number and email under the form */
  .reach .area, .reach .now, .trust { display: none; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 24px; padding-top: 40px; padding-bottom: 28px; }
  /* logo and contact get full rows so the email address doesn't break */
  .foot-brand, .foot-grid > div:nth-child(2) { grid-column: 1 / -1; }
  .reach { padding: 4px 6px 0; }
  .reach .intro { margin-bottom: 24px; }
  .reach .phone { font-size: 40px; }
  .form { padding: 24px 18px; }
  .form .row { grid-template-columns: 1fr; }
  .send { width: 100%; }
  .prose { padding: 36px 0 56px; }
}
@media (max-width: 400px) { nav .call .num { display: none; } }
/* matches the phone framing set in site.js (680 x 620) */
@media (max-width: 600px) {
  .hero .art { height: calc(100vw * 620 / 680); margin-top: 6px; }
  /* compact top so the pipe fits above the bottom bar inside Safari's shorter screen */
  .hero-copy { padding-top: 16px; }
  .hero .where { font-size: 14px; margin-bottom: 8px; }
  .hero h1 { font-size: clamp(32px, 9.6vw, 40px); line-height: 1.02; }
  .hero .lede { font-size: 16px; line-height: 1.5; margin: 10px auto 16px; }
  .hero .btn { font-size: 17px; padding: 14px 24px; }
}

/* ---------- motion ----------
   Everything here is skipped for visitors who ask their device for reduced motion.
   Scroll reveals: site.js adds .reveal only to things below the fold at load, then .in as each scrolls into view. */
@media (prefers-reduced-motion: no-preference) {
  @keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
  @keyframes pour-in { from { opacity: 0; transform: translateX(90px); } to { opacity: 1; transform: none; } }
  @keyframes splash-in { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
  @keyframes ripple { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07, 1.12); } }
  @keyframes sway { from { transform: translateX(0); } to { transform: translateX(30px); } }
  @keyframes pin-pop { from { opacity: 0; transform: translateY(-14px) scale(.6); } to { opacity: 1; transform: none; } }

  /* page load: headline, text and buttons rise in turn */
  .hero-copy > *, .page-hero .wrap > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-copy > :nth-child(2), .page-hero .wrap > :nth-child(2) { animation-delay: .1s; }
  .hero-copy > :nth-child(3), .page-hero .wrap > :nth-child(3) { animation-delay: .2s; }
  .hero-copy > :nth-child(4), .page-hero .wrap > :nth-child(4) { animation-delay: .3s; }
  /* home drawing: pipe and pour slide in, the splash lands, the water keeps drifting */
  .hero .art .pour { animation: pour-in 1.1s cubic-bezier(.2, .7, .2, 1) .25s both; }
  .hero .art .splash { transform-box: fill-box; transform-origin: 50% 80%; animation: splash-in .6s cubic-bezier(.3, 1.4, .5, 1) 1.1s both, ripple 3.2s ease-in-out 1.8s 1; }
  /* every looping animation stops within 5 seconds (WCAG 2.2.2); only the town ticker keeps moving, and it has a pause button */
  .hero .art .sway { animation: sway 2.3s ease-in-out 2 alternate; }
  .hero .art .sway-2 { animation-delay: .2s; }
  .hero .art .sway-3 { animation-delay: .4s; }

  /* scroll reveals */
  .reveal { opacity: 0; transform: translateY(32px); transition: opacity .75s cubic-bezier(.2, .7, .2, 1), transform .75s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--delay, 0s); }
  .reveal.in { opacity: 1; transform: none; }

  /* how it works: the pipe starts empty and fills step by step as it scrolls in, then the water keeps moving */
  @keyframes flow-x { to { background-position: 30px 0; } }
  @keyframes flow-y { to { background-position: 0 30px; } }
  .flow li:not(:last-child)::after { animation: flow-x 1.1s linear 4; }
  .flow.reveal:not(.in) li::after { transform: scaleX(0); }
  @media (max-width: 900px) {
    .flow li:not(:last-child)::after { animation-name: flow-y; }
    .flow.reveal:not(.in) li::after { transform: scaleY(0); }
  }
  /* a soft ring pulsing out of the Call button */
  @keyframes ring { from { box-shadow: 0 10px 24px rgba(10, 24, 70, .25), 0 0 0 0 rgba(255, 255, 255, .55); } to { box-shadow: 0 10px 24px rgba(10, 24, 70, .25), 0 0 0 16px rgba(255, 255, 255, 0); } }
  .btn.pulse { animation: ring 2.2s ease-out 2; }
  @media (hover: hover) {
    .sign-grid li { transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s; }
    .sign-grid li:hover { transform: translateY(-4px); box-shadow: 0 1px 0 #D3E4F1, 0 18px 34px rgba(20, 52, 90, .12); }
    .sign-ic { transition: transform .35s cubic-bezier(.3, 1.4, .5, 1); }
    .sign-grid li:hover .sign-ic { transform: rotate(-8deg) scale(1.08); }
  }

  /* map pins drop in one after another when the map appears */
  .cf-pin img { animation: pin-pop .5s cubic-bezier(.3, 1.4, .5, 1) both; }

  /* hover, only on devices with a real pointer so phones don't get stuck mid-hover */
  @media (hover: hover) {
    .svc { transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s; }
    .svc:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line), 0 22px 40px rgba(20, 52, 90, .13); }
    .svc-photo, .svc-head-photo { transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
    .svc:hover .svc-photo { transform: scale(1.05); }
    .btn, .send, nav .call { transition: background .15s, color .15s, transform .2s, box-shadow .2s; }
    .btn:hover, .send:hover, nav .call:hover { transform: translateY(-2px); }
    .guide li { transition: background .2s; }
    .guide li:hover { background: var(--sky-pale); }
  }
}