/* Integrity Plumbing & Utilities: ground truth.
   The grade line is the wave traced from their logo. Above it: the surface. Below it: the work.
   Tokens are measured in design/integrity-plumbing.md. */

:root {
  --sky: #F5F7F4;
  --white: #FFFFFF;
  --sand: #E9E3D6;
  --sand-2: #E1D9C8;
  --ink: #16191A;
  --slate: #555A5E;
  --rule: #CFD4CD;
  --rule-sand: #CBBFA8;
  --lime: #94C840;
  --lime-2: #A6D652;
  --moss: #3E6A16;
  --clay: #1C201D;
  --clay-2: #252A26;
  --paper: #E9ECE6;
  --paper-muted: #A9B0A8;
  --water: #1D5FC4;
  --sewer: #94C840;
  --gas: #F2C200;
  --comms: #F07F0A;
  --power: #D7261E;
  --dig: #F4F4F0;
  --sa-accent: #94C840;
  --sa-accent-ink: #16191A;
  --display: 'Antonio', 'Arial Narrow', 'Helvetica Neue', sans-serif;
  --text: 'Geologica', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gut: clamp(20px, 4.4vw, 64px);
  --wrap: 1240px;
  --sec: clamp(76px, 9vw, 132px);
  --radius: 3px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--sky); color: var(--ink);
  font: 400 18px/1.62 var(--text); font-optical-sizing: auto;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--lime); color: var(--ink); }

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100; padding: 12px 18px;
  background: var(--ink); color: var(--sky); border-radius: var(--radius); text-decoration: none; font-weight: 500;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--moss); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .foot :focus-visible { outline-color: var(--lime); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }
.wrap--wide { width: min(1400px, 100% - 2 * var(--gut)); margin-inline: auto; }

/* ---------------------------------------------------------------- type */
.d1 { font: 300 clamp(52px, 8.2vw, 124px)/1.0 var(--display); letter-spacing: -0.006em; }
.d2 { font: 300 clamp(40px, 5.2vw, 72px)/1.02 var(--display); letter-spacing: -0.004em; }
.d3 { font: 400 clamp(28px, 3vw, 40px)/1.08 var(--display); }
.h3 { font: 500 21px/1.3 var(--text); }
.lede { font-size: clamp(19px, 1.5vw, 21px); line-height: 1.58; max-width: 60ch; }
.small { font-size: 15px; line-height: 1.55; color: var(--slate); }
.measure { max-width: 66ch; }
.tabnum { font-variant-numeric: tabular-nums; }

.tlink {
  color: var(--moss); font-weight: 500; text-decoration: underline; text-decoration-color: var(--lime);
  text-decoration-thickness: 2px; text-underline-offset: 5px; transition: text-decoration-color .2s, color .2s;
}
.tlink:hover { text-decoration-color: var(--moss); }
.on-dark .tlink { color: var(--paper); }
.on-dark .tlink:hover { text-decoration-color: var(--paper); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border: 0; border-radius: var(--radius);
  background: var(--lime); color: var(--ink); font: 500 17px/1.1 var(--text); letter-spacing: .005em;
  text-decoration: none; cursor: pointer; transition: background-color .18s ease, transform .18s ease;
}
.btn:hover { background: var(--lime-2); }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 16px; }
.btn--ink { background: var(--ink); color: var(--sky); }
.btn--ink:hover { background: #2B3031; }
.tel {
  font: 300 clamp(24px, 2.2vw, 31px)/1 var(--display); letter-spacing: .01em; text-decoration: none; color: inherit;
  white-space: nowrap; font-variant-numeric: tabular-nums;
}
.tel:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; }

/* ---------------------------------------------------------------- the flag (a planted marker) */
.flag { width: 22px; height: 38px; flex: none; overflow: visible; }
.flag__stake { stroke: var(--ink); stroke-width: 1.6; fill: none; }
.flag__cloth { fill: var(--lime); }
.on-dark .flag__stake { stroke: var(--paper); }

/* ---------------------------------------------------------------- the grade line */
.grade { display: block; width: 100%; height: 30px; overflow: visible; }
.grade path { fill: none; stroke: var(--ink); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.on-dark .grade path { stroke: var(--paper); }

/* ---------------------------------------------------------------- header: above grade */
.head { position: relative; z-index: 20; padding-top: 22px; }
.head__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.brand { display: block; flex: none; line-height: 0; border-radius: 2px; }
.brand img { width: 168px; height: auto; }
.head__actions { display: flex; align-items: center; gap: 22px; padding-top: 10px; }
.menu-btn {
  min-height: 52px; padding: 12px 18px; border: 0; border-radius: var(--radius); cursor: pointer;
  background: var(--ink); color: var(--sky); font: 500 17px/1 var(--text);
}
.menu-btn:hover { background: #2B3031; }
.gnav { position: relative; margin-top: 8px; }
.gnav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 40px; padding: 0 0 0 4px; position: relative; z-index: 1; }
.gnav li { position: relative; }
.gnav a {
  position: relative; display: inline-flex; align-items: flex-end; gap: 8px; min-height: 44px; padding: 10px 0 6px;
  font: 500 16px/1 var(--text); text-decoration: none; color: var(--ink);
}
.gnav a:hover { color: var(--moss); }
.gnav a .flag { position: absolute; left: -21px; top: 5px; width: 19px; height: 50px; }
.gnav a[aria-current="page"] { padding-left: 2px; }
.gnav .grade { margin-top: -6px; }
.gnav a:not([aria-current]) .flag { opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; }
.gnav a:not([aria-current]):hover .flag { opacity: 1; transform: none; }

/* the compact bar that stays with you (top only; the bottom right belongs to the assistant) */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 40; height: 68px; background: rgba(245, 247, 244, .97);
  border-bottom: 1px solid var(--rule); transform: translateY(-110%); transition: transform .28s ease;
}
.bar.is-on { transform: none; }
.bar__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.bar .brand img { width: 74px; }
.bar__right { display: flex; align-items: center; gap: 18px; }
.bar .tel { font-size: 24px; }
.bar .menu-btn { min-height: 44px; padding: 10px 16px; font-size: 16px; }

/* ---------------------------------------------------------------- the index (menu) */
.index {
  position: fixed; inset: 0; z-index: 60; overflow-y: auto; overscroll-behavior: contain;
  background: var(--sky); padding: 22px 0 64px;
}
.index[hidden] { display: none; }
.index__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.index__grid { display: grid; grid-template-columns: repeat(4, 1fr) 1.1fr; gap: 36px 40px; margin-top: 40px; }
.index h2 { font: 400 30px/1.05 var(--display); margin-bottom: 12px; }
.index h2 a { text-decoration: none; }
.index h2 a:hover { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.index ul { list-style: none; }
.index li a { display: block; padding: 7px 0; text-decoration: none; font-size: 17px; }
.index li a:hover { color: var(--moss); }
.index__side { border-left: 1px solid var(--rule); padding-left: 32px; }
.index__side .tel { display: inline-block; font-size: 34px; margin: 6px 0 16px; }
body.menu-open { overflow: hidden; }

/* ---------------------------------------------------------------- sections */
.band { padding-block: var(--sec); position: relative; }
.band--white { background: var(--white); }
.band--sand { background: var(--sand); }
.band--clay { background: var(--clay); color: var(--paper); }
.band--tight { padding-block: clamp(56px, 6vw, 88px); }
.band--flush-top { padding-top: 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 20px 56px; align-items: end; margin-bottom: clamp(36px, 4vw, 56px); }
.sec-head p { margin: 0; }
.sec-head--single { grid-template-columns: 1fr; }
.band--sand .small { color: #4F5256; }

/* ---------------------------------------------------------------- inner page hero */
.phero { padding: clamp(28px, 3vw, 48px) 0 clamp(56px, 6vw, 88px); }
.crumbs { font-size: 15px; color: var(--slate); margin-bottom: clamp(22px, 2.4vw, 34px); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: #8A8C90; }
.crumbs a { color: var(--slate); text-decoration-color: var(--rule); text-underline-offset: 4px; }
.crumbs a:hover { color: var(--ink); }
.phero__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.phero__grid--text { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: end; }
.phero h1 { margin-bottom: 26px; }
.phero h1.d1 { font-size: clamp(46px, 6.2vw, 94px); }
.sec-head div p + p { margin-top: 12px; }
.phero .lede { margin-bottom: 30px; }
.phero__fig { margin: 0; }
.phero__fig img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); background: #DDE3DC; }
.phero__fig figcaption { margin-top: 12px; }
.phero__note { margin-top: 18px; }

/* ---------------------------------------------------------------- surface / below */
.sb { position: relative; }
.sb__surface { background: var(--sky); padding: clamp(64px, 7vw, 104px) 0 clamp(26px, 3vw, 40px); }
.sb__surface h2 { margin-bottom: clamp(26px, 3vw, 40px); }
.signs { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px 44px; }
.signs li { font: 300 clamp(24px, 2.2vw, 31px)/1.18 var(--display); padding-top: 14px; border-top: 1px solid var(--rule); max-width: 17em; }
.sb__line { position: relative; height: 34px; background: var(--sand); }
.sb__line .grade { position: absolute; inset: 0; height: 34px; }
.sb__line .grade .fill { fill: var(--sky); stroke: none; }
.sb__below { background: var(--sand); padding: clamp(40px, 5vw, 72px) 0 clamp(64px, 7vw, 104px); }
.sb__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(36px, 5vw, 88px); }
.sb__below h2 { margin-bottom: 26px; }
.did { list-style: none; counter-reset: none; }
.did li { position: relative; padding: 14px 0 14px 30px; border-top: 1px solid var(--rule-sand); }
.did li:last-child { border-bottom: 1px solid var(--rule-sand); }
.did li::before { content: ""; position: absolute; left: 2px; top: 25px; width: 14px; height: 2px; background: var(--ink); }
.detail p { max-width: 62ch; }

/* ---------------------------------------------------------------- service rows */
.rows { list-style: none; border-top: 1px solid var(--rule); }
.rows li { border-bottom: 1px solid var(--rule); }
.rows a.row {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) auto; gap: 8px 40px; align-items: baseline;
  padding: 24px 4px; text-decoration: none; color: inherit; transition: background-color .2s ease;
}
.rows a.row:hover { background: rgba(148, 200, 64, .10); }
.row__name { font: 400 clamp(26px, 2.4vw, 34px)/1.1 var(--display); }
.row__line { color: var(--slate); font-size: 17px; }
.row__go { font-weight: 500; color: var(--moss); white-space: nowrap; }
.band--sand .rows, .band--sand .rows li { border-color: var(--rule-sand); }
.band--sand .row__line { color: #4F5256; }

/* services hub groups */
.group { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); padding-block: clamp(48px, 5vw, 72px); border-top: 1px solid var(--rule); }
.group:first-child { border-top: 0; padding-top: 0; }
.group__fig { margin: 0; }
.group__fig img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.group h2 { margin-bottom: 14px; }
.group p { max-width: 54ch; }
.group .rows { margin-top: 22px; }
.group .rows a.row { grid-template-columns: minmax(0, 1fr) auto; padding: 16px 4px; gap: 4px 24px; }
.group .row__name { grid-column: 1; grid-row: 1; }
.group .row__go { grid-column: 2; grid-row: 1; }
.group .row__line { grid-column: 1 / -1; grid-row: 2; font-size: 16px; }
.group .row__name { font-size: 26px; }

/* ---------------------------------------------------------------- field photos */
.field { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.field--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.field figure { margin: 0; }
.field button { all: unset; display: block; width: 100%; cursor: zoom-in; border-radius: var(--radius); }
.field button:focus-visible { outline: 3px solid var(--moss); outline-offset: 3px; }
.field img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); background: #D9DED6; transition: filter .25s ease; }
.field button:hover img { filter: brightness(1.05); }
.field figcaption { margin-top: 10px; font-size: 15px; line-height: 1.5; color: var(--slate); max-width: 36ch; }
.band--sand .field figcaption { color: #4F5256; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1100px); max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(22, 25, 26, .9); }
.lightbox figure { margin: 0; }
.lightbox img { max-height: 80vh; width: auto; max-width: 100%; margin: 0 auto; border-radius: var(--radius); }
.lightbox figcaption { color: var(--paper); text-align: center; margin-top: 14px; font-size: 16px; }
.lightbox__bar { display: flex; justify-content: center; gap: 12px; margin-top: 14px; }
.lightbox__bar button { min-height: 44px; padding: 10px 18px; border: 0; border-radius: var(--radius); background: var(--paper); color: var(--ink); cursor: pointer; font-weight: 500; }

/* ---------------------------------------------------------------- reviews */
.proof { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(36px, 5vw, 88px); align-items: start; }
.proof h2.d2 { font-size: clamp(36px, 3.7vw, 54px); }
.detail__fig { margin: 30px 0 28px; display: grid; grid-template-columns: 180px 1fr; gap: 18px; align-items: end; }
.detail__fig button { all: unset; cursor: zoom-in; display: block; border-radius: var(--radius); }
.detail__fig button:focus-visible { outline: 3px solid var(--moss); outline-offset: 3px; }
.detail__fig img { width: 180px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.detail__fig figcaption { font-size: 15px; color: #4F5256; }
.phero + .sb .sb__surface { padding-top: clamp(28px, 3vw, 48px); }
.rating__num { font: 200 clamp(120px, 15vw, 212px)/.84 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; margin: 0; }
.rating__stars { display: flex; gap: 4px; margin: 18px 0 10px; }
.star { width: 22px; height: 22px; fill: var(--ink); }
.on-dark .star { fill: var(--lime); }
.rating__label { font-size: 18px; margin-bottom: 18px; }
.rating__links { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.quotes { display: grid; gap: clamp(24px, 3vw, 40px); }
.quote { margin: 0; padding-top: 22px; border-top: 1px solid var(--rule); }
.quote p { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.55; margin-bottom: .8em; }
.quote--big p { font: 300 clamp(30px, 3vw, 44px)/1.15 var(--display); }
.quote footer { display: flex; align-items: center; gap: 14px; font-size: 15px; color: var(--slate); }
.mono { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--sky); font: 400 18px/1 var(--display); flex: none; }
.quote cite { font-style: normal; font-weight: 500; color: var(--ink); }
.clamp p { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.clamp.is-open p { display: block; -webkit-line-clamp: unset; overflow: visible; }
.more { all: unset; cursor: pointer; color: var(--moss); font-weight: 500; text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 5px; min-height: 44px; display: inline-flex; align-items: center; margin-bottom: 8px; }
.more:focus-visible { outline: 3px solid var(--moss); outline-offset: 3px; }
.reply { margin-top: 14px; padding: 16px 18px; border-left: 3px solid var(--lime); background: var(--white); font-size: 16px; }

/* ---------------------------------------------------------------- how we work: four flags on a line */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 44px); position: relative; padding-top: 58px; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 50px; height: 1.5px; background: var(--ink); }
.steps li { position: relative; }
.steps .flag { position: absolute; top: -52px; left: 0; width: 26px; height: 52px; }
.steps__n { display: block; font: 300 20px/1 var(--display); color: var(--slate); margin: 16px 0 8px; font-variant-numeric: tabular-nums; }
.steps h3 { font: 400 clamp(26px, 2.3vw, 32px)/1.08 var(--display); margin-bottom: 12px; }
.steps p { font-size: 17px; color: #3C4043; }
.band--sand .steps p { color: #3E4042; }

/* ---------------------------------------------------------------- facts (credentials, set as type) */
.facts { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.facts li { padding: 22px 0; border-top: 1px solid var(--rule); }
.facts strong { display: block; font: 400 clamp(26px, 2.4vw, 34px)/1.1 var(--display); margin-bottom: 8px; font-weight: 400; }
.facts span { color: var(--slate); font-size: 17px; }
.on-dark .facts li { border-color: #3A403B; }
.on-dark .facts span { color: var(--paper-muted); }

/* ---------------------------------------------------------------- towns */
.towns { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.towns li { border-bottom: 1px solid var(--rule); }
.towns a { display: flex; flex-direction: column; gap: 4px; padding: 20px 12px 20px 0; text-decoration: none; min-height: 44px; }
.towns a:hover .towns__name { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.towns__name { font: 400 clamp(26px, 2.4vw, 34px)/1.1 var(--display); }
.towns__county { font-size: 15px; color: var(--slate); }

/* ---------------------------------------------------------------- questions */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
  padding: 22px 2px; font: 500 19px/1.4 var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; margin-top: 6px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 12px; }
.faq summary:hover { color: var(--moss); }
.faq .ans { padding: 0 2px 24px; max-width: 70ch; color: #34383A; }
.band--sand .faq, .band--sand .faq details { border-color: var(--rule-sand); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 88px); }

/* ---------------------------------------------------------------- the closing call */
.close { text-align: left; }
.close__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.close h2 { margin-bottom: 18px; }
.close .hours { list-style: none; font-size: 17px; }
.close .hours li { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-bottom: 1px solid #3A403B; }
.close .hours li span:last-child { color: var(--paper-muted); }

/* ---------------------------------------------------------------- contact */
.contact { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(36px, 5vw, 88px); }
.card { background: var(--white); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); }
.form { display: grid; gap: 18px; }
.form label { display: grid; gap: 8px; font-weight: 500; font-size: 16px; }
.form input, .form textarea {
  width: 100%; font: 400 18px/1.4 var(--text); color: var(--ink); background: var(--sky);
  border: 1.5px solid #8C9197; border-radius: var(--radius); padding: 14px 14px; min-height: 52px;
}
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 3px solid var(--moss); outline-offset: 1px; border-color: var(--ink); }
.form__note { font-size: 15px; color: var(--slate); margin: 0; }
.form__msg { font-weight: 500; margin: 0; }
.form__msg[data-state="ok"] { color: var(--moss); }
.form__msg[data-state="err"] { color: #A3261C; }
.reach { list-style: none; border-top: 1px solid var(--rule); margin-bottom: 30px; }
.reach li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.reach dt, .reach .k { color: var(--slate); font-size: 15px; padding-top: 3px; }
.map { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--radius); background: #DDE3DC; display: block; }

/* ---------------------------------------------------------------- bedrock (footer) */
.foot { background: var(--clay); color: var(--paper); padding: clamp(64px, 7vw, 104px) 0 40px; position: relative; }
.foot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: repeating-linear-gradient(90deg, #2B302C 0 2px, transparent 2px 14px); opacity: .9; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(4, minmax(0, 2fr)); gap: 36px 40px; }
.foot .brand img { width: 150px; }
.foot h2 { font: 400 22px/1.1 var(--display); color: var(--paper); margin-bottom: 14px; letter-spacing: .01em; }
.foot ul { list-style: none; }
.foot li { padding: 4px 0; }
.foot a { color: var(--paper); text-decoration: none; }
.foot a:hover { text-decoration: underline; text-decoration-color: var(--lime); text-underline-offset: 4px; }
.foot p, .foot li { font-size: 16px; }
.foot .muted { color: var(--paper-muted); }
.foot__tel { font: 300 30px/1 var(--display); display: inline-block; margin: 18px 0 8px; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 30px; margin-top: clamp(48px, 5vw, 72px); padding-top: 24px; border-top: 1px solid #343A35; font-size: 14px; color: var(--paper-muted); }
.foot__base p { margin: 0; font-size: 14px; }

/* ---------------------------------------------------------------- home: the journey over the 3D yard */
#world { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0; transition: opacity 1.2s ease; pointer-events: none; display: block; }
.world-live #world { opacity: 1; }
.scrim { display: none; }
.home .head { position: absolute; left: 0; right: 0; top: 0; }
.home .gnav { width: max-content; max-width: 100%; }
.home .gnav ul { padding-right: 28px; }
.home .gnav .grade { width: 0; min-width: 100%; }
.has-3d .stop__photo, .has-3d .stop blockquote { display: none; }
.journey { position: relative; z-index: 2; }
.stop { position: relative; }
.stop__card { position: relative; }
.stop__card h2 { margin-bottom: 20px; }
.stop__card p { max-width: 50ch; }
.stop__list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 6px 0 24px; }
.stop__list a { font-weight: 500; }
.stop__fig { margin: 0; }
.stop__fig img { width: 100%; border-radius: var(--radius); }
.stop__photo { margin: 22px 0 0; display: grid; grid-template-columns: 116px 1fr; gap: 16px; align-items: end; max-width: 460px; }
.stop__photo img { width: 116px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.stop__photo figcaption { font-size: 15px; line-height: 1.5; color: var(--slate); }
.stop blockquote { margin: 0 0 24px; padding-left: 18px; border-left: 3px solid var(--lime); max-width: 50ch; }
.stop blockquote p { font-size: 17px; margin-bottom: 8px; }
.stop blockquote footer { font-size: 15px; color: var(--slate); }

.legend { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 26px; margin: 4px 0 22px; max-width: 480px; }
.legend li { display: flex; align-items: center; gap: 12px; font-size: 16px; line-height: 1.3; }
.legend i { width: 30px; height: 8px; border-radius: 2px; flex: none; box-shadow: inset 0 0 0 1px rgba(22, 25, 26, .18); }
.legend b { font-weight: 500; }
.sw-water { background: var(--water); } .sw-sewer { background: var(--sewer); } .sw-gas { background: var(--gas); }
.sw-comms { background: var(--comms); } .sw-power { background: var(--power); } .sw-dig { background: var(--dig); }

.hero-h1 { margin-bottom: 26px; max-width: 12em; font-size: clamp(48px, 5.5vw, 84px); line-height: 1.02; }
.hero-lede { max-width: 46ch; margin-bottom: 30px; }
.hero-hours { margin-top: 24px; font-size: 15px; color: var(--slate); }
.cue { display: none; }

/* no 3D (no WebGL, no JS, reduced motion): every stop is a picture and its words */
.stop { padding-block: clamp(56px, 6vw, 96px); }
.stop--hero { padding-top: 250px; padding-bottom: clamp(56px, 6vw, 96px); }
.stop__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.stop + .stop { border-top: 1px solid var(--rule); }
.stop--hero .stop__in { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }

/* with 3D: tall sections, the words ride over the canvas */
.has-3d .stop { min-height: 170vh; padding: 0; border: 0; }
.has-3d .stop--hero { min-height: 128vh; }
.has-3d .stop__in { display: block; }
.has-3d .stop__fig { display: none; }
.has-3d .stop__card { position: sticky; top: 15vh; max-width: 540px; padding: 0 0 48px; }
.has-3d .stop--hero .stop__card { position: relative; top: auto; padding-top: 214px; }
.has-3d .stop[data-tone="dark"] { color: var(--paper); }
.has-3d .stop[data-tone="dark"] .stop__photo figcaption,
.has-3d .stop[data-tone="dark"] blockquote footer { color: var(--paper-muted); }
.has-3d .stop[data-tone="dark"] .tlink { color: var(--paper); }
.has-3d .stop[data-tone="dark"] .legend i { box-shadow: none; }
.has-3d .stop[data-tone="dark"] :focus-visible { outline-color: var(--lime); }
.has-3d .scrim {
  display: block; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgb(var(--scrim, 245 247 244) / .92) 0, rgb(var(--scrim, 245 247 244) / .84) 34%, rgb(var(--scrim, 245 247 244) / .4) 46%, rgb(var(--scrim, 245 247 244) / 0) 58%);
}
.has-3d .cue { display: block; margin-top: 44px; font-size: 15px; color: var(--slate); }
.has-3d .cue::after { content: ""; display: block; width: 1.5px; height: 42px; margin: 12px 0 0 6px; background: linear-gradient(var(--ink), transparent); animation: cue 2.4s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 45% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.after { position: relative; z-index: 3; background: var(--sky); }
.has-3d .home-after-line { background: var(--sky); }

/* still-mode: a clean frame for rendering stills from the canvas */
.still-mode .head, .still-mode main, .still-mode .foot, .still-mode .bar, .still-mode .scrim { visibility: hidden; }
.still-mode #world { transition: none; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .index__grid { grid-template-columns: repeat(3, 1fr); }
  .index__side { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--rule); padding: 24px 0 0; }
  .foot__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot__brand { grid-column: 1 / -1; }
  .towns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .field--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  body { font-size: 17px; }
  .brand img { width: 128px; }
  .head__actions .tel { display: none; }
  .gnav ul { gap: 2px 26px; }
  .sec-head, .phero__grid, .phero__grid--text, .sb__grid, .proof, .contact, .close__grid, .faq-grid, .group { grid-template-columns: 1fr; }
  .rows a.row { grid-template-columns: 1fr auto; }
  .row__line { grid-column: 1 / -1; grid-row: 2; }
  .steps { grid-template-columns: 1fr 1fr; gap: 64px 28px; }
  .steps::before { display: none; }
  .steps li { padding-top: 0; }
  .steps .flag { position: static; margin-bottom: -8px; }
  .facts { grid-template-columns: 1fr; }
  .field { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stop__in, .stop--hero .stop__in { grid-template-columns: 1fr; }
  .index__grid { grid-template-columns: 1fr 1fr; }
  .legend { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .gnav { display: none; }
  .head { padding-top: 16px; padding-bottom: 6px; }
  .head::after { content: ""; display: block; }
  .head .grade--mobile { display: block; margin-top: 12px; }
  .has-3d .stop { min-height: 150vh; }
  .has-3d .stop--hero { min-height: 118vh; }
  .has-3d .stop__card { position: relative; top: auto; padding: 50vh 0 36px; max-width: none; }
  .has-3d .stop__card::before { content: ""; position: absolute; inset: 44vh calc(-1 * var(--gut)) 0; z-index: -1; background: linear-gradient(180deg, rgb(var(--scrim, 245 247 244) / 0), rgb(var(--scrim, 245 247 244) / .92) 6vh, rgb(var(--scrim, 245 247 244) / .96)); }
  .has-3d .stop[data-tone="dark"] .stop__card::before { background: linear-gradient(180deg, rgb(28 32 29 / 0), rgb(28 32 29 / .9) 6vh, rgb(28 32 29 / .95)); }
  .has-3d .stop[data-tone="light"] .stop__card::before { background: linear-gradient(180deg, rgb(245 247 244 / 0), rgb(245 247 244 / .92) 6vh, rgb(245 247 244 / .96)); }
  .has-3d .stop--hero .stop__card { padding-top: 56vh; }
  .has-3d .stop--hero .stop__card::before { inset: 50vh calc(-1 * var(--gut)) 0; }
  .has-3d .scrim { display: none; }
  .stop--hero { padding-top: 170px; }
  .towns { grid-template-columns: 1fr 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .bar .tel { display: none; }
  .signs { grid-template-columns: 1fr; }
}
@media (min-width: 761px) { .head .grade--mobile { display: none; } }
@media (max-width: 560px) {
  .field, .field--4 { grid-template-columns: 1fr 1fr; gap: 14px; }
  .field figcaption { font-size: 14px; }
  .steps { grid-template-columns: 1fr; }
  .index__grid { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
  .reach li { grid-template-columns: 1fr; gap: 4px; }
  .legend { grid-template-columns: 1fr; }
  .head__actions { gap: 10px; }
  .head__actions .btn { padding-inline: 16px; }
  .menu-btn { padding-inline: 14px; }
  .stop__photo { grid-template-columns: 92px 1fr; }
  .stop__photo img { width: 92px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; scroll-behavior: auto !important; }
}
