/* Existing hero size and tint; paired mobile footage preserves the full customer interaction. */
.f-nixtio-hero .f-hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-2;opacity:0;pointer-events:none}
.f-nixtio-hero[data-motion-ready] .f-hero-video{opacity:1}
.f-nixtio-hero .f-hero-motion-toggle{position:absolute;left:18px;right:auto;bottom:12px;display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid #ffffff70;border-radius:50%;background:#071b3277;color:#fff;cursor:pointer;z-index:2}
.f-nixtio-hero .f-hero-motion-toggle[hidden]{display:none}
.f-hero-motion-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6}
.f-hero-motion-toggle .f-motion-play{display:none;fill:currentColor;stroke:none}
.f-hero-motion-toggle[data-paused] .f-motion-pause{display:none}
.f-hero-motion-toggle[data-paused] .f-motion-play{display:block}
.f-nixtio-hero .f-hero-motion-toggle:hover{background:#071b32cc}
.f-nixtio-hero .f-hero-motion-toggle:focus-visible{outline:2px solid #fff;outline-offset:4px}
@media(max-width:650px){.f-nixtio-hero .f-hero-video{object-position:72% center}.f-nixtio-hero .f-hero-motion-toggle{width:44px;height:44px;left:14px;bottom:10px}}
@media(prefers-reduced-motion:reduce){.f-nixtio-hero .f-hero-video,.f-nixtio-hero .f-hero-motion-toggle{display:none}}

.f-nixtio-hero[data-hero-scene=welcome] .f-hero-image,.f-nixtio-hero[data-hero-scene=welcome] .f-hero-video{object-position:right center}
@media(max-width:650px){.f-nixtio-hero[data-hero-scene=welcome] .f-hero-image,.f-nixtio-hero[data-hero-scene=welcome] .f-hero-video{object-position:center}}

/* The picture is a separate flex item: hide its still only after playback starts. */
.f-nixtio-hero[data-motion-ready] .f-hero-image{opacity:0}

/* Keep the restored typing subject in frame in tall and narrow heroes. */
.f-nixtio-hero[data-hero-scene=typing] .f-hero-image,.f-nixtio-hero[data-hero-scene=typing] .f-hero-video{object-position:right center}
