/* WhyBbaSection component: the page's one dark section, a pause before Contact. */

.inc-why {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--space-section) * 1.35) 0;
  background: var(--dark-bg);
  border-block: 1px solid var(--dark-line);
  color: var(--dark-text);
  font-family: var(--bba-font);
}

.inc-why__glow {
  position: absolute;
  inset: -20% -10% auto;
  z-index: -1;
  height: 70%;
  background: radial-gradient(ellipse 50% 60% at 50% 0%, color-mix(in srgb, var(--dark-accent) 14%, transparent), transparent 70%);
  pointer-events: none;
}

.inc-why__wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.inc-why__head {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.inc-why__title {
  margin: 0;
  font-size: clamp(1.875rem, 1.4rem + 2vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.inc-why__intro {
  max-width: 700px;
  margin: 20px auto 0;
  color: var(--dark-muted);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.55;
}

.inc-why__body {
  display: grid;
  gap: 40px;
  margin-top: var(--space-intro);
}

/* Founder */
.inc-why__founder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.inc-why__photo {
  flex-shrink: 0;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--dark-line), 0 0 0 6px var(--dark-surface);
}

.inc-why__photo--initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-surface);
  color: var(--dark-muted);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.inc-why__founder-text {
  min-width: 0;
}

.inc-why__quote {
  position: relative;
  margin: 0 0 20px;
  padding: 4px 0 0 20px;
  border-left: 2px solid var(--dark-accent);
  text-align: left;
}

.inc-why__quote::before {
  content: "\201C";
  position: absolute;
  top: -28px;
  left: 14px;
  color: var(--dark-accent);
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
}

/* Room for the large opening mark, which sits above the quote. */
.inc-why__founder .inc-why__quote {
  margin-top: 24px;
}

.inc-why__quote p {
  margin: 0;
  font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
  font-style: italic;
  line-height: 1.45;
}

.inc-why__name {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

.inc-why__name cite {
  font-style: normal;
}

.inc-why__role,
.inc-why__credential {
  margin: 4px 0 0;
  color: var(--dark-muted);
  font-size: 15px;
  line-height: 1.5;
}

/* Pillars */
.inc-why__pillars {
  margin: 0;
  padding: 0;
  list-style: none;
}

.inc-why__pillar {
  display: flex;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--dark-line);
}

.inc-why__pillar:last-child {
  border-bottom: 1px solid var(--dark-line);
}

.inc-why__icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  margin-top: 2px;
  color: var(--dark-accent);
}

.inc-why__pillar-title {
  margin: 0;
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.inc-why__pillar-text {
  margin: 6px 0 0;
  color: var(--dark-muted);
  font-size: 16px;
  line-height: 1.55;
}

/* Stats */
.inc-why__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: var(--space-intro) 0 0;
  padding: 0;
  border-block: 1px solid var(--dark-line);
  list-style: none;
}

.inc-why__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 24px 6px;
  text-align: center;
}

.inc-why__stat + .inc-why__stat {
  border-left: 1px solid var(--dark-line);
}

.inc-why__stat-num {
  color: var(--dark-accent);
  font-size: clamp(2rem, 1.5rem + 2.4vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.inc-why__stat-label {
  color: var(--dark-muted);
  font-size: 13px;
  line-height: 1.35;
}

.inc-why__backed {
  margin: 20px 0 0;
  color: var(--dark-muted);
  font-size: 13px;
  text-align: center;
}

/* Proof blocks (only rendered with real data) */
.inc-why__proof {
  display: grid;
  gap: 24px;
  margin-top: var(--space-intro);
}

.inc-why__proof-label {
  margin: 0 0 14px;
  color: var(--dark-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.inc-why__logos {
  text-align: center;
}

.inc-why__logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.inc-why__logo {
  display: block;
  width: auto;
  height: 40px;
  opacity: 0.85;
  filter: brightness(0) invert(1);
}

.inc-why__card {
  margin: 0;
  padding: 28px 24px;
  border: 1px solid var(--dark-line);
  border-radius: 20px;
  background: var(--dark-surface);
}

.inc-why__card .inc-why__quote {
  margin-top: 16px;
}

.inc-why__card-cite {
  margin-top: 12px;
  color: var(--dark-muted);
  font-size: 15px;
}

.inc-why__card-cite cite {
  color: var(--dark-text);
  font-style: normal;
  font-weight: 600;
}

.inc-why__story-grid {
  display: grid;
  gap: 16px;
  margin: 0;
}

.inc-why__story-grid dt {
  color: var(--dark-accent);
  font-size: 13px;
  font-weight: 700;
}

.inc-why__story-grid dd {
  margin: 4px 0 0;
  font-size: 16px;
  line-height: 1.55;
}

@media (min-width: 640px) {
  .inc-why__wrap {
    padding: 0 32px;
  }

  .inc-why__stat {
    padding: 28px 12px;
  }

  .inc-why__stat-label {
    font-size: 14px;
  }

  .inc-why__story-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Tablet: founder photo left, text right. */
@media (min-width: 768px) {
  .inc-why__founder {
    flex-direction: row;
    align-items: flex-start;
    gap: 28px;
    text-align: left;
  }

  .inc-why__photo {
    width: 128px;
    height: 128px;
  }

  .inc-why__proof {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }

  .inc-why__logos {
    grid-column: 1 / -1;
  }
}

/* Desktop: founder ~40% left, pillars ~60% right. */
@media (min-width: 1024px) {
  .inc-why__wrap {
    padding: 0 48px;
  }

  .inc-why__body {
    grid-template-columns: 2fr 3fr;
    align-items: start;
    gap: clamp(48px, 5vw, 96px);
  }

  .inc-why__founder {
    flex-direction: column;
    gap: 24px;
  }

  .inc-why__pillar {
    padding: 26px 0;
  }
}

/* Scroll-in (reveal.js): founder then pillars rise in order. */
.inc-why__body[data-armed] .inc-why__founder,
.inc-why__body[data-armed] .inc-why__pillar {
  animation: inc-rise 500ms var(--bba-ease) both;
  animation-delay: calc(var(--i, 0) * 100ms);
}

.inc-why__body[data-armed]:not([data-in]) .inc-why__founder,
.inc-why__body[data-armed]:not([data-in]) .inc-why__pillar {
  animation-play-state: paused;
}
