@import url("bio1104-act04.css");   /* footage stage (.b4-filmscene), loops and photo boxes, shared with acts 04–07 */
/* Act 09 · Jawless vertebrates and fishes */

.b4-levels .b4-ladder5 { grid-template-columns: repeat(5, 1fr); }

/* the gill pores, scrubbed in passing */
.b4-gillfilm { position: relative; }
.b4-gillfilm video { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.b4-gillfilm .xa-box > img.xp-film-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.xs-split .xs-vis.b4-gillfilm { display: block; }

/* the life story map */
.b4-journey { width: 100%; max-width: 760px; }
.b4-journey svg { overflow: hidden; }
.b4-sea { fill: none; stroke: var(--xp-sea); stroke-width: 1.4; stroke-linecap: round; opacity: .7; }
.b4-river { fill: none; stroke: var(--xp-sea); stroke-opacity: .28; stroke-width: 16; stroke-linecap: round; }
.b4-route { fill: none; stroke: var(--bone); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 4 6; }
.b4-route.down { stroke: var(--xp-endo); }
.b4-nest .ink { fill: none; stroke: var(--bone); stroke-width: 1.4; }

/* the bony fish in 3D, inside a split */
.b4-3d { position: relative; width: 100%; height: 44svh; min-height: 260px; }
.b4-3d .xp-canvas { position: absolute; inset: 0; }
.b4-3d .xa-layer { position: absolute; inset: 0; }
@media (min-width: 900px) { .b4-3d { height: 64svh; } }
html.xp-reduced .b4-3d { height: 44svh; }

/* the textbook check pair: the photo leads the first card */
.b4-check .xs-vis { min-height: 0; margin-bottom: 4px; }

/* gill arches becoming jaws */
.b4-arches svg { width: 100%; height: auto; display: block; }
.b4-arch path { fill: none; stroke: var(--bone); stroke-opacity: .55; stroke-width: 3; stroke-linecap: round; }
.b4-jaw path { fill: none; stroke: var(--xp-meso); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.xs-split .xs-vis .b4-arches { width: 100%; max-width: 520px; }
.xs .b4-journey.xp-sketch { width: 100%; max-width: 860px; justify-self: start; }
.xs .b4-journey .xa-box { width: 100%; max-width: none; }
#s-slime .xs-num { font-size: clamp(4.5rem, 20vw, 11rem); }
