/* cjip-scene widget (C8.6, contract §9 B13, rule W27). Mirrors the `.cjip-scene` block of the SoT's index.css.
   The poster (inline SVG + destination label) is the content; the canvas replaces it after its first painted frame
   (.is-live). Box per scene: the globe keeps the Home hero map's box (330 / 380 from 640 / 420 from 1024); the scripts scene (C8.7) the About figure's box (aspect 668 / 373, at most
   440px wide below 1024) on a navy panel (mirrored in the SoT's index.css); the ascent scene (C8.8) the Courses figure's
   box (aspect 578 / 432, at most 440px wide below 1024, at most 260px tall, 320px from 640) on the same panel. */
.cjip-scene {
	position: relative;
	overflow: hidden;
	container-type: size;
	width: 100%;
	user-select: none;
	-webkit-user-select: none;
}
.cjip-scene--globe {
	height: 330px;
}
@media (min-width: 640px) {
	.cjip-scene--globe {
		height: 380px;
	}
}
@media (min-width: 1024px) {
	.cjip-scene--globe {
		height: 420px;
	}
}
.cjip-scene--scripts {
	max-width: 440px;
	aspect-ratio: 668 / 373;
	margin-inline: auto;
	border-radius: var(--cjip-radius-card);
	background: radial-gradient(120% 150% at 28% 18%, var(--cjip-navy-700), var(--cjip-navy-900));
}
@media (min-width: 1024px) {
	.cjip-scene--scripts {
		max-width: 100%; /* the SoT's lg:max-w-full (measure compares the value, C8.7) */
	}
}
.cjip-scene--ascent {
	max-width: 440px;
	max-height: 260px;
	aspect-ratio: 578 / 432;
	margin-inline: auto;
	border-radius: var(--cjip-radius-card);
	background: radial-gradient(120% 150% at 28% 18%, var(--cjip-navy-700), var(--cjip-navy-900));
}
@media (min-width: 640px) {
	.cjip-scene--ascent {
		max-height: 320px;
	}
}
@media (min-width: 1024px) {
	.cjip-scene--ascent {
		max-width: 100%;
	}
}
/* C8.9: wayfinding (How it works, integration band): the fig-integration box (aspect 578 / 432, at most 360px wide
   below 640px, at most 240px tall, 260px from 640px, 300px from 1024px), the navy panel as scripts and ascent. */
.cjip-scene--wayfinding {
	max-width: 360px;
	max-height: 240px;
	aspect-ratio: 578 / 432;
	margin-inline: auto;
	border-radius: var(--cjip-radius-card);
	background: radial-gradient(120% 150% at 28% 18%, var(--cjip-navy-700), var(--cjip-navy-900));
}
@media (min-width: 640px) {
	.cjip-scene--wayfinding {
		max-width: 100%;
		max-height: 260px;
	}
}
@media (min-width: 1024px) {
	.cjip-scene--wayfinding {
		max-height: 300px;
	}
}
.cjip-scene__poster {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
}
.cjip-scene__canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
	opacity: 0;
	touch-action: pan-y;
	cursor: grab;
}
.cjip-scene__canvas:active {
	cursor: grabbing;
}
.cjip-scene.is-live .cjip-scene__canvas {
	opacity: 1;
}
.cjip-scene.is-live .cjip-scene__poster,
.cjip-scene.is-live .cjip-scene__poster-label {
	visibility: hidden;
}
.cjip-scene__overlay {
	position: absolute;
	inset: 0;
	pointer-events: none;
}
.cjip-scene__label {
	position: absolute;
	left: 0;
	top: 0;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 28px;
	padding: 0 14px 0 12px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1;
	white-space: nowrap;
	pointer-events: none;
}
.cjip-scene__label i {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	display: block;
}
.cjip-scene__label b {
	font-weight: 700;
}
.cjip-scene__label--sm {
	height: 18px;
	gap: 5px;
	padding: 0 8px 0 6px;
	font-size: 10px;
	letter-spacing: 0.06em;
}
.cjip-scene__label--sm i {
	width: 5px;
	height: 5px;
}
.cjip-scene__city {
	position: absolute;
	left: 0;
	top: 0;
	font: 600 11px/1 var(--cjip-font-sans);
	letter-spacing: 0.01em;
	white-space: nowrap;
	pointer-events: none;
}
