/* bat3d container. The poster is visible first; bat3d.js adds .is-live once the first frame is drawn. */
.bat3d { position: relative; aspect-ratio: 16 / 10; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
@media (max-width: 700px) { .bat3d { aspect-ratio: 5 / 8; } }
.bat3d img, .bat3d canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
.bat3d canvas { opacity: 0; transition: opacity .7s ease; }
.bat3d.is-live { cursor: grab; }
.bat3d.is-live.is-grabbing { cursor: grabbing; }
.bat3d.is-live canvas { opacity: 1; }
.bat3d.is-live img { opacity: 0; transition: opacity .5s ease .4s; }
.bat3d:focus-visible { outline: 2px solid #fff4cf; outline-offset: 4px; }

/* Scroll zoom (2026-11-12, operator: "maybe make it bigger so its easier to read, or it can zoom in upon scroll before going to
   the next section"). bat3d.js bindScroll() adds .bat-pin to the section only after WebGL is live, so the poster path keeps the
   old two-column layout. The section gets ~2 screens of extra height, the copy and a full-width stage stick under the header
   while the bat turns level and the camera pushes in on the label, then the section releases. */
.bat-sec.bat-pin { overflow: visible; min-height: calc(100svh + 220vh); }
.bat-sec.bat-pin .bat-grid { position: sticky; top: var(--nav-h, 72px); height: calc(100svh - var(--nav-h, 72px)); grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: 0; align-items: start; }
.bat-sec.bat-pin .bat-copy .answer { max-width: 46rem; }
.bat-sec.bat-pin .bat-stage { width: 100vw; height: 100%; min-height: 0; margin: 0 calc(50% - 50vw); } /* full bleed: the level bat runs off both screen edges instead of being cut at the text column */
.bat-sec.bat-pin .bat3d { aspect-ratio: auto; height: 100%; }
@media (max-width: 700px) { .bat-sec.bat-pin { min-height: calc(100svh + 100vh); } } /* phone: the zoom ends in ~700 px of scroll (bat3d.js bindScroll), so the pin runway is ~1 screen instead of 2.2 (2026-11-17, operator: hard to scroll past the bat) */
