/* About page — Our Story two-column layout */

.about-story__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .about-story__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 4rem;
  }
}

.about-story__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: #2E3192;
  margin-bottom: 0.75rem;
}

.about-story__tagline {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(1.125rem, 2.5vw, 1.35rem);
  color: #2E3192;
  margin-bottom: 1.75rem;
  line-height: 1.45;
}

.about-story__body {
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.85;
}

.about-story__body p {
  margin-bottom: 1.15rem;
}

.about-story__facts {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-story__fact dt {
  font-weight: 700;
  color: #1f2937;
  font-size: 0.9375rem;
  margin-bottom: 0.35rem;
}

.about-story__fact dd {
  color: #6b7280;
  font-size: 0.9375rem;
  line-height: 1.7;
  margin: 0;
}

.about-story__stats-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 1.75rem;
  box-shadow: 0 16px 48px rgba(46, 49, 146, 0.1);
  border: 1px solid rgba(46, 49, 146, 0.08);
}

.about-story__stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.about-story__stat {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem 1.25rem;
  text-align: center;
  border: 1px solid rgba(46, 49, 146, 0.06);
  box-shadow: 0 4px 20px rgba(46, 49, 146, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-story__stat:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(46, 49, 146, 0.1);
}

.about-story__stat-value {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: #2E3192;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  min-height: 2.5rem;
}

.about-story__counter {
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
}

.about-story__counter.is-counting {
  animation: statPop 0.35s ease;
}

.about-story__stats-card.is-animated .about-story__stat {
  animation: statReveal 0.6s ease both;
  animation-delay: var(--stat-delay, 0s);
}

@keyframes statReveal {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes statPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.08); color: #00AEEF; }
  100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .about-story__stats-card.is-animated .about-story__stat,
  .about-story__counter.is-counting {
    animation: none;
  }
}

.about-story__stat-label {
  font-size: 0.8125rem;
  color: #6b7280;
  line-height: 1.45;
}
