body { isolation: isolate; }
.page-film {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: #080d11 url("assets/hero-poster.webp") center / cover no-repeat;
}
.hero-film {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.page-film::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgb(4 6 10 / 19%);
}
.section-bg { background: transparent; animation: none; }
.hero-overlay, .section-overlay { display: none; }
.home-hero::before, .home-hero::after, .footer::before { content: none; }
/* The footer sits straight on the film or photo; light text with a dark
   halo stays readable whichever frame is behind it. */
.footer { background: transparent; border-top: 0; }
.footer :is(h3, .copyright, .footer-legal, .footer-legal a) {
    text-shadow: 0 1px 2px rgb(0 0 0 / 95%), 0 0 14px rgb(0 0 0 / 85%);
}
.footer :is(.copyright, .footer-legal, .footer-legal a) { color: #d3e0d8; }
.footer .footer-legal a:hover { color: var(--accent-mint, #4dffa6); }
.hero-film-toggle {
    position: fixed;
    z-index: 10;
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(.75rem, env(safe-area-inset-bottom));
    color: white;
    background: rgba(4, 10, 12, .5);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    padding: 0;
    cursor: pointer;
}
.hero-film-toggle::before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    box-sizing: content-box;
    width: 3px;
    height: 11px;
    border-inline: 3px solid currentColor;
}
.hero-film-toggle.is-paused::before {
    width: 0;
    height: 0;
    margin-left: 2px;
    border: solid transparent;
    border-width: 6px 0 6px 9px;
    border-left-color: currentColor;
}
.hero-film-toggle:hover, .hero-film-toggle:focus-visible { background: rgb(4 10 12 / 85%); }
.hero-film-toggle:focus-visible { outline: 2px solid var(--accent-mint); outline-offset: 3px; }
