.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}



/* Preserve the original Bruma composition with one centered protagonist. */
.hero .hero-copy{position:absolute;z-index:5;inset:auto 24px 19%;display:flex;flex-direction:column;align-items:center;text-align:center;gap:0}
.hero .hero-copy h1{display:block;width:100%;max-width:100%;font-size:clamp(5.6rem,13vw,8.4rem);line-height:1.2;letter-spacing:0;margin:14px auto 20px;padding:4px 14px 10px;text-align:center}
.hero .hero-copy .hero-date{margin:0;line-height:1.7}
.hero .hero-copy .eyebrow{font-size:.875rem;line-height:1.8;margin:0}
.hero .hero-top{z-index:5;gap:20px}.hero .hero-top span:last-child{text-align:right}
#welcome .welcome-title{position:absolute;inset:0;z-index:2}
#welcome .welcome-title h2{font-family:'Great Vibes',cursive}
#welcome .welcome-photo{position:absolute;inset:0;background-color:#000}
body.ib-entered .birthday-photo--hero{animation:birthday-zoom 15s ease-in-out infinite alternate!important}
.film .film-controls{position:absolute;z-index:4}
@media(max-width:600px){.hero .hero-copy{inset:auto 18px 19%}.hero .hero-copy h1{font-size:clamp(4.5rem,20vw,6rem);margin:12px auto 18px}.hero .hero-top span:last-child{font-size:.75rem;letter-spacing:.14em}}
@media(prefers-reduced-motion:reduce){body.ib-entered .birthday-photo--hero{animation:none!important}}
