.transition-lab { background: #080d0a; }
.lab-header { min-height: 70px; padding: 14px clamp(20px, 4vw, 72px); display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #20352a; }
.lab-back { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-decoration: none; }
.lab-back > span:first-child { color: var(--accent); }
.lab-back-detail { color: #9daea3; font-weight: 500; letter-spacing: 0; }
.lab-designation, .lab-stage-caption, .lab-sequence, .lab-footnote { font: 500 10px/1.5 ui-monospace, Consolas, monospace; letter-spacing: .12em; }
.lab-designation { color: #a2b2a7; white-space: nowrap; }
.lab-designation span { color: var(--accent); margin-left: 12px; }
.lab-stage { position: relative; isolation: isolate; height: clamp(490px, calc(100svh - 215px), 900px); overflow: hidden; background: #080d0a; }
.lab-scene { position: absolute; width: 100%; height: 100%; inset: 0; opacity: .14; }
.lab-poster, .lab-film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.lab-film { opacity: 0; }
.lab-stage.is-film .lab-film { opacity: 1; }
.lab-arrival { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 30px clamp(24px, 6.5vw, 124px); }
.lab-arrival .eyebrow { margin-bottom: 1.7rem; }
.lab-arrival h1 { color: #fff; font-family: Manrope, 'Segoe UI', system-ui, sans-serif; font-weight: 500; font-size: clamp(40px, 5.8vw, 98.4px); letter-spacing: -.072em; line-height: 1.12; }
.lab-white { color: #fff; }
.lab-emerald { color: #76efaf; }
.lab-word { display: inline-block; white-space: nowrap; }
.lab-baseline { display: inline-block; width: 0; height: 0; padding: 0; margin: 0; }
.lab-cta { margin-top: 6px; }
.lab-cta .grow-link { margin-top: 1.6rem; }
.lab-flight { position: absolute; top: 0; left: 0; width: 702px; height: 350px; opacity: 0; transform-origin: 0 0; pointer-events: none; }
.lab-architecture { display: block; width: 100%; height: 100%; overflow: visible; }
.lab-stage.is-running .lab-flight { will-change: transform, opacity; }
.lab-stage.is-running .lab-reveal, .lab-stage.is-running .lab-word, .lab-stage.is-running .lab-cta { opacity: 0; }
.lab-stage.is-running .lab-scene { opacity: 1; }
.lab-stage.is-running .lab-cta { pointer-events: none; }
.lab-stage.is-complete .lab-scene { opacity: 0; }
.lab-stage-caption { position: absolute; inset: auto clamp(24px, 4vw, 72px) 22px; display: flex; justify-content: space-between; color: #9cb1a4; font-size: 9px; pointer-events: none; }
.lab-console { position: relative; z-index: 2; padding: 20px clamp(20px, 4vw, 72px); background: #0b120e; border-block: 1px solid #253b2e; display: grid; grid-template-columns: auto 1fr; gap: 15px 30px; align-items: center; }
.lab-controls { display: flex; flex-wrap: wrap; gap: 8px; }
.lab-controls button { min-height: 44px; padding: 9px 15px; border: 1px solid #385543; border-radius: 3px; background: transparent; color: #d8e6dc; font-size: 12px; font-weight: 600; }
.lab-controls button:first-child { color: var(--accent); border-color: #5aa077; }
.lab-controls button:hover { border-color: var(--accent); background: #122419; }
.lab-controls button:disabled { opacity: .4; cursor: default; }
.lab-controls button span { display: inline-block; margin-inline: 2px; }
.lab-status { color: #adbbb1; font-size: 12px; text-align: right; }
.lab-sequence { grid-column: 1 / -1; display: flex; justify-content: space-between; list-style: none; padding: 12px 0 0; margin: 0; border-top: 1px solid #26372d; color: #82988a; text-transform: uppercase; }
.lab-sequence li span { margin-right: 8px; opacity: .65; }
.lab-sequence li[aria-current="step"] { color: #9fffbd; }
.lab-notes { margin: 24px clamp(20px, 4vw, 72px) 0; color: #adbbb1; }
.lab-notes summary { display: flex; align-items: center; gap: 20px; min-height: 44px; cursor: pointer; font-size: 13px; list-style: none; }
.lab-notes summary::-webkit-details-marker { display: none; }
.lab-notes summary span { color: var(--accent); }
.lab-notes[open] summary span { transform: rotate(45deg); }
.lab-mask-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 20px 0; }
.lab-mask-grid figure { display: flex; flex-direction: column; justify-content: center; min-width: 0; background: #050806; }
.lab-mask-grid img, .lab-mask-grid svg { width: 100%; height: auto; aspect-ratio: 856 / 478; object-fit: contain; }
.lab-cutout-review svg { padding: 30px; }
.lab-mask-grid figcaption { padding: 12px 15px; font: 10px/1.5 ui-monospace, Consolas, monospace; letter-spacing: .04em; }
.lab-notes > p { max-width: 83ch; font-size: 13px; line-height: 1.8; }
.lab-footnote { margin: 24px clamp(20px, 4vw, 72px) 32px; color: #8fa596; }
.lab-footnote span { float: right; letter-spacing: 0; }
@media (max-width: 760px) {
  .lab-header { min-height: 62px; }
  .lab-back-detail { display: none; }
  .lab-stage { height: clamp(400px, calc(100svh - 260px), 700px); }
  .lab-arrival { padding-inline: 24px; }
  .lab-arrival h1 { font-size: clamp(32px, 7.5vw, 57px); line-height: 1.18; }
  .lab-arrival .eyebrow { font-size: 9px; margin-bottom: 22px; }
  .lab-console { grid-template-columns: 1fr; gap: 13px; }
  .lab-status { text-align: left; min-height: 18px; }
  .lab-controls { gap: 6px; }
  .lab-controls button { padding-inline: 10px; font-size: 11px; }
  .lab-sequence { font-size: 8px; letter-spacing: .02em; }
  .lab-sequence li span { display: block; margin: 0 0 4px; }
  .lab-mask-grid { grid-template-columns: 1fr; gap: 16px; }
  .lab-stage-caption { font-size: 8px; }
  .lab-footnote span { display: block; float: none; margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .lab-flight { display: none; }
  .lab-film { display: none; }
  .lab-stage .lab-reveal, .lab-stage .lab-word, .lab-stage .lab-cta { opacity: 1 !important; }
  .lab-stage.is-running .lab-scene { opacity: .14; }
  .transition-lab *, .transition-lab *::before, .transition-lab *::after { animation: none !important; transition: none !important; }
}
