/* ============================================================================
   Page One Insights — framework.css (scaffold v7, 2026-09-02)
   Auto-generated from build-plan.json by design-portal. Locked file: pages
   never edit it; page-specific CSS goes in the page's own <style>.
   Baseline every tier gets: type engine, motion (fail-open), hero sized to
   content, compact hero form + estimate dialog, divider family, depth layer,
   gallery, featured grid, proof strip, footer, cookie bar, mobile bar.
   Placeholders {{...}} are filled by generateFrameworkCSS().
   ============================================================================ */

/* === Self-hosted fonts (v6.2 — no Google Fonts CDN) === */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('/assets/fonts/archivo.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/assets/fonts/manrope.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/barlow-condensed.woff2') format('woff2');
}

/* === Tokens === */
:root {
  /* Brand — from logo analysis (build-plan design.colors) */
  --color-primary: #325A59;                                          /* shield rim shadow, slate-teal (direction: The crossed wands) */
  --color-primary-rgb: 50, 90, 89;
  --color-primary-dark: color-mix(in srgb, #325A59 78%, black);
  --color-primary-deep: color-mix(in srgb, #325A59 62%, black);
  --color-secondary: #9FBAB9;                                        /* chrome lettering bevel */
  --color-secondary-rgb: 159, 186, 185;
  --color-accent: #1EB083;                                           /* jade shield-rim highlight — fills only */
  --color-accent-rgb: 30, 176, 131;
  --color-accent-dark: #167565;                                      /* accent as TEXT on paper — 5.2:1 */
  --color-accent-bright: color-mix(in srgb, #1EB083 78%, white);    /* eyebrows on dark bands — ≥7:1 on --color-dark */

  /* Ground and ink — warm, hue-biased neutrals (never pure grey) */
  --color-paper: #F3F7F6;                                            /* chrome highlight, one step down */
  --color-paper-2: #E5EDED;
  --color-surface: #ffffff;
  --color-ink: #05181C;                                              /* inner shield shadow, teal-black */
  --color-ink-2: color-mix(in srgb, #05181C 82%, #F3F7F6);
  --color-muted: color-mix(in srgb, #05181C 72%, #F3F7F6);           /* 72% = ≥4.5:1 small text on paper (was 58%, failed WCAG AA at 3.6:1) */
  --color-line: color-mix(in srgb, #05181C 14%, #F3F7F6);
  --color-dark: #021013;                                             /* logo field / deepest shield shadow */
  --color-dark-alt: color-mix(in srgb, #021013 80%, #325A59);

  /* Legacy aliases (v6 pages + prompts) */
  --color-white: #ffffff; --color-black: #111111;
  --color-light: var(--color-paper-2); --color-gray: var(--color-muted);
  --color-gray-light: var(--color-line); --color-gray-dark: var(--color-ink-2);
  --color-bg: var(--color-paper); --color-bg-alt: var(--color-paper-2); --color-bg-dark: var(--color-dark);
  --color-border: var(--color-line); --color-text: var(--color-ink); --color-text-light: var(--color-muted);
  --color-success: #2f7d4a; --color-warning: #c98a1a; --color-danger: #b83232; --color-star: #f2b84b;
  --color-card-tint-1: color-mix(in srgb, var(--color-primary) 8%, white);
  --color-card-tint-2: color-mix(in srgb, var(--color-secondary) 9%, white);
  --color-card-tint-3: color-mix(in srgb, var(--color-accent) 10%, white);
  --color-card-tint-neutral: var(--color-paper-2);
  --color-neutral-warm: var(--color-paper-2);

  /* Type — 3-font system */
  --font-heading: "Archivo", "Arial Black", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;   /* display: H1/H2 only, wdth 112 */
  --font-body: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-accent: "Barlow Condensed", 'Arial Narrow', 'Roboto Condensed', sans-serif;

  /* Fluid scale. H1 tops out ~42px desktop; pages never raise it. */
  --fs-h1: clamp(1.9rem, 1.15rem + 2.1vw, 2.65rem);
  --fs-h2: clamp(1.55rem, 1rem + 1.5vw, 2.1rem);
  --fs-h3: clamp(1.1rem, .95rem + .5vw, 1.3rem);
  --fs-lead: clamp(1.05rem, .95rem + .35vw, 1.2rem);
  --fs-body: 1rem; --fs-small: .875rem; --fs-eyebrow: .78rem;
  --font-size-xs: .75rem; --font-size-sm: .875rem; --font-size-base: 1rem; --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem; --font-size-2xl: var(--fs-h3); --font-size-3xl: var(--fs-h2); --font-size-4xl: var(--fs-h1);
  --font-size-5xl: var(--fs-h1); --font-size-6xl: var(--fs-h1);

  /* Layout */
  --measure: 62ch; --content-width: 62ch;
  --nav-height: 84px; --navbar-height: 84px;
  --container-max: 1180px; --bg-alt: var(--color-paper-2); --text-light: var(--color-muted); --ba-pos: 50%;
  --max-width: 1180px; --container: 1180px; --max-width-wide: 1400px; --container-wide: 1400px;
  --section-pad: clamp(3.5rem, 7vw, 6rem); --section-pad-mobile: 3rem;
  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem; --space-5: 1.25rem; --space-6: 1.5rem;
  --space-8: 2rem; --space-10: 2.5rem; --space-12: 3rem; --space-16: 4rem;
  --space-xs: .5rem; --space-sm: .75rem; --space-md: 1rem; --space-lg: 1.5rem; --space-xl: 2rem; --space-2xl: 3rem; --space-3xl: 4rem; --space-4xl: 6rem;
  --radius-sm: 4px; --radius: 8px; --radius-md: 8px; --radius-lg: 14px; --radius-xl: 20px; --radius-full: 999px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.06); --shadow: 0 8px 24px -12px rgba(0,0,0,.28); --shadow-md: var(--shadow);
  --shadow-lg: 0 24px 48px -20px rgba(0,0,0,.35); --shadow-xl: var(--shadow-lg); --shadow-card: var(--shadow);
  --ease: cubic-bezier(.2,.7,.2,1); --transition: .2s var(--ease); --transition-fast: .12s var(--ease); --transition-base: .2s var(--ease); --transition-slow: .45s var(--ease);
  --photo-grade: saturate(1.05) contrast(1.04) brightness(.98);
}

/* === Reset + type engine === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 800; color: var(--color-ink); text-wrap: balance; margin: 0; }
h1 { font-size: var(--fs-h1); line-height: 1.08; letter-spacing: -.022em; }
h2 { font-size: var(--fs-h2); line-height: 1.12; letter-spacing: -.018em; }
h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -.008em; }
h4 { font-size: 1rem; line-height: 1.3; }
p, li { text-wrap: pretty; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
a { color: inherit; }
img, svg, video { max-width: 100%; height: auto; display: block; }
.photo, .hero img, .gallery-item img, .service-card__image img, .about-image img, .sp-gallery-item img { filter: var(--photo-grade); }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }
.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; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--color-accent); color: #fff; padding: .6rem 1rem; border-radius: var(--radius); font-weight: 700; }
.skip-link:focus { top: 1rem; }
.tabular { font-variant-numeric: tabular-nums; }
.prose, .prose-centered, .content-narrow { max-width: var(--measure); }
.prose-centered { margin-inline: auto; text-align: center; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--color-ink-2); }
.text-center { text-align: center; }

/* Eyebrows / accent face */
.eyebrow, .eyebrow-label, .section-subtitle, .hero-eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-accent); font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--color-primary); }
.eyebrow::before, .eyebrow-label::before, .hero-eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--color-accent); flex: 0 0 auto; }
.section-subtitle { color: var(--color-accent-dark); }
.on-dark .eyebrow, .on-dark .eyebrow-label, .texture-grain .eyebrow, .texture-grain .eyebrow-label { color: var(--color-accent-bright); }
.text-accent { font-family: inherit; color: var(--color-accent-dark); }
.on-dark .text-accent, .texture-grain .text-accent { color: var(--color-accent-bright); }

/* === Layout rhythm: three container widths, alternate them === */
.container { width: min(var(--container), 100% - 2 * clamp(1rem, 4vw, 2.5rem)); margin-inline: auto; }
.container-wide { width: min(var(--container-wide), 100% - 2 * clamp(1rem, 3vw, 2rem)); margin-inline: auto; }
.container-narrow { width: min(760px, 100% - 2 * clamp(1rem, 4vw, 2.5rem)); margin-inline: auto; }
section, .section { position: relative; padding-block: var(--section-pad); overflow-x: clip; } /* x-clip (2026-09-04): hidden .reveal-left/right are translated ±24px and were widening scrollWidth on mobile */
/* (removed 2026-09-04: `section.hero { padding: 0 }` out-specified `.hero`'s own padding and pushed every H1 under the fixed header on the first real v7 build) */
.section--tight { padding-block: clamp(2.25rem, 4vw, 3.5rem); }
.section--light { background: var(--color-surface); }
.section-head, .section-header, .section-title { display: grid; gap: .6rem; max-width: 60ch; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.section-head p, .section-header p, .section-title p { margin: 0; color: var(--color-ink-2); }
.section-head--row { max-width: none; grid-template-columns: 1fr auto; align-items: end; gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-asym, .grid-asymmetric { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; }
.grid-asymmetric--reverse { grid-template-columns: 1fr 1.4fr; }
.split, .split-reverse, .about-split, .about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split-reverse > :first-child { order: 2; }
@media (max-width: 900px) { .grid-2, .grid-asym, .grid-asymmetric, .split, .split-reverse, .about-split, .about-grid { grid-template-columns: 1fr; } .split-reverse > :first-child { order: 0; } .grid-3 { grid-template-columns: 1fr; } .section-head--row { grid-template-columns: 1fr; } }

/* === Divider family (C3). Use ≥ 2 different styles per homepage. === */
.slant-top, .edge-slant-top { clip-path: polygon(0 3.5vw, 100% 0, 100% 100%, 0 100%); padding-top: calc(var(--section-pad) + 3.5vw); }
.slant-bottom, .edge-slant-bottom { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 3.5vw), 0 100%); padding-bottom: calc(var(--section-pad) + 3.5vw); }
.edge-curve-top { border-top-left-radius: 50% 2.6rem; border-top-right-radius: 50% 2.6rem; }
.edge-curve-bottom { border-bottom-left-radius: 50% 2.6rem; border-bottom-right-radius: 50% 2.6rem; }
.edge-wave-top { -webkit-mask: radial-gradient(28px at 50% 0, #0000 98%, #000) 50% 0 / 56px 100% repeat-x; mask: radial-gradient(28px at 50% 0, #0000 98%, #000) 50% 0 / 56px 100% repeat-x; padding-top: calc(var(--section-pad) + 28px); }
.edge-torn-top { -webkit-mask: linear-gradient(#000, #000) 0 18px / 100% calc(100% - 18px) no-repeat, radial-gradient(9px at 9px 9px, #000 98%, #0000) 0 0 / 22px 18px repeat-x; mask: linear-gradient(#000, #000) 0 18px / 100% calc(100% - 18px) no-repeat, radial-gradient(9px at 9px 9px, #000 98%, #0000) 0 0 / 22px 18px repeat-x; padding-top: calc(var(--section-pad) + 18px); }
.edge-parallelogram-top { clip-path: polygon(0 2.5vw, 50% 0, 100% 2.5vw, 100% 100%, 0 100%); padding-top: calc(var(--section-pad) + 2.5vw); }
.section-divider, .section-divider--top, .section-divider--bottom { position: relative; }

/* === Depth layer: dark bands carry grain + brushed gradient === */
.on-dark, .texture-grain, .stats-band, .closing-cta, .reviews-section { position: relative; isolation: isolate; overflow: clip; color: #edf0ea; background: linear-gradient(115deg, var(--color-dark) 0%, var(--color-dark-alt) 55%, var(--color-primary-deep) 130%); }
.on-dark h1, .on-dark h2, .on-dark h3, .texture-grain h1, .texture-grain h2, .texture-grain h3, .stats-band h2, .closing-cta h2, .reviews-section h2 { color: #fff; }
.on-dark p, .texture-grain p, .closing-cta p, .reviews-section p { color: rgba(255,255,255,.82); }
.grain, .grain-layer { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E"); }
.floating-ring, .floating-accent, .bg-blob { position: absolute; pointer-events: none; z-index: -1; opacity: .07; }
.floating-ring { width: 320px; height: 320px; border: 28px solid var(--color-accent); border-radius: 50%; animation: ring-drift 18s ease-in-out infinite alternate; }
.float-animate { animation: ring-drift 14s ease-in-out infinite alternate; }
.float-animate-slow { animation: ring-drift 26s ease-in-out infinite alternate; }
@keyframes ring-drift { from { transform: translate(0, 0) rotate(0); } to { transform: translate(24px, -18px) rotate(12deg); } }
.stat-watermark { position: absolute; right: 2rem; top: 1rem; font-family: var(--font-accent); font-size: 8rem; line-height: 1; opacity: .06; pointer-events: none; }

/* === Buttons === */
.btn, .btn-primary, .btn-secondary, .btn-accent, .btn-outline, .btn-outline-white, .btn-ghost, .btn-nav-cta { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .8rem 1.35rem; border-radius: var(--radius); font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1; text-decoration: none; border: 2px solid transparent; cursor: pointer; white-space: nowrap; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--color-primary); color: #fff; box-shadow: 0 6px 16px -8px color-mix(in srgb, var(--color-primary) 70%, transparent); }
.btn-primary:hover { background: var(--color-primary-dark); transform: translateY(-1px); }
.btn-accent, .btn-nav-cta { background: var(--color-accent); color: var(--color-ink); }
.btn-accent:hover, .btn-nav-cta:hover { background: var(--color-accent-dark); color: #fff; }
.btn-secondary, .btn-outline, .btn-ghost { background: transparent; color: var(--color-ink); border-color: var(--color-line); }
.btn-secondary:hover, .btn-outline:hover, .btn-ghost:hover { border-color: var(--color-ink); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-lg { min-height: 54px; padding: .95rem 1.6rem; font-size: 1.05rem; }
.btn-sm { min-height: 40px; padding: .5rem 1rem; font-size: .9rem; }
.btn-block { width: 100%; }
.link-call { font-weight: 600; color: var(--color-ink); text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; }
.link-call:hover { color: var(--color-primary); }
.link-call svg { color: var(--color-primary); }

/* === Header: white glass bar, brand carries the color (logo standard 2026-08-17) === */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 900; height: var(--nav-height); background: color-mix(in srgb, var(--color-paper) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: background-color .25s, border-color .25s, box-shadow .25s; }
.site-header.scrolled { background: color-mix(in srgb, var(--color-paper) 96%, transparent); border-bottom-color: var(--color-line); box-shadow: var(--shadow-sm); }
.site-header--dark { background: color-mix(in srgb, var(--color-dark) 84%, transparent); border-bottom-color: rgba(255,255,255,.06); }
.site-header--dark.scrolled { background: color-mix(in srgb, var(--color-dark) 95%, transparent); }
.site-header--dark .nav-links > li > a, .site-header--dark .nav-main > li > a, .site-header--dark .navbar-links > li > a, .site-header--dark .navbar-links > li > .dropdown-toggle, .site-header--dark .nav-links > li > .dropdown-toggle, .site-header--dark .link-call, .site-header--dark .navbar-phone, .site-header--dark .brand, .site-header--dark .site-logo { color: rgba(255,255,255,.88); }
.site-header--dark .navbar-links > li > a:hover, .site-header--dark .navbar-links > li > .dropdown-toggle:hover, .site-header--dark .navbar-phone:hover, .site-header--dark .link-call:hover { color: #fff; }
.site-header--dark .navbar-phone svg, .site-header--dark .link-call svg { color: var(--color-accent-bright); }
.navbar-cta .btn.navbar-phone, .header-cta .btn.link-call { min-height: 44px; padding: .55rem 1rem; font-size: .95rem; font-weight: 600; gap: .45rem; } /* phone as a button beside the CTA (A&S 2026-09-08) */
.site-header--dark .navbar-cta .btn.navbar-phone { color: #fff; border-color: rgba(255,255,255,.5); }
.site-header--dark .navbar-cta .btn.navbar-phone:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.site-header--dark .navbar-cta .btn.navbar-phone svg { color: #fff; }
.navbar-cta .btn-primary { min-height: 44px; padding: .55rem 1.1rem; }
.site-header--dark .navbar-links > li > a::after { background: var(--color-accent-bright); }
.site-header--dark .navbar-cta .btn-primary, .site-header--dark .header-cta .btn-primary { background: #fff; color: var(--color-dark); border-color: #fff; }
.site-header--dark .navbar-cta .btn-primary:hover, .site-header--dark .header-cta .btn-primary:hover { background: var(--color-accent-bright); border-color: var(--color-accent-bright); color: var(--color-dark); }
.site-header--dark .hamburger .hamburger-line { background: #fff; }
.site-header--dark .hamburger span { background: #fff; }
.site-header .navbar, .site-header .header-inner, .site-header .navbar-inner { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; } /* the bar is painted by .site-header only — a phase-2 critical.css shipped .navbar{background:rgba(255,255,255,.72)} that turned a dark header light gray (A&S 2026-09-08) */
.header-inner, .navbar-inner { height: 100%; display: flex; align-items: center; gap: 1rem; white-space: nowrap; }
.site-logo, .navbar-logo, .brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--color-ink); margin-right: auto; }
.site-logo img, .navbar-logo img { height: 96px; width: auto; max-width: 260px; object-fit: contain; transition: height .25s var(--ease); }
.site-header.scrolled .site-logo img, .site-header.scrolled .navbar-logo img { height: 80px; }
.site-logo img.logo--wordmark { height: 120px; } .site-logo img.logo--square { height: 88px; }
.brand-name, .logo-name { font-family: var(--font-heading); font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; line-height: 1; }
.brand-sub, .logo-tagline { display: block; white-space: nowrap; font-family: var(--font-accent); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--color-muted); margin-top: .28rem; }
.nav-links, .nav-main, .navbar-links { display: flex; align-items: center; gap: .1rem; list-style: none; margin: 0; padding: 0; }
.nav-links > li, .nav-main > li, .navbar-links > li { position: relative; }
.nav-links > li > a, .nav-main > li > a, .navbar-links > li > a, .nav-links > li > .dropdown-toggle, .nav-main > li > .dropdown-toggle, .navbar-links > li > .dropdown-toggle { display: inline-flex; align-items: center; gap: .3rem; padding: .55rem .6rem; font-weight: 500; font-size: .95rem; color: var(--color-ink-2); text-decoration: none; border-radius: var(--radius-sm); position: relative; white-space: nowrap; }
.nav-links > li > a::after, .nav-main > li > a::after, .navbar-links > li > a::after { content: ""; position: absolute; left: .6rem; right: .6rem; bottom: .25rem; height: 2px; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform .22s var(--ease); }
.nav-links > li > a:hover::after, .nav-links > li > a[aria-current="page"]::after, .nav-main > li > a:hover::after, .nav-main > li > a[aria-current="page"]::after, .navbar-links > li > a:hover::after, .navbar-links > li > a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links > li > .dropdown-toggle, .nav-main > li > .dropdown-toggle, .navbar-links > li > .dropdown-toggle { background: transparent; border: 0; font: inherit; color: var(--color-ink-2); cursor: pointer; }
.hero--type .btn-secondary, .hero--photo .btn-secondary, .hero--area .btn-secondary, .on-dark .btn-secondary, .section-dark .btn-secondary, .section--dark .btn-secondary, .closing-cta .btn-secondary { color: #fff; border-color: rgba(255,255,255,.45); }
.hero--type .btn-secondary:hover, .hero--photo .btn-secondary:hover, .hero--area .btn-secondary:hover, .on-dark .btn-secondary:hover, .section-dark .btn-secondary:hover, .section--dark .btn-secondary:hover, .closing-cta .btn-secondary:hover { border-color: #fff; }
.nav-dropdown-menu, .dropdown { position: absolute; top: calc(100% + .35rem); left: 0; min-width: 260px; background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: .5rem; list-style: none; margin: 0; display: none; }
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu, .has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { display: block !important; }
.nav-dropdown-menu a, .dropdown a { display: block; padding: .55rem .7rem; border-radius: var(--radius-sm); font-size: .92rem; color: var(--color-ink-2); text-decoration: none; }
.nav-dropdown-menu a:hover, .dropdown a:hover { background: var(--color-paper-2); color: var(--color-ink); }
.header-cta, .header-actions, .navbar-cta { display: flex; align-items: center; gap: .9rem; }
.hamburger { display: none; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; margin-left: auto; }
.hamburger span, .hamburger .hamburger-line { display: block; width: 24px; height: 2px; background: var(--color-ink); transition: transform .25s var(--ease), opacity .2s; }
.hamburger.active span:nth-child(1), .hamburger.active .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2), .hamburger.active .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3), .hamburger.active .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1000px) { .nav-links, .nav-main, .navbar-links, .header-cta .link-call, .header-actions .link-call, .navbar-phone { display: none; } .hamburger { display: flex; } .site-logo, .navbar-logo, .brand { margin-right: 0; } .header-cta, .header-actions, .navbar-cta { margin-left: auto; } .site-logo img, .navbar-logo img { height: 72px; } .site-header.scrolled .site-logo img { height: 64px; } }
@media (max-width: 560px) { .header-cta .btn, .header-actions .btn, .navbar-cta .btn-nav-cta, .navbar-cta .btn-primary, .navbar-cta .btn, .header-cta .btn-primary, .header-actions .btn-primary { display: none; } .brand-sub, .logo-tagline { display: none; } }

/* Mobile overlay — lives OUTSIDE <header> (backdrop-filter containing block) */
.mobile-menu { position: fixed; inset: 0; z-index: 950; background: var(--color-dark); color: #fff; padding: calc(var(--nav-height) + 1rem) clamp(1.25rem, 6vw, 2.5rem) 2rem; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.mobile-menu.active, .mobile-menu[aria-hidden="false"] { opacity: 1; visibility: visible; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu > nav > ul > li > a, .mobile-menu .mobile-menu__links > li > a, .mobile-menu .mm-top > li > a, .mobile-menu-inner > nav > ul > li > a { display: block; padding: .8rem 0; font-family: var(--font-heading); font-weight: 800; font-size: 1.5rem; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-menu .sub, .mobile-submenu { padding: .4rem 0 .6rem; display: grid; grid-template-columns: 1fr 1fr; gap: .1rem .8rem; }
.mobile-menu .sub a, .mobile-submenu a, .mobile-submenu-item a { display: block; padding: .45rem 0; font-size: .95rem; color: rgba(255,255,255,.78); text-decoration: none; }
.mobile-menu-cta { display: grid; gap: .7rem; margin-top: 1.5rem; }
.mobile-menu.active li { animation: menu-in .4s var(--ease) both; }
.mobile-menu.active li:nth-child(2) { animation-delay: .05s } .mobile-menu.active li:nth-child(3) { animation-delay: .1s } .mobile-menu.active li:nth-child(4) { animation-delay: .15s } .mobile-menu.active li:nth-child(5) { animation-delay: .2s }
@keyframes menu-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
body.menu-open { overflow: hidden; }
body.menu-open .site-header { z-index: 960; } /* keep the bar (and the hamburger X) above the 950 overlay — otherwise the open menu can only be closed by picking a link (found on precision-plumbing 2026-09-05) */

/* === Hero: sized to content, never 100vh. Three patterns share one skeleton. === */
.hero, .hero-v7 { position: relative; overflow: clip; isolation: isolate; padding: calc(var(--nav-height) + clamp(2rem, 5vw, 4rem)) 0 clamp(2.5rem, 5vw, 4rem); background: var(--color-paper); min-height: 0; }
.hero--photo { color: #fff; background: var(--color-dark); }
.hero--photo .hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero--photo .hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero--photo .hero-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(0,0,0,.86) 0%, rgba(0,0,0,.74) 38%, rgba(0,0,0,.5) 68%, rgba(0,0,0,.3) 100%); } /* text column must sit on ≥.74 black — light roofs/skies swallowed the H1 at .45 (A&S 2026-09-08) */
.hero--photo .hero-overlay::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 70%, rgba(0,0,0,.4) 100%); }
.hero--photo .hero-title, .hero--photo h1, .hero--photo .hero-answer, .hero--photo .hero-subtitle, .hero--photo .hero-eyebrow { text-shadow: 0 1px 2px rgba(0,0,0,.6), 0 8px 28px rgba(0,0,0,.45); }
.hero--photo .text-accent { color: var(--color-accent-bright); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--color-accent) 70%, transparent); text-decoration-thickness: .06em; text-underline-offset: .14em; }
.hero--photo .grain { z-index: -1; opacity: .35; }
.hero--photo h1, .hero--photo .hero-title { color: #fff; }
.hero--photo .hero-answer, .hero--photo .hero-subtitle { color: rgba(255,255,255,.85); }
.hero--photo .eyebrow, .hero--photo .hero-eyebrow { color: var(--color-accent-bright); }
.hero--photo .hero-chips li, .hero--photo .hero-trust-item { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }
.hero--photo .hero-chips svg { color: var(--color-accent-bright); }
.hero--light::before { content: ""; position: absolute; inset: auto -10% -30% 55%; height: 120%; z-index: -1; background: radial-gradient(closest-side, color-mix(in srgb, var(--color-primary) 16%, transparent), transparent 70%); pointer-events: none; }
.hero--type { background: var(--color-dark); color: #fff; }
.hero--type h1 { color: #fff; }
.hero--type .link-call, .hero--photo .link-call { color: rgba(255,255,255,.88); }
.hero--type .link-call svg, .hero--photo .link-call svg { color: #fff; }
.hero--type .link-call:hover, .hero--photo .link-call:hover { color: #fff; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-grid--form { grid-template-columns: minmax(0, 1.15fr) minmax(320px, 400px); }
.hero-text, .hero-copy { display: grid; gap: 1.1rem; max-width: 36rem; }
.hero-title, .hero h1 { font-size: var(--fs-h1); max-width: 22ch; }
.hero-answer, .hero-subtitle { font-size: var(--fs-lead); line-height: 1.5; color: var(--color-ink-2); margin: 0; max-width: 32rem; }
.hero-actions, .hero-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: .3rem; }
.hero-chips, .hero-trust { display: flex; flex-wrap: wrap; gap: .5rem; margin: .6rem 0 0; padding: 0; list-style: none; }
.hero-chips li, .hero-trust-item { display: inline-flex; align-items: center; gap: .4rem; font-size: .86rem; font-weight: 500; color: var(--color-ink-2); background: var(--color-surface); border: 1px solid var(--color-line); border-radius: 999px; padding: .38rem .8rem .38rem .6rem; }
.hero-chips svg, .hero-trust-item svg { color: var(--color-primary); }
.hero-word { font-family: var(--font-heading); font-weight: 900; font-size: clamp(2.6rem, 1rem + 7.5vw, 7.5rem); line-height: .92; letter-spacing: -.035em; text-transform: uppercase; margin: 0; }
/* Photo stack (light / warm heroes) */
.photo-stack { position: relative; aspect-ratio: 4 / 4.6; }
.photo-stack__main { position: absolute; inset: 0 0 8% 12%; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); clip-path: polygon(0 0, 100% 0, 100% 100%, 9% 100%, 0 92%); }
.photo-stack__main img { width: 100%; height: 100%; object-fit: cover; }
.photo-stack__second { position: absolute; left: 0; bottom: 0; width: 44%; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid var(--color-paper); }
.photo-stack__second img { width: 100%; height: 100%; object-fit: cover; }
.photo-stack__tag { position: absolute; right: 0; top: 6%; transform: translateX(18%); background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius); padding: .6rem .8rem; box-shadow: var(--shadow); display: grid; gap: .1rem; color: var(--color-ink); }
.photo-stack__tag b { font-family: var(--font-accent); font-size: 1.35rem; letter-spacing: .02em; line-height: 1; color: var(--color-primary); }
.photo-stack__tag span { font-size: .78rem; color: var(--color-muted); }
/* Compact hero form card — desktop only; mobile uses the estimate dialog */
.hero-form-card { background: color-mix(in srgb, var(--color-surface) 92%, transparent); backdrop-filter: blur(10px); border: 1px solid var(--color-line); border-radius: var(--radius-lg); padding: 1.35rem 1.35rem 1.2rem; box-shadow: var(--shadow-lg); color: var(--color-ink); display: grid; gap: .7rem; }
.hero-form-card h2 { font-size: 1.25rem; }
.hero-form-tagline { margin: 0; font-size: .88rem; color: var(--color-muted); }
.form-text-option { display: flex; align-items: center; justify-content: center; gap: .45rem; margin: .7rem 0 0; font-size: .88rem; color: var(--color-muted); }
.form-text-option svg { flex: 0 0 auto; color: var(--color-accent-dark); }
.form-text-option a { color: inherit; font-weight: 700; text-underline-offset: 2px; min-height: 24px; }
.hero-form .form-row + .form-row { margin-top: .55rem; }
.hero-form input:not([type="checkbox"]), .hero-form select { width: 100%; min-height: 46px; padding: .6rem .8rem; font: inherit; font-size: 16px; color: var(--color-ink); background: var(--color-paper); border: 1px solid var(--color-line); border-radius: var(--radius); }
.hero-form input:not([type="checkbox"]):focus, .hero-form select:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 18%, transparent); }
.hero-form .btn { margin-top: .6rem; }
.hero-form input[type="checkbox"] { width: 20px; height: 20px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--color-primary); }
.hero-form .consent { display: flex; gap: .55rem; align-items: flex-start; font-size: .76rem; line-height: 1.4; margin: .5rem 0 .2rem; }
.form-footnote, .footnote { font-size: .76rem; color: var(--color-muted); margin: .5rem 0 0; }
.hero-form-open { display: none; }
@media (max-width: 900px) {
  .hero-grid, .hero-grid--form { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-text, .hero-copy { max-width: none; }
  .hero-form-card { display: none; }              /* mobile: dialog instead */
  .hero-form-open { display: inline-flex; }
  .photo-stack { aspect-ratio: 16 / 10; } .photo-stack__main { inset: 0; clip-path: none; } .photo-stack__second { display: none; } .photo-stack__tag { transform: none; right: .8rem; top: .8rem; }
}
@media (max-width: 560px) { .hero, .hero-v7 { padding-top: calc(var(--nav-height) + 1.25rem); } .hero-actions .btn, .hero-buttons .btn { width: 100%; } }
/* Interior + legal heroes: compact, sized to content */
.hero--interior, .hero--legal, .hero-interior { padding: calc(var(--nav-height) + clamp(1.5rem, 4vw, 3rem)) 0 clamp(2rem, 4vw, 3rem); background: var(--color-dark); color: #fff; }
.hero--interior h1, .hero--legal h1 { color: #fff; }
.hero--interior .hero-answer, .hero--interior p { color: rgba(255,255,255,.85); }
.hero--interior .hero-form-card p, .hero--photo .hero-form-card p, .hero--type .hero-form-card p { color: var(--color-muted); }
.hero--interior .hero-form-card h2, .hero--photo .hero-form-card h2 { color: var(--color-ink); }
.on-dark .hero-form-card h2, .texture-grain .hero-form-card h2, .closing-cta .hero-form-card h2 { color: var(--color-ink); }
.on-dark .hero-form-card p, .texture-grain .hero-form-card p, .closing-cta .hero-form-card p, .on-dark .hero-form-card .consent, .texture-grain .hero-form-card .consent { color: var(--color-ink-2); }
.on-dark .hero-form-card .hero-form-tagline, .texture-grain .hero-form-card .hero-form-tagline { color: var(--color-muted); }
.hero--interior .eyebrow, .hero--interior .eyebrow-label, .hero--legal .eyebrow { color: var(--color-accent-bright); }
.hero__content, .hero__copy { max-width: 60ch; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .85rem; color: var(--color-muted); margin: 0 0 1rem; padding: 0; list-style: none; }
.breadcrumb ol { display: contents; list-style: none; margin: 0; padding: 0; }
.breadcrumb > .container { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; } /* about/legal pages wrap the <ol> in a container — keep it inline */
.breadcrumb a { color: inherit; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.breadcrumb-sep { opacity: .5; }

/* === Proof strip: verifiable facts only === */
.proof, .stats-band, .stats-section { background: var(--color-paper-2); border-block: 1px solid var(--color-line); padding-block: clamp(2rem, 4vw, 3.5rem); }
.stats-band { color: var(--color-ink); background: var(--color-paper-2); }
.proof-row, .stats-row, .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item, .stat-item, .stat-block { padding: 1.2rem 1.25rem; display: grid; gap: .15rem; border-left: 1px solid var(--color-line); }
.proof-item:first-child, .stat-item:first-child, .stat-block:first-child { border-left: 0; padding-left: 0; }
.proof-item b, .stat-number { font-family: var(--font-accent); font-weight: 700; font-size: 1.7rem; letter-spacing: .01em; line-height: 1; color: var(--color-ink); }
.proof-item b em, .stat-number span { font-style: normal; color: var(--color-primary); }
.proof-item span, .stat-label { font-size: .85rem; color: var(--color-muted); }
.big-number { font-family: var(--font-accent); font-size: 3rem; line-height: 1; color: var(--color-primary); }
@media (max-width: 800px) { .proof-row, .stats-row, .stats-grid { grid-template-columns: 1fr 1fr; } .proof-item:nth-child(3), .stat-item:nth-child(3), .stat-block:nth-child(3) { border-left: 0; padding-left: 0; } }

/* === Ticker / marquee === */
.ticker-strip, .marquee { border-block: 1px solid var(--color-line); background: var(--color-paper-2); overflow: hidden; padding: .8rem 0; }
.ticker-track, .marquee-track { display: flex; gap: 2.5rem; width: max-content; animation: ticker-scroll 40s linear infinite; font-family: var(--font-accent); font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; color: var(--color-ink-2); }
.ticker-track > *, .marquee-track > * { display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; }
@keyframes ticker-scroll { to { transform: translateX(-50%); } }
.badge-strip { display: flex; flex-wrap: wrap; gap: .6rem; }

/* === Recent work gallery (scroll-snap) === */
.gallery-track { display: flex; gap: .9rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .25rem 0 1rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-item { flex: 0 0 auto; width: clamp(220px, 26vw, 320px); aspect-ratio: 4 / 5; scroll-snap-align: start; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--color-paper-2); margin: 0; }
.gallery-item--wide { width: clamp(300px, 38vw, 480px); aspect-ratio: 4 / 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item figcaption { position: absolute; inset: auto 0 0 0; padding: 2.2rem .9rem .8rem; background: linear-gradient(to top, rgba(0,0,0,.82), transparent); color: #fff; font-size: .86rem; line-height: 1.35; }
.gallery-item__tag { display: inline-block; font-family: var(--font-accent); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--color-accent-bright); margin-bottom: .2rem; }
.gallery-item__cap { display: block; }
.gallery-hint { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--color-muted); }
.sp-gallery-grid { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; gap: .9rem; }
.sp-gallery-item { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.sp-gallery-item:first-child { grid-row: span 2; aspect-ratio: auto; }
.sp-gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.sp-gallery-item figcaption { position: absolute; inset: auto 0 0 0; padding: 1.6rem .8rem .7rem; background: linear-gradient(to top, rgba(0,0,0,.8), transparent); color: #fff; font-size: .82rem; }
@media (max-width: 700px) { .sp-gallery-grid { grid-template-columns: 1fr; grid-template-rows: auto; } .sp-gallery-item:first-child { grid-row: auto; aspect-ratio: 4 / 3; } }

/* === Services: featured grid + tinted cards (required component classes) === */
.services-grid, .svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.services-grid--featured > :first-child, .svc--featured { grid-column: span 2; grid-row: span 2; }
.service-card-with-image, .svc { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: var(--color-surface); border: 1px solid var(--color-line); text-decoration: none; color: inherit; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.service-card-with-image:hover, .svc:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--color-primary) 35%, var(--color-line)); }
.card-tint-1 { background: var(--color-card-tint-1); } .card-tint-2 { background: var(--color-card-tint-2); } .card-tint-3 { background: var(--color-card-tint-3); } .card-tint-neutral { background: var(--color-card-tint-neutral); }
.svc--tint-2 { background: var(--color-card-tint-2); } .svc--tint-3 { background: var(--color-card-tint-3); }
.service-card__image, .svc__photo { position: relative; aspect-ratio: 5 / 3; overflow: hidden; }
.service-card__image img, .svc__photo img { width: 100%; height: 100%; object-fit: cover; }
.services-grid--featured > :first-child .service-card__image, .svc--featured .svc__photo { aspect-ratio: auto; min-height: 240px; flex: 1; }
.services-grid--featured > :first-child { display: grid; grid-template-rows: minmax(240px, 1fr) auto; } /* image row fills the 2x2 tile, body hugs its content (2026-09-04) */
.services-grid--featured > :first-child .service-card__image { height: 100%; min-height: 240px; }
.services-grid--featured > :first-child .service-card__image picture, .services-grid--featured > :first-child .service-card__image img { height: 100%; }
@media (max-width: 720px) { .services-grid--featured > :first-child { display: flex; } .services-grid--featured > :first-child .service-card__image { height: auto; aspect-ratio: 5 / 3; } }
.services-grid--featured > :first-child .service-card__image::after, .svc__photo[data-label]::after { content: attr(data-featured-label); position: absolute; top: 1rem; left: 1rem; font-family: var(--font-accent); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; background: var(--color-accent); color: var(--color-ink); padding: .35rem .6rem; border-radius: var(--radius-sm); }
.svc__photo[data-label]::after { content: attr(data-label); }
.services-grid--featured > :first-child[data-featured-label]::after { content: attr(data-featured-label); position: absolute; top: 1rem; left: 1rem; font-family: var(--font-accent); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; background: var(--color-accent); color: var(--color-ink); padding: .35rem .6rem; border-radius: var(--radius-sm); z-index: 1; }
.service-card__body, .svc__body { padding: 1.25rem 1.25rem 1.35rem; display: grid; gap: .55rem; align-content: start; flex: 1; }
.service-card__icon, .svc__icon { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; color: var(--color-primary); background: color-mix(in srgb, var(--color-primary) 12%, white); }
.service-card__icon svg, .svc__icon svg { width: 22px; height: 22px; }
.service-card__image + .service-card__body .service-card__icon { margin-top: -42px; position: relative; z-index: 1; background: var(--color-surface); box-shadow: var(--shadow); }
.service-card-with-image h3, .svc h3 { font-size: 1.08rem; }
.service-card__desc, .svc p { margin: 0; font-size: .92rem; color: var(--color-ink-2); }
.service-card-with-image ul { list-style: none; margin: .2rem 0 0; padding: .6rem 0 0; border-top: 1px solid var(--color-line); display: grid; gap: .3rem; }
.service-card-with-image ul li { font-size: .88rem; color: var(--color-ink-2); padding-left: 1.1rem; position: relative; }
.service-card-with-image ul li::before { content: "•"; color: var(--color-accent-dark); font-weight: 700; position: absolute; left: .15rem; }
.service-card__cta, .svc__more, .learn-more { margin-top: auto; padding-top: .5rem; font-size: .88rem; font-weight: 600; color: var(--color-primary); text-decoration: none; display: inline-flex; align-items: center; gap: .3rem; }
.service-card__cta::after { content: " →"; }
.services-grid--featured > :first-child h3, .svc--featured h3 { font-size: 1.35rem; }
.svc-groups { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.svc-groups li a { display: inline-flex; align-items: center; gap: .4rem; font-size: .88rem; font-weight: 500; text-decoration: none; color: var(--color-ink-2); background: var(--color-surface); border: 1px solid var(--color-line); border-radius: 999px; padding: .45rem .9rem; }
@media (max-width: 1000px) { .services-grid, .svc-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .services-grid, .svc-grid { grid-template-columns: 1fr 1fr; } .services-grid--featured > :first-child, .svc--featured { grid-column: span 2; grid-row: auto; } }
@media (max-width: 440px) { .services-grid, .svc-grid { grid-template-columns: 1fr; } .services-grid--featured > :first-child, .svc--featured { grid-column: auto; } }
.service-link-card { display: block; padding: 1rem 1.2rem; border: 1px solid var(--color-line); border-radius: var(--radius); background: var(--color-surface); text-decoration: none; color: inherit; font-weight: 600; }
.service-link-card:hover { border-color: var(--color-primary); color: var(--color-primary); }
.service-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .8rem; }

/* === Bento === */
.bento-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(140px, auto); gap: 1rem; }
.bento-large { grid-column: span 8; grid-row: span 2; } .bento-medium { grid-column: span 4; grid-row: span 2; } .bento-small { grid-column: span 4; }
.bento-item, .bento-large, .bento-medium, .bento-small { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--color-surface); border: 1px solid var(--color-line); padding: 1.25rem; }
.bento-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 800px) { .bento-large, .bento-medium, .bento-small { grid-column: span 12; grid-row: auto; } }

/* === About / process / image composition (C6.5, C11) === */
.about-copy { display: grid; gap: 1rem; }
.about-copy p { margin: 0; color: var(--color-ink-2); }
.about-image, .about-right, .frame { position: relative; margin-top: 2.5rem; }
.about-image::before, .frame::before { content: ""; position: absolute; inset: -1.25rem 1.25rem 1.25rem -1.25rem; border: 2px solid var(--color-accent); opacity: .6; border-radius: var(--radius-lg); z-index: 0; }
.about-image-primary, .frame__img, .img-reveal { position: relative; z-index: 1; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.frame__img { aspect-ratio: 4 / 4.4; } .frame__img img { width: 100%; height: 100%; object-fit: cover; }
.img-reveal img { transition: transform .6s var(--ease); } .img-reveal:hover img { transform: scale(1.04); }
.about-stat-card, .stat-overlay, .frame__card { position: absolute; z-index: 2; left: -1.5rem; bottom: -1.5rem; background: var(--color-surface); border-radius: var(--radius); padding: .9rem 1rem; box-shadow: var(--shadow-lg); border: 1px solid var(--color-line); }
.about-image-secondary { position: absolute; z-index: 2; right: -1rem; bottom: -1.5rem; width: 45%; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid var(--color-paper); }
.image-stack { position: relative; }
.img-clipped, .img-diagonal { clip-path: polygon(0 0, 100% 0, 100% 92%, 92% 100%, 0 100%); }
.img-arch { border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; }
.img-blob { border-radius: 58% 42% 55% 45% / 45% 55% 45% 55%; overflow: hidden; }
.img-duotone img { filter: grayscale(1) contrast(1.1); } .img-duotone { position: relative; background: var(--color-primary); } .img-duotone img { mix-blend-mode: screen; opacity: .9; }
.img-framed { box-shadow: 14px 14px 0 var(--color-accent); border-radius: var(--radius); }
.process, .process-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; counter-reset: step; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.process li, .process-steps li, .process-step { counter-increment: step; display: grid; grid-template-columns: 38px 1fr; gap: .2rem .75rem; align-items: start; }
.process li::before, .process-steps li::before, .process-step::before { content: counter(step, decimal-leading-zero); grid-row: span 2; font-family: var(--font-accent); font-size: 1.15rem; color: var(--color-accent-dark); border: 2px solid var(--color-line); border-radius: 50%; width: 38px; height: 38px; display: grid; place-items: center; }
.process li b, .process-steps li b, .process-steps h3, .process-step h3 { grid-column: 2; display: block; font-family: var(--font-heading); font-weight: 800; font-size: 1rem; }
.process li span, .process-steps li span, .process-steps p, .process-step p { grid-column: 2; margin: 0; font-size: .9rem; color: var(--color-ink-2); }
.process li:nth-child(even), .process-steps li:nth-child(even) { margin-top: 1.25rem; }
@media (max-width: 900px) { .about-image, .about-right, .frame { margin: 1.5rem 1.5rem 2rem 1.25rem; } .process, .process-steps { grid-template-columns: 1fr; } .process li:nth-child(even), .process-steps li:nth-child(even) { margin-top: 0; } }
.timeline { display: grid; gap: 1.5rem; position: relative; padding-left: 1.5rem; border-left: 2px solid var(--color-line); }
.timeline > li { list-style: none; position: relative; }
.timeline > li::before { content: ""; position: absolute; left: calc(-1.5rem - 7px); top: .45rem; width: 12px; height: 12px; border-radius: 50%; background: var(--color-accent); }
.pull-quote { font-family: var(--font-heading); font-size: clamp(1.4rem, 2.6vw, 2.2rem); line-height: 1.25; font-weight: 700; hanging-punctuation: first; max-width: 24ch; color: var(--color-ink); }
.pull-quote::before { content: "“"; color: var(--color-accent-dark); }

/* === Cards (generic) === */
.card, .card-icon { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow); }
.card-icon { display: grid; gap: .6rem; }
.answer-block { border-left: 3px solid var(--color-accent); padding: .8rem 1rem; background: var(--color-paper-2); border-radius: 0 var(--radius) var(--radius) 0; margin: 0 0 1.5rem; max-width: var(--measure); }
.answer-block h3 { font-size: 1.05rem; margin-bottom: .3rem; }

/* === Reviews (scroll-snap, real reviews only) === */
.reviews-track { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .25rem 0 1rem; scrollbar-width: none; }
.reviews-track::-webkit-scrollbar { display: none; }
.review-card { flex: 0 0 min(360px, 85vw); scroll-snap-align: start; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg); padding: 1.35rem; backdrop-filter: blur(8px); display: grid; gap: .6rem; color: #fff; }
.review-stars, .star { color: var(--color-star); }
.review-stars, .stars, .rating-stars { display: flex; align-items: center; gap: .15rem; }
.review-stars svg, .stars svg, .rating-stars svg { fill: currentColor; } /* lucide star is an outline — filled reads as a rating */ /* critical.css sets svg{display:block} — without flex the five stars stack vertically (A&S 2026-09-08) */
.review-text { font-size: .98rem; line-height: 1.55; color: rgba(255,255,255,.88); margin: 0; }
.review-author { display: flex; align-items: center; gap: .6rem; font-size: .85rem; color: rgba(255,255,255,.7); }
.review-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--color-accent); color: var(--color-ink); display: grid; place-items: center; font-weight: 700; }
.review-name { color: #fff; font-weight: 600; } .review-date { opacity: .7; }
.review-badge-strip { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }
.reviews-embed { min-height: 200px; }

/* === FAQ (native details) === */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem; }
.faq, .faq-item { border-top: 1px solid var(--color-line); padding: 1.1rem 0; }
.faq summary, .faq-question { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-family: var(--font-heading); font-weight: 800; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after, details.faq-item summary::after { content: "+"; font-family: var(--font-accent); font-size: 1.4rem; color: var(--color-accent-dark); flex: 0 0 auto; }
.faq[open] summary::after, details.faq-item[open] summary::after { content: "–"; }
.faq p, .faq-answer { margin: .6rem 0 0; color: var(--color-ink-2); font-size: .95rem; max-width: 60ch; }
.faq-icon { color: var(--color-accent-dark); flex: 0 0 auto; }
@media (max-width: 760px) { .faq-grid { grid-template-columns: 1fr; } }

/* === CTA bands === */
.cta-banner, .closing-cta { padding-block: var(--section-pad); position: relative; overflow: clip; }
.cta-banner .container, .closing-cta .container { display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 2rem; align-items: center; }
.cta-banner h2, .closing-cta h2 { margin-bottom: .6rem; }
.cta-banner .actions, .closing-cta .actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.closing-cta::after { content: ""; position: absolute; inset: auto -10% -40% 50%; height: 140%; z-index: -1; background: radial-gradient(closest-side, color-mix(in srgb, var(--color-accent) 22%, transparent), transparent 70%); pointer-events: none; }
@media (max-width: 800px) { .cta-banner .container, .closing-cta .container { grid-template-columns: 1fr; } }

/* === Forms (full form + estimate dialog) === */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.form-grid .full { grid-column: 1 / -1; }
.field, .form-field { display: grid; gap: .3rem; }
.field label, .form-field label { font-size: .82rem; font-weight: 600; color: var(--color-ink-2); }
.field input, .field select, .field textarea, .form-field input, .form-field select, .form-field textarea, .estimate-form input, .estimate-form select, .estimate-form textarea { width: 100%; min-height: 48px; padding: .7rem .85rem; font: inherit; font-size: 16px; color: var(--color-ink); background: var(--color-paper); border: 1px solid var(--color-line); border-radius: var(--radius); transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus, .form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 18%, transparent); }
.consent, .form-field--checkbox, .tcpa-consent, .form-consent-item, .p1-consent-line { display: flex; gap: .6rem; align-items: flex-start; font-size: .8rem; line-height: 1.45; color: var(--color-ink-2); margin: .4rem 0 .9rem; }
.consent input, .form-field--checkbox input, .tcpa-consent input, .form-consent-item input, .p1-consent-line input { width: 20px; height: 20px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--color-primary); }
.consent a, .tcpa-consent a, .form-consent-item a { color: var(--color-primary); }
.form-consent-fieldset { border: 0; margin: 0; padding: 0; }
.form-consent-legend { font-size: .85rem; font-weight: 700; padding: 0; margin-bottom: .4rem; }
.form-disclaimer { font-size: .78rem; color: var(--color-muted); }
.next-steps { display: grid; gap: .9rem; margin: 1rem 0 0; padding: 0; list-style: none; counter-reset: ns; }
/* block + absolute counter: with display:grid the bare text after <strong> became its own grid item in the 28px column (one word per line, suntec pilot 2026-09-08) */
.next-steps li { counter-increment: ns; position: relative; display: block; padding-left: 2rem; font-size: .95rem; color: var(--color-ink-2); }
.next-steps li strong { display: block; color: var(--color-ink); margin-bottom: .15rem; }
.next-steps li::before { content: counter(ns); position: absolute; left: 0; top: 0; font-family: var(--font-accent); color: var(--color-accent-dark); font-size: 1.1rem; }
.nap { display: grid; gap: .5rem; font-size: .95rem; margin-top: 1.4rem; }
.nap div { display: flex; gap: .6rem; align-items: flex-start; }
.nap svg { color: var(--color-primary); flex: 0 0 auto; margin-top: 2px; }
.nap a { color: inherit; text-decoration: none; font-weight: 500; }
.estimate { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .estimate { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .form-grid { grid-template-columns: 1fr; } }
dialog.estimate-dialog { border: 0; border-radius: var(--radius-lg); padding: 0; width: min(560px, calc(100% - 2rem)); max-height: min(92vh, 92svh); box-shadow: var(--shadow-lg); background: var(--color-surface); color: var(--color-ink); }
dialog.estimate-dialog::backdrop { background: rgba(0,0,0,.55); backdrop-filter: blur(3px); }
.dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.35rem .6rem; }
.dialog-close { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--color-paper-2); cursor: pointer; display: grid; place-items: center; color: var(--color-ink); }
.dialog-body { padding: 0 1.35rem 1.35rem; }
.map-embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* === Footer (designed, not four link columns) === */
.site-footer, .footer-v7 { background: var(--color-dark); color: rgba(255,255,255,.82); padding: var(--section-pad) 0 0; position: relative; isolation: isolate; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 2.5rem; }
.footer-brand img, .footer-logo img { width: auto; max-width: 220px; height: auto; margin-bottom: 1rem; }
.footer-brand p, .footer-col p { font-size: .92rem; margin: 0 0 .8rem; }
.site-footer h3, .footer-v7 h3, .footer-col h3 { font-family: var(--font-accent); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--color-accent-bright); margin: 0 0 .9rem; }
.site-footer ul, .footer-v7 ul, .footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer ul a, .footer-v7 ul a { color: rgba(255,255,255,.82); text-decoration: none; font-size: .93rem; }
.site-footer ul a:hover, .footer-v7 ul a:hover { color: #fff; text-decoration: underline; }
.footer-nap, .footer-contact { display: grid; gap: .6rem; font-size: .93rem; }
.footer-nap div, .footer-contact li { display: flex; gap: .55rem; align-items: flex-start; }
.footer-nap svg, .footer-contact svg { color: var(--color-accent-bright); flex: 0 0 auto; margin-top: 2px; }
.footer-nap a, .footer-contact a { color: inherit; text-decoration: none; }
.footer-badges, .footer-trust { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.footer-badges span, .trust-badge { font-family: var(--font-accent); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: .3rem .65rem; }
.footer-legal, .footer-bottom { margin-top: 2.5rem; border-top: 1px solid rgba(255,255,255,.12); padding: 1.2rem 0; }
.footer-legal-inner, .footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem 1.5rem; font-size: .8rem; color: rgba(255,255,255,.6); }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: .3rem 1rem; }
.footer-legal-links a, .footer-credit a { color: rgba(255,255,255,.7); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.footer-legal-links a:hover, .footer-credit a:hover { color: #fff; text-decoration: underline; }
.footer-legal-divider { opacity: .4; }
.footer-entity, .aeo-entity { font-size: .86rem; color: rgba(255,255,255,.7); max-width: 80ch; margin: 2rem 0 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; } }

/* === Cookie bar (slim, after first scroll) + mobile bar (after hero) === */
.cookie-bar, .cookie-banner { position: fixed; left: 1rem; bottom: 1rem; z-index: 940; max-width: 440px; background: var(--color-surface); color: var(--color-ink-2); border: 1px solid var(--color-line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: .6rem .6rem .6rem .9rem; display: flex; align-items: center; gap: .8rem; font-size: .82rem; transform: translateY(calc(100% + 1.5rem)); transition: transform .35s var(--ease); }
.cookie-bar, .cookie-banner { visibility: hidden; transition: transform .35s var(--ease), visibility 0s .35s; }
.cookie-bar.is-visible, .cookie-banner.is-visible { transform: none; visibility: visible; transition: transform .35s var(--ease), visibility 0s; }
.cookie-bar p, .cookie-banner__text { margin: 0; } .cookie-bar a, .cookie-banner a { color: var(--color-primary); }
.cookie-bar button, .cookie-banner__dismiss { flex: 0 0 auto; min-height: 40px; padding: .45rem .9rem; border: 0; border-radius: var(--radius-sm); background: var(--color-ink); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.mobile-cta, .mobile-cta-bar { position: fixed; inset: auto 0 0 0; z-index: 930; display: none; grid-template-columns: 1fr 1fr; gap: .5rem; padding: .5rem .6rem calc(.5rem + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--color-paper) 94%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--color-line); transform: translateY(110%); transition: transform .3s var(--ease); }
.mobile-cta-bar--3 { grid-template-columns: 1fr 1fr 1fr; }
.mobile-cta.is-visible, .mobile-cta-bar.is-visible { transform: none; }
.mobile-cta-bar a, .mobile-cta-bar button { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 46px; border-radius: var(--radius); font-weight: 600; text-decoration: none; font-size: .95rem; }
.mobile-cta-bar__call { background: var(--color-primary); color: #fff; } .mobile-cta-bar__estimate { background: var(--color-accent); color: var(--color-ink); } .mobile-cta-bar__text { background: var(--color-paper-2); color: var(--color-ink); }
@media (max-width: 760px) { .mobile-cta, .mobile-cta-bar { display: grid; } body { padding-bottom: 70px; } .cookie-bar, .cookie-banner { left: .6rem; right: .6rem; bottom: 76px; max-width: none; } }
.back-to-top { position: fixed; right: 1rem; bottom: 1rem; z-index: 920; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--color-line); background: var(--color-surface); color: var(--color-ink); display: none; place-items: center; cursor: pointer; }
.back-to-top.visible { display: grid; }
@media (max-width: 760px) { .back-to-top { display: none !important; } }

/* === Blog + legal === */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.blog-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: var(--color-surface); border: 1px solid var(--color-line); text-decoration: none; color: inherit; }
.blog-card__image { aspect-ratio: 16 / 10; overflow: hidden; } .blog-card__image img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__body { padding: 1.2rem; display: grid; gap: .5rem; }
.blog-card__category { font-family: var(--font-accent); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--color-accent-dark); }
.blog-card__title { font-size: 1.1rem; } .blog-card__excerpt { font-size: .92rem; color: var(--color-ink-2); margin: 0; }
.blog-card__meta { font-size: .8rem; color: var(--color-muted); } .blog-card__cta { font-weight: 600; color: var(--color-primary); }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr 1fr; } } @media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-post__header { max-width: 60ch; } .blog-post__meta { font-size: .85rem; color: var(--color-muted); }
.blog-post__featured-image { border-radius: var(--radius-lg); overflow: hidden; margin: 1.5rem 0; }
.blog-post__content { max-width: var(--measure); font-size: 1.05rem; line-height: 1.7; }
.blog-post__content h2 { margin-top: 2.2rem; margin-bottom: .6rem; } .blog-post__content h3 { margin-top: 1.6rem; margin-bottom: .4rem; }
.blog-post__content img { border-radius: var(--radius); margin: 1.5rem 0; }
.blog-post__related-services, .blog-post__related-articles { margin-top: 3rem; }
.legal-prose { max-width: 68ch; font-size: .98rem; line-height: 1.7; }
.legal-prose h2 { margin-top: 2rem; margin-bottom: .5rem; font-size: 1.35rem; } .legal-prose h3 { margin-top: 1.4rem; margin-bottom: .4rem; }
.legal-disclaimer { border-left: 3px solid var(--color-accent); padding: .8rem 1rem; background: var(--color-paper-2); font-size: .9rem; margin-top: 2rem; }

/* === Motion: fail-open. Hidden ONLY when JS has loaded; observer reveals;
   2.5 s safety net in main.js. No scroll-timeline reveals (non-scrolling
   renderers such as Googlebot would see opacity 0 below the fold). === */
html.js-anim .reveal, html.js-anim .reveal-up, html.js-anim .reveal-down, html.js-anim .reveal-left, html.js-anim .reveal-right, html.js-anim .reveal-scale, html.js-anim [data-animate] { opacity: 0; transition: opacity .6s var(--ease), transform .6s var(--ease); }
html.js-anim .reveal, html.js-anim .reveal-up, html.js-anim [data-animate] { transform: translateY(18px); }
html.js-anim .reveal-down { transform: translateY(-18px); }
html.js-anim .reveal-left { transform: translateX(-24px); }
html.js-anim .reveal-right { transform: translateX(24px); }
html.js-anim .reveal-scale { transform: scale(.96); }
html.js-anim .in, html.js-anim .revealed, html.js-anim .animated { opacity: 1 !important; transform: none !important; }
html.js-anim .reveal-d1, html.js-anim .reveal-delay-1 { transition-delay: .08s } html.js-anim .reveal-d2, html.js-anim .reveal-delay-2 { transition-delay: .16s } html.js-anim .reveal-d3, html.js-anim .reveal-delay-3 { transition-delay: .24s } html.js-anim .reveal-delay-4 { transition-delay: .32s }
.hero .reveal, .hero .reveal-up, .hero [data-animate], .hero-v7 .reveal { opacity: 1 !important; transform: none !important; } /* never hide above-the-fold */
@view-transition { navigation: auto; }

/* === Motion v8.1 (2026-10-22, owner-approved set — quiet, once, zero layout cost).
   Everything here is pure CSS or already wired in main.js; pages add NO classes.
   1. Hero photo drift: the hero image eases from 1.0 to 1.08 over ~28 s and back
      (transform only — no LCP or CLS cost; the <picture> stays the LCP element).
      Two <img> in .hero-bg (second one aria-hidden, loading="lazy") crossfade.
   2. Hero entrance: eyebrow → h1 → answer → actions → chips arrive 80 ms apart on
      load; the form card / visual follows. Starts at opacity .02, not 0, so Chrome
      still counts the h1 as painted for LCP on photo-less heroes.
   3. Logo wipe: the header logo wipes in left→right on the HOME hero only
      (raster logos cannot draw-on; a clip-path wipe reads the same at any size).
   6. Mobile call button: one soft pulse the first time the sticky bar slides in
      (main.js adds .pulse-once once, then removes it).
   7. Service card depth: the photo scales 4 % while the card lifts, hover-capable
      devices only. Reviews stars (google-reviews.php) and the before/after sweep
      (before-after.php) carry their own motion. All of it stops under
      prefers-reduced-motion. === */
@keyframes hero-drift { from { transform: scale(1) translate3d(0, 0, 0); } to { transform: scale(1.08) translate3d(-1.2%, 1%, 0); } }
@keyframes hero-crossfade { 0%, 42% { opacity: 0; } 50%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes hero-in { from { opacity: .02; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes hero-in-soft { from { opacity: .02; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes logo-wipe { from { clip-path: inset(0 100% 0 0); opacity: .4; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
@keyframes cta-pulse { 0% { box-shadow: 0 0 0 0 rgba(var(--color-primary-rgb), .55); } 70% { box-shadow: 0 0 0 14px rgba(var(--color-primary-rgb), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--color-primary-rgb), 0); } }
.hero--photo .hero-bg img, .hero-visual__img img, .photo-stack__main img, .hero-photo img { transform-origin: 55% 45%; animation: hero-drift 28s cubic-bezier(.4, 0, .6, 1) infinite alternate both; will-change: transform; }
.hero--photo .hero-bg img + img, .hero--photo .hero-bg picture + img, .hero--photo .hero-bg picture + picture img { position: absolute; inset: 0; opacity: 0; animation: hero-drift 28s cubic-bezier(.4, 0, .6, 1) infinite alternate both, hero-crossfade 28s linear infinite; }
.hero .hero-text > *, .hero-v7 .hero-text > *, .hero .hero-copy > * { animation: hero-in .55s var(--ease) both; }
.hero .hero-text > :nth-child(2), .hero .hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero .hero-text > :nth-child(3), .hero .hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero .hero-text > :nth-child(4), .hero .hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero .hero-text > :nth-child(5), .hero .hero-copy > :nth-child(5) { animation-delay: .32s; }
.hero .hero-text > :nth-child(n + 6), .hero .hero-copy > :nth-child(n + 6) { animation-delay: .4s; }
.hero .hero-form-card, .hero .hero-visual, .hero .photo-stack, .hero .bento-grid { animation: hero-in-soft .7s var(--ease) .3s both; }
.hero--interior .hero-text > *, .hero--interior .hero__content > *, .hero-interior .hero-text > * { animation-duration: .45s; }
body:has(.hero:not(.hero--interior):not(.hero-interior):not(.hero--legal)) .site-header .site-logo img { animation: logo-wipe .75s var(--ease) .1s both; }
.mobile-cta-bar.pulse-once .mobile-cta-bar__call, .mobile-cta.pulse-once .mobile-cta-bar__call { animation: cta-pulse 1.3s var(--ease) .45s 1 both; }
.service-card__image img, .svc__photo img { transition: transform .6s var(--ease); transform-origin: 50% 50%; }
@media (hover: hover) { .service-card-with-image:hover .service-card__image img, .svc:hover .svc__photo img, .service-card-with-image:focus-visible .service-card__image img { transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  html.js-anim .reveal, html.js-anim .reveal-up, html.js-anim .reveal-down, html.js-anim .reveal-left, html.js-anim .reveal-right, html.js-anim .reveal-scale, html.js-anim [data-animate] { opacity: 1; transform: none; }
  .ticker-track, .marquee-track, .floating-ring, .float-animate, .float-animate-slow { animation: none; }
  .hero--photo .hero-bg img, .hero-visual__img img, .photo-stack__main img, .hero-photo img, .hero--photo .hero-bg img + img, .hero--photo .hero-bg picture + img, .site-header .site-logo img, .mobile-cta-bar.pulse-once .mobile-cta-bar__call, .mobile-cta.pulse-once .mobile-cta-bar__call { animation: none; opacity: 1; transform: none; clip-path: none; }
  .hero--photo .hero-bg img + img, .hero--photo .hero-bg picture + img { display: none; }
  .hero .hero-text > *, .hero .hero-copy > *, .hero .hero-form-card, .hero .hero-visual, .hero .photo-stack, .hero .bento-grid { animation: none; opacity: 1; transform: none; }
}

/* === Responsive spacing === */
@media (max-width: 768px) { section, .section { padding-block: var(--section-pad-mobile); } }

/* === Hero v2 (owner preference 2026-09-02, J&J): the photo carries the right
   half out to the viewport edge and the compact estimate card floats over it.
   Use when the client has one strong landscape/portrait photo. === */
.hero-grid--visual { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: center; }
.hero-visual { position: relative; min-height: 560px; }
.hero-visual__img { position: absolute; inset: 0; right: calc(-1 * max(0px, (100vw - var(--container)) / 2)); border-radius: var(--radius-lg) 0 0 var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-visual__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.hero-visual .photo-stack__tag { position: absolute; right: 1rem; top: 1rem; transform: none; z-index: 2; }
.hero-visual .hero-form-card { position: absolute; left: -2rem; bottom: 1.5rem; width: 320px; z-index: 3; display: grid; }
@media (max-width: 1120px) { .hero-visual .hero-form-card { left: 1rem; } }
@media (max-width: 900px) { .hero-grid--visual { grid-template-columns: 1fr; gap: 1.5rem; } .hero-visual { min-height: 0; aspect-ratio: 16 / 10; } .hero-visual__img { right: 0; border-radius: var(--radius-lg); } .hero-visual .hero-form-card { display: none; } }

/* ============================================================================
   === v9 KIT === (creative-direction standard, 2026-10-30) — appended to the v7 scaffold.
   Token-driven: every colour is a scaffold token, so the direction's palette (Phase 2 Step 0)
   flows through. Adds: pill buttons, callouts, ring eyebrow mark, v9 hero (visual + ground
   line + cutout), parts-board services (same QA class contract), postcards, interior kit,
   process line, compact phone cards, scroller hygiene, reduced motion.
   Pages/directions override by appending their own layer BELOW this block.
   ============================================================================ */
:root {
  --fs-h1: clamp(2.15rem, 1.35rem + 2.3vw, 3rem);          /* 48px desktop / 34px phone — copy-gated (≤8 words, ≤2 lines desktop) */
  --fs-h2: clamp(1.6rem, 1.05rem + 1.55vw, 2.25rem);
  --radius-xl: 22px;
}
h1, .hero-title { font-size: var(--fs-h1); line-height: 1.05; letter-spacing: -.01em; text-wrap: balance; }
h2, .section-title { font-size: var(--fs-h2); line-height: 1.1; text-wrap: balance; }
h3, .service-card-with-image h3, .faq-item h3, .faq-question, .card h3, .blog-card__title { font-family: var(--font-body); font-weight: 700; }  /* display face on H1/H2 only */
.hero--long .hero-title { font-size: clamp(1.8rem, 1.2rem + 1.5vw, 2.5rem); }
.eyebrow, .eyebrow-label, .section-subtitle, .stat-label, .fig, .proof-row li, .hero-photo__small { font-family: var(--font-accent); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow, .eyebrow-label { display: inline-flex; align-items: center; gap: .55rem; font-size: .76rem; color: var(--color-accent-dark); }
.eyebrow::before, .eyebrow-label::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid currentColor; box-shadow: inset 0 0 0 2px var(--color-paper), inset 0 0 0 4px currentColor; }
.section--dark .eyebrow, .on-dark .eyebrow, .section--dark .eyebrow-label { color: var(--color-accent-bright); }
.callout { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--color-ink); color: var(--color-ink); background: var(--color-paper); font-family: var(--font-accent); font-weight: 700; font-size: .74rem; flex: 0 0 auto; }
.callout--fill { background: var(--color-accent); border-color: var(--color-ink); }

/* buttons: pills, body face */
.btn { border-radius: 999px; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
.navbar-phone, .link-pill { border-radius: 999px; border: 1.5px solid color-mix(in srgb, currentColor 35%, transparent); padding: .55rem 1rem; }

/* v9 hero: copy | visual | form. Visual = real photo in the direction's mask, drift + optional crossfade. */
.hero--v9 { position: relative; overflow: clip; padding-bottom: clamp(7rem, 12vw, 11rem); }
.hero--v9 .hero-photo, .hero-figure { position: relative; z-index: 1; overflow: hidden; border-radius: 999px 999px var(--radius-xl) var(--radius-xl); aspect-ratio: 4 / 5; max-height: 560px; background: var(--color-paper-2); isolation: isolate; margin: 0; }
.hero--v9 .hero-photo picture, .hero--v9 .hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; max-width: none !important; }
.hero--v9 .hero-photo > picture:first-child img { transform-origin: 55% 45%; animation: v9-drift 28s cubic-bezier(.4,0,.6,1) infinite alternate both; will-change: transform; }
.hero--v9 .hero-photo picture + picture { position: absolute; inset: 0; }
.hero--v9 .hero-photo picture + picture img { opacity: 0; animation: v9-drift 28s cubic-bezier(.4,0,.6,1) infinite alternate both, v9-crossfade 28s linear infinite; }
.hero--v9 .hero-photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 6px var(--color-paper), inset 0 0 0 10px var(--color-secondary); pointer-events: none; z-index: 2; }
.hero--v9 .hero-photo figcaption { position: absolute; left: 1rem; bottom: 1rem; z-index: 3; background: var(--color-paper); border-radius: 12px; padding: .5rem .8rem; box-shadow: var(--shadow); }
.hero-photo__big { font-family: var(--font-heading); font-weight: 700; font-size: 1rem; color: var(--color-ink); }
.hero-photo__small { font-size: .62rem; color: var(--color-accent-dark); }
@keyframes v9-drift { from { transform: scale(1) translate3d(0,0,0); } to { transform: scale(1.08) translate3d(-1.2%, 1%, 0); } }
@keyframes v9-crossfade { 0%, 42% { opacity: 0; } 50%, 92% { opacity: 1; } 100% { opacity: 0; } }
.ground-line { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: clamp(50px, 6vw, 90px); z-index: 2; display: block; }
.hero-cutout { position: absolute; right: clamp(1rem, 4vw, 5rem); bottom: calc(clamp(50px, 6vw, 90px) * .55 - 8px); width: clamp(100px, 8.5vw, 130px); height: auto; z-index: 3; filter: drop-shadow(0 14px 18px rgba(0,0,0,.3)); pointer-events: none; }
.hero-chips li { border-radius: 999px; }
.hero-form-card { border-radius: var(--radius-xl); border-top: 4px solid var(--color-accent); }

/* interior kit: one inner hero for every page type */
.sp-badge { width: 120px; height: 92px; object-fit: cover; border-radius: 16px; background: #fff; border: 1px solid var(--color-line); padding: 3px 5px; margin-bottom: .2rem; }
.hero-postcard { margin: 0; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--color-line); background: var(--color-paper-2); }
.hero-postcard picture, .hero-postcard img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 60%; max-width: none !important; }
.hero--area .hero-motif, .hero--service .hero-motif { display: none; }

/* proof strip */
.proof-row li { font-size: .72rem; }
.proof-row li svg { color: var(--color-accent); }

/* services = parts board (REQUIRED component classes unchanged) */
.service-card-with-image { position: relative; border-radius: var(--radius-lg); }
.service-card__image { position: relative; }
.service-card__image .callout { position: absolute; top: .8rem; right: .8rem; z-index: 2; }
.service-card__body { position: relative; padding-top: 2.3rem; }
.service-card__badge { position: absolute; left: .9rem; top: -42px; width: 104px; height: 80px; padding: 3px 5px; background: #fff; border: 1px solid var(--color-line); border-radius: 16px; box-shadow: var(--shadow); object-fit: cover; z-index: 2; }
.service-card__badge + .service-card__icon { display: none; }   /* a generated badge replaces the Lucide icon */
.service-card__desc { border-top: 2px dashed var(--color-line); }
.service-card__cta, .part__more { font-family: var(--font-accent); font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--color-accent-dark); }
.parts-hint { display: none; }

/* postcards (area links) */
.postcard-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .9rem; margin: 1.25rem 0 .5rem; }
.postcard { display: block; text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.postcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.postcard__art { aspect-ratio: 3 / 2; overflow: hidden; background: var(--color-paper-2); } .postcard__art img { width: 100%; height: 100%; object-fit: cover; }
.postcard__body { display: block; padding: .7rem .8rem .8rem; font-weight: 700; font-size: .9rem; color: var(--color-ink); }
@media (max-width: 1000px) { .postcard-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .postcard-row { grid-template-columns: 1fr 1fr; } }

/* process on a line */
.process-grid { position: relative; }
.process-grid::before { content: ""; position: absolute; left: 12%; right: 12%; top: 26px; border-top: 3px dashed color-mix(in srgb, var(--color-secondary) 60%, transparent); }
.process-number { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--color-paper); border: 3px solid var(--color-ink); color: var(--color-ink); font-family: var(--font-accent); font-weight: 700; font-size: 1.15rem; line-height: 1; box-shadow: 0 0 0 5px var(--color-paper); position: relative; z-index: 1; }
.process-number::before { content: none; }

/* stats / dark band numbers in the display face */
.stat-number { font-family: var(--font-heading); font-weight: 700; color: var(--color-accent); }

/* footer, scrollers */
.footer-logo img { height: auto !important; max-height: none !important; }
.gallery-track, .reviews-track, .hero-chips, .services-grid--shelf { scroll-snap-type: x proximity !important; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scroll-padding-inline: 1rem; }

/* ---- mobile layer (≤ 900 px): photo-first hero, scroll-row chips, reordered copy ---- */
@media (max-width: 900px) {
  .hero--v9 { padding-bottom: clamp(3.5rem, 12vw, 6rem); }
  .hero-cutout, .ground-line .marker { display: none; }
  .hero--v9 .hero-photo, .hero-grid--photo .hero-photo { display: block !important; order: -1; aspect-ratio: 16 / 9; max-height: 170px; width: 100%; margin: 0; border-radius: 48% 48% 20px 20px / 60% 60% 20px 20px; }
  .hero--v9 .hero-photo > picture:first-child img { animation: none; object-position: 50% 60%; }
  .hero--v9 .hero-photo picture + picture { display: none; }
  .hero--v9 .hero-photo figcaption { padding: .35rem .6rem; }
  .hero--v9 .hero-copy, .hero--service .hero-copy, .hero--area .hero-copy, .hero-text { display: flex; flex-direction: column; }
  .hero-copy > .hero-rating, .hero-text > .hero-rating, .hero-copy > .eyebrow, .hero-text > .eyebrow { order: 0; }
  .hero-copy > h1, .hero-text > h1 { order: 1; }
  .hero-copy > .hero-actions, .hero-text > .hero-actions { order: 2; }
  .hero-copy > .hero-chips, .hero-text > .hero-chips { order: 3; }
  .hero-copy > .hero-subtitle, .hero-copy > .hero-answer, .hero-text > .hero-answer { order: 4; margin-top: .25rem; }
  .sp-badge { display: none; }
  .hero-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -1rem; padding: .1rem 1rem .3rem; }
  .hero-chips li { white-space: nowrap; flex: 0 0 auto; }
  .process-grid::before { left: 25px; right: auto; top: 26px; bottom: 26px; border-top: 0; border-left: 3px dashed color-mix(in srgb, var(--color-secondary) 60%, transparent); }
  .process-step { padding-left: 70px; position: relative; } .process-number { position: absolute; left: 0; top: 0; }
}
/* ---- phones (≤ 720 px): services shelf on the home page, thumbnail rows on hubs/blog ---- */
@media (max-width: 720px) {
  .services-grid--shelf { display: flex; overflow-x: auto; gap: .75rem; padding: .25rem 1rem .9rem; margin: 0 -1rem; scrollbar-width: none; }
  .services-grid--shelf::-webkit-scrollbar { display: none; }
  .services-grid--shelf .service-card-with-image { flex: 0 0 min(72vw, 300px); scroll-snap-align: start; }
  .services-grid--shelf .service-card__image { aspect-ratio: 16 / 10; }
  .services-grid--shelf .service-card__desc { display: none; }
  .services-grid--shelf + .parts-hint, .parts-hint { display: flex; align-items: center; gap: .4rem; margin: 1rem 0 .4rem; font-family: var(--font-accent); font-weight: 700; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--color-muted); }
  .services-grid:not(.services-grid--shelf) .service-card-with-image { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: stretch; }
  .services-grid:not(.services-grid--shelf) .service-card__image { aspect-ratio: auto !important; height: 100%; min-height: 128px; }
  .services-grid:not(.services-grid--shelf) .service-card__image picture, .services-grid:not(.services-grid--shelf) .service-card__image img { height: 100%; object-fit: cover; }
  .services-grid:not(.services-grid--shelf) .service-card__body { padding: .8rem .9rem .85rem; gap: .25rem; }
  .services-grid:not(.services-grid--shelf) .service-card__icon, .services-grid:not(.services-grid--shelf) .service-card__badge { display: none; }
  .services-grid:not(.services-grid--shelf) h3 { font-size: 1.02rem; margin: 0; }
  .services-grid:not(.services-grid--shelf) .service-card__desc { font-size: .84rem; margin: .2rem 0 0; }
  .services-grid:not(.services-grid--shelf) .service-card__desc li + li + li { display: none; }
  .blog-card:not(.blog-card--featured) { display: grid; grid-template-columns: 118px minmax(0, 1fr); }
  .blog-card:not(.blog-card--featured) .blog-card__image-link, .blog-card:not(.blog-card--featured) .blog-card__image { aspect-ratio: auto; height: 100%; min-height: 132px; }
  .blog-card:not(.blog-card--featured) .blog-card__excerpt { display: none; }
  .blog-card:not(.blog-card--featured) .blog-card__content, .blog-card:not(.blog-card--featured) .blog-card__body { padding: .8rem .9rem .85rem; }
  .blog-card:not(.blog-card--featured) .blog-card__title { font-size: 1rem; line-height: 1.25; }
}
@media (prefers-reduced-motion: reduce) { .hero--v9 .hero-photo img { animation: none !important; } .hero--v9 .hero-photo picture + picture img { opacity: 0; } .postcard, .service-card-with-image { transition: none; } }

/* ---- v9.1 additions (2026-11-02) — benchmarked against deslerpainting.com; rules + gates in creative-direction-v9.md §4.1 ---- */

/* 1. Services dropdown with a CTA card (every build, desktop). Markup inside <li class="nav-dropdown">:
      <div class="nav-dropdown-menu nav-dropdown-menu--cta" style="display:none"><ul class="dropdown__list">…</ul><div class="dropdown__cta">…</div></div>
      Mega (≥ 6 services or natural groups): nav-dropdown-menu--mega with 2–3 .dropdown__group columns (label + list), card LAST — never an empty column. */
.nav-dropdown-menu--cta, .nav-dropdown-menu--mega { display: none; padding: 0; overflow: hidden; border-top: 4px solid var(--color-accent); border-radius: var(--radius-lg); min-width: 0; }
.nav-dropdown:hover .nav-dropdown-menu--cta, .nav-dropdown:focus-within .nav-dropdown-menu--cta, .has-dropdown:hover .nav-dropdown-menu--cta, .has-dropdown:focus-within .nav-dropdown-menu--cta,
.nav-dropdown:hover .nav-dropdown-menu--mega, .nav-dropdown:focus-within .nav-dropdown-menu--mega, .has-dropdown:hover .nav-dropdown-menu--mega, .has-dropdown:focus-within .nav-dropdown-menu--mega { display: grid !important; }
.nav-dropdown-menu--cta { grid-template-columns: minmax(230px, 1fr) 290px; width: max-content; max-width: min(660px, calc(100vw - 2rem)); }
.nav-dropdown:has(> .nav-dropdown-menu--mega), .has-dropdown:has(> .nav-dropdown-menu--mega) { position: static; }   /* the panel centres on the header, not the link */
.nav-dropdown-menu--mega { left: 50%; transform: translateX(-50%); grid-template-columns: repeat(var(--mega-cols, 2), minmax(0, 1fr)) 300px; width: min(1040px, calc(100vw - 2rem)); }
.dropdown__list, .dropdown__group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; align-content: start; }
.dropdown__list { padding: .6rem; }
.dropdown__group { padding: .6rem; }
.dropdown__group + .dropdown__group { border-left: 1px solid var(--color-line); }
.dropdown__label { display: block; margin: .3rem .7rem .4rem; padding-bottom: .4rem; border-bottom: 1px solid var(--color-line); font-family: var(--font-accent); font-weight: 700; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--color-muted); }
.nav-dropdown-menu--cta a, .nav-dropdown-menu--mega a { font-weight: 600; }
.dropdown__cta { background: var(--color-dark); color: #fff; padding: 1.15rem 1.25rem 1.25rem; display: grid; align-content: space-between; gap: 1.1rem; }
.dropdown__cta h3 { margin: 0 0 .35rem; font-family: var(--font-body); font-weight: 700; font-size: 1.04rem; line-height: 1.2; color: #fff; }
.dropdown__cta p { margin: 0; font-size: .84rem; line-height: 1.5; color: rgba(255,255,255,.78); }
.dropdown__cta .dropdown__phone { display: inline-flex; align-items: center; gap: .5rem; padding: 0; font-family: var(--font-heading); font-weight: 700; font-size: 1.35rem; line-height: 1.1; color: #fff; text-decoration: none; }
.dropdown__cta .dropdown__phone svg { width: 20px; height: 20px; color: var(--color-accent-bright); }
.dropdown__cta .dropdown__phone:hover, .dropdown__cta .dropdown__phone:focus-visible { background: transparent; color: var(--color-accent-bright); }
.dropdown__cta small { display: block; margin-top: .3rem; font-family: var(--font-accent); font-weight: 700; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.62); }
.dropdown__cta .dropdown__all { display: inline-flex; align-items: center; gap: .35rem; margin-top: .75rem; padding: 0; font-family: var(--font-accent); font-weight: 700; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--color-accent-bright); text-decoration: none; }
.dropdown__cta .dropdown__all:hover, .dropdown__cta .dropdown__all:focus-visible { background: transparent; color: #fff; }

/* 2. Proof strip as a dark chapter break flush under the hero (direction choice). .hero--flush shortens the v9 hero's bottom padding when no ground line is used. */
.proof--dark { background: var(--color-dark); border-block: 0; color: #fff; }
.proof--dark .proof-item { border-left-color: rgba(255,255,255,.12); }
.proof--dark .proof-item b { color: #fff; }
.proof--dark .proof-item b em, .proof--dark .stat-number span { color: var(--color-accent-bright); }
.proof--dark .proof-item span, .proof--dark .stat-label { color: rgba(255,255,255,.72); }
.proof--dark .proof-item svg, .proof--dark .proof-row li svg { color: var(--color-accent-bright); }
.proof--dark .callout { color: var(--color-accent-bright); border-color: var(--color-accent-bright); background: transparent; }
.hero--v9.hero--flush { padding-bottom: clamp(2.5rem, 5vw, 4rem); }

/* 3. Eyebrow with a two-tone rule (accent → secondary) instead of the ring mark: both brand colours on every section head. Per element (.eyebrow--rule) or site-wide (body.eyebrows-rule). */
.eyebrow--rule::before, .eyebrow-label--rule::before, .eyebrows-rule .eyebrow::before, .eyebrows-rule .eyebrow-label::before { width: 36px; height: 3px; border: 0; border-radius: 2px; box-shadow: none; background: linear-gradient(90deg, var(--color-accent) 0 55%, var(--color-secondary) 55% 100%); }
.on-dark .eyebrow--rule::before, .section--dark .eyebrow--rule::before, .on-dark .eyebrow-label--rule::before, .eyebrows-rule .on-dark .eyebrow::before, .eyebrows-rule .on-dark .eyebrow-label::before, .eyebrows-rule .section--dark .eyebrow::before { background: linear-gradient(90deg, var(--color-accent-bright) 0 55%, rgba(255,255,255,.55) 55% 100%); }

/* 4. Outline marquee: dark band, hollow display-face words between the client's mark. Markup: .ticker-strip.ticker-strip--outline > .ticker-track > span.ticker-outline / span.ticker-solid / span.ticker-mark > img — items duplicated for the loop; aria-hidden. Uses the scaffold ticker-scroll + reduced-motion stop. */
.ticker-strip--outline { background: var(--color-dark); border-block: 1px solid rgba(255,255,255,.08); padding: 1.1rem 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8% 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8% 92%, transparent); }
.ticker-strip--outline .ticker-track { gap: 3.5rem; align-items: center; animation-duration: 48s; }
.ticker-strip--outline .ticker-outline, .ticker-strip--outline .ticker-solid { font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.7rem, 3.4vw, 2.8rem); letter-spacing: .02em; line-height: 1; text-transform: uppercase; color: #fff; }
.ticker-strip--outline .ticker-outline { color: transparent; -webkit-text-stroke: 1.5px var(--color-accent-bright); }
.ticker-strip--outline .ticker-mark img { height: clamp(32px, 3.2vw, 48px); width: auto; display: block; }
.ticker-strip--outline:hover .ticker-track { animation-play-state: paused; }
@media (min-width: 768px) { .ticker-strip--outline .ticker-outline { -webkit-text-stroke-width: 2px; } }

/* 5. Featured three + "Also part of the job": > 6 services → 3–4 parts-board tiles, then this compact list of the rest and a See-all tile (never 9 stacked tiles, never a 4×3 grid).
      Markup: div.services-more > span.eyebrow-label + ul.services-more__list > li.services-more__item (svg|img + h3 > a + p) … + li > a.services-more__all */
.services-more { margin-top: clamp(2rem, 4vw, 3rem); padding-top: clamp(1.5rem, 3vw, 2.25rem); border-top: 2px solid var(--color-ink); }
.services-more__list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem 1.5rem; align-items: stretch; }
.services-more__item { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: .25rem .7rem; align-items: start; }
.services-more__item > svg, .services-more__item > img { grid-row: 1 / span 2; width: 24px; height: 24px; margin-top: .1rem; color: var(--color-secondary); object-fit: contain; }
.services-more__item h3 { margin: 0; font-family: var(--font-body); font-weight: 700; font-size: .98rem; line-height: 1.25; text-transform: uppercase; letter-spacing: .01em; }
.services-more__item h3 a { color: var(--color-ink); text-decoration: none; }
.services-more__item h3 a:hover { color: var(--color-accent-dark); }
.services-more__item p { margin: 0; font-size: .86rem; line-height: 1.5; color: var(--color-muted); }
.services-more__all { display: flex; align-items: center; justify-content: space-between; gap: .6rem; height: 100%; min-height: 72px; padding: 1rem 1.25rem; border-radius: var(--radius-lg); background: var(--color-paper-2); border: 1px solid var(--color-line); font-family: var(--font-accent); font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--color-ink); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.services-more__all:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
@media (max-width: 1000px) { .services-more__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .services-more__list { grid-template-columns: 1fr; gap: .8rem; } .services-more__item { align-items: center; } .services-more__item p { display: none; } .services-more__item > svg, .services-more__item > img { grid-row: 1; margin-top: 0; } .services-more__all { min-height: 56px; } }

/* 6. Service area: the home-base postcard reads as the base (tag), an "all of <county>" closer tile, and an out-of-area card so a visitor just past the last town still calls. */
.postcard { position: relative; }
.postcard__tag { position: absolute; top: .6rem; left: .6rem; z-index: 1; padding: .22rem .6rem; border-radius: 999px; background: var(--color-accent); color: var(--color-dark); font-family: var(--font-accent); font-weight: 700; font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; }
.postcard--home { background: var(--color-dark); border-color: var(--color-dark); }
.postcard--home .postcard__body { color: #fff; }
.postcard--all { display: grid; place-items: center; text-align: center; padding: 1rem; background: var(--color-dark-alt); border-color: transparent; color: #fff; font-family: var(--font-body); font-weight: 700; line-height: 1.2; }
.postcard--all small { display: block; margin-top: .3rem; font-family: var(--font-accent); font-weight: 700; font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.62); }
.area-outside { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, 1fr); gap: 1.5rem 2.5rem; align-items: center; margin-top: 1.5rem; padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--radius-lg); border: 1px solid var(--color-line); border-top: 5px solid var(--color-accent); background: var(--color-surface); box-shadow: var(--shadow); }
.area-outside h3 { margin: 0 0 .4rem; font-family: var(--font-body); font-weight: 700; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .01em; }
.area-outside p { margin: 0; color: var(--color-ink-2); }
.area-outside__cta { display: grid; gap: .6rem; padding: 1rem; border-radius: var(--radius); background: var(--color-paper-2); }
.area-outside__cta .eyebrow-label { font-size: .64rem; }
@media (max-width: 720px) { .area-outside { grid-template-columns: 1fr; } }

/* 7. Symptoms band (dark): "signs you need us" — 3–4 cards + a closing row with the phone. Markup: section.section.on-dark.symptoms > .container > .section-head + ul.symptom-grid > li.symptom (svg + h3 + p) … + div.symptoms__close (p > b + text, a.btn.btn-primary tel:) */
.symptom-grid { list-style: none; margin: clamp(1.5rem, 3vw, 2.5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.symptom { padding: 1.4rem 1.5rem 1.5rem; border-radius: var(--radius-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); }
.symptom > svg, .symptom > img { width: 26px; height: 26px; color: var(--color-accent-bright); margin-bottom: .9rem; display: block; }
.symptom h3 { margin: 0 0 .5rem; font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; line-height: 1.25; text-transform: uppercase; letter-spacing: .02em; color: #fff; }
.symptom p { margin: 0; font-size: .92rem; line-height: 1.55; color: rgba(255,255,255,.78); }
.symptoms__close { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-top: clamp(1.5rem, 3vw, 2.5rem); padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); }
.symptoms__close p { margin: 0; max-width: 58ch; }
.symptoms__close p b { color: #fff; font-family: var(--font-accent); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* 8. Diagonal brand stripes (hero-stripes / band-stripes) — ONLY when the logo carries a diagonal; desktop only; painted behind the content at the right edge (isolation keeps them under every child). Reuse on one dark band for the ≥ 4-uses rule. */
.hero-stripes, .band-stripes { position: relative; isolation: isolate; overflow: clip; }
.hero-stripes::before, .hero-stripes::after, .band-stripes::before, .band-stripes::after { content: ""; position: absolute; top: -30%; height: 160%; width: clamp(70px, 7vw, 120px); transform: rotate(28deg); pointer-events: none; z-index: -1; }
.hero-stripes::before, .band-stripes::before { right: 3%; background: var(--color-accent); opacity: .95; }
.hero-stripes::after, .band-stripes::after { right: calc(3% + clamp(95px, 9.5vw, 160px)); background: var(--color-secondary); opacity: .9; }
@media (max-width: 900px) { .hero-stripes::before, .hero-stripes::after, .band-stripes::before, .band-stripes::after { display: none; } }

/* 9. Process around the mascot (process-grid--mascot): 4 .process-step (div) left/right of figure.process-figure (the client's own mascot/cutout — image-lab re-render or cutout, never stock); squares alternate accent/secondary. Phones: figure first, one column. */
.process-grid--mascot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, 300px) minmax(0, 1fr); gap: 1.75rem 2rem; align-items: center; }
.process-grid--mascot::before { content: none; }
.process-grid--mascot .process-figure { grid-row: 1 / span 2; grid-column: 2; margin: 0; }
.process-grid--mascot .process-figure img { width: 100%; height: auto; display: block; filter: drop-shadow(0 18px 22px rgba(0,0,0,.35)); }
.process-grid--mascot .process-step { display: block; position: relative; padding-left: 76px; }
.process-grid--mascot .process-step::before { content: none; }
.process-grid--mascot .process-step h3, .process-grid--mascot .process-step p { grid-column: auto; }
.process-grid--mascot .process-step:nth-of-type(n+3) { grid-column: 3; text-align: right; padding-left: 0; padding-right: 76px; }
.process-grid--mascot .process-number, .process-grid--mascot .step-number { position: absolute; left: 0; top: 0; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 10px; border: 0; box-shadow: none; background: var(--color-accent); color: #fff; font-family: var(--font-accent); font-weight: 700; font-size: 1.15rem; }
.process-grid--mascot .process-step:nth-of-type(n+3) .process-number, .process-grid--mascot .process-step:nth-of-type(n+3) .step-number { left: auto; right: 0; background: var(--color-secondary); }
@media (max-width: 900px) {
  .process-grid--mascot { grid-template-columns: 1fr; gap: 1.25rem; }
  .process-grid--mascot .process-figure { grid-row: 1; grid-column: 1; max-width: 200px; margin: 0 auto .5rem; }
  .process-grid--mascot .process-step, .process-grid--mascot .process-step:nth-of-type(n+3) { grid-column: 1; text-align: left; padding-left: 70px; padding-right: 0; }
  .process-grid--mascot .process-step:nth-of-type(n+3) .process-number, .process-grid--mascot .process-step:nth-of-type(n+3) .step-number { left: 0; right: auto; }
}
/* v9.1.1 (2026-11-03): no dead zone between the link and the panel — the panel starts at the bar's bottom edge and a transparent bridge keeps :hover alive on the way down (the mega panel is positioned against the header, so the old .35rem gap closed it before anything could be clicked) */
.nav-dropdown-menu, .dropdown { top: 100%; }
.nav-dropdown-menu::before, .dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -1.25rem; height: 1.25rem; }
.nav-dropdown-menu--mega { top: 100%; }
.nav-dropdown-menu--mega::before { top: -1.5rem; height: 1.5rem; }
.nav-dropdown-menu--cta, .nav-dropdown-menu--mega { overflow: visible; }   /* the bridge must not be clipped */
.nav-dropdown-menu--cta > *:first-child, .nav-dropdown-menu--mega > *:first-child { border-bottom-left-radius: var(--radius-lg); }
.dropdown__cta { border-radius: 0 calc(var(--radius-lg) - 4px) var(--radius-lg) 0; }
/* open state set by main.js hover-intent (pointer devices): same panels as :hover / :focus-within */
.nav-dropdown.open > .nav-dropdown-menu, .has-dropdown.open > .dropdown, .has-dropdown.open > .nav-dropdown-menu { display: block !important; }
.nav-dropdown.open > .nav-dropdown-menu--cta, .nav-dropdown.open > .nav-dropdown-menu--mega, .has-dropdown.open > .nav-dropdown-menu--cta, .has-dropdown.open > .nav-dropdown-menu--mega { display: grid !important; }
/* ---- end v9.1 additions ---- */
/* === end v9 KIT === */

/* ============================================================================
   === The crossed wands layer === (Zach's Pressure Washing LLC — v9 direction, 2026-11-17)
   Spec: content/design-direction.md. Cut from the client's shield: chrome on jade, the X of
   two wands over a gabled roofline, the four-point "just washed" sparkle.
   Signature motif = THE ROOFLINE (eyebrow chevron · gabled hero mask · roofline band edge ·
   peaked divider · house-shaped callouts). Tokens only below :root.
   ============================================================================ */
:root {
  --chrome-hi: #F6FAF9;                                  /* banner bevel highlight (logo 640,555) */
  --chrome: #C2D2D1;                                     /* banner mid (logo 500,700) */
  --chrome-lo: #86C2C2;                                  /* teal chrome shade (logo 610,610) */
  --chrome-bar: linear-gradient(180deg, var(--chrome-hi) 0%, var(--chrome) 46%, var(--chrome-lo) 54%, var(--chrome-hi) 100%);
  --chrome-sweep: linear-gradient(90deg, transparent 0%, var(--chrome-lo) 12%, var(--chrome-hi) 50%, var(--chrome-lo) 88%, transparent 100%);
  --jade-glow: color-mix(in srgb, var(--color-accent) 22%, transparent);
  --ink-veil: color-mix(in srgb, var(--color-ink) 36%, transparent);
  --on-dark-text: color-mix(in srgb, var(--color-white) 84%, transparent);
  --on-dark-line: color-mix(in srgb, var(--color-white) 14%, transparent);
  --roof-h: clamp(22px, 3.2vw, 46px);                    /* roofline edge height */
  --gable: polygon(50% 0, 100% 24%, 100% 100%, 0 100%, 0 24%);          /* hero mask: house silhouette */
  --gable-low: polygon(50% 0, 100% 30%, 100% 100%, 0 100%, 0 30%);      /* phones: low pitch */
  --house: polygon(50% 0, 100% 36%, 100% 100%, 0 100%, 0 36%);          /* callout / step badge */
  --sparkle: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  --nav-height: 104px; --navbar-height: 104px;
  --radius-lg: 14px;
  --shadow-chrome: 0 18px 40px -22px color-mix(in srgb, var(--color-ink) 55%, transparent);
}

/* ---- MANDATORY base rules (Phase 2 prompt) ---- */
section {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 10vh, 8rem) 0; /* MANDATORY — prevents section collision */
}
section.hero {
  padding: 0; /* hero overrides — full bleed */
}
h1, h2, h3, h4 {
  text-wrap: balance;
  overflow-wrap: anywhere;
}
p {
  overflow-wrap: anywhere;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
  width: 100%;                     /* gutters come from the padding only (no double gutter with the scaffold width) */
}
/* …and the hero padding the scaffold needs for the fixed bar (section.hero{padding:0} alone puts every H1 under the header) */
body section.hero, body section.hero-v7 { padding: calc(var(--nav-height) + clamp(2rem, 5vw, 4rem)) 0 clamp(2.5rem, 5vw, 4rem); }
body section.hero--v9 { padding-bottom: clamp(7rem, 12vw, 11rem); }
body section.hero--v9.hero--flush { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
body section.hero--interior, body section.hero--legal, body section.hero-interior { padding: calc(var(--nav-height) + clamp(1.5rem, 4vw, 3rem)) 0 clamp(2rem, 4vw, 3rem); }
@media (max-width: 900px) { body section.hero--v9 { padding-bottom: clamp(3.5rem, 12vw, 6rem); } }
@media (max-width: 560px) { body section.hero, body section.hero-v7 { padding-top: calc(var(--nav-height) + 1.25rem); } }

/* ---- type: Archivo wide on H1/H2 only, Manrope everywhere else ---- */
h1, h2, .hero-title { font-family: var(--font-heading); font-stretch: 112%; font-weight: 800; letter-spacing: -.012em; }
h3, h4, h5, h6, .faq summary, .process li b, .process-steps h3, .process-step h3, .pull-quote, .hero-photo__big, .brand-name, .logo-name,
.mobile-menu > nav > ul > li > a, .mobile-menu .mobile-menu__links > li > a, .mobile-menu .mm-top > li > a, .mobile-menu-inner > nav > ul > li > a, .mobile-menu-links > li > a { font-family: var(--font-body); font-stretch: 100%; }
h3, h4 { font-weight: 700; letter-spacing: 0; }

/* ---- a11y: focus + skip link on the jade palette (raw jade is < 3:1 on paper) ---- */
:focus-visible { outline: 3px solid var(--color-accent-dark); outline-offset: 3px; }
.on-dark :focus-visible, .section--dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .mobile-menu :focus-visible, .dropdown__cta :focus-visible, .mobile-cta-bar :focus-visible { outline-color: var(--color-accent-bright); }
.skip-link { background: var(--color-ink); color: var(--color-white); }

/* ---- headline accent: the logo's chrome banner bar under the phrase + one four-point sparkle ---- */
h1 .text-accent, h2 .text-accent, .hero-title .text-accent {
  color: var(--color-accent-dark);
  background-image: linear-gradient(var(--color-ink), var(--color-ink)), var(--chrome-bar);
  background-size: 100% 1px, 100% .16em;
  background-position: 0 100%, 0 calc(100% - 1px);
  background-repeat: no-repeat;
  padding-bottom: .12em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
/* The sparkle is an inline mask glued to the last word with a word joiner + no-break space, so it can never wrap onto its own line
   (an inline-block sparkle at a line end dropped to the next line with a stray bar under it). */
h1 .text-accent::after, h2 .text-accent::after, .hero-title .text-accent::after {
  content: "\2060\00a0"; display: inline; padding-left: .02em; background-color: var(--color-accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpolygon points='50,0 61,39 100,50 61,61 50,100 39,61 0,50 39,39'/%3E%3C/svg%3E") no-repeat 100% .18em / .38em .38em;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpolygon points='50,0 61,39 100,50 61,61 50,100 39,61 0,50 39,39'/%3E%3C/svg%3E") no-repeat 100% .18em / .38em .38em;
}
.on-dark h1 .text-accent, .on-dark h2 .text-accent, .section--dark h2 .text-accent, .site-footer .text-accent { color: var(--color-accent-bright); background-image: linear-gradient(var(--color-dark), var(--color-dark)), var(--chrome-bar); }
.on-dark h2 .text-accent::after, .section--dark h2 .text-accent::after { background: var(--chrome-hi); }

/* ---- motif 1 · eyebrow mark: a gable chevron (replaces the kit ring) ---- */
.eyebrow::before, .eyebrow-label::before, .hero-eyebrow::before {
  width: 18px; height: 10px; border: 0; border-radius: 0; box-shadow: none; flex: 0 0 auto;
  background: currentColor; clip-path: polygon(50% 0, 100% 78%, 100% 100%, 86% 100%, 50% 36%, 14% 100%, 0 100%, 0 78%);
}
.hero-eyebrow { color: var(--color-accent-dark); font-family: var(--font-accent); font-weight: 700; letter-spacing: .1em; }

/* ---- motif 2 · hero mask: the house silhouette with a chrome rim (desktop) / low gable (phones) ---- */
.hero--v9 { background:
  radial-gradient(60% 70% at 72% 40%, var(--jade-glow), transparent 70%),
  linear-gradient(180deg, var(--color-paper-2) 0%, var(--color-paper) 58%); }
.hero--v9 .hero-photo { border-radius: 0 0 var(--radius-xl) var(--radius-xl); clip-path: var(--gable); padding: 7px; background: var(--chrome-bar); box-shadow: none; }
.hero--v9 .hero-photo > picture { display: block; width: 100%; height: 100%; clip-path: var(--gable); border-radius: 0 0 calc(var(--radius-xl) - 6px) calc(var(--radius-xl) - 6px); overflow: hidden; }
.hero--v9 .hero-photo picture + picture { inset: 7px; }
.hero--v9 .hero-photo::after { content: none; }
.hero--v9 .hero-photo figcaption { left: 50%; right: auto; bottom: 1.1rem; transform: translateX(-50%); white-space: nowrap; background: var(--color-dark); color: var(--color-white); border: 1px solid var(--chrome-lo); border-radius: 999px; padding: .4rem .9rem; box-shadow: var(--shadow); }
.hero--v9 .hero-photo figcaption .hero-photo__big { color: var(--color-white); font-size: .9rem; }
.hero--v9 .hero-photo figcaption .hero-photo__small { color: var(--color-accent-bright); }
/* signature move — "the wash pass": a grime veil wipes off the plate once on load (transform only; the plate paints from frame 1) */
.hero--v9 .hero-photo::before {
  content: ""; position: absolute; inset: 7px; z-index: 2; pointer-events: none; clip-path: var(--gable);
  background: linear-gradient(90deg, var(--chrome-hi) 0, var(--chrome-hi) 1.2%, var(--ink-veil) 3.5%, var(--ink-veil) 100%);
  transform: translateX(101%);
  animation: wash-pass 1.15s .45s cubic-bezier(.55,.05,.35,1) backwards;
}
@keyframes wash-pass { from { transform: translateX(0); } to { transform: translateX(101%); } }
.hero-form-card { border-top: 0; position: relative; overflow: hidden; }
.hero-form-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--chrome-sweep); }
.hero-form-card::after { content: ""; position: absolute; inset: 5px 0 auto 0; height: 2px; background: var(--color-accent); }

/* ---- motif 3 · dark-band edge: the logo's small–big–small gables ---- */
.edge-roofline-top {
  clip-path: polygon(0 var(--roof-h), 21% var(--roof-h), 29% calc(var(--roof-h) * .42), 37% var(--roof-h), 41% var(--roof-h), 50% 0, 59% var(--roof-h), 63% var(--roof-h), 71% calc(var(--roof-h) * .42), 79% var(--roof-h), 100% var(--roof-h), 100% 100%, 0 100%);
  padding-top: calc(var(--section-pad) + var(--roof-h));
}
section.edge-roofline-top { padding-top: calc(clamp(4rem, 10vh, 8rem) + var(--roof-h)); }

/* ---- motif 4 · divider: hairline with a centred roof peak ---- */
.rule-roofline { position: relative; display: block; height: 14px; margin: 0; border: 0;
  background: linear-gradient(var(--color-line), var(--color-line)) 0 100% / calc(50% - 18px) 2px no-repeat, linear-gradient(var(--color-line), var(--color-line)) 100% 100% / calc(50% - 18px) 2px no-repeat; }
.rule-roofline::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 36px; height: 14px; transform: translateX(-50%); background: var(--color-accent); clip-path: polygon(0 100%, 50% 0, 100% 100%, 86% 100%, 50% 28%, 14% 100%); }
.on-dark .rule-roofline, .site-footer .rule-roofline { background: linear-gradient(var(--on-dark-line), var(--on-dark-line)) 0 100% / calc(50% - 18px) 2px no-repeat, linear-gradient(var(--on-dark-line), var(--on-dark-line)) 100% 100% / calc(50% - 18px) 2px no-repeat; }
.section-head .rule-roofline { width: 160px; margin-top: .3rem; }
.section-head.text-center .rule-roofline, .prose-centered .rule-roofline { margin-inline: auto; }

/* ---- motif 5 · callouts + process numbers sit in small house badges ---- */
.callout { width: 30px; height: 32px; border: 0; border-radius: 0; clip-path: var(--house); background: var(--color-ink); color: var(--color-white); padding-top: 7px; }
.callout--fill { background: var(--color-accent); color: var(--color-ink); }
.process-number { width: 56px; height: 58px; border: 0; border-radius: 0; box-shadow: none; clip-path: var(--house); background: var(--color-ink); color: var(--color-white); padding-top: 12px; }
.process-step:nth-child(even) .process-number { background: var(--color-primary); }
.proof--dark .callout { background: var(--color-accent-bright); color: var(--color-dark); }

/* ---- cards, tiles, postcards: one card style ---- */
.service-card-with-image { border: 1px solid var(--color-line); border-top: 3px solid var(--chrome-lo); background: var(--color-surface); box-shadow: var(--shadow-chrome); }
.service-card__badge { border-radius: 14px; border-color: var(--chrome); }
.postcard { box-shadow: inset 0 0 0 1px var(--chrome); }
.postcard__art { display: block; }
.postcard--home .postcard__tag { background: var(--color-accent); color: var(--color-dark); }
.services-more { border-top: 2px solid var(--color-ink); }

/* ---- dark bands: brushed teal-black with a jade glow ---- */
.on-dark, .section--dark, .texture-grain, .closing-cta, .stats-band { background:
  radial-gradient(55% 80% at 85% 0%, var(--jade-glow), transparent 70%),
  linear-gradient(115deg, var(--color-dark) 0%, var(--color-dark-alt) 60%, var(--color-primary-deep) 130%); color: var(--on-dark-text); }
.ticker-strip--outline .ticker-outline { -webkit-text-stroke-color: var(--chrome); }
.ticker-strip--outline .ticker-solid { color: var(--color-accent-bright); }

/* ---- header: the logo lives on black, so the bar is dark chrome ---- */
.site-header { background: color-mix(in srgb, var(--color-dark) 86%, transparent); border-bottom: 0; }
.site-header.scrolled { background: color-mix(in srgb, var(--color-dark) 96%, transparent); border-bottom: 0; box-shadow: var(--shadow-chrome); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--chrome-sweep); opacity: .55; pointer-events: none; }  /* pointer-events:none — v9.1.1, a bar ::after stole the dropdown hover */
.site-header .navbar { height: 100%; }
.navbar-inner { gap: 1.1rem; }
.site-logo { margin-right: auto; flex: 0 0 auto; }
.site-logo img { height: 92px; width: auto; max-width: none; }
.site-header.scrolled .site-logo img { height: 78px; }
.navbar-links { gap: 0; }
.navbar-links > li > a { padding: .55rem .55rem; font-weight: 600; font-size: .94rem; }
.navbar-links > li > a::after { left: .55rem; right: .55rem; }
.navbar-links .nav-chevron { width: 14px; height: 14px; opacity: .8; transition: transform .2s var(--ease); }
.nav-dropdown:hover .nav-chevron, .nav-dropdown.open .nav-chevron, .nav-dropdown:focus-within .nav-chevron { transform: rotate(180deg); }
.navbar-cta { gap: .6rem; }
.navbar-cta .btn.navbar-phone { font-variant-numeric: tabular-nums; }
.btn-nav-cta { background: var(--color-accent); color: var(--color-ink); border-color: var(--color-accent); }
.btn-nav-cta:hover { background: var(--color-accent-dark); border-color: var(--color-accent-dark); color: var(--color-white); }
/* Services mega panel: three groups + the CTA card */
.nav-dropdown-menu--mega { width: min(1060px, calc(100vw - 2rem)); grid-template-columns: repeat(var(--mega-cols, 3), minmax(0, 1fr)) 290px; }
.dropdown__group a, .dropdown__list a { display: flex; align-items: center; gap: .6rem; color: var(--color-ink); }
.dropdown__group a:hover, .dropdown__list a:hover { background: var(--color-paper-2); }
.dropdown__icon { width: 34px; height: 34px; flex: 0 0 34px; object-fit: contain; border-radius: 8px; background: var(--color-paper); border: 1px solid var(--color-line); padding: 1px; }
.dropdown__cta { position: relative; overflow: hidden; background: radial-gradient(80% 70% at 100% 0%, var(--jade-glow), transparent 70%), var(--color-dark); }
.dropdown__cta .dropdown__mark { position: absolute; right: -14px; bottom: -10px; width: 120px; height: auto; opacity: .16; pointer-events: none; }
.dropdown__cta > * { position: relative; }
/* nav breakpoint: the bar holds logo + 7 links + phone + CTA only from 1200 px up */
@media (max-width: 1199px) {
  :root { --nav-height: 84px; --navbar-height: 84px; }
  .navbar-links, .navbar-cta .navbar-phone { display: none; }
  .hamburger { display: flex; }
  .navbar-cta { margin-left: auto; }
  .hamburger { margin-left: .25rem; }
  .site-logo { margin-right: 0; }
  .site-logo img { height: 70px; }
  .site-header.scrolled .site-logo img { height: 64px; }
}
@media (max-width: 560px) {
  :root { --nav-height: 76px; --navbar-height: 76px; }
  .site-logo img, .site-header.scrolled .site-logo img { height: 60px; }
}
/* mobile menu sheet */
.mobile-menu { background: radial-gradient(70% 50% at 100% 0%, var(--jade-glow), transparent 70%), var(--color-dark); }
.mobile-menu-links > li > a { display: block; padding: .8rem 0; font-weight: 700; font-size: 1.3rem; color: var(--color-white); text-decoration: none; border-bottom: 1px solid var(--on-dark-line); }
.mobile-menu .mobile-submenu a { color: var(--on-dark-text); }
.mobile-menu-cta .btn { width: 100%; }
.mobile-menu-cta .btn-outline-white { color: var(--color-white); }

/* ---- footer: roofline edge, brand column carries the shield ---- */
.site-footer { background: radial-gradient(50% 60% at 10% 0%, var(--jade-glow), transparent 70%), var(--color-dark); color: var(--on-dark-text); }
.site-footer.edge-roofline-top { padding-top: calc(var(--section-pad) + var(--roof-h)); }
.footer-brand img { max-width: 240px; width: 240px; height: auto; margin-bottom: 1.1rem; }
.footer-brand .footer-tagline { color: var(--color-white); font-weight: 600; }
.footer-badges span { border-color: color-mix(in srgb, var(--chrome) 45%, transparent); color: var(--color-white); }
.footer-col h3 { display: flex; align-items: center; gap: .5rem; }
.footer-col h3::before { content: ""; width: 14px; height: 8px; background: var(--color-accent-bright); clip-path: polygon(50% 0, 100% 78%, 100% 100%, 86% 100%, 50% 36%, 14% 100%, 0 100%, 0 78%); }
.footer-nap a:hover, .footer-col a:hover { color: var(--color-white); }
.footer-col .btn { margin-top: 1rem; }
.site-footer h3.footer-more { margin-top: 1.6rem; }
.footer-entity { color: var(--on-dark-text); }
.footer-entity strong { color: var(--color-white); }
.footer-bottom-bar { margin-top: 2rem; padding: 1.2rem 0 1.4rem; border-top: 1px solid var(--on-dark-line); }
.footer-bottom-bar .footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem 1.5rem; font-size: .82rem; color: var(--on-dark-text); }
.footer-bottom-bar a { color: var(--on-dark-text); }
.footer-bottom-bar a:hover { color: var(--color-white); }
.footer-credit a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: underline; text-underline-offset: 3px; }
/* Footer Legal Row (legal-compliance.md) */
.footer-legal-row { display: flex; flex-wrap: wrap; align-items: center; gap: .1rem .55rem; margin: 0 0 .8rem; font-size: .82rem; line-height: 1.4; }
.footer-legal-row a { color: var(--on-dark-text); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.footer-legal-row a:hover, .footer-legal-row a:focus-visible { color: var(--color-white); text-decoration: underline; }
.footer-legal-row .divider { color: color-mix(in srgb, var(--color-white) 35%, transparent); }
@media (max-width: 560px) { .footer-legal-row { gap: 0 .45rem; } .footer-legal-row .divider { display: none; } .footer-legal-row a { min-height: 40px; margin-right: .8rem; } }
.mobile-cta-bar { background: color-mix(in srgb, var(--color-dark) 94%, transparent); border-top: 1px solid var(--on-dark-line); }
.mobile-cta-bar__estimate { background: var(--color-accent); color: var(--color-ink); border: 0; font: inherit; font-weight: 700; cursor: pointer; }
.mobile-cta-bar__call { background: var(--color-primary); color: var(--color-white); }
.dialog-head h2 { font-size: 1.35rem; }
.estimate-dialog .form-row + .form-row { margin-top: .6rem; }
.estimate-dialog .btn { margin-top: .6rem; }

@media (max-width: 900px) {
  .hero--v9 .hero-photo { clip-path: var(--gable-low); border-radius: 0 0 16px 16px; padding: 5px; }
  .hero--v9 .hero-photo > picture { clip-path: var(--gable-low); border-radius: 0 0 12px 12px; }
  .hero--v9 .hero-photo::before { inset: 5px; clip-path: var(--gable-low); }
  .hero--v9 .hero-photo figcaption { bottom: .5rem; padding: .25rem .7rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero--v9 .hero-photo::before { display: none; animation: none; }
  .nav-chevron { transition: none; }
}
.back-to-top__icon { transform: rotate(180deg); }
.mobile-menu-label { display: block; padding: .8rem 0 .2rem; font-weight: 700; font-size: 1.3rem; color: var(--color-white); }
/* ---- v9 hero, three-up on desktop: copy | gabled visual | compact form (Phase 3). 901–1179 px: copy | form, visual hidden. ---- */
.hero-grid--form.hero-grid--photo { grid-template-columns: minmax(0, 1.12fr) minmax(220px, .66fr) minmax(320px, 370px); gap: clamp(1.25rem, 2.6vw, 2.5rem); align-items: center; }
.hero-grid--photo .hero-photo { margin: 0; width: 100%; }
.hero--v9 .hero-photo { max-height: 500px; }
@media (min-width: 901px) and (max-width: 1179px) {
  .hero-grid--form.hero-grid--photo { grid-template-columns: minmax(0, 1fr) minmax(320px, 370px); }
  .hero-grid--form.hero-grid--photo .hero-photo { display: none; }
}
@media (max-width: 900px) { .hero-grid--form.hero-grid--photo { grid-template-columns: minmax(0, 1fr); } }
/* === end The crossed wands layer === */

/* ============================================================================
   === Service pages + services hub (Phase 4, 2026-11-17) ===
   One inner hero (badge · Google rating · H1 · CTA · chips | compact form), one card style, one intro
   pattern, shared by /services/ and every /services/<slug>/. Pages add only their own composition.
   No client photos on file: the generated service illustration (alt says "illustration") sits in the
   roofline frame; it never stands in for a photo of the work.
   ============================================================================ */
/* inner hero — dark band, jade glow, copy | form (phones: illustration strip first) */
.sp-hero { background:
  radial-gradient(48% 70% at 78% 18%, var(--jade-glow), transparent 70%),
  linear-gradient(115deg, var(--color-dark) 0%, var(--color-dark-alt) 62%, var(--color-primary-deep) 130%); }
.sp-hero .hero-grid--form { align-items: center; }
.sp-hero .hero-copy { max-width: 40rem; }
.sp-hero .btn-primary, .sp-close .btn-primary { background: var(--color-accent); color: var(--color-ink); box-shadow: 0 8px 20px -10px var(--jade-glow); }
.sp-hero .btn-primary:hover, .sp-close .btn-primary:hover { background: var(--color-accent-bright); color: var(--color-ink); }
.sp-hero .hero-title { color: var(--color-white); max-width: 20ch; }
.sp-hero .hero-title .text-accent { color: var(--color-accent-bright); background-image: linear-gradient(var(--color-dark), var(--color-dark)), var(--chrome-bar); }
.sp-hero .hero-title .text-accent::after { background: var(--chrome-hi); }
.sp-hero .hero-answer { color: var(--on-dark-text); max-width: 36rem; }
.sp-hero .link-call { color: var(--on-dark-text); }
.sp-hero .link-call svg { color: var(--color-accent-bright); }
.sp-hero .link-call:hover { color: var(--color-white); }
.sp-hero .hero-chips li { background: color-mix(in srgb, var(--color-white) 7%, transparent); border-color: var(--on-dark-line); color: var(--color-white); }
.sp-hero .hero-chips svg { color: var(--color-accent-bright); }
.sp-hero__top { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-4); }
.sp-hero .sp-badge { width: 84px; height: 84px; margin: 0; padding: var(--space-1); object-fit: contain; border-radius: var(--radius-lg); border: 1px solid var(--chrome); background: var(--chrome-hi); box-shadow: var(--shadow-chrome); }
.sp-hero__rating { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; font-size: var(--fs-small); color: var(--on-dark-text); text-decoration: none; }
.sp-hero__rating b { color: var(--color-white); font-weight: 800; }
.sp-hero__rating .stars { color: var(--color-star); }
.sp-hero__rating:hover { color: var(--color-white); }
.sp-hero .hero-photo { display: none; }
@media (max-width: 900px) {
  .sp-hero .hero-grid--form { grid-template-columns: minmax(0, 1fr); }
  .sp-hero .hero-copy { min-width: 0; }
  .sp-hero .hero-photo { display: block !important; order: -1; position: relative; margin: 0; width: 100%; aspect-ratio: auto; height: 150px; max-height: none; padding: 5px; border-radius: 0 0 var(--radius-lg) var(--radius-lg); clip-path: var(--gable-low); background: var(--chrome-bar); }
  .sp-hero__art { display: grid; place-items: center; height: 100%; clip-path: var(--gable-low); border-radius: 0 0 calc(var(--radius-lg) - 4px) calc(var(--radius-lg) - 4px); background:
    radial-gradient(45% 70% at 50% 62%, var(--jade-glow), transparent 72%), linear-gradient(180deg, var(--chrome-hi) 0%, var(--color-paper-2) 100%); }
  .sp-hero__art picture { display: block; height: 100%; padding: var(--space-8) 0 var(--space-2); }
  .sp-hero__art img { height: 100%; width: auto; aspect-ratio: 1; object-fit: contain; }
}
/* breadcrumb strip under the hero */
.sp-crumbs { background: var(--color-paper-2); border-bottom: 1px solid var(--color-line); }
.sp-crumbs .breadcrumb { margin: 0; padding: var(--space-1) 0; color: var(--color-ink-2); }
.sp-crumbs .breadcrumb li { display: inline-flex; align-items: center; gap: var(--space-2); }
.sp-crumbs .breadcrumb a { color: var(--color-accent-dark); font-weight: 600; }
.sp-crumbs .breadcrumb [aria-current] { color: var(--color-ink); font-weight: 600; }

/* intro: answer copy | roofline-framed illustration + at-a-glance card */
.sp-intro { background: var(--color-paper); }
.sp-intro__grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .85fr); gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: start; }
.sp-intro__copy { display: grid; gap: var(--space-4); }
.sp-intro__copy h2 { margin: 0; }
.sp-intro__copy p { margin: 0; color: var(--color-ink-2); max-width: 64ch; }
.sp-intro__copy .answer-block { margin: 0; color: var(--color-ink); }
.sp-intro__copy a, .sp-body-link { color: var(--color-accent-dark); font-weight: 600; text-underline-offset: .18em; }
.last-updated { font-family: var(--font-accent); font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--color-muted); }
.sp-aside { display: grid; gap: var(--space-6); }
.sp-art { position: relative; margin: 0; padding: 6px; aspect-ratio: 1 / 1.08; clip-path: var(--gable); background: var(--chrome-bar); border-radius: 0 0 var(--radius-xl) var(--radius-xl); }
.sp-art__inner { display: grid; place-items: center; height: 100%; clip-path: var(--gable); border-radius: 0 0 calc(var(--radius-xl) - 5px) calc(var(--radius-xl) - 5px); background:
  radial-gradient(55% 50% at 50% 62%, var(--jade-glow), transparent 72%), linear-gradient(180deg, var(--chrome-hi) 0%, var(--color-paper-2) 100%); }
.sp-art__inner picture { display: block; width: 72%; padding-top: 16%; }
.sp-art__inner img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 10px 12px var(--ink-veil)); }
.sp-art figcaption { position: absolute; left: 50%; bottom: var(--space-4); transform: translateX(-50%); white-space: nowrap; padding: var(--space-1) var(--space-3); border-radius: var(--radius-full); border: 1px solid var(--chrome-lo); background: var(--color-dark); color: var(--color-white); font-family: var(--font-accent); font-weight: 700; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; }
.sp-facts { margin: 0; padding: var(--space-6); border-radius: var(--radius-lg); background: var(--color-surface); border: 1px solid var(--color-line); border-top: 3px solid var(--chrome-lo); box-shadow: var(--shadow-chrome); display: grid; gap: var(--space-3); }
.sp-facts dl { margin: 0; display: grid; gap: var(--space-3); }
.sp-signs__head .section-head { margin: 0; }
.sp-facts__title { font-family: var(--font-accent); font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--color-accent-dark); margin: 0; }
.sp-facts div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: var(--space-3); padding-top: var(--space-3); border-top: 1px dashed var(--color-line); }
.sp-facts dt { font-weight: 700; font-size: var(--fs-small); color: var(--color-ink); }
.sp-facts dd { margin: 0; font-size: var(--fs-small); color: var(--color-ink-2); }
.sp-facts dd a { color: var(--color-accent-dark); font-weight: 700; text-decoration: none; }
@media (max-width: 900px) { .sp-intro__grid { grid-template-columns: 1fr; } .sp-art { display: none; } }

/* problem statement: big lede + telltale signs on a bento */
.sp-signs { background: var(--color-surface); }
.sp-signs__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-4) clamp(var(--space-8), 5vw, var(--space-16)); align-items: end; margin-bottom: clamp(var(--space-8), 4vw, var(--space-12)); }
.sp-signs__head .answer-block { margin: 0; }
.sp-lede { margin: 0; font-family: var(--font-heading); font-stretch: 112%; font-weight: 800; font-size: clamp(1.35rem, 1rem + 1.4vw, 2rem); line-height: 1.15; color: var(--color-ink); text-wrap: balance; }
.sp-lede em { font-style: normal; color: var(--color-accent-dark); }
.sp-signs__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--space-4); }
.sp-sign { grid-column: span 3; position: relative; padding: var(--space-6); padding-top: var(--space-12); border-radius: var(--radius-lg); background: var(--color-paper); border: 1px solid var(--color-line); box-shadow: inset 0 0 0 1px var(--chrome-hi); }
.sp-sign:first-child { grid-column: span 4; background: var(--color-dark); border-color: var(--color-dark); color: var(--on-dark-text); }
.sp-sign:nth-child(2), .sp-sign:nth-child(3) { grid-column: span 2; }
.sp-sign:nth-child(4) { grid-column: span 4; }
.sp-sign .callout { position: absolute; top: var(--space-4); left: var(--space-6); }
.sp-sign h3 { margin: 0 0 var(--space-2); font-size: 1.05rem; color: var(--color-ink); }
.sp-sign p { margin: 0; font-size: .94rem; color: var(--color-ink-2); }
.sp-sign:first-child h3 { color: var(--color-white); }
.sp-sign:first-child p { color: var(--on-dark-text); }
.sp-sign:first-child .callout { background: var(--color-accent); color: var(--color-ink); }
.sp-signs__grid--3 .sp-sign { grid-column: span 2; }
.sp-signs__grid--3 .sp-sign:first-child { grid-column: span 2; }
@media (max-width: 900px) { .sp-signs__head { grid-template-columns: 1fr; } .sp-signs__grid { grid-template-columns: 1fr 1fr; } .sp-sign, .sp-sign:first-child, .sp-sign:nth-child(2), .sp-sign:nth-child(3), .sp-sign:nth-child(4), .sp-signs__grid--3 .sp-sign { grid-column: auto; } }
@media (max-width: 600px) { .sp-signs__grid { grid-template-columns: 1fr; } }

/* expert positioning: dark band, roofline edge, one big intake fact + evidence points */
.sp-expert .container-wide { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: clamp(var(--space-8), 6vw, var(--space-16)); align-items: start; }
.sp-expert__fact { position: sticky; top: calc(var(--nav-height) + var(--space-6)); display: grid; gap: var(--space-3); padding: clamp(var(--space-6), 4vw, var(--space-10)); border-radius: var(--radius-lg); border: 1px solid var(--on-dark-line); background: color-mix(in srgb, var(--color-white) 4%, transparent); }
.sp-expert__fact b { font-family: var(--font-heading); font-stretch: 112%; font-weight: 800; font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem); line-height: 1; color: var(--color-white); text-wrap: balance; }
.sp-expert__fact b em { font-style: normal; color: var(--color-accent-bright); }
.sp-expert__fact span { font-size: var(--fs-small); color: var(--on-dark-text); }
.sp-expert__fact .rule-roofline { width: 120px; }
.sp-expert h2 { color: var(--color-white); margin: 0 0 var(--space-4); }
.sp-expert .answer-block { background: color-mix(in srgb, var(--color-white) 6%, transparent); border-left-color: var(--color-accent); color: var(--color-white); }
.sp-points { list-style: none; margin: var(--space-6) 0 0; padding: 0; display: grid; gap: var(--space-4); }
.sp-points li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: var(--space-1) var(--space-4); padding-top: var(--space-4); border-top: 1px solid var(--on-dark-line); }
.sp-points li > svg { grid-row: span 2; width: 40px; height: 40px; padding: var(--space-2); border-radius: var(--radius); background: color-mix(in srgb, var(--color-accent) 18%, transparent); color: var(--color-accent-bright); }
.sp-points h3 { margin: 0; font-size: 1.02rem; color: var(--color-white); }
.sp-points p { margin: 0; font-size: .94rem; color: var(--on-dark-text); }
.sp-points a { color: var(--color-accent-bright); font-weight: 700; }
@media (max-width: 900px) { .sp-expert .container-wide { grid-template-columns: 1fr; } .sp-expert__fact { position: static; } }

/* scope: what's included (check tiles) */
.sp-scope { background: var(--color-paper); }
.sp-scope__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: start; }
.sp-scope__grid .section-head { margin: 0; }
.sp-scope__grid .answer-block { margin: 0; }
.sp-checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.sp-checklist li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: var(--space-3); align-items: start; padding: var(--space-4); border-radius: var(--radius); background: var(--color-surface); border: 1px solid var(--color-line); font-size: .94rem; color: var(--color-ink-2); }
.sp-checklist li strong { display: block; color: var(--color-ink); font-weight: 700; }
.sp-checklist li > svg { color: var(--color-accent-dark); margin-top: 2px; }
.sp-scope__note { margin: var(--space-4) 0 0; font-size: var(--fs-small); color: var(--color-muted); }
@media (max-width: 900px) { .sp-scope__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .sp-checklist { grid-template-columns: 1fr; } }

/* process on the line (house-badge numbers), vertical on phones */
.sp-process { background: var(--color-paper-2); }
.sp-process .process-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-8); }
.sp-process .process-step { display: block; position: relative; text-align: center; }
.sp-process .process-step::before { content: none; }
.sp-process .process-number { position: relative; z-index: 1; margin: 0 auto var(--space-4); font-weight: 700; font-size: 1.1rem; }
.sp-process .process-step h3 { font-size: 1.05rem; margin: 0 0 var(--space-2); }
.sp-process .process-step p { margin: 0 auto; max-width: 30ch; color: var(--color-ink-2); font-size: .95rem; }
@media (max-width: 900px) {
  .sp-process .process-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .sp-process .process-step { text-align: left; min-height: 58px; padding-left: calc(56px + var(--space-4)); }
  .sp-process .process-number { position: absolute; left: 0; top: 0; margin: 0; }
  .sp-process .process-step p { margin: 0; max-width: none; }
}

/* proof: real Google reviews from the Page One feed (matched to this service), else the GBP fact */
.sp-proof { background: var(--color-surface); }
.sp-reviews { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--space-4); }
.sp-review { display: grid; gap: var(--space-3); align-content: start; padding: var(--space-6); border-radius: var(--radius-lg); background: var(--color-paper); border: 1px solid var(--color-line); border-top: 3px solid var(--chrome-lo); }
.sp-review blockquote { margin: 0; font-size: 1rem; line-height: 1.55; color: var(--color-ink); }
.sp-review figcaption { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-3); align-items: center; font-size: var(--fs-small); color: var(--color-muted); }
.sp-review figcaption b { color: var(--color-ink); }
.sp-review .stars { color: var(--color-star); }
.sp-gbp { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--space-4) var(--space-8); align-items: center; margin-top: var(--space-6); padding: clamp(var(--space-6), 3vw, var(--space-8)); border-radius: var(--radius-lg); background: var(--color-paper-2); border: 1px solid var(--color-line); }
.sp-gbp__score { font-family: var(--font-heading); font-stretch: 112%; font-weight: 800; font-size: clamp(2.4rem, 1.8rem + 2vw, 3.2rem); line-height: 1; color: var(--color-ink); }
.sp-gbp .stars { color: var(--color-star); margin-top: var(--space-2); }
.sp-gbp p { margin: 0; color: var(--color-ink-2); }
.sp-gbp__links { display: grid; gap: var(--space-2); justify-items: start; }
@media (max-width: 760px) { .sp-gbp { grid-template-columns: 1fr; } }

/* comparison: a real table on the chrome card */
.sp-compare { background: var(--color-paper); }
.sp-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--color-line); background: var(--color-surface); box-shadow: var(--shadow-chrome); }
.sp-table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 620px; }
.sp-table caption { text-align: left; padding: var(--space-4) var(--space-6) 0; font-size: var(--fs-small); color: var(--color-muted); caption-side: bottom; padding-bottom: var(--space-4); }
.sp-table th, .sp-table td { text-align: left; vertical-align: top; padding: var(--space-4) var(--space-6); border-bottom: 1px solid var(--color-line); }
.sp-table thead th { background: var(--color-dark); color: var(--color-white); font-family: var(--font-accent); font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.sp-table thead th:last-child { color: var(--color-accent-bright); }
.sp-table tbody th { font-weight: 700; color: var(--color-ink); width: 24%; }
.sp-table td { color: var(--color-ink-2); }
.sp-table tbody tr:nth-child(even) { background: color-mix(in srgb, var(--color-paper-2) 55%, transparent); }
.sp-table td strong { color: var(--color-accent-dark); }

/* FAQ + related services + closing band */
.sp-faq { background: var(--color-surface); }
.sp-related { background: var(--color-paper-2); }
.sp-related .section-head { max-width: 72ch; }
.svc-art { display: grid; place-items: center; background:
  radial-gradient(60% 70% at 50% 60%, var(--jade-glow), transparent 72%),
  linear-gradient(180deg, var(--chrome-hi) 0%, var(--color-paper-2) 100%); }
.svc-art picture { display: block; width: 58%; height: auto; }
.service-card__image.svc-art img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 10px 12px var(--ink-veil)); }
.sp-related .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .sp-related .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .sp-related .services-grid { grid-template-columns: 1fr; } .svc-art picture { width: 80%; } }
/* services hub: 7 cards = one wide lead card + six (4-col: 2+2 / 4; 2-col: 2 / 2 / 2 / 2) */
.svc-hub { background: var(--color-paper); }
.svc-hub .section-head { max-width: 76ch; }
.svc-hub .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .svc-hub .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .svc-hub .services-grid { grid-template-columns: 1fr; } }
.sp-hero .sp-badge--mark { object-fit: contain; background: var(--color-dark); border-color: var(--chrome-lo); padding: var(--space-2); }
.sp-close .container { grid-template-columns: minmax(0, 1.3fr) auto; }
@media (max-width: 800px) { .sp-close .container { grid-template-columns: minmax(0, 1fr); } }
.sp-close h2 { color: var(--color-white); }
.sp-close p { margin: 0; color: var(--on-dark-text); max-width: 56ch; }
.sp-close .actions { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.sp-close .link-call { color: var(--color-white); }
.sp-close .link-call svg { color: var(--color-accent-bright); }
@media (max-width: 720px) {
  .services-grid:not(.services-grid--shelf) .service-card__image.svc-art { display: grid; place-items: center; }
  .services-grid:not(.services-grid--shelf) .service-card__image.svc-art picture { width: 84%; height: auto; }
  .services-grid:not(.services-grid--shelf) .service-card__image.svc-art img { height: auto; aspect-ratio: 1; object-fit: contain; }
}
/* === end service pages === */

/* ============================================================================
   === Phase 5 pages: About, Contact, FAQs, 404, thank-you, legal (2026-11-17) ===
   Shared by those pages only. Inner hero = the Phase 4 .sp-hero (no form on About/FAQ: a mid-page .cta-band carries the
   compact form instead). Pages add only their own composition in a page <style>. Tokens only.
   ============================================================================ */
/* hero aside: "ask Zach directly" card where a form would sit (desktop only; phones get the strip + CTA) */
.pg-card { display: grid; gap: var(--space-4); padding: clamp(var(--space-6), 3vw, var(--space-8)); border-radius: var(--radius-xl); background: var(--color-surface); color: var(--color-ink); border-top: 4px solid var(--color-accent); box-shadow: var(--shadow-chrome); }
.pg-card h2 { margin: 0; font-size: var(--fs-h3); color: var(--color-ink); }
.pg-card p { margin: 0; color: var(--color-ink-2); font-size: var(--fs-small); }
.pg-card .nap { margin-top: 0; }
.pg-card__phone { display: inline-flex; align-items: center; gap: var(--space-3); font-family: var(--font-heading); font-stretch: 112%; font-weight: 800; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem); line-height: 1.1; color: var(--color-ink); text-decoration: none; min-height: 44px; }
.pg-card__phone svg { color: var(--color-accent-dark); }
.sp-hero .hero-grid:not(.hero-grid--form) { grid-template-columns: minmax(0, 1.15fr) minmax(280px, 420px); align-items: center; }
@media (max-width: 900px) {
  .sp-hero .hero-grid:not(.hero-grid--form) { grid-template-columns: minmax(0, 1fr); }
  .sp-hero .pg-card, .sp-hero .sp-art { display: none; }
}
/* the strip image fills the roofline strip (postcards / shield) */
.pg-strip picture { padding: 0 !important; width: 100%; height: 100%; }
.pg-strip img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 50% 62%; }
.pg-strip--logo { padding: 0; }
.pg-strip--logo picture { padding: var(--space-4) 0 var(--space-1) !important; }
.pg-strip--logo img { object-fit: contain; object-position: 50% 50%; }

/* mid-page estimate band (About + FAQs): copy ≈ 1/3, compact form card ≈ 2/3, fields three-up */
.cta-band { padding-block: clamp(var(--space-12), 5vw, var(--space-16)); }
.cta-band .container-wide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(var(--space-6), 4vw, var(--space-12)); align-items: center; }
.cta-band h2 { margin: 0 0 var(--space-3); font-size: var(--fs-h3); }
.cta-band p { margin: 0 0 var(--space-3); color: var(--on-dark-text); }
.cta-band .link-call { color: var(--color-white); }
.cta-band .link-call svg { color: var(--color-accent-bright); }
.cta-band__card { padding: var(--space-6); border-radius: var(--radius-xl); background: var(--color-surface); color: var(--color-ink); border-top: 4px solid var(--color-accent); box-shadow: var(--shadow-chrome); }
.cta-band__card .estimate-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); align-items: start; }
.cta-band__card .estimate-form .form-row:nth-of-type(4) { grid-column: 1; }
.cta-band__card .estimate-form .btn { grid-column: 2 / -1; order: 5; min-height: 48px; }
.cta-band__card .estimate-form .consent { grid-column: 1 / -1; order: 6; margin: 0; }
.cta-band__foot { margin: var(--space-3) 0 0; font-size: .76rem; color: var(--color-muted); }
@media (max-width: 900px) {
  .cta-band .container-wide { grid-template-columns: minmax(0, 1fr); }
  .cta-band__card .estimate-form { grid-template-columns: minmax(0, 1fr); }
  .cta-band__card .estimate-form .form-row:nth-of-type(4), .cta-band__card .estimate-form .btn { grid-column: 1; }
}

/* legal pages: plain, readable, no fireworks (hero capped at 40vh, prose at 68ch, no reveal classes) */
.hero--legal { min-height: min(40vh, 22rem); display: flex; align-items: flex-end; }
.hero--legal > .container { width: 100%; }
.hero--legal .hero-title { max-width: 22ch; }
.hero--legal .last-updated { display: block; margin-top: var(--space-3); color: var(--on-dark-text); }
.legal-wrap { background: var(--color-surface); padding-block: clamp(var(--space-8), 5vw, var(--space-16)); }
.legal-prose h2 { scroll-margin-top: calc(var(--nav-height) + var(--space-4)); }
.legal-prose h3 { font-size: 1.05rem; scroll-margin-top: calc(var(--nav-height) + var(--space-4)); }
.legal-prose ul { padding-left: var(--space-6); margin: 0 0 var(--space-4); }
.legal-prose li { margin-bottom: var(--space-2); }
.legal-prose a { color: var(--color-accent-dark); font-weight: 600; text-underline-offset: .18em; }
.legal-prose address { font-style: normal; margin: 0 0 var(--space-4); }
.legal-prose table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 0 0 var(--space-4); }
.legal-prose th, .legal-prose td { text-align: left; vertical-align: top; padding: var(--space-3); border-bottom: 1px solid var(--color-line); }
.legal-prose thead th { background: var(--color-paper-2); font-weight: 700; }
.legal-table-wrap { overflow-x: auto; }
/* === end Phase 5 pages === */

/* === Client job photos replace the generated service art (2026-11-17): photos fill their frames === */
.svc-art picture, .service-card__image.svc-art picture, .svc-hub .services-grid > :first-child .svc-art picture { width: 100% !important; height: 100% !important; padding: 0 !important; }
.service-card__image.svc-art img { width: 100% !important; height: 100% !important; aspect-ratio: auto !important; object-fit: cover !important; filter: none !important; }
.sp-art__inner picture { width: 100% !important; height: 100% !important; padding-top: 0 !important; }
.sp-art__inner img { width: 100% !important; height: 100% !important; aspect-ratio: auto !important; object-fit: cover !important; filter: none !important; }
.home-work { background: var(--color-paper); }
.work-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); margin-top: var(--space-6); }
.work-item { margin: 0; display: grid; gap: var(--space-2); align-content: start; min-width: 0; }
.work-item img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-xl); border: 1px solid var(--color-line); }
.work-item figcaption { font-size: .82rem; line-height: 1.35; color: var(--color-muted); }
@media (max-width: 1000px) { .work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); } }
.service-card__image.svc-art { aspect-ratio: 1 / 1 !important; overflow: hidden; }
.sp-art__inner img { object-position: 50% 50%; }

/* ============================================================================
   === Night shield layer === (client request, Zach Barker, 2026-11-17)
   "A much darker theme … strict company-logo colours: a lot of dark black with hints of
   that teal, other greens/blues that fit, then white and grey. Lettering can be white."
   The page ground is the logo's black field; teal bands, jade fills and chrome rules come
   from the shield. Token overrides first, then the few rules that assumed a light ground.
   ============================================================================ */
:root {
  color-scheme: dark;
  --color-primary: #1EB083;                                          /* jade fill (dark ink on it 6.6:1) */
  --color-primary-rgb: 30, 176, 131;
  --color-primary-dark: #3CCB9F;                                     /* hover: lighter on a dark ground */
  --color-primary-deep: #0C3F3B;
  --color-accent-dark: #4FD8AE;                                      /* accent as TEXT on the black ground, ≥ 9:1 */
  --color-accent-bright: #4FD8AE;
  --color-paper: #05090A;                                            /* logo field black */
  --color-paper-2: #0A1214;
  --color-surface: #0F1A1C;                                          /* cards, forms */
  --color-ink: #F3F7F6;                                              /* white lettering */
  --color-ink-2: #D5DFDE;
  --color-muted: #A7B6B5;                                            /* 9:1 on the ground, 8:1 on cards */
  --color-line: #213235;
  --color-dark: #04191B;                                             /* teal-black bands, header, footer */
  --color-dark-alt: #072A2C;
  --color-card-tint-1: color-mix(in srgb, var(--color-primary) 9%, var(--color-surface));
  --color-card-tint-2: color-mix(in srgb, var(--color-secondary) 8%, var(--color-surface));
  --color-card-tint-3: color-mix(in srgb, #86C2C2 10%, var(--color-surface));
  --color-success: #4FD8AE; --color-danger: #FF8E8E;
  --on-ink: #04191B;                                                 /* dark lettering on jade / chrome fills */
  --ink-veil: color-mix(in srgb, #000 46%, transparent);
  --shadow-chrome: 0 18px 40px -22px rgba(0, 0, 0, .8);
  --shadow: 0 10px 28px -14px rgba(0, 0, 0, .8); --shadow-lg: 0 28px 56px -22px rgba(0, 0, 0, .9);
  --photo-grade: saturate(1.05) contrast(1.04);
}
body { background: var(--color-paper); color: var(--color-ink); }

/* jade fills carry dark lettering */
.btn-primary, .mobile-cta-bar__call, .skip-link, .skip-link:focus { color: var(--on-ink); }
.btn-primary:hover { color: var(--on-ink); }
.btn-accent:hover, .btn-nav-cta:hover { background: var(--color-primary-dark); color: var(--on-ink); }
.btn-secondary, .btn-outline, .btn-ghost { border-color: color-mix(in srgb, var(--color-ink) 34%, transparent); }
.btn-secondary:hover, .btn-outline:hover, .btn-ghost:hover { border-color: var(--color-accent); color: var(--color-accent-bright); }
.cookie-bar button, .cookie-banner__dismiss { background: var(--color-accent); color: var(--on-ink); }
.skip-link { background: var(--color-accent); }

/* badges that were ink-filled: now jade / chrome with dark numerals */
.callout, .process-number { background: var(--chrome-bar); color: var(--on-ink); }
.process-step:nth-child(even) .process-number { background: var(--color-accent); color: var(--on-ink); }
.service-card__icon, .svc__icon { background: color-mix(in srgb, var(--color-primary) 16%, var(--color-surface)); }

/* cards and tiles sit one step up from the black ground, with a teal hairline */
.postcard, .area-outside { background: var(--color-surface); }
.card, .card-icon, .service-card-with-image, .postcard, .pg-card, .sp-facts, .cta-band__card, .hero-form-card, dialog.estimate-dialog, .faq-item, .review-card {
  border-color: var(--color-line); }
.service-card-with-image:hover, .postcard:hover, .card:hover { border-color: color-mix(in srgb, var(--color-accent) 55%, var(--color-line)); }

/* form controls: dark wells, white lettering, jade focus */
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), select, textarea {
  background-color: #081012; color: var(--color-ink); border-color: #2C4245; }
input::placeholder, textarea::placeholder { color: #8FA09F; opacity: 1; }
select option { background: #0F1A1C; color: #F3F7F6; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--color-accent); }

/* dark bands read as teal against the black ground */
.on-dark, .texture-grain, .site-footer { border-top: 1px solid color-mix(in srgb, var(--color-accent) 26%, transparent); }
/* jade / chrome fills always carry the dark lettering (ink is white on this theme) */
.btn-accent, .btn-nav-cta, .btn-nav-cta:hover, .mobile-cta-bar__estimate, .review-avatar, .callout--fill, .sp-sign:first-child .callout,
.sp-hero .btn-primary, .sp-close .btn-primary, .sp-hero .btn-primary:hover, .sp-close .btn-primary:hover,
.services-grid--featured > :first-child .service-card__image::after, .svc__photo[data-label]::after,
.services-grid--featured > :first-child[data-featured-label]::after,
.site-header--dark .navbar-cta .btn-primary, .site-header--dark .header-cta .btn-primary { color: var(--on-ink); }
.btn-nav-cta:hover { background: var(--color-primary-dark); border-color: var(--color-primary-dark); }
.site-header--dark .navbar-cta .btn-primary, .site-header--dark .header-cta .btn-primary { background: var(--color-accent); border-color: var(--color-accent); }
/* === end Night shield layer === */

/* === Trust badges + instant quote === (client email, Zach Barker, 2026-11-19: badge images + QuoteIQ embed)
   The EDC tiles are issued on white with a black ID line, so each sits on a white plate; the plate is the chrome rule. */
.trust-badges { background: var(--color-paper-2); }
.badge-wall { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: clamp(var(--space-6), 3vw, var(--space-10)); align-items: center; }
.badge-wall__fave { margin: 0; }
.badge-wall__fave img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); border: 1px solid var(--color-line); box-shadow: var(--shadow-chrome); }
.badge-wall__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-3); }
.badge-wall__grid li { margin: 0; padding: var(--space-2); border-radius: var(--radius-lg); background: var(--color-white); border: 1px solid var(--chrome); box-shadow: var(--shadow); min-width: 0; }
.badge-wall__grid img { display: block; width: 100%; height: auto; }
@media (max-width: 900px) {
  .badge-wall { grid-template-columns: minmax(0, 1fr); }
  .badge-wall__fave { max-width: 420px; }
  .badge-wall__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 520px) { .badge-wall__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--space-2); } .badge-wall__grid li { grid-column: span 2; padding: var(--space-1); } .badge-wall__grid li:nth-child(n+4) { grid-column: span 3; } }
.quote-embed { padding: var(--space-2); border-radius: var(--radius-xl); background: var(--color-white); border: 1px solid var(--chrome); border-top: 4px solid var(--color-accent); box-shadow: var(--shadow-chrome); }
.quote-embed iframe { display: block; width: 100%; height: 800px; border: 0; border-radius: var(--radius-lg); background: var(--color-white); }
@media (max-width: 600px) { .quote-embed { padding: 0; } .quote-embed iframe { height: 900px; } }
/* === end Trust badges + instant quote === */

/* === Nov 20 client round: whole logo everywhere (never the cropped top-half mark) + photo plate on About === */
.sp-hero .sp-badge--logo { width: auto; height: 96px; aspect-ratio: 480 / 278; object-fit: contain; background: var(--color-dark); border-color: var(--chrome-lo); padding: var(--space-2) var(--space-3); }
.ticker-strip--outline .ticker-mark img { height: clamp(56px, 5.4vw, 80px); }
.sp-art--photo .sp-art__inner { display: block; }
.sp-art--photo .sp-art__inner picture { display: block; width: 100%; height: 100%; padding: 0; }
.sp-art--photo .sp-art__inner img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 50% 70%; filter: none; }
.pg-strip--owner img { object-position: 50% 30%; }
.pg-strip--low img { object-position: 50% 92%; }
.sp-hero__art.pg-strip { position: relative; }
.sp-hero__art.pg-strip picture { position: absolute; inset: 0; }
.sp-hero__art.pg-strip img { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Nov 22 (Zach): the House Washing card is the same size as every other service card; the lead-card rules were removed. */
/* === end Nov 20 client round === */
