/* Piedmont Well and Water Services. Hand-built stylesheet. Bytes WebWorks.
   1.0.8: "Sign Shop" look. Headings lettered like the hand-painted logo: Alfa Slab One on painted
   plates, Libre Franklin for reading. Barn red and pine on white. */

/* ---------------------------------------------------------------- fonts */
@font-face { font-family: "Alfa Slab One"; src: url("../fonts/alfa-slab-one.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Libre Franklin"; src: url("../fonts/libre-franklin-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Libre Franklin"; src: url("../fonts/libre-franklin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Libre Franklin"; src: url("../fonts/libre-franklin-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Libre Franklin"; src: url("../fonts/libre-franklin-800.woff2") format("woff2"); font-weight: 700 800; font-style: normal; font-display: swap; }

/* ---------------------------------------------------------------- tokens */
:root {
	--paper: #FFFFFF;
	--paper-2: #F4F5F3;
	--card: #F7F8F6;
	--ink: #1C1C1A;
	--ink-2: #4F4D48;
	--clay: #9A3B1F;
	--clay-d: #7C2E17;
	--pine: #24412F;
	--pine-d: #1A3123;
	--letter: #F2ECDF;
	--wash: #E8CDB8;
	--steel: #8B9496;
	--rule: #CBD1CD;
	--water: #3F6E85;
	--water-l: #9CC0CF;
	--on-dark: #F2ECDF;
	--on-dark-2: #D6DDD8;
	--display: "Alfa Slab One", "Rockwell", "Roboto Slab", Georgia, serif;
	--text: "Libre Franklin", "Franklin Gothic Book", "Segoe UI", system-ui, sans-serif;
	--mono: "Libre Franklin", "Segoe UI", system-ui, sans-serif;
	--wrap: 1240px;
	--gut: clamp(16px, 4vw, 40px);
	--edge: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut)));
	--hdr: 84px;
	--radius: 3px;
	--radius-lg: 3px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 1.125rem; line-height: 1.62; font-feature-settings: "kern"; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; }
picture { display: block; }
picture img { display: block; width: 100%; height: auto; }
a { color: var(--clay); text-decoration-line: underline; text-decoration-thickness: 1px; text-underline-offset: .16em; transition: color .2s, text-decoration-thickness .2s; }
a:hover { color: var(--clay-d); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; }
.page-head :focus-visible, .home-hero .door :focus-visible, .site-footer :focus-visible, .close-band :focus-visible, .creds-band :focus-visible, .inline-cta :focus-visible, .call-card :focus-visible { outline-color: var(--letter); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 .5em; color: inherit; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: .005em; }
h1 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); line-height: 1.06; text-wrap: balance; }
h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.1; text-wrap: balance; }
h3 { font-family: var(--text); font-weight: 800; font-size: 1.2rem; line-height: 1.3; text-wrap: balance; }
.nw { white-space: nowrap; }
ul, ol { padding-left: 1.2em; }
.mono { font-variant-numeric: tabular-nums; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.wrap.narrow { max-width: 760px; }
.sr-only, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--ink); color: var(--paper); padding: 10px 16px; font-weight: 800; text-decoration: none; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }
.hp { position: absolute; left: -9999px; }

.kicker { margin: 0 0 .8rem; font-weight: 600; font-size: 1rem; color: var(--ink-2); }
.lead { font-size: clamp(1.15rem, 1.5vw, 1.3rem); line-height: 1.5; max-width: 36em; }
.section-head { margin-bottom: clamp(22px, 3vw, 34px); max-width: 46rem; }
.section-head h2 { margin: 0; }
.section-head p { margin: 1rem 0 0; color: var(--ink-2); }
.arrow-link { font-weight: 800; }
.arrow-link.light { color: var(--letter); }

/* the sign plate: section titles lettered on a painted panel, like the logo and a truck door */
.plate, .section-head h2, .svc-index h2, .faqs-intro h2, .words-head h2, .region-text h2, .related-title, .creds-band h2, .tools-head h2 {
	display: inline-block; max-width: 100%; margin: 0; padding: .3em .55em .24em; border-radius: var(--radius);
	background: var(--pine); color: var(--letter); font-family: var(--display); font-weight: 400;
	font-size: clamp(1.75rem, 2.8vw, 2.5rem); line-height: 1.08; text-wrap: balance;
	/* Balanced lines centered on the plate, like sign lettering, so a two-line title has even margins. */
	text-align: center;
}
.creds-band h2 { background: var(--clay); }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 52px; padding: .7em 1.25em; border: 2px solid var(--ink); border-radius: var(--radius); background: transparent; color: var(--ink); font: 800 1.04rem/1.1 var(--text); text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .15s; white-space: nowrap; }
.btn:hover { background: var(--ink); color: var(--paper); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-call { background: var(--clay); border-color: var(--clay); color: #fff; }
.btn-call:hover { background: var(--clay-d); border-color: var(--clay-d); color: #fff; }
.btn-k { font-weight: 400; }
.btn-big { min-height: 60px; font-size: 1.16rem; padding: .8em 1.4em; }
.btn-ghost { background: transparent; }
.btn-paper { background: var(--letter); border-color: var(--letter); color: var(--ink); }
.btn-paper:hover { background: transparent; color: var(--letter); border-color: var(--letter); }
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: var(--clay); border-color: var(--clay); }
.head-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6rem 0 0; }

/* ---------------------------------------------------------------- top bar: referral offer and licenses */
.topbar { background: var(--pine); color: var(--on-dark); font-size: .9rem; }
.topbar-row { display: flex; justify-content: space-between; align-items: center; gap: 8px 28px; min-height: 40px; }
.topbar p { margin: 0; }
.topbar-refer a { display: inline-block; padding: 9px 0; color: var(--letter); font-weight: 800; text-decoration-color: rgba(242, 236, 223, .5); }
.topbar-refer a:hover { color: var(--paper); text-decoration-color: var(--paper); }
.topbar-creds { display: flex; gap: 0 22px; color: var(--on-dark-2); }
.topbar-creds > span { white-space: nowrap; }
.topbar :focus-visible { outline-color: var(--letter); }
@media (max-width: 1100px) { .topbar-creds > span + span { display: none; } }
@media (max-width: 760px) {
	.topbar-row { justify-content: center; }
	.topbar-creds { display: none; }
	.topbar-refer a { padding: 12px 0; }
}

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--rule); transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 4px 14px rgba(28, 28, 26, .08); }
.header-row { display: flex; align-items: center; gap: 28px; min-height: var(--hdr); transition: min-height .25s var(--ease); }
.site-header.is-scrolled .header-row { min-height: 68px; }
.brand { display: block; flex: none; width: 168px; line-height: 0; transition: width .25s var(--ease); }
.site-header.is-scrolled .brand { width: 140px; }
.brand img { width: 100%; height: auto; }
.primary-nav { flex: 1; display: flex; justify-content: flex-end; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: static; }
.nav-top { display: flex; align-items: center; }
.nav-link { display: block; padding: 10px 10px; color: var(--ink); font-weight: 600; font-size: 1.04rem; text-decoration: none; white-space: nowrap; }
.nav-link:hover, .nav-item.is-open .nav-link { color: var(--clay); }
.nav-item.is-current > .nav-link, .nav-item.is-current > .nav-top .nav-link { box-shadow: inset 0 -3px 0 var(--clay); }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 40px; margin-left: -6px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; border-radius: var(--radius); }
.nav-toggle .caret { transition: transform .25s var(--ease); }
.nav-item.is-open .nav-toggle .caret { transform: rotate(180deg); }
.nav-panel-foot { display: none; }
.header-call { display: flex; align-items: center; flex: none; }
.header-call-num { display: inline-block; padding: 6px 0; font-family: var(--display); font-size: 1.6rem; color: var(--clay); text-decoration: none; white-space: nowrap; letter-spacing: .01em; }
.header-call-num:hover { color: var(--clay-d); text-decoration: none; }
.menu-toggle { display: none; }

/* mega panels (desktop) */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); box-shadow: 0 18px 30px rgba(28, 28, 26, .1); visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s; }
.nav-item.is-open .mega { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .25s var(--ease); }
.mega-inner { max-width: var(--wrap); margin: 0 auto; padding: 32px var(--gut) 36px; display: grid; grid-template-columns: 240px 1fr; gap: 40px; max-height: calc(100vh - var(--hdr) - 60px); overflow: auto; }
.mega-head a { font-family: var(--display); font-size: 1.5rem; color: var(--ink); text-decoration: none; line-height: 1.1; }
.mega-head a:hover { color: var(--clay); }
.mega-head p { margin: .8rem 0 0; font-size: .98rem; color: var(--ink-2); }
.mega-cols { list-style: none; margin: 0; padding: 0; }
.mega-services .mega-cols, .mega-resources .mega-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; }
.mega-services .mega-group, .mega-resources .mega-group { border-top: 1px solid var(--rule); padding: 12px 0; }
.mega-group-link { display: block; font-weight: 800; color: var(--ink); text-decoration: none; }
.mega-group-link:hover { color: var(--clay); }
.mega-desc { display: block; font-size: .94rem; color: var(--ink-2); line-height: 1.35; margin-top: 2px; }
.mega-areas .mega-cols { columns: 4 200px; column-gap: 32px; }
.mega-areas .mega-group { break-inside: avoid; margin-bottom: 22px; }
.mega-areas .mega-group-link { font-family: var(--display); font-size: 1.15rem; color: var(--ink); border-bottom: 1px solid var(--rule); padding-bottom: 6px; margin-bottom: 6px; }
.mega-list { list-style: none; margin: 0; padding: 0; }
.mega-list a { display: block; padding: 3px 0; color: var(--ink); text-decoration: none; font-size: .98rem; }
.mega-list a:hover { color: var(--clay); text-decoration: underline; }

@media (max-width: 1240px) {
	.brand { width: 150px; }
	.nav-link { padding: 10px 7px; font-size: 1rem; }
	.header-call-num { font-size: 1.45rem; }
	.header-row { gap: 16px; }
}

/* mobile menu (tablets and small laptops too) */
@media (max-width: 1100px) {
	:root { --hdr: 68px; }
	.brand { width: 140px; }
	.header-row { gap: 12px; }
	.header-call { margin-left: auto; }
	.header-call-num { font-size: 1.4rem; }
	.menu-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 0 10px; border: 2px solid var(--ink); border-radius: var(--radius); background: transparent; color: var(--ink); font: 800 .98rem var(--text); cursor: pointer; order: 3; }
	.menu-bars { display: grid; gap: 4px; width: 18px; }
	.menu-bars span { height: 2px; background: currentColor; transition: transform .25s var(--ease), opacity .2s; }
	.menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
	.menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(2) { opacity: 0; }
	.menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
	.primary-nav { position: fixed; left: 0; right: 0; top: var(--nav-top, 70px); bottom: 0; background: var(--paper); display: block; overflow-y: auto; padding: 8px var(--gut) 120px; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s; border-top: 1px solid var(--rule); }
	.primary-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .25s var(--ease); }
	.nav-list { display: block; }
	.nav-item { border-bottom: 1px solid var(--rule); }
	.nav-top { justify-content: space-between; }
	.nav-link { padding: 16px 0; font-family: var(--display); font-size: 1.35rem; font-weight: 400; }
	.nav-item.is-current > .nav-link, .nav-item.is-current > .nav-top .nav-link { box-shadow: none; color: var(--clay); }
	.nav-toggle { width: 52px; height: 52px; margin: 0; border: 2px solid var(--ink); }
	.mega { position: static; visibility: visible; opacity: 1; transform: none; box-shadow: none; border: 0; background: transparent; display: none; }
	.nav-item.is-open .mega { display: block; }
	.mega-inner { display: block; padding: 0 0 18px; max-height: none; overflow: visible; }
	.mega-head { display: none; }
	.mega-services .mega-cols, .mega-resources .mega-cols { display: block; }
	.mega-areas .mega-cols { columns: 2 140px; }
	.mega-group-link { padding: 8px 0; }
	.nav-panel-foot { display: block; padding: 24px 0; }
	.nav-panel-foot .nav-panel-call { display: flex; justify-content: center; padding: 16px; background: var(--clay); color: #fff; font-family: var(--display); font-size: 1.5rem; text-decoration: none; border-radius: var(--radius); }
	.nav-panel-foot p { margin: 12px 0 0; font-size: .95rem; color: var(--ink-2); text-align: center; }
	body.menu-open { overflow: hidden; }
}
@media (max-width: 960px) {
	.header-call { display: none; }
	.menu-toggle { margin-left: auto; }
}
@media (max-width: 420px) {
	.brand { width: 126px; }
	.menu-word { display: none; }
}

/* call bar on phones */
.callbar { display: none; }
@media (max-width: 960px) {
	.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1.55fr 1fr; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px; background: var(--paper); border-top: 1px solid var(--rule); box-shadow: 0 -4px 14px rgba(28, 28, 26, .08); }
	.callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: var(--radius); font-weight: 800; font-size: 1.08rem; text-decoration: none; }
	.callbar-call { background: var(--clay); color: #fff; }
	.callbar-call span { font-family: var(--display); font-size: 1.3rem; letter-spacing: .01em; }
	.callbar-nw { background: var(--paper); color: var(--ink); border: 2px solid var(--ink); }
	body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}

/* ---------------------------------------------------------------- page head: the truck door */
.page-head { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--clay); color: var(--letter); }
.page-head.has-art { grid-template-columns: minmax(0, 57fr) minmax(0, 43fr); }
.door { padding: clamp(32px, 4.5vw, 60px) 0 clamp(40px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.door-in { padding-left: var(--edge); padding-right: clamp(24px, 4vw, 56px); }
.page-head:not(.has-art) .door-in { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.page-head h1 { color: var(--letter); max-width: 16em; margin-bottom: .4em; }
.page-head h1.h1-long { font-size: clamp(2.1rem, 3.8vw, 3.1rem); }
.page-head h1.h1-xlong { font-size: clamp(2rem, 3.4vw, 2.8rem); }
/* Small phones (and large text): town names such as "Winston-Salem, NC" may wrap instead of running off. */
@media (max-width: 380px) {
	.page-head h1, .page-head h1.h1-long, .page-head h1.h1-xlong { font-size: 1.95rem; }
	.page-head h1 .nw { white-space: normal; }
}
.page-head .lead { color: var(--letter); margin: 0; }
.page-head .lead a { color: var(--letter); }
.page-head .kicker, .page-head .post-line { color: var(--letter); opacity: .92; }
.page-head .btn-call, .home-hero .btn-call { background: var(--letter); border-color: var(--letter); color: var(--ink); }
.page-head .btn-call:hover, .home-hero .btn-call:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.page-head .btn-ghost { border-color: var(--letter); color: var(--letter); }
.page-head .btn-ghost:hover { background: var(--letter); color: var(--ink); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0 0 20px; padding: 0; font-size: .94rem; }
.crumbs li { display: inline-flex; align-items: center; color: var(--letter); opacity: .92; white-space: nowrap; }
.crumbs li:not(:last-child)::after { content: "/"; margin: 0 10px; opacity: .7; }
.crumbs li:last-child { white-space: normal; }
.crumbs a { display: inline-block; min-width: 44px; padding: 10px 0; color: var(--letter); }
@media (max-width: 760px) {
	/* Phones: Home, the page above this one, and this page (cut short; the heading below names it). */
	.crumbs ol { flex-wrap: nowrap; margin-bottom: 12px; }
	.crumbs li:not(:first-child):not(:nth-last-child(-n+2)) { display: none; }
	.crumbs li:last-child { display: block; flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 10px 0; }
}
.crumbs a:hover { color: var(--paper); }
.head-art { color: var(--ink); background: var(--paper-2); display: flex; align-items: center; justify-content: center; padding: clamp(24px, 3vw, 44px); min-width: 0; }
.head-art.art-photo { padding: 0; }
.head-art.art-photo .photo, .head-art.art-photo picture { width: 100%; height: 100%; }
.head-art.art-photo img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; border-radius: 0; }
.head-art.art-spot { background: var(--card); }
.spot-frame { aspect-ratio: 1 / 1; width: min(100%, 440px); position: relative; }
.head-art.art-spot { padding: clamp(16px, 2vw, 28px); }
.spot-frame svg { width: 100%; height: auto; display: block; }
.head-art .map-block { width: 100%; max-width: 560px; }
@media (max-width: 900px) {
	.page-head.has-art { grid-template-columns: minmax(0, 1fr); }
	.head-art.art-spot { display: none; }
	/* Contact on phones: the number and the form come straight after the heading. */
	.head-contact .head-art { display: none; }
	.head-art.art-photo img { min-height: 0; aspect-ratio: 16 / 10; height: auto; }
	.head-art { padding: 20px var(--gut) 28px; }
	.door-in { padding-left: var(--gut); padding-right: var(--gut); }
}

/* map block */
.map-block { margin: 0; background: var(--paper); border-radius: var(--radius); overflow: hidden; }
.map-frame { line-height: 0; background: var(--paper); }
.map-block figcaption { padding: 14px 18px 18px; border-top: 1px solid var(--rule); }
.map-cap { font-size: .94rem; font-style: italic; color: var(--ink-2); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; margin: 0 0 12px; }
.facts dt { font-size: .92rem; font-weight: 600; color: var(--ink-2); }
.facts dd { margin: 0; font-weight: 800; font-size: 1rem; line-height: 1.3; }
.map-link { font-size: .95rem; font-weight: 800; }
.region-map .county { fill: var(--card); stroke: var(--steel); stroke-linejoin: round; }
.region-map .county.state-va { fill: #E3E8E2; }
.region-map .county.is-focus { fill: var(--wash); stroke: var(--clay); }
.region-map .county-label { fill: var(--ink-2); font-family: var(--text); font-weight: 600; letter-spacing: .1em; opacity: .6; }
.region-map .towns circle { fill: var(--ink); }
.region-map .route { stroke: var(--clay); fill: none; stroke-linecap: round; }
.region-map .route-label { fill: var(--clay); font-family: var(--text); font-weight: 800; paint-order: stroke; stroke: var(--paper); stroke-width: 5px; }
.region-map .base rect { fill: var(--pine); stroke: var(--paper); stroke-width: 2; }
.region-map .focus-dot { fill: var(--clay); stroke: var(--paper); stroke-width: 2; }
.region-map .place { font-family: var(--text); font-weight: 600; letter-spacing: -.015em; fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 5px; stroke-linejoin: round; }
.region-map .radius { fill: none; stroke: var(--clay); stroke-dasharray: 4 6; opacity: .6; }

/* ---------------------------------------------------------------- home: hero */
.home-hero { display: grid; grid-template-columns: minmax(0, 57fr) minmax(0, 43fr); background: var(--clay); color: var(--letter); }
.home-hero .door { padding-block: clamp(44px, 5vw, 72px); }
.home-hero h1, .door-more { font-family: var(--display); font-weight: 400; font-size: clamp(2.3rem, 3.6vw, 3rem); line-height: 1.1; margin: 0; color: var(--letter); }
.home-hero h1 span, .door-more span { display: block; }
/* The headline runs three lines; the trade lines under it sit a size down so the headline reads first. */
.door-more { margin-top: 16px; font-size: clamp(1.45rem, 2.2vw, 1.95rem); line-height: 1.15; }
.door-rule { height: 5px; width: 120px; background: var(--letter); margin: 28px 0 22px; border-radius: var(--radius); }
.home-hero .lead { color: var(--letter); margin: 0; max-width: 27em; }
.door-phone { display: inline-block; margin-top: 26px; padding: 5px 0; font-family: var(--display); font-size: clamp(2.2rem, 3.8vw, 3.4rem); line-height: 1; color: var(--letter); text-decoration: none; white-space: nowrap; }
.door-phone:hover { color: var(--paper); text-decoration: none; }
.door-hours { margin: 10px 0 0; font-size: 1rem; }
.home-hero .hero-art { background: var(--card); position: relative; display: flex; align-items: flex-end; min-width: 0; }
.hero-well { margin: 0; width: 100%; }
.hero-well .well-svg { display: block; }
.hero-how { position: absolute; right: 20px; bottom: 18px; z-index: 2; padding: 11px 12px; border-radius: var(--radius); background: rgba(255, 255, 255, .92); color: var(--ink); font-weight: 600; font-size: .98rem; }
.hero-how:hover { color: var(--clay); }
.home-hero .hero-photo { width: 100%; height: 100%; }
.home-hero .hero-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
	.home-hero { grid-template-columns: minmax(0, 1fr); }
	.home-hero .door-in { padding-left: var(--gut); padding-right: var(--gut); }
	.hero-how { right: 12px; bottom: 12px; font-size: .94rem; }
}

/* ---------------------------------------------------------------- home: no water first */
.first { padding: clamp(52px, 7vw, 88px) 0 clamp(44px, 6vw, 72px); }
.first-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 210px; gap: 36px; margin: 32px 0 0; padding: 0; list-style: none; align-items: start; }
.first-n { display: block; font-family: var(--display); font-size: clamp(3.2rem, 5vw, 4.4rem); line-height: 1; color: var(--clay); }
.first-grid h3 { margin: 10px 0 6px; font-size: 1.25rem; }
.first-grid p { margin: 0; color: var(--ink-2); max-width: 22em; }
.first-art { margin-top: -10px; }
.first-call { margin: 30px 0 0; font-size: 1.1rem; max-width: 52em; }
.first-call strong { font-weight: 800; }
@media (max-width: 900px) { .first-grid { grid-template-columns: 1fr; gap: 24px; } .first-art { display: none; } }

/* ---------------------------------------------------------------- services board (home, services hub, 404) */
.svc-index { padding: clamp(52px, 7vw, 88px) 0; background: var(--paper-2); }
.fix-grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); margin-top: 34px; align-items: start; }
.fix-art { position: sticky; top: calc(var(--hdr) + 24px); }
.svc-index-art { position: relative; aspect-ratio: 1 / 1; background: var(--paper); border-radius: var(--radius); overflow: hidden; }
.svc-art { position: absolute; inset: 9%; opacity: 0; transform: scale(.96); transition: opacity .35s var(--ease), transform .45s var(--ease); }
.svc-art.is-on { opacity: 1; transform: none; }
.art-cap { margin: 10px 0 0; font-size: .94rem; font-style: italic; color: var(--ink-2); }
@media (hover: none) { .art-cap { display: none; } }
.svc-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.svc-row a { display: flex; align-items: baseline; gap: 10px; padding: 15px 2px; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
.svc-row .mini { display: none; }
.svc-name { font-weight: 800; font-size: 1.16rem; white-space: nowrap; }
.svc-dots { flex: 1; min-width: 20px; border-bottom: 2px dotted #9AA09C; transform: translateY(-5px); }
.svc-sym { font-style: italic; color: var(--ink-2); text-align: right; font-size: 1rem; }
.svc-row a:hover .svc-name, .svc-row a:focus-visible .svc-name, .svc-row.is-on .svc-name { color: var(--clay); }
.board-note { margin: 24px 0 0; font-size: 1.05rem; }
.board-note strong { font-weight: 800; }
@media (max-width: 900px) {
	.fix-grid { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 24px; }
	.fix-art { display: none; }
	.svc-row a { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 2px 14px; align-items: center; padding: 12px 0; }
	.svc-row .mini { display: block; grid-row: span 2; width: 56px; padding: 4px; background: var(--paper); border-radius: var(--radius); }
	.svc-dots { display: none; }
	.svc-name { white-space: normal; font-size: 1.08rem; }
	.svc-sym { text-align: left; font-size: .98rem; }
}

/* spot drawings */
.spot { display: block; width: 100%; height: auto; }
.spot .s-ink, .spot .s-line { stroke: var(--ink); stroke-width: 4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.spot .s-thin { stroke: var(--ink); stroke-width: 2; fill: none; stroke-linecap: round; }
.spot .s-fill { fill: var(--card); stroke: var(--ink); stroke-width: 4; stroke-linejoin: round; }
.spot .s-paper { fill: var(--card); }
.spot .s-ink-fill { fill: var(--ink); }
.spot .s-clay { fill: var(--clay); stroke: var(--ink); stroke-width: 3; }
.spot .s-clay-line { stroke: var(--clay); stroke-width: 4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.spot .s-water { fill: var(--water-l); }
.spot .s-water-line { stroke: var(--water); stroke-width: 4; fill: none; stroke-linecap: round; stroke-dasharray: 8 8; }
.spot .s-ground { stroke: var(--ink); stroke-width: 4; }
.spot .s-hatch { stroke: var(--ink-2); stroke-width: 2; }
.spot .s-rock { fill: #CFC6B3; }
.spot .s-bore { fill: #8E8A80; }

/* well cutaway drawing (hero and the explorer tool) */
.well-svg { display: block; width: 100%; height: auto; }
.well-svg .sky { fill: var(--card); }
.well-svg .soil { fill: #6E4A33; }
.well-svg .clay { fill: #B8603F; }
.well-svg .clay-dots .dot, .well-svg .dot { fill: #8C4127; }
.well-svg .rock { fill: #8E8A80; }
.well-svg .hatch { stroke: #6F6B62; stroke-width: 1.4; fill: none; }
.well-svg .fracture { stroke: #514E47; stroke-width: 2.4; fill: none; stroke-linecap: round; }
.well-svg .ground { stroke: var(--ink); stroke-width: 3; }
.well-svg .grass path, .well-svg .grass { stroke: var(--pine); stroke-width: 2; fill: none; }
.well-svg .layer-label { font-family: var(--text); font-weight: 600; font-size: 13px; letter-spacing: .12em; fill: rgba(255, 255, 255, .88); }
.well-svg .frost { stroke: rgba(255, 255, 255, .7); stroke-width: 1.5; stroke-dasharray: 6 6; }
.well-svg .frost-label, .well-svg .static-label { font-family: var(--text); font-weight: 600; font-size: 13px; fill: rgba(255, 255, 255, .92); letter-spacing: .04em; }
.hero-well .layer-label, .hero-well .frost-label, .hero-well .static-label, .hero-well .markers { display: none; }
.well-svg .bore { fill: #3A3833; }
.well-svg .water { fill: var(--water); }
.well-svg .water-line { stroke: var(--water-l); stroke-width: 2; }
.well-svg .casing { fill: #545B5D; stroke: var(--ink); stroke-width: 2.5; }
.well-svg .casing-edge { stroke: var(--ink); stroke-width: 3; }
.well-svg .cap, .well-svg .cap-band { fill: var(--clay); stroke: var(--ink); stroke-width: 2.5; }
.well-svg .pitless { fill: var(--wash); stroke: var(--ink); stroke-width: 2; }
.well-svg .pipe { stroke: var(--ink); stroke-width: 7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.well-svg .drop { stroke-width: 8; }
.well-svg .wire { stroke: var(--clay); stroke-width: 2; fill: none; }
.well-svg .flow { stroke: var(--water-l); stroke-width: 3; fill: none; stroke-dasharray: 10 14; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.well-svg .pump { fill: var(--wash); stroke: var(--ink); stroke-width: 2.5; }
.well-svg .pump-bands { stroke: var(--ink); stroke-width: 2; }
.well-svg .house { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.well-svg .house-floor { stroke: var(--ink); stroke-width: 3; }
.well-svg .tank { fill: #4F7385; stroke: var(--ink); stroke-width: 2.5; }
.well-svg .tank-seam { stroke: var(--ink); stroke-width: 2; }
.well-svg .switch, .well-svg .control { fill: #D9D2C2; stroke: var(--ink); stroke-width: 2; }
.well-svg .gauge { fill: var(--card); stroke: var(--ink); stroke-width: 2; }
.well-svg .needle { stroke: var(--clay); stroke-width: 2.5; stroke-linecap: round; transform-origin: 600px 176px; transform: rotate(-80deg); transition: transform 1.4s var(--ease); }
.well-svg .treat { fill: #CFC6B3; stroke: var(--ink); stroke-width: 2; }
.well-svg .seep { stroke: var(--water-l); stroke-width: 2.5; fill: none; stroke-linecap: round; opacity: .9; }
.well-svg .fracture-hit { stroke: transparent; stroke-width: 14; fill: none; }
.well-svg .markers circle { fill: var(--ink); stroke: var(--card); stroke-width: 2; transition: fill .2s; }
.well-svg .markers text { fill: var(--card); font-family: var(--text); font-size: 13px; font-weight: 800; text-anchor: middle; pointer-events: none; }
.well-svg .markers g.is-on circle { fill: var(--clay); }
.well-svg .part { transition: opacity .25s; }
.tool-diagram.has-focus .well-svg .part { opacity: .35; }
.tool-diagram.has-focus .well-svg .part.is-on { opacity: 1; }
.well-svg.is-running .needle, .hero-well.is-in .needle { transform: rotate(10deg); }
.well-svg.is-running .flow { opacity: 1; animation: flow 1.1s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -48; } }
.js .hero-well .drop, .js .hero-well .line-house { stroke-dasharray: 900; stroke-dashoffset: 900; }
.js .hero-well.is-in .drop, .js .hero-well.is-in .line-house { animation: draw 1.8s var(--ease) .2s forwards; }
.hero-well.is-in .flow { opacity: 1; animation: flow 1.2s linear 2s infinite; }
.js .hero-well .water { transform-origin: 200px 860px; transform: scaleY(.2); }
.js .hero-well.is-in .water { animation: fill 1.6s var(--ease) .1s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fill { to { transform: scaleY(1); } }

/* ---------------------------------------------------------------- home: photo row */
.photo-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 16px; padding-top: 16px; }
.photo-row figure { margin: 0; min-width: 0; }
.photo-row img { width: 100%; height: 340px; object-fit: cover; border-radius: var(--radius); }
.photo-row figcaption { margin-top: 8px; font-size: .94rem; font-style: italic; color: var(--ink-2); }
@media (max-width: 760px) {
	.photo-row { grid-template-columns: 1fr 1fr; }
	.photo-row figure:first-child { grid-column: 1 / -1; }
	.photo-row img { height: 200px; }
}

/* ---------------------------------------------------------------- home: check it yourself */
.checks { padding: clamp(56px, 7vw, 92px) 0 clamp(44px, 6vw, 80px); }
.checks .section-head p { max-width: 40em; }
.home-tools-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.home-tools-grid .tool-tank { grid-template-columns: 1fr; }
.more-tools { margin: 26px 0 0; }
@media (max-width: 1000px) { .home-tools-grid { grid-template-columns: 1fr; gap: 20px; } }

/* ---------------------------------------------------------------- home: run by a tradesman */
.trade { border-top: 1px solid var(--rule); }
.trade-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 64px); align-items: center; padding-top: clamp(56px, 7vw, 92px); padding-bottom: clamp(56px, 7vw, 92px); }
.trade-text > p { margin: 20px 0 0; max-width: 34em; }
.trade-quote { margin: 28px 0 0; font-size: 1.32rem; line-height: 1.45; font-style: italic; max-width: 30em; }
.trade-quote p { margin: 0; }
.trade-quote footer { margin-top: 10px; font-style: normal; font-weight: 600; font-size: 1rem; color: var(--ink-2); }
.trade-papers { margin: 26px 0 0; font-size: 1rem; color: var(--ink-2); line-height: 1.8; }
.trade-figure { margin: 0; min-width: 0; }
.trade-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 860px) { .trade-grid { grid-template-columns: 1fr; } .trade-figure { order: -1; } .trade-figure img { aspect-ratio: 16 / 10; } }

/* ---------------------------------------------------------------- article */
.article-wrap { padding: clamp(44px, 6vw, 80px) 0; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 80px); align-items: start; }
.article-grid.no-aside { grid-template-columns: minmax(0, 1fr); }
.prose { max-width: 41rem; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: 2em 0 .5em; font-size: clamp(1.6rem, 2.4vw, 2.05rem); line-height: 1.12; scroll-margin-top: calc(var(--hdr) + 20px); }
.prose h3 { margin: 1.6em 0 .4em; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--clay); font-weight: 800; }
.prose strong { font-weight: 800; }
.prose .lead-rest { font-size: 1.16rem; line-height: 1.6; margin: 0 0 1.6rem; max-width: 40em; }
.article-aside { position: relative; height: 100%; }
.aside-sticky { position: sticky; top: calc(var(--hdr) + 24px); display: grid; gap: 22px; }
.toc { border-top: 1px solid var(--ink); padding-top: 14px; }
.toc-title { display: flex; align-items: center; min-height: 44px; font-weight: 800; font-size: 1rem; color: var(--ink); margin-bottom: 6px; cursor: pointer; list-style: none; }
.toc-title::-webkit-details-marker { display: none; }
.toc-d:not([open]) .toc-title { margin-bottom: 0; }
.toc-title::after { content: " +"; color: var(--clay); }
.toc-d[open] .toc-title::after { content: ""; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc li { margin: 0; }
.toc a { display: block; padding: 9px 0; font-size: .96rem; line-height: 1.35; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); }
.toc a:hover, .toc a.is-current { color: var(--clay); }
.call-card { background: var(--pine); color: var(--letter); padding: 22px 22px 18px; border-radius: var(--radius); }
.call-card-k { font-weight: 800; font-size: 1rem; margin-bottom: 4px; }
.call-card-num { display: block; font-family: var(--display); font-size: 1.9rem; line-height: 1.1; color: var(--letter); text-decoration: none; }
.call-card-num:hover { color: var(--paper); text-decoration: none; }
.call-card-hours { font-size: .96rem; margin: 10px 0 10px; color: var(--on-dark-2); }
.call-card-cred { font-size: .88rem; margin: 0; padding-top: 10px; border-top: 1px solid rgba(242, 236, 223, .25); color: var(--on-dark-2); }
@media (max-width: 1000px) {
	.article-grid { grid-template-columns: 1fr; }
	.aside-sticky { position: static; }
	.article-aside { order: -1; }
	.article-aside .call-card { display: none; }
	.toc { border: 0; border-radius: var(--radius); padding: 14px 16px 8px; background: var(--paper-2); }
}
.inline-cta { margin: 2.2em 0; padding: 24px 26px; background: var(--clay); color: var(--letter); border-radius: var(--radius); }
.inline-cta-h { font-family: var(--display); font-size: 1.6rem; line-height: 1.1; margin-bottom: .35em; }
.inline-cta p:not(.inline-cta-h) { font-size: 1.02rem; }
.inline-cta .btn-call { margin-top: 4px; background: var(--letter); border-color: var(--letter); color: var(--ink); }
.inline-cta .btn-call:hover { background: var(--paper); border-color: var(--paper); }
.inline-figure { margin: 2em 0; }
.prose .zip-line { margin-top: 2em; padding-top: 14px; border-top: 1px solid var(--rule); font-size: 1rem; color: var(--ink-2); }
.inline-figure img { border-radius: var(--radius); }

/* ---------------------------------------------------------------- about: credentials, pull quote */
.creds-band { background: var(--pine); color: var(--letter); padding: clamp(48px, 6vw, 84px) 0; }
.creds-band p { color: var(--on-dark-2); margin-top: 18px; }
.creds-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.creds-list { margin: 0; border-top: 1px solid rgba(242, 236, 223, .45); }
.creds-list > div { display: flex; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid rgba(242, 236, 223, .25); }
.creds-list dt { font-weight: 800; }
.creds-list dd { margin: 0; color: var(--letter); white-space: nowrap; font-variant-numeric: tabular-nums; }
.creds-minor dt { font-weight: 400; color: var(--on-dark-2); }
@media (max-width: 860px) { .creds-grid { grid-template-columns: 1fr; } .creds-list > div { flex-direction: column; gap: 2px; } }
.pull { padding: clamp(44px, 6vw, 76px) 0; }
.pull-quote { margin: 0 auto; max-width: 50rem; }
.pull-quote blockquote { margin: 0; }
.pull-quote blockquote::before { content: "\201C"; display: block; font-family: var(--display); font-size: 5rem; line-height: .7; color: var(--clay); margin-bottom: -4px; }
.pull-quote p { font-size: clamp(1.4rem, 2.3vw, 1.85rem); line-height: 1.4; font-style: italic; margin: 0; }
.pull-quote figcaption { margin-top: 14px; font-weight: 600; color: var(--ink-2); }

/* ---------------------------------------------------------------- tools */
.tool-band { padding: clamp(44px, 6vw, 80px) 0; }
.tool-band.alt { background: var(--paper-2); }
.tool { background: var(--paper-2); padding: clamp(22px, 3vw, 34px); position: relative; border-radius: var(--radius); }
.tool-band.alt .tool { background: var(--paper); }
.tool-head { max-width: 44rem; margin-bottom: 20px; }
.tool-kicker { display: none; }
.tool-title { font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 2.5vw, 2.05rem); line-height: 1.1; margin: 0 0 .45em; }
.tool-head p:last-child { color: var(--ink-2); font-size: 1.02rem; margin: 0; }
.btn-choice { background: var(--paper); min-width: 150px; }
.btn-choice:hover, .btn-choice.is-picked { background: var(--ink); color: var(--paper); }

.nw-steps { list-style: none; margin: 0; padding: 0; }
.js .nw-step[data-later] { display: none; }
html:not(.js) .nw-actions { display: none; }
.nw-step noscript p { margin: 6px 0 0; color: var(--ink-2); }
.nw-step { border-top: 1px solid var(--rule); padding: 18px 0 20px; animation: rise .35s var(--ease); }
.nw-q { font-weight: 800; font-size: 1.2rem; display: flex; gap: 14px; align-items: baseline; margin-bottom: 6px; }
.nw-n { font-family: var(--display); color: var(--clay); font-size: 1.5rem; line-height: 1; flex: none; min-width: 22px; }
.nw-tip { color: var(--ink-2); font-size: 1rem; margin: 0 0 12px 36px; }
.nw-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-left: 36px; }
.nw-step.is-done .nw-actions button:not(.is-picked) { opacity: .6; }
.nw-result { border-top: 1px solid var(--rule); padding: 20px 0 0; animation: rise .35s var(--ease); }
.nw-says { font-size: 1.12rem; padding: 16px 18px; background: var(--wash); border-radius: var(--radius); }
.nw-cta { display: flex; flex-wrap: wrap; gap: 10px; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.tool-tank { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 12px 32px; }
.tool-tank .tool-head, .tool-tank .tank-how { grid-column: 1 / -1; }
.tank-form fieldset { border: 0; margin: 0; padding: 0; }
.tank-form legend { font-weight: 800; margin-bottom: 10px; }
.tank-options { display: flex; flex-wrap: wrap; gap: 10px; }
.tank-opt { position: relative; }
.tank-opt input { position: absolute; opacity: 0; inset: 0; }
.tank-opt span { display: inline-flex; min-height: 52px; min-width: 96px; align-items: center; justify-content: center; border: 2px solid var(--ink); border-radius: var(--radius); font-weight: 800; font-size: 1.08rem; font-variant-numeric: tabular-nums; cursor: pointer; background: var(--paper); transition: background-color .2s, color .2s; }
.tank-opt input:checked + span { background: var(--ink); color: var(--paper); }
.tank-opt input:focus-visible + span { outline: 3px solid var(--clay); outline-offset: 3px; }
.tank-custom { margin: 16px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.tank-custom label { font-weight: 800; width: 100%; }
.tool-tank .tank-cutin { width: 120px; }
.tank-out { align-self: center; text-align: center; padding: 22px 20px 18px; background: var(--paper); border-radius: var(--radius); }
.tool-band.alt .tank-out { background: var(--paper-2); }
.tank-big { font-family: var(--display); font-size: clamp(4.2rem, 8vw, 6rem); line-height: .9; margin: 0; color: var(--clay); }
.tank-unit { font-size: .36em; color: var(--ink); }
.tank-note { font-size: .95rem; color: var(--ink-2); margin: 10px 0 0; }
.tank-val.is-ticking { animation: tick .45s var(--ease); display: inline-block; }
@keyframes tick { from { transform: translateY(-14px); opacity: 0; } }
.tank-how { margin-top: 14px; border-top: 1px solid var(--rule); padding-top: 12px; }
.tank-how summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; font-weight: 800; color: var(--clay); }
@media (max-width: 760px) { .tool-tank { grid-template-columns: 1fr; } }

.diagram-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px; align-items: start; }
.diagram-art { position: relative; background: var(--card); border-radius: var(--radius); overflow: hidden; }
.diagram-run { position: absolute; right: 12px; top: 12px; min-height: 44px; background: var(--paper); }
@media (max-width: 900px) { .diagram-run { position: static; margin: 12px; width: calc(100% - 24px); } }
.diagram-run[aria-pressed="true"] { background: var(--water); border-color: var(--water); color: #fff; }
.diagram-parts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.diagram-parts li { border-bottom: 1px solid var(--rule); }
.part-btn { display: flex; gap: 14px; width: 100%; align-items: center; padding: 12px 4px; background: none; border: 0; font: 800 1.04rem var(--text); color: var(--ink); text-align: left; cursor: pointer; min-height: 48px; }
.part-btn:hover, .part-btn[aria-expanded="true"] { color: var(--clay); }
.part-n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--paper); font: 800 .8rem var(--text); flex: none; }
.part-btn[aria-expanded="true"] .part-n { background: var(--clay); }
.part-info { display: none; padding: 0 4px 14px 46px; font-size: 1rem; color: var(--ink-2); }
.part-btn[aria-expanded="true"] + .part-info { display: block; animation: rise .3s var(--ease); }
.no-js .part-info { display: block; }
@media (max-width: 900px) {
	.diagram-grid { grid-template-columns: 1fr; }
	/* The drawing shrinks to about 40% on phones, so its lettering and number markers grow to stay readable. */
	.tool-diagram .well-svg .layer-label { font-size: 24px; letter-spacing: .05em; }
	.tool-diagram .well-svg .frost-label, .tool-diagram .well-svg .static-label { font-size: 24px; }
	.tool-diagram .well-svg .markers g { transform-box: fill-box; transform-origin: center; transform: scale(1.8); }
}

.sym-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; margin-bottom: 18px; }
.sym-grid button { width: 100%; text-align: left; justify-content: flex-start; }
.sym-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 14px; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--paper); font: 600 .98rem/1.25 var(--text); color: var(--ink); cursor: pointer; text-align: left; }
.sym-btn[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.sym-swatch { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; flex: none; }
.sw-egg { background: #E2D58B; } .sw-orange { background: #C2672E; } .sw-black { background: #2E2A26; } .sw-blue { background: #4E9C93; } .sw-scale { background: #F4F1EA; } .sw-sand { background: #B49B74; } .sw-fine { background: #A9CEDB; }
.sym-panel { border-top: 1px solid var(--rule); padding-top: 16px; animation: rise .3s var(--ease); }
.sym-panel .sym-h { font-family: var(--display); font-weight: 400; font-size: 1.5rem; line-height: 1.15; margin: 0 0 .4em; }
.sym-test { padding: 12px 14px; background: var(--paper); border-radius: var(--radius); font-size: 1rem; }
.tool-band.alt .sym-test { background: var(--paper-2); }

.finder-form label { display: block; font-weight: 800; margin-bottom: 8px; }
.finder-row { display: flex; gap: 8px; }
.finder-row .btn { flex: none; background: var(--ink); color: var(--paper); }
.finder-row .btn:hover { background: var(--clay); border-color: var(--clay); }
.finder-out { margin-top: 12px; min-height: 1.5em; }
.finder-hit { display: block; padding: 14px 16px; background: var(--paper); border-left: 6px solid var(--pine); border-radius: var(--radius); text-decoration: none; color: var(--ink); animation: rise .3s var(--ease); margin-bottom: 8px; }
.finder-hit strong { font-family: var(--display); font-weight: 400; font-size: 1.4rem; display: block; line-height: 1.15; }
.finder-hit span { font-size: .95rem; color: var(--ink-2); }
.finder-hit:hover { color: var(--ink); border-left-color: var(--clay); }
.finder-miss { padding: 12px 14px; background: var(--wash); border-radius: var(--radius); }

input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="search"], select, textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid #7F8681; border-radius: var(--radius); background: #fff; color: var(--ink); font: 400 1.05rem/1.4 var(--text); }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--clay); outline-offset: 1px; }
.tool-jump { display: flex; flex-wrap: wrap; gap: 6px 26px; padding-top: 24px; padding-bottom: 8px; }
.tool-jump a { display: inline-block; padding: 10px 0; font-weight: 800; }

/* ---------------------------------------------------------------- region */
.region { padding: clamp(52px, 7vw, 92px) 0; background: var(--paper-2); }
.region-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.region-text > p { margin: 20px 0 0; max-width: 34em; }
.state-group { margin-top: 26px; }
.state-group h3 { font-weight: 400; font-style: italic; font-size: 1.05rem; color: var(--ink-2); margin: 0 0 4px; }
.counties-big { display: flex; flex-wrap: wrap; gap: 0 28px; margin: 0; padding: 0; list-style: none; }
.counties-big a { font-family: var(--display); font-size: clamp(1.7rem, 2.6vw, 2.25rem); line-height: 1.3; color: var(--ink); text-decoration: underline; text-decoration-color: var(--clay); text-decoration-thickness: 3px; text-underline-offset: .14em; }
.counties-big a:hover { color: var(--clay); }
.region .tool-finder { margin: 30px 0 0; max-width: 520px; }
/* Tools page: the town finder spans the same width as the other tools; only its form stays narrow. */
#tool-finder .finder-form, #tool-finder .finder-out { max-width: 560px; }
.region-map-wrap { margin: 0; min-width: 0; }
.map-big { background: var(--paper); border-radius: var(--radius); padding: 10px; overflow: hidden; }
.region-map-wrap figcaption { margin-top: 10px; }
@media (max-width: 900px) { .region-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- testimonials */
.words { padding: clamp(52px, 7vw, 88px) 0; border-top: 1px solid var(--rule); }
.words-head { margin-bottom: 30px; }
.words-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); }
.word { margin: 0; }
.word blockquote { margin: 0 0 12px; }
.word blockquote::before { content: "\201C"; display: block; font-family: var(--display); font-size: 4.5rem; line-height: .7; color: var(--clay); margin-bottom: -2px; }
.word blockquote p { font-size: 1.28rem; line-height: 1.5; margin: 0; }
.word figcaption { font-weight: 600; font-size: 1rem; color: var(--ink-2); }
.words-note { margin: 26px 0 0; font-size: .94rem; color: var(--ink-2); }
@media (max-width: 860px) { .words-row { grid-template-columns: 1fr; } .word blockquote p { font-size: 1.16rem; } }
.reviews-live { padding: 0 0 clamp(48px, 6vw, 80px); }
.reviews-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px; border-bottom: 1px solid var(--ink); margin-bottom: 18px; }
.reviews-head h2 { font-size: 1.8rem; margin: 0 0 10px; }
.reviews-score { font-weight: 800; margin: 0 0 12px; }
.reviews-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.reviews-list blockquote { margin: 0 0 8px; }
.review-by, .reviews-credit { font-size: .9rem; color: var(--ink-2); }
@media (max-width: 900px) { .reviews-list { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- lists: guides, posts, ledger */
.guide-list, .latest, .town-ledger, .sitemap-band, .blog-list { padding: clamp(48px, 6vw, 84px) 0; }
.guide-rows, .post-rows { list-style: none; margin: 0 0 22px; padding: 0; border-top: 1px solid var(--rule); }
.guide-rows a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 8px 32px; padding: 18px 2px; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; align-items: baseline; }
.guide-t { font-family: var(--display); font-size: 1.35rem; line-height: 1.15; }
.guide-d { color: var(--ink-2); font-size: 1rem; }
.guide-rows a:hover .guide-t { color: var(--clay); }
@media (max-width: 800px) { .guide-rows a { grid-template-columns: 1fr; } }
.post-rows a { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 2px; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
.post-rows a:hover .post-t { color: var(--clay); }
.post-date { color: var(--ink-2); font-size: .94rem; font-variant-numeric: tabular-nums; }
.post-t { font-weight: 800; }
.post-rows a > .post-t:only-child { grid-column: 1 / -1; }
.blog-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.blog-row-link { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 28px; padding: 24px 0; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; align-items: center; }
.blog-thumb img { border-radius: var(--radius); }
.blog-spot { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; background: var(--card); border-radius: var(--radius); }
.blog-spot .spot { width: 42%; }
.blog-row-t { display: block; font-family: var(--display); font-size: 1.6rem; line-height: 1.12; margin: 4px 0 8px; }
.blog-row-x { color: var(--ink-2); }
.blog-row-link:hover .blog-row-t { color: var(--clay); }
@media (max-width: 760px) {
	.blog-row-link { grid-template-columns: 84px minmax(0, 1fr); gap: 16px; align-items: start; }
	.blog-spot { aspect-ratio: 1 / 1; }
	.blog-spot .spot { width: 82%; }
	.blog-row-t { font-size: 1.3rem; }
}
.pager { margin-top: 24px; display: flex; gap: 10px; flex-wrap: wrap; }
.pager .page-numbers { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 2px solid var(--ink); text-decoration: none; color: var(--ink); font-weight: 800; border-radius: var(--radius); }
.pager .dots { border-color: transparent; }
.search-rows a { display: block; padding: 16px 2px; }
.post-x { display: block; margin-top: 4px; color: var(--ink-2); font-size: 1rem; line-height: 1.45; }
.pager .current { background: var(--ink); color: var(--paper); }

.ledger { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.ledger-row { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: 8px 24px; padding: 16px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.ledger-town { display: inline-block; padding: 9px 0; font-family: var(--display); font-size: 1.45rem; line-height: 1.1; color: var(--ink); text-decoration: none; }
.ledger-town:hover { color: var(--clay); }
.ledger-meta { color: var(--ink-2); font-size: 1rem; }
.ledger-dist, .ledger-zip { display: block; }
.ledger-zip { font-size: .95rem; }
.ledger-links { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .96rem; }
@media (max-width: 860px) { .ledger-row { grid-template-columns: 1fr; } }
.county-columns { columns: 4 230px; column-gap: 36px; }
.county-col { break-inside: avoid; margin-bottom: 8px; }
.county-col h3 { font-family: var(--display); font-weight: 400; font-size: 1.2rem; border-bottom: 1px solid var(--rule); padding-bottom: 6px; margin: 0 0 8px; }
.county-col h3 a { display: inline-block; padding: 10px 0; color: var(--ink); text-decoration: none; }
.county-col h3 a:hover { color: var(--clay); }
.county-col ul { list-style: none; margin: 0 0 18px; padding: 0; }
.county-col li a { display: block; padding: 4px 0; color: var(--ink); text-decoration: none; }
@media (max-width: 760px) { .county-col li a { padding: 10px 0; } }
.county-col li a:hover { color: var(--clay); text-decoration: underline; }

/* ---------------------------------------------------------------- faqs */
.faqs { padding: clamp(52px, 7vw, 92px) 0; background: var(--paper-2); }
.faqs-grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faqs-intro { position: sticky; top: calc(var(--hdr) + 28px); }
.faqs-intro h2 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
.faqs-intro p { margin: 18px 0 0; font-size: 1.05rem; }
.faqs-list { border-top: 1px solid var(--ink); }
.faq-group { font-family: var(--display); font-weight: 400; font-size: 1.25rem; color: var(--clay); margin: 28px 0 6px; }
.faq { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 2px; font-weight: 800; font-size: 1.1rem; line-height: 1.35; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .caret { flex: none; width: 16px; height: 16px; transition: transform .25s var(--ease); color: var(--clay); }
.faq[open] summary .caret { transform: rotate(180deg); }
.faq summary:hover { color: var(--clay); }
.faq-a { padding: 0 40px 18px 2px; color: var(--ink-2); }
.faq-a p { margin: 0; }
@supports (interpolate-size: allow-keywords) {
	.faqs { interpolate-size: allow-keywords; }
	.faq::details-content { height: 0; overflow: clip; transition: height .3s var(--ease), content-visibility .3s allow-discrete; }
	.faq[open]::details-content { height: auto; }
}
@media (max-width: 900px) { .faqs-grid { grid-template-columns: 1fr; } .faqs-intro { position: static; } }

/* ---------------------------------------------------------------- related and references */
.related { padding: clamp(48px, 6vw, 84px) 0; }
.related-title { margin-bottom: 28px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px 40px; margin-top: 28px; }
.related-group h3 { font-weight: 800; font-size: 1.05rem; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 6px; margin-bottom: 4px; }
.related-group ul { list-style: none; margin: 0; padding: 0; }
.related-group.is-long { grid-column: 1 / -1; }
.related-group.is-long ul { columns: 4 200px; column-gap: 32px; }
.related-group.is-long li { break-inside: avoid; }
.related-group.is-long + .related-group:last-child { grid-column: 1 / -1; }
.related-group:only-child { grid-column: 1 / -1; }
.related-group:only-child ul { columns: 4 200px; column-gap: 32px; }
.related-group.is-long + .related-group:last-child ul { columns: 4 200px; column-gap: 32px; }
.related-group a { display: block; padding: 7px 0; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; font-size: 1rem; }
.related-group a:hover { color: var(--clay); }
/* long lists folded on phones by site.js */
.fold-btn { display: none; }
@media (max-width: 760px) {
	.is-folded > .fold-x { display: none; }
	.fold-btn { display: inline-flex; align-items: center; min-height: 48px; margin-top: 10px; padding: 0 16px; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--paper); color: var(--ink); font: 800 1rem var(--text); cursor: pointer; }
	.fold-btn:hover { background: var(--ink); color: var(--paper); }
	.related-group a { padding: 11px 0; }
}
.refs { padding: 0 0 clamp(44px, 6vw, 72px); }
.faqs + .refs, .faq-band + .refs, section + .refs { padding-top: clamp(40px, 6vw, 72px); }
.refs-title { font-size: 1.6rem; margin-bottom: 6px; }
.refs-note { font-size: .96rem; color: var(--ink-2); }
.refs-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.refs-list li { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.refs-list a { font-weight: 800; }
@media (max-width: 760px) { .refs-list a { display: inline-block; padding: 8px 0; } .refs-list li { padding: 4px 0; } }
.refs-list span { font-style: italic; font-size: .92rem; color: var(--ink-2); }

/* ---------------------------------------------------------------- closing band */
.close-band { background: var(--clay); color: var(--letter); padding: clamp(48px, 6vw, 80px) 0; }
.close-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.close-band h2 { color: var(--letter); max-width: 14em; font-size: clamp(2rem, 3.4vw, 3rem); margin: 0; }
.close-band p { color: var(--letter); max-width: 32em; margin: 14px 0 0; }
.close-actions { display: grid; gap: 14px; justify-items: end; }
.close-num { display: inline-block; padding: 4px 0; font-family: var(--display); font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1; color: var(--letter); text-decoration: none; white-space: nowrap; }
.close-num:hover { color: var(--paper); text-decoration: none; }
@media (max-width: 860px) { .close-grid { grid-template-columns: 1fr; gap: 22px; } .close-actions { justify-items: start; } }

/* ---------------------------------------------------------------- contact */
.contact-band { padding: clamp(44px, 6vw, 80px) 0; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact-block { border-top: 1px solid var(--rule); padding: 14px 0 6px; }
.contact-block h2, .contact-form-col > h2 { font-family: var(--text); font-weight: 800; font-size: 1.05rem; color: var(--ink-2); margin: 0 0 6px; }
.contact-form-col > h2 { font-family: var(--display); font-weight: 400; font-size: 1.6rem; color: var(--ink); margin-bottom: 14px; }
.big-tel { font-family: var(--display); font-size: clamp(2.3rem, 4.4vw, 3.2rem); line-height: 1; color: var(--clay); text-decoration: none; white-space: nowrap; }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; background: var(--paper-2); padding: clamp(18px, 3vw, 30px); border-radius: var(--radius); }
.field label, .field legend { display: block; font-weight: 800; margin-bottom: 6px; }
.field-wide { grid-column: 1 / -1; }
.field fieldset, fieldset.field { border: 0; margin: 0; padding: 0; }
.opt { font-weight: 400; color: var(--ink-2); }
.radios { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.radios label { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; min-height: 44px; }
.radios input { width: 20px; height: 20px; accent-color: var(--clay); }
.form-note { margin-top: 10px; font-size: .95rem; color: var(--ink-2); }
.form-call { padding: 14px 16px; background: var(--paper); border-left: 6px solid var(--clay); border-radius: var(--radius); }
.form-call p { margin: 0; }
.form-call strong { font-weight: 800; }
.form-call .tel-link { font-weight: 800; white-space: nowrap; }
.form-ok, .form-err { padding: 16px 18px; margin-bottom: 16px; border-radius: var(--radius); }
.form-ok { background: #DDE8D9; }
.form-err { background: var(--wash); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .contact-form { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- sitemap */
.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 32px 40px; }
.sitemap-grid h2 { font-size: 1.45rem; border-bottom: 1px solid var(--rule); padding-bottom: 6px; }
.sitemap-grid h2 a, .sitemap-grid h3 a { color: var(--ink); text-decoration: none; }
.sitemap-grid h3 { font-size: 1.05rem; margin: 14px 0 4px; }
.sitemap-grid ul { list-style: none; padding: 0; margin: 0 0 18px; }
.sitemap-grid li a { display: block; padding: 3px 0; font-size: .98rem; }
@media (max-width: 760px) { .sitemap-grid li a { padding: 10px 0; } .toc a { padding: 11px 0; } .arrow-link { display: inline-block; padding: 10px 0; } }
.sitemap-sub li a { color: var(--ink-2); font-size: .92rem; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--pine); color: var(--letter); font-size: 1rem; }
.site-footer a { color: var(--letter); text-decoration-color: rgba(242, 236, 223, .4); }
.site-footer a:hover { color: var(--paper); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-top: clamp(48px, 6vw, 76px); padding-bottom: 40px; }
.footer-logo { display: block; width: 200px; max-width: 100%; margin-bottom: 18px; }
.footer-num { font-family: var(--display); font-size: 2rem; text-decoration: none; white-space: nowrap; }
.footer-call { margin-bottom: 8px; }
.footer-addr { color: var(--on-dark-2); }
.footer-creds { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid rgba(242, 236, 223, .22); font-size: .92rem; color: var(--on-dark-2); }
.footer-creds li { margin: 3px 0; }
.footer-h { font-family: var(--display); font-weight: 400; font-size: 1.3rem; color: var(--letter); margin: 4px 0 10px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li a { display: block; padding: 4px 0; text-decoration: none; }
.footer-d > summary { list-style: none; }
.footer-d > summary::-webkit-details-marker { display: none; }
@media (min-width: 761px) { .footer-d > summary { cursor: default; } }
.footer-col li a:hover { text-decoration: underline; }
.footer-note { border-top: 1px solid rgba(242, 236, 223, .16); }
.footer-note p { margin: 0; padding: 16px 0; font-size: .94rem; color: var(--on-dark-2); }
.footer-bottom { background: var(--pine-d); font-size: .9rem; }
.footer-bottom-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-top: 14px; padding-bottom: 14px; }
.footer-bottom p { margin: 0; color: var(--on-dark-2); }
.footer-links span { margin: 0 8px; opacity: .5; }
@media (max-width: 1000px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
/* Phones: the three link lists fold into rows you tap open (site.js closes them on load). */
@media (max-width: 760px) {
	.footer-top { gap: 0 24px; padding-bottom: 24px; }
	.footer-brand { padding-bottom: 22px; }
	.footer-d { border-top: 1px solid rgba(242, 236, 223, .22); }
	.footer-d > summary { display: flex; justify-content: space-between; align-items: center; min-height: 56px; cursor: pointer; }
	.footer-d > summary .footer-h { margin: 0; }
	.footer-d > summary::after { content: "+"; font-family: var(--display); font-size: 1.6rem; line-height: 1; color: var(--letter); }
	.footer-d[open] > summary::after { content: "\2212"; }
	.footer-d ul { padding-bottom: 12px; }
	.footer-col li a { padding: 11px 0; }
}

/* ---------------------------------------------------------------- misc */
.photo-missing { display: grid; place-items: center; width: 100%; background: repeating-linear-gradient(135deg, var(--paper-2) 0 12px, var(--card) 12px 24px); border: 2px dashed var(--steel); color: var(--ink-2); font-size: .9rem; text-align: center; padding: 16px; border-radius: var(--radius); }
.search-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; max-width: 560px; }
.search-form label { width: 100%; font-weight: 800; }
.search-form input { flex: 1; }
.tel-link { white-space: nowrap; }
.inline-tel { font-weight: 800; }

/* ---------------------------------------------------------------- photo bands */
.photo-band { padding: clamp(8px, 2vw, 24px) 0 0; }
.band-figure { margin: 0; }
.band-figure img { display: block; width: 100%; height: auto; border-radius: var(--radius); }

/* ---------------------------------------------------------------- referral offer and gift certificate */
.refer { background: var(--wash); }
.refer-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 64px); align-items: center; padding-top: clamp(52px, 7vw, 88px); padding-bottom: clamp(52px, 7vw, 88px); }
.refer-text > p { margin: 20px 0 0; max-width: 32em; }
.certificate { justify-self: center; width: 100%; max-width: 400px; padding: 10px; background: var(--letter); border: 3px solid var(--pine); border-radius: var(--radius); color: var(--ink); }
.cert-in { padding: 26px 22px 28px; border: 2px dashed var(--clay); border-radius: var(--radius); text-align: center; }
.cert-kind { margin: 0; font-family: var(--display); font-size: 1.45rem; line-height: 1.1; color: var(--pine); }
.cert-amt { margin: 12px 0 10px; font-family: var(--display); font-size: clamp(3.6rem, 7vw, 5rem); line-height: 1; color: var(--clay); }
.cert-for { margin: 0 auto; max-width: 18em; font-size: .98rem; line-height: 1.45; color: var(--ink-2); }
.head-art .certificate { max-width: 360px; }
@media (max-width: 860px) { .refer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- gallery */
.gallery-band { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(48px, 7vw, 88px); }
.gallery-note { margin: 0 0 clamp(20px, 3vw, 32px); font-size: 1.1rem; }
.gallery-pairs { display: grid; gap: clamp(36px, 5vw, 60px); max-width: 820px; }
.pair { border-top: 1px solid var(--rule); padding-top: clamp(20px, 3vw, 28px); }
.pair-h { margin: 0 0 16px; font-size: clamp(1.45rem, 2.2vw, 1.85rem); }
/* Before and after stay side by side on every screen, so the two are easy to compare. */
.pair-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 3vw, 32px); }
.clip { margin: 0; min-width: 0; }
.clip-frame { position: relative; }
.clip video { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; background: var(--ink); border-radius: var(--radius); }
.clip-tag { position: absolute; left: 10px; top: 10px; z-index: 1; padding: .3em .6em .22em; border-radius: var(--radius); font-family: var(--display); font-size: clamp(1rem, 2.2vw, 1.35rem); line-height: 1; color: var(--letter); pointer-events: none; }
.clip-before .clip-tag { background: var(--clay); }
.clip-after .clip-tag { background: var(--pine); }
.clip figcaption { margin-top: 10px; font-size: 1.02rem; line-height: 1.45; }
@media (max-width: 560px) { .clip figcaption { font-size: .96rem; } .clip-tag { left: 6px; top: 6px; } }
.gallery-more { margin: clamp(32px, 5vw, 48px) 0 0; max-width: 68ch; }
.gallery-more + .gallery-more { margin-top: 14px; }

/* ---------------------------------------------------------------- desktop and phone view switch */
.pwv-switch { position: fixed; left: 20px; bottom: 20px; z-index: 70; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px; border: 0; border-radius: var(--radius); background: var(--ink); color: var(--letter); font: 800 15px/1 var(--text); box-shadow: 0 6px 18px rgba(28, 28, 26, .28); cursor: pointer; transform-origin: 0 100%; }
.pwv-switch:hover { background: var(--pine); }
.pwv-switch .pwv-i-phone, .pwv-switch.is-phone .pwv-i-desk { display: none; }
.pwv-switch.is-phone .pwv-i-phone { display: block; }
@media (max-width: 960px) { .pwv-switch { left: 10px; bottom: calc(82px + env(safe-area-inset-bottom)); } }
.pwv-desktop .pwv-switch { left: calc(14px * var(--pwv-z, 1)); bottom: calc(14px * var(--pwv-z, 1)); transform: scale(var(--pwv-z, 1)); }
.pwv-overlay { position: fixed; inset: 0; z-index: 300; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 16px; background: rgba(28, 28, 26, .86); }
.pwv-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; color: var(--letter); }
.pwv-bar p { margin: 0; font-weight: 600; }
.pwv-close { min-height: 48px; padding: 0 18px; border: 0; border-radius: var(--radius); background: var(--letter); color: var(--ink); font: 800 1rem var(--text); cursor: pointer; }
.pwv-close:focus-visible { outline-color: var(--letter); }
.pwv-phone { width: 414px; max-width: 100%; height: min(868px, calc(100vh - 110px)); padding: 12px; background: var(--ink); border-radius: 34px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.pwv-phone iframe { display: block; width: 100%; height: 100%; border: 0; border-radius: 24px; background: #fff; }
body.pwv-open { overflow: hidden; }
body.menu-open .pwv-switch, body.pwv-open .pwv-switch { visibility: hidden; }

/* ---------------------------------------------------------------- motion */
.js .rise-in { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.js .rise-in.is-in { opacity: 1; transform: none; }
.region-map .route { stroke-dashoffset: 0; }
.js .map-frame:not(.is-in) .route { stroke-dashoffset: 400; }
.js .map-frame .route { transition: stroke-dashoffset 1.4s var(--ease) .2s; }
.js .map-frame .focus-dot { transform-box: fill-box; transform-origin: center; }
.js .map-frame.is-in .focus-dot { animation: pin .6s var(--ease) 1.2s both; }
@keyframes pin { 0% { transform: scale(0); } 70% { transform: scale(1.35); } 100% { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.js .rise-in { opacity: 1; transform: none; }
	.hero-well .drop, .hero-well .line-house { stroke-dashoffset: 0; }
	.hero-well .water { transform: none; }
	.js .map-frame:not(.is-in) .route { stroke-dashoffset: 0; }
	.well-svg.is-running .flow, .hero-well.is-in .flow { animation: none; }
}

@media print {
	.topbar, .site-header, .callbar, .close-band, .site-footer, .related, .tool-band, .pwv-switch { display: none !important; }
	body { background: #fff; padding: 0; }
	.page-head, .home-hero { background: #fff; color: var(--ink); }
	.page-head h1, .page-head .lead, .home-hero h1 { color: var(--ink); }
}
