/* Home hero: 3D logo still + loop (BLENDER.web-asset-pilot). Tile colour is the render's own background. */
.hero-3d { position: relative; width: fit-content; max-width: 100%; margin: 0 auto; }
.hero-3d picture, .hero-3d__still { display: block; }
.hero-3d__still { width: 100%; height: auto; border-radius: 40px; }
.hero-3d__video {
    position: absolute; inset: 0; width: 100%; height: 100%;
    border-radius: 40px; object-fit: cover; opacity: 0; pointer-events: none;
}
.hero-3d.is-ready .hero-3d__video { opacity: 1; }
.hero-3d__toggle {
    position: absolute; right: 0; top: calc(100% + 8px); min-width: 44px; min-height: 44px; padding: 0 0.75rem;
    font: 500 0.8rem var(--font-body, system-ui, sans-serif);
    color: var(--text-light, #F5F5F5); background: var(--bg-darker, #050505);
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.10)); border-radius: 8px; cursor: pointer;
}
.hero-3d__toggle:hover { border-color: var(--primary, #D4AF37); color: var(--primary, #D4AF37); }
.hero-3d__toggle:active { transform: translateY(1px); }
.hero-3d__toggle:focus-visible { outline: 2px solid var(--primary, #D4AF37); outline-offset: 2px; }
.hero-3d__toggle:disabled { opacity: 0.5; cursor: default; }
.hero-3d__toggle[hidden] { display: none; }
@media (max-width: 768px), (prefers-reduced-motion: reduce) {
    .hero-3d__video, .hero-3d__toggle { display: none; }
}
