/* =========================================================
   Rogue Radon Mitigation Systems — site styles
   Brand: deep forest green + sage, from the mountain emblem
   ========================================================= */

:root {
  /* Brand palette */
  --green-950: #121d1a;
  --green-900: #1d2e2a;   /* primary — logo wordmark */
  --green-800: #263d37;
  --green-700: #2f4b44;
  --sage-600: #4a7569;    /* accessible sage text on white (≈5:1) */
  --sage-500: #5f8b7e;    /* emblem mountain */
  --sage-300: #a6c3ba;
  --sage-200: #cfe0da;
  --sage-100: #e7f0ec;
  --mist: #f3f7f5;
  --amber: #e9a23b;       /* small warm highlight (sunset) */

  /* Semantic tokens */
  --color-bg: #ffffff;
  --color-surface: #ffffff;
  --color-surface-alt: var(--mist);
  --color-text: #17221f;
  --color-text-muted: #4a5955;
  --color-primary: var(--green-900);
  --color-primary-hover: var(--green-700);
  --color-on-primary: #ffffff;
  --color-accent: var(--sage-600);
  --color-border: #dfe7e3;
  --color-error: #b42318;
  --color-success: #2f7a55;
  --focus-ring: 0 0 0 3px #ffffff, 0 0 0 5px var(--sage-500);

  /* Type */
  --font-head: "Lexend", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;

  /* Spacing (8pt) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;

  /* Shape & depth */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(18, 29, 26, .06), 0 2px 8px rgba(18, 29, 26, .05);
  --shadow-md: 0 6px 24px rgba(18, 29, 26, .10);
  --shadow-lg: 0 24px 60px rgba(18, 29, 26, .18);

  /* Motion */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --t-fast: 160ms;
  --t-med: 260ms;

  --container: 1200px;
  --header-h: 84px;

  color-scheme: light;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font: 400 1.0625rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
html { overflow-x: clip; }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; touch-action: manipulation; }
h1, h2, h3 { font-family: var(--font-head); color: var(--green-900); line-height: 1.12; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: 8px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .container { padding-inline: 32px; } }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--green-900); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 600; transition: top var(--t-fast); }
.skip-link:focus { top: 12px; }

/* ---------- Icons ---------- */
.icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-lg { width: 22px; height: 22px; }
.icon-xl { width: 28px; height: 28px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 20px;
  border: 1.5px solid transparent; border-radius: 12px;
  font-family: var(--font-head); font-weight: 500; font-size: .95rem; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.btn:active { transform: scale(.98); }
.btn .icon { transition: transform var(--t-med) var(--ease-out); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-note { font-weight: 400; opacity: .78; font-size: .88em; }

.btn-primary { background: var(--color-primary); color: var(--color-on-primary); box-shadow: 0 6px 16px rgba(29, 46, 42, .22); }
.btn-primary:hover { background: var(--color-primary-hover); }
.btn-outline { background: #fff; color: var(--green-900); border-color: var(--green-900); }
.btn-outline:hover { background: var(--sage-100); }
.btn-light { background: #fff; color: var(--green-900); }
.btn-light:hover { background: var(--sage-100); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }

.play-dot { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid currentColor; }
.play-dot .icon { width: 14px; height: 14px; }
.btn:hover .play-dot .icon { transform: translateY(2px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: .8rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--sage-600);
  margin-bottom: var(--s4);
}
.eyebrow .icon { width: 15px; height: 15px; }
.lead { font-size: 1.125rem; color: var(--color-text-muted); max-width: 58ch; }
.accent-text { color: var(--sage-600); }

@media (max-width: 560px) { .btn { white-space: normal; text-align: center; max-width: 100%; } .why-copy .btn { width: 100%; } }

/* ---------- Header / Nav (floating bar, as in reference) ---------- */
.site-header { position: sticky; top: 0; z-index: 100; padding-top: 14px; }
.nav {
  position: relative;
  display: flex; align-items: center; gap: var(--s5);
  height: 68px;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  padding-inline: 18px !important;
  max-width: calc(var(--container) - 40px);
  transition: box-shadow var(--t-med);
}
@media (min-width: 768px) { .nav { max-width: calc(var(--container) - 64px); } }
.site-header.is-scrolled .nav { box-shadow: var(--shadow-md); }
@media (max-width: 767px) { .site-header { padding-inline: 12px; } }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand-mark, .brand-word { display: block; background: var(--green-900); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-position: center; mask-position: center; }
.brand-mark { width: 42px; height: 41px; -webkit-mask-image: url(../img/symbol-white.png); mask-image: url(../img/symbol-white.png); }
.brand-word { width: 160px; height: 46px; -webkit-mask-image: url(../img/wordmark-white.png); mask-image: url(../img/wordmark-white.png); }

.nav-links { display: none; }
.nav-cta { display: none; margin-left: auto; }
.nav-toggle {
  margin-left: auto; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--color-border); background: #fff; color: var(--green-900);
}

@media (min-width: 1080px) {
  .nav-links { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
  .nav-links a {
    display: block; padding: 10px 14px; border-radius: 10px;
    font-family: var(--font-head); font-size: .92rem; font-weight: 400; color: var(--green-900); text-decoration: none;
    transition: background-color var(--t-fast), color var(--t-fast);
  }
  .nav-links a:hover { background: var(--sage-100); }
  .nav-links a.is-current { font-weight: 600; background: var(--sage-100); }
  .nav-links-cta { display: none; }
  .nav-cta { display: inline-flex; margin-left: 0; }
  .nav-toggle { display: none; }
}

/* Mobile menu panel */
@media (max-width: 1079px) {
  .nav-links.is-open {
    display: flex; flex-direction: column; gap: 2px;
    position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    background: #fff; border: 1px solid var(--color-border); border-radius: 18px;
    box-shadow: var(--shadow-lg); padding: 10px;
    animation: menuIn var(--t-med) var(--ease-out);
  }
  .nav-links.is-open a { display: block; padding: 14px 16px; border-radius: 12px; text-decoration: none; font-family: var(--font-head); font-size: 1.05rem; color: var(--green-900); }
  .nav-links.is-open a:hover { background: var(--sage-100); }
  .nav-links-cta { padding: 8px 6px 4px; }
  .nav-links-cta .btn { width: 100%; min-height: 52px; }
}
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Hero (full-bleed video) ---------- */
.hero { position: relative; background: var(--green-950); }
.hero-media { position: relative; overflow: hidden; background: var(--green-950); }
.hero-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--green-950); }
.hero-scrim { display: none; }
.hero-inner { position: relative; z-index: 2; background: #fff; padding-top: var(--s6); padding-bottom: var(--s5); }
.hero-copy { max-width: 820px; }
.hero h1 { font-size: clamp(2.2rem, 4.4vw, 4rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.04; }
.hero-tagline { margin-top: var(--s5); font-family: var(--font-head); font-weight: 600; font-size: clamp(1.1rem, 1.7vw, 1.35rem); color: var(--green-900); }
.hero-sub { margin-top: var(--s2); max-width: 46ch; color: var(--color-text-muted); font-size: 1.125rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
@media (max-width: 480px) { .hero-actions .btn { width: 100%; } }
.hero-checks { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin-top: var(--s5); }
.hero-checks li { display: inline-flex; align-items: center; gap: 8px; font-size: .95rem; font-weight: 500; color: var(--green-900); }
.hero-checks .icon { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--green-900); color: #fff; stroke-width: 3; }

/* Video buttons */
.video-watch {
  position: absolute; right: 12px; bottom: 12px; z-index: 3;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 6px 16px 6px 6px; border: 0; border-radius: 999px;
  background: rgba(255, 255, 255, .95); color: var(--green-900); box-shadow: var(--shadow-md);
  font-family: var(--font-head); font-weight: 500; font-size: .9rem;
  transition: background-color var(--t-fast), transform var(--t-fast);
}
.video-watch:hover { background: #fff; transform: scale(1.03); }
.video-watch:active { transform: scale(.98); }
.video-watch-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--green-900); color: #fff; }
.video-watch-icon .icon { width: 14px; height: 14px; margin-left: 2px; }
.video-watch-time { font-weight: 400; color: var(--color-text-muted); font-variant-numeric: tabular-nums; }
.video-exit {
  position: absolute; right: 12px; top: 12px; z-index: 4;
  display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .95); color: var(--green-900); box-shadow: var(--shadow-md);
}
.video-exit:hover { background: #fff; }
.hero.is-watching .hero-video { object-fit: contain; }
.hero.is-watching .hero-scrim, .hero.is-watching .video-watch { display: none; }

/* Desktop: video fills the hero behind the copy, nav floats over it */
@media (min-width: 960px) {
  .hero { margin-top: calc(-1 * (68px + 14px)); min-height: clamp(620px, 86vh, 800px); display: flex; align-items: center; }
  .hero-media { position: absolute; inset: 0; }
  .hero-video { height: 100%; aspect-ratio: auto; }
  .hero-scrim {
    display: block; position: absolute; inset: 0; pointer-events: none;
    background:
      linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.93) 34%, rgba(255,255,255,.6) 52%, rgba(255,255,255,0) 70%),
      linear-gradient(0deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 22%);
  }
  .hero-inner { background: transparent; padding-top: calc(68px + 14px + var(--s7)); padding-bottom: calc(var(--s8) + 40px); }
  .video-watch { right: 32px; bottom: 96px; }
  .video-exit { top: 100px; right: 28px; }
  .hero.is-watching .hero-inner { visibility: hidden; opacity: 0; }
  .hero.is-watching { background: #0b0f0e; }
}


/* Quick-book bar (overlaps hero bottom on desktop) */
.quick-book-wrap { position: relative; z-index: 5; margin-top: var(--s2); }
.quick-book {
  display: grid; gap: var(--s3);
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--r-lg);
  padding: var(--s5); box-shadow: var(--shadow-md);
}
.quick-book-title { font-size: 1.35rem; font-weight: 600; line-height: 1.15; }
.quick-book-title br { display: none; }
.quick-book-fields { display: grid; gap: var(--s3); }
.quick-book .btn { width: 100%; }
@media (min-width: 720px) { .quick-book-fields { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) {
  .quick-book-wrap { margin-top: -60px; }
  .quick-book { grid-template-columns: auto 1fr auto; align-items: center; gap: var(--s5); padding: var(--s4) var(--s4) var(--s4) var(--s6); box-shadow: var(--shadow-lg); }
  .quick-book-title br { display: inline; }
  .quick-book .btn { width: auto; }
  .hero.is-watching + .quick-book-wrap { margin-top: var(--s5); }
}

/* Selects (shared) */
.select-wrap { position: relative; }
.select-wrap select {
  width: 100%; min-height: 52px; padding: 0 44px 0 16px;
  appearance: none; -webkit-appearance: none;
  background: var(--mist); border: 1px solid var(--color-border); border-radius: 12px;
  font-size: 1rem; color: var(--color-text); cursor: pointer;
  transition: border-color var(--t-fast), background-color var(--t-fast);
}
.select-wrap select:hover { border-color: var(--sage-300); }
.select-wrap select:focus-visible { box-shadow: var(--focus-ring); border-color: var(--sage-500); }
.select-wrap .icon { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--green-900); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tint { background: var(--color-surface-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); }
.section-head p { margin-top: var(--s4); color: var(--color-text-muted); font-size: 1.125rem; }

.section-dark, .cta-band { background-color: var(--green-900); color: #e8f0ed; }
.section-dark h2, .section-dark h3, .cta-band h2 { color: #fff; }
.section-dark .section-head p { color: #c4d6cf; }
.topo { background-image: url(../img/topo.svg); background-size: cover; background-position: center; }

/* Service cards */
.card-grid { display: grid; gap: var(--s5); }
@media (min-width: 720px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  display: flex; flex-direction: column;
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t-med), transform var(--t-med) var(--ease-out), border-color var(--t-med);
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--sage-200); }
.service-card-media { aspect-ratio: 16 / 11; overflow: hidden; background: var(--sage-100); }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.service-card:hover .service-card-media img { transform: scale(1.04); }
.service-card-body { display: flex; flex-direction: column; gap: var(--s3); padding: var(--s5); flex: 1; }
.service-card-body p { color: var(--color-text-muted); }
.card-link {
  margin-top: auto; padding: 8px 0 0; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 12px;
  background: none; border: 0; text-decoration: none;
  font-family: var(--font-head); font-weight: 500; font-size: .95rem; color: var(--green-900);
}
.card-link-dot { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--green-900); color: #fff; transition: transform var(--t-med) var(--ease-out), background-color var(--t-fast); }
.card-link:hover .card-link-dot { transform: translateX(4px); background: var(--green-700); }

/* Steps */
.steps { display: grid; gap: var(--s6) var(--s5); counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--s3); }
.step-num {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: #fff; color: var(--green-900); font-family: var(--font-head); font-weight: 700; font-size: .95rem;
}
.step-icon {
  display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%;
  background: rgba(255, 255, 255, .06); border: 1.5px solid rgba(166, 195, 186, .5); color: #fff;
  margin-bottom: var(--s2);
}
.step h3 { font-size: 1.3rem; }
.step p { color: #c4d6cf; max-width: 30ch; }
@media (min-width: 1024px) {
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 96px; left: calc(50% + 64px); right: calc(-50% + 64px);
    height: 0; border-top: 1.5px dashed rgba(166, 195, 186, .55);
  }
}

/* About split */
.split { display: grid; gap: var(--s7); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1.1fr; gap: var(--s8); } }
.split-copy h2 { margin-bottom: var(--s5); }
.checklist { display: grid; gap: var(--s3); margin-top: var(--s6); }
.checklist li { display: flex; align-items: flex-start; gap: 12px; font-size: 1.05rem; font-weight: 500; }
.checklist .icon { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--green-900); color: #fff; stroke-width: 3; margin-top: 1px; }
.split-media { position: relative; }
.rounded-img { width: 100%; border-radius: var(--r-xl); box-shadow: var(--shadow-md); object-fit: cover; }
.split-media .rounded-img { aspect-ratio: 4 / 3.4; }
.float-badge {
  position: absolute; left: 16px; bottom: 16px;
  display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 16px; padding: 12px 18px 12px 12px; box-shadow: var(--shadow-lg);
  font-size: .92rem; line-height: 1.35; color: var(--color-text-muted);
}
.float-badge strong { font-family: var(--font-head); color: var(--green-900); font-weight: 600; }
.float-badge-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--sage-100); color: var(--green-900); }
@media (min-width: 960px) { .float-badge { left: -24px; bottom: 32px; } }

/* Monitoring */
.monitor-grid { display: grid; gap: var(--s7); align-items: center; }
@media (min-width: 1024px) { .monitor-grid { grid-template-columns: 1.05fr auto 1fr; gap: var(--s7); } }
.monitor-copy h2 { margin-bottom: var(--s5); }
.monitor-copy .btn { margin-top: var(--s6); white-space: normal; text-align: left; }
.phone-wrap { display: flex; justify-content: center; position: relative; }
.phone-wrap::before { content: ""; position: absolute; inset: 10% 0; background: radial-gradient(closest-side, var(--sage-200), transparent); z-index: 0; }
.phone {
  position: relative; z-index: 1;
  width: 268px; padding: 12px; border-radius: 44px;
  background: #141b19; box-shadow: var(--shadow-lg), inset 0 0 0 2px #2c3633;
}
.phone-notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 84px; height: 24px; border-radius: 14px; background: #141b19; z-index: 2; }
.phone-screen { background: #fff; border-radius: 34px; padding: 52px 18px 22px; display: flex; flex-direction: column; gap: 14px; font-family: var(--font-head); }
.app-top { display: flex; justify-content: space-between; align-items: center; font-size: .9rem; color: var(--green-900); font-weight: 600; }
.app-live { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 500; color: var(--color-success); background: #e8f4ed; padding: 3px 9px; border-radius: 999px; }
.app-live i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.gauge { position: relative; width: 168px; height: 168px; margin: 0 auto; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge-track { fill: none; stroke: var(--sage-100); stroke-width: 10; }
.gauge-fill { fill: none; stroke: #43a36b; stroke-width: 10; stroke-linecap: round; stroke-dasharray: 314.16; stroke-dashoffset: 314.16; transition: stroke-dashoffset 1.2s var(--ease-out); }
.gauge-read { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1.1; }
.gauge-read strong { font-size: 2.6rem; font-weight: 700; color: var(--green-900); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.gauge-read span { font-size: .78rem; color: var(--color-text-muted); }
.gauge-read em { font-style: normal; font-size: .75rem; font-weight: 600; color: var(--color-success); margin-top: 6px; }
.app-tabs { display: flex; justify-content: space-between; background: var(--mist); border-radius: 10px; padding: 3px; }
.app-tabs button { flex: 1; min-height: 30px; border: 0; border-radius: 8px; background: transparent; font-size: .75rem; font-weight: 500; color: var(--color-text-muted); }
.app-tabs button.is-active { background: #fff; color: var(--green-900); box-shadow: var(--shadow-sm); }
.app-chart { width: 100%; height: 90px; overflow: visible; }
.chart-limit { stroke: #c9776a; stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.chart-limit-label { font-size: 7px; fill: #a5584c; font-family: var(--font-head); }
.chart-line { fill: none; stroke: #43a36b; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; transition: d var(--t-med); }
.chart-area { fill: rgba(67, 163, 107, .12); transition: d var(--t-med); }
.app-foot { font-size: .72rem; color: var(--color-text-muted); text-align: center; }

.feature-list { display: grid; gap: var(--s5); }
.feature-list li { display: flex; gap: var(--s4); align-items: flex-start; }
.feature-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--green-900); color: #fff; flex: none; }
.feature-list h3 { font-size: 1.1rem; margin-bottom: 4px; }
.feature-list p { color: var(--color-text-muted); }

/* Why radon */
.why { position: relative; overflow: hidden; padding-bottom: 0; }
.why-media { position: relative; margin-top: var(--s6); order: 2; }
.why-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.why .container { position: relative; z-index: 1; }
.why-copy h2 { margin-bottom: var(--s5); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--s3); margin: var(--s6) 0; max-width: 560px; }
.facts div { background: var(--mist); border: 1px solid var(--color-border); border-radius: var(--r-md); padding: var(--s4); }
.facts dt { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 1.8rem); color: var(--green-900); letter-spacing: -0.02em; line-height: 1.1; }
.facts dd { margin: 6px 0 0; font-size: .9rem; color: var(--color-text-muted); line-height: 1.4; }
@media (max-width: 959px) {
  .why { display: flex; flex-direction: column; }
}
@media (min-width: 960px) {
  .why { padding-bottom: clamp(64px, 9vw, 112px); min-height: 620px; display: flex; align-items: center; }
  .why-media { position: absolute; inset: 0 0 0 38%; margin: 0; }
  .why-media img {
    height: 100%; aspect-ratio: auto;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.5) 22%, #000 48%), linear-gradient(0deg, transparent 0%, #000 22%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.5) 22%, #000 48%), linear-gradient(0deg, transparent 0%, #000 22%);
    mask-composite: intersect;
  }
  .why-copy { max-width: 520px; }
}

/* FAQ */
.faq-grid { display: grid; gap: var(--s7); align-items: start; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: 1fr 1fr; gap: var(--s8); align-items: center; } }
.faq-list h2 { margin-bottom: var(--s5); }
.faq { border: 1px solid var(--color-border); border-radius: var(--r-md); background: #fff; margin-bottom: var(--s3); transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.faq[open] { border-color: var(--sage-300); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s4);
  min-height: 60px; padding: 14px 20px; cursor: pointer; list-style: none;
  font-family: var(--font-head); font-weight: 500; font-size: 1.02rem; color: var(--green-900);
  border-radius: var(--r-md);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--mist); }
.faq summary .icon { transition: transform var(--t-med) var(--ease-out); }
.faq[open] summary .icon { transform: rotate(180deg); }
.faq-body { padding: 0 20px 18px; color: var(--color-text-muted); }

.faq-media { position: relative; }
.faq-media .rounded-img { aspect-ratio: 4 / 3.3; object-position: 30% center; }
.help-card {
  position: relative; margin: -56px 16px 0 auto; max-width: 260px;
  background: #fff; border-radius: var(--r-lg); padding: var(--s5); box-shadow: var(--shadow-lg);
}
.help-card-kicker { font-size: .9rem; color: var(--color-text-muted); }
.help-card-title { font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; color: var(--green-900); margin: 2px 0 var(--s4); }
@media (min-width: 960px) { .help-card { position: absolute; right: -20px; bottom: 28px; margin: 0; } }

/* CTA band */
.cta-band { padding: clamp(64px, 8vw, 96px) 0; text-align: center; }
.cta-band h2 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); }
.cta-band p { margin: var(--s4) auto 0; max-width: 52ch; color: #c4d6cf; font-size: 1.15rem; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s3); margin-top: var(--s6); }
@media (max-width: 480px) { .cta-actions .btn { width: 100%; } }

/* Footer */
.site-footer { background: var(--green-950); color: #b9cbc4; padding: var(--s8) 0 var(--s5); }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s5); padding-bottom: var(--s6); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand { display: flex; align-items: center; gap: 12px; }

.footer-brand img { width: 190px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.footer-links a, .footer-legal a { display: inline-block; padding: 8px 10px; border-radius: 8px; text-decoration: none; font-family: var(--font-head); font-size: .92rem; color: #dfe9e5; transition: color var(--t-fast), background-color var(--t-fast); }
.footer-links a:hover, .footer-legal a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: #fff; background: rgba(255, 255, 255, .06); transition: background-color var(--t-fast); }
.socials a:hover { background: rgba(255, 255, 255, .14); }
.footer-contact { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s6); padding: var(--s5) 20px; }
.footer-contact a, .footer-contact span { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #dfe9e5; min-height: 44px; }
.footer-contact a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-contact .icon { color: var(--sage-300); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s3); padding-top: var(--s4); border-top: 1px solid rgba(255, 255, 255, .1); font-size: .9rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 4px; }
.footer-legal a { white-space: nowrap; }
.site-footer :focus-visible { box-shadow: 0 0 0 3px var(--sage-300); }

/* ---------- Booking dialog ---------- */
.booking {
  width: min(640px, calc(100% - 24px)); max-height: calc(100dvh - 24px);
  padding: 0; border: 0; border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
  color: var(--color-text);
}
.booking::backdrop { background: rgba(18, 29, 26, .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.booking[open] { animation: dialogIn 280ms var(--ease-out); }
@keyframes dialogIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.booking-inner { position: relative; padding: clamp(24px, 5vw, 40px); }
.booking-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--mist); color: var(--green-900); }
.booking-close:hover { background: var(--sage-100); }
.booking h2 { font-size: clamp(1.6rem, 3vw, 2rem); padding-right: 48px; }
.booking .eyebrow { margin-bottom: var(--s2); padding-right: 52px; }
.booking-sub { margin: var(--s2) 0 var(--s5); color: var(--color-text-muted); }

.form-row { display: grid; gap: 0 var(--s4); }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: var(--s4); }
.field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .95rem; color: var(--green-900); }
.req { color: var(--color-error); }
.optional { font-weight: 400; color: var(--color-text-muted); }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: #fff; border: 1.5px solid #cdd8d4; border-radius: 12px; font-size: 1rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { resize: vertical; min-height: 92px; }
.field input:hover, .field textarea:hover { border-color: var(--sage-300); }
.field input:focus-visible, .field textarea:focus-visible { border-color: var(--sage-500); box-shadow: 0 0 0 3px rgba(95, 139, 126, .25); }
.field .select-wrap select { background: #fff; border: 1.5px solid #cdd8d4; min-height: 50px; }
.field.has-error input { border-color: var(--color-error); }
.field-error { margin-top: 6px; font-size: .9rem; color: var(--color-error); display: none; }
.field.has-error .field-error { display: block; }
.form-error-summary { background: #fdf0ee; border: 1px solid #f2c4bd; color: #7a1d14; border-radius: 12px; padding: 12px 16px; margin-bottom: var(--s4); }
.form-error-summary ul { list-style: disc; padding-left: 20px; margin-top: 4px; }
.form-error-summary a { color: inherit; font-weight: 600; }
.form-fine { margin-top: var(--s3); text-align: center; font-size: .88rem; color: var(--color-text-muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .8s linear infinite; }
.is-loading .spinner { display: inline-block; }
.is-loading { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }

.booking-success { text-align: center; padding: var(--s5) 0 var(--s2); }
.booking-success:focus { outline: none; }
.booking-success h2 { padding: 0; margin: var(--s4) 0 var(--s3); }
.booking-success p { color: var(--color-text-muted); max-width: 44ch; margin: 0 auto var(--s4); }
.success-icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #e8f4ed; color: var(--color-success); }
.success-icon .icon { stroke-width: 3; }
.demo-note { font-size: .88rem; background: #fff7e8; border: 1px solid #f3dcb0; color: #7a5410 !important; border-radius: 10px; padding: 8px 12px; display: inline-block; }

/* ---------- Scroll reveal (progressive enhancement) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .service-card:hover, .service-card:hover .service-card-media img { transform: none; }
}
@media (min-width: 960px) { .nowrap-lg { white-space: nowrap; } }

/* =========================================================
   Interactive tools: nav phone, quiz, diagram, result checker,
   ZIP checker, mobile action bar
   ========================================================= */

/* Nav phone (desktop, when there's room) */
.nav-phone { display: none; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--green-900); text-decoration: none; white-space: nowrap; padding: 10px 8px; border-radius: 10px; }
.nav-phone:hover { background: var(--sage-100); }
.nav-phone .icon { width: 16px; height: 16px; }
@media (min-width: 1240px) { .nav-phone { display: inline-flex; } }
@media (min-width: 1080px) { .nav-links-call { display: none; } }
.nav-links.is-open .nav-links-call a { display: flex; align-items: center; gap: 10px; font-weight: 600; }

.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--s4); font-family: var(--font-head); font-weight: 500; color: var(--sage-600); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--green-900); }
.text-link .icon { width: 16px; height: 16px; transition: transform var(--t-med) var(--ease-out); }
.text-link:hover .icon { transform: translateX(3px); }

.why-actions { display: flex; flex-wrap: wrap; gap: var(--s3); }

/* ---------- Quiz ---------- */
.quiz-grid { display: grid; gap: var(--s7); align-items: center; }
@media (min-width: 960px) { .quiz-grid { grid-template-columns: .9fr 1.1fr; gap: var(--s8); } }
.quiz-intro h2 { margin-bottom: var(--s5); }
.quiz-perks { margin-top: var(--s5); }
.quiz-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--r-xl); box-shadow: var(--shadow-md); padding: clamp(20px, 4vw, 36px); }
.quiz-progress { margin-bottom: var(--s5); }
.quiz-step-label { font-family: var(--font-head); font-size: .85rem; font-weight: 500; color: var(--sage-600); margin-bottom: 8px; letter-spacing: .02em; }
.quiz-bar { height: 6px; background: var(--sage-100); border-radius: 999px; overflow: hidden; }
.quiz-bar span { display: block; height: 100%; width: 20%; background: var(--green-900); border-radius: 999px; transition: width var(--t-med) var(--ease-out); }
.quiz-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.quiz-step legend { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.2rem, 2.2vw, 1.45rem); color: var(--green-900); line-height: 1.25; margin-bottom: var(--s4); padding: 0; }
.quiz-options { display: grid; gap: 10px; }
@media (min-width: 560px) { .quiz-options { grid-template-columns: 1fr 1fr; } }
.quiz-option { position: relative; display: block; cursor: pointer; }
.quiz-option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.quiz-option span {
  display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 64px; height: 100%;
  padding: 12px 16px 12px 46px; border: 1.5px solid var(--color-border); border-radius: 14px; background: var(--mist);
  transition: border-color var(--t-fast), background-color var(--t-fast), box-shadow var(--t-fast);
  position: relative;
}
.quiz-option span::before { content: ""; position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; border: 2px solid #9aa5a0; background: #fff; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.quiz-option strong { font-family: var(--font-head); font-weight: 500; font-size: 1rem; color: var(--green-900); }
.quiz-option small { font-size: .88rem; color: var(--color-text-muted); }
.quiz-option:hover span { border-color: var(--sage-300); background: #fff; }
.quiz-option input:checked + span { border-color: var(--green-900); background: #fff; box-shadow: 0 0 0 1px var(--green-900); }
.quiz-option input:checked + span::before { border-color: var(--green-900); box-shadow: inset 0 0 0 4px #fff; background: var(--green-900); }
.quiz-option input:focus-visible + span { box-shadow: var(--focus-ring); }
.quiz-hint { min-height: 1.4em; margin-top: var(--s3); font-size: .92rem; color: var(--color-error); }
.quiz-nav { display: flex; justify-content: space-between; gap: var(--s3); margin-top: var(--s2); }
.quiz-nav #quiz-next { margin-left: auto; }
.quiz-result:focus { outline: none; }
.quiz-result h3 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin-bottom: var(--s3); }
.quiz-result > p { color: var(--color-text-muted); }
.quiz-notes { display: grid; gap: 10px; margin: var(--s5) 0; }
.quiz-notes li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; background: var(--mist); border-radius: 12px; font-size: .97rem; }
.quiz-notes .icon { color: var(--sage-600); margin-top: 3px; }
.quiz-actions { display: flex; flex-wrap: wrap; gap: var(--s3); }
.quiz-fine { margin-top: var(--s4); font-size: .85rem; color: var(--color-text-muted); }
@media (max-width: 480px) { .quiz-actions .btn { width: 100%; } }

/* ---------- Radon entry diagram ---------- */
.entry-grid { display: grid; gap: var(--s5); align-items: start; }
@media (min-width: 1024px) { .entry-grid { grid-template-columns: 1.55fr 1fr; gap: var(--s6); align-items: stretch; } }
.entry-stage { background: #fff; border: 1px solid var(--color-border); border-radius: var(--r-xl); padding: var(--s4); box-shadow: var(--shadow-sm); }
.entry-toggle { display: inline-flex; padding: 4px; background: var(--mist); border-radius: 12px; margin-bottom: var(--s3); max-width: 100%; }
.entry-toggle button { min-height: 40px; padding: 0 14px; border: 0; border-radius: 9px; background: transparent; font-family: var(--font-head); font-size: .9rem; color: var(--color-text-muted); transition: background-color var(--t-fast), color var(--t-fast); }
.entry-toggle button.is-active { background: var(--green-900); color: #fff; }
.entry-figure { position: relative; border-radius: var(--r-md); overflow: hidden; }
.entry-svg { display: block; width: 100%; height: auto; }
.hotspot {
  position: absolute; transform: translate(-50%, -50%);
  width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff;
  background: var(--green-900); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .9rem;
  box-shadow: 0 2px 8px rgba(18, 29, 26, .35); display: grid; place-items: center;
  transition: transform var(--t-fast), background-color var(--t-fast);
}
.hotspot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--green-900); opacity: 0; animation: ping 2.4s var(--ease-out) infinite; }
.hotspot:hover { transform: translate(-50%, -50%) scale(1.1); }
.hotspot.is-active { background: #c8643b; }
.hotspot.is-active::after { border-color: #c8643b; }
@keyframes ping { 0% { opacity: .7; transform: scale(.8); } 100% { opacity: 0; transform: scale(1.5); } }
@media (max-width: 560px) { .hotspot { width: 28px; height: 28px; font-size: .8rem; } }
.entry-legend { display: flex; align-items: center; gap: 8px; margin-top: var(--s3); font-size: .9rem; color: var(--color-text-muted); }
.rn-dot { width: 10px; height: 10px; border-radius: 50%; background: #c8643b; flex: none; }

/* radon particle motion */
.rn-soil circle { animation: rise 3.2s ease-in infinite; animation-delay: var(--d); opacity: 0; }
@keyframes rise { 0% { opacity: 0; transform: translateY(0); } 25% { opacity: .9; } 100% { opacity: 0; transform: translateY(-46px); } }
.rn-indoor circle { animation: drift 4s ease-in-out infinite; animation-delay: var(--d); transition: opacity 400ms; }
@keyframes drift { 0%, 100% { transform: translate(0, 0); opacity: .85; } 50% { transform: translate(6px, -10px); opacity: .45; } }
.mitigation { opacity: 0; transition: opacity 500ms var(--ease-out); }
.mitigation .flow { stroke-dasharray: 6 12; animation: flow 1s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -36; } }
.exhaust circle { animation: puff 1.8s ease-out infinite; animation-delay: var(--d); opacity: 0; }
@keyframes puff { 0% { opacity: .8; transform: translateY(0); } 100% { opacity: 0; transform: translateY(-16px); } }
.entry-stage.system-on .mitigation { opacity: 1; }
.entry-stage.system-on .rn-indoor { opacity: 0; }
.entry-stage.system-on .rn-indoor circle { animation-play-state: paused; }
.entry-stage.system-on .rn-soil circle { animation-name: rise-short; }
@keyframes rise-short { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: .9; } 100% { opacity: 0; transform: translateY(-18px); } }

.entry-panel { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--color-border); border-radius: var(--r-xl); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-sm); }
.entry-panel-body { flex: 1; }
.entry-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #c8643b; color: #fff; font-family: var(--font-head); font-weight: 700; margin-bottom: var(--s3); }
.entry-panel h3 { font-size: 1.4rem; margin-bottom: var(--s3); }
.entry-panel p { color: var(--color-text-muted); }
.entry-fix { display: flex; gap: 10px; align-items: flex-start; margin-top: var(--s4); padding: 12px 14px; border-radius: 12px; background: #e8f4ed; color: #1f5a3c !important; font-size: .97rem; }
.entry-fix .icon { margin-top: 3px; flex: none; }
.entry-steps { counter-reset: s; display: grid; gap: 12px; margin-top: var(--s4); }
.entry-steps li { counter-increment: s; display: flex; gap: 12px; align-items: flex-start; color: var(--color-text-muted); }
.entry-steps li::before { content: counter(s); flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--green-900); color: #fff; font-family: var(--font-head); font-size: .85rem; font-weight: 600; }
.entry-panel .btn-block-cta { margin-top: var(--s5); }
.entry-panel-nav { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--color-border); font-family: var(--font-head); font-size: .9rem; color: var(--color-text-muted); }
.entry-panel-nav .btn { min-height: 44px; width: 44px; padding: 0; }
.entry-panel-nav .btn:hover .icon:last-child { transform: none; }

/* ---------- Result checker ---------- */
.result-grid { display: grid; gap: var(--s7); align-items: center; }
@media (min-width: 960px) { .result-grid { grid-template-columns: .9fr 1.1fr; gap: var(--s8); } }
.result-intro h2 { margin-bottom: var(--s5); }
.result-note { display: flex; gap: 10px; margin-top: var(--s5); padding: 14px 16px; border-radius: 14px; background: var(--mist); font-size: .95rem; color: var(--color-text-muted); }
.result-note .icon { color: var(--sage-600); margin-top: 3px; }
.result-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--r-xl); box-shadow: var(--shadow-md); padding: clamp(20px, 4vw, 36px); }
.result-inputs { display: grid; gap: var(--s2); }
.rc-input-row { display: flex; gap: 10px; flex-wrap: wrap; }
.rc-input-row input { flex: 1 1 140px; font-family: var(--font-head); font-size: 1.4rem !important; font-weight: 600; min-height: 56px !important; font-variant-numeric: tabular-nums; }
.rc-help { margin-top: 6px; font-size: .88rem; color: var(--color-text-muted); }
.rc-type { border: 0; padding: 0; margin: 0; min-width: 0; }
.rc-type legend { font-weight: 600; font-size: .95rem; color: var(--green-900); margin-bottom: 6px; padding: 0; }
.segmented { display: inline-flex; padding: 4px; background: var(--mist); border: 1px solid var(--color-border); border-radius: 12px; }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segmented span { display: grid; place-items: center; min-height: 44px; padding: 0 14px; border-radius: 9px; font-family: var(--font-head); font-size: .9rem; color: var(--color-text-muted); white-space: nowrap; transition: background-color var(--t-fast), color var(--t-fast); }
.segmented input:checked + span { background: var(--green-900); color: #fff; }
.segmented input:focus-visible + span { box-shadow: var(--focus-ring); }
.segmented-wide { display: flex; }
.segmented-wide label { flex: 1; }
@media (max-width: 420px) { .segmented-wide span { font-size: .8rem; padding: 0 8px; } }

.rc-scale { position: relative; margin: var(--s6) 0 var(--s5); padding-top: 34px; }
.rc-bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; }
.rc-bar span { display: block; height: 100%; }
.z-low { width: 20%; background: #43a36b; }
.z-mid { width: 20%; background: var(--amber); }
.z-high { width: 60%; background: #c9574a; }
.rc-ticks { display: flex; justify-content: space-between; margin-top: 6px; font-size: .8rem; color: var(--color-text-muted); font-variant-numeric: tabular-nums; }
.rc-marker { position: absolute; top: 0; left: 0; transform: translateX(-50%); transition: left 400ms var(--ease-out); }
.rc-marker span { display: block; padding: 3px 9px; border-radius: 8px; background: var(--green-900); color: #fff; font-family: var(--font-head); font-size: .8rem; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rc-marker::after { content: ""; position: absolute; left: 50%; bottom: -14px; width: 3px; height: 14px; margin-left: -1.5px; background: var(--green-900); border-radius: 2px; }
.rc-result { min-height: 120px; }
.rc-empty { display: flex; gap: 10px; align-items: center; color: var(--color-text-muted); padding: 16px; background: var(--mist); border-radius: 14px; }
.rc-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-family: var(--font-head); font-size: .85rem; font-weight: 600; margin-bottom: var(--s3); }
.rc-badge .icon { width: 16px; height: 16px; }
.rc-badge.high { background: #fbe9e6; color: #8f2a1d; }
.rc-badge.mid { background: #fdf2dd; color: #7a5410; }
.rc-badge.low { background: #e8f4ed; color: #1f5a3c; }
.rc-result h3 { font-size: 1.35rem; margin-bottom: 8px; }
.rc-result p { color: var(--color-text-muted); }
.rc-result p + p { margin-top: 8px; }
.rc-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }
.rc-source { margin-top: var(--s4); font-size: .82rem; color: var(--color-text-muted); }
.rc-source a { color: inherit; }
@media (max-width: 480px) { .rc-actions .btn { width: 100%; } }

/* ---------- Mobile action bar ---------- */
.action-bar { display: none; }
@media (max-width: 767px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .action-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 8px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-top: 1px solid var(--color-border); box-shadow: 0 -6px 20px rgba(18, 29, 26, .08);
  }
  .action-bar a, .action-bar button {
    display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 52px;
    border-radius: 12px; border: 1.5px solid var(--green-900); background: #fff; color: var(--green-900);
    font-family: var(--font-head); font-weight: 600; font-size: .92rem; text-decoration: none;
  }
  .action-bar .action-bar-book { background: var(--green-900); color: #fff; }
  .action-bar .icon { width: 18px; height: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .rn-soil circle, .rn-indoor circle, .exhaust circle, .hotspot::after, .mitigation .flow { animation: none !important; }
  .rn-soil circle { opacity: .8; }
}

/* Nav fit with phone number */
.nav-links a { white-space: nowrap; }
@media (min-width: 1080px) { .nav-links a { padding: 10px 11px; } }
@media (min-width: 1240px) { .nav-cta .btn-note { display: none; } }

/* Small-screen fit for the interactive tools */
.segmented-wide span { white-space: normal; text-align: center; line-height: 1.2; padding: 6px 10px; }
@media (max-width: 560px) {
  .hotspot { width: 24px; height: 24px; font-size: .72rem; border-width: 1.5px; }
  .hotspot::after { display: none; }
  .entry-stage { padding: 10px; }
  .entry-toggle { display: flex; }
  .entry-toggle button { flex: 1; font-size: .82rem; padding: 0 8px; line-height: 1.2; }
}

/* Trimmed layout: two-column monitoring, mirrored result checker */
@media (min-width: 1024px) { .monitor-grid { grid-template-columns: 1fr 1fr; gap: var(--s8); } }
@media (min-width: 960px) {
  .result-grid { grid-template-columns: 1.1fr .9fr; }
  .result-grid .result-intro { order: 2; }
}

/* Why Radon: urgent stat callout */
.eyebrow-alert { color: #a33a2c; }
.why-stat {
  display: flex; align-items: center; gap: var(--s5);
  margin: 0 0 var(--s5); padding: var(--s5) var(--s5);
  background: var(--green-900); color: #fff; border-radius: var(--r-lg);
  border-left: 6px solid #c9574a; box-shadow: var(--shadow-md);
}
.why-stat-num { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.why-stat-text { font-family: var(--font-head); font-weight: 500; font-size: 1.05rem; line-height: 1.35; color: #e8f0ed; }
.why-stat-text span { display: block; margin-top: 4px; font-family: var(--font-body); font-weight: 400; font-size: .85rem; color: #a6c3ba; }
@media (max-width: 480px) { .why-stat { flex-direction: column; align-items: flex-start; gap: var(--s2); } }
.why-source { margin-top: var(--s4); font-size: .85rem; color: var(--color-text-muted); }
.why-source a { color: inherit; }
@media (min-width: 960px) { .why-copy { max-width: 560px; } }
@media (min-width: 960px) { .why-media { inset: 0 0 0 44%; } .why-copy { max-width: 520px; } }

/* Why Radon: family backdrop on desktop only */
@media (max-width: 959px) {
  .why-media { display: none; }
  .why { padding-bottom: clamp(64px, 9vw, 112px); }
}
@media (min-width: 960px) { .why-media img { object-position: 45% center; } }

/* CTA band: towns served */
.cta-towns { max-width: 760px !important; margin: var(--s6) auto 0 !important; padding-top: var(--s5); border-top: 1px solid rgba(255, 255, 255, .14); font-size: .98rem !important; line-height: 1.8; color: #c4d6cf; }
.cta-towns strong { display: block; margin-bottom: 4px; font-family: var(--font-head); font-weight: 500; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sage-300); }
.cta-towns span { margin: 0 6px; color: var(--sage-500); }
.nowrap { white-space: nowrap; }
.cta-towns .nowrap { margin: 0; color: inherit; }

/* FAQ: single centered column */
.faq-wrap { max-width: 820px; }
.faq-wrap .faq-list h2 { text-align: center; margin-bottom: var(--s6); }
.faq-more { margin-top: var(--s5); text-align: center; color: var(--color-text-muted); }
.faq-more a, .faq-more-link { font-family: var(--font-head); font-weight: 500; color: var(--green-900); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.faq-more-link { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; font-size: inherit; }
.faq-more-link .icon { width: 15px; height: 15px; transition: transform var(--t-med) var(--ease-out); }
.faq-more-link:hover .icon { transform: translateX(3px); }
.faq-more a:hover, .faq-more-link:hover { color: var(--sage-600); }

/* =========================================================
   Navigation polish: glass → solid, slim on scroll, hide on
   scroll down (phones), progress line, sliding indicator,
   compact actions, animated burger, full-height phone menu
   ========================================================= */
.site-header { height: 82px; transition: transform 320ms var(--ease-out); }
.site-header.is-hidden { transform: translateY(-110%); }
.nav { transition: height 260ms var(--ease-out), background-color 260ms, box-shadow 260ms, border-color 260ms; }
.site-header:not(.is-scrolled) .nav { background: rgba(255, 255, 255, .62); border-color: rgba(255, 255, 255, .55); box-shadow: 0 2px 14px rgba(18, 29, 26, .06); }
.site-header.is-scrolled .nav { height: 58px; background: rgba(255, 255, 255, .97); }
.brand-word { transition: width 260ms var(--ease-out), height 260ms var(--ease-out); }
.site-header.is-scrolled .brand-word { width: 138px; height: 40px; }

/* Scroll progress line */
.nav-progress { position: absolute; left: 18px; right: 18px; bottom: -1px; height: 3px; border-radius: 3px; overflow: hidden; opacity: 0; transition: opacity 260ms; pointer-events: none; }
.site-header.is-scrolled .nav-progress { opacity: 1; }
.nav-progress span { display: block; height: 100%; background: var(--sage-500); transform-origin: left center; transform: scaleX(0); }

/* Desktop links: hover underline + sliding active indicator */
.nav-indicator { display: none; }
@media (min-width: 1080px) {
  .nav-links { position: relative; }
  .nav-links a { position: relative; }
  .nav-links a:hover { background: transparent; }
  .nav-links a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--sage-300); transform: scaleX(0); transform-origin: left center; transition: transform 240ms var(--ease-out); }
  .nav-links a:hover::after { transform: scaleX(1); }
  .nav-links a.is-current { background: transparent; font-weight: inherit; }
  .nav-indicator { display: block; position: absolute; left: 0; bottom: 6px; width: 0; height: 2px; border-radius: 2px; background: var(--green-900); opacity: 0; pointer-events: none; z-index: 1; transition: transform 380ms var(--ease-out), width 380ms var(--ease-out), opacity 200ms; }
  .nav-indicator.is-visible { opacity: 1; }
  .nav-links-note { display: none; }
}

/* Compact actions on tablets & phones */
.nav-mini { display: none; }
@media (max-width: 1079px) {
  .nav-mini { display: flex; align-items: center; gap: 8px; margin-left: auto; }
  .nav-toggle { margin-left: 0; }
  .nav-mini-call { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--color-border); background: #fff; color: var(--green-900); transition: background-color var(--t-fast); }
  .nav-mini-call:hover { background: var(--sage-100); }
  .nav-mini-call .icon { width: 19px; height: 19px; }
  .nav-mini-book { min-height: 46px; padding: 0 16px; font-size: .9rem; box-shadow: none; }
  .site-header.is-scrolled .nav-mini-call, .site-header.is-scrolled .nav-toggle { width: 42px; height: 42px; }
  .site-header.is-scrolled .nav-mini-book { min-height: 42px; }
}
@media (max-width: 559px) { .nav-mini-book { display: none; } }

/* Animated burger → X */
.burger { position: relative; display: block; width: 20px; height: 14px; }
.burger span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform 300ms var(--ease-out), top 300ms var(--ease-out), opacity 200ms; }
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 6px; }
.burger span:nth-child(3) { top: 12px; }
.nav-toggle.is-open .burger span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle.is-open .burger span:nth-child(2) { opacity: 0; transform: scaleX(.3); }
.nav-toggle.is-open .burger span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* Full-height phone/tablet menu */
@media (max-width: 1079px) {
  body.menu-open { overflow: hidden; }
  body.menu-open::before { content: ""; position: fixed; inset: 0; z-index: 99; background: rgba(18, 29, 26, .45); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: fadeIn 200ms ease-out; }
  .nav-links.is-open {
    height: calc(100dvh - 104px); max-height: 640px; overflow-y: auto;
    padding: 12px 12px 16px; gap: 0;
  }
  .nav-links.is-open > li:not(.nav-links-call):not(.nav-links-cta):not(.nav-links-note) a {
    padding: 18px 14px; font-size: 1.3rem; font-weight: 500; border-bottom: 1px solid var(--color-border); border-radius: 0;
    display: flex; justify-content: space-between; align-items: center;
  }
  .nav-links.is-open > li:not(.nav-links-call):not(.nav-links-cta):not(.nav-links-note) a::after { content: "→"; color: var(--sage-500); font-size: 1.1rem; }
  .nav-links.is-open .nav-links-call { order: 5; margin-top: auto; padding: 16px 6px 0; }
  .nav-links.is-open .nav-links-call a { justify-content: center; min-height: 52px; border: 1.5px solid var(--green-900); border-radius: 12px; font-size: 1rem; }
  .nav-links.is-open .nav-links-cta { order: 6; }
  .nav-links.is-open .nav-links-note { order: 7; padding: 12px 6px 0; text-align: center; font-size: .9rem; color: var(--color-text-muted); }
  .nav-links:not(.is-open) .nav-links-note { display: none; }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Hero: slogan as a small label above the headline */
.hero-eyebrow { margin-bottom: var(--s4); }
.hero-sub { margin-top: var(--s5); }

/* Hero: lighter fade so more of the video shows; slightly smaller headline with a soft glow */
.hero h1 { font-size: clamp(2.2rem, 3.9vw, 3.45rem); }
@media (min-width: 960px) {
  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.78) 26%, rgba(255,255,255,.4) 40%, rgba(255,255,255,0) 54%),
      linear-gradient(0deg, rgba(255,255,255,.45) 0%, rgba(255,255,255,0) 16%);
  }
  .hero h1 { text-shadow: 0 0 28px rgba(255,255,255,.75), 0 0 8px rgba(255,255,255,.6); }
  .hero-checks li { text-shadow: 0 0 10px rgba(255,255,255,.95), 0 0 3px rgba(255,255,255,.9); }
}

/* Background video play/pause */
.video-toggle {
  position: absolute; right: 12px; bottom: 12px; z-index: 3;
  display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .95); color: var(--green-900); box-shadow: var(--shadow-md);
  transition: background-color var(--t-fast), transform var(--t-fast);
}
.video-toggle:hover { background: #fff; transform: scale(1.05); }
.video-toggle .icon { width: 16px; height: 16px; }
.video-watch { right: 64px; }
.hero.is-watching .video-toggle { display: none; }
@media (min-width: 960px) {
  .video-toggle { right: 32px; bottom: 96px; }
  .video-watch { right: 84px; }
}

/* Very narrow phones (≤380px): keep logo, call and menu on one row; compact video button */
@media (max-width: 380px) {
  .nav { gap: 10px; padding-inline: 12px !important; }
  .brand-word, .site-header.is-scrolled .brand-word { width: 118px; height: 34px; }
  .nav-mini-call, .nav-toggle, .site-header.is-scrolled .nav-mini-call, .site-header.is-scrolled .nav-toggle { width: 42px; height: 42px; }
  .video-watch-time { display: none; }
  .video-watch { padding-right: 12px; font-size: .82rem; white-space: nowrap; }
}

/* About: father-and-son team photo, shown uncropped; badge on the right so it doesn't cover them */
.split-media .about-team-img { aspect-ratio: 3 / 2; object-position: 30% center; }
@media (min-width: 960px) { .split-media .float-badge { left: auto; right: -24px; bottom: 28px; } }
@media (max-width: 959px) { .split-media .float-badge { left: auto; right: 16px; } }

/* Phones & tablets: "Proudly local" badge sits below the team photo, never on top of it */
@media (max-width: 959px) {
  .split-media .float-badge { position: static; margin-top: var(--s3); box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); width: fit-content; }
}

/* =========================================================
   Desktop hero layout: text left, framed video right (ACTIVE — chosen by the owner).
   Removing the .hero--split class in index.html restores the earlier full-screen video layout.
   ========================================================= */
@media (min-width: 960px) {
  .hero--split { --split-w: calc(min(100vw, var(--container)) - 64px); margin-top: 0; min-height: 0; display: block; background: #fff; }
  .hero--split.is-watching { background: #fff; }
  .hero--split .hero-media {
    position: absolute; inset: auto; top: var(--s7);
    right: max(32px, calc((100vw - var(--container)) / 2 + 32px));
    width: calc(var(--split-w) * .55); aspect-ratio: 16 / 9;
    border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
  }
  .hero--split .hero-video { height: 100%; aspect-ratio: auto; }
  .hero--split .hero-scrim { display: none; }
  .hero--split .hero-inner {
    display: flex; align-items: center;
    min-height: calc(var(--split-w) * .55 * 9 / 16 + var(--s7) + 100px);
    padding-top: var(--s7); padding-bottom: 100px;
  }
  .hero--split .hero-copy { max-width: calc(var(--split-w) * .41); }
  .hero--split h1 { font-size: clamp(2.2rem, 3.1vw, 2.75rem); text-shadow: none; }
  .hero--split .nowrap-lg { white-space: normal; }
  .hero--split .hero-checks li { text-shadow: none; }
  .hero--split .video-toggle { right: 16px; bottom: 16px; }
  .hero--split .video-watch { right: 68px; bottom: 16px; }
  .hero--split .video-exit { top: 16px; right: 16px; }
  .hero--split.is-watching .hero-inner { visibility: visible; opacity: 1; }
  .hero--split + .quick-book-wrap { margin-top: -60px; }
}

/* About: larger team photo on desktop */
@media (min-width: 960px) { #about .split { grid-template-columns: .85fr 1.3fr; gap: var(--s7); } }

/* Pre-launch booking notice */
.booking-notice { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 var(--s4); padding: 14px 16px; border-radius: 14px; background: #e8f4ed; border: 1px solid #b9dcc6; color: #1f5a3c; }
.booking-notice[hidden] { display: none; }
.booking-notice p { font-size: .97rem; }
.booking-notice a { color: inherit; font-weight: 700; }
.booking-notice .icon { flex: none; margin-top: 1px; }
.booking-notice:focus { outline: none; box-shadow: 0 0 0 3px rgba(67, 163, 107, .35); }
.booking-notice.is-pulse { animation: noticePulse 700ms var(--ease-out); }
@keyframes noticePulse { 0% { transform: scale(1); } 35% { transform: scale(1.02); } 100% { transform: scale(1); } }
