.project-media:has([data-motion-thumbnail]){position:relative!important;inset:auto!important}
.project-media [data-motion-thumbnail]{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit;visibility:hidden;pointer-events:none}
.project-media [data-motion-thumbnail].is-playing{visibility:visible}

/* The reel uses the same clip and poster, with its existing 16:9 layout and 8px corners. */
.reel-motion{display:none;pointer-events:none}
.reel-cut.has-playing-video>img,.reel-grid figure.has-playing-video>img{display:none!important}
.home-page .work-reel .reel-cut.has-playing-video .reel-motion{display:block;position:relative;z-index:1;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;border-radius:8px;transform:scale(var(--reel-scale));transform-origin:center}
.home-page .work-reel .reel-grid figure.has-playing-video .reel-motion{display:block;width:100%;height:100%;min-height:0;min-width:0;object-fit:cover;border-radius:8px}
