/* The bench: a pinned stage after the hero that plays a recording of the studio app making a reel,
   frame by frame on a canvas (bench.js). At rest, which is what no-JS and reduced-motion visitors see,
   it is one composed still: the script step (frame 56) with the hold cards beside it. */
.bench{position:relative;height:100svh;background:var(--bg)}
.js .bench{height:520svh}
.bench-pin{position:sticky;top:0;height:100svh;overflow:hidden;isolation:isolate}
.bench-pin>*{position:absolute}

/* the film's box: clear of the floating nav at the top, room for the labels at the bottom; frames sit inside it, contained */
.b-frame{inset:84px 24px 48px}
.b-frame picture,.b-poster,.b-film{position:absolute;inset:0;width:100%;height:100%}
.b-poster{object-fit:contain}
.b-film{display:none}
.is-film .b-film{display:block}

.b-demo,.b-rw{z-index:3;margin:0;padding:4px 12px;border-radius:999px;border:1px solid var(--hair);background:rgba(18,5,0,.72);color:rgba(255,255,255,.86);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.b-demo{right:24px;bottom:12px}
.b-rw{left:50%;top:50%;transform:translate(-50%,-50%);opacity:0;font-size:14px;letter-spacing:.2em;text-transform:uppercase}

/* hold cards: warm glass, crisp radii; at rest they stack, on the film each lands on its own hold (one cell) */
.b-cards{left:4%;bottom:14%;z-index:3;display:grid;gap:12px;width:min(320px,40vw)}
.b-card{padding:16px;border:1px solid var(--hair);border-radius:16px;background:rgba(24,7,1,.84);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 24px 48px rgba(0,0,0,.35);color:var(--ink)}
.b-card p{margin:0;font-size:15px;line-height:21px;color:rgba(255,255,255,.9)}
.b-label{display:block;margin-bottom:8px;font-family:ui-monospace,"SF Mono",Menlo,monospace;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--flame-lit)}
.sw-blueprint{display:inline-block;width:22px;height:22px;margin-right:10px;border-radius:5px;vertical-align:-5px;background:linear-gradient(rgba(255,255,255,.18) 1px,transparent 1px) 0 0/6px 6px,linear-gradient(90deg,rgba(255,255,255,.18) 1px,transparent 1px) 0 0/6px 6px,#1D4B8F;box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}
[data-hold="final"]{display:none}
.is-film .b-card{grid-area:1/1;align-self:end;opacity:0;will-change:transform,opacity}
.is-film [data-hold="final"]{display:block}

/* the section heading sits on a scrim over the first frame, then leaves as the film starts */
.b-copy{left:0;right:0;bottom:0;z-index:2;padding:96px 24px 6svh;text-align:center;background:linear-gradient(transparent,var(--bg) 70%)}
.b-copy .caption-3{color:var(--flame-lit);margin-bottom:8px}
.b-copy h2{max-width:640px;margin:0 auto;font-size:clamp(22px,2.4vw,30px);line-height:1.15}
.is-film .b-copy{will-change:transform,opacity}

/* the apron: the next section's ground, waiting under the frame; it climbs to hand off with no seam */
.b-apron{left:0;right:0;top:100%;height:calc(100% + 120px);z-index:4;background:linear-gradient(transparent,var(--bg) 120px)}

@media (max-width:767px){
  .js .bench{height:420svh}
  .b-frame{inset:64px 12px 56px}
  .b-demo{right:auto;left:50%;bottom:28px;transform:translateX(-50%)}
  .b-cards{left:16px;right:16px;bottom:96px;width:auto;gap:8px}
  .b-card{padding:12px}
  .b-card p{font-size:14px;line-height:19px}
}
@media (prefers-reduced-motion:reduce){.js .bench{height:100svh}.b-cards{bottom:max(24%,190px)}}
