@font-face{font-family:Anton;src:url('/rapro-live-video-v15-sec1/shared/assets/Anton-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
:root{--ink:#151313;--red:#541d29;--light:#eca65b;--paper:#f2ede3;--gutter:clamp(22px,3.2vw,64px)}
*{box-sizing:border-box}html{background:var(--ink);scroll-behavior:auto;scroll-padding-top:0}body{margin:0;color:var(--paper);font:12px/1.6 'Courier New',monospace}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit}a:focus-visible,button:focus-visible{outline:2px solid var(--light);outline-offset:7px}::selection{background:var(--red);color:var(--paper)}
.skip{position:fixed;z-index:20;top:15px;left:15px;transform:translateY(-150%);padding:12px;background:var(--ink)}.skip:focus{transform:none}
.header{position:fixed;inset:0 0 auto;z-index:10;padding:26px var(--gutter);display:flex;align-items:center;justify-content:space-between;background:linear-gradient(#15131380,transparent);pointer-events:none}.header a{pointer-events:auto}.wordmark{font-family:Anton,sans-serif;font-size:24px;letter-spacing:1.7px;line-height:1}.header nav{display:flex;gap:42px;font-size:12px}.header nav a{position:relative;padding:5px 0}.header nav a::after{content:'';position:absolute;left:0;right:0;bottom:0;height:1px;background:var(--paper);transform:scaleX(0);transform-origin:left;transition:transform .2s}.header nav a:hover::after,.header nav a[aria-current]::after{transform:scaleX(1)}
.stage{position:fixed;inset:0;z-index:0;pointer-events:none;background:var(--ink)}#scene,.still,.still img{position:absolute;width:100%;height:100%;inset:0;display:block}.still img{object-fit:cover}.still{opacity:1}#scene{opacity:0;transition:opacity .4s}.scene-ready #scene{opacity:1}.scene-ready .still{opacity:0}.grade{position:absolute;inset:0;background:linear-gradient(90deg,#08070780 0%,transparent 57%),linear-gradient(0deg,#08070745,transparent 30%,transparent 80%,#08070720);box-shadow:inset 0 0 180px #08070750}
#story{position:relative;z-index:1}.chapter{position:relative;height:145vh;height:145svh;padding:0 var(--gutter);scroll-margin-top:0}.entry{height:145svh}.discovery{height:150svh}.making{height:170svh}.work{height:205svh}.studio{height:165svh}.contact{height:120svh}
.copy{position:sticky;top:22svh;max-width:58vw;padding-bottom:7svh}h1,h2{font-family:Anton,Impact,'Arial Narrow',sans-serif;font-weight:400;margin:0;letter-spacing:-.035em;line-height:.96;text-transform:uppercase}h1{font-size:clamp(61.2px,7.92vw,153px)}h2{font-size:clamp(57.6px,6.75vw,129.6px)}h1 span,h2 span{display:block}p{margin:0}.intro{font-size:13px;margin-top:26px;max-width:550px;line-height:1.6}.entry .copy{top:23svh;max-width:63vw}.enter{position:absolute;top:calc(100svh - 95px);left:var(--gutter);line-height:1.5}.enter span{display:block;font:26px/1.4 sans-serif;padding-top:4px}.location{position:absolute;top:calc(100svh - 65px);right:var(--gutter);font-size:10px;opacity:.55}.eyebrow{text-transform:uppercase;font-size:10px;letter-spacing:.13em;margin-bottom:20px;color:var(--light)}.discovery .copy{top:19svh;max-width:55vw}.discovery h2{font-size:clamp(54px,5.58vw,106.2px)}.making .copy{top:55svh;max-width:43vw}.making h2{font-size:clamp(52.2px,5.58vw,104.4px)}.small{margin-top:22px;font-size:11px;opacity:.75}.work .copy{top:max(60svh,calc(100svh - 240px));max-width:none}.work h2{font-size:clamp(63px,8.46vw,144px);letter-spacing:-.025em}.work .eyebrow{margin-bottom:14px}.work .copy>p:last-child{margin-top:18px;font-size:12px}.work-credit{position:absolute;right:var(--gutter);top:91svh;font-size:10px;opacity:.5}.studio .copy{top:17svh;max-width:57vw}.studio h2{font-size:clamp(54px,5.49vw,106.2px)}.studio-copy{margin-top:28px;max-width:490px;display:grid;grid-template-columns:1.6fr 1fr;gap:36px;font-size:11px;line-height:1.8}.disciplines{white-space:nowrap;color:var(--light)}.contact .copy{top:21svh;max-width:58vw}.contact h2{font-size:clamp(61.2px,6.75vw,126px)}.conversation{display:inline-block;margin-top:32px;padding-bottom:6px;border-bottom:1px solid var(--paper);font-size:16px;transition:color .2s}.conversation:hover{color:var(--light)}.contact-status{margin-top:12px;font-size:10px;color:#f2ede380}.contact footer{position:absolute;bottom:25px;left:var(--gutter);right:var(--gutter);display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#f2ede3a0}.contact footer .wordmark{font-size:18px;color:var(--paper)}.motion-control{position:fixed;z-index:11;bottom:23px;right:var(--gutter);border:0;border-bottom:1px solid #f2ede350;background:#15131380;padding:5px 0;font-size:10px;cursor:pointer}.contact-active .motion-control{bottom:65px}
.static-mode .stage{position:relative;height:66svh;min-height:350px;margin-top:70px}.static-mode .still{opacity:1}.static-mode #scene{display:none}.static-mode .chapter{height:auto;min-height:0;padding-top:75px;padding-bottom:55px}.static-mode .copy{position:relative;top:auto;max-width:900px;padding:0}.static-mode .entry .copy{max-width:900px}.static-mode .location,.static-mode .enter{display:none}.static-mode h1{font-size:clamp(58.5px,8.1vw,135px)}.static-mode h2{font-size:clamp(49.5px,6.3vw,99px)}.static-mode .work-credit{position:static;margin-top:28px}.static-mode .contact footer{position:static;margin-top:100px;gap:25px}.static-mode .motion-control{bottom:20px}.static-mode .header{background:#151313}.static-mode .grade{background:none}

/* Five rooms; one physical building, one Canvas, semantic HTML typography. */
.room-still{display:none}.chapter,.entry,.shooting,.production,.screening{height:180svh}.contact{height:150svh}
.copy,.entry .copy{top:20svh;max-width:58vw}.shooting .copy{top:57svh;max-width:42vw}.shooting h2{font-size:clamp(52.2px,5.58vw,104.4px)}.production .copy{top:16svh;max-width:58vw}.production h2{font-size:clamp(49.5px,4.95vw,94.5px)}.screening .copy{top:64svh;max-width:48vw}.screening h2{font-size:clamp(57.6px,6.3vw,112.5px)}.work-description{font-size:11px;margin-top:22px;max-width:460px}.disciplines span{display:block}
.scene-ready:not(.static-mode) .chapter:not(.current-chapter) .copy{opacity:0}.grade{background:linear-gradient(90deg,#08070770,transparent 55%);box-shadow:none}
.static-mode .room-still{display:block;margin-bottom:40px}.room-still img{width:100%;height:auto;display:block}.static-mode .copy,.static-mode .entry .copy,.static-mode .shooting .copy,.static-mode .production .copy,.static-mode .screening .copy,.static-mode .contact .copy{position:relative;top:auto;max-width:900px}.static-mode .chapter{height:auto;padding-top:60px;padding-bottom:50px}.static-mode .room-still{max-width:1280px}.static-mode .grade{background:none}
@media(max-width:700px){body{font-size:11px}.header{padding:23px var(--gutter)}.wordmark{font-size:21px}.header nav{gap:20px;font-size:11px}.copy,.entry .copy,.shooting .copy,.production .copy,.screening .copy,.contact .copy{top:14svh;max-width:none;padding-bottom:10svh}h1{font-size:clamp(45.9px,12.24vw,81px);line-height:1.02}h2,.shooting h2,.production h2,.screening h2,.contact h2{font-size:clamp(37.8px,10.44vw,70.2px);line-height:1.02}.production h2{font-size:clamp(31.5px,9.63vw,64.8px)}.intro{font-size:10px;max-width:270px;margin-top:20px}.eyebrow{font-size:9px;margin-bottom:16px}.location{display:none}.enter{top:calc(100svh - 88px);font-size:10px}.studio-copy{display:block;font-size:10px;max-width:310px;line-height:1.65;margin-top:20px}.disciplines{margin-top:18px;line-height:1.7}.conversation{font-size:13px;margin-top:24px}.contact-status{font-size:9px}.work-description{font-size:10px;max-width:270px;margin-top:20px}.contact footer{flex-wrap:wrap;justify-content:space-between;gap:15px;font-size:8px}.contact footer a{flex-basis:100%}.motion-control{font-size:9px;top:70px;bottom:auto}.contact-active .motion-control{bottom:auto}.static-mode .stage{height:65svh;margin-top:65px}.static-mode .chapter{padding-top:40px;padding-bottom:35px}.static-mode .room-still{margin-bottom:28px}.static-mode .room-still img{max-height:80svh;object-fit:cover}.static-mode h1{font-size:12.24vw}.static-mode h2{font-size:10.44vw}.static-mode .contact footer{margin-top:60px}.grade{background:linear-gradient(#08070780,transparent 46%)} }
@media(max-width:700px) and (max-height:650px){.studio-copy{font-size:9px}.studio-copy .disciplines{margin-top:10px;white-space:normal}.disciplines span{display:inline}.disciplines span+span::before{content:' / '}}
@media(prefers-reduced-motion:reduce){#scene{transition:none}.header nav a::after{transition:none}.static-mode .stage{position:relative;height:66svh;min-height:350px;margin-top:70px}.static-mode .still{opacity:1!important}.static-mode #scene{display:none!important}.static-mode .chapter{height:auto!important;min-height:0;padding-top:65px;padding-bottom:45px}.static-mode .copy,.static-mode .entry .copy,.static-mode .shooting .copy,.static-mode .production .copy,.static-mode .screening .copy,.static-mode .contact .copy{position:relative;top:auto;max-width:900px;padding:0}.static-mode .room-still{display:block;margin-bottom:30px}.static-mode .location,.static-mode .enter{display:none}.static-mode .contact footer{position:static;margin-top:80px;gap:25px}.static-mode .header{background:#151313}.static-mode .grade{background:none}}

@media(max-width:360px){.screening h2,.contact h2{font-size:9.9vw}.work-description{font-size:9px;margin-top:16px}.contact .conversation{margin-top:18px}}

@media(max-width:360px){.screening .copy{top:12svh}}
@media(max-width:700px) and (max-height:650px){.production .copy,.screening .copy,.contact .copy{top:12svh}.production h2{font-size:8.1vw}.screening h2,.contact h2{font-size:9vw}.production .eyebrow,.screening .eyebrow,.contact .eyebrow{margin-bottom:10px}.screening .work-description{margin-top:10px;font-size:9px}.contact .conversation{margin-top:12px}.contact-status{margin-top:6px;font-size:8px}}

@media(min-width:701px){.production .copy{top:10svh}.production h2{font-size:clamp(37.8px,4.32vw,82.8px)}.production .eyebrow{margin-bottom:14px}.production .studio-copy{display:block;max-width:220px;margin-top:22px}.production .studio-copy .disciplines{margin-top:18px}}
@media(max-width:700px){.production .studio-copy{max-width:min(310px,calc(100vw - 120px))}}
@media(max-width:360px) and (min-height:651px){.production h2{font-size:9vw}}

@media(max-width:700px) and (max-height:650px){.production .copy{top:10svh}.production .studio-copy{max-width:min(245px,calc(100vw - 120px));margin-top:8px}}

/* Concept attribution remains HTML, including reduced-motion and no-script views. */
.concept-credit{color:var(--light);font-size:9px;letter-spacing:.08em;text-transform:uppercase;margin-top:16px}.concept-credit+.work-description{margin-top:8px}
@media(max-width:700px){
 body:not(.static-mode) #scene{top:40svh;height:60svh}
 body:not(.static-mode) .copy,body:not(.static-mode) .entry .copy,body:not(.static-mode) .shooting .copy,body:not(.static-mode) .production .copy,body:not(.static-mode) .screening .copy,body:not(.static-mode) .contact .copy{top:12svh}
 body:not(.static-mode) .production h2{font-size:8.55vw}
 body:not(.static-mode) .production .studio-copy{max-width:270px;font-size:9px;line-height:1.55;margin-top:12px}
 body:not(.static-mode) .production .disciplines{white-space:normal;margin-top:10px;font-size:8px}
 body:not(.static-mode) .production .disciplines span{display:inline}
 body:not(.static-mode) .production .disciplines span+span::before{content:' / '}
}

/* Static views use normal document flow: the header reserves its own height. */
.static-mode .header{position:relative;inset:auto;background:var(--ink)}
.static-mode .stage{height:auto;min-height:0;margin-top:0}
.static-mode .still,.static-mode .still img{position:static;width:100%;height:auto}
.static-mode .still img,.static-mode .room-still img{object-fit:contain;max-height:none}
.static-mode .motion-control{top:auto;bottom:20px}
@media(prefers-reduced-motion:reduce){
 .static-mode .header{position:relative;inset:auto;background:var(--ink)}
 .static-mode .stage{height:auto;min-height:0;margin-top:0}
 .static-mode .still,.static-mode .still img{position:static;width:100%;height:auto}
 .static-mode .still img,.static-mode .room-still img{object-fit:contain;max-height:none}
}

/* Preserve the requested capitalization in the header navigation only. */
.header nav a{text-transform:none}

/* Scoped adaptation of the existing Rapro three-column footer. */
.rapro-footer{position:relative;z-index:2;background:var(--ink);color:#b8b3ae;font-family:Arial,"Hiragino Kaku Gothic ProN",Meiryo,sans-serif;font-size:16px;line-height:1.7}
.rapro-footer-inner{max-width:1260px;margin:0 auto;padding:100px var(--gutter) 104px;display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:64px;align-items:start}
.rapro-footer-logo{font-family:"Cormorant Garamond",Georgia,serif;font-style:italic;font-size:25px;letter-spacing:.04em;color:#c8bbad}
.rapro-footer ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:24px;min-width:0}
.rapro-footer li{min-width:0}
.rapro-footer a,.rapro-app-trigger{color:inherit;text-decoration:none;letter-spacing:.02em;overflow-wrap:anywhere;text-transform:none}
.rapro-footer a{display:inline-block;min-height:28px}
.rapro-footer a:hover,.rapro-app-trigger:hover{color:var(--paper)}
.rapro-footer a:focus-visible,.rapro-app-trigger:focus-visible{outline:2px solid var(--light);outline-offset:6px}
.rapro-footer h2{font:500 18px/1.7 Arial,"Hiragino Kaku Gothic ProN",Meiryo,sans-serif;margin:0 0 30px;color:#e9ded2}
.rapro-app-trigger{font:inherit;min-height:28px;cursor:pointer;background:none;border:0;padding:0}
.rapro-app-dropdown{position:relative}
.rapro-footer .rapro-app-content{position:absolute;left:0;bottom:calc(100% + 12px);z-index:3;min-width:190px;max-width:100%;padding:14px 18px;gap:12px;background:var(--ink);border:1px solid #514239}
.rapro-footer .rapro-app-content[hidden]{display:none}
.rapro-footer-copy{border-top:1px solid #3b2b1d;padding:34px var(--gutter);font-size:13px;letter-spacing:.18em}
.rapro-footer-copy>div{max-width:calc(1260px - 2*var(--gutter));margin:0 auto}
@media(max-width:768px){.rapro-footer-inner{grid-template-columns:minmax(0,1fr);gap:38px;padding:64px var(--gutter)}.rapro-footer ul{gap:20px}.rapro-footer h2{margin-bottom:24px}.rapro-footer .rapro-app-content{position:static;max-width:100%;min-width:0;margin-top:14px}.rapro-footer-copy{padding:28px var(--gutter)}}

/* Native-scroll distance: every existing camera interval is 1.5 times r2.
   The last interval excludes one viewport; 100 + (150 - 100) * 1.5 = 175svh.
   Static layout and the shared footer keep their original dimensions. */
body:not(.static-mode) .chapter{height:270svh}
body:not(.static-mode) .chapter.screening{height:405svh}
body:not(.static-mode) .chapter.contact{height:175svh}

/* Motion controls remain operable in static mode; layout preferences come from JS. */
/* The mode switch remaps scroll explicitly; browser anchoring must not remap it again. */
html{overflow-anchor:none}
.motion-panel{position:fixed;z-index:30;right:var(--gutter);bottom:max(20px,env(safe-area-inset-bottom));max-width:calc(100vw - 2*var(--gutter));display:grid;justify-items:end;gap:6px}
.contact-active .motion-panel{bottom:max(65px,env(safe-area-inset-bottom))}
.motion-panel .motion-control{position:static;inset:auto;min-height:44px;padding:8px 12px;background:#151313ee;font-size:11px}
.motion-panel .motion-control:disabled{opacity:.65;cursor:default}
#motion-status{max-width:290px;padding:6px 9px;background:#151313ee;font-size:11px;line-height:1.5}
#motion-status:empty{display:none}

/* Error-only diagnostic controls; the tour layout is unchanged. */
.motion-message{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px;max-width:100%}
.diagnostic-copy{min-height:44px;border:1px solid #f2ede350;background:#151313ee;padding:8px 10px;font-size:11px;cursor:pointer}
.diagnostic-copy[hidden]{display:none}
#diagnostic-copy-status{max-width:290px;font-size:11px;background:#151313ee;padding:6px 9px}
#diagnostic-copy-status:empty{display:none}
.diagnostic-dialog{color:var(--paper);background:var(--ink);border:1px solid #f2ede350;width:min(640px,calc(100vw - 44px));max-height:80svh;padding:20px}
.diagnostic-dialog textarea{display:block;box-sizing:border-box;width:100%;height:40svh;margin:14px 0;background:var(--ink);color:var(--paper);font:11px/1.5 monospace}
.diagnostic-dialog button{padding:8px 12px;min-height:44px;background:var(--ink);border:1px solid #f2ede350}

.screen-video-source{position:fixed;width:1px;height:1px;left:0;top:0;opacity:0;pointer-events:none}
.film-panel{display:grid;justify-items:end;gap:6px;min-width:0;max-width:100%}
.film-panel[hidden]{display:none}
#film-status{font-size:11px;line-height:1.5;background:#151313ee;padding:6px 9px;max-width:300px}
#film-status:empty{display:none}
#film-action{min-height:44px;padding:8px 14px;border:1px solid #f2ede350;background:#151313ee;cursor:pointer;font-size:12px}

/* Film and Motion share one safe-area-aware control row, separate from copy. */
.playback-controls{position:fixed;z-index:30;right:var(--gutter);bottom:calc(20px + env(safe-area-inset-bottom));max-width:calc(100vw - 2*var(--gutter));display:flex;align-items:flex-end;justify-content:flex-end;flex-wrap:wrap;gap:10px 14px}
.playback-controls .motion-panel{position:static;inset:auto;min-width:0;max-width:100%;margin-left:auto}
.contact-active .playback-controls{bottom:calc(65px + env(safe-area-inset-bottom))}
.playback-controls #film-status{overflow-wrap:anywhere;max-width:min(300px,calc(100vw - 2*var(--gutter)));margin:0}
.playback-controls #film-action{max-width:100%;white-space:normal}
@media(max-width:700px){.playback-controls{width:calc(100vw - 2*var(--gutter))}.playback-controls .film-panel{flex:0 1 auto}}

/* Initial Motion-on loading uses frame zero, never the completed-room still.
   Explicit Motion off and failure fallback retain the approved completed still. */
.screening-opening-poster{display:none}
.static-mode.preparing-motion #work .room-still{display:none}
.static-mode.preparing-motion #work .screening-opening-poster{display:block;width:100%;height:auto;margin-bottom:40px}
@media(max-width:700px){.static-mode.preparing-motion #work .screening-opening-poster{margin-bottom:28px}}

/* CSP-compatible diagnostic copy fallbacks; no inline styles. */
.diagnostic-copy-field{position:fixed;top:0;left:0;width:1px;height:1px;opacity:0}
.diagnostic-bootstrap-copy{position:fixed;left:22px;bottom:140px;width:calc(100vw - 44px);max-width:640px;height:240px;z-index:100;background:#151313;color:#f2ede3}

/* Room names retain Anton and their existing layout; Japanese uses the existing system stack. */
#story .entry h1{text-transform:none}
#story .room-subtitle{font-family:Arial,"Hiragino Kaku Gothic ProN",Meiryo,sans-serif;font-size:clamp(16px,1vw,18px);font-weight:400;line-height:1.65;letter-spacing:normal;text-transform:none;margin:14px 0 0;max-width:34em;word-break:normal;overflow-wrap:normal;line-break:strict}
#story .work-description{font-size:16px;line-height:1.6;margin-top:12px}
#story .conversation{font-size:16px}
@media(max-width:700px){#story .room-subtitle{margin-top:12px;max-width:100%}#story .work-description{margin-top:8px}#story .conversation{margin-top:18px}}

/* Final homepage copy: retain the existing font metrics; wrap only at word boundaries. */
#story .chapter:not(.contact) h1,#story .chapter:not(.contact) h2{word-break:normal;overflow-wrap:normal;hyphens:none}
#story .chapter:not(.contact) .room-subtitle{text-wrap:balance}
@media(min-width:701px){
 body:not(.static-mode) .shooting .copy{top:max(90px,min(57svh,calc(100svh - 2.88 * clamp(52.2px,5.58vw,104.4px) - 100px)))}
 body:not(.static-mode) .screening .copy{top:max(90px,min(64svh,calc(100svh - 2.88 * clamp(57.6px,6.3vw,112.5px) - 100px)))}
}
@media(min-width:701px){
 body:not(.static-mode) .entry .copy{top:max(90px,20svh)}
 body:not(.static-mode) .production .copy{top:max(90px,10svh)}
}

/* Desktop entry uses the common room-heading sizes; mobile rules stay unchanged. */
@media(min-width:701px){
 #story .entry h1{font-size:clamp(57.6px,6.75vw,129.6px)}
 .static-mode #story .entry h1{font-size:clamp(49.5px,6.3vw,99px)}
}
