/* The author film control is scoped to the two pages that include this file. */
.author-film-home { --header-height:226px; }
.author-film-lockup { position:relative; align-self:center; width:min(690px,72vw); padding-bottom:44px; transform:translateY(-15px); transition:width 1s cubic-bezier(.22,.61,.36,1),transform 1s cubic-bezier(.22,.61,.36,1),padding-bottom 1s; }
.author-film-lockup .brand { width:100%; transform:none; }
.author-film-button { position:absolute; bottom:0; right:0; width:28.4%; min-height:36px; display:flex; align-items:center; justify-content:center; gap:10px; padding:6px 9px; border:1px solid #91afbf; border-radius:0; background:#03080ce6; color:#d4dce0; cursor:pointer; font:400 10px/1.45 Arial,Helvetica,sans-serif; letter-spacing:.13em; text-transform:uppercase; transition:background-color .2s,opacity .2s,visibility .2s; }
.author-film-button svg { width:13px; height:17px; flex:none; }
.author-film-button > span { display:grid; text-align:left; white-space:nowrap; }
.author-film-button > span > span:last-child { font-size:9px; }
.author-film-button:hover { background:#17242e; }
.author-film-button:focus-visible,.author-film-close:focus-visible { outline:2px solid #d4e8f4; outline-offset:4px; }
.author-film-home .site-header.scrolled .author-film-lockup { width:min(450px,54vw); transform:translateY(-10px); padding-bottom:0; }
.author-film-home .site-header.scrolled .author-film-button { opacity:0; visibility:hidden; pointer-events:none; }
.world-page .author-film-lockup { width:min(450px,54vw); padding-bottom:0; transform:translateY(-10px); }
.world-page .author-film-button { right:auto; left:calc(100% + 18px); bottom:4px; width:196px; }
.author-film-dialog { width:min(960px,calc(100vw - 32px)); max-width:none; max-height:calc(100dvh - 32px); padding:0; border:1px solid #738e9e; background:#03070a; color:#e4e8ec; overflow:auto; }
.author-film-dialog::backdrop { background:rgba(0,0,0,.88); }
.author-film-bar { display:flex; align-items:center; justify-content:space-between; padding:12px 16px; gap:16px; }
.author-film-bar h2 { margin:0; font:400 17px/1.4 Georgia,serif; }
.author-film-close { min-height:44px; padding:4px 10px; border:1px solid #738e9e; color:inherit; background:transparent; font:14px Arial,sans-serif; cursor:pointer; }
.author-film-close span { margin-left:10px; font-size:24px; vertical-align:middle; }
.author-film-player { position:relative; aspect-ratio:4/3; max-height:calc(100dvh - 110px); }
.author-film-player iframe { display:block; position:absolute; inset:0; width:100%; height:100%; border:0; }
@media (max-width:1100px) and (min-width:761px) { .world-page .author-film-button { left:calc(100% + 12px); width:180px; gap:8px; } }
@media (max-width:760px) {
 .author-film-home,.world-page { --header-height:148px; }
 .author-film-home .site-header.scrolled,.world-page .site-header.scrolled { height:100px; }
 .world-page .site-header.scrolled { height:148px; }
 .author-film-lockup,.world-page .author-film-lockup { width:min(280px,68vw); justify-self:center; padding-bottom:48px; transform:translateY(0); }
 .author-film-lockup .brand,.world-page .author-film-lockup .brand,.author-film-home .site-header.scrolled .author-film-lockup .brand { width:100%; transform:none; }
 .author-film-button,.world-page .author-film-button { left:auto; right:0; bottom:0; width:176px; min-height:44px; font-size:10px; }
 .author-film-home .site-header.scrolled .author-film-lockup { width:min(280px,68vw); padding-bottom:0; transform:none; }
 .site-header.scrolled .primary-menu { top:100px; }
 .world-page .site-header.scrolled .primary-menu { top:148px; }
}
@media(prefers-reduced-motion:reduce) { .author-film-lockup,.author-film-button { transition:none!important; } }
/* Reserve the player's full width even on short landscape screens. */
.author-film-player { width:100%; height:min(54vw,calc(100dvh - 120px)); min-height:180px; aspect-ratio:auto; max-height:none; }
@media (max-width:760px) { .author-film-player { height:min(70vw,calc(100dvh - 120px)); min-height:140px; } }
.author-film-button { letter-spacing:.06em; gap:8px; }
@media (max-width:760px) {
 .author-film-lockup,.world-page .author-film-lockup { display:flex; flex-direction:column; align-items:stretch; gap:10px; padding-bottom:0; }
 .author-film-button,.world-page .author-film-button { position:static; align-self:flex-end; width:220px; max-width:100%; flex-shrink:0; background:#03080c; }
 .author-film-home .site-header.scrolled .author-film-button { display:none; }
}
.author-film-button,.author-film-close { -webkit-appearance:none; appearance:none; }
/* Home badge crosses the header rule by exactly three CSS pixels. */
.author-film-home .header-inner { position:relative; }
.author-film-home .author-film-button { position:absolute; bottom:-3px; right:calc((100% - min(690px,72vw))/2); width:calc(min(690px,72vw) * .284); }
/* Fit the dialog to the film's native 16:9 frame rather than letterboxing it. */
.author-film-dialog { width:min(960px,calc(100vw - 32px),calc((100dvh - 120px)*16/9)); }
.author-film-player { width:100%; height:auto; min-height:0; max-height:none; aspect-ratio:16/9; background:#000; }
.author-film-player iframe { background:#000; }
@media (max-width:760px) {
 .author-film-home .author-film-button { position:absolute; right:calc((100% - min(280px,68vw))/2); bottom:-3px; width:220px; max-width:calc(100% - 24px); }
 .author-film-player { height:auto; min-height:0; aspect-ratio:16/9; }
}
