/* Playback geometry is the decoded frame, with controls outside it. */
html { scrollbar-gutter:stable; }
html:has(.v5-film-player[open]) { overflow:hidden; }
.v5-film-player { --film-ratio:1.7777778; position:fixed; inset:0; margin:auto; padding:0; border:0; overflow:visible; color:#f3f0e8; background:transparent; width:min(92vw,1200px,calc((100dvh - 144px) * var(--film-ratio))); max-width:none; max-height:none; }
.v5-film-player::backdrop { background:rgb(12 19 15 / .94); }
.v5-film-player[open] { display:grid; grid-template-columns:minmax(0,1fr); gap:12px; }
.v5-film-player>.film-close { position:static; justify-self:end; min-height:44px; margin:0; padding:10px 14px; color:inherit; background:#253128; border:1px solid #f3f0e880; border-radius:4px; cursor:pointer; }
.v5-film-player>video { display:block; width:100%; height:auto; aspect-ratio:var(--film-ratio); object-fit:contain; background:transparent; min-width:0; }
.v5-film-player>.film-playback-status { position:static; margin:0; color:inherit; background:transparent; font-size:13px; }
.v5-film-player :focus-visible { outline:2px solid #b8d2ae; outline-offset:4px; }
/* Full-frame covers and previews share the actual source ratio. */
#work .film-frame { min-height:0; background:transparent; }
#work .film-thumb>img,#work .film-thumb>.v3-preview { object-fit:contain; transform:none!important; }
html[data-v5-restoring] body { visibility:hidden; }
@view-transition { navigation:auto; }
::view-transition-group(*) { animation-duration:220ms; }
::view-transition-old(root) { animation:v5-out 180ms ease-out both; }
::view-transition-new(root) { animation:v5-in 220ms ease-out both; }
::view-transition-old(root),::view-transition-new(root) { mix-blend-mode:normal; }
::view-transition { pointer-events:none; }
.site-header { view-transition-name:none; }
@keyframes v5-out { to { opacity:0; } }
@keyframes v5-in { from { opacity:0; } to { opacity:1; } }
@media(prefers-reduced-motion:reduce) { @view-transition { navigation:none; } ::view-transition-group(*),::view-transition-old(*),::view-transition-new(*) { animation:none; } }

body:is([data-v4-page=home],[data-v4-page=featured]) #featured .v3-film>video { object-fit:contain; }
/* Fill the opening viewport without changing modal/full-film sizing. */
body[data-v4-page=home] .v4-river { background:var(--ink); }
body[data-v4-page=home] .v4-river .hero-image,
body[data-v4-page=home] .v4-river .v4-hero-film {
 inset:0; width:100%; height:100%; max-width:none; max-height:none;
 aspect-ratio:auto; object-fit:cover; object-position:center; transform:none; background:transparent;
}
/* Fill the founders viewport without exposing green letterbox edges. */
body[data-v4-page=home] .v5-opening .v3-ocean { left:0; right:0; width:100%; margin:0; padding:0; border:0; border-radius:0; background-color:#000; }
body[data-v4-page=home] .v5-opening .v3-ocean video { position:absolute; inset:0; width:100%; height:100%; max-width:none; max-height:none; margin:0; padding:0; border:0; border-radius:0; aspect-ratio:auto; object-fit:cover; object-position:center; background:#000; }
/* Full-screen contact footage fills the section at every viewport ratio. */
.v4-contact-film { position:absolute; inset:0; width:100%; height:100%; max-width:none; max-height:none; aspect-ratio:auto; object-fit:cover; object-position:center; background:transparent; }

#tunnel .v3-depth-tile>video{object-fit:contain}
#tunnel .v3-depth-tile[data-v3-film="0"]{aspect-ratio:0.562962962962963}
#tunnel .v3-depth-tile[data-v3-film="1"]{aspect-ratio:0.562962962962963}
#tunnel .v3-depth-tile[data-v3-film="2"]{aspect-ratio:0.5625}
#tunnel .v3-depth-tile[data-v3-film="3"]{aspect-ratio:0.5625}
#tunnel .v3-depth-tile[data-v3-film="4"]{aspect-ratio:0.562962962962963}
#tunnel .v3-depth-tile[data-v3-film="5"]{aspect-ratio:1.7777777777777777}
#tunnel .v3-depth-tile[data-v3-film="6"]{aspect-ratio:0.562962962962963}
#tunnel .v3-depth-tile[data-v3-film="8"]{aspect-ratio:1.7777777777777777}
#tunnel .v3-depth-tile[data-v3-film="9"]{aspect-ratio:0.562962962962963}
#tunnel .v3-depth-tile[data-v3-film="10"]{aspect-ratio:1.7777777777777777}
#tunnel .v3-depth-tile[data-v3-film="11"]{aspect-ratio:1.7777777777777777}
#tunnel .v3-depth-tile[data-v3-film="12"]{aspect-ratio:0.5625}
#tunnel .v3-depth-tile[data-v3-film="13"]{aspect-ratio:0.5625}
#tunnel .v3-depth-tile[data-v3-film="14"]{aspect-ratio:0.5625}
#tunnel .v3-depth-tile[data-v3-film="15"]{aspect-ratio:1.7777777777777777}
#tunnel .v3-depth-tile[data-v3-film="16"]{aspect-ratio:0.5625}
#tunnel .v3-depth-tile[data-v3-film="17"]{aspect-ratio:0.5625}
#tunnel .v3-depth-tile[data-v3-film="18"]{aspect-ratio:0.5625}
#tunnel .v3-depth-tile[data-v3-film="19"]{aspect-ratio:0.5625}
#tunnel .v3-depth-tile[data-v3-film="20"]{aspect-ratio:0.5625}
#tunnel .v3-depth-tile[data-v3-film="21"]{aspect-ratio:0.5625}
#tunnel .v3-depth-tile[data-v3-film="22"]{aspect-ratio:0.5625}
#tunnel .v3-depth-tile[data-v3-film="23"]{aspect-ratio:0.5625}
#tunnel .v3-depth-tile[data-v3-film="24"]{aspect-ratio:0.5625}
#tunnel .v3-depth-tile[data-v3-film="0"]{aspect-ratio:0.562962962962963}
#tunnel .v3-depth-tile[data-v3-film="1"]{aspect-ratio:0.562962962962963}
#tunnel .v3-depth-tile[data-v3-film="2"]{aspect-ratio:0.5625}
#tunnel .v3-depth-tile[data-v3-film="3"]{aspect-ratio:0.5625}
#tunnel .v3-depth-tile[data-v3-film="4"]{aspect-ratio:0.562962962962963}
#tunnel .v3-depth-tile[data-v3-film="5"]{aspect-ratio:1.7777777777777777}
#tunnel .v3-depth-tile[data-v3-film="6"]{aspect-ratio:0.562962962962963}
#tunnel .v3-depth-tile[data-v3-film="8"]{aspect-ratio:1.7777777777777777}
#tunnel .v3-depth-tile[data-v3-film="9"]{aspect-ratio:0.562962962962963}
#tunnel .v3-depth-tile[data-v3-film="10"]{aspect-ratio:1.7777777777777777}
#tunnel .v3-depth-tile[data-v3-film="11"]{aspect-ratio:1.7777777777777777}
