body .nm-nav.nm-nav-light { background: transparent; box-shadow: none; pointer-events: none; }
body .nm-nav.nm-nav-light a { pointer-events: auto; }
.photo-tile { display: inline-block; max-width: 100%; cursor: pointer; }
.photo-tile img { border-radius: 8px; }
@keyframes photo-drift { to { transform: translateY(-12px); } }
@media (prefers-reduced-motion: no-preference) {
  .photo-tile.photo-in-view { animation: photo-drift 24s ease-in-out infinite alternate; }
}
html:has(.photo-viewer[open]) { overflow: hidden; }
.photo-viewer { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; overflow: hidden; background: transparent; cursor: pointer; }
.photo-viewer::backdrop { background: transparent; }
.photo-shade { position: absolute; inset: 0; background: rgba(20,20,20,.83); opacity: 0; }
.photo-enlarged { position: absolute; display: block; margin: 0; object-fit: cover; border-radius: 8px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .photo-tile img { transition: transform .3s ease; }
  .photo-tile:hover img { transform: translateY(-3px) scale(1.025); }
}
