/* ============================================
   BY THE NUMBERS - ANIMATED (Current Design)
   Matches your existing white card style
   Adds animation on scroll
   ============================================ */

/* Section Container - White Background */
.case-band--numbers {
  background: white;
  padding: 80px 40px;
  margin: 0;
}

.case-band__inner {
  max-width: 1400px;
  margin: 0 auto;
}

/* Heading - ALL CAPS Navy */
.case-band--numbers .section-heading {
  font-family: 'Barlow', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: #022351;
  text-align: left;
  margin-bottom: 40px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Stats Grid - 4 in a row */
.gdn-by-numbers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Stat Card - White with Border */
.gdn-stat {
  background: white;
  padding: 30px 24px;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gdn-stat:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* The Number - Navy, Large, Bold */
.gdn-stat__value {
  font-family: 'Barlow', sans-serif;
  font-weight: 800;
  font-size: 3rem;
  color: #022351;
  display: block;
  margin-bottom: 12px;
  line-height: 1;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animated State */
.gdn-stat.animated .gdn-stat__value {
  opacity: 1;
  transform: scale(1);
}

/* The Label - Gray, Smaller */
.gdn-stat__label {
  color: #6c757d;
  font-size: 0.9rem;
  line-height: 1.4;
  font-weight: 400;
}

/* Disclaimer/Methodology Text */
.stats-disclaimer {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
  color: #6c757d;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
  .gdn-by-numbers__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .case-band--numbers {
    padding: 60px 30px;
  }
}

/* Responsive - Mobile */
@media (max-width: 640px) {
  .gdn-by-numbers__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .case-band--numbers {
    padding: 50px 20px;
  }
  
  .gdn-stat__value {
    font-size: 2.5rem;
  }
  
  .gdn-stat {
    padding: 24px 20px;
  }
}
