/* ReFine Needles: the parts only this page needs. Shared look: ../flagship.css */

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

.scene-journey{height:600vh}
#journey-canvas{transform-origin:50% 50%}

/* spotlight on one row of the size lineup (ten needles lie flat, one per row) */
.lineup-wrap{--y:54.5%}
.spot{background:radial-gradient(ellipse 52% 6% at 50% var(--y),rgba(0,0,0,0) 60%,rgba(0,0,0,.82) 100%);transition:--y .7s cubic-bezier(.16,1,.3,1)}
.size-chips{max-width:760px;margin-left:auto;margin-right:auto}

@media (max-width:833px){
  .scene-journey{height:520vh}
  .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:167%;max-width:none;margin-left:-33%}
  .spot{background:radial-gradient(ellipse 60% 6% at 50% var(--y),rgba(0,0,0,0) 60%,rgba(0,0,0,.82) 100%)}
  .size-chips button{padding:0 16px}
  .size-chips button[aria-checked="true"]{padding:0 15px}
}

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