.photo-gallery-page .inner-hero h1 {
  margin-top: 16px;
}

.photo-album .section-head {
  margin-bottom: 22px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.6vw, 20px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.gallery-photo {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #e8f0f1;
  box-shadow: 0 10px 24px #142e4312;
}

.gallery-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-photo:focus-visible {
  outline: 3px solid #126764;
  outline-offset: 4px;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .gallery-photo img { transition: transform 180ms ease; }
  .gallery-photo:hover img { transform: scale(1.04); }
}

@media (max-width: 800px) {
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


.photo-album .section-head h2 { letter-spacing: -.035em; word-spacing: .12em; }
