/* Standalone iteration baseline; no inherited homepage UI or scripts. */
*{box-sizing:border-box}html,body{margin:0;padding:0}body{font-family:Arial,sans-serif;color:#111}a{color:inherit}
/* Isolated local iteration: shared homepage styles remain untouched. */
@font-face{font-family:SpotlightWordmark;src:url('assets/manrope.woff2') format('woff2');font-style:normal;font-weight:800;font-display:swap}
.square-intro{height:173svh;position:relative;background:#fff;color:#000}
.square-stage{height:100svh;position:sticky;top:0;overflow:hidden;display:grid;place-items:center}
.square-wordmark{font-family:SpotlightWordmark,Manrope,Arial,sans-serif;font-weight:800;font-size:19vw;letter-spacing:-.082em;line-height:1;white-space:nowrap;margin:0;text-indent:-.04em}
/* The resting and particle views share the same inline glyph path and box. */
.square-wordmark-outlined{line-height:0;text-indent:0}
.square-wordmark-outlined>svg{display:block;width:var(--spotlight-wordmark-em);height:auto;fill:currentColor}
.square-stage canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.square-intro[data-ready=true] .square-wordmark{opacity:0}
.square-caption{position:absolute;bottom:28px;left:5vw;font-size:12px;color:#000}
.square-original{position:absolute;bottom:22px;right:5vw;font-size:12px;padding:6px;text-decoration:underline;text-underline-offset:4px;z-index:1}
.square-intro:not([data-ready=true]){height:100svh}
@media(prefers-reduced-motion:reduce){.square-intro{height:100svh!important}.square-stage{position:relative}.square-stage canvas{display:none}.square-intro[data-ready=true] .square-wordmark{opacity:1}.square-caption{display:none}}
html[data-motion=off] .square-intro{height:100svh}html[data-motion=off] .square-stage canvas{display:none}html[data-motion=off] .square-wordmark{opacity:1!important}

/* White canvas for this iteration; original homepage remains its own palette. */
:root{--paper:#fff}html,body{background:#fff!important}
.square-tl{letter-spacing:-.102em;margin-right:.02em}
.square-footer{position:relative;min-height:75svh;background:#000;color:#fff;overflow:hidden;display:flex;align-items:flex-end;padding:100px 4vw 6vw}
.square-footer-name{font-family:SpotlightWordmark,Manrope,Arial,sans-serif;font-weight:800;font-size:11.2vw;letter-spacing:-.082em;line-height:1;white-space:nowrap;margin:auto auto 0}
.square-footer canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.square-footer[data-ready=true] .square-footer-name{opacity:0}
.square-footer-links{position:absolute;top:40px;right:5vw;display:flex;flex-direction:column;align-items:flex-end;gap:10px;z-index:1;font-size:14px}
.square-footer-links a{text-decoration:underline;text-underline-offset:4px}.square-footer-links small{font-size:11px;color:#aaa}
@media(max-width:600px){.square-footer{min-height:55svh;padding-bottom:12vw}.square-footer-links{top:28px;font-size:13px}}
@media(prefers-reduced-motion:reduce){.square-footer canvas{display:none}.square-footer[data-ready=true] .square-footer-name{opacity:1}}
html[data-motion=off] .square-footer canvas{display:none}html[data-motion=off] .square-footer-name{opacity:1!important}

.square-footer-name>span{display:inline-block;letter-spacing:0;font-kerning:none}

/* No rubber-band overscroll; contact row sits beneath the wordmark. */
html,body{overscroll-behavior:none}
.square-footer-links{top:auto;bottom:28px;left:4vw;right:4vw;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:12px;font-size:14px}
.square-footer-links>:nth-child(1){justify-self:start}
.square-footer-links>:nth-child(2){justify-self:center;text-align:center}
.square-footer-links>:nth-child(3){justify-self:end}
@media(max-width:600px){.square-footer-links{top:auto;bottom:14px;gap:4px;font-size:clamp(9px,2.2vw,13px)}.square-footer-links small{font-size:8px}}
html.opening-active,html.opening-active body{overflow:hidden}
.opening-overlay{position:fixed;inset:0;z-index:100;background:#fff}
.opening-overlay iframe{display:block;width:100%;height:100%;border:0}

/* Full-height black contact reveal; existing bottom-aligned items stay put. */
.square-footer{z-index:2;min-height:100svh}

/* Viewport-anchored contact row: only its bottom-up mask changes on reveal. */
.square-footer-links{left:50%;right:auto;width:min(76%,900px);transform:translate(-50%,calc(-1 * var(--footer-offset,0px)));clip-path:inset(var(--link-mask,100%) 0 0 0)}
.square-footer-links>:nth-child(1),.square-footer-links>:nth-child(2),.square-footer-links>:nth-child(3){justify-self:center;text-align:center}
@media(max-width:600px){.square-footer-links{width:92%;grid-template-columns:1fr 1.8fr 1fr}}
@media(prefers-reduced-motion:reduce){.square-footer-links{transform:translateX(-50%);clip-path:none}}
html[data-motion=off] .square-footer-links{transform:translateX(-50%);clip-path:none}

/* Compositor-stable flight plane: the footer mask moves, not the name canvas. */
.square-footer{clip-path:inset(0)}
.square-footer>canvas{position:fixed;inset:0;width:100vw;height:100svh}

/* A quiet extra scroll beat after the name settles, before contact is revealed. */
.footer-reveal-track{position:relative;height:125svh;z-index:2}
.footer-reveal-track>.square-footer{position:sticky;top:0;height:100svh}
@media(prefers-reduced-motion:reduce){.footer-reveal-track{height:auto}.footer-reveal-track>.square-footer{position:relative}}
html[data-motion=off] .footer-reveal-track{height:auto}html[data-motion=off] .footer-reveal-track>.square-footer{position:relative}

/* Contact outer edges follow the measured kerned name, never move the name. */
.square-footer-links{left:var(--name-left,4vw);right:auto;width:var(--name-width,92%);transform:translateY(calc(-1 * var(--footer-offset,0px)));grid-template-columns:1fr 1.8fr 1fr}
.square-footer-links>:first-child{justify-self:start}.square-footer-links>:last-child{justify-self:end}
@media(prefers-reduced-motion:reduce){.square-footer-links{transform:none}}
html[data-motion=off] .square-footer-links{transform:none}

/* Latest contact composition: LinkedIn + résumé left, email right. */
.square-footer-links{display:flex;flex-direction:row;align-items:center;gap:24px}
.square-footer-links>a:first-child{order:1;text-align:left}
.square-footer-links>span{order:2;text-align:left}
.square-footer-links>a[href^="mailto:"]{order:3;margin-left:auto;text-align:right}
@media(max-width:600px){.square-footer-links{gap:14px}}

/* Landing navigation reveals from a stationary bottom-up mask after the film. */
.landing-header{position:absolute;top:28px;right:4vw;z-index:10;color:#000;animation:landing-nav-reveal .65s cubic-bezier(.2,.7,.2,1) .15s both}
.landing-header nav{display:flex;align-items:center;gap:clamp(22px,3vw,48px)}
.landing-header a{font:400 14px Arial,sans-serif;text-decoration:none;white-space:nowrap}
.landing-header a:hover{text-decoration:underline;text-underline-offset:5px}
.landing-header a:focus-visible{outline:2px solid currentColor;outline-offset:4px}
html.opening-active .landing-header{visibility:hidden;pointer-events:none;animation:none}
@keyframes landing-nav-reveal{from{clip-path:inset(100% 0 0 0)}to{clip-path:inset(0)}}
/* Contact row only: leave the name, particle plane, and existing mask clock intact. */
.square-footer-links>a[href^="mailto:"]{order:0;margin-left:0;margin-right:auto;text-align:left}
.square-footer-links>a:first-child{order:1;text-align:right}
.square-footer-links>span{order:2;text-align:right}
@media(max-width:600px){.landing-header{top:18px}.landing-header nav{gap:22px}.landing-header a{font-size:12px}}
@media(prefers-reduced-motion:reduce){.landing-header{animation:none;clip-path:none}}
html[data-motion=off] .landing-header{animation:none;clip-path:none}

/* Navigation belongs to the landed project, never the homepage entrance. */
.landing-header{position:fixed;animation:none;clip-path:inset(100% 0 0 0);visibility:hidden;pointer-events:none;transition:clip-path .5s cubic-bezier(.2,.7,.2,1),visibility 0s .5s}
html[data-case-landed=true] .landing-header{clip-path:inset(0);visibility:visible;pointer-events:auto;transition:clip-path .5s cubic-bezier(.2,.7,.2,1),visibility 0s}
html.opening-active .landing-header{clip-path:inset(100% 0 0 0);visibility:hidden;pointer-events:none}
@media(prefers-reduced-motion:reduce){.landing-header{transition:none}html[data-case-landed=true] .landing-header{transition:none}}
html[data-motion=off] .landing-header{transition:none}

/* Hide native scrollbar chrome only; retain scrolling and review range controls. */
html,body,body *{scrollbar-width:none!important}
::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
