/* Only the optional brand scene; the containing page owns its layout. */
#brand-scene { position:relative; width:100%; aspect-ratio:1.06; min-height:280px; isolation:isolate; touch-action:pan-y; }
#brand-scene::after { content:''; position:absolute; width:48%; height:18px; border-radius:50%; left:26%; bottom:9%; background:rgb(13 27 42 / .19); filter:blur(17px); z-index:-1; pointer-events:none; }
#brand-scene canvas { display:block; position:absolute; inset:0; width:100%; height:100%; opacity:0; transition:opacity .35s ease; pointer-events:none; }
#brand-scene .brand-scene-fallback { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; transition:opacity .35s ease; }
#brand-scene .brand-scene-fallback img, #brand-scene .brand-scene-fallback svg { width:57%; max-height:76%; object-fit:contain; }
#brand-scene.scene-ready canvas { opacity:1; }
#brand-scene.scene-ready .brand-scene-fallback { opacity:0; }
/* The bundled reference renderer reads a different theme attribute; this keeps its dark mark legible without changing the site's global theme. */
html[data-marketing-theme="dark"] #brand-scene canvas { filter:invert(1) hue-rotate(180deg); }
html[data-marketing-theme="dark"] #brand-scene::after { background:rgb(0 0 0 / .42); }
#brand-scene-toggle { display:inline-flex; align-items:center; justify-content:center; gap:9px; min-height:44px; padding:9px 15px; border:1px solid var(--control,var(--line)); border-radius:4px; background:transparent; color:var(--ink); font:inherit; font-size:12px; line-height:1.6; cursor:pointer; }
#brand-scene-toggle[hidden] { display:none; }
#brand-scene-toggle:hover { background:var(--surface); }
#brand-scene-toggle:focus-visible { outline:3px solid currentColor; outline-offset:3px; }
#brand-scene-toggle:disabled { cursor:default; opacity:.65; }
@media (max-width:767px) { #brand-scene { min-height:0; aspect-ratio:1.22; max-width:430px; margin-inline:auto; } #brand-scene .brand-scene-fallback img, #brand-scene .brand-scene-fallback svg { width:48%; } }
@media (prefers-reduced-motion:reduce) { #brand-scene canvas { display:none!important; } #brand-scene .brand-scene-fallback { opacity:1!important; transition:none; } }
@media print { #brand-scene-toggle, #brand-scene canvas { display:none!important; } #brand-scene .brand-scene-fallback { opacity:1!important; } }
