/* ─────────────────────────────────────────────────────────────────
   wave1-mold-remediation.css — page-specific additions for the wave-1
   rebuild of /mold-remediation-pueblo-co on the original hand-designed
   service layout. Everything else comes from theme/site/service-page/
   remediation/geo. Owns: the intro + photo split, the Pueblo moisture
   "drivers" cards, the child-page room grid, and the "Varies" cell in
   the comparison table.
   ───────────────────────────────────────────────────────────────── */

/* ── Intro: prose + before-strip figure ─────────────────────────── */
.w1-intro {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}
.w1-intro .geo-prose { margin: 0; max-width: 62ch; }
.w1-intro-figure { margin: 0; }
.w1-intro-figure img {
  display: block;
  width: 100%;
  height: auto;
}
.w1-intro-figure figcaption {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
  text-align: center;
}
@media (max-width: 1000px) {
  .w1-intro { grid-template-columns: 1fr; gap: 2rem; }
  .w1-intro .geo-prose { max-width: none; }
}

/* ── Pueblo moisture drivers ─────────────────────────────────────── */
.w1-drivers {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  grid-template-rows: repeat(3, auto);
  gap: 1.25rem;
}
.w1-driver {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-card);
  padding: 1.9rem 2rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: border-color 0.4s var(--ease-brand), box-shadow 0.4s var(--ease-brand);
}
.w1-driver::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background-image: var(--gradient-brand);
}
.w1-driver:hover {
  border-color: var(--color-border-brand-30);
  box-shadow: var(--shadow-card);
}
.w1-driver.feature { grid-row: 1 / span 3; }
.w1-driver-photo {
  margin: -1.9rem -2rem 0.4rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
/* desktop: the feature photo grows to fill the card beside the three stacked cards */
@media (min-width: 1001px) {
  .w1-driver.feature .w1-driver-photo { flex: 1 1 auto; aspect-ratio: auto; min-height: 260px; }
}
.w1-driver-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(10%);
}
.w1-driver-stat {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
}
.w1-driver-stat .t-stat {
  font-family: var(--font-family-display);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}
.w1-driver-lbl {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  line-height: 1.35;
  max-width: 30ch;
}
.w1-driver p {
  margin: 0;
  font-size: 0.9875rem;
  line-height: 1.65;
  color: var(--color-text-body);
}
.w1-driver p a {
  color: var(--color-brand-primary-700);
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (max-width: 1000px) {
  .w1-drivers { grid-template-columns: 1fr; grid-template-rows: none; }
  .w1-driver.feature { grid-row: auto; }
}
@media (max-width: 640px) {
  .w1-driver { padding: 1.5rem 1.35rem; }
  .w1-driver-photo { margin: -1.5rem -1.35rem 0.4rem; }
}

/* ── Child pages: room grid ──────────────────────────────────────── */
.w1-rooms {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.w1-room {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-card);
  padding: 1.5rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition:
    transform 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out),
    border-color 0.3s var(--ease-out);
}
.w1-room:hover {
  border-color: var(--color-border-brand-30);
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}
.w1-room-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  background: var(--color-surface-subtle);
  color: var(--color-brand-primary-700);
  display: inline-flex; align-items: center; justify-content: center;
}
.w1-room-icon svg { width: 20px; height: 20px; }
.w1-room h3 {
  margin: 0.25rem 0 0;
  font-size: 1.0625rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.w1-room h3 a { color: var(--color-text-primary); text-decoration: none; }
/* whole card is the click target; the anchor text stays the heading */
.w1-room h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.w1-room h3 a:focus-visible { outline: none; }
.w1-room:focus-within { outline: 2px solid var(--color-brand-primary-700); outline-offset: 2px; }
.w1-room p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--color-text-secondary);
}
.w1-related {
  margin: 2.25rem auto 0;
  max-width: 70ch;
  text-align: center;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-body);
}
.w1-related a {
  color: var(--color-brand-primary-700);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (max-width: 1200px) { .w1-rooms { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px)  { .w1-rooms { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .w1-rooms { grid-template-columns: 1fr; } }

/* ── Comparison: "Varies" cell ───────────────────────────────────── */
.compare-row .cell.w1-varies span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

/* ── Inline links inside leads on this page ─────────────────────── */
.commercial-band .copy .t-lead a,
.commercial-band ul li a {
  color: var(--color-brand-primary-700);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
