/* True motion happens as the visitor scrolls; reduced motion gets the same content immediately. */
.aftkf-scroll-progress{position:fixed;top:0;left:0;right:0;height:3px;z-index:150;pointer-events:none;background:transparent;transform:translateZ(0)}
.aftkf-scroll-progress>span{display:block;width:100%;height:100%;background:#d91c39;transform:scaleX(0);transform-origin:left center;will-change:transform}
.aftkf-chapter-rail{position:fixed;z-index:45;left:5px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:8px;padding:13px 3px;background:#05050598;backdrop-filter:blur(6px);border:1px solid #ffffff18;border-radius:0}
.aftkf-chapter-rail a{display:grid;place-items:center;color:#bfbab5;font:700 8px/1 'Courier New',monospace;width:23px;height:27px;text-decoration:none;border-left:2px solid transparent;transition:color .2s,border-color .2s,background .2s}
.aftkf-chapter-rail a[aria-current=location]{color:#fff;border-left-color:#d41b37;background:#ffffff18}
.aftkf-chapter-rail a:hover,.aftkf-chapter-rail a:focus-visible{color:#fff;border-left-color:#e32a48;background:#ffffff24}
@media(hover:none){.aftkf-chapter-rail{display:none}}
@media(max-width:1190px){.aftkf-chapter-rail{display:none}}
@media(prefers-reduced-motion:no-preference){
 html.aftkf-motion-on [data-reveal]{opacity:0;transition:opacity .75s ease,transform .9s cubic-bezier(.2,.7,.2,1);transition-delay:var(--reveal-delay,0ms)}
 html.aftkf-motion-on [data-reveal="copy"]{transform:translateY(30px)}
 html.aftkf-motion-on [data-reveal="card"]{transform:translateY(44px)}
 html.aftkf-motion-on [data-reveal="image"]{transform:translateY(25px) scale(1.015)}
 html.aftkf-motion-on [data-reveal].is-inview{opacity:1;transform:none}
 .ed-cinema-media img{transform:translate3d(0,var(--ed-depth,0px),0) scale(1.045);transition:transform .05s linear}
}
@media(prefers-reduced-motion:reduce){
 html [data-reveal]{opacity:1!important;transform:none!important}
 .ed-cinema-media img{transform:none!important;will-change:auto!important}
 .aftkf-scroll-progress>span{will-change:auto}
}
/* The old film was landscape only; the approved 2026 ident has a true portrait master. */
@media(max-width:740px){
 .brand-ident .brand-film{object-fit:cover!important;object-position:center!important;transform:none!important}
 .brand-ident .ident-topline{padding:clamp(16px,5vw,26px)}
 .brand-ident .ident-bottomline{padding-left:20px;padding-right:20px}
 .brand-ident .ident-enter{font-size:clamp(9px,2.7vw,12px);min-height:51px;padding:14px}
 /* Bring back V15's simple reading of the header. Replay remains available inside the full menu. */
 .topbar .head-catalog-link,.topbar .brand-trigger{display:none!important}
 .topbar .head-right{gap:15px;flex-wrap:nowrap}
 .topbar .site-menu-toggle{order:0;margin-left:0}
 .topbar .language{order:1}
 /* Never put the film transport over MARI's face. Give it its own row below the hero. */
 .hero .shot-console{position:relative!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;grid-column:1;grid-row:3;margin:0 20px 26px auto;width:min(220px,60vw)!important;max-width:220px;z-index:4}
 .hero{padding-bottom:10px!important}
}
@media(max-width:390px){.topbar .head-right{gap:9px}.topbar .language{gap:6px}.topbar .language button{font-size:10px}.topbar .site-menu-toggle{min-width:58px}}
/* Direct navigation and menu: desktop recovers what V15 made obvious. */
.aftkf-direct-nav{display:flex;align-items:center;justify-content:center;gap:clamp(12px,1.6vw,27px);min-width:0;margin-left:auto}
.aftkf-direct-nav>a{font:700 clamp(9px,.69vw,11px)/1.3 'Courier New',monospace;color:#ece9e6;letter-spacing:.035em;white-space:nowrap;text-decoration:none;border-bottom:1px solid transparent;padding:10px 0;transition:border-color .2s,color .2s}
.aftkf-direct-nav>a:hover,.aftkf-direct-nav>a:focus-visible{color:#fff;border-bottom-color:#d51c38}
.topbar .aftkf-direct-nav{margin-left:auto}
.topbar .head-right{gap:clamp(12px,1.7vw,30px)}
.portal-header .aftkf-direct-nav{margin-left:auto}
.portal-header .portal-nav{flex:0 0 auto}
@media(max-width:1330px){.aftkf-direct-nav{display:none}}
@media(min-width:1331px){.topbar .head-catalog-link{display:none}.topbar .wordmark{flex:0 0 auto}}
@media(max-width:740px){.aftkf-direct-nav{display:none!important}}
