.gallery-viewport{position:absolute;inset:0;perspective:900px;perspective-origin:50% 48%;overflow:hidden;touch-action:pan-y;cursor:crosshair}
.gallery-viewport:focus-visible{outline:2px solid var(--focus-ring);outline-offset:-8px}
.gallery-room{position:absolute;left:50%;top:49%;width:1100px;height:660px;transform-style:preserve-3d;transform:translate(-50%,-50%) translateZ(-180px);will-change:transform}
.gallery-wall{position:absolute;display:grid;grid-template-columns:repeat(12,1fr);grid-template-rows:repeat(6,1fr);gap:0;background:#fff;backface-visibility:hidden}
.wall-back{inset:0}
.wall-left,.wall-right{width:600px;height:660px;grid-template-columns:repeat(4,1fr)}
.wall-left{left:-600px;top:0;transform-origin:right center;transform:rotateY(90deg)}
.wall-right{left:1100px;top:0;transform-origin:left center;transform:rotateY(-90deg)}
.wall-ceiling,.wall-floor{width:1100px;height:600px;grid-template-rows:repeat(4,1fr)}
.wall-ceiling{left:0;top:-600px;transform-origin:center bottom;transform:rotateX(-90deg)}
.wall-floor{left:0;top:660px;transform-origin:center top;transform:rotateX(90deg)}
.gallery-image{margin:0;min-width:0;min-height:0;overflow:hidden;background:#f5f7f8;position:relative}
.gallery-image img{width:100%;height:100%;object-fit:cover;object-position:center 35%;user-select:none;-webkit-user-drag:none;pointer-events:none}
.gallery-edge{position:absolute;inset:0;pointer-events:none;background:linear-gradient(to bottom,#fff 0%,rgba(255,255,255,.92) 4%,rgba(255,255,255,0) 17%,rgba(255,255,255,0) 82%,rgba(255,255,255,.88) 96%,#fff 100%);z-index:2}
.gallery-edge::after{content:'';position:absolute;inset:0;background:linear-gradient(to right,rgba(255,255,255,.65),transparent 12%,transparent 88%,rgba(255,255,255,.65))}

.tile-c1-r1-w1-h2{grid-area:1/1/span 2/span 1}
.tile-c1-r1-w2-h2{grid-area:1/1/span 2/span 2}
.tile-c1-r3-w1-h2{grid-area:3/1/span 2/span 1}
.tile-c1-r4-w1-h1{grid-area:4/1/span 1/span 1}
.tile-c1-r6-w2-h1{grid-area:6/1/span 1/span 2}
.tile-c2-r2-w2-h2{grid-area:2/2/span 2/span 2}
.tile-c2-r4-w1-h1{grid-area:4/2/span 1/span 1}
.tile-c2-r5-w2-h1{grid-area:5/2/span 1/span 2}
.tile-c3-r1-w2-h1{grid-area:1/3/span 1/span 2}
.tile-c3-r2-w2-h2{grid-area:2/3/span 2/span 2}
.tile-c3-r3-w2-h1{grid-area:3/3/span 1/span 2}
.tile-c3-r5-w2-h2{grid-area:5/3/span 2/span 2}
.tile-c4-r1-w1-h1{grid-area:1/4/span 1/span 1}
.tile-c4-r1-w1-h2{grid-area:1/4/span 2/span 1}
.tile-c4-r3-w1-h2{grid-area:3/4/span 2/span 1}
.tile-c5-r4-w1-h1{grid-area:4/5/span 1/span 1}
.tile-c6-r1-w2-h1{grid-area:1/6/span 1/span 2}
.tile-c6-r2-w2-h2{grid-area:2/6/span 2/span 2}
.tile-c6-r3-w2-h2{grid-area:3/6/span 2/span 2}
.tile-c6-r5-w2-h1{grid-area:5/6/span 1/span 2}
.tile-c6-r6-w1-h1{grid-area:6/6/span 1/span 1}
.tile-c8-r2-w1-h1{grid-area:2/8/span 1/span 1}
.tile-c8-r4-w2-h2{grid-area:4/8/span 2/span 2}
.tile-c8-r6-w1-h1{grid-area:6/8/span 1/span 1}
.tile-c9-r1-w1-h1{grid-area:1/9/span 1/span 1}
.tile-c9-r1-w2-h2{grid-area:1/9/span 2/span 2}
.tile-c10-r2-w1-h2{grid-area:2/10/span 2/span 1}
.tile-c10-r4-w2-h1{grid-area:4/10/span 1/span 2}
.tile-c10-r6-w1-h1{grid-area:6/10/span 1/span 1}
.tile-c11-r1-w2-h2{grid-area:1/11/span 2/span 2}
.tile-c11-r4-w2-h2{grid-area:4/11/span 2/span 2}
.tile-c12-r1-w1-h1{grid-area:1/12/span 1/span 1}
.tile-c12-r6-w1-h1{grid-area:6/12/span 1/span 1}
.tile-c1-r6-w2-h1{grid-area:6/1/span 1/span 2}

@media(max-width:600px){
 .wall-back{grid-template-columns:repeat(6,1fr);grid-template-rows:repeat(8,1fr)}
 .wall-back .gallery-image{display:none}
 .wall-back .gallery-image:nth-child(1){display:block;grid-area:1/1/span 2/span 2}
 .wall-back .gallery-image:nth-child(2){display:block;grid-area:1/4/span 1/span 1}
 .wall-back .gallery-image:nth-child(3){display:block;grid-area:1/5/span 2/span 2}
 .wall-back .gallery-image:nth-child(4){display:block;grid-area:3/1/span 2/span 2}
 .wall-back .gallery-image:nth-child(5){display:block;grid-area:2/3/span 2/span 2}
 .wall-back .gallery-image:nth-child(6){display:block;grid-area:3/5/span 2/span 2}
 .wall-back .gallery-image:nth-child(7){display:block;grid-area:5/1/span 2/span 2}
 .wall-back .gallery-image:nth-child(9){display:block;grid-area:5/3/span 1/span 1}
 .wall-back .gallery-image:nth-child(13){display:block;grid-area:5/5/span 2/span 2}
 .wall-back .gallery-image:nth-child(15){display:block;grid-area:7/2/span 2/span 2}
 .wall-back .gallery-image:nth-child(17){display:block;grid-area:7/4/span 1/span 2}
 .wall-back .gallery-image:nth-child(21){display:block;grid-area:8/5/span 1/span 2}
}
/* One persistent world, 15 Oct 2026. No section changes its visual language. */
:root{--ease-out:cubic-bezier(.23,1,.32,1);--ease-in-out:cubic-bezier(.77,0,.175,1)}
html{scroll-padding-top:0;scroll-behavior:smooth}
body{background:#fff}
.site-header{position:fixed;inset:0 0 auto;height:76px;background:linear-gradient(#fff 40%,rgba(255,255,255,.92) 80%,rgba(255,255,255,0));border:0;backdrop-filter:none;z-index:30}
.nav-shell{height:76px;padding:0 26px;gap:24px}
.brand img{width:64px;height:50px}
.nav-signature{position:absolute;left:50%;transform:translateX(-50%);font:400 9px/1.4 var(--font-mono);text-transform:uppercase;letter-spacing:.03em;white-space:nowrap}
.main-nav{gap:23px;margin:0 0 0 auto}
.main-nav a{font-size:11px;min-height:44px;display:flex;align-items:center}
.main-nav a[aria-current=location]{color:var(--text-accent)}
.main-nav a[aria-current=location]::after{transform:scaleX(1)}
.spatial-world{position:fixed;inset:0;z-index:0;overflow:hidden;isolation:isolate;background:#fff}
.gallery-room{top:49%;will-change:transform}
.gallery-viewport{cursor:default;touch-action:pan-y}
.gallery-wall{transform-style:preserve-3d}
.gallery-image{display:block;padding:0;border:0;border-radius:0;position:relative;cursor:default;backface-visibility:hidden}
button.gallery-image{cursor:pointer}
.gallery-image img{position:absolute;inset:0;transition:opacity var(--dur-panel) var(--ease-out);transform:scale(1.001)}
.gallery-image .image-alternate{opacity:0}
.gallery-image .image-base{opacity:1}
.gallery-image.is-changed .image-alternate{opacity:1}
.gallery-image:focus-visible{outline:3px solid var(--nc-tide-600);outline-offset:-4px;z-index:2}
.gallery-image:focus-visible img{transition:none}
.gallery-viewport:focus-visible{outline:2px solid var(--focus-ring);outline-offset:-8px}
body[data-motion=paused] .gallery-image img{transition:none}
#main{position:relative;z-index:2;pointer-events:none}
.scene{position:relative;min-height:100svh;padding:130px max(6vw,35px) 130px;display:flex;align-items:center;pointer-events:none}
.scene-right{justify-content:flex-end}
.scene-left{justify-content:flex-start}
.scene-panel{position:relative;width:550px;max-width:48%;padding:28px 20px;background:rgba(255,255,255,.97);box-shadow:0 0 65px 60px rgba(255,255,255,.97);pointer-events:auto}
.eyebrow{margin:0 0 24px;font:400 10px/1.5 var(--font-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--text-secondary)}
h2{font-size:clamp(48px,4.7vw,72px);font-weight:500;letter-spacing:-.06em;line-height:1.01;text-wrap:balance;margin:0}
h3{font-size:17px;font-weight:500;line-height:1.25;letter-spacing:-.025em}
p,h1,h2,h3,h4,figure{margin:0}
.gradient-text{background:var(--text-gradient);-webkit-background-clip:text;background-clip:text;color:transparent}
.scene-lede{margin-top:24px;max-width:420px;font-size:16px;line-height:1.65;color:var(--text-secondary)}
.scene-principles{list-style:none;padding:0;margin:28px 0 0;display:grid;gap:13px}
.scene-principles li{font-size:13px;line-height:1.5;display:flex;gap:12px;align-items:baseline}
.scene-principles li::before{content:'↗';color:var(--text-accent);font-size:14px}
.scene-action{display:inline-flex;align-items:center;justify-content:space-between;gap:45px;padding:14px 0;min-height:48px;border:0;border-bottom:1px solid var(--text-primary);background:none;color:var(--text-primary);font-size:14px;font-weight:500;margin-top:25px;transition:color var(--dur-base)}
.scene-action span{font-size:22px;line-height:1}
.scene-action:hover{color:var(--text-accent)}
.scene-note{font-size:11px;line-height:1.65;color:var(--text-secondary);max-width:410px;margin-top:17px}
.scene-detail{border-bottom:1px solid var(--border-default);margin-top:20px}
summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:13px;min-height:50px;cursor:pointer}
summary::-webkit-details-marker{display:none}
summary>span{font-size:22px;font-weight:300;line-height:1}
details[open]>summary>span{transform:rotate(45deg)}
.scene-detail[open]{padding-bottom:20px}
.scene-terms{margin:24px 0 0}
.scene-terms>div{padding:13px 0;border-bottom:1px solid var(--border-subtle)}
.scene-terms dt{font-size:15px;font-weight:500}
.scene-terms dd{margin:4px 0 0;font-size:13px;line-height:1.55;color:var(--text-secondary)}
.scene-terms>div:last-child{border:0}
.scene-process{list-style:none;padding:0;margin:25px 0 0;display:grid;gap:17px}
.scene-process li{display:flex;gap:20px}
.scene-process li>span{font:400 11px/1.6 var(--font-mono);color:var(--text-accent)}
.scene-process p{font-size:13px;line-height:1.55;color:var(--text-secondary);max-width:365px;margin-top:5px}
.faq-list{margin-top:22px}
.faq-list details{border-bottom:1px solid var(--border-default)}
.faq-list summary{min-height:56px;font-size:13px}
.faq-list details>p{font-size:13px;line-height:1.65;color:var(--text-secondary);padding:0 20px 18px 0}
.scene-final{display:flex;gap:35px}
.scene-final .scene-action{font-size:13px;gap:25px}
.footer-link{display:block;margin-top:22px;background:none;border:0;border-bottom:1px solid var(--border-subtle);padding:10px 0;min-height:44px;font-size:11px;color:var(--text-secondary)}
.scene-world{padding:0;display:block}
.world-invitation{position:absolute;top:49%;left:50%;transform:translate(-50%,-50%);pointer-events:auto;padding:12px 16px;background:#fff;white-space:nowrap}
.world-invitation p{font-size:15px;letter-spacing:-.035em;line-height:1.4}
.world-invitation p span{font-size:11px;letter-spacing:0;color:var(--text-secondary)}
.world-invitation a{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:44px;font-size:10px;color:var(--text-accent)}
.world-invitation a>span{font-size:18px}
.world-hint{position:absolute;left:50%;bottom:125px;transform:translateX(-50%);text-align:center;background:#fff;padding:9px 15px;font-size:10px;line-height:1.7;white-space:nowrap}
.world-hint>span:last-child{display:block;font-size:9px;color:var(--text-secondary)}
.touch-hint{display:none}
.world-controls{position:fixed;inset:auto 0 0;z-index:25;min-height:86px;display:flex;align-items:flex-end;justify-content:space-between;gap:22px;padding:20px 26px 18px;background:linear-gradient(transparent,#fff 40%);pointer-events:none}
.world-controls>*{pointer-events:auto}
.world-caption{display:flex;align-items:center;gap:8px;font-size:9px;line-height:1.6;padding-bottom:12px;max-width:360px}
.world-caption .image-disclaimer{color:var(--text-secondary)}
.signal{display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--nc-tide-600);flex-shrink:0}
.world-position{display:flex;align-items:center;gap:13px;padding-bottom:12px;font:400 10px/1.5 var(--font-mono)}
.position-line{width:75px;height:1px;background:var(--border-default);display:block;overflow:hidden}
#chapter-progress{display:block;width:100%;height:1px;background:var(--nc-tide-600);transform:scaleX(.2);transform-origin:left}
.world-actions{display:flex;align-items:center;gap:25px;background:#fff}
.motion-control,.next-chapter{display:inline-flex;align-items:center;justify-content:space-between;min-height:44px;padding:10px 0;gap:15px;background:#fff;border:0;border-bottom:1px solid var(--border-default);font-size:11px;color:var(--text-primary)}
.motion-control:disabled{color:var(--text-secondary)}
.motion-control[aria-pressed=true]{border-color:var(--nc-tide-600)}
.next-chapter{min-width:115px;border-color:var(--text-primary)}
.next-chapter span{font-size:19px}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
/* The matching concept uses the same quiet sheet, only when requested. */
.matching-stage{padding-top:12px}
.board-heading{display:flex;justify-content:space-between;gap:15px;align-items:center}
.micro-label{font:400 9px/1.5 var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--text-secondary)}
.board-heading h3{font-size:21px;margin-top:5px}
.sample-badge{border:1px solid var(--border-default);padding:4px 7px;font-size:9px}
.board-help{font-size:12px;color:var(--text-secondary);margin-top:15px}
.scenario-controls{display:flex;gap:7px;margin-top:15px}
.scenario-controls button{min-height:44px;padding:10px;font-size:11px;border:1px solid var(--border-default);background:#fff;flex:1;border-radius:0}
.scenario-controls button[aria-pressed=true]{border-color:var(--nc-tide-600);background:var(--surface-selected)}
.brief-prompt{padding:16px;background:var(--surface-sunken);margin-top:15px}
.brief-prompt p{font-size:14px;line-height:1.5;margin-top:7px}
.match-result{margin-top:20px}
.result-title{display:flex;align-items:center;gap:10px}
.profile-initial{width:32px;height:32px;display:grid;place-items:center;border:1px solid var(--border-default);font-size:12px}
.result-title h4{font-size:13px;font-weight:500}
.result-title>div>span{font-size:10px;color:var(--text-secondary)}
.reason-label{margin-left:auto;font:400 9px var(--font-mono)}
.match-reasons{list-style:none;padding:0;margin:18px 0;display:grid;gap:10px}
.match-reasons li{font-size:12px;line-height:1.5;display:flex;gap:9px}
.match-reasons li::before{content:'↗';color:var(--text-accent)}
.evidence-note{display:flex;gap:10px;padding-top:13px;border-top:1px solid var(--border-default)}
.evidence-note p{font-size:11px;color:var(--text-secondary);line-height:1.55}
.board-footer{display:flex;align-items:center;gap:9px;font-size:10px;margin-top:17px}
.sample-caption{font-size:10px;color:var(--text-secondary);margin-top:14px;line-height:1.6}
dialog{border-radius:0;box-shadow:0 0 70px 30px rgba(255,255,255,.4)}
dialog::backdrop{background:rgba(255,255,255,.72);backdrop-filter:blur(8px)}
dialog h2{font-size:36px}
@media(min-width:1600px){.gallery-viewport{perspective:1100px}.gallery-room{width:1300px;height:780px}.wall-left,.wall-right{height:780px}.wall-right{left:1300px}.wall-ceiling,.wall-floor{width:1300px}.wall-floor{top:780px}}
@media(max-width:1200px){.nav-signature{display:none}.scene-panel{max-width:49%;width:500px}.scene{padding-inline:5vw}.scene-panel h2{font-size:56px}.world-position{gap:9px}.position-line{width:45px}.world-caption{max-width:250px}}
@media(max-width:1100px){.gallery-room{width:850px;height:610px}.wall-left,.wall-right{height:610px}.wall-right{left:850px}.wall-ceiling,.wall-floor{width:850px}.wall-floor{top:610px}.scene-panel{max-width:53%;padding-inline:10px}.scene-lede{font-size:15px}.world-caption .image-disclaimer{display:block}.world-position{font-size:9px}.scene-panel h2{font-size:50px}}
@media(max-width:800px){.site-header,.nav-shell{height:70px}.nav-shell{padding-inline:18px}.brand img{width:58px;height:45px}.menu-toggle{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid var(--border-subtle);border-radius:0;min-height:44px;padding:10px 12px;font-size:12px;margin-left:auto}.menu-lines{width:16px;height:10px;border-block:1px solid var(--nc-ink)}.main-nav{display:none;position:absolute;top:70px;left:0;right:0;margin:0;padding:20px;background:#fff;border-bottom:1px solid var(--border-default)}.main-nav.is-open{display:grid;grid-template-columns:1fr 1fr;gap:8px 20px}.main-nav a{padding:8px;font-size:14px}.gallery-viewport{perspective:800px}.gallery-room{width:720px;height:660px}.wall-left,.wall-right{height:660px}.wall-right{left:720px}.wall-ceiling,.wall-floor{width:720px}.wall-floor{top:660px}.scene{padding:115px 40px 130px}.scene-panel{max-width:66%;padding:20px 10px;box-shadow:0 0 45px 40px rgba(255,255,255,.97)}.scene-panel h2{font-size:49px}.world-controls{padding-inline:18px;gap:12px}.world-position{display:none}.world-actions{gap:18px}.world-caption{font-size:8px;max-width:220px}.scene-world{padding:0}.world-invitation p{font-size:13px}.world-invitation p span{font-size:10px}}
@media(max-width:600px){.gallery-viewport{perspective:640px;perspective-origin:50% 47%}.gallery-room{width:465px;height:640px;top:47%}.wall-left,.wall-right{width:400px;height:640px}.wall-left{left:-400px}.wall-right{left:465px}.wall-ceiling,.wall-floor{width:465px;height:400px}.wall-ceiling{top:-400px}.wall-floor{top:640px}.wall-back{grid-template-columns:repeat(6,1fr);grid-template-rows:repeat(8,1fr)}.wall-left,.wall-right{grid-template-columns:repeat(4,1fr)}.wall-ceiling,.wall-floor{grid-template-rows:repeat(4,1fr)}.scene{padding:105px 31px 145px;align-items:center}.scene-panel{max-width:100%;width:100%;padding:18px 0;box-shadow:0 0 35px 24px rgba(255,255,255,.97);background:rgba(255,255,255,.98)}.scene-panel h2{font-size:clamp(40px,11.3vw,52px)}.eyebrow{font-size:9px;margin-bottom:23px}.scene-lede{font-size:14px;line-height:1.65;margin-top:22px}.scene-principles{gap:12px;margin-top:22px}.scene-principles li{font-size:12px}.scene-action{font-size:13px;gap:30px;margin-top:20px}.scene-note{font-size:10px}.scene-terms dt{font-size:14px}.scene-terms dd{font-size:12px}.scene-process{gap:17px}.scene-process h3{font-size:16px}.scene-process p{font-size:12px}.scene-process li{gap:14px}.scene-detail{margin-top:15px}.scene-detail summary,.faq-list summary{font-size:12px;min-height:54px}.faq-list details>p{font-size:12px}.scene-final{gap:28px}.scene-final .scene-action{font-size:12px;gap:20px}.scene-world{padding:0}.world-invitation{top:45%;padding:8px 10px}.world-invitation p{font-size:11px}.world-invitation p span{font-size:8px}.world-invitation a{font-size:9px;min-height:40px}.world-hint{bottom:145px;font-size:9px;padding:8px 11px}.world-hint>span:last-child{font-size:8px}.world-controls{min-height:110px;display:grid;gap:5px;padding:15px 18px 12px;background:linear-gradient(transparent,#fff 26%)}.world-actions{order:-1;justify-content:space-between;background:none;gap:25px}.motion-control,.next-chapter{font-size:10px}.next-chapter{min-width:120px}.world-caption{font-size:8px;max-width:none;padding:0;align-items:baseline}.world-caption .image-disclaimer{display:inline}.reason-label{display:none}.scenario-controls button{font-size:10px;padding-inline:7px}dialog{padding:40px 25px 28px}dialog h2{font-size:31px}.form-row{grid-template-columns:1fr}.result-actions{flex-direction:column}.menu-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}}
@media(hover:none),(pointer:coarse){.desktop-hint{display:none}.touch-hint{display:inline}.button:hover{transform:none;box-shadow:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.gallery-room{will-change:auto}.gallery-image img{transition:none;transform:none!important}.scene{min-height:100svh}.gallery-viewport{perspective:900px}}
@media(max-width:600px){.world-controls{grid-template-columns:1fr;justify-content:stretch}}

/* Local silent films sit inside the same gallery surfaces. */
.gallery-film{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none;opacity:0;transition:opacity var(--dur-panel) var(--ease-out)}
.gallery-image.film-ready .gallery-film{opacity:1}
body[data-motion=paused] .gallery-film,body[data-motion=reduced] .gallery-film{transition:none}
@media(prefers-reduced-motion:reduce){.gallery-film{display:none}}
