.agency-3d-scene {
	position: relative;
	width: 100%;
	min-height: 480px;
	overflow: hidden;
}

/**
 * "Pin while scrolling" mode — matches the standalone prototype's
 * architecture: the canvas is fixed full-viewport (z-index low, behind
 * page copy) while the surrounding page content scrolls normally above
 * it, so the scene floats/persists through the whole page instead of
 * scrolling away with whatever section the shortcode happens to sit in.
 * `pointer-events: none` lets clicks/scroll pass through to the page;
 * assets/js/awards.js listens on `window` (not the container) for hover
 * raycasting so it still works with this disabled.
 */
.agency-3d-scene.agency-3d-fixed {
	position: fixed;
	inset: 0;
	width: 100vw;
	height: 100vh;
	z-index: -1;
	pointer-events: none;
	min-height: 0;
}
.agency-3d-scene.agency-3d-fixed canvas {
	pointer-events: none;
}

.agency-3d-scene canvas {
	display: block;
	width: 100%;
	height: 100%;
}

.agency-3d-loading {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font: 12px/1.4 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.5);
	background: transparent;
	pointer-events: none;
	transition: opacity 0.4s ease;
	opacity: 1;
}

.agency-3d-loading.agency-3d-loading-done {
	opacity: 0;
}

.agency-3d-award-panel {
	position: fixed;
	z-index: 10;
	pointer-events: none;
	padding: 0.9rem 1.2rem;
	background: rgba(10, 10, 14, 0.72);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 10px;
	transform: translate(-50%, -140%);
	transition: opacity 0.18s ease;
	opacity: 0;
	min-width: 170px;
	font: 13px/1.4 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	color: #f3f2ee;
}
.agency-3d-award-panel.visible { opacity: 1; }
.agency-3d-award-eyebrow {
	font-size: 0.62rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #c9ff3d;
	margin-bottom: 0.3rem;
	font-weight: 700;
}
.agency-3d-award-title { font-weight: 600; margin-bottom: 0.15rem; }
.agency-3d-award-year { font-size: 0.78rem; color: #8b8a92; }

.agency-3d-cursor-dot {
	position: fixed;
	top: 0;
	left: 0;
	width: 22px;
	height: 22px;
	margin: -11px 0 0 -11px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.55);
	pointer-events: none;
	z-index: 50;
	opacity: 0;
	transition: opacity 0.3s ease, width 0.2s ease, height 0.2s ease, margin 0.2s ease, background 0.2s ease;
	will-change: transform;
}
.agency-3d-cursor-dot.visible { opacity: 1; }
.agency-3d-cursor-dot.hover {
	width: 64px;
	height: 64px;
	margin: -32px 0 0 -32px;
	background: rgba(201, 255, 61, 0.08);
	border-color: #c9ff3d;
}

@media (max-width: 720px) {
	.agency-3d-cursor-dot { display: none; }
}

.agency-3d-debug {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 100;
	background: rgba(0, 0, 0, 0.75);
	color: #9cff6b;
	font: 11px/1.6 'SF Mono', Menlo, Consolas, monospace;
	padding: 10px 14px;
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	white-space: pre;
	pointer-events: none;
	max-width: 340px;
}
