
/* Typographic scale and signature placement match the approved Rozwoj quote. */
.scene-quote .quote-reveal { opacity: 1; transform: none; transition: none; }
.scene-quote figure { width: min(100%, 1080px); margin-inline: auto; }
.scene-quote blockquote { text-align: left; }
.scene-quote figcaption {
  text-align: left;
  margin-top: clamp(22px, 4.2svh, 48px);
  color: var(--muted);
  font-size: clamp(13px, 1.13vw, 18px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(9px);
  transition: opacity 720ms ease, transform 720ms cubic-bezier(.22,.61,.36,1);
}
.scene-quote figcaption span {
  display: inline;
  color: var(--green);
  padding-inline: 5px;
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}
.scene-quote.crt-caption-visible figcaption { opacity: 1; transform: none; }
.scene-quote #quote-title { --terminal-speed: .67; }
@media (prefers-reduced-motion: no-preference) {
  .scene-quote #quote-title[data-terminal-phase="waiting"]:not(.terminal-heading) { visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  .scene-quote figcaption { opacity: 1; transform: none; transition: none; }
  .scene-quote #quote-title { visibility: visible; }
}
@media (prefers-reduced-motion:no-preference) {
  .terminal-heading { position: relative; isolation: isolate; }
  .terminal-heading > span, .terminal-heading > em { position: relative; }
  .terminal-heading .terminal-glyph { position: relative; display: inline; color: inherit; transition: color calc(.38s / var(--terminal-speed)) ease-out, text-shadow calc(.38s / var(--terminal-speed)) ease-out; }
  .terminal-heading[data-terminal-phase="typing"] .terminal-glyph { color: var(--green); text-shadow: 0 0 .085em #149d5980, 0 0 .21em #149d5957; transition: none; }
  .terminal-heading[data-terminal-phase="waiting"] .terminal-glyph,
  .terminal-heading[data-terminal-phase="typing"] .terminal-glyph:not(.is-typed) { visibility: hidden; }
  .terminal-heading[data-terminal-phase="typing"] .terminal-caret::after,
  .terminal-heading[data-terminal-phase="typing"] .terminal-leading-caret::after { content: ""; position: absolute; left: calc(100% + .07em); bottom: .15em; width: .37em; height: .052em; background: var(--green); box-shadow: 0 0 .15em #149d5980; }
  .terminal-heading[data-terminal-phase="typing"] .terminal-leading-caret::after { left: 0; animation: terminal-blink calc(.32s / var(--terminal-speed)) steps(1,end) 1 both; }
  .terminal-heading[data-terminal-phase="typing"] .terminal-caret.is-waiting::after { animation: terminal-blink calc(.47s / var(--terminal-speed)) steps(1,end) infinite; }
  #perspektywa #quote-title.terminal-heading {
    position: relative;
    isolation: isolate;
  }
  
  
  /* Kolor chwilowego zaplonu liter jak w oryginalnym hero Core. */
  #perspektywa #quote-title.terminal-heading[data-terminal-phase="typing"] .terminal-glyph.is-typed {
    color: #a1e2b6;
    text-shadow: 0 0 .085em #66e29880, 0 0 .21em #25ad6280;
  }
  #perspektywa #quote-title.terminal-heading[data-terminal-phase="typing"] em .terminal-glyph.is-typed {
    color: #50da91;
  }
}
