/* The cake gallery strip on the home page (gallery-public.js).

   Kept out of site.css deliberately: the photos are a separate feature with a
   separate lifecycle, and this file can be added or dropped on its own. It
   matches the existing .ig-strip look, but the tiles are buttons rather than
   links because each one opens the larger photo in place. */

.ig-strip .shot {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  aspect-ratio: 1;
  overflow: hidden;
  border: none;
  border-radius: var(--r-sm, 2px);
  background: var(--cream-deep);
  box-shadow: 0 4px 14px rgba(20, 10, 6, .28);
  cursor: zoom-in;
  font-family: inherit;
}
.ig-strip .shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out, ease);
}
.ig-strip .shot:hover img,
.ig-strip .shot:focus-visible img { transform: scale(1.08); }

.ig-strip .shot .cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.4rem .7rem .6rem;
  background: linear-gradient(to top, rgba(30, 16, 10, .78), rgba(30, 16, 10, 0));
  color: #FBF5EB;
  font-size: .78rem;
  line-height: 1.35;
  text-align: left;
  opacity: 0;
  transition: opacity .25s ease;
}
.ig-strip .shot:hover .cap,
.ig-strip .shot:focus-visible .cap { opacity: 1; }

@media (hover: none) {
  .ig-strip .shot .cap { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .ig-strip .shot img, .ig-strip .shot .cap { transition: none; }
}
