/* Danny's supplied media. The blue layer stays editable, outside the video. */
.hero-cinematic .hero-film img,.hero-cinematic .hero-film video{object-position:var(--film-position,50% 42%)}
.client-media-frame{position:relative;display:block;isolation:isolate;overflow:hidden;aspect-ratio:4/3;width:100%;background:#e8f2f9;border-radius:18px 72px 18px 18px}
.client-media-frame>img,.client-media-frame>video{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:var(--media-position,50% 45%)}
.client-media-frame>video{opacity:0;transition:opacity .65s ease;filter:saturate(.9)}
.client-media-frame.is-playing>video{opacity:1}
.client-media-frame::after{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(135deg,#a8d4ef14,#bedff21f)}
.client-media-photo .client-media-frame{position:relative;border-radius:18px 92px 18px 18px}
.hero-editorial-photo.client-media-photo{padding:0 16px 0 0}
.hero-editorial-photo.client-media-photo>.photo-floating-card{position:relative;inset:auto;width:auto;margin:-24px 20px 0;padding:20px 24px;background:#fffffff5;z-index:3}
.hero-editorial-photo.client-media-photo::before{inset:26px -10px 60px 24px}
.about-visual .client-media-frame{aspect-ratio:3/2;border-radius:18px}
.client-media-frame .client-video-toggle{position:absolute;top:12px;right:12px;z-index:3;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:10px 13px;background:#f6fbfff0;border:1px solid #b9d5e8;border-radius:30px;color:var(--brand-navy);font:inherit;font-size:10px;cursor:pointer;box-shadow:0 4px 20px #15274414}
.client-media-frame .client-video-toggle[hidden]{display:none}
.client-media-frame .client-video-toggle:focus-visible{outline:3px solid var(--brand-sky);outline-offset:-5px}
.client-media-photo:has(#over-ons-video){--media-position:50% 46%}
.client-media-photo:has(#contact-video){--media-position:52% 42%}
.client-photo-frame>img{filter:saturate(.88)}
@media(max-width:720px){
 .client-media-frame,.client-media-photo .client-media-frame{aspect-ratio:3/2;border-radius:16px 64px 16px 16px}
 .hero-editorial-photo.client-media-photo{padding:0 10px 0 8px}
 .hero-editorial-photo.client-media-photo>.photo-floating-card{margin:-16px 14px 0;padding:16px 18px}
 .hero-editorial-photo.client-media-photo>.photo-floating-card strong{font-size:18px;min-height:2.8em}
 .hero-editorial-photo.client-media-photo::before{inset:18px 0 60px 22px}
 .client-media-frame .client-video-toggle{top:9px;right:9px;padding:9px 11px;font-size:9px}
 .client-media-split{gap:34px}
}
@media(prefers-reduced-motion:reduce){.client-media-frame>video{display:none;transition:none}}

/* Full-height films on every hero; keep the clapping man visible on smaller screens. */
@media(max-width:980px){
 .hero-cinematic.service-hero--bookkeeping .hero-film img,.hero-cinematic.service-hero--bookkeeping .hero-film video{object-position:var(--compact-film-position,35% 42%)}
}
@media(max-width:720px){
 .hero-cinematic.service-hero--bookkeeping .hero-film img,.hero-cinematic.service-hero--bookkeeping .hero-film video{object-position:45.5% 42%}
}
