/* HERO – controlled editorial overlap */
.hero-collage {
  position: relative;
  max-width: 620px;
  margin-left: auto;
}

.hero-img {
  position: absolute;
  border-radius: 26px;
  box-shadow: var(--shadow);
  border: 6px solid #fff;
}

.hero-img.tall {
  width: 65%;
  right: 0;
  top: 10%;
  z-index: 1;
}

.hero-img.top {
  width: 48%;
  top: 0;
  left: 0;
  z-index: 2;
}

.hero-img.bottom {
  width: 48%;
  bottom: 0;
  left: 10%;
  z-index: 3;
}

/* GALLERY – premium offset grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 26px;
  box-shadow: var(--shadow);
}

/* stagger layout */
.gallery-grid img:nth-child(1) { grid-column: span 5; }
.gallery-grid img:nth-child(2) { grid-column: span 4; margin-top: 40px; }
.gallery-grid img:nth-child(3) { grid-column: span 3; }

.gallery-grid img:nth-child(4) { grid-column: span 4; }
.gallery-grid img:nth-child(5) { grid-column: span 4; margin-top: -30px; }
.gallery-grid img:nth-child(6) { grid-column: span 4; }

/* mobile fix */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid img {
    grid-column: auto !important;
    margin-top: 0 !important;
  }

  .hero-collage {
    margin: 30px auto 0;
  }
}
