/* Method Pool Co. Built from the logo: the squid's steel-blue ring, deep
   water, and the waterline tile every Phoenix pool has. One family (Archivo),
   expanded for display to echo the wordmark, normal width for reading. */

:root {
  /* Brand colours: the same in both themes. */
  --deep: #0f3b4c;
  --deeper: #0a2c39;
  --steel: #3f86a6;
  --steel-ink: #2a6683;
  --pool: #7fb8d0;
  --tile: #2c7796;
  --grout: #cfe6ee;
  --white: #fff;
  --focus: #1b8fc4;
  --radius: 4px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Theme colours: light here, dark in the two blocks below. */
  --bg: #fff;
  --surface: #fff;
  --mist: #edf5f8;
  --ink: #12232b;
  --ink-2: #4b5e67;
  --line: #cfdde3;
  --link: #2a6683;
  --link-hover: #0f3b4c;
  --accent: #2a6683;
  --accent-hover: #0f3b4c;
  --solid: #0f3b4c;
  --field: #a9bcc4;
  --brand-pool: #2f7596;
  --bubble: #e8eef1;
  --star-off: #dbe3e6;
  --stage: #eceff0;
  --footer: #0a2c39;
  --shadow: rgba(15,59,76,.45);
  --error: #b3261e;
  --error-bg: #fdf0ef;
  --error-ink: #7a1c16;
  --coping: #f6f8f9, #e2e8ea;
  --map-land: #f2f7f9;
  --map-road: #c3d2d8;
  --map-road-label: #7b8f97;
  --map-landmark: #8fa3ab;
  --map-landmark-label: #6f848c;
  --mark-ink: block;
  --mark-night: none;
  color-scheme: light;
}

/* Dark theme: when the device asks for it (unless Light was picked), or when
   Dark was picked. The two blocks must stay identical. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #0b1a21;
    --surface: #11262f;
    --mist: #0f222b;
    --ink: #e3eef2;
    --ink-2: #a2b8c1;
    --line: #23404b;
    --link: #82c6e2;
    --link-hover: #c0e6f4;
    --accent: #2a6683;
    --accent-hover: #337b9c;
    --solid: #1d5a74;
    --field: #4a6a77;
    --brand-pool: #7fb8d0;
    --bubble: #1c3640;
    --star-off: #2c4651;
    --stage: #10242c;
    --footer: #071419;
    --shadow: rgba(0,0,0,.6);
    --error: #f2a6a0;
    --error-bg: #3a1714;
    --error-ink: #f8d3cf;
    --coping: #b9c6cb, #93a4ab;
    --map-land: #13262e;
    --map-road: #2f4a55;
    --map-road-label: #8ea6b0;
    --map-landmark: #5f7a85;
    --map-landmark-label: #8ea6b0;
    --mark-ink: none;
    --mark-night: block;
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --bg: #0b1a21;
  --surface: #11262f;
  --mist: #0f222b;
  --ink: #e3eef2;
  --ink-2: #a2b8c1;
  --line: #23404b;
  --link: #82c6e2;
  --link-hover: #c0e6f4;
  --accent: #2a6683;
  --accent-hover: #337b9c;
  --solid: #1d5a74;
  --field: #4a6a77;
  --brand-pool: #7fb8d0;
  --bubble: #1c3640;
  --star-off: #2c4651;
  --stage: #10242c;
  --footer: #071419;
  --shadow: rgba(0,0,0,.6);
  --error: #f2a6a0;
  --error-bg: #3a1714;
  --error-ink: #f8d3cf;
  --coping: #b9c6cb, #93a4ab;
  --map-land: #13262e;
  --map-road: #2f4a55;
  --map-road-label: #8ea6b0;
  --map-landmark: #5f7a85;
  --map-landmark-label: #8ea6b0;
  --mark-ink: none;
  --mark-night: block;
  color-scheme: dark;
}

/* Archivo (OFL), self-hosted: variable weight 100–900 and width 62–125%. */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('/assets/fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('/assets/fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.water :focus-visible, .cta-band :focus-visible, .site-footer :focus-visible, .utility :focus-visible, .action-bar :focus-visible { outline-color: #fff; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 700; color: var(--ink); text-wrap: balance; }
h1 { font-stretch: 125%; font-weight: 750; font-size: clamp(2.25rem, 4.6vw, 4rem); line-height: 1; letter-spacing: -.02em; }
h2 { font-stretch: 118%; font-size: clamp(1.75rem, 3.1vw, 2.55rem); line-height: 1.08; letter-spacing: -.015em; }
h3 { font-stretch: 110%; font-size: 1.25rem; line-height: 1.2; }
h4 { font-size: 1rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(760px + var(--gutter) * 2); }
.intro { font-size: 1.1875rem; line-height: 1.55; color: var(--ink-2); max-width: 62ch; }
.fine { font-size: .875rem; color: var(--ink-2); }
.opt { font-weight: 400; color: var(--ink-2); font-size: .875em; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--bg); padding: 8px 14px; border-radius: var(--radius); }
.skip:focus { left: 8px; }

/* Icons */
.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: 0 22px; border: 2px solid transparent; border-radius: var(--radius);
  font-weight: 650; font-stretch: 108%; font-size: 1rem; line-height: 1.1; text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-hover); color: var(--white); }
.btn-light { background: var(--white); color: var(--deep); }
.btn-light:hover { background: var(--mist); color: var(--deep); }
.btn-ghost { border-color: var(--link); color: var(--link); background: transparent; }
.btn-ghost:hover { background: var(--mist); color: var(--link-hover); }
.btn-ghost-light { border-color: rgba(255,255,255,.75); color: var(--white); }
.btn-ghost-light:hover { background: rgba(255,255,255,.14); color: var(--white); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: .9375rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.link { font-weight: 650; }
.more { margin: 32px 0 0; }

/* Header */
.utility { background: var(--deep); color: #d5e8ef; font-size: .875rem; }
.utility-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.utility-note { margin: 0; }
.utility-links { display: flex; gap: 22px; list-style: none; }
.utility-links a { display: inline-flex; align-items: center; gap: 6px; color: var(--white); text-decoration: none; font-weight: 550; }
.utility-links a:hover { text-decoration: underline; }
.utility-links .i { width: 15px; height: 15px; }
.utility-links { margin-left: auto; }

/* Light / Dark / System switch: in the utility bar, and at the foot of the
   phone menu (where the utility bar is hidden). */
.theme-switch { display: inline-flex; gap: 2px; padding: 2px; border-radius: 999px; }
.theme-switch button {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 28px; padding: 0 10px;
  border: 0; border-radius: 999px; background: none; color: inherit; font-size: .8125rem; font-weight: 550; cursor: pointer;
  transition: background-color .15s, color .15s;
}
.theme-switch .i { width: 15px; height: 15px; }
.theme-switch--bar { margin-left: 4px; background: rgba(255,255,255,.1); color: #d5e8ef; }
.theme-switch--bar button:hover { background: rgba(255,255,255,.12); color: var(--white); }
.theme-switch--bar button[aria-pressed='true'] { background: var(--white); color: var(--deep); }
.theme-switch--menu { display: none; }

/* "Better Methods. Better Pools." in the wordmark's wide capitals, the two
   lines joined by a short waterline rule. */
.slogan { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: 0; font-stretch: 125%; font-weight: 650; text-transform: uppercase; letter-spacing: .22em; line-height: 1.4; }
.slogan span { white-space: nowrap; }
.slogan span + span::before { content: ''; display: inline-block; width: 22px; height: 2px; margin: 0 14px 0 calc(14px - .22em); vertical-align: middle; background: currentColor; opacity: .6; }
.slogan--hero { margin-bottom: 20px; color: #d3edf6; font-size: clamp(.8125rem, 1.2vw, 1rem); text-shadow: 0 1px 14px rgba(4,30,42,.45); }
.slogan--footer { color: var(--pool); font-size: .75rem; letter-spacing: .2em; }

.site-header { position: sticky; top: -38px; z-index: 30; }
.masthead { position: relative; background: var(--bg); border-bottom: 1px solid var(--line); }
.masthead-inner { display: flex; align-items: center; gap: 28px; min-height: 78px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand-mark { width: auto; height: 48px; }
.brand-mark--ink { display: var(--mark-ink); }
.brand-mark--night { display: var(--mark-night); }
.brand-word { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.brand-method { font-stretch: 125%; font-weight: 600; font-size: 1.125rem; letter-spacing: .3em; margin-right: -.3em; text-transform: uppercase; }
.brand-pool { display: flex; align-items: center; gap: 6px; margin-top: 5px; font-stretch: 125%; font-weight: 500; font-size: .625rem; letter-spacing: .38em; margin-right: -.38em; text-transform: uppercase; color: var(--brand-pool); }
.brand-pool::before, .brand-pool::after { content: ''; width: 14px; height: 1.5px; background: currentColor; }
.brand--light { color: var(--white); }
.brand--light .brand-pool { color: var(--pool); }

.tabs { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.tabs ul { display: flex; list-style: none; gap: 4px; }
.tab {
  display: flex; align-items: center; min-height: 78px; padding: 0 10px;
  color: var(--ink); text-decoration: none; font-weight: 550; font-size: .96875rem; white-space: nowrap;
  box-shadow: inset 0 0 0 transparent; transition: box-shadow .15s, color .15s;
}
.tab:hover { color: var(--link); box-shadow: inset 0 -3px 0 var(--line); }
.tab[aria-current='page'] { color: var(--link); box-shadow: inset 0 -4px 0 var(--steel); }
.btn-quote[aria-current='page'] { background: var(--accent-hover); }
.menu-toggle { display: none; }

/* Water hero: canvas caustics, ends in waterline tile and coping */
.water {
  position: relative; overflow: hidden; color: var(--white); isolation: isolate;
  background: #0f4a62 url('/assets/video/water-poster-800.jpg') center / cover;
  padding: clamp(56px, 8vw, 104px) 0 clamp(96px, 10vw, 128px);
}
.water--home { min-height: min(86vh, 800px); display: flex; align-items: center; }
.water--home .water-inner { padding-bottom: 24px; }
@media (min-width: 800px) { .water { background-image: url('/assets/video/water-poster.jpg'); } }
.water-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.water-video { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease; }
.water-video.is-playing { opacity: 1; }
.water::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(6,40,54,.74) 0%, rgba(6,40,54,.5) 45%, rgba(6,40,54,.12) 85%),
    linear-gradient(rgba(10,56,76,.18), rgba(10,56,76,.18));
}
.water h1 { color: var(--white); max-width: 15ch; text-shadow: 0 2px 24px rgba(4,30,42,.35); }
.water--home h1 { font-size: clamp(2.25rem, 5.2vw, 4.5rem); max-width: 14ch; }
.water .lede { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.5; max-width: 52ch; color: #e6f4f9; margin: 20px 0 32px; }
.water .actions { margin-top: 8px; }
.waterline {
  position: absolute; left: 0; right: 0; bottom: 0; height: 46px;
  background:
    linear-gradient(var(--coping)) bottom / 100% 12px no-repeat,
    linear-gradient(180deg, rgba(14,66,88,.55) 0 7px, rgba(255,255,255,.26) 7px, rgba(255,255,255,0) 60%) top / 100% 34px no-repeat,
    repeating-linear-gradient(90deg, transparent 0 32px, var(--grout) 32px 34px) top / 100% 34px no-repeat,
    repeating-linear-gradient(90deg, var(--tile) 0 34px, #34819f 34px 68px, #2a7290 68px 102px) top / 100% 34px no-repeat;
  box-shadow: 0 -2px 0 var(--grout) inset;
}
.jump ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 8px; max-width: 900px; }
.jump a { display: inline-block; padding: 7px 14px; border: 1.5px solid rgba(255,255,255,.6); border-radius: 999px; color: var(--white); text-decoration: none; font-size: .9375rem; font-weight: 550; }
.jump a:hover { background: rgba(255,255,255,.14); }

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--mist { background: var(--mist); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split--wide { grid-template-columns: 5fr 7fr; }
.split-text > :last-child { margin-bottom: 0; }

.ticks { list-style: none; display: grid; gap: 12px; margin-top: 8px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: ''; position: absolute; left: 2px; top: .45em; width: 14px; height: 8px;
  border-left: 2.5px solid var(--steel); border-bottom: 2.5px solid var(--steel); transform: rotate(-45deg);
}
.numbered { padding-left: 1.4em; display: grid; gap: 10px; }
.numbered li::marker { color: var(--link); font-weight: 700; }

/* Service-day texts */
.thread { margin: 0; justify-self: center; width: min(100%, 400px); }
.phone { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 18px 18px 20px; box-shadow: 0 24px 60px -28px var(--shadow); }
.phone-top { display: flex; flex-direction: column; align-items: center; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.phone-name { font-weight: 650; }
.phone-num { font-size: .8125rem; color: var(--ink-2); }
.phone-msgs { list-style: none; display: grid; gap: 14px; }
.phone-msgs p { margin: 0; background: var(--bubble); border-radius: 18px 18px 18px 6px; padding: 10px 14px; font-size: .9375rem; line-height: 1.45; max-width: 92%; }
.msg-time { display: block; margin: 4px 0 0 6px; font-size: .75rem; color: var(--ink-2); }
.msg-link { color: var(--link); text-decoration: underline; }
.report-card { margin-top: 16px; border: 1.5px solid var(--steel); border-radius: 12px; padding: 14px 16px; }
.report-title { font-weight: 650; font-stretch: 112%; margin: 0 0 10px; }
.readings { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin: 0 0 10px; }
.readings dt { font-size: .75rem; color: var(--ink-2); }
.readings dd { margin: 0; font-stretch: 112%; font-weight: 600; font-size: 1.375rem; font-variant-numeric: tabular-nums; line-height: 1.15; }
.readings dd span { font-size: .75rem; font-weight: 500; color: var(--ink-2); }
.report-done { margin: 0; font-size: .875rem; color: var(--ink-2); }
.thread figcaption { margin-top: 12px; font-size: .8125rem; color: var(--ink-2); text-align: center; }

/* Service groups (home) */
.groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); }
.group { border-top: 4px solid var(--steel); padding-top: 22px; }
.group p { color: var(--ink-2); }
.group ul { list-style: none; display: grid; gap: 8px; }
.group a { font-weight: 600; text-decoration: none; }
.group a:hover { text-decoration: underline; }

/* The visit as a route */
.route { list-style: none; display: grid; grid-template-columns: repeat(8, 1fr); gap: 16px; position: relative; counter-reset: stop; }
.route::before {
  content: ''; position: absolute; top: 21px; left: 22px; right: calc((100% - 7 * 16px) / 8 - 22px); height: 2px;
  background: repeating-linear-gradient(90deg, var(--steel) 0 10px, transparent 10px 18px);
}
.route li { position: relative; display: grid; gap: 12px; align-content: start; font-size: .96875rem; line-height: 1.35; }
.route strong { font-weight: 600; }
.route-num {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--bg);
  border: 2px solid var(--steel); font-weight: 700; font-stretch: 115%; color: var(--link); position: relative; z-index: 1;
}
.route-num::before { counter-increment: stop; content: counter(stop); }

/* Before/after slider */
.compare { margin: 0; }
.compare-stage { --pos: 50%; position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--mist); }
.compare-layer { position: absolute; inset: 0; }
.compare-layer img { width: 100%; height: 100%; object-fit: cover; }
.compare-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0; pointer-events: none; }
.compare-handle::before { content: ''; position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; background: var(--white); box-shadow: 0 0 12px rgba(0,0,0,.25); }
.compare-handle span {
  position: absolute; top: 50%; left: 0; width: 46px; height: 46px; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--white); box-shadow: 0 4px 16px rgba(0,0,0,.25);
}
.compare-handle span::before, .compare-handle span::after {
  content: ''; position: absolute; top: 50%; width: 9px; height: 9px; border: solid var(--deep); border-width: 0 0 2.5px 2.5px;
}
.compare-handle span::before { left: 11px; transform: translateY(-50%) rotate(45deg); }
.compare-handle span::after { right: 11px; transform: translateY(-50%) rotate(-135deg); }
.compare-stage:has(.compare-range:focus-visible) .compare-handle span { outline: 3px solid var(--focus); outline-offset: 3px; }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; touch-action: pan-y; }
.compare-tag { position: absolute; top: 14px; padding: 4px 10px; border-radius: 999px; background: rgba(8,36,48,.72); color: var(--white); font-size: .8125rem; font-weight: 600; pointer-events: none; }
.compare-tag--before { left: 14px; }
.compare-tag--after { right: 14px; }
.compare figcaption { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.compare figcaption span { color: var(--ink-2); }
.compare figcaption .compare-label { padding: 1px 8px; border: 1px solid var(--line); border-radius: 999px; font-size: .8125rem; font-weight: 600; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(32px, 4vw, 56px) clamp(24px, 3vw, 40px); }
/* One pair on its own sits centered, with its caption. */
.gallery--single { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; }
.gallery--single .compare figcaption { justify-content: center; text-align: center; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .intro { margin-left: auto; margin-right: auto; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 32px); }
.review { position: relative; display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 24px 24px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 10px 28px -22px var(--shadow); }
.review-who { display: flex; align-items: center; gap: 12px; }
.review-who strong { display: block; font-size: 1rem; line-height: 1.25; }
.review-area { display: block; font-size: .875rem; color: var(--ink-2); }
.review-avatar { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--mist); color: var(--link); font-weight: 700; font-stretch: 110%; font-size: .9375rem; }
.review-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin: 0; }
.review-stars { display: inline-flex; gap: 2px; }
.review-stars svg { width: 18px; height: 18px; display: block; }
.review-stars .on svg { fill: #f2a93b; }
.review-stars .off svg { fill: var(--star-off); }
.review-date { font-size: .8125rem; color: var(--ink-2); }
.section--mist .review { background: var(--surface); }
.review blockquote { margin: 0; }
.review blockquote p { font-size: 1.0625rem; line-height: 1.55; margin: 0; }
.reviews--page { grid-template-columns: repeat(2, 1fr); }
.empty { max-width: 640px; }
.empty p { color: var(--ink-2); }

/* Our Method: a visit, played over a 3D yard */
.service-day {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); grid-template-rows: auto auto 1fr;
  grid-template-areas: 'head list' 'stage list' 'controls list'; column-gap: clamp(32px, 4.5vw, 64px); align-items: start;
}
.visit-head { grid-area: head; }
.visit-head .intro { margin-bottom: 24px; }
.visit-stage { grid-area: stage; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--stage); }
.yard { position: relative; aspect-ratio: 1000 / 747; overflow: hidden; }
.yard-cam { position: absolute; inset: 0; transform-origin: 50% 50%; transition: transform 1.2s cubic-bezier(.45,0,.2,1); }
.yard-img, .yard-overlay { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.yard-overlay { overflow: visible; }
.yard-here { opacity: 0; transition: transform 1.2s cubic-bezier(.45,0,.2,1); }
.is-ready .yard-here { opacity: 1; }
.yard-here ellipse { fill: #f2a93b; fill-opacity: .3; }
.yard-here .yard-ripple { fill: none; stroke: #f2a93b; stroke-width: 3; transform-box: fill-box; transform-origin: center; animation: yard-ripple 1.6s ease-out infinite; }
@keyframes yard-ripple { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.9); opacity: 0; } }
/* Pins grow on small screens so the numbers stay readable. */
.pin-size { transform: scale(var(--pin-scale, 1)); }
.pin { cursor: pointer; }
.pin-shadow { fill: rgba(10,30,40,.28); }
.pin path { stroke: var(--deep); stroke-width: 3; stroke-linecap: round; }
.pin circle { fill: var(--deep); stroke: var(--white); stroke-width: 3; transition: fill .3s; }
.pin text { fill: var(--white); font: 700 15px var(--font); pointer-events: none; transition: fill .3s; }
.pin.is-done circle { fill: var(--steel-ink); }
.pin.is-active circle { fill: #f2a93b; }
.pin.is-active text { fill: var(--deep); }
.pin-lift { transition: transform .45s cubic-bezier(.3,1.6,.5,1); }
.pin.is-active .pin-lift { transform: translateY(-10px); }
.pin.is-active .pin-bob { animation: pin-bob .9s ease-in-out infinite alternate; }
@keyframes pin-bob { to { transform: translateY(-6px); } }
.visit-chip {
  position: absolute; left: 14px; top: 14px; margin: 0; padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.92); color: var(--deep); font-size: .8125rem; font-weight: 650; box-shadow: 0 6px 16px -10px rgba(4,30,42,.5);
}
.service-day:not(.js-visit) .visit-chip { display: none; }
.visit-steps { grid-area: list; list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.visit-step { position: relative; overflow: hidden; border: 1px solid var(--line); background: var(--surface); border-radius: 6px; transition: background-color .3s, border-color .3s; }
.visit-step h3 { margin: 0; font-size: 1rem; }
.visit-pick:focus-visible { outline-offset: -3px; }
.visit-pick {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 8px 14px; border: 0; background: none;
  font: inherit; font-weight: 650; font-stretch: 106%; color: var(--ink); text-align: left; cursor: pointer;
}
.visit-num {
  flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--solid); color: var(--white); font-weight: 700; font-size: .8125rem; transition: background-color .3s, color .3s;
}
.visit-panel-inner { padding: 0 14px 14px 54px; }
.visit-text { margin: 0 0 12px; font-size: .9375rem; line-height: 1.5; color: var(--ink-2); }
.visit-shot { overflow: hidden; border-radius: var(--radius); background: var(--line); aspect-ratio: 16 / 9; }
.visit-shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.visit-shot img[data-srcset] { visibility: hidden; }
.service-day:not(.js-visit) .visit-shot:has(> img[data-srcset]) { display: none; }
.visit-progress { position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: #f2a93b; transform: scaleX(0); transform-origin: left center; opacity: 0; }
/* With JavaScript, one step opens at a time; without it, all of them stay open. */
.js-visit .visit-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s cubic-bezier(.3,.7,.2,1); }
.js-visit .visit-panel-inner { min-height: 0; overflow: hidden; padding-bottom: 0; visibility: hidden; transition: padding-bottom .55s cubic-bezier(.3,.7,.2,1), visibility 0s .55s; }
.js-visit .visit-step.is-active .visit-panel { grid-template-rows: 1fr; }
.js-visit .visit-step.is-active .visit-panel-inner { padding-bottom: 14px; visibility: visible; transition-delay: 0s; }
.js-visit .visit-text, .js-visit .visit-shot { opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .45s cubic-bezier(.3,.7,.2,1); }
.js-visit .visit-step.is-active .visit-text { opacity: 1; transform: none; transition-delay: .12s; }
.js-visit .visit-step.is-active .visit-shot { opacity: 1; transform: none; transition-delay: .2s; }
.js-visit .visit-shot img { transition: transform 6s linear; }
.js-visit .visit-step.is-active .visit-shot img { transform: scale(1.06); }
.js-visit .visit-step.is-active { background: var(--mist); border-color: var(--mist); }
.js-visit .visit-step.is-active .visit-num { background: #f2a93b; color: var(--deep); }
.js-visit .visit-step.is-done .visit-num { background: var(--steel-ink); }
.visit-step.is-running .visit-progress { opacity: 1; animation: visit-progress var(--visit-step, 4.2s) linear forwards; }
@keyframes visit-progress { to { transform: scaleX(1); } }
.visit-controls { grid-area: controls; display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.visit-controls[hidden] { display: none; }
.visit-arrow {
  width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface);
  color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: border-color .15s;
}
.visit-arrow:hover { border-color: var(--steel); }
.visit-arrow path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.visit-play { min-height: 44px; min-width: 148px; }
.season-temps { font-size: .875rem; font-weight: 600; color: var(--link); margin: -8px 0 12px; }

.table-scroll { overflow-x: auto; }
.readings-table { width: 100%; border-collapse: collapse; min-width: 620px; background: var(--surface); }
.readings-table th, .readings-table td { text-align: left; vertical-align: top; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.readings-table thead th { font-size: .875rem; color: var(--ink-2); font-weight: 600; background: var(--surface); }
.readings-table tbody th { font-weight: 650; white-space: nowrap; }
.readings-table .num { font-stretch: 112%; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--link); }

.seasons { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 32px); }
.season { padding-top: 20px; border-top: 6px solid; }
.season--spring { border-color: #7fb8d0; }
.season--summer { border-color: #e39a3b; }
.season--fall { border-color: #d3b27a; }
.season--winter { border-color: #3f86a6; }
.season h3 { margin-bottom: 2px; }
.season-months { font-size: .875rem; color: var(--ink-2); margin-bottom: 12px; }
.season p:last-child { margin: 0; }

.record { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); }
.record div { background: var(--surface); padding: 22px; }
.record dt { font-weight: 650; font-stretch: 110%; margin-bottom: 4px; }
.record dd { margin: 0; color: var(--ink-2); }

/* Services */
.group-title { margin-bottom: clamp(24px, 3vw, 40px); }
.service { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 5vw, 72px); padding: clamp(28px, 4vw, 44px) 0; border-top: 1px solid var(--line); }
.service:first-of-type { border-top: 0; padding-top: 0; }
.service h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); }
.service-short { font-size: 1.125rem; font-weight: 550; }
.service-main p:not(.service-short) { color: var(--ink-2); }
.service-list h4 { font-size: .9375rem; color: var(--ink-2); font-weight: 600; margin-bottom: 12px; }

/* Why us */
.commitments { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(32px, 4vw, 52px) clamp(32px, 6vw, 88px); }
.commitments li { position: relative; padding-left: 40px; }
.commitments li::before {
  content: ''; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; background: var(--tile);
  box-shadow: inset 0 0 0 2px var(--grout), 0 0 0 1px var(--tile); border-radius: 2px;
}
.commitments h2 { font-size: 1.375rem; font-stretch: 112%; margin-bottom: 6px; }
.commitments p { margin: 0; color: var(--ink-2); }
.faq { margin-top: 28px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-weight: 650; font-size: 1.125rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--link); }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { margin: 0 0 22px; color: var(--ink-2); max-width: 64ch; }

/* Areas */
.areas-layout { display: grid; grid-template-columns: 3fr 2fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.map-frame { margin: 0; }
.map-canvas { position: relative; border-radius: var(--radius); overflow: hidden; }
.map-canvas .live-map { position: absolute; inset: 0; opacity: 0; transition: opacity .4s ease; }
.map-canvas.is-live .live-map { opacity: 1; }
.map-canvas.is-live > svg { visibility: hidden; }
.live-map .maplibregl-ctrl-attrib { font: 11px var(--font); }
.live-map .maplibregl-ctrl-group button { width: 34px; height: 34px; }
.home-pin { display: flex; align-items: center; gap: 8px; pointer-events: none; }
.home-pin-mark { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 3px var(--solid), 0 6px 18px rgba(15,59,76,.35); }
.home-pin-mark img { width: 32px; height: auto; }
.map-load {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border: 0; border-radius: 999px; background: var(--solid); color: var(--white); font-weight: 650; font-size: .9375rem; white-space: nowrap; cursor: pointer;
  box-shadow: 0 6px 18px rgba(15,59,76,.3);
}
.map-canvas.is-live .map-load, .map-canvas.is-loading .map-load { display: none; }
.home-pin-label { display: grid; padding: 4px 10px 5px; border-radius: var(--radius); background: var(--solid); color: var(--white); font-size: .75rem; line-height: 1.25; box-shadow: 0 4px 12px rgba(15,59,76,.25); }
.home-pin-label strong { font-size: .9375rem; font-stretch: 112%; }
.area-map { width: 100%; height: auto; border-radius: var(--radius); }
.map-bg { fill: var(--map-land); }
.map-ring { fill: none; stroke: var(--steel); stroke-opacity: .45; stroke-width: 1.5; stroke-dasharray: 5 6; }
.map-ring-label { font: 600 12px var(--font); fill: var(--link); }
.map-road { fill: none; stroke: var(--map-road); stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; }
.map-road-label { font: 600 11px var(--font); fill: var(--map-road-label); paint-order: stroke; stroke: var(--map-land); stroke-width: 4px; }
.map-landmark { fill: none; stroke: var(--map-landmark); stroke-width: 1.5; }
.map-landmark-label { font: 500 12px var(--font); fill: var(--map-landmark-label); }
.map-place circle { stroke: var(--map-land); stroke-width: 2.5; }
.map-place--core circle { fill: var(--link); }
.map-place--nearby circle { fill: var(--pool); }
.map-place text { font: 650 15px var(--font); fill: var(--ink); paint-order: stroke; stroke: var(--map-land); stroke-width: 5px; }
.map-place--nearby text { font-size: 13px; font-weight: 600; }
.map-place--core text { font-size: 17px; font-stretch: 115%; }
.map-place:hover text, .map-place:focus text { fill: var(--link); text-decoration: underline; }
.map-home-halo { fill: var(--steel); fill-opacity: .2; }
.map-home-dot { fill: var(--solid); stroke: var(--white); stroke-width: 3; }
.map-home-label { font: 750 18px var(--font); font-stretch: 120%; fill: var(--ink); paint-order: stroke; stroke: var(--map-land); stroke-width: 6px; }
.map-home-sub { font: 600 12px var(--font); fill: var(--link); paint-order: stroke; stroke: var(--map-land); stroke-width: 5px; }
.map-note { margin-top: 10px; font-size: .875rem; color: var(--ink-2); }
.area-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.area { padding: 18px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.area h2 { margin-bottom: 4px; font-size: 1.25rem; font-stretch: 110%; line-height: 1.2; letter-spacing: 0; }
.area p { margin: 0; color: var(--ink-2); }
.area .area-hoods { margin-top: 6px; color: var(--ink); font-size: .9375rem; }
.area-label { display: block; margin-top: 4px; font-size: .75rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.area:target { background: linear-gradient(90deg, var(--mist), transparent); }
.area-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.area-chips a { display: inline-block; padding: 6px 14px; border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 550; font-size: .9375rem; }
.area-chips a:hover { border-color: var(--steel); color: var(--link); }
.photo-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.photo-grid li { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--mist); }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; }
.photo-grid--feature { grid-template-columns: repeat(4, 1fr); }
.photo-grid--feature li:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.photo-figure { margin: 0; }
.photo-figure img { width: 100%; height: auto; border-radius: var(--radius); }
.photo-figure figcaption { margin-top: 10px; font-size: .875rem; color: var(--ink-2); }
/* A wide crop that keeps the pole and supply caddy in frame. */
.split-photo { margin-top: 32px; }
/* Home: the green pool before/after under the service groups. */
.home-cleanup { margin-top: clamp(48px, 6vw, 80px); }
.home-cleanup h3 { font-size: clamp(1.375rem, 2.2vw, 1.75rem); font-stretch: 112%; }
.home-cleanup .split-text p { color: var(--ink-2); }
.home-cleanup .actions { margin-top: 20px; }
/* Services: a job's before/after under its description. */
.service-media { grid-column: 1 / -1; max-width: 720px; }
.split-photo img { display: block; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 64%; }
.split-text .record { margin-top: 28px; }
.zip-title { font-size: 1rem; margin: 24px 0 10px; }
.area-chips--zips li { font-variant-numeric: tabular-nums; }
.area .area-zips { margin-top: 6px; font-size: .875rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.zip-check { display: grid; gap: 8px; max-width: 420px; }
.zip-check label { font-weight: 600; }
.zip-row { display: flex; gap: 10px; }
.zip-row input { flex: 1; min-width: 0; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--field); border-radius: var(--radius); background: var(--surface); font-size: 1.125rem; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.zip-row input:focus { outline: none; border-color: var(--link); box-shadow: 0 0 0 3px rgba(63,134,166,.3); }
.zip-result { margin: 4px 0 0; min-height: 1.6em; font-weight: 550; }
.area-chips--plain li { padding: 6px 14px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 550; font-size: .9375rem; }
.area .area-more { margin-top: 8px; }
.local-notes { list-style: none; display: grid; gap: 22px; margin-top: 8px; }
.local-notes li { position: relative; padding-left: 36px; }
.local-notes li::before {
  content: ''; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; background: var(--tile);
  box-shadow: inset 0 0 0 2px var(--grout), 0 0 0 1px var(--tile); border-radius: 2px;
}
.local-notes h3 { font-size: 1.125rem; margin-bottom: 4px; }
.local-notes p { margin: 0; color: var(--ink-2); }
.local-services { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.local-services a { display: grid; gap: 6px; height: 100%; padding: 20px 22px; background: var(--surface); border-top: 4px solid var(--steel); text-decoration: none; color: var(--ink); }
.local-services a:hover strong { color: var(--link); text-decoration: underline; }
.local-services strong { font-stretch: 110%; font-size: 1.0625rem; }
.local-services span { color: var(--ink-2); font-size: .9375rem; line-height: 1.5; }
@media (max-width: 960px) { .local-services { grid-template-columns: 1fr 1fr; } .photo-grid, .photo-grid--feature { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .local-services { grid-template-columns: 1fr; } .photo-grid { gap: 8px; } }

/* Get a quote */
.quote-layout { display: grid; grid-template-columns: 8fr 4fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.quote-layout > *, .split > *, .service-day > *, .areas-layout > *, .service > * { min-width: 0; }
.tablist { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 28px; overflow-x: auto; }
.tab-btn { appearance: none; background: none; border: 0; padding: 14px 16px; font-weight: 600; font-size: 1.0625rem; color: var(--ink-2); cursor: pointer; white-space: nowrap; box-shadow: inset 0 0 0 transparent; }
.tab-btn:hover { color: var(--link); }
.tab-btn[aria-selected='true'] { color: var(--link); box-shadow: inset 0 -4px 0 var(--steel); }
.panel-intro { color: var(--ink-2); margin-bottom: 24px; }
.quote-aside { display: grid; gap: 32px; padding: 28px; background: var(--mist); border-radius: var(--radius); }
.quote-aside h2 { font-size: 1.125rem; font-stretch: 110%; margin-bottom: 10px; }
.aside-block p { margin: 0 0 6px; }
.big-link { font-weight: 650; font-size: 1.125rem; }
.hours { list-style: none; display: grid; gap: 4px; }
.hours span { display: inline-block; min-width: 9.5em; color: inherit; font-weight: 600; }

/* Forms */
.lead-form { display: grid; gap: 18px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; margin: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: .9375rem; }
.hint { margin: 0; font-size: .875rem; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--field); border-radius: var(--radius);
  background: var(--surface); font-size: 1rem; line-height: 1.4;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--link); box-shadow: 0 0 0 3px rgba(63,134,166,.3); }
.field [aria-invalid='true'] { border-color: var(--error); box-shadow: 0 0 0 3px rgba(179,38,30,.15); }
.field-error { margin: 0; color: var(--error); font-size: .875rem; font-weight: 550; }
.choice { border: 0; padding: 0; }
.choice legend { padding: 0; margin-bottom: 8px; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.choice-row label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; cursor: pointer; }
.choice-row input, .check input { width: 20px; height: 20px; accent-color: var(--link); margin: 0; }
.check { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; }
.check input { margin-top: 2px; }
.check label { font-size: .9375rem; line-height: 1.45; cursor: pointer; }
.check .field-error { grid-column: 2; }
.lead-form .fine { margin: -6px 0 0 32px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ts-slot:empty { display: none; }
.form-error { margin: 0; padding: 12px 14px; border-left: 4px solid var(--error); background: var(--error-bg); color: var(--error-ink); font-weight: 550; }
.lead-form button[type='submit'] { justify-self: start; min-width: 200px; }
.form-done { padding: 24px; border-left: 4px solid var(--steel); background: var(--mist); }
.form-done h3 { margin-bottom: 6px; }
.form-done p { margin: 0; }
.form-done:focus { outline: none; }

/* Dialog */
.dialog { width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 28px; border: 0; border-radius: 6px; background: var(--surface); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(4,30,42,.5); }
.dialog::backdrop { background: rgba(6,32,44,.58); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.dialog-head h2 { margin: 0; font-size: 1.75rem; }
.dialog-close { appearance: none; border: 0; background: none; font-size: 2rem; line-height: 1; width: 44px; height: 44px; margin-right: -10px; cursor: pointer; color: var(--ink-2); border-radius: var(--radius); }
.dialog-close:hover { background: var(--mist); color: var(--ink); }
.dialog-direct { color: var(--ink-2); }
.dialog-or { margin: 22px 0 14px; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 600; }
.dialog .row { grid-template-columns: 1fr; gap: 18px; }

/* Customer portal */
.portal-page { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 96px); }
.portal-page h1 { font-size: clamp(2rem, 4vw, 3rem); }
.portal-host { margin: 28px 0 16px; min-height: 480px; }
.portal-host iframe { width: 100%; border: 0; }

/* Legal */
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); }
.legal h2 { font-size: 1.375rem; margin-top: 1.6em; }
.legal ul { padding-left: 1.2em; display: grid; gap: 8px; margin-bottom: 1em; }

/* Call to action band */
.cta-band { background: var(--deep); color: var(--white); padding: clamp(56px, 7vw, 88px) 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px 56px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { margin: 0; color: #d5e8ef; max-width: 52ch; }

/* Footer */
.site-footer { background: var(--footer); color: #b9d2db; padding: 64px 0 32px; font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.4fr 1.4fr 1fr; gap: 32px; }
.footer-brand p { margin-top: 18px; max-width: 30ch; }
.footer-brand .slogan--footer { margin: 18px 0 0; }
.site-footer h2 { color: var(--white); font-size: .9375rem; font-stretch: 112%; margin: 0 0 12px; letter-spacing: .01em; }
.site-footer h2:not(:first-child) { margin-top: 24px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: #e3f0f5; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--white); }
.site-footer .hours span { min-width: 0; display: block; color: var(--white); }
.footer-brand .social-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.social-links a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.24); color: #e3f0f5; transition: background-color .15s, border-color .15s, color .15s; }
.social-links a:hover { background: var(--white); border-color: var(--white); color: var(--footer); }
.logo-i { width: 20px; height: 20px; fill: currentColor; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); font-size: .875rem; }
.footer-base p { margin: 0; }
.footer-base ul { display: flex; flex-wrap: wrap; gap: 20px; }

/* Mobile call / text / quote bar */
.action-bar { display: none; }

@media (max-width: 1140px) {
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 10px; margin-left: auto; min-height: 44px; padding: 0 14px;
    border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--surface); cursor: pointer; font-weight: 600;
  }
  .menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; transition: transform .2s, background-color .2s; }
  .menu-bars::before, .menu-bars::after { content: ''; position: absolute; left: 0; }
  .menu-bars::before { top: -6px; }
  .menu-bars::after { top: 6px; }
  .menu-toggle[aria-expanded='true'] .menu-bars { background: transparent; }
  .menu-toggle[aria-expanded='true'] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded='true'] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }
  .tabs {
    display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 8px var(--gutter) 24px;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px var(--shadow);
    flex-direction: column; align-items: stretch; gap: 12px;
  }
  .site-header.nav-open .tabs { display: flex; }
  .tabs ul { flex-direction: column; gap: 0; }
  .tab { min-height: 52px; padding: 0 4px; border-bottom: 1px solid var(--mist); font-size: 1.0625rem; }
  .tab[aria-current='page'] { box-shadow: inset 4px 0 0 var(--steel); padding-left: 16px; }
  .btn-quote { width: 100%; }
}

@media (max-width: 960px) {
  .split, .split--wide, .areas-layout, .quote-layout, .service { grid-template-columns: 1fr; }
  .service-day { --pin-scale: 1.15; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: 'head' 'stage' 'controls' 'list'; }
  .visit-controls { margin: 14px 0 18px; }
  .groups, .reviews, .seasons { grid-template-columns: 1fr 1fr; }
  .gallery, .reviews--page, .commitments { grid-template-columns: 1fr; }
  .route { grid-template-columns: repeat(4, 1fr); row-gap: 28px; }
  .route::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .utility-note { display: none; }
  .utility-inner { justify-content: flex-end; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; padding-bottom: 68px; }
  .utility { display: none; }
  .site-header { top: 0; }
  .site-header .theme-switch--menu { display: flex; margin-top: 4px; background: var(--mist); color: var(--ink-2); }
  .theme-switch--menu button { flex: 1; min-height: 44px; font-size: .9375rem; }
  .theme-switch--menu button[aria-pressed='true'] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 4px -1px var(--shadow); }
  .masthead-inner { min-height: 66px; gap: 12px; }
  .brand-mark { height: 40px; }
  .brand-method { font-size: 1rem; }
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .groups, .reviews, .seasons, .record, .row { grid-template-columns: 1fr; }
  .route { grid-template-columns: 1fr; gap: 0; }
  .route li { grid-template-columns: 44px 1fr; align-items: center; gap: 14px; padding: 6px 0; }
  .route li:not(:last-child)::after { content: ''; position: absolute; left: 21px; top: 50px; height: calc(100% - 44px); border-left: 2px dashed var(--steel); }
  .water { padding-top: 44px; }
  .water--home { min-height: 0; padding-bottom: 104px; }
  .water .actions .btn { flex: 1 1 100%; }
  .lead-form button[type='submit'] { width: 100%; }
  .quote-aside { padding: 22px; }
  .tab-btn { padding: 12px 10px; font-size: .9375rem; }
  .dialog { padding: 22px; }
  .cta-band .actions .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .service-day { --pin-scale: 1.45; }
  .visit-shot { margin-left: -40px; }
  .action-bar {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: var(--deep); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -8px 24px -12px rgba(0,0,0,.35);
  }
  .action-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 60px; color: var(--white); text-decoration: none; font-weight: 600; font-size: .8125rem; }
  .action-bar a + a { border-left: 1px solid rgba(255,255,255,.14); }
  .action-bar a[aria-current='page'] { background: var(--steel-ink); }
  .action-bar .i { width: 22px; height: 22px; }
}

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