/* MONOLITH / THE BLACK MUSEUM
   Original Spring Studio interactive concept, 2026.
   The environment itself is WebGL 3D; CSS styles only the navigational UI. */
:root{color-scheme:dark;--bg:#0b0b0d;--text:#f0efec;--dim:#b7b3ad;--dim2:#77746e;--gold:#b9a28a;--line:rgba(227,221,212,.18);--font:'DM Sans',system-ui,sans-serif}
*{box-sizing:border-box}
html,body{width:100%;height:100%;margin:0;background:var(--bg);font-family:var(--font);color:var(--text);-webkit-font-smoothing:antialiased}
button,a{font:inherit;-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
a{text-decoration:none;color:inherit}
button:focus-visible,a:focus-visible{outline:2px solid #f5d3ac;outline-offset:5px}
[hidden]{display:none!important}
.skip-link{position:absolute;left:15px;top:-100px;padding:10px;background:#eee;color:#151515;z-index:100}
.skip-link:focus{top:12px}
.experience{position:relative;width:100%;height:100svh;min-height:590px;background:linear-gradient(155deg,#101316,#040505);isolation:isolate;overflow:hidden}
#monolith-scene{position:absolute;inset:0;width:100%;height:100%;display:block;z-index:0;touch-action:none;cursor:grab;outline:none}
#monolith-scene.is-dragging{cursor:grabbing}
#monolith-scene:focus-visible{outline:2px solid var(--gold);outline-offset:-4px}
.vignette{position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,rgba(5,5,6,.43) 0%,rgba(4,4,5,.10) 30%,transparent 65%),radial-gradient(ellipse at center,transparent 43%,#030404a8 118%)}
.scene-noise{position:absolute;inset:0;z-index:2;pointer-events:none;opacity:.11;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.83' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.22' filter='url(%23n)'/%3E%3C/svg%3E")}
.scene-error{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;z-index:2;color:#b8b4ae;letter-spacing:.2em;font-size:11px;font-weight:600;text-align:center;padding:20px;pointer-events:none}
.header{position:absolute;z-index:6;left:0;right:0;top:0;display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;gap:30px;padding:30px clamp(24px,4.5vw,80px);border-bottom:1px solid rgba(219,216,208,.15)}
.identity{display:flex;align-items:center;gap:16px;width:max-content;max-width:100%}
.identity-emblem{font-family:'Space Grotesk',sans-serif;font-size:39px;font-weight:600;letter-spacing:-.11em;line-height:1}.identity-emblem span{color:#bea68a}
.identity-name{font-size:11px;font-weight:700;letter-spacing:.135em;line-height:1.4;white-space:nowrap}
.identity-name small{display:block;margin-top:4px;font-size:8px;font-weight:500;letter-spacing:.13em;color:#a8a29b}
.header-middle{text-align:center;font-size:10px;letter-spacing:.14em;color:#b9b6b1;white-space:nowrap}
.header-middle span{margin-left:14px;color:#918b84}
.header-nav{display:flex;justify-content:flex-end;gap:25px;align-items:center}
.header-nav button,.header-nav a{padding:7px 0;background:none;border:0;border-bottom:1px solid transparent;color:#ccc8c3;font-size:10px;font-weight:700;letter-spacing:.11em;white-space:nowrap}
.header-nav button[aria-current=true],.header-nav a:hover,.header-nav button:hover{color:#fff;border-bottom-color:#cdb499}
.header-nav a span{margin-left:5px;color:#cbb298}
.intro{position:absolute;z-index:4;left:clamp(24px,7.8vw,140px);top:29%;max-width:690px;pointer-events:none;transition:opacity .7s ease,transform .95s cubic-bezier(.16,.7,.1,1)}
.intro.is-closed{opacity:0;transform:translate3d(-25px,15px,0);visibility:hidden}
.intro-overline{font-size:11px;letter-spacing:.22em;font-weight:600;color:#d5c9bc;display:flex;gap:13px;align-items:center}
.intro-overline i{display:block;height:1px;width:31px;background:#c6a991}
.intro-overline span{color:#968b80}
.intro h1{font-family:'Space Grotesk',sans-serif;font-size:clamp(105px,14vw,240px);font-weight:600;letter-spacing:-.105em;line-height:.78;margin:31px 0 36px;text-shadow:0 10px 35px #02020269}
.intro h1 span{color:#c4bbad}
.intro h1 sup{position:relative;top:-3.2em;margin-left:.6em;font-family:var(--font);font-size:.095em;letter-spacing:0;color:#cbbba7}
.intro-caption{display:flex;align-items:center;gap:16px}
.intro-caption .intro-rule{width:34px;height:1px;background:#c3aa91}
.intro-caption p{font-size:11px;line-height:1.85;letter-spacing:.115em;font-weight:700;color:#d2cbc3;margin:0}
.enter-button{display:flex;align-items:center;justify-content:space-between;gap:23px;pointer-events:auto;margin-top:38px;min-width:230px;background:#d9d4cc;color:#17191a;border:none;padding:17px 20px;font-size:10px;font-weight:800;letter-spacing:.11em;transition:background .2s}
.enter-button:hover{background:#ebc7a0}
.enter-arrow{font-size:21px;font-weight:400}
.exhibit-ui{position:absolute;z-index:5;left:clamp(24px,7.8vw,140px);bottom:clamp(110px,12vh,180px);max-width:500px;opacity:0;transform:translateY(24px);pointer-events:none;transition:opacity .65s,transform .65s}
.exhibit-ui.is-visible{opacity:1;transform:translateY(0);pointer-events:auto}
.exhibit-number{font-size:11px;font-weight:700;letter-spacing:.17em;color:#cdb89e;margin-bottom:21px}
.exhibit-kicker{font-size:10px;letter-spacing:.19em;font-weight:700;color:#cfc3b5;margin:0 0 12px}
.exhibit-ui h2{font-family:'Space Grotesk',sans-serif;font-size:clamp(56px,6vw,100px);line-height:.99;letter-spacing:-.075em;font-weight:500;margin:0 0 14px}
.exhibit-description{font-size:13px;line-height:1.75;color:#c6c2bc;max-width:385px;margin:0}
.exhibit-actions{margin-top:25px;display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.exhibit-detail-button{border:1px solid #bcac9c;color:#e9dfd4;background:#151414b8;padding:14px 16px;font-size:10px;font-weight:800;letter-spacing:.1em}
.exhibit-detail-button:hover{background:#cbb6a2;color:#18191a}
.exhibit-detail-button span{margin-left:20px}
.exhibit-annotation{font-size:9px;letter-spacing:.16em;color:#8f8981}
.museum-nav{position:absolute;z-index:5;right:clamp(24px,4.5vw,80px);top:50%;transform:translateY(-25%);width:205px}
.museum-nav-heading{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid #b3afa75e;padding:0 0 14px;color:#a9a49d;font-size:9px;letter-spacing:.11em;font-weight:650}
.museum-nav-items{display:flex;flex-direction:column}
.museum-nav-items button{display:grid;grid-template-columns:27px 1fr 15px;gap:12px;align-items:center;text-align:left;background:transparent;color:#b1aba5;border:0;border-bottom:1px solid #ffffff25;padding:17px 0;font-weight:500}
.museum-nav-items button[aria-current=true]{color:#fff}
.museum-nav-items button[aria-current=true] .nav-line{background:#d8be9e;width:15px}
.nav-num{font-size:9px;color:#baa890;letter-spacing:.05em}
.nav-name{font-size:12px;letter-spacing:.09em}
.nav-line{height:1px;width:7px;background:#a49c8d;justify-self:end;transition:width .2s}
.museum-nav-items button:hover .nav-line{width:15px;background:#fff}
.bottom-bar{position:absolute;z-index:5;left:clamp(24px,4.5vw,80px);right:clamp(24px,4.5vw,80px);bottom:0;height:78px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #ffffff36}
.bottom-hint{display:flex;align-items:center;gap:14px;color:#aca79f;font-size:10px;letter-spacing:.13em;font-weight:650}
.hint-diamond{color:#cdb499;font-size:20px;font-weight:400}
.bottom-right{display:flex;align-items:center;gap:17px}
.quality-label{margin-right:32px;color:#a6a9a8;font-size:9px;letter-spacing:.13em;font-weight:600}.quality-label b{color:#8eae85;margin-left:8px;font-size:8px}
.bottom-right button{width:33px;height:33px;border:1px solid #a29c9077;background:#171819a6;color:#f3eee8;font-size:20px;border-radius:50%;line-height:1}
.bottom-right button:hover{background:#dbd3c6;color:#111}
#counter{color:#d5cec5;font-size:10px;font-weight:700;letter-spacing:.07em;min-width:57px;text-align:center}
.side-marker{position:absolute;z-index:4;left:12px;top:52%;writing-mode:vertical-rl;transform:translateY(-50%) rotate(180deg);font-size:9px;font-weight:600;letter-spacing:.17em;color:#817f7b}
.detail-panel{position:fixed;z-index:50;inset:0 0 0 auto;width:min(570px,100vw);height:100svh;max-height:100svh;margin:0;padding:0;border:0;background:#e5e1d9;color:#1a1b1a;box-shadow:-25px 0 100px #0009;overflow:auto}
.detail-panel::backdrop{background:#050506a8;backdrop-filter:blur(10px)}
.detail-top{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #aaa69e;padding:27px clamp(25px,5vw,55px);font-size:10px;font-weight:700;letter-spacing:.13em}
.detail-top button{border:0;background:none;color:#222;font-size:10px;font-weight:800;letter-spacing:.12em}
.detail-body{padding:clamp(40px,7vw,85px) clamp(25px,5vw,55px)}
.detail-index{font-size:12px;color:#887969;letter-spacing:.16em;font-weight:700}
.detail-body h2{font-family:'Space Grotesk',sans-serif;font-size:clamp(76px,11vw,125px);line-height:1;letter-spacing:-.09em;margin:18px 0 45px;font-weight:600}
.detail-body>p#study-copy{font-size:18px;color:#44443f;line-height:1.75;max-width:460px}
.detail-divider{width:100%;height:1px;background:#b1aea8;margin:55px 0 22px}
.detail-disclaimer{font-size:11px;color:#65635d;line-height:1.7}
.detail-contact{display:flex;justify-content:space-between;align-items:center;margin-top:44px;padding:20px 0;border-top:1px solid #938f88;border-bottom:1px solid #938f88;font-size:12px;letter-spacing:.1em;font-weight:800}
.detail-contact span{font-size:24px}
.access-note{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1150px){
 .header{grid-template-columns:1fr 1fr}.header-middle{display:none}
 .museum-nav{top:auto;bottom:105px;transform:none;width:210px}
 .intro h1{font-size:clamp(100px,15vw,170px)}
 .intro{top:32%}
 .exhibit-ui{max-width:430px;bottom:130px}.exhibit-ui h2{font-size:clamp(50px,6vw,74px)}
}
@media(max-width:760px){
 .experience{min-height:620px}
 .header{padding:23px 22px;gap:8px}
 .identity{gap:9px}.identity-emblem{font-size:34px}.identity-name{font-size:9px}.identity-name small{font-size:7px;letter-spacing:.05em}
 .header-nav{gap:16px}.header-nav button,.header-nav a{font-size:9px}
 .intro{left:26px;top:29%;right:18px}.intro h1{font-size:clamp(86px,17.2vw,142px);margin:26px 0}
 .intro-overline{font-size:9px}
 .intro-caption p{font-size:9px}.enter-button{margin-top:30px}
 .museum-nav{right:21px;bottom:121px;width:145px}
 .museum-nav-heading{font-size:7px}.museum-nav-heading span:last-child{display:none}
 .museum-nav-items button{padding:12px 0;grid-template-columns:19px 1fr 10px;gap:8px}
 .nav-name{font-size:10px}.nav-num{font-size:8px}
 .exhibit-ui{left:24px;right:165px;bottom:154px;max-width:320px}
 .exhibit-ui h2{font-size:clamp(43px,8vw,63px)}
 .exhibit-description{font-size:11px;line-height:1.5}
 .exhibit-number{margin-bottom:12px}.exhibit-kicker{font-size:8px}
 .exhibit-annotation{display:none}
 .exhibit-detail-button{font-size:9px;padding:12px}
 .bottom-bar{left:21px;right:21px;height:75px}
 .bottom-hint{font-size:8px;letter-spacing:.05em}.quality-label{display:none}.bottom-right{gap:8px}
 .side-marker{display:none}
}
@media(max-width:520px){
 .identity-name small{display:none}
 .header-nav button[data-stop="0"]{display:none}
 .intro{top:30%}.intro h1{font-size:clamp(79px,20vw,110px)}
 .intro h1 sup{top:-2.9em}
 .intro-overline{font-size:8px;letter-spacing:.13em}
 .intro-caption p{font-size:9px}
 .enter-button{min-width:210px;margin-top:30px}
 .museum-nav{bottom:111px;right:18px;width:126px}
 .museum-nav-heading{font-size:7px}
 .museum-nav-items button{padding:11px 0}
 .exhibit-ui{left:22px;right:151px;bottom:142px}
 .exhibit-ui h2{font-size:clamp(38px,9vw,51px)}
 .exhibit-description{font-size:10px}
 .exhibit-actions{margin-top:16px}.exhibit-detail-button span{margin-left:4px}
 .bottom-hint{max-width:160px;line-height:1.5}
 .bottom-right button{width:29px;height:29px;font-size:18px}
 .bottom-right{gap:5px}#counter{min-width:47px;font-size:9px}
}
@media(prefers-reduced-motion:reduce){
 .intro,.exhibit-ui,.enter-button{transition:none}
 .scene-noise{display:none}
}
