/* Parallax depth gallery */
.parallax-stage {
  min-height: 180vh;
  padding: 12vh 0;
}

.parallax-header {
  position: sticky;
  top: 24px;
  z-index: 2;
  max-width: 680px;
  margin-bottom: 24vh;
}

.depth-grid {
  position: relative;
  display: grid;
  min-height: 120vh;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.depth-card {
  position: relative;
  min-height: clamp(220px, 34vw, 440px);
  overflow: hidden;
  border: 1px solid rgba(17, 19, 21, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent),
    var(--tone);
  box-shadow: var(--shadow);
}

.depth-card span {
  position: absolute;
  right: 18px;
  bottom: 14px;
  font-size: clamp(42px, 8vw, 100px);
  font-weight: 900;
  line-height: 0.8;
}

.depth-card:nth-child(1) {
  grid-column: 1 / span 5;
}

.depth-card:nth-child(2) {
  grid-column: 7 / span 6;
  margin-top: 14vh;
}

.depth-card:nth-child(3) {
  grid-column: 3 / span 6;
  margin-top: 4vh;
}

.depth-card:nth-child(4) {
  grid-column: 9 / span 4;
  margin-top: 18vh;
}

@media (max-width: 760px) {
  .depth-grid {
    grid-template-columns: 1fr;
  }

  .depth-card,
  .depth-card:nth-child(n) {
    grid-column: auto;
    margin-top: 0;
  }
}
