/* =========================================================
   Insect Solutions LLC — V5 "Light Tactical"
   Pure red / black / white · clean tactical schematic +
   warm owner-operated voice
   ========================================================= */

:root {
  /* Palette — STRICT: red / black / white (grays = tones of black on white) */
  --paper: #ffffff;
  --paper-2: #f7f5f1;
  --paper-3: #efece6;
  --ink: #0a0a0a;
  --ink-2: #1a1a1a;
  --ink-3: #2a2a2a;
  --muted: #5e5c58;
  --muted-2: #8a8782;
  --line: #1a1a1a;
  --line-light: #d8d4cc;
  --red: #d8392a;
  --red-deep: #ad2719;
  --red-soft: #fbe8e5;

  /* Type */
  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --f-script: "Caveat", "Comic Sans MS", cursive;

  /* Layout */
  --bar: 36px;
  --header: 76px;
  --max: 1360px;
  --gutter: clamp(20px, 4vw, 56px);
  --bw: 2px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }

/* ---------- Type ---------- */
.display, h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 0.95;
  margin: 0;
  color: var(--ink);
  text-transform: uppercase;
}
h1 { font-size: clamp(48px, 7.5vw, 112px); letter-spacing: -0.025em; }
h2 { font-size: clamp(36px, 5vw, 68px); letter-spacing: -0.02em; }
h3 { font-size: clamp(22px, 2.2vw, 30px); }
p { margin: 0 0 1em; color: var(--ink-2); }
.lede { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; color: var(--ink-2); }
.muted { color: var(--muted); }

.script {
  font-family: var(--f-script);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  color: var(--red);
}
.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: ""; width: 24px; height: 2px; background: var(--red);
}

.tag-code {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 10px;
  border: 1px solid var(--ink);
  background: var(--paper);
}
.tag-code .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.tag-code.filled { background: var(--ink); color: var(--paper); }
.tag-code.filled .dot { background: var(--red); box-shadow: 0 0 0 3px rgba(216,57,42,0.25); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 9vw, 140px) 0; }

/* ---------- Utility bar ---------- */
.utility {
  background: var(--ink);
  color: var(--paper);
  height: var(--bar);
  display: flex;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.utility .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.utility a { text-decoration: none; color: inherit; }
.utility a:hover { color: var(--red); }
.utility .group { display: flex; gap: 18px; align-items: center; }
.utility .live {
  color: var(--red);
}
.utility .live::before {
  content: ""; display: inline-block; width: 7px; height: 7px;
  background: var(--red); border-radius: 50%; margin-right: 8px;
  box-shadow: 0 0 0 3px rgba(216,57,42,0.25);
  vertical-align: middle;
}
@media (max-width: 720px) { .utility .group.hide-sm { display: none; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: var(--bw) solid var(--ink);
  height: var(--header);
}
.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 48px; height: 48px;
  position: relative;
  flex-shrink: 0;
  display: grid; place-items: center;
}
.brand-mark .ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.brand-mark .core {
  width: 26px; height: 26px;
  background: var(--red);
  display: grid; place-items: center;
  position: relative;
  z-index: 2;
}
.brand-mark .core svg { width: 16px; height: 16px; }
.brand-text { line-height: 1; display: flex; flex-direction: column; align-items: flex-start; }
.brand-text .name {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand-text .sub {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: 5px;
  white-space: nowrap;
  font-weight: 500;
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  text-decoration: none;
  color: var(--ink);
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  white-space: nowrap;
  padding: 8px 0;
}
.nav a:hover { color: var(--red); }
.nav a.active { color: var(--red); }
.nav a.active::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--red);
}
.header-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
@media (max-width: 1100px) {
  .nav { gap: 18px; }
  .nav a { font-size: 13px; }
  .brand-text .sub { display: none; }
}
@media (max-width: 1000px) { .nav { display: none; } }
/* On mobile the hamburger owns the right side — its CTAs live in the panel */
@media (max-width: 1000px) { .header-cta { display: none; } }

/* Hamburger */
.nav-toggle {
  display: none;
  appearance: none;
  background: var(--paper);
  border: var(--bw) solid var(--ink);
  color: var(--ink);
  width: 44px; height: 44px;
  cursor: pointer;
  padding: 0;
  align-items: center; justify-content: center; flex-direction: column;
  gap: 5px; flex-shrink: 0;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); }
@media (max-width: 1000px) { .nav-toggle { display: flex; } }

/* Mobile menu.
   A self-contained full-viewport overlay sitting ABOVE the sticky header
   (z-index 50), with its own close button. It deliberately does not
   anchor to the header: the header is sticky and the utility bar is not,
   so any top offset based on them is wrong as soon as the page scrolls.
   Layout is three rows — fixed top bar, scrollable links, pinned CTAs. */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--paper);
  z-index: 60;
  flex-direction: column;
  display: none;
}
body.nav-open .mobile-nav { display: flex; }

/* --- Row 1: top bar with the close button --- */
.mnav-top {
  flex: 0 0 auto;
  height: var(--header);
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: var(--bw) solid var(--ink);
}
.mnav-brand {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.mnav-close {
  appearance: none;
  background: var(--paper);
  border: var(--bw) solid var(--ink);
  width: 44px; height: 44px;
  flex-shrink: 0;
  padding: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  position: relative;
}
.mnav-close span {
  position: absolute;
  width: 18px; height: 2px;
  background: var(--ink);
}
.mnav-close span:nth-child(1) { transform: rotate(45deg); }
.mnav-close span:nth-child(2) { transform: rotate(-45deg); }
.mnav-close:hover { background: var(--ink); }
.mnav-close:hover span { background: var(--paper); }

/* --- Row 2: links. min-height:0 is required or a flex child will not
       shrink below its content and will refuse to scroll. --- */
.mnav-links {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 8px var(--gutter);
}
.mobile-nav .mnav-links a {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(22px, 6.5vw, 30px);
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-light);
  display: flex; justify-content: space-between; align-items: center;
}
.mobile-nav .mnav-links a.active { color: var(--red); }
.mobile-nav .mnav-links a:last-child { border-bottom: none; }

/* --- Row 3: CTAs, pinned so they are visible the moment the menu opens.
       Scoped away from .mnav-links a, which previously overrode .btn. --- */
.mobile-nav .mobile-cta {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px var(--gutter);
  padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  border-top: var(--bw) solid var(--ink);
  background: var(--paper-2);
}
.mobile-nav .mobile-cta .btn { width: 100%; }

/* Short screens and landscape: tighten so nothing needs scrolling. */
@media (max-height: 720px) {
  .mobile-nav .mnav-links a { font-size: clamp(18px, 5vw, 24px); padding: 10px 0; }
  .mnav-links { padding-top: 4px; padding-bottom: 4px; }
  .mobile-nav .mobile-cta { padding-top: 12px; }
}

/* ---------- Buttons ---------- */
.btn {
  appearance: none;
  border: var(--bw) solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 14px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
  border-radius: 0;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
  position: relative;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn.primary { background: var(--red); border-color: var(--red); color: var(--paper); }
.btn.primary:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn.dark { background: var(--ink); color: var(--paper); }
.btn.dark:hover { background: var(--red); border-color: var(--red); }
.btn.lg { padding: 18px 28px; font-size: 17px; }
.btn.sm { padding: 9px 14px; font-size: 12px; }
.btn .arr { transition: transform 0.15s; }
.btn:hover .arr { transform: translateX(3px); }

.calltag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--red);
  color: var(--paper);
  padding: 12px 18px;
  text-decoration: none;
  border: var(--bw) solid var(--red);
  transition: background 0.15s, border-color 0.15s;
}
.calltag:hover { background: var(--red-deep); border-color: var(--red-deep); color: var(--paper); }
.calltag .phone-icon { width: 18px; height: 18px; flex-shrink: 0; }
.calltag .num {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
@media (max-width: 1180px) { .header-cta .calltag { display: none; } }

/* ---------- HERO ---------- */
.hero {
  background: var(--paper);
  border-bottom: var(--bw) solid var(--ink);
  overflow: hidden;
  position: relative;
}
/* subtle blueprint grid */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10,10,10,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,10,10,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding-top: clamp(36px, 4vw, 72px);
  padding-bottom: clamp(36px, 4vw, 72px);
  min-height: calc(100svh - var(--bar) - var(--header));
  position: relative;
  z-index: 1;
}
@media (max-height: 760px) {
  .hero .wrap { min-height: 0; padding-top: 32px; padding-bottom: 32px; }
}

.hero-content .header-tags {
  display: flex; gap: 10px; margin-bottom: 18px; flex-wrap: wrap;
}
.hero-script {
  font-family: var(--f-script);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  color: var(--red);
  display: inline-block;
  transform: rotate(-2deg);
  margin: 8px 0 -6px;
}
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(46px, 7.2vw, 104px);
  line-height: 0.92;
}
.hero h1 .accent { color: var(--red); }
.hero h1 .underline {
  display: inline-block; position: relative;
}
.hero h1 .underline::after {
  content: ""; position: absolute;
  left: -2px; right: -2px; bottom: 4px;
  height: 14px; background: var(--red);
  z-index: -1;
}
.hero .lede { max-width: 540px; color: var(--ink-2); }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

.hero-trust {
  margin-top: 28px;
  display: flex;
  gap: 14px 22px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-trust .item {
  display: inline-flex; gap: 9px; align-items: center;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}
.hero-trust .item .check {
  width: 20px; height: 20px;
  background: var(--red); color: var(--paper);
  display: grid; place-items: center;
  font-size: 11px;
  border: 1.5px solid var(--ink);
}

/* Mission brief panel (light, schematic) */
.brief {
  background: var(--paper);
  border: var(--bw) solid var(--ink);
  padding: 22px 24px;
  position: relative;
}
.brief::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px; width: 14px; height: 14px;
  border-top: 3px solid var(--red);
  border-left: 3px solid var(--red);
}
.brief::after {
  content: "";
  position: absolute;
  bottom: -1px; right: -1px; width: 14px; height: 14px;
  border-bottom: 3px solid var(--red);
  border-right: 3px solid var(--red);
}
.brief .brief-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.brief .brief-head .title { color: var(--muted); }
.brief .brief-head .id { color: var(--red); font-weight: 600; }

.target {
  margin: 0 auto 16px;
  width: min(220px, 100%);
  aspect-ratio: 1;
  position: relative;
  display: grid;
  place-items: center;
}
.target svg { width: 100%; height: 100%; position: absolute; inset: 0; }
.target .target-center {
  position: relative;
  z-index: 2;
  width: 56px; height: 56px;
  background: var(--red);
  border-radius: 50%;
  border: 3px solid var(--ink);
  display: grid; place-items: center;
}
.target .target-center svg { width: 26px; height: 26px; position: static; }

.brief-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.brief-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line-light);
  align-items: baseline;
}
.brief-row:last-child { border-bottom: 0; }
.brief-row .k {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.brief-row .v {
  color: var(--ink);
  font-weight: 700;
  font-family: var(--f-display);
  font-size: 13px;
  letter-spacing: 0.01em;
  line-height: 1.25;
}
.brief-row .v .red { color: var(--red); }
.brief-row .v .big {
  font-size: 22px;
  letter-spacing: -0.02em;
}

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; padding-top: 36px; padding-bottom: 56px; }
}

/* ---------- Status strip (under hero) ---------- */
.status-strip {
  background: var(--ink);
  color: var(--paper);
  padding: 16px 0;
  overflow: hidden;
  border-bottom: var(--bw) solid var(--ink);
}
.status-track {
  display: flex;
  gap: 50px;
  width: max-content;
  align-items: center;
  animation: marquee 45s linear infinite;
}
.status-track .item {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.status-track .item .star { color: var(--red); }
.status-track .item .dot { width: 8px; height: 8px; background: var(--red); border-radius: 50%; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Section head ---------- */
.section-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section-head h2 .accent { color: var(--red); }
.section-head h2 .underline {
  display: inline-block; position: relative;
}
.section-head h2 .underline::after {
  content: ""; position: absolute;
  left: -2px; right: -2px; bottom: 4px;
  height: 12px; background: var(--red);
  z-index: -1;
}
.section-head .right { color: var(--ink-2); font-size: 17px; }
.section-head .right p { color: inherit; }
@media (max-width: 720px) {
  .section-head { grid-template-columns: 1fr; gap: 18px; }
}

/* ---------- Services (clean schematic cards) ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.svc {
  background: var(--paper);
  border: var(--bw) solid var(--ink);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: transform 0.15s, background 0.15s;
}
.svc:hover { transform: translate(-3px, -3px); background: var(--paper-2); box-shadow: 6px 6px 0 var(--red); }
.svc::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px; width: 14px; height: 14px;
  border-top: 3px solid var(--red);
  border-left: 3px solid var(--red);
}
.svc::after {
  content: "";
  position: absolute;
  bottom: -1px; right: -1px; width: 14px; height: 14px;
  border-bottom: 3px solid var(--ink);
  border-right: 3px solid var(--ink);
}
.svc .svc-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line-light);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.svc .svc-head .id { color: var(--red); font-weight: 700; }
.svc .svc-head .name { color: var(--muted); }
.svc h3 { color: var(--ink); }
.svc .desc { color: var(--ink-2); flex-grow: 1; font-size: 15px; }
.svc .svc-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--ink);
  font-family: var(--f-display);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.svc .svc-foot .price { color: var(--ink); font-weight: 700; }
.svc .svc-foot .arrow { color: var(--red); font-size: 18px; }
.svc.featured { background: var(--ink); color: var(--paper); }
.svc.featured h3 { color: var(--paper); }
.svc.featured .desc { color: var(--paper); opacity: 0.85; }
.svc.featured .svc-head { border-bottom-color: var(--ink-3); }
.svc.featured .svc-head .name { color: var(--paper); opacity: 0.7; }
.svc.featured .svc-foot { border-top-color: var(--paper); }
.svc.featured .svc-foot .price { color: var(--paper); }
@media (max-width: 720px) { .services-grid { grid-template-columns: 1fr; } }

/* Targets */
.targets-row {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--ink);
  border: var(--bw) solid var(--ink);
}
.t-chip {
  background: var(--paper);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  min-height: 100px;
}
.t-chip .name {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--ink);
}
.t-chip .status {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--red);
  text-transform: uppercase;
  margin-top: auto;
  font-weight: 600;
}
@media (max-width: 1100px) { .targets-row { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .targets-row { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Pricing (deployment fee) ---------- */
.pricing {
  background: var(--paper-2);
  border-top: var(--bw) solid var(--ink);
  border-bottom: var(--bw) solid var(--ink);
  position: relative;
}
.pricing::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10,10,10,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,10,10,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.pricing .wrap { position: relative; z-index: 1; }

.deploy {
  background: var(--paper);
  border: var(--bw) solid var(--ink);
  padding: 0;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 0;
  position: relative;
}
.deploy::before {
  content: ""; position: absolute;
  top: -1px; left: -1px; width: 20px; height: 20px;
  border-top: 3px solid var(--red); border-left: 3px solid var(--red);
}
.deploy::after {
  content: ""; position: absolute;
  bottom: -1px; right: -1px; width: 20px; height: 20px;
  border-bottom: 3px solid var(--red); border-right: 3px solid var(--red);
}
.deploy .left {
  padding: clamp(36px, 5vw, 64px);
  display: flex; flex-direction: column; justify-content: center;
}
.deploy .tag-row { display: flex; gap: 10px; margin-bottom: 16px; }
.deploy h2 { color: var(--ink); margin-bottom: 14px; font-size: clamp(36px, 5vw, 64px); }
.deploy .lede { color: var(--ink-2); max-width: 480px; }
.deploy .price-block {
  display: flex; align-items: baseline; gap: 10px;
  margin: 28px 0 22px;
  border-top: 2px dashed var(--ink);
  border-bottom: 2px dashed var(--ink);
  padding: 22px 0;
}
.deploy .price-block .d {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 36px;
  color: var(--red);
}
.deploy .price-block .n {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(110px, 13vw, 180px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.deploy .price-block .per {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  align-self: flex-end;
  padding-bottom: 8px;
}
.deploy .actions { display: flex; gap: 12px; flex-wrap: wrap; }

.deploy .right {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(36px, 5vw, 56px) clamp(28px, 4vw, 44px);
}
.deploy .right .head {
  display: flex; justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper); opacity: 0.7;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--ink-3);
}
.deploy .right h4 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--paper);
  margin: 0 0 16px;
}
.deploy .right ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.deploy .right li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  font-size: 14px;
  color: var(--paper);
  line-height: 1.4;
}
.deploy .right li::before {
  content: "✓";
  width: 20px; height: 20px;
  background: var(--red); color: var(--paper);
  display: grid; place-items: center;
  font-size: 11px;
}
@media (max-width: 900px) { .deploy { grid-template-columns: 1fr; } }

/* ---------- Owner ---------- */
.owner {
  background: var(--paper);
}
.owner-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.owner-photo {
  position: relative;
  aspect-ratio: 3/2;
  background: var(--paper-2);
  border: var(--bw) solid var(--ink);
}
.owner-photo::before {
  content: ""; position: absolute;
  top: -1px; left: -1px; width: 18px; height: 18px;
  border-top: 3px solid var(--red); border-left: 3px solid var(--red);
}
.owner-photo::after {
  content: ""; position: absolute;
  bottom: -1px; right: -1px; width: 18px; height: 18px;
  border-bottom: 3px solid var(--red); border-right: 3px solid var(--red);
}
.owner-photo .photo {
  width: 100%; height: 100%;
  background: repeating-linear-gradient(135deg, var(--paper-2) 0 10px, var(--paper-3) 10px 20px);
  display: flex; align-items: flex-end;
}
.owner-photo .ph-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--paper); color: var(--ink);
  padding: 6px 10px;
  margin: 12px;
  border: 1px solid var(--ink);
}
.owner-photo .badge {
  position: absolute;
  bottom: -16px; right: -16px;
  background: var(--red); color: var(--paper);
  padding: 12px 18px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid var(--ink);
  z-index: 3;
}

.owner-content blockquote {
  margin: 0 0 24px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.15;
  color: var(--ink);
  text-transform: none;
  letter-spacing: -0.01em;
  padding-left: 22px;
  border-left: 4px solid var(--red);
}
.owner-content .signature {
  font-family: var(--f-script);
  font-weight: 700;
  font-size: 42px;
  color: var(--red);
  display: inline-block;
  transform: rotate(-3deg);
  margin: 4px 0 12px;
}
.owner-content .role {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 16px;
  border-top: 1px solid var(--line-light);
}
.owner-content .role strong { color: var(--ink); font-family: var(--f-display); font-weight: 700; font-size: 15px; }
.owner-content .credentials {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.owner-content .credentials .item {
  background: var(--paper);
  border: 1.5px solid var(--ink);
  padding: 14px;
  position: relative;
}
.owner-content .credentials .item::before {
  content: ""; position: absolute;
  top: -1px; left: -1px; width: 10px; height: 10px;
  border-top: 2px solid var(--red); border-left: 2px solid var(--red);
}
.owner-content .credentials .item .k {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.owner-content .credentials .item .v {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
@media (max-width: 800px) {
  .owner-grid { grid-template-columns: 1fr; }
  .owner-content .credentials { grid-template-columns: 1fr; }
}

/* ---------- Reviews ---------- */
.reviews {
  background: var(--paper-2);
  border-top: var(--bw) solid var(--ink);
  border-bottom: var(--bw) solid var(--ink);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review {
  background: var(--paper);
  border: var(--bw) solid var(--ink);
  padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
  position: relative;
}
.review::before {
  content: ""; position: absolute;
  top: -1px; left: -1px; width: 14px; height: 14px;
  border-top: 3px solid var(--red); border-left: 3px solid var(--red);
}
.review .meta {
  display: flex; justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line-light);
}
.review .stars { color: var(--red); font-size: 16px; letter-spacing: 3px; }
.review .quote {
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  flex-grow: 1;
}
.review .who {
  padding-top: 14px;
  border-top: 1px solid var(--ink);
  display: flex; gap: 12px; align-items: center;
}
.review .who .ini {
  width: 40px; height: 40px;
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 14px;
}
.review.red {
  background: var(--ink);
  color: var(--paper);
}
.review.red .quote { color: var(--paper); }
.review.red .meta { color: var(--paper); opacity: 0.7; border-bottom-color: var(--ink-3); }
.review.red .who { border-top-color: var(--paper); }
.review.red .who .ini { background: var(--red); color: var(--paper); }
.review.red .who .name { color: var(--paper); }
.review.red .who .loc { color: var(--paper); opacity: 0.7; }
.review .who .name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
}
.review .who .loc {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}
@media (max-width: 900px) { .reviews-grid { grid-template-columns: 1fr; } }

/* ---------- Coverage ---------- */
.coverage { background: var(--paper); }
.coverage-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
}
.cov-map {
  background: var(--paper-2);
  border: var(--bw) solid var(--ink);
  position: relative;
  min-height: 480px;
  overflow: hidden;
}
.cov-map::before {
  content: ""; position: absolute;
  top: -1px; left: -1px; width: 18px; height: 18px;
  border-top: 3px solid var(--red); border-left: 3px solid var(--red);
  z-index: 2;
}
.cov-map svg { width: 100%; height: 100%; display: block; }
.cov-map .legend {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 10px 12px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}
.cov-map .legend .row { display: flex; gap: 8px; align-items: center; padding: 3px 0; }
.cov-map .legend .row .swatch {
  width: 12px; height: 12px;
  border: 1px solid var(--ink);
}
.cov-map .pin {
  position: absolute;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--paper); color: var(--ink);
  border: 1.5px solid var(--ink);
  padding: 5px 9px;
  display: flex; align-items: center; gap: 8px;
  font-weight: 600;
}
.cov-map .pin::before {
  content: ""; width: 7px; height: 7px;
  background: var(--red); border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(216,57,42,0.18);
}
.cov-list { display: flex; flex-direction: column; gap: 12px; }
.cov-row {
  background: var(--paper);
  border: var(--bw) solid var(--ink);
  padding: 22px 26px;
  text-decoration: none; color: inherit;
  display: flex; justify-content: space-between; align-items: center;
  gap: 18px;
  position: relative;
  transition: background 0.12s;
}
.cov-row::before {
  content: ""; position: absolute;
  top: -1px; left: -1px; width: 12px; height: 12px;
  border-top: 2px solid var(--red); border-left: 2px solid var(--red);
}
.cov-row:hover { background: var(--ink); color: var(--paper); }
.cov-row:hover h3 { color: var(--paper); }
.cov-row:hover .meta { color: var(--paper); opacity: 0.7; }
.cov-row h3 { color: var(--ink); font-size: clamp(22px, 2.2vw, 28px); transition: color 0.12s; }
.cov-row .meta {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
  transition: color 0.12s;
}
.cov-row .status {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  display: flex; align-items: center; gap: 6px;
  font-weight: 700;
}
.cov-row .status::before {
  content: ""; width: 7px; height: 7px;
  background: var(--red); border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(216,57,42,0.18);
}
@media (max-width: 900px) {
  .coverage-grid { grid-template-columns: 1fr; }
  .cov-map { min-height: 360px; }
}

/* ---------- CTA ---------- */
.cta {
  background: var(--red);
  color: var(--paper);
  padding: clamp(56px, 7vw, 100px) 0;
  position: relative;
  overflow: hidden;
  border-top: var(--bw) solid var(--ink);
  border-bottom: var(--bw) solid var(--ink);
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 56px 56px;
}
.cta .wrap {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px; align-items: center;
  position: relative; z-index: 1;
}
.cta .script-call {
  font-family: var(--f-script);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  color: var(--paper);
  display: inline-block;
  transform: rotate(-2deg);
  margin-bottom: 2px;
}
.cta h2 { color: var(--paper); font-size: clamp(40px, 6vw, 80px); }
.cta .lede { color: var(--paper); }
.cta .actions { display: flex; flex-direction: column; gap: 14px; }
.cta .actions .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.cta .actions .btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cta .actions .btn.outline { background: transparent; color: var(--paper); border-color: var(--paper); }
.cta .actions .btn.outline:hover { background: var(--paper); color: var(--red); }
@media (max-width: 800px) { .cta .wrap { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 64px 0 24px;
}
.site-footer .grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
}
@media (max-width: 800px) { .site-footer .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .site-footer .grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 16px;
  font-weight: 500;
}
.site-footer a { color: var(--paper); opacity: 0.75; text-decoration: none; display: block; padding: 5px 0; overflow-wrap: anywhere; }
.site-footer a:hover { opacity: 1; color: var(--red); }
.site-footer .brand { opacity: 1; }
.site-footer .brand .name { color: var(--paper); }
.site-footer .brand .sub { color: var(--paper); opacity: 0.9; }
.site-footer .colophon {
  margin-top: 48px; padding-top: 20px;
  border-top: 1px solid var(--ink-3);
  display: flex; justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper); opacity: 0.6;
  flex-wrap: wrap; gap: 12px;
  overflow-wrap: anywhere;
}
.site-footer .brand-text .name { color: var(--paper); }

/* ---------- Page head (interior pages) ---------- */
.page-head {
  background: var(--ink);
  color: var(--paper);
  border-bottom: var(--bw) solid var(--ink);
  padding: clamp(64px, 8vw, 120px) 0 clamp(48px, 6vw, 88px);
  position: relative;
  overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
}
.page-head .wrap { position: relative; z-index: 1; }
.page-head .crumbs {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper); opacity: 0.7;
  margin-bottom: 20px;
}
.page-head .crumbs a { color: var(--red); text-decoration: none; opacity: 1; }
.page-head .crumbs a:hover { text-decoration: underline; }
.page-head h1 {
  color: var(--paper);
  font-size: clamp(56px, 9vw, 128px);
  line-height: 0.92;
}
.page-head h1 .accent { color: var(--red); }
.page-head h1 .underline { display: inline-block; position: relative; }
.page-head h1 .underline::after {
  content: ""; position: absolute;
  left: -2px; right: -2px; bottom: 4px;
  height: 14px; background: var(--red); z-index: -1;
}
.page-head .lede {
  color: var(--paper);
  max-width: 720px;
  margin-top: 22px;
  opacity: 0.9;
}
.page-head .head-meta {
  margin-top: 32px;
  display: flex;
  gap: 14px 28px;
  flex-wrap: wrap;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper); opacity: 0.85;
}
.page-head .head-meta span { display: inline-flex; gap: 8px; align-items: center; }
.page-head .head-meta .k { color: var(--red); }

/* ---------- Detail row (2-col content blocks) ---------- */
.detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}
.detail-row.rev { grid-template-columns: 1fr 1fr; }
.detail-row .photo-frame {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--paper-2);
  border: var(--bw) solid var(--ink);
}
.detail-row .photo-frame::before {
  content: ""; position: absolute;
  top: -1px; left: -1px; width: 16px; height: 16px;
  border-top: 3px solid var(--red); border-left: 3px solid var(--red);
}
.detail-row .photo-frame::after {
  content: ""; position: absolute;
  bottom: -1px; right: -1px; width: 16px; height: 16px;
  border-bottom: 3px solid var(--red); border-right: 3px solid var(--red);
}
.detail-row .photo-frame .photo {
  width: 100%; height: 100%;
  background: repeating-linear-gradient(135deg, var(--paper-2) 0 10px, var(--paper-3) 10px 20px);
  display: flex; align-items: flex-end;
}
.detail-row .photo-frame .ph-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--paper); color: var(--ink);
  padding: 6px 10px;
  margin: 12px;
  border: 1px solid var(--ink);
}
.detail-row .stat-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}
.detail-row .stat-pair .item {
  background: var(--paper);
  border: 1.5px solid var(--ink);
  padding: 18px;
  position: relative;
}
.detail-row .stat-pair .item::before {
  content: ""; position: absolute;
  top: -1px; left: -1px; width: 12px; height: 12px;
  border-top: 2px solid var(--red); border-left: 2px solid var(--red);
}
.detail-row .stat-pair .item .k {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.detail-row .stat-pair .item .v {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.detail-row .check-list {
  list-style: none; padding: 0; margin: 24px 0;
  display: grid; gap: 10px;
}
.detail-row .check-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  font-size: 15px;
  align-items: start;
  line-height: 1.4;
}
.detail-row .check-list li::before {
  content: "+";
  color: var(--red);
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
}
@media (max-width: 900px) {
  .detail-row, .detail-row.rev { grid-template-columns: 1fr; }
  .detail-row.rev > div:first-child { order: 2; }
  .detail-row.rev > .photo-frame { order: 1; }
}

/* ---------- Process / 4-step grid ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.process-step {
  background: var(--paper);
  border: var(--bw) solid var(--ink);
  padding: 28px 24px;
  position: relative;
}
.process-step::before {
  content: ""; position: absolute;
  top: -1px; left: -1px; width: 14px; height: 14px;
  border-top: 3px solid var(--red); border-left: 3px solid var(--red);
}
.process-step .step-id {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
  font-weight: 700;
}
.process-step h3 { color: var(--ink); font-size: 22px; margin-bottom: 10px; }
.process-step p { color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.process-step.dark { background: var(--ink); color: var(--paper); }
.process-step.dark h3 { color: var(--paper); }
.process-step.dark p { color: var(--paper); opacity: 0.85; }
@media (max-width: 900px) { .process-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .process-grid { grid-template-columns: 1fr; } }

/* ---------- Warning / generic 4-card grid ---------- */
.warning-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.warning {
  background: var(--paper);
  border: var(--bw) solid var(--ink);
  padding: 28px 24px;
  position: relative;
}
.warning::before {
  content: ""; position: absolute;
  top: -1px; left: -1px; width: 14px; height: 14px;
  border-top: 3px solid var(--red); border-left: 3px solid var(--red);
}
.warning .num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
  font-weight: 700;
}
.warning h3 { color: var(--ink); font-size: 20px; margin-bottom: 10px; }
.warning p { font-size: 14px; color: var(--ink-2); line-height: 1.45; }
@media (max-width: 900px) { .warning-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .warning-grid { grid-template-columns: 1fr; } }

/* ---------- Spec strip (3-col stats inside detail) ---------- */
.spec-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.spec-strip .item {
  background: var(--paper);
  border: 1.5px solid var(--ink);
  padding: 18px;
  position: relative;
}
.spec-strip .item::before {
  content: ""; position: absolute;
  top: -1px; left: -1px; width: 10px; height: 10px;
  border-top: 2px solid var(--red); border-left: 2px solid var(--red);
}
.spec-strip.dark .item {
  background: var(--ink-2);
  border-color: var(--ink-3);
  color: var(--paper);
}
.spec-strip .item .k {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.spec-strip.dark .item .k { color: var(--paper); opacity: 0.7; }
.spec-strip .item .v {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--ink);
}
.spec-strip.dark .item .v { color: var(--paper); }
@media (max-width: 720px) {
  .spec-strip { grid-template-columns: 1fr; }
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 160px;
  gap: 6px;
}
.gallery .ph {
  background: repeating-linear-gradient(135deg, var(--paper-2) 0 10px, var(--paper-3) 10px 20px);
  border: 1.5px solid var(--ink);
  display: flex; align-items: flex-end;
  position: relative;
}
.gallery .ph::before {
  content: ""; position: absolute;
  top: -1px; left: -1px; width: 12px; height: 12px;
  border-top: 2px solid var(--red); border-left: 2px solid var(--red);
}
.gallery .ph .ph-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--paper); color: var(--ink);
  padding: 5px 9px;
  margin: 10px;
  border: 1px solid var(--ink);
}
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery .ph { grid-column: span 1 !important; grid-row: span 1 !important; }
}
@media (max-width: 540px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Quote form (multi-step) ---------- */
.quote-app {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  border: var(--bw) solid var(--ink);
  background: var(--paper);
  position: relative;
}
.quote-app::before {
  content: ""; position: absolute;
  top: -1px; left: -1px; width: 18px; height: 18px;
  border-top: 3px solid var(--red); border-left: 3px solid var(--red);
  z-index: 2;
}
.quote-app::after {
  content: ""; position: absolute;
  bottom: -1px; right: -1px; width: 18px; height: 18px;
  border-bottom: 3px solid var(--red); border-right: 3px solid var(--red);
  z-index: 2;
}
.quote-side {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
}
.quote-side .eyebrow { color: var(--red); }
.quote-side .eyebrow::before { background: var(--red); }
.quote-side h2 {
  color: var(--paper);
  margin: 14px 0 18px;
  font-size: clamp(32px, 4vw, 52px);
}
.quote-side .blurb {
  color: var(--paper); opacity: 0.85;
  margin-bottom: 24px;
  font-size: 15px;
}
.quote-side ol.steps {
  list-style: none;
  margin: 0; padding: 0;
  flex-grow: 1;
}
.quote-side ol.steps li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--ink-3);
  align-items: center;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper); opacity: 0.6;
  transition: opacity 0.2s;
}
.quote-side ol.steps li:last-child { border-bottom: 1px solid var(--ink-3); }
.quote-side ol.steps li .ix {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border: 1.5px solid var(--ink-3);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--paper);
}
.quote-side ol.steps li.active { opacity: 1; color: var(--paper); }
.quote-side ol.steps li.active .ix { background: var(--red); border-color: var(--red); }
.quote-side ol.steps li.done { opacity: 0.85; }
.quote-side ol.steps li.done .ix { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.quote-side ol.steps li.done .ix::before { content: "✓"; font-family: var(--f-sans); font-weight: 700; }
.quote-side ol.steps li.done .ix span { display: none; }
.quote-side .help {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--ink-3);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper); opacity: 0.7;
}
.quote-side .help a { color: var(--red); text-decoration: none; font-weight: 600; }

.quote-main {
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
}
.quote-main .qstep { display: none; flex-direction: column; flex-grow: 1; }
.quote-main .qstep.active { display: flex; }
.quote-main .qstep-head { margin-bottom: 24px; }
.quote-main .qstep-head .num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 10px;
}
.quote-main .qstep-head h3 { color: var(--ink); font-size: clamp(24px, 3vw, 34px); margin-bottom: 8px; }
.quote-main .qstep-head p { color: var(--muted); font-size: 15px; }

.opt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
.opt {
  border: 1.5px solid var(--ink);
  padding: 16px;
  cursor: pointer;
  background: var(--paper);
  display: flex; flex-direction: column; gap: 4px;
  text-align: left;
  font-family: inherit;
  position: relative;
  transition: background 0.15s, color 0.15s;
}
.opt:hover { background: var(--paper-2); }
.opt.selected { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.opt .label {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}
.opt .sub {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.opt.selected .sub { color: var(--paper); opacity: 0.7; }
.opt .check {
  position: absolute;
  top: 10px; right: 10px;
  width: 14px; height: 14px;
  border: 1.5px solid var(--ink);
}
.opt.selected .check { background: var(--red); border-color: var(--red); }
.opt.selected .check::after {
  content: ""; display: block;
  width: 3px; height: 7px;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(45deg);
  margin: 0 0 0 4px;
}
@media (max-width: 600px) { .opt-grid { grid-template-columns: 1fr 1fr; } }

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.field label .req { color: var(--red); }
.field input,
.field select,
.field textarea {
  font-family: var(--f-sans);
  font-size: 15px;
  padding: 12px 14px;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  border-radius: 0;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); }
.field textarea { min-height: 100px; resize: vertical; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red); background: #fff5f4; }
.field .err {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  display: none;
  font-weight: 600;
}
.field.invalid .err { display: block; }
@media (max-width: 540px) { .field-grid { grid-template-columns: 1fr; } }

.qstep-foot {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.qstep-foot .progress {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.confirm-mark {
  width: 64px; height: 64px;
  background: var(--red);
  display: grid; place-items: center;
  color: var(--paper);
  margin-bottom: 22px;
}
.confirm-mark::after {
  content: "✓";
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 36px;
}
.summary {
  background: var(--paper-2);
  border: 1.5px solid var(--ink);
  padding: 22px 24px;
  margin-top: 12px;
}
.summary dl {
  margin: 0;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 8px 24px;
}
.summary dt {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.summary dd { margin: 0; font-size: 15px; color: var(--ink); }
@media (max-width: 540px) {
  .summary dl { grid-template-columns: 1fr; gap: 4px; }
  .summary dd { margin-bottom: 10px; }
}

@media (max-width: 900px) {
  .quote-app { grid-template-columns: 1fr; }
}

/* ---------- Contact info cards ---------- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.contact-card {
  background: var(--paper);
  border: var(--bw) solid var(--ink);
  padding: 28px;
  position: relative;
}
.contact-card::before {
  content: ""; position: absolute;
  top: -1px; left: -1px; width: 14px; height: 14px;
  border-top: 3px solid var(--red); border-left: 3px solid var(--red);
}
.contact-card .k {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 12px;
}
.contact-card h3 { color: var(--ink); margin-bottom: 10px; }
.contact-card p { color: var(--ink-2); font-size: 14px; }
@media (max-width: 900px) { .contact-cards { grid-template-columns: 1fr; } }

/* ---------- Operating rules (4-grid for about page) ---------- */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.rule {
  background: var(--ink);
  color: var(--paper);
  padding: 36px 32px;
  position: relative;
  border: var(--bw) solid var(--ink);
}
.rule::before {
  content: ""; position: absolute;
  top: -1px; left: -1px; width: 14px; height: 14px;
  border-top: 3px solid var(--red); border-left: 3px solid var(--red);
}
.rule .ix {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 16px;
}
.rule h3 { color: var(--paper); font-size: 26px; margin-bottom: 12px; }
.rule p { color: var(--paper); opacity: 0.85; font-size: 15px; }
@media (max-width: 720px) { .rules-grid { grid-template-columns: 1fr; } }

/* ---------- Mobile ---------- */
@media (max-width: 480px) {
  :root { --bar: 32px; --header: 64px; --gutter: 18px; }
  .hero h1 { font-size: clamp(40px, 12vw, 72px) !important; }
  .svc { padding: 26px 22px; }
  .deploy .left { padding: 32px 24px; }
  .deploy .right { padding: 28px 24px; }
  .deploy .price-block .n { font-size: 96px !important; }
  .page-head h1 { font-size: clamp(44px, 13vw, 80px) !important; }
}

/* =========================================================
   Home page components (one-page layout)
   ========================================================= */

/* One-page anchor offset */
section[id], .hero[id] { scroll-margin-top: calc(var(--bar) + var(--header) + 8px); }

/* Termite dual block */
.termite { background: var(--paper); }
.termite .note, .note {
  margin-top: 28px;
  background: var(--paper-2);
  border: 1.5px solid var(--ink);
  padding: 20px 24px;
  position: relative;
  display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start;
}
/* Standalone warranty note on the off-white pricing section reads as a framed card */
.note--card { background: var(--paper); }
.termite .note::before, .note::before {
  content: ""; position: absolute; top: -1px; left: -1px; width: 12px; height: 12px;
  border-top: 2px solid var(--red); border-left: 2px solid var(--red);
}
.termite .note .mk, .note .mk {
  width: 22px; height: 22px; background: var(--ink); color: var(--paper);
  display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: 14px;
}
.termite .note p, .note p { margin: 0; font-size: 14px; color: var(--ink-2); }
.termite .note strong, .note strong { color: var(--ink); }

/* Add-on strip */
.addon {
  margin-top: 22px;
  display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center;
  background: var(--ink); color: var(--paper);
  border: var(--bw) solid var(--ink);
  padding: 22px 26px; position: relative;
}
.addon::before {
  content: ""; position: absolute; top: -1px; left: -1px; width: 14px; height: 14px;
  border-top: 3px solid var(--red); border-left: 3px solid var(--red);
}
.addon .lbl { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--red); font-weight: 700; margin-bottom: 8px; }
.addon h3 { color: var(--paper); font-size: clamp(20px, 2.2vw, 26px); }
.addon p { color: var(--paper); opacity: .82; font-size: 14px; margin: 8px 0 0; max-width: 620px; }
.addon .price-tag { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; text-align: right; line-height: 1; }
.addon .price-tag .amt { font-size: clamp(30px, 4vw, 46px); color: var(--paper); letter-spacing: -0.02em; }
.addon .price-tag .amt .d { color: var(--red); font-size: 0.6em; vertical-align: super; }
.addon .price-tag .amt--sm { font-size: clamp(22px, 2.4vw, 30px); }
.addon .price-tag .u { display: block; font-family: var(--f-mono); font-weight: 500; font-size: 10px; letter-spacing: .12em; color: var(--red); margin-top: 8px; }
@media (max-width: 640px) { .addon { grid-template-columns: 1fr; } .addon .price-tag { text-align: left; } }

/* Placeholder disclaimer chip */
.placeholder-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); border: 1px dashed var(--muted-2); padding: 5px 10px; margin-top: 14px;
}
.placeholder-chip::before { content: ""; width: 7px; height: 7px; background: var(--muted-2); border-radius: 50%; }

/* FAQ */
.faq { display: grid; gap: 0; border-top: var(--bw) solid var(--ink); }
.faq details {
  border-bottom: var(--bw) solid var(--ink);
  background: var(--paper);
}
.faq summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 64px 1fr 32px; align-items: center; gap: 18px;
  padding: 26px clamp(4px, 2vw, 20px);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ix { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; color: var(--red); font-weight: 600; }
.faq summary .q {
  font-family: var(--f-display); font-weight: 700; text-transform: none;
  font-size: clamp(18px, 2.1vw, 25px); letter-spacing: -0.01em; color: var(--ink); line-height: 1.15;
}
.faq summary .plus {
  justify-self: end; font-family: var(--f-display); font-weight: 700; font-size: 26px; color: var(--red);
  line-height: 1; transition: transform 0.2s;
}
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq .a {
  padding: 0 clamp(4px, 2vw, 20px) 28px 82px;
  max-width: 760px; color: var(--ink-2); font-size: 16px; line-height: 1.6;
}
.faq .a a { color: var(--red); }
@media (max-width: 560px) {
  .faq summary { grid-template-columns: 1fr 28px; }
  .faq summary .ix { display: none; }
  .faq .a { padding-left: clamp(4px, 2vw, 20px); }
}

/* =========================================================
   Component classes (migrated from inline styles)
   ========================================================= */

/* Logo mark image */
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }

/* Owner photo image */
.owner-photo .photo img { width: 100%; height: 100%; object-fit: cover; }

/* Coverage map legend swatches */
.swatch--service { background: var(--red); }
.swatch--county { background: #ffffff; }

/* Coverage map pin positions */
.pin--qc  { top: 33%; left: 22%; }
.pin--stv { top: 44%; left: 44%; }
.pin--fl  { top: 63%; left: 36%; }

/* Termite-only coverage row */
.cov-row--termite { border-style: dashed; }

/* "Need it sooner?" callout box */
.sooner-box {
  margin-top: 22px;
  padding: 18px 22px;
  background: var(--ink); color: var(--paper);
  border: 1.5px solid var(--ink);
  position: relative;
}
.sooner-box::before {
  content: ""; position: absolute; top: -1px; left: -1px;
  width: 12px; height: 12px;
  border-top: 2px solid var(--red); border-left: 2px solid var(--red);
}
.sooner-box .lbl {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--red); margin-bottom: 8px; font-weight: 700;
}
.sooner-box strong { font-family: var(--f-display); font-size: 18px; }
.sooner-box a { color: var(--paper); font-weight: 700; font-family: var(--f-display); }

/* Footer intro paragraph */
.site-footer .brand--footer { color: var(--paper); }
.footer-about {
  margin-top: 22px; max-width: 320px;
  font-size: 14px; color: var(--paper); opacity: 0.9;
}

/* Quote-form validation error (injected by JS) */
.group-err {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--red);
  margin-top: -16px; margin-bottom: 16px; font-weight: 600;
  display: none;
}
.group-err.is-visible { display: block; }

/* Compact quote-step heading */
.quote-main .qstep-head h3.fs-sm, .qstep-head h3.fs-sm { font-size: 22px; }

/* =========================================================
   Spacing utilities
   ========================================================= */
.mt-12 { margin-top: 12px; }
.mt-14 { margin-top: 14px; }
.mt-22 { margin-top: 22px; }
.mt-40 { margin-top: 40px; }
.mb-16 { margin-bottom: 16px; }
.mb-18 { margin-bottom: 18px; }
.mb-24 { margin-bottom: 24px; }

/* =========================================================
   Social media buttons
   ========================================================= */
.social-row { display: flex; align-items: center; gap: 10px; }
.social-btn {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1.5px solid currentColor;
  color: var(--ink);
  background: transparent;
  text-decoration: none;
  transition: background .18s, color .18s, border-color .18s;
}
.social-btn svg { width: 20px; height: 20px; display: block; }
.social-btn:hover { background: var(--red); border-color: var(--red); color: var(--paper); }

/* "Follow along" strip under the contact cards */
.contact-social {
  margin-top: 32px; padding-top: 28px;
  border-top: 1px solid var(--line-light);
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.contact-social .cs-label {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); font-weight: 600;
}

/* Footer social (override generic footer <a> styling) */
.site-footer .social-row { margin-top: 18px; }
.site-footer .social-btn {
  color: var(--paper); opacity: 1;
  display: grid; padding: 0;
}
.site-footer .social-btn:hover { color: var(--paper); background: var(--red); border-color: var(--red); }

/* ---------- Quote form: honeypot ---------- */
/* Off-screen rather than display:none — sophisticated bots skip fields
   that are hidden outright, but happily fill this one in. Absolutely
   positioned so it stays out of the .quote-app grid flow. */
.hp {
  position: absolute;
  left: -9999px;
  top: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Quote form: submit failure notice ---------- */
.submit-err {
  margin-top: 20px;
  border: var(--bw) solid var(--red);
  border-left-width: 6px;
  background: var(--red-soft);
  padding: 14px 16px;
}
.submit-err[hidden] { display: none; }
.submit-err .lbl {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-deep);
  font-weight: 700;
  margin-bottom: 4px;
}
.submit-err p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
}
.submit-err a {
  color: var(--red-deep);
  font-weight: 700;
  text-decoration: underline;
  white-space: nowrap;
}

/* Submit button while the request is in flight */
.btn.is-sending {
  opacity: 0.6;
  pointer-events: none;
}

/* ---------- Reviews: aggregate rating link ---------- */
/* Replaces the old .placeholder-chip in the reviews section head. */
.review-summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 8px 14px;
  border: var(--bw) solid var(--ink);
  background: var(--paper);
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.review-summary .rs-stars {
  color: var(--red);
  font-size: 14px;
  letter-spacing: 2px;
  line-height: 1;
}
.review-summary .rs-text {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
}
.review-summary .rs-arr {
  font-size: 13px;
  color: var(--muted);
  transition: transform .15s ease;
}
.review-summary:hover { background: var(--ink); }
.review-summary:hover .rs-text { color: var(--paper); }
.review-summary:hover .rs-arr { color: var(--paper); transform: translateX(3px); }
