/* Steadfast Restoration Services — "The Field Report" design system
   Fonts: Big Shoulders Display (display), IBM Plex Sans (body), IBM Plex Mono (data). */

:root {
  --flare: #eb902d;
  --flare-text: #b8650e;
  --brick: #a2222a;
  --brick-deep: #6e1218;
  --ink: #151a21;
  --ink-2: #1d232c;
  --slate: #212934;
  --slate-2: #4a5260;
  --mist: #8b93a1;
  --fog: #f4f2ee;
  --bone: #e8e3da;
  --bone-2: #d9d2c6;
  --white: #ffffff;
  --thermal: linear-gradient(90deg, #1b2a4a 0%, #6b2233 38%, #eb902d 72%, #ffd166 100%);

  --font-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --font-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;

  --maxw: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 4px;
  --shadow: 0 18px 50px rgba(21, 26, 33, 0.18);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--slate);
  background: var(--fog);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; font-weight: 800; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
strong { font-weight: 600; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
.display { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.005em; font-weight: 800; }
h1.display { font-size: clamp(44px, 7.2vw, 96px); line-height: 0.94; letter-spacing: -0.005em; }
h2.display { font-size: clamp(36px, 5vw, 64px); line-height: 0.96; }
h3.display { font-size: clamp(26px, 3vw, 38px); line-height: 1; }
.mono, .label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.label { display: inline-flex; align-items: center; gap: 10px; color: var(--brick); font-weight: 500; margin-bottom: 14px; }
.label::before { content: ""; width: 26px; height: 2px; background: var(--brick); }
.on-dark .label { color: var(--flare); }
.on-dark .label::before { background: var(--flare); }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--slate-2); max-width: 62ch; }
.on-dark .lede { color: #c9cfd8; }
.prose { max-width: 70ch; }
.prose h2 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(28px, 3.2vw, 40px); margin: 1.6em 0 0.5em; }
.prose h3 { font-size: 22px; font-weight: 700; margin: 1.5em 0 0.5em; line-height: 1.25; }
.prose h4 { font-size: 18px; margin: 1.3em 0 0.4em; }
.prose a { color: var(--brick); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: var(--brick-deep); }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 1.2em 0; }
.prose td, .prose th { border: 1px solid var(--bone-2); padding: 8px 10px; vertical-align: top; }
.prose li { margin-bottom: 0.4em; }
.eyebrow-row { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }

/* ---------- Layout ---------- */
.wrap { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap-full { width: calc(100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding: clamp(64px, 8vw, 120px) 0; }
.section.tight { padding: clamp(40px, 5vw, 72px) 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head .lede { margin: 0; }
.on-dark { background: var(--ink); color: #eef0f3; }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--white); }
.on-bone { background: var(--bone); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.rule-thermal { height: 4px; background: var(--thermal); border: 0; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); text-transform: uppercase; font-weight: 800; letter-spacing: 0.04em;
  font-size: 20px; line-height: 1; padding: 16px 24px 14px; border-radius: var(--radius);
  text-decoration: none; border: 2px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 200ms var(--ease), background-color 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--flare); color: var(--ink); border-color: var(--flare); }
.btn-primary:hover { background: #f5a349; border-color: #f5a349; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.on-dark .btn-ghost { color: var(--white); border-color: rgba(255,255,255,0.7); }
.on-dark .btn-ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-brick { background: var(--brick); color: var(--white); border-color: var(--brick); }
.btn-brick:hover { background: var(--brick-deep); border-color: var(--brick-deep); }
.btn-sm { font-size: 17px; padding: 12px 18px 10px; }
.btn svg { width: 18px; height: 18px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--ink); color: #c9cfd8; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.topbar .wrap-full { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 16px; }
.topbar a { color: var(--white); text-decoration: none; }
.topbar .blink { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--flare); margin-right: 8px; box-shadow: 0 0 0 0 rgba(235,144,45,0.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(235,144,45,0.55); } 70% { box-shadow: 0 0 0 9px rgba(235,144,45,0); } 100% { box-shadow: 0 0 0 0 rgba(235,144,45,0); } }
.header { position: sticky; top: 0; z-index: 50; background: rgba(244,242,238,0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--bone-2); }
.header .wrap-full { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 32px; min-height: 84px; }
.brand { flex: none; }
.brand img { height: 56px; width: auto; max-width: none; }
.nav { display: flex; justify-content: center; gap: 4px; min-width: 0; flex-wrap: nowrap; margin: 0; padding: 0; }
.nav > li { list-style: none; position: relative; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 10px 14px; text-decoration: none; font-weight: 600; font-size: 15.5px; color: var(--slate); border-radius: var(--radius); white-space: nowrap; }
.nav a:hover, .nav > li:hover > a { color: var(--brick); }
.nav .sub { position: absolute; top: 100%; left: 0; min-width: 300px; background: var(--white); border: 1px solid var(--bone-2); box-shadow: var(--shadow); padding: 10px; display: none; z-index: 60; }
.nav > li:hover .sub, .nav > li:focus-within .sub { display: block; }
.nav .sub a { padding: 9px 12px; font-weight: 500; white-space: normal; }
.nav .sub a small { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; color: var(--slate-2); text-transform: uppercase; margin-top: 2px; }
.nav .sub .sub-head { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brick); padding: 8px 12px 4px; }
.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone { text-decoration: none; font-family: var(--font-display); font-size: 24px; font-weight: 800; letter-spacing: 0.02em; color: var(--ink); display: inline-flex; gap: 8px; align-items: center; }
.header-phone svg { width: 20px; height: 20px; color: var(--brick); }
.header-phone small { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; color: var(--slate-2); font-weight: 500; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--ink); margin: 5px 0; transition: transform 200ms var(--ease), opacity 200ms; }
.header.open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.header.open .nav-toggle span:nth-child(2) { opacity: 0; }
.header.open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--white); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center; min-height: min(78vh, 760px); padding: clamp(56px, 7vw, 96px) 0 0; position: relative; z-index: 2; }
.hero-copy .lede { margin: 22px 0 32px; }
.hero-photo { position: relative; align-self: stretch; }
.hero-photo .frame { position: absolute; inset: 0 -12vw 0 0; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; animation: heroZoom 14s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-photo .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(21,26,33,0.15) 35%, rgba(21,26,33,0) 60%); }
.readout { position: absolute; left: -24px; bottom: 44px; background: rgba(21,26,33,0.92); border: 1px solid rgba(255,255,255,0.14); border-left: 4px solid var(--flare); padding: 14px 18px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: #dfe4ec; line-height: 1.7; z-index: 3; }
.readout b { color: var(--flare); font-weight: 500; }
.hero-strip { position: relative; z-index: 2; margin-top: clamp(40px, 5vw, 72px); background: var(--flare); }
.hero-strip .wrap { display: flex; flex-wrap: wrap; gap: 0; padding: 0; min-height: 0; }
.hero-strip .chip { flex: 1 1 180px; padding: 16px 18px; border-right: 1px solid rgba(21,26,33,0.22); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); font-weight: 500; }
.hero-strip .chip b { display: block; color: var(--ink); font-weight: 700; font-size: 13px; margin-top: 2px; }
.hero-strip .chip:last-child { border-right: 0; }
.reveal > * { opacity: 0; transform: translateY(18px); animation: rise 700ms var(--ease) forwards; }
.reveal > *:nth-child(2) { animation-delay: 90ms; }
.reveal > *:nth-child(3) { animation-delay: 180ms; }
.reveal > *:nth-child(4) { animation-delay: 270ms; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Interior page hero */
.page-hero { background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: end; padding: clamp(48px, 6vw, 80px) 0 clamp(40px, 5vw, 64px); }
.page-hero h1.display { font-size: clamp(38px, 5.6vw, 76px); }
.page-hero .lede { margin: 18px 0 28px; }
.page-hero .photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); }
.page-hero .photo img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .photo::before { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--thermal); z-index: 1; }
.crumbs { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #aeb6c2; margin-bottom: 18px; }
.crumbs a { color: #c9cfd8; text-decoration: none; }
.crumbs a:hover { color: var(--flare); }
.crumbs span { margin: 0 8px; }

/* ---------- Trust strip ---------- */
.trust { background: var(--white); border-bottom: 1px solid var(--bone-2); }
.trust .wrap { display: flex; justify-content: center; padding: 24px 0; }
.trust .badges { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px 40px; }
.trust .badges img { height: 64px; width: auto; filter: grayscale(0.15); }

/* ---------- Feature: water damage timeline ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--bone-2); }
.timeline li { position: relative; padding: 0 0 28px 32px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--fog); border: 3px solid var(--brick); }
.timeline li:first-child::before { background: var(--flare); border-color: var(--flare); box-shadow: 0 0 0 5px rgba(235,144,45,0.25); }
.timeline .t { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brick); display: block; margin-bottom: 4px; }
.timeline h3 { font-size: 21px; font-weight: 700; margin-bottom: 6px; line-height: 1.2; }
.timeline p { margin: 0; color: var(--slate-2); font-size: 16px; max-width: 52ch; }
.photo-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.photo-stack figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); }
.photo-stack figure:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.photo-stack figure:not(:first-child) { aspect-ratio: 4 / 3; }
.photo-stack img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.photo-stack figure:hover img { transform: scale(1.03); }
.photo-stack figcaption { position: absolute; left: 0; bottom: 0; background: rgba(21,26,33,0.85); color: #eef0f3; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; padding: 8px 12px; }

/* ---------- Service panels ---------- */
.panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.panel { position: relative; display: grid; grid-template-rows: auto 1fr; background: var(--white); border: 1px solid var(--bone-2); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow 250ms var(--ease), transform 250ms var(--ease); }
.panel:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.panel .pic { aspect-ratio: 16 / 10; overflow: hidden; }
.panel .pic img { width: 100%; height: 100%; object-fit: cover; }
.panel .pic img.mold-focus { object-position: 50% 18%; }
.panel .body { padding: 26px 28px 30px; }
.panel .num { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--brick); text-transform: uppercase; }
.panel h3 { margin: 8px 0 10px; }
.panel p { color: var(--slate-2); margin-bottom: 16px; }
.panel .more { font-family: var(--font-display); text-transform: uppercase; font-weight: 800; font-size: 18px; letter-spacing: 0.04em; color: var(--brick); display: inline-flex; align-items: center; gap: 8px; }
.panel .more svg { width: 18px; height: 18px; transition: transform 200ms var(--ease); }
.panel:hover .more svg { transform: translateX(4px); }
.panel.wide { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto; align-items: stretch; }
.panel.wide .pic { aspect-ratio: auto; min-height: 320px; max-height: 480px; }
.panel.wide .body { align-self: center; }
.ruled { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--bone-2); }
.ruled li { border-bottom: 1px solid var(--bone-2); }
.ruled a { display: grid; grid-template-columns: 56px 1fr auto; gap: 20px; align-items: center; padding: 22px 6px; text-decoration: none; color: inherit; transition: background 200ms; }
.ruled a:hover { background: rgba(255,255,255,0.6); }
.ruled .num { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--brick); }
.ruled h3 { font-size: 22px; font-weight: 700; line-height: 1.2; }
.ruled p { margin: 4px 0 0; color: var(--slate-2); font-size: 15.5px; }
.ruled svg { width: 22px; height: 22px; color: var(--brick); }

/* ---------- Areas ---------- */
.areas { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: stretch; }
.areas .map { position: relative; min-height: 380px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--bone-2); background: var(--bone); }
.areas .map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(0.85); }
.city-list { list-style: none; margin: 0; padding: 0; }
.city-list li { border-bottom: 1px solid var(--bone-2); }
.city-list a { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 16px; padding: 18px 4px; text-decoration: none; color: inherit; }
.city-list a:hover .name { color: var(--brick); }
.city-list .rank { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--brick); }
.city-list .name { font-family: var(--font-display); text-transform: uppercase; font-weight: 800; font-size: 30px; line-height: 1; transition: color 200ms; }
.city-list .sub { font-size: 14px; color: var(--slate-2); margin-top: 2px; }
.city-list .tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-2); }
.city-list li.primary .name { font-size: 40px; }

/* ---------- Facts / why ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; background: var(--bone-2); border: 1px solid var(--bone-2); }
.fact { background: var(--white); padding: 28px 26px 30px; }
.fact .k { font-family: var(--font-display); text-transform: uppercase; font-weight: 800; font-size: 44px; line-height: 0.95; color: var(--brick); }
.fact .k small { font-size: 22px; }
.fact .v { font-weight: 600; margin-top: 8px; }
.fact p { color: var(--slate-2); font-size: 15px; margin: 6px 0 0; }
.on-dark .fact { background: var(--ink-2); }
.on-dark .facts { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.1); }
.on-dark .fact .k { color: var(--flare); }
.on-dark .fact p { color: #aeb6c2; }
.on-dark .fact .v { color: var(--white); }

/* ---------- Reviews ---------- */
.quote { background: var(--white); border-left: 4px solid var(--flare); padding: 26px 28px; border-radius: 0 var(--radius) var(--radius) 0; }
.quote p { font-size: 18px; line-height: 1.55; margin-bottom: 14px; }
.quote cite { font-style: normal; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-2); }
.reviews-widget { margin-top: 32px; }
.review-links { margin-top: 20px; font-size: 16px; }
.review-links a { color: var(--brick); font-weight: 600; }

/* ---------- Q&A ---------- */
.qa { border-top: 1px solid var(--bone-2); }
.qa details { border-bottom: 1px solid var(--bone-2); }
.qa summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 32px; align-items: center; gap: 16px; padding: 20px 4px; font-size: 19px; font-weight: 600; line-height: 1.3; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-family: var(--font-display); font-size: 30px; color: var(--brick); text-align: center; transition: transform 200ms var(--ease); }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa .a { padding: 0 4px 22px; color: var(--slate-2); max-width: 74ch; }
.qa .a p:last-child { margin-bottom: 0; }
.on-dark .qa, .on-dark .qa details { border-color: rgba(255,255,255,0.12); }
.on-dark .qa .a { color: #c9cfd8; }
.on-dark .qa summary::after { color: var(--flare); }

/* ---------- Cards (blog / projects) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.card { background: var(--white); border: 1px solid var(--bone-2); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: box-shadow 250ms var(--ease), transform 250ms var(--ease); }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card .pic { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bone); }
.card .pic img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card .meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brick); }
.card h3 { font-size: 20px; font-weight: 700; line-height: 1.25; }
.card p { color: var(--slate-2); font-size: 15px; margin: 0; }
.card .more { margin-top: auto; padding-top: 8px; font-family: var(--font-display); text-transform: uppercase; font-weight: 800; font-size: 17px; letter-spacing: 0.04em; color: var(--brick); display: inline-flex; align-items: center; gap: 8px; }
.card .more svg, .more svg { width: 18px; height: 18px; flex: 0 0 18px; }
.card.featured { grid-column: 1 / -1; flex-direction: row; }
.card.featured .pic { flex: 1 1 55%; aspect-ratio: auto; min-height: 320px; }
.card.featured .body { flex: 1 1 45%; padding: 36px; justify-content: center; }
.card.featured h3 { font-size: 30px; }

/* ---------- Gallery ---------- */
.masonry { columns: 3; column-gap: 16px; }
.masonry figure { margin: 0 0 16px; break-inside: avoid; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bone); }
.masonry figcaption { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(0deg, rgba(21,26,33,0.85), rgba(21,26,33,0)); color: #eef0f3; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; padding: 24px 12px 10px; }

/* ---------- Before / after ---------- */
.ba { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.ba figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--bone); }
.ba img { width: 100%; height: 100%; object-fit: cover; }
.ba figcaption { position: absolute; top: 10px; left: 10px; background: var(--ink); color: var(--white); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 10px; }
.ba figure.after figcaption { background: var(--flare); color: var(--ink); }

/* ---------- Sidebar layout ---------- */
.with-side { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.side { position: sticky; top: 104px; display: grid; gap: 20px; }
.side-card { background: var(--ink); color: var(--white); padding: 26px 26px 28px; border-radius: var(--radius); border-top: 4px solid var(--flare); }
.side-card h3 { font-size: 26px; margin-bottom: 8px; }
.side-card p { color: #c9cfd8; font-size: 15.5px; }
.side-card .btn { width: 100%; margin-top: 8px; }
.side-card .tel { display: block; font-family: var(--font-display); font-size: 34px; font-weight: 800; color: var(--white); text-decoration: none; margin: 6px 0 10px; letter-spacing: 0.02em; }
.side-card.light { background: var(--white); color: var(--slate); border-top-color: var(--brick); border: 1px solid var(--bone-2); border-top-width: 4px; }
.side-card.light p { color: var(--slate-2); }
.side-card.light h3 { color: var(--ink); }
.side-links { list-style: none; margin: 0; padding: 0; }
.side-links li { border-bottom: 1px solid var(--bone-2); }
.side-links a { display: block; padding: 10px 0; text-decoration: none; font-weight: 600; font-size: 15px; }
.side-links a:hover { color: var(--brick); }
.side-links a.active { color: var(--brick); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--thermal); }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px 64px; align-items: center; padding: clamp(56px, 7vw, 96px) 0; }
.cta-band .lede { margin: 16px 0 0; }
.cta-band .right { display: grid; gap: 16px; justify-items: start; }
.cta-band .tel { font-family: var(--font-display); font-size: clamp(34px, 4vw, 52px); font-weight: 800; color: var(--white); text-decoration: none; line-height: 1; letter-spacing: 0.02em; }
.cta-band .tel small { display: block; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--flare); margin-bottom: 8px; font-weight: 500; }

/* ---------- Form embed ---------- */
.form-shell { background: var(--white); border: 1px solid var(--bone-2); border-top: 4px solid var(--flare); border-radius: var(--radius); padding: 10px; min-height: 620px; }
.form-shell iframe { width: 100%; border: 0; min-height: 600px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #c9cfd8; padding: clamp(48px, 6vw, 80px) 0 0; }
.footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }
.footer h4 { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--flare); font-weight: 500; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 8px; font-size: 15px; }
.footer a { color: #e6e9ee; text-decoration: none; }
.footer a:hover { color: var(--flare); }
.footer .brand img { height: 52px; margin-bottom: 18px; }
.footer .nap { font-size: 15px; line-height: 1.7; }
.footer .nap .tel { font-family: var(--font-display); font-size: 30px; font-weight: 800; color: var(--white); letter-spacing: 0.02em; display: inline-block; margin: 8px 0; }
.footer .badges { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin: 40px 0 0; padding: 28px 0; border-top: 1px solid rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer .badges img { height: 40px; width: auto; background: var(--white); padding: 4px; border-radius: 3px; }
.footer .legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 22px 0 28px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #aeb6c2; }
.footer .legal a { color: #aeb6c2; }

/* ---------- Mobile call bar ---------- */
.callbar { display: none; }

/* ---------- Misc ---------- */
.stamp { display: inline-block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--flare-text); border: 1px solid currentColor; padding: 4px 8px; border-radius: 2px; }
.on-dark .stamp { color: var(--flare); }
.cat-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; }
.cat-nav a { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; padding: 8px 12px; border: 1px solid var(--bone-2); border-radius: 2px; background: var(--white); color: var(--slate); }
.cat-nav a.active, .cat-nav a:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.post-meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-2); display: flex; flex-wrap: wrap; gap: 8px 20px; }
.post-hero-img { aspect-ratio: 16 / 8; overflow: hidden; border-radius: var(--radius); margin: 0 0 40px; background: var(--bone); }
.post-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.notice { background: #fff6e8; border: 1px solid #f2c99a; border-left: 4px solid var(--flare); padding: 14px 18px; border-radius: var(--radius); font-size: 15px; }
.spec { display: grid; grid-template-columns: 160px 1fr; gap: 8px 20px; font-size: 15.5px; }
.spec dt { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brick); padding-top: 3px; }
.spec dd { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; background: var(--bone); padding: 6px 10px; border-radius: 2px; }
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--bone-2); border: 1px solid var(--bone-2); }
.steps li { background: var(--white); padding: 26px 24px 28px; }
.steps li::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--brick); display: block; margin-bottom: 10px; }
.steps h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.steps p { color: var(--slate-2); font-size: 15.5px; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .header-phone small { display: none; }
  .header-phone { font-size: 21px; white-space: nowrap; }
  .brand img { height: 48px; }
}
@media (max-width: 1180px) {
  .nav a { padding: 10px 8px; font-size: 14px; }
  .header .wrap-full { gap: 16px; }
  .btn-sm { font-size: 15px; padding: 11px 14px 9px; }
  .header-phone { font-size: 20px; }
}
@media (max-width: 1040px) {
  .nav-toggle { display: block; justify-self: end; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--fog); border-bottom: 1px solid var(--bone-2); flex-direction: column; padding: 8px 0 16px; max-height: calc(100vh - 84px); overflow: auto; }
  .header.open .nav { display: flex; }
  .nav > li > a { padding: 12px var(--gutter); font-size: 17px; }
  .nav .sub { position: static; display: block; box-shadow: none; border: 0; background: transparent; padding: 0 0 8px var(--gutter); min-width: 0; }
  .nav .sub a { padding: 8px 12px; }
  .header-cta { justify-self: end; gap: 10px; }
  .header-cta .btn { display: none; }
}
@media (max-width: 960px) {
  .panel.wide .pic { aspect-ratio: 16 / 10; max-height: none; }
  .header .wrap-full { grid-template-columns: auto 1fr auto; }
  .nav-toggle { display: block; justify-self: end; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--fog); border-bottom: 1px solid var(--bone-2); flex-direction: column; padding: 8px 0 16px; max-height: calc(100vh - 84px); overflow: auto; }
  .header.open .nav { display: flex; }
  .nav > li > a { padding: 12px var(--gutter); font-size: 17px; }
  .nav .sub { position: static; display: block; box-shadow: none; border: 0; background: transparent; padding: 0 0 8px var(--gutter); min-width: 0; }
  .nav .sub a { padding: 8px 12px; }
  .header-cta { justify-self: end; gap: 10px; }
  .header-cta .btn { display: none; }
  .header-phone small { display: none; }
  .header-phone { font-size: 20px; white-space: nowrap; }
  .hero .wrap, .page-hero .wrap { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo { min-height: 320px; margin: 0 calc(-1 * var(--gutter)); }
  .hero-photo .frame { inset: 0; }
  .hero-photo .frame::after { background: linear-gradient(180deg, var(--ink) 0%, rgba(21,26,33,0) 40%); }
  .readout { left: var(--gutter); bottom: 16px; }
  .section-head, .feature, .panels, .areas, .grid-2, .with-side, .cta-band .wrap, .footer .cols { grid-template-columns: 1fr; }
  .panel.wide { grid-template-columns: 1fr; }
  .facts, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card.featured { flex-direction: column; }
  .masonry { columns: 2; }
  .side { position: static; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .trust .badges { gap: 18px 26px; }
  .trust .badges img { height: 52px; }
  /* The LeadConnector chat bubble sits on top of the sticky call bar on phones; the call bar wins there. Flip this if the client wants chat on mobile. */
  chat-widget { display: none !important; }
  .header-phone { font-size: 18px; }
  .header-cta { gap: 4px; }
  .topbar { display: none; }
  .brand img { height: 44px; }
  .header .wrap-full { min-height: 68px; }
  .facts, .steps, .cards, .grid-3 { grid-template-columns: 1fr; }
  .masonry { columns: 1; }
  .btn { font-size: 18px; padding: 15px 20px 13px; }
  .hero-strip .chip { flex-basis: 50%; }
  .city-list li.primary .name { font-size: 32px; }
  .city-list .name { font-size: 26px; }
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--ink); border-top: 2px solid var(--flare); }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 10px 12px; font-family: var(--font-display); text-transform: uppercase; font-weight: 800; font-size: 18px; text-decoration: none; color: var(--white); letter-spacing: 0.04em; }
  .callbar a.est { background: var(--flare); color: var(--ink); }
  .callbar svg { width: 18px; height: 18px; }
  body { padding-bottom: 56px; }
  .spec { grid-template-columns: 1fr; gap: 2px 0; }
  .spec dd { margin-bottom: 10px; }
  .ruled a { grid-template-columns: 40px 1fr auto; gap: 12px; }
}
@media (max-width: 1280px), (max-width: 420px) {
  .header-phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .header-phone { width: 44px; height: 44px; border-radius: 50%; background: var(--brick); color: var(--white); justify-content: center; }
  .header-phone svg { color: var(--white); }
}
@media (min-width: 961px) and (max-width: 1280px) {
  .header-cta .btn { display: inline-flex; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-photo img, .reveal > * { animation: none !important; opacity: 1 !important; transform: none !important; }
  .topbar .blink { animation: none; }
}
