.cinema {
  height: 180svh;
}

.cinema-stage {
  --signal: #ff9b51;
  background: #000;
}

.cinema .garment {
  aspect-ratio: 1024 / 1536;
}

.cinema .garment-base {
  filter: none;
}

.cinema .suit-svg {
  filter: none;
}

.cinema #front-suit {
  transform: scaleX(-1);
}

.cinema .garment-back {
  transform: translate3d(var(--back-x), var(--suit-y), 0) translate(-50%, -50%) scale(var(--back-scale, var(--suit-scale))) rotate(var(--back-rotation));
  opacity: 1;
}

.cinema .electrode-face {
  fill-opacity: 1;
  stroke: #ffd18c;
  stroke-width: 2.4;
  stroke-linejoin: round;
}

.cinema .signal-route {
  fill: none;
  stroke: var(--signal);
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cinema .signal-travel {
  opacity: 0;
  pointer-events: none;
  fill: none;
  stroke: #ffe4ae;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: none;
}

.cinema .controller {
  width: var(--controller-width);
  aspect-ratio: 753 / 1351;
  left: 0;
  top: 0;
  transform: translate3d(var(--controller-x), var(--controller-y), 0) translate(-50%, -50%) scale(var(--controller-scale)) rotate(var(--controller-rotation)) perspective(800px) skewY(var(--controller-skew, 0deg)) rotateY(var(--controller-side-angle, 0deg));
  opacity: 1;
  filter: none;
}

.cinema .controller-image {
  display: block;
  width: 100%;
  height: 100%;
}

.cinema .controller-led {
  left: 50%;
  top: 26%;
  width: 3%;
  background: #a6dce8;
  box-shadow: 0 0 4px #a6dce855;
}

.cinema .beat-copy {
  top: 32%;
  width: 31%;
}

.cinema .beat-copy .eyebrow {
  color: var(--ui-muted-on-dark);
}

.cinema .beat-copy h2 {
  font-size: 48px;
  line-height: 1;
  margin: 24px 0;
  text-wrap: balance;
}

.cinema .beat-copy article > p:last-child {
  color: var(--ui-muted-on-dark);
  text-wrap: pretty;
}

.cinema .view-label {
  bottom: calc(-24px / var(--suit-scale, .74));
  color: var(--ui-muted-on-dark);
  font-size: calc(12px / var(--suit-scale, .74));
  line-height: calc(16px / var(--suit-scale, .74));
  letter-spacing: .04em;
  opacity: 1;
}

.cinema .sequence-navigation {
  gap: 32px;
}

.cinema .sequence-navigation button {
  color: var(--ui-muted-on-dark);
  font-size: 14px;
  line-height: 20px;
}

.cinema .sequence-navigation button.is-active,
.cinema .sequence-navigation button:hover {
  color: var(--ui-white);
}

.cinema .sequence-navigation button:active {
  transform: translateY(1px);
}

.cinema .sequence-play {
  border-color: var(--ui-border-on-dark);
  color: var(--ui-surface);
}

.cinema .sequence-play:active {
  transform: scale(.98);
}

.cinema .scene-note {
  color: var(--ui-muted-on-dark);
  opacity: 1;
}

.cinema .scene-next {
  font-size: 12px;
  line-height: 16px;
}

.motion-reduced .cinema {
  height: 100svh;
}

.motion-reduced .cinema .sequence-play {
  display: none;
}

@media (max-width: 1200px) {
  .cinema .beat-copy h2 {
    font-size: 36px;
    line-height: 40px;
  }
}

@media (max-width: 760px) {
  .cinema {
    height: 170svh;
  }

  .cinema .beat-copy,
  .cinema .cinema-stage[data-beat="1"] .beat-copy {
    top: 96px;
    width: calc(100% - 48px);
  }

  .cinema .beat-copy h2 {
    font-size: 30px;
    line-height: 36px;
    margin: 12px 0;
  }

  .cinema .beat-copy article > p:last-child,
  .cinema .cinema-stage[data-beat="1"] .beat-copy article > p:last-child {
    max-width: none;
    font-size: 14px;
    line-height: 20px;
  }

  .cinema .cinema-bottom {
    bottom: 40px;
    inset-inline-end: 96px;
  }

  .cinema .sequence-navigation {
    gap: 8px;
  }

  .cinema .sequence-navigation button {
    font-size: 12px;
    line-height: 16px;
  }

  .cinema .sequence-play {
    bottom: 64px;
  }

  .cinema .scene-note {
    bottom: 12px;
    inset-inline-end: 96px;
    font-size: 12px;
    line-height: 16px;
  }

  .cinema .scene-next {
    bottom: 96px;
    max-width: 200px;
  }

}

@media (max-height: 520px) and (orientation: landscape) {
  .cinema .cinema-stage {
    min-height: 0;
  }

  .cinema .beat-copy,
  .cinema .cinema-stage[data-beat="1"] .beat-copy {
    top: 96px;
    width: 32%;
  }

  .cinema .beat-copy h2 {
    font-size: 24px;
    line-height: 32px;
    margin: 8px 0;
  }

  .cinema .beat-copy article > p:last-child {
    font-size: 12px;
    line-height: 16px;
  }

  .cinema .cinema-bottom {
    bottom: 24px;
  }

  .cinema .sequence-navigation {
    width: auto;
    gap: 24px;
  }

  .cinema .sequence-play {
    position: static;
  }

  .cinema .scene-note {
    display: none;
  }

  .cinema .scene-next {
    bottom: 72px;
  }
}
