/* A steady header anchors the navigation; only page content changes its visual state. */
.ahod-modern .site-header{position:sticky;top:0;background:#ffffffed;backdrop-filter:blur(16px);border-bottom:1px solid #e3eaf1;box-shadow:0 3px 22px #061d3b06;z-index:40}
.ahod-modern.admin-bar .site-header{top:32px}
.ahod-modern .header-inner{display:grid;grid-template-columns:205px minmax(0,1fr) auto;min-height:96px;gap:36px;width:min(calc(100% - 80px),1440px);padding-block:10px}
.ahod-modern .header-inner .custom-logo{width:184px;max-height:72px}
.ahod-modern .primary-nav{justify-self:end;margin:0}
.ahod-modern .primary-nav>ul{gap:12px}
.ahod-modern .primary-nav :is(a,.ahod-nav-label){display:inline-flex;align-items:center;justify-content:center;font:500 15px/1.4 Arial,sans-serif;color:#172947;min-height:46px;padding:13px 15px;background:transparent;border:0;border-radius:9px;cursor:pointer;white-space:nowrap;text-decoration:none;transition:color .2s,background .2s}
.ahod-modern .primary-nav :is(a,.ahod-nav-label):hover,.ahod-modern .primary-nav .submenu-open>.ahod-nav-label{background:#f1f5f9;color:#bd0016}
.ahod-modern .primary-nav .is-current>:is(a,.ahod-nav-label){color:#c10019;font-weight:700}
.ahod-modern .primary-nav :is(a[aria-current=page],.is-current>.ahod-nav-label):after{content:"";position:absolute;width:18px;height:2px;background:#d7001b;left:calc(50% - 9px);bottom:5px;border-radius:2px}
.ahod-modern .primary-nav .ahod-nav-label{position:relative;right:auto;top:auto;width:auto;height:auto}
.ahod-modern .primary-nav .sub-menu{top:calc(100% + 8px);left:0;min-width:300px;padding:9px;border:1px solid #e4eaf2;border-radius:13px;box-shadow:0 18px 44px #0624451c;transform-origin:top left;animation:ahod-submenu-enter .18s ease both}
.ahod-modern .primary-nav .sub-menu:before{content:"";position:absolute;left:0;right:0;top:-12px;height:13px}
.ahod-modern .primary-nav .has-submenu:is(:hover,:focus-within)>.sub-menu{display:none}
.ahod-modern .primary-nav .has-submenu.submenu-open>.sub-menu{display:block}
.ahod-modern .primary-nav .sub-menu a{display:block;padding:13px 14px;font-size:14px;white-space:normal;line-height:1.5;min-height:46px}
.ahod-modern .primary-nav .sub-menu li:first-child a{font-weight:700;color:#087c9c;border-bottom:1px solid #e7eef4;border-radius:6px 6px 0 0}
.ahod-modern .ahod-header-actions{border-left:1px solid #e5eaf0;padding-left:24px;gap:14px}
.ahod-modern .ahod-header-actions .ahod-icon-button{width:44px;height:44px;border:0;background:#f3f6f9;color:#172947}
.ahod-modern .ahod-header-actions .ahod-icon-button:hover{background:#e8f1f6;color:#007e9f;transform:none}
.ahod-modern .ahod-mobile-menu .ahod-nav-label{position:static;display:block;text-align:left;width:100%;height:auto;min-height:54px;font:500 15px/1.4 Arial,sans-serif;padding:17px 5px;color:#172947;border:0;background:transparent;cursor:pointer}
.ahod-modern .ahod-mobile-menu .submenu-open>.ahod-nav-label{color:#bb0019;font-weight:700}
.ahod-modern .ahod-mobile-menu .sub-menu{background:#f3f7fa;border-radius:8px;padding:6px 12px;margin-bottom:12px}
.ahod-modern .ahod-mobile-menu .sub-menu a{font-size:13px;padding-block:13px}
@keyframes ahod-submenu-enter{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}
/* Choreographed component reveals; navigation itself never waits for animation. */
@view-transition{navigation:none}
::view-transition-old(root),::view-transition-new(root){animation:none}
.ahod-modern #content{animation:none}
html.ahod-leaving #content{pointer-events:none}
html.ahod-returning #content{animation:ahod-return-reveal .28s ease-out backwards}
.home .ahod-hero-image{animation:ahod-hero-cinema 1s cubic-bezier(.16,1,.3,1) backwards}
.home .ahod-hero-copy>.ahod-eyebrow{animation:ahod-stage-reveal .5s .04s cubic-bezier(.16,1,.3,1) backwards}
.home .ahod-hero-copy>h1{animation:ahod-stage-reveal .65s .09s cubic-bezier(.16,1,.3,1) backwards}
.home .ahod-hero-copy>p:not(.ahod-eyebrow){animation:ahod-stage-reveal .65s .16s cubic-bezier(.16,1,.3,1) backwards}
.home .ahod-hero-copy>.ahod-primary-button{animation:ahod-stage-reveal .65s .23s cubic-bezier(.16,1,.3,1) backwards}
.home .ahod-quick-link{animation:ahod-stage-reveal .6s .16s cubic-bezier(.16,1,.3,1) backwards}
.home .ahod-quick-link:nth-child(2){animation-delay:.22s}.home .ahod-quick-link:nth-child(3){animation-delay:.28s}
.ahod-poster-link.ahod-in-view{animation:ahod-stage-reveal .6s cubic-bezier(.16,1,.3,1) backwards}
.ahod-poster-card:nth-child(2) .ahod-poster-link{animation-delay:.08s}.ahod-poster-card:nth-child(3) .ahod-poster-link{animation-delay:.16s}
.ahod-modern:not(.home) .page-head>.wrap,.ahod-modern:not(.home) .project-content h1{animation:ahod-stage-reveal .5s cubic-bezier(.16,1,.3,1) backwards}
.archive .cards>article:nth-child(-n+4)>a:first-child{animation:ahod-stage-reveal .5s .08s cubic-bezier(.16,1,.3,1) backwards}
.archive .cards>article:nth-child(2)>a:first-child{animation-delay:.14s}.archive .cards>article:nth-child(3)>a:first-child{animation-delay:.2s}
@keyframes ahod-stage-reveal{from{opacity:0;transform:translate3d(0,22px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@keyframes ahod-hero-cinema{from{transform:scale(1.065)}to{transform:scale(1)}}
@keyframes ahod-return-reveal{from{opacity:.85}to{opacity:1}}
.ahod-modern dialog::backdrop{backdrop-filter:none;background:#06152a66}
.ahod-motion-preference{display:flex;align-items:center;justify-content:center;gap:12px;color:#dce7f3;font:12px/1.4 Arial,sans-serif;margin-top:15px}
.ahod-motion-preference select{min-height:44px;background:#122e48;border:1px solid #7891a8;border-radius:7px;padding:8px 12px;font:13px Arial,sans-serif;color:#fff}
html.ahod-motion-off .ahod-modern *,html.ahod-motion-off .ahod-modern *:before,html.ahod-motion-off .ahod-modern *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}

@media(max-width:1200px){.ahod-modern .header-inner{grid-template-columns:180px minmax(0,1fr) auto;gap:18px;width:calc(100% - 48px)}.ahod-modern .header-inner .custom-logo{width:170px}.ahod-modern .primary-nav>ul{gap:3px}.ahod-modern .primary-nav :is(a,.ahod-nav-label){padding-inline:11px;font-size:14px}.ahod-modern .ahod-header-actions{padding-left:18px}}
@media(max-width:1050px){.ahod-modern .header-inner{grid-template-columns:1fr auto;min-height:84px}.ahod-modern .primary-nav{display:none}.ahod-modern .ahod-header-actions{border:0;padding:0}}
@media(max-width:782px){.ahod-modern.admin-bar .site-header{top:46px}}
@media(max-width:640px){.ahod-modern .header-inner{min-height:78px;width:calc(100% - 36px);padding-block:8px}.ahod-modern .header-inner .custom-logo{width:148px;max-height:61px}.ahod-modern .ahod-header-actions{gap:8px}.ahod-modern .ahod-header-actions .nav-toggle{background:transparent}}
@media(prefers-reduced-motion:reduce){html:not(.ahod-motion-full) .ahod-modern #content,html:not(.ahod-motion-full).ahod-leaving #content,html:not(.ahod-motion-full).ahod-returning #content{animation:none!important;filter:none;transform:none}}

/* A brief two-strand wave; only its own light is softened, never the page. */
.ahod-light-sweep{position:fixed;left:0;right:0;top:calc(52% - 32px);height:64px;z-index:90;pointer-events:none;opacity:0;animation:ahod-light-cross .68s cubic-bezier(.3,.6,.3,1) both;contain:layout style}
.ahod-wave-svg{display:block;width:100%;height:64px;overflow:visible}
.ahod-wave-traces{animation:ahod-wave-drift .68s ease-out both}
html.ahod-returning .ahod-light-sweep{animation-name:ahod-light-return}
@keyframes ahod-light-cross{0%{clip-path:inset(0 100% 0 0);opacity:0}15%{opacity:.9}58%{clip-path:inset(0);opacity:1}78%{clip-path:inset(0);opacity:.85}100%{clip-path:inset(0);opacity:0}}
@keyframes ahod-light-return{0%{clip-path:inset(0 100% 0 0);opacity:0}15%{opacity:.9}58%{clip-path:inset(0);opacity:1}78%{clip-path:inset(0);opacity:.85}100%{clip-path:inset(0);opacity:0}}
@keyframes ahod-wave-drift{from{transform:translateX(-12px)}to{transform:translateX(12px)}}
html.ahod-motion-off .ahod-light-sweep{display:none}
@media(prefers-reduced-motion:reduce){html:not(.ahod-motion-full) .ahod-light-sweep{display:none}}

/* Touch navigation is a stable document transition, never a moving poster preview. */
@media(max-width:768px),(pointer:coarse){
 .ahod-light-sweep{display:none}
 .ahod-poster-link.ahod-in-view,.ahod-modern:not(.home) .page-head>.wrap,.ahod-modern:not(.home) .project-content h1{animation:none}
 html.ahod-returning #content{animation:none}
 .ahod-modern:not(.home) #content{animation:ahod-touch-enter .16s ease-out}
 .ahod-announcement-card:hover,.ahod-poster-link:hover{transform:none}
}
@keyframes ahod-touch-enter{from{opacity:.96}to{opacity:1}}

.ahod-wave-spark{opacity:0;animation:ahod-wave-spark .68s cubic-bezier(.3,.6,.3,1) both}
@keyframes ahod-wave-spark{0%{transform:translateX(-24px);opacity:0}18%{opacity:0}38%{opacity:1}78%{opacity:.8}100%{transform:translateX(1464px);opacity:0}}
