/* Round 2: focused opportunity cards and legible industry context. */
.leak-section {
  --problem-card-width: 380px;
  --problem-card-gap: 26px;
}
.leak-section .leak-window {
  padding-block: 22px 32px;
}
.leak-section .leak-track {
  gap: var(--problem-card-gap);
  padding-inline: max(24px, calc((100vw - var(--problem-card-width)) / 2));
}
.leak-section .leak-card {
  width: var(--problem-card-width);
  flex: 0 0 var(--problem-card-width);
  min-height: 355px;
  padding: 32px;
  border-radius: 14px;
  position: relative;
  transform: scale(.86);
  transform-origin: center;
  opacity: .5;
  filter: blur(.6px);
  transition: transform .5s cubic-bezier(.2,.65,.2,1), opacity .5s ease;
  will-change: transform, opacity;
}
.leak-section .leak-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  pointer-events: none;
  border: 1px solid rgba(157,254,203,.8);
  border-radius: inherit;
  box-shadow: 0 0 32px rgba(73,231,193,.15), inset 0 0 22px rgba(157,254,203,.025);
  opacity: 0;
  transition: opacity .5s ease;
}
.leak-section .leak-card.is-focused {
  transform: scale(1);
  opacity: 1;
  filter: none;
}
.leak-section .leak-card.is-focused::after { opacity: 1; }
.leak-section .leak-card h3 {
  max-width: none;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -.7px;
}
.leak-section .leak-card p {
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.65;
  color: #c2ccc6;
}
.leak-section .leak-top { margin-bottom: 27px; }
.leak-section .leak-top > span { font-size: 11px; }
.leak-section .leak-line { margin-top: auto; padding-top: 0; transform: translateY(12px); }
.leak-section .problem-dots { display: none; }
.leak-section .industry-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 80px;
  padding-bottom: 104px;
  row-gap: 66px;
}
.leak-section .stat {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 30px;
  border-right: 1px solid var(--line);
  border-bottom: 0;
}
.leak-section .stat:first-child { padding-left: 0; }
.leak-section .stat:nth-child(3) { padding-right: 0; border-right: 0; }
.leak-section .stat-value {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  font-size: 96px;
  line-height: 1.08;
  letter-spacing: -5px;
  white-space: nowrap;
}
.leak-section .stat-value > span:nth-child(2) { font-size: inherit; }
.leak-section .stat-fraction { padding-left: 0; letter-spacing: -5px; }
.leak-section .stat-in {
  display: inline-block;
  padding-inline: 9px;
  vertical-align: baseline;
  font-size: 34px;
  letter-spacing: -1px;
  font-weight: 500;
}
.leak-section .stat .stat-caption {
  font-size: 20px;
  line-height: 1.55;
  color: #f3f7f5;
  margin: 22px 0 18px;
  min-height: 93px;
}
.leak-section .stat .stat-cost {
  font-size: 16px;
  line-height: 1.75;
  color: #a8b7ae;
  margin: 0 0 28px;
  flex: 1;
}
.leak-section .source-link {
  max-width: 100%;
  width: fit-content;
  font-size: 10px;
  line-height: 1.7;
  letter-spacing: 0;
}
.leak-section .stat > small {
  font-size: 10px;
  line-height: 1.65;
  margin-top: 10px;
  color: #81998b;
}
.leak-section .stats-closing {
  grid-column: 1 / -1;
  padding-top: 34px;
  border-top: 1px solid var(--line);
  font-family: var(--heading);
  font-size: clamp(21px, 2.2vw, 30px);
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: -.65px;
  text-align: center;
  text-wrap: balance;
}
@media (min-width:768px) and (max-width:1050px) {
  .leak-section .stat { padding-inline: 22px; }
  .leak-section .stat .stat-caption { font-size: 18px; }
  .leak-section .stat-value { font-size: 80px; }
  .leak-section .stat-in { font-size: 28px; padding-inline: 6px; }
}
@media (max-width:767px) {
  .leak-section {
    --problem-card-width: min(345px, calc(100vw - 64px));
    --problem-card-gap: 12px;
  }
  .leak-section .leak-pin { padding-bottom: 20px; }
  .leak-section .section-intro { margin-bottom: 22px; }
  .leak-section .leak-window {
    overflow-x: auto;
    padding-block: 20px 26px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .leak-section .leak-track {
    gap: var(--problem-card-gap);
    padding-inline: calc((100vw - var(--problem-card-width)) / 2);
    transform: none !important;
  }
  .leak-section .leak-card {
    min-height: 355px;
    max-width: none;
    padding: 28px;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }
  .leak-section .leak-card h3 { font-size: 24px; }
  .leak-section .leak-card p { font-size: 17px; }
  .leak-section .problem-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 16px;
    margin: 0 0 20px;
  }
  .leak-section .problem-dots span {
    width: 6px;
    height: 6px;
    background: var(--mint);
    border-radius: 50%;
    opacity: .22;
    transform: scale(.8);
    transition: opacity .35s ease, transform .35s ease;
  }
  .leak-section .problem-dots span.is-active { opacity: 1; transform: scale(1.2); }
  .leak-section .industry-stats {
    grid-template-columns: 1fr;
    padding-top: 30px;
    padding-bottom: 72px;
    gap: 0;
  }
  .leak-section .stat,
  .leak-section .stat:first-child,
  .leak-section .stat:nth-child(3) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 35px 0;
  }
  .leak-section .stat-value {
    font-size: 64px;
    letter-spacing: -3px;
  }
  .leak-section .stat-fraction { letter-spacing: -3px; }
  .leak-section .stat-in { font-size: 25px; letter-spacing: -.7px; padding-inline: 7px; }
  .leak-section .stat .stat-caption {
    min-height: 0;
    font-size: 19px;
    line-height: 1.55;
    margin: 17px 0 13px;
  }
  .leak-section .stat .stat-cost { font-size: 16px; margin-bottom: 22px; }
  .leak-section .stats-closing {
    border-top: 0;
    font-size: 24px;
    line-height: 1.5;
    padding-top: 38px;
    text-align: left;
    letter-spacing: -.6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .leak-section .leak-card,
  .leak-section .leak-card.is-focused {
    transform: none;
    filter: none;
    transition: opacity .15s ease;
  }
  .leak-section .leak-window { scroll-behavior: auto; }
  .leak-section .problem-dots span { transition: opacity .15s ease; }
}
