.gallery-page { padding: 5rem 5.5rem; }
.gallery-page-header { margin-bottom: 3.5rem; }
.gallery-page-header p {
  color: var(--muted);
  margin-top: 0.5rem;
  font-style: italic;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 300;
}
.gallery-rows { display: flex; flex-direction: column; gap: 6px; }
.gallery-row { display: grid; gap: 6px; height: clamp(380px, 48vw, 650px); }
.gallery-row.feature-left { grid-template-columns: 38fr 62fr; }
.gallery-row.feature-right { grid-template-columns: 62fr 38fr; }
.gallery-item { overflow: hidden; position: relative; background: var(--forest); }
.gallery-item:not(.is-video) { cursor: zoom-in; }
.gallery-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.8s cubic-bezier(0.25,0.46,0.45,0.94);
}
.gallery-item:not(.is-video):hover .gallery-media { transform: scale(1.03); }
.gallery-item video { width: 100%; height: 100%; object-fit: cover; display: block; }
.lb {
  position: fixed;
  inset: 0;
  background: rgba(41,73,52,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 2rem;
  cursor: zoom-out;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.lb.open { opacity: 1; pointer-events: all; }
.lb img {
  max-width: 100%;
  max-height: 90dvh;
  object-fit: contain;
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
  border-radius: 2px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.45);
}
.lb.open img { transform: scale(1); }
.lb-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: rgba(247,244,236,0.6);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem 0.5rem;
  transition: color 0.15s;
}
.lb-close:hover { color: var(--cream); }
.gallery-empty {
  color: var(--muted);
  font-style: italic;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 300;
  padding: 3rem 0;
}
@media (max-width: 900px) {
  .gallery-page { padding: 3rem 2.5rem; }
  .gallery-row { height: clamp(260px, 55vw, 460px); }
}
@media (max-width: 480px) {
  .gallery-page { padding: 2.5rem 1.25rem; }
  .gallery-row { grid-template-columns: 1fr !important; height: auto; }
  .gallery-item { height: 65vw; }
}
