/* One-time entrances: progressive enhancement adds these classes only below
   the initial viewport. No section, body, or scrolling surface is transformed. */
.motion-reveal {
  transition: opacity 520ms cubic-bezier(.2,.65,.3,1), transform 520ms cubic-bezier(.2,.65,.3,1);
}
.motion-pending:not(:focus-within) {
  opacity: 0;
  transform: translateY(16px);
}
.motion-static {
  transition: none;
}

/* Light is confined to photo wrappers. Captions and controls stay above it. */
[data-light-reactive] {
  position: relative;
  isolation: isolate;
}
[data-light-reactive]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(240px circle at var(--light-x, 50%) var(--light-y, 50%), rgba(235,134,176,.19), rgba(104,168,220,.10) 42%, transparent 72%);
  mix-blend-mode: screen;
  transition: opacity 240ms ease;
}
[data-light-reactive].is-light-active::after {
  opacity: 1;
}
.venue-photo .photo-index,
.venue-photo .photo-arrow {
  z-index: 2;
}
.venue-photo img {
  transition: transform 600ms cubic-bezier(.2,.65,.3,1);
}
.venue-photo:hover img {
  transform: none;
}
.venue-photo .photo-arrow {
  transition: transform 320ms cubic-bezier(.2,.65,.3,1);
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .venue-photo:hover img {
    transform: scale(1.025);
  }
  .venue-photo:hover .photo-arrow {
    transform: translate(2px,-2px);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .venue-photo:focus-visible img {
    transform: scale(1.025);
  }
  .venue-photo:focus-visible .photo-arrow {
    transform: translate(2px,-2px);
  }
}
@media (prefers-reduced-motion: reduce), print {
  .motion-reveal,
  .motion-pending {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  [data-light-reactive]::after {
    display: none;
  }
  .venue-photo:hover img,
  .venue-photo:focus-visible img,
  .venue-photo .photo-arrow {
    transform: none !important;
  }
}
