/* Key Concrete Services: site styles, design spec v2 (2026-10-30).
   Layers: tokens, base, layout, components, sections, pages, utilities, motion, preview.
   Restraint and scale: orange means act, gold means Key brand,
   condensed system caps for H1, H2, nav and buttons only, square corners everywhere,
   real Key photos full frame and never cropped. No web fonts. */

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
  --font-display: 'DIN Condensed', 'Bahnschrift Condensed', Bahnschrift, 'Roboto Condensed', sans-serif-condensed, 'Avenir Next Condensed', 'Arial Narrow', 'Liberation Sans Narrow', sans-serif;
  --font-body: system-ui, -apple-system, 'Segoe UI Variable Text', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --display-stretch: condensed;

  --fs-h1: clamp(3rem, 1.6rem + 4.4vw, 6rem);
  --fs-h1-long: clamp(2.5rem, 1.5rem + 3.2vw, 4.5rem);
  --fs-h2: clamp(2.25rem, 1.6rem + 2.2vw, 3.75rem);
  --fs-h3: clamp(1.5rem, 1.3rem + 0.6vw, 1.75rem);
  --fs-lead: clamp(1.125rem, 1rem + 0.4vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-phone: clamp(2.25rem, 1.5rem + 2.4vw, 3rem);

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --space-bar: 3rem;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --col-gap: 16px;
  --header-h: 63px;
  --bar-space: 0px;

  --ink: #111111;
  --ink-2: #161616;
  --ink-3: #2a2a2a;
  --stone-0: #ffffff;
  /* Cool concrete greys (blue leaning, never beige). */
  --stone-50: #f2f3f4;
  --stone-100: #e5e7e9;
  --stone-200: #d2d5d8;
  --stone-300: #b4b9be;
  --muted: #50555b;
  --muted-dark: #c9cdd1;
  --muted-dark-2: #b1b6bb;
  --orange: #e66a09;
  --orange-text: #a84a00;
  --orange-tint: #fff7f0;
  --gold: #e8b800;
  --line: #d6d9dc;
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-input: #83898f;
  --focus-light: #111111;
  --focus-dark: #e8b800;

  --radius: 0;
  --shadow-card: 0 1px 2px rgba(17, 17, 17, 0.06), 0 6px 20px rgba(17, 17, 17, 0.06);
  --shadow-lift: 0 2px 4px rgba(17, 17, 17, 0.08), 0 14px 32px rgba(17, 17, 17, 0.12);
  --shadow-form: 0 24px 60px rgba(0, 0, 0, 0.35);
  --shadow-form-light: 0 18px 48px rgba(17, 17, 17, 0.14);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --t-hover: 160ms;
  --t-open: 240ms;
  --t-reveal: 400ms;

  /* Context colours. Dark contexts swap these (see section 2). */
  --fg: var(--ink);
  --fg-muted: var(--muted);
  --icon: var(--ink);
  --star: var(--ink);
  --focus: var(--focus-light);
  --surface: var(--stone-0);
  --link-line: rgba(17, 17, 17, 0.35);
  color-scheme: light;
}
@media (max-width: 639px) {
  :root {
    --space-section: 3.5rem;
    --space-7: 40px;
  }
}
@media (min-width: 1024px) {
  :root { --col-gap: 32px; }
}
@media (min-width: 1100px) {
  :root { --header-h: 75px; }
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
/* Phones and tablets: focused or scrolled-to items never end up under the fixed action bar. */
@media (max-width: 1023px) {
  html { scroll-padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--fg);
  background: var(--stone-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }

h1,
h2,
h3 {
  margin: 0 0 0.45em;
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 700;
  letter-spacing: 0;
  color: inherit;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: 0.9; text-transform: uppercase; }
h1.h1--long { font-size: var(--fs-h1-long); line-height: 0.92; }
h2 {
  max-width: 22ch;
  font-size: var(--fs-h2);
  line-height: 0.95;
  text-transform: uppercase;
}
h3 { font-size: var(--fs-h3); line-height: 1.1; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
/* Prose links are quiet: a thin neutral underline that turns orange on hover. The
   2px orange underline is kept for .text-link calls to action, so orange still means act. */
a {
  color: inherit;
  text-decoration-color: var(--link-line);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover { text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
ul, ol { margin: 0; padding: 0; }
strong { font-weight: 650; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--ink); }

/* Dark contexts: white text, muted greys, gold icons and stars, gold focus. */
.section--dark,
.home-hero,
.svc-hero,
.page-hero,
.cta-band,
.site-footer,
.picker__result,
.action-bar,
.preview-bar {
  --fg: #ffffff;
  --fg-muted: var(--muted-dark);
  --icon: var(--gold);
  --star: var(--gold);
  --focus: var(--focus-dark);
  --link-line: rgba(255, 255, 255, 0.4);
  color: var(--fg);
}
/* Light contexts nested in dark ones (the form card, menus). */
.quote,
.mobile-menu,
.sub,
.picker {
  --fg: var(--ink);
  --fg-muted: var(--muted);
  --icon: var(--ink);
  --star: var(--ink);
  --focus: var(--focus-light);
  --link-line: rgba(17, 17, 17, 0.35);
  color: var(--fg);
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--ink);
  color: #fff;
  font-weight: 650;
}
.skip:focus { top: 12px; }
main:focus { outline: none; }

/* ==========================================================================
   3. Layout
   ========================================================================== */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow > * { max-width: 800px; }
.section { padding-block: var(--space-section); }
.section--tight { padding-block: var(--space-bar); }
.section--dark { background: var(--ink); }
.section--ink2 { background: var(--ink-2); }
/* Consecutive light sections share one background: drop the doubled gap. */
.section:not(.section--dark):not([data-gaps-only]) + .section:not(.section--dark), html:not(.show-gaps) .section:not(.section--dark) + [data-gaps-only] + .section:not(.section--dark) {
  padding-top: 0;
}

.section-head { margin-bottom: var(--space-7); }
.section-head > :last-child { margin-bottom: 0; }
/* A lede, when a section has one, always stacks under its heading. */
.section-head > .lede { max-width: 60ch; margin-top: var(--space-4); }
.section > .wrap > h2:first-child, .section > .wrap > .split__text > h2:first-child { margin-bottom: var(--space-6); }
.lede {
  max-width: 60ch;
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--fg-muted);
}
.lede--lg { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); color: var(--fg); opacity: 0.88; }
.prose p, .prose li { max-width: 68ch; }
.prose h2 { margin-bottom: var(--space-5); }

.split { display: grid; gap: var(--space-7); align-items: center; }
.split--top { align-items: start; }
.split__text > .section-head { margin-bottom: var(--space-6); }
.split__text h3 { margin-top: var(--space-6); }
.split__media .photo img[src*='/stock-'] { aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 100%; }
@media (min-width: 1024px) {
  .split__media .photo img[src*='/stock-'] { aspect-ratio: 4 / 5; }
}
@media (min-width: 1024px) {
  /* Column 2 starts on grid line 7, like every section intro. */
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-8) var(--col-gap); }
  .split--reverse .split__media { order: -1; }
}

.topics { display: grid; gap: var(--space-6) var(--space-7); }
.topic h3 { margin-bottom: var(--space-3); }
.topics--feature h2 { max-width: none; margin-bottom: var(--space-4); font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem); }
.topics--feature .topic p { font-size: var(--fs-lead); }
/* From 1024px every two-column list uses the 12-column gap, so column 2 starts on grid
   line 7, the same x as every section intro. */
@media (min-width: 1024px) {
  .topics, .factors__list { column-gap: var(--col-gap); }
}
.topic p { max-width: 60ch; color: var(--fg-muted); }
/* One column below 768px: plain text blocks with a hairline between them, no cards. */
@media (max-width: 767px) {
  .topics { row-gap: var(--space-5); }
  .topics > .topic + .topic { padding-top: var(--space-5); box-shadow: inset 0 1px 0 var(--line); }
  .section--dark .topics > .topic + .topic { box-shadow: inset 0 1px 0 var(--line-dark); }
}
@media (min-width: 768px) {
  .topics { grid-template-columns: 1fr 1fr; }
}
/* Three short topics (coatings "How we coat"): one column until 1024px, then three, so
   there is never a lone third block. */
@media (min-width: 768px) and (max-width: 1023px) {
  .topics--3 { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 1024px) {
  .topics--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.jrows + p, .reviews__grid + p, .reviews__list + p, .topics + p, .spec + p { margin-top: var(--space-6); }
.more-link {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-6);
  margin: var(--space-7) 0 0;
}

/* ==========================================================================
   4. Components
   ========================================================================== */

/* 4.1 Icons */
.icon { flex: none; }
.icon--arrow { transition: transform var(--t-hover) var(--ease); }

/* 4.2 Buttons and links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 700;
  font-size: 1.1875rem;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--t-hover) var(--ease), color var(--t-hover) var(--ease), box-shadow var(--t-hover) var(--ease), border-color var(--t-hover) var(--ease);
}
.btn .icon { width: 20px; height: 20px; }
.btn:hover .icon--arrow, .text-link:hover .icon--arrow, .related a:hover .icon--arrow, .trio a:hover .icon--arrow, .floor-card:hover .icon--arrow, .service-row:hover .icon--arrow, .link-grid a:hover .icon--arrow, .callout__links a:hover .icon--arrow {
  transform: translateX(3px);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.btn--primary:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--ghost-dark { background: transparent; border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.btn--ghost-dark:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn--block { display: flex; width: 100%; }
.btn--sm { min-height: 44px; padding: 0 18px; }
.btn--submit { min-height: 56px; }
@supports (text-box: trim-both cap alphabetic) {
  .btn > span, .seg span, .primary__list > li > a { text-box: trim-both cap alphabetic; }
}
.hero-actions, .cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
/* Phones: a label may wrap rather than push the page sideways if a wide fallback font loads. */
@media (max-width: 639px) {
  .btn { max-width: 100%; padding-inline: 16px; gap: 8px; font-size: 1.125rem; white-space: normal; text-align: center; }
  .factors__cta .btn, .commercial-band__text .btn { width: 100%; }
  .hero-actions, .cta-band__actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn, .cta-band__actions .btn { width: 100%; }
}
/* VF-13: very narrow phones, or a wide fallback font, keep long labels on fewer lines. */
@media (max-width: 359px) {
  .btn { letter-spacing: 0.02em; padding-inline: 16px; }
}

.text-link {
  display: inline;
  font-weight: 650;
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}
.text-link:hover { text-decoration-color: var(--orange); text-decoration-thickness: 3px; }
.text-link .icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-left: 6px;
  vertical-align: -3px;
}
/* The last word and the arrow of a text link stay on one line (VH-07, pages/_links.mjs). */
.nowrap { white-space: nowrap; }

/* 4.3 Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(var(--gold), var(--gold)) bottom / 100% 3px no-repeat, #fff;
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.06);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: var(--header-h);
  padding-bottom: 3px;
  /* Last line of defence for very wide fallback fonts: never a sideways page scroll.
     Clip on x only, so the services list still drops down. */
  overflow-x: clip;
}
/* H4 (VO-01): the brand may shrink, so a wide fallback font can never push the header
   past the screen; the wordmark clips before the phone, quote and menu buttons move. The
   logo itself never shrinks (min-width: logo plus gap). */
.brand {
  display: flex;
  flex: 0 10 auto;
  align-items: center;
  gap: 10px;
  min-width: 73px;
  margin-right: auto;
  color: var(--ink);
  text-decoration: none;
}
.brand img { flex: none; width: auto; max-width: none; height: 40px; }
/* Readable wordmark beside the emblem (the emblem lettering is too small to read). */
.brand__name {
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 700;
  font-size: 1.375rem;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand__extra { display: none; }
@supports (text-box: trim-both cap alphabetic) {
  .brand__name { text-box: trim-both cap alphabetic; }
}
.primary { display: none; }
.primary__list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.primary__list > li { position: relative; display: flex; align-items: center; }
.primary__list > li > a {
  display: block;
  padding: 12px 10px;
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 700;
  font-size: 1.1875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: var(--ink);
}
.primary__list > li > a:hover {
  text-decoration: underline;
  text-decoration-color: var(--ink);
  text-decoration-thickness: 2px;
  text-underline-offset: 10px;
}
.primary__list > li > a[aria-current='page'] {
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 3px;
  text-underline-offset: 10px;
}
.sub-toggle {
  display: grid;
  place-items: center;
  width: 28px;
  height: 36px;
  margin-left: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.sub-toggle svg { transition: transform var(--t-open) var(--ease); }
.has-sub.is-open .sub-toggle svg { transform: rotate(180deg); }
.sub {
  position: absolute;
  top: calc(100% + 20px);
  left: -8px;
  min-width: 280px;
  padding: 8px;
  list-style: none;
  background: #fff;
  box-shadow: var(--shadow-lift);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity var(--t-hover) var(--ease), transform var(--t-hover) var(--ease), visibility var(--t-hover);
}
.sub::before {
  content: '';
  position: absolute;
  inset: -22px 0 auto;
  height: 22px;
}
/* a11y-5: keyboard users open the list with the toggle (aria-expanded), so focus alone
   never reveals six links the toggle still calls collapsed. */
.has-sub:hover .sub, .has-sub.is-open .sub { opacity: 1; visibility: visible; transform: none; }
.js .has-sub.is-closed .sub { opacity: 0; visibility: hidden; }
.sub a {
  display: block;
  padding: 12px 14px;
  font-weight: 650;
  text-decoration: none;
}
.sub a:hover, .sub a[aria-current='page'] { background: var(--stone-50); }
.header__actions { display: flex; align-items: center; gap: var(--space-3); }
.header__phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 700;
  font-size: 1.375rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  color: var(--ink);
}
.header__phone-num { padding-top: 2px; }
@supports (text-box: trim-both cap alphabetic) {
  .header__phone-num { padding-top: 0; text-box: trim-both cap alphabetic; }
}
.header__phone:hover .header__phone-num { text-decoration: underline; text-decoration-color: var(--orange); }
/* Phones under 480px: the phone is a 44px icon button so the wordmark fits. */
@media (max-width: 479px) {
  .header__phone { width: 44px; border: 2px solid var(--ink); }
  .header__phone-num { display: none; }
}
@media (max-width: 379px) {
  .brand__name { display: none; }
}
.header__quote { display: none; }
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 100px;
  min-height: 44px;
  padding: 0 14px;
  border: 2px solid var(--ink);
  color: var(--ink);
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 700;
  font-size: 1.1875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}
.menu-toggle__text { padding-top: 2px; }
@supports (text-box: trim-both cap alphabetic) {
  .menu-toggle__text { padding-top: 0; text-box: trim-both cap alphabetic; }
}
.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  transition: transform var(--t-open) var(--ease), background-color var(--t-open);
}
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ''; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -5px; }
.menu-toggle__bars::after { top: 5px; }
.menu-toggle[aria-expanded='true'] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded='true'] .menu-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] .menu-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }
.mobile-menu {
  display: none;
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  background: #fff;
  box-shadow: inset 0 1px 0 var(--line);
}
.mobile-menu.is-open { display: block; }
.mobile-menu > nav { padding-block: var(--space-4) var(--space-6); }
.mobile-menu__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.mobile-menu ul { list-style: none; }
.mobile-menu > nav > ul > li + li { box-shadow: inset 0 1px 0 var(--line); }
.mobile-menu a:not(.btn) {
  display: flex;
  align-items: center;
  min-height: 56px;
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}
.mobile-menu li ul { padding: 0 0 var(--space-3) var(--space-4); }
.mobile-menu li ul a:not(.btn) {
  min-height: 44px;
  font-family: var(--font-body);
  font-stretch: normal;
  font-size: 1.0625rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}
.mobile-menu a[aria-current='page'] {
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}
@media (min-width: 640px) {
  .header__quote { display: inline-flex; }
}
@media (min-width: 1100px) {
  .brand { min-width: 94px; margin-right: 0; gap: 12px; }
  .brand img { height: 52px; }
  .brand__name { font-size: 1.5rem; }
  .primary { display: block; min-width: 0; margin-left: auto; }
  /* With a wide fallback font the links wrap to a second row instead of covering the
     logo or pushing Get a quote off the screen. */
  .primary__list { flex-wrap: wrap; justify-content: flex-end; }
  .header__inner { gap: var(--space-5); }
  .menu-toggle, .mobile-menu, .mobile-menu.is-open { display: none; }
}
@media (min-width: 1240px) {
  .brand__extra { display: inline; }
}
@media (min-width: 1100px) and (max-width: 1279px) {
  .primary__list > li > a { padding-inline: 7px; font-size: 1.0625rem; }
  .header__phone { font-size: 1.1875rem; }
  .header__inner { gap: var(--space-4); }
}

/* 4.4 Preview bar (preview builds only) */
.preview-bar { background: var(--ink); font-size: var(--fs-small); line-height: 28px; }
.preview-bar .wrap {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  min-height: 28px;
}
.preview-bar p { margin: 0; }
.preview-bar__gaps { margin-left: auto; color: #fff; }
@media (max-width: 639px) {
  .preview-bar p span { display: none; }
}

/* 4.5 Photos */
.photo { margin: 0; }
.photo img, .jrow img { width: 100%; height: auto; }
.jrows { display: block; text-decoration: none; }
.jrow {
  display: flex;
  gap: 8px;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}
.jrow:last-child { margin-bottom: 0; }
.jrow > li { flex: var(--r, 1) 1 0; min-width: 0; }
.jrow--single, .jrow:not(:has(> :not(.r-750))) { max-width: 760px; }
.jrow a { display: block; }
.r-1333 { --r: 1.333; }
.r-1332 { --r: 1.332; }
.r-750 { --r: 0.75; }
.r-667 { --r: 0.667; }
.r-1197 { --r: 1.197; }
.r-1500 { --r: 1.5; }
.gallery__open { cursor: zoom-in; }

/* 4.6 Quote form
   One lead path: the 3-step survey. Preview builds show it as a native stepper (progress
   row, one step at a time, Next, Back); production embeds the GHL survey in a sized slot.
   Without JavaScript all three steps show at once with the submit button at the end. */
.quote {
  container-type: inline-size;
  background: var(--surface);
  box-shadow: var(--shadow-form-light);
}
.home-hero .quote, .svc-hero .quote, .page-hero .quote, .section--dark .quote { box-shadow: var(--shadow-form); }
.quote__head { padding: var(--space-5); background: var(--stone-100); }
.quote__title {
  max-width: none;
  margin: 0 0 var(--space-2);
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 700;
  font-size: var(--fs-h3);
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}
.quote__intro { margin: 0 0 var(--space-3); font-size: 1rem; line-height: 1.45; }
.quote__body { display: grid; gap: var(--space-5); padding: 20px; }
.field-pair { display: grid; gap: var(--space-4); }
/* VF-08: name and phone sit side by side from a 340px card; town and size, whose labels
   and placeholder are longer, from 420px. Subgrid shares the label row, so the two inputs
   line up even when one label wraps. */
@container (min-width: 340px) {
  .quote__body { padding: var(--space-5); }
  .field-pair:not(:has(.field--city)) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); grid-template-rows: auto auto auto; row-gap: 0; }
  .field-pair:not(:has(.field--city)) > .field { display: grid; grid-row: span 3; grid-template-rows: subgrid; }
  .field-pair > .field > label { align-self: end; }
}
@container (min-width: 420px) {
  .field-pair:has(.field--city) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); grid-template-rows: auto auto auto; row-gap: 0; }
  .field-pair:has(.field--city) > .field { display: grid; grid-row: span 3; grid-template-rows: subgrid; }
}
.field label,
.seg-field legend,
.checks legend {
  display: block;
  margin-bottom: 6px;
  padding: 0;
  font-size: var(--fs-small);
  font-weight: 650;
  line-height: 1.3;
}
.seg-field legend { margin-bottom: var(--space-2); }
.optional { font-weight: 400; color: var(--muted); }
.field input:not([type='file']),
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--line-input);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  transition: border-color var(--t-hover), box-shadow var(--t-hover);
}
.field input::placeholder, .field textarea::placeholder { color: #6b7076; opacity: 1; }
.field textarea { min-height: 104px; padding: 12px 14px; resize: vertical; }
.field select {
  appearance: none;
  padding-right: 32px;
  text-overflow: ellipsis;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23111' stroke-width='2'/%3E%3C/svg%3E") right 12px center / 12px no-repeat;
}
.field input[type='file'] {
  display: block;
  width: 100%;
  min-height: 60px;
  padding: 9px;
  border: 1px dashed var(--line-input);
  background: var(--stone-50);
  color: var(--muted);
  font: inherit;
  font-size: var(--fs-small);
  cursor: pointer;
}
.field input[type='file']::file-selector-button {
  margin-right: 12px;
  min-height: 40px;
  padding: 0 14px;
  border: 2px solid var(--ink);
  background: #fff;
  color: var(--ink);
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}
.field input[type='file']:hover::file-selector-button { background: var(--ink); color: #fff; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink), 0 0 0 3px rgba(230, 106, 9, 0.28);
}
/* VH-24: matches the inputs themselves, so it wins over the base input rule. */
.field :is(input, select, textarea)[aria-invalid='true'] { border-color: var(--orange-text); background-color: var(--orange-tint); }
.field__error {
  position: relative;
  margin: 6px 0 0;
  padding-left: 14px;
  font-size: var(--fs-small);
  font-weight: 650;
  line-height: 1.4;
  color: var(--orange-text);
}
.field__error::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 4px;
  height: 1em;
  background: currentColor;
}
.more { box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }
.more summary,
.faq__item summary {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  list-style: none;
  cursor: pointer;
}
.more summary::-webkit-details-marker, .faq__item summary::-webkit-details-marker { display: none; }
.more summary { min-height: 60px; font-weight: 650; line-height: 1.3; }
.more summary .optional { font-size: var(--fs-small); }
.more summary::after,
.faq__item summary::after {
  content: '';
  flex: none;
  width: 32px;
  height: 32px;
  margin-left: auto;
  border: 2px solid var(--fg);
  background: linear-gradient(var(--fg), var(--fg)) center / 12px 2px no-repeat, linear-gradient(var(--fg), var(--fg)) center / 2px 12px no-repeat;
  transition: background-color var(--t-open) var(--ease);
}
.more[open] summary::after, .faq__item[open] summary::after {
  background: linear-gradient(#fff, #fff) center / 12px 2px no-repeat, var(--ink);
  border-color: var(--ink);
}
.more__body { display: grid; gap: var(--space-4); padding: var(--space-2) 0 var(--space-5); }
.seg-field,
.checks {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.seg { display: flex; }
.seg label { position: relative; flex: 1 1 0; min-width: 0; }
.seg label + label { margin-left: -1px; }
.seg input,
.choice input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.seg span {
  display: block;
  padding: 15px 6px;
  border: 1px solid var(--line-input);
  background: #fff;
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color var(--t-hover), color var(--t-hover), border-color var(--t-hover);
}
@supports (text-box: trim-both cap alphabetic) {
  .seg span { padding-block: 17px; }
}
.seg label:hover span { position: relative; z-index: 1; border-color: var(--ink); }
.seg input:checked + span {
  position: relative;
  z-index: 1;
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.seg input:focus-visible + span { position: relative; z-index: 2; outline: 3px solid var(--ink); outline-offset: 2px; }
/* forms-ghl-23: "Commercial" fits its box in a 320px screen's card. */
@container (max-width: 299px) {
  .seg span { padding-inline: 4px; font-size: 1rem; letter-spacing: 0.02em; }
}

/* Survey choices (service, timing): square tiles, two per row, ink when chosen. The odd
   last tile ("Not sure yet") takes the full row. One per row in a very narrow card. */
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); }
.choice { position: relative; display: block; min-width: 0; }
.choice span {
  display: flex;
  align-items: center;
  height: 100%;
  min-height: 52px;
  padding: 10px 14px;
  border: 1px solid var(--line-input);
  background: #fff;
  font-weight: 650;
  font-size: 1rem;
  line-height: 1.25;
  transition: background-color var(--t-hover), color var(--t-hover), border-color var(--t-hover);
}
.choice:hover span { border-color: var(--ink); }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.choices .choice:last-child:nth-child(odd) { grid-column: 1 / -1; }
@container (max-width: 299px) {
  .choices { grid-template-columns: minmax(0, 1fr); }
}
.choice-field[aria-invalid='true'] .choice span,
.choice-field[aria-invalid='true'] .seg span { border-color: var(--orange-text); }
.choice-field[aria-invalid='true'] legend { color: var(--orange-text); }

.check {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}
.check input {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: var(--ink);
}
.check label { font-weight: 400; }
/* Optional text-message box: unchecked by default, set apart from the contact fields. */
.check--sms_ok {
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--stone-50);
  box-shadow: inset 0 0 0 1px var(--line);
}
.check--sms_ok input { margin-top: 1px; cursor: pointer; }
.check--sms_ok label { font-size: var(--fs-small); line-height: 1.45; cursor: pointer; }
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Stepper: progress row, steps, actions. */
.quote__progress-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  list-style: none;
}
.quote__progress-step {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  min-height: 48px;
  padding: 0 0 12px;
  border: 0;
  background: none;
  box-shadow: inset 0 -4px 0 var(--stone-200);
  color: var(--muted);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: color var(--t-hover), box-shadow var(--t-hover);
}
.quote__progress-num {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  box-shadow: inset 0 0 0 1px var(--line-input);
  background: #fff;
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1;
}
.quote__progress-label {
  min-width: 0;
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.05;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.quote__progress-step:hover { color: var(--ink); }
.quote__progress-step:hover .quote__progress-label { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.quote__progress-step[aria-current='step'] { color: var(--ink); box-shadow: inset 0 -4px 0 var(--orange); }
.quote__progress-step[aria-current='step'] .quote__progress-num { background: var(--ink); box-shadow: none; color: #fff; }
.quote__progress-step.is-done { color: var(--ink); box-shadow: inset 0 -4px 0 var(--ink); }
/* A finished step shows a check instead of its number. */
.quote__progress-step.is-done .quote__progress-num {
  box-shadow: none;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='%23e8b800' stroke-width='3' stroke-linecap='square'/%3E%3C/svg%3E") center / 16px no-repeat;
  color: transparent;
}
.quote__progress-step:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
/* Narrow cards: number above the label, so "When and where" never breaks into three lines. */
@container (max-width: 339px) {
  .quote__progress-step { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 6px; }
}
.quote__step { display: grid; gap: var(--space-4); min-width: 0; }
.quote__step-title {
  max-width: none;
  margin: 0;
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 700;
  font-size: 1.625rem;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: none;
}
/* The step heading takes focus after Next or Back, so screen readers announce the step. It
   is not a control: an orange underline marks it for keyboard users instead of a box. */
.quote__step-title:focus { outline: none; }
.quote__step-title:focus-visible { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 6px; }
/* No JavaScript: all three steps show; a rule separates them. */
.quote:not(.is-stepper) .quote__step + .quote__step { padding-top: var(--space-5); box-shadow: inset 0 1px 0 var(--line); }
.quote__privacy {
  margin: 0;
  font-size: var(--fs-small);
  line-height: 1.45;
  color: var(--fg-muted);
}
.quote__privacy a { color: var(--fg); }
.quote__actions { display: grid; gap: var(--space-3); }
.quote__next { min-height: 56px; }
/* Back is a quiet control after Call, so the visual order matches the tab order. */
.quote__back {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 8px;
  min-height: 44px;
  padding: 0 4px 0 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: var(--link-line);
  text-underline-offset: 0.2em;
  cursor: pointer;
}
.quote__back::before {
  content: '';
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 12H5M11 6l-6 6 6 6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='square'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 12H5M11 6l-6 6 6 6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='square'/%3E%3C/svg%3E") center / contain no-repeat;
}
.quote__back:hover { text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.btn[disabled] { cursor: progress; opacity: 0.75; }
.quote__status { padding: var(--space-5); background: var(--stone-100); box-shadow: inset 4px 0 0 var(--ink); }
.quote__status:focus { outline: none; }
.quote__status:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.quote__status h3 { margin-bottom: var(--space-3); font-size: 1.5rem; }
.quote__status p { font-size: var(--fs-small); }
.quote__status p + p { margin-top: 0.6em; }
.quote__status.is-preview { box-shadow: inset 4px 0 0 var(--gold); }
.quote__status.is-error { background: var(--orange-tint); box-shadow: inset 4px 0 0 var(--orange-text); }
.quote__status.is-error h3 { color: var(--orange-text); }
.quote__foot { padding: 0 var(--space-5) var(--space-5); }
.preview-flag {
  margin: 0;
  font-size: var(--fs-small);
  font-weight: 650;
  color: var(--orange-text);
}

/* Production: the GHL survey in a slot with a fallback height until GHL's resize script
   sets the real one (L4). --frame-h is a first estimate: measure the live survey at 320,
   390 and 1440 on pages.dev (docs/LAUNCH-STEPS.md, L9) and set the two values here. The
   loading line covers the slot until the frame loads; .is-loaded (site.js) removes it. */
.quote__slot { --frame-h: 720px; position: relative; }
@container (min-width: 420px) {
  .quote__slot { --frame-h: 680px; }
}
.js .quote__slot:not(.is-loaded) { min-height: var(--frame-h); }
.quote__frame { display: block; width: 100%; min-width: 100%; border: 0; }
.quote__frame--survey { height: var(--frame-h); }
.quote__frame--form { min-height: var(--frame-h); }
.quote__loading {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  margin: 0;
  padding: var(--space-7) var(--space-5) 0;
  background: var(--surface);
  color: var(--fg-muted);
  font-weight: 650;
  text-align: center;
}
.quote__loading a { color: var(--fg); white-space: nowrap; }
.quote__slot.is-loaded .quote__loading, .no-js .quote__loading { display: none; }
.quote--embed .quote__foot { padding-top: var(--space-4); }

/* 4.7 Rating line and stars */
.stars { display: inline-flex; gap: 2px; color: var(--star); }
.rating-line { margin: 0; font-size: var(--fs-small); line-height: 1.3; }
.rating-line a {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  color: var(--fg);
  text-decoration: none;
}
.rating-line__text { font-weight: 650; }
.rating-line a:hover .rating-line__text { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }

/* 4.8 Reviews */
.review { margin: 0; }
.review blockquote { margin: 0 0 var(--space-4); }
/* Quote mark on dark: a 32px square-cut gold mark drawn like the miter icon set, so it
   never depends on the display font. */
.section--dark .review blockquote::before,
.mini-review blockquote::before {
  content: '';
  display: block;
  width: 32px;
  height: 32px;
  margin-bottom: var(--space-4);
  background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M3 17L7 6h5L9 17h5v10H3zM18 17l4-11h5l-3 11h5v10H18z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M3 17L7 6h5L9 17h5v10H3zM18 17l4-11h5l-3 11h5v10H18z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.review blockquote p { max-width: 60ch; }
.review figcaption { font-size: var(--fs-small); line-height: 1.4; color: var(--fg-muted); }
.review figcaption strong { color: var(--fg); }
.review--featured blockquote p {
  max-width: 30em;
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 700;
  font-size: clamp(1.75rem, 1.4rem + 1vw, 2rem);
  line-height: 1.12;
}
.reviews__grid { display: grid; gap: var(--space-7); }
@media (min-width: 768px) {
  .reviews__grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
/* VO-15: a list of exactly three stays one column on tablets (never 2 plus 1), and
   three or more go to three columns from 1024px. V2: the tablet rules stop at 1023px,
   because the exactly-three selector outranks the three-column one and kept /about in
   one column on desktop. On tablets an odd last review takes the full row (never a lone
   half-width card), at a readable measure. */
.reviews__list { display: grid; gap: var(--space-7); }
@media (min-width: 768px) {
  .reviews__list { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .reviews__list:has(> :nth-child(3):last-child) { grid-template-columns: minmax(0, 1fr); max-width: 68ch; }
  .reviews__list > :last-child:nth-child(odd) { grid-column: 1 / -1; max-width: 68ch; }
}
@media (min-width: 1024px) {
  .reviews__list:has(> :nth-child(3)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.mini-review { max-width: 40em; margin: 0; }
.mini-review blockquote { margin: 0 0 var(--space-3); }
.mini-review blockquote::before { width: 24px; height: 24px; margin-bottom: var(--space-3); }
.mini-review blockquote p { font-size: 1rem; line-height: 1.5; }
@media (min-width: 1024px) {
  .mini-review blockquote p { font-size: var(--fs-lead); }
}
.mini-review figcaption { font-size: var(--fs-small); line-height: 1.4; color: var(--fg-muted); }

/* 4.9 Check list */
.check-list {
  display: grid;
  gap: var(--space-3) var(--space-6);
  margin-bottom: var(--space-6);
  list-style: none;
}
.check-list li { position: relative; padding-left: 34px; font-weight: 650; }
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 22px;
  height: 22px;
  background: var(--icon);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (min-width: 640px) {
  .check-list { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .check-list:has(> :nth-child(6)) { grid-template-columns: repeat(3, 1fr); }
}
#bin-pads h3 { margin-top: var(--space-6); }

/* 4.10 Spec rows, compare table, factors, limits */
.spec { display: grid; gap: var(--space-5); margin: 0; }
.spec__row { display: grid; align-content: start; gap: 2px; }
.spec dt { font-weight: 650; font-size: 1rem; }
.spec dd { margin: 0; color: var(--fg-muted); }
@media (max-width: 767px) {
  .spec { gap: var(--space-3); }
  .spec__row { display: block; }
  .spec dt, .spec dd { display: inline; }
  .spec dt::after { content: ': '; }
}
@media (min-width: 768px) {
  .spec__row { grid-template-columns: 30% minmax(0, 1fr); gap: var(--space-5); }
}
.compare-table {
  width: 100%;
  margin-bottom: var(--space-6);
  border-collapse: collapse;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  font-size: 1rem;
}
.compare-table th,
.compare-table td {
  padding: 16px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.compare-table thead th, .compare-table thead td { background: var(--stone-100); font-weight: 650; }
.compare-table thead a { text-decoration-thickness: 2px; }
.compare-table tbody th { width: 22%; font-weight: 650; }
.compare-table tbody tr:last-child > * { border-bottom: 0; }
/* Phones: one card per option (spec 4.11), attributes as bold lead-ins. */
.compare-cards { display: none; }
@media (max-width: 759px) {
  .compare-table { display: none; }
  .compare-cards { display: block; margin-bottom: var(--space-6); }
  .compare-cards__list { display: grid; gap: var(--space-3); list-style: none; }
  .compare-card { padding: 20px; background: var(--surface); box-shadow: var(--shadow-card); }
  .compare-card__title { margin: 0 0 var(--space-3); font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 700; font-size: 1.5rem; line-height: 1.05; text-transform: uppercase; }
  .compare-card .spec { gap: var(--space-2); }
  .compare-cards__more { margin-top: var(--space-4); }
  .compare-cards__more .more__body { padding-top: var(--space-3); }
}
/* Quote factors: a plain list (ul, or ol until every page is switched). Bold term, one
   line of text, a hairline above each item; two columns from 1024px. */
.factors__list {
  display: grid;
  gap: var(--space-5);
  list-style: none;
}
.factors__list li {
  display: grid;
  align-content: start;
  gap: 2px;
  padding-top: var(--space-4);
  box-shadow: inset 0 1px 0 var(--line);
}
.section--dark .factors__list li { box-shadow: inset 0 1px 0 var(--line-dark); }
.factors__list strong { line-height: 1.4; }
.factors__list span { color: var(--fg-muted); }
.factors__cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-6); margin-top: var(--space-7); }
@media (min-width: 1024px) {
  .factors__list { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .limits .wrap {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 0 var(--space-8);
    align-items: start;
  }
}
.limits__list { display: grid; gap: var(--space-4); list-style: none; }
.limits__list li { position: relative; max-width: 68ch; padding-left: 26px; }
.limits__list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 8px;
  height: 8px;
  background: var(--fg);
}

/* 4.11 FAQ */
.faq__grid { display: grid; gap: 0 var(--space-8); }
.faq__item { box-shadow: inset 0 -1px 0 var(--line); }
.faq__item:first-child { box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }
.faq__item summary {
  min-height: 72px;
  padding: 18px 0;
  font-weight: 650;
  font-size: var(--fs-body);
  line-height: 1.4;
}
.faq__item summary:hover span {
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}
@media (max-width: 639px) {
  .faq__item summary { min-height: 64px; padding: 14px 0; }
}
.faq__answer { max-width: 68ch; padding: 0 48px var(--space-5) 0; color: var(--fg-muted); }
.faq__answer a { color: var(--fg); }
@media (min-width: 1024px) {
  .faq__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  .faq__grid > .section-head { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* 4.14 Related links, link rows, callout, link grid */
.related__title {
  max-width: none;
  margin-bottom: var(--space-5);
  font-size: var(--fs-h3);
  line-height: 1;
}
/* Flat link rows: 1px rule above each, display-face label, arrow. No tiles or shadows.
   Used for "Related services" and the about page service list. */
.related ul, .link-rows { display: grid; list-style: none; }
.related a, .link-rows a {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  min-height: 64px;
  padding: 16px 0;
  box-shadow: inset 0 1px 0 var(--line);
  color: var(--fg);
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 700;
  font-size: 1.375rem;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
}
.related a > span, .link-rows a > span { flex: 1; min-width: 0; }
.related a .icon--arrow, .link-rows a .icon--arrow { width: 22px; height: 22px; }
.related li:last-child a, .link-rows li:last-child a { box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }
.section--dark .link-rows a { box-shadow: inset 0 1px 0 var(--line-dark); }
.section--dark .link-rows li:last-child a { box-shadow: inset 0 1px 0 var(--line-dark), inset 0 -1px 0 var(--line-dark); }
.related a:hover > span, .link-rows a:hover > span { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 0.15em; }
.related a:hover .icon--arrow, .link-rows a:hover .icon--arrow { transform: translateX(3px); }
@media (min-width: 1024px) {
  .related ul { grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: var(--col-gap); }
  .related a { align-items: flex-start; height: 100%; }
  .related li:last-child a { box-shadow: inset 0 1px 0 var(--line); }
}
.link-grid { display: grid; gap: var(--space-2); list-style: none; }
.link-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 64px;
  padding: 16px 20px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  font-weight: 650;
  text-decoration: none;
  transition: transform var(--t-hover) var(--ease), box-shadow var(--t-hover) var(--ease);
}
.link-grid a:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.related + p { margin-top: var(--space-6); }
.related + p:not(:has(> a:not(.text-link))) { display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-6); }
@media (max-width: 639px) {
  .link-grid a { min-height: 52px; padding: 10px 16px; }
  .related a, .link-rows a { min-height: 56px; padding-block: 12px; font-size: 1.25rem; }
  .factors__list { gap: var(--space-5); }
}
@media (min-width: 640px) {
  .link-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .link-grid { grid-template-columns: repeat(3, 1fr); }
}
/* Floor callout on the construction pages: a normal light section on the page stone,
   with plain arrow text links. */
.callout > .wrap { display: grid; gap: var(--space-6); align-items: center; }
.callout h2 { max-width: none; font-size: clamp(2rem, 1.5rem + 1.8vw, 3rem); }
.callout p { max-width: 52ch; color: var(--fg-muted); font-size: var(--fs-lead); }
.callout__links { display: grid; gap: var(--space-1); list-style: none; }
.callout__links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 650;
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}
.callout__links a:hover { text-decoration-thickness: 3px; }
.callout__links .icon { width: 18px; height: 18px; }
@media (min-width: 1024px) {
  .callout > .wrap { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-8); }
}

/* 4.15 Picker */
.picker {
  margin-bottom: var(--space-7);
  padding: clamp(20px, 3vw, 40px);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.picker__q {
  margin: 0 0 var(--space-5);
  padding: 0;
  border: 0;
  min-width: 0;
}
.picker__q legend {
  margin-bottom: var(--space-3);
  padding: 0;
  font-weight: 650;
  font-size: 1.125rem;
}
.picker__opts { display: grid; gap: var(--space-2); }
.picker__opt { position: relative; display: block; }
.picker__opt input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.picker__opt span {
  display: flex;
  align-items: center;
  height: 100%;
  min-height: 56px;
  padding: 12px 16px;
  border: 1px solid var(--line-input);
  background: #fff;
  font-weight: 650;
  line-height: 1.35;
  transition: background-color var(--t-hover), color var(--t-hover);
}
.picker__opt:hover span { border-color: var(--ink); }
.picker__opt input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.picker__opt input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.picker__q:not(:first-of-type) .picker__opts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.picker__q:not(:first-of-type) .picker__opt span { justify-content: center; padding-inline: 10px; text-align: center; }
/* VO-05: "Paint, sealer, epoxy or glue" needs the full width on small phones. */
@media (max-width: 419px) {
  .picker__q:nth-of-type(2) .picker__opts { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 768px) {
  .picker__opts { grid-template-columns: repeat(3, 1fr); }
}
/* a11y-3: Windows high contrast keeps the chosen option visible. */
@media (forced-colors: active) {
  .picker__opt input:checked + span,
  .seg input:checked + span,
  .choice input:checked + span {
    forced-color-adjust: none;
    background: Highlight;
    border-color: Highlight;
    color: HighlightText;
  }
  .quote__progress-step[aria-current='step'] { outline: 2px solid Highlight; }
}
.picker__result:empty { display: none; }
.picker__result { margin-top: var(--space-6); padding: clamp(20px, 3vw, 32px); background: var(--ink); }
.picker__result h3 { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); }
.picker__result p { color: var(--fg-muted); }
.picker__result .picker__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4) var(--space-6);
  margin-top: var(--space-5);
}

/* 4.17 Closing CTA band: flat ink, so the band and the footer read as one dark block. */
.cta-band {
  padding-block: var(--space-section);
  background: var(--ink);
}
.cta-band__inner { display: grid; gap: var(--space-6); align-items: end; }
.cta-band h2 { margin-bottom: var(--space-4); }
.cta-band p { max-width: 48ch; font-size: var(--fs-lead); color: var(--fg-muted); }
.cta-band__actions { align-items: flex-start; flex-direction: column; gap: var(--space-4); }
.cta-band__phone {
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 700;
  font-size: var(--fs-phone);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--orange);
  text-decoration: none;
}
.cta-band__phone:hover { text-decoration: underline; text-decoration-thickness: 3px; }
@media (min-width: 1024px) {
  .cta-band__inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-8); }
  .cta-band__actions { align-items: flex-end; }
}

/* 4.18 Footer */
.site-footer {
  padding-block: var(--space-7) calc(var(--space-6) + var(--bar-space));
  background: var(--ink);
  color: var(--muted-dark);
  box-shadow: inset 0 1px 0 var(--line-dark);
}
.footer__crumbs { margin-bottom: var(--space-6); }
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  font-size: var(--fs-small);
  color: var(--muted-dark);
}
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--muted-dark-2); }
.crumbs a { color: inherit; text-decoration-color: rgba(255, 255, 255, 0.4); text-decoration-thickness: 1px; }
.crumbs [aria-current] { color: #fff; }
.footer__grid { display: grid; gap: var(--space-6); }
.footer__brand {
  display: grid;
  gap: var(--space-5);
  align-content: start;
  justify-items: start;
}
.footer__logo { display: block; padding: 10px 14px; background: #fff; }
.footer__logo img { width: auto; height: 52px; }
.footer__blurb { max-width: 44ch; margin: 0; }
.footer__contact { display: grid; gap: 4px; margin: 0; }
.footer__phone {
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.05;
  color: var(--orange);
  text-decoration: none;
}
.footer__email { color: #fff; }
.footer__social { display: flex; flex-wrap: wrap; gap: 0 var(--space-5); list-style: none; }
.footer__social a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.4);
}
.footer__social a:hover { text-decoration-color: var(--orange); }
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.footer__title {
  margin-bottom: var(--space-2);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: #fff;
}
/* H8: each link is its own padded row, so a wrapped link never runs into the next one. */
.footer__nav ul { display: grid; gap: 2px; list-style: none; }
.footer__nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding-block: 8px;
  line-height: 1.25;
  color: var(--muted-dark);
  text-decoration: none;
}
.footer__nav a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--orange); }
.footer__base {
  display: flex;
  flex-wrap: wrap;
  gap: 4px var(--space-6);
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  background: linear-gradient(var(--line-dark), var(--line-dark)) top center / calc(100% - 2 * var(--gutter)) 1px no-repeat;
  font-size: var(--fs-small);
  color: var(--muted-dark-2);
}
.footer__base p { margin: 0; }
/* H3: a shorter phone footer. The logo and the phone and email go (the header, the CTA
   band and the action bar carry them); the blurb and the Facebook and Google links stay.
   The link rows are 40px. */
@media (max-width: 639px) {
  .footer__contact, .footer__logo { display: none; }
  .footer__brand { gap: var(--space-4); }
  .footer__nav a { min-height: 40px; padding-block: 6px; }
  .footer__crumbs { margin-bottom: var(--space-5); }
  .footer__grid { gap: var(--space-5); }
  .footer__base { margin-top: var(--space-6); padding-top: var(--space-4); gap: 2px var(--space-5); line-height: 1.45; }
}
@media (min-width: 900px) {
  .footer__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-8); }
}

/* 4.19 Mobile action bar */
.action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
  padding: var(--space-2) 16px calc(var(--space-2) + env(safe-area-inset-bottom));
  background: rgba(17, 17, 17, 0.97);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.2);
  transition: transform var(--t-open) var(--ease);
}
.action-bar .btn { min-height: 52px; padding-inline: 12px; }
.action-bar__long { display: none; }
.action-bar.is-call-only { grid-template-columns: 1fr; }
.action-bar.is-call-only .action-bar__quote, .action-bar.is-call-only .action-bar__short { display: none; }
.action-bar.is-call-only .action-bar__long { display: inline; }
.action-bar.is-hidden {
  transform: translateY(110%);
  visibility: hidden;
  transition: transform var(--t-open) var(--ease), visibility 0s linear var(--t-open);
}
@media (max-width: 1023px) {
  body { --bar-space: calc(68px + env(safe-area-inset-bottom)); }
}
@media (min-width: 1024px) {
  .action-bar { display: none; }
}

/* 4.20 Lightbox */
/* H7: the dialog wraps the photo, so it is never letterboxed. */
.lightbox {
  width: fit-content;
  max-width: min(96vw, 1400px);
  max-height: 94vh;
  padding: 0;
  border: 0;
  background: var(--ink);
  color: #fff;
}
.lightbox::backdrop { background: rgba(10, 10, 10, 0.9); }
/* Close sits in its own bar above the photo, so nothing covers any part of it. */
.lightbox form { display: flex; justify-content: flex-end; padding: 8px; }
.lightbox img { width: auto; max-width: min(96vw, 1400px); max-height: calc(94vh - 60px); }
/* H7 (VO-03): phones already show each photo at full width, so a tap does not open a
   smaller copy. Keyboard and screen reader activation still opens it. */
@media (max-width: 767px) {
  .gallery__open { pointer-events: none; }
}
.lightbox__close {
  position: static;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

/* ==========================================================================
   5. Sections
   ========================================================================== */

/* 5.1 Heroes: flat ink. The grinding, polishing and coatings heroes put a stock photo
   under the spec gradient (stock on service pages only). */
.home-hero,
.svc-hero,
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg__pic, .hero-bg img { width: 100%; height: 100%; object-fit: cover; }
/* Grinding: stock may be cropped. Show the bare slab and keep the coating crew out. */
.page-grinding .hero-bg img { object-position: 50% 100%; }
/* From 600px the wider frame would bring the prep crew in at the right, so the stock
   floor is zoomed from its bottom-left corner (stock only, never a real Key photo). */
@media (min-width: 600px) {
  .page-grinding .hero-bg img { transform: scale(1.5); transform-origin: 0 100%; }
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.8) 0%, rgba(17, 17, 17, 0.86) 45%, #111 100%);
}
/* H2: below 1024px the photo sits behind the text block only and fades into the ink,
   so it no longer stretches down behind the form and leaves a seam there. */
@media (max-width: 1023px) {
  .hero-bg { inset: 0 0 auto; height: min(100%, 720px); }
  .hero-bg img { object-position: 50% 85%; }
  .home-hero .lede--lg, .svc-hero .lede--lg, .page-hero .lede--lg { opacity: 1; color: #ececec; }
}
@media (min-width: 1024px) {
  .hero-bg::after {
    background: linear-gradient(180deg, rgba(17, 17, 17, 0) 70%, #111 100%), linear-gradient(90deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.72) 45%, rgba(10, 10, 10, 0.3) 100%);
  }
}
.hero-mobile { display: grid; gap: var(--space-4); margin-top: var(--space-5); }
@media (max-width: 1023px) {
  :is(.svc-hero, .home-hero) .quote__head .rating-line,
  .page-hero:has(.page-hero__text .rating-line) .quote__head .rating-line { display: none; }
  :is(.svc-hero, .home-hero) .quote__intro,
  .page-hero:has(.page-hero__text .rating-line) .quote__intro { margin-bottom: 0; }
}
@media (min-width: 1024px) {
  .hero-mobile { display: none; }
}

/* 5.2 Home hero */
.home-hero { padding-block: var(--space-6) var(--space-7); }
.home-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-7); }
.home-hero h1 { margin-bottom: var(--space-4); }
.hl-gold { display: block; color: var(--gold); }
.home-hero .lede--lg { max-width: 34em; margin-bottom: var(--space-5); }
/* Two whole 4:3 Key photos in one justified row at every width: nothing is cut off. */
.hero-strip { margin-top: var(--space-6); }
.hero-strip .jrow { gap: 4px; }
@media (min-width: 1024px) {
  .home-hero { padding-block: clamp(48px, 1rem + 4vw, 88px) var(--space-7); }
  .home-hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-8); align-items: start; }
  .hero-strip { margin-top: var(--space-7); }
}

/* 5.3 Service hero */
.svc-hero { padding-block: var(--space-6) var(--space-7); }
.svc-hero__grid { display: grid; gap: var(--space-6); grid-template-areas: 'text' 'media' 'aside' 'review'; }
.svc-hero__text { grid-area: text; }
.svc-hero__media { grid-area: media; }
.svc-hero__aside { grid-area: aside; min-width: 0; }
.svc-hero__review { grid-area: review; min-width: 0; }
.svc-hero h1 { margin-bottom: var(--space-4); }
.svc-hero .lede--lg { max-width: 36em; }
/* VF-23: tablets get a form of readable width. */
@media (min-width: 768px) {
  .svc-hero__aside { max-width: 560px; }
}
@media (min-width: 1024px) {
  .svc-hero { padding-block: clamp(48px, 1rem + 4vw, 88px) clamp(64px, 2rem + 4vw, 104px); }
  .svc-hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    grid-template-rows: auto 1fr;
    grid-template-areas: 'text aside' 'review aside';
    column-gap: var(--space-8);
    row-gap: var(--space-6);
    align-items: start;
  }
  /* With a real photo the photo fills the text column and the review sits under the form. */
  .svc-hero__grid:has(> .svc-hero__media) { grid-template-rows: auto auto 1fr; grid-template-areas: 'text aside' 'media aside' 'media review'; }
  .svc-hero__review { padding-top: var(--space-5); box-shadow: inset 0 1px 0 var(--line-dark); }
  .svc-hero__grid:has(> .svc-hero__media) .svc-hero__review { padding-top: 0; box-shadow: none; }
  /* No real photo and no review (agricultural, and the grinding, polishing and coatings
     stock heroes): the text column centres on the form, so the space under the lede does
     not read as a missing photo. */
  .svc-hero__grid:not(:has(> .svc-hero__media, > .svc-hero__review)) .svc-hero__text { grid-row: 1 / -1; align-self: center; }
}

/* 5.4 Page hero (info pages) */
.page-hero { padding-block: var(--space-6) var(--space-7); }
.page-hero__grid { display: grid; gap: var(--space-6); }
.page-hero h1 { margin-bottom: var(--space-4); }
.page-hero .lede--lg { max-width: 36em; }
.page-hero .hero-actions { margin-top: var(--space-5); }
.page-hero .rating-line { margin-top: var(--space-5); }
.page-hero__aside { min-width: 0; }
@media (min-width: 1024px) {
  .page-hero { padding-block: clamp(48px, 1rem + 4vw, 96px); }
  .page-hero--split .page-hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-8); align-items: center; }
  .page-hero--aside .page-hero__grid { align-items: start; }
}

/* 5.5 Home: floor services. Plain text blocks on the page background with a hairline on
   top; the whole block is the link. One column, three from 1024px. */
.floor-cards { display: grid; gap: var(--space-6); }
.floor-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: var(--space-5);
  box-shadow: inset 0 1px 0 var(--line);
}
.floor-card__body { display: flex; flex: 1; flex-direction: column; }
.floor-card h3 { margin-bottom: var(--space-3); font-size: clamp(1.75rem, 1.5rem + 0.6vw, 2rem); }
.floor-card p { flex: 1; max-width: 60ch; margin-bottom: var(--space-4); color: var(--fg-muted); }
.floor-card__link { align-self: flex-start; }
.floor-card__link::after { content: ''; position: absolute; inset: 0; }
.floor-card:hover .floor-card__link { text-decoration-thickness: 3px; }
@media (min-width: 1024px) {
  .floor-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--col-gap); }
}

/* 5.6 Home: photo band and trio */
.photo-band .section-head { margin-bottom: var(--space-6); }
.trio {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-7);
  list-style: none;
}
.trio h3 { margin-bottom: var(--space-2); }
.trio h3 a { display: inline; text-decoration: none; }
.trio h3 a:hover { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
/* VH-07: the arrow follows the last word instead of drifting to the column edge. */
.trio h3 .icon { display: inline-block; width: 22px; height: 22px; margin-left: 8px; vertical-align: -3px; color: var(--gold); }
.trio p { color: var(--fg-muted); }
/* Two items (residential, agricultural), stacked as a list at every width so they never
   read as captions for the photos above (2026-11-18). */
@media (min-width: 768px) {
  .trio p { max-width: 52ch; }
}

/* 5.7 Home: commercial band. Heading left and text right from 1024px (the split), so the
   band has no empty half; phones stack heading, then text. */
.commercial-band .split { row-gap: var(--space-5); }
.commercial-band > .wrap > .split__text > h2:first-child { margin-bottom: 0; }
.commercial-band__text > * { max-width: 68ch; }
.commercial-band__text > p { margin-bottom: var(--space-6); }
.commercial-band__text > p:last-child { margin-bottom: 0; }

/* 5.8 Reviews bands */
.reviews__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4) var(--space-6);
  margin-bottom: var(--space-7);
}
.reviews__head .section-head { margin-bottom: 0; }
/* Dark band: one left-aligned column about 820px wide. Heading, the rating line (a link
   to Google), the featured quote, then two columns of reviews from 768px. */
.reviews--dark > .wrap > * { max-width: 820px; }
.reviews--dark h2 { margin-bottom: var(--space-4); }
.reviews--dark > .wrap > .rating-line { margin-bottom: var(--space-7); }
.reviews--dark .review--featured { margin-bottom: var(--space-7); }
@media (max-width: 639px) {
  .reviews--dark .review--featured blockquote p { font-size: 1.5rem; line-height: 1.15; }
}
@media (min-width: 768px) {
  .reviews--dark .reviews__grid { grid-template-columns: 1fr 1fr; }
}

/* 5.9 Duo panels (floor pages) */
.duo__grid { display: grid; gap: var(--space-7); }
/* Commercial and residential: two plain columns on the page background, a hairline on
   top, each ending in a text link that presets the form. */
.duo__panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: var(--space-5);
  box-shadow: inset 0 1px 0 var(--line);
}
.duo__panel .section-head { margin-bottom: var(--space-5); }
.duo__panel h2 { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem); }
.duo__panel > :nth-last-child(2) { margin-bottom: var(--space-5); }
@media (min-width: 768px) {
  .duo__grid { grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: start; }
}
@media (min-width: 1024px) {
  .duo__grid { column-gap: var(--col-gap); }
}

/* ==========================================================================
   6. Pages
   ========================================================================== */

/* Service areas: plain text blocks with a hairline on top. One column, two from 900px. */
.towns { display: grid; gap: var(--space-7); }
.town { padding-top: var(--space-5); box-shadow: inset 0 1px 0 var(--line); }
.town h2 { max-width: none; margin-bottom: var(--space-4); font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); }
.town p { max-width: 68ch; color: var(--fg); }
.town .town__cta { margin-top: var(--space-5); }
@media (min-width: 900px) {
  .towns { grid-template-columns: 1fr 1fr; column-gap: var(--space-6); align-items: start; }
}

/* Contact */
.contact-methods {
  display: grid;
  gap: var(--space-3);
  margin: var(--space-6) 0 0;
  list-style: none;
}
.contact-methods li {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  min-height: 44px;
}
.contact-methods a { font-weight: 650; font-size: 1.125rem; overflow-wrap: anywhere; }
/* What happens next: a normal numbered list in body type. */
.next-steps { padding-left: 1.5em; list-style: decimal; }
.next-steps li { max-width: 68ch; padding-left: var(--space-2); }
.next-steps li + li { margin-top: var(--space-3); }
.next-steps li::marker { font-weight: 650; }

/* Services index: hairline rows. Name (the link text), summary under it, arrow at the end. */
.service-list { display: grid; list-style: none; }
.service-list > li:last-child .service-row { box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }
.service-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: 'name go' 'summary go';
  align-items: center;
  gap: 6px var(--space-5);
  padding-block: var(--space-5);
  box-shadow: inset 0 1px 0 var(--line);
  color: var(--fg);
  text-decoration: none;
}
.service-row__name {
  grid-area: name;
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1;
  text-transform: uppercase;
}
.service-row__summary { grid-area: summary; max-width: 60ch; color: var(--fg-muted); }
.service-row__go { grid-area: go; display: inline-flex; }
.service-row__go .icon { width: 22px; height: 22px; }
.service-row:hover .service-row__name { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 0.15em; }
@media (min-width: 1024px) {
  .service-row {
    grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) auto;
    grid-template-areas: 'name summary go';
    column-gap: var(--col-gap);
  }
}

/* Bottom form sections (/services, /service-areas) */
.quote-section__grid { display: grid; gap: var(--space-6); }
@media (min-width: 1024px) {
  .quote-section__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-8); align-items: start; }
  .quote-section__grid > .quote { max-width: 640px; }
}

/* Gallery: photo groups on one dark band; rows align left with everything else (H7);
   phones stack one photo per line at full width. Nothing is cropped. */
.gallery-group + .gallery-group { padding-top: 0; }
/* H7 (VO-04): the first photos start higher, inside the first screen at 1440x900. */
.page-hero + .gallery-group { padding-top: var(--space-7); }
.section.gallery-group > .wrap > h2:first-child { margin-bottom: var(--space-5); }
.gallery-group .jrow { margin-inline: 0; }
.gallery-group .split__media .jrow--single { max-width: none; }
.gallery-group .split__text h2 { margin-bottom: var(--space-5); }
@media (max-width: 639px) {
  .gallery-group .jrow { flex-direction: column; }
  .gallery-group .jrow > li { flex: none; }
}
.gallery-group h2 { margin-bottom: var(--space-6); }
.gallery-group h3 { margin: var(--space-7) 0 var(--space-4); }
/* V6: walls and curbing. Phones and tablets keep the reading order (heading and one
   line, then the photos, full frame). From 1024px the text sits left and the two portraits
   right, like the commercial split below it. */
.gallery-walls { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
.gallery-walls__text h2 { margin-bottom: var(--space-4); }
.gallery-walls__text p { max-width: 40em; }
@media (min-width: 1024px) {
  .gallery-walls {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: 'text media';
    gap: var(--space-8) var(--col-gap);
    align-items: center;
  }
  .gallery-walls__text { grid-area: text; }
  .gallery-walls__media { grid-area: media; }
}
.gallery-group .jrows + p { margin-top: var(--space-5); }

/* Privacy notice (/contact#privacy, L8): plain prose with clear sub-heads, set apart
   from the FAQ above by a rule. */
.privacy h2 { padding-top: var(--space-7); box-shadow: inset 0 1px 0 var(--line); }
.privacy h3 { margin: var(--space-6) 0 var(--space-2); }

/* Reviews page and about */
.review-group h2 { margin-bottom: var(--space-5); }
.review-group .rating-line { margin-bottom: var(--space-7); }
.review-group > .wrap > .review--featured { margin: var(--space-6) 0; }
.review-group > .wrap > p { margin-top: var(--space-6); }
.review-group > .wrap > .reviews__list + p { margin-top: var(--space-7); }

/* ==========================================================================
   7. Utilities
   ========================================================================== */
/* VO-12: a long email address wraps inside its card at 320px. */
main a[href^='mailto:'] { overflow-wrap: anywhere; }
.is-capture .site-header { position: static; }
.is-capture .action-bar { display: none; }

/* ==========================================================================
   8. Motion
   ========================================================================== */
@keyframes kc-reveal {
  from { opacity: 0.5; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .picker__result {
      animation: kc-reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 30%;
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
}
.is-capture *, .is-capture *::before, .is-capture *::after { animation: none !important; transition: none !important; }

/* ==========================================================================
   9. Preview (gaps switch, font check, placeholders)
   ========================================================================== */
html:not(.show-gaps) .photo-needed, html:not(.show-gaps) .preview-flag, html:not(.show-gaps) [data-gaps-only] { display: none !important; }
html:not(.show-gaps) .proof-row:not(:has(> :not([data-preview-only]))) { display: none; }
html.show-gaps .preview-bar__gaps--show, html:not(.show-gaps) .preview-bar__gaps--hide { display: none; }
html.font-test { --font-display: Arial, sans-serif; --display-stretch: normal; }
.proof-row { display: grid; gap: var(--space-3); }
@media (min-width: 768px) {
  .proof-row { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}
.photo-needed { margin: 0; }
.photo-needed + .photo-needed { margin-top: var(--space-3); }
.proof-row .photo-needed + .photo-needed { margin-top: 0; }
.photo-needed__box {
  display: grid;
  align-content: center;
  gap: 4px;
  max-height: 160px;
  min-height: 112px;
  padding: var(--space-4) var(--space-5);
  overflow: hidden;
  background: repeating-linear-gradient(-45deg, var(--stone-100) 0 10px, var(--stone-50) 10px 20px);
  box-shadow: inset 0 0 0 1px var(--stone-300);
  color: var(--ink);
  font-size: var(--fs-small);
}
.photo-needed__tag { font-weight: 650; color: var(--orange-text); }

/* Live Google reviews widget (GHL, production only). Its own background is transparent
   with dark text, so on a dark band it sits on a light panel. */
.reviews-widget iframe { display: block; width: 100%; min-width: 100%; border: 0; }
.reviews-widget--panel { background: var(--stone-50); padding: var(--space-4); }
.reviews--widget > .wrap > .reviews-widget { max-width: none; }
.reviews--widget h2 { margin-bottom: var(--space-6); }
.reviews-widget + p { margin-top: var(--space-6); }
