:root{--spotlight-page-inset:1.2vw}
@media(max-width:1000px),(max-height:540px){:root{--spotlight-page-inset:4vw}}
/* Shared gallery/project navigation. Markup source: output/project-persistent-header/apply.py.
   Existing class aliases remain solely for intro, app and view-transition consumers. */
@font-face{font-family:SpotlightWordmark;src:url('assets/manrope.woff2') format('woff2');font-style:normal;font-weight:200 800;font-display:swap}
html body .spotlight-header.spotlight-header{position:fixed;top:2.4vw;left:var(--spotlight-page-inset);right:var(--spotlight-page-inset);bottom:auto;z-index:10000;display:flex;height:auto;padding:0;margin:0;align-items:center;justify-content:space-between;box-sizing:border-box;background:transparent;color:#fff;isolation:auto;mix-blend-mode:difference}
html body .spotlight-header.spotlight-header a{display:inline-block;font-family:SpotlightWordmark,Manrope,Arial,sans-serif;font-weight:500;line-height:normal;white-space:nowrap;text-decoration:none;text-transform:none}
html body .spotlight-header.spotlight-header .header-wordmark{font-size:clamp(29.04px,1.848vw,39.6px);font-weight:800;letter-spacing:-.082em;line-height:1}
html body .spotlight-header.spotlight-header .brand-tl{letter-spacing:-.102em;margin-right:.02em}
html body .spotlight-header.spotlight-header nav{display:flex;align-items:center;gap:1.6vw}
html body .spotlight-header.spotlight-header nav a{font-size:clamp(18px,1.4vw,30px);font-weight:500;letter-spacing:-.045em}
html body .spotlight-header.spotlight-header a:hover{text-decoration:none}
html body .spotlight-header.spotlight-header a:focus-visible{outline:2px solid currentColor;outline-offset:4px}
/* Project context: same transparent nav, settled immediately. */
html.project-standalone .spotlight-header{visibility:visible;pointer-events:auto;clip-path:none;animation:none;transition:none}

html:not(.project-standalone):not(:has(.gallery-shell)) .spotlight-header{display:none}
.project-standalone body{--case-header-height:88px;--red-eye-header:88px;--red-eye-top:88px}
.project-standalone .case-reader{margin-top:88px}
.project-standalone body.re-actual-page>main{padding-top:88px}
@media(max-width:1000px),(max-height:540px){html body .spotlight-header.spotlight-header{top:22px;left:var(--spotlight-page-inset);right:var(--spotlight-page-inset)}html body .spotlight-header.spotlight-header .header-wordmark{font-size:29.04px}html body .spotlight-header.spotlight-header nav{gap:20px}html body .spotlight-header.spotlight-header nav a{font-size:14px}.project-standalone body{--case-header-height:66px;--red-eye-header:66px;--red-eye-top:66px}.project-standalone .case-reader{margin-top:66px}.project-standalone body.re-actual-page>main{padding-top:66px}}
@media(max-width:360px){html body .spotlight-header.spotlight-header nav{gap:12px}html body .spotlight-header.spotlight-header nav a{font-size:12px}}
/* Per-pixel contrast follows the actual Archives edge, never the midpoint flag.
   White difference text renders black on white gallery and white on black Archives. */
html body .spotlight-header.spotlight-header{mix-blend-mode:difference!important;color:#fff!important;isolation:auto}
html body .spotlight-header.spotlight-header a{color:#fff!important}
html[data-footer-visible=true]:has(.gallery-shell) body .spotlight-header.spotlight-header{mix-blend-mode:normal!important}

html body .spotlight-header.spotlight-header::before{content:none;display:none;background:none}

/* Studio uses the same canonical navigation without project layout offsets. */
html:has(body.studio-route) body .spotlight-header.spotlight-header{display:flex}
/* Footer links retain focus outlines and reveal motion, without underlines. */
html body .square-footer-links>a,html body .square-footer-links>a:hover,html body .site-footer a,html body footer a{text-decoration:none!important}

/* One footer wordmark. Desktop keeps the original single-line letter runs. */
.square-footer .square-footer-name>.footer-name-line{display:contents}
.square-footer-name>.footer-name-line>span{display:inline-block;letter-spacing:0;font-kerning:none}
@media(max-width:760px),(max-width:940px) and (max-height:480px) and (pointer:coarse) and (orientation:landscape){
 .square-footer .square-footer-name:has(>.footer-name-line){
  position:absolute;inset:auto 4vw 21%;
  display:flex;flex-direction:column;align-items:flex-start;
  gap:.045em;font-size:min(18vw,23svh)!important;
  line-height:.9;margin:0!important;width:auto
 }
 .square-footer .square-footer-name>.footer-name-line{display:block;white-space:nowrap}
 .square-footer-name>.footer-name-line:last-child{align-self:flex-end}
 .square-footer-name>.footer-name-line>span:not(:last-child){margin-right:-.045em!important}
 html .square-footer .square-footer-links{
  font-size:clamp(12px,3.5vw,16px)
 }
 .square-footer-name>.footer-name-space,.square-footer .square-footer-links>.footer-top{display:none!important}
}
