/* Scroll choreography for the existing OMIT journey. The root controller owns
   motion-ready; without it the original static, accessible layout is retained. */
@media (min-width: 900px) and (min-height: 600px) and (prefers-reduced-motion: no-preference) {
  .motion-ready [data-journey][data-scroll-journey="pinned"] {
    position: relative;
    height: 284svh;
    min-height: 0;
    padding-block: 80px 94px;
  }

  .motion-ready [data-scroll-journey="pinned"] .journey-layout {
    position: sticky;
    top: 108px;
    height: calc(100svh - 132px);
    min-height: 0;
    align-items: center;
    gap: clamp(35px, 5vw, 70px);
  }

  .motion-ready [data-scroll-journey="pinned"] .journey-navigation {
    min-height: 0;
    align-self: center;
  }

  .motion-ready [data-scroll-journey="pinned"] .journey-navigation > .eyebrow {
    font-size: 8px;
  }

  .motion-ready [data-scroll-journey="pinned"] .journey-navigation h2 {
    margin-top: 14px;
    font-size: clamp(32px, 4.5svh, 44px);
    line-height: 1.04;
  }

  .motion-ready [data-scroll-journey="pinned"] .journey-intro {
    max-width: 360px;
    margin-top: 14px;
    font-size: 12px;
    line-height: 1.65;
  }

  .motion-ready [data-scroll-journey="pinned"] .journey-tabs {
    margin-top: clamp(14px, 2.2svh, 23px);
  }

  .motion-ready [data-scroll-journey="pinned"] .journey-tab {
    min-height: clamp(48px, 6.5svh, 62px);
    padding-block: 11px;
  }

  .motion-ready [data-scroll-journey="pinned"] .journey-tab-title {
    font-size: clamp(18px, 2.5svh, 22px);
  }

  .motion-ready [data-scroll-journey="pinned"] .journey-tab-copy {
    gap: 5px;
  }

  .motion-ready [data-scroll-journey="pinned"] .journey-tab-summary {
    font-size: 10px;
    line-height: 1.5;
  }

  .motion-ready [data-scroll-journey="pinned"] .journey-keyboard {
    margin-top: 13px;
    font-size: 9px;
  }

  .motion-ready [data-scroll-journey="pinned"] .journey-stage {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) 2px auto;
    align-self: stretch;
    height: 100%;
    min-height: 0;
    padding-top: 0;
  }

  .motion-ready [data-scroll-journey="pinned"] .journey-stage-top {
    padding-bottom: 13px;
  }

  .motion-ready [data-scroll-journey="pinned"] .journey-diagram {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: 100%;
    margin: 0;
    transform: perspective(1100px) rotateX(calc(var(--journey-view-turn, 0) * -.6deg)) rotateY(calc(var(--journey-view-turn, 0) * 1deg));
    transform-origin: 50% 58%;
    will-change: transform;
  }

  .motion-ready [data-scroll-journey="pinned"] .journey-environment {
    transform-box: view-box;
    transform-origin: 50% 66%;
    transform: translate(calc(var(--journey-drift-x, 0) * .4px), calc(var(--journey-drift-y, 0) * .45px)) rotate(calc(var(--journey-orbit-turn, 0) * .35deg));
    will-change: transform;
  }

  .motion-ready [data-scroll-journey="pinned"] .journey-scene {
    opacity: var(--scene-opacity, 0);
    transform-box: view-box;
    transform-origin: 50% 60%;
    transform: translate(calc(var(--journey-drift-x, 0) * 1px), calc(var(--scene-y, 0) * 1px)) scale(var(--scene-scale, 1)) rotate(calc(var(--scene-rotation, 0) * 1deg));
    animation: none;
    will-change: transform, opacity;
  }

  .motion-ready [data-scroll-journey="pinned"] .journey-progress > span {
    position: relative;
    background: #b4a6d818;
    transition: none;
  }

  .motion-ready [data-scroll-journey="pinned"] .journey-progress > span::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: #b5a5fb;
    transform: scaleX(var(--segment-fill, 0));
    transform-origin: left center;
    box-shadow: 0 0 9px #b5a5fb1f;
  }

  .motion-ready [data-scroll-journey="pinned"] .journey-stage-caption {
    min-height: 0;
    padding: 17px 24px 0;
    gap: 23px;
  }

  .motion-ready [data-scroll-journey="pinned"] .journey-stage-caption h3 {
    font-size: clamp(16px, 2.2svh, 20px);
  }

  .motion-ready [data-scroll-journey="pinned"] .journey-stage-caption p {
    margin-top: 8px;
    font-size: 11.5px;
    line-height: 1.65;
  }

  .motion-ready [data-scroll-journey="pinned"] .journey-stage-note {
    position: absolute;
    right: 0;
    bottom: 23px;
    left: 0;
    margin: 0;
    padding-top: 15px;
  }
}
