/* A reserved media frame prevents layout shifts while the locally hosted film loads. */
.cinema-hero {
    position: relative;
    isolation: isolate;
    max-width: 1440px;
    min-height: 680px;
    margin: auto;
    padding: 48px;
    display: flex;
    align-items: center;
    background: #e8ddcf;
    overflow: hidden;
}
.cinema-media { position: absolute; inset: 0; z-index: -1; }
.cinema-video, .cinema-still { width: 100%; height: 100%; object-fit: cover; object-position: 65% 50%; }
.cinema-still { position: absolute; inset: 0; animation: cinema-enter 700ms cubic-bezier(.22,1,.36,1) both; }
.cinema-copy { max-width: 480px; padding: 40px; background: #faf5ec; border-radius: 4px; }
.cinema-copy .eyebrow { font-size: .75rem; line-height: 1rem; margin-bottom: 24px; }
.cinema-copy h1 { font-size: 3rem; line-height: 1; letter-spacing: -.04em; background: linear-gradient(to right,#000,#666); background-clip: text; color: transparent; }
.cinema-copy p { margin-top: 24px; margin-bottom: 32px; color: #61574d; }
.cinema-copy .button { background: #515345; }
.cinema-toolbar { position: absolute; bottom: 24px; left: 48px; right: 48px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.cinema-tabs { display: flex; background: #faf5ec; border-radius: 4px; padding: 4px; gap: 4px; }
.cinema-tabs button { padding: 8px 16px; min-height: 44px; font: 500 .875rem/1.25rem var(--font); border-radius: 4px; }
.cinema-tabs button[aria-pressed=true] { background: #515345; color: white; }
.cinema-tabs button:hover { text-decoration: underline; text-underline-offset: 4px; }
.cinema-play { min-height: 48px; padding: 8px 16px; background: #faf5ec; border-radius: 4px; font: 500 .875rem/1.25rem var(--font); }
.cinema-category { position: absolute; top: 24px; right: 48px; padding: 8px 16px; background: #faf5ec; border-radius: 4px; font: 500 .875rem/1.25rem var(--font); }
.cinema-hero[data-paused=true] .cinema-play { text-decoration: underline; text-underline-offset: 4px; }
@keyframes cinema-enter { from { opacity: 0; transform: scale(1.035); } to { opacity: 1; transform: scale(1); } }
@media (max-width: 1000px) { .cinema-copy { max-width: 400px; padding: 32px; } }
@media (max-width: 760px) {
    .cinema-hero { min-height: 720px; padding: 24px; align-items: flex-end; padding-bottom: 96px; }
    .cinema-media { height: 100%; }
    .cinema-video { object-position: 66% 40%; }
    .cinema-copy { width: 100%; max-width: none; padding: 24px; }
    .cinema-copy h1 { font-size: 2.25rem; line-height: 2.5rem; }
    .cinema-copy p { font-size: .875rem; line-height: 1.25rem; margin: 16px 0 24px; }
    .cinema-copy .eyebrow { margin-bottom: 16px; }
    .cinema-toolbar { bottom: 24px; left: 24px; right: 24px; gap: 8px; }
    .cinema-tabs button { padding-inline: 8px; }
    .cinema-category { top: 24px; right: 24px; }
    .cinema-play { padding-inline: 8px; font-size: .75rem; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { .cinema-still { animation: none; } }
/* All three locally hosted films share one frame and crossfade without moving the copy. */
.cinema-media .cinema-video {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 500ms cubic-bezier(.22,1,.36,1);
}
.cinema-media .cinema-video.is-active { opacity: 1; }
.cinema-media .cinema-video[data-film="0"] { object-position: 50% 55%; }
@media (prefers-reduced-motion: reduce) {
    .cinema-media .cinema-video { transition: none; }
}

.cinema-controls {
    display:flex;
    align-items:center;
    gap:4px;
    padding:4px;
    background:#faf5ec;
    border-radius:4px;
    color:#3d452c;
}
.cinema-controls button {
    display:grid;
    place-items:center;
    min-width:44px;
    min-height:44px;
    padding:8px;
    font:500 .875rem/1.25rem var(--font);
    border-radius:4px;
}
.cinema-controls button:hover:not(:disabled) { background:#e8ebda; }
.cinema-controls button:disabled { opacity:.4; }
.cinema-controls svg { width:20px; height:20px; }
@media(max-width:760px) {
    .cinema-hero { padding-bottom:144px; }
    .cinema-toolbar { flex-wrap:wrap; gap:8px; }
    .cinema-controls { margin-left:auto; }
}
@media(max-width:760px) {
    .cinema-hero { min-height:max(560px, calc(100svh - 200px)); }
    .cinema-toolbar { display:grid; grid-template-columns:1fr; justify-items:start; }
    .cinema-controls { margin-left:0; }
}
