.closing-picture > picture,
.closing-door-leaf {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* The photographed wall and its moving panel share the same coordinate system. */
.closing-invitation:has(.closing-join:is(:hover, :focus-visible)) .closing-picture img {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .closing-door-leaf { display: none; }
}
