/* ============================================================
   Chesterfield Plumbing Pros - DESIGN DNA BUILD
   DNA seed 539969632 (duotone hue 208):
   archetype Classic Stacked | hero form-first | Barlow Condensed + Barlow
   radius subtle 4/6 | shadow dramatic | border thick-accent | spacing airy
   CTA gradient (brand-700>800, AA-adjusted) | icons plain brand-600
   motion none | images natural | header solid-sticky | footer dark-multi-col
   WCAG 2.1 hardening (audit: scripts/contrast_audit.py, 60 pairs, 0 AA fails):
   brand-600 #15a5d1->#0d7f9e (text/graphics >=3:1, step+faq glyphs >=4.5:1 on white)
   ink-soft #505c5e->#465254 (AAA 7:1+ on white/mist/brand-50)
   hero lead/note lightened for >=4.5:1 vs lightest hero stop; dark-band links,
   form-band overline, footer <strong>, input borders, focus ring all >=AA
   ============================================================ */
:root {
  /* brand duotone hue 208 */
  --brand-50: #f3f6fc; --brand-100: #e6edf9; --brand-200: #c6e7f6;
  --brand-300: #96b6ee; --brand-400: #588fee; --brand-500: #2ab0ea;
  --brand-600: #0d7f9e; --brand-700: #1942a4; --brand-800: #136781;
  --brand-900: #142857; --brand-950: #0c1732;
  /* accent (lime) - decorative + dark-surface text */
  --accent-300: #dafb93; --accent-400: #c6fa57; --accent-500: #adf316;
  --accent-600: #8cc610; --accent-700: #709c11; --accent-ink: #37550a;
  /* neutral surfaces */
  --n-50: #f9fafa; --n-100: #f4f5f6; --n-200: #eceeef; --n-300: #dee2e3;
  --n-400: #b2bcbd; --n-500: #839395; --n-600: #677679; --n-700: #505c5e;
  --n-800: #384142; --n-900: #232829; --n-950: #151819;
  --ink: #232829;
  --ink-soft: #465254;
  --paper: #ffffff;
  --radius: 4px;
  --radius-lg: 6px;
  --shadow-dramatic: 0 24px 48px -12px rgba(0, 0, 0, 0.25);
  --shadow-lift: 0 12px 28px -10px rgba(0, 0, 0, 0.22);
  --grad-cta: linear-gradient(135deg, #1942a4 0%, #136781 100%);
  --grad-hero: linear-gradient(118deg, #0c1732 0%, #142857 55%, #136781 100%);
  --line: #eceeef;
  --border-accent: 2px solid var(--brand-600);
  --max: 1180px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; display: block; }
iframe { max-width: 100%; }
a { color: var(--brand-700); }
h1, h2, h3, h4 {
  font-family: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 0.55em;
  overflow-wrap: normal;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); font-weight: 700; }
h4 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.3em; }
li { margin-bottom: 0.45em; }
strong { color: var(--ink); }
.small { font-size: 0.875rem; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; min-width: 0; }
.section { padding: clamp(64px, 9vw, 122px) 0; }
.section-mist { background: var(--n-100); }
.section-dark { background: var(--brand-950); color: #d7e2ec; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark a:not(.btn) { color: var(--accent-300); }
.section-dark a:not(.btn):hover { color: #fff; }

.overline {
  display: inline-block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-700);
  margin-bottom: 10px;
  overflow-wrap: normal;
}
.section-dark .overline { color: var(--accent-400); }
.rule {
  width: 64px; height: 4px; background: var(--accent-500);
  border: 0; margin: 0 0 24px; border-radius: 2px;
}
.lead { font-size: 1.08rem; color: var(--ink-soft); }
.section-dark .lead { color: #c3d2de; }

/* ---------- announcement + header (solid-sticky) ---------- */
.announce {
  background: var(--brand-950);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  padding: 7px 12px;
}
.announce span { color: var(--accent-400); }
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: var(--paper);
  border-bottom: 3px solid var(--brand-600);
  box-shadow: 0 2px 10px rgba(12, 23, 50, 0.08);
}
.head-in {
  display: flex; align-items: center; gap: 18px;
  max-width: var(--max); margin: 0 auto; padding: 12px 20px;
  min-width: 0;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo svg { flex: none; }
.logo-name {
  font-family: "Barlow Condensed", sans-serif; font-weight: 800;
  font-size: 1.25rem; line-height: 1; color: var(--brand-900);
  text-transform: uppercase; letter-spacing: 0.02em;
  overflow-wrap: normal;
}
.logo-name small {
  display: block; font-size: 0.68rem; font-weight: 600;
  color: var(--n-700); letter-spacing: 0.12em; text-transform: uppercase; margin-top: 3px;
}
nav.primary { margin-left: auto; display: flex; gap: 22px; }
nav.primary a {
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.95rem;
}
nav.primary a:hover { color: var(--brand-700); }
.btn-call {
  flex: none;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--grad-cta); color: #fff; text-decoration: none;
  font-family: "Barlow Condensed", sans-serif; font-weight: 700;
  font-size: 1.05rem; letter-spacing: 0.02em;
  padding: 10px 18px; border-radius: var(--radius-lg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  white-space: nowrap;
}
.btn-call:hover { filter: brightness(1.08); }
.btn-call svg { flex: none; }
.nav-toggle {
  display: none; margin-left: auto;
  background: var(--brand-900); color: #fff; border: 0; cursor: pointer;
  font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 0.9rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 9px 14px; border-radius: var(--radius-lg);
  white-space: nowrap; flex: none;
}
@media (max-width: 1023px) {
  nav.primary {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0; padding: 8px 20px 14px;
    box-shadow: 0 12px 24px rgba(12, 23, 50, 0.14);
  }
  nav.primary.is-open { display: flex; }
  nav.primary a { padding: 11px 4px; border-bottom: 1px solid var(--n-100); }
  .nav-toggle { display: block; }
  .btn-call { margin-left: 8px; font-size: 0.95rem; padding: 9px 12px; }
}
@media (max-width: 480px) {
  .head-in { padding: 8px; gap: 6px; }
  .logo svg { width: 26px; height: 26px; }
  .logo { gap: 7px; }
  .logo-name { font-size: 1rem; }
  .logo-name small { display: none; }
  .nav-toggle { padding: 7px 8px; font-size: 0.72rem; }
  .btn-call { margin-left: 0; font-size: 0.9rem; padding: 8px 10px; gap: 5px; }
}
@media (max-width: 380px) {
  .logo-name { font-size: 0.9rem; }
  .btn-call { font-size: 0.85rem; padding: 9px 10px; gap: 4px; }
  .btn-call .call-label { display: none; }
  .nav-toggle { padding: 8px 11px; font-size: 0.78rem; }
}

/* ---------- buttons (CTA style: gradient) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: "Barlow Condensed", sans-serif; font-weight: 700;
  letter-spacing: 0.02em; text-transform: uppercase;
  text-decoration: none; border-radius: var(--radius-lg); cursor: pointer;
  padding: 14px 26px; font-size: 1.05rem; line-height: 1.2;
  white-space: nowrap; flex: none;
}
.btn-primary {
  background: var(--grad-cta); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 10px 22px -8px rgba(20, 40, 87, 0.55);
}
.btn-primary:hover { filter: brightness(1.1); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.8); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-outline { background: transparent; color: var(--brand-800); border: 2px solid var(--brand-800); }
.btn-outline:hover { background: var(--brand-800); color: #fff; }
.btn-lg { padding: 16px 30px; font-size: 1.12rem; }

/* ---------- hero (form-first, photo inside hero behind a WCAG-safe veil) ---------- */
.hero {
  position: relative; color: #fff; overflow: clip; background: var(--grad-hero);
  isolation: isolate;
}
.hero-bg-img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  object-fit: cover; object-position: center 38%;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(112deg,
    rgba(12,23,50,0.95) 0%, rgba(12,23,50,0.88) 40%,
    rgba(20,40,87,0.60) 72%, rgba(19,103,129,0.34) 100%);
}
.hero-in {
  position: relative; display: grid; gap: 40px; align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  max-width: var(--max); margin: 0 auto; padding: clamp(56px, 8vw, 110px) 20px;
}
.hero h1 { color: #fff; }
.hero .overline { color: var(--accent-400); }
.hero .lead { color: #d9e3ec; font-size: 1.1rem; }
.check-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-weight: 600; }
/* li color inherits context: .hero -> #fff (dark), light sections -> var(--ink). Was hardcoded #eef4f8 (near-white) which rendered invisible on light sections (#included, about, contact). */
.check-list svg { flex: none; margin-top: 4px; stroke: currentColor; }
.check-list svg { flex: none; margin-top: 4px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-note { font-size: 0.85rem; color: #d3dfe9; margin: 14px 0 0; }
@media (max-width: 900px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); }
  .hero-bg-img { object-position: center 30%; }
  .hero::after {
    background: linear-gradient(180deg,
      rgba(12,23,50,0.94) 0%, rgba(12,23,50,0.90) 55%, rgba(15,42,78,0.84) 100%);
  }
}

/* split hero (inner pages) */
.hero-split { background: var(--grad-hero); color: #fff; }
.hero-split-in {
  position: relative; display: grid; gap: 38px; align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  max-width: var(--max); margin: 0 auto; padding: clamp(48px, 6vw, 88px) 20px;
}
.hero-split h1 { color: #fff; }
.hero-split .lead { color: #d9e3ec; }
.hero-media img {
  width: 100%; border-radius: var(--radius);
  border: 2px solid var(--brand-600); box-shadow: var(--shadow-dramatic);
}
@media (max-width: 900px) {
  .hero-split-in { grid-template-columns: minmax(0, 1fr); }
  .hero-media { order: -1; }
}

/* ---------- form card ---------- */
.form-card {
  background: var(--paper); color: var(--ink);
  border-radius: var(--radius-lg); padding: 28px 26px;
  border: 2px solid var(--brand-600);
  box-shadow: var(--shadow-dramatic);
  min-width: 0;
}
.form-card h2 { font-size: 1.5rem; margin-bottom: 4px; }
.form-card .form-sub { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 16px; }
.form-card label { display: block; font-weight: 600; font-size: 0.85rem; margin: 12px 0 5px; }
.form-card input, .form-card select, .form-card textarea {
  width: 100%; font-size: 16px; font-family: inherit; color: var(--ink);
  padding: 11px 12px; border: 1.5px solid var(--n-500); border-radius: var(--radius);
  background: #fff; min-width: 0;
}
.form-card input:focus, .form-card select:focus, .form-card textarea:focus {
  outline: 2px solid var(--brand-600); border-color: var(--brand-600);
}
.form-card .btn { width: 100%; margin-top: 16px; }
.form-fine { font-size: 0.78rem; color: var(--ink-soft); margin: 10px 0 0; }
.form-status { display: none; margin-top: 12px; padding: 12px; border-radius: var(--radius); font-weight: 700; font-size: 0.9rem; }
.form-status.ok { display: block; background: var(--brand-50); color: var(--brand-800); }
.form-status.err { display: block; background: #fdf0e7; color: #8a380e; }

/* ---------- stat band (value props) ---------- */
.statband { background: var(--brand-950); color: #fff; padding: 52px 0; border-top: 4px solid var(--accent-500); }
.statgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.stat { min-width: 0; }
.stat b {
  display: block; font-family: "Barlow Condensed", sans-serif; font-weight: 800;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem); color: var(--accent-400);
  line-height: 1.05; overflow-wrap: normal; text-transform: uppercase;
}
.stat span { font-size: 0.9rem; color: #b6c6d4; display: block; margin-top: 6px; }
@media (max-width: 860px) { .statgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
.step {
  background: var(--paper); border: 2px solid var(--brand-600); border-radius: var(--radius);
  padding: 26px 24px; position: relative; min-width: 0;
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 1.7rem;
  color: var(--brand-600); display: block; margin-bottom: 8px;
  overflow-wrap: normal;
}
.step h3 { font-size: 1.18rem; }
.step p { font-size: 0.94rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- services grid ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.svc-card {
  background: var(--paper); border: 2px solid var(--brand-600); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: inherit; display: flex;
  flex-direction: column; min-width: 0;
}
.svc-card:hover { box-shadow: var(--shadow-dramatic); }
.svc-card img { width: 100%; height: 190px; object-fit: cover; border-bottom: 2px solid var(--brand-600); }
.svc-body { padding: 18px 18px 20px; min-width: 0; }
.svc-body h3 { font-size: 1.2rem; margin-bottom: 6px; }
.svc-body p { font-size: 0.92rem; color: var(--ink-soft); margin: 0 0 10px; }
.svc-more {
  font-family: "Barlow Condensed", sans-serif; font-weight: 700;
  font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--brand-700);
}
@media (max-width: 980px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .svc-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- type blocks ---------- */
.types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.type { min-width: 0; border-top: 2px solid var(--brand-600); padding-top: 14px; }
.type h3 { font-size: 1.14rem; margin-bottom: 6px; }
.type p { font-size: 0.93rem; color: var(--ink-soft); margin: 0; }
.type .type-stat { display: block; margin-top: 8px; font-size: 0.86rem; font-weight: 700; color: var(--brand-800); }
.section-dark .type p { color: #c3d2de; }
@media (max-width: 980px) { .types { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .types { grid-template-columns: minmax(0, 1fr); } }

/* ---------- why pillars ---------- */
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.pillar {
  background: var(--paper); border: 2px solid var(--brand-600); border-radius: var(--radius);
  padding: 26px 24px; min-width: 0;
}
.section-dark .pillar { background: rgba(255,255,255,0.04); border-color: var(--brand-600); }
.pillar h3 { font-size: 1.16rem; }
.pillar p { font-size: 0.94rem; color: var(--ink-soft); margin: 0 0 10px; }
.section-dark .pillar p { color: #c3d2de; }
.pillar .pillar-proof { display: block; font-size: 0.87rem; font-weight: 700; color: var(--brand-800); }
.section-dark .pillar .pillar-proof { color: var(--accent-400); }
@media (max-width: 980px) { .why { grid-template-columns: minmax(0, 1fr); } }

/* ---------- lead form band ---------- */
.form-band { background: var(--brand-950); color: #fff; padding: clamp(56px, 7vw, 96px) 0; }
.form-band-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.form-band h2 { color: #fff; }
.form-band .lead { color: #c3d2de; }
.form-band .overline { color: var(--accent-400); }
@media (max-width: 900px) { .form-band-in { grid-template-columns: minmax(0, 1fr); } }

/* ---------- areas ---------- */
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 20px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--paper); border: 2px solid var(--brand-600);
  border-radius: var(--radius-lg); padding: 8px 15px; text-decoration: none;
  font-weight: 700; font-size: 0.9rem; color: var(--brand-800);
  overflow-wrap: normal;
}
.chip:hover { background: var(--brand-50); }
.chip b { color: var(--brand-700); font-weight: 800; }
.zips { font-size: 0.9rem; color: var(--ink-soft); }
.area-cols { columns: 2; column-gap: 40px; font-size: 0.95rem; }
@media (max-width: 620px) { .area-cols { columns: 1; } }

/* ---------- cost table ---------- */
.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 18px; }
table.data { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 0.93rem; }
table.data th, table.data td { text-align: left; padding: 11px 13px; border-bottom: 1px solid var(--n-200); vertical-align: top; min-width: 0; }
table.data th { background: var(--brand-900); color: #fff; font-family: "Barlow Condensed", sans-serif; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; }
table.data tr:nth-child(even) td { background: var(--n-100); }

/* ---------- FAQ ---------- */
.faq details {
  border: 2px solid var(--brand-600); border-radius: var(--radius);
  background: var(--paper); margin-bottom: 12px; overflow: hidden; min-width: 0;
}
.faq summary {
  cursor: pointer; padding: 15px 46px 15px 18px; font-weight: 700;
  font-family: "Barlow Condensed", sans-serif; font-size: 1.1rem;
  position: relative; list-style: none; text-transform: uppercase; letter-spacing: 0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 800; color: var(--brand-600); line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 18px 16px; margin: 0; color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--brand-950); color: #fff; padding: clamp(52px, 7vw, 96px) 0; border-top: 4px solid var(--accent-500); }
.cta-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 30px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: #c3d2de; }
.cta-band .phone-big {
  font-family: "Barlow Condensed", sans-serif; font-weight: 800;
  font-size: clamp(1.7rem, 3.8vw, 2.6rem); color: var(--accent-400);
  text-decoration: none; white-space: nowrap; overflow-wrap: normal;
}
.cta-band .phone-big:hover { color: var(--accent-300); }
.cta-band .phone-label {
  display: block; font-size: 0.85rem; font-weight: 700; color: #b6c6d4;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px;
}
@media (max-width: 860px) { .cta-in { grid-template-columns: minmax(0, 1fr); } }

/* slim repeat CTA slab */
.cta-slab {
  background: var(--grad-cta); color: #fff; padding: 26px 0;
}
.cta-slab-in {
  display: flex; flex-wrap: wrap; gap: 16px 26px; align-items: center;
  justify-content: space-between;
}
.cta-slab h2 { color: #fff; font-size: 1.5rem; margin: 0; }
.cta-slab .phone-big { color: #fff; font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 1.7rem; text-decoration: none; white-space: nowrap; }
.cta-slab .phone-big:hover { color: var(--accent-300); }

/* ---------- breadcrumb ---------- */
.crumbs { background: var(--n-100); border-bottom: 1px solid var(--n-200); font-size: 0.85rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 10px 0; }
.crumbs li { margin: 0; display: flex; gap: 8px; align-items: center; }
.crumbs li + li::before { content: "›"; color: var(--n-500); }
.crumbs a { text-decoration: none; color: var(--brand-800); font-weight: 600; }

/* ---------- footer (dark-multi-col, brand-950) ---------- */
.site-foot { background: var(--brand-950); color: #c3d2de; padding: 60px 0 0; font-size: 0.92rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr); gap: 36px; }
.site-foot h3 { color: #fff; font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; }
.site-foot strong { color: #fff; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: 8px; }
.site-foot a { color: #c3d2de; text-decoration: none; }
.site-foot a:hover { color: var(--accent-400); }
.foot-nap { font-style: normal; line-height: 1.7; }
.foot-nap a { color: #fff; font-weight: 700; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,0.14); margin-top: 44px; padding: 16px 0 20px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 0.82rem; }
@media (max-width: 980px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- sticky mobile CTA + FAB ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: none;
  padding-bottom: env(safe-area-inset-bottom);
}
.sticky-cta a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 56px; font-family: "Barlow Condensed", sans-serif; font-weight: 700;
  letter-spacing: 0.03em; text-transform: uppercase;
  font-size: 1.02rem; text-decoration: none; color: #fff; white-space: nowrap;
}
.sticky-cta .cta-call { background: var(--grad-cta); box-shadow: inset 0 1px 0 rgba(255,255,255,0.22); }
.sticky-cta .cta-quote { background: var(--brand-900); }
@media (max-width: 767px) { .sticky-cta { display: flex; } }
.fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 65;
  display: none; width: 60px; height: 60px; border-radius: 50%;
  background: var(--grad-cta); color: #fff; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -8px rgba(20, 40, 87, 0.6);
}
.fab:hover { filter: brightness(1.1); }
@media (min-width: 1024px) { .fab { display: flex; } }
@media (min-width: 768px) and (max-width: 1023px) { .fab { display: none; } }

/* ---------- blog ---------- */
.post-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.post-card {
  background: var(--paper); border: 2px solid var(--brand-600); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; min-width: 0;
}
.post-card:hover { box-shadow: var(--shadow-dramatic); }
.post-card img { width: 100%; height: 170px; object-fit: cover; border-bottom: 2px solid var(--brand-600); }
.post-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.post-meta {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.85rem; font-weight: 700; color: var(--brand-700);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.post-body h3 { font-size: 1.12rem; margin: 0; }
.post-body p { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 980px) { .post-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .post-cards { grid-template-columns: minmax(0, 1fr); } }

.post-head { max-width: 820px; margin: 0 auto; padding: 46px 20px 26px; }
.post-head h1 { font-size: clamp(2rem, 4vw, 3rem); }
.byline { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 0.87rem; color: var(--ink-soft); margin: 6px 0 22px; }
.byline b { color: var(--ink); }
.post-hero { max-width: 1060px; margin: 0 auto 34px; padding: 0 20px; }
.post-hero img {
  width: 100%; border-radius: var(--radius);
  border: 2px solid var(--brand-600); box-shadow: var(--shadow-dramatic);
}
.article { max-width: 780px; margin: 0 auto; padding: 0 20px 30px; }
.article p, .article li { font-size: 1.1rem; line-height: 1.7; color: #384142; }
.article h2 { margin-top: 1.5em; font-size: clamp(1.6rem, 2.8vw, 2.1rem); border-top: 2px solid var(--brand-600); padding-top: 0.6em; }
.article h3 { margin-top: 1.2em; }
.article figure { margin: 1.6em 0; }
.article figure img {
  border-radius: var(--radius); width: 100%;
  border: 2px solid var(--brand-600);
}
.article figcaption { font-size: 0.85rem; color: var(--ink-soft); margin-top: 8px; }
.article .keybox {
  background: var(--brand-50); border: 2px solid var(--brand-600);
  padding: 16px 18px; border-radius: var(--radius); margin: 1.4em 0; font-size: 1rem;
}
.article a { color: var(--brand-800); font-weight: 600; }

/* local factors card */
.local-factors {
  background: var(--brand-50); border: 2px solid var(--brand-600);
  border-radius: var(--radius); padding: 24px 26px; margin: 8px 0 26px; min-width: 0;
}
.local-factors h2 { font-size: 1.4rem; }

/* misc */
.two-col { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 36px; align-items: start; }
.two-col > * { min-width: 0; }
@media (max-width: 900px) { .two-col { grid-template-columns: minmax(0, 1fr); } }
.map-embed { border: 2px solid var(--brand-600); width: 100%; height: 340px; border-radius: var(--radius); }
.img-rounded {
  width: 100%; height: auto;
  border-radius: var(--radius); border: 2px solid var(--brand-600);
  box-shadow: var(--shadow-dramatic);
}
.link-list { list-style: none; padding: 0; }
.link-list li { padding: 10px 0; border-bottom: 1px solid var(--n-200); margin: 0; }
.link-list a { font-weight: 700; text-decoration: none; }
.link-list a:hover { color: var(--brand-800); }
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--brand-950); color: #fff;
  padding: 10px 16px; z-index: 99; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }
.teaser-strip { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 36px; align-items: center; }
@media (max-width: 900px) { .teaser-strip { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .cta-band .btn { white-space: normal; text-align: center; flex: 0 1 auto; }
}
@media (max-width: 419px) {
  .hero-ctas .btn { white-space: normal; text-align: center; flex: 0 1 auto; }
}
