/* NoMoldWNC — homepage-specific layout */

/* ── Video hero ────────────────────────────────────────────────── */
.hero--video {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 8rem 0 6rem;
}
.hero-video-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
/* Animated branded fallback (shows until/if the video loads) */
.hero-video-fallback {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 70% at 18% 22%, rgba(154,185,223,0.50), transparent 60%),
    radial-gradient(55% 65% at 82% 78%, rgba(77,114,187,0.45), transparent 60%),
    linear-gradient(135deg, #0c3181 0%, #07215e 55%, #2a4f9e 100%);
  animation: heroDrift 18s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  0%   { background-position: 0% 0%, 100% 100%, 0 0; transform: scale(1.05); }
  100% { background-position: 12% 8%, 88% 92%, 0 0; transform: scale(1.12); }
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-video-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,18,46,0.78) 0%, rgba(6,18,46,0.42) 30%, rgba(6,18,46,0.45) 65%, rgba(6,18,46,0.82) 100%),
    radial-gradient(80% 80% at 50% 45%, transparent 40%, rgba(6,18,46,0.45) 100%);
}
.hero-video-inner {
  position: relative; z-index: 2;
  max-width: 60rem;
  display: flex; flex-direction: column; align-items: center; gap: 1.7rem;
}
.hero-v-title { color: #fff; max-width: 17ch; }
/* Keep the two-line lockup: headline phrase on line one, gradient payoff on line two */
.hero-v-title .t-gradient-light { display: block; }
.t-gradient-light {
  background-image: var(--gradient-light-on-dark);
  background-clip: text; -webkit-background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.hero-v-lead { color: rgba(255,255,255,0.88); max-width: 44ch; }
.hero--video .hero-actions { justify-content: center; margin-top: 0.4rem; }
.hero-v-trust { display: inline-flex; align-items: center; gap: 0.8rem; color: rgba(255,255,255,0.92); font-size: 0.92rem; margin-top: 0.3rem; }
.hero-v-trust .hero-stars svg { width: 18px; height: 18px; fill: var(--color-accent-gold); color: var(--color-accent-gold); }
.hero-v-trust strong { color: #fff; }
.hero-v-trust .sep { width: 4px; height: 4px; border-radius: 9999px; background: rgba(255,255,255,0.4); }
.hero-scroll {
  position: absolute; left: 50%; bottom: 1.8rem; transform: translateX(-50%);
  z-index: 2; color: rgba(255,255,255,0.7);
  display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
  font-size: 0.65rem; font-weight: var(--font-weight-bold); text-transform: uppercase; letter-spacing: var(--tracking-label);
}
.hero-scroll svg { width: 20px; height: 20px; animation: heroBob 1.8s ease-in-out infinite; }
@keyframes heroBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* Stack the trust row on small screens — inline it overflows the viewport */
@media (max-width: 600px) {
  .hero-v-trust { flex-direction: column; gap: 0.55rem; padding-inline: 1.5rem; text-align: center; }
  .hero-v-trust .sep { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }          /* static branded gradient shows instead */
  .hero-video-fallback { animation: none; }
  .hero-scroll svg { animation: none; }
}

/* ── Press bar (static "As featured on") ───────────────────────── */
.press-bar { padding-block: 4rem; border-bottom: 1px solid var(--color-border-subtle); }
.press-label { display: block; text-align: center; margin-bottom: 2.4rem; color: var(--color-text-tertiary); }
.press-logos {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 1rem 3rem;
}
.press-logos img {
  height: 92px; width: auto; object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.8;
  /* Hides baked-in white boxes (e.g. the MarketWatch asset) on the light section */
  mix-blend-mode: multiply;
  transition: filter var(--duration-medium) ease, opacity var(--duration-medium) ease, transform var(--duration-medium) ease;
}
.press-logos img:hover { filter: grayscale(0); opacity: 1; transform: scale(1.04); }
/* Opacity-only reveal here: a transform would create a stacking context that
   isolates the logos' mix-blend-mode from the section background. */
.press-bar .reveal { transform: none; }
.press-bar .reveal.in { transform: none; }
@media (max-width: 768px) { .press-logos img { height: 72px; } .press-logos { gap: 0.5rem 1.5rem; } }

/* ── Process (vertical numbered protocol) ──────────────────────── */
.process-flow { margin-top: 3.5rem; max-width: 54rem; margin-inline: auto; }
.process-row { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1.6rem; }
.process-marker { display: flex; flex-direction: column; align-items: center; }
.process-flow-num {
  font-size: 2rem; font-weight: var(--font-weight-black);
  line-height: 1; letter-spacing: -0.04em;
  background-image: var(--gradient-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.process-marker::after {
  content: ""; width: 2px; flex: 1;
  background: linear-gradient(var(--color-border-default), rgba(241,245,249,0));
  margin-top: 0.85rem;
}
.process-row:last-child .process-marker::after { display: none; }
.process-content { padding-bottom: 2.8rem; }
.process-row:last-child .process-content { padding-bottom: 0; }
.process-content h3 { font-size: 1.35rem; letter-spacing: var(--tracking-tight); }
.process-content p { font-size: 1rem; color: var(--color-text-secondary); line-height: 1.65; margin-top: 0.55rem; }
@media (max-width: 560px) {
  .process-row { grid-template-columns: 3rem 1fr; gap: 1.1rem; }
  .process-flow-num { font-size: 1.6rem; }
  .process-content h3 { font-size: 1.2rem; }
}

/* ── The Science split ─────────────────── */
.science-split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.science-copy-col { display: flex; flex-direction: column; align-items: flex-start; gap: 1.4rem; }
.science-copy-col .btn { margin-top: 0.6rem; }
.science-points { display: flex; flex-direction: column; gap: 1.2rem; width: 100%; }
.science-point {
  display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: start;
  background: #fff; border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md); padding: 1.5rem 1.6rem; box-shadow: var(--shadow-subtle);
}
.science-point-num {
  width: 2.5rem; height: 2.5rem; border-radius: 9999px;
  background-image: var(--gradient-brand); color: #fff;
  font-weight: var(--font-weight-black); font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.science-point h3 { font-size: 1.1rem; letter-spacing: var(--tracking-tight); }
.science-point p { font-size: 0.92rem; color: var(--color-text-secondary); line-height: 1.6; margin-top: 0.35rem; }

/* Particle comparison card */
.particle-card {
  background: #fff; border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-card); box-shadow: var(--shadow-card);
  padding: 2.6rem 2.5rem;
}
.particle-title { font-size: 1.7rem; font-weight: var(--font-weight-heading); letter-spacing: -0.01em; margin-top: 1.4rem; }
.particle-rows { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.particle-row { display: grid; grid-template-columns: 6.5rem 1fr auto; gap: 1rem; align-items: center; }
.particle-label { line-height: 1.2; }
.particle-label span { display: block; font-size: 0.92rem; font-weight: var(--font-weight-extrabold); color: var(--color-text-primary); }
.particle-label small { display: block; margin-top: 0.2rem; font-size: 0.62rem; font-weight: var(--font-weight-bold); text-transform: uppercase; letter-spacing: var(--tracking-label); color: var(--color-text-tertiary); }
.particle-track { height: 0.85rem; background: var(--color-surface-subtle); border-radius: 9999px; overflow: hidden; }
.particle-fill { display: block; height: 100%; border-radius: 9999px; }
/* Threat + conventional bars read as inert desaturated gray; the VaPURE bar
   carries the only saturated color so the emphasis lands on our technology. */
.particle-fill--navy { background-image: linear-gradient(90deg, #8d99ab 0%, #bcc6d3 100%); }
.particle-fill--brand { background-image: var(--gradient-brand); }
.particle-value { font-size: 1.05rem; font-weight: var(--font-weight-black); color: var(--color-text-primary); letter-spacing: -0.02em; text-align: right; white-space: nowrap; }
.particle-value small { font-size: 0.7rem; font-weight: var(--font-weight-bold); color: var(--color-text-secondary); }
.particle-note { display: grid; grid-template-columns: 5rem 1fr; gap: 1rem; margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--color-border-subtle); }
.particle-note strong { font-size: 0.95rem; font-weight: var(--font-weight-black); color: var(--color-brand-primary); line-height: 1.25; }
.particle-note p { font-size: 0.84rem; color: var(--color-text-secondary); line-height: 1.55; }
@media (max-width: 880px) {
  .science-split { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ── Featured review / a client's story (from screenshot) ──────── */
.story-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4.5rem; align-items: center; }
.story-media { position: relative; border-radius: var(--radius-card-lg); overflow: hidden; box-shadow: var(--shadow-image-large); }
.story-media img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; filter: grayscale(15%); transition: filter var(--duration-cinematic) ease; }
.story-media:hover img { filter: grayscale(0); }
.story-verified {
  position: absolute; left: 1.4rem; bottom: 1.4rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #fff; color: var(--color-text-primary);
  font-size: 0.72rem; font-weight: var(--font-weight-black);
  text-transform: uppercase; letter-spacing: var(--tracking-label);
  padding: 0.7rem 1.1rem; border-radius: 9999px; box-shadow: var(--shadow-menu);
}
.story-verified svg { width: 15px; height: 15px; color: var(--color-status-success); }
.story-head { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.story-stars { display: inline-flex; gap: 0.15rem; color: var(--color-accent-gold); }
.story-stars svg { width: 20px; height: 20px; fill: currentColor; }
.story-quote {
  font-family: var(--font-family-display);
  font-size: clamp(1.5rem, 2.5vw, 2.05rem);
  font-weight: var(--font-weight-medium); letter-spacing: -0.01em;
  line-height: 1.4; color: var(--color-text-primary); margin: 1.7rem 0 0;
  text-wrap: pretty;
}
.story-quote mark { background-image: linear-gradient(90deg, #bcd1ec 0%, #e2ecf9 100%); color: inherit; padding: 0.05em 0.12em; border-radius: 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.story-author { margin-top: 1.9rem; }
/* Video-testimonial variant: 16:9 player gets the wider column, and the
   verified badge moves to the top corner so it never overlaps the controls. */
.story-split--video { grid-template-columns: 1.15fr 0.85fr; }
.story-media--video { aspect-ratio: 16 / 9; background: #0b0f14; }
.story-media--video video { display: block; width: 100%; height: 100%; }
.story-media--video .story-verified { top: 1.4rem; bottom: auto; }
.story-video-title { margin-top: 1.6rem; }
.story-video-title + .t-lead { margin-top: 1rem; }
.story-name { display: block; font-size: 1.05rem; font-weight: var(--font-weight-extrabold); color: var(--color-text-primary); }
.story-source { display: block; margin-top: 0.2rem; font-size: 0.92rem; color: var(--color-text-secondary); }
@media (max-width: 880px) {
  .story-split { grid-template-columns: 1fr; gap: 2rem; }
  .story-media img { aspect-ratio: 3 / 2; }
}

/* ── Proof ─────────────────────────────────────────────────────── */
.proof-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.proof-copy > * + * { margin-top: 1.5rem; }
.proof-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.proof-stats .stat { background: #fff; border: 1px solid var(--color-border-subtle); border-radius: 1.8rem; padding: 1.8rem; box-shadow: var(--shadow-subtle); }
.proof-stats .stat-num { font-size: 3rem; }
/* Whole number in brand gradient; label below stays solid dark */
.proof-stats .stat-num .t-gradient { display: inline; }
/* These cards are white even though the section is navy, so the on-dark
   periwinkle→ice ramp would vanish here — use the on-light direction,
   periwinkle deepening to steel. */
.section--navy .proof-stats .t-gradient { background-image: var(--gradient-light-on-light); }
.proof-stats .stat-label { color: var(--color-text-primary); }
@media (max-width: 880px) {
  .proof-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 420px) {
  .proof-stats { grid-template-columns: 1fr; }
}

/* ── Outcomes / stats band ─────────────── */
/* Full-bleed: the box grid touches the section above and both screen edges */
.stats-band { padding-block: 0; }
.stats-band .container { max-width: none; padding-inline: 0; width: 100%; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--color-border-default);
  border-left: 1px solid var(--color-border-default);
}
.stat-block {
  padding: 1.55rem 1.7rem 1.7rem;
  border-right: 1px solid var(--color-border-default);
  border-bottom: 1px solid var(--color-border-default);
}
.stat-block-num {
  font-size: 3rem; font-weight: var(--font-weight-black);
  letter-spacing: -0.05em; line-height: 1;
  background-image: var(--gradient-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  width: fit-content;
}
.stat-block-num .t-gradient { -webkit-text-fill-color: transparent; }
.stat-block-label {
  margin-top: 0.8rem;
  font-size: 0.95rem; font-weight: var(--font-weight-extrabold);
  color: var(--color-text-primary); letter-spacing: var(--tracking-tight);
}
.stat-block-sub {
  margin-top: 0.4rem;
  font-size: 0.86rem; color: var(--color-text-secondary); line-height: 1.5;
}
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .stats-grid { grid-template-columns: 1fr; }
}

/* ── Mission / standard of care band (navy, breaks up the white) ─ */
.mission-band { border-top: 1px solid rgba(255,255,255,0.06); }
.mission-inner { max-width: 60rem; margin-inline: auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.6rem; }
.mission-statement {
  font-family: var(--font-family-display);
  font-size: clamp(1.6rem, 3.2vw, 2.35rem);
  font-weight: var(--font-weight-heading);
  letter-spacing: -0.01em;
  line-height: 1.35; color: #ffffff;
  text-wrap: balance;
}
.mission-statement .t-gradient {
  display: inline;
  background-image: var(--gradient-light-on-dark);
}
.mission-coda {
  font-size: 1.15rem; font-weight: var(--font-weight-bold);
  color: rgba(255,255,255,0.72); line-height: 1.5;
}

/* ── Testimonials slider (infinite auto-scroll) ────────────────── */
.testi-marquee {
  position: relative;
  margin-top: 3.5rem;
  overflow: hidden;
  padding-block: 1.5rem;            /* room for the cards' hover lift + shadow */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.testi-marquee-track {
  display: flex;
  width: max-content;
  animation: testi-scroll 60s linear infinite;
}
.testi-marquee:hover .testi-marquee-track { animation-play-state: paused; }
.testi-marquee-track .testi-card {
  width: min(29rem, 82vw);
  flex-shrink: 0;
  margin-right: 2rem;               /* uniform cell (incl. last) keeps the 50% loop seamless */
}
/* Two identical sets of 5 cards; shifting one full set = -50% of the track. */
@keyframes testi-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .testi-marquee-track { animation: none; }
}

/* ── How-it-works video explainer ──────── */
.video-split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 4.5rem; align-items: center; }
.video-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-image-large);
  background: #0b0f14;
}
.video-frame { position: relative; aspect-ratio: 16 / 9; }
.video-frame iframe,
.video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.video-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1.4rem; }
.video-copy .t-lead strong { color: var(--color-text-primary); font-weight: var(--font-weight-bold); }
.video-checks { list-style: none; margin: 0.2rem 0 0.4rem; padding: 0; display: flex; flex-direction: column; gap: 0.9rem; width: 100%; }
.video-checks li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 1.02rem; line-height: 1.4;
  font-weight: var(--font-weight-medium); color: var(--color-text-body);
}
.video-checks li em { font-style: italic; }
.video-checks svg { width: 20px; height: 20px; color: var(--color-status-success); flex-shrink: 0; margin-top: 0.1rem; }
.video-copy .hero-actions { margin-top: 0.6rem; }
@media (max-width: 980px) {
  .video-split { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ── Pure Difference (intro + 6 glass cards on navy) ──────────── */
.difference-split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 4.5rem; align-items: start; }
.difference-intro { display: flex; flex-direction: column; align-items: flex-start; gap: 1.6rem; }
@media (min-width: 981px) { .difference-intro { position: sticky; top: 7rem; } }
.difference-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.diff-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 1.75rem;
  padding: 1.7rem 1.6rem;
  display: flex; flex-direction: column; gap: 0.9rem;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background var(--duration-medium) ease, border-color var(--duration-medium) ease, transform var(--duration-medium) ease;
}
.diff-card:hover { background: rgba(255,255,255,0.08); border-color: var(--color-border-brand-30); transform: translateY(-3px); }
.diff-card .icon-chip { background: rgba(154,185,223,0.16); color: var(--color-brand-secondary); }
.diff-card:hover .icon-chip { background-image: var(--gradient-brand); background-color: transparent; color: #fff; }
.diff-card h3 { font-size: 1.05rem; color: #fff; line-height: 1.3; letter-spacing: var(--tracking-tight); }
.diff-card p { font-size: 0.9rem; color: rgba(255,255,255,0.72); line-height: 1.55; }
@media (max-width: 980px) {
  .difference-split { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 520px) {
  .difference-cards { grid-template-columns: 1fr; }
}

/* ── Service areas (GBP map) ───────────────────────────────────── */
.areas-section { background-color: var(--color-surface-section); border-top: 1px solid var(--color-border-subtle); }
.areas-split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 4rem; align-items: center; }
.areas-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1.4rem; }
.areas-list {
  list-style: none; margin: 0.2rem 0 0.4rem; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem 1.5rem; width: 100%;
}
.areas-list li {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 1.02rem; font-weight: var(--font-weight-bold); color: var(--color-text-primary);
}
.areas-list svg { width: 18px; height: 18px; color: var(--color-brand-primary); flex-shrink: 0; }
.areas-map {
  position: relative; aspect-ratio: 16 / 11;
  border-radius: var(--radius-card); overflow: hidden;
  border: 1px solid var(--color-border-subtle); box-shadow: var(--shadow-image);
}
.areas-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 880px) {
  .areas-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .areas-map { aspect-ratio: 4 / 3; }
}
