/* A single handoff, using the cover's existing ease and artwork surfaces. */
html[data-nitent-opening="entering"] .opening-backdrop{animation:opening-clear 220ms var(--cover-ease,cubic-bezier(.23,1,.32,1)) both}
html[data-nitent-opening="entering"] :is(.opening-track,.opening-continue){animation:opening-clear 100ms ease-out both;pointer-events:none}
html[data-nitent-opening="entering"][data-opening-brand="flying"] .nitent-cover-stage .nitent-brand-name{visibility:hidden}
html[data-nitent-opening="entering"] .cover-definition{animation:opening-copy 440ms var(--cover-ease) 170ms both}
html[data-nitent-opening="entering"] :is(.cover-3d,.cover-prints){animation:opening-deck 680ms var(--cover-ease) 100ms both}
html[data-nitent-opening="entering"] :is(.cover-tagline,.cover-get,.cover-motion-toggle,.cover-brand img,[data-sound-toggle]){animation:opening-copy 400ms var(--cover-ease) 170ms both}
@keyframes opening-clear{to{opacity:0}}
@keyframes opening-copy{from{opacity:0;translate:0 9px}to{opacity:1;translate:0 0}}
@keyframes opening-deck{from{opacity:0;translate:0 44px;scale:.985}to{opacity:1;translate:0 0;scale:1}}
@media(prefers-reduced-motion:reduce){
 html[data-nitent-opening="entering"] :is(.cover-copy h1 span,.cover-definition,.cover-3d,.cover-prints,.cover-tagline,.cover-get,.cover-motion-toggle,.cover-brand img,[data-sound-toggle]){animation:none}
 html[data-nitent-opening="entering"] .opening-backdrop{animation-duration:100ms}
}

/* Each glyph starts at the true font layout, so the final handoff is exact. */
.cover-copy { position:relative; }
.cover-copy h1[data-title-performing] > span:not(.cover-title-performance) { opacity:0; }
.cover-copy .cover-title-performance { display:block; position:absolute; pointer-events:none; text-align:left; font-synthesis:none; text-transform:uppercase; }
.cover-copy .cover-title-word { display:block; position:absolute; overflow:hidden; perspective:600px; }
.cover-copy .cover-title-glyph { display:block; position:absolute; white-space:pre; transform-origin:50% 100%; will-change:transform,opacity; animation:cover-title-unfold 760ms var(--cover-ease) both; }
@keyframes cover-title-unfold {
 from { opacity:0; transform:translate3d(var(--glyph-x),var(--glyph-rise),0) rotateX(var(--glyph-pitch)) rotateZ(var(--glyph-turn)) scale(.96); }
 16% { opacity:1; }
 to { opacity:1; transform:none; }
}
@media(prefers-reduced-motion:reduce){
 .cover-copy h1[data-title-performing] > span:not(.cover-title-performance){opacity:1}
 .cover-copy .cover-title-performance{display:none}
}
