/* Prova S1 unboxing (21 Nov 2026). Composited 4K layers from one Blender camera (the guide p10 angle), scrubbed by
   scroll: the box slides off, two violet seals peel, the grey mold lifts, a phone runs along the rim and each slide
   wakes as it passes (the count on its screen runs 1 to 30). The layers render on transparent with their own contact
   shadows and sit on the guide's charcoal, which is also this section's colour, so the picture has no edges. */
.ub{--ub-bg:#181818;--ub-top:var(--lnav-h,52px);
  background:linear-gradient(#000 0,var(--ub-bg) 220px,var(--ub-bg) calc(100% - 220px),#000 100%)}
.ub-track{position:relative}
.ub-stage{position:sticky;top:var(--ub-top);height:calc(100svh - var(--ub-top));display:grid;
  grid-template-columns:minmax(0,40fr) minmax(0,60fr);align-items:center;overflow:hidden}
.ub-copy{padding:0 0 0 max(6vw,24px);display:flex;flex-direction:column;gap:14px;max-width:560px;color:#f5f5f7}
.ub-eye{margin:0;font-size:13px;letter-spacing:.14em;color:#8c8c94;text-transform:uppercase;font-weight:500}
.ub-head{margin:0;font-size:clamp(28px,2.8vw,44px);line-height:1.06;font-weight:500;letter-spacing:-.014em;text-wrap:balance;min-height:2.15em}
.ub-sub{margin:0;font-size:16px;line-height:1.5;color:#a9a9b2;max-width:30em;min-height:3em}
.ub-copy p{transition:opacity .35s}
.ub-copy.swap p{opacity:0}
.ub-rail{display:flex;align-items:center;margin:30px 0 0;padding:0;list-style:none;max-width:420px}
.ub-rail li{display:contents}
.ub-rail i{flex:1;height:1px;background:#3a3a3e}
.ub-rail li:last-child i{display:none}
.ub-rail b{width:8px;height:8px;border-radius:50%;background:#55555b;flex:none;position:relative;transition:background .3s,box-shadow .3s}
.ub-rail b.on{background:var(--violet,#6f5cff);box-shadow:0 0 10px var(--violet,#6f5cff)}
.ub-rail b.done{background:#9a9aa2}
.ub-rail span{position:absolute;top:14px;left:50%;transform:translateX(-50%);font-size:10px;letter-spacing:.12em;font-weight:500;
  color:var(--violet,#6f5cff);white-space:nowrap;text-transform:uppercase;opacity:0;transition:opacity .3s}
.ub-rail b.on span{opacity:1}
.ub-rail li:first-child span{left:0;transform:none}
.ub-rail li:last-child span{left:auto;right:0;transform:none}

.ub-plate{position:relative;width:min(100%,calc(100svh - var(--ub-top) - 24px));aspect-ratio:1;justify-self:center;
  -webkit-mask-image:linear-gradient(to right,transparent 0,#000 3.5%,#000 96.5%,transparent 100%),linear-gradient(to bottom,transparent 0,#000 3.5%,#000 96.5%,transparent 100%);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(to right,transparent 0,#000 3.5%,#000 96.5%,transparent 100%),linear-gradient(to bottom,transparent 0,#000 3.5%,#000 96.5%,transparent 100%);
  mask-composite:intersect}
.ub-plate canvas,.ub-plate .ub-still,.ub-plate .ub-ov{position:absolute;inset:0;width:100%;height:100%;display:block}
.ub-plate .ub-ov{overflow:visible;pointer-events:none}
.ub.on .ub-still{opacity:0}
.ub-num{font-family:"Die Grotesk D",system-ui,sans-serif;font-weight:300;font-variant-numeric:proportional-nums;fill:#f5f5f7}
.ub-steps{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;margin:0;padding:0}
.ub-after{padding-top:clamp(40px,6vw,80px)}
.ub-note{margin:0 0 10px;max-width:640px;font-size:16px;line-height:1.5;color:var(--text-2,#a1a1a6)}

@media (max-width:734px){
  .ub-stage{grid-template-columns:1fr;grid-template-rows:auto 1fr;align-items:start;
    padding-bottom:calc(var(--fb-h,56px) + 20px + env(safe-area-inset-bottom))}
  .ub-copy{padding:4vh 20px 0;gap:6px}
  .ub-head{font-size:24px;min-height:2.2em}.ub-sub{font-size:14px;min-height:4.4em}
  .ub-rail{display:none}
  .ub-plate{width:min(100%,58svh);align-self:center}
}
@media (prefers-reduced-motion:reduce){.ub-copy p,.ub-rail b,.ub-rail span{transition:none}}
.no-js .ub-track{height:auto}
.no-js .ub-stage{position:relative;height:auto;padding:6vh 0}
.no-js .ub-steps{position:static;width:auto;height:auto;clip:auto;clip-path:none;white-space:normal;padding:0 max(6vw,24px);color:#a9a9b2}

/* Tray in AR (11/21): the Cycles still of the awake tray holds the stage until the model draws, framed like the model */
.as-tray .as-stage{container-type:size}
/* the still is the Cycles frame (4096 square, 31.3 deg turn, 15.19 deg fov) cropped to rows 1080-3892; the model uses the same
   camera about its bounding-box centre, which lands at (0.5135, 0.5739) of that frame. --fs is the frame size the model shows:
   1.428x the stage height while the 0.858 m radius holds, 1.0894x the width once data-fit widens it (s1-v3.js frameFit) */
.as-tray .as-poster{--fs:min(142.8cqh,108.94cqw);width:var(--fs);height:auto;left:calc(50% - .0135 * var(--fs));top:calc(50% + .033 * var(--fs));transform:translate(-50%,-50%);filter:none}
@media (max-width:734px){.as-tray .as-stage{height:480px}}
.as-tray .as-poster{transition:opacity 1.1s ease}
