/* ============================================================
   Tidewater Plumbing & Heating
   Chunky, friendly and sturdy: thick navy outlines, solid offset
   shadows, copper and water blue. Built to feel like a crew you'd
   trust in your house.
   ============================================================ */
:root {
  --ink: #10283f;
  --ink-soft: #3d5670;
  --cream: #f7f2e9;
  --paper: #fffdf8;
  --copper: #c56d35;
  --copper-hi: #e39a5c;
  --copper-lo: #8a4520;
  --water: #2f9be0;
  --water-hi: #8fd3ff;
  --water-lo: #1c6fae;
  --sos: #e0493a;
  --go: #2fae6b;
  --sun: #ffd36b;

  --line: 2.5px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
  --radius: 20px;

  --display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1120px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; color: var(--ink);
  background-color: var(--cream);
  /* faint blueprint grid */
  background-image:
    linear-gradient(rgba(47, 155, 224, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 155, 224, .07) 1px, transparent 1px);
  background-size: 32px 32px;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.04; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.9rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 800; max-width: 18ch; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--water); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 800px; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; z-index: 100; top: 10px; left: 10px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }

.card { background: var(--paper); border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  padding: 15px 24px; border-radius: 14px; border: var(--line); box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, background .2s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn-water { background: var(--water); color: #fff; }
.btn-water:hover { background: #3aa8ee; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ghost { background: var(--paper); color: var(--ink); }
.btn-block { width: 100%; }
.btn-big { padding: 19px 24px; font-size: 1.1rem; }

/* ---------- Emergency strip ---------- */
.alert {
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
  padding: 9px 16px; background: var(--ink); color: #fff; font-size: .95rem; text-align: center;
}
.alert a { color: var(--sun); font-weight: 700; white-space: nowrap; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--sos); box-shadow: 0 0 0 0 rgba(224, 73, 58, .7); animation: pulse 1.6s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(224, 73, 58, 0); } 100% { box-shadow: 0 0 0 0 rgba(224, 73, 58, 0); } }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter)));
  background: rgba(247, 242, 233, .92); border-bottom: var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 40px; height: 40px; transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.logo:hover .logo-mark { transform: rotate(-12deg) scale(1.1); }
.logo-word { font: 800 1.4rem/1 var(--display); letter-spacing: -0.02em; display: flex; flex-direction: column; }
.logo-word small { font: 700 .68rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--copper); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a:not(.btn) { text-decoration: none; font-weight: 600; padding: 8px 14px; border-radius: 10px; }
.nav-links a:not(.btn):hover { background: rgba(47, 155, 224, .14); }
.nav-links .btn { margin-left: 8px; padding: 11px 18px; }
.menu-btn { display: none; }

@media (max-width: 860px) {
  .menu-btn {
    display: grid; place-content: center; gap: 6px; width: 46px; height: 46px;
    border: var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); cursor: pointer; box-shadow: 3px 3px 0 var(--ink);
  }
  .menu-btn span:not(.sr) { display: block; width: 20px; height: 2.5px; background: currentColor; border-radius: 2px; transition: transform .3s; }
  .nav.open .menu-btn span:nth-child(1) { transform: translateY(4.25px) rotate(45deg); }
  .nav.open .menu-btn span:nth-child(2) { transform: translateY(-4.25px) rotate(-45deg); }
  .nav { flex-wrap: wrap; }
  .nav-links { display: none; width: 100%; flex-direction: column; align-items: stretch; padding: 4px 0 8px; }
  .nav.open .nav-links { display: flex; }
  .nav-links a:not(.btn) { padding: 12px 8px; font-size: 1.1rem; }
  .nav-links .btn { margin: 8px 0 0; }
}

/* ---------- The pipe down the page ---------- */
main { position: relative; }
.pipe { position: absolute; left: 0; top: 0; width: 100%; pointer-events: none; z-index: 0; overflow: visible; }
.pipe .water-flow { animation: flow 1.1s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -28; } }
.pipe .branch-water { transition: stroke-dashoffset .9s cubic-bezier(.4, 0, .2, 1); }
.pipe .valve { transition: transform 1.2s cubic-bezier(.3, 1.4, .5, 1); transform-box: fill-box; transform-origin: center; }
.pipe .valve.open { transform: rotate(270deg); }
.section, .hero { position: relative; z-index: 1; }

/* ---------- Sections ---------- */
.section { padding: clamp(70px, 10vw, 120px) 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
  font: 700 .82rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--copper-lo);
  background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; padding: 8px 14px;
}
.sub { margin-top: 18px; max-width: 56ch; font-size: 1.15rem; color: var(--ink-soft); }

/* ---------- Hero ---------- */
.hero { padding: clamp(46px, 7vw, 90px) 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.wave { position: relative; white-space: nowrap; color: var(--water-lo); }
.wave::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.08em; height: .22em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 10'%3E%3Cpath d='M0 5q5-5 10 0t10 0 10 0 10 0' fill='none' stroke='%232f9be0' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x 0 50% / .9em 100%;
  animation: wave 2.4s linear infinite;
}
@keyframes wave { to { background-position: .9em 50%; } }
.lede { margin-top: 24px; font-size: 1.22rem; max-width: 48ch; color: var(--ink-soft); }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.trust { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .96rem; font-weight: 500; }
.trust li { display: flex; align-items: center; gap: 6px; }
.trust li:not(:first-child)::before { content: "✓"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--go); color: #fff; font-size: .72rem; font-weight: 700; }
.stars { color: #f5a623; letter-spacing: 1px; }

/* Today's crew */
.crew { padding: 24px; transform: rotate(1.2deg); }
.crew-head { display: flex; justify-content: space-between; align-items: center; font-weight: 700; margin-bottom: 14px; }
.crew-head p { display: flex; align-items: center; gap: 8px; }
.crew-head time { font-variant-numeric: tabular-nums; color: var(--ink-soft); font-weight: 600; font-size: .95rem; }
.live { width: 10px; height: 10px; border-radius: 50%; background: var(--go); box-shadow: 0 0 0 4px rgba(47, 174, 107, .2); animation: blink 2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }
.crew-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.crew-list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--cream); border: 2px solid rgba(16, 40, 63, .12); }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 800 1rem/1 var(--display); border: 2px solid var(--ink); flex: none; }
.crew-list b { display: block; line-height: 1.2; }
.crew-list small { color: var(--ink-soft); font-size: .86rem; }
.status { margin-left: auto; font-size: .74rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.status.s-free { background: rgba(47, 174, 107, .16); color: #1d7a49; }
.status.s-busy { background: rgba(197, 109, 53, .16); color: var(--copper-lo); }
.status.s-road { background: rgba(47, 155, 224, .16); color: var(--water-lo); }
.crew-next { display: flex; justify-content: space-between; align-items: baseline; margin: 18px 0 14px; padding-top: 14px; border-top: 2px dashed rgba(16, 40, 63, .2); }
.crew-next span { color: var(--ink-soft); font-weight: 500; }
.crew-next strong { font: 800 1.35rem/1 var(--display); color: var(--water-lo); }

/* The road + van */
.road { position: relative; height: 150px; margin-top: 30px; }
.road::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26px; background: #33506c; border-top: var(--line); }
.road::after { content: ""; position: absolute; left: 0; right: 0; bottom: 11px; height: 4px; background: repeating-linear-gradient(90deg, var(--sun) 0 40px, transparent 40px 80px); }
.van { position: absolute; bottom: 12px; left: 62%; width: 260px; transform: translateX(-140vw); }
.van.arrive { animation: drive-in 2.2s cubic-bezier(.2, .7, .25, 1) forwards; }
.van.arrive .wheel { animation: spin .5s linear 4.4; }
.van.parked .van-body { animation: idle .35s ease-in-out infinite alternate; }
.van .puffs circle { fill: #c9d3dc; opacity: 0; }
.van.parked .puffs circle { animation: puff 1.6s ease-out infinite; }
.van.parked .puffs circle:nth-child(2) { animation-delay: .4s; }
.van.parked .puffs circle:nth-child(3) { animation-delay: .8s; }
@keyframes drive-in { 0% { transform: translateX(-140vw); } 85% { transform: translateX(10px) rotate(-1deg); } 100% { transform: translateX(0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes idle { to { transform: translateY(1.2px); } }
@keyframes puff { 0% { opacity: .8; transform: translate(0, 0) scale(.5); } 100% { opacity: 0; transform: translate(-26px, -10px) scale(1.4); } }

/* ---------- The house + quote ---------- */
.fixer { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; margin-top: 44px; align-items: start; }
.house-wrap { padding: 18px; overflow: hidden; }
.house { width: 100%; height: auto; border-radius: 12px; }
.house .hit { fill: transparent; transition: fill .2s; }
.house .zone { cursor: pointer; outline: none; }
.house .zone:hover .hit, .house .zone:focus-visible .hit { fill: rgba(47, 155, 224, .14); }
.house .zone.active .hit { fill: rgba(47, 155, 224, .22); }
.house .hotspot circle { fill: var(--water); stroke: var(--ink); stroke-width: 3; }
.house .hotspot path { stroke: #fff; stroke-width: 3.5; stroke-linecap: round; transition: transform .3s; }
.house .hotspot { animation: hot 1.8s ease-in-out infinite; transform-box: fill-box; }
.house .zone.active .hotspot circle { fill: var(--copper); }
.house .zone.active .hotspot path { transform: rotate(45deg); }
@keyframes hot { 50% { filter: drop-shadow(0 0 6px rgba(47, 155, 224, .9)); } }
.house-hint { margin-top: 12px; text-align: center; font-weight: 600; color: var(--ink-soft); font-size: .95rem; }
.house-hint .dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: var(--water); border: 2px solid var(--ink); vertical-align: -2px; }

.quote { padding: 28px; position: sticky; top: 96px; min-height: 380px; }
.quote-empty { text-align: center; padding: 30px 8px; }
.quote-empty svg { width: 96px; margin: 0 auto 16px; animation: bob 2.6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-4deg); } }
.quote-empty p { margin-top: 10px; color: var(--ink-soft); }
.quote-kicker { font: 700 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--copper); margin-bottom: 8px; }
.problems { display: grid; gap: 8px; margin-top: 16px; }
.problem {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; text-align: left;
  font: 600 1rem/1.3 var(--sans); color: var(--ink); background: var(--cream); cursor: pointer;
  border: 2px solid rgba(16, 40, 63, .2); border-radius: 12px; padding: 12px 14px; transition: border-color .15s, background .15s, transform .15s;
}
.problem:hover { border-color: var(--ink); transform: translateX(3px); }
.problem[aria-checked="true"] { border-color: var(--ink); background: #e3f4ff; box-shadow: 3px 3px 0 var(--ink); }
.problem .tag { font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--sos); color: #fff; white-space: nowrap; }
.estimate { margin-top: 20px; padding-top: 18px; border-top: 2px dashed rgba(16, 40, 63, .2); animation: rise .35s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.est-price { display: flex; flex-direction: column; }
.est-price span { color: var(--ink-soft); font-weight: 500; font-size: .95rem; }
.est-price strong { font: 800 clamp(2.2rem, 4vw, 2.8rem)/1.1 var(--display); color: var(--water-lo); }
.est-meta { display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; margin: 14px 0 0; }
.est-meta div { display: contents; }
.est-meta dt { color: var(--ink-soft); font-size: .92rem; }
.est-meta dd { margin: 0; font-weight: 600; font-size: .95rem; }
.est-note { margin: 14px 0 16px; font-size: .92rem; color: var(--ink-soft); }
.est-note.urgent { color: #b52b1e; font-weight: 600; }
.est-note:empty { margin: 8px 0; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.service { padding: 26px; transition: transform .25s ease, box-shadow .25s ease; }
.service:hover { transform: translate(-3px, -3px) rotate(-.5deg); box-shadow: 9px 9px 0 var(--ink); }
.service svg { width: 54px; height: 54px; padding: 8px; margin-bottom: 16px; border-radius: 14px; background: #e3f4ff; border: 2px solid var(--ink); fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.service p { margin-top: 8px; color: var(--ink-soft); }
.service-sos { background: var(--ink); color: #fff; }
.service-sos p { color: #c7d3df; }
.service-sos svg { background: var(--sos); stroke: #fff; border-color: #fff; }
.sos-link { display: inline-block; margin-top: 14px; font: 800 1.35rem/1 var(--display); color: var(--sun); text-decoration: none; }

/* ---------- Leak + promises ---------- */
.leak { margin-top: 44px; padding: 18px 18px 22px; display: grid; gap: 10px; overflow: hidden; background: #e3f4ff; }
.leak-art { width: 100%; height: auto; cursor: pointer; outline: none; touch-action: manipulation; }
.leak-art:focus-visible .leak-pipe { filter: drop-shadow(0 0 6px var(--water)); }
.leak .tape { opacity: 0; transform: scaleX(0); transform-box: fill-box; transform-origin: center; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1), opacity .2s; }
.leak.fixed .tape { opacity: 1; transform: scaleX(1); }
.leak.fixed .crack { opacity: 0; }
.leak .drop { fill: var(--water); }
.leak .puddle { transition: opacity .6s; }
.leak .wrench { opacity: 0; transform: translate(560px, -60px) rotate(40deg); transition: none; }
.leak.wrenching .wrench { animation: wrench 1s cubic-bezier(.4, 0, .2, 1) forwards; }
@keyframes wrench {
  0% { opacity: 0; transform: translate(560px, -60px) rotate(40deg); }
  30% { opacity: 1; transform: translate(420px, 150px) rotate(-30deg); }
  50% { transform: translate(420px, 150px) rotate(-75deg); }
  70% { transform: translate(420px, 150px) rotate(-30deg); }
  85% { opacity: 1; transform: translate(420px, 150px) rotate(-70deg); }
  100% { opacity: 0; transform: translate(560px, 260px) rotate(-90deg); }
}
.leak-copy { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 20px; padding: 0 6px; }
.leak-status { font-size: 1.08rem; }
.drip-dot { display: inline-block; vertical-align: 1px; margin-right: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--sos); animation: blink 1s ease-in-out infinite; }
.leak.fixed .drip-dot { background: var(--go); animation: none; }
.leak-count { color: var(--ink-soft); font-size: .96rem; }
.leak-count strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.leak-again { font: 700 .92rem/1 var(--sans); color: var(--water-lo); background: none; border: 0; padding: 4px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.promises { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.promises li { padding: 24px; }
.promises li:nth-child(odd) { transform: rotate(-.6deg); }
.promises li:nth-child(even) { transform: rotate(.6deg); }
.p-num { display: inline-block; font: 800 1rem/1 var(--display); color: #fff; background: var(--copper); border: 2px solid var(--ink); border-radius: 10px; padding: 6px 9px; margin-bottom: 14px; }
.promises p { margin-top: 8px; color: var(--ink-soft); font-size: .98rem; }

/* ---------- Area ---------- */
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.postal { margin-top: 30px; padding: 22px; }
.postal label { font-weight: 700; display: block; margin-bottom: 10px; }
.postal-row { display: flex; gap: 10px; }
.postal-row input { flex: 1; min-width: 0; text-transform: uppercase; }
.postal-row input::placeholder { text-transform: none; }
.postal-result { margin-top: 12px; font-weight: 600; min-height: 1.6em; }
.postal-result.yes { color: #1d7a49; }
.postal-result.maybe { color: var(--copper-lo); }
.postal-result.no { color: #b52b1e; }

.radar { position: relative; aspect-ratio: 1; overflow: hidden; background: radial-gradient(circle at 50% 50%, #e3f4ff, #c5e6fb 70%); }
.radar-rings span { position: absolute; left: 50%; top: 50%; border: 2px dashed rgba(16, 40, 63, .22); border-radius: 50%; transform: translate(-50%, -50%); }
.radar-rings span:nth-child(1) { width: 34%; height: 34%; }
.radar-rings span:nth-child(2) { width: 64%; height: 64%; }
.radar-rings span:nth-child(3) { width: 94%; height: 94%; }
.radar-sweep { position: absolute; inset: 3%; border-radius: 50%; background: conic-gradient(from 0deg, rgba(47, 155, 224, .35), transparent 22%); animation: sweep 5s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
.hood {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  font: 700 .82rem/1 var(--sans); background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; padding: 6px 10px; white-space: nowrap;
  display: flex; align-items: center; gap: 6px;
}
.hood .hq { width: 12px; height: 12px; border-radius: 50%; background: var(--copper); border: 2px solid var(--ink); }
.hood:has(.hq) { background: var(--ink); color: #fff; z-index: 1; }
.mini-van { position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px; border-radius: 50%; background: var(--water); border: 2.5px solid var(--ink); offset-path: path("M0 0 C 60 -80, 140 -40, 120 40 S -20 140, -80 60 S -60 -60, 0 0"); animation: patrol 9s ease-in-out infinite; }
@keyframes patrol { to { offset-distance: 100%; } }

/* ---------- Reviews ---------- */
.rating { display: inline-flex; align-items: center; gap: 16px; padding: 14px 22px; margin-top: 26px; }
.rating > strong { font: 800 2.6rem/1 var(--display); }
.rating .stars { font-size: 1.2rem; }
.rating p { color: var(--ink-soft); font-size: .92rem; }
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 30px; }
.review { margin: 0; padding: 26px; }
.review:nth-child(2) { transform: rotate(.5deg); }
.review:nth-child(3) { transform: rotate(-.5deg); }
.review blockquote { margin: 10px 0 16px; font-size: 1.08rem; }
.review figcaption { color: var(--ink-soft); font-size: .95rem; }
.review figcaption b { color: var(--ink); margin-right: 6px; }

/* ---------- Booking ---------- */
.booking { margin-top: 36px; padding: clamp(22px, 4vw, 36px); display: grid; gap: 22px; }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-weight: 700; padding: 0; }
.field legend { margin-bottom: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.booking input:not([type="radio"]), .postal input {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--cream);
  padding: 14px 16px; border: 2px solid rgba(16, 40, 63, .3); border-radius: 12px; transition: border-color .15s, background .15s;
}
.booking input:not([type="radio"]):focus, .postal input:focus { outline: none; border-color: var(--water); background: #fff; }
.booking .invalid { border-color: var(--sos) !important; background: #fff1ef !important; }
::placeholder { color: #8b9aab; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pills label { cursor: pointer; }
.pills input, .days input { position: absolute; opacity: 0; pointer-events: none; }
.pills span {
  display: block; padding: 11px 16px; border-radius: 12px; border: 2px solid rgba(16, 40, 63, .25); font-weight: 600; background: var(--cream); transition: all .15s;
}
.pills span small { font-weight: 500; color: var(--ink-soft); margin-left: 4px; }
.pills input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 3px 3px 0 var(--water); }
.pills input:checked + span small { color: #c7d3df; }
.pills input:focus-visible + span, .days input:focus-visible + span { outline: 3px solid var(--water); outline-offset: 2px; }
.sos-note { margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: #fff1ef; border: 2px solid var(--sos); color: #8f2015; font-weight: 500; }
.sos-note a { font-weight: 700; }
.days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 12px; }
.days label { cursor: pointer; }
.days span {
  display: flex; flex-direction: column; align-items: center; padding: 10px 4px; border-radius: 12px;
  border: 2px solid rgba(16, 40, 63, .25); background: var(--cream); transition: all .15s; line-height: 1.2;
}
.days span small { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.days span b { font: 800 1.4rem/1.1 var(--display); }
.days input:checked + span { background: var(--water); border-color: var(--ink); color: #fff; box-shadow: 3px 3px 0 var(--ink); }
.days input:checked + span small { color: #e3f4ff; }
.form-small { text-align: center; color: var(--ink-soft); font-size: .92rem; margin-top: -8px; }
.booked { margin-top: 36px; padding: 40px 28px; text-align: center; animation: rise .4s ease; }
.booked svg { width: 110px; margin: 0 auto 14px; animation: bob 2.6s ease-in-out infinite; }
.booked p { margin: 10px auto 22px; max-width: 46ch; color: var(--ink-soft); font-size: 1.08rem; }
.booked h3 { font-size: 1.8rem; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #c7d3df; padding: 60px 0 110px; margin-top: 40px; position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 8px; }
.footer a { color: var(--sun); }
.footer .logo-word { color: #fff; margin-bottom: 12px; }
.logo-light .logo-word small { color: var(--copper-hi); }
.credit { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .88rem; }

/* ---------- Phone dock + toast ---------- */
.dock { display: none; }
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translate(-50%, calc(100% + 60px));
  background: var(--ink); color: #fff; padding: 13px 20px; border-radius: 14px; font-weight: 600; box-shadow: var(--shadow-sm);
  transition: transform .4s cubic-bezier(.3, 1.4, .5, 1), visibility 0s .4s; max-width: calc(100% - 32px); text-align: center; pointer-events: none; visibility: hidden;
}
.toast.show { transform: translate(-50%, 0); visibility: visible; transition: transform .4s cubic-bezier(.3, 1.4, .5, 1); }

/* ---------- Scroll reveals ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .3, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .promises li.reveal.in:nth-child(odd) { transform: rotate(-.6deg); }
.js .promises li.reveal.in:nth-child(even) { transform: rotate(.6deg); }
.js .crew.reveal.in { transform: rotate(1.2deg); }
.js .review.reveal.in:nth-child(2) { transform: rotate(.5deg); }
.js .review.reveal.in:nth-child(3) { transform: rotate(-.5deg); }

/* ---------- Smaller screens ---------- */
@media (max-width: 1240px) { :root { --gutter: 52px; } }
@media (max-width: 980px) {
  .hero-grid, .fixer, .area-grid { grid-template-columns: 1fr; }
  .crew { max-width: 460px; }
  .quote { position: static; min-height: 0; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .promises { grid-template-columns: repeat(2, 1fr); }
  .radar { max-width: 520px; width: 100%; justify-self: center; }
}
@media (max-width: 640px) {
  :root { --gutter: 18px; }
  main .wrap { padding-left: 38px; }
  body { font-size: 1rem; }
  .hide-sm { display: none; }
  .alert { font-size: .88rem; gap: 6px 10px; }
  .services, .promises, .reviews, .field-row { grid-template-columns: 1fr; }
  .lede { font-size: 1.1rem; }
  .road { height: 120px; }
  .van { width: 200px; left: auto; right: 6%; }
  .days { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .days span b { font-size: 1.15rem; }
  .hood { font-size: .7rem; padding: 4px 7px; }
  .dock {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(247, 242, 233, .95); border-top: var(--line);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    transform: translateY(110%); transition: transform .35s ease;
  }
  .dock.show { transform: none; }
  .dock .btn { padding: 14px 10px; }
  .toast { bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .van { transform: none; }
  .mini-van, .radar-sweep { animation: none !important; }
}
