/* Shared page bands: clay, deep soil, trench, bedrock and city main. */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[tabindex="-1"]:focus { outline: none; }   /* arrival moves focus to the destination heading */
section { position: relative; padding: clamp(72px, calc(11 * min(1vw, 19.2px)), 140px) var(--m); }
section > h2 { max-width: 18ch; }

/* Topsoil: why call direct */
.why { background: var(--soil-1); display: grid; grid-template-columns: 1fr 1fr; gap: 40px clamp(32px, calc(5 * min(1vw, 19.2px)), 80px); align-items: center; }
.why-copy p { margin-top: 18px; max-width: 46ch; font-size: var(--step-lead); line-height: 1.45; }
.why-copy p:first-of-type { margin-top: 22px; }
.why-photo { margin: 0; }
.why-photo img { border-radius: 14px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.facts { grid-column: 1; display: flex; gap: clamp(32px, calc(5 * min(1vw, 19.2px)), 72px); margin: 16px 0 0; }
.facts div { max-width: 15rem; }
.facts dt { font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 1.6rem + calc(2 * min(1vw, 19.2px)), 3.4rem); line-height: 1; }
.facts dd { margin: 8px 0 0; font-size: 1rem; }
.facts-note { grid-column: 2; align-self: end; margin: 0; max-width: 40ch; font-size: var(--step-lead); line-height: 1.45; }

/* Clay: what we fix. Every service is a name and its own line. "Dig and replace" has five, so it takes two thirds of
   the width in two columns; the two short groups stack in the last third */
.fix { background: var(--soil-2); color: #fff; }
.fix-cols { display: grid; grid-template-columns: 2fr 1fr; gap: 40px clamp(32px, calc(5 * min(1vw, 19.2px)), 80px); }
.fix-group:first-child { grid-row: span 2; }
.fix-group:first-child ul { columns: 2; column-gap: clamp(32px, calc(5 * min(1vw, 19.2px)), 80px); }
.fix-group li { break-inside: avoid; }
.fix-group h2 { font-family: var(--text); font-size: 1.0625rem; font-weight: 700; letter-spacing: 0; line-height: 1.3; margin-bottom: 14px; }
.fix-group ul { list-style: none; margin: 0; padding: 0; }
.fix-group li { margin: 0; padding-bottom: 14px; }
.fix-group a { display: inline-flex; min-height: 48px; align-items: center; color: #fff; text-decoration: none; font-family: var(--display); font-weight: 600; font-size: clamp(1.25rem, 1rem + calc(.8 * min(1vw, 19.2px)), 1.6rem); }
.fix-group a:focus-visible { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
@media (hover: hover) and (pointer: fine) { .fix-group a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; } }
.fix-group li p { font-size: 1.0625rem; max-width: 34ch; }
/* a lawn page's first band starts close under the lawn */
.pop + section { padding-top: clamp(48px, calc(5 * min(1vw, 19.2px)), 64px); }
#after-scope { scroll-margin-top: -12px; }   /* "Skip the ride" lands with the band's edge on the bar's edge */
/* links inside a sentence still get a thumb-sized target */
.quote-free a, .pop .lede a { display: inline-block; padding-block: 10px; margin-block: -10px; }
.field-err { margin: 0; font-size: 1rem; font-weight: 700; color: #FFD9D2; }

/* Deep soil: send us your quote. One form across the band; the checklist is the quieter second choice under it */
.quote { background: var(--soil-3); color: #fff; }
.quote-pitch p { margin-top: 16px; max-width: 56ch; font-size: var(--step-lead); line-height: 1.45; }
.quote a:not(.pill) { color: #fff; text-underline-offset: 3px; }
.form { display: grid; gap: 20px 24px; }
#quote-form { margin-top: clamp(32px, calc(4 * min(1vw, 19.2px)), 56px); grid-template-columns: repeat(6, minmax(0, 1fr)); }
#quote-form .field { grid-column: span 2; }
#quote-form .field--wide { grid-column: span 3; }
@media (min-width: 901px) {
  #quote-form .field--wide:not(.field--file) { grid-column: 1 / -1; }
  #quote-form .field--file { grid-column: 1 / span 3; }
}
.form-send { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.form-captcha { grid-column: 1 / -1; min-height: 78px; }
.form-captcha-wait { margin: 0; font-size: var(--step-small); }
.form-send button[aria-disabled="true"] { cursor: progress; opacity: .7; }
@media (max-width: 350px) {
  .form-captcha { min-height: 144px; }
}
.field { display: grid; gap: 6px; align-content: end; }
/* the first choice on the quote form: a scope report to send, or a free scope to book (optional radios) */
.field--need { margin: 0; padding: 0; border: 0; min-width: 0; }
.field--need legend { padding: 0; margin-bottom: 6px; font-weight: 700; font-size: 1rem; }
.field--need legend span { font-weight: 400; }
.need-pick { display: flex; flex-wrap: wrap; gap: 10px 14px; }
.field .need { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 18px 10px 14px; border: 2px solid #fff; border-radius: 999px;
  font-weight: 700; cursor: pointer; }
.field .need input { width: 22px; height: 22px; min-height: 0; margin: 0; padding: 0; accent-color: var(--blue); flex: none; }
.need:has(input:checked) { background: #fff; color: var(--char); }
.need:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.field label { font-weight: 700; font-size: 1rem; }
.field label span { font-weight: 400; }
.field input, .field select { font: inherit; font-size: 1.0625rem; min-height: 52px; padding: 10px 14px; border: 2px solid #fff; border-radius: 10px; background: #fff; color: var(--char); width: 100%; }
.field select { -webkit-appearance: none; appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23222' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 15px center / 12px 8px; }
.field input[type=file] { padding: 0; min-height: 48px; border: 0; background: none; color: #fff; }
.field input[type=file]::file-selector-button { min-height: 48px; margin-right: 12px; padding: 0 20px; border: 2px solid #fff; border-radius: 999px; background: none; color: #fff; font: 700 1rem var(--text); cursor: pointer; }
.field input[type=file]:focus-visible::file-selector-button { outline: 3px solid var(--blue); outline-offset: 2px; }
.field input:focus-visible, .field select:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.field input[aria-invalid=true] { border-color: #FF8A7A; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 0; font-size: var(--step-small); }
.form-note.ok, .form-note.bad { font-weight: 700; }
.checklist { margin-top: clamp(64px, calc(8 * min(1vw, 19.2px)), 112px); display: grid; grid-template-columns: 1fr 1fr; gap: 24px clamp(32px, calc(6 * min(1vw, 19.2px)), 96px); align-items: end; }
.checklist h3 { font-size: clamp(1.6rem, 1.2rem + calc(1.2 * min(1vw, 19.2px)), 2.2rem); }
.checklist p { margin-top: 10px; max-width: 46ch; }
.form--inline { grid-template-columns: 1fr auto; align-items: end; }
.form--inline .form-note { grid-column: 1 / -1; }

/* The trench: how a job runs. The steps hang off the trench wall; the two real job photos sit beside them */
.how { background: var(--trench); color: #fff; }
.how-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, calc(5 * min(1vw, 19.2px)), 80px); align-items: start; }
.trench { list-style: none; margin: 0; padding: 0 0 0 84px; position: relative; display: grid; gap: clamp(28px, calc(3.5 * min(1vw, 19.2px)), 44px); }
.trench::before { content: ''; position: absolute; left: 20px; top: 8px; bottom: 8px; width: 24px; background: var(--soil-1); border-inline: 4px solid var(--soil-2); transform-origin: top; }
.trench > li { position: relative; }
.trench .n { position: absolute; left: -84px; top: -4px; width: 64px; height: 40px; display: grid; place-items: center; border-radius: 8px; background: var(--char); color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.35rem; }
.trench h2 { font-size: 1.45rem; font-weight: 700; letter-spacing: 0; }
.trench p { margin-top: 6px; max-width: 46ch; }
.how-photos { display: grid; gap: 28px; align-self: end; }
.how-photos figure { margin: 0; }
.how-photos img { display: block; width: 100%; border-radius: 14px; object-fit: cover; aspect-ratio: 16 / 9; }
.how-photos figure + figure img { aspect-ratio: 4 / 3; }
.how-photos figcaption { margin-top: 10px; font-size: 1rem; }
.how-photos figcaption b { font-family: var(--display); margin-right: 8px; }
@media (prefers-reduced-motion: no-preference) {
  html.js .trench::before { transform: scaleY(0); transition: transform 1.6s var(--ease-out); }
  html.js .trench.in::before { transform: scaleY(1); }
}

/* The bed under the pipe: what customers say */
.reviews { background: var(--bedrock); color: #fff; }
.rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px clamp(28px, calc(4 * min(1vw, 19.2px)), 56px); }
.rail blockquote { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.rail blockquote p { font-size: 1.125rem; line-height: 1.55; }
.rail cite { font-style: normal; font-weight: 700; font-family: var(--display); font-size: 1.15rem; }

/* The deepest layer: answers */
.faq { background: var(--deep); color: #fff; }
.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px clamp(32px, calc(6 * min(1vw, 19.2px)), 96px); align-items: start; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 64px; padding: 14px 0;
  font-family: var(--display); font-weight: 700; font-size: clamp(1.25rem, 1.1rem + calc(.6 * min(1vw, 19.2px)), 1.6rem); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 2rem; line-height: 1; color: var(--soil-1); }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 0 22px; max-width: 60ch; }
.faq h2 { margin-bottom: 28px; }

/* The city main: the name again, inverted */
.main-line { background: var(--char); color: #fff; padding: 0 var(--m) calc(110px + env(safe-area-inset-bottom)); }
.main-line-name { margin: 0; padding: 48px 0 12px; line-height: 1; }
.main-line-name img { display: block; width: min(100%, 1100px); height: auto; margin-inline: auto; }
/* The bottom of the dig: the name stands on the new white PVC main, which runs the full width */
/* The main under the footer, drawn as a cutaway: the near wall is cut off, so the far wall, the couplings
   and a shallow stream show inside, with the duck afloat in it (gags.css, section 6). Clay-white wall bands top and
   bottom are the cut pipe wall; the shaded middle is the far wall's inside. About twice the old 28 to 44 px. */
.main-pipe { --wall: clamp(8px, calc(0.8 * min(1vw, 19.2px)), 12px); --water: clamp(17px, calc(2 * min(1vw, 19.2px)), 30px); position: relative; height: clamp(68px, calc(6.6 * min(1vw, 19.2px)), 96px); margin: 0 calc(var(--m) * -1); border-block: 3px solid #111;
  background:
    linear-gradient(#F4F2EE, #F4F2EE) top / 100% var(--wall) no-repeat,
    linear-gradient(#111, #111) 0 var(--wall) / 100% 3px no-repeat,
    linear-gradient(#F4F2EE, #F4F2EE) bottom / 100% var(--wall) no-repeat,
    linear-gradient(#111, #111) 0 calc(100% - var(--wall)) / 100% 3px no-repeat,
    linear-gradient(#7d766c, #b9b1a5 38%, #a39b8f 70%, #6f685f); }
.pipe-collar { position: absolute; top: -9px; bottom: -9px; width: clamp(30px, calc(3 * min(1vw, 19.2px)), 46px); z-index: 1; pointer-events: none;
  border-inline: 2px solid rgba(17, 17, 17, .45); background: rgba(17, 17, 17, .12); }
.pipe-collar::before, .pipe-collar::after { content: ''; position: absolute; left: -5px; right: -5px; height: calc(var(--wall) + 12px); background: #F4F2EE; border: 3px solid #111; }
.pipe-collar--a { left: 18%; } .pipe-collar--b { right: 22%; }
.pipe-collar::before { top: 0; border-radius: 4px 4px 0 0; } .pipe-collar::after { bottom: 0; border-radius: 0 0 4px 4px; }
.pipe-water { position: absolute; left: 0; right: 0; bottom: calc(var(--wall) + 3px); height: var(--water); z-index: 3; pointer-events: none; overflow-x: clip;
  background: linear-gradient(rgba(108, 200, 240, .80), rgba(43, 150, 210, .86) 45%, rgba(26, 104, 160, .92)); }
.pipe-water::before { content: ''; position: absolute; left: 0; right: 0; top: -5px; height: 9px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='9'%3E%3Cpath d='M0 5 Q12 1 24 5 T48 5 V9 H0Z' fill='%236CC8F0' fill-opacity='.8'/%3E%3Cpath d='M0 5 Q12 1 24 5 T48 5' fill='none' stroke='%23E4F6FD' stroke-width='2'/%3E%3C/svg%3E") 0 0 / 48px 9px repeat-x; }
.pipe-flow { position: absolute; inset: 4px 0 3px; opacity: .65;
  background:
    repeating-linear-gradient(90deg, rgba(228, 246, 253, .9) 0 16px, transparent 16px 74px) 0 30% / 100% 2px no-repeat,
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(228, 246, 253, .7) 34px 44px, transparent 44px 96px) 0 72% / 100% 2px no-repeat; }
@media (prefers-reduced-motion: no-preference) {
  .pipe-water::before { animation: pipe-ripple 1.8s linear infinite; }
  .pipe-flow { inset-inline: -96px 0; animation: pipe-flow 2.6s linear infinite; }
}
@keyframes pipe-ripple { to { background-position-x: 48px; } }
@keyframes pipe-flow { to { transform: translateX(96px); } }
.main-line-cols { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; }
.main-line-cols p { margin-top: 14px; color: #D6D2CC; }
.main-line nav, .footer-services-links { display: grid; align-content: start; gap: 4px; }
.main-line nav a, .footer-services a { color: #fff; min-height: 48px; display: inline-flex; align-items: center; }
.footer-contact { grid-row: 1 / 3; }
.footer-main { grid-column: 2; }
.footer-services { grid-column: 3; min-width: 0; }
.footer-services summary { min-height: 48px; display: flex; align-items: center; gap: 12px; cursor: pointer; font-family: var(--display); font-weight: 700; list-style: none; }
.footer-services summary::-webkit-details-marker { display: none; }
.footer-services summary::after { content: ''; width: 9px; height: 9px; margin-top: -4px; border: solid var(--blue); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.footer-services[open] summary::after { margin-top: 4px; transform: rotate(-135deg); }
.footer-other { grid-column: 2 / 4; display: flex !important; flex-wrap: wrap; gap: 4px 20px !important; }
@media (min-width: 901px) {
  .footer-services::details-content { content-visibility: visible; height: auto; }
  .footer-services summary { cursor: default; }
  .footer-services summary::after { display: none; }   /* always open here, so no arrow */
}
.credit { margin-top: 40px; font-size: var(--step-small); color: #B9B4AD; max-width: 70ch; }
#next { scroll-margin-top: calc(var(--bar-h) + 16px); }

/* ---------- Phone cut ---------- */
@media (max-width: 900px) {
  .bar-nav { display: none; }
  .bar-phone { margin-left: auto; font-size: 1.05rem; }
  .bar-menu { display: inline-flex; align-items: center; }
  .why { grid-template-columns: 1fr; }
  .facts, .facts-note { grid-column: 1; }
  #quote-form { grid-template-columns: 1fr; }
  #quote-form .field, #quote-form .field--wide { grid-column: 1; }
  .checklist { grid-template-columns: 1fr; }
  .faq-list { grid-template-columns: 1fr; }
  .facts { gap: 28px 32px; }
  .fix-cols { display: block; }
  .fix-group:first-child ul { columns: auto; }
  .fix-group + .fix-group { margin-top: 40px; }
  .fix-group h2 { font-size: 1.25rem; font-family: var(--display); }
  .fix-group a { font-size: 1.25rem; font-weight: 700; }
  .rail { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {   /* phones: the reviews become a swipe rail */
  .rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; gap: 28px; margin-inline: calc(var(--m) * -1); padding: 0 var(--m) 8px; scroll-padding: 0 var(--m); }
  .rail blockquote { flex: 0 0 84%; scroll-snap-align: start; }
}
@media (max-width: 900px) {
  .how-grid { grid-template-columns: 1fr; }
  .trench { padding-left: 72px; }
  .trench::before { left: 14px; }
  .trench .n { left: -72px; width: 56px; height: 36px; font-size: 1.2rem; }
  .main-line-cols { grid-template-columns: 1fr; }
  .footer-contact, .footer-main, .footer-services, .footer-other { grid-column: 1; grid-row: auto; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px !important; }
  .footer-services-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  .footer-other { gap: 0 18px !important; }   /* wraps: every link stays on the screen */
}
/* Portrait tablets: the name stacks so it fills the tall sky */
@media (min-width: 761px) and (max-aspect-ratio: 4/5) {
  /* the name stays on one line here too (Doug, 17 Nov 2026) */
}
@media (max-width: 760px) {
  :root { --bar-h: 60px; }
  .bar { gap: 12px; }
  .bar-logo img { height: 36px; }
  .bar-phone span { display: none; }
  .bar-phone { min-width: 48px; justify-content: center; }
  .bar-phone svg { width: 24px; height: 24px; }
  .hero { min-height: calc(100svh - var(--bar-h) - 30px); }
  .hero { padding-bottom: 96px; }
  .hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 96px; background: var(--soil-1); }
  .main-line-cols .pill { display: none; }
  .main-line-cols { padding-top: 80px; }
  #next { scroll-margin-top: calc(var(--bar-h) + 24px); }
  .hero-act { display: none; }
  /* the name gets the room on a phone: tighter copy above it, the 24/7 badge tucked close */
  html[data-style="cartoon"] .hero-copy { padding-top: 20px; }
  html[data-style="cartoon"] .hero .lede { margin-top: 8px; font-size: 1.0625rem; line-height: 1.38; max-width: none; }
  html[data-style="cartoon"] .emergency-badge { margin-top: 10px; min-height: 28px; font-size: 0.8125rem; }
  .ribbon { font-size: 0.8125rem; padding-block: 5px; } .ribbon-long { display: none; }
  .hero-sun { width: 128px; right: 10px; }
  .form-note, .credit { font-size: 1rem; }
  .form-send .form-note { flex-basis: 100%; }   /* under the button, so the answer and the cartoon flush have the full row */
  .form--inline { grid-template-columns: 1fr; }
  body.menu-open .dock { display: none; }
  body:has(.form:focus-within, .form:active) .dock { display: none; }
  .menu .menu-call { font-size: 1.25rem; min-height: 60px; display: flex; align-items: center; justify-content: center; }
  .dock { display: flex; left: 16px; right: 16px; }
  .dock-call { flex: 1; }
  .dock-quote { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; min-width: 88px; padding: 0 18px; border-radius: 999px;
    background: var(--char); color: #fff; font-weight: 700; text-decoration: none; border: 2px solid rgb(255 255 255 / .6); }
  .exit { display: none !important; }
}

/* The shared page language: hard, horizontal soil strata, and one content measure. */
.band { padding: clamp(64px, calc(7 * min(1vw, 19.2px)), 112px) var(--m); }
.band--topsoil { background: var(--soil-1); color: var(--char); }
.band--clay { background: var(--soil-2); color: #fff; }
.band--deep { background: var(--soil-3); color: #fff; }
.band--trench { background: var(--trench); color: #fff; }
.band--bedrock { background: var(--bedrock); color: #fff; }
.band--alert { background: var(--kubota); color: var(--char); }
.wrap { width: 100%; max-width: 1420px; margin-inline: auto; min-width: 0; }
.band-head { max-width: 70ch; }
.band-head h2 { max-width: 21ch; }
.band-lead { margin-top: 22px; max-width: 64ch; font-size: var(--step-lead); line-height: 1.48; }
.band-lead + .band-lead { margin-top: 14px; }
.band a:not(.pill):not(.shot-link):not(.svc a) { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; font-weight: 700; }
.band a:not(.pill):not(.shot-link):focus-visible, .band a:not(.pill):not(.shot-link):hover { text-decoration-thickness: 3px; }
.band-list { padding-left: 1.3em; margin: 24px 0 0; }
.content-section .shots, .content-section .pair-list { margin-top: clamp(36px, calc(5 * min(1vw, 19.2px)), 64px); }
.content-section .band-head { max-width: 76ch; }
.content-section#erie .band-head { max-width: 84ch; }
.content-section#erie .band-head p:nth-of-type(2) { max-width: 70ch; }
.band--topsoil .shot-cap { color: var(--char); }
.band--topsoil .shot-n, .band--topsoil .shot-place { color: var(--char); }
.band--clay .shot-cap, .band--deep .shot-cap, .band--trench .shot-cap, .band--bedrock .shot-cap { color: #fff; }

/* Home: a decision after the scope run, then the job as proof, then the work area and evidence. */
.pitch-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(36px, calc(6 * min(1vw, 19.2px)), 100px); align-items: start; }
.pitch-head { max-width: 76ch; }
.pitch-call { margin-top: 28px; }
.pitch-photo .shot { width: 100%; max-width: none; }
.pitch-photo .shot img { width: 100%; height: clamp(210px, calc(26 * min(1vw, 19.2px)), 330px); object-fit: cover; object-position: 50% 40%; }
.pitch-points { grid-column: 1 / -1; }
.points-title { font: 800 clamp(1.5rem, 1.1rem + calc(1 * min(1vw, 19.2px)), 2rem)/1.2 var(--display); }
.points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px clamp(18px, calc(3 * min(1vw, 19.2px)), 48px); }
@media (min-width: 1100px) {
  html[data-style="cartoon"] .pitch-points .points { grid-template-columns: repeat(4, minmax(0, 1fr)); }   /* seven points: four and three */
}
.point { padding: 0; min-width: 0; }
.point h4 { margin: 0 0 8px; font: 800 clamp(1.0625rem, .98rem + calc(.3 * min(1vw, 19.2px)), 1.3rem)/1.2 var(--display); }
.point p { font-size: 1rem; line-height: 1.48; }
.pitch-points .points-title { margin: 0 0 24px; font-size: clamp(1.5rem, 1.2rem + calc(1 * min(1vw, 19.2px)), 2.2rem); }
.job-grid, .where-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(32px, calc(6 * min(1vw, 19.2px)), 100px); align-items: center; }
.job-grid { align-items: start; }
.job .shots { align-self: start; margin-top: 0; }
.job .shots--trio .shot--tall { flex-basis: calc(50% - 12px); max-width: calc(50% - 12px); }
.job .shots--trio .shot--wide { flex-basis: 100%; max-width: 100%; }
.job .shot-cap { font-size: .9375rem; }
.where .area-map { max-width: 540px; justify-self: center; width: 100%; }
.statement-in { max-width: 1420px; }
.statement-in > h2 { max-width: none; font: 900 clamp(2.375rem, .8rem + calc(6.4 * min(1vw, 19.2px)), 6.5rem)/.95 var(--display); }   /* two lines at 390, one at 1440 */
.statement-in > .band-lead, .statement-also { max-width: 70ch; }
.statement-in .band-lead { margin-top: 22px; }
.statement-in > .pill { margin-top: 28px; }
.statement-also { margin-top: 56px; }
.statement-also h2 { max-width: none; font-size: clamp(1.5rem, 1.2rem + calc(1 * min(1vw, 19.2px)), 2.2rem); }
.statement-also .band-lead { margin-top: 14px; }
#licensed { scroll-margin-top: calc(var(--bar-h) + 16px); }
.band--alert .pill { background: var(--char); color: #fff; }
@media (min-width: 901px) {
  .job-grid > .band-head { position: sticky; top: calc(var(--bar-h) + 48px); }
  .where-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
  .where .area-map { order: -1; justify-self: start; }
}
.said-head { margin-bottom: 40px; }
.stars { fill: #F2C230; width: 120px; height: 24px; display: block; margin-bottom: 16px; }
.rail--teaser { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rail--teaser .review-quote { max-height: 10.5em; overflow: hidden; }
.cta { background: var(--blue); color: var(--char); }
.cta-in { display: grid; grid-template-columns: 1fr auto; gap: 24px 64px; align-items: center; }
.cta-copy h2 { max-width: 15ch; }
.cta-copy p { max-width: 44ch; margin-top: 16px; font-size: var(--step-lead); }
.cta-act { display: grid; gap: 12px; }
.cta-act .pill { width: 100%; }
.cta-act .cta-call { background: var(--char); color: #fff; }
.cta-act .cta-send { border-color: var(--char); color: var(--char); }

/* Services: each name has its own short line; images are evidence, not decorative crops. */
.services-intro { padding-bottom: clamp(48px, calc(5 * min(1vw, 19.2px)), 72px); }
.services-group { padding-top: clamp(48px, calc(6 * min(1vw, 19.2px)), 80px); }
.services-title { margin-bottom: clamp(28px, calc(4 * min(1vw, 19.2px)), 48px); max-width: 22ch; }
.svc-list, .related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.svc { display: flex; align-items: stretch; min-width: 0; min-height: 188px; background: var(--char); color: #fff; border-radius: 14px; overflow: hidden; }
.svc-photo { width: clamp(132px, 34%, 200px); height: auto; align-self: center; flex: none; max-height: 260px; object-fit: contain; }
.svc-body { min-width: 0; padding: clamp(22px, calc(2.2 * min(1vw, 19.2px)), 32px); align-self: center; }
.svc-name { font: 800 clamp(1.25rem, 1rem + calc(.8 * min(1vw, 19.2px)), 1.65rem)/1.15 var(--display); }
.svc-name a { color: #fff; text-decoration: none; }
.svc-name a::after { content: ''; position: absolute; inset: 0; }
.svc { position: relative; }
.svc:hover .svc-name a, .svc:focus-within .svc-name a { text-decoration: underline; text-underline-offset: 4px; }
.svc-line { margin-top: 12px; font-size: 1.0625rem; line-height: 1.48; }
.svc--plain { border-left: 7px solid var(--blue); }
.services-also-in { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: center; }
.also-line { background: var(--char); border-radius: 14px; padding: 28px; }
.also-line h3 { font-size: clamp(1.25rem, 1rem + calc(.7 * min(1vw, 19.2px)), 1.6rem); }
.also-line p { margin-top: 10px; }
.service-story-in { display: grid; grid-template-columns: minmax(0, 3fr) minmax(280px, 2fr); gap: clamp(32px, calc(6 * min(1vw, 19.2px)), 112px); align-items: start; }
.service-prose { max-width: 70ch; }
.service-prose h2 { margin-bottom: 28px; }
.service-prose p { margin-top: 18px; font-size: var(--step-lead); line-height: 1.55; }
.service-essentials { background: var(--char); color: #fff; border-radius: 14px; padding: clamp(26px, calc(3 * min(1vw, 19.2px)), 44px); }
.service-essentials h3 { font-size: 1.5rem; }
.service-essentials ul { list-style: none; margin: 24px 0; padding: 0; }
.service-essentials li { padding: 12px 0 12px 28px; position: relative; }
.service-essentials li::before { content: ''; width: 10px; height: 10px; background: var(--grass); border-radius: 50%; position: absolute; left: 0; top: 21px; }
.service-work .shots { margin-top: 36px; }
.related .band-head { margin-bottom: 32px; }
.related .svc { background: var(--deep); }

/* About: a narrow reading measure and a real image of Doug on the Erie job. */
.about-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(270px, 2fr); gap: clamp(36px, calc(6 * min(1vw, 19.2px)), 96px); align-items: center; }
.about-grid .band-head { max-width: 68ch; }
.about-grid .band-head p:first-of-type { font-size: var(--step-lead); }
.about-mark { background: var(--char); color: #fff; padding: clamp(32px, calc(5 * min(1vw, 19.2px)), 72px); border-radius: 14px; }
.about-mark span { display: block; font: 800 clamp(2.3rem, 1.4rem + calc(3 * min(1vw, 19.2px)), 4.6rem)/1 var(--display); color: var(--blue); }
.about-mark p { margin-top: 18px; max-width: 22ch; }
.about-doug .shots { margin-top: 0; }
.how { padding: clamp(64px, calc(7 * min(1vw, 19.2px)), 112px) var(--m); }
.how .band-head { margin-bottom: 56px; }
.how .how-grid { align-items: start; }
.how-photos { align-self: start; }
@media (max-width: 700px) {
  .how-photos .shot { max-width: 100%; }   /* one photo per row on a phone, whatever its shape */
}
.how-photos .shot-cap { color: #fff; }
.how-photos .shot-link img { aspect-ratio: auto; object-fit: contain; max-height: none; }
.how-photos .shot-link { display: block; }

/* Reviews: masonry-like columns on wide screens; one native swipe rail for each source on phones. */
.review-intro-in { display: grid; grid-template-columns: 3fr 2fr; align-items: center; gap: 32px 80px; }
.review-score { background: var(--char); color: #fff; border-radius: 14px; padding: 32px; display: grid; gap: 8px; }
.review-score strong { font: 800 clamp(1.25rem, 1rem + calc(.9 * min(1vw, 19.2px)), 1.8rem)/1.15 var(--display); }
.review-score span { color: #DCD7D0; }
.review-group-head { display: flex; flex-wrap: wrap; gap: 16px; align-items: baseline; margin-bottom: 32px; }
.review-group-head h2 { font-size: clamp(2rem, 1.5rem + calc(2 * min(1vw, 19.2px)), 3.3rem); }
.review-group-head span { font-size: 1rem; }
.rail--reviews { display: block; columns: 3; column-gap: 20px; }
.review { break-inside: avoid; display: flex; flex-direction: column; padding: clamp(20px, calc(2 * min(1vw, 19.2px)), 32px); margin: 0 0 20px; border-radius: 14px; background: var(--char); color: #fff; }
.review-quote { margin: 0; font-size: 1.0625rem; line-height: 1.55; }
.review-quote p + p { margin-top: 12px; }
.review-by { margin-top: 26px; padding-top: 0; border: 0; display: flex; flex-wrap: wrap; gap: 0 10px; font-size: .9375rem; }
.review-by b { font-family: var(--display); font-size: 1.125rem; }
.review-by span { color: #DED8D1; }
.review-toggle, .review-more { display: none; }
.faq { padding: clamp(64px, calc(7 * min(1vw, 19.2px)), 112px) var(--m); }
.faq details { border-bottom: 2px solid var(--soil-2); }
.faq details p { font-size: 1.0625rem; line-height: 1.55; }

/* Work area: a schematic cross, deliberately not a geographic map. */
.area-overview-in { display: grid; grid-template-columns: minmax(0, 2fr) minmax(300px, 3fr); gap: clamp(32px, calc(6 * min(1vw, 19.2px)), 96px); align-items: center; }
.area-overview .pill { margin-top: 28px; }
.area-map { margin: 0; width: min(100%, 580px); justify-self: center; }
.area-svg { display: block; width: 100%; height: auto; }
.area-pipe { fill: #F4F2EE; stroke: var(--char); stroke-width: 4; }
.area-collar { fill: #CCC9C2; stroke: var(--char); stroke-width: 3; }
.area-town rect, .area-hub rect { fill: var(--char); stroke: var(--char); stroke-width: 3; }
.area-town text, .area-hub text { fill: #fff; font: 700 20px var(--display); }
.area-hub rect { fill: var(--blue); }
.area-hub text { fill: var(--char); font-weight: 800; font-size: 23px; }
.area-north { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.area-north text { stroke: none; fill: currentColor; font: 700 15px var(--display); }
.area-cap { font-size: .9375rem; text-align: center; margin-top: -4px; }
.area-facts-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, calc(4 * min(1vw, 19.2px)), 64px); }
.area-fact { padding: clamp(24px, calc(3 * min(1vw, 19.2px)), 44px); border-radius: 14px; background: var(--char); }
.area-fact h2 { font-size: clamp(1.7rem, 1.3rem + calc(1.3 * min(1vw, 19.2px)), 2.5rem); }
.area-fact p { margin-top: 18px; font-size: var(--step-lead); max-width: 42ch; }
.area-fact .pill { margin-top: 28px; }

/* Contact: the form is the first body band. The checklist is supporting information, not a second form. */
.contact-send-in { display: grid; grid-template-columns: 1fr 2fr; gap: 32px 64px; }
.contact-send ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-send li { padding: 20px 24px 20px 46px; position: relative; border-radius: 14px; background: var(--char); color: #fff; font-weight: 700; }
.contact-send li::before { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--grass); position: absolute; left: 22px; top: 28px; }
.contact-call-in { display: flex; gap: 32px 64px; align-items: center; justify-content: space-between; }
.contact-call-in .pill { flex: none; }
.quote { scroll-margin-top: calc(var(--bar-h) + 12px); }
.quote .field textarea { font: inherit; width: 100%; min-height: 132px; border: 2px solid #fff; border-radius: 10px; padding: 10px 14px; resize: vertical; }
.quote .field textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.quote .field textarea[aria-invalid=true] { border-color: #FF8A7A; }
.quote-pitch p { max-width: 70ch; }
.quote-pitch p + p { margin-top: 12px; }

/* Short plain-reading legal pages and the form's demo thank-you page. */
.legal-in { max-width: 760px; }
.legal-part { padding: 36px 0; border-bottom: 2px solid rgb(34 34 34 / .35); }
.legal-part:first-of-type { padding-top: 28px; }
.legal-part:last-of-type { border-bottom: 0; }
.legal-part h2 { font-size: clamp(1.65rem, 1.25rem + calc(1.2 * min(1vw, 19.2px)), 2.5rem); max-width: none; }
.legal-part p { margin-top: 16px; max-width: 68ch; line-height: 1.65; }
.thanks-in { max-width: 760px; }
.thanks-in .pill { margin-top: 32px; }

/* Phone and short-viewport cut. All content stays in flow above the fixed Call + Quote dock. */
@media (max-width: 900px) {
  .pitch-grid, .job-grid, .where-grid, .cta-in, .service-story-in, .about-grid,
  .review-intro-in, .area-overview-in, .contact-send-in { grid-template-columns: 1fr; }
  .job .shots { margin-top: 8px; }
  .services-also-in { grid-template-columns: 1fr; }
  .service-essentials { max-width: 640px; }
  .rail--reviews { columns: 2; }
  .review-intro .review-score { max-width: 500px; }
  .how .band-head { margin-bottom: 32px; }
}
@media (max-width: 700px) {
  .band, .how, .faq { padding-block: 64px; }
  .band-head h2 { max-width: 18ch; }
  .band-lead { font-size: 1.1875rem; line-height: 1.48; margin-top: 18px; }
  .points { grid-template-columns: 1fr; gap: 10px; }
  .point { padding: 20px 22px; }
  .pitch-points .point { padding: 0; }
  .point p { font-size: 1rem; }
  .pitch-call { display: none; }
  .cta-in { gap: 28px; }
  .cta-act { width: 100%; }
  .svc-list, .related-grid, .area-facts-in { grid-template-columns: 1fr; }
  .svc { min-height: 0; }
  .svc:not(.svc--plain) { display: flex; flex-direction: column; }
  .svc:not(.svc--plain) .svc-photo { display: block; width: 100%; height: clamp(180px, calc(52 * min(1vw, 19.2px)), 240px); max-height: none; object-fit: cover; object-position: 50% 42%; }
  .svc--plain { min-height: 0; }
  .svc:not(.svc--plain) .svc-body { align-self: stretch; width: 100%; }
  .svc-body { padding: 18px 22px 22px; }
  .svc-name { font-size: 1.25rem; }
  .svc-line { font-size: 1rem; }
  .rail--reviews { display: flex; columns: auto; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    gap: 16px; margin-inline: calc(var(--m) * -1); padding: 0 var(--m) 14px; scroll-padding-left: var(--m); }
  .rail--reviews .review { flex: 0 0 min(calc(84 * min(1vw, 19.2px)), 420px); scroll-snap-align: start; margin: 0; align-self: flex-start; }
  .rail--teaser { display: flex; grid-template-columns: none; gap: 16px; }
  .rail--teaser .review { flex: 0 0 min(calc(84 * min(1vw, 19.2px)), 420px); scroll-snap-align: start; margin: 0; }
  .review-quote { font-size: 1rem; }
  .review--long .review-toggle { display: block; position: absolute; opacity: 0; width: 1px; height: 1px; }
  .review--long .review-toggle:focus-visible + .review-quote { outline: 3px solid var(--kubota); outline-offset: 4px; border-radius: 4px; }
  .review--long .review-quote { max-height: 9.3em; overflow: hidden; }
  .review--long .review-toggle:checked + .review-quote { max-height: none; }
  .review--long .review-more { display: inline-flex; align-items: center; min-height: 48px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
  .review--long .review-more-shut, .review--long .review-toggle:checked ~ .review-more .review-more-open { display: none; }
  .review--long .review-toggle:checked ~ .review-more .review-more-shut { display: inline; }
  .contact-send ul { grid-template-columns: 1fr; }
  .contact-call-in { flex-direction: column; align-items: flex-start; }
  .contact-call-in .pill { width: 100%; }
  .area-map { max-width: 440px; }
  .legal-part { padding-block: 28px; }
}

/* Keep scroll-snap rails inside their own band; their offscreen cards must not widen the document. */
.review-group, .said { overflow: clip; }
.review { position: relative; }
.band .wrap, .band .wrap > *, .cta-act, .cta-copy { min-width: 0; }
.cta-act .pill { white-space: normal; text-align: center; }

.svc-figure { margin: 0; width: clamp(132px, 34%, 200px); flex: none; align-self: center; }
.svc-figure .svc-photo { width: 100%; max-height: 260px; }
.svc-figure figcaption { font-size: .875rem; line-height: 1.35; padding: 8px 8px 10px; }
.service-lead-photo { min-width: 0; }
.service-lead-photo .shot { width: 100%; max-width: none; }
.service-lead-photo .shot img { width: 100%; max-height: 660px; object-fit: contain; }
.service-photo-context { margin: 0 0 16px; font-weight: 700; font-size: 1rem; line-height: 1.4; }
.service-story-in:has(.service-lead-photo) .service-essentials { grid-column: 1 / -1; }
.about-doug .about-grid { grid-template-areas: "bio first" "bio second"; align-items: start; }
.about-doug .about-bio { grid-area: bio; }
.about-owner-photo { grid-area: first; }
.about-owner-second { grid-area: second; }
.about-owner-photo .shot, .about-owner-second .shot { width: 100%; max-width: none; }
.work-chapter { margin-top: clamp(36px, calc(5 * min(1vw, 19.2px)), 64px); }
.work-chapter + .work-chapter { margin-top: clamp(54px, calc(8 * min(1vw, 19.2px)), 108px); }
.work-chapter h3 { font: 800 clamp(1.4rem, 1.2rem + calc(.8 * min(1vw, 19.2px)), 1.9rem)/1.2 var(--display); margin-bottom: 22px; }
.work-chapter .shots { margin-top: 0; }
@media (max-width: 900px) {
  .about-doug .about-grid { grid-template-areas: "first" "bio" "second"; }
  .about-owner-photo .shot, .about-owner-second .shot { max-width: min(100%, 500px); }
  .service-story-in:has(.service-lead-photo) .service-essentials { grid-column: 1; }
}
@media (max-width: 700px) {
  .pitch { padding-block: 40px; }
  .pitch-grid { gap: 22px; }
  .pitch-photo .shot img { height: 200px; }
  .pitch-points .points { grid-template-columns: 1fr; gap: 20px; }
  .job .shots--trio .shot--tall { flex-basis: calc(50% - 6px); max-width: calc(50% - 6px); }
  .svc-figure { width: 100%; align-self: stretch; }
  .svc-figure .svc-photo { height: clamp(180px, calc(52 * min(1vw, 19.2px)), 240px); max-height: none; object-fit: cover; }
  .svc-figure figcaption { padding: 9px 16px; }
}

/* Reviews page: one collection of reviews that scrolls only downward. A long review shows its
   first lines; tapping anywhere on the card opens the whole review in place, tapping again closes it. */
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.review-grid .review { margin: 0; }
.review-grid .review--long .review-toggle { display: block; position: absolute; opacity: 0; width: 1px; height: 1px; }
.review-grid .review--long .review-toggle:focus-visible + .review-quote { outline: 3px solid var(--kubota); outline-offset: 4px; border-radius: 4px; }
.review-grid .review--long .review-quote { max-height: 9.3em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); }
.review-grid .review--long .review-toggle:checked + .review-quote { max-height: none; -webkit-mask-image: none; mask-image: none; }
.review-grid .review--long .review-more { display: inline-flex; align-items: center; min-height: 48px; margin-top: 4px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.review-grid .review--long .review-more::after { content: ""; position: absolute; inset: 0; border-radius: inherit; cursor: pointer; }
.review-grid .review--long .review-more-shut, .review-grid .review--long .review-toggle:checked ~ .review-more .review-more-open { display: none; }
.review-grid .review--long .review-toggle:checked ~ .review-more .review-more-shut { display: inline; }
.review-grid .review--long .review-by { margin-top: 14px; }
@media (max-width: 900px) { .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .review-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; } }
