#story .helix-frame {
  inset: 0 0 44px;
  width: auto;
  aspect-ratio: auto;
  transform: none;
  background: #000 url('assets/helix-studies/prism.webp') center/contain no-repeat;
}
#story .helix-video { opacity: 1; mask-image: none; transition: none; }
#story .helix-animation { display: none; }
#story .helix-frames, #story .helix-animation img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#story[data-cinema-state='frames'] .helix-animation { display: none; }
#story[data-cinema-state='frames'] .helix-video { visibility: hidden; }
#story .helix-frame { pointer-events: none; }
#story[data-cinema-state='fallback'] .helix-video { visibility: hidden; }
#story .helix-stage { touch-action: pan-y pinch-zoom; user-select: none; cursor: default; }
#story.has-cinema .helix-stage { cursor: grab; }
#story.has-cinema .helix-stage.is-dragging { cursor: grabbing; }
#story .helix-stage:focus-visible { outline: 2px solid #ddd; outline-offset: -2px; }
#story:not(.has-cinema) .helix-hint { visibility: hidden; }
#story .story-motion-toggle:not([hidden]) {
  position: absolute;
  z-index: 3;
  display: block;
  min-height: 44px;
  border: 0;
  padding: 0 8px;
  color: #dedbd3;
  background: none;
  visibility: visible;
}
#story h2 { font-size: clamp(45px, 5vw, 78px); letter-spacing: -.055em; line-height: 1; }
#story p { max-width: 35ch; }
.story-actions { margin-top: 13px; }
.story-actions .button-light { background: #f4f4f3; border-color: transparent; color: #171719; }
.story-actions .button-light:hover { background: #fff; border-color: #fff; }

@media (max-width: 760px), (pointer: coarse) and (max-width: 1024px) {
  #story .helix-animation { display: block; }
}

@media (max-width: 760px) {
  #story { padding-inline: 18px; }
  #story .helix-stage { aspect-ratio: 1.32; }
  #story h2 br { display: none; }
  #story h2 { font-size: clamp(34px, 9.5vw, 48px); }
  #story .story-motion-toggle { right: 18px; }
  .story-actions .button-light { padding-inline: 12px; min-height: 44px; font-size: 13px; }
}
