/* page-scoped: stacked hero — text first, then a full-width banner photo, no frame */
.hero-stacked {
  display: block;
  padding: 56px 0 40px;
}

.hero-stacked .hero-heading {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.hero-stacked .hero-body {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.hero-stacked .hero-body .hero-ctas {
  justify-content: center;
}

.hero-photo-full {
  width: 80%;
  max-width: 900px;
  aspect-ratio: 2.4/1;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 36px auto;
}

@media (max-width:700px) {
  .hero-photo-full {
    aspect-ratio: 4/3;
  }
}

/* page-scoped: scroll-triggered entrance animation + staggered card reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-group .card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}

.reveal-group.in-view .card {
  opacity: 1;
  transform: translateY(0);
}

.reveal-group .card:nth-child(1) {transition-delay: .03s;}

.reveal-group .card:nth-child(2) {transition-delay: .08s;}

.reveal-group .card:nth-child(3) {transition-delay: .13s;}

.reveal-group .card:nth-child(4) {transition-delay: .18s;}

.reveal-group .card:nth-child(5) {transition-delay: .23s;}

.reveal-group .card:nth-child(6) {transition-delay: .28s;}

.reveal-group .card:nth-child(7) {transition-delay: .33s;}

.reveal-group .card:nth-child(8) {transition-delay: .38s;}

.reveal-group .card:nth-child(9) {transition-delay: .43s;}

.reveal-group .card:nth-child(10) {transition-delay: .48s;}

@media (prefers-reduced-motion: reduce) {

  .reveal,
  .reveal-group .card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* page-scoped: full-bleed photo-backed stats band, replacing the plain bordered stat-strip */
.stat-band {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: linear-gradient(rgba(18, 32, 22, 0.82), rgba(18, 32, 22, 0.82)), url('images/gallery/compound.jpg');
  background-size: cover;
  background-position: center;
  padding: 56px 24px;
}

.stat-band-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-band .stat {
  padding: 10px 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.stat-band .stat:first-child {
  border-left: none;
}

.stat-band .fig-label {
  color: var(--amber);
}

.stat-band .stat strong {
  color: #fff;
}

.stat-band .stat .label {
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 760px) {
  .stat-band-inner {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 28px;
  }

  .stat-band .stat:nth-child(3) {
    border-left: none;
  }
}