/* Mayo Pressure Washing — homepage.
 *
 * The LOOK is the Hydro Blast reference Jacob picked (2026-10-25: "I like
 * pretty much everything about this"): deep navy water grounds with a glow,
 * falling droplets, gold buttons, Barlow Condensed headings, soft cards.
 * The STRUCTURE is Jacob's rules: fixed 1fr auto 1fr header, full-bleed hero,
 * marquee under it, six service cards with drag sliders, tight dark footer
 * closing on the name edge to edge.
 */

/* ---------- Fonts: Barlow 400 / 500 for text, Barlow Condensed 700 for display. */
@font-face { font-family: "Barlow"; src: url("assets/fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("assets/fonts/barlow-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

/* ---------- Tokens ----------
 * Sampled from the reference: navy family, one sky blue for light and glow,
 * one gold voltage colour for the actions. Nothing else. */
:root {
  --navy-deep: oklch(21% .06 254);
  --navy-night: oklch(17% .05 254);   /* footer: one step under the deep ground */
  --navy: oklch(29% .08 254);
  --royal: oklch(48% .15 255);
  --blue: oklch(63% .16 250);
  --electric: oklch(73% .13 244);
  --gold: oklch(84% .16 86);
  --light: oklch(99% .006 240);
  --paper: #fff;
  --ink: oklch(26% .07 254);
  --muted: oklch(50% .04 252);
  --hair: oklch(48% .15 255 / .14);
  --hair-dark: oklch(73% .13 244 / .22);

  /* Second family (Logan, 2026-10-26: break the sections up with more than
   * blue and gold, calm, not rainbow). A deep pine ground, a warm off-white
   * ground, and one clean teal accent for small marks on the light grounds.
   * Pages take them from here: .ground-pine, .ground-warm, var(--teal). */
  --pine-deep: oklch(25% .045 172);
  --pine: oklch(32% .055 170);
  --warm: oklch(97.4% .012 82);
  --warm-hair: oklch(45% .04 70 / .16);
  --teal: oklch(64% .1 192);
  --teal-ink: oklch(46% .085 196);
  --slate: oklch(33% .02 252);
  /* The names the generated pages read (assets/css/pages.css). */
  --ground-alt: var(--warm);
  --ground-deep: var(--pine-deep);
  --accent-teal: var(--teal-ink);

  --head: 65px;   /* fixed header height: the service bars stick under it */

  /* 4px scale */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px;
  --s8: 32px; --s10: 40px; --s12: 48px; --s16: 64px;

  --gutter: 20px;
  --content: 1240px;
  --wide: 1600px;
  /* Tight rhythm. The heading gets the same air above and below its letters. */
  --sec: 40px;
  --head-gap: var(--sec);
  --radius: 10px;   /* the one radius: cards, buttons, chips, photos */
  --ease: cubic-bezier(0, 0, .2, 1);
  --callbar: 0px;   /* the bottom call bar is gone: the header call pill replaced it */
  --card-cast: 0 24px 60px -30px oklch(12% .05 254 / .95);
  --lift-light: 0 16px 34px -18px oklch(26% .07 254 / .45);
  --font: "Barlow", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
}
@media (min-width: 1024px) {
  :root { --gutter: 48px; --sec: 56px; --head: 73px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--light); color: var(--ink);
  font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased;
  overflow-x: hidden; padding-bottom: var(--callbar);
}
@media (min-width: 1024px) { body { font-size: 17px; padding-bottom: 0; } }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0 0 var(--s4); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
blockquote { margin: 0; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.sr, .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; }
.wrap { width: 100%; max-width: var(--content); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.ul { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ---------- Type ---------- */
/* Label family: uppercase, .18em, 500. */
.label, .eyebrow, .nav a, .btn, .more, .svc-n, .ba-tag, .callbar a, .footer h2 {
  font-size: 12px; line-height: 1.2; letter-spacing: .18em; font-weight: 500; text-transform: uppercase;
}
.lede { font-size: 18px; line-height: 1.5; }
@media (min-width: 1024px) { .lede { font-size: 20px; } }
.body-muted { color: var(--muted); }

/* ---------- Grounds ----------
 * Light and deep water alternate section by section, so no two neighbours
 * share a ground. Cards take their section's ground. */
.section { position: relative; padding: var(--head-gap) 0 var(--sec); }
.ground-light { background: var(--light); --ground: var(--paper); }
.ground-deep { background: linear-gradient(160deg, var(--navy-deep), var(--navy) 60%, oklch(36% .11 255)); color: var(--light);
  --ground: oklch(26% .07 254 / .72); --hair: var(--hair-dark); --muted: oklch(80% .03 240); }
.ground-cta { background: linear-gradient(115deg, var(--royal), var(--blue) 55%, var(--electric)); color: var(--paper);
  --ground: oklch(21% .06 254 / .22); --hair: oklch(100% 0 0 / .32); --muted: oklch(97% .02 240 / .86); }

/* The water glow: two soft pools of light, top left and bottom right. */
.water { isolation: isolate; overflow: hidden; }
.water::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40rem 22rem at 15% 0, oklch(72% .16 232 / .2), transparent 70%),
    radial-gradient(34rem 20rem at 90% 100%, oklch(42% .16 262 / .3), transparent 70%); }
.ground-cta.water::before { background:
    radial-gradient(38rem 20rem at 12% 0, oklch(100% 0 0 / .22), transparent 70%),
    radial-gradient(30rem 18rem at 92% 100%, oklch(30% .12 258 / .35), transparent 70%); }

/* Falling droplets (the reference's drift-drop). app.js scatters them. */
.drops { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.drop { position: absolute; top: -4rem; border-radius: 999px;
  background: linear-gradient(oklch(95% .03 230 / .9), oklch(72% .16 232 / .12));
  animation: drift-drop linear infinite; }
@keyframes drift-drop {
  0% { opacity: 0; transform: translateY(-10%) scale(.9); }
  15% { opacity: .7; }
  100% { opacity: 0; transform: translateY(120vh) scale(1.1); }
}
@media (prefers-reduced-motion: reduce) { .drops { display: none; } }

/* Section headings stand alone: no eyebrow, trimmed to the letters so the
 * gap above (section padding) and below (margin) measure the same. */
.section-head {
  font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .01em;
  font-size: 40px; line-height: .95; text-box: trim-both cap alphabetic; text-wrap: balance;
  margin-bottom: var(--head-gap);
}
@media (min-width: 1024px) { .section-head { font-size: 64px; } }
.section-head + p { text-box-trim: trim-start; text-box-edge: cap alphabetic; }
.section-lede { max-width: 52ch; color: var(--muted); margin-bottom: var(--s8); }

/* ---------- Header ----------
 * 1fr auto 1fr so the badge sits on the true centre line. Transparent over
 * the hero; solid white with a hairline once the hero HEADLINE leaves view. */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: var(--paper); background: transparent; border-bottom: 1px solid transparent;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  padding-top: env(safe-area-inset-top);
  --glow: 0 0 4px rgba(255,255,255,.36), 0 0 12px rgba(255,255,255,.19), 0 0 28px rgba(255,255,255,.1);
}
.header[data-solid="true"] {
  background: var(--paper); color: var(--ink); border-bottom-color: var(--hair);
  --glow: 0 0 6px oklch(26% .07 254 / .14), 0 0 14px oklch(26% .07 254 / .08);
}
.header-row {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: var(--s6);
  max-width: var(--wide); margin: 0 auto; padding: var(--s2) var(--gutter); min-height: 64px;
}
@media (min-width: 1024px) { .header-row { column-gap: var(--s12); min-height: 72px; } }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: opacity .2s var(--ease), scale .2s var(--ease);
}
.icon-btn:active { scale: .97; opacity: .81; }
.icon-btn svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.menu-btn { justify-self: start; margin-left: -12px; }
.call-btn { justify-self: end; margin-right: -12px; }
.call-btn svg { width: 24px; height: 24px; }

.nav { display: none; align-items: center; gap: var(--s8); }
.nav a { height: 48px; white-space: nowrap; font-size: 13px; }
.nav-left { justify-self: start; }
.nav-right { justify-self: end; }
/* The phone number is the header's one action, so it out-weighs the nav. */
.nav a.phone { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: .03em; }
@media (min-width: 1024px) {
  .nav { display: flex; }
  .menu-btn, .call-btn { display: none; }
}
/* Their real badge, full colour (a mascot loses everything as a one-colour mask). */
.logo { display: inline-flex; }
.logo img { height: 52px; width: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); }
@media (min-width: 1024px) { .logo img { height: 62px; } }

/* Header hover: lift and glow, never an underline. The badge lifts, no glow. */
.lift-glow, .lift { display: inline-flex; align-items: center; transition: translate .2s var(--ease), text-shadow .2s var(--ease); }
.lift-glow:hover, .lift-glow:focus-visible { translate: 0 -2px; text-shadow: var(--glow); }
.lift:hover, .lift:focus-visible { translate: 0 -2px; }

/* ---------- Phone menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column;
  background: var(--paper); color: var(--ink); padding-top: env(safe-area-inset-top);
  visibility: hidden; translate: 0 -100%; transition: translate .2s var(--ease), visibility .2s;
}
.menu[data-open="true"] { visibility: visible; translate: 0 0; }
.menu .header-row { grid-template-columns: 1fr auto; width: 100%; }
.menu-logo { height: 50px; width: auto; }
.menu .icon-btn { margin-right: -12px; }
.menu-links { display: flex; flex-direction: column; flex: 1; padding: var(--s4) var(--gutter) 0; overflow-y: auto; }
.menu-links a { display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid var(--hair);
  font-family: var(--display); font-weight: 700; font-size: 26px; text-transform: uppercase; letter-spacing: .02em; }
.menu-links a:last-child { border-bottom: 0; }
.menu-actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); padding: var(--s4) var(--gutter) calc(var(--s6) + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) { .menu { display: none; } }

/* ---------- Buttons ----------
 * Every call to action LIFTS: 3px rise plus a soft cast. The lift is the whole
 * hover. `translate`, not transform, so it composes with the press scale. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 52px; padding: 0 var(--s6);
  border: 1px solid transparent; border-radius: var(--radius); white-space: nowrap; cursor: pointer;
  font-size: 13px; font-weight: 500; background: none;
  transition: translate .2s var(--ease), box-shadow .2s var(--ease), opacity .2s var(--ease), scale .2s var(--ease);
}
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
@media (hover: hover) {
  .btn:hover, .btn:focus-visible { translate: 0 -3px; box-shadow: 0 14px 28px -12px oklch(12% .05 254 / .75); }
}
.btn:active { scale: .97; opacity: .88; }
@media (prefers-reduced-motion: reduce) { .btn:hover, .btn:focus-visible { translate: none; } }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-ghost { color: var(--paper); border-color: oklch(84% .16 86 / .7); background: oklch(21% .06 254 / .35); }
.btn-line { color: var(--ink); border-color: var(--ink); }
.btn-block { width: 100%; min-height: 56px; font-size: 14px; }

/* ---------- Hero: the wash ----------
 * A tall track with a sticky 100svh hero. While it's pinned, the scroll
 * drives the spray across the photo (app.js, on .hero-canvas). Text sits
 * bottom-left in white. The navy frame shows only until the photos load. */
.hero-track { position: relative; height: 240svh; }
.hero-track .hero { position: sticky; top: 0; }
.hero-canvas { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; display: block; }
.hero-jet { pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .hero-track { height: auto; } .hero-track .hero { position: relative; } }
.hero { position: relative; height: 100svh; min-height: 600px; color: var(--paper);
  display: flex; align-items: flex-end; }
.hero-media { position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(60rem 30rem at 78% 30%, oklch(48% .15 255 / .55), transparent 70%),
    linear-gradient(120deg, oklch(17% .05 254) 0%, var(--navy-deep) 45%, var(--navy) 100%); }
.hero-scrim { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,0) 128px),
    linear-gradient(to top, oklch(17% .05 254 / .6) 0%, transparent 55%); }
/* On a phone the headline sits over the bright clean slab, so the bottom
 * scrim reaches higher and darker there. */
@media (max-aspect-ratio: 1/1) {
  .hero-scrim { background:
    linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,0) 128px),
    linear-gradient(to top, oklch(17% .05 254 / .78) 0%, oklch(17% .05 254 / .45) 45%, transparent 70%); }
}
/* Homepage hero: the scrim 15% lighter, so more of the wash shows
 * (Jacob, 2026-10-25). Inner pages keep the full scrim. */
.hero-track .hero-scrim { opacity: .85; }
.hero-content { display: grid; gap: 22px; width: 100%; max-width: var(--wide); margin: 0 auto;
  padding: 0 var(--gutter) calc(var(--callbar) + 24px); }
@media (min-width: 1024px) { .hero-content { padding-bottom: 64px; } }
.eyebrow { display: flex; flex-direction: column; gap: var(--s2); align-items: flex-start; margin: 0; color: var(--gold); }
.eyebrow > span:not(.dot) { margin-right: -.18em; }
.eyebrow .dot { display: none; }
@media (min-width: 640px) { .eyebrow { flex-direction: row; gap: var(--s3); } .eyebrow .dot { display: inline; } }
.hero-title { font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(72px, 10vw, 168px); line-height: .84; letter-spacing: 0; text-box: trim-both cap alphabetic; }
.hero-lede { max-width: 40ch; font-size: 18px; line-height: 1.5; color: oklch(97% .01 240 / .9); margin: 0; }
@media (min-width: 1024px) { .hero-lede { font-size: 20px; } }
/* Lines rise out of their masks, one after another. */
.ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.ln > span { display: block; white-space: nowrap; transition: transform 1.1s cubic-bezier(.2, .7, .1, 1); }
.rise[data-armed]:not(.in) .ln > span { transform: translateY(105%); }
.rise.in .ln:nth-child(2) > span { transition-delay: .08s; }
.rise.in .ln:nth-child(3) > span { transition-delay: .16s; }
@media (prefers-reduced-motion: reduce) { .ln > span { transform: none !important; transition: none; } }
/* Two CTAs side by side at every width, equal halves on a phone. */
.hero-foot { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
@media (min-width: 640px) { .hero-foot { display: flex; gap: var(--s4); } }
.hero-foot .btn { padding: 0 var(--s3); min-width: 0; }
.sm-show { display: none; }
@media (max-width: 639px) { .sm-hide { display: none; } .sm-show { display: inline; } }
@media (min-width: 640px) { .hero-foot .btn { padding: 0 var(--s6); } }

/* ---------- Marquee ----------
 * One row, fixed band height (67 / 100). Eight copies, -50%, speed in px/s.
 * Ink, bold, condensed. The separator is a water drop that drips. */
.marquee { display: flex; align-items: center; height: 67px; overflow: hidden; background: var(--paper);
  border-bottom: 1px solid var(--hair); color: var(--ink); }
@media (min-width: 1024px) { .marquee { height: 100px; } }
.marquee-track { display: flex; width: max-content; will-change: transform;
  animation: marquee-r var(--marquee-duration, 120s) linear infinite; }
.marquee-track[data-paused] { animation-play-state: paused; }
.marquee-copy { display: flex; flex-shrink: 0; align-items: center; gap: 20px; padding-right: 20px;
  white-space: nowrap; font-family: var(--display); font-size: 30px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
@media (min-width: 1024px) { .marquee-copy { gap: 28px; padding-right: 28px; font-size: 44px; } }
/* The drop swells, stretches and lets go, then a new one forms. */
.marquee-copy .dropi { width: .5em; height: .7em; flex-shrink: 0; transform-origin: 50% 0; animation: drip 2.4s var(--ease) infinite; }
.marquee-copy .dropi:nth-of-type(2n) { animation-delay: -1.2s; }
.marquee-copy .dropi path { fill: var(--blue); }
.marquee-copy .dropi .shine { fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; opacity: .85; }
@keyframes drip {
  0% { transform: translateY(-2px) scale(.55, .5); opacity: 0; }
  20% { opacity: 1; }
  55% { transform: translateY(0) scale(1, 1); }
  72% { transform: translateY(1px) scale(.94, 1.12); }
  86% { transform: translateY(6px) scale(1, 1); opacity: 1; }
  100% { transform: translateY(14px) scale(.9, 1); opacity: 0; }
}
.marquee-track[data-paused] .dropi { animation-play-state: paused; }
@keyframes marquee-r { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-copy .dropi { animation: none; }
  .marquee-track { animation: none; width: 100%; justify-content: center; }
  .marquee-copy + .marquee-copy { display: none; }
}

/* ---------- Cards (the reference's soft cards, one radius) ----------
 * A card takes its section's ground; the lift is depth, not a new colour. */
.cards { display: grid; gap: var(--s4); }
.card { position: relative; background: var(--ground); border: 1px solid var(--hair); border-radius: var(--radius);
  padding: var(--s6) var(--s5); }
/* No backdrop blur on cards: blurring the page behind every card on every
 * scrolled frame was a big part of the lag. */
.ground-deep .card { box-shadow: var(--card-cast); }
.ground-light .card { box-shadow: 0 1px 0 var(--hair), 0 10px 28px -22px oklch(26% .07 254 / .35); }
.lift-card { transition: translate .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease); }
@media (hover: hover) {
  .lift-card:hover { translate: 0 -4px; z-index: 2; }
  .ground-light .lift-card:hover { box-shadow: var(--lift-light); }
  .ground-deep .lift-card:hover, .ground-cta .lift-card:hover { border-color: oklch(73% .13 244 / .55); box-shadow: 0 0 0 1px oklch(73% .13 244 / .25), 0 18px 45px -18px oklch(73% .13 244 / .6); }
}
.card-name { font-size: 18px; line-height: 1.25; font-weight: 500; letter-spacing: .02em; margin-bottom: var(--s2); }
.card p { color: var(--muted); font-size: 15px; line-height: 1.55; }
.ico { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: var(--s4);
  border-radius: var(--radius); border: 1px solid oklch(84% .16 86 / .45); color: var(--gold); background: oklch(21% .06 254 / .6); }
.ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 640px) { .cards-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .cards-4 { grid-template-columns: repeat(4, 1fr); gap: var(--s5); }
  .cards-3 { grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
  .card { padding: var(--s8) var(--s6); }
}

/* Promise strip: no heading, so its own even padding. On a phone each card
 * is a row (badge left, words right) so four of them stay one screen. */
.promise { position: relative; padding: var(--sec) 0; }
@media (max-width: 639px) {
  .promise .card { display: grid; grid-template-columns: 44px 1fr; column-gap: var(--s4); padding: var(--s4); }
  .promise .ico { grid-row: span 2; margin: 0; }
  .promise .card-name { margin-bottom: 2px; }
  .promise .cards { gap: var(--s3); }
}

/* ---------- Services: six cards, all in view ----------
 * Laid out at once so people find their service without scrolling past the
 * others. 1 column on a phone, 2 on a tablet, 3 on desktop. */
.svc-grid { display: grid; gap: var(--s5); }
@media (min-width: 640px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .svc-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s6); } }
.svc-card { display: flex; flex-direction: column; overflow: hidden; background: var(--paper); border: 1px solid var(--hair);
  border-radius: var(--radius); box-shadow: 0 1px 0 var(--hair), 0 10px 28px -22px oklch(26% .07 254 / .35); }
@media (hover: hover) { .svc-card:hover { box-shadow: var(--lift-light); } }
.svc-text { display: flex; flex-direction: column; flex: 1; padding: var(--s5) var(--s5) var(--s6); }
.svc-name { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 28px; line-height: 1;
  letter-spacing: .01em; margin-bottom: var(--s3); }
.svc-text p { color: var(--muted); font-size: 15px; line-height: 1.55; margin-bottom: var(--s4); }
.more { display: inline-flex; gap: 8px; align-items: center; margin-top: auto; color: var(--royal); transition: translate .2s var(--ease); }
.more:hover, .more:focus-visible { translate: 0 -2px; }
.also { margin-top: var(--s8); color: var(--muted); }
.also a { color: var(--royal); }

/* ---------- Before / after slider ----------
 * Starts halfway so both sides show. Drag to compare: mouse anywhere on the
 * photo, a finger sideways on the photo (pan-y leaves vertical swipes to
 * the page), arrow keys through the hidden range. HARD clip edge, never a
 * fade. Until a photo exists the frame is a plain graded navy. */
.ba { position: relative; --p: .5; aspect-ratio: 3 / 2; overflow: hidden; user-select: none; -webkit-user-select: none;
  touch-action: pan-y; cursor: ew-resize;
  background: linear-gradient(160deg, var(--navy-deep), var(--navy) 60%, oklch(36% .11 255)); }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-after { clip-path: inset(0 0 0 calc((1 - var(--p)) * 100%)); }
.ba-edge { position: absolute; top: 0; bottom: 0; left: calc((1 - var(--p)) * 100%); width: 2px; margin-left: -1px;
  background: var(--paper); box-shadow: 0 0 12px oklch(73% .13 244 / .9); pointer-events: none; }
.ba-knob { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; translate: -50% -50%; border-radius: 50%;
  background: var(--paper); box-shadow: 0 0 0 4px oklch(73% .13 244 / .35), 0 6px 18px rgba(0,0,0,.4);
  transition: scale .15s var(--ease); }
.ba-knob::before, .ba-knob::after { content: ""; position: absolute; top: 50%; width: 7px; height: 7px; border: solid var(--royal); border-width: 0 0 2px 2px; }
.ba-knob::before { left: 11px; rotate: 45deg; translate: 0 -50%; }
.ba-knob::after { right: 11px; rotate: -135deg; translate: 0 -50%; }
.ba.is-dragging .ba-knob { scale: 1.1; }
.ba-tag { position: absolute; top: 12px; padding: 7px 10px; border-radius: var(--radius); font-size: 11px; pointer-events: none; }
.ba-tag-b { left: 12px; background: oklch(21% .06 254 / .75); color: var(--paper); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ba-tag-a { right: 12px; background: var(--gold); color: var(--navy-deep); }
.ba:has(.ba-range:focus-visible) .ba-knob { outline: 2px solid var(--royal); outline-offset: 3px; }

/* ---------- Reviews ---------- */
.quote { display: flex; flex-direction: column; gap: var(--s4); }
.quote blockquote { font-size: 17px; line-height: 1.55; flex: 1; }
.quote .who { font-weight: 500; color: var(--gold); letter-spacing: .02em; }
.stars { display: flex; gap: 3px; height: 16px; }
.stars svg { width: 16px; height: 16px; fill: var(--gold); }
/* Phone: a swipe row with the next card peeking in. */
@media (max-width: 1023px) {
  .quotes { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) var(--s4); scroll-padding: 0 var(--gutter); }
  .quotes::-webkit-scrollbar { display: none; }
  .quotes .card { flex: 0 0 84%; scroll-snap-align: start; }
  .quotes::after { content: ""; flex: 0 0 1px; }
}

/* ---------- About + steps ---------- */
.about-grid { display: grid; gap: var(--s8); }
.about-copy .lede { max-width: 40ch; margin-bottom: var(--s4); }
.about-copy .body-muted { max-width: 52ch; }
.steps { display: grid; gap: var(--s3); }
.steps .card { display: grid; grid-template-columns: 48px 1fr; gap: var(--s4); align-items: start; padding: var(--s5); }
.step-n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius);
  background: var(--navy-deep); color: var(--gold); font-family: var(--display); font-weight: 700; font-size: 26px; }
.steps .card-name { margin-bottom: var(--s1); }
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 1.1fr .9fr; column-gap: var(--s16); align-items: center; }
}

/* ---------- Service areas: the reference's town chips ---------- */
.towns { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.towns li { display: flex; align-items: center; gap: var(--s2); min-height: 48px; padding: 0 var(--s4);
  border: 1px solid var(--hair); border-radius: var(--radius); background: var(--ground); font-weight: 500; font-size: 15px;
  transition: translate .2s var(--ease), border-color .2s var(--ease); }
.towns li::before { content: ""; width: 14px; height: 14px; flex: none; background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22s-7-6.2-7-12a7 7 0 0 1 14 0c0 5.8-7 12-7 12Zm0-9a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22s-7-6.2-7-12a7 7 0 0 1 14 0c0 5.8-7 12-7 12Zm0-9a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (hover: hover) { .towns li:hover { translate: 0 -2px; border-color: oklch(73% .13 244 / .55); } }
@media (min-width: 640px) { .towns { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .towns { grid-template-columns: repeat(5, 1fr); gap: var(--s3); } }

/* ---------- FAQ ----------
 * Lines between rows only: the list never ends on a hairline. */
.faq-grid { display: grid; gap: 0; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: .8fr 1.2fr; column-gap: var(--s16); align-items: start; }
  .faq-grid .section-head { margin-bottom: 0; } }
.faq details { border-bottom: 1px solid var(--hair); }
.faq details:last-child { border-bottom: 0; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); min-height: 64px; cursor: pointer;
  list-style: none; font-size: 19px; font-weight: 500; transition: color .2s var(--ease); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; flex: none; margin-right: 4px;
  border: solid var(--royal); border-width: 0 2px 2px 0; rotate: 45deg; translate: 0 -3px; transition: rotate .25s var(--ease), translate .25s var(--ease); }
.faq details[open] summary::after { rotate: -135deg; translate: 0 3px; }
.faq summary:hover { color: var(--royal); }
.faq details p { color: var(--muted); max-width: 60ch; padding-bottom: var(--s5); margin: 0; }
.faq details:first-child summary { min-height: 0; padding-bottom: 20px; }
@media (min-width: 1024px) { .faq details:first-child summary { padding-top: 0; } }

/* ---------- Estimate ---------- */
.est-grid { display: grid; gap: var(--s8); }
@media (min-width: 1024px) { .est-grid { grid-template-columns: 1fr 1fr; column-gap: var(--s16); align-items: start; } }
.est-intro .lede { max-width: 34ch; margin-bottom: var(--s6); }
.big-phone { display: inline-block; font-family: var(--display); font-weight: 700; font-size: 48px; line-height: 1; letter-spacing: .02em;
  margin-bottom: var(--s3); transition: translate .2s var(--ease); }
.big-phone:hover { translate: 0 -2px; }
@media (min-width: 1024px) { .big-phone { font-size: 72px; } }
.est-mail { font-size: 16px; color: var(--muted); }
.estimate { background: oklch(21% .06 254 / .28); border: 1px solid var(--hair); border-radius: var(--radius); padding: var(--s5);
  box-shadow: var(--card-cast); }
@media (min-width: 1024px) { .estimate { padding: var(--s8); } }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4) var(--s3); margin-bottom: var(--s6); }
.field { display: flex; flex-direction: column; gap: var(--s2); min-width: 0; }
.field .label { color: var(--muted); font-size: 11px; }
.span-2 { grid-column: span 2; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: var(--s3); border: 1px solid oklch(100% 0 0 / .3); border-radius: var(--radius);
  background: oklch(100% 0 0 / .1); color: var(--paper); font-size: 16px; /* 16px stops iOS zooming on focus */
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: oklch(100% 0 0 / .55); }
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; padding-right: 40px;
  background: oklch(100% 0 0 / .1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; }
.field select option { color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background-color: oklch(100% 0 0 / .16); }
.field.is-bad input { border-color: var(--gold); border-width: 2px; }
.form-error { margin: 0 0 var(--s3); font-weight: 500; color: var(--gold); }
.fine { margin: var(--s3) 0 0; font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- Footer (Superior Nut .footer, dark) ----------
 * Tight. Blocks distributed start / centre / end with equal gaps (flex
 * space-between at natural widths). Full-bleed hairline, then the bar. */
.footer { position: relative; background: var(--navy-night); color: var(--paper); padding-top: 28px; overflow: clip; }
.footer-wrap { width: 100%; max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-bottom: 0; }
.foot-brand { grid-column: span 2; display: flex; flex-direction: column; }
@media (min-width: 900px) {
  .foot-grid { display: flex; justify-content: space-between; align-items: flex-start; }
}
.foot-logo { height: 64px; width: auto; align-self: flex-start; }
.foot-brand p { margin-top: 12px; font-size: 14px; line-height: 1.55; color: oklch(100% 0 0 / .7); white-space: nowrap; }
.footer h2 { font-size: 12px; font-weight: 500; margin-bottom: 10px; color: var(--gold); }
.footer li { margin-bottom: var(--s1); }
.footer ul a { font-size: 15px; color: oklch(100% 0 0 / .74); transition: color .2s var(--ease); }
.footer ul a:hover, .footer ul a:focus-visible { color: var(--paper); }
.foot-bar { display: flex; justify-content: space-between; gap: var(--s4); padding-top: 12px; padding-bottom: 12px;
  font-size: 12px; color: oklch(100% 0 0 / .62); }

/* THE NAME, EDGE TO EDGE, straight under the link columns: no badge, no
 * hairline. Fitted to the full width by app.js; the letters rise from the
 * centre outwards, once, when the mark comes into view. */
.foot-mark { padding: 20px clamp(8px, 1vw, 20px) 0; }
.fm-line { display: block; overflow: clip; white-space: nowrap; font-family: var(--display); font-weight: 700; text-transform: uppercase;
  line-height: 1; text-box: trim-both cap alphabetic; font-size: 20vw; padding: .05em 0; color: var(--paper); }
.fm-line { letter-spacing: .01em; }
.fm-inner { display: inline-block; }
.fm-inner > span { display: inline-block; }
.foot-mark[data-armed] .fm-inner > span { translate: 0 110%; }
.foot-mark[data-armed].is-in .fm-inner > span { translate: 0 0;
  transition: translate 750ms cubic-bezier(.25, .46, .45, .94); transition-delay: calc(var(--d) * 55ms); }
@media (prefers-reduced-motion: reduce) { .foot-mark[data-armed] .fm-inner > span { translate: none; transition: none; } }

/* ---------- Phone call bar ---------- */
.callbar { position: fixed; inset: auto 0 0 0; z-index: 55; display: grid; grid-template-columns: 1fr 1fr;
  height: calc(var(--callbar) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: var(--paper); border-top: 1px solid var(--hair); color: var(--ink); }
.callbar a { display: flex; align-items: center; justify-content: center; gap: var(--s2); }
.callbar svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.callbar .callbar-gold { background: var(--gold); color: var(--navy-deep); }
body.menu-open .callbar { display: none; }
@media (min-width: 1024px) { .callbar { display: none; } }

/* ---------- Check mode (?check) ---------- */
.check [data-confirm] { outline: 2px dashed #E5484D; outline-offset: -6px; }
.check-panel { position: fixed; z-index: 80; right: 12px; bottom: calc(var(--callbar) + 12px); max-width: 340px; max-height: 50vh; overflow: auto;
  background: var(--paper); color: var(--ink); border: 2px solid #E5484D; padding: 12px 14px; font-size: 13px; line-height: 1.45; }
.check-panel ol { margin: 6px 0 0; padding-left: 18px; list-style: decimal; }
@media (min-width: 1024px) { .check-panel { bottom: 12px; } }

/* =====================================================================
 * INNER PAGES (gallery.html, estimate.html)
 * ===================================================================== */

/* Inner hero: 60svh, same photo-with-type-over-it construction. */
.hero-inner { height: 60svh; min-height: 420px; }
.hero-inner .hero-media picture, .hero-inner .hero-media img { width: 100%; height: 100%; }
.hero-inner .hero-media img { object-fit: cover; }
.hero-inner .hero-content { padding-bottom: 40px; }
@media (min-width: 1024px) { .hero-inner .hero-content { padding-bottom: 56px; } }
.hero-title-inner { font-size: clamp(64px, 8vw, 128px); }

/* ---------- Gallery ---------- */
.g-head { display: grid; gap: var(--s5); margin-bottom: var(--s8); }
.g-head .section-head { margin-bottom: 0; }
@media (min-width: 1024px) { .g-head { grid-template-columns: auto 1fr; align-items: end; gap: var(--s10); } .g-filters { justify-content: flex-end; } }
.g-filters { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chip { min-height: 40px; padding: 0 var(--s4); border-radius: 999px; border: 1px solid var(--hair); background: var(--paper);
  color: var(--ink); font-size: 14px; font-weight: 500; cursor: pointer; transition: translate .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
@media (hover: hover) { .chip:hover { translate: 0 -2px; border-color: var(--royal); } }
.chip[aria-pressed="true"] { background: var(--navy-deep); color: var(--paper); border-color: var(--navy-deep); }
/* Masonry by columns: every photo keeps its own shape. */
.g-grid { columns: 2; column-gap: var(--s3); }
@media (min-width: 768px) { .g-grid { columns: 3; column-gap: var(--s4); } }
@media (min-width: 1280px) { .g-grid { columns: 4; } }
.g-item { break-inside: avoid; margin-bottom: var(--s3); }
@media (min-width: 768px) { .g-item { margin-bottom: var(--s4); } }
.g-item[hidden] { display: none; }
.g-tile { display: block; width: 100%; padding: 0; border: 0; background: oklch(91% .05 238 / .6); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; }
/* While a photo loads the tile is a soft light block (navy read as broken),
 * and the photo fades in over it. app.js adds .is-loaded. */
.g-tile img { opacity: 0; transition: opacity .35s var(--ease), scale .3s var(--ease); }
.g-tile img.is-loaded { opacity: 1; }
.g-tile img { width: 100%; height: auto; transition: scale .3s var(--ease); }
@media (hover: hover) { .g-tile:hover img { scale: 1.045; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; grid-template-columns: 56px 1fr 56px; align-items: center;
  background: oklch(12% .04 254 / .94); color: var(--paper); padding: var(--s4) var(--s2); }
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; display: grid; justify-items: center; gap: var(--s3); min-width: 0; }
.lb-figure img { max-width: 100%; max-height: calc(100svh - 120px); width: auto; height: auto; border-radius: var(--radius); }
.lb-figure figcaption { font-size: 14px; color: oklch(100% 0 0 / .78); text-align: center; }
.lb-close { position: absolute; top: calc(12px + env(safe-area-inset-top)); right: 12px; }
.lb-nav { justify-self: center; }
.lightbox .icon-btn svg { stroke-width: 1.8; }
@media (max-width: 639px) { .lightbox { grid-template-columns: 1fr; } .lb-nav { position: absolute; bottom: calc(16px + env(safe-area-inset-bottom)); } .lb-prev { left: 20%; } .lb-next { right: 20%; } }
body.lb-open { overflow: hidden; }

/* ---------- Estimate page ---------- */
.quote-grid { display: grid; gap: var(--s8); }
@media (min-width: 1024px) { .quote-grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); column-gap: var(--s12); align-items: start; } }
.quote-form, .sent { background: var(--paper); border: 1px solid var(--hair); border-radius: var(--radius); padding: var(--s5);
  box-shadow: 0 1px 0 var(--hair), 0 18px 40px -30px oklch(26% .07 254 / .45); }
@media (min-width: 1024px) { .quote-form, .sent { padding: var(--s8); } }
.q-step { border: 0; margin: 0; padding: 0 0 var(--s6); }
.q-step + .q-step { border-top: 1px solid var(--hair); padding-top: var(--s6); }
.q-step legend { float: left; width: 100%; display: flex; align-items: center; gap: var(--s3); padding: 0; margin-bottom: var(--s4);
  font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 26px; line-height: 1; letter-spacing: .01em; }
.q-step legend em, .field .label em { font-family: var(--font); font-style: normal; font-weight: 400; text-transform: none; font-size: 14px; letter-spacing: 0; color: var(--muted); }
/* The legend is floated so it sits inside the step, not on its top border
 * (a rule running beside a heading reads as a dash). */
.q-step legend + * { clear: both; }
.q-n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--navy-deep); color: var(--gold); font-size: 18px; }
.q-hint { color: var(--muted); margin: -6px 0 var(--s4); font-size: 15px; }
.picks { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
@media (min-width: 640px) { .picks { gap: var(--s3); } }
.pick { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick span { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: var(--s3) var(--s4); border: 1px solid var(--hair); border-radius: var(--radius);
  transition: border-color .2s var(--ease), background-color .2s var(--ease), translate .2s var(--ease); }
.pick b { font-weight: 500; font-size: 15px; }
.pick small { color: var(--muted); font-size: 13px; line-height: 1.35; }
@media (hover: hover) { .pick:hover span { translate: 0 -2px; border-color: var(--royal); } }
.pick input:checked + span { border-color: var(--royal); background: oklch(91% .05 238 / .55); box-shadow: inset 0 0 0 1px var(--royal); }
.pick input:focus-visible + span { outline: 2px solid var(--royal); outline-offset: 2px; }
.picks.is-bad .pick span { border-color: oklch(60% .2 27 / .6); }
.seg { display: flex; gap: 4px; padding: 4px; margin-bottom: var(--s4); border-radius: var(--radius); background: oklch(91% .05 238 / .5); max-width: 420px; }
.seg label { cursor: pointer; flex: 1; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 40px; padding: 0 var(--s2); border-radius: 7px; font-weight: 500; font-size: 14px; color: var(--muted); transition: background-color .2s var(--ease), color .2s var(--ease); }
.seg input:checked + span { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px oklch(26% .07 254 / .18); }
.seg input:focus-visible + span { outline: 2px solid var(--royal); }
/* Light form fields on the estimate page (the homepage form sits on blue). */
.quote-form .fields { margin-bottom: 0; }
.quote-form .field .label { color: var(--muted); }
.quote-form .field input, .quote-form .field select, .quote-form .field textarea {
  background-color: var(--paper); color: var(--ink); border: 1px solid oklch(48% .15 255 / .22); }
.quote-form .field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23172a4a' stroke-width='1.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }
.quote-form .field input::placeholder, .quote-form .field textarea::placeholder { color: oklch(50% .04 252 / .6); }
.quote-form .field input:focus, .quote-form .field select:focus, .quote-form .field textarea:focus { border-color: var(--royal); background-color: var(--paper); box-shadow: 0 0 0 3px oklch(63% .16 250 / .18); }
.quote-form .field.is-bad input { border-color: oklch(60% .2 27); border-width: 1px; box-shadow: 0 0 0 3px oklch(60% .2 27 / .15); }
.quote-form .form-error { color: oklch(52% .2 27); margin-top: var(--s2); }
.quote-form .fine { color: var(--muted); }
.q-notes { margin-top: var(--s4); }
/* Photo drop zone (not .drop: that is the falling water droplet) */
.dropzone { border: 1.5px dashed oklch(48% .15 255 / .35); border-radius: var(--radius); transition: background-color .2s var(--ease), border-color .2s var(--ease); }
.dropzone.is-over, .dropzone:hover { border-color: var(--royal); background: oklch(91% .05 238 / .35); }
.drop-label { display: flex; flex-direction: column; align-items: center; gap: var(--s1); padding: var(--s6) var(--s4); cursor: pointer; text-align: center; }
.drop-label svg { width: 32px; height: 32px; fill: none; stroke: var(--royal); stroke-width: 1.5; stroke-linejoin: round; margin-bottom: var(--s1); }
.drop-title { font-weight: 500; font-size: 17px; }
.drop-label .label { color: var(--muted); }
#photos:focus-visible + .drop-label { outline: 2px solid var(--royal); outline-offset: 3px; }
.thumbs { list-style: none; margin: 0; padding: 0 var(--s3) var(--s3); display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s2); }
.thumbs:empty { display: none; }
.thumbs li { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 6px; background: var(--light); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border: 0; border-radius: 50%;
  background: oklch(21% .06 254 / .8); color: var(--paper); display: grid; place-items: center; cursor: pointer; }
.thumbs button svg { width: 12px; height: 12px; stroke: currentColor; stroke-width: 2.2; }
/* Rail */
.quote-rail { display: grid; gap: var(--s4); }
@media (min-width: 1024px) { .quote-rail { position: sticky; top: calc(var(--head) + 24px); } }
.rail-card { background: var(--navy-deep); color: var(--paper); border-radius: var(--radius); padding: var(--s6); }
.rail-head { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 26px; line-height: 1; margin-bottom: var(--s4); }
.rail-steps { counter-reset: s; display: grid; gap: var(--s4); }
.rail-steps li { counter-increment: s; position: relative; padding-left: 40px; min-height: 28px; font-size: 15px; line-height: 1.5; color: oklch(100% 0 0 / .78); }
/* The number sits in its own gutter, so the sentence wraps as one block. */
.rail-steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--navy-deep); font-weight: 500; font-size: 14px; }
.rail-steps b { color: var(--paper); font-weight: 500; }
.rail-call { background: linear-gradient(115deg, var(--royal), var(--blue) 60%, var(--electric)); }
.rail-call .label { color: oklch(100% 0 0 / .85); margin-bottom: var(--s2); }
.rail-call .big-phone { font-size: 44px; margin-bottom: var(--s2); }
.rail-call .est-mail { color: oklch(100% 0 0 / .85); margin: 0; font-size: 15px; }
.rail-proof { display: grid; gap: var(--s2); padding: 0 var(--s2); }
.rail-proof li { display: flex; gap: var(--s3); align-items: center; font-weight: 500; font-size: 15px; }
.rail-proof li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--gold)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23132341' stroke-width='3'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
/* Confirmation */
.sent { text-align: left; }
.sent:focus { outline: none; }
.sent-mark { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--gold); margin-bottom: var(--s5); }
.sent-mark svg { width: 28px; height: 28px; fill: none; stroke: var(--navy-deep); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.sent .section-head { margin-bottom: var(--s4); }
.sent-sum { display: grid; grid-template-columns: max-content 1fr; gap: var(--s2) var(--s5); margin: var(--s6) 0; padding: var(--s5) 0 0; border-top: 1px solid var(--hair); font-size: 15px; }
.sent-sum dt { color: var(--muted); }
.sent-sum dd { margin: 0; font-weight: 500; }
.sent-actions { display: flex; flex-wrap: wrap; gap: var(--s3); }

/* ---------- Bands (Jacob, 2026-10-25) ----------
 * The homepage changes colour only twice before the footer: a light band,
 * one deep water band, a light band. Sections inside a band take its ground
 * and are separated by space only: each section after the first drops its
 * top padding, so the gap above its heading is the previous section's
 * bottom padding, the same --head-gap as everywhere else. */
.band { position: relative; }
.band > .section + .section, .band > .promise + .section { padding-top: 0; }
.band > .promise { padding: var(--sec) 0; }
/* The estimate quick start on the light band: a white card like the
 * estimate page's form. */
.ground-light .estimate { background: var(--paper); border: 1px solid var(--hair); box-shadow: 0 1px 0 var(--hair), 0 18px 40px -30px oklch(26% .07 254 / .45); }
.ground-light .est-intro .lede { color: var(--ink); }
.ground-light .big-phone { color: var(--navy-deep); }
.ground-light .est-mail a { color: var(--royal); }
.ground-light .estimate .form-error { color: oklch(52% .2 27); }
.ground-light .estimate .fine { color: var(--muted); }
/* Promise cards on light: same card, ink text, navy badge. */
.ground-light .ico { background: var(--navy-deep); border-color: var(--navy-deep); }

/* =====================================================================
 * PHONES (Jacob, 2026-10-25: "fix the mobile version")
 * ===================================================================== */
@media (max-width: 639px) {
  /* Hero: the type sat over the whole driveway and hid the wash. Smaller
   * headline, the lede dropped, the eyebrow on ONE line with a shadow so
   * the gold reads over the bright stone. */
  .hero-track .hero-title { font-size: 58px; }
  .hero-track .hero-lede { display: none; }
  .hero-track .hero-content { gap: 16px; padding-bottom: 24px; }
  .hero .eyebrow { flex-direction: row; gap: var(--s2); font-size: 11px;
    text-shadow: 0 1px 2px rgba(0,0,0,.6), 0 0 12px rgba(0,0,0,.45); }
  .hero .eyebrow .dot { display: inline; }
  .hero .eyebrow .dot.sm-hide { display: none; }
  .hero-inner .hero-title-inner { font-size: 64px; }

  /* Promise: a compact 2 x 2, badge and name only. */
  .promise .cards { grid-template-columns: 1fr 1fr; gap: var(--s2); }
  .promise .card { grid-template-columns: 1fr; row-gap: var(--s3); padding: var(--s4); }
  .promise .ico { grid-row: auto; width: 36px; height: 36px; }
  .promise .ico svg { width: 18px; height: 18px; }
  .promise .card-name { font-size: 16px; margin: 0; }
  .promise .card p { display: none; }

  /* Service cards: a little tighter, so six of them scroll faster. */
  .svc-grid { gap: var(--s4); }
  .svc-text { padding: var(--s4) var(--s4) var(--s5); }
  .svc-name { font-size: 26px; margin-bottom: var(--s2); }
  .svc-text p { margin-bottom: var(--s3); }

  /* Steps: tighter rows. */
  .steps .card { padding: var(--s4); grid-template-columns: 40px 1fr; }
  .step-n { width: 40px; height: 40px; font-size: 22px; }

  /* Towns: small wrapping tags instead of fifteen big boxes. */
  .towns { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s2); }
  .towns li { min-height: 36px; padding: 0 var(--s3); font-size: 14px; }
  .towns li::before { width: 12px; height: 12px; }

  /* Homepage estimate: the phone number is already in the call bar. */
  #estimate .big-phone { font-size: 40px; }
}

/* The call bar waits until the hero has gone, so a phone never shows the
 * same two buttons twice on one screen. (app.js sets data-show.) */
@media (max-width: 1023px) {
  .callbar { transition: translate .3s var(--ease); }
  .callbar[data-show="false"] { translate: 0 100%; }
}

/* Footer: the same deep water as the reviews band, drops and all
 * (Jacob, 2026-10-25: the near-black navy was too dark). */
.footer { background: linear-gradient(160deg, var(--navy-deep), var(--navy) 60%, oklch(36% .11 255)); isolation: isolate; }
.footer .drops { z-index: -1; }
.ground-deep + .footer, .band.ground-deep + .footer { border-top: 1px solid var(--hair-dark); }
/* The areas link sits on the deep band. */
.ground-deep .also a { color: var(--gold); }
/* Inner-page washes run a shorter track: one screen of scroll does it. */
.hero-track-short { height: 190svh; }

/* ---------- Services page ---------- */
.svc-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s2); margin-bottom: var(--s10); }
.svc-jump .chip { display: inline-flex; align-items: center; }
.svc-details { display: grid; gap: var(--s12); }
@media (min-width: 1024px) { .svc-details { gap: var(--s16); } }
.svc-detail { display: grid; gap: var(--s6); align-items: center; scroll-margin-top: 96px; }
@media (min-width: 900px) {
  .svc-detail { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--s12); }
  .svc-detail.flip .svc-detail-ba { order: 2; }
}
.svc-detail-ba { border-radius: var(--radius); box-shadow: var(--card-cast); }
.svc-detail-n { margin: 0 0 var(--s3); color: var(--royal); font-weight: 500; letter-spacing: .18em; font-size: 13px; }
.svc-detail-name { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(36px, 4vw, 56px); line-height: .95; margin-bottom: var(--s4); }
.svc-detail-copy .lede { max-width: 44ch; margin-bottom: var(--s5); }
.ticks { display: grid; gap: var(--s2); margin-bottom: var(--s5); }
.ticks li { display: flex; gap: var(--s3); align-items: baseline; font-size: 16px; }
.ticks li::before { content: ""; flex: none; width: 16px; height: 16px; translate: 0 2px; border-radius: 50%; background: var(--gold)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23132341' stroke-width='3'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat; }
.svc-good { color: var(--muted); font-size: 15px; margin-bottom: var(--s6); }
.svc-good b { color: var(--ink); font-weight: 500; margin-right: var(--s2); }
@media (min-width: 640px) { .svc-grid-2 { grid-template-columns: 1fr 1fr; max-width: 900px; margin: 0 auto; } }
.how-steps .card { text-align: left; }
.how-steps .step-n { margin-bottom: var(--s4); }

/* ---------- Areas page ---------- */
.areas-grid { display: grid; gap: var(--s6); }
@media (min-width: 1024px) { .areas-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s10); align-items: stretch; } }
.counties { display: grid; gap: var(--s4); align-content: start; }
.county .card-name { margin-bottom: var(--s3); }
.towns-tags { display: flex; flex-wrap: wrap; gap: var(--s2); }
.ground-light .towns li { background: oklch(91% .05 238 / .45); border-color: transparent; color: var(--ink); min-height: 38px; padding: 0 var(--s3); font-size: 15px; }
.map-card { position: relative; min-height: 360px; border-radius: var(--radius); overflow: hidden; background: oklch(91% .05 238 / .6);
  box-shadow: 0 1px 0 var(--hair), 0 18px 40px -30px oklch(26% .07 254 / .45); }
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.svc-link { display: flex; flex-direction: column; height: 100%; }
.svc-link .more { margin-top: auto; color: var(--gold); padding-top: var(--s3); }
.ground-deep .step-n { background: var(--gold); color: var(--navy-deep); }
/* County tags read left to right, under their county name. */
.county .towns { justify-content: flex-start; }
/* Services hero on phones: the photo sits higher so the technician's head
 * clears the header (Jacob, 2026-10-25). */
@media (max-aspect-ratio: 1/1) { .hero-services .hero-media img { object-position: 50% 0%; } }

/* =====================================================================
 * HERO HEADLINE, ON THE JOB, AREAS, HEADER CALL (2026-10-26)
 * ===================================================================== */

/* ---------- Grounds: the second family ---------- */
.ground-pine { background: linear-gradient(160deg, var(--pine-deep), var(--pine) 65%, oklch(35% .06 178)); color: var(--light);
  --ground: oklch(100% 0 0 / .06); --hair: oklch(100% 0 0 / .14); --muted: oklch(86% .03 165); }
.ground-pine .more, .ground-pine .also a { color: var(--gold); }
.ground-warm { background: var(--warm); color: var(--ink); --ground: var(--paper); --hair: var(--warm-hair); --muted: oklch(47% .03 70); }
.ground-slate { background: linear-gradient(160deg, oklch(26% .02 252), var(--slate)); color: var(--light);
  --ground: oklch(100% 0 0 / .06); --hair: oklch(100% 0 0 / .14); --muted: oklch(84% .015 250); }
.band.ground-warm { border-top: 1px solid var(--warm-hair); border-bottom: 1px solid var(--warm-hair); }

/* ---------- Hero: two headlines ---------- */
.hv { display: grid; gap: 22px; }
.hv2 { display: none; }
html[data-hero="2"] .hv1 { display: none; }
html[data-hero="2"] .hv2 { display: grid; }
.hv3 { display: none; }
html[data-hero="3"] .hv1 { display: none; }
html[data-hero="3"] .hv3 { display: grid; }
.hero-title .hl { color: var(--gold); }
/* The proof line: real numbers, shown as they are. */
.hero-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0;
  font-size: 16px; font-weight: 500; letter-spacing: .02em; color: oklch(98% .01 240);
  text-shadow: 0 1px 2px rgba(0,0,0,.55), 0 0 14px rgba(0,0,0,.35); }
.hero-proof .dot { opacity: .65; }
.hp-stars { display: inline-flex; gap: 2px; margin-right: 2px; }
.hp-stars svg { width: 17px; height: 17px; fill: var(--gold); filter: drop-shadow(0 1px 1px rgba(0,0,0,.4)); }
@media (min-width: 1024px) { .hero-proof { font-size: 18px; } .hp-stars svg { width: 19px; height: 19px; } }

/* ?h=2: question and answer share one cell; app.js drives the variables
 * from the wash's progress. */
.qa { display: grid; }
.qa > .hero-title { grid-area: 1 / 1; align-self: end; margin: 0; }
.qa-q { opacity: var(--q-op, 1); transform: translateY(var(--q-y, 0px)); filter: blur(var(--q-blur, 0px)); }
.qa-a { opacity: var(--a-op, 0); transform: translateY(var(--a-y, 40px)); }
html[data-hero="2"] .hero-foot, .qa-proof { opacity: var(--cta-op, 0); transform: translateY(calc((1 - var(--cta-op, 0)) * 16px)); }
html[data-hero="2"] .hero[data-cta="off"] .hero-foot, .hero[data-cta="off"] .qa-proof { visibility: hidden; }
.qa-word > span[data-word] { transition: transform .42s cubic-bezier(.4, 0, .2, 1), opacity .42s var(--ease); }
.qa-word > span[data-word].w-out { transform: translateY(-100%); opacity: 0; }
.qa-word > span[data-word].w-in { transform: translateY(100%); opacity: 0; transition: none; }
.qa-kick { display: none; margin: 0 0 14px; color: var(--gold); font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0,0,0,.6); }
@media (prefers-reduced-motion: reduce) {
  .qa-kick { display: block; }
  .qa > .qa-kick { grid-area: auto; }
  .qa { grid-template-rows: auto auto; }
  .qa > .hero-title { grid-row: 2; }
  .qa-q { display: none; }
  .qa-a { opacity: 1; transform: none; }
  html[data-hero="2"] .hero-foot, .qa-proof { opacity: 1; transform: none; visibility: visible !important; }
}

/* ---------- On the job ---------- */
.action { position: relative; padding: var(--sec) 0; }
.action .section-head { margin-bottom: var(--s8); }
.act-reel { display: grid; grid-auto-flow: column; grid-auto-columns: 68%; gap: var(--s3);
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; touch-action: pan-x pan-y;
  scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); padding: 0 var(--gutter);
  scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.act-reel::-webkit-scrollbar { display: none; }
.act-tile { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); scroll-snap-align: start;
  background: oklch(100% 0 0 / .06); box-shadow: 0 18px 40px -26px oklch(10% .03 170 / .9); }
.act-tile img, .act-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.act-video { opacity: 0; transition: opacity .6s var(--ease); }
.act-tile.has-video .act-video { opacity: 1; }
.action .also { margin-top: var(--s6); }
@media (min-width: 640px) { .act-reel { grid-auto-columns: 38%; gap: var(--s4); } }
@media (min-width: 1024px) {
  .act-reel { grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible;
    max-width: var(--wide); margin: 0 auto; }
}

/* ---------- Service areas: map + town grid ---------- */
.areas-group { display: grid; gap: var(--s5); }
.areas-map[data-area-map] { aspect-ratio: 1 / 1; }
.area-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); }
.area-cards li { display: flex; }
.area-card { display: flex; flex-direction: column; width: 100%; padding: 12px 14px; background: var(--paper);
  border: 1px solid var(--hair); border-radius: var(--radius); box-shadow: 0 1px 0 var(--hair);
  transition: translate .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease); }
.ac-name { font-size: 16px; font-weight: 500; line-height: 1.25; color: var(--ink); }
.ac-county { font-size: 13px; line-height: 1.4; color: var(--muted); }
.ac-mi { margin-top: auto; padding-top: 8px; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; line-height: 1.2; color: var(--teal-ink); }
.area-card:hover, .area-card:focus-visible, .area-card.is-hot { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal), 0 12px 26px -18px oklch(40% .08 195 / .7); }
@media (hover: hover) { .area-card:hover, .area-card.is-hot { translate: 0 -2px; } }
.area-card:focus-visible { outline: none; }
@media (min-width: 640px) {
  .areas-map[data-area-map] { aspect-ratio: 16 / 10; }
  .area-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); }
}
@media (min-width: 1024px) {
  .areas-group { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s6); align-items: stretch; }
  .areas-map[data-area-map] { aspect-ratio: auto; height: 100%; min-height: 540px; }
  .area-cards { grid-auto-rows: 1fr; }
  .area-card { padding: 14px 16px; }
  .ac-name { font-size: 17px; }
}

/* ---------- Header call: icon, then the number pill (phones) ----------
 * After 5:10: the bottom call bar is gone. Markup on every page:
 *   <a class="hdr-call" href="tel:..."><svg .../><b>(254) 247-5905</b></a>
 * It sits in the header's right-hand slot (where Jake's call icon was): with
 * the badge centred, the gap beside the menu button is too narrow for the
 * number. Over the hero it is an icon; once the hero's Call button has
 * scrolled up under the header it widens into the number pill (html.callpin,
 * app.js); pages whose hero has no call button show the pill from the start.
 * ~220ms, instant for reduced motion. Desktop: hidden, the nav has the number. */
.callbar { display: none !important; }
.header-row { position: relative; }
.hdr-call { display: none; }
@media (max-width: 1023px) {
  .header-row > .hdr-call { position: absolute; top: 50%; left: auto; right: calc(var(--gutter) - 8px); translate: 0 -50%; margin: 0;
    display: inline-flex; align-items: center; justify-content: center; gap: 0; width: auto; min-width: 44px; height: 44px; padding: 0 12px;
    border-radius: 999px; color: inherit; overflow: hidden; white-space: nowrap; -webkit-tap-highlight-color: transparent;
    transition: background-color .22s var(--ease), color .22s var(--ease), gap .22s var(--ease), padding .22s var(--ease), height .22s var(--ease); }
  .hdr-call svg { flex: none; width: 20px; height: 20px; }
  .hdr-call b { position: static; display: inline-block; width: auto; height: auto; margin: 0; clip: auto; overflow: hidden;
    max-width: 0; opacity: 0; font-family: var(--display); font-size: 15px; font-weight: 700; letter-spacing: .02em; line-height: 1;
    transition: max-width .22s var(--ease), opacity .16s var(--ease); }
  html.callpin .header-row > .hdr-call { gap: 5px; height: 40px; padding: 0 12px 0 10px; background: var(--navy-deep); color: var(--paper); }
  html.callpin .hdr-call svg { width: 16px; height: 16px; }
  html.callpin .hdr-call b { max-width: 130px; opacity: 1; transition: max-width .22s var(--ease), opacity .18s var(--ease) .04s; }
  .hdr-call:active { opacity: .85; }
}
@media (max-width: 380px) { .hdr-call b { font-size: 14px; } html.callpin .header-row > .hdr-call { padding: 0 10px 0 9px; gap: 4px; } }
@media (prefers-reduced-motion: reduce) { .header-row > .hdr-call, .hdr-call b { transition: none !important; } }

/* ---------- Hero on phones ---------- */
@media (max-width: 639px) {
  .hero-track .hv1 .hero-title, .hero-track .hv3 .hero-title { font-size: min(58px, 14.6vw); }
  .hv { gap: 14px; }
  .hero-proof { font-size: 14px; gap: 4px 8px; }
  .hp-stars svg { width: 15px; height: 15px; }
}

/* Hero, 2026-10-26 (Logan): the static headlines centred; the proof is a
 * Google review pill with the real G mark. */
html:not([data-hero="2"]) .hero-track .hero-content { justify-items: center; text-align: center; }
html:not([data-hero="2"]) .hero-track .hv { justify-items: center; }
html:not([data-hero="2"]) .hero-track .hero-foot { align-items: center; }
.hp-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px;
  background: rgba(255,255,255,.96); color: #202124; text-shadow: none; text-decoration: none;
  box-shadow: 0 6px 20px rgba(0,0,0,.22); font-size: 15px; font-weight: 500; letter-spacing: 0; line-height: 1; }
.hp-pill:hover { background: #fff; }
.hp-pill .hp-g { width: 20px; height: 20px; flex: none; }
.hp-pill .hp-score { font-weight: 700; font-size: 16px; }
.hp-pill .hp-stars { margin: 0; }
.hp-pill .hp-stars svg { width: 16px; height: 16px; fill: #FBBC04; filter: none; }
.hp-pill .hp-count { color: #5f6368; }
@media (min-width: 1024px) { .hp-pill { font-size: 16px; padding: 9px 16px 9px 12px; } .hp-pill .hp-g { width: 22px; height: 22px; } .hp-pill .hp-score { font-size: 17px; } .hp-pill .hp-stars svg { width: 17px; height: 17px; } }
.hero-foot .call-num { letter-spacing: .04em; white-space: nowrap; }
@media (max-width: 639px) {
  .hp-pill { font-size: 13px; gap: 6px; padding: 7px 12px 7px 9px; }
  .hp-pill .hp-g { width: 17px; height: 17px; } .hp-pill .hp-score { font-size: 14px; } .hp-pill .hp-stars svg { width: 13px; height: 13px; }
  .hero-foot .call-num { letter-spacing: .01em; font-size: 14px; }
  .hero-foot .btn svg { flex: none; }
}

/* Hero, 2026-10-26 (Logan): one action. The quote button alone; on phones the
 * number sits underneath as plain text (it also feeds the header pill), on
 * desktop the header already carries it. A pin line names the place. */
.hero-track .hero-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
html[data-hero="2"] .hero-track .hero-foot { align-items: flex-start; }
.hero-foot .btn-gold { padding: 0 var(--s6); }
.hero-tel { display: none; color: #fff; font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: .03em;
  text-decoration: none; text-shadow: 0 1px 2px rgba(0,0,0,.55), 0 0 14px rgba(0,0,0,.35); }
@media (max-width: 639px) { .hero-tel { display: inline-block; } .hero-foot .btn-gold { width: 100%; max-width: 340px; } }
.hero-pin { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: #fff; font-weight: 600;
  font-size: 15px; letter-spacing: .14em; text-transform: uppercase; text-shadow: 0 1px 2px rgba(0,0,0,.55), 0 0 14px rgba(0,0,0,.35); }
.hero-pin svg { width: 20px; height: 20px; fill: var(--red); flex: none; filter: drop-shadow(0 1px 1px rgba(0,0,0,.4)); }
@media (min-width: 1024px) { .hero-pin { font-size: 17px; } .hero-pin svg { width: 22px; height: 22px; } }
@media (max-width: 639px) { .hero-pin { font-size: 12px; letter-spacing: .1em; gap: 6px; } .hero-pin svg { width: 16px; height: 16px; } }

/* Red, 2026-10-26 (Logan: "more use of red"): the #1, the pin, the services
 * headline accent and the map markers (Google red, as on the Anchor map). */
:root { --red: #ea4335; --red-deep: #c5221f; }
.hl-red { color: var(--red); }
.hero-title .hl-red { text-shadow: 0 2px 18px rgba(0,0,0,.25); }
@media (max-width: 639px) { .hero-track .hv1 .hero-title { font-size: min(46px, 11.6vw); } }
.svc-head { font-size: clamp(44px, 6.4vw, 104px); line-height: .9; }
.svc-photo { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.svc-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ba-tag-job { position: absolute; left: 12px; top: 12px; background: var(--red); color: #fff; }
.area-card:hover, .area-card:focus-visible, .area-card.is-hot { border-color: var(--red); box-shadow: 0 0 0 1px var(--red), 0 12px 26px -18px rgba(197,34,31,.55); }

/* Closing CTA band (the 5:10 pattern): Mayo's own surface-cleaner footage
 * full bleed, one big headline, the quote button and the number. */
.cta-band { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: #0b1424; }
.cb-media, .cb-media img, .cb-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cb-media video { opacity: 0; transition: opacity .6s ease; }
.cb-media video.is-playing { opacity: 1; }
.cb-media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,14,28,.86) 0%, rgba(8,14,28,.62) 48%, rgba(8,14,28,.25) 100%); }
.cb-in { position: relative; z-index: 1; display: grid; justify-items: start; gap: 22px; padding-top: clamp(88px, 12vw, 168px); padding-bottom: clamp(88px, 12vw, 168px); }
.cb-title { margin: 0; font-family: var(--display); font-weight: 700; text-transform: uppercase; line-height: .86;
  font-size: clamp(56px, 8.4vw, 136px); text-shadow: 0 2px 24px rgba(0,0,0,.3); }
.cb-lede { margin: 0; max-width: 36ch; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: rgba(255,255,255,.88); }
.cb-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 6px; }
.btn-xl { min-height: 64px; padding: 0 36px; font-size: 15px; }
.cb-call { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none;
  font-family: var(--display); font-weight: 700; font-size: clamp(26px, 2.6vw, 36px); letter-spacing: .02em; }
.cb-call svg { width: 26px; height: 26px; fill: var(--red); }
.cb-call:hover span { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
@media (max-width: 639px) {
  .cb-media::after { background: linear-gradient(180deg, rgba(8,14,28,.55) 0%, rgba(8,14,28,.82) 100%); }
  .cb-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .cb-actions .btn-xl { width: 100%; }
  .cb-call { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .cb-media video { display: none; } }

/* Desktop corner CTA (Logan, 2026-10-26). */
.corner-cta { position: fixed; right: 28px; bottom: 28px; z-index: 60; display: inline-flex; align-items: center; gap: 12px;
  min-height: 58px; padding: 0 22px 0 18px; border-radius: 999px; background: var(--gold); color: var(--navy-deep);
  font-weight: 600; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  box-shadow: 0 18px 40px -14px rgba(8,14,28,.55), 0 0 0 1px rgba(8,14,28,.08);
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s var(--ease, ease), transform .3s var(--ease, ease); }
.corner-cta.is-on { opacity: 1; transform: none; pointer-events: auto; }
.corner-cta:hover { transform: translateY(-2px); }
.corner-cta .cc-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(234,67,53,.22); }
.corner-cta .cc-arrow { font-size: 18px; }
@media (max-width: 1023px) { .corner-cta { display: none; } }
@media (prefers-reduced-motion: reduce) { .corner-cta { transition: none; } }

/* Phones: the headline sits mid-frame so the wash plays out in view below
 * it (Logan picked this over bottom/top, 2026-10-26). */
@media (max-width: 639px) {
  html:not([data-hero="2"]) .hero-track .hero { align-items: center; }
  html:not([data-hero="2"]) .hero-track .hero-content { padding-top: 40px; padding-bottom: 0; }
  html:not([data-hero="2"]) .hero-track .hero-scrim { opacity: 1; background: radial-gradient(ellipse 120% 60% at 50% 52%, rgba(8,14,28,.62), rgba(8,14,28,.15) 70%, transparent) !important; }
}
/* The pin is the emoji itself (Apple's on Apple devices). */
.pin-emoji { font-size: 1.25em; line-height: 1; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; letter-spacing: 0; text-shadow: none; filter: drop-shadow(0 1px 2px rgba(0,0,0,.35)); }
