
/* Global BD / Rozwój — precyzyjne sterowanie ekranami 03, 05 i 06. */
/* 03 — CRT precedes the vertical rail: choreography is controlled by the event at the end of typing. */
/* 05 — first a bare green construction axis, then the certificate grows out of the axis. */
.credential-stage { position:relative; min-width:0; align-self:center; }
.credential-stage .credential { width:100%; }
.credential-stage .credential-spine {
  position:absolute; z-index:4; top:0; left:0; width:1px; height:100%;
  background:var(--green); transform-origin:top; pointer-events:none;
}
/* 06 — emphasis in the original Polish sentence, with no rewording. */
#perspektywa-rozwoju blockquote em {
  color:var(--green); font-style:italic; font-weight:300;
}
@media (prefers-reduced-motion:no-preference) {
  .credential-stage.queued .credential-spine { transform:scaleY(0); }
  .credential-stage.playing .credential-spine {
    animation:grow-rail 680ms cubic-bezier(.25,.68,.23,1) both;
  }
  .credential-stage.queued .credential { clip-path:inset(0 100% 0 0); }
  .credential-stage.playing .credential {
    animation:gbCertificateFromAxis 1050ms cubic-bezier(.26,.69,.2,1) 710ms both;
  }
  .credential-stage.queued .credential :is(.meta,.credential-title,.credential-name) { opacity:0; }
  .credential-stage.playing .credential .meta { animation:rz-rise 460ms var(--ease) 1380ms both; }
  .credential-stage.playing .credential .credential-title { animation:rz-rise 580ms var(--ease) 1500ms both; }
  .credential-stage.playing .credential .credential-name { animation:rz-rise 540ms var(--ease) 1640ms both; }
  .credential-stage.queued .credential-band { opacity:0; }
  .credential-stage.playing .credential-band { animation:rz-fade 920ms ease 1360ms both; }
  #perspektywa-rozwoju.epilogue.queued figure > blockquote { opacity:1; }
  #perspektywa-rozwoju.epilogue.playing figure > blockquote { animation:none; }
  #perspektywa-rozwoju.epilogue.queued figure > figcaption { opacity:0; }
}
@keyframes gbCertificateFromAxis {
  from { clip-path:inset(0 100% 0 0); }
  to { clip-path:inset(0 0 0 0); }
}
@media (prefers-reduced-motion:reduce) {
  .credential-spine { transform:none; }
  .credential { clip-path:none!important; }
}
