/* V6 */
:root {
  /* V6 services: black leads (Andy 2026-11-02: 70-80% black, red and white, no blue).
     Variable names kept from V4 so every rule keeps working; the values are neutral.
     Revert the whole palette by restoring this block. */
  --red: #bf1822;
  --red-dark: #98131b;
  --red-text: #ffffff;
  --brand-word: var(--red-text);       /* the word "Plumbing" in live-text names, on black */
  --brand-word-light: #bf1822;         /* same word on a white band */
  --blue-text: #f2f2f2;                /* legacy name: now neutral light, no blue */
  --sky: #f2f2f2;
  --navy: #0d0d0d;
  --navy-deep: #000000;
  --navy-line: #2e2e2e;
  --rule: #4a4a4a;
  --bg: #000000;
  --black: #000000;
  --surface: #0d0d0d;
  --surface-2: #151515;
  --line: #262626;
  --text: #ffffff;
  --body: #e4e4e4;
  --muted: #d4d4d4;
  --field-line: #8a8a8a;
  --paper: #ffffff;
  --paper-ink: #0a0a0a;
  --paper-body: #262626;
  --paper-line: #cfcfcf;
  --gutter: 1.25rem;
  --radius: 4px;
  --radius-sm: 3px;
  --max: 1240px;   /* 2026-11-03: one width on all 45 pages (was 1180 here, 1240 on the s3 pages: header and footer jumped 30px) */
  --header-h: 88px;
  --font-display: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Atkinson Hyperlegible', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

@media (max-width: 560px) {
  :root { --gutter: 1.5rem; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 118%;
  line-height: 1.12;
  margin: 0 0 0.55em;
  letter-spacing: -0.01em;
  color: var(--text);
}
h2, h3 { text-wrap: balance; }
p { margin: 0 0 1em; color: var(--body); }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--navy-line); color: #fff;
  padding: 0.75em 1.25em; z-index: 200; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85em 1.5em;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.2;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
  min-height: 48px;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--red); color: #ffffff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.75); }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); }
.btn-dark { background: var(--red); color: #fff; }
.btn-dark:hover { background: var(--red-dark); }
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--black);
  border-bottom: 1px solid var(--navy-line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}
.brand { display: flex; align-items: center; min-height: 44px; gap: 0.6rem; text-decoration: none; flex: 0 0 auto; }
.brand img { height: 64px; width: auto; max-width: 300px; flex: 0 0 auto; }

.main-nav { flex: 1 1 auto; }
.main-nav ul { display: flex; align-items: center; justify-content: center; gap: 2rem; }
.main-nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  padding: 0.4em 0;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  text-decoration-color: transparent;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { text-decoration-color: var(--red); }
.main-nav .nav-call { display: none; }
.main-nav a.nav-call { color: #fff; text-decoration: none; }

.header-actions { display: flex; align-items: center; gap: 0.9rem; flex: 0 0 auto; }
.header-phone small {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.1;
  opacity: 0.92;
}
.header-phone span { display: block; line-height: 1.15; }
.header-phone {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0.35rem 1.6rem;
  border-radius: 999px;
  background: var(--red);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  transition: background-color 0.15s ease;
}
.header-phone:hover { background: var(--red-dark); }

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: none;
  background: var(--surface);
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .site-header .container { min-height: 72px; }
  .brand img { height: 48px; }
  .nav-toggle { display: flex; }
  .header-phone { display: none; }
  .main-nav {
    position: fixed;
    inset: 72px 0 0 0;
    background: var(--black);
    border-top: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
    padding: 1.5rem var(--gutter) 2rem;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav a { display: block; padding: 1em 0; font-size: 1.05rem; text-decoration: none; }
  .main-nav a[aria-current="page"] { color: var(--blue-text); }
  .main-nav .nav-call {
    display: block;
    margin-top: 1.2rem;
    text-align: center;
    border: none;
  }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  border-bottom: 1px solid var(--rule);
  padding: 0;
  display: flex;
  flex-direction: column;
}
.hero-home { min-height: min(calc(100svh - var(--header-h)), 900px); }
.hero-grid {
  flex: 1 0 auto;
  width: 100%;
  padding-top: 2.5rem;
  padding-bottom: 1rem;
}
.hero-grid > :not(.hero-art) { position: relative; z-index: 2; }

/* Art sits behind the whole hero, weighted right, navy into the page. */
.hero-art {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  aspect-ratio: 2400 / 1357;
  z-index: 0;
  pointer-events: none;
}
.hero-art picture, .hero-art img { display: block; width: 100%; height: 100%; }
.hero-art img { object-fit: cover; }
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--navy-deep) 0%, rgba(0, 0, 0, 0.92) 38%, rgba(0, 0, 0, 0) 72%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0) 24%);
}

/* The picker drives the art: one red pulse marker, six positions (fractions of the art). */
.hero-marker {
  position: absolute;
  z-index: 1;
  left: calc(var(--mx) * 100%);
  top: calc(var(--my) * 100%);
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--red);
  border: 2px solid #fff;
  transition: left 0.6s cubic-bezier(.2,.7,.2,1), top 0.6s cubic-bezier(.2,.7,.2,1);
  --mx: 0.675; --my: 0.36;
}
.hero-marker::before, .hero-marker::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 2px solid var(--red);
  border-radius: 50%;
  animation: marker-pulse 2.4s ease-out infinite;
}
.hero-marker::after { animation-delay: 1.2s; }
@keyframes marker-pulse {
  0% { transform: scale(1); opacity: 0.95; }
  100% { transform: scale(3.4); opacity: 0; }
}
.hero-marker[data-pos="0"] { --mx: 0.675; --my: 0.36; }
.hero-marker[data-pos="1"] { --mx: 0.793; --my: 0.575; }
.hero-marker[data-pos="2"] { --mx: 0.743; --my: 0.436; }
.hero-marker[data-pos="3"] { --mx: 0.714; --my: 0.271; }
.hero-marker[data-pos="4"] { --mx: 0.673; --my: 0.657; }
.hero-marker[data-pos="5"] { --mx: 0.893; --my: 0.631; }
@media (prefers-reduced-motion: reduce) {
  .hero-marker::before, .hero-marker::after { animation: none; display: none; }
  .hero-marker { transition: none; }
}

/* Headline: breaks on the sentence, widest and heaviest, second sentence lighter. */
.hero h1 {
  font-size: clamp(2rem, 4.7vw, 4.25rem);
  font-weight: 900;
  font-stretch: 125%;
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0 0 0.36em;
  max-width: none;
}
.hero h1 span { display: block; }
.hero h1 .turn { color: var(--sky); font-weight: 500; font-stretch: 112%; letter-spacing: -0.02em; }
.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-text);
  margin-bottom: 0.8rem;
}
.hero .eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--red); }
.hero-sub h1 { font-size: clamp(1.9rem, 3.7vw, 3.3rem); font-weight: 800; font-stretch: 118%; line-height: 1.04; max-width: 21ch; text-wrap: balance; margin-bottom: 0.5em; }
.hero .lede {
  color: var(--body);
  font-size: 1.05rem;
  max-width: 58ch;
  margin: 0 0 1.3rem;
}

/* The phone is the loudest action on the page. */
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.6rem; margin: 0 0 1.1rem; }
.btn-call {
  display: inline-flex;
  align-items: stretch;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius-sm);
  overflow: hidden;
  font-family: var(--font-display);
  transition: background-color 0.15s ease;
}
.btn-call:hover { background: var(--red-dark); }
.btn-call-label {
  display: flex;
  align-items: center;
  padding: 0 1rem;
  background: var(--red-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.btn-call-num {
  padding: 0.55rem 1.3rem;
  font-size: clamp(1.45rem, 2.5vw, 2.05rem);
  font-weight: 900;
  font-stretch: 112%;
  line-height: 1.1;
  white-space: nowrap;
}
.link-quiet {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  text-decoration-color: var(--blue-text);
}
.link-quiet:hover { text-decoration-color: #fff; }
.hero-fineprint { font-size: 0.92rem; color: var(--muted); }
.hero-fineprint strong { color: #fff; }

/* Heartbeat trace, once per page. Home: full width along the top of the rail. */
.heartbeat { display: block; width: 272px; max-width: 100%; height: 34px; margin: 0 0 0.7rem; }
.heartbeat-path {
  fill: none;
  stroke: var(--red);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: draw-heartbeat 1.6s ease-out 0.2s forwards;
}
@keyframes draw-heartbeat { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .heartbeat-path { animation: none; stroke-dashoffset: 0; }
}

/* Credibility rail, pinned to the bottom edge of the hero. */
.hero-rail {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--rule);
  background: rgba(0, 0, 0, 0.66);
}
.hero-rail .rail-trace {
  position: absolute;
  left: 0;
  top: -12px;
  width: 100%;
  height: 24px;
  pointer-events: none;
}
.hero-rail .heartbeat-path { stroke-width: 2; vector-effect: non-scaling-stroke; }
.rail-list { display: grid; grid-template-columns: repeat(4, 1fr); }
.rail-list li { padding: 0.75rem 1.1rem 0.8rem; border-left: 1px solid var(--navy-line); }
.rail-list li:first-child { border-left: 0; padding-left: 0; }
.rail-fig {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 118%;
  font-size: clamp(1.1rem, 1.9vw, 1.55rem);
  line-height: 1.1;
  color: #fff;
}
.rail-lab {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--blue-text);
}

/* ===== Symptom picker: flat, ruled list on a translucent navy panel ===== */
.symptom-picker {
  max-width: 830px;
  background: rgba(0, 0, 0, 0.82);
  border: 1px solid var(--navy-line);
  border-left: 3px solid var(--red);
  border-radius: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 345px 1fr;
}
.symptom-picker h2 {
  grid-column: 1 / -1;
  font-family: var(--font-body);
  font-stretch: 100%;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-text);
  margin: 0;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--navy-line);
}
.symptom-tabs { display: flex; flex-direction: column; gap: 0; margin: 0; border-right: 1px solid var(--navy-line); }
.symptom-tab {
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--navy-line);
  border-left: 3px solid transparent;
  padding: 0.5em 0.85em;
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--body);
  cursor: pointer;
  border-radius: 0;
  min-height: 40px;
  white-space: nowrap;
  display: flex;
  align-items: center;
}
.symptom-tab:last-child { border-bottom: 0; }
.symptom-tab:hover { background: rgba(255, 255, 255, 0.05); color: #fff; }
.symptom-tab[aria-selected="true"] { border-left-color: var(--red); color: #fff; background: var(--surface-2); }
.symptom-panels { padding: 0.8rem 1.1rem 0.9rem; }
.symptom-panel h3 {
  font-family: var(--font-body);
  font-stretch: 100%;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-text);
  margin: 0 0 0.35em;
}
.symptom-panel h3:not(:first-child) { margin-top: 0.8em; }
.symptom-panel ul { list-style: none; padding: 0; margin: 0 0 0.2em; }
.symptom-panel li { position: relative; padding-left: 1em; margin-bottom: 0.3em; font-size: 0.88rem; line-height: 1.45; color: var(--body); }
.symptom-panel li::before { content: ""; position: absolute; left: 0; top: 0.58em; width: 5px; height: 5px; border-radius: 50%; background: var(--blue-text); }
.symptom-panel p { font-size: 0.88rem; line-height: 1.45; margin-bottom: 0.2em; }
.symptom-ctas { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.8rem; }
.symptom-ctas .btn { font-size: 0.85rem; padding: 0.55em 0.95em; min-height: 40px; }
.is-enhanced .symptom-panel { display: none; }
.is-enhanced .symptom-panel.is-active { display: block; }
.symptom-panel + .symptom-panel { margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px dashed var(--navy-line); }
.is-enhanced .symptom-panel + .symptom-panel { margin-top: 0; padding-top: 0; border-top: none; }

/* ===== Hero, tablet and phone ===== */
@media (max-width: 900px) {
  .hero-home { min-height: 0; }
  .hero-grid { display: flex; flex-direction: column; padding-bottom: 0; }
  .hero-grid h1 { order: 1; }
  .hero-grid .hero-ctas { order: 2; }
  .hero-grid .hero-art {
    order: 3;
    position: relative;
    top: auto; right: auto;
    height: auto;
    width: auto;
    aspect-ratio: 900 / 414;
    margin: 0.2rem calc(var(--gutter) * -1) 1rem;
    z-index: 1;
  }
  .hero-grid .hero-art::after {
    background: linear-gradient(0deg, var(--navy-deep) 0%, rgba(0, 0, 0, 0) 30%), linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 25%);
  }
  .hero-grid .symptom-picker { order: 4; margin-bottom: 1.25rem; }
  .hero-grid .lede { order: 5; }
  .hero-grid .hero-fineprint { order: 6; }
  .hero-grid .heartbeat { order: 3; display: none; }
  .hero-marker {
    left: calc((var(--mx) - 0.30) / 0.70 * 100%);
    top: calc((var(--my) - 0.15) / 0.57 * 100%);
  }
  .symptom-picker { grid-template-columns: 1fr; max-width: none; }
  .symptom-tabs { border-right: 0; border-bottom: 1px solid var(--navy-line); }
  .symptom-tab { min-height: 44px; white-space: normal; }
  .rail-list { grid-template-columns: 1fr 1fr; }
  .rail-list li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .rail-list li:nth-child(n+3) { border-top: 1px solid var(--navy-line); }
}
@media (max-width: 560px) {
  .hero h1 { font-size: clamp(1.75rem, 8.2vw, 2.2rem); }
  .btn-call { width: 100%; }
  .btn-call-label { padding: 0 0.75rem; }
  .btn-call-num { flex: 1; text-align: center; font-size: 1.4rem; padding: 0.55rem 0.5rem; }
  .hero-ctas { gap: 0.7rem 1.2rem; margin-bottom: 0.6rem; }
}

/* ===== Sections ===== */
section { padding: clamp(2.25rem, 4.6vw, 3.5rem) 0; }
.section-head { max-width: 62ch; margin-bottom: 1.6rem; }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); }
.section-head p { font-size: 1.05rem; }

/* generic split (diagnostic intro, page intros) */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.split img { border-radius: var(--radius); width: 100%; height: auto; }
.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }
@media (max-width: 820px) {
  .split, .split-reverse { grid-template-columns: 1fr; direction: ltr; }
}

/* ===== Service index (home) ===== */
.diagnostic-lead {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
  padding-bottom: 2rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.diagnostic-lead > div { display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 820px) { .diagnostic-lead { grid-template-columns: 1fr; } }
.diagnostic-lead img { border-radius: var(--radius); width: 100%; height: 100%; min-height: 220px; max-height: 300px; object-fit: cover; object-position: center 85%; }
.index-tag {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue-text);
  margin-bottom: 0.5em;
}
.diagnostic-lead h3 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin-bottom: 0.3em; }
.diagnostic-lead h3 a { text-decoration: none; display: inline-block; padding: 0.7rem 0; margin: -0.7rem 0; }
.diagnostic-lead h3 a:hover { color: var(--blue-text); }
.diagnostic-lead p { font-size: 1.05rem; margin-bottom: 0; }

.service-rows { border-top: 1px solid var(--line); }
.service-rows li { border-bottom: 1px solid var(--line); }
.service-rows a {
  display: block;
  padding: 1.4rem 0;
  text-decoration: none;
}
.service-rows a:hover .row-name { color: var(--blue-text); }
.row-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 118%;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  color: var(--text);
  display: block;
  margin-bottom: 0.25em;
}
.row-scope {
  display: block;
  font-size: 1rem;
  color: var(--body);
  max-width: 60ch;
}

/* ===== Diagnostic methods list ===== */
.method-rows { border-top: 1px solid var(--line); }
.method-rows li { border-bottom: 1px solid var(--line); padding: 1.6rem 0; }
.method-name {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  margin-bottom: 0.5em;
}
.method-detail { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 2rem; }
@media (max-width: 700px) { .method-detail { grid-template-columns: 1fr; } }
.method-detail h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue-text);
  margin: 0 0 0.35em;
}
.method-detail p { font-size: 0.95rem; margin-bottom: 0; }

/* ===== Two-up feature list (per-service pages) ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}
@media (max-width: 700px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-item { padding-bottom: 0.2rem; }
.feature-item h3 { font-size: 1.05rem; margin-bottom: 0.35em; }
.feature-item p { font-size: 0.95rem; margin-bottom: 0; }

/* ===== Crew photos, asymmetric ===== */
.crew-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
  align-items: start;
}
.crew-grid figure { margin: 0; }
.crew-grid img { border-radius: var(--radius); width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.crew-grid figcaption {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.crew-item-van { grid-column: 1 / -1; }
.crew-item-van img { aspect-ratio: auto; height: auto; object-fit: contain; background: #000; }
.crew-item-roof { grid-column: 1 / -1; }
.crew-item-roof img { aspect-ratio: 2.2 / 1; }
.crew-item-truck { grid-column: span 3; }
@media (max-width: 820px) {
  .crew-grid { grid-template-columns: 1fr 1fr; }
  .crew-item-van { grid-column: 1 / -1; }
  .crew-item-roof, .crew-item-truck { grid-column: span 1; }
}
@media (max-width: 560px) {
  .crew-grid { grid-template-columns: 1fr; }
  .crew-item-van, .crew-item-roof, .crew-item-truck { grid-column: span 1; }
}

/* ===== Reviews ===== */
.reviews-line { background: var(--navy); border-top: 1px solid var(--navy-line); border-bottom: 1px solid var(--navy-line); }
.reviews-line p {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
  margin: 0;
}
.reviews-line p::before { content: ""; flex: 0 0 auto; width: 4px; height: 1.5em; background: var(--red); border-radius: 2px; }

/* ===== Service area ===== */
.area-copy { font-size: 1.05rem; max-width: 68ch; }

/* ===== Contact ===== */
.contact-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
@media (max-width: 820px) { .contact-wrap { grid-template-columns: 1fr; } }

.fast-lane {
  background: var(--navy);
  border: 1px solid var(--navy-line);
  border-top: 4px solid var(--rule);
  color: #fff;
  border-radius: var(--radius);
  padding: 2rem;
}
.fast-lane h3, .fast-lane h2 { color: #fff; font-size: 1.3rem; }
.fast-lane p { color: var(--body); }
.fast-lane .btn-primary { margin-top: 0.6rem; }

.field { margin-bottom: 1.1rem; display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-weight: 700; font-size: 0.9rem; color: #fff; }
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75em 0.9em;
  border: 1px solid var(--field-line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: #fff;
}
.field input::placeholder, .field textarea::placeholder { color: #9a9a9a; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 3px solid var(--blue-text);
  outline-offset: 1px;
  border-color: var(--blue-text);
}
.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.5rem;
}
.form-status {
  margin-top: 1rem;
  padding: 0.9em 1em;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--navy-line);
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  display: none;
}
.form-status.is-visible { display: block; }

/* ===== Footer ===== */
.site-footer {
  background: linear-gradient(rgba(0,0,0,0.94), rgba(0,0,0,0.94)), url(../img/texture.webp) 0 0 / 320px 320px, var(--black);
  border-top: 1px solid var(--line);
  color: var(--body);
  padding: 3rem 0 6.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid .footer-heading {
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.4em;
}
.footer-grid a { color: var(--body); text-decoration: none; }
.footer-grid a:hover { color: #fff; }
.footer-grid li { margin-bottom: 0.5em; }
.logo-plate {
  display: inline-block;
  margin-bottom: 1rem;
}
.logo-plate img { height: 52px; width: auto; }
.footer-brand p { font-size: 0.9rem; color: var(--muted); }
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}
.footer-bottom a { color: var(--body); }

/* ===== Sticky mobile call bar ===== */
.call-bar { display: none; }
@media (max-width: 760px) {
  .call-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 72px;
    bottom: 0;
    z-index: 40;
    background: var(--black);
    border-top: 1px solid var(--line);
    border-top-right-radius: var(--radius-sm);
    padding: 0.65rem var(--gutter);
    gap: 0.6rem;
  }
  .call-bar .btn { flex: 1 1 0; font-size: 0.92rem; padding: 0.75em 0.6em; }
  .site-footer { padding-bottom: calc(64px + 1.5rem + env(safe-area-inset-bottom)); }
}

/* ===== Utility pages (privacy / accessibility / 404) ===== */
.plain-page { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.plain-page .container { max-width: 760px; }
.plain-page h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.plain-page h2 { font-size: 1.3rem; margin-top: 1.8em; }
.plain-page p, .plain-page li { color: var(--body); }
.plain-page ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1em; }
.plain-page li { margin-bottom: 0.4em; }

.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 0;
}
.error-page .container { max-width: 520px; }
.error-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 1.5rem; }
.error-actions .btn { flex: 1 1 200px; max-width: 240px; }
.error-page .code { font-family: var(--font-display); font-size: 4rem; font-weight: 800; color: var(--red-text); margin-bottom: 0.1em; }

/* focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--blue-text);
  outline-offset: 2px;
}

/* PM review 2026-09-24: Atkinson Hyperlegible slashes its zero, so phone
   numbers read as "25\u00d8". Anything carrying digits a client will read
   (phones, address, copyright) uses the display face instead. */
a[href^="tel:"], .header-phone, .btn, .footer-brand p, .footer-bottom span {
  font-family: var(--font-display);
}

/* PM review: the one-line reviews section does not need a full section's air. */
section.reviews-line { padding: clamp(1.5rem, 3vw, 2.25rem) 0; }


/* ===== Mobile review fixes (PM, 2026-09-24) ===== */
/* 44px tap targets */
.footer-grid li { margin-bottom: 0; }
.footer-grid a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-brand p { margin: 0 0 0.6em; }
@media (max-width: 560px) {
  section { padding: 2.25rem 0; }
}

/* Andy on iPhone, 2026-09-24: the bar stopped 72px short with a rounded corner
   and read as a floating slab. It now spans the full width like a tab bar and
   reserves its right end for the accessibility widget's trigger, which the
   widget owns and we do not move. Safe-area padding clears the home indicator. */
@media (max-width: 760px) {
  .call-bar {
    right: 0;
    border-top-right-radius: 0;
    padding: 0.6rem calc(var(--gutter) + 64px) calc(0.6rem + env(safe-area-inset-bottom)) var(--gutter);
    box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.6);
  }
}
@media (max-width: 760px) { .call-bar .btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; } }

/* ===== Pre-go-live polish ===== */
.split-top { align-items: start; }
.split-section { padding: clamp(2rem, 3.6vw, 3rem) 0; background: linear-gradient(rgba(0,0,0,0.93), rgba(0,0,0,0.93)), url(../img/texture.webp) 0 0 / 320px 320px, var(--navy-deep); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--navy-line); }
.split-section .section-head { margin-bottom: 0; }
.side-figure { margin: 0; }
.side-figure img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 40%; border-radius: var(--radius); }
.side-figure-wide img { aspect-ratio: 900 / 400; max-height: none; }
.side-figure figcaption { margin-top: 0.6rem; font-size: 0.85rem; color: var(--muted); }
.fact-list { border-top: 1px solid var(--line); }
.fact-list li {
  position: relative;
  padding: 0.8rem 0 0.8rem 1.4rem;
  border-bottom: 1px solid var(--line);
  color: #fff;
  font-weight: 700;
}
.fact-list li::before { content: ""; position: absolute; left: 0; top: 1.35em; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.fact-list-cols { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 2rem; }
@media (max-width: 820px) {
  .side-figure img { max-height: 280px; }
  .side-figure-wide img { max-height: none; }
}


/* ===== V4 additions ===== */
/* Home: services head on one line, Diagnostic lead then three object tiles */
.head-row { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 1rem clamp(1.5rem, 4vw, 3rem); align-items: end; max-width: none; }
.head-row p { margin: 0; }
@media (max-width: 760px) { .head-row { grid-template-columns: 1fr; } }
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
@media (max-width: 820px) { .tile-grid { grid-template-columns: 1fr; } }
.tile {
  display: block;
  text-decoration: none;
  background: var(--navy);
  border: 1px solid var(--navy-line);
  overflow: hidden;
}
.tile:hover, .tile:focus-visible { border-color: var(--blue-text); }
.tile img { width: 100%; height: auto; aspect-ratio: 900 / 675; object-fit: cover; -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, #000 78%, transparent 100%); }
.tile-body { margin-top: -1.2rem; position: relative; }
.tile-body { display: block; padding: 0.9rem 1.1rem 1.15rem; }
.tile .row-name { margin-bottom: 0.2em; }
.tile:hover .row-name { color: var(--blue-text); }
.tile .row-scope { font-size: 0.97rem; }
.diagnostic-lead { margin-bottom: 1rem; padding-bottom: 1.25rem; }

/* Team band: a rule, a tighter head */
.team-section { padding-top: clamp(1.5rem, 3vw, 2.25rem); border-top: 1px solid var(--rule); }
.team-section .section-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 1.5rem; max-width: none; margin-bottom: 1.1rem; }
.team-section .section-head h2 { margin: 0; }
.team-section .section-head p { margin: 0; }

/* Diagnostic hero (V5): their roof-camera photo full bleed, weighted right, navy wash from the left under the copy.
   Tech and reel sit right of the copy column; never mirrored. Phone: photo band above the copy. */
.hero-diag { min-height: clamp(520px, 44vw, 640px); }
.hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 68%; z-index: 0; pointer-events: none; }
.hero-photo picture, .hero-photo img { display: block; width: 100%; height: 100%; }
.hero-photo img { object-fit: cover; object-position: 60% 32%; }
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--navy-deep) 0%, rgba(0, 0, 0, 0.94) 12%, rgba(0, 0, 0, 0.55) 27%, rgba(0, 0, 0, 0.12) 46%, rgba(0, 0, 0, 0) 62%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 22%);
}
.hero-diag .hero-grid { display: flex; align-items: center; }
.hero-diag .hero-grid > div { max-width: 46%; }
@media (max-width: 900px) {
  .hero-diag { min-height: 0; }
  .hero-photo { position: relative; width: auto; height: auto; aspect-ratio: 900 / 560; order: -1; }
  .hero-photo img { object-position: 55% 40%; }
  .hero-photo::after { background: linear-gradient(0deg, var(--navy-deep) 0%, rgba(0, 0, 0, 0) 38%); }
  .hero-diag .hero-grid > div { max-width: none; }
  .hero-diag .hero-grid { display: flex; flex-direction: column; }
}
.call-bar .btn-dark { background: var(--navy); border-color: var(--navy-line); color: #fff; }
.call-bar .btn-dark:hover { background: var(--surface-2); }

@media (max-width: 900px) {
  .hero-grid .eyebrow { order: 0; }
  .hero-grid .hero-fineprint { margin-bottom: 1rem; }
}
.hero-sub .hero-grid { padding-bottom: 2rem; }

/* ===== Phone call pass 2026-11-02 (merged from phone-preview): logo with its navy word on white, reviews above the fold ===== */
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
@media (min-width: 1081px) {
  .main-nav a { color: #000; }
  .main-nav a.nav-call { color: #fff; }
}
.nav-toggle { background: #fff; border: 1px solid #000; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { background: #000; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.logo-plate { background: #fff; display: inline-block; padding: 0.6rem 0.8rem; }
.hero-art img { filter: grayscale(1); }
.review-strip { background: #000; border-bottom: 1px solid var(--line); }
.review-strip-in { display: flex; align-items: center; gap: 2.25rem; padding-top: 0.7rem; padding-bottom: 0.7rem; }
.review-score { display: flex; align-items: baseline; gap: 0.5rem; color: #fff; text-decoration: none; flex: 0 0 auto; white-space: nowrap; }
.review-score strong { font-family: var(--font-display); font-size: 2.1rem; font-weight: 800; line-height: 1; color: #fff; }
.review-score span { font-size: 0.95rem; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
.review-strip figure { margin: 0; flex: 1 1 0; min-width: 0; }
.review-strip blockquote { margin: 0; color: #fff; font-size: 0.98rem; line-height: 1.32; }
.review-strip figcaption { color: var(--muted); font-size: 0.82rem; margin-top: 0.15rem; }
.hero-home { min-height: min(calc(100svh - var(--header-h) - 76px), 900px); }
@media (max-width: 900px) {
  .review-strip-in { gap: 1rem; padding-top: 0.6rem; padding-bottom: 0.6rem; }
  .review-strip figure:nth-of-type(n+2) { display: none; }
  .review-score strong { font-size: 1.7rem; }
  .review-score { flex-direction: column; gap: 0.1rem; }
  .review-score span { font-size: 0.78rem; }
  .review-strip blockquote { font-size: 0.92rem; }
  .hero-home { min-height: 0; }
}

/* ===== Services pages (V6): type, spacing and hairlines on black. No cards, tiles, pills or gradients. ===== */
:root { --brand-word: currentColor; }           /* the word "Plumbing" in live-text names: one span, one token */
.pw { color: var(--brand-word); }
.svc { padding: clamp(1.75rem, 4vw, 3.25rem) 0 clamp(2rem, 5vw, 4rem); background: var(--bg); }
.svc-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
@media (min-width: 960px) { .svc-layout { grid-template-columns: minmax(0, 1fr) 19rem; gap: 4.5rem; } }
.svc-body { max-width: 70ch; color: var(--body); font-size: 1.075rem; line-height: 1.72; }
.svc-body h1 { font-size: clamp(1.9rem, 4.4vw, 2.7rem); margin: 0 0 1.5rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--rule); }
.svc-body h2 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); margin: 2.6rem 0 0.8rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.svc-body h3 { font-size: 1.1rem; font-stretch: 100%; margin: 1.7rem 0 0.35rem; }
.svc-body p { color: var(--body); margin: 0 0 1.1em; }
.svc-body ul { margin: 0 0 1.3em; padding-left: 1.25em; list-style: disc; }
.svc-body li { margin: 0 0 0.45em; padding-left: 0.2em; }
.svc-body a { color: #fff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.svc-body a:hover { text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.svc-side h2, .svc-all h2, .svc-side-m h2 { font-size: 1rem; font-stretch: 100%; margin: 0 0 0.3rem; color: #fff; }
.svc-side ul, .svc-all ul, .svc-side-m ul { margin: 0 0 2.2rem; }
.svc-side li a, .svc-all li a, .svc-side-m li a {
  display: flex; justify-content: space-between; gap: 1rem; padding: 0.68rem 0;
  border-bottom: 1px solid var(--line); text-decoration: none; color: var(--body); font-size: 0.97rem; line-height: 1.3;
}
.svc-side li a::after, .svc-all li a::after, .svc-side-m li a::after { content: "\203A"; color: var(--muted); }
.svc-side li a:hover, .svc-all li a:hover, .svc-side-m li a:hover { color: #fff; }
.svc-side a[aria-current="page"], .svc-all a[aria-current="page"], .svc-side-m a[aria-current="page"] { font-weight: 800; color: #fff; }
.svc-side .svc-co, .svc-all .svc-co, .svc-side-m .svc-co { font-size: 1.05rem; line-height: 1.3; margin-top: 0.5rem; }
.svc-side { display: none; font-size: 0.97rem; }
@media (min-width: 960px) { .svc-side { display: block; } }
.svc-side-m { padding-top: 0.75rem; padding-bottom: 0.25rem; background: var(--bg); }
.svc-side-m summary { cursor: pointer; font-weight: 800; color: #fff; padding: 0.7rem 0; border-bottom: 1px solid var(--rule); }
.svc-side-m[open] summary { margin-bottom: 1rem; }
@media (min-width: 960px) { .svc-side-m, .svc-all { display: none; } }
.svc-all { background: var(--bg); padding: 0 0 2.5rem; }
section.svc-hub, .svc-hub { margin-top: 3rem; }
.svc-hub-h { font-size: 1.15rem; margin: 2rem 0 0.4rem; }
.svc-hub ul { margin: 0 0 1rem; }
.svc-hub li a { display: block; padding: 0.6rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--body); }
.svc-hub li a:hover { color: #fff; }
/* one white band: contact */
.band-light { background: var(--paper); color: var(--paper-body); padding: clamp(2rem, 4.5vw, 3.25rem) 0; }
.band-light h2 { color: var(--paper-ink); font-size: 1.5rem; margin-bottom: 0.5rem; }
.band-light p { color: var(--paper-body); }
.band-light a { color: var(--paper-ink); }
.band-split { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 820px) { .band-split { grid-template-columns: 0.8fr 1.2fr; gap: 4rem; } }
.band-light .field label { color: var(--paper-ink); }
.band-light .field input, .band-light .field textarea, .band-light .field select { background: #fff; color: var(--paper-ink); border: 1px solid #5c5c5c; }
.band-light .field input:focus, .band-light .field textarea:focus { outline: 3px solid #000; border-color: #000; }
.band-light .form-note { color: #404040; }
.band-light .form-status { background: #f2f2f2; color: #000; border-color: #bbb; }
.footer-name { color: #fff; font-weight: 700; margin: 0.8rem 0 0.6rem; }
/* no blue anywhere in CSS-driven backgrounds: the navy-graded texture tile is dropped */
.site-footer, .split-section { background-image: none; background-color: var(--black); }

/* Reviews: a white break strip mid-page, not above the fold (Andy, 2026-11-02) */
.review-strip { background: #fff; border: 0; }
.review-strip-in { padding-top: 1.6rem; padding-bottom: 1.6rem; flex-wrap: wrap; }
.review-score, .review-score strong { color: #000; }
.review-strip blockquote { color: #000; }
.review-strip figcaption { color: #444; }
.hero-home { min-height: min(calc(100svh - var(--header-h)), 900px); }
.svc-body .review-strip { margin: 2.5rem 0; }
.svc-body .review-strip-in { padding-left: 1.25rem; padding-right: 1.25rem; }
.review-strip figure { flex: 1 1 14rem; }
@media (max-width: 900px) {
  .review-strip figure:nth-of-type(n+2) { display: block; }
  .review-strip-in { padding-top: 1.25rem; padding-bottom: 1.25rem; }
  .review-score { flex-direction: row; gap: 0.5rem; flex: 1 1 100%; }
  .review-strip figure { flex: 1 1 100%; }
  .hero-home { min-height: 0; }
}

/* Calm hero and white footer (Andy, 2026-11-02) */
.hero-marker { display: none; }
@media (min-width: 901px) {
  .hero-home { min-height: min(calc(100svh - var(--header-h)), 640px); display: flex; flex-direction: column; justify-content: center; }
  .hero-home .hero-art { width: 44%; aspect-ratio: auto; }
  .hero-home .hero-art::after { display: none; }
  .hero-home .hero-grid > :not(.hero-art) { max-width: 52%; }
}
.hero-home h1 { font-size: clamp(2.3rem, 4.2vw, 3.9rem); line-height: 1.06; }
.hero-home .lede { color: #fff; font-size: 1.15rem; line-height: 1.55; max-width: 34em; }
.symptom-section { background: #000; padding: 4rem 0; }
.symptom-section .symptom-picker { background: none; border: 0; box-shadow: none; max-width: none; backdrop-filter: none; }
.symptom-section .symptom-tab { font-size: 1.05rem; padding-top: 1rem; padding-bottom: 1rem; }
.symptom-section .symptom-panel { font-size: 1.08rem; line-height: 1.6; color: #fff; }
.site-footer { background: #fff; background-image: none; color: #000; border-top: 0; }
.site-footer p, .site-footer a, .site-footer li, .site-footer h2, .site-footer h3, .site-footer h4, .site-footer span, .site-footer small, .site-footer address { color: #000; }
.site-footer * { border-color: #000; }
.site-footer .logo-plate { background: none; padding: 0; }

/* Google look for the review strip (Andy, 2026-11-02) */
.review-score { align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.review-score strong { font-size: 1.9rem; color: #202124; }
.review-score .g-mark { flex: 0 0 auto; }
.review-score .g-stars { font-size: 1.25rem; letter-spacing: 0.05em; text-decoration: none; background: linear-gradient(90deg, #fbbc04 96%, #dadce0 96%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.review-score .g-count { color: #1a0dab; font-size: 0.98rem; text-decoration: underline; text-decoration-color: currentColor; }
.review-strip blockquote { color: #202124; }
.review-strip figcaption { color: #202124; font-weight: 700; }

/* Service page template v2 (Andy, 2026-11-02): photo hero, closed sections, band. Appended once by tools/build_services.py. */
.svc-hero { position: relative; display: flex; align-items: flex-end; min-height: clamp(400px, 38vw, 520px); background: #000; overflow: hidden; border-bottom: 4px solid var(--red); }
.svc-hero picture, .svc-band picture { position: absolute; inset: 0; display: block; }
.svc-hero-img, .svc-band-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-hero::after, .svc-band::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.68); }
.svc-hero-in { position: relative; z-index: 2; width: 100%; padding-top: 4rem; padding-bottom: 3rem; }
.svc-hero-in::before { content: ""; display: block; width: 3.5rem; height: 4px; background: var(--red); margin-bottom: 1.4rem; }
.svc-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.5rem); line-height: 1.08; margin: 0 0 0.9rem; max-width: 20ch; }
.svc-hero .heartbeat, .svc-band .heartbeat { width: 220px; height: 30px; margin: 0 0 1.1rem; }
.svc-hero .heartbeat path, .svc-band .heartbeat path { stroke: var(--red); stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.svc-lede { color: #fff; font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.55; max-width: 36em; margin: 0 0 1.5rem; }
.svc-hero-call { min-height: 52px; font-size: 1.1rem; }
@media (max-width: 700px) {
  .svc-hero { min-height: 520px; }
  .svc-hero-in { padding-top: 3rem; padding-bottom: 2rem; }
  .svc-hero-call { width: 100%; justify-content: center; text-align: center; }
}
/* closed sections: hairline rows, large type, no boxes */
.svc-sec { border-top: 1px solid var(--rule); }
.svc-sec:last-of-type { border-bottom: 1px solid var(--rule); }
.svc-sec > summary { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 44px; padding: 1.6rem 0; cursor: pointer; list-style: none; }
.svc-sec > summary::-webkit-details-marker { display: none; }
.svc-sec > summary::after { content: "+"; flex: 0 0 auto; color: var(--red-text); font-size: 2rem; line-height: 1; font-weight: 300; }
.svc-sec[open] > summary::after { content: "\2212"; }
.svc-sec > summary:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.svc-body .svc-sec > summary h2, .svc-body .svc-sec > summary h3 { margin: 0; padding: 0; border: 0; font-size: clamp(1.3rem, 2.6vw, 1.7rem); line-height: 1.25; color: #fff; }
.svc-body .svc-q > summary h3 { font-size: clamp(1.1rem, 2vw, 1.3rem); }
.svc-body .svc-q > summary { padding: 1.2rem 0; }
.svc-sec .svc-sec { border-top: 1px solid var(--line); margin-left: 0; }
.svc-sec .svc-sec:last-of-type { border-bottom: 0; }
.svc-sec-body { padding: 0 0 2rem; }
.svc-sec-body > :first-child { margin-top: 0; }
.svc-sec-body h3 { margin-top: 1.6rem; }
.svc-readmore { font-size: 1.15rem; font-weight: 800; color: #fff; }
.svc-body .svc-hub { margin: 0 0 2.5rem; }
.svc-body .svc-hub-h { margin: 2.2rem 0 0.4rem; padding: 0; border: 0; }
.svc-body .svc-hub-h:first-child { margin-top: 0; }
/* services hub only: no sidebar, the groups run full width as a grid of link rows */
.svc-hub-page .svc-layout { grid-template-columns: minmax(0, 1fr); }
.svc-hub-page .svc-body { max-width: none; }
.svc-hub-page .svc-hub ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); column-gap: 3rem; }
.svc-hub-page .svc-hub li { margin: 0; padding: 0; }
.svc-hub-page .svc-hub li a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 44px; padding: 0.7rem 0; border-top: 1px solid var(--rule); color: #fff; text-decoration: none; line-height: 1.3; }
.svc-hub-page .svc-hub li a::after { content: "\203A"; flex: 0 0 auto; color: var(--red-text); font-size: 1.4rem; }
.svc-hub-page .svc-hub li a:hover { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
.svc-hub-page .svc-hub-h { font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin: 3rem 0 1rem; }
.svc-hub-page .svc-hub-h:first-child { margin-top: 0; }
.svc-hub-page .svc-sec-body { max-width: 70ch; }
/* band: the van or vacuum truck and the phone number, after the sections */
.svc-band { position: relative; min-height: 300px; display: flex; align-items: center; background: #000; overflow: hidden; border-top: 4px solid var(--red); }
.svc-band-in { position: relative; z-index: 2; width: 100%; padding-top: 3rem; padding-bottom: 3rem; }
.svc-band-call { display: inline-block; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 5.5vw, 3.2rem); line-height: 1.1; text-decoration: none; border-bottom: 3px solid var(--red); }
.svc-band-call:hover { border-bottom-color: #fff; }
@media print { .svc-hero, .svc-band { min-height: 0; } .svc-hero::after, .svc-band::after { background: rgba(0, 0, 0, 0.8); } }
/* home: client focus rows, existing page names only */
.home-focus { margin-top: 2.5rem; display: grid; gap: 2.5rem; }
@media (min-width: 800px) { .home-focus { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.home-focus h3 { font-size: 1.15rem; margin: 0 0 0.4rem; }
.home-focus ul { margin: 0; padding: 0; list-style: none; }
.home-focus li a { display: flex; justify-content: space-between; padding: 0.8rem 0; border-top: 1px solid var(--rule); color: #fff; text-decoration: none; min-height: 44px; align-items: center; }
.home-focus li:last-child a { border-bottom: 1px solid var(--rule); }
.home-focus li a::after { content: "\203A"; color: var(--red-text); font-size: 1.4rem; }
.home-focus li a:hover { text-decoration: underline; text-decoration-color: var(--red); }
/* END service template v2 */

.footer-license { margin: 0.25rem 0 0; font-size: 0.875rem; }

/* Readability pass (Andy, 2026-11-02, trimmed 2026-11-02 for the forensic home): no pink-red text, easier body copy, one face for headings.
   Home layout and tokens live in forensic.css; the unconverted pages keep these global rules. */
body { font-size: 1.0625rem; line-height: 1.65; }
p, li { max-width: 68ch; }
h1, h2, h3, h4 { font-stretch: 100%; letter-spacing: -0.005em; }
h1, h2 { font-weight: 700; line-height: 1.12; }
.s3-kicker, .s3-grp h3, .s3-all h3 { color: #fff; }
.svc-sec > summary::after, .svc-hub-page .svc-hub li a::after, .home-focus li a::after,
.s3-svc-n a::after, .s3-links li a::after { color: var(--red); }
h1, h2, h3, h4, .section-head h2, .btn, button { font-family: var(--font-body); font-stretch: 100%; }
h1, h2 { font-weight: 700; letter-spacing: -0.01em; }
h3, h4 { font-weight: 700; }
main h1, main h2, main h3, main h4, main .row-name, .site-footer h2, .site-footer h3 { font-family: var(--font-body) !important; font-stretch: 100% !important; font-variation-settings: normal !important; font-weight: 700; }

/* Footer on white (2026-11-03): the shared headings and the wordmark kept the old white colour and lost to nothing, so they rendered white on white. Colour only, layout untouched. */
.site-footer .footer-grid .footer-heading, .site-footer .footer-name, .site-footer .footer-name .pw, .site-footer .pw { color: #000; }

/* ===== Rollout 2026-11-03: shared across every page. Red only on the logo and the call buttons (folded in from lessred.css, now retired). ===== */
.main-nav a:hover, .main-nav a[aria-current] { text-decoration-color: currentColor; }
.review-score span, .svc-body a:hover, .svc-hub-page .svc-hub li a:hover { text-decoration-color: currentColor; }
.s3-h::before, li::before, .reviews-line p::before, .fact-list li::before { background: currentColor; }
.s3-pull, .s3-pull-sm { border-left-color: currentColor; }
.s3-svc-n a::after, .s3-links li a::after, .svc-sec > summary::after { color: currentColor; }
.s3-textlink { text-decoration-color: currentColor; }
.btn-primary, .btn-primary:hover { text-decoration-color: currentColor; }
/* The only red buttons are calls. Every other button is black on white or white on black. */
.btn-dark { background: #000; color: #fff; border: 1px solid #fff; }
.btn-dark:hover { background: #222; }
.call-bar .btn-quiet { background: transparent; color: #fff; border: 1px solid #fff; }
.request-form button[type="submit"], .request-form .btn-primary { background: #fff; color: #000; border: 1px solid #fff; }
.request-form button[type="submit"]:hover, .request-form .btn-primary:hover { background: #e6e6e6; }
/* One red button per phone viewport: the call bar is the red one, so the call link inside the open menu is outlined. */
@media (max-width: 760px) { .main-nav a.nav-call { background: transparent; border: 1px solid #fff; color: #fff; } }
/* 44px touch targets for the desktop nav links. */
@media (min-width: 761px) { .main-nav a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* Legal pages (privacy, accessibility, 404): black page, plain text, white header and footer. */
body.plain { background: #000; }
.plain-page h2 { margin-top: 2rem; }
.plain-page a { color: #fff; text-underline-offset: 3px; }
.error-page .error-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
/* Nav type matches the approved home on every page. */
.main-nav a { font-size: 0.9375rem; font-weight: 400; }
.main-nav ul { gap: 1.75rem; }
@media (min-width: 1081px) { .main-nav a:hover, .main-nav a[aria-current] { text-decoration-color: #000; } }
