.hero,.closing,.album-stage,.album__stage,.film,.gallery__stage,.album-frame,#entry,#welcome{position:relative;isolation:isolate}
.birthday-photo{position:absolute;inset:0;pointer-events:none;background-color:#2d3034}
.birthday-photo--hero{z-index:0;animation:birthday-zoom 15s ease-in-out infinite alternate}
.birthday-photo--album{z-index:2;transition:background-position .7s ease}
.birthday-photo--closing{z-index:0;animation:birthday-zoom 17s ease-in-out infinite alternate}
.birthday-photo--entry{z-index:0;opacity:0;transition:opacity .9s}
.birthday-entry-visible{opacity:.42}
.hero .hero-photo,.hero .hero__photo,.hero .hero-photo img,.closing .closing-photo,.closing .closing__photo,.closing .closing-photo img{opacity:0!important}
.album-stage .slide,.album__stage .album__slide,.album-frame .slide,.gallery__stage .gallery__slide,.film #film-photo{opacity:0!important}
.hero-copy,.hero__copy,.closing-copy,.closing__copy,.entry-content,.welcome-content,.welcome-title{position:relative;z-index:5}
.hero-shade,.hero-filter,.hero-tint,.closing-shade,.closing-filter{z-index:1}
.album-stage .album-controls,.album-stage .album-caption,.film .film-word,.film .film-controls{position:relative;z-index:4}
@keyframes birthday-zoom{from{transform:scale(1.015)}to{transform:scale(1.105)}}
@media(prefers-reduced-motion:reduce){.birthday-photo--hero,.birthday-photo--closing{animation:none}}

/* Leave the source compositions intact while quieting decorative motion. */

.reveal,.entrance{opacity:1!important;transform:none!important}
.hero > img:not(.hero__eclipse),.closing > img,.hero-media img,.closing__photo img,.gallery__stage img,.album-frame img{opacity:0!important}
.gallery__stage .gallery__slide{opacity:0!important}
.birthday-photo--hero,.birthday-photo--closing{background-blend-mode:soft-light;background-color:rgba(37,40,46,.22)}
.birthday-photo--album{z-index:3}



/* Keep the cover title and invitation copy anchored within their own frames. */
#welcome .welcome-title{position:absolute;inset:0}
.hero .hero-copy{position:absolute;inset:auto 24px 17%;display:flex;flex-direction:column;align-items:center;gap:0;z-index:5}
.hero .hero-copy h1{display:block;width:auto;max-width:100%;margin:8px 0 18px;padding:8px 16px 0;font-size:clamp(5rem,12vw,8.4rem);line-height:1.15;text-align:center}
.hero .hero-copy>.eyebrow{font-size:.875rem;line-height:1.6;letter-spacing:.2em}
.hero .hero-date{font-size:1rem;line-height:1.6;margin:0}
.hero .hero-date>span{font-size:.875rem;margin-top:4px}
.hero .music-intro{flex-shrink:0;margin-top:14px;font-size:1rem;line-height:1.5}
.hero .hero-top{align-items:center;gap:24px}
.hero .hero-top>span:first-child{font-size:1.8rem}
.hero .hero-top>span:last-child{font-size:.875rem;letter-spacing:.14em;line-height:1.5;text-align:right}
.hero .hero-shade{background:linear-gradient(180deg,#25587855 0%,transparent 28%,#25587844 48%,#255878e8 100%)}
@media(max-width:600px){
  .hero .hero-copy{left:20px;right:20px;bottom:16%}
  .hero .hero-copy h1{font-size:clamp(4.5rem,21vw,6rem)}
  .hero .hero-copy>.eyebrow{letter-spacing:.17em}
}
