/* ReGlide Cannula: the parts only this page needs. Shared look: ../flagship.css */

@property --y { syntax: '<percentage>'; inherits: true; initial-value: 50%; }

.scene-journey{height:620vh}
#journey-canvas{transform-origin:50% 50%}
.scene-bend{height:320vh}

/* spotlight on one row of the size lineup (cannulas lie flat, one per row) */
.lineup-wrap{--y:50%}
.spot{background:radial-gradient(ellipse 58% 10% at 50% var(--y),rgba(0,0,0,0) 60%,rgba(0,0,0,.8) 100%);transition:--y .7s cubic-bezier(.16,1,.3,1)}


@media (max-width:833px){
  .scene-journey{height:540vh}
  /* on phones the captions sit at the bottom, over the product: a soft shade keeps them readable */
  .scene-journey .sstage::after{content:"";position:absolute;left:0;right:0;bottom:0;height:36%;background:linear-gradient(0deg,rgba(0,0,0,.8),rgba(0,0,0,0));pointer-events:none;z-index:1}
  /* crop the empty space left and right of the rows */
  .lineup-wrap{overflow:hidden}
  .lineup-wrap img{width:138%;max-width:none;margin-left:-19%}
  .spot{background:radial-gradient(ellipse 64% 11% at 50% var(--y),rgba(0,0,0,0) 60%,rgba(0,0,0,.8) 100%)}
}

@media (prefers-reduced-motion:reduce){
  #journey-canvas{transform:none}
}
