:root {
  --ink: #21322c;
  --muted: #6f807d;
  --paper: #eaecee;
  --white: #ffffff;
  --primary: #4a7c6f;
  --secondary: #8b3a3a;
  --accent: #b4bfc0;
  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --line: color-mix(in srgb, var(--ink) 16%, transparent);
}

*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: var(--body); line-height: 1.6; }
p, h1, h2, h3, li { overflow-wrap: break-word; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper), white 18%); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.topline { display: none; }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; min-height: 56px; gap: 10px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 0.84rem; line-height: 1.2; overflow: hidden; }
.brand span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand-mark { width: 22px; height: 22px; border-radius: 4px; background: linear-gradient(135deg, var(--primary), var(--secondary)); flex-shrink: 0; }
.nav-links { display: none; }
.nav-phone { font-weight: 900; border: 1px solid var(--ink); border-radius: 4px; padding: 7px 11px; font-size: 0.84rem; white-space: nowrap; flex-shrink: 0; }

/* Hero */
.hero { position: relative; min-height: calc(100svh - 56px); display: flex; align-items: flex-end; overflow: hidden; color: var(--white); background: var(--ink); }
.hero-visual { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(33,50,44,0.92) 0%, rgba(33,50,44,0.55) 55%, rgba(33,50,44,0.06) 100%); }
.hero-inner { position: relative; z-index: 2; padding: 38px 20px 108px; width: 100%; }
.kicker { display: block; font-family: var(--mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--accent); margin-bottom: 10px; font-weight: 700; }
h1 { font-family: var(--display); font-size: clamp(1.6rem, 4.8vw + 0.4rem, 3rem); line-height: 1.07; margin-bottom: 0.8rem; }
.hero-copy { font-size: 0.96rem; color: rgba(255,255,255,0.82); margin: 0 0 1.4rem; max-width: 36ch; line-height: 1.6; }
.hero-cta { display: inline-flex; align-items: center; background: var(--accent); color: var(--ink); font-weight: 900; padding: 14px 22px; border-radius: 4px; font-size: 0.98rem; margin-bottom: 1.5rem; }
.hero-stats { display: flex; border: 1px solid rgba(255,255,255,0.24); border-radius: 4px; overflow: hidden; }
.hero-stats > div { flex: 1; padding: 11px 10px; border-right: 1px solid rgba(255,255,255,0.2); }
.hero-stats > div:last-child { border-right: 0; }
.hero-stats strong { display: block; font-size: 0.9rem; font-weight: 900; }
.hero-stats span { display: block; font-size: 0.68rem; color: rgba(255,255,255,0.68); margin-top: 2px; }

/* Sections */
h2 { font-family: var(--display); font-size: clamp(1.4rem, 3.5vw + 0.3rem, 2.4rem); line-height: 1.1; margin-bottom: 0.55rem; }
h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.25rem; }
p { font-size: 0.93rem; color: var(--muted); line-height: 1.65; margin-bottom: 0.65rem; }
p:last-child { margin-bottom: 0; }
.msec { padding: 48px 20px; }
.msec.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-label { display: block; font-family: var(--mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--muted); margin-bottom: 5px; }

/* Services */
.service-list { margin-top: 1.4rem; }
.svc { display: grid; grid-template-columns: 36px minmax(0,1fr); gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.svc:first-child { border-top: 1px solid var(--line); }
.svc-mark { width: 36px; height: 36px; border-radius: 4px; background: linear-gradient(135deg, var(--primary), var(--secondary)); flex-shrink: 0; margin-top: 2px; }
.service-copy h3 { color: var(--ink); }
.service-copy p { color: var(--muted); margin: 0; font-size: 0.88rem; }

/* Process */
.process-head { margin-bottom: 1.4rem; }
.msteps { list-style: none; padding: 0; margin: 0; }
.mstep { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.mstep:first-child { border-top: 1px solid var(--line); }
.mstep:last-child { border-bottom: 0; }
.mstep-n { width: 44px; height: 44px; background: var(--primary); color: var(--white); font-weight: 900; font-size: 0.82rem; display: grid; place-items: center; border-radius: 4px; flex-shrink: 0; font-family: var(--mono); }
.mstep h3 { color: var(--ink); }
.mstep p { color: var(--muted); margin: 0; font-size: 0.88rem; }

/* Coverage */
.cov-head { margin-bottom: 1.1rem; }
.area-pills { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; }
.area-pills li { border: 1px solid var(--line); border-radius: 3px; padding: 10px 12px; font-size: 0.86rem; font-weight: 700; background: color-mix(in srgb, var(--paper), white 45%); }

/* FAQ */
.faq-block { margin-top: 1.2rem; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; padding: 15px 0; font-weight: 700; font-size: 0.91rem; display: grid; grid-template-columns: minmax(0,1fr) 28px; gap: 12px; align-items: center; list-style: none; line-height: 1.4; color: var(--ink); }
summary::-webkit-details-marker { display: none; }
summary:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
summary::after { content: "+"; width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: var(--white); display: grid; place-items: center; font-size: 0.9rem; flex-shrink: 0; font-family: var(--mono); font-weight: 700; }
details[open] summary { border-bottom: 1px solid var(--line); }
details[open] summary::after { content: "−"; }
details p { margin: 0; padding: 14px 0 16px; font-size: 0.9rem; color: var(--muted); }

/* Final CTA */
.final-band { background: var(--ink); color: var(--white); padding: 52px 20px 112px; }
.final-band .section-label { color: var(--accent); }
.final-band h2 { color: var(--white); }
.final-band p { color: rgba(255,255,255,0.74); }
.btn-primary { display: flex; align-items: center; justify-content: center; background: var(--accent); color: var(--ink); font-weight: 900; padding: 15px 20px; border-radius: 4px; font-size: 0.98rem; margin-top: 1.2rem; }

/* Footer */
.site-footer { padding: 18px 20px 14px; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--muted); }
.ftr-row { display: flex; flex-direction: column; gap: 4px; }

/* Sticky mobile CTA */
.mobile-call { position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; background: var(--accent); color: var(--ink); font-weight: 900; font-size: 0.92rem; text-align: center; padding: 12px 20px; display: flex; align-items: center; justify-content: center; box-shadow: 0 -2px 14px rgba(0,0,0,0.22); }

/* Tablet 640px+ */
@media (min-width: 640px) {
  .topline { display: flex; justify-content: center; gap: 14px; padding: 9px 20px; color: var(--white); background: var(--ink); font-size: 0.88rem; }
  .topline span { color: var(--accent); font-weight: 800; }
  .nav { padding: 12px 40px; }
  .nav-links { display: flex; gap: 16px; color: var(--muted); font-size: 0.88rem; }
  .hero { min-height: 88vh; }
  .hero-inner { padding: 60px 40px 100px; }
  .hero-copy { max-width: 44ch; }
  .msec { padding: 64px 40px; }
  .area-pills { grid-template-columns: repeat(3,1fr); }
  .faq-block { display: grid; grid-template-columns: repeat(2,1fr); column-gap: 20px; }
  .faq-block details:first-of-type,
  .faq-block details:nth-of-type(2) { border-top: 1px solid var(--line); }
  .mobile-call { display: none; }
  .ftr-row { flex-direction: row; justify-content: space-between; align-items: center; }
  .final-band { padding: 64px 40px 80px; }
}

/* Desktop 1024px+ */
@media (min-width: 1024px) {
  .topline { font-size: 0.9rem; }
  .nav { max-width: 1220px; margin: 0 auto; }
  .hero { min-height: 78vh; align-items: center; }
  .hero-inner { max-width: 1220px; margin: 0 auto; padding: 80px 40px 100px; }
  h1 { font-size: clamp(2.8rem, 3.8vw, 4.2rem); }
  h2 { font-size: clamp(2rem, 2.8vw, 2.9rem); }
  .msec { padding: 80px 40px; }
  .msec-inner { max-width: 1220px; margin: 0 auto; }
  .service-list { display: grid; grid-template-columns: repeat(2,1fr); }
  .svc:nth-child(odd) { border-right: 1px solid var(--line); }
  .svc:nth-child(n+3) { border-top: 0; }
  .svc:nth-child(1),.svc:nth-child(2) { border-top: 1px solid var(--line); }
  .process-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
  .process-head { margin-bottom: 0; }
  .cov-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
  .cov-head { margin-bottom: 0; }
  .area-pills { grid-template-columns: repeat(3,1fr); }
  .final-band { padding: 80px 40px; }
  .final-inner { max-width: 1220px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
  .btn-primary { margin-top: 0; white-space: nowrap; min-width: 200px; }
}

/* Per-variant overrides (last — highest priority) */

/* Dover: New England editorial, circular marks */
.svc { grid-template-columns: 18px minmax(0,1fr); gap: 12px; }
.svc-mark { width: 12px; height: 12px; margin-top: 5px; border-radius: 50%; background: var(--primary); box-shadow: none; }
.mstep-n { border-radius: 50%; background: var(--ink); }
.area-pills li { border-color: color-mix(in srgb, var(--primary), transparent 60%); border-radius: 6px; }
body { line-height: 1.7; }
