/* Native input owns scrolling. No competing scripted wheel animation. */
html:not(.menu-is-open):not(.intro-is-open):not(.paper-is-open):not(.scene-scroll-active){scroll-snap-type:y proximity;scroll-behavior:smooth}
main>section{scroll-snap-stop:normal}
@media(pointer:coarse),(max-width:1023px),(prefers-reduced-motion:reduce){
 html:not(.menu-is-open):not(.intro-is-open):not(.paper-is-open){scroll-snap-type:none!important}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}
.join .inspector-panel input:focus{background:#3f4654;color:#fff;outline:2px solid #8bb8f4}
.join .inspector-panel input::placeholder{color:#bbc0cc}
button,a,input{ -webkit-tap-highlight-color:transparent }
@media(max-width:1199px){
 .menu-sticker{width:112px;height:112px;right:24px;top:27px}
 .work .section-heading,.people .section-heading,.join .section-heading{padding-right:90px;column-gap:6%}
 .join .editor-satellite{width:180px;height:125px;left:35%;top:40px}
 .join .editor-set{zoom:1;width:100%}
 .join .preview-monitor{height:210px}
 .join .inspector-panel input{min-height:44px;font-size:16px}
 .join .track,.join .clip{height:38px}
 .join .audio-clip{width:calc(100% - 48px)}
 .join.shell{height:auto;min-height:100svh;padding-bottom:50px}
 .menu-file{padding-left:24px;padding-right:18px}.file-title{font-size:clamp(30px,3.8vw,45px)}
 .people .interview-layout{grid-template-columns:minmax(0,1.55fr) minmax(250px,.85fr)}
 .people .script-pad{padding:30px 22px}.people .script-pad h3{font-size:29px}
 .people .script-pad p:not(.annotation){font-size:16px}.people .script-pad article{min-height:0}
}
/* Portrait tablets keep generous artwork while descriptions flow beneath it. */
@media(max-width:1023px) and (orientation:portrait){
 .shell{width:90%}
 .hero{display:flex;flex-direction:column;align-items:stretch;padding:155px 0 55px;gap:35px}
 .hero h1{font-size:clamp(44px,8.7vw,76px)}
 .hero .intro{font-size:22px;max-width:620px}
 .hero-art{width:82%;align-self:center;margin:15px 0 0;max-width:670px}
 .hero-art>.art-caption{font-size:13px;top:-16px}
 .work .section-heading,.people .section-heading,.join .section-heading{padding-right:0;column-gap:5%}
 .people.shell{height:auto;min-height:100svh;padding:145px 5% 50px;gap:30px;grid-template-rows:auto auto}
 .people .interview-layout{display:flex;flex-direction:column;gap:28px}
 .people .interview-set{width:100%;height:auto;display:block;container-type:normal;margin:0}
 .interview-stage{width:100%;height:auto;aspect-ratio:3/2}
 .people .script-pad{width:94%;max-width:650px;padding:32px 30px;align-self:center}
 .people .script-pad h3{font-size:34px}.people .script-pad p:not(.annotation){font-size:18px}
 .work{height:auto;min-height:100svh;padding-top:145px;padding-bottom:45px;gap:30px}
 .work .studio-room{height:auto;min-height:0;container-type:normal}
 .studio-stage{position:relative;left:auto;top:auto;transform:none;width:100%;height:auto;aspect-ratio:1.14}
 .work .wall{width:77%;max-width:none;left:0;top:0}
 .work .work-scene .lounge-art{left:0;width:67%;bottom:35px}
 .work .work-scene .egg-scene{right:0;width:35%;bottom:58px}
 .work .work-scene .sofa-caption{left:1%;top:-34px;font-size:12px;max-width:200px}
 .work .work-scene .sofa-caption:after{display:none}
 .work .wall-note{display:flex;flex-direction:row;gap:22px;margin-top:18px}
 .room-boundary{clip-path:inset(0 67% 0 0)}
 .join.shell{padding-top:145px;padding-bottom:85px;gap:28px}
 .join .editor-satellite{width:150px;height:110px;left:34%;top:65px}
 .join .app-workspace{grid-template-columns:minmax(0,1.15fr) minmax(255px,1fr)}
 .outro{height:auto;min-height:100svh;padding-top:145px;padding-bottom:24px}
 .outro>.shell{height:auto;min-height:calc(100svh - 170px)}
 .outro .cast-crop{flex:1;width:100%;min-height:300px;margin-top:35px}
 .outro h2{font-size:clamp(54px,9vw,82px)}
 .menu-body{grid-template-columns:1.25fr .75fr;gap:1%}
 .file-cabinet{--folder-height:174px;--folder-overlap:53px}
 .menu-file{padding-top:45px;padding-left:22px}.file-title{font-size:34px}
 .menu-masthead>p{font-size:20px;margin-right:10px}.menu-brand img{width:120px}
 .concierge-scene figcaption{font-size:13px}.lift-panel{right:-4%;padding:8px 6px}
 .lift-light{width:28px;height:28px}
}
/* Phone chapters are readable scrollable scenes, never scaled-down desktop canvases. */
@media(max-width:600px){
 :root{--nav-top:16px}
 html{scrollbar-gutter:auto}
 .news-band{height:46px}.ticker-group{gap:17px;padding-right:17px}
 .menu-sticker{width:90px;height:90px;top:23px;right:16px}
 .shell{width:calc(100% - 36px)}
 .hero{padding:137px 0 35px;gap:0;min-height:100svh;justify-content:center}
 .hero h1{font-size:clamp(33px,10.6vw,63px);line-height:1.06}
 .hero-copy>.annotation{font-size:11px;margin-bottom:22px}
 .hero .intro{font-size:18px;line-height:1.5;margin-top:24px;max-width:100%}
 .hero-art{width:100%;max-width:none;margin:42px 0 0;align-self:center}
 .hero-art>.art-caption{font-size:10px;right:0;top:-25px}
 .hero .work-button{font-size:14px;padding:16px 17px;max-width:100%;gap:9px}
 .work.shell,.people.shell,.join.shell{height:auto;min-height:100svh;padding-top:134px;padding-bottom:42px;gap:28px}
 .work .section-heading,.people .section-heading,.join .section-heading{display:block;padding:0;max-width:100%}
 .section-heading>div:first-child{display:block!important}
 .work .section-heading h2,.people .section-heading h2,.join .section-heading h2{font-size:clamp(32px,9.5vw,50px);line-height:1.08;max-width:100%}
 .section-heading .annotation{font-size:11px!important;margin-bottom:18px!important}
 .work .section-heading>p,.people .section-heading>p,.join .join-intro>p:not(.annotation){font-size:16px;line-height:1.55;margin-top:24px;padding:0;max-width:100%}
 .work .studio-room{height:auto;min-height:0;container-type:normal}
 .studio-stage{position:relative;left:auto;top:auto;transform:none;width:100%;height:auto;aspect-ratio:.69}
 .work .wall{width:100%;left:0;top:0;max-width:none}
 .work .awards{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 12px;padding:3px}
 .work .wall-note{display:flex;flex-direction:row;align-items:baseline;justify-content:space-between;gap:12px;margin:18px 2px 0}
 .work .wall-note strong{font-size:15px}.work .wall-note .annotation{font-size:11px;max-width:140px}
 .work .empty-award span{font-size:11px}
 .work .work-scene .lounge-art{left:0;width:68%;bottom:36px}
 .work .work-scene .egg-scene{right:-1%;width:35%;bottom:46px}
 .work .work-scene .sofa-caption{font-size:10px;top:-36px;left:1%;max-width:150px}
 .room-boundary{clip-path:inset(0 70% 0 0)}
 .work .lounge-art>.tip-editor{top:102%;left:20%;font-size:10px}
 .work .lounge-art>.tip-scroller{top:-30px;left:0;font-size:11px}
 .people.shell{width:100%;padding-inline:18px}
 .people .interview-layout{gap:25px}
 .people .interview-set{margin:0 0 53px;max-width:none}
 .founder-seat{top:auto;bottom:-45px;height:44px;width:48%;border:1px solid #fff9!important;color:#fff!important;background:transparent!important;border-radius:4px}
 .seat-arsalan{left:0}.seat-sidhdhi{left:52%}
 .founder-seat>span{position:static;display:block;transform:none;font:13px/1.25 var(--hand);white-space:normal;border:0;padding:8px 4px}
 .founder-seat:hover>span{transform:none}.founder-seat[aria-selected=true]{background:#fffdf6!important;color:#191919!important}
 .founder-seat[aria-selected=true]>span{border:0}.founder-seat i{width:5px;height:5px;margin-left:4px}
 .people .interview-set .interview-art{width:75.25%;left:13.65%;top:8%}
 .people .script-pad{width:100%;max-width:none;padding:30px 24px}
 .people .script-pad h3{font-size:30px}.people .script-pad p:not(.annotation){font-size:16px;line-height:1.55}
 .people .script-pad .script-kicker{margin-bottom:20px}
 .join .section-heading{padding-right:0}
 .join .section-heading>div:first-child{position:relative;padding-right:78px}
 .join .section-heading h2{font-size:clamp(30px,9vw,46px)}
 .join .editor-satellite{display:block;width:110px;height:84px;left:auto;right:-5px;top:40px;transform:rotate(-3deg)}
 .join .editor-satellite>.scene-tip{font-size:9px;left:auto;right:0;top:-16px;max-width:120px;white-space:normal}
 .join .join-intro>.annotation{font-size:12px!important;margin:18px 0 0!important}
 .join .apply-note{font-size:13px;margin-top:8px;height:30px}.apply-note svg{width:70px;height:30px}
 .join .editor-set{zoom:1;width:100%;margin:0 0 42px}
 .join .app-workspace{display:flex;flex-direction:column;gap:14px;padding:12px}
 .join .preview-monitor{width:calc(100% - 20px);height:210px;margin:10px;aspect-ratio:auto}
 .join .monitor-import strong{font-size:32px;letter-spacing:-1px}
 .join .import-label{font-size:13px;line-height:1.5;text-align:center;margin-top:18px;max-width:250px}
 .join .inspector-panel form{display:flex;padding:14px}
 .join .inspector-panel label{font-size:14px;margin-bottom:7px}
 .join .inspector-panel input{font-size:16px;min-height:46px;padding:11px;margin-bottom:16px}
 .join .inspector-panel input::placeholder{font-size:13px}
 .join .prepare-button{min-height:46px;font-size:15px}
 .join .local-note{font-size:12px;margin:0 14px 16px}
 .join .timeline{padding:12px 10px 15px}.join .track{height:auto;min-height:44px;gap:7px;margin-top:8px}
 .join .track-name{width:35px;font-size:11px}
 .join .clip{width:calc(100% - 42px);height:auto;min-height:44px;font-size:12px;white-space:normal;line-height:1.35;padding:8px}
 .join .waveform{width:25px;flex-shrink:0}.join .audio-clip{gap:8px}
 .join .track-empty{display:none}.join .app-statusbar{font-size:11px;padding:10px}
 .join .collaborator-satellite{bottom:-65px;right:0;transform:scale(.65);pointer-events:auto}
 .join .transport button{min-height:44px}.join .transport{justify-content:space-between;flex-wrap:wrap}
 .outro{height:auto;min-height:100svh;padding:134px 0 22px}
 .outro>.shell{height:auto;min-height:calc(100svh - 156px)}
 .outro h2{font-size:clamp(42px,12.8vw,72px)}
 .outro .cast-crop{flex:none;aspect-ratio:2.1;min-height:0;width:100%;margin:55px 0 36px;overflow:visible}
 .outro .footer-note{margin-top:auto;font-size:11px;line-height:1.5;gap:14px;align-items:end}
 .footer-note>span{max-width:180px}.footer-note>a{flex-shrink:0;padding-block:10px}
 .outro .cast-crop>.character-tip.scene-tip{font-size:10px;max-width:100px}
 .menu-inner{width:calc(100% - 36px);padding-top:26px;padding-bottom:max(24px,env(safe-area-inset-bottom))}
 .menu-masthead{padding-right:58px}.menu-masthead>p{font-size:20px;max-width:290px;margin-top:5px}
 .menu-close{position:fixed;top:24px;right:20px;width:48px;height:55px;z-index:10;background:var(--menu-red)}
 .menu-body{display:flex;flex-direction:column;gap:10px;padding-top:20px}
 .file-cabinet{--folder-height:156px;--folder-overlap:52px;padding-top:48px}
 .menu-file{padding:44px 20px 15px}.file-title{font-size:clamp(29px,8.3vw,44px)}
 .file-note{font-size:12px}.file-tab{font-size:10px}
 .concierge-scene{width:245px;max-width:85%;margin-top:16px}
 .menu-bottom{font-size:10px}
 .overlay-close{min-width:48px;min-height:48px}
 .voice-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}
 .voice-body{padding:20px}.voice-actions{flex-wrap:wrap;gap:12px}
 .submission-body{padding:22px}.submission-body h2{font-size:32px}
 .submission-body .work-button{max-width:100%;margin-left:0;font-size:14px}
 .award-dialog{max-height:calc(100dvh - 24px)}
}
@media(max-width:360px){
 .shell{width:calc(100% - 30px)}.hero .intro{font-size:17px}
 .hero .work-button{font-size:12px;padding:16px 13px}
 .people.shell{padding-inline:15px}.work .awards{gap:12px 9px}
 .join .section-heading>div:first-child{padding-right:68px}.join .editor-satellite{width:96px;right:-9px}
 .join .preview-monitor{height:190px}.join .app-workspace{padding:9px}
 .menu-file{padding-left:17px}.file-title{font-size:28px}.cabinet-caption{font-size:14px}
}
@media(max-width:600px), (max-width:1023px) and (orientation:portrait){
 .work .wall-note{position:static;width:auto;left:auto;right:auto;top:auto;bottom:auto;transform:none}
 .work .room-boundary{top:57%;bottom:auto;height:22px;clip-path:none}
 .collaborator-satellite>.character-tip.scene-tip{left:auto;right:0;max-width:130px;white-space:normal}
}
@media(min-width:601px) and (max-width:1023px) and (orientation:portrait){
 .studio-stage{aspect-ratio:.9}
 .join .section-heading{display:block;position:relative}
 .join .section-heading>div:first-child{display:block;padding-right:175px}
 .join .section-heading>.join-intro{margin-top:24px;max-width:600px}
 .join .join-intro>p:not(.annotation){max-width:none;font-size:18px}
 .join .editor-satellite{left:auto;right:0;top:30px;width:175px;height:125px}
 .people .founder-bios article{max-width:none}
}

html:has(dialog[open]){overflow:hidden;scroll-snap-type:none!important}
@media(max-width:600px){
 #voice-dialog .work-button{min-height:44px}
 #voice-dialog .voice-recorder{flex-wrap:wrap}
}
@media(pointer:coarse){
 .join .inspector-panel input{min-height:44px;font-size:16px}
 .join .prepare-button,.join .clip{min-height:44px}
 .join .editor-set{zoom:1;width:100%}
 .join.shell{height:auto;min-height:100svh}
 .menu-file:hover{transform:rotate(var(--folder-tilt))}
}
