/* Chapter titles, pictures and shot lists share the same page margins. */
:is(.club,.atlas) .film-chapter { --rail:minmax(228px,.76fr); }
:is(.club,.atlas) [data-scroll-film] .film-stage {
  box-sizing:border-box; width:100%; max-width:1800px; margin:auto;
  display:grid; grid-template-columns:minmax(0,2.2fr) var(--rail);
  grid-template-rows:auto 1fr; gap:clamp(12px,2.4vh,30px) clamp(22px,3vw,56px);
  align-content:start; align-items:start; padding:clamp(18px,3.1svh,42px) var(--gutter);
}
:is(.club,.atlas) [data-scroll-film] .film-window { display:contents; }
:is(.club,.atlas) [data-scroll-film] .film-heading {
  grid-area:1/1/2/-1; align-self:start; display:grid;
  grid-template-columns:minmax(0,1.3fr) minmax(17em,.7fr); align-items:end;
  column-gap:4vw; border:0; border-bottom:1px solid currentColor; padding:0 0 clamp(12px,1.8svh,24px);
}
:is(.club,.atlas) [data-scroll-film] .film-tag { grid-column:1/-1; margin:0 0 8px; }
:is(.club,.atlas) [data-scroll-film] .film-heading h2 {
  margin:0; line-height:1.12; font-size:clamp(32px,min(4.2vw,6.3svh),76px); text-wrap:balance;
}
:is(.club,.atlas) [data-scroll-film] .film-heading > p:last-child { margin:0; max-width:36em; line-height:1.58; }
:is(.club,.atlas) [data-scroll-film] .film-screen {
  grid-area:2/1; width:100%; max-width:calc(68svh * 16 / 9); align-self:start; margin:0; transform:none;
}
:is(.club,.atlas) [data-scroll-film] .film-screen video {
  width:100%; height:auto; max-height:none; aspect-ratio:16/9; object-fit:contain;
}
:is(.club,.atlas) [data-scroll-film] .film-strip {
  display:block; grid-area:2/2; margin:0; padding:0; border:0; align-self:start;
}
:is(.club,.atlas) [data-scroll-film] .film-controls {
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(5px,1vh,12px);
}
:is(.club,.atlas) .film-controls .film-play {
  grid-column:1/-1; justify-self:start; margin:0 0 2px; min-height:36px;
}
:is(.club,.atlas) .film-controls button:not(.film-play) {
  display:grid; grid-template-columns:minmax(0,1fr); align-content:start; justify-items:stretch;
  padding:3px; gap:3px; font:650 clamp(11px,.96vw,16px)/1.3 var(--sans);
  border-radius:0; text-align:left; overflow:hidden;
}
:is(.club,.atlas) .film-controls button span { padding:3px 5px; }
:is(.club,.atlas) .film-controls button img { width:100%; height:auto; aspect-ratio:16/9; object-fit:contain; }
:is(.club,.atlas) [data-scroll-film] .film-cues { padding-block:clamp(10px,1.7vh,22px) 0; min-height:0; margin-top:12px; border-top:1px solid currentColor; }
:is(.club,.atlas) [data-scroll-film] .film-cues h3 { font-size:clamp(19px,2vw,33px); }
:is(.club,.atlas) [data-scroll-film] .film-cues p { font-size:clamp(14px,1.15vw,20px); }
.atlas .film-controls button[aria-current="step"] { box-shadow:inset 0 -3px #ffad4b; }
.club .film-controls button[aria-current="step"] { box-shadow:inset 0 -3px #e8ba66; }
@media(min-width:761px) and (min-height:740px) and (max-aspect-ratio:1.28) {
  :is(.club,.atlas) [data-scroll-film] .film-stage { grid-template-columns:1fr; grid-template-rows:auto auto 1fr; gap:clamp(12px,1.7svh,26px); }
  :is(.club,.atlas) [data-scroll-film] .film-screen { grid-area:2/1; max-width:none; }
  :is(.club,.atlas) [data-scroll-film] .film-screen video { max-height:none; }
  :is(.club,.atlas) [data-scroll-film] .film-strip { grid-area:3/1; display:grid; grid-template-columns:minmax(0,1.9fr) minmax(0,1fr); gap:3vw; align-items:start; }
  :is(.club,.atlas) [data-scroll-film] .film-controls { grid-template-columns:repeat(var(--stops),minmax(0,1fr)); }
  :is(.club,.atlas) [data-scroll-film] .film-cues { margin:0; padding:8px 0; }
}
@media(min-width:761px) and (max-height:740px) {
  :is(.club,.atlas) [data-scroll-film] .film-stage { padding-block:14px; gap:12px 3vw; }
  :is(.club,.atlas) [data-scroll-film] .film-controls { grid-template-columns:repeat(3,minmax(0,1fr)); gap:4px; }
  :is(.club,.atlas) [data-scroll-film] .film-tag { margin-bottom:4px; }
  :is(.club,.atlas) [data-scroll-film] .film-cues { padding-top:6px; margin-top:7px; }
}
@media(max-width:760px) {
  :is(.club,.atlas) [data-scroll-film] .film-stage { display:flex; flex-direction:column; gap:clamp(8px,1.5svh,18px); padding:clamp(16px,2.4svh,28px) var(--gutter); }
  :is(.club,.atlas) [data-scroll-film] .film-heading { display:block; align-self:stretch; padding-bottom:9px; }
  :is(.club,.atlas) [data-scroll-film] .film-heading h2 { font-size:clamp(24px,6.8vw,43px); margin:4px 0; }
  :is(.club,.atlas) [data-scroll-film] .film-heading p:last-child { font-size:14px; }
  :is(.club,.atlas) [data-scroll-film] .film-screen video { max-height:37svh; }
  :is(.club,.atlas) [data-scroll-film] .film-controls { grid-template-columns:repeat(var(--stops),minmax(0,1fr)); gap:4px; }
  :is(.club,.atlas) [data-scroll-film] .film-controls button:not(.film-play) { padding:2px; gap:0; }
  :is(.club,.atlas) .film-controls button span { padding:3px 1px; font-size:10px; }
  :is(.club,.atlas) [data-scroll-film] .film-cues { padding:8px 0 0; margin-top:8px; }
  :is(.club,.atlas) [data-scroll-film] .film-cues h3 { font-size:20px; }
}
@media(min-width:761px) and (min-aspect-ratio:2/1) {
  :is(.club,.atlas) [data-scroll-film] .film-screen { max-width:calc(64svh * 16 / 9); }
}
@media(min-width:340px) and (max-width:520px) and (min-height:780px) and (max-aspect-ratio:0.54) {
  :is(.club,.atlas) [data-scroll-film] .film-controls { grid-template-columns:repeat(2,minmax(0,1fr)); }
  :is(.club,.atlas) .film-layers[data-scroll-film] .film-controls { grid-template-columns:repeat(3,minmax(0,1fr)); }
  :is(.club,.atlas) [data-scroll-film] .film-controls button span { font-size:12px; }
}
@media(min-width:650px) and (max-width:1080px) {
  :is(.club,.atlas) .film-chapter:not([data-scroll-film]) .film-cues { grid-template-columns:repeat(2,minmax(0,1fr)); row-gap:28px; }
}
@media(min-width:761px) and (max-width:1000px) and (max-height:575px) {
  :is(.club,.atlas) .film-window { grid-template-columns:1fr; gap:16px; }
  :is(.club,.atlas) .film-heading { display:grid; grid-template-columns:1.2fr 1fr; gap:0 20px; align-items:end; }
  :is(.club,.atlas) .film-heading .film-tag { grid-column:1/-1; }
  :is(.club,.atlas) .film-heading h2 { margin-bottom:0; }
}
