/* Native scroll only: the video opens symmetrically within the pinned river hero. */
.v3-ocean{position:absolute;inset:0;z-index:0;opacity:0;clip-path:inset(50% 0);pointer-events:none;background:#142420}
.v3-ocean video{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 52%}
.v3-ocean::after{content:"";position:absolute;inset:0;background:rgba(5,16,13,.27)}
body[data-v1-founders-glass] .founders-postcard{ text-shadow:0 1px 3px #08140e88 }
/* A long, unblurred falloff only at Featured Work's exit. */
body[data-v1-founders-glass] #featured::after{content:"";position:absolute;inset:auto 0 0;height:clamp(260px,45svh,560px);background:linear-gradient(transparent,#08120e);pointer-events:none;z-index:0}
#featured .v3-featured-heading,#featured .v3-featured-grid{z-index:1;position:relative}
#tunnel{display:block;background:#08120e}
#tunnel.is-depth{height:340svh}
#tunnel .v3-depth-stage{padding:0;position:sticky;top:0;height:100svh;overflow:clip;isolation:isolate}
#v3-portfolio-title{position:absolute;inset:0;display:grid;place-items:center;z-index:2;margin:0;padding:0 var(--edge);font-family:var(--font);font-size:clamp(40px,11.5vw,180px);font-weight:300;letter-spacing:-.025em;line-height:1.1;color:var(--paper);pointer-events:none}
#tunnel .v3-depth-tile{pointer-events:none}
#tunnel .v3-depth-tile :is(.v3-film-label,.v3-film-detail){display:none}
.v3-portfolio-conclusion{position:relative;background:#08120e;min-height:70svh;display:grid;place-items:center;text-align:center;padding:100px var(--edge)}
.v3-portfolio-conclusion h2{font-size:clamp(36px,5vw,72px);font-weight:300;line-height:1.12;max-width:20ch;margin:0}
/* Shared editorial alignment beneath the centred Portfolio composition. */
#work,#gallery,#services,#about,#contact{padding-left:var(--edge);padding-right:var(--edge)}
#work>.section-heading,#gallery>.gallery-heading,#services>.section-heading{margin-left:0;padding-left:0}
@media(max-width:800px){#tunnel.is-depth{height:300svh}#tunnel.is-depth .v3-depth-tile{width:clamp(100px,20vw,180px)}}
@media(prefers-reduced-motion:reduce){
 .v3-ocean video{visibility:hidden}.v3-ocean{background:#142420 url('/v5/previews/film_18-poster.jpg') center/cover}
 #tunnel .v3-depth-scene{position:absolute;inset:15%;display:grid;grid-template-columns:repeat(3,1fr);gap:16px;opacity:.35;align-content:center}
 #tunnel .v3-depth-tile:nth-child(n+10){display:none}
 #tunnel .v3-depth-tile{transform:none}
}

/* All editorial labels share Featured Work's responsive text gutter. */
:root{--v3-heading-edge:var(--edge)}
#work,#gallery,#services,#about,#contact{padding-left:var(--v3-heading-edge);padding-right:var(--v3-heading-edge)}
#about .about-copy{order:-1}
.v3-portfolio-conclusion{background:linear-gradient(#08120e 30%,#000)}
@media(max-width:800px){:root{--v3-heading-edge:24px}}

/* V1 finale: stationary in the same stage, revealed only after every plane exits. */
.v3-portfolio-finale{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:24px;text-align:center;pointer-events:none;opacity:0;z-index:2}
.v3-portfolio-finale h2{font-size:clamp(40px,5vw,72px);font-weight:300;line-height:1.12;max-width:20ch;margin:24px auto}
#tunnel:not(.is-depth) .v3-depth-stage{height:auto;min-height:100svh}
#tunnel:not(.is-depth) #v3-portfolio-title{height:100svh;bottom:auto}
#tunnel:not(.is-depth) .v3-depth-scene{height:70svh;bottom:auto}
#tunnel:not(.is-depth) .v3-portfolio-finale{position:relative;padding:20svh 24px;margin-top:100svh;opacity:1}

/* Keep the finale pinned while the opaque Selected Films panel covers it. */
#tunnel.is-depth{height:440svh;z-index:0;isolation:isolate}
#tunnel.is-depth+#work{position:relative;z-index:3;margin-top:-100svh;background:#000}
@media(max-width:800px){#tunnel.is-depth{height:400svh}}
