/* Shared background film for public secondary pages. Existing page layouts stay in charge. */
body.has-ambient-motion{position:relative;isolation:isolate;min-height:100vh;padding-bottom:64px;--ambient-shade:#07090d}
body.ambient-amara{--ambient-shade:#111713}
body.ambient-privacy{--ambient-shade:#080b10}
/* The owner hero used an opaque legacy scene; its shared film now supplies that background. */
body.ambient-owners .hero{background:transparent;isolation:auto}
body.ambient-owners .hero-visual{isolation:auto}
.maono-ambient,.maono-ambient-scrim{position:fixed;inset:0;pointer-events:none;overflow:hidden}
.maono-ambient{z-index:-2;background:var(--ambient-shade);opacity:.40;transform:none;contain:strict}
.maono-ambient-poster,.maono-ambient-poster img,.maono-ambient-video{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:70% center}
.maono-ambient-video{opacity:0;transition:none}
.maono-ambient[data-playing=true] .maono-ambient-video,.maono-ambient[data-ready=true] .maono-ambient-video{opacity:1}
.maono-ambient-scrim{z-index:-1;background:linear-gradient(100deg,var(--ambient-shade) 3%,#07090db5 42%,#07090d32 76%,var(--ambient-shade));opacity:.65}
.ambient-motion-toggle{position:fixed;z-index:45;right:20px;bottom:16px;display:inline-flex;align-items:center;justify-content:center;min-height:44px;max-width:calc(100% - 32px);border:1px solid #9ab9df80;border-radius:26px;padding:10px 16px;background:#101a28f5;color:#edf5ff;font:500 12px/1.5 Manrope,Arial,sans-serif;box-shadow:0 4px 20px #0005;cursor:pointer}
.ambient-motion-toggle:hover{background:#1c2d43;border-color:#d0e6ff}
.ambient-motion-toggle:focus-visible{outline:2px solid #c2ddff;outline-offset:5px}
.ambient-motion-toggle[hidden]{display:none!important}
/* The owner page's existing controller keeps its DOM hooks; one shared control is visible. */
body.has-ambient-motion #motion-toggle{display:none!important}
body.has-ambient-motion #maono-scene,body.has-ambient-motion .scene-fallback{display:none}
html.motion-paused body.has-ambient-motion *,html.tab-hidden body.has-ambient-motion *{animation-play-state:paused!important}
html.motion-paused .maono-ambient,html.tab-hidden .maono-ambient{transform:none}
@media(max-width:750px){.maono-ambient{opacity:.35}.maono-ambient-poster,.maono-ambient-poster img,.maono-ambient-video{object-position:67% center}.maono-ambient-scrim{background:linear-gradient(180deg,var(--ambient-shade),#07090d9c 45%,#07090d80 74%,var(--ambient-shade));opacity:.75}.ambient-motion-toggle{right:14px;bottom:12px;font-size:11px;padding:9px 13px}}
@media(prefers-reduced-motion:reduce){.maono-ambient{transform:none!important;opacity:.2}.maono-ambient-video,.ambient-motion-toggle{display:none!important}.maono-ambient-video{transition:none}html{scroll-behavior:auto}body.has-ambient-motion *{animation:none!important;transition:none!important}}

/* A validated visual-only snapshot is installed before the first paint. */
html.motion-resume-snapshot #ambient-scene::after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background-image:var(--maono-motion-snapshot);background-size:cover;background-position:70% center;background-repeat:no-repeat}
html.motion-resume-snapshot #ambient-scene[data-ready=true]::after{display:none}
html.motion-resume-snapshot #ambient-scene video{transition:none}
@media(max-width:750px){.ambient-poster,.ambient-poster img,.ambient-video,.maono-ambient-poster,.maono-ambient-poster img,.maono-ambient-video{object-position:67% center}html.motion-resume-snapshot #ambient-scene::after{background-position:67% center}}
