/* =====================================================================
   04 · Where this works ("Built for real operations…") with a scroll animation.
   The Figma video becomes a frame sequence drawn on a canvas as you scroll: the section starts with just the
   text and, on scrolling, it rises and turns into the section (title, description and aerial image of the trailer).
   Up to 767 px (or with "reduce motion") it stays on the last frame.
   ===================================================================== */
.bfr { --bfr-h: 47.5vw; /* video aspect ratio: 1920 x 912 */
  position: relative; height: calc(var(--bfr-h) + 145vh); background: #0a0a0a; }
.bfr__stage { position: sticky; top: max(0px, calc(50vh - var(--bfr-h) / 2)); height: var(--bfr-h); overflow: hidden; }
.bfr__canvas, .bfr__still { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.bfr__still { object-fit: cover; opacity: 0; }
.bfr.is-static { height: auto; }
.bfr.is-static .bfr__stage { position: relative; top: 0; }
.bfr.is-static .bfr__canvas { display: none; }
.bfr.is-static .bfr__still { opacity: 1; }

/* Paragraph as live text over the frames: the baked-in copy clipped its descenders, so it was erased from the
   images (frames 056-066 and the end still) and is drawn here at the same place and size (Figma: Inter 18 px at
   1920 wide). It fades up over the last part of the scroll; --bfr-para is set by js/built-for-real.js. */
.bfr__stage { container-type: inline-size; }
.bfr__para {
  position: absolute; left: 66.1%; top: 45.9%; width: 29.6%; margin: 0;
  font-family: var(--font-body); font-weight: 400; font-size: 0.9375cqw; line-height: 1.4; letter-spacing: -0.005em;
  color: rgba(255, 255, 255, 0.94); pointer-events: none;
  opacity: var(--bfr-para, 0); transform: translateY(calc((1 - var(--bfr-para, 0)) * 1.2cqw));
}
.bfr.is-static .bfr__para { opacity: 1; transform: none; }
