/* Owns persistent navigation, prepared full-screen Home chrome and editor clearances. A CSS fallback keeps navigation available if the opening controller cannot start; once the controller runs (data-home-chrome) it alone decides when the chrome shows, so a slow phone does not flash it early. */
html[data-home-opening=prepared] :is(.site-header .brand,.main-nav,.site-header .site-language,.site-header .site-appearance-toggle,.site-header .menu-toggle,.website-chatbot-launcher){opacity:0}
html[data-home-opening=prepared]:not([data-home-chrome]) :is(.site-header .brand,.main-nav,.site-header .site-language,.site-header .site-appearance-toggle,.site-header .menu-toggle,.website-chatbot-launcher){animation:home-chrome-fallback 1ms 3s forwards}
@keyframes home-chrome-fallback{to{opacity:1}}
@media(prefers-reduced-motion:reduce){html[data-home-opening=prepared] :is(.site-header .brand,.main-nav,.site-header .site-language,.site-header .site-appearance-toggle,.site-header .menu-toggle,.website-chatbot-launcher){opacity:1;animation:none}}
:root{--sx-editor-width:380px}
html:has(.site-shell),body.site-shell{margin:0;width:100%;height:100%;overflow:hidden;background:#101010}
.site-shell{--edge:clamp(22px,3.5vw,60px)}
#site-content{position:fixed;inset:0;width:100%;height:100%;border:0;display:block;z-index:0;opacity:0}
.site-shell.menu-open #site-content{pointer-events:none}
.site-shell .site-header{background:transparent;pointer-events:none}
.site-shell .site-header :is(a,button){pointer-events:auto}
/* On a phone the film pages put their filter bar in the header row, where the logo stands on other pages (work-filter-island.css); the open menu shows the logo again. */
@media(max-width:650px){html:is([data-content-page=work],[data-content-page=archive]) .site-shell:not(.menu-open) .site-header .brand{visibility:hidden;pointer-events:none}}
/* Home's opening shows the large wordmark, so on every screen size the header's logo stays away while that is on screen and slides in once it has scrolled under the header (the page reports it: hero-wordmark-presence.js; until it has, the logo waits). The phone's open menu shows the logo. */
.site-shell .site-header .brand{transition:opacity .45s ease,translate .55s cubic-bezier(.16,1,.3,1),visibility 0s}
html[data-content-page=home]:not([data-hero-wordmark=gone]) .site-shell:not(.menu-open) .site-header .brand{opacity:0!important;translate:-16px 0;visibility:hidden;pointer-events:none;transition:opacity .3s ease,translate .3s ease,visibility 0s .3s}
.site-shell[data-content-dialog] :is(.site-header,.mobile-nav){visibility:hidden}
.site-content-document .site-header,.site-content-document #mobile-nav{visibility:hidden!important;pointer-events:none!important}
.site-content-document .preview-version{display:none}
.site-shell .preview-version{pointer-events:none}
.site-shell[data-editor-dock] .website-chatbot{visibility:hidden}
.site-shell[data-editor-dock] .preview-version{right:auto;left:8px}
.site-shell[data-editor-dock].menu-open #site-content{pointer-events:auto}
@media(max-width:700px){.site-shell[data-editor-dock] .mobile-nav{top:72px;bottom:68dvh;padding:8px 24px;gap:2px;justify-content:flex-start}.site-shell[data-editor-dock] .mobile-nav a{padding:9px 0;min-height:38px}html.sx-page-text-editing .site-shell[data-editor-dock] .mobile-nav{bottom:55dvh}}
@media(min-width:1001px){.site-shell[data-editor-dock] .site-header{right:var(--sx-editor-width);gap:14px;padding-inline:22px}.site-shell[data-editor-dock] .main-nav a{padding-inline:9px}.site-shell[data-editor-dock] .brand img{width:110px}}
@media(min-width:701px) and (max-width:1000px){.site-shell[data-editor-dock] .site-header{right:var(--sx-editor-width);padding:16px 20px;display:flex}.site-shell[data-editor-dock] .main-nav{display:none}.site-shell[data-editor-dock] .menu-toggle{display:flex;flex-direction:column;justify-content:center;gap:6px;width:44px;height:44px;padding:10px;background:none}.site-shell[data-editor-dock] .menu-toggle span{height:1px;width:24px;background:currentColor}.site-shell[data-editor-dock] .mobile-nav:not([hidden]){display:flex;position:fixed;inset:72px var(--sx-editor-width) 0 0;flex-direction:column;padding:24px;background:#101010;z-index:45;overflow:auto;gap:18px}}
@media(min-width:701px) and (max-height:620px){:root{--sx-editor-width:340px}}
