/* ==========================================================================
   BAB 90-Day Alpha Effect — Full-bleed hero with fact card carousel
   ========================================================================== */

.bab-alpha-effect {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.bab-alpha-effect__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.bab-alpha-effect__bg img,
.bab-alpha-effect__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 92%;
  display: block;
}

.bab-alpha-effect__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.25) 50%,
    transparent 100%
  );
  z-index: 1;
}

.bab-alpha-effect__inner {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 40px;
  width: 100%;
}

/* --- Text Content --- */
.bab-alpha-effect__headline {
  font-family: termina, sans-serif;
  font-weight: 500;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 20px;
}

.bab-alpha-effect__blurb {
  font-family: new-science-mono, sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.7;
  color: #fff;
  max-width: 480px;
  margin: 0 0 36px;
}

/* --- Fact Card Carousel --- */
.bab-alpha-effect__card {
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 420px;
  position: relative;
}

.bab-alpha-effect__slides-wrap {
  overflow: hidden;
}

.bab-alpha-effect__slides {
  display: grid;
}

.bab-alpha-effect__slide {
  grid-area: 1 / 1;
  padding: 28px 32px 0;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.bab-alpha-effect__slide.is-active {
  opacity: 1;
}

.bab-alpha-effect__fact-label {
  font-family: new-science-mono, sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1a1a1a;
  margin: 0 0 14px;
}

.bab-alpha-effect__fact-divider {
  width: 100%;
  height: 1px;
  background: #ccc;
  margin-bottom: 16px;
}

.bab-alpha-effect__fact-stat {
  font-family: new-science-mono, sans-serif;
  font-weight: 400;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #1a1a1a;
  margin: 0 0 8px;
}

.bab-alpha-effect__fact-desc {
  font-family: new-science-mono, sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #555;
  margin: 0;
  line-height: 1.5;
}

/* --- Dot Progress Indicators --- */
.bab-alpha-effect__dots {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
  padding: 20px 32px 24px;
}

.bab-alpha-effect__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(26, 26, 26, 0.25);
  border: none;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transition: width 0.3s ease, border-radius 0.3s ease, background 0.3s ease;
}

.bab-alpha-effect__dot.is-active {
  width: 32px;
  border-radius: var(--radius-md);
  background: rgba(26, 26, 26, 0.15);
}

.bab-alpha-effect__dot::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: #1a1a1a;
}

.bab-alpha-effect__dot.is-active::before {
  animation: alpha-dot-fill 5s linear forwards;
}

@keyframes alpha-dot-fill {
  from { width: 0; }
  to { width: 100%; }
}

/* --- Tablet --- */
@media (max-width: 1024px) {
  .bab-alpha-effect {
    min-height: 600px;
  }
}

/* --- Mobile --- */
@media (max-width: 767px) {
  .bab-alpha-effect {
    min-height: 700px;
    align-items: flex-end;
  }

  .bab-alpha-effect__inner {
    padding: 40px 20px 40px;
  }

  .bab-alpha-effect__headline {
    max-width: 75%;
  }

  .bab-alpha-effect__blurb {
    font-size: 0.65rem;
    max-width: 75%;
    margin-bottom: 24px;
  }

  .bab-alpha-effect__card {
    max-width: 85%;
  }

  .bab-alpha-effect__slide {
    padding: 20px 20px 0;
  }

  .bab-alpha-effect__fact-stat {
    font-size: 2.5rem;
  }
}
