/* Wellhouse Plumbing — paper, ink, and a pinned emergency call */
:root {
  --bg: #f4f0e8;
  --ink: #172028;
  --muted: #5c675f;
  --blue: #1e4d7b;
  --line: rgba(23, 32, 40, 0.14);
  --font: "Figtree", sans-serif;
  --display: "Source Serif 4", Georgia, serif;
  --pad: clamp(18px, 4vw, 36px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 1.05rem; line-height: 1.6; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 500; background: var(--blue); color: #fff; padding: 8px 12px; }
.skip:focus { top: 12px; }
.samplebar { background: #e7efe8; color: #234; font-size: 0.82rem; text-align: center; padding: 8px 16px; }
.samplebar a { color: var(--blue); }
.strip { background: var(--ink); color: #f4f0e8; font-size: 0.88rem; }
.strip .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 8px 0; }
.strip a { color: #fff; text-decoration: none; font-weight: 650; }
.wrap { width: min(1120px, calc(100% - var(--pad) * 2)); margin-inline: auto; }
.nav { position: sticky; top: 0; z-index: 40; background: rgba(244, 240, 232, 0.96); border-bottom: 1px solid var(--line); }
.nav__in { display: flex; align-items: center; justify-content: space-between; min-height: 70px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.brand span { font-family: var(--display); font-size: 1.45rem; }
.brand small { letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.62rem; color: var(--blue); margin-top: 4px; }
.nav__links { display: flex; align-items: center; gap: 20px; }
.nav__links a { text-decoration: none; color: var(--muted); }
.nav__links a[aria-current="page"] { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px; background: var(--blue); color: #fff !important; text-decoration: none; border: 0; font-weight: 650; cursor: pointer; }
.btn--ghost { background: transparent; color: var(--ink) !important; border: 1px solid var(--line); }
.nav__toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; position: relative; z-index: 60; }
.nav__toggle span { display: block; width: 22px; height: 1.5px; margin: 6px auto; background: var(--ink); }
@media (max-width: 860px) {
  h1 { font-size: clamp(2rem, 9vw, 2.7rem); }
  .section { padding: 40px 0; }
  .splith__copy { padding: 28px 0 20px; }
  .splith__media img { height: auto; min-height: 0; aspect-ratio: 4/3; }
  .nav__toggle { display: block; }
  .nav__links { position: fixed; inset: 0; z-index: 55; background: var(--bg); flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 28px 28px 88px; gap: 14px; transform: translateY(-102%); visibility: hidden; }
  body.menu-open .nav__links { transform: none; visibility: visible; }
  body.menu-open { overflow: hidden; }
  .nav__links a { font-family: var(--display); font-size: 1.8rem; color: var(--ink); }
  .nav__links .btn { font-family: var(--font); font-size: 1rem; }
}
.splith { display: grid; }
@media (min-width: 900px) { .splith { grid-template-columns: 1.05fr 0.95fr; min-height: calc(100svh - 118px); } }
.splith__copy { padding: 48px 0 36px; display: flex; flex-direction: column; justify-content: center; }
.splith__media img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
h1, h2, h3 { font-family: var(--display); font-weight: 560; letter-spacing: -0.03em; line-height: 1.08; }
h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); margin: 0 0 14px; }
h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); margin: 0 0 10px; }
.eyebrow { letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.72rem; color: var(--blue); margin: 0 0 10px; }
.lede { color: var(--muted); font-size: 1.12rem; max-width: 36rem; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.section { padding: 68px 0; }
.prow { display: grid; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); text-decoration: none; color: inherit; }
.prow:last-child { border-bottom: 1px solid var(--line); }
.prow img { width: 100%; height: 180px; object-fit: cover; }
.prow em { font-style: normal; color: var(--blue); letter-spacing: 0.14em; font-size: 0.75rem; }
@media (min-width: 800px) { .prow { grid-template-columns: 240px 1fr; gap: 28px; align-items: center; } .prow img { height: 150px; } }
.rail { display: grid; }
.rail article { border-left: 2px solid var(--blue); padding: 0 0 26px 18px; }
.rail span { color: var(--blue); font-weight: 700; }
.jobs { display: grid; gap: 16px; }
@media (min-width: 800px) { .jobs { grid-template-columns: 1fr 1fr 1fr; } }
.jobs a { text-decoration: none; color: inherit; }
.jobs img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.jobs p { color: var(--muted); margin: 6px 0 0; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq button { width: 100%; text-align: left; background: none; border: 0; padding: 16px 0; min-height: 48px; cursor: pointer; font-family: var(--display); font-size: 1.25rem; display: flex; justify-content: space-between; gap: 12px; }
.faq button::after { content: "+"; color: var(--blue); }
.faq__item.is-open button::after { content: "–"; }
.faq__a { color: var(--muted); padding-bottom: 14px; max-width: 40rem; }
.band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band__in, .split { display: grid; gap: 28px; }
@media (min-width: 860px) { .band__in, .split { grid-template-columns: 0.9fr 1.1fr; align-items: start; } }
.form { display: grid; gap: 12px; }
.form label { display: grid; gap: 6px; font-size: 0.84rem; color: var(--muted); }
.form input, .form textarea { width: 100%; background: #fff; border: 1px solid var(--line); min-height: 48px; padding: 12px 14px; }
.form textarea { min-height: 120px; resize: vertical; }
.pagehero { padding: 56px 0 10px; }
.pagehero img { width: 100%; max-height: 460px; object-fit: cover; margin-top: 18px; }
.prose { max-width: 42rem; }
.prose p, .note { color: var(--muted); }
.list { margin: 0; padding: 0; list-style: none; }
.list li { padding: 12px 0; border-top: 1px solid var(--line); color: var(--muted); }
.list strong { color: var(--ink); }
.related { display: grid; gap: 12px; }
@media (min-width: 700px) { .related { grid-template-columns: repeat(3, 1fr); } }
.related a { display: block; padding: 18px; background: #fff; border: 1px solid var(--line); text-decoration: none; }
.gallery { display: grid; gap: 22px; }
@media (min-width: 800px) { .gallery { grid-template-columns: 1fr 1fr; } }
.gallery img { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; }
.gallery figcaption { color: var(--muted); padding-top: 8px; }
.towns article { padding: 18px 0; border-top: 1px solid var(--line); }
.foot { border-top: 1px solid var(--line); padding: 36px 0 88px; }
.foot__in { display: grid; gap: 18px; }
.foot a { text-decoration: none; }
.foot nav { display: flex; flex-wrap: wrap; gap: 12px 18px; }
.fine { color: var(--muted); font-size: 0.82rem; }
@media (min-width: 800px) { .foot__in { grid-template-columns: 1.2fr 1fr 1.3fr; } .foot { padding-bottom: 36px; } }
.dock { display: none; }
@media (max-width: 860px) {
  .dock { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; }
  .dock a { min-height: 54px; display: grid; place-items: center; text-decoration: none; font-weight: 700; }
  .dock a:first-child { background: #9e2b2b; color: #fff; }
  .dock a:last-child { background: var(--blue); color: #fff; }
}
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.thanks { min-height: 68vh; display: grid; align-items: center; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 860px) {
  h1 { font-size: clamp(2rem, 9vw, 2.7rem); }
  .section { padding: 40px 0; }
  .splith__copy { padding: 28px 0 20px; }
  .splith__media img { height: auto; min-height: 0; aspect-ratio: 4/3; }
}
