html.cinema-open { overflow: hidden; }
.cinema {
  position: fixed; inset: 0; width: 100%; height: 100%; width: 100dvw; height: 100dvh;
  max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: #080808; color: #f4f4f0; overflow: hidden; color-scheme: dark;
  font: inherit; z-index: 1000;
}
.cinema::backdrop { background: #080808; }
.cinema[open] { display: block; }
.cinema [hidden] { display: none !important; }
.cinema *, .cinema *::before, .cinema *::after { box-sizing: border-box; }
.cinema button, .cinema a, .cinema input { -webkit-tap-highlight-color: transparent; }
.cinema button { font: inherit; cursor: pointer; }
.cinema button:disabled { opacity: .35; cursor: not-allowed; }
.cinema button:focus-visible, .cinema a:focus-visible, .cinema input:focus-visible, .cinema video:focus-visible { outline: 1px solid #f4f4f0; outline-offset: 5px; }
.cinema button, .cinema a { color: inherit; }
.cinema-shell {
  display: flex; flex-direction: column; width: 100%; height: 100%; min-height: 0;
  padding: 0 clamp(18px, 3vw, 56px); background: #080808;
}
.cinema-shell:fullscreen { width: 100vw; height: 100vh; background: #080808; }
.cinema-header {
  display: flex; flex: 0 0 64px; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgb(255 255 255 / .1);
}
.cinema-wordmark { font-family: var(--mono, monospace); font-size: 10px; line-height: 1.5; letter-spacing: .15em; }
.cinema-wordmark > span:first-child { margin: 0 12px; color: #666; }
.cinema-icon-button {
  display: inline-flex; justify-content: center; align-items: center; flex: 0 0 40px;
  width: 40px; height: 40px; padding: 9px; border: 0; border-radius: 0;
  background: transparent; color: #f4f4f0; transition: color 160ms ease, background 160ms ease;
}
.cinema-icon-button:hover { background: #1c1c1c; color: #fff; }
.cinema-icon-button svg, .cinema-center-play svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: square; stroke-linejoin: miter; }
.cinema-close { margin-right: -9px; }
.cinema-player { display: flex; flex: 1 1 auto; flex-direction: column; min-height: 0; padding-top: 12px; }
.cinema-screen { position: relative; display: flex; flex: 1 1 auto; min-height: 100px; align-items: center; justify-content: center; background: #000; isolation: isolate; }
.cinema-video, .cinema-embed { display: block; width: 100%; height: 100%; min-height: 0; }
.cinema-video { object-fit: contain; }
.cinema-embed { position: absolute; inset: 0; }
.cinema-embed iframe { display: block; width: 100%; height: 100%; border: 0; background: #000; }
.cinema-quality { position: absolute; top: 16px; left: 16px; padding: 6px 8px; color: #d8d8d4; background: rgb(8 8 8 / .75); font-family: var(--mono, monospace); font-size: 9px; letter-spacing: .12em; pointer-events: none; }
.cinema-status { position: absolute; inset: 0; display: flex; justify-content: center; align-items: center; gap: 12px; pointer-events: none; background: rgb(0 0 0 / .22); font-family: var(--mono, monospace); font-size: 11px; letter-spacing: .08em; }
.cinema-spinner { width: 16px; height: 16px; border: 1px solid #444; border-top-color: #f4f4f0; border-radius: 50%; animation: cinema-spin 850ms linear infinite; }
.cinema-center-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; width: 70px; height: 70px; border: 1px solid rgb(255 255 255 / .4); border-radius: 50%; background: rgb(8 8 8 / .6); color: #f4f4f0; padding: 22px; transition: background 150ms ease; }
.cinema-center-play:hover { background: rgb(255 255 255 / .1); }
.cinema-problem { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 24px; background: rgb(8 8 8 / .94); text-align: center; }
.cinema-problem p { max-width: 42ch; margin: 0; color: #b9b9b5; font-size: 14px; line-height: 1.7; }
.cinema-problem-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cinema-problem-actions button, .cinema-local-button { border: 1px solid rgb(255 255 255 / .25); border-radius: 0; padding: 10px 14px; background: #121212; font-family: var(--mono, monospace); font-size: 10px; letter-spacing: .07em; transition: border-color 160ms ease; }
.cinema-problem-actions button:hover, .cinema-local-button:hover { border-color: #f4f4f0; }
.cinema-controls { flex: 0 0 auto; background: #080808; padding: 7px 0 8px; }
.cinema-progress { position: relative; height: 20px; display: flex; align-items: center; }
.cinema-progress-track { position: absolute; inset: calc(50% - 1px) 0 auto; height: 2px; background: #272727; pointer-events: none; }
.cinema-buffered, .cinema-played { position: absolute; inset: 0 auto 0 0; width: 0; background: #555; }
.cinema-played { background: #f4f4f0; }
.cinema-seek { position: relative; display: block; appearance: none; -webkit-appearance: none; width: 100%; height: 20px; margin: 0; background: transparent; cursor: pointer; border: 0; }
.cinema-seek::-webkit-slider-runnable-track { height: 2px; background: transparent; }
.cinema-seek::-moz-range-track { height: 2px; background: transparent; }
.cinema-seek::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 8px; height: 8px; margin-top: -3px; border: 0; border-radius: 50%; background: #f4f4f0; }
.cinema-seek::-moz-range-thumb { width: 8px; height: 8px; border: 0; border-radius: 50%; background: #f4f4f0; }
.cinema-controls-row, .cinema-primary-controls, .cinema-secondary-controls, .cinema-volume-group { display: flex; align-items: center; }
.cinema-controls-row { justify-content: space-between; gap: 16px; min-height: 40px; }
.cinema-primary-controls { gap: 10px; margin-left: -9px; }
.cinema-secondary-controls { gap: 16px; margin-right: -9px; }
.cinema-time { display: flex; gap: 8px; color: #c5c5c0; white-space: nowrap; font-family: var(--mono, monospace); font-size: 10px; font-variant-numeric: tabular-nums; }
.cinema-time-divider { color: #555; }
.cinema-volume-group { margin-left: 12px; gap: 4px; }
.cinema-volume { accent-color: #f4f4f0; width: 64px; height: 2px; cursor: pointer; }
.cinema-external-help { margin: 0; color: #888; font-family: var(--mono, monospace); font-size: 10px; line-height: 1.6; }
.cinema-original { color: #b9b9b5; font-family: var(--mono, monospace); font-size: 10px; line-height: 1.5; text-decoration: none; border-bottom: 1px solid #444; padding-bottom: 3px; white-space: nowrap; }
.cinema-original:hover { color: #f4f4f0; border-color: #f4f4f0; }
.cinema-is-iframe .cinema-native-control { display: none; }
.cinema-information { display: grid; flex: 0 0 auto; grid-template-columns: minmax(0, 1fr) minmax(240px, .65fr); gap: 50px; padding: 18px 0 8px; border-top: 1px solid rgb(255 255 255 / .1); }
.cinema-work-meta { margin: 0 0 9px; color: #888; font-family: var(--mono, monospace); font-size: 9px; letter-spacing: .14em; line-height: 1.4; }
.cinema h2 { margin: 0; color: #f4f4f0; font-family: inherit; font-size: clamp(20px, 2vw, 32px); font-weight: 400; letter-spacing: -.025em; line-height: 1.3; }
.cinema-description { max-width: 85ch; margin: 9px 0 0; color: #888; font-size: 11px; line-height: 1.7; }
.cinema-credits { display: grid; grid-template-columns: 1fr 1fr; align-content: start; gap: 24px; margin: 0; padding-top: 2px; }
.cinema-credits dt { margin-bottom: 8px; color: #666; font-family: var(--mono, monospace); font-size: 9px; letter-spacing: .12em; line-height: 1.4; }
.cinema-credits dd { margin: 0; color: #b9b9b5; font-size: 11px; line-height: 1.6; white-space: pre-line; }
.cinema-shortcuts { flex: 0 0 auto; margin: 0; padding: 8px 0 12px; color: #555; font-family: var(--mono, monospace); font-size: 8px; line-height: 1.5; text-align: right; letter-spacing: .04em; }
@keyframes cinema-spin { to { transform: rotate(360deg); } }
@media (min-width: 1600px) { .cinema-shell { padding-left: 4vw; padding-right: 4vw; } .cinema-header { flex-basis: 72px; } .cinema-description, .cinema-credits dd { font-size: 12px; } }
@media (max-width: 700px) {
  .cinema-header { flex-basis: 56px; }
  .cinema-wordmark { font-size: 8px; letter-spacing: .1em; }
  .cinema-wordmark > span:first-child { margin: 0 6px; }
  .cinema-player { padding-top: 8px; }
  .cinema-screen { min-height: 28dvh; }
  .cinema-information { grid-template-columns: 1fr; gap: 14px; padding-top: 14px; max-height: 30dvh; overflow-y: auto; scrollbar-width: thin; }
  .cinema-credits { gap: 18px; }
  .cinema-description { font-size: 10px; }
  .cinema-quality { top: 10px; left: 10px; font-size: 8px; }
  .cinema-time { font-size: 9px; gap: 6px; }
  .cinema-primary-controls { gap: 2px; }
  .cinema-volume-group { margin-left: 4px; }
  .cinema-volume { width: 46px; }
  .cinema-secondary-controls { gap: 6px; }
  .cinema-external-help { font-size: 8px; max-width: 22ch; }
  .cinema-original { display: none; }
  .cinema-local-button { max-width: 140px; padding: 8px; font-size: 8px; }
  .cinema-shortcuts { display: none; }
}
@media (max-width: 420px) { .cinema-volume { display: none; } .cinema-volume-group { margin-left: 2px; } .cinema-controls-row { gap: 8px; } }
@media (max-height: 600px) and (orientation: landscape) {
  .cinema-header { flex-basis: 44px; }
  .cinema-information { display: none; }
  .cinema-shortcuts { display: none; }
  .cinema-player { padding-top: 4px; }
  .cinema-screen { min-height: 0; }
  .cinema-controls { padding-bottom: 4px; }
}
@media (prefers-reduced-motion: reduce) { .cinema *, .cinema *::before, .cinema *::after { animation: none !important; transition: none !important; } }

/* AI films combine a screening room with a scrollable editorial dossier. */
.cinema.has-dossier .cinema-shell{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scroll-behavior:smooth;scroll-padding-top:86px;display:block}
.cinema.has-dossier .cinema-header{height:64px;position:sticky;top:0;z-index:10;background:rgb(8 8 8 / .96);backdrop-filter:blur(12px)}
.cinema.has-dossier .cinema-player{height:68dvh;min-height:320px;max-height:940px;flex:none}
.cinema.has-dossier .cinema-screen{min-height:0;overflow:hidden}
.cinema.has-dossier .cinema-information{padding-top:25px;padding-bottom:16px;max-height:none;overflow:visible}
.cinema.has-dossier .cinema-description{font-size:13px;max-width:60ch;line-height:1.9}
.cinema.has-dossier .cinema-work-summary h2{font-family:var(--tc-serif);font-weight:300;font-size:clamp(26px,3vw,42px);line-height:1.6}
:lang(en) .cinema.has-dossier .cinema-work-summary h2{font-family:var(--display);line-height:1.2}
.cinema-read-dossier{padding:10px 0;margin:12px 0 0;font:10px var(--mono)!important;letter-spacing:.08em;border:0;border-bottom:1px solid #666;background:none;color:#f4f4f0}
.cinema-dossier{margin:60px auto 0;max-width:1500px;padding-bottom:42px}
.dossier-opening{padding:40px 0 50px;border-top:1px solid #ffffff24;display:flex;justify-content:space-between;gap:40px;align-items:flex-end}
.dossier-opening .micro{color:#888;font-size:9px}
.dossier-opening h3{font:300 clamp(32px,4.7vw,70px)/1.7 var(--tc-serif);letter-spacing:.025em;margin:22px 0 0}
:lang(en) .dossier-opening h3{font:400 clamp(38px,5vw,76px)/1.1 var(--display);letter-spacing:-.035em}
.dossier-nav{display:grid;min-width:180px;gap:0;padding-bottom:12px}
.dossier-nav button{border:0;border-top:1px solid #ffffff22;background:none;padding:15px 0;text-align:left;font:10px var(--mono);color:#aaa}
.dossier-nav button:hover{color:white}
.dossier-section{display:grid;grid-template-columns:1fr 2.6fr;gap:8%;padding:38px 0;border-top:1px solid #ffffff1a;scroll-margin-top:86px}
.dossier-section-label .micro{font-size:9px;color:#777}
.dossier-section-label h4{font:300 25px/1.6 var(--tc-serif);letter-spacing:.04em;margin:9px 0 0}
:lang(en) .dossier-section-label h4{font-family:var(--display);letter-spacing:0}
.dossier-copy{color:#b8b8b4;font-size:14px;line-height:2.1;max-width:940px}
.dossier-copy p{margin:0 0 20px}
.dossier-copy p:last-child{margin-bottom:0}
.dossier-copy h5{font-weight:500;font-size:15px;color:#f4f4f0;margin:0 0 12px;letter-spacing:.02em}
.dossier-copy .dossier-full-title{font:10px var(--mono);letter-spacing:.04em;color:#ddd;border-left:1px solid #777;padding-left:13px;margin:0 0 25px}
.dossier-copy .dossier-source-note{font-size:11px;line-height:1.9;color:#888;margin-top:25px}
.screenplay-outline{margin-top:28px;border-top:1px solid #ffffff22;border-bottom:1px solid #ffffff22}
.screenplay-outline summary{display:flex;justify-content:space-between;gap:24px;list-style:none;cursor:pointer;font-size:12px;color:#ddd;padding:20px 0;line-height:1.8}
.screenplay-outline summary::-webkit-details-marker{display:none}
.screenplay-outline summary span{font:22px var(--mono)}
.screenplay-outline[open] summary span{transform:rotate(45deg)}
.story-beat{padding:20px 0;border-top:1px solid #ffffff14}
.story-beat p{font-size:13px}
.dossier-copy .character-heading{padding-top:30px;margin-bottom:22px}
.character-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px 30px;padding-bottom:30px}
.character-note{border-top:1px solid #ffffff22;padding-top:18px}
.character-note .micro{font-size:8px;color:#777;line-height:1.9;display:block}
.character-note h5{font:300 23px/1.5 var(--tc-serif);margin:10px 0}
:lang(en) .character-note h5{font-family:var(--display)}
.character-note p{font-size:12px;line-height:2;color:#999}
.tool-register{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:19px 20px;margin-bottom:25px;border:1px solid #ffffff29;color:#f4f4f0;background:#111;font-size:13px;letter-spacing:.06em}
.tool-register span{font-size:8px;color:#888;align-self:center}
.dossier-copy .dossier-credit{font:10px/1.9 var(--mono);color:#888;margin-top:24px;white-space:pre-line}
.dossier-process{display:grid;grid-template-columns:26px 1fr;gap:17px;padding-bottom:25px}
.dossier-process>.micro{font-size:8px;color:#777;margin-top:6px}
.dossier-process p{font-size:13px;line-height:2.05}
.dossier-comparison{margin:10px 0 0}
.dossier-comparison figcaption{font-size:11px;line-height:1.9;color:#888;padding-top:15px}
.production-frame{margin:24px 0 0}
.production-frame button{width:100%;position:relative;display:block;cursor:crosshair;padding:0;border:1px solid #ffffff20;background:#121212;overflow:hidden}
.production-frame img{width:100%;height:auto;display:block;transition:transform .4s}
.production-frame button:hover img{transform:scale(1.02)}
.production-frame button .micro{position:absolute;bottom:16px;right:16px;background:#080808d9;padding:9px;font-size:8px}
.production-frame figcaption{margin-top:17px}
.production-frame figcaption p{font-size:11px;color:#888;line-height:1.9}
.dossier-frames{scroll-margin-top:86px;padding-bottom:20px}
.dossier-frames .keyframe-grid{gap:24px}
.dossier-end{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #ffffff1a;margin-top:40px;padding-top:24px;color:#777;font-size:9px}
.dossier-end button{font:inherit;border:0;background:none;color:#ddd}
.cinema.has-dossier .cinema-shell:fullscreen{overflow:hidden;display:flex}
.cinema.has-dossier .cinema-shell:fullscreen .cinema-player{height:auto;max-height:none;min-height:0;flex:1}
.cinema-shell:fullscreen .cinema-dossier,.cinema-shell:fullscreen .cinema-read-dossier{display:none}
@media(max-width:700px){
 .cinema.has-dossier .cinema-header{height:56px}
 .cinema.has-dossier .cinema-player{height:40dvh;min-height:240px}
 .cinema.has-dossier .cinema-information{gap:25px}
 .cinema.has-dossier .cinema-description{font-size:12px}
 .cinema-dossier{margin-top:40px}
 .dossier-opening{display:block;padding:30px 0}
 .dossier-nav{margin-top:26px;grid-template-columns:1fr 1fr 1fr;gap:15px;min-width:0}
 .dossier-nav button{font-size:8px;line-height:1.9}
 .dossier-section{display:block;padding:28px 0;scroll-margin-top:70px}
 .dossier-section-label{display:flex;gap:16px;align-items:baseline;margin-bottom:23px}
 .dossier-section-label h4{margin:0;font-size:23px}
 .dossier-copy{font-size:13px;line-height:2.05}
 .character-grid{grid-template-columns:1fr;gap:12px}
 .dossier-frames .keyframe-grid{grid-template-columns:1fr 1fr;gap:25px 13px}
 .dossier-frames .keyframes-header{display:block}
 .dossier-frames .keyframes-header .micro{display:block;margin-top:12px;font-size:7px}
 .dossier-process{gap:9px;grid-template-columns:20px 1fr}
 .dossier-end{font-size:8px}
}
@media(prefers-reduced-motion:reduce){.cinema.has-dossier .cinema-shell{scroll-behavior:auto}.production-frame img{transition:none}}
.production-gallery{display:grid;grid-template-columns:1fr 1fr;gap:26px 20px;margin-top:25px}
.production-gallery .production-frame{margin:0}
.production-gallery .production-frame:first-child{grid-column:1/-1}
.production-gallery .production-frame img{aspect-ratio:3/2;object-fit:cover}
.production-gallery .production-frame:first-child img{aspect-ratio:16/10}
.production-gallery .production-frame figcaption h5{font-size:13px;margin-bottom:9px}
.production-gallery .production-frame figcaption p{font-size:10px;line-height:1.9}
.production-gallery .production-frame button .micro{font-size:7px;right:10px;bottom:10px;padding:7px}
.interview-source-line{font:9px/1.9 var(--mono);color:#777;margin-top:30px;padding-top:20px;border-top:1px solid #ffffff1a}
.interview-context{display:grid;gap:0}
.interview-context article{border-top:1px solid #ffffff18;padding:23px 0}
.interview-context article:first-child{border-top:0;padding-top:0}
.interview-context .micro{font-size:8px;color:#777;display:block;margin-bottom:9px}
.interview-context h5{font-family:var(--tc-serif);font-weight:300;font-size:20px}
:lang(en) .interview-context h5{font-family:var(--display)}
@media(max-width:700px){.production-gallery{gap:22px 12px}.production-gallery .production-frame img{aspect-ratio:4/3}.production-gallery .production-frame figcaption h5{font-size:12px}.production-gallery .production-frame figcaption p{font-size:10px}}
@media(max-width:700px){.dossier-nav:has(button:nth-child(4)){grid-template-columns:1fr 1fr}}
