/* =====================================================================
   ENVIREX — Environmental Consulting, Lead & Mold Services
   Design system: refined editorial / architectural / corporate
   Inspired by top-tier engineering & consulting firms (Arup, JLL, AECOM)
   ===================================================================== */

/* ---------- Tokens --------------------------------------------------- */
:root {
  --canvas:      #ffffff;
  --paper:       #f6f4ef;        /* warm off-white / archival paper */
  --paper-2:     #ecebe5;
  --surface:     #faf9f6;

  --ink:         #0c1a26;        /* near-black with navy undertone */
  --ink-2:       #1f2b38;
  --ink-3:       #4a5563;
  --muted:       #6e7682;
  --muted-2:     #8a9099;

  --rule:        #e0ddd6;
  --rule-strong: #c1bdb3;
  --rule-dark:   #2a3540;

  --accent:      #1a3a5c;        /* deep navy — single restrained accent */
  --accent-2:    #102a45;
  --accent-soft: #e7ecf2;
  --gold:        #a98344;        /* warm metallic for credentials/seals */
  --gold-soft:   #efe6d4;

  --ok:          #1f6b3d;
  --warn:        #a86a00;
  --danger:      #9b2b1a;

  --font-display: 'Fraunces', 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --maxw:        1320px;
  --maxw-narrow: 1080px;
  --gutter:      36px;

  --s-1:  4px;
  --s-2:  8px;
  --s-3:  12px;
  --s-4:  16px;
  --s-5:  24px;
  --s-6:  32px;
  --s-7:  48px;
  --s-8:  64px;
  --s-9:  88px;
  --s-10: 120px;

  --section-y: 112px;

  --radius: 2px;
  --radius-md: 4px;

  --shadow-sm: 0 1px 2px rgba(12,26,38,0.05), 0 1px 1px rgba(12,26,38,0.04);
  --shadow:    0 12px 28px -16px rgba(12,26,38,0.18), 0 4px 10px -6px rgba(12,26,38,0.10);
  --shadow-lg: 0 30px 60px -28px rgba(12,26,38,0.30);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Reset ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; max-width: 100%; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--ink); color: #fff; }

/* ---------- Typography ---------------------------------------------- */
.display-xl, .display-lg, .display-md, .display-sm, h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 450;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 36, "SOFT" 30;
}
.display-xl { font-size: clamp(36px, 6.2vw, 88px); line-height: 1.0; letter-spacing: -0.025em; }
.display-lg { font-size: clamp(28px, 4.4vw, 60px); line-height: 1.06; letter-spacing: -0.022em; }
.display-md { font-size: clamp(28px, 3vw, 42px);   line-height: 1.1;  }
.display-sm { font-size: clamp(22px, 2vw, 28px);   line-height: 1.2;  }
h1 { font-size: clamp(36px, 4.8vw, 64px); line-height: 1.02; letter-spacing: -0.022em; }
h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1;  }
h3 { font-size: clamp(20px, 2vw, 26px);   line-height: 1.25; }
h4 { font-size: 17px; line-height: 1.3; font-weight: 500; }

.lede   { font-size: clamp(18px, 1.4vw, 21px); line-height: 1.55; color: var(--ink-2); font-weight: 400; max-width: 62ch; margin: 0; }
.body   { font-size: 16px; line-height: 1.7;  color: var(--ink-2); margin: 0; }
.body-sm{ font-size: 14px; line-height: 1.6;  color: var(--ink-3); margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow--muted { color: var(--muted); }
.eyebrow--muted::before { background: var(--rule-strong); }
.eyebrow--light { color: rgba(255,255,255,0.85); }
.eyebrow--light::before { background: rgba(255,255,255,0.4); }

.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--muted); }

/* ---------- Layout helpers ------------------------------------------ */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: var(--maxw-narrow); }
.section { padding: var(--section-y) 0; }
.section--tight { padding: 80px 0; }
.section--ink { background: var(--ink); color: rgba(255,255,255,0.9); }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }
.section--paper { background: var(--paper); }
.section--surface { background: var(--surface); }
.divider { border: 0; border-top: 1px solid var(--rule); margin: 0; }

/* Section heading composition */
.section-head { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--s-9); align-items: end; margin-bottom: var(--s-9); }
.section-head__lede { color: var(--ink-3); }
.section-head__title { margin-top: var(--s-4); }
@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; gap: var(--s-5); margin-bottom: var(--s-7); }
}

/* ---------- Topbar (announcement) ----------------------------------- */
.topbar {
  background: var(--ink);
  color: rgba(255,255,255,0.82);
  font-size: 12px;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 42px; gap: var(--s-5);
}
.topbar__left, .topbar__right { display: flex; gap: var(--s-7); align-items: center; }
.topbar a { color: rgba(255,255,255,0.85); transition: color .15s; display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: #fff; }
.topbar .pulse {
  width: 8px; height: 8px; background: #4ade80; border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(74,222,128,0.6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(74,222,128,0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}
@media (max-width: 860px) {
  .topbar { display: none; }
}

/* ---------- Header / Nav -------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav__inner {
  display: flex; align-items: center; gap: var(--s-7); height: 84px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--ink);
}
.brand__mark {
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: #fff;
  border-radius: var(--radius);
}
.brand__mark svg { display: block; width: 26px; height: 26px; }
.brand__name {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
}
.brand__tag {
  display: block;
  font-family: var(--font-sans);
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-top: 4px;
  text-transform: uppercase;
}

.nav__menu { display: flex; gap: 30px; flex: 1; margin-left: var(--s-7); align-items: center; }
.nav__link {
  position: relative;
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  padding: 28px 0;
  display: inline-flex; align-items: center; gap: 5px;
  transition: color .15s;
}
.nav__link:hover { color: var(--accent); }
.nav__link.is-active { color: var(--accent); }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px; background: var(--accent);
}
.nav__link .caret { font-size: 9px; color: var(--muted-2); margin-top: 1px; transition: transform .2s; }
.nav__item { position: relative; }
.nav__item:hover > .nav__link .caret { transform: rotate(180deg); }
.nav__item:hover > .nav__link { color: var(--accent); }

.nav__panel {
  position: absolute; left: -28px; top: 100%;
  min-width: 580px;
  background: #fff;
  border: 1px solid var(--rule);
  border-top: 3px solid var(--accent);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
  padding: 28px 32px 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px 36px;
  z-index: 90;
}
.nav__panel--wide { min-width: 720px; grid-template-columns: 1.4fr 1fr; }
.nav__item:hover > .nav__panel,
.nav__item:focus-within > .nav__panel { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__panel::before { content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }
.nav__panel-title {
  grid-column: 1 / -1;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted);
  margin: 0 0 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
}
.nav__panel a.np-item {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid transparent;
}
.nav__panel .np-item__title {
  display: block; font-size: 14.5px; font-weight: 600; color: var(--ink);
  margin-bottom: 3px;
}
.nav__panel .np-item__desc {
  display: block; font-size: 12.5px; color: var(--muted); line-height: 1.5;
}
.nav__panel .np-item:hover .np-item__title { color: var(--accent); }
.nav__panel .np-item:hover .np-item__desc { color: var(--ink-3); }
.nav__panel-cta {
  grid-column: 1 / -1;
  margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
}
.nav__panel-cta a { font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 8px; }
.nav__panel-cta a:hover { color: var(--accent-2); }

.nav__phone {
  display: inline-flex; flex-direction: column; align-items: flex-end;
  line-height: 1.1; color: var(--ink);
  margin-left: auto;
}
.nav__phone-label { font-size: 10.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.nav__phone-num { font-family: var(--font-display); font-weight: 500; font-size: 17px; letter-spacing: -0.005em; }

.nav__cta { margin-left: 18px; }

/* Mobile burger */
.nav__burger {
  display: none;
  width: 44px; height: 44px;
  margin-left: auto;
  position: relative;
}
.nav__burger span {
  position: absolute; left: 10px; right: 10px;
  height: 2px; background: var(--ink);
  transition: transform .2s var(--ease), opacity .2s var(--ease), top .2s var(--ease);
}
.nav__burger span:nth-child(1) { top: 14px; }
.nav__burger span:nth-child(2) { top: 21px; }
.nav__burger span:nth-child(3) { top: 28px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .header .nav__phone, .header .nav__cta { display: none; }
}
@media (max-width: 960px) {
  .nav__burger { display: block; }
  .nav__menu {
    position: fixed; inset: 84px 0 0 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 60px;
    transform: translateX(100%);
    transition: transform .25s var(--ease);
    overflow-y: auto;
    border-top: 1px solid var(--rule);
  }
  .nav__menu { margin-left: 0; }
  .nav__menu.is-open { transform: translateX(0); }
  .nav__link {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 15px; font-weight: 500;
  }
  .nav__link.is-active::after { display: none; }
  .nav__link .caret { transition: transform .2s var(--ease); font-size: 12px; color: var(--ink-3); }

  /* Accordion: collapse submenus by default on mobile */
  .nav__panel {
    position: static; transform: none; box-shadow: none; border: 0;
    min-width: 0; grid-template-columns: 1fr;
    display: none; opacity: 1; visibility: visible;
    padding: 4px 0 10px 0;
  }
  .nav__item.is-open > .nav__panel { display: block; }
  .nav__item.is-open > .nav__link .caret { transform: rotate(180deg); }
  /* Disable desktop hover-open on mobile (would force panels open during touch) */
  .nav__item:hover > .nav__panel,
  .nav__item:focus-within > .nav__panel { opacity: 1; visibility: visible; }

  .nav__panel-title {
    display: block; font-size: 10px; padding: 14px 0 4px;
    color: var(--ink-4); letter-spacing: 0.14em; text-transform: uppercase;
    border-bottom: 0;
  }
  .nav__panel .np-item {
    padding: 11px 0; border-bottom: 1px solid var(--rule);
    flex-direction: column; gap: 2px;
  }
  .nav__panel .np-item__title { font-size: 14px; font-weight: 500; }
  .nav__panel .np-item__desc { display: none; }
  .nav__panel .np-item--all .np-item__title { color: var(--accent); font-weight: 600; }
  .nav__panel-cta { display: none; }
}
@media (max-width: 960px) {
  /* backdrop-filter would make .header a containing block for fixed descendants — keep menu viewport-bound */
  .header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (max-width: 520px) {
  :root { --gutter: 18px; --section-y: 44px; }
  .nav__inner { height: 64px; gap: 10px; }
  .nav__menu { inset: 64px 0 0 0; padding-top: 4px; }
  .brand { gap: 10px; }
  .brand__name { font-size: 17px; }
  .brand__tag { font-size: 8px; letter-spacing: 0.18em; margin-top: 3px; }
  .lede { font-size: 15px; line-height: 1.55; }
  .hero__sub { font-size: 15px; line-height: 1.55; }
  .hero__meta { gap: 12px; }
}

/* ---------- Buttons -------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 50px; padding: 0 24px;
  border: 1px solid var(--ink); background: transparent; color: var(--ink);
  font-family: var(--font-sans);
  font-size: 14px; font-weight: 600; letter-spacing: 0.02em;
  border-radius: var(--radius);
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--ink); color: #fff; }
.btn--filled { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--filled:hover { background: var(--accent); border-color: var(--accent); }
.btn--accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--accent:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn--ghost { color: var(--ink); border-color: var(--rule-strong); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: transparent; color: #fff; border-color: #fff; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--lg { height: 56px; padding: 0 30px; font-size: 14.5px; }
.btn--sm { height: 40px; padding: 0 18px; font-size: 13px; }
.btn .arrow { font-weight: 400; transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.tlink {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--accent);
  padding-bottom: 2px; border-bottom: 1px solid currentColor;
  transition: gap .2s var(--ease), color .15s;
}
.tlink:hover { color: var(--accent-2); gap: 12px; }
.tlink--light { color: #fff; }
.tlink--ink { color: var(--ink); }

/* ---------- Hero ----------------------------------------------------- */
.hero {
  position: relative;
  background: var(--canvas);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: var(--s-9);
  align-items: stretch;
  padding-top: 96px;
}
.hero__copy { display: flex; flex-direction: column; justify-content: center; padding-bottom: 96px; }
.hero__title { margin-top: var(--s-5); }
.hero__title em {
  font-style: italic; font-weight: 350;
  color: var(--accent);
}
.hero__sub { margin-top: var(--s-5); max-width: 56ch; color: var(--ink-3); }
.hero__ctas { display: flex; gap: 12px; margin-top: var(--s-7); flex-wrap: wrap; }
.hero__meta {
  margin-top: var(--s-7);
  display: flex; flex-wrap: wrap; gap: 22px 36px;
  padding-top: var(--s-5); border-top: 1px solid var(--rule);
  font-size: 12.5px; color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero__meta b { color: var(--ink); font-weight: 600; letter-spacing: 0; text-transform: none; font-size: 14px; display: block; margin-top: 4px; font-family: var(--font-display); }

.hero__visual {
  position: relative;
  align-self: stretch;
  min-height: 580px;
  background: var(--ink);
  border-left: 1px solid var(--rule);
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero__visual-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,26,38,0.05) 0%, rgba(12,26,38,0.55) 100%);
  z-index: 1; pointer-events: none;
}
.hero__visual::before {
  content: "";
  position: absolute; inset: 24px;
  border: 1px solid rgba(255,255,255,0.18);
  pointer-events: none;
  z-index: 2;
}
.hero__visual > .hero__caption { position: relative; z-index: 3; }
.hero__caption {
  position: relative;
  padding: 30px 36px;
  color: #fff;
  width: 100%;
}
.hero__caption-label {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.7);
  display: inline-flex; align-items: center; gap: 10px;
}
.hero__caption-label::before { content: ""; width: 18px; height: 1px; background: rgba(255,255,255,0.6); }
.hero__caption-title { display: block; font-family: var(--font-display); font-weight: 500; font-size: 24px; margin-top: 12px; letter-spacing: -0.01em; }
.hero__caption-meta { display: block; margin-top: 6px; font-size: 13px; color: rgba(255,255,255,0.7); }

.hero__stripe {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.hero__stripe-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.hero__stripe-cell {
  padding: 28px 30px;
  border-right: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 6px;
}
.hero__stripe-cell:last-child { border-right: 0; }
.hero__stripe-cell .v { font-family: var(--font-display); font-weight: 500; font-size: 32px; line-height: 1; color: var(--ink); letter-spacing: -0.02em; }
.hero__stripe-cell .v sup { font-size: 0.5em; vertical-align: top; color: var(--accent); }
.hero__stripe-cell .l { font-size: 12px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; padding-top: 56px; gap: 0; }
  .hero__copy { padding-bottom: 56px; }
  .hero__visual { min-height: 420px; border-left: 0; border-top: 1px solid var(--rule); }
  .hero__stripe-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__stripe-cell { border-bottom: 1px solid var(--rule); }
  .hero__stripe-cell:nth-child(2) { border-right: 0; }
}
@media (max-width: 520px) {
  .hero__stripe-grid { grid-template-columns: 1fr; }
  .hero__stripe-cell { border-right: 0; }
  .hero__stripe-cell .v { font-size: 26px; }
  /* hero meta — stack each stat as label-left / value-right */
  .hero__meta { display: grid; grid-template-columns: 1fr; gap: 14px; }
  .hero__meta > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
  .hero__meta b { margin-top: 0; }
  /* hero CTA pair — stacked full-width, no overflow risk from white-space:nowrap */
  .hero__ctas { display: flex; flex-direction: column; gap: 10px; width: 100%; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
}

/* Inner / page hero */
.page-hero {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero--image {
  background:
    linear-gradient(180deg, rgba(246,244,239,0.97) 0%, rgba(246,244,239,0.82) 60%, rgba(246,244,239,0.95) 100%),
    url('../assets/hero-abatement.jpeg') right center / cover no-repeat;
}
.page-hero--image .page-hero__crumb,
.page-hero--image .eyebrow { position: relative; z-index: 2; }
.page-hero--image .page-hero__title,
.page-hero--image .page-hero__sub,
.page-hero--image .page-hero__meta { position: relative; z-index: 2; }

/* Photo block — re-usable across pages */
.photo-block {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--ink);
  overflow: hidden;
}
.photo-block::after {
  content: ""; position: absolute; inset: 14px;
  border: 1px solid rgba(255,255,255,0.18); pointer-events: none;
}
.photo-block--abatement {
  background:
    linear-gradient(180deg, rgba(12,26,38,0.15), rgba(12,26,38,0.6)),
    url('../assets/hero-abatement.jpeg') center / cover no-repeat;
}
.photo-block--abatement-tall { aspect-ratio: 3 / 4; }
.photo-block__caption {
  position: absolute; left: 28px; bottom: 24px; right: 28px;
  color: #fff;
}
.photo-block__caption small {
  display: block;
  font-family: var(--font-sans); font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
}
.photo-block__caption-title {
  font-family: var(--font-display); font-weight: 500; font-size: 20px;
  letter-spacing: -0.005em;
  line-height: 1.25;
}

/* Inline photo for service detail (above the prose) */
.svc-detail-hero {
  margin: 0 0 var(--s-7);
  aspect-ratio: 21 / 9;
  position: relative; overflow: hidden;
  background: var(--ink);
}
.svc-detail-hero::after {
  content: ""; position: absolute; inset: 12px;
  border: 1px solid rgba(255,255,255,0.18); pointer-events: none;
}
.svc-detail-hero--abatement {
  background:
    linear-gradient(135deg, rgba(12,26,38,0.18), rgba(12,26,38,0.5)),
    url('../assets/hero-abatement.jpeg') center 35% / cover no-repeat;
}
.svc-detail-hero--xrf {
  background:
    linear-gradient(135deg, rgba(12,26,38,0.10), rgba(12,26,38,0.35)),
    url('../assets/xrf-inspection.jpg') center / cover no-repeat;
}
.svc-detail-hero--mold-insp {
  background:
    linear-gradient(135deg, rgba(12,26,38,0.10), rgba(12,26,38,0.35)),
    url('../assets/mold-inspection-moisture.jpg') center / cover no-repeat;
}
.svc-detail-hero--mold-rem {
  background:
    linear-gradient(135deg, rgba(12,26,38,0.10), rgba(12,26,38,0.45)),
    url('../assets/mold-remediation.jpg') center / cover no-repeat;
}

/* Area page hero photo band — used after the page-hero on each area page */
.area-photo {
  aspect-ratio: 16 / 8;
  position: relative; overflow: hidden;
  background: var(--ink);
  margin-bottom: 0;
}
.area-photo::after {
  content: ""; position: absolute; inset: 14px;
  border: 1px solid rgba(255,255,255,0.18); pointer-events: none;
}
.area-photo--ulster        { background: linear-gradient(180deg, rgba(12,26,38,0.05), rgba(12,26,38,0.35)), url('../assets/ulster-kingston.jpg') center / cover no-repeat; }
.area-photo--orange        { background: linear-gradient(180deg, rgba(12,26,38,0.05), rgba(12,26,38,0.35)), url('../assets/orange-newburgh.jpg') center / cover no-repeat; }
.area-photo--sullivan      { background: linear-gradient(180deg, rgba(12,26,38,0.05), rgba(12,26,38,0.35)), url('../assets/sullivan-callicoon.jpg') center / cover no-repeat; }
.area-photo--dutchess      { background: linear-gradient(180deg, rgba(12,26,38,0.05), rgba(12,26,38,0.35)), url('../assets/dutchess-poughkeepsie.jpg') center / cover no-repeat; }
.area-photo--manhattan     { background: linear-gradient(180deg, rgba(12,26,38,0.05), rgba(12,26,38,0.35)), url('../assets/manhattan-rowhouses.jpg') center 30% / cover no-repeat; }
.area-photo--brooklyn      { background: linear-gradient(180deg, rgba(12,26,38,0.05), rgba(12,26,38,0.35)), url('../assets/brooklyn-dumbo.jpg') center / cover no-repeat; }
.area-photo--queens        { background: linear-gradient(180deg, rgba(12,26,38,0.05), rgba(12,26,38,0.35)), url('../assets/queens-rowhouses.jpg') center / cover no-repeat; }
.area-photo--bronx         { background: linear-gradient(180deg, rgba(12,26,38,0.05), rgba(12,26,38,0.35)), url('../assets/bronx-aerial.jpg') center / cover no-repeat; }
.area-photo--staten-island { background: linear-gradient(180deg, rgba(12,26,38,0.05), rgba(12,26,38,0.35)), url('../assets/staten-island-streetcorner.jpg') center / cover no-repeat; }
.area-photo--westchester   { background: linear-gradient(180deg, rgba(12,26,38,0.05), rgba(12,26,38,0.35)), url('../assets/westchester-lighthouse.jpg') center 40% / cover no-repeat; }
.area-photo--rockland      { background: linear-gradient(180deg, rgba(12,26,38,0.05), rgba(12,26,38,0.35)), url('../assets/rockland-civic.jpg') center / cover no-repeat; }

/* Wide NYC editorial band — for home, about, areas hub */
.editorial-band {
  position: relative;
  width: 100%;
  background-color: var(--ink);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.editorial-band__photo {
  width: 100%;
  height: clamp(260px, 30vw, 520px);
  background-image: url('../assets/nyc-skyline.jpg');
  background-position: center 35%;
  background-size: cover;
  background-repeat: no-repeat;
}
.editorial-band__caption {
  background: var(--ink);
  padding: 32px 36px 36px;
  color: #fff;
}
.editorial-band__caption small {
  display: block;
  font-family: var(--font-sans); font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 8px;
}
.editorial-band__caption-title {
  display: block;
  font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 2.2vw, 32px);
  letter-spacing: -0.01em;
  color: #fff;
  max-width: 28ch;
  line-height: 1.2;
}
.page-hero__crumb {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: var(--s-5);
}
.page-hero__crumb a { color: var(--muted); transition: color .15s; }
.page-hero__crumb a:hover { color: var(--accent); }
.page-hero__crumb .sep { color: var(--rule-strong); }
.page-hero__title { max-width: 22ch; }
.page-hero__sub { margin-top: var(--s-5); max-width: 64ch; }
.page-hero__meta {
  margin-top: var(--s-7);
  display: flex; flex-wrap: wrap; gap: 16px;
}
.page-hero__chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  background: #fff;
  border: 1px solid var(--rule);
  font-size: 12.5px; font-weight: 500; color: var(--ink-2);
  border-radius: 999px;
}
.page-hero__chip .dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }

/* ---------- Trust strip / logo wall --------------------------------- */
.trust {
  padding: 36px 0;
  border-bottom: 1px solid var(--rule);
  background: #fff;
}
.trust__inner { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; justify-content: space-between; }
.trust__label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted);
  flex-shrink: 0;
  padding-right: 24px; border-right: 1px solid var(--rule);
}
.trust__list { display: flex; gap: 36px; flex-wrap: wrap; align-items: center; }
.trust__item {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 10px;
}
.trust__item svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }

/* ---------- Service cards grid -------------------------------------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.svc-card {
  background: #fff;
  padding: 40px 36px 32px;
  display: flex; flex-direction: column;
  position: relative;
  transition: background .2s var(--ease);
  min-height: 320px;
}
.svc-card:hover { background: var(--surface); }
.svc-card__num {
  font-family: var(--font-mono);
  font-size: 11px; color: var(--muted);
  letter-spacing: 0.1em;
}
.svc-card__icon {
  width: 44px; height: 44px;
  margin: var(--s-5) 0 var(--s-5);
  color: var(--accent);
}
.svc-card__icon svg { width: 100%; height: 100%; stroke: currentColor; }
.svc-card__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: 22px; color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.svc-card__desc {
  font-size: 14.5px; color: var(--ink-3); line-height: 1.6;
  margin: 0 0 var(--s-5);
}
.svc-card__cta {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.svc-card__cta::after { content: "→"; transition: transform .2s var(--ease); }
.svc-card:hover .svc-card__cta::after { transform: translateX(4px); }
.svc-card__rule { position: absolute; left: 36px; right: 36px; top: 36px; height: 1px; background: var(--rule); display: none; }
@media (max-width: 980px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .svc-grid { grid-template-columns: 1fr; } }

/* ---------- Why / value props --------------------------------------- */
.why-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--s-10);
  align-items: start;
}
.why-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.why-item {
  background: #fff;
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 200px;
}
.why-item__num { display: none; }
.why-item h4 { font-family: var(--font-display); font-weight: 500; font-size: 19px; letter-spacing: -0.005em; color: var(--ink); }
.why-item p { font-size: 14px; color: var(--ink-3); line-height: 1.6; margin: 0; }
@media (max-width: 860px) {
  .why-grid { grid-template-columns: 1fr; gap: var(--s-7); }
  .why-list { grid-template-columns: 1fr; }
}

/* ---------- Process / steps ----------------------------------------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.process__step {
  padding: 36px 28px 36px 0;
  border-top: 2px solid var(--ink);
  position: relative;
}
.process__step:not(:last-child) { padding-right: 32px; }
.process__step h4 {
  font-family: var(--font-display); font-weight: 500; font-size: 21px;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.process__step p { font-size: 14.5px; color: var(--ink-3); line-height: 1.55; margin: 0; }
@media (max-width: 860px) {
  .process { grid-template-columns: 1fr; }
  .process__step { border-top: 1px solid var(--rule); padding: 28px 0; }
  .process__step:first-child { border-top: 2px solid var(--ink); }
}

/* ---------- Stats band ---------------------------------------------- */
.stats {
  background: var(--ink);
  color: #fff;
}
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stats__cell {
  padding: 56px 40px;
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-direction: column; gap: 12px;
}
.stats__cell:last-child { border-right: 0; }
.stats__v {
  font-family: var(--font-display);
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1; font-weight: 450;
  letter-spacing: -0.025em;
  color: #fff;
}
.stats__v sup { font-size: 0.5em; color: var(--gold); vertical-align: top; margin-left: 2px; }
.stats__l { font-size: 13px; color: rgba(255,255,255,0.7); letter-spacing: 0.04em; }
@media (max-width: 860px) { .stats__grid { grid-template-columns: repeat(2, 1fr); } .stats__cell { border-bottom: 1px solid rgba(255,255,255,0.08); } }
@media (max-width: 520px) { .stats__grid { grid-template-columns: 1fr; } }

/* ---------- Editorial split (image + text) -------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-10); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split__visual {
  aspect-ratio: 4 / 5;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.split__visual::after {
  content: ""; position: absolute; inset: 16px;
  border: 1px solid rgba(255,255,255,0.2);
  pointer-events: none;
}
.split__visual--lead {
  background:
    linear-gradient(180deg, rgba(12,26,38,0.25), rgba(12,26,38,0.55)),
    url('../assets/nyc-brownstones.jpg') center / cover no-repeat,
    var(--ink);
}
.split__visual-tag {
  position: absolute; left: 32px; bottom: 32px;
  color: #fff;
  font-family: var(--font-display); font-weight: 500; font-size: 22px;
  z-index: 2;
}
.split__visual-tag small {
  display: block;
  font-family: var(--font-sans); font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
}
.split__copy { padding: 0; }
.split__copy h2 { margin-top: var(--s-5); }
.split__copy .lede { margin-top: var(--s-5); }
.split__bullets { margin-top: var(--s-7); display: grid; gap: 18px; padding: 0; list-style: none; }
.split__bullets li {
  display: grid; grid-template-columns: 22px 1fr; gap: 14px;
  padding-bottom: 18px; border-bottom: 1px solid var(--rule);
  font-size: 15px;
  color: var(--ink-2);
}
.split__bullets li::before {
  content: "";
  width: 8px; height: 8px; background: var(--accent);
  margin-top: 8px;
}
.split__bullets li b { display: block; font-family: var(--font-display); font-weight: 500; color: var(--ink); font-size: 16.5px; margin-bottom: 4px; }
.split__cta { margin-top: var(--s-7); display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; gap: var(--s-7); }
  .split--reverse > :first-child { order: 0; }
  .split__visual { aspect-ratio: 16 / 10; }
}

/* ---------- Testimonials -------------------------------------------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.testi {
  background: #fff;
  border: 1px solid var(--rule);
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 18px;
}
.testi__quote {
  font-family: var(--font-display); font-weight: 400;
  font-size: 19px; line-height: 1.45; color: var(--ink);
  letter-spacing: -0.005em;
  margin: 0;
}
.testi__stars { color: var(--gold); font-size: 14px; letter-spacing: 4px; }
.testi__foot { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--rule); }
.testi__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 13px; letter-spacing: 0.04em; }
.testi__name { font-weight: 600; color: var(--ink); font-size: 14px; }
.testi__src { font-size: 12px; color: var(--muted); margin-top: 2px; }
@media (max-width: 980px) { .testi-grid { grid-template-columns: 1fr; } }

/* ---------- Service Area / regions ---------------------------------- */
.regions {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.region {
  background: #fff;
  padding: 40px 32px 32px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
  transition: background .2s var(--ease);
}
.region:hover { background: var(--surface); }
.region--featured { background: var(--paper); }
.region__label { font-family: var(--font-mono); font-size: 11px; color: var(--accent); letter-spacing: 0.1em; }
.region__title { font-family: var(--font-display); font-weight: 500; font-size: 26px; letter-spacing: -0.012em; }
.region__sub { font-size: 14px; color: var(--ink-3); }
.region__list {
  list-style: none; padding: 0; margin: 12px 0 0;
  columns: 2; column-gap: 24px;
}
.region--featured .region__list { columns: 2; }
.region__list li {
  font-size: 14px; color: var(--ink-2);
  padding: 6px 0;
  border-bottom: 1px dashed var(--rule);
  display: flex; align-items: center; gap: 8px;
  break-inside: avoid;
}
.region__list li::before { content: "—"; color: var(--accent); }
.region__cta {
  margin-top: var(--s-5);
  font-size: 12px; font-weight: 600; color: var(--accent);
  letter-spacing: 0.12em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
}
.region__cta::after { content: "→"; transition: transform .2s var(--ease); }
.region:hover .region__cta::after { transform: translateX(4px); }
@media (max-width: 980px) { .regions { grid-template-columns: 1fr; } }

/* ---------- FAQ ----------------------------------------------------- */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--s-10); align-items: start; }
.faq__list {
  border-top: 1px solid var(--ink);
}
.faq__item {
  border-bottom: 1px solid var(--rule);
}
.faq__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-family: var(--font-display); font-weight: 500;
  font-size: 19px; color: var(--ink);
  letter-spacing: -0.005em;
  text-align: left;
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__item summary { list-style: none; }
.faq__toggle {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border: 1px solid var(--rule-strong);
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
  transition: background .15s, border-color .15s;
}
.faq__toggle::before, .faq__toggle::after {
  content: ""; position: absolute;
  background: var(--ink);
  transition: transform .2s var(--ease);
}
.faq__toggle::before { width: 12px; height: 1.5px; }
.faq__toggle::after { width: 1.5px; height: 12px; }
.faq__item[open] .faq__toggle { background: var(--ink); border-color: var(--ink); }
.faq__item[open] .faq__toggle::before, .faq__item[open] .faq__toggle::after { background: #fff; }
.faq__item[open] .faq__toggle::after { transform: scaleY(0); }
.faq__a {
  padding: 0 0 28px;
  font-size: 15.5px; line-height: 1.65; color: var(--ink-3);
  max-width: 68ch;
}
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; gap: var(--s-7); } .faq__q { font-size: 17px; } }

/* ---------- CTA block ----------------------------------------------- */
.cta {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 90% at 80% 50%, rgba(26,58,92,0.6) 0%, transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,0.04), transparent);
  pointer-events: none;
}
.cta__inner {
  position: relative;
  padding-top: 110px;
  padding-bottom: 110px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s-10);
  align-items: center;
}
.cta__title { color: #fff; max-width: 22ch; }
.cta__sub { color: rgba(255,255,255,0.75); margin-top: var(--s-5); max-width: 50ch; }
.cta__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: var(--s-7); }
.cta__aside {
  border-left: 1px solid rgba(255,255,255,0.15);
  padding-left: var(--s-7);
}
.cta__aside-item { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.cta__aside-item:first-child { padding-top: 0; }
.cta__aside-item:last-child { border-bottom: 0; padding-bottom: 0; }
.cta__aside-l { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 6px; }
.cta__aside-v { font-family: var(--font-display); font-weight: 500; font-size: 19px; color: #fff; letter-spacing: -0.005em; }
.cta__aside-v a { color: #fff; }
@media (max-width: 860px) {
  .cta__inner { grid-template-columns: 1fr; padding-top: 72px; padding-bottom: 72px; gap: var(--s-7); }
  .cta__aside { border-left: 0; padding-left: 0; padding-top: var(--s-5); border-top: 1px solid rgba(255,255,255,0.15); }
}
@media (max-width: 520px) {
  /* CTA buttons — stacked full-width */
  .cta__ctas { display: flex; flex-direction: column; gap: 10px; width: 100%; }
  .cta__ctas .btn { width: 100%; justify-content: center; }
  /* address rows — label-left, value-right (wraps if value too long) */
  .cta__aside-item { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; padding: 14px 0; }
  .cta__aside-l { margin-bottom: 0; flex-shrink: 0; }
  .cta__aside-v { text-align: right; font-size: 16px; min-width: 0; }
}

/* ---------- Footer --------------------------------------------------- */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 88px 0 32px;
  font-size: 14px;
}
.footer a { color: rgba(255,255,255,0.78); transition: color .15s; }
.footer a:hover { color: #fff; }
.footer__top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: var(--s-7);
  padding-bottom: var(--s-8);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__brand .brand__mark { background: #fff; color: var(--ink); }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__tag { color: rgba(255,255,255,0.5); }
.footer__addr { margin-top: var(--s-5); line-height: 1.7; font-size: 14px; }
.footer__addr a { display: block; }
.footer__col h5 {
  font-family: var(--font-sans);
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.55);
  margin: 0 0 var(--s-5);
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer__col li a { font-size: 14px; }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: var(--s-5);
  gap: var(--s-5);
  font-size: 12px; color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
}
.footer__legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__licenses {
  display: flex; gap: 18px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
@media (max-width: 960px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer__top { grid-template-columns: 1fr; }
}

/* ---------- Contact form -------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--s-10); align-items: start; }
.form { display: grid; gap: var(--s-5); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
.form__group { display: flex; flex-direction: column; gap: 8px; }
.form__group label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
}
.form__group input, .form__group textarea, .form__group select {
  background: #fff;
  border: 1px solid var(--rule-strong);
  padding: 14px 16px;
  font-size: 15px;
  color: var(--ink);
  border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s;
}
.form__group input:focus, .form__group textarea:focus, .form__group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form__group textarea { min-height: 140px; resize: vertical; }
.form__submit { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: var(--s-3); }
.form__note { font-size: 12px; color: var(--muted); }
.contact-card {
  background: var(--paper); border: 1px solid var(--rule);
  padding: 36px;
}
.contact-card__title { font-family: var(--font-display); font-weight: 500; font-size: 24px; margin: 0; letter-spacing: -0.01em; }
.contact-card__list { list-style: none; padding: 0; margin: var(--s-5) 0 0; display: grid; gap: var(--s-4); }
.contact-card__list li { padding: 14px 0; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: 4px; }
.contact-card__list li:last-child { border-bottom: 0; }
.contact-card__l { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.contact-card__v { font-family: var(--font-display); font-size: 17px; color: var(--ink); letter-spacing: -0.005em; }
.contact-card__v a { color: var(--ink); }
.contact-card__v a:hover { color: var(--accent); }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: var(--s-7); } .form__row { grid-template-columns: 1fr; } }

/* ---------- Credentials grid ---------------------------------------- */
.creds {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--rule); border: 1px solid var(--rule);
}
.cred {
  background: #fff;
  padding: 32px 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.cred__seal {
  width: 56px; height: 56px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600;
  font-size: 16px;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.cred__title { font-family: var(--font-display); font-weight: 500; font-size: 17px; line-height: 1.25; }
.cred__num { font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: 0.06em; }
.cred__desc { font-size: 13px; color: var(--ink-3); }
@media (max-width: 860px) { .creds { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .creds { grid-template-columns: 1fr; } }

/* ---------- Article (body content) ---------------------------------- */
.prose { max-width: 72ch; }
.prose h2 { margin: var(--s-8) 0 var(--s-4); }
.prose h3 { margin: var(--s-7) 0 var(--s-3); }
.prose p { margin: 0 0 1.2em; font-size: 16.5px; color: var(--ink-2); line-height: 1.75; }
.prose ul, .prose ol { padding-left: 0; list-style: none; margin: var(--s-4) 0 var(--s-5); }
.prose ul li, .prose ol li {
  padding: 8px 0 8px 26px;
  position: relative;
  font-size: 16px; color: var(--ink-2); line-height: 1.65;
  border-bottom: 1px dashed var(--rule);
}
.prose ul li::before {
  content: ""; width: 8px; height: 1.5px;
  background: var(--accent);
  position: absolute; left: 0; top: 18px;
}
.prose ol { counter-reset: ol; }
.prose ol li { counter-increment: ol; }
.prose ol li::before {
  content: counter(ol, decimal-leading-zero);
  position: absolute; left: 0; top: 8px;
  font-family: var(--font-mono); font-size: 12px; color: var(--accent);
  letter-spacing: 0.06em;
}
.prose strong { color: var(--ink); font-weight: 600; }

/* ---------- Service detail layout ----------------------------------- */
.svc-detail { display: grid; grid-template-columns: 1fr 320px; gap: var(--s-9); align-items: start; }
.svc-detail__aside { position: sticky; top: 110px; display: flex; flex-direction: column; gap: var(--s-5); }
.svc-detail__aside-card {
  background: var(--paper); border: 1px solid var(--rule);
  padding: 28px;
}
.svc-detail__aside-card h4 { font-family: var(--font-display); font-weight: 500; font-size: 19px; margin: 0 0 14px; }
.svc-detail__aside-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.svc-detail__aside-list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; font-size: 14px; color: var(--ink-2);
  border-bottom: 1px solid var(--rule);
}
.svc-detail__aside-list a:hover { color: var(--accent); }
.svc-detail__aside-list a::after { content: "→"; color: var(--muted); font-size: 13px; }
.svc-detail__aside-cta {
  background: var(--ink); color: #fff; padding: 28px;
}
.svc-detail__aside-cta h5 { color: #fff; font-family: var(--font-display); font-weight: 500; font-size: 19px; letter-spacing: -0.005em; margin: 0 0 10px; }
.svc-detail__aside-cta p { color: rgba(255,255,255,0.7); font-size: 14px; margin: 0 0 20px; line-height: 1.5; }
.svc-detail__aside-phone { font-family: var(--font-display); font-size: 24px; color: #fff; letter-spacing: -0.01em; display: block; margin-top: 12px; }
@media (max-width: 980px) { .svc-detail { grid-template-columns: 1fr; } .svc-detail__aside { position: static; } }

/* ---------- Misc utilities ------------------------------------------ */
.center { text-align: center; }
.mt-7 { margin-top: var(--s-7); }
.mt-8 { margin-top: var(--s-8); }
.flex { display: flex; }
.gap-3 { gap: var(--s-3); }
.gap-4 { gap: var(--s-4); }
.flex-wrap { flex-wrap: wrap; }

/* ---------- Map illustration ---------------------------------------- */
.map-callout {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 36px;
  display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--s-7); align-items: center;
}
.map-callout__art {
  aspect-ratio: 320 / 280;
  background: var(--ink); color: rgba(255,255,255,0.4);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.map-callout__art .service-map {
  width: 100%; height: 100%;
  position: relative;
  background: var(--paper);
}
.service-map svg { display: block; width: 100%; height: 100%; }
.service-map .svg-region { cursor: pointer; }
.service-map .svg-region:hover circle:last-of-type { fill: var(--accent); }
.service-map .svg-region:hover text { fill: var(--accent); }
.map-callout__art iframe {
  width: 100%; height: 100%;
  border: 0; display: block;
}
.map-callout__art svg { width: 100%; height: 100%; }

/* Leaflet overrides for site palette */
.leaflet-container {
  background: #0c1a26 !important;
  font-family: var(--font-sans) !important;
}
.leaflet-popup-content-wrapper {
  background: var(--ink) !important;
  color: #fff !important;
  border-radius: 2px !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4) !important;
}
.leaflet-popup-tip { background: var(--ink) !important; }
.leaflet-popup-content {
  margin: 10px 14px !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
}
.leaflet-popup-content b {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.service-marker {
  background: var(--gold);
  border: 2px solid #fff;
  border-radius: 50%;
  width: 14px !important; height: 14px !important;
  box-shadow: 0 0 0 4px rgba(169,131,68,0.3);
}
.service-marker--nyc {
  background: var(--gold);
  width: 18px !important; height: 18px !important;
  box-shadow: 0 0 0 6px rgba(169,131,68,0.35);
}
.leaflet-control-attribution {
  background: rgba(12,26,38,0.75) !important;
  color: rgba(255,255,255,0.6) !important;
  font-size: 10px !important;
}
.leaflet-control-attribution a { color: rgba(255,255,255,0.8) !important; }
.leaflet-bar a {
  background: var(--ink) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,0.2) !important;
}
.leaflet-bar a:hover { background: var(--accent) !important; }
@media (max-width: 720px) { .map-callout { grid-template-columns: 1fr; } }

/* ---------- Article page layout ------------------------------------- */
.article-hero {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  padding: 64px 0 56px;
}
.article-hero__crumb {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: var(--s-5);
}
.article-hero__crumb a { color: var(--muted); transition: color .15s; }
.article-hero__crumb a:hover { color: var(--accent); }
.article-hero__crumb .sep { color: var(--rule-strong); }
.article-hero__meta {
  display: flex; gap: 18px; flex-wrap: wrap;
  margin-bottom: var(--s-4);
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
}
.article-hero__meta .sep { color: var(--rule-strong); }
.article-hero__meta time { color: var(--muted); }
.article-hero__title { max-width: 22ch; margin: 0; }
.article-hero__lede { margin-top: var(--s-5); max-width: 60ch; }
.article-hero__by {
  margin-top: var(--s-7);
  display: flex; gap: 18px; align-items: center;
  padding-top: var(--s-5); border-top: 1px solid var(--rule);
  font-size: 13px; color: var(--ink-3);
}
.article-hero__by-mark {
  width: 36px; height: 36px;
  background: var(--ink); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  border-radius: 50%;
}
.article-hero__by b { color: var(--ink); font-weight: 600; }

.article-body {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: var(--s-10);
  align-items: start;
}
.article-body .prose { max-width: 68ch; }
.article-body .prose h2 {
  font-size: clamp(24px, 2.4vw, 32px);
  margin: var(--s-8) 0 var(--s-4);
}
.article-body .prose h2:first-child { margin-top: 0; }
.article-body .prose h3 {
  font-size: 21px;
  margin: var(--s-7) 0 var(--s-3);
}
.article-body .prose p { font-size: 17px; line-height: 1.78; color: var(--ink-2); }
.article-body .prose blockquote {
  margin: var(--s-7) 0;
  padding: 18px 24px;
  border-left: 3px solid var(--accent);
  background: var(--paper);
  font-family: var(--font-display);
  font-size: 19px; line-height: 1.5;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.005em;
}
.article-aside {
  position: sticky; top: 110px;
  display: flex; flex-direction: column; gap: var(--s-5);
}
.article-aside__card {
  background: var(--paper); border: 1px solid var(--rule);
  padding: 24px;
}
.article-aside__card h4 {
  font-family: var(--font-sans);
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted);
  margin: 0 0 14px;
}
.article-aside__card ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 12px;
}
.article-aside__card li {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}
.article-aside__card li:last-child { border-bottom: 0; padding-bottom: 0; }
.article-aside__card a {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--ink);
  line-height: 1.35;
  display: block;
}
.article-aside__card a:hover { color: var(--accent); }
.article-aside__card .meta {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: 0.1em;
  color: var(--muted);
  margin-top: 4px;
}
.article-aside__cta {
  background: var(--ink); color: #fff; padding: 24px;
}
.article-aside__cta h5 {
  color: #fff;
  font-family: var(--font-display); font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.005em;
  margin: 0 0 10px;
}
.article-aside__cta p { color: rgba(255,255,255,0.7); font-size: 13.5px; margin: 0 0 16px; line-height: 1.55; }

@media (max-width: 980px) {
  .article-body { grid-template-columns: 1fr; gap: var(--s-7); }
  .article-aside { position: static; }
}

.article-foot {
  border-top: 1px solid var(--rule);
  padding-top: var(--s-7);
  margin-top: var(--s-10);
  display: flex; justify-content: space-between; align-items: center;
  gap: var(--s-5);
  flex-wrap: wrap;
}
.article-foot__tags { display: flex; gap: 10px; flex-wrap: wrap; }
.article-foot__tag {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--rule);
  color: var(--muted);
}

/* Article index — refined card style */
.svc-card time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-left: 8px;
}

/* ---------- end article styles -------------------------------------- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 1px;
}
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff;
  padding: 12px 18px; font-weight: 600;
  z-index: 999;
}
.skip-link:focus { left: 12px; top: 12px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ──────────────────────────────────────────────────────────────────────
   Ad landing pages (paid search) — minimal chrome, single conversion goal.
   Used by pages with `layout: ad` in front-matter.
   ────────────────────────────────────────────────────────────────────── */
.ad-header {
  position: sticky; top: 0; z-index: 80;
  background: #fff; border-bottom: 1px solid var(--rule);
}
.ad-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 16px;
}
.ad-header__phone {
  display: inline-flex; flex-direction: column; align-items: flex-end;
  color: var(--ink); text-decoration: none;
}
.ad-header__phone-label {
  font-family: var(--font-sans); font-size: 10px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3);
}
.ad-header__phone-num {
  font-family: var(--font-display); font-weight: 500; font-size: 20px;
  letter-spacing: -0.01em; margin-top: 2px;
}
@media (max-width: 520px) {
  .ad-header__inner { height: 60px; }
  .ad-header__phone-label { display: none; }
  .ad-header__phone-num { font-size: 17px; }
}

.ad-hero {
  background:
    linear-gradient(180deg, rgba(12,26,38,0.92), rgba(12,26,38,0.86)),
    var(--ink);
  color: #fff;
  padding: 56px 0 48px;
}
.ad-hero--urgent {
  background:
    linear-gradient(180deg, rgba(120,28,28,0.94), rgba(60,12,12,0.96)),
    var(--ink);
}
.ad-hero__eyebrow {
  display: inline-block;
  font-family: var(--font-sans); font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  background: rgba(255,255,255,0.12); padding: 6px 12px; border-radius: 999px;
  color: #fff;
}
.ad-hero__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5.2vw, 56px);
  line-height: 1.05; letter-spacing: -0.022em;
  font-weight: 500; color: #fff;
  margin-top: 18px; max-width: 22ch;
}
.ad-steps__title, .ad-form-aside h2 { color: var(--ink); }
.ad-hero__sub {
  margin-top: 18px; max-width: 56ch;
  font-size: 17px; line-height: 1.5;
  color: rgba(255,255,255,0.85);
}
.ad-hero__ctas { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.ad-hero__call {
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 26px;
  background: var(--accent); color: #fff;
  border-radius: var(--radius);
  font-family: var(--font-sans); font-weight: 600; font-size: 16px;
  letter-spacing: 0.01em;
}
.ad-hero__call:hover { background: var(--accent-2); }
.ad-hero__call b { font-family: var(--font-display); font-weight: 500; font-size: 18px; }
.ad-hero__form-link {
  display: inline-flex; align-items: center;
  height: 56px; padding: 0 22px;
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: var(--radius);
  font-weight: 600; font-size: 15px;
}
.ad-hero__form-link:hover { background: rgba(255,255,255,0.1); }
.ad-hero__meta {
  display: flex; flex-wrap: wrap; gap: 22px 36px;
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.14);
  font-size: 13px; color: rgba(255,255,255,0.78);
}
.ad-hero__meta b { color: #fff; font-weight: 600; }

/* Trust bar */
.ad-trust { background: #fff; padding: 28px 0; border-bottom: 1px solid var(--rule); }
.ad-trust__row {
  display: flex; flex-wrap: wrap; gap: 18px 36px;
  align-items: center; justify-content: center;
  font-family: var(--font-sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3);
}
.ad-trust__row span { display: inline-flex; align-items: center; gap: 8px; }
.ad-trust__row b { color: var(--ink); font-weight: 600; }

/* 3-step strip */
.ad-steps { padding: 64px 0; background: var(--surface); }
.ad-steps__head { text-align: center; margin-bottom: 40px; }
.ad-steps__title { font-family: var(--font-display); font-size: clamp(26px, 3vw, 36px); font-weight: 500; letter-spacing: -0.018em; }
.ad-steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ad-steps__cell { background: #fff; border: 1px solid var(--rule); padding: 28px; border-radius: var(--radius); }
.ad-steps__num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: var(--accent); color: #fff; border-radius: 50%; font-family: var(--font-display); font-weight: 500; }
.ad-steps__cell h3 { font-family: var(--font-display); font-weight: 500; font-size: 20px; margin-top: 16px; letter-spacing: -0.01em; }
.ad-steps__cell p { color: var(--ink-3); margin-top: 8px; font-size: 15px; line-height: 1.55; }
@media (max-width: 860px) { .ad-steps__grid { grid-template-columns: 1fr; } .ad-steps { padding: 44px 0; } }

/* Form section */
.ad-form-section { padding: 64px 0; background: #fff; border-top: 1px solid var(--rule); }
.ad-form-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
@media (max-width: 880px) { .ad-form-grid { grid-template-columns: 1fr; gap: 36px; } .ad-form-section { padding: 44px 0; } }
.ad-form-aside h2 { font-family: var(--font-display); font-size: clamp(26px, 3vw, 36px); font-weight: 500; letter-spacing: -0.018em; }
.ad-form-aside p { margin-top: 14px; color: var(--ink-3); line-height: 1.55; }
.ad-form-aside ul { list-style: none; padding: 0; margin-top: 22px; display: grid; gap: 12px; }
.ad-form-aside li { padding-left: 26px; position: relative; font-size: 15px; color: var(--ink-2); }
.ad-form-aside li::before { content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 2px; background: var(--accent); }
.ad-form { background: var(--surface); border: 1px solid var(--rule); padding: 32px; border-radius: var(--radius); }
.ad-form h3 { font-family: var(--font-display); font-weight: 500; font-size: 22px; margin-bottom: 16px; letter-spacing: -0.01em; }
.ad-form .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.ad-form .form__field { display: grid; gap: 6px; }
.ad-form label { font-family: var(--font-sans); font-size: 12px; font-weight: 600; color: var(--ink-2); letter-spacing: 0.04em; text-transform: uppercase; }
.ad-form input, .ad-form select, .ad-form textarea {
  border: 1px solid var(--rule-strong); background: #fff; color: var(--ink);
  padding: 12px 14px; border-radius: 8px; font: inherit; font-size: 15px;
}
.ad-form input:focus, .ad-form select:focus, .ad-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.ad-form textarea { min-height: 96px; resize: vertical; }
.ad-form button { width: 100%; margin-top: 18px; height: 52px; background: var(--accent); color: #fff; border: 0; border-radius: var(--radius); font-weight: 600; font-size: 16px; cursor: pointer; }
.ad-form button:hover { background: var(--accent-2); }
.ad-form button:disabled { opacity: 0.6; cursor: wait; }
.ad-form__note { margin-top: 12px; font-size: 13px; color: var(--ink-3); }
@media (max-width: 520px) { .ad-form .form__row { grid-template-columns: 1fr; } .ad-form { padding: 24px; } }

/* Ad footer */
.ad-footer { background: var(--ink); color: rgba(255,255,255,0.75); padding: 36px 0 28px; font-size: 13px; }
.ad-footer__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: start; }
.ad-footer__brand { color: #fff; font-family: var(--font-display); font-weight: 500; font-size: 18px; }
.ad-footer__addr { margin-top: 6px; }
.ad-footer__col:last-of-type { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.ad-footer__cta { color: #fff; font-weight: 500; }
.ad-footer__legal { grid-column: 1 / -1; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 12px; color: rgba(255,255,255,0.55); }
.ad-footer__legal p + p { margin-top: 6px; }
@media (max-width: 720px) {
  .ad-footer__inner { grid-template-columns: 1fr; gap: 18px; }
  .ad-footer__col:last-of-type { align-items: flex-start; }
}
