/* Isolated five-column screenshot-placeholder study. */
.number-sequence{height:260svh;margin-top:-134svh;position:relative;background:transparent;isolation:isolate}
.number-stage{height:100svh;position:sticky;top:0;overflow:hidden;background:transparent}
.number-zoom{display:grid;--panel-gap:24px;--panel-width:calc((100vw - 4 * var(--panel-gap)) / 3.5);position:relative;left:calc(-.75 * var(--panel-width));width:calc(5 * var(--panel-width) + 4 * var(--panel-gap));grid-template-columns:repeat(5,var(--panel-width));gap:var(--panel-gap);height:100%;padding:0;align-items:start;will-change:transform}
.number-column{display:flex;flex-direction:column;gap:clamp(36px,6vw,110px);will-change:transform}
.number-panel{aspect-ratio:16/9;flex:none;display:grid;place-items:center;background:#e6e6e6;color:#111;border-radius:0;font-family:Manrope,Arial,sans-serif;font-size:clamp(20px,4vw,68px);font-weight:800;letter-spacing:-.06em}
.number-column:nth-child(even) .number-panel{background:#181818;color:#fff}
.number-column:nth-child(3) .number-panel{background:#cecece}
@media(max-width:600px){.number-zoom{--panel-gap:5px}.number-column{gap:28px}.number-panel{font-size:7vw}}
@media(prefers-reduced-motion:reduce){.number-sequence{height:auto;margin-top:0}.number-stage{position:relative;height:100svh}.number-column,.number-zoom{transform:none!important;will-change:auto}}
html[data-motion=off] .number-sequence{height:auto;margin-top:0}html[data-motion=off] .number-stage{position:relative}html[data-motion=off] .number-column,html[data-motion=off] .number-zoom{transform:none!important;will-change:auto}

/* Authenticated project stills: one16:9 image per selected panel, no distortion. */
.number-panel{position:relative;overflow:hidden}
.number-panel img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;opacity:0}
.number-panel.has-artwork img{opacity:1}
.number-panel.has-artwork>span{visibility:hidden}

/* The final project stays still while the contact surface covers it. */
.number-stage.is-footer-underlay{position:fixed;inset:0;width:100%;height:100svh}

/* Live case study loads on approach; stays noninteractive during the grid flight. */
.number-panel>iframe{position:absolute;top:0;left:0;width:1600px;height:900px;border:0;transform-origin:0 0;opacity:0;pointer-events:none;background:#f0eee7}
.number-panel.case-ready>iframe{opacity:1}
.number-panel.case-interactive>iframe{pointer-events:auto}


/* Intact 3:2 landing concepts framed inside 16:9 animation tiles. */
.panel-concept{background:#071665!important}
.panel-concept--aioptics{background:#061620!important}
.panel-concept--christian{background:#34150f!important}
.concept-canvas{position:absolute;top:0;bottom:0;left:7.8125%;width:84.375%;opacity:0;overflow:hidden}
.has-artwork .concept-canvas{opacity:1}
.number-panel .concept-backdrop{inset:0;width:100%;height:100%;object-fit:contain;opacity:1}
.authentic-cover{position:absolute;z-index:1;overflow:hidden}
.panel-concept--christian .authentic-cover{left:84.85%;top:27.5%;width:14.2%;height:25.7%;background:#d5c8b9}
.number-panel .authentic-image{position:absolute;inset:0;width:100%;height:100%;opacity:1;object-fit:cover;object-position:50% 22%}
.panel-concept--aioptics .authentic-cover{left:55%;top:53%;width:45%;height:47%;background:#061620}
.panel-concept--aioptics .authentic-image{inset:4%;width:92%;height:92%;object-fit:contain;object-position:center}

/* Supplied WANTED screenshot: frame out only outer black border without redrawing art. */
.wanted-boundary>img{transform:scale(1.034);transform-origin:center}

.stack-landing-tile{background:#fafafa!important;display:flex;align-items:center;justify-content:center}.stack-tile-title{font-family:Manrope,Arial,sans-serif;font-size:clamp(12px,1.2vw,22px);font-weight:500;letter-spacing:-.055em;line-height:1.1;text-align:center;color:#111}

/* One live heading travels from panel 13 into the stack; no image/duplicate. */
.number-panel.stack-landing-tile{background:#1431ff!important}
.stack-landing-tile .stack-tile-title{font-family:Manrope,Arial,sans-serif;font-size:clamp(12px,1.2vw,22px);font-weight:500;letter-spacing:-.055em;line-height:1.1;color:#dfff00;margin:0;text-align:center}
.stack-tile-title span{display:block}
html:has(.spotlight-stack[data-inview=true]) .landing-header{visibility:visible;pointer-events:auto;clip-path:inset(0);transition:none;mix-blend-mode:normal;color:var(--stack-nav-color,#dfff00)}
html:has(.spotlight-stack[data-inview=true]) .landing-header a{color:var(--stack-nav-color,#dfff00)}
.spotlight-stack .opening{color:#dfff00}

.spotlight-stack:not(.is-animated) .opening{background:#1431ff;color:#dfff00}
@media(max-width:1000px),(max-height:540px){html:has(.spotlight-stack[data-inview=true]) .landing-header{background:transparent}html:has(.spotlight-stack[data-inview=true]) .landing-header a{color:#dfff00}}

/* Live panel start spacing and in-flight viewport anchoring. */
.number-stage.is-timed-flight{position:fixed;inset:0;width:100%;height:100svh;z-index:1}
.stack-landing-tile .stack-tile-title{font-family:SpotlightWordmark,Manrope,Arial,sans-serif;font-weight:800}
.square-footer-links .footer-top{position:static;order:3;color:#fff;font:inherit;text-decoration:none;flex:none}
.footer-top:focus-visible{outline:1px solid currentColor;outline-offset:6px}
/* Clearer project navigation, scoped to integrated homepage. */
html:has(.spotlight-stack) .landing-header nav{font-family:SpotlightWordmark,Manrope,Arial,sans-serif;font-size:clamp(14px,1.05vw,18px);font-weight:800;letter-spacing:.035em;text-transform:uppercase}
@media(max-width:600px){html:has(.spotlight-stack) .landing-header nav{font-size:13px;gap:22px}}

html:has(.spotlight-stack) .landing-header nav a{font-family:SpotlightWordmark,Manrope,Arial,sans-serif;font-size:clamp(14px,1.05vw,18px);font-weight:800;letter-spacing:.035em;text-transform:uppercase}

/* Keep primary navigation reachable at the hero, stack and contact destination. */
html[data-panel-sequence=running]:has(.spotlight-stack) .landing-header{visibility:hidden;pointer-events:none;clip-path:inset(100% 0 0);transition:none}
/* No rubber-band beyond the native page while reverse handoff clamps its boundary. */
html:has(.spotlight-stack),body:has(.spotlight-stack){overscroll-behavior-y:none}

html[data-footer-visible=true] .landing-header,html[data-footer-visible=true] .landing-header a{color:#fff!important;mix-blend-mode:normal;background:transparent}

/* Visual-only navigation travels with tile13; actual links remain in one header. */
.stack-landing-tile .tile-navigation{position:absolute;display:flex;align-items:center;z-index:3;color:#dfff00;font-family:SpotlightWordmark,Manrope,Arial,sans-serif;font-weight:800;letter-spacing:.035em;line-height:normal;white-space:nowrap;pointer-events:none;user-select:none}
.stack-landing-tile .tile-navigation b{font:inherit;letter-spacing:inherit}
@media(max-width:1000px),(max-height:540px),(prefers-reduced-motion:reduce){.stack-landing-tile .tile-navigation{display:none}}

html:has(.spotlight-stack) .landing-header{left:4vw;right:4vw;display:flex;align-items:center;justify-content:space-between}
html:has(.spotlight-stack) .landing-header .header-wordmark,.stack-landing-tile .tile-wordmark{font-family:SpotlightWordmark,Manrope,Arial,sans-serif;font-weight:800;font-size:clamp(24px,2vw,34px);letter-spacing:-.082em;line-height:1;white-space:nowrap;text-decoration:none}
.header-wordmark .brand-tl,.tile-wordmark .brand-tl{letter-spacing:-.102em;margin-right:.02em}
.stack-landing-tile .tile-wordmark{position:absolute;z-index:3;color:#dfff00;pointer-events:none;user-select:none}
@media(max-width:600px){html:has(.spotlight-stack) .landing-header .header-wordmark{font-size:22px}html:has(.spotlight-stack) .landing-header nav{gap:16px}}
@media(max-width:360px){html:has(.spotlight-stack) .landing-header nav{gap:10px}html:has(.spotlight-stack) .landing-header nav a{font-size:11px}}
@media(max-width:1000px),(max-height:540px),(prefers-reduced-motion:reduce){.stack-landing-tile .tile-wordmark{display:none}}

/* Flight culling keeps the flex slot but omits paint for clipped panels. */
.number-panel[data-panel-flight-culled]{visibility:hidden!important}


/* A centered phone crop gives the panel artwork scale without crowding the flight. */
@media(max-width:760px),(max-width:940px) and (max-height:480px) and (pointer:coarse) and (orientation:landscape){
 html:has(.gallery-shell) .number-zoom{
  --panel-gap:clamp(8px,2.6vw,18px);
  --panel-width:min(calc((100vw - 2 * var(--panel-gap)) / 2.7),62svh);
  left:calc((100vw - 5 * var(--panel-width) - 4 * var(--panel-gap)) / 2)
 }
}

.phone-flight-poster{display:none!important}
@media(max-width:760px),(max-width:940px) and (max-height:480px) and (pointer:coarse) and (orientation:landscape){
 html[data-panel-sequence=running]:has(.gallery-shell) .phone-flight-art-ready > .phone-flight-poster{
  display:block!important;z-index:2;opacity:1;object-fit:contain;background:#080b11
 }
 html[data-panel-sequence=running]:has(.gallery-shell) [data-gallery-panel="32"].phone-flight-art-ready > .phone-flight-poster{background:#08343e}
 html[data-panel-sequence=running]:has(.gallery-shell) .phone-flight-art-ready > span{visibility:hidden}
}
