/* Act 05 · Reading velocity-time graphs */
/* the hero object as a quiet background behind the big idea */
.p11-herobg { position: absolute; inset: 0; opacity: .38; pointer-events: none; }
.p11-herobg .xp-canvas { position: absolute; inset: 0; }
/* the scrub's live total */
/* type and layout: the kit's .xs-readout.col (xp.css §17); here only where it sits */
.p11-areax { bottom: calc(clamp(24px, 6svh, 64px) + 86px); }
@media (max-width: 899px) { .p11-areax { display: none; } }
@media (min-width: 900px) { .p11-areax { top: calc(var(--xp-bar) + 250px); bottom: auto; } }
/* sparklines in v colour, the turning point */
.p11-spark .ln.v { stroke: var(--xp-v); }
.p11-spark .pt { fill: var(--bone); }
/* the trio of slopes */
.p11-trio { display: flex; gap: 24px; }
.p11-trio p { margin: 0; display: grid; }
.p11-trio b { font-size: clamp(2.2rem, 9vw, 3.6rem); line-height: 1; letter-spacing: -0.05em; font-weight: 500; color: var(--bone); }
/* the ball's inline scene */
.p11-ball { position: relative; aspect-ratio: 1 / 1.05; width: 100%; max-width: 560px; margin: 0; }
.p11-ball .xp-canvas { position: absolute; inset: 0; }
/* the x-t / v-t / a-t grid */
.p11-grid { display: grid; gap: 0; max-width: 640px; }
.p11-grid > div { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--hairline); }
.p11-grid .p11-gh { border-top: 0; padding-bottom: 4px; }
.p11-grid .p11-gh span { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--mix-4); }
.p11-grid [role="rowheader"] { font-size: var(--text-sm); line-height: 1.3; color: var(--bone); }
.p11-grid svg { display: block; width: 100%; max-width: 110px; height: auto; }
.p11-grid .ax { fill: none; stroke: var(--mix-4); stroke-width: 1; }
.p11-grid .lx, .p11-grid .lv, .p11-grid .la { fill: none; stroke-width: 2.4; stroke-linecap: round; }
.p11-grid .lx { stroke: var(--xp-x); } .p11-grid .lv { stroke: var(--xp-v); } .p11-grid .la { stroke: var(--xp-a); }
/* corners vs smooth */
.p11-sk { display: block; width: 100%; height: auto; }
.p11-sk .ax { fill: none; stroke: var(--mix-4); stroke-width: 1; }
.p11-sk .cv { fill: none; stroke-width: 2.4; stroke-linejoin: round; }
.p11-sk .cv.dash { stroke: var(--bone); stroke-opacity: .55; stroke-dasharray: 5 5; stroke-width: 1.6; stroke-linejoin: miter; }
.p11-sk .cv.smooth { stroke: var(--xp-v); }
