/* Shared finishing system: real daylight, contained motion, one navigation rail. */
html{scroll-behavior:auto}
body.page-mode{isolation:isolate;background:var(--brand-paper)}
body.page-mode::before{content:'';position:fixed;inset:-3%;z-index:-1;pointer-events:none;background:url('character-hero/companions/studio-daylight-v1.webp') center/cover no-repeat;opacity:.22;transform:translate3d(0,var(--daylight-y,0px),0);will-change:transform}
body.page-mode #main{background:transparent}
.page>.view{animation:studio-page-enter .38s cubic-bezier(.2,.65,.3,1) both}
@keyframes studio-page-enter{from{opacity:0}to{opacity:1}}
.page[data-page]:not([data-page=home]) .page-head{position:relative;isolation:isolate;padding-block:2rem 3rem}
.page-head::before{content:'';position:absolute;inset:-1px -5.95%;background:url('character-hero/companions/studio-daylight-v1.webp') 50% 34%/cover;opacity:.19;z-index:-1;pointer-events:none}
.page[data-page] .suite-head-note{background:#fbf8f4d9;border-top:1px solid #1b1b1f42;padding:1.5rem}
.suite-breadcrumb{margin-bottom:2.5rem}
.page[data-page] .section{padding-block:clamp(3rem,5vw,5rem)}
.pm-section{position:relative;isolation:isolate}
.pm-role img,.pm-documentary img,.premium-case-cover img{transition:transform .8s cubic-bezier(.2,.65,.3,1)}
@media(hover:hover){.pm-role:hover img,.pm-documentary:hover img{transform:scale(1.025)}}
/* The portfolio has a single compact rail, leaving room for the work. */
.motion-portfolio .folio-index>.bot-container{display:flex;align-items:stretch;width:89.4%;gap:0;max-width:1280px}
.motion-portfolio .folio-index a{flex:1;min-height:60px;padding:.9rem 1rem;display:flex;align-items:center;justify-content:center;white-space:nowrap;font-size:14px}
.motion-portfolio .folio-index .motion-pause{flex:0 0 auto;align-self:center;min-height:44px;margin:0 0 0 1rem;padding:.6rem .8rem;font-size:12px}
.folio-index{box-shadow:0 5px 18px #1b1b1f06}
.premium-portfolio .folio-intro{padding-block:3.8rem;gap:6%}
.folio-intro h2{max-width:16ch}.folio-intro .folio-overline{margin-top:0}
.folio-work{padding-top:3.5rem}
.motion-chapters{position:relative!important;top:auto!important;gap:1rem;background:transparent}
.motion-chapters button{font-size:14px}
.motion-cinema .motion-project,.motion-project{position:relative;top:auto;min-height:0;margin:0 0 2.5rem;transform:none;z-index:auto;grid-template-columns:1.25fr 1fr;border:0;box-shadow:none}
.motion-cinema .motion-project-visual,.motion-project-visual{min-height:460px;aspect-ratio:1.14}
.motion-project-copy{padding:clamp(1.8rem,3vw,3.2rem);display:flex;flex-direction:column;justify-content:center}
.motion-project-copy .motion-case-actions{margin-top:1.4rem}
.motion-project .motion-project-image img{transition:none;transform:translate3d(0,var(--project-parallax,0px),0) scale(1.055)}
.motion-cinema .motion-stack{padding:0}
.motion-project-status{font-size:13px!important;line-height:1.6!important}
/* A dark, tactile interlude for the AI practice. */
.premium-portfolio #the-library{position:relative;isolation:isolate;background:#1b2320;color:var(--brand-paper);padding:clamp(2rem,5vw,5rem);margin-block:3rem 4rem;overflow:hidden}
.premium-portfolio #the-library::before{content:'';position:absolute;inset:0;z-index:-1;background:url('character-hero/companions/studio-daylight-v1.webp') 70% 15%/cover;mix-blend-mode:soft-light;opacity:.18;pointer-events:none}
body.page-mode #main .premium-portfolio #the-library :is(h2,p,a,li){color:var(--brand-paper)}
.premium-portfolio #the-library .folio-link{border-color:#fbf8f48c}
.premium-portfolio #the-library .premium-process li{border-color:#fbf8f451}
.premium-portfolio #the-library .premium-process li::marker{color:var(--brand-paper)}
.cinema-expertise,.cinema-story{background:transparent}
.cinema-step-card{box-shadow:none;backdrop-filter:none;border:0;border-top:1px solid #1b1b1f35;background:#fbf8f4ed!important;transform:none!important}
.cinema-sequences .cinema-step-card{transform:none}
.cinema-person{filter:drop-shadow(0 16px 25px #1b1b1f0d)}
.editorial-portfolio .bot-about{padding-block:4rem;align-items:center}
.editorial-portfolio .bot-about figure{max-width:440px}
.motion-badge-body{transition:transform .7s cubic-bezier(.22,.68,.2,1)}
.folio-contact{display:block;padding:4rem 0 5rem;background:transparent}
.folio-contact h2{max-width:16ch}.folio-contact .btn-row{margin-top:1.5rem}
/* Reserve geometry before lazy media arrives. Never place controls on the aisle. */
.cinema-journey .green-transit.metro-scroll-region{height:220svh;background:#1b3024}
.cinema-journey .green-transit .green-transit-stage{position:sticky;top:var(--motion-index-height,60px);height:calc(100svh - var(--motion-index-height,60px));min-height:0;overflow:clip}
.cinema-journey .green-transit .train-skip{top:20px;inset-inline-end:3.5%;background:#fbf8f4e8;border:0;font-size:14px;min-height:44px}
.cinema-journey .metro-journey .green-transit-inner{inset:auto auto 100px 3.5%;margin:0;max-width:300px;padding:1.1rem 1.3rem;background:#fbf8f4f2;border:0;box-shadow:0 8px 30px #14221b0d}
.cinema-journey .metro-journey .green-transit-inner h2{font-size:42px;line-height:1.05;margin:.35rem 0 .6rem}
.cinema-journey .metro-journey .green-destination{font-size:12px;letter-spacing:.05em}
.cinema-journey .metro-journey .green-transit-inner>p:not(.green-destination){font-size:16px;margin:0 0 .65rem}
.cinema-journey .metro-journey .green-project-link{padding:.4rem 0;min-height:38px;background:transparent;border:0;border-bottom:1px solid #1b1b1f55;font-size:14px}
.cinema-journey .metro-stations{inset:auto auto 26px 3.5%;display:flex;gap:6px}
.metro-stations button{background:#fbf8f4f2;border:0;font-size:14px;min-height:48px;padding:10px 16px}
.metro-stations button[aria-pressed=true]{background:#1b2320;color:#fbf8f4}
.metro-stations button span{font-size:12px}
body.studio-immersive-visible #concierge-fab{visibility:hidden;pointer-events:none}
[dir=rtl] .cinema-journey .metro-journey .green-transit-inner{left:auto;right:3.5%}
[dir=rtl] .cinema-journey .metro-stations{left:auto;right:3.5%}
/* Fix the tablet overlap instead of letting cards travel across the portrait. */
@media(max-width:1000px){
 .cinema-sequences .cinema-story-stage{position:relative;top:auto;height:460px;margin-bottom:0}
 .cinema-sequences .cinema-person{left:25%;width:50%;height:85%;bottom:3.5rem}
 .cinema-sequences .cinema-pose-controls{left:0;width:100%;bottom:.5rem}
 .cinema-sequences .cinema-scroll-step{min-height:0;padding:0 0 1rem}
 .cinema-sequences .cinema-step-card{width:100%;min-height:0;padding:1.5rem}
 .cinema-sequences .cinema-scroll-track{padding:0 5.3% 2rem}
 .motion-portfolio .folio-index>.bot-container{width:100%;overflow-x:auto}
 .motion-portfolio .folio-index a{font-size:13px;padding:.75rem;min-height:54px}
 .motion-portfolio .folio-index .motion-pause{font-size:12px;margin-inline:0;padding:.6rem}
}
@media(max-width:900px){
 .motion-cinema .motion-project,.motion-project{grid-template-columns:1fr}
 .motion-cinema .motion-project-visual,.motion-project-visual{min-height:0;aspect-ratio:1.45}
 .motion-project-copy{padding:1.7rem}
}
@media(max-width:700px){
 body.page-mode::before{opacity:.16}
 .page-head::before{opacity:.16}.suite-breadcrumb{margin-bottom:1.5rem}
 .page[data-page] .suite-head-note{padding:1rem 0;background:transparent}
 .premium-portfolio .folio-intro{padding-block:2.5rem}
 .folio-intro h2{font-size:40px}
 .premium-portfolio #the-library{padding:2rem 1.4rem;margin-block:2rem}
 .cinema-journey .green-transit.metro-scroll-region{height:200svh}
 .cinema-journey .metro-journey .green-transit-inner{inset:auto 18px 82px;max-width:260px;padding:1rem}
 .cinema-journey .metro-journey .green-transit-inner h2{font-size:34px}
 .cinema-journey .metro-journey .green-transit-inner>p:not(.green-destination){font-size:15px}
 .cinema-journey .metro-stations{inset:auto 18px 18px!important;gap:4px}
 .metro-stations button{padding:8px 6px;font-size:12px;flex:1;gap:6px}
 .metro-stations button span{font-size:11px}
 .cinema-journey .green-transit .train-skip{top:16px;font-size:12px;inset-inline-end:18px}
 .cinema-person{height:85%}.folio-contact h2{font-size:42px}
}
@media(prefers-reduced-motion:reduce){
 body.page-mode::before{transform:none;will-change:auto}
 .page>.view{animation:none}
 .pm-role img,.pm-documentary img,.premium-case-cover img{transition:none;transform:none!important}
 .cinema-journey .green-transit.metro-scroll-region{height:auto;min-height:0}
 .cinema-journey .green-transit .green-transit-stage{position:relative;top:0;height:max(650px,90svh)}
 .cinema-journey .scratch-hero-home.motion-hero{height:max(820px,100svh);min-height:0}
 .cinema-journey .motion-hero-sticky{position:relative;height:100%;min-height:0}
 .motion-project .motion-project-image img{transform:none}
}

/* The help control occupies the outer gutter, not the project copy. */
@media(min-width:1101px){
 body.page-mode #concierge-fab{width:48px;height:48px;padding:0;right:10px;bottom:18px;border:1px solid #1b1b1f40;background:#fbf8f4;justify-content:center;border-radius:50%;backdrop-filter:none;animation:none}
 body.page-mode #concierge-fab .fab-mark{width:44px;height:44px;font-size:1.55rem}
 body.page-mode #concierge-fab .fab-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 body.page-mode #concierge-fab:hover{background:#c8ff2e}
}
@media(min-width:821px) and (max-width:1100px){body.page-mode #concierge-fab{position:static;width:max-content;max-width:88%;margin:1.5rem auto;animation:none}}

/* A tall phone frame can pin at its lower edge, with every control reachable. */
@media(max-width:700px){
 .cinema-journey.hero-scroll-enabled .scratch-hero-home.motion-hero{height:calc(max(1040px,100svh) + 65svh);min-height:0}
 .cinema-journey.hero-scroll-enabled .motion-hero-sticky{height:max(1040px,100svh);min-height:0;top:min(0px,calc(100svh - 1040px))}
 .cinema-journey .motion-hero-frame,.cinema-journey .motion-hero-frame iframe{height:100%;min-height:0}
}
@media(max-width:700px) and (prefers-reduced-motion:reduce){
 .cinema-journey .scratch-hero-home.motion-hero{height:max(1040px,100svh);min-height:0}
 .cinema-journey .motion-hero-sticky{height:100%;position:relative;top:0;min-height:0}
}

.premium-portfolio #the-library .premium-library{padding-block:0;width:100%}

/* A complete still is visible while the scroll enhancement loads. */
.cinema-journey .green-transit:not(.metro-journey) .green-transit-stage{background:url('assets/metro-v10/interior.webp') center/cover no-repeat}
.cinema-journey .green-transit:not(.metro-journey) .green-gates,.cinema-journey .green-transit:not(.metro-journey) .green-transit-still,.cinema-journey .green-transit:not(.metro-journey) .green-transit-caption{display:none}
.cinema-journey .green-transit:not(.metro-journey) .green-transit-inner{display:block;position:absolute;inset:auto auto 26px 3.5%;max-width:340px;min-height:0;margin:0;padding:1.3rem;text-align:start;background:#fbf8f4f2;opacity:1;transform:none}
body.page-mode #main .green-transit:not(.metro-journey) .green-transit-inner :is(h2,p,a){color:var(--brand-ink)}
.cinema-journey .green-transit:not(.metro-journey) .green-transit-inner h2{font-size:36px;margin:.6rem 0;line-height:1.1}
.cinema-journey .green-transit:not(.metro-journey) .green-transit-inner p{font-size:15px;line-height:1.5;margin:0 0 .7rem}
@media(max-width:700px){.cinema-journey .green-transit:not(.metro-journey) .green-transit-stage{background-image:url('assets/metro-v10/interior-portrait.webp')}.cinema-journey .green-transit:not(.metro-journey) .green-transit-inner{max-width:280px;left:18px}}
