html,

body.photo-room {
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

body.photo-room {
  background: #070605;
  color: var(--color-text);
  font-family: var(--font-sans);
}


.photo-work-page {
  min-height: 100svh;
  padding: 12vh 6vw 14vh;
}

.photo-work-layout {
  width: min(88vw, 1180px);
  margin: 0 auto;
  display: grid;
  grid-template-columns:
   var(--curator-column)
        1fr;

  gap: var(--gallery-gap);
}

.photo-work-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: brightness(.76) contrast(.98) saturate(.88);
}

.photo-label,
.photo-work-meta {
  font-size: .72rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(245,243,238,.46);
}

.photo-work-info {
    min-width: 460px;
}

.photo-work-info h1 {
  margin-top: 1.5rem;
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 4.4vw, 4.6rem);
  font-weight: 300;
  line-height: .95;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.photo-work-meta {
  margin-top: 1.25rem;
}

.photo-work-description {
  margin-top: 2.4rem;
  max-width: var(--reading-width);
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(245,243,238,.68);
}

.photo-production-note {
  margin-top: 1rem;
  font-size: .78rem;
  line-height: 1.6;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(245,243,238,.45);
}

.photo-statement {
  width: min(82vw, 760px);
  margin: 6vh auto 0;
  text-align: center;
}

.photo-curator-note {
  max-width: 34rem;
  margin: 0 auto;
  font-family: var(--font-sans);
  font-size: clamp(.95rem, 1.1vw, 1.1rem);
  font-weight: 300;
  line-height: 1.85;
  letter-spacing: .025em;
  color: rgba(245,243,238,.76);
}

.photo-footer-bar {
  width: min(90vw, 1200px);
  margin: 8vh auto 0;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(245,243,238,.14);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  align-items: start;
}


.photo-gallery {
  width: min(92vw, 1500px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 2rem;
  overflow: visible;
}

.photo-gallery.is-visible {
  opacity: 1;
  max-height: 3000px;
  padding-top: 2rem;
  transform: translateY(0);
}

.photo-gallery img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  cursor: zoom-in;
}

@media (max-width: 780px) {
  .photo-work-layout,
  .photo-footer-bar {
    grid-template-columns: 1fr;
  }

  .photo-work-page {
    padding: 12vh 6vw;
  }

  .photo-work-image {
    aspect-ratio: 4 / 5;
  }
}