@font-face{font-family:Inter;src:url('assets/hero-v21/fonts/Inter-Regular.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:Inter;src:url('assets/hero-v21/fonts/Inter-SemiBold.woff2') format('woff2');font-weight:600;font-display:swap}
@font-face{font-family:'Barlow Condensed';src:url('assets/hero-v21/fonts/BarlowCondensed-SemiBold.woff2') format('woff2');font-weight:600;font-display:swap}
:root{--hero-nav-height:120px;--hero-logo-x:calc(var(--hero-unit, 1vw) * 10.677083);--hero-logo-y:calc(var(--hero-unit, 1vw) * 2.760417);--hero-logo-w:calc(var(--hero-unit, 1vw) * 5.416667);--hero-logo-h:calc(var(--hero-unit, 1vw) * 3.28125)}
#siteShell #top{margin-top:0}
#siteShell #top #heroNav{position:fixed;z-index:50;top:0;left:0;right:0;height:var(--hero-nav-height);box-sizing:border-box;transition:transform 220ms cubic-bezier(.4,0,.2,1),background-color 180ms;background:transparent;font:600 clamp(11px,calc(var(--hero-unit, 1vw) * .833333),22px)/1 Inter,sans-serif;letter-spacing:.08em}
#heroNav .hero-brand{position:absolute;left:var(--hero-logo-x);top:calc(var(--hero-logo-y) + env(safe-area-inset-top));width:var(--hero-logo-w);height:var(--hero-logo-h);display:block;min-height:44px}
#heroNav .hero-brand img{width:100%;height:auto;display:block}
#heroLinks{position:absolute;right:calc(var(--hero-unit, 1vw) * 10.677083);top:calc(calc(var(--hero-unit, 1vw) * 3.385417) + env(safe-area-inset-top));height:calc(var(--hero-unit, 1vw) * 2.604167);display:flex;align-items:center;gap:calc(var(--hero-unit, 1vw) * 2.916667)}
#heroNav a{color:#fff;text-decoration:none}
#heroLinks>a{display:flex;align-items:center;min-height:44px;white-space:nowrap}
#heroNav a:hover{color:#fff;text-decoration:underline;text-underline-offset:6px}
#heroNav a:focus-visible,#heroMenuToggle:focus-visible,#heroChallenge:focus-visible,.hero-down:focus-visible{outline:3px solid #f7e400;outline-offset:5px}
#heroNav .hero-status{background:#f7e400;color:#000;border-radius:6px;padding:0 calc(var(--hero-unit, 1vw) * 1.510417);height:calc(var(--hero-unit, 1vw) * 2.604167);min-height:36px;display:flex;align-items:center;justify-content:center;font-size:clamp(11px,calc(var(--hero-unit, 1vw) * .833333),22px);letter-spacing:0;white-space:nowrap;cursor:default}
#siteShell #top #heroNav.nav-away{transform:translateY(calc(-100% - env(safe-area-inset-top)));pointer-events:none}
#siteShell #top #heroNav.nav-backed{background:rgba(0,0,0,.92)}
#heroMenuToggle{display:none}
#siteShell #top #filmHero{height:100svh;min-height:540px;overflow:hidden;position:relative;background:#000 url('assets/hero-v21/FilmFlex_Hero_Poster.jpg') center/cover no-repeat;color:#fff;font-family:Inter,sans-serif;isolation:isolate}
#filmHero video{pointer-events:none}
#heroBackground{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.hero-nav-gradient{position:absolute;inset:0 0 auto;height:180px;background:linear-gradient(to bottom,rgba(0,0,0,.55),rgba(0,0,0,.22) 55%,transparent);pointer-events:none;z-index:-1}
#filmHero .hero-logo-canvas{position:absolute;top:0;left:0;width:calc(var(--hero-unit, 1vw) * 100);height:calc(var(--hero-unit, 1vw) * 56.25);display:none}
#filmHero .hero-headline-canvas,#filmHero .hero-cta-canvas{position:absolute;width:calc(var(--hero-unit, 1vw) * 100);height:calc(var(--hero-unit, 1vw) * 56.25);top:50%;left:0;transform:translateY(-50%);pointer-events:none}
.hero-headline-canvas>video,.hero-headline-canvas>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
#heroHeadlineMotion{display:none}
#filmHero #hero-h{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap;margin:-1px;padding:0;border:0}
#heroChallenge{position:absolute;top:70.185185%;left:50%;transform:translateX(-50%);height:calc(var(--hero-unit, 1vw) * 2.760417);box-sizing:border-box;display:flex;align-items:center;justify-content:center;padding:0 calc(var(--hero-unit, 1vw) * 1.40625);background:#f7e400;color:#000;border-radius:7px;font:600 clamp(12px,calc(var(--hero-unit, 1vw) * .885417),24px)/1 Inter,sans-serif;text-decoration:none;white-space:nowrap;pointer-events:auto;min-height:36px}
#heroChallenge:hover{background:#f7e400;color:#000}
#filmHero .hero-bottom-left,#filmHero .hero-bottom-right{position:absolute;bottom:calc(var(--hero-unit, 1vw) * 2.864583);margin:0;font:600 calc(var(--hero-unit, 1vw) * 1.145833)/1.15 'Barlow Condensed',sans-serif;letter-spacing:.03em}
#filmHero .hero-bottom-left{left:calc(var(--hero-unit, 1vw) * 10.677083)}
.hero-bottom-left span{color:#f7e400}
#filmHero .hero-bottom-right{right:calc(var(--hero-unit, 1vw) * 10.677083);text-align:right}
.hero-bottom-right p{margin:0}
.hero-stamp{opacity:.4;display:block;width:calc(var(--hero-unit, 1vw) * 6.875);height:calc(var(--hero-unit, 1vw) * 6.875);margin:0 0 calc(var(--hero-unit, 1vw) * 1.458333) auto}
#filmHero .hero-down{position:absolute;left:50%;bottom:calc(calc(var(--hero-unit, 1vw) * 4.21875) - 29px);transform:translateX(-50%);width:44px;height:44px;display:flex;align-items:center;justify-content:center}
.hero-down img{width:calc(var(--hero-unit, 1vw) * 1.875);height:auto;display:block}
/* Give shortcut anchors and the featured challenge the same header clearance as section targets. */
#siteShell #top :is(section[id],.s1-anchor[id],.s2-anchor[id],[id="current-challenge"]){scroll-margin-top:calc(var(--hero-nav-height) + 16px)}
/* Each independent reveal follows the shared foreground timeline. */
.hero-js #filmHero.hero-pending .hero-logo-canvas{display:block}
.hero-js #filmHero.hero-pending #heroHeadlineMotion{display:block}
.hero-js #filmHero.hero-pending #heroHeadlineStill{visibility:hidden}
.hero-js:has(.hero-pending:not(.logo-landed)) #heroNav .hero-brand,
.hero-js:has(.hero-pending:not(.nav-revealed)) #heroLinks,
.hero-js #filmHero.hero-pending:not(.cta-revealed) #heroChallenge,
.hero-js #filmHero.hero-pending:not(.copy-revealed) .hero-bottom-left,
.hero-js #filmHero.hero-pending:not(.copy-revealed) .hero-bottom-right p,
.hero-js #filmHero.hero-pending:not(.stamp-revealed) .hero-stamp,
.hero-js #filmHero.hero-pending:not(.arrow-revealed) .hero-down{visibility:hidden}
.hero-js #filmHero.hero-pending.logo-landed .hero-logo-canvas{display:none}
.hero-js #filmHero.hero-pending.headline-landed #heroHeadlineStill{visibility:visible}
.hero-js #filmHero.hero-pending.headline-landed #heroHeadlineMotion{display:none}
/* Non-calibrated layouts use real text, never a shrunken desktop PNG. */
#filmHero.hero-responsive .hero-headline-canvas,#filmHero.hero-responsive .hero-logo-canvas{display:none!important}
#filmHero.hero-responsive #hero-h{clip-path:none;overflow:visible;width:auto;height:auto;white-space:normal;margin:0;left:7%;right:7%;top:34%;font:600 clamp(58px,calc(var(--hero-unit, 1vw) * 10),150px)/.95 'Barlow Condensed',sans-serif;text-align:center}
#filmHero.hero-responsive .hero-outline{color:transparent;-webkit-text-stroke:2px #f7e400}
#filmHero.hero-responsive .hero-subline{display:block;color:#f7e400;font:600 clamp(14px,calc(var(--hero-unit, 1vw) * 2.2),30px)/1.4 Inter,sans-serif;letter-spacing:.22em;margin-top:24px}
#filmHero.hero-responsive .hero-cta-canvas{width:auto;height:auto;inset:59% 0 auto;transform:none;text-align:center}
#filmHero.hero-responsive #heroChallenge{position:relative;top:auto;left:auto;transform:none;display:inline-flex;height:50px;font-size:14px;padding:0 24px}
@media(max-width:1279px),(max-aspect-ratio:169/100),(min-aspect-ratio:216/100){
:root{--hero-logo-x:calc(var(--hero-unit, 1vw) * 6);--hero-logo-y:24px;--hero-logo-w:90px;--hero-logo-h:55px;--hero-nav-height:105px}
#heroLinks{right:calc(var(--hero-unit, 1vw) * 6);top:30px;gap:24px;height:44px;font-size:12px}#heroNav .hero-status{height:44px;font-size:11px;padding:0 18px}
#filmHero .hero-bottom-left,#filmHero .hero-bottom-right{bottom:32px;font-size:16px}#filmHero .hero-bottom-left{left:calc(var(--hero-unit, 1vw) * 6)}#filmHero .hero-bottom-right{right:calc(var(--hero-unit, 1vw) * 6)}.hero-stamp{width:90px;height:90px;margin-bottom:20px}.hero-down img{width:28px}#filmHero .hero-down{bottom:26px}
}
@media(max-width:900px){
#heroMenuToggle{position:absolute;right:calc(var(--hero-unit, 1vw) * 6);top:28px;display:flex;gap:12px;align-items:center;min-height:44px;padding:0 12px;color:#fff;border:1px solid #fff;background:#0009;font:600 12px Inter,sans-serif;cursor:pointer}
#heroLinks{display:none;inset:105px 0 auto;height:auto;padding:24px calc(var(--hero-unit, 1vw) * 6) 32px;background:#000;flex-direction:column;align-items:stretch;gap:12px;font-size:14px;box-shadow:0 10px 20px #0008}#heroNav.menu-open #heroLinks{display:flex}#heroLinks>a{padding:0 12px}#heroNav .hero-status{align-self:flex-start;margin-top:8px;padding:0 16px}
#filmHero.hero-responsive #hero-h{top:31%;font-size:clamp(58px,calc(var(--hero-unit, 1vw) * 12),100px)}#filmHero.hero-responsive .hero-subline{font-size:clamp(13px,calc(var(--hero-unit, 1vw) * 2.5),20px);letter-spacing:.14em}#filmHero.hero-responsive .hero-cta-canvas{top:56%}
#filmHero .hero-bottom-left{bottom:36px;font-size:14px}#filmHero .hero-bottom-right{bottom:100px;font-size:13px}.hero-stamp{width:70px;height:70px;margin-bottom:12px}#filmHero .hero-down{bottom:24px;left:auto;right:calc(var(--hero-unit, 1vw) * 5);transform:none}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}#siteShell #top #heroNav{transition:none}}
@media(max-width:1279px),(max-aspect-ratio:169/100),(min-aspect-ratio:216/100){
html:not(.hero-js) #filmHero .hero-headline-canvas{display:none}
html:not(.hero-js) #filmHero #hero-h{clip-path:none;overflow:visible;width:auto;height:auto;white-space:normal;margin:0;left:7%;right:7%;top:34%;font:600 clamp(58px,10vw,150px)/.95 'Barlow Condensed',sans-serif;text-align:center}
html:not(.hero-js) .hero-outline{color:transparent;-webkit-text-stroke:2px #f7e400}
html:not(.hero-js) .hero-subline{display:block;color:#f7e400;font:600 clamp(14px,2.2vw,30px)/1.4 Inter,sans-serif;letter-spacing:.15em;margin-top:24px}
html:not(.hero-js) #filmHero .hero-cta-canvas{width:auto;height:auto;inset:59% 0 auto;transform:none;text-align:center}
html:not(.hero-js) #heroChallenge{position:relative;top:auto;left:auto;transform:none;display:inline-flex;height:50px;font-size:14px;padding:0 24px}
}
@media(max-width:900px){html:not(.hero-js) #heroMenuToggle{display:none}html:not(.hero-js) #heroLinks{display:flex;flex-direction:row;flex-wrap:wrap;gap:4px 12px;padding:8px 6vw;font-size:11px}html:not(.hero-js) #heroNav .hero-status{min-height:30px;height:30px;font-size:10px}}
/* Keep the challenge CTA below the headline across laptop aspect ratios. */
#siteShell #filmHero:not(.hero-responsive) #heroChallenge{top:72%}
#siteShell #filmHero.hero-responsive #hero-h{top:24%;font-size:clamp(90px,8vw,115px)}
#siteShell #filmHero.hero-responsive .hero-cta-canvas{top:70%}
@media(max-width:900px){
#siteShell #filmHero.hero-responsive #hero-h{top:23%;font-size:clamp(68px,15vw,90px)}
#siteShell #filmHero.hero-responsive .hero-cta-canvas{top:67%}
}

/* Keep the challenge CTA connected to the tagline on 16:10 laptop viewports. */
@media (min-width:901px) and (min-aspect-ratio:157/100) and (max-aspect-ratio:163/100){
#siteShell #filmHero.hero-responsive .hero-cta-canvas{top:calc(50% + 24px)}
}
