/* "The Complete ZOSSH Rig" scroll assembly.
   Default (no-JS / JS-failed) state: a normal-height black section with every product already
   sitting at its finished position via plain left/top — nothing is ever hidden by this CSS.
   rig-assembly.js only adds the scroll-pinned 300vh scatter-and-fly-in behaviour on top of that,
   and only once it has confirmed Motion loaded and the visitor doesn't have reduced motion set. */

.rig-assembly{position:relative;background:#000;padding:90px 0 70px}
.rig-sticky{position:relative}
.rig-stage{position:relative;width:min(1100px,92vw);height:62vh;min-height:420px;margin:0 auto}

.rig-item{
  position:absolute;
  left:var(--fx);
  top:var(--fy);
  width:var(--fw);
  transform:translate(-50%,-50%);
  display:block;
  pointer-events:none;
  user-select:none;
}
.rig-item[data-blend="screen"]{mix-blend-mode:screen}

.rig-label{
  position:absolute;
  left:50%;
  bottom:-6px;
  transform:translateX(-50%);
  text-align:center;
  color:var(--cream,#f5f5f3);
  opacity:0;
  transition:opacity .25s ease;
  pointer-events:none;
  width:min(90vw,420px);
}
.rig-label b{display:block;font-family:var(--font-display,inherit);font-size:17px;font-weight:600;letter-spacing:.3px}
.rig-label span{display:block;margin-top:4px;font-size:13px;color:var(--sand,#c9beae);line-height:1.5}

.rig-endstate{
  position:relative;
  margin:40px auto 0;
  max-width:720px;
  text-align:center;
  color:#fff;
  opacity:1;
}
.rig-endstate h2{font-family:var(--font-display,inherit);font-size:clamp(32px,5vw,56px);font-weight:500;line-height:1.08;margin:0 0 26px}
.rig-endstate em{color:var(--copper,#d08556);font-style:normal}

/* --- Enhanced (JS-driven, scroll-pinned) mode only --- */
.rig-assembly.rig-enhanced{height:300vh;padding:0}
.rig-assembly.rig-enhanced .rig-sticky{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden}
.rig-assembly.rig-enhanced .rig-stage{height:52vh;will-change:transform}
.rig-assembly.rig-enhanced .rig-item{will-change:transform,opacity,filter;opacity:0}
.rig-assembly.rig-enhanced .rig-endstate{position:relative;margin:24px auto 0;opacity:0;will-change:transform,opacity}

@media(max-width:760px){
  .rig-stage{height:50vh;min-height:320px}
  .rig-assembly.rig-enhanced .rig-stage{height:42vh}
}
