/* Shared Spotlight mobile drawer; route-specific links stay in their pages. */
.gallery-menu-toggle,.gallery-menu-backdrop{display:none}
.spotlight-header #gallery-main-nav .mobile-only-nav-link{display:none!important}
@media(max-width:760px),(max-width:940px) and (max-height:480px) and (pointer:coarse) and (orientation:landscape){
 html[data-gallery-menu-ready] .landing-header.spotlight-header:has(.gallery-menu-toggle){
  --gallery-menu-ease:cubic-bezier(.22,.68,.2,1)
 }
 html[data-gallery-menu-ready] .landing-header.spotlight-header .gallery-menu-toggle{
  position:relative;z-index:3;display:grid;place-items:center;width:44px;height:44px;
  appearance:none;padding:0;border:0;background:transparent;color:#fff;cursor:pointer
 }
 .gallery-menu-toggle span{
  position:absolute;width:20px;height:2px;background:currentColor;
  transition:transform 360ms cubic-bezier(.22,.68,.2,1)
 }
 .gallery-menu-toggle span:first-child{transform:translateY(-3.5px)}
 .gallery-menu-toggle span:last-child{transform:translateY(3.5px)}
 .gallery-menu-toggle:focus-visible{outline:none}
 .gallery-menu-toggle:focus-visible::after{
  content:"";position:absolute;inset:auto 14px 5px;height:2px;background:currentColor
 }
 html[data-gallery-menu-open] .gallery-menu-toggle span:first-child{transform:rotate(45deg)}
 html[data-gallery-menu-open] .gallery-menu-toggle span:last-child{transform:rotate(-45deg)}

 html[data-gallery-menu-ready] body .landing-header.spotlight-header #gallery-main-nav{
  position:fixed;inset:0 0 0 auto;width:min(86vw,520px);height:100dvh;z-index:2;
  display:flex;flex-direction:column;align-items:flex-start;justify-content:safe center;gap:clamp(20px,4vh,40px);
  box-sizing:border-box;overflow:auto;overscroll-behavior:contain;
  padding:max(72px,env(safe-area-inset-top)) max(7vw,env(safe-area-inset-right)) max(42px,env(safe-area-inset-bottom));
  background:#101010;color:#fff;clip-path:inset(0 0 0 100%);
  visibility:hidden;pointer-events:none;
  transition:clip-path 420ms var(--gallery-menu-ease),visibility 0s 420ms
 }
 html[data-gallery-menu-ready] body .landing-header.spotlight-header #gallery-main-nav a{
  display:block;width:100%;font-size:clamp(35px,11vw,84px);font-weight:800;
  line-height:1.05;letter-spacing:-.065em;text-transform:none;
  opacity:0;transform:translateX(clamp(48px,24vw,140px));
  transition:transform 410ms var(--gallery-menu-ease),opacity 270ms var(--gallery-menu-ease)
 }
 html[data-gallery-menu-ready] .landing-header .gallery-menu-backdrop{
  position:fixed;inset:0;z-index:1;display:block;background:rgb(0 0 0/.34);
  opacity:0;pointer-events:none;transition:opacity 360ms var(--gallery-menu-ease)
 }
 html[data-gallery-menu-open]{overflow:hidden}
 html:is([data-gallery-menu-open],[data-gallery-menu-closing]) body .landing-header.spotlight-header:has(.gallery-menu-toggle){
  clip-path:none!important;mix-blend-mode:normal!important
 }
 html:is([data-gallery-menu-open],[data-gallery-menu-closing]) body .landing-header.spotlight-header .header-wordmark{visibility:hidden}
 html[data-gallery-menu-open] body .landing-header.spotlight-header #gallery-main-nav{
  visibility:visible;pointer-events:auto;clip-path:inset(0);transition-delay:0s
 }
 html[data-gallery-menu-open] .landing-header .gallery-menu-backdrop{opacity:1;pointer-events:auto}
 html[data-gallery-menu-open] body .landing-header.spotlight-header #gallery-main-nav a{
  transform:translateX(0);opacity:1;
  transition-delay:calc(80ms + var(--menu-link-index,0)*75ms)
 }
 #gallery-main-nav a:nth-child(2){--menu-link-index:1}
 #gallery-main-nav a:nth-child(3){--menu-link-index:2}
 #gallery-main-nav a:nth-child(4){--menu-link-index:3}
 #gallery-main-nav a:nth-child(5){--menu-link-index:4}
 html[data-gallery-menu-ready] .spotlight-header #gallery-main-nav .mobile-only-nav-link{display:block!important}
 @media(max-height:490px) and (orientation:landscape){
  html[data-gallery-menu-ready] body .landing-header.spotlight-header #gallery-main-nav{
   gap:clamp(12px,4svh,22px);padding-block:max(65px,env(safe-area-inset-top)) max(25px,env(safe-area-inset-bottom))
  }
  html[data-gallery-menu-ready] body .landing-header.spotlight-header #gallery-main-nav a{
   font-size:clamp(26px,8.8svh,45px)
  }
 }
 html:root[data-gallery-menu-open] body .landing-header.spotlight-header #gallery-main-nav a,
 html:root[data-gallery-menu-closing] body .landing-header.spotlight-header #gallery-main-nav a{
  color:#fff!important;background:none
 }
 html[data-gallery-menu-ready] body.studio-route .landing-header .gallery-menu-toggle{color:var(--ink)}
 html[data-gallery-menu-ready] body.studio-route .landing-header:is([data-over-studio-hero],[data-over-studio-impression],[data-over-studio-footer]) .gallery-menu-toggle{color:var(--lime)}
 html[data-gallery-menu-open][data-gallery-menu-ready] body.studio-route .landing-header .gallery-menu-toggle,
 html[data-gallery-menu-closing][data-gallery-menu-ready] body.studio-route .landing-header .gallery-menu-toggle{color:#fff}
 @media(prefers-reduced-motion:reduce){
  html[data-gallery-menu-ready] body .landing-header.spotlight-header #gallery-main-nav,
  html[data-gallery-menu-ready] body .landing-header.spotlight-header #gallery-main-nav a,
  .gallery-menu-toggle span,html[data-gallery-menu-ready] .landing-header .gallery-menu-backdrop{transition:none}
 }
 html[data-motion=off][data-gallery-menu-ready] body .landing-header.spotlight-header #gallery-main-nav,
 html[data-motion=off][data-gallery-menu-ready] body .landing-header.spotlight-header #gallery-main-nav a,
 html[data-motion=off] .gallery-menu-toggle span,
 html[data-motion=off][data-gallery-menu-ready] .landing-header .gallery-menu-backdrop{transition:none}
}
