/* User-supplied studio film. Homepage only; retain all lower sections. */
.studio-home .movement-story{height:380svh}
.studio-home .movement-stage{background:#f7f7f0;min-height:610px;perspective:none}
.studio-film{position:absolute;inset:0;z-index:0;overflow:hidden}
.studio-film canvas, .studio-film .motion-poster{width:100%;height:100%;object-fit:cover;object-position:50% 58%;display:block}
.studio-light-wash{position:absolute;inset:0;pointer-events:none;z-index:1;background:linear-gradient(180deg,#fbfff1a6 0%,#fafff249 12%,transparent 48%,transparent 82%,#f6f2e4b0 100%)}
.studio-home header{background:transparent;backdrop-filter:none}
.studio-home header.past-scene{background:#ffffffe0;backdrop-filter:blur(18px)}
.studio-home header .brand>span,.studio-home header .nav>a:not(.button){text-shadow:0 1px 10px #fff9}
.studio-home .scene-heading{left:6%;top:18%;z-index:3;transform:none;max-width:600px;text-shadow:0 2px 25px #ffffff80}
.studio-home .scene-heading .eyebrow{max-width:none;font-size:9px;letter-spacing:2.5px;margin-bottom:20px}
.studio-home .scene-heading h1{font-size:clamp(48px,5.5vw,82px);letter-spacing:-2px;line-height:.98;margin:0}
.studio-home .scene-heading h1 br{display:none}
.studio-home .scene-heading h1 em{display:block}
.studio-home .scene-heading p{font-size:12px;line-height:1.8;margin-top:20px;max-width:260px}
.studio-home .chapter-caption{left:6%;top:20%;width:440px;transform:none;text-shadow:0 2px 25px #ffffff80}
.studio-home .chapter-caption h2{font-size:clamp(45px,4.6vw,70px);margin:18px 0 15px;letter-spacing:-1px;max-width:400px}
.studio-home .chapter-caption p{color:#293f2d}
.studio-home .scene-controls{bottom:4%;left:5%;padding:15px 20px;border:1px solid #ffffff60;border-radius:100px;background:#fffdf0b8;backdrop-filter:blur(15px);box-shadow:0 10px 40px #2c3a2020;gap:24px}
.studio-home .chapter-track{bottom:8%;color:#213e27;border-color:#65805a;right:5%}
.studio-home .skip-scene{bottom:4%;color:#213e27;border-color:#65805a}
.studio-home .intro{border-radius:0;margin-top:0;box-shadow:none}
@media(min-aspect-ratio:2/1){.studio-film canvas, .studio-film .motion-poster{object-fit:contain;background:#e3e5d9}.studio-home .scene-heading{top:18%;left:7%}.studio-home .scene-heading h1{font-size:56px}}
@media(max-width:800px){
.studio-home .movement-story{height:330svh}
.studio-home .movement-stage{height:100svh;min-height:620px;background:#fafbf6}
.studio-home .scene-heading{left:7%;right:7%;top:16%;text-align:left;max-width:none}
.studio-home .scene-heading .eyebrow{font-size:7px;letter-spacing:1.6px;margin-bottom:13px}
.studio-home .scene-heading h1{font-size:54px;letter-spacing:-1.8px;line-height:1}
.studio-home .scene-heading p{font-size:10px;margin-top:12px;max-width:none}
.studio-home .studio-film{top:39%;bottom:auto;left:-17.5%;right:-17.5%;height:76vw;max-height:49svh}
.studio-home .studio-film canvas, .studio-home .studio-film .motion-poster{object-fit:cover;object-position:center center}
.studio-home .studio-light-wash{inset:39% 0 auto;height:76vw;max-height:49svh;background:linear-gradient(180deg,#fafbf6 0%,#fafbf600 13%,#fafbf600 84%,#fafbf6 100%)}
.studio-home .chapter-caption{top:17%;left:7%;right:7%;width:auto;text-align:left}
.studio-home .chapter-caption h2{font-size:50px;max-width:330px;line-height:1.02}
.studio-home .chapter-caption p{font-size:11px}
.studio-home .scene-controls{left:6%;right:6%;bottom:8%;padding:13px 14px;gap:12px;border-radius:25px;background:#eff4e6;border-color:#dde8d0;box-shadow:0 8px 20px #273c2010;justify-content:space-between}
.studio-home .scroll-hint{max-width:100px;font-size:7px}
.studio-home input[type=range]{width:90px}
.studio-home .skip-scene{bottom:3.5%;right:7%;font-size:9px}
.studio-home .chapter-track{display:none}
}
@media(max-width:800px) and (max-height:700px){.studio-home .scene-heading,.studio-home .chapter-caption{top:15%}.studio-home .scene-heading h1{font-size:43px}.studio-home .scene-heading p{margin-top:8px}.studio-home .studio-film,.studio-home .studio-light-wash{top:39%}.studio-home .scene-controls{bottom:7%}}
@media(prefers-reduced-motion:reduce){.studio-home .movement-story{height:100svh;min-height:620px}.studio-home .movement-stage{position:relative}}

.studio-film canvas,.studio-film .motion-poster{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover;object-position:50% 58%}
.studio-film canvas{opacity:0}.studio-film.frames-ready canvas{opacity:1}.studio-film.frames-ready .motion-poster{opacity:0}
.studio-home.motion-enabled .movement-story{height:380svh}.studio-home.motion-enabled .movement-stage{position:sticky}
.studio-home.motion-paused #motion-toggle{font-weight:700;font-size:12px;padding:10px 12px;border-radius:20px;border:1px solid #305d3b;background:#fff}
@media(max-width:800px){.studio-home.motion-enabled .movement-story{height:330svh}.studio-film canvas,.studio-film .motion-poster{object-position:center}}

/* Full-bleed studio, including the area behind the transparent header. */
.studio-home .movement-stage{background:#807c63}
.studio-home .studio-film{inset:0;width:100%;height:100%;max-height:none}
.studio-home .studio-film canvas,.studio-home .studio-film .motion-poster{object-fit:cover;background:transparent;object-position:50% 58%}
.studio-home .studio-light-wash{inset:0;height:100%;max-height:none;background:linear-gradient(180deg,#11211936,transparent 35%,transparent 70%,#15291e55)}
@media(max-width:800px){.studio-home .movement-stage{min-height:0;height:100svh}.studio-home .studio-film{inset:0;height:100%;max-height:none}.studio-home .studio-light-wash{inset:0;height:100%;max-height:none}.studio-home .scene-heading,.studio-home .chapter-caption{top:15%;color:#173121;text-shadow:0 1px 18px #ffffffe0}.studio-home .scene-heading h1{font-size:43px}.studio-home .scene-heading p{max-width:240px}.studio-home .scene-controls{background:#eff4e6b8;backdrop-filter:blur(15px);border-color:#ffffff60}.studio-home .skip-scene{color:white;border-color:#ffffff80;text-shadow:0 1px 6px #10271c}.studio-home .studio-film canvas,.studio-home .studio-film .motion-poster{object-position:51% center}}

/* Preserve the entire supplied landscape frame on every screen. */
.studio-home .studio-film::before{content:"";position:absolute;inset:-70px;background:url('/assets/studio-v2-poster.jpg') center/cover no-repeat;filter:blur(38px) brightness(.76);transform:scale(1.08)}
.studio-home .studio-film canvas,.studio-home .studio-film .motion-poster{inset:0;width:100%;height:100%;object-fit:contain;object-position:center;background:transparent;transform:none}
.studio-home .studio-light-wash{background:linear-gradient(180deg,#10221940,transparent 30%,transparent 78%,#10221955)}
@media(max-width:800px) and (orientation:portrait){
.studio-home .scene-heading,.studio-home .chapter-caption{top:15%;color:#fff;text-shadow:0 2px 18px #13291e80}
.studio-home .scene-heading h1 em,.studio-home .chapter-caption p{color:#e1edd9}
.studio-home header:not(.past-scene) .brand>span,.studio-home header:not(.past-scene) .menu{color:white;text-shadow:0 1px 8px #10221980}
.studio-home .studio-film canvas,.studio-home .studio-film .motion-poster{object-position:center 55%}
.studio-home .scene-heading h1{font-size:clamp(33px,10vw,43px)}
.studio-home .chapter-caption h2{font-size:clamp(32px,10vw,45px)}
}
@media(orientation:landscape) and (max-height:600px){.studio-home .movement-stage{min-height:0;height:100svh}.studio-home .scene-heading,.studio-home .chapter-caption{top:23%;left:4%;max-width:240px}.studio-home .scene-heading h1,.studio-home .chapter-caption h2{font-size:30px}.studio-home .scene-heading p,.studio-home .chapter-caption p{font-size:10px}.studio-home .scene-controls{bottom:3%;padding:8px 14px}.studio-home .scene-heading .eyebrow{font-size:7px;margin-bottom:8px}}

/* The studio recedes as the following page rises over it. */
.studio-home .movement-story,.studio-home.motion-enabled .movement-story{height:430svh;position:relative;z-index:0;background:#172b22}
.studio-home .movement-stage{transform:scale(calc(1 - var(--depth,0)*.055));filter:brightness(calc(1 - var(--depth,0)*.3));transform-origin:center 42%;will-change:transform}
.studio-home main>section:not(.movement-story){position:relative;z-index:2}
.studio-home .intro{margin-top:-100svh;border-radius:36px 36px 0 0;box-shadow:0 -22px 65px #0b211d40;min-height:75svh;background:#fff}
.studio-home .services{background:var(--cream)}
@media(max-width:800px){.studio-home .movement-story,.studio-home.motion-enabled .movement-story{height:380svh}.studio-home .intro{border-radius:26px 26px 0 0}}
@media(prefers-reduced-motion:reduce){.studio-home .movement-stage{transform:none;filter:none;will-change:auto}.studio-home:not(.motion-enabled) .movement-story{height:100svh}.studio-home:not(.motion-enabled) .intro{margin-top:0}}
