/* One scene, one dominant message. Timing is supplied by decoded video frames. */
.scene-copy { --scene-top: 118px; top: var(--scene-top); left: var(--tbg-gutter); right: var(--tbg-gutter); }
.scene-copy .eyebrow { font-size: var(--tbg-label); letter-spacing: .09em; font-weight: 600; gap: 12px; }
.scene-copy .eyebrow .chapter-no { font-variant-numeric: tabular-nums; color: var(--tbg-accent-light); padding-right: 12px; border-right: 1px solid #ffffff45; }
.scene-copy h1,.scene-copy h2 { font-weight: var(--tbg-weight-display); letter-spacing: -.045em; line-height: 1.04; margin-top: 22px; }
.scene-copy h1 { font-size: clamp(39px,12.6vw,64px); }
.scene-copy h2 { font-size: clamp(38px,12vw,60px); }
.scene-copy .type-line { padding-bottom: .14em; margin-bottom: -.12em; }
.scene-copy .type-line>span { width: max-content; max-width: 100%; }
.scene-copy .accent-line { color: var(--tbg-accent-light); font-weight: var(--tbg-weight-emphasis); }
.scene-copy .opening-lead,.scene-copy .chapter-lead,.scene-copy .enhanced-description { font-size: var(--tbg-body); line-height: 1.5; letter-spacing: -.018em; font-weight: 400; color: #fff; margin-top: 22px; max-width: 29ch; }
.opening-lead strong { font-weight: 600; }
.opening-copy .opening-context { font-size: 14px; line-height: 1.5; color: #e2e7eb; margin-top: 10px; }
.opening-copy .opening-context { opacity: var(--intro-details,1); }
.scene-copy .word-accent { font-weight: 600; color: var(--tbg-accent-light); }
.enhanced-copy .enhanced-description { max-width: 28ch; }
.elon-copy h2 .accent-line { font-size: .88em; letter-spacing: -.04em; }
.journey-copy h2 { font-size: clamp(37px,11.8vw,58px); }
.scene-copy .explanation-line { overflow: hidden; display: block; padding-bottom: .06em; }
.scene-copy .explanation-line>span { display: block; }
.scene-copy .scene-note { position: absolute; top: calc(100svh - var(--scene-top) - 228px); left: 0; right: 0; isolation: isolate; }
.scene-note::before { content: ''; position: absolute; z-index: -1; pointer-events: none; inset: -20px -28px; background: linear-gradient(90deg,#101419bf 0%,#101419a6 76%,#10141900 100%); -webkit-mask-image: linear-gradient(180deg,transparent,#000 18px,#000 calc(100% - 18px),transparent); mask-image: linear-gradient(180deg,transparent,#000 18px,#000 calc(100% - 18px),transparent); }
.scene-note p { font-size: 15px; line-height: 1.45; color: #fff; max-width: 31ch; }
.scene-help { display: inline-flex; align-items: center; gap: 10px; min-height: var(--tbg-touch); margin-top: 2px; padding: 0; background: none; border: 0; color: white; font-size: 15px; font-weight: 600; line-height: 1.4; pointer-events: auto; }
[data-open-explainer] { display: none; }
.js [data-open-explainer] { display: inline-flex; }
.scene-help .tbg-icon { width: 20px; height: 20px; transition: transform 180ms; }
.scene-help:hover .tbg-icon { transform: translate(2px,-2px); }
.scene-help:focus-visible { outline-color: var(--tbg-accent-light); }
.maneuver-chip { background: none; border: 0; padding: 0; border-radius: 0; gap: 12px; font-size: 14px; margin-top: 20px; color: #f0f6fa; }
.maneuver-chip::before { content: ''; width: 28px; height: 1px; background: var(--tbg-accent-light); transform: scaleX(var(--signal-reveal,1)); transform-origin: left; }
.maneuver-icon { display: none; }
.mode-indicator { position: static; margin-top: 18px; padding: 0; background: transparent; border: 0; gap: 8px; color: #e1e8ed; font-size: 14px; line-height: 1.4; }
.mode-indicator>span { background: var(--tbg-accent-light); width: 16px; height: 1px; box-shadow: none; border-radius: 0; }
.scene-invitation { font-size: 15px; bottom: 135px; }
.enhanced-invitation { bottom: 135px; font-size: 15px; }
.primary-action { min-height: 54px; font-size: 16px; }
.film-stage .enhanced-copy { transform: translateY(calc(var(--eap-out,0)*-16px)); }
.film-stage .elon-copy { transform: translateY(calc(var(--elon-out,0)*-16px)); }
.film-stage .enhanced-description,.film-stage .maneuver-chip { opacity: var(--eap-body,0); transform: none; }
.film-stage .enhanced-description .explanation-line>span { transform: translateY(calc((1 - var(--eap-body,0))*108%)); }
.film-stage .enhanced-description .explanation-line+ .explanation-line>span { transform: translateY(calc((1 - var(--eap-body-two,0))*108%)); }
.film-stage .enhanced-copy .scene-note { opacity: var(--eap-body-two,0); }
.film-stage .elon-copy .chapter-lead { opacity: var(--elon-body,0); transform: translateY(calc((1 - var(--elon-body,0))*12px)); }
.film-stage .elon-copy h2 .type-line:first-child>span { transform: translateX(calc((1 - var(--elon-one,0))*-20px)); opacity: var(--elon-one,0); }
.film-stage .elon-copy h2 .type-line.accent-line>span { transform: translateX(calc((1 - var(--elon-two,0))*22px)); clip-path: inset(0 calc((1 - var(--elon-two,0))*100%) 0 0); }
.film-stage .elon-copy .mode-indicator,.film-stage .elon-copy .scene-note { opacity: var(--elon-detail,0); transform: translateY(calc((1 - var(--elon-detail,0))*8px)); }
.film-stage .journey-copy .chapter-lead { opacity: var(--journey-body,0); transform: translateY(calc((1 - var(--journey-body,0))*10px)); }
.film-stage .journey-copy h2 .accent-line>span { transform-origin: left center; transform: translateY(calc((1 - var(--journey-two,0))*18px)) scale(calc(.97 + var(--journey-two,0)*.03)); opacity: var(--journey-two,0); }
.film-stage .eyebrow .chapter-no { opacity: var(--label-reveal,1); }
.opening-explainer { width: min(620px,calc(100% - 24px)); max-height: calc(100svh - 32px); overflow-y: auto; overscroll-behavior: contain; border: 0; border-radius: 8px; padding: 28px; background: white; color: var(--tbg-ink); font-family: var(--tbg-font); box-shadow: 0 30px 90px #0004; }
.opening-explainer::backdrop { background: #101419ad; }
.explainer-header { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 28px; }
.explainer-header p { text-transform: uppercase; font-size: 12px; letter-spacing: .08em; color: var(--tbg-muted); }
.explainer-close { width: 48px; height: 48px; display: grid; place-items: center; background: transparent; color: var(--tbg-ink); border: 1px solid var(--tbg-line); border-radius: 50%; padding: 0; }
.opening-explainer h2 { font-size: clamp(30px,8.5vw,42px); line-height: 1.12; letter-spacing: -.035em; max-width: 16ch; }
.opening-explainer .explainer-lead { font-size: 19px; line-height: 1.5; margin-top: 22px; }
.opening-explainer ul { list-style: none; padding: 0; margin: 26px 0; border-top: 1px solid var(--tbg-line); }
.opening-explainer li { padding: 16px 0; border-bottom: 1px solid var(--tbg-line); font-size: 17px; line-height: 1.5; }
.opening-explainer li strong { display: block; margin-bottom: 4px; font-weight: 600; }
.explainer-boundary { font-size: 16px; line-height: 1.55; color: #4a515b; margin: 24px 0; }
.opening-explainer .tbg-button { width: 100%; margin-top: 12px; }
@media (max-width:359px) {
  .scene-copy { --scene-top: 104px; }
  .scene-copy h1 { font-size: 39px; }
  .scene-copy h2 { font-size: 38px; }
  .scene-copy .opening-lead,.scene-copy .chapter-lead,.scene-copy .enhanced-description { font-size: 17px; margin-top: 18px; }
  .scene-copy .eyebrow { font-size: 11px; gap: 8px; }
  .scene-copy .eyebrow .chapter-no { padding-right: 8px; }
  .scene-note p { font-size: 14px; }
}
@media (max-height:700px) and (max-width:759px) {
  .scene-copy { --scene-top: 92px; }
  .scene-copy h1,.scene-copy h2 { font-size: 38px; margin-top: 14px; }
  .scene-copy .opening-lead,.scene-copy .chapter-lead,.scene-copy .enhanced-description { font-size: 17px; line-height: 1.4; margin-top: 14px; }
  .opening-copy .opening-context { display: none; }
  .scene-copy .scene-note { top: calc(100svh - var(--scene-top) - 202px); }
  .scene-note p { font-size: 14px; }
  .scene-help { font-size: 14px; min-height: 44px; }
  .mode-indicator,.maneuver-chip { margin-top: 14px; font-size: 13px; }
  .scene-invitation,.enhanced-invitation { bottom: 123px; }
}
@media (min-width:760px) {
  .scene-copy { --scene-top: clamp(130px,18vh,190px); left: 6vw; right: auto; width: 32vw; }
  .scene-copy h1 { font-size: clamp(34px,4.5vw,84px); }
  .scene-copy h2 { font-size: clamp(34px,4.4vw,80px); }
  .scene-copy .opening-lead,.scene-copy .chapter-lead,.scene-copy .enhanced-description { font-size: clamp(17px,1.65vw,22px); max-width: 32ch; }
  .scene-copy .scene-note { top: calc(100svh - var(--scene-top) - 205px); }
  .scene-note p,.scene-help { font-size: 16px; }
  .mode-indicator,.maneuver-chip { font-size: 15px; }
  .action-dock { left: 6vw; right: auto; width: 32vw; max-width: 480px; }
  .scene-index { left: 6vw; right: auto; width: 32vw; max-width: 480px; }
  .opening-explainer { padding: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .scene-copy .scene-note { position: static; margin-top: 30px; }
  .scene-stage { min-height: 780px; }
  .scene-copy .type-line>span { animation: none !important; transform: none !important; }
  .scene-help .tbg-icon { transition: none; }
}
