/* Computers belong to the rendered building. These DOM regions are only the
   accessible displays and drag targets, projected into the same world plane. */
#lab-space{opacity:1}
/* Mobile browser chrome can resize the visible viewport during a swipe. Keep
   the world's lens/targets stable; orientation or width changes still resize. */
@supports(height:100lvh){#lab-space{bottom:auto;height:100lvh}}
/* Texture sources remain measurable and interactive, but the world renders them.
   Opacity alone preserves their original glyph resolution and pointer controls. */
canvas[data-world-display=true]{opacity:0;outline:none;-webkit-tap-highlight-color:transparent}
/* Pointer rotation has no selection box. Keyboard users retain a quiet focus cue. */
.screen-glass:has(canvas:focus-visible:not([data-pointer-focus=true])),.art-panel:has(canvas:focus-visible:not([data-pointer-focus=true])){outline:1px solid #5d9eaf;outline-offset:6px;border-radius:12px}
.lab-monitor,.level-grid .lab-monitor,.level-grid.reverse .lab-monitor,.hero-lab-grid>.lab-monitor{
 background:none;border:0;box-shadow:none;transform:none!important;padding:26px 20px 58px;
}
.lab-monitor:before,.lab-monitor:after,.screen-glass:after{display:none}
.screen-top,.screen-bottom{visibility:hidden;border:0;pointer-events:none}
.screen-glass{background:none;overflow:visible}
.screen-glass .ascii-canvas{border-radius:2px;outline-offset:2px}
.screening-glass{background:none;border:0}
.screen-link .watch-label{bottom:14px;left:14px;background:#d8ff76f5}
.lab-copy,.level-grid .lab-copy,.hero-lab-grid>.lab-copy,.signal-readout{
 background:#0b1422e8;border:1px solid #48556788;box-shadow:0 12px 35px #10132624;padding:24px;
}
.lab-heading{background:#101624bb}
.lab-level .marquee{background:#071421ed}
.art-panel,.founder .art-panel{background:none;border:0;box-shadow:none;padding:45px 18px 65px;overflow:visible}
.art-panel .art-meta{visibility:hidden}
.page-shell{background:none;border:0}
.editorial,.page-top,.enquiry-layout,.process,.tab-row{position:relative;background:#07101ad9;padding:22px}
.page-top{background:#07101aba}
.film-card{background:#07101aea;padding:20px}
.contact-signal{background:#070e1cec;border-color:#52747d}
.page-enter{animation:none}
:root{--ui-radius:18px;--control-radius:12px}
button,.btn,.nav-hire,nav a,input,select,textarea,.pill,.watch-label,.skip{border-radius:var(--control-radius)}
.lab-copy,.level-grid .lab-copy,.hero-lab-grid>.lab-copy,.signal-readout,.lab-heading,.page-top,.editorial,.process,.tab-row,.enquiry-layout,.contact-signal,.film-card,.featured-film-card,.empty-work,.notice,.form-status,.admin-item,.admin-section,dialog,#toast{border-radius:var(--ui-radius)}
.film-preview,.screen-link,dialog video,.screening{border-radius:14px;overflow:hidden}
.site-header{border-radius:0 0 20px 20px}
footer{border-radius:20px 20px 0 0}
nav.open{border-radius:0 0 20px 20px}
.marquee{border-radius:12px}
.featured-film-card{position:relative;min-width:0;width:100%;background:#0a1220f2;padding:18px;border:1px solid #39465c;box-shadow:0 18px 55px #02040a90}
.featured-film-card>p{margin:18px 3px 3px;font-size:11px;color:var(--muted);letter-spacing:1px}
.film-card .play{border-radius:12px}
@media(max-width:800px){
 .lab-monitor,.level-grid .lab-monitor,.level-grid.reverse .lab-monitor,.hero-lab-grid>.lab-monitor{padding:22px 12px 46px}
 .lab-level{padding-inline:24px}
 .hero-lab-grid .lab-copy{padding:24px 7px;background:#080d17db}
 .level-grid .lab-copy{padding:20px 10px;background:#080d17e5}
 .editorial,.page-top,.enquiry-layout,.process,.tab-row{padding:12px}
 .art-panel,.founder .art-panel{padding:42px 10px 60px}
 .screening-glass{margin-block:15px}
}

/* Approved V03 terminals reserve their complete three-dimensional footprint. */
.lab-monitor.world-terminal,.art-panel.world-terminal,.founder .art-panel.world-terminal,.level-grid .lab-monitor.world-terminal,.hero-lab-grid>.lab-monitor.world-terminal{
 position:relative;padding:0;margin:0;min-height:0;height:auto;aspect-ratio:var(--terminal-aspect);width:100%;max-width:650px;justify-self:center;align-self:center;
}
.world-terminal .screen-top,.world-terminal .screen-bottom,.world-terminal .art-meta{display:none}
.world-terminal .screen-glass{margin:0;padding:0;min-height:0;max-height:none;border:0}
.world-terminal .screen-glass canvas{width:100%;height:100%}
.lab-heading{background:#101624bb;border-radius:22px}
.hero-lab-grid{grid-template-columns:minmax(190px,1fr) minmax(380px,1.95fr) minmax(130px,.70fr);gap:26px}
.lab-level:not(:first-of-type){min-height:125svh;padding-top:210px;padding-bottom:160px}
@media(max-width:800px){
 .hero-lab-grid{display:flex;flex-direction:column;gap:26px}
 .lab-monitor.world-terminal,.art-panel.world-terminal,.founder .art-panel.world-terminal{max-width:560px;flex-shrink:0}
 .lab-level:not(:first-of-type){padding-top:220px;padding-bottom:130px}
 .hero-lab-grid>.world-terminal{order:-1}
 .lab-heading .studio-word{margin-bottom:12px}
}

/* Keep the entire main computer within a normal desktop opening view. */
@media(min-width:801px){.hero-lab-grid>.lab-monitor.world-terminal{max-width:min(540px,53svh)}.hero-lab-grid{grid-template-columns:minmax(190px,1fr) minmax(320px,1.7fr) minmax(130px,.7fr)}}

/* Keep the perspective pass viewport-anchored. Native 1:1 page translation
   between frames cannot match the different scroll rates at different depths. */
body{position:relative;isolation:isolate}
#lab-world{position:absolute;inset:0;overflow:clip;pointer-events:none;z-index:-1}
#lab-space{position:fixed;inset:auto;top:-128px;left:0;width:100%;height:calc(100vh + 256px);z-index:0}
@supports(height:100lvh){#lab-space{height:calc(100lvh + 256px)}}
.ascii-canvas{touch-action:pan-y}

/* Reading controls use native document movement, bounded by their own room.
   No separate parallax transform or horizontal min-content expansion. */
.lab-level{overflow:clip}
.lab-copy,.signal-readout,.featured-film-card,.contact-signal{min-width:0;max-width:100%;transform:none}
.lab-copy .btn,.contact-signal .btn{max-width:100%;white-space:normal}
@media(min-width:801px) and (max-width:1050px){
 .hero-lab-grid{grid-template-columns:minmax(190px,1fr) minmax(320px,1.7fr)}
}

/* Local shallow-room copy: controls finish above their physical floor. The
   following room begins after a measured service-bay-height interval. */
.lab-level{justify-content:flex-start;min-height:0}
.lab-level:first-of-type{min-height:0;padding-bottom:64px}
.lab-level:not(:first-of-type){min-height:0;padding-top:calc(36vh + 88px);padding-bottom:64px}
@supports(height:100lvh){.lab-level:not(:first-of-type){padding-top:calc(36lvh + 88px)}}
.hero-lab-grid,.level-grid{align-items:end;margin:0 auto}
.lab-monitor.world-terminal,.hero-lab-grid>.lab-monitor.world-terminal,.level-grid .lab-monitor.world-terminal{align-self:end}
.contact-signal{margin:0 auto}
.lab-level:after{display:none}
@media(max-width:800px){
 .hero-lab-grid>.lab-copy,.level-grid>.lab-copy{order:0;width:100%}
 .hero-lab-grid>.world-terminal,.level-grid>.world-terminal{order:1;align-self:center}
 .hero-lab-grid,.level-grid{gap:26px}
}

/* Original wayfinding lives in the existing footer allowance. It cannot
   reflow the display anchors, floors or props, and shares the room clip. */
.room-wayfinding{position:absolute;bottom:4px;left:max(6vw,28px);right:max(6vw,28px);height:56px;pointer-events:none}
.room-wayfinding .descent-note{height:22px;margin:0;font-size:8px;gap:16px}
.lab-level .room-wayfinding .marquee{height:26px;margin:8px 0 0;font-size:8px}
/* Decorative + floor markers removed at the user's marked locations. */
.lab-level:not(:first-of-type):after{display:none}
@media(max-width:800px){
 .room-wayfinding{left:24px;right:24px}
 .room-wayfinding .descent-note{font-size:7px;letter-spacing:.7px;gap:10px}
 .lab-level .room-wayfinding .marquee{margin:8px 0 0}
}

/* Founder page only: a fuller screen footprint, with the existing bottom
   centre fixed. The reserved layout and every room/prop anchor stay put. */
@media(min-width:801px){
 .page-shell.founder .art-panel.world-terminal{
  --terminal-presentation-scale:1.12;
  transform:scale(var(--terminal-presentation-scale));transform-origin:50% 100%;
 }
}

/* An unpublished/filtered-out film must not collapse the Work room's scroll
   space. Reserve one responsive card footprint without a hidden film or media
   request: the 16:9 preview area plus its title/description allowance. */
.work-grid > .empty-work{grid-column:1/-1;grid-row:1;align-self:start}
.work-grid:has(> .empty-work)::after{
 content:"";grid-column:1;grid-row:1;align-self:start;
 aspect-ratio:16/9;margin:188px 20px 0;visibility:hidden;pointer-events:none;
}
@media(max-width:800px){
 .work-grid:has(> .empty-work)::after{margin-top:264px}
}

/* Three persistent banner layers: transform motion stays on the compositor. */
.descent .rail-track,.room-wayfinding .marquee-track{will-change:transform;animation:none}
/* Keep each small banner's clipping surface separate from the tall page. */
.descent .rail,.room-wayfinding .marquee{contain:paint;isolation:isolate;transform:translateZ(0)}
