.closing-poster { z-index: -3; }
.closing-poster img { object-position: center 60%; }
.closing-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1s ease;
}
.closing-video.is-playing { opacity: 1; }
.invitation:has(.closing-video) .invitation-shade {
  background: linear-gradient(180deg,rgba(12,28,21,.10),rgba(12,28,21,.35) 50%,rgba(12,28,21,.20));
}
.invitation:has(.closing-video) .invitation-content { text-shadow: 0 2px 16px rgba(4,28,24,.45); }
@media(max-width:700px) {
  .closing-video, .closing-poster img { object-position: center; }
}
@media(prefers-reduced-motion:reduce) {
  .closing-video { display: none; transition: none; }
}
