/* Shared progressive entrance. The underlying HTML/CSS is always the finished view. */
.hero-entrance-controls { display: block; }
.hero-entrance-replay { border: 0; background: transparent; padding-inline: 0; }
.hero-entrance-replay[hidden] { display: none; }
.hero-entrance-replay:disabled { color: var(--text-muted); cursor: default; }
/* Photo stacking and the outer stage stay identical throughout the entrance.
   Only the photo's own frame crops its cover image; no rotated corner is released late. */
.hero-entrance-mask { overflow: clip; }
.hero-entrance-mask > [data-hero-slide] { display: block; }
:is(.hero-entrance-pending, .hero-entrance-running) [data-hero-photo] { max-width: none; }
:is(.hero-entrance-pending, .hero-entrance-running) [data-hero-reveal] { clip-path: inset(0 0 100% 0); }
.hero-entrance-running [data-hero-reveal-kind="title"] { clip-path: none; }
:is(.hero-entrance-pending, .hero-entrance-running) [data-hero-slide] { transform: translateY(112%); }
