:root{color-scheme:light;--ink:#202622;--muted:#626762;--ground:#f3f0e9;--ground-rgb:243,240,233;--surface:#fffcf7;--accent:#315de1;--pad:clamp(24px,6vw,110px);--display:Arial,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:0}body{margin:0;background:var(--ground);color:var(--ink);font-family:Arial,sans-serif;font-size:16px;line-height:1.6}
a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer}button,a{-webkit-tap-highlight-color:transparent}a:hover{color:var(--accent)}[hidden]{display:none!important}
button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid var(--accent);outline-offset:5px}.skip-link{position:fixed;top:-100px;left:20px;padding:12px;background:var(--surface);z-index:20}.skip-link:focus{top:16px}
.studio-header{position:fixed;z-index:5;top:22px;left:5%;right:5%;height:66px;padding:12px 26px;display:flex;align-items:center;gap:24px;background:#fffdf9f5;border:1px solid #fff;box-shadow:0 6px 30px #353b3110;border-radius:40px}
.wordmark{font-size:29px;font-weight:800;letter-spacing:-2px;line-height:1}.wordmark span{color:var(--accent)}.studio-header nav{display:flex;gap:3px;margin:auto}.studio-header nav a{padding:8px 12px;font-size:14px;color:var(--muted);border-radius:24px}.studio-header nav a[aria-current]{background:#e8edfc;color:#244bb9}.catalog-link{font-size:13px;background:var(--ink);color:white;padding:9px 16px;border-radius:24px;white-space:nowrap}.catalog-link:hover{background:var(--accent);color:white}.catalog-link span{margin-left:8px}
.scene-wrap{position:fixed;inset:0;z-index:0;overflow:hidden;background:var(--ground)}.scene,.scene-fallback{position:absolute;inset:0;width:100%;height:100%}.scene-fallback{left:36%;width:64%;object-fit:contain;mix-blend-mode:multiply;transition:opacity .4s ease;opacity:1}.scene canvas{width:100%;height:100%;display:block;touch-action:pan-y}.scene-wrap.is-ready .scene-fallback{opacity:0;pointer-events:none;visibility:hidden}
.scene-wrap:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(var(--ground-rgb),.97) 0%,rgba(var(--ground-rgb),.92) 19%,rgba(var(--ground-rgb),.74) 29%,rgba(var(--ground-rgb),0) 47%)}
.chapter{position:relative;min-height:100svh;padding:145px var(--pad) 135px;display:flex;align-items:center;pointer-events:none}.chapter-copy{width:32%;max-width:480px;pointer-events:auto;padding:18px 0}
h1,h2,p{margin:0}h1,h2{font-size:clamp(42px,4.8vw,76px);font-weight:700;line-height:1.01;letter-spacing:-.065em;text-wrap:balance}h1 em,h2 em{font-style:normal;color:var(--accent)}.chapter-copy>p{margin-top:24px;font-size:17px;line-height:1.65;color:var(--muted)}.chapter-copy>.chapter-label{margin:0 0 22px;font-size:13px;font-weight:600;letter-spacing:0;color:#626962}.chapter-copy>.tour-hint{font-size:13px;margin-top:32px}
.action{display:inline-flex;align-items:center;justify-content:space-between;gap:28px;margin-top:26px;padding:13px 21px;background:var(--accent);color:white;font-size:15px;font-weight:600;min-height:50px;border-radius:28px;transition:transform .2s,background .2s}.action:hover{color:white;background:#244bc5;transform:translateY(-2px)}
.intro-card{margin-top:26px;padding:22px;background:#fffdf9;border:1px solid #e1ded6;border-radius:12px}.intro-card span{display:block;color:var(--muted);font-size:13px}.intro-card strong{display:block;margin-top:5px;font-size:17px}.intro-card p{margin-top:12px;font-size:14px;line-height:1.6;color:var(--muted)}
.work-list{margin-top:26px}.work-list>a{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:18px;margin-bottom:10px;background:#fffcf7ed;border:1px solid #e2ded4;border-radius:10px;font-size:18px;transition:background .2s}.work-list>a:hover{background:#e8edfc}.work-list small{display:block;font-size:12px;color:var(--muted);margin-top:5px;line-height:1.5}.text-link{display:inline-block;margin-top:20px;font-size:14px;text-decoration:underline;text-underline-offset:5px}
.project-preview{display:block;margin-top:24px;background:var(--surface);border-radius:10px;overflow:hidden;border:1px solid #dedbd3}.project-preview img{display:block;width:100%;height:auto;max-height:160px;object-fit:cover}.project-preview>span{display:flex;justify-content:space-between;gap:12px;padding:15px;font-size:14px}.chapter-copy>.supporting,.supporting{font-size:12px;color:var(--muted);line-height:1.6;margin-top:14px}
.gallery-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:24px}.gallery-strip img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;border-radius:5px;transition:transform .2s}.gallery-strip a:hover img{transform:translateY(-4px)}.gallery-strip span{display:block;font-size:12px;margin-top:8px}.email-link{display:block;margin-top:24px;font-size:clamp(16px,1.5vw,22px);text-decoration:underline;text-underline-offset:5px}.contact-links{display:flex;flex-wrap:wrap;gap:12px 24px;margin-top:26px;font-size:14px}
.tour-controls{position:fixed;z-index:5;bottom:0;left:0;right:0;min-height:52px;background:var(--ground);padding:16px var(--pad);display:flex;align-items:center;gap:28px;font-size:13px}.tour-position{display:flex;align-items:center;gap:22px;margin-right:auto}.tour-position>span{min-width:100px;font-weight:600}.tour-position progress{appearance:none;border:0;width:clamp(110px,22vw,320px);height:3px;background:#dadbd4;color:var(--accent)}progress::-webkit-progress-bar{background:#dadbd4}progress::-webkit-progress-value{background:var(--accent)}progress::-moz-progress-bar{background:var(--accent)}#view-toggle{background:transparent;border:1px solid #d3d6cd;padding:10px 15px;font-size:12px;min-height:42px;border-radius:24px}#view-toggle:hover{background:#e6e8e1}
dialog{border:1px solid #e2ded5;background:var(--surface);color:var(--ink);border-radius:16px;padding:0;width:min(860px,calc(100% - 32px));max-height:90svh;overflow:auto}dialog::backdrop{background:#17221da8}.detail-heading{display:flex;gap:20px;justify-content:space-between;align-items:center;padding:20px 24px;background:var(--surface);position:sticky;top:0;z-index:1}.detail-heading h2{font-size:28px;letter-spacing:-.03em}.detail-heading button{border:0;background:#eeece5;width:44px;height:44px;font-size:28px;flex-shrink:0;border-radius:50%}#detail-image{width:100%;height:auto;max-height:56svh;object-fit:contain;background:#e9e6df;display:block}.detail-copy{padding:24px}.detail-copy .action{margin-top:20px}
@media(max-width:1100px) and (min-width:768px){.studio-header{left:3%;right:3%;padding-inline:20px;gap:16px}.catalog-link{display:none}.studio-header nav{margin-right:0}.studio-header nav a{padding:8px 9px}.chapter-copy{width:35%}h1,h2{font-size:48px}.chapter-copy>p{font-size:16px}.chapter{padding-left:5vw}.scene-wrap:after{background:linear-gradient(90deg,rgba(var(--ground-rgb),.97),rgba(var(--ground-rgb),.87) 27%,rgba(var(--ground-rgb),0) 53%)}}
.room-picker{display:none}
@media(max-width:767px), (max-width:1024px) and (max-height:500px){
 html{scroll-behavior:auto}
 :root{--pad:20px;--tour-header:calc(120px + env(safe-area-inset-top,0px));--tour-stage:clamp(230px,40svh,370px);--tour-footer:calc(52px + env(safe-area-inset-bottom,0px))}
 :root.tour-ready{--tour-header:calc(64px + env(safe-area-inset-top,0px))}
 .studio-header{inset:0 0 auto;height:var(--tour-header);border:0;border-radius:0;box-shadow:none;padding:calc(10px + env(safe-area-inset-top,0px)) max(var(--pad),env(safe-area-inset-right,0px)) 10px max(var(--pad),env(safe-area-inset-left,0px));gap:12px;flex-wrap:wrap;background:var(--ground)}
 .tour-ready .studio-header{flex-wrap:nowrap}.wordmark{font-size:28px;flex-shrink:0}.catalog-link{display:none}
 .studio-header nav{width:100%;margin:0;overflow-x:auto;gap:8px}.studio-header nav a{min-height:44px;display:flex;align-items:center;padding:8px 12px;white-space:nowrap;flex-shrink:0}.tour-ready .studio-header nav{display:none}
 .room-picker{display:block;margin-left:auto;min-width:140px;width:46%;max-width:190px;min-height:44px;border:0;border-radius:8px;padding:10px 12px;background:#e5eafb;color:var(--ink);font:inherit;font-size:16px;font-weight:600}.room-picker:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
 .scene-wrap{top:var(--tour-header);bottom:auto;height:var(--tour-stage);min-height:0;max-height:none;z-index:2}.scene-wrap:after{display:none}.scene-fallback{left:0;width:100%;object-fit:contain;padding:4px 16px 24px}
 #tour{padding-top:calc(var(--tour-header) + var(--tour-stage) + 16px)}
 .chapter{padding:12px max(var(--pad),env(safe-area-inset-right,0px)) 52px max(var(--pad),env(safe-area-inset-left,0px));min-height:calc(100svh - var(--tour-header) - var(--tour-stage) - var(--tour-footer) - 16px);align-items:flex-start;scroll-margin-top:calc(var(--tour-header) + var(--tour-stage) + 16px)}
 .chapter:last-child{padding-bottom:calc(var(--tour-footer) + 32px)}.chapter-copy{width:100%;max-width:560px;margin-inline:auto;padding:0;background:var(--ground);min-width:0}
 h1,h2{font-size:clamp(36px,10.5vw,48px);line-height:1.04;letter-spacing:-.055em}h1 br,h2 br{display:none}.chapter-copy>.chapter-label{font-size:13px;line-height:1.5;letter-spacing:0;margin-bottom:14px}.chapter-copy>p{margin-top:16px;font-size:16px;line-height:1.6}.chapter-copy>.tour-hint{font-size:13px;margin-top:20px}
 .action{min-height:50px;margin-top:20px;padding:13px 20px;font-size:15px}.intro-card{margin-top:20px;padding:18px}.intro-card strong{font-size:17px}.intro-card p{font-size:14px}.work-list{margin-top:20px}.work-list>a{min-height:76px;padding:16px;font-size:18px}.work-list small{font-size:13px}.text-link{padding-block:10px;min-height:44px;font-size:14px}
 .project-preview{margin-top:20px}.project-preview img{width:100%;max-height:175px;object-fit:cover}.project-preview>span{font-size:14px;padding:14px 16px;min-height:48px}.chapter-copy>.supporting{font-size:13px;line-height:1.6}
 .gallery-strip{max-width:none;gap:10px;margin-top:20px}.gallery-strip img{max-height:none;object-fit:contain;background:var(--surface)}.gallery-strip span{font-size:12px;line-height:1.4;margin-top:8px}.email-link{font-size:18px;overflow-wrap:anywhere;min-height:44px;padding-block:8px}.contact-links{gap:4px 20px;font-size:14px;margin-top:16px}.contact-links a{min-height:44px;display:flex;align-items:center}
 .tour-controls{min-height:var(--tour-footer);padding:8px max(var(--pad),env(safe-area-inset-right,0px)) calc(10px + env(safe-area-inset-bottom,0px)) max(var(--pad),env(safe-area-inset-left,0px));display:flex;gap:12px;background:var(--ground)}
 .tour-position{width:100%;margin:0;gap:16px;min-width:0;font-size:12px;line-height:1.4}.tour-position>span{min-width:0;white-space:nowrap}.tour-position progress{display:block;flex:1;min-width:0;width:auto;height:3px}
 #view-toggle{min-width:0;min-height:44px;font-size:14px;padding:10px 12px;border-radius:24px;justify-content:center;text-align:center;white-space:nowrap}#view-toggle{background:#e6e8e1;border:0}
 dialog{width:calc(100% - 24px);max-height:calc(100dvh - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));border-radius:12px}.detail-heading{padding:14px 16px}.detail-heading h2{font-size:24px;line-height:1.15}.detail-copy{padding:18px}#detail-image{max-height:48svh}.detail-copy .action{width:100%}
}
@media(max-width:767px) and (max-height:700px){
 :root{--tour-stage:clamp(180px,34svh,240px)}h1,h2{font-size:36px}.chapter-copy>.tour-hint{margin-top:16px}.chapter{padding-bottom:44px}
}
@media(min-width:600px) and (max-width:1024px) and (max-height:500px){
 .scene-wrap{left:0;right:auto;bottom:var(--tour-footer);width:44%;height:auto}
 #tour{padding-top:calc(var(--tour-header) + 16px);padding-left:44%}.chapter{scroll-margin-top:calc(var(--tour-header) + 16px);min-height:calc(100svh - var(--tour-header) - var(--tour-footer) - 16px);padding-inline:20px}h1,h2{font-size:36px}.chapter-copy>.chapter-label{font-size:12px}.chapter-copy>p{font-size:15px}.project-preview img{max-height:150px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
html.light-view{scroll-behavior:auto}

:root[data-atmosphere="sunset"]{--ground:#ece0d1;--ground-rgb:236,224,209;--surface:#fff4e8;--ink:#322b2c;--muted:#6b5852}
:root[data-atmosphere="night"]{color-scheme:dark;--ground:#101b2c;--ground-rgb:16,27,44;--surface:#1c2b40;--ink:#f2eee6;--muted:#b5c1d0;--accent:#8da9ff}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.scene-tools{position:absolute;z-index:3;top:108px;right:6%;display:flex;align-items:center;gap:8px}
.scene-settings{display:flex;align-items:center;gap:8px}
.scene-tools select,.scene-tools button{min-height:44px;border:1px solid rgba(var(--ground-rgb),.55);border-radius:24px;background:var(--surface);color:var(--ink);font:inherit;font-size:14px;padding:9px 15px}
.scene-tools select{cursor:pointer;min-width:108px;font-size:16px}.scene-tools button{display:flex;align-items:center;justify-content:center;gap:8px}
.scene-tools button:hover{color:var(--accent)}
.lift-nav{position:absolute;z-index:3;right:max(16px,env(safe-area-inset-right,0px));top:50%;width:80px;padding:12px 9px 10px;background:#0f1622e8;color:#d9e2f2;border:1px solid #65738b;border-radius:0;box-shadow:0 8px 24px #1d2b3926;transform:translateY(-50%)}.lift-nav-count{display:flex;justify-content:center;gap:4px;font:600 11px/1.2 Arial,sans-serif;color:#9eacc0}.lift-nav-count strong{color:#dce8ff}.lift-nav-count i{font-style:normal;color:#65738b}.lift-nav-list{display:grid;gap:2px;margin:12px 0 10px;padding:7px 0;border-top:1px solid #344154;border-bottom:1px solid #344154}.lift-nav-list button,.lift-nav-controls button{border:0;background:transparent;color:#718099;min-height:24px;padding:2px;font:600 11px/1 Arial,sans-serif}.lift-nav-list button:hover,.lift-nav-list button[aria-current]{color:#dce8ff}.lift-nav-list button[aria-current]:after{content:"";display:block;width:14px;height:1px;margin:4px auto 0;background:#dce8ff}.lift-nav-controls{display:flex;justify-content:space-around}.lift-nav-controls button{font-size:14px;color:#8fa4c6;min-height:22px}.lift-nav-controls button:hover{color:#fff}
.orbit-controls{position:absolute;z-index:3;top:166px;right:6%;width:min(300px,calc(100% - 24px));padding:10px 14px;background:var(--surface);color:var(--ink);border:1px solid var(--muted);border-radius:12px}
.orbit-controls label{display:block;font-size:12px;line-height:1.5}.orbit-control-row{display:flex;gap:12px;align-items:center}.orbit-controls input{min-width:0;flex:1;height:44px;accent-color:var(--accent)}.orbit-controls button{min-height:44px;padding:8px 12px;background:var(--accent);color:var(--surface);border:0;border-radius:8px;font:inherit;font-size:13px;white-space:nowrap}.orbit-controls input:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
:root[data-atmosphere="night"] .orbit-controls button{color:var(--ground)}
:root[data-atmosphere] .studio-header,:root[data-atmosphere] .intro-card,:root[data-atmosphere] .work-list>a{background:var(--surface);border-color:rgba(var(--ground-rgb),.65)}
:root[data-atmosphere] .chapter-label{color:var(--muted)}
:root[data-atmosphere="night"] .studio-header nav a[aria-current],:root[data-atmosphere="night"] .room-picker{background:#293c61;color:var(--ink)}
:root[data-atmosphere="night"] .catalog-link{background:var(--accent);color:#101b2c}
:root[data-atmosphere="night"] .action{color:#101b2c}
:root[data-atmosphere="night"] .action:hover{background:#b1c3ff}
:root[data-atmosphere="night"] #view-toggle,:root[data-atmosphere="night"] .detail-heading button{background:#26364d;color:var(--ink);border-color:#40516b}
:root[data-atmosphere="night"] .work-list>a:hover{background:#293c61}
:root[data-atmosphere="night"] .project-preview,:root[data-atmosphere="night"] dialog{border-color:#40516b}
:root[data-atmosphere="night"] #detail-image{background:#152236}
.light-view[data-atmosphere="night"] .scene-fallback{filter:brightness(.78);mix-blend-mode:normal;background:var(--ground)}
@media(max-width:767px), (max-width:1024px) and (max-height:500px){
 .scene-tools{top:auto;bottom:6px;left:12px;right:100px;gap:6px;flex-wrap:wrap;justify-content:flex-start;z-index:4}
 .scene-settings{display:contents}.controls-toggle-label{display:none}.scene-tools .scene-settings #view-toggle{font-size:12px;padding-inline:10px}
 .lift-nav-list{min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#718099 transparent}.lift-nav-count,.lift-nav-controls{flex-shrink:0}
 .lift-nav{right:12px;top:50%;bottom:auto;display:flex;flex-direction:column;max-height:calc(100% - 16px);width:72px;padding:10px 7px 8px}
 .lift-nav-list{margin:9px 0 8px;padding:5px 0}
 .lift-nav-list button{min-height:24px;font-size:11px}
 .scene-tools select{min-width:104px;max-width:116px;padding:8px 10px}
 .scene-tools button{width:44px;padding:10px}.demo-toggle-label,.orbit-toggle-label{display:none}.scene-tools #view-toggle{width:auto}
 .orbit-controls{top:8px;right:12px}
}

.floor-hint{position:absolute;z-index:3;left:68%;bottom:120px;transform:translateX(-50%);margin:0;padding:8px 14px;background:var(--ink);color:var(--ground);font-size:14px;pointer-events:none}
@media(max-width:767px), (max-width:1024px) and (max-height:500px){.floor-hint{left:50%;bottom:62px;max-width:calc(100% - 100px);white-space:nowrap;font-size:12px;padding:6px 10px}}

/* Keep lift controls readable and leave the mobile scene unobstructed. */
.lift-nav{width:116px}
.lift-nav-list button{min-height:44px;width:100%;text-align:left;padding:8px 10px;font-size:12px;color:#b5c3d9}
.lift-nav-list button[aria-current]{background:#293c61;color:#fff}
.lift-nav-list button[aria-current]:after{display:none}
.lift-nav-controls{gap:6px}
.lift-nav-controls button{width:44px;min-height:44px;font-size:20px;color:#d9e2f2}
.lift-nav-controls button:disabled{opacity:.35;cursor:default}
@media(max-width:767px), (max-width:1024px) and (max-height:500px){
 .lift-nav{display:none}
 .scene-tools{left:12px;right:auto;bottom:10px;flex-wrap:nowrap}
 .scene-tools .controls-toggle-label{display:inline}
 .scene-tools #controls-toggle{width:auto;min-width:108px}
 .scene-settings{position:absolute;bottom:54px;left:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:min(320px,calc(100vw - 24px));gap:8px;padding:12px;background:var(--surface);border:1px solid rgba(var(--ground-rgb),.65);border-radius:16px;box-shadow:0 8px 24px #0002}
 .scene-settings select{grid-column:1/-1;width:100%;max-width:none}
 .scene-settings button,.scene-settings #view-toggle{width:100%;min-height:44px;padding:9px;font-size:13px}
 .scene-settings .demo-toggle-label,.scene-settings .orbit-toggle-label{display:inline}
 .floor-hint{max-width:calc(100% - 24px)}
}

.detail-contribution{margin:22px 0;padding-block:18px;border-block:1px solid rgba(var(--ground-rgb),.65)}.detail-contribution h3{font-size:15px;margin:0 0 10px}.detail-contribution p{margin:0;color:var(--muted)}.detail-copy>.text-link{display:block;width:fit-content;min-height:44px;padding-block:10px}

.detail-tech{display:flex;flex-wrap:wrap;gap:6px;margin:16px 0 6px}
.detail-tech>span{font-size:12px;font-weight:500;padding:4px 9px;background:#e9edf5;color:#283a4c;border-radius:6px}
:root[data-atmosphere="night"] .detail-tech>span{background:#26364d;color:#dce8ff}
.mobile-stepper{display:none}
@media(max-width:767px), (max-width:1024px) and (max-height:500px){
 .mobile-stepper{display:flex;align-items:center;gap:4px;margin-left:auto}
 .mobile-stepper button{display:flex;align-items:center;justify-content:center;width:34px;height:34px;padding:0;background:var(--surface);color:var(--ink);border:1px solid rgba(var(--ground-rgb),.85);border-radius:8px;font-size:16px;font-weight:700;line-height:1;transition:background .2s}
 .mobile-stepper button:hover{background:#e8edfc;color:var(--accent)}
 .mobile-stepper button:disabled{opacity:.3;cursor:default}
 :root[data-atmosphere="night"] .mobile-stepper button{background:#26364d;color:var(--ink);border-color:#40516b}
 :root[data-atmosphere="night"] .mobile-stepper button:hover{background:#293c61}
}

.detail-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:20px 0 10px}
.detail-gallery figure{margin:0;background:var(--surface);border:1px solid rgba(var(--ground-rgb),.65);border-radius:8px;overflow:hidden}
.detail-gallery img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;display:block}
.detail-gallery figcaption{font-size:12px;color:var(--muted);padding:8px 10px;line-height:1.4}
:root[data-atmosphere="night"] .detail-gallery figure{border-color:#40516b;background:#172538}
