/* Quiet shared sound control; player posters remain visible until playing. */
.viva-autoplay { position: relative; width: 100%; height: 100%; aspect-ratio: 16 / 9; }
.viva-autoplay-poster, .viva-player-mount { position: absolute; inset: 0; width: 100%; height: 100%; }
.viva-autoplay-poster { object-fit: cover; }
.viva-player-mount { opacity: 0; pointer-events: none; }
.viva-autoplay[data-state="playing"] .viva-player-mount { opacity: 1; pointer-events: auto; }
.viva-player-mount mux-player { display: block; width: 100%; height: 100%; --controls: none; }
.viva-autoplay[data-audible="true"] mux-player { --controls: initial; }
.viva-film-start { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 16px; border: 0; background: transparent; color: var(--vm-white, #fff); font: 600 16px/1.4 Opensauceone, sans-serif; cursor: pointer; }
.viva-film-start span { background: var(--vm-black, #131313); padding: 12px; border-radius: var(--vm-radius-pill, 100px); }
.viva-sound-toggle { position: absolute; right: 16px; bottom: 16px; z-index: 5; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 8px 12px; border: 0; border-radius: var(--vm-radius-pill, 100px); background: color-mix(in srgb, var(--vm-black, #131313) 68%, transparent); color: var(--vm-white, #fff); font: 600 13px/1.4 Opensauceone, sans-serif; cursor: pointer; }
.viva-sound-toggle:hover, .viva-sound-toggle:focus-visible { background: color-mix(in srgb, var(--vm-black, #131313) 90%, transparent); }
.viva-sound-toggle:focus-visible, .viva-film-start:focus-visible { outline: 3px solid var(--vm-focus-on-dark, #bbb2ce); outline-offset: -4px; }
.viva-sound-toggle svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.viva-sound-toggle[aria-pressed="false"] .viva-speaker-on, .viva-sound-toggle[aria-pressed="true"] .viva-speaker-off { display: none; }
.viva-sound-toggle[hidden], .viva-film-start[hidden], .viva-player-status[hidden] { display: none !important; }
.viva-player-status { position: absolute; z-index: 3; inset: 12px 12px auto; margin: 0; padding: 12px; color: var(--vm-white, #fff); background: var(--vm-black, #131313); font: 400 14px/1.5 Opensauceone, sans-serif; }
/* Hero loops play muted; one small round pause control sits bottom right of the
   first screen (or of the hero when it is shorter). The text stays as its name. */
/* The homepage hero starts under a transparent nav, so its first screen begins at 0. */
:is(.vb-hero, #project, .wf-hero) { --viva-hero-top: 112px; }
.hero-section { --viva-hero-top: 0px; }
@media (max-width: 767px) { :is(.vb-hero, #project, .wf-hero) { --viva-hero-top: 80px; } }
:is(.vb-hero, .hero-section, #project, .wf-hero) .wf-motion-toggle { position: absolute; top: min(calc(100% - 68px), calc(100svh - var(--viva-hero-top) - 68px)); bottom: auto; left: auto; right: 24px; z-index: 5; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--vm-black, #131313) 68%, transparent); color: var(--vm-white, #fff); font-size: 0; line-height: 0; text-decoration: none; cursor: pointer; }
:is(.vb-hero, .hero-section, #project, .wf-hero) .wf-motion-toggle::before { content: ""; width: 10px; height: 12px; background: linear-gradient(90deg, currentColor 0 3px, transparent 3px 7px, currentColor 7px 10px); }
:is(.vb-hero, .hero-section, #project, .wf-hero) .wf-motion-toggle[data-paused="true"]::before { width: 0; height: 0; margin-left: 3px; background: none; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; }
:is(.vb-hero, .hero-section, #project, .wf-hero) .wf-motion-toggle:is(:hover, :focus-visible) { background: color-mix(in srgb, var(--vm-black, #131313) 90%, transparent); color: var(--vm-white, #fff); }
:is(.vb-hero, .hero-section, #project, .wf-hero) .wf-motion-toggle:focus-visible { outline: 3px solid var(--vm-focus-on-dark, #bbb2ce); outline-offset: 2px; }
/* Homepage hero: the Webflow overlay goes from 70% to 80% black, in line with the other heroes. */
.hero-section .video_overlay { background-color: rgb(0 0 0 / 80%); }
