.hero-image{cursor:zoom-in}
.hero-image:focus-visible{outline:3px solid #fff;outline-offset:-6px}
.about-photo-button{display:block;width:100%;padding:0;border:0;background:none;cursor:zoom-in}
.about-photo-button img{display:block}
.about-photo-button:focus-visible{outline:3px solid #927b50;outline-offset:4px}
.lightbox figure img{width:auto;height:auto;max-width:100%;object-fit:contain;aspect-ratio:auto}

/* Newborn images keep their complete composition in the portfolio preview. */
.photo-grid[data-category="Newborn"] .photo-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto !important;
  object-fit: contain;
}
.photo-grid[data-category="Newborn"] .photo-card:hover img { transform: none; }

/* Each next photo follows the previous one without empty fixed-height rows. */
.photo-grid[data-category="Newborn"] {
  --newborn-gap: 18px;
  grid-auto-rows: 1px;
  grid-auto-flow: row dense;
  row-gap: 0;
  column-gap: 18px;
}
.photo-grid[data-category="Newborn"] .photo-card:nth-child(n) { padding-top: 0; }
@media (max-width: 600px) {
  .photo-grid[data-category="Newborn"] { --newborn-gap: 16px; column-gap: 12px; }
}
