/* ─────────────────────────────────────────────────────────────────────────────
   Case studies in the Oct 18 layout (lane L6 of "Old Layout, New Story",
   2026-11-02). The 18 portfolio/{scope3d,clickpad}-<building>/ pages are
   rewritten into this markup by react-app/scripts/case-study-films.mjs.

   The page keeps its old shape: the walkthrough stays in the lead slot beside
   "About Project", and the clips stay in their row under the summary. films.js
   now plays them (poster first, one at a time, the walkthrough first); this
   file only fits its wrapper into the old .bmd box.
   ───────────────────────────────────────────────────────────────────────────── */

/* films.js's wrapper fills the box the old <video> filled. z-index:0 keeps the
   poster it lays over the film (z-index 1) under the scrim, ▶ and caption. */
.bmd .bmd__film{position:absolute!important;inset:0;margin:0;display:block;z-index:0;--bo-film-fit:cover}
.bmd .bmd__film>.bo-film__poster{border-radius:inherit}
.bmd__scrim,.bmd__play,.bmd__cap{z-index:2}

/* Inside the twin: the badge over the clip row */
.single-project .bo-twin-head{display:flex;margin-bottom:22px}

/* the fact panel's "Same building" row links to the other product's study */
.single-project .bo-cs-other a{color:inherit;text-decoration:none;display:inline-flex;align-items:center;gap:6px}
.single-project .bo-cs-other a:hover{color:#00ff85}
:root[data-color-scheme="light"] .single-project .bo-cs-other a:hover{color:#00994f}
.bo-cs-other__arrow{transition:transform .18s}
.single-project .bo-cs-other a:hover .bo-cs-other__arrow{transform:translateX(3px)}
