/* Sewer Scope USA v4. Bespoke build, real Google PAA + interactive features
   Mega-menu dropdown nav, scroll-tied depth gauge, ZIP risk lookup, defect dictionary,
   cost calculator, real-content FAQ. No em dashes anywhere. No Inter/Anton/Poppins as display.
*/

@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  --red: #C8102F;
  --red-deep: #9C0B23;
  --red-soft: #FBE8EB;
  --navy: #013D5B;
  --navy-deep: #002535;
  --navy-glow: #024F76;
  --ivory: #F4F0E6;
  --paper: #FAF7EF;
  --bone: #E8E2D2;
  --charcoal: #16181C;
  --ink: #2B2F35;
  --steel: #5C636E;
  --steel-soft: #8A8F98;
  --rule: #D9D3C2;
  --amber: #E8A33A;
  --green: #4F7A52;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
body {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "ss02", "tnum";
}

img { max-width: 100%; display: block; }
::selection { background: var(--red); color: var(--paper); }

a {
  color: var(--charcoal);
  text-decoration: none;
  border-bottom: 1.5px solid var(--red);
  padding-bottom: 1px;
  transition: color 180ms ease, border-color 180ms ease;
}
a:hover { color: var(--red); }

/* TYPE */
h1, h2, h3, h4, h5 {
  font-family: 'Hanken Grotesk', sans-serif;
  color: var(--charcoal);
  letter-spacing: -0.02em;
  line-height: 1.02;
  font-weight: 900;
}
h1 { font-size: clamp(46px, 6.4vw, 92px); letter-spacing: -0.028em; line-height: 0.97; }
h2 { font-size: clamp(34px, 4vw, 56px); line-height: 1.02; font-weight: 800; }
h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.015em; font-weight: 800; }
h4 { font-size: 17px; letter-spacing: 0.005em; font-weight: 700; }

p { margin-bottom: 16px; max-width: 62ch; }
p.lede { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; color: var(--ink); font-weight: 400; max-width: 54ch; }

.mono { font-family: 'JetBrains Mono', monospace; font-feature-settings: "ss01"; }

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500; font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--red);
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 1.5px; background: var(--red); }
.eyebrow.ink { color: var(--charcoal); }
.eyebrow.ink::before { background: var(--charcoal); }

.wrap { max-width: 1320px; margin: 0 auto; padding: 0 28px; }
.wrap.narrow { max-width: 940px; }
.wrap.wide { max-width: 1480px; }

.band { padding: 96px 0; }
.band.tight { padding: 56px 0; }
.band.dark { background: var(--navy); color: var(--ivory); }
.band.dark h1, .band.dark h2, .band.dark h3, .band.dark h4 { color: var(--ivory); }
.band.dark p { color: rgba(244, 240, 230, 0.86); }
.band.dark .eyebrow { color: #FF6B7A; }
.band.dark .eyebrow::before { background: #FF6B7A; }
.band.dark a { color: var(--ivory); border-color: #FF6B7A; }
.band.ivory { background: var(--ivory); }

/* ===== TOP TRUST BAR + LOCAL BAR ===== */
.top-bar { background: var(--charcoal); color: var(--ivory); padding: 9px 0; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.top-bar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.top-bar a { color: var(--ivory); border-color: transparent; }
.top-bar a:hover { color: var(--red); }
.top-bar .stars { color: #FFC83A; letter-spacing: 0.04em; }
.top-bar .sep { opacity: 0.4; }
.local-bar { background: var(--red); color: var(--paper); padding: 9px 0; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.local-bar .wrap { display: flex; justify-content: space-between; gap: 18px; align-items: center; flex-wrap: wrap; }
.local-bar a { color: var(--paper); border-color: transparent; }
.local-bar a:hover { border-color: var(--paper); }

/* ===== HEADER + MEGA MENU ===== */
.site-bar { background: var(--paper); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 50; }
.bar-inner { max-width: 1480px; margin: 0 auto; padding: 16px 28px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; border: none; padding: 0; }
.brand img { height: 48px; width: auto; display: block; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav .nav-item { position: relative; }
.nav .nav-item > a, .nav .nav-item > button {
  border: 0; background: none; cursor: pointer; padding: 10px 14px;
  font-family: inherit; font-weight: 600; font-size: 14px; letter-spacing: 0.01em;
  color: var(--charcoal);
  display: inline-flex; align-items: center; gap: 6px;
}
.nav .nav-item > a:hover, .nav .nav-item > button:hover { color: var(--red); }
.nav .nav-item .caret { font-family: 'JetBrains Mono', monospace; font-size: 10px; opacity: 0.5; }

/* MEGA MENU. No-gap bridge so the dropdown does not vanish on mouse-out.
   The .mega is positioned directly adjacent to the button (top:100% with zero gap)
   and uses padding-top instead of margin to create visual breathing room while keeping
   the hover area continuous. Inner .mega-card carries the visible card styling. */
.nav .nav-item .mega {
  position: absolute; top: 100%; left: -32px;
  padding-top: 14px; /* invisible hover bridge */
  min-width: 580px;
  display: none;
  z-index: 100;
}
.nav .nav-item.right .mega { left: auto; right: -32px; }
.nav .nav-item:hover .mega,
.nav .nav-item:focus-within .mega { display: block; }
.nav .nav-item .mega .mega-card {
  background: var(--paper); border: 1px solid var(--rule);
  box-shadow: 0 24px 64px rgba(22, 24, 28, 0.12);
  padding: 28px 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
}
/* Small delay before hide on mouse-out so brief mouse stutter does not close it. */
.nav .nav-item .mega { transition: opacity 80ms linear 100ms, visibility 0s linear 180ms; opacity: 0; visibility: hidden; display: block; }
.nav .nav-item:hover .mega,
.nav .nav-item:focus-within .mega { opacity: 1; visibility: visible; transition: opacity 80ms linear, visibility 0s linear; }
.nav .mega-card .col h5,
.nav .mega .col h5 {
  font-family: 'JetBrains Mono', monospace; font-weight: 500; font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--steel);
  margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--rule);
}
.nav .mega a, .nav .mega-card a { display: block; padding: 8px 0; border-bottom: 0; font-weight: 500; font-size: 14px; color: var(--charcoal); }
.nav .mega a small, .nav .mega-card a small { display: block; font-size: 11px; color: var(--steel); font-weight: 400; margin-top: 2px; line-height: 1.3; }
.nav .mega a:hover, .nav .mega-card a:hover { color: var(--red); }

.nav a.realtors { color: var(--charcoal); font-weight: 700; padding: 10px 14px; border: 0; }
.nav a.realtors::before { content: "●"; color: var(--red); margin-right: 6px; font-size: 9px; vertical-align: middle; }
.nav a.cta {
  background: var(--red); color: var(--paper);
  padding: 12px 22px; margin-left: 10px;
  font-weight: 700; letter-spacing: 0.03em;
  border: 1.5px solid var(--red); border-bottom: 1.5px solid var(--red);
  transition: background 180ms ease, color 180ms ease;
}
.nav a.cta:hover { background: var(--charcoal); color: var(--paper); border-color: var(--charcoal); }

/* ===== HERO + PIPE CAM ===== */
.hero { padding: 80px 0 96px; background: var(--paper); border-bottom: 1px solid var(--rule); }
.hero-grid { max-width: 1480px; margin: 0 auto; padding: 0 28px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.hero-left .h1-tail { color: var(--red); }
.hero-meta { display: flex; gap: 40px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--rule); flex-wrap: wrap; }
.hero-meta .item .num { font-family: 'Hanken Grotesk', sans-serif; font-size: 38px; font-weight: 900; line-height: 1; color: var(--navy); letter-spacing: -0.02em; }
.hero-meta .item .label { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); margin-top: 6px; display: block; }
.hero-cta { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.pay-pill { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; background: var(--bone); border-left: 3px solid var(--navy); font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--charcoal); }
.pay-pill::before { content: "$"; background: var(--navy); color: var(--paper); width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 11px; }

.pipe-cam { position: relative; aspect-ratio: 1 / 1; background: #0A0A0E; border: 2px solid var(--charcoal); overflow: hidden; box-shadow: 0 24px 64px rgba(1, 61, 91, 0.18); }
.pipe-cam::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(184, 142, 92, 0.42) 0%, rgba(86, 60, 38, 0.5) 22%, rgba(28, 18, 12, 0.85) 55%, #050505 80%); z-index: 1; }
.pipe-cam .rings { position: absolute; inset: 0; z-index: 2; }
.pipe-cam .ring { position: absolute; top: 50%; left: 50%; border-radius: 50%; border: 1.5px solid rgba(255, 200, 130, 0.18); transform: translate(-50%, -50%) scale(0.05); animation: pipe-recede 4s linear infinite; width: 520px; height: 520px; }
.pipe-cam .ring:nth-child(1) { animation-delay: 0s; } .pipe-cam .ring:nth-child(2) { animation-delay: 0.5s; }
.pipe-cam .ring:nth-child(3) { animation-delay: 1s; } .pipe-cam .ring:nth-child(4) { animation-delay: 1.5s; }
.pipe-cam .ring:nth-child(5) { animation-delay: 2s; } .pipe-cam .ring:nth-child(6) { animation-delay: 2.5s; }
.pipe-cam .ring:nth-child(7) { animation-delay: 3s; } .pipe-cam .ring:nth-child(8) { animation-delay: 3.5s; }
@keyframes pipe-recede { 0% { transform: translate(-50%, -50%) scale(0.05); opacity: 0; border-color: rgba(255, 200, 130, 0.5); } 10% { opacity: 1; } 90% { opacity: 1; border-color: rgba(255, 200, 130, 0.05); } 100% { transform: translate(-50%, -50%) scale(8); opacity: 0; } }
.pipe-cam .reticle { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 92%; height: 92%; z-index: 5; pointer-events: none; }
.pipe-cam .reticle svg { width: 100%; height: 100%; fill: none; stroke: rgba(255, 220, 180, 0.55); stroke-width: 1; }
.pipe-cam .hud { position: absolute; inset: 0; z-index: 6; padding: 18px 22px; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 220, 180, 0.85); }
.pipe-cam .hud .top, .pipe-cam .hud .bot { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pipe-cam .hud .rec { color: #FF4D5A; display: inline-flex; align-items: center; gap: 6px; }
.pipe-cam .hud .rec::before { content: ""; width: 8px; height: 8px; background: #FF4D5A; border-radius: 50%; animation: rec-blink 1.4s ease-in-out infinite; }
@keyframes rec-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.pipe-cam .hud .depth-line { height: 1px; background: rgba(255, 220, 180, 0.3); flex: 1; position: relative; }
.pipe-cam .hud .depth-line::after { content: ""; position: absolute; width: 30%; height: 100%; background: rgba(255, 200, 130, 0.8); animation: depth-progress 8s ease-in-out infinite; }
@keyframes depth-progress { 0%, 100% { left: 0%; } 50% { left: 70%; } }
.pipe-cam .callout { position: absolute; top: 38%; left: 32%; z-index: 7; pointer-events: none; animation: callout-pulse 6s ease-in-out infinite; }
.pipe-cam .callout .dot { width: 12px; height: 12px; background: var(--red); border-radius: 50%; box-shadow: 0 0 0 3px rgba(200, 16, 47, 0.3), 0 0 0 6px rgba(200, 16, 47, 0.15); }
.pipe-cam .callout .label { position: absolute; top: 18px; left: 18px; background: var(--charcoal); color: var(--ivory); padding: 5px 9px; font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; border-left: 2px solid var(--red); }
@keyframes callout-pulse { 0%, 70%, 100% { opacity: 0; transform: scale(0.8); } 20%, 50% { opacity: 1; transform: scale(1); } }
.pipe-cam-cap { margin-top: 14px; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pipe-cam-cap .live { color: var(--red); display: inline-flex; align-items: center; gap: 6px; }
.pipe-cam-cap .live::before { content: "●"; animation: rec-blink 1.4s ease-in-out infinite; }

/* ===== DEPTH GAUGE (scroll-tied vertical indicator). Cleaner v2. ===== */
.depth-gauge {
  position: fixed; top: 50%; left: 20px; transform: translateY(-50%); z-index: 60;
  pointer-events: none;
  display: none;
  background: rgba(250, 247, 239, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--rule);
  padding: 18px 16px 18px 14px;
  width: 110px;
}
@media (min-width: 1180px) { .depth-gauge { display: block; } }
.depth-gauge .head {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel-soft);
  margin-bottom: 6px;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 8px;
}
.depth-gauge .num-row {
  display: flex; align-items: baseline; gap: 4px;
  margin-bottom: 16px;
}
.depth-gauge .num-row .num {
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 900; font-size: 26px;
  color: var(--red); letter-spacing: -0.02em; line-height: 1;
}
.depth-gauge .num-row .unit {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.1em;
  color: var(--steel); text-transform: uppercase;
}
.depth-gauge .of {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--steel-soft);
  margin-bottom: 14px;
}
.depth-gauge .rail-wrap {
  position: relative;
  height: 220px;
  display: flex;
  margin-left: 4px;
}
.depth-gauge .rail {
  position: relative;
  width: 2px;
  height: 100%;
  background: var(--rule);
}
.depth-gauge .fill {
  position: absolute; top: 0; left: 0; width: 100%;
  background: var(--red);
  transition: height 80ms linear;
}
.depth-gauge .ticks {
  position: relative;
  margin-left: 12px;
  flex: 1;
}
.depth-gauge .tick {
  position: absolute;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: 0.08em;
  color: var(--steel-soft);
  text-transform: uppercase;
  transform: translateY(-50%);
  white-space: nowrap;
}
.depth-gauge .tick::before {
  content: ""; position: absolute;
  left: -12px; top: 50%; transform: translateY(-50%);
  width: 6px; height: 1px;
  background: var(--steel-soft);
}
.depth-gauge .cam {
  position: absolute; left: -7px;
  width: 16px; height: 16px;
  background: var(--charcoal);
  border: 2px solid var(--red);
  border-radius: 50%;
  transition: top 80ms linear;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px rgba(200, 16, 47, 0.3);
}
.depth-gauge .cam::after {
  content: ""; width: 4px; height: 4px;
  background: var(--red);
  border-radius: 50%;
  animation: rec-blink 1.4s ease-in-out infinite;
}

/* ===== REVIEW STRIP ===== */
.review-strip { background: var(--ivory); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 26px 0; }
.review-strip .wrap { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.review-strip .score { display: flex; align-items: center; gap: 16px; border-right: 1px solid var(--rule); padding-right: 32px; }
.review-strip .score .stars { color: #FFC83A; font-size: 18px; letter-spacing: 0.05em; line-height: 1; }
.review-strip .score .number { font-family: 'Hanken Grotesk', sans-serif; font-weight: 900; font-size: 24px; color: var(--charcoal); line-height: 1; }
.review-strip .score .label { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--steel); margin-top: 3px; }
.review-strip .pulls { display: flex; gap: 24px; overflow-x: auto; }
.review-strip .pull { display: flex; gap: 12px; align-items: center; min-width: 280px; }
.review-strip .pull .avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--bone); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-family: 'JetBrains Mono', monospace; font-weight: 600; font-size: 13px; color: var(--navy); border: 1.5px solid var(--rule); }
.review-strip .pull .text { font-size: 14px; line-height: 1.4; color: var(--ink); }
.review-strip .pull .by { display: block; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); margin-top: 4px; }
.review-strip .more { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--charcoal); border-bottom: 1.5px solid var(--red); }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; font-family: 'Hanken Grotesk', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: 0.02em; border: 1.5px solid; cursor: pointer; transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease; }
.btn .arr { font-family: 'JetBrains Mono', monospace; font-weight: 500; font-size: 12px; transition: transform 180ms ease; }
.btn:hover .arr { transform: translateX(3px); }
.btn-red { background: var(--red); color: var(--paper); border-color: var(--red); }
.btn-red:hover { background: var(--charcoal); border-color: var(--charcoal); color: var(--paper); }
.btn-navy { background: var(--navy); color: var(--paper); border-color: var(--navy); }
.btn-navy:hover { background: var(--charcoal); border-color: var(--charcoal); }
.btn-outline { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn-outline:hover { background: var(--charcoal); color: var(--paper); }

/* ===== ZIP RISK LOOKUP ===== */
.zip-lookup {
  background: var(--charcoal); color: var(--ivory);
  padding: 48px 40px;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: center;
  border-left: 5px solid var(--red);
}
.zip-lookup .pitch h2 { color: var(--ivory); margin-bottom: 14px; max-width: 16ch; }
.zip-lookup .pitch p { color: rgba(244,240,230,0.78); max-width: 36ch; }
.zip-lookup .form { display: flex; flex-direction: column; gap: 18px; }
.zip-lookup label { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: #FF6B7A; }
.zip-lookup .input-row { display: flex; gap: 12px; }
.zip-lookup input[type="text"] {
  flex: 1; background: rgba(244,240,230,0.06); border: 1.5px solid rgba(244,240,230,0.18);
  padding: 14px 18px; color: var(--ivory); font-family: 'JetBrains Mono', monospace;
  font-size: 18px; letter-spacing: 0.1em; outline: none;
}
.zip-lookup input[type="text"]::placeholder { color: rgba(244,240,230,0.32); }
.zip-lookup input[type="text"]:focus { border-color: var(--red); }
.zip-lookup .lookup-btn { background: var(--red); color: var(--paper); border: 1.5px solid var(--red); padding: 14px 22px; font-weight: 700; font-size: 14px; letter-spacing: 0.04em; cursor: pointer; transition: background 180ms ease; font-family: inherit; }
.zip-lookup .lookup-btn:hover { background: #FF4D5A; }
.zip-lookup .result {
  margin-top: 8px; padding: 22px;
  background: rgba(244,240,230,0.04);
  border: 1px solid rgba(244,240,230,0.15);
  display: none;
}
.zip-lookup .result.show { display: block; }
.zip-lookup .result .badge {
  display: inline-block; padding: 6px 12px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 14px;
}
.zip-lookup .result .badge.high { background: var(--red); color: var(--paper); }
.zip-lookup .result .badge.med { background: var(--amber); color: var(--charcoal); }
.zip-lookup .result .badge.low { background: var(--green); color: var(--paper); }
.zip-lookup .result h3 { color: var(--ivory); margin-bottom: 8px; font-size: 22px; }
.zip-lookup .result p { color: rgba(244,240,230,0.84); font-size: 15px; line-height: 1.5; margin-bottom: 12px; }
.zip-lookup .result .cta-row { display: flex; gap: 10px; flex-wrap: wrap; }
.zip-lookup .result .cta-row a { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ivory); border-bottom: 1.5px solid var(--red); padding-bottom: 2px; }

/* ===== DEFECT DICTIONARY ===== */
.defect-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.defect-card {
  border: 1px solid var(--rule);
  background: var(--paper);
  transition: border-color 200ms ease, transform 200ms ease;
}
.defect-card:hover { border-color: var(--charcoal); }
.defect-card summary {
  list-style: none;
  display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center;
  padding: 20px 24px; cursor: pointer;
}
.defect-card summary::-webkit-details-marker { display: none; }
.defect-card summary .ico {
  width: 56px; height: 56px;
  background: var(--charcoal); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 13px; letter-spacing: 0.04em;
  flex-shrink: 0;
}
.defect-card[open] summary .ico { background: var(--red); }
.defect-card summary .head h3 { font-size: 19px; margin-bottom: 4px; letter-spacing: -0.01em; }
.defect-card summary .head .meta { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.08em; color: var(--steel); text-transform: uppercase; }
.defect-card summary .plus {
  font-family: 'JetBrains Mono', monospace; font-size: 22px; color: var(--red); font-weight: 400;
  transition: transform 200ms ease;
}
.defect-card[open] summary .plus { transform: rotate(45deg); }
.defect-card .body {
  padding: 0 24px 24px 24px; border-top: 1px solid var(--rule); margin-top: 4px;
}
.defect-card .body .fact-row {
  display: grid; grid-template-columns: 160px 1fr; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--rule);
}
.defect-card .body .fact-row:last-of-type { border-bottom: 0; }
.defect-card .body .fact-row .k { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); padding-top: 2px; }
.defect-card .body .fact-row .v { font-size: 15px; line-height: 1.55; color: var(--ink); }
.defect-card .body .src { display: block; margin-top: 16px; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.1em; color: var(--steel-soft); }
.defect-card .body .src a { color: var(--steel); border-bottom: 1px solid var(--rule); font-size: 10px; }

/* ===== COST CALCULATOR ===== */
.calc {
  background: var(--ivory); border: 2px solid var(--charcoal);
  padding: 40px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start;
}
.calc .form-side { display: flex; flex-direction: column; gap: 22px; }
.calc .field label { display: block; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); margin-bottom: 8px; }
.calc .field select, .calc .field input[type="number"] {
  width: 100%; background: var(--paper); border: 1.5px solid var(--rule);
  padding: 14px 16px; font-family: 'Hanken Grotesk', sans-serif; font-size: 16px; font-weight: 500;
  color: var(--charcoal); outline: none; transition: border-color 180ms ease;
}
.calc .field select:focus, .calc .field input:focus { border-color: var(--red); }
.calc .result-side { background: var(--charcoal); color: var(--ivory); padding: 32px; display: flex; flex-direction: column; gap: 16px; min-height: 100%; }
.calc .result-side .eyebrow { color: #FF6B7A; }
.calc .result-side .eyebrow::before { background: #FF6B7A; }
.calc .result-side h3 { color: var(--ivory); font-size: 22px; }
.calc .result-side .range {
  font-family: 'Hanken Grotesk', sans-serif; font-weight: 900;
  font-size: 44px; line-height: 1; color: #FF6B7A; letter-spacing: -0.02em;
}
.calc .result-side .range-label { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(244,240,230,0.6); }
.calc .result-side p { color: rgba(244,240,230,0.82); font-size: 14px; line-height: 1.5; }
.calc .result-side .src { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.1em; color: var(--steel-soft); margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(244,240,230,0.16); }
.calc .result-side .src a { color: rgba(244,240,230,0.7); border-bottom: 1px solid rgba(244,240,230,0.2); }

/* ===== WHAT YOU GET / DELIVERABLES ===== */
.deliverables { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--rule); background: var(--paper); }
.deliverables .tile { padding: 36px 28px; border-right: 1px solid var(--rule); }
.deliverables .tile:last-child { border-right: 0; }
.deliverables .tile .pic { width: 56px; height: 56px; background: var(--navy); color: var(--ivory); display: flex; align-items: center; justify-content: center; font-family: 'JetBrains Mono', monospace; font-weight: 600; font-size: 13px; letter-spacing: 0.08em; margin-bottom: 22px; }
.deliverables .tile h3 { margin-bottom: 10px; font-size: 22px; }
.deliverables .tile p { font-size: 15px; color: var(--ink); line-height: 1.5; max-width: none; }

/* ===== PROCESS PIPE RULER ===== */
.process-pipe { margin-top: 56px; padding: 48px 32px; border: 1px solid rgba(244,240,230,0.16); background: var(--navy-deep); position: relative; }
.process-pipe .ruler { height: 2px; background: rgba(244,240,230,0.18); position: relative; margin: 32px 0 48px; }
.process-pipe .ruler::before, .process-pipe .ruler::after { content: ""; position: absolute; top: -7px; width: 2px; height: 16px; background: var(--red); }
.process-pipe .ruler::before { left: 0; } .process-pipe .ruler::after { right: 0; }
.process-pipe .ruler .tick { position: absolute; top: -5px; width: 1px; height: 12px; background: rgba(244,240,230,0.3); }
.process-pipe .ruler .tick .ft { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.12em; color: rgba(244,240,230,0.5); white-space: nowrap; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.process-steps .step .num { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.18em; color: var(--red); display: block; margin-bottom: 8px; }
.process-steps .step h4 { font-size: 20px; color: var(--ivory); margin-bottom: 10px; }
.process-steps .step p { font-size: 14px; line-height: 1.5; color: rgba(244,240,230,0.78); }

/* ===== FAQ ===== */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); padding: 24px 0; }
.faq details summary {
  font-family: 'Hanken Grotesk', sans-serif; font-weight: 700; font-size: 19px;
  color: var(--charcoal); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  gap: 32px; list-style: none;
}
.faq details summary::-webkit-details-marker { display: none; }
.faq details summary::after {
  content: "+"; font-family: 'JetBrains Mono', monospace; font-size: 22px;
  font-weight: 400; color: var(--red); transition: transform 180ms ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 12px; color: var(--ink); font-size: 16px; line-height: 1.6; max-width: none; }
.faq details .src { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--steel-soft); margin-top: 12px; display: block; }
.faq details .src a { color: var(--steel); border-bottom: 1px solid var(--rule); }

/* ===== FOOTER ===== */
footer.foot { background: var(--charcoal); color: var(--ivory); padding: 80px 0 28px; }
footer.foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 56px; }
footer.foot .brand-block .brand img { height: 60px; filter: brightness(0) invert(1); opacity: 0.95; margin-bottom: 22px; }
footer.foot .brand-block p { color: rgba(244,240,230,0.7); max-width: 36ch; font-size: 15px; }
footer.foot h4 { color: var(--ivory); font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 18px; font-weight: 500; }
footer.foot a { color: rgba(244,240,230,0.82); display: block; margin-bottom: 10px; border-bottom: none; font-size: 15px; }
footer.foot a:hover { color: var(--red); }
footer.foot .legal { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(244,240,230,0.16); font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(244,240,230,0.5); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ===== STICKY BOOK CTA ===== */
.sticky-book { position: fixed; bottom: 24px; right: 24px; z-index: 80; background: var(--red); color: var(--paper); padding: 16px 24px; font-family: 'Hanken Grotesk', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: 0.04em; border: 1.5px solid var(--red); box-shadow: 0 12px 28px rgba(22, 24, 28, 0.32); transition: background 180ms ease, transform 180ms ease; }
.sticky-book:hover { background: var(--charcoal); border-color: var(--charcoal); color: var(--paper); transform: translateY(-2px); }

/* ===== MOBILE ===== */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .pipe-cam { max-width: 480px; margin: 0 auto; }
  .review-strip .wrap { grid-template-columns: 1fr; gap: 18px; }
  .review-strip .score { border-right: 0; border-bottom: 1px solid var(--rule); padding-right: 0; padding-bottom: 18px; }
  .deliverables { grid-template-columns: 1fr; }
  .deliverables .tile { border-right: 0; border-bottom: 1px solid var(--rule); }
  .deliverables .tile:last-child { border-bottom: 0; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 24px; }
  .defect-grid { grid-template-columns: 1fr; }
  .zip-lookup, .calc { grid-template-columns: 1fr; padding: 32px 28px; }
  footer.foot .wrap { grid-template-columns: 1fr 1fr; }
  .nav { gap: 8px; }
  .nav .nav-item:not(.always) { display: none; }
  .nav a.cta { padding: 10px 16px; font-size: 12px; }
  .brand img { height: 38px; }
}
@media (max-width: 640px) {
  .band { padding: 64px 0; }
  .hero { padding: 56px 0 64px; }
  .nav { gap: 6px; }
  .nav a.realtors { display: none; }
  .brand img { height: 38px; }
  footer.foot .wrap { grid-template-columns: 1fr; gap: 36px; }
  .sticky-book { left: 16px; right: 16px; bottom: 16px; text-align: center; justify-content: center; display: flex; }
  .calc .result-side .range { font-size: 32px; }
}

/* ===== OPERATOR CO-BRAND + NETWORK BADGE (added 2026-05-27) ===== */
.brand-cobrand .brand-op-img { height: 56px; width: auto; display: block; max-width: 280px; }
.top-bar .op-badge { font-weight: 600; letter-spacing: 0.18em; }
.top-bar .op-badge strong { color: var(--red); font-weight: 700; margin-right: 4px; }
@media (max-width: 880px) {
  .brand-cobrand .brand-op-img { height: 44px; max-width: 200px; }
}
@media (max-width: 640px) {
  .brand-cobrand .brand-op-img { height: 36px; max-width: 160px; }
}

/* ===== OPERATOR TEAM CARDS (added 2026-05-27) ===== */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; margin-top: 32px; }
.team-card { background: var(--paper); border: 1px solid var(--rule); padding: 24px; }
.team-card .portrait { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; margin-bottom: 18px; background: var(--bone); }
.team-card h4 { font-family: 'Hanken Grotesk', sans-serif; font-weight: 800; font-size: 22px; color: var(--charcoal); letter-spacing: -0.01em; margin-bottom: 4px; }
.team-card .role { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; display: block; }
.team-card p { color: var(--steel); font-size: 15px; line-height: 1.55; }

/* ===== GBP MAP EMBED ===== */
.gbp-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--rule); margin-top: 24px; background: var(--bone); }
.gbp-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gbp-cap { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); margin-top: 10px; }

/* ===== MOBILE/TABLET POLISH ===== */
@media (max-width: 880px) {
  .top-bar { padding: 7px 0; font-size: 10px; letter-spacing: 0.04em; }
  .top-bar .wrap { gap: 10px; }
  .top-bar .sep { display: none; }
  .nav .nav-item.always { display: inline-flex; }
  .team-grid { gap: 20px; }
  .team-card { padding: 18px; }
  .team-card h4 { font-size: 20px; }
}
@media (max-width: 640px) {
  .nav { display: none; }  /* desktop nav hidden, mobile-hamburger TBD */
  .brand-cobrand .brand-op-img { height: 32px; max-width: 140px; }
  .top-bar { font-size: 9px; }
  .top-bar .op-badge { display: none; }  /* badge hidden on phone to save space */
  .hero h1 { font-size: 36px; line-height: 1.05; }
  .hero .lede { font-size: 16px; }
  .gbp-embed { aspect-ratio: 4 / 3; }
}


/* ===== 4-up metros grid (added 2026-05-27) ===== */
.deliverables.metros-4up { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1100px) { .deliverables.metros-4up { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .deliverables.metros-4up { grid-template-columns: 1fr; } }


/* ===== TESTIMONIALS (added 2026-05-27 from live GBP) ===== */
.testimonial-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { background: var(--paper); border: 1px solid var(--rule); padding: 28px; }
.testimonial-card .stars { color: #FFC83A; letter-spacing: 4px; font-size: 16px; margin-bottom: 14px; }
.testimonial-card blockquote { font-family: 'Hanken Grotesk', sans-serif; font-size: 16px; line-height: 1.5; color: var(--charcoal); margin: 0 0 18px 0; font-weight: 500; }
.testimonial-card .who { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); }
.testimonial-card .who strong { color: var(--navy); }
@media (max-width: 880px) { .testimonial-row { grid-template-columns: 1fr; gap: 16px; } .testimonial-card { padding: 22px; } }


/* ===== HERO INSPECTION VIDEO (replaces SVG pipe-cam, added 2026-05-27) ===== */
.hero-video {
  position: relative; aspect-ratio: 4/3; width: 100%; max-width: 560px; margin: 0 auto;
  background: var(--charcoal); overflow: hidden; border: 1px solid var(--rule);
  box-shadow: 0 24px 56px rgba(22, 24, 28, 0.18);
}
.hero-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hero-video-hud {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 14px 18px; opacity: 0; transition: opacity 200ms ease; pointer-events: none;
  background: linear-gradient(to top, rgba(22, 24, 28, 0.92) 0%, rgba(22, 24, 28, 0) 100%);
  color: var(--paper); display: flex; justify-content: space-between; align-items: center;
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  z-index: 2; pointer-events: none;
}
.hero-video-hud .rec { color: var(--red); font-weight: 700; }
.pipe-cam-cap { margin-top: 12px; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.pipe-cam-cap .live { color: var(--red); font-weight: 600; }

/* ===== ABOUT / TRAINING VIDEO FEATURE ===== */
.video-feature { position: relative; aspect-ratio: 16/9; width: 100%; max-width: 960px; margin: 0 auto; background: var(--charcoal); border: 1px solid var(--rule); box-shadow: 0 24px 56px rgba(22, 24, 28, 0.18); }
.video-feature iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 880px) {
  .hero-video { max-width: 100%; }
  .video-feature { box-shadow: 0 12px 28px rgba(22, 24, 28, 0.14); }
}

.hero-video:hover .hero-video-hud { opacity: 1; }


/* ===== HERO VIDEO POSTER (click-to-watch, Error 153 robust) ===== */
a.hero-video {
  display: block; position: relative; aspect-ratio: 4/3; width: 100%; max-width: 560px; margin: 0 auto;
  background: var(--charcoal); overflow: hidden; border: 1px solid var(--rule);
  box-shadow: 0 24px 56px rgba(22, 24, 28, 0.18);
  text-decoration: none; cursor: pointer;
}
.hero-video-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-video-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 96px; height: 96px;
  z-index: 3; pointer-events: none; transition: transform 200ms ease;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.4));
}
a.hero-video:hover .hero-video-play { transform: translate(-50%, -50%) scale(1.08); }
a.hero-video:hover .hero-video-hud { opacity: 1; }

/* ===== ABOUT VIDEO POSTER ===== */
a.video-feature {
  display: block; position: relative; aspect-ratio: 16/9; width: 100%; max-width: 960px; margin: 0 auto;
  background: var(--charcoal); border: 1px solid var(--rule); box-shadow: 0 24px 56px rgba(22, 24, 28, 0.18);
  text-decoration: none; cursor: pointer; overflow: hidden;
}
.video-feature-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.video-feature-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 120px; height: 120px;
  z-index: 3; pointer-events: none; transition: transform 200ms ease;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.4));
}
a.video-feature:hover .video-feature-play { transform: translate(-50%, -50%) scale(1.08); }
@media (max-width: 640px) {
  .hero-video-play { width: 72px; height: 72px; }
  .video-feature-play { width: 88px; height: 88px; }
}


/* ===== SELF-HOSTED HERO VIDEO (autoplay-loop MP4, replaces YouTube embed) ===== */
.hero-video { display: block; position: relative; aspect-ratio: 4/3; width: 100%; max-width: 560px; margin: 0 auto; background: var(--charcoal); overflow: hidden; border: 1px solid var(--rule); box-shadow: 0 24px 56px rgba(22, 24, 28, 0.18); }
.hero-video-mp4 { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* ===== SELF-HOSTED ABOUT VIDEO (click-to-play with audio) ===== */
.video-feature-mp4 { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; background: var(--charcoal); }

/* ===== NARROW + WIDE TWO-COLUMN HELPER (collapses on mobile) ===== */
.split-narrow-wide { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.split-narrow-wide.gap-48 { gap: 48px; }
@media (max-width: 880px) {
  .split-narrow-wide { grid-template-columns: 1fr; gap: 24px; }
  .split-narrow-wide.gap-48 { gap: 24px; }
}

/* ===== MOBILE HAMBURGER + DRAWER ===== */
.mobile-menu-btn { display: none; background: none; border: 0; padding: 8px 10px; cursor: pointer; margin-left: auto; }
.mobile-menu-btn span { display: block; width: 26px; height: 2px; background: var(--charcoal); margin: 6px 0; transition: transform 200ms ease, opacity 200ms ease; }
body.menu-open .mobile-menu-btn span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.menu-open .mobile-menu-btn span:nth-child(2) { opacity: 0; }
body.menu-open .mobile-menu-btn span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mobile-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 86vw); background: var(--paper); z-index: 200; transform: translateX(100%); transition: transform 260ms ease; box-shadow: -20px 0 48px rgba(22,24,28,0.18); overflow-y: auto; padding: 80px 28px 40px; display: none; }
body.menu-open .mobile-drawer { transform: translateX(0); }
.mobile-drawer-scrim { position: fixed; inset: 0; background: rgba(22,24,28,0.5); z-index: 199; opacity: 0; pointer-events: none; transition: opacity 240ms ease; display: none; }
body.menu-open .mobile-drawer-scrim { opacity: 1; pointer-events: auto; }
.mobile-drawer h5 { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); margin: 24px 0 10px; }
.mobile-drawer a { display: block; padding: 14px 0; font-family: 'Hanken Grotesk', sans-serif; font-size: 17px; font-weight: 600; color: var(--charcoal); text-decoration: none; border-bottom: 1px solid var(--rule); }
.mobile-drawer a small { display: block; font-size: 12px; color: var(--steel); font-weight: 400; margin-top: 2px; letter-spacing: 0; }
.mobile-drawer a.cta { background: var(--red); color: var(--paper); padding: 16px 20px; text-align: center; border: 0; margin-top: 20px; letter-spacing: 0.04em; }
.mobile-drawer-close { position: absolute; top: 18px; right: 18px; background: none; border: 0; font-size: 28px; color: var(--charcoal); cursor: pointer; line-height: 1; }
@media (max-width: 880px) {
  .mobile-menu-btn { display: block; }
  .mobile-drawer, .mobile-drawer-scrim { display: block; }
  .nav { display: none !important; }
  body.menu-open { overflow: hidden; }
}

/* ===== SELF-HOSTED ABOUT VIDEO (click-to-play with audio) ===== */
.video-feature { display: block; position: relative; aspect-ratio: 16/9; width: 100%; max-width: 960px; margin: 0 auto; background: var(--charcoal); border: 1px solid var(--rule); box-shadow: 0 24px 56px rgba(22, 24, 28, 0.18); overflow: hidden; }
.video-feature-mp4 { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; background: var(--charcoal); }

/* ===== SELF-HOSTED ABOUT VIDEO (click-to-play with audio) ===== */
.video-feature-mp4 {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  background: var(--charcoal);
}

/* ===== NARROW + WIDE TWO-COLUMN HELPER (collapses on mobile) ===== */
.split-narrow-wide { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.split-narrow-wide.gap-48 { gap: 48px; }
.split-narrow-wide.center { align-items: center; }
@media (max-width: 880px) {
  .split-narrow-wide { grid-template-columns: 1fr; gap: 24px; }
  .split-narrow-wide.gap-48 { gap: 24px; }
}

/* ===== MOBILE HAMBURGER + DRAWER (added 2026-05-27) ===== */
.mobile-menu-btn {
  display: none; background: none; border: 0; padding: 8px 10px; cursor: pointer;
  margin-left: auto;
}
.mobile-menu-btn span {
  display: block; width: 26px; height: 2px; background: var(--charcoal);
  margin: 6px 0; transition: transform 200ms ease, opacity 200ms ease;
}
body.menu-open .mobile-menu-btn span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.menu-open .mobile-menu-btn span:nth-child(2) { opacity: 0; }
body.menu-open .mobile-menu-btn span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 86vw);
  background: var(--paper); z-index: 200; transform: translateX(100%);
  transition: transform 260ms ease; box-shadow: -20px 0 48px rgba(22,24,28,0.18);
  overflow-y: auto; padding: 80px 28px 40px; display: none;
}
body.menu-open .mobile-drawer { transform: translateX(0); }
.mobile-drawer-scrim {
  position: fixed; inset: 0; background: rgba(22,24,28,0.5); z-index: 199;
  opacity: 0; pointer-events: none; transition: opacity 240ms ease; display: none;
}
body.menu-open .mobile-drawer-scrim { opacity: 1; pointer-events: auto; }
.mobile-drawer h5 {
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--red); margin: 24px 0 10px;
}
.mobile-drawer a {
  display: block; padding: 14px 0; font-family: 'Hanken Grotesk', sans-serif;
  font-size: 17px; font-weight: 600; color: var(--charcoal); text-decoration: none;
  border-bottom: 1px solid var(--rule);
}
.mobile-drawer a small {
  display: block; font-size: 12px; color: var(--steel); font-weight: 400;
  margin-top: 2px; letter-spacing: 0;
}
.mobile-drawer a.cta {
  background: var(--red); color: var(--paper); padding: 16px 20px;
  text-align: center; border: 0; margin-top: 20px; letter-spacing: 0.04em;
}
.mobile-drawer-close {
  position: absolute; top: 18px; right: 18px; background: none; border: 0;
  font-size: 28px; color: var(--charcoal); cursor: pointer; line-height: 1;
}

@media (max-width: 880px) {
  .mobile-menu-btn { display: block; }
  .mobile-drawer, .mobile-drawer-scrim { display: block; }
  .nav { display: none !important; }
  body.menu-open { overflow: hidden; }
}
/* TEST_PROBE_LINE */
 ABOUT VIDEO (click-to-play with audio) ===== */
.video-feature-mp4 { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; background: var(--charcoal); }

/* ===== NARROW + WIDE TWO-COLUMN HELPER (collapses on mobile) ===== */
.split-narrow-wide { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.split-narrow-wide.gap-48 { gap: 48px; }
@media (max-width: 880px) {
  .split-narrow-wide { grid-template-columns: 1fr; gap: 24px; }
  .split-narrow-wide.gap-48 { gap: 24px; }
}

/* ===== MOBILE HAMBURGER + DRAWER ===== */
.mobile-menu-btn { display: none; background: none; border: 0; padding: 8px 10px; cursor: pointer; margin-left: auto; }
.mobile-menu-btn span { display: block; width: 26px; height: 2px; background: var(--charcoal); margin: 6px 0; transition: transform 200ms ease, opacity 200ms ease; }
body.menu-open .mobile-menu-btn span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.menu-open .mobile-menu-btn span:nth-child(2) { opacity: 0; }
body.menu-open .mobile-menu-btn span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mobile-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 86vw); background: var(--paper); z-index: 200; transform: translateX(100%); transition: transform 260ms ease; box-shadow: -20px 0 48px rgba(22,24,28,0.18); overflow-y: auto; padding: 80px 28px 40px; display: none; }
body.menu-open .mobile-drawer { transform: translateX(0); }
.mobile-drawer-scrim { position: fixed; inset: 0; background: rgba(22,24,28,0.5); z-index: 199; opacity: 0; pointer-events: none; transition: opacity 240ms ease; display: none; }
body.menu-open .mobile-drawer-scrim { opacity: 1; pointer-events: auto; }
.mobile-drawer h5 { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); margin: 24px 0 10px; }
.mobile-drawer a { display: block; padding: 14px 0; font-family: 'Hanken Grotesk', sans-serif; font-size: 17px; font-weight: 600; color: var(--charcoal); text-decoration: none; border-bottom: 1px solid var(--rule); }
.mobile-drawer a small { display: block; font-size: 12px; color: var(--steel); font-weight: 400; margin-top: 2px; letter-spacing: 0; }
.mobile-drawer a.cta { background: var(--red); color: var(--paper); padding: 16px 20px; text-align: center; border: 0; margin-top: 20px; letter-spacing: 0.04em; }
.mobile-drawer-close { position: absolute; top: 18px; right: 18px; background: none; border: 0; font-size: 28px; color: var(--charcoal); cursor: pointer; line-height: 1; }
@media (max-width: 880px) {
  .mobile-menu-btn { display: block; }
  .mobile-drawer, .mobile-drawer-scrim { display: block; }
  .nav { display: none !important; }
  body.menu-open { overflow: hidden; }
}

/* Left-align the about-video to match the heading instead of centering */
.about-video .video-feature, section#about-video .video-feature { margin-left: 0; margin-right: auto; }


/* ===== PHOTO STRIP (added 2026-05-27) ===== */
.photo-strip-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.photo-strip-3 figure {
  margin: 0;
}
.photo-strip-3 img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--rule);
  display: block;
}
@media (max-width: 880px) {
  .photo-strip-3 { grid-template-columns: 1fr 1fr; gap: 12px; }
  /* 3rd photo spans full width on tablet so we don't get an orphan */
  .photo-strip-3 figure:nth-child(3) { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .photo-strip-3 { grid-template-columns: 1fr; gap: 12px; }
  .photo-strip-3 figure:nth-child(3) { grid-column: auto; }
}

/* ===== INLINE FIGURE (added 2026-05-27) ===== */
.inline-figure {
  margin: 48px auto;
  max-width: 880px;
}
.inline-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--rule);
  display: block;
}
.inline-figure figcaption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--steel);
  font-style: italic;
  line-height: 1.5;
}
@media (max-width: 640px) {
  .inline-figure { margin: 32px auto; }
  .inline-figure img { aspect-ratio: 3 / 2; }
  .inline-figure figcaption { font-size: 12px; }
}

/* ===== EXTRA MOBILE POLISH (added 2026-05-27) ===== */
@media (max-width: 640px) {
  /* Tighten contact page Vonigo widget border on phones */
  .ssu-book-widget form { gap: 8px; }
  .ssu-book-widget input[type="text"] { font-size: 16px; padding: 12px 14px; }
  .ssu-book-widget input[type="submit"] { padding: 12px 22px; font-size: 13px; width: 100%; }
  /* Real-work eyebrow + h2 readable on phones */
  .band .wrap > h2 { font-size: 28px; line-height: 1.1; }
  .band .wrap > .eyebrow { font-size: 10px; }
  /* Section padding tighter */
  .band.ivory { padding-left: 16px; padding-right: 16px; }
  /* Tables wrap, never overflow */
  table { display: block; overflow-x: auto; }
  /* Code/pre wrap */
  pre, code { word-break: break-word; white-space: pre-wrap; }
  /* Lists keep room */
  ul, ol { padding-left: 22px; }
  /* Sticky-book sized for thumb */
  .sticky-book a { padding: 14px 18px; }
}
