/* ============================================================
   PHOTOGRAPHY PAGE — photography.css
   ============================================================ */

.photo-page__sub {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
  margin-top: 0.5rem;
}

/* --- PAGE WRAPPER ----------------------------------------- */
.photo-page {
  padding: 2rem 0 6rem;
}

/* --- ROW: always 3 columns -------------------------------- */
.photo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

/* --- CELL ------------------------------------------------- */
.photo-cell {
  overflow: hidden;
  border-radius: 0.75rem;
}

.photo-cell__inner {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 0.75rem;
  background: var(--cream);
}

.photo-cell__inner--portrait {
  aspect-ratio: 2 / 3;
}

.photo-cell__inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}

.photo-cell:hover .photo-cell__inner img {
  transform: scale(1.04);
}

/* --- PLACEHOLDER ----------------------------------------- */
.photo-cell__inner--placeholder {
  background: var(--tan);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.4;
}

.photo-cell__inner--placeholder span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brown);
}

/* --- RESPONSIVE ------------------------------------------- */
@media (max-width: 768px) {
  .photo-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .photo-row {
    grid-template-columns: 1fr;
  }
}
