/* V3.3.32: scene opacity and parallax already follow the eased scroll position.
   Applying another duration to every frame would keep retargeting the transition.
   Reveal animations, masks, blur, video grading, WebGL and all other effects stay. */
.experience.gk-scroll-linked .scene-video-shell,
.experience.gk-scroll-linked .scene-video {
  transition-property: none !important;
}

html.gk-media-modal-open,
html.gk-media-modal-open body {
  overflow: hidden !important;
  overscroll-behavior: none;
}

.video-modal { overscroll-behavior: contain; }

/* Remember rendered section sizes; min-height already reserves the full scene.
   The previous 124vh content placeholder added section padding a second time. */
.experience.gk-scroll-linked .chapter { contain-intrinsic-size: auto 0px; }

@media (max-width: 620px) {
  .experience.gk-scroll-linked .topbar { flex-wrap: wrap; gap: 8px; }
  .experience.gk-scroll-linked .topbar-actions {
    flex: 1 1 100%;
    min-width: 0;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px;
  }
  .experience.gk-scroll-linked .main-nav { top: calc(100% + 10px) !important; }
  html { scroll-padding-top: 140px; }
}
@media (max-width: 360px) { html { scroll-padding-top: 190px; } }
