/* Design stamp · macrostructure: Cinematic Marquee Hero opening into Feature Stack · tone: calm, premium, local · anchor hue: 249 (logo blue)
 * theme: custom (tuned) · vibe: "evening light on the ridge, quiet confidence" · paper: oklch(98.1% 0.003 247.9) · accent: oklch(54.1% 0.149 249)
 * display: Geist 650 · body: Geist 400 · axes: light / geometric-sans / cool · genre: modern-minimal
 * nav: N10-style scroll morph (transparent over the home hero with a compact white logo badge, solid white once past it; inner
 *   pages solid) · footer: Ft1 mast-headed on deep navy, the phone number as big as a headline · enrichment: a full-bleed evening
 *   ridge still on home under a layered navy scrim, the business's own photos everywhere else
 * studied: no · context: art direction from the agency · tokens: pass (48) · chrome: pass (47) · contrast: measured on the rendered page
 * pre-emit critique: P5 H5 E4 S4 R5 V4 · slop test: gate 20 (the build's raw gate refuses the tool name in served files; the named
 *   stamp is in partials.py) and gate 49 (audited link copy wraps at 390; set as full-width rows on purpose)
 * Colour rhythm: calm off-white paper and one cool grey family; deep navy only for the quote statement, the town band and the
 *   footer; logo blue only for actions and links; logo green only as thin rules and small marks. Shadows are tinted navy.
 * Class names come from src/components.py (the stable contract); src/themes/summit/partials.py adds .stack, .stack-pane,
 *   .stack-flow, .step-body, .rq-side and the .drift band.
 */

@font-face {
  font-family: "Geist";
  src: url("fonts/geist-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Fallback";
  src: local("Arial");
  size-adjust: 105%;
  ascent-override: 95.7%;
  descent-override: 28.1%;
  line-gap-override: 0%;
}

:root {
  /* colour: one cool grey family (hue 238 to 248), deep navy for statements, the logo's blue for actions */
  --c-paper: oklch(98.1% 0.003 247.9);        /* #F7F9FB, the page */
  --c-paper-2: oklch(95.9% 0.006 239.8);      /* #EEF2F5, quiet bands */
  --c-paper-3: oklch(93.8% 0.009 247.9);      /* #E6EBF0, hover on quiet fills */
  --c-raised: oklch(100% 0 0);                /* #FFFFFF, cards, the solid bar */
  --c-line: oklch(91.9% 0.009 242.8);         /* #DFE5EA */
  --c-line-strong: oklch(84.6% 0.016 241.8);  /* #C4CED6 */
  --c-ink: oklch(27.7% 0.022 237.8);          /* #1E2A32, headings, 13.9:1 on paper */
  --c-text: oklch(36.7% 0.023 238.5);         /* #34414A, body, 9.9:1 on paper */
  --c-ink-2: oklch(48.8% 0.022 238.2);        /* #55626B, captions and quiet copy, 5.2:1 or better on every paper */
  --c-field: oklch(56.5% 0.022 241);          /* #6B7882, input borders, 4.5:1 on white */
  --c-navy: oklch(25.3% 0.044 246.5);         /* #0F2436, statement bands and the footer */
  --c-navy-2: oklch(30.2% 0.056 249.3);       /* #163049 */
  --c-navy-3: oklch(34% 0.061 249.3);         /* #1D3A56 */
  --c-on-navy: oklch(100% 0 0);               /* 15.8:1 on navy */
  --c-on-navy-2: oklch(82% 0.024 246.1);      /* #B8C6D3, quieter text on navy, 6.7:1 or better */
  --c-navy-line: oklch(100% 0 0 / 0.16);
  --c-blue: oklch(54.1% 0.149 249);           /* #0072C1, logo blue: actions, white on it 5.0:1 */
  --c-blue-hover: oklch(47.7% 0.132 249.3);   /* #005FA3, links, 6.3:1 on paper */
  --c-blue-press: oklch(43% 0.118 248.9);     /* #00528D */
  --c-blue-tint: oklch(95.4% 0.014 244.7);    /* #E8F1F9, a picked choice */
  --c-green: oklch(66.6% 0.177 135.9);        /* #5DAB2A, logo green: thin rules and small marks only */
  --c-danger: oklch(50.1% 0.178 28.7);        /* #B3261E */
  --c-on-blue: oklch(100% 0 0);
  --c-glass: oklch(100% 0 0 / 0.12);          /* frosted pills over the photo */
  --c-glass-hover: oklch(100% 0 0 / 0.22);
  --c-glass-line: oklch(100% 0 0 / 0.3);
  --c-glass-dark: oklch(22% 0.045 247 / 0.32);    /* header pills over the photo: darker than the photo, never lighter */
  --c-glass-dark-hover: oklch(22% 0.045 247 / 0.5);
  --c-header-glass: oklch(22% 0.045 247 / 0.84);  /* the bar while it crosses the hero */
  --c-on-photo: oklch(100% 0 0);
  --c-on-photo-2: oklch(100% 0 0 / 0.85);
  --c-dock: oklch(100% 0 0 / 0.92);
  --c-scrim-1: oklch(22% 0.045 247 / 0.86);
  --c-scrim-2: oklch(22% 0.045 247 / 0.62);
  --c-scrim-3: oklch(22% 0.045 247 / 0.3);
  --c-scrim-0: oklch(22% 0.045 247 / 0);
  --c-shadow: oklch(25% 0.045 246 / 0.07);
  --c-shadow-mid: oklch(25% 0.045 246 / 0.14);
  --c-shadow-strong: oklch(25% 0.045 246 / 0.26);
  --c-shadow-blue: oklch(54.1% 0.149 249 / 0.45);
  --c-link: var(--c-blue-hover);
  --c-link-hover: var(--c-blue-press);

  --shadow-sm: 0 1px 2px var(--c-shadow), 0 4px 12px -6px var(--c-shadow-mid);
  --shadow-md: 0 1px 2px var(--c-shadow), 0 20px 44px -24px var(--c-shadow-strong);
  --shadow-lg: 0 2px 6px var(--c-shadow), 0 40px 80px -44px var(--c-shadow-strong);

  /* type: Geist only. Display 650, body 400, labels 600; negative tracking on the big sizes */
  --font-sans: "Geist", "Geist Fallback", ui-sans-serif, system-ui, sans-serif;
  --text-xs: 0.875rem;                                  /* credits, eyebrows: 14 px, never smaller */
  --text-sm: 0.9375rem;                                 /* crumbs, captions, footer labels */
  --text-base: 1.125rem;                                /* body, 18 px */
  --text-lead: clamp(1.1875rem, 1.1rem + 0.35vw, 1.3125rem);
  --text-h3: clamp(1.25rem, 1.12rem + 0.5vw, 1.5rem);
  --text-h2: clamp(2rem, 1.4rem + 2.1vw, 3.25rem);
  --text-h1: clamp(2.375rem, 1.55rem + 3vw, 4.25rem);
  --text-hero: clamp(2.5rem, 1.4rem + 3.5vw, 4.5rem);
  --text-hero-sub: clamp(1.125rem, 1rem + 0.45vw, 1.375rem);
  --text-quote: clamp(1.75rem, 1.2rem + 1.9vw, 2.875rem);
  --text-drift: clamp(3rem, 1.8rem + 4.8vw, 6.25rem);
  --text-phone: clamp(2.25rem, 1.4rem + 3.4vw, 4rem);

  /* space, 4 pt scale */
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-5xl: 128px;
  --sec-y: clamp(4.5rem, 8vw, 8rem);                     /* section top */
  --sec-y-end: clamp(5rem, 9vw, 9rem);                   /* section bottom, optically larger */
  --gutter: 16px;
  --container: 1240px;
  --measure: 62ch;

  /* shape: pills for everything you press, 20 px for pictures and cards, tighter inside */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;
  --rule: 1px solid var(--c-line);
  --tap: 48px;
  --btn-h: 52px;
  --header-h: 68px;
  --dock-h: 76px;
  --step-dot: 48px;
  --arrow: 44px;

  /* depth, named */
  --z-base: 1;
  --z-raised: 10;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-dock: 300;

  /* motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 140ms;
  --dur-short: 220ms;
  --dur-long: 420ms;
  --dur-reveal: 800ms;
}
@media (min-width: 37.5rem) {
  :root { --gutter: 24px; --step-dot: 52px; }
}
@media (min-width: 64rem) {
  :root { --gutter: 40px; --header-h: 80px; --step-dot: 56px; --arrow: 48px; }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + var(--space-md));
  background: var(--c-paper);
}
body {
  margin: 0;
  overflow-x: clip;
  background: var(--c-paper);
  color: var(--c-text);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01" 0;
}
img, picture, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3 {
  margin: 0 0 var(--space-md);
  font-family: var(--font-sans);
  font-style: normal;
  color: var(--c-ink);
  overflow-wrap: anywhere;
  min-width: 0;
  text-wrap: balance;
}
h1 { font-size: var(--text-h1); line-height: 1.04; font-weight: 650; letter-spacing: -0.035em; }
h2 { font-size: var(--text-h2); line-height: 1.08; font-weight: 650; letter-spacing: -0.032em; margin-bottom: var(--space-lg); }
h3 { font-size: var(--text-h3); line-height: 1.25; font-weight: 600; letter-spacing: -0.015em; }
p { margin: 0 0 var(--space-md); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
li { text-wrap: pretty; }
a { color: var(--c-link); text-decoration-thickness: 1px; text-underline-offset: 0.22em; transition: color var(--dur-micro) var(--ease-out); }
a:hover { color: var(--c-link-hover); text-decoration-thickness: 2px; }
a:active { color: var(--c-blue-press); }
a[href^="tel:"] { white-space: nowrap; }
/* links inside running text: the padding grows the tap area to about 50 px at any text size, without moving a single line */
:where(main) :where(a:not([class])), .cta .cta-phone { padding-block: calc((var(--tap) - 1em) / 2); }
strong { font-weight: 600; color: var(--c-ink); }
:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 3px; }
main:focus { outline: none; }
::selection { background: var(--c-blue-tint); color: var(--c-ink); }
.wrap { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.measure { max-width: var(--measure); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: absolute; left: var(--space-md); top: -120px; z-index: var(--z-dock);
  padding: var(--space-sm) var(--space-lg); border-radius: var(--radius-pill);
  background: var(--c-ink); color: var(--c-on-blue); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: var(--space-sm); color: var(--c-on-blue); }
.icon { flex: none; width: 1.15em; height: 1.15em; }

/* ---------- buttons: every button is a full pill, 52 px (48 px small), lifting a pixel on hover ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: var(--btn-h); padding: 0 1.375rem;
  border: 1px solid var(--c-line-strong); border-radius: var(--radius-pill);
  background: var(--c-raised); color: var(--c-ink);
  font: 600 var(--text-base) / 1 var(--font-sans); letter-spacing: -0.01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out),
    background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out);
}
.btn:hover { transform: translateY(-1px); border-color: var(--c-ink-2); color: var(--c-ink); text-decoration: none; box-shadow: 0 10px 22px -14px var(--c-shadow-strong); }
.btn:active { transform: scale(0.98); box-shadow: none; }
.btn--call .icon, .btn--text .icon { color: var(--c-blue); }
.btn--primary { border-color: var(--c-blue); background: var(--c-blue); color: var(--c-on-blue); box-shadow: 0 1px 2px var(--c-shadow-mid); }
.btn--primary:hover { border-color: var(--c-blue-hover); background: var(--c-blue-hover); color: var(--c-on-blue); box-shadow: 0 12px 24px -12px var(--c-shadow-blue); }
.btn--primary:active { border-color: var(--c-blue-press); background: var(--c-blue-press); }
.btn--small { min-height: var(--tap); padding: 0 var(--space-md); }
.btn--quiet { border-color: transparent; background: transparent; text-decoration: underline; text-underline-offset: 0.22em; }
.btn--quiet:hover { border-color: transparent; background: var(--c-paper-2); box-shadow: none; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }

/* ---------- preview notice (preview builds only): a thin navy strip above the bar that scrolls away ---------- */
.preview-banner { background: var(--c-navy); color: var(--c-on-navy-2); }
.preview-banner p { margin: 0; padding-block: var(--space-xs); font-size: var(--text-base); line-height: 1.45; }
.preview-banner strong { font-weight: 600; color: var(--c-on-navy); }
.preview-banner .pb-short { display: none; }   /* phones get the short second sentence (partials.preview_banner) */
@media (max-width: 47.99rem) {
  .preview-banner .pb-full { display: none; }
  .preview-banner .pb-short { display: inline; }
}

/* ---------- header: a solid white bar with a soft navy shadow. Over the home hero it is transparent with white links, the logo
   on a compact white badge and a light navy veil that travels with it; summit.js turns it solid once the hero has scrolled by.
   Without :has() support, or without JavaScript after the first screen, it is simply the solid bar. ---------- */
.site-header {
  position: relative; z-index: var(--z-sticky);
  min-height: var(--header-h); margin-bottom: calc(-1 * var(--header-h));
}
/* sticky only when scripting runs: the scripting query holds from the first paint, and .js covers browsers that do not know
   the query. Without JavaScript the bar sits in the flow and scrolls away. */
.js .site-header { position: sticky; top: 0; height: var(--header-h); }
@media (scripting: enabled) {
  .site-header { position: sticky; top: 0; height: var(--header-h); }
}
.site-header::before, .site-header::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  transition: opacity var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out);
}
.site-header::before { background-color: var(--c-raised); box-shadow: 0 1px 0 var(--c-line), 0 14px 32px -22px var(--c-shadow-strong); }
.site-header::after { opacity: 0; background: linear-gradient(180deg, var(--c-scrim-2) 0%, var(--c-scrim-3) 55%, var(--c-scrim-0) 100%); }
.js .nav-open .site-header { position: fixed; inset: 0 0 auto 0; height: auto; max-height: 100svh; overflow-y: auto; }
.header-inner {
  position: relative;
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs);
  min-height: var(--header-h);
}
.brand {
  display: block; flex: none; margin-right: auto;
  padding: 6px 10px; border-radius: var(--radius-sm);
  background: var(--c-raised); line-height: 0;
  transition: box-shadow var(--dur-short) var(--ease-out);
}
.brand-logo { width: 84px; height: auto; }
.nav-toggle {
  display: none; align-items: center; gap: var(--space-xs);
  min-height: var(--tap); padding: 0 var(--space-md) 0 var(--space-sm);
  border: 1px solid var(--c-line-strong); border-radius: var(--radius-pill);
  background: var(--c-raised); color: var(--c-ink);
  font: 600 var(--text-base) / 1 var(--font-sans); cursor: pointer;
  transition: border-color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out);
}
.nav-toggle:hover { border-color: var(--c-ink-2); }
.nav-toggle:active { transform: scale(0.98); }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform var(--dur-short) var(--ease-in-out), opacity var(--dur-micro) var(--ease-out);
}
.nav-toggle-bars { position: relative; margin: 0 var(--space-2xs); }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
.nav-list, .sub { list-style: none; margin: 0; padding: 0; }
.nav-list a {
  display: flex; align-items: center; min-height: var(--tap);
  color: var(--c-ink); font-weight: 550; text-decoration: none; white-space: nowrap;
  text-decoration-thickness: 1px; text-underline-offset: 0.35em;
}
.nav-list a:hover { color: var(--c-ink); text-decoration: underline; }
.nav-list a[aria-current="page"] { color: var(--c-blue-press); text-decoration: underline; text-decoration-thickness: 2px; }
.header-actions { display: flex; align-items: center; gap: var(--space-xs); }
.header-actions .btn:hover { transform: none; box-shadow: none; }

/* over the home hero (only while the hero is the first thing in main, and the menu is shut). At the very top the bar is clear
   over a light navy veil; once the page moves (summit.js adds .is-scrolled) it becomes navy glass, so its links never sit on
   the headline or the bright sky; past the hero (.is-solid) it is the white bar. */
body:has(> main > .hero--photo):not(.nav-open) .site-header:not(.is-solid) {
  --c-link: var(--c-on-photo); --c-link-hover: var(--c-on-photo);
}
body:has(> main > .hero--photo):not(.nav-open) .site-header:not(.is-solid)::before { opacity: 0; }
body:has(> main > .hero--photo):not(.nav-open) .site-header:not(.is-solid)::after { opacity: 1; }
body:has(> main > .hero--photo):not(.nav-open) .site-header.is-scrolled:not(.is-solid)::before {
  opacity: 1; background-color: var(--c-header-glass);
  -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 1px 0 var(--c-navy-line);
}
body:has(> main > .hero--photo):not(.nav-open) .site-header.is-scrolled:not(.is-solid)::after { opacity: 0; }
body:has(> main > .hero--photo):not(.nav-open) .site-header:not(.is-solid) .brand { box-shadow: 0 8px 24px -10px var(--c-scrim-1); }
body:has(> main > .hero--photo):not(.nav-open) .site-header:not(.is-solid) .nav-list > li > a { color: var(--c-on-photo); }
body:has(> main > .hero--photo):not(.nav-open) .site-header:not(.is-solid) :focus-visible { outline-color: var(--c-on-photo); }
body:has(> main > .hero--photo):not(.nav-open) .site-header:not(.is-solid) .nav-toggle,
body:has(> main > .hero--photo):not(.nav-open) .site-header:not(.is-solid) .header-actions .btn--call,
body:has(> main > .hero--photo):not(.nav-open) .site-header:not(.is-solid) .header-actions .btn--text {
  border-color: var(--c-glass-line); background: var(--c-glass-dark); color: var(--c-on-photo);
  -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2);
}
body:has(> main > .hero--photo):not(.nav-open) .site-header:not(.is-solid) .header-actions .btn--call .icon,
body:has(> main > .hero--photo):not(.nav-open) .site-header:not(.is-solid) .header-actions .btn--text .icon { color: var(--c-on-photo); }
body:has(> main > .hero--photo):not(.nav-open) .site-header:not(.is-solid) .nav-toggle:hover,
body:has(> main > .hero--photo):not(.nav-open) .site-header:not(.is-solid) .header-actions .btn--call:hover,
body:has(> main > .hero--photo):not(.nav-open) .site-header:not(.is-solid) .header-actions .btn--text:hover { background: var(--c-glass-dark-hover); border-color: var(--c-glass-line); }
@media (prefers-reduced-transparency: reduce) {
  body:has(> main > .hero--photo):not(.nav-open) .site-header.is-scrolled:not(.is-solid)::before { background-color: var(--c-navy); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* phones and tablets: logo, menu, and a round call button; the menu opens below the bar */
@media (max-width: 74.99rem) {
  .js .nav-toggle { display: inline-flex; }
  .site-nav { flex-basis: 100%; order: 5; }
  .js .site-nav { display: none; }
  @media (scripting: enabled) { .site-nav { display: none; } }
  .js .nav-open .site-nav { display: block; }
  .nav-list > li + li { border-top: var(--rule); }
  .nav-list a { min-height: 56px; font-size: var(--text-lead); font-weight: 600; letter-spacing: -0.01em; }
  .sub { padding: 0 0 var(--space-xs) var(--space-md); }
  .sub a { min-height: var(--tap); font-size: var(--text-base); font-weight: 500; color: var(--c-ink-2); }
  .header-actions .btn--text, .header-actions .btn--primary { display: none; }
  .header-actions .btn--call { width: var(--tap); padding: 0; }
  .header-actions .btn--call span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav-open .header-inner { padding-bottom: var(--space-md); }
  /* --panel-top: how far below the preview notice the open panel starts (summit.js sets it; 0 without the notice) */
  .nav-open .site-nav { max-height: calc(100svh - 248px - var(--panel-top, 0px)); overflow-y: auto; }   /* 248: the bar plus the button rows under the list */
  /* without JavaScript the menu cannot open, so the bar scrolls away and the main pages sit in it as one wrapped row */
  html:not(.js) .nav-list { display: flex; flex-wrap: wrap; column-gap: var(--space-lg); padding-bottom: var(--space-xs); }
  html:not(.js) .nav-list > li + li { border-top: 0; }
  html:not(.js) .nav-list a { min-height: var(--tap); font-size: var(--text-base); }
  html:not(.js) .has-sub { display: flex; flex-wrap: wrap; column-gap: var(--space-lg); flex-basis: 100%; }
  html:not(.js) .has-sub > .sub { display: flex; flex-wrap: wrap; column-gap: var(--space-lg); padding: 0; }
}
/* phones: the open menu moves Call, Text and Instant estimate under the list as big buttons. The Menu button keeps the round
   call button's place in the bar, so a second tap where the first one landed closes the menu. */
@media (max-width: 47.99rem) {
  .nav-open .nav-toggle { margin-right: calc(var(--tap) + var(--space-xs)); }
  .nav-open .header-actions {
    order: 6; flex-basis: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-xs);
    padding-top: var(--space-sm);
  }
  .nav-open .header-actions .btn { display: inline-flex; width: auto; padding: 0 var(--space-md); min-height: var(--btn-h); }
  .nav-open .header-actions .btn--call { grid-column: 1 / -1; }
  .nav-open .header-actions .btn--call span { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}
@media (max-width: 22.49rem) {
  .header-inner { column-gap: var(--space-2xs); }   /* logo, Menu and the call button on one row down to 320 */
  .brand { padding-inline: 8px; }
  .brand-logo { width: 76px; }
  .nav-toggle { padding-inline: var(--space-sm); }
  .nav-open .nav-toggle { margin-right: calc(var(--tap) + var(--space-2xs)); }
}
@media (min-width: 48rem) {
  .nav-open .site-nav { max-height: calc(100svh - 120px - var(--panel-top, 0px)); }   /* the buttons stay in the bar here */
  .brand-logo { width: 92px; }
  .header-actions .btn--primary { display: inline-flex; }
  .header-actions .btn--call { width: auto; padding: 0 var(--space-md); }
  .header-actions .btn--call span { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}
@media (min-width: 64rem) {
  .brand { padding: 7px 12px; }
  .brand-logo { width: 100px; }
}
@media (min-width: 75rem) {
  .header-inner { flex-wrap: nowrap; gap: var(--space-md); }
  .brand { margin-right: 0; }
  .site-nav { flex: 1 1 auto; }
  .nav-list { display: flex; justify-content: center; gap: var(--space-xl); }
  .nav-list a { font-size: 1rem; }
  .nav-item { position: relative; }
  .has-sub > .sub {
    position: absolute; top: calc(100% + var(--space-xs)); left: calc(-1 * var(--space-lg)); z-index: var(--z-dropdown);
    min-width: 17rem; padding: var(--space-xs) var(--space-lg);
    background: var(--c-raised); border-radius: var(--radius-md); border: var(--rule);
    box-shadow: var(--shadow-md);
    opacity: 0; visibility: hidden; transform: translateY(-4px);
    transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out), visibility 0s linear var(--dur-short);
  }
  .has-sub > .sub::before { content: ""; position: absolute; left: 0; right: 0; top: calc(-1 * var(--space-sm)); height: var(--space-sm); }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out), visibility 0s;
  }
  .sub li + li { border-top: var(--rule); }
  .sub a { font-weight: 500; color: var(--c-ink); }
  .header-actions .btn--call { border-color: transparent; background: transparent; font-weight: 600; }
  .header-actions .btn--call:hover { border-color: var(--c-line-strong); }
}
@media (min-width: 75rem) and (max-width: 87.49rem) {
  .nav-list { gap: var(--space-lg); }
  .header-actions .btn--text { display: none; }
}

/* ---------- phone dock: call, text and estimate, always under the thumb ---------- */
.phone-bar { display: none; }
@media (max-width: 47.99rem) {
  body { padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom, 0px)); }
  .phone-bar {
    position: fixed; inset: auto 0 0 0; z-index: var(--z-dock);
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xs);
    padding: var(--space-xs) var(--space-xs) calc(var(--space-xs) + env(safe-area-inset-bottom, 0px));
    background: var(--c-dock);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    backdrop-filter: blur(16px) saturate(1.3);
    border-top: var(--rule);
    box-shadow: 0 -12px 32px -24px var(--c-shadow-strong);
  }
  .phone-bar-btn {
    display: flex; align-items: center; justify-content: center; gap: 0.4em;
    min-height: 56px; padding: 0 var(--space-xs);
    border-radius: var(--radius-pill); background: var(--c-paper-2); color: var(--c-blue-press);
    font: 600 var(--text-base) / 1 var(--font-sans); text-decoration: none; white-space: nowrap;
    transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out);
  }
  .phone-bar-btn[data-call] { background: var(--c-blue); color: var(--c-on-blue); }
  .phone-bar-btn:hover { background: var(--c-paper-3); color: var(--c-blue-press); }
  .phone-bar-btn[data-call]:hover { background: var(--c-blue-hover); color: var(--c-on-blue); }
  .phone-bar-btn:active { transform: scale(0.98); }
  /* the open menu carries its own Call, Text and Instant estimate buttons, so the dock steps aside instead of covering them */
  .nav-open .phone-bar { display: none; }
}
@media (max-width: 22.49rem) {
  .phone-bar-btn .icon { display: none; }   /* under 360 the labels alone fit their buttons */
}
@media (max-width: 47.99rem) and (prefers-reduced-transparency: reduce) {
  .phone-bar { background: var(--c-raised); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ---------- page top: a calm grey wash behind inner page heroes, nothing on home ---------- */
main { position: relative; isolation: isolate; display: block; padding-top: var(--header-h); }
main::before {
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 0;
  height: clamp(28rem, 70svh, 44rem);
  background: linear-gradient(180deg, var(--c-paper-2) 0%, var(--c-paper) 100%);
  pointer-events: none;
}
.kind-home main::before { content: none; }

/* ---------- breadcrumbs ---------- */
.crumbs { position: relative; font-size: var(--text-sm); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0 var(--space-xs); margin: 0; padding: var(--space-md) 0 0; }
.crumbs li { display: inline-flex; align-items: center; gap: var(--space-xs); white-space: nowrap; color: var(--c-ink-2); }
.crumbs li + li::before { content: "/"; color: var(--c-line-strong); }
.crumbs a { display: inline-flex; align-items: center; min-height: var(--tap); min-width: var(--tap); padding-block: 0; color: var(--c-ink-2); text-decoration: underline; text-decoration-color: var(--c-line-strong); }
.crumbs a:hover { color: var(--c-ink); text-decoration-color: currentColor; }
.crumbs [aria-current="page"] { font-weight: 500; color: var(--c-ink); }
.crumbs li:last-child { white-space: normal; min-width: 0; }   /* the page's own crumb wraps instead of running off a phone screen */

/* ---------- hero ---------- */
.hero { position: relative; padding: var(--space-2xl) 0 var(--space-4xl); --c-link: var(--c-ink); --c-link-hover: var(--c-ink); }
.crumbs + .hero { padding-top: var(--space-lg); }
.eyebrow {
  margin: 0 0 var(--space-md); font-size: var(--text-xs); font-weight: 600; line-height: 1.4;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-ink-2);
}
.hero h1 .hl {
  display: block; margin-top: 0.8em;
  font-size: var(--text-hero-sub); line-height: 1.35; font-weight: 500; letter-spacing: -0.012em;
  color: var(--c-ink-2);
}
.hero-sub { max-width: 52ch; font-size: var(--text-lead); line-height: 1.55; color: var(--c-text); }
.hero .article-meta { color: var(--c-ink-2); }
.article-meta { font-size: var(--text-sm); color: var(--c-ink-2); }
@media (max-width: 37.49rem) {
  .hero .actions .btn--primary { flex: 1 1 100%; }
  .hero .actions .btn--call, .hero .actions .btn--text { flex: 1 1 auto; padding-inline: var(--space-md); }
}

/* home: full bleed and cinematic. The evening ridge fills the first screen under a layered navy scrim (from the copy's side,
   from the top for the bar, and a soft fade at the foot); the copy sits low on the left in white */
.hero--photo {
  isolation: isolate; overflow: clip;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 80vh; min-height: 80svh;
  margin-top: calc(-1 * var(--header-h));
  padding: calc(var(--header-h) + var(--space-2xl)) 0 clamp(2.5rem, 1.5rem + 4vw, 5.5rem);
  background: var(--c-navy);
  --c-link: var(--c-on-photo); --c-link-hover: var(--c-on-photo);
}
.hero--photo > .hero-media { position: absolute; inset: 0; z-index: -2; }
.hero--photo > .hero-media img, .hero--photo > .hero-media .loop {
  width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 54% 50% !important; border-radius: 0;
}
.hero-scrim {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  /* phones: the real drone photo (2026-10-23) has bright aspens at the top, so the shade reaches higher than for the old still */
  background:
    linear-gradient(180deg, var(--c-scrim-2) 0%, var(--c-scrim-3) 22%, var(--c-scrim-0) 34%),
    linear-gradient(0deg, var(--c-scrim-1) 0%, var(--c-scrim-2) 45%, var(--c-scrim-2) 66%, var(--c-scrim-3) 84%, var(--c-scrim-0) 100%);
}
.hero--photo > .wrap { position: relative; }
.hero--photo .hero-copy { max-width: 50rem; }
.hero--photo :focus-visible { outline-color: var(--c-on-photo); }
/* full white: the county line (2026-10-23) runs over the lighter ridge at 768 px, where 85% white measured 4.37 */
.hero--photo .eyebrow { color: var(--c-on-photo); }
.hero--photo h1 {
  max-width: 13.5em; margin-bottom: var(--space-lg);
  font-size: var(--text-hero); line-height: 1.02; font-weight: 680; letter-spacing: -0.035em;
  color: var(--c-on-photo);
}
.hero--photo h1 .hl { color: var(--c-on-photo-2); }
.hero--photo .hero-sub { max-width: 42ch; font-size: var(--text-hero-sub); color: var(--c-on-photo-2); }
.hero--photo .actions { margin-top: var(--space-xl); }
.hero--photo .btn--call, .hero--photo .btn--text {
  border-color: var(--c-glass-line); background: var(--c-glass); color: var(--c-on-photo);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: inset 0 1px 0 var(--c-glass-line);
}
.hero--photo .btn--call .icon, .hero--photo .btn--text .icon { color: var(--c-on-photo); }
.hero--photo .btn--call:hover, .hero--photo .btn--text:hover {
  border-color: var(--c-glass-line); background: var(--c-glass-hover); color: var(--c-on-photo);
  box-shadow: inset 0 1px 0 var(--c-glass-line), 0 12px 26px -14px var(--c-scrim-1);
}
.hero--photo .btn--primary:hover { box-shadow: 0 12px 26px -12px var(--c-scrim-1); }
.hero-media .loop-toggle { right: var(--gutter); bottom: var(--space-md); }
@media (min-width: 48rem) {
  .hero--photo { min-height: 88vh; min-height: 88svh; }
  .hero-scrim {
    background:
      linear-gradient(180deg, var(--c-scrim-1) 0%, var(--c-scrim-3) 15%, var(--c-scrim-0) 26%),
      linear-gradient(0deg, var(--c-scrim-3) 0%, var(--c-scrim-0) 34%),
      linear-gradient(90deg, var(--c-scrim-1) 0%, var(--c-scrim-2) 32%, var(--c-scrim-3) 52%, var(--c-scrim-0) 72%);
  }
  .hero--photo > .hero-media img, .hero--photo > .hero-media .loop { object-position: 50% 46% !important; }
}
@media (max-width: 37.49rem) {
  .hero--photo .actions .btn--primary { flex: 1 1 100%; }
}
@media (prefers-reduced-transparency: reduce) {
  .hero--photo .btn--call, .hero--photo .btn--text { background: var(--c-navy-2); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* inner pages: copy beside one of the business's photos */
.hero-grid { display: grid; gap: var(--space-xl); align-items: center; }
.hero-figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--c-paper-3); box-shadow: var(--shadow-md); }
.hero-figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
@media (min-width: 56rem) {
  .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-4xl); }
  .hero-figure img { aspect-ratio: 4 / 5; }
}
.hero:not(.hero--photo):not(.hero--split) h1 { max-width: 20ch; }

/* ---------- sections ---------- */
.sec { position: relative; padding-block: var(--sec-y) var(--sec-y-end); }
/* two plain paper sections in a row share their gap: the second one's top padding is halved */
.sec:where(:not(.sec--quote, .sec--area, .sec--roofquote, .sec--steps, .sec--note, .sec--quote-form, .sec--contact-form))
  + .sec:where(:not(.sec--quote, .sec--area, .sec--roofquote, .sec--steps, .sec--note, .sec--quote-form, .sec--contact-form, .sec--cta)) {
  padding-top: calc(var(--sec-y) * 0.5);
}
.sec-title { max-width: 20ch; }
.sec-intro { max-width: var(--measure); font-size: var(--text-lead); line-height: 1.55; color: var(--c-ink-2); }
.sec p { max-width: var(--measure); }
.list { padding-left: 1.2em; }
.list li { margin-bottom: var(--space-xs); padding-left: 0.3em; }
.list li::marker { color: var(--c-green); }
.list--numbered li::marker { font-weight: 600; color: var(--c-ink-2); font-variant-numeric: tabular-nums; }

/* a link that stands on its own is a full row: a hairline above and below, the arrow in a ring on the right */
.sec-link { max-width: 44rem; margin-top: var(--space-xl); }
.sec-link .text-link {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-md);
  min-height: 72px; padding-block: var(--space-sm);
  border-block: 1px solid var(--c-line-strong);
  color: var(--c-ink); font-size: var(--text-lead); font-weight: 600; letter-spacing: -0.012em; line-height: 1.3; text-decoration: none;
}
.sec-link .text-link::after {
  content: "\2192"; content: "\2192" / ""; flex: none;
  display: grid; place-items: center; width: var(--arrow); height: var(--arrow); border-radius: 50%;
  border: 1px solid var(--c-line-strong); color: var(--c-blue-hover); font-size: var(--text-base);
  transition: transform var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out);
}
.sec-link .text-link:hover { color: var(--c-ink); text-decoration: none; }
.sec-link .text-link:hover::after { transform: translateX(var(--space-2xs)); background: var(--c-blue); border-color: var(--c-blue); color: var(--c-on-blue); }
.sec-link .text-link:active::after { background: var(--c-blue-press); border-color: var(--c-blue-press); }

/* prose: on wide screens the heading holds a left column while the reading runs down the right */
.sec--prose + .sec--prose, .sec--prose + .sec--note { padding-top: 0; }
.sec--prose .sec-title { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem); max-width: 22ch; }
@media (min-width: 64rem) {
  .sec--prose .wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: var(--space-4xl); align-items: start; }
  .sec--prose .wrap > .sec-title { grid-column: 1; position: sticky; top: calc(var(--header-h) + var(--space-xl)); margin: 0; }
  .sec--prose .wrap > .measure { grid-column: 2; }
}

/* the plain answer: a raised card; on home it rises over the hero */
.sec--answer { padding-block: var(--space-2xl) var(--space-xl); }
.answer {
  max-width: 54rem; padding: var(--space-xl) var(--space-lg);
  background: var(--c-raised); border: var(--rule); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.answer-q { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); font-weight: 650; letter-spacing: -0.028em; line-height: 1.15; }
.answer-q::before, .direct-answer-h::before {
  content: ""; display: block; width: 32px; height: 2px; margin-bottom: var(--space-md); border-radius: 2px; background: var(--c-green);
}
.answer-a { font-size: var(--text-lead); line-height: 1.6; }
.answer .sec-link { margin: var(--space-lg) 0 0; }
@media (min-width: 48rem) { .answer { padding: var(--space-2xl) var(--space-3xl); } }
.hero--photo + .sec--answer { padding-top: 0; margin-top: calc(-1 * clamp(2.5rem, 1.5rem + 4vw, 5rem)); z-index: var(--z-raised); }

/* the quote: a statement band on deep navy. A thin green rule, the words as large as calm allows, the source in small caps */
.sec--quote {
  --c-link: var(--c-on-navy); --c-link-hover: var(--c-on-navy);
  padding-block: clamp(5rem, 9vw, 9rem) clamp(5.5rem, 10vw, 10rem);
  background:
    radial-gradient(60% 70% at 100% 0%, var(--c-navy-3) 0%, transparent 100%),
    var(--c-navy);
  color: var(--c-on-navy-2);
}
.sec--quote :focus-visible { outline-color: var(--c-on-navy); }
.sec--quote .sec-title {
  max-width: none; margin-bottom: var(--space-2xl);
  font-size: var(--text-h3); font-weight: 600; letter-spacing: -0.01em; color: var(--c-on-navy-2);
}
.pull { position: relative; margin: 0 0 var(--space-2xl); max-width: 54rem; }
.pull::before { content: ""; display: block; width: 48px; height: 2px; margin-bottom: var(--space-xl); border-radius: 2px; background: var(--c-green); }
.pull blockquote { margin: 0; }
.pull blockquote p {
  overflow-wrap: anywhere; min-width: 0; max-width: 30ch;
  font-size: var(--text-quote); line-height: 1.22; font-weight: 500; letter-spacing: -0.025em; text-wrap: balance;
  color: var(--c-on-navy);
}
.pull figcaption {
  margin-top: var(--space-xl);
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-on-navy-2);
}
.sec--quote .wrap > p { max-width: var(--measure); color: var(--c-on-navy-2); }
.sec--quote .wrap > p strong { color: var(--c-on-navy); }
.sec--quote .sec-link .text-link { border-color: var(--c-navy-line); color: var(--c-on-navy); }
.sec--quote .sec-link .text-link::after { border-color: var(--c-glass-line); color: var(--c-on-navy); }
.sec--quote .sec-link .text-link:hover::after { background: var(--c-blue); border-color: var(--c-blue); }
@media (min-width: 64rem) {
  .sec--quote .wrap > * { margin-left: calc(100% / 12); }
}

/* what it is, and what it isn't */
.cols { display: grid; gap: var(--space-md); margin: var(--space-2xl) 0 var(--space-lg); }
@media (min-width: 52rem) { .cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-lg); } }
.col { padding: var(--space-xl) var(--space-lg); border-radius: var(--radius-lg); background: var(--c-raised); border: var(--rule); }
.col--yes { box-shadow: var(--shadow-md); }
.col--no { background: var(--c-paper-2); border-color: transparent; }
.col h3 { font-size: var(--text-h3); margin-bottom: var(--space-lg); }
@media (min-width: 48rem) { .col { padding: var(--space-2xl); } }
.marks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-md); }
.marks li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-sm); align-items: start; }
.marks .icon { width: 24px; height: 24px; margin-top: 0.15em; padding: 5px; border-radius: 50%; }
.col--yes .icon { background: var(--c-green); color: var(--c-on-blue); }
.col--no .icon { background: var(--c-paper-3); color: var(--c-ink-2); }
.sec--two-lists .wrap > p { max-width: var(--measure); }

/* steps, as a Feature Stack on a quiet grey band: the heading holds still while a thin green rail draws down the steps */
.sec--steps { background: var(--c-paper-2); }
.sec--steps + .sec--steps { padding-top: 0; }
.stack { display: grid; gap: var(--space-2xl); }
.stack-pane .sec-intro { margin-bottom: 0; }
.steps { position: relative; list-style: none; margin: 0; padding: 0; }
.step {
  position: relative; display: grid; grid-template-columns: var(--step-dot) minmax(0, 1fr);
  column-gap: var(--space-lg); padding-bottom: var(--space-2xl);
}
.step:last-child { padding-bottom: 0; }
.step::after, .step::before {
  content: ""; position: absolute; top: calc(var(--step-dot) + var(--space-xs)); bottom: var(--space-xs);
  border-radius: 2px; transform-origin: 50% 0;
}
.step::after { left: calc(var(--step-dot) / 2 - 0.5px); width: 1px; background: var(--c-line-strong); }
.step::before { left: calc(var(--step-dot) / 2 - 1px); width: 2px; background: var(--c-green); z-index: 1; }
.step:last-child::before, .step:last-child::after { display: none; }
.step-n {
  position: relative; display: grid; place-items: center; width: var(--step-dot); height: var(--step-dot);
  border-radius: 50%; background: var(--c-raised); box-shadow: var(--shadow-sm);
  font: 600 calc(var(--step-dot) * 0.38) / 1 var(--font-sans); letter-spacing: -0.02em; color: var(--c-ink);
  font-variant-numeric: tabular-nums;
}
.step-n::before {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--c-green);
}
.step-body { padding-top: calc((var(--step-dot) - 1.6em) / 2); }
.step h3 { margin-bottom: var(--space-xs); }
.step p { max-width: 36rem; }
.steps-after { max-width: var(--measure); margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: 1px solid var(--c-line-strong); }
@media (min-width: 64rem) {
  .stack { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-4xl); align-items: start; }
  .stack { timeline-scope: --flow; }
  .stack-pane { position: sticky; top: calc(var(--header-h) + var(--space-2xl)); display: flex; flex-direction: column; align-items: flex-start; }
  /* a reading gauge under the heading: the green fills as the steps go by (only when motion is on) */
  .stack-pane::before, .stack-pane::after {
    content: ""; display: none; order: 2; width: 10rem; height: 2px; margin-top: var(--space-xl); border-radius: 2px;
  }
  .stack-pane::before { background: var(--c-line-strong); }
  .stack-pane::after { order: 3; margin-top: -2px; background: var(--c-green); transform-origin: 0 50%; }
  .stack-pane .sec-title { max-width: 12ch; margin-bottom: 0; }
  .stack-pane .sec-intro { margin-top: var(--space-lg); }
  .step { padding-bottom: var(--space-3xl); column-gap: var(--space-xl); }
}

/* cards: equal question rows, the arrow pinned right; on wide screens the heading holds the left column */
.cards { list-style: none; margin: var(--space-xl) 0 0; padding: 0; border-top: 1px solid var(--c-ink); }
.card {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) var(--arrow); column-gap: var(--space-lg); align-items: center;
  min-height: 104px; padding: var(--space-lg) 0;
  border-bottom: var(--rule);
}
.card-title { grid-column: 1; margin: 0; font-size: var(--text-h3); }
.card-title a { padding-block: calc((var(--tap) - 1em) / 2); color: var(--c-ink); text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; }
.card p { grid-column: 1; margin: var(--space-xs) 0 0; color: var(--c-ink-2); }
.card::after {
  content: "\2192"; content: "\2192" / ""; grid-column: 2; grid-row: 1 / span 2;
  display: grid; place-items: center; width: var(--arrow); height: var(--arrow); border-radius: 50%;
  border: 1px solid var(--c-line-strong); color: var(--c-blue-hover); font-size: var(--text-base);
  transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out);
}
.card:hover::after { background: var(--c-blue); border-color: var(--c-blue); color: var(--c-on-blue); transform: translateX(var(--space-2xs)); }
.card:active::after { background: var(--c-blue-press); border-color: var(--c-blue-press); color: var(--c-on-blue); }
.card:has(a:focus-visible) { outline: 2px solid var(--c-blue); outline-offset: 4px; border-radius: var(--radius-xs); }
.card-title a:focus-visible { outline: none; }
@media (min-width: 64rem) {
  .sec--cards .wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: var(--space-4xl); align-items: start; }
  .sec--cards .wrap > .sec-title, .sec--cards .wrap > .sec-intro { grid-column: 1; }
  .sec--cards .wrap > .cards { grid-column: 2; grid-row: 1 / span 3; margin: 0; }
}

/* feature: a photo and its copy, side by side from tablets up */
.feature { display: grid; gap: var(--space-xl); align-items: center; }
.feature-media { margin: 0; }
.feature-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); background: var(--c-paper-3); }
.feature-media figcaption, .figure figcaption { margin-top: var(--space-sm); font-size: var(--text-sm); line-height: 1.5; color: var(--c-ink-2); }
.feature-copy .sec-title { max-width: 16ch; }
.feature-copy > .actions { margin-top: var(--space-lg); }
@media (min-width: 52rem) {
  .feature { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-4xl); }
  .feature--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .feature--flip .feature-media { order: 2; }
  .feature-media img { aspect-ratio: 5 / 4; }
}

/* photo, gallery, video */
.figure { margin: 0; }
.figure img { width: 100%; border-radius: var(--radius-lg); }
.figure--wide img { aspect-ratio: 16 / 9; object-fit: cover; box-shadow: var(--shadow-md); }
.figure--inline { max-width: 40rem; }
/* a lone picture sits centred in its row, never flush left with half the row empty */
.figure--inline, .figure--clip { margin-inline: auto; }
/* a small source (a drone still, a soft crop) is shown whole and at its own width at most, never stretched to fill a slot */
.figure--small { max-width: min(100%, var(--native)); margin-inline: auto; }
.figure--small img { width: 100%; height: auto; aspect-ratio: auto !important; object-fit: contain; }
.feature-media.figure--small { justify-self: center; }
/* galleries: one shape for every tile; one column on phones, two or three across from tablets up */
.gallery { list-style: none; margin: var(--space-2xl) 0 0; padding: 0; display: grid; gap: var(--space-xl) var(--space-lg); grid-template-columns: minmax(0, 1fr); }
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-md); }
@media (min-width: 48rem) {
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery:has(> li:nth-child(2):last-child), .gallery:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.gallery-caption { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--c-ink-2); }
.figure--clip { max-width: 44rem; margin-top: var(--space-xl); }
/* a video section is one centred column: heading, intro and clip share the clip's left edge */
.sec--video > .wrap { width: min(100% - 2 * var(--gutter), 44rem); }
.clip { width: 100%; border-radius: var(--radius-lg); background: var(--c-navy); }

/* faq */
.faq-list { max-width: 54rem; margin-top: var(--space-xl); border-top: 1px solid var(--c-ink); }
.faq-item { border-bottom: var(--rule); }
.faq-item summary {
  display: grid; grid-template-columns: minmax(0, 1fr) var(--arrow); gap: var(--space-md); align-items: center;
  min-height: 80px; padding: var(--space-md) 0; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; content: "+" / ""; display: grid; place-items: center; width: var(--arrow); height: var(--arrow); border-radius: 50%;
  border: 1px solid var(--c-line-strong); color: var(--c-blue-hover); font-size: 1.5rem; font-weight: 400; line-height: 1;
  transition: transform var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover::after { background: var(--c-paper-2); }
.faq-q { margin: 0; font-size: var(--text-lead); font-weight: 600; letter-spacing: -0.012em; line-height: 1.35; }
.faq-a { padding: 0 var(--space-2xl) var(--space-lg) 0; color: var(--c-text); max-width: 44rem; }
.sec--faq + .sec--faq { padding-top: 0; }

/* note: a white card on a quiet band; on home it shares the band with the fit check that follows it */
.sec--note { padding-block: var(--space-2xl); background: var(--c-paper-2); }
.kind-home .sec--note + .sec--prose { background: var(--c-paper-2); padding-top: var(--space-2xl); }
.kind-home .sec--note { padding-top: var(--sec-y); }
.note {
  max-width: 54rem; padding: var(--space-lg);
  border: var(--rule); border-radius: var(--radius-lg); background: var(--c-raised); box-shadow: var(--shadow-sm);
}
@media (min-width: 48rem) { .note { padding: var(--space-xl) var(--space-2xl); } }
.note-title { margin-bottom: var(--space-xs); font-size: var(--text-lead); font-weight: 600; letter-spacing: -0.012em; color: var(--c-ink); }
.note-title::before { content: ""; display: block; width: 24px; height: 2px; margin-bottom: var(--space-sm); border-radius: 2px; background: var(--c-green); }

/* table */
.table-wrap { overflow-x: auto; margin-top: var(--space-xl); border: var(--rule); border-radius: var(--radius-md); background: var(--c-raised); }
table { width: 100%; min-width: 34rem; border-collapse: collapse; font-variant-numeric: tabular-nums; }
@media (max-width: 37.49rem) { table { min-width: 0; } }   /* two short columns fit a phone, so nothing hides off screen */
caption { padding: var(--space-md) var(--space-lg); text-align: left; font-weight: 600; color: var(--c-ink); caption-side: top; }
th, td { padding: var(--space-md) var(--space-lg); text-align: left; vertical-align: top; border-top: var(--rule); }
thead th { background: var(--c-paper-2); font-weight: 600; color: var(--c-ink); }
tbody th { font-weight: 600; color: var(--c-ink); }
/* phones: tighter cells, so a three-column table fits a 390 px screen */
@media (max-width: 37.49rem) { th, td { padding: var(--space-sm) var(--space-md); } caption { padding: var(--space-sm) var(--space-md); } }
/* a table still wider than its box shows a soft shadow on the side that scrolls: the covers ride with the content (local),
   so a table that fits, or one scrolled to its end, shows none */
.table-wrap {
  background:
    linear-gradient(to right, var(--c-raised) 40%, transparent) left center / 2.5rem 100% no-repeat local,
    linear-gradient(to left, var(--c-raised) 40%, transparent) right center / 2.5rem 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, color-mix(in oklab, var(--c-navy) 24%, transparent), transparent) left center / 1rem 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, color-mix(in oklab, var(--c-navy) 24%, transparent), transparent) right center / 1rem 100% no-repeat scroll,
    var(--c-raised);
}

/* sources and related reading */
.sec--sources { padding-block: var(--space-3xl); }
.sec--sources .sec-title, .sec--related .sec-title { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem); }
.sources { max-width: 48rem; font-size: var(--text-sm); }
.sources li { margin-bottom: var(--space-sm); }
.source-note { color: var(--c-ink-2); }
.related-list { list-style: none; padding: 0; max-width: 54rem; border-top: 1px solid var(--c-ink); }
.related-list li { margin: 0; padding: 0; border-bottom: var(--rule); }
.related-list a {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-md);
  min-height: 76px; padding-block: var(--space-sm);
  color: var(--c-ink); font-size: var(--text-h3); font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; text-decoration: none;
}
.related-list a::after, .faq-links-list a::after {
  content: "\2192"; content: "\2192" / ""; flex: none; display: grid; place-items: center;
  width: var(--arrow); height: var(--arrow); border-radius: 50%; border: 1px solid var(--c-line-strong); color: var(--c-blue-hover);
  transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out);
}
.related-list a:hover { color: var(--c-ink); }
.related-list a:hover::after, .faq-links-list a:hover::after { background: var(--c-blue); border-color: var(--c-blue); color: var(--c-on-blue); transform: translateX(var(--space-2xs)); }

/* answers index */
.article-list { list-style: none; padding: 0; margin: var(--space-xl) 0 0; max-width: 56rem; border-top: 1px solid var(--c-ink); }
.article-item { padding: var(--space-xl) 0; border-bottom: var(--rule); }
.article-item h3 { font-size: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem); letter-spacing: -0.022em; }
.article-item h3 a { color: var(--c-ink); text-decoration: none; }
.article-item h3 a:hover { text-decoration: underline; }
.article-item p { color: var(--c-ink-2); }

/* site map */
.sec--index .wrap { display: grid; gap: var(--space-2xl); }
@media (min-width: 48rem) { .sec--index .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.index-group h2 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem); }
.index-group .list { padding-left: 1.2em; }
.index-group .list li { margin-bottom: 0; }
.index-group a { display: inline-flex; min-height: var(--tap); min-width: var(--tap); align-items: center; padding-block: 0; }

/* ---------- FAQ detail pages: the direct answer, question lists, related questions ---------- */
/* the direct answer: the first thing under the question, a raised card. It never animates in, because it is the answer the
   page exists for */
.sec--direct-answer { padding-block: var(--space-xl) var(--space-2xl); }
.direct-answer {
  max-width: 54rem; padding: var(--space-xl) var(--space-lg);
  background: var(--c-raised); border: var(--rule); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.direct-answer-h {
  max-width: 34ch;
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); line-height: 1.18; font-weight: 650; letter-spacing: -0.028em;
}
.direct-answer p { max-width: var(--measure); font-size: var(--text-lead); line-height: 1.6; }
@media (min-width: 48rem) { .direct-answer { padding: var(--space-2xl) var(--space-3xl); } }

/* question lists (faq_links, related questions): full-width rows, the arrow pinned right, 72 px tall at least */
.faq-links-groups { display: grid; gap: var(--space-2xl); margin-top: var(--space-xl); }
@media (min-width: 64rem) { .faq-links-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-3xl); } }
.faq-links-group h3 { margin-bottom: var(--space-sm); }
.faq-links-list { list-style: none; max-width: 54rem; margin: var(--space-md) 0 0; padding: 0; border-top: 1px solid var(--c-ink); }
.faq-links-group .faq-links-list { margin-top: 0; }
.faq-links-list li { margin: 0; padding: 0; border-bottom: var(--rule); }
.faq-links-list a {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-md);
  min-height: 72px; padding-block: var(--space-sm);
  color: var(--c-ink); font-size: var(--text-lead); font-weight: 550; letter-spacing: -0.012em; line-height: 1.3; text-decoration: none;
}
.faq-links-list a:hover { color: var(--c-ink); }
.faq-links-list a:active::after { background: var(--c-blue-press); border-color: var(--c-blue-press); color: var(--c-on-blue); }
.sec--related-questions { padding-block: var(--space-3xl) var(--sec-y-end); }
.sec--related-questions .sec-title { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem); }

/* ---------- credits and b-roll loops ---------- */
/* a public photo's credit: a small, quiet line under the picture (title, author, license) */
.photo-credit { display: block; margin-top: var(--space-2xs); font-size: var(--text-xs); line-height: 1.5; color: var(--c-ink-2); overflow-wrap: anywhere; }
.photo-credit a { color: var(--c-ink-2); text-decoration-color: var(--c-line-strong); }
.photo-credit a:hover { color: var(--c-ink); text-decoration-color: currentColor; }
.hero-figure figcaption { margin: 0; padding: var(--space-sm) var(--space-md); background: var(--c-raised); font-size: var(--text-sm); color: var(--c-ink-2); }
/* a muted loop: sized by its width and height before anything loads, the poster until the theme script starts it */
.loop-frame { position: relative; }
.figure--loop .loop-frame { overflow: hidden; border-radius: var(--radius-lg); }   /* some browsers ignore the radius on a playing video */
.loop { width: 100%; height: auto; border-radius: var(--radius-lg); background: var(--c-paper-3); object-fit: cover; }
.figure--wide .loop { aspect-ratio: 16 / 9; }
.figure--wide.figure--loop { max-width: 60rem; margin-inline: auto; }   /* a 960 px loop is never blown up past its own width */
.feature-media .loop, .gallery .loop { aspect-ratio: 4 / 3; }
@media (min-width: 52rem) { .feature-media .loop { aspect-ratio: 5 / 4; } }
.hero-figure .loop { display: block; border-radius: 0; aspect-ratio: 16 / 10; object-position: 50% 50%; }
@media (min-width: 56rem) { .hero-figure .loop { aspect-ratio: 4 / 5; } }
.loop-toggle {
  position: absolute; right: var(--space-sm); bottom: var(--space-sm); z-index: var(--z-base);
  display: grid; place-items: center; width: var(--tap); height: var(--tap); padding: 0;
  border: 0; border-radius: 50%; background: var(--c-dock); color: var(--c-ink); cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background-color var(--dur-short) var(--ease-out);
}
.loop-toggle:hover { background: var(--c-raised); }
.loop-toggle .icon { width: 22px; height: 22px; }
.loop-toggle[data-state="playing"] .icon--play, .loop-toggle[data-state="paused"] .icon--pause { display: none; }

/* ---------- the towns: a deep navy band, the names drifting across it, the linked list under them ---------- */
.sec--area {
  padding-block: var(--sec-y) var(--sec-y-end);
  background:
    radial-gradient(70% 60% at 0% 100%, var(--c-navy-3) 0%, transparent 100%),
    var(--c-navy);
  color: var(--c-on-navy-2);
  --c-link: var(--c-on-navy);
  --c-link-hover: var(--c-on-navy);
}
.sec--area .sec-title { color: var(--c-on-navy); }
.sec--area .sec-intro { color: var(--c-on-navy-2); }
.sec--area :focus-visible { outline-color: var(--c-on-navy); }
.sec--area strong { color: var(--c-on-navy); }
.drift-band { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); margin: var(--space-2xl) 0 var(--space-3xl); }
.drift { min-width: 0; overflow: clip; }
.drift-track { display: flex; width: max-content; margin: 0; padding: 0; list-style: none; }
.drift-track li {
  display: flex; align-items: center; padding-right: 0.45em;
  font-size: var(--text-drift); line-height: 1.05; font-weight: 600; letter-spacing: -0.04em; white-space: nowrap;
  color: var(--c-on-navy);
}
.drift-track li::before { content: attr(data-t); }   /* the names live in data-t, so the band is no extra page text */
.drift-track li::after {
  content: ""; width: 0.12em; height: 0.12em; margin-left: 0.45em; border-radius: 50%; background: var(--c-green);
}
.drift--also .drift-track li {
  font-size: calc(var(--text-drift) * 0.6); font-weight: 500;
  color: transparent; -webkit-text-stroke: 1px var(--c-on-navy-2);
}
.drift--also .drift-track { transform: translateX(-30%); }
.area-groups {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-xl) var(--space-lg);
  padding-top: var(--space-xl); border-top: 1px solid var(--c-navy-line);
}
.area-group { min-width: 0; }
.area-group h3 {
  margin-bottom: var(--space-xs);
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-on-navy-2);
}
.area-towns { list-style: none; padding: 0; margin: 0; }
.area-towns li { margin: 0; padding: 0; }
.area-towns a {
  display: inline-flex; align-items: center; min-height: var(--tap); padding-block: 0;
  font-size: var(--text-h3); font-weight: 600; letter-spacing: -0.015em; color: var(--c-on-navy);
  text-decoration-color: var(--c-glass-line);
}
.area-towns a:hover { text-decoration-color: currentColor; }
.area-also { display: block; color: var(--c-on-navy-2); font-size: var(--text-sm); line-height: 1.45; }
@media (min-width: 64rem) { .area-groups { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
/* the service area hub: two groups, each town with a one-line note under it */
.sec--area-hooks .area-groups { grid-template-columns: minmax(0, 1fr); }
.sec--area-hooks .area-towns li + li { margin-top: var(--space-sm); }
.area-hook { display: block; color: var(--c-on-navy-2); font-size: var(--text-base); line-height: 1.5; max-width: 40ch; }
@media (min-width: 48rem) { .sec--area-hooks .area-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-3xl); } }
.area-strip { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-xs); margin: 0; padding: 0; }
.area-strip a {
  display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 var(--space-lg);
  border: 1px solid var(--c-glass-line); border-radius: var(--radius-pill); background: var(--c-glass);
  color: var(--c-on-navy); font-weight: 600; text-decoration: none;
  transition: background-color var(--dur-short) var(--ease-out);
}
.area-strip a:hover { background: var(--c-glass-hover); }

/* nearby towns (town pages) */
.sec--nearby { padding-block: var(--space-3xl); }
.sec--nearby .sec-title { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem); }
.sec--nearby p { max-width: var(--measure); }

/* ---------- instant estimate ---------- */
.sec--roofquote { background: var(--c-paper-2); }
.sec--roofquote .wrap { display: grid; gap: var(--space-lg); }
.rq-side { display: grid; gap: var(--space-md); align-content: start; }
.rq-side .sec-title, .rq-side .sec-intro { margin: 0; }
.rq-frame {
  overflow: hidden; border-radius: var(--radius-lg); background: var(--c-raised); border: var(--rule);
  box-shadow: var(--shadow-lg);
}
.rq-frame iframe { display: block; width: 100%; height: 1250px; border: 0; }
.rq-alt { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm); margin: 0; font-size: var(--text-base); }
.rq-alt .btn--small { min-height: var(--tap); }
@media (min-width: 64rem) {
  .sec--roofquote:not(.sec--roofquote-fallback) .wrap { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: var(--space-3xl); align-items: start; }
  .rq-side { position: sticky; top: calc(var(--header-h) + var(--space-xl)); }
}
.sec--roofquote-fallback .wrap { display: block; }
.sec--roofquote-fallback .wrap > .actions { margin-top: var(--space-lg); }
.sec--roofquote-fallback .rq-alt { margin-top: var(--space-lg); }

/* ---------- forms ---------- */
.sec--quote-form, .sec--contact-form { background: var(--c-paper-2); }
.form-card {
  display: grid; gap: var(--space-lg);
  padding: var(--space-xl) var(--space-lg);
  background: var(--c-raised); border-radius: var(--radius-xl); border: var(--rule);
  box-shadow: var(--shadow-lg);
}
.form-card .sec-title { margin: 0; }
.form-card .sec-intro { margin: 0; }
@media (min-width: 48rem) { .form-card { padding: var(--space-3xl); } }
@media (min-width: 64rem) {
  .sec--quote-form .form-card { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: var(--space-4xl); align-items: start; }
  .sec--quote-form .form-card > .sec-title, .sec--quote-form .form-card > .sec-intro { grid-column: 1; }
  .sec--quote-form .form-card > .lead-form { grid-column: 2; grid-row: 1 / span 3; }
  .sec--quote-form .form-card > .form-done { grid-column: 2; grid-row: 1 / span 3; }
  .sec--contact-form .form-card { max-width: 60rem; }
}
.lead-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.step-legend {
  display: flex; align-items: center; gap: var(--space-sm); width: 100%;
  padding: 0; margin-bottom: var(--space-lg);
  font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.01em; color: var(--c-ink-2);
}
.step-legend::after { content: ""; flex: 1 1 auto; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--c-green) 50%, var(--c-line) 50%); }
.form-step--2 .step-legend::after { background: var(--c-green); }
.form-step + .form-step { margin-top: var(--space-xl); }
.is-stepped .form-step + .form-step { margin-top: 0; }
.field, .lead-form fieldset.field { margin-bottom: var(--space-xs); }
.field > label, .field--choices > legend { display: block; margin-bottom: var(--space-xs); font-weight: 600; color: var(--c-ink); }
.field-hint { margin: 0 0 var(--space-xs); font-size: var(--text-sm); color: var(--c-ink-2); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 54px; padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--c-field); border-radius: var(--radius-sm);
  background: var(--c-raised); color: var(--c-ink); font: 400 var(--text-base) / 1.3 var(--font-sans);
  transition: border-color var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out);
}
.field select { appearance: none; padding-right: var(--space-2xl); background-image: linear-gradient(45deg, transparent 50%, var(--c-ink) 50%), linear-gradient(135deg, var(--c-ink) 50%, transparent 50%); background-position: right 22px center, right 16px center; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
.field textarea { min-height: 8rem; resize: vertical; }
.field input:disabled, .field select:disabled, .field textarea:disabled { background: var(--c-paper-2); color: var(--c-ink-2); cursor: not-allowed; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--c-ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 2px; border-color: var(--c-blue); }
.field input:not([type="radio"])[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--c-danger); box-shadow: inset 0 0 0 1px var(--c-danger); }
.field-error[hidden] { display: flex !important; visibility: hidden; }
.field-error { display: flex; align-items: center; gap: var(--space-xs); min-height: 1.6em; margin: var(--space-xs) 0 0; color: var(--c-danger); font-weight: 600; font-size: var(--text-sm); }
.field-error::before { content: "!"; content: "!" / ""; display: grid; place-items: center; flex: none; width: 1.3em; height: 1.3em; border-radius: 50%; background: var(--c-danger); color: var(--c-on-blue); font-size: 0.85em; font-weight: 700; }
.choices { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.choice {
  display: inline-flex; align-items: center; gap: var(--space-xs);
  min-height: var(--tap); padding: 0 var(--space-lg) 0 var(--space-md);
  border: 1px solid var(--c-field); border-radius: var(--radius-pill);
  background: var(--c-raised); color: var(--c-ink); font-weight: 500; cursor: pointer;
  transition: border-color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out);
}
.choice:hover { border-color: var(--c-ink); }
.choice input { width: 1.25rem; height: 1.25rem; margin: 0; accent-color: var(--c-blue); }
.choice:has(input:checked) { border-color: var(--c-blue); box-shadow: inset 0 0 0 1px var(--c-blue); background: var(--c-blue-tint); }
.choice:has(input:focus-visible) { outline: 2px solid var(--c-blue); outline-offset: 2px; }
.choice input:focus-visible { outline: none; }
.field--choices[aria-invalid="true"] .choice, .choices:has([aria-invalid="true"]) .choice { border-color: var(--c-danger); }
.form-grid { display: grid; gap: 0 var(--space-lg); }
@media (min-width: 48rem) {
  .form-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .form-grid > .field:has(textarea), .form-grid > .field--choices { grid-column: 1 / -1; }
}
.step-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); align-items: center; }
.step-actions .btn--primary { min-width: 10rem; }
.step-help { font-size: var(--text-sm); color: var(--c-ink-2); }
.form-status:empty { display: none; }
.form-status.is-error {
  margin-top: var(--space-lg); padding: var(--space-md) var(--space-lg); border-radius: var(--radius-sm);
  border: 1px solid var(--c-danger); color: var(--c-danger); font-weight: 600;
}
.form-fine { margin: var(--space-lg) 0 0; font-size: var(--text-sm); color: var(--c-ink-2); }
.form-done {
  display: flex; gap: var(--space-md); align-items: flex-start; margin: 0;
  padding: var(--space-lg); border-radius: var(--radius-md); background: var(--c-paper-2); border: var(--rule);
  font-size: var(--text-lead); font-weight: 600; color: var(--c-ink);
}
.form-done::before {
  content: ""; flex: none; width: 24px; height: 24px; margin-top: var(--space-2xs); border-radius: 50%; background: var(--c-green);
  box-shadow: inset 0 0 0 6px var(--c-green), inset 0 0 0 12px var(--c-on-blue);
}
.form-done:focus { outline: 2px solid var(--c-blue); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- call to action: a calm white panel, the last word before the navy footer ---------- */
.sec--cta { padding-block: var(--space-2xl) var(--sec-y-end); }
.sec--quote-form + .sec--cta { background: var(--c-paper-2); padding-top: 0; }
.cta {
  position: relative; display: grid; gap: var(--space-lg);
  padding: var(--space-2xl) var(--space-lg);
  border-radius: var(--radius-xl); border: var(--rule);
  background: var(--c-raised); box-shadow: var(--shadow-md);
  --c-link: var(--c-ink); --c-link-hover: var(--c-ink);
}
.cta::before { content: ""; display: block; width: 48px; height: 2px; border-radius: 2px; background: var(--c-green); }
.cta h2 { max-width: 15ch; margin: 0; font-size: clamp(2.125rem, 1.4rem + 2.8vw, 3.75rem); }
.cta > p { max-width: 46ch; margin: 0; font-size: var(--text-lead); color: var(--c-text); }
.cta-phone { font-weight: 600; white-space: nowrap; }
.cta .actions { margin: 0; }
.cta-more { font-size: var(--text-base); }
.cta-more a { display: inline-flex; align-items: center; min-height: var(--tap); padding-block: 0; font-weight: 500; color: var(--c-ink-2); }
.cta-more a:hover { color: var(--c-ink); }
@media (max-width: 37.49rem) {
  .cta .actions .btn { flex: 1 1 100%; }
}
@media (min-width: 48rem) { .cta { padding: var(--space-3xl); } }
@media (min-width: 64rem) {
  .cta { grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--space-4xl); padding: var(--space-4xl); align-items: end; }
  .cta::before, .cta > h2, .cta > p { grid-column: 1; }
  .cta > .actions { grid-column: 2; grid-row: 2 / span 2; flex-direction: column; align-items: stretch; align-self: end; min-width: 18rem; }
  .cta > .cta-more { grid-column: 1 / -1; }
}

/* ---------- footer: the page ends on deep navy. The logo as a masthead, the phone number as big as a headline ---------- */
.site-footer {
  padding: var(--sec-y) 0 var(--space-xl);
  background: var(--c-navy);
  color: var(--c-on-navy-2);
  font-size: var(--text-base);
  --c-link: var(--c-on-navy); --c-link-hover: var(--c-on-navy);
}
.site-footer :focus-visible { outline-color: var(--c-on-navy); }
.footer-grid { display: grid; gap: var(--space-2xl); }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (min-width: 64rem) { .footer-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr); column-gap: var(--space-3xl); } .footer-brand { grid-column: auto; } }
.footer-logo {
  box-sizing: content-box; width: 180px; height: auto; margin-bottom: var(--space-xl);
  padding: var(--space-sm) var(--space-md); border-radius: var(--radius-md); background: var(--c-raised);
}
.footer-nap { font-size: var(--text-base); line-height: 1.6; color: var(--c-on-navy-2); }
.footer-nap strong { color: var(--c-on-navy); }
.footer-nap a {
  display: flex; align-items: center; width: fit-content; min-height: var(--tap); margin-block: var(--space-sm);
  font-size: var(--text-phone); line-height: 1; font-weight: 600; letter-spacing: -0.035em; text-decoration: none;
  color: var(--c-on-navy);
}
.footer-nap a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
.footer-h {
  margin-bottom: var(--space-sm);
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-on-navy-2);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col a { display: inline-flex; align-items: center; min-height: var(--tap); min-width: var(--tap); color: var(--c-on-navy); font-weight: 500; text-decoration: none; white-space: nowrap; }
.footer-col a:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.footer-col:first-of-type ul { columns: 2; column-gap: var(--space-lg); }
.footer-legal {
  display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-xl); justify-content: space-between; align-items: center;
  margin-top: var(--space-3xl); padding-top: var(--space-lg); border-top: 1px solid var(--c-navy-line);
  font-size: var(--text-sm); color: var(--c-on-navy-2);
}
.footer-legal p { margin: 0; }
.footer-legal a { color: var(--c-on-navy); display: inline-flex; align-items: center; min-height: var(--tap); font-size: var(--text-sm); }
.footer-legal a:hover { text-decoration-thickness: 2px; }
.footer-reg, .footer-social { font-size: var(--text-sm); color: var(--c-on-navy-2); }

/* ---------- page kinds ---------- */
.kind-notfound .sec--prose .list, .kind-utility .sec--prose p { font-size: var(--text-lead); }
.kind-notfound .sec--prose .list li { margin-bottom: var(--space-2xs); }
.kind-notfound .sec--prose .list a { display: inline-flex; align-items: center; min-height: var(--tap); min-width: var(--tap); padding-block: 0; }
.kind-legal .sec--prose .sec-title, .kind-sitemap .sec-title { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem); }
.kind-legal .sec--prose { padding-block: var(--space-xl); }

/* ---------- motion: subtle, and only when the viewer allows it. The hero photo settles once on load; with summit.js, headings
   and photos rise into place as they arrive, the steps rail draws, and the town names drift. ---------- */
@keyframes summit-settle { from { transform: scale(1.06); } to { transform: none; } }
@keyframes summit-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes summit-draw { from { transform: scaleY(0); } to { transform: none; } }
@keyframes summit-fill { from { transform: scaleX(0); } to { transform: none; } }
@keyframes summit-ring { from { opacity: 0; transform: scale(0.7); } to { opacity: 1; transform: none; } }
@keyframes summit-drift-left { from { transform: translateX(0%); } to { transform: translateX(-50%); } }
@keyframes summit-drift-right { from { transform: translateX(-50%); } to { transform: translateX(-12%); } }

@media (prefers-reduced-motion: no-preference) {
  .hero--photo > .hero-media img { animation: summit-settle 1800ms var(--ease-out) both; }

  /* browsers with scroll-driven animations: every effect is tied to the scroll position itself */
  @supports (animation-timeline: view()) {
    html.summit-motion .sec-title,
    html.summit-motion .pull,
    html.summit-motion .feature-media {
      animation: summit-rise var(--ease-out) both;
      animation-timeline: view(); animation-range: entry 0% entry 90%;
    }
    html.summit-motion .stack-flow { view-timeline: --flow block; view-timeline-inset: 45% 45%; }
    html.summit-motion .stack-pane::before, html.summit-motion .stack-pane::after { display: block; }
    html.summit-motion .stack-pane::after {
      animation: summit-fill linear both;
      animation-timeline: --flow; animation-range: cover 0% cover 100%;
    }
    html.summit-motion .step { view-timeline: --step block; view-timeline-inset: 0% 45%; }
    html.summit-motion .step::before {
      animation: summit-draw linear both;
      animation-timeline: --step; animation-range: entry-crossing 0% entry-crossing 100%;
    }
    html.summit-motion .step-n::before {
      animation: summit-ring var(--ease-out) both;
      animation-timeline: --step; animation-range: entry-crossing 0% entry-crossing 12%;
    }
    html.summit-motion .drift--main .drift-track {
      animation: summit-drift-left linear both;
      animation-timeline: view(); animation-range: cover 0% cover 100%;
    }
    html.summit-motion .drift--also .drift-track {
      animation: summit-drift-right linear both;
      animation-timeline: view(); animation-range: cover 0% cover 100%;
    }
  }

  /* older browsers: the same pieces rise once, through IntersectionObserver (summit.js adds .summit-io) */
  html.summit-io .sec-title, html.summit-io .pull, html.summit-io .feature-media {
    opacity: 0; transform: translateY(16px);
    transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out);
  }
  html.summit-io .is-in.sec-title, html.summit-io .is-in.pull, html.summit-io .is-in.feature-media { opacity: 1; transform: none; }
  html.summit-io .step::before { transform: scaleY(0); transition: transform 1200ms var(--ease-out); }
  html.summit-io .step-n::before { opacity: 0; transform: scale(0.7); transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); }
  html.summit-io .step.is-lit::before { transform: none; }
  html.summit-io .step.is-lit .step-n::before { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; }
  .btn:hover, .btn:active, .phone-bar-btn:active { transform: none; }
}
@media print {
  .site-header, .phone-bar, .drift-band, .loop-toggle, .hero-scrim { display: none !important; }
  *, *::before, *::after { animation: none !important; }
  .hero--photo { min-height: 0; margin-top: 0; padding-top: var(--space-xl); background: none; }
  .hero--photo > .hero-media { position: static; }
  .hero--photo h1, .hero--photo .hero-sub, .hero--photo .eyebrow, .hero--photo h1 .hl { color: var(--c-ink); }
  .sec--quote, .sec--area, .site-footer { background: none; color: var(--c-ink); }
}
