:root {
    color-scheme: dark;
    --ink: #e5e1d7;
    --muted: #8b8b84;
    --paper: #c5b58f;
    --red: #9c3029;
    --red-bright: #d14b3d;
    --steel: #42484a;
    --steel-dark: #202527;
    --line: rgba(214, 207, 187, .16);
    --mono: "IBM Plex Mono", "Courier New", monospace;
    --display: "Oswald", Impact, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: #111416; color: var(--ink); font-family: var(--mono); font-size: 13px; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 20; opacity: .14; background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(255,255,255,.025) 4px); }
button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 2px solid #d4a16d; outline-offset: 4px; }
[hidden] { display: none !important; }
.film-grain { position: fixed; inset: -50%; z-index: 19; pointer-events: none; opacity: .045; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E"); animation: grain .22s steps(2) infinite; }
.ambient { position: fixed; z-index: 0; pointer-events: none; filter: blur(65px); opacity: .13; }
.ambient--top { width: 40vw; height: 20vw; top: -12vw; left: 30%; background: #a9b6a2; animation: light-breathe 8s ease-in-out infinite; }
.ambient--red { width: 28vw; height: 28vw; right: -15vw; top: 45vh; background: #7b211d; opacity: .12; }
.site-header { position: absolute; z-index: 10; top: 0; left: 0; width: 100%; height: 76px; padding: 0 6vw; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.1); background: rgba(13,16,17,.35); }
.wordmark { display: inline-flex; align-items: center; font: 700 29px var(--display); letter-spacing: .12em; }
.wordmark__image { display: block; width: 112px; max-height: 43px; object-fit: contain; object-position: left center; }
.hero__logo { display: block; width: clamp(220px, 37vw, 480px); max-height: 190px; object-fit: contain; object-position: left center; filter: drop-shadow(0 5px 24px rgba(0,0,0,.45)); }
.wordmark__dot, .heading-period { color: var(--red-bright); }
.header-status, .sound-toggle { color: #a8aaa2; font-size: 9px; letter-spacing: .12em; }
.status-divider { padding: 0 9px; color: #555b58; }
.status-light { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #a04a3e; box-shadow: 0 0 9px #a04a3e; animation: status-pulse 3s infinite; }
.sound-toggle { border: 1px solid var(--line); background: transparent; padding: 9px 12px; cursor: pointer; }
.hero { position: relative; min-height: 760px; height: min(900px, 100svh); display: flex; align-items: center; padding: 130px 12vw 100px; overflow: hidden; isolation: isolate; background: radial-gradient(ellipse at 65% 40%, rgba(75,84,77,.25), transparent 45%), linear-gradient(100deg, #111617 0%, #1b2222 54%, #111516 100%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,13,14,.88), rgba(10,13,14,.25) 72%), linear-gradient(0deg, #111416 0%, transparent 28%, transparent 80%, rgba(0,0,0,.35)); }
.hero__backdrop { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: linear-gradient(90deg, rgba(10,13,14,.72), rgba(10,13,14,.28)), url("../images/backgrounds/Early-Base.webp") center 48% / cover no-repeat, linear-gradient(180deg, #303938, #151b1c 70%); }
.hero__structure { position: absolute; inset: 8% 4% 0 43%; opacity: .5; background: linear-gradient(90deg, transparent 0 12%, rgba(0,0,0,.55) 12.2% 13%, transparent 13.2% 48%, rgba(0,0,0,.5) 48.2% 49%, transparent 49.2%), repeating-linear-gradient(0deg, transparent 0 110px, rgba(0,0,0,.5) 112px 119px, transparent 121px 170px); border-left: 9px solid rgba(0,0,0,.35); transform: perspective(500px) rotateY(-8deg); }
.hero__beam { position: absolute; top: 0; width: 110px; height: 60%; background: rgba(205,213,183,.12); filter: blur(28px); transform: skewX(-18deg); animation: fluorescent 9s infinite; }
.hero__beam--one { left: 66%; }.hero__beam--two { left: 82%; top: 12%; opacity: .45; animation-delay: 3.7s; }
.hero__warning { position: absolute; right: 9%; bottom: 23%; padding: 12px 16px; border: 1px solid rgba(178,65,52,.5); color: rgba(202,91,73,.65); font-size: 9px; line-height: 1.7; letter-spacing: .12em; transform: rotate(-4deg); }
.hero__content { position: relative; z-index: 2; max-width: 690px; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: #a5a69c; font-size: 9px; letter-spacing: .17em; }
.eyebrow__line { display: inline-block; width: 27px; height: 1px; background: var(--red-bright); }
.hero__title-row { display: flex; align-items: flex-start; gap: 22px; margin: 25px 0 8px; }
.hero h1 { margin: 0; font: 700 clamp(100px, 17vw, 220px)/.82 var(--display); letter-spacing: .025em; text-shadow: 0 5px 35px rgba(0,0,0,.4); }
.unofficial-stamp { margin-top: 15px; padding: 7px 8px; border: 2px solid #a64236; color: #bd5144; font-size: 10px; line-height: 1.05; font-weight: 700; letter-spacing: .08em; text-align: center; transform: rotate(8deg); opacity: .85; }
.hero__subtitle { margin: 27px 0 12px; font: 500 clamp(21px, 3vw, 32px)/1.22 var(--display); letter-spacing: .025em; text-transform: uppercase; }
.hero__description { max-width: 430px; color: #9c9f98; font-size: 11px; line-height: 1.9; }
.primary-button { display: inline-flex; align-items: center; gap: 35px; margin-top: 28px; padding: 15px 18px; border: 1px solid #8d3931; background: rgba(110,35,29,.18); color: #eee8dc; font-size: 10px; letter-spacing: .13em; cursor: pointer; transition: background .25s, border-color .25s, transform .25s; }
.primary-button:hover { background: rgba(147,49,39,.35); border-color: #d35a4c; transform: translateY(-2px); }
.button-arrow { color: #d45c4c; font-size: 17px; }
.hero__footnote { margin-top: 27px; color: #6f7772; font-size: 8px; letter-spacing: .11em; }
.blinking-cursor { display: inline-block; width: 6px; height: 6px; margin-right: 7px; background: #b4483d; animation: status-pulse 1.2s infinite; }
.hero__coordinates { position: absolute; right: 6vw; bottom: 65px; color: #737a73; font-size: 8px; line-height: 1.8; letter-spacing: .12em; text-align: right; }
.scroll-cue { position: absolute; bottom: 0; left: 50%; display: flex; align-items: center; gap: 12px; color: #7c817b; font-size: 8px; letter-spacing: .2em; transform: translateX(-50%); }
.scroll-cue span { width: 1px; height: 36px; background: linear-gradient(#b64c40, transparent); }
.archive-section { position: relative; padding: 105px 8vw 80px; overflow: hidden; background: #171c1d; }
.archive-section::before { content: ""; position: absolute; inset: 0; opacity: .14; pointer-events: none; background: repeating-linear-gradient(0deg, transparent 0 79px, rgba(205,207,185,.1) 80px, transparent 81px), repeating-linear-gradient(90deg, transparent 0 119px, rgba(205,207,185,.06) 120px, transparent 121px); }
.section-heading, .archive-intro, .archive-room, .archive-caption { position: relative; z-index: 1; max-width: 1250px; margin-left: auto; margin-right: auto; }
.section-heading { display: flex; justify-content: space-between; align-items: end; }
.section-heading h2 { margin: 12px 0 0; font: 600 clamp(48px, 8vw, 88px)/.95 var(--display); letter-spacing: .035em; }
.section-heading__meta { color: #818982; font-size: 8px; line-height: 2; text-align: right; letter-spacing: .12em; }
.section-heading__meta strong { color: #d6d0c0; }
.archive-intro { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-top: 27px; color: #a3a69d; font-size: 11px; }
.archive-instruction { color: #737d77; font-size: 8px; letter-spacing: .1em; }.archive-instruction span { color: #bd5144; font-size: 14px; padding-left: 8px; }
.archive-room { min-height: 580px; margin-top: 30px; display: flex; align-items: center; justify-content: center; gap: 4%; padding: 80px 5%; overflow: hidden; border: 1px solid rgba(210,207,187,.12); background: radial-gradient(ellipse at 50% 70%, rgba(103,111,99,.25), transparent 55%), linear-gradient(180deg, #242b2b, #14191a 80%); box-shadow: inset 0 0 100px rgba(0,0,0,.65); }
.archive-room::after { content: none; }
.archive-room::before { content: ""; position: absolute; inset: 0; opacity: .25; background: repeating-linear-gradient(90deg, transparent 0 14%, rgba(0,0,0,.6) 14.2% 14.6%, transparent 14.8% 28%); pointer-events: none; }
.room-light { position: absolute; top: 0; width: 90px; height: 190px; background: rgba(206,215,189,.13); filter: blur(32px); animation: fluorescent 11s infinite; }
.room-light--left { left: 22%; }.room-light--right { right: 18%; animation-delay: 4s; }
.room-pipe { position: absolute; top: 0; width: 13px; height: 100%; border-left: 3px solid #394140; border-right: 2px solid #080b0c; opacity: .8; }.room-pipe--one { left: 7%; }.room-pipe--two { right: 7%; }
.crate { position: absolute; bottom: 55px; width: 105px; height: 85px; border: 5px solid #39382f; background: repeating-linear-gradient(45deg, #514c3e 0 9px, #454236 10px 18px); box-shadow: 8px 12px 15px #080a0a; opacity: .8; }
.crate span { position: absolute; top: 28px; left: 18px; color: #b7a77e; font-size: 8px; transform: rotate(-8deg); }.crate--one { left: 4%; }.crate--two { right: 4%; width: 78px; height: 65px; transform: rotate(3deg); }
.wall-sign { position: absolute; top: 40px; right: 6%; padding: 10px; border: 1px solid #665c4b; color: #a89b7d; font: 600 17px var(--display); transform: rotate(3deg); opacity: .65; }.wall-sign small { font: 7px var(--mono); letter-spacing: .1em; }
.drawer-contents { position: relative; z-index: 3; width: min(330px, 38%); padding: 18px; border: 1px solid #81765e; background: linear-gradient(145deg, #b8a982, #887c60); color: #28271f; box-shadow: 12px 16px 28px rgba(0,0,0,.55); animation: panel-in .35s ease both; }
.drawer-contents__heading { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid rgba(40,39,31,.3); font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.drawer-contents__heading button { border: 0; background: none; color: #383328; font-size: 22px; cursor: pointer; }.drawer-contents__hint { font-size: 8px; line-height: 1.6; color: #514a39; }
.folder-list { display: grid; gap: 8px; }.folder-card { position: relative; display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 62px; padding: 10px 12px; border: 1px solid #8b7e5f; border-left: 5px solid #6b715f; background: linear-gradient(110deg,#d0c19a,#b6a77f); color: #363126; text-align: left; cursor: pointer; box-shadow: 2px 3px 4px rgba(43,35,23,.2); transition: transform .2s, filter .2s; }.folder-card:hover { transform: translateX(5px); filter: brightness(1.07); }.folder-card strong { display: block; font-size: 9px; letter-spacing: .04em; }.folder-card small { display: block; margin-top: 5px; color: #615640; font-size: 7px; }.folder-card__tab { position: absolute; top: -6px; left: 10px; width: 55px; height: 6px; background: #b6a77f; border: 1px solid #8b7e5f; border-bottom: 0; }
.room-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 42px; border-top: 3px solid #303735; background: repeating-linear-gradient(90deg,#202626 0 90px,#252b2a 91px 92px); box-shadow: 0 -10px 30px rgba(0,0,0,.4); }
.archive-caption { display: flex; justify-content: space-between; margin-top: 13px; color: #737c75; font-size: 8px; letter-spacing: .1em; }
.about-strip { display: flex; align-items: center; gap: 22px; padding: 38px 12vw; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #202525; }.about-strip__mark { display: grid; place-items: center; flex: 0 0 35px; height: 35px; border: 1px solid #a34a3d; color: #c65b4d; font: 600 22px var(--display); }.about-strip .eyebrow { margin: 0 0 8px; }.about-strip__text { margin: 0; color: #c5c5b9; font: 500 18px var(--display); }.about-strip__code { margin-left: auto; color: #8d9389; font-size: 8px; white-space: nowrap; }
.site-footer { padding: 55px 8vw 22px; background: #0e1112; border-top: 1px solid #333a38; }.footer-main { display: grid; grid-template-columns: 2fr 1fr 1.5fr auto; gap: 30px; max-width: 1250px; margin: auto; }.wordmark--footer { font-size: 34px; }.wordmark--footer .wordmark__image { width: 135px; max-height: 52px; }.footer-tagline { color: #777e77; font-size: 8px; letter-spacing: .12em; }.footer-column { display: flex; flex-direction: column; gap: 10px; color: #969a91; font-size: 9px; }.footer-column a:hover { color: #e1d9c8; }.footer-label { margin-bottom: 5px; color: #c0b7a1; font-size: 8px; letter-spacing: .14em; }.footer-stamp { align-self: start; padding: 8px 10px; border: 2px solid #8c3830; color: #a8463c; font-size: 12px; font-weight: 700; line-height: 1.1; text-align: center; transform: rotate(7deg); }.footer-stamp small { font-size: 7px; }.footer-bottom { display: flex; justify-content: space-between; max-width: 1250px; margin: 45px auto 0; padding-top: 17px; border-top: 1px solid #292f2e; color: #69716b; font-size: 8px; letter-spacing: .08em; }.footer-red { color: #a94338; }
.dossier-backdrop { position: fixed; z-index: 50; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(3,5,5,.86); backdrop-filter: blur(8px); animation: fade-in .2s ease; }.dossier { width: min(720px, 100%); max-height: min(850px, 92vh); overflow: auto; border: 1px solid #6e6a58; background: #242a29; box-shadow: 0 25px 90px #000; animation: dossier-in .3s ease both; }.dossier__top, .dossier__bottom { display: flex; justify-content: space-between; align-items: center; padding: 13px 18px; color: #b0b1a4; font-size: 8px; letter-spacing: .1em; }.dossier__top { border-bottom: 1px solid #444b46; }.dossier__top button, .dossier__bottom button { border: 0; background: none; color: #d2c6a9; font-size: 9px; cursor: pointer; }.dossier__paper { position: relative; margin: 22px; padding: clamp(22px,5vw,48px); background: #c9bb99; color: #302c23; box-shadow: 0 5px 15px rgba(0,0,0,.3); }.dossier__paper::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .12; background: repeating-linear-gradient(0deg, transparent 0 4px, #6e6249 5px); }.dossier__paper-head { display: flex; justify-content: space-between; color: #625942; font-size: 8px; letter-spacing: .1em; }.document-stamp { padding: 5px 8px; border: 2px solid #9b4035; color: #9b4035; font-weight: 700; transform: rotate(6deg); }.dossier__paper .eyebrow { margin-top: 35px; color: #6b614a; }.dossier__paper h2 { margin: 12px 0; font: 600 clamp(35px,7vw,60px)/1 var(--display); text-transform: uppercase; }.dossier__summary { max-width: 540px; color: #4e4738; font-size: 11px; line-height: 1.9; }.dossier__rule { height: 1px; margin: 25px 0; background: #8d8062; }.dossier__details { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; }.dossier__details span, .dossier__details strong { display: block; }.dossier__details span { margin-bottom: 7px; color: #71664e; font-size: 7px; }.dossier__details strong { font-size: 9px; }.dossier__placeholder { display: grid; place-content: center; gap: 8px; min-height: 150px; margin-top: 28px; border: 1px dashed #8e8265; color: #74694f; text-align: center; font-size: 9px; }.dossier__placeholder small { font-size: 7px; }.dossier__end { margin: 25px 0 0; color: #756a52; font-size: 8px; }.dossier__bottom { border-top: 1px solid #444b46; }
.toast { position: fixed; z-index: 70; left: 50%; bottom: 25px; padding: 12px 18px; border: 1px solid #8b4238; background: #171b1b; color: #e3d8c4; font-size: 9px; letter-spacing: .08em; opacity: 0; pointer-events: none; transform: translate(-50%,12px); transition: .25s; }.toast.is-visible { opacity: 1; transform: translate(-50%,0); }
@keyframes fluorescent { 0%,3%,5%,38%,40%,100% { opacity: .8; } 4%,39% { opacity: .15; } 70% { opacity: .55; } 72% { opacity: .9; } }
@keyframes light-breathe { 0%,100% { opacity: .09; } 50% { opacity: .2; } }
@keyframes status-pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes grain { 0% { transform: translate(0,0); } 25% { transform: translate(2%,-1%); } 50% { transform: translate(-1%,2%); } 75% { transform: translate(1%,1%); } }
@keyframes panel-in { from { opacity: 0; transform: translateX(15px); } to { opacity: 1; transform: translateX(0); } }
@keyframes dossier-in { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 850px) {
    .hero { min-height: 700px; padding-left: 8vw; }.hero__warning { right: 5%; bottom: 15%; }
    .archive-section { padding: 80px 5vw 60px; }.archive-room { min-height: 650px; flex-direction: column; gap: 28px; padding: 70px 5% 65px; }
    .cabinet-wrap { width: min(510px, 92%); }.drawer-contents { width: min(440px, 92%); }.crate--one { left: 1%; }.crate--two { right: 1%; }
    .footer-main { grid-template-columns: 1.5fr 1fr; }.footer-stamp { justify-self: start; }
}
@media (max-width: 560px) {
    .site-header { height: 65px; padding: 0 5vw; }.wordmark { font-size: 25px; }.wordmark__image { width: 96px; max-height: 36px; }.hero__logo { width: min(78vw, 350px); max-height: 130px; }.header-status { display: none; }.sound-toggle { font-size: 8px; }
    .hero { min-height: 690px; height: 92svh; padding: 115px 7vw 90px; }.hero h1 { font-size: clamp(88px, 25vw, 135px); }.hero__title-row { gap: 12px; }.unofficial-stamp { font-size: 8px; }.hero__subtitle { font-size: 25px; }.hero__warning { right: 6%; bottom: 12%; font-size: 7px; }.hero__coordinates { right: 6vw; bottom: 55px; font-size: 7px; }
    .section-heading { align-items: start; }.section-heading__meta { font-size: 7px; }.section-heading h2 { font-size: 53px; }.archive-intro { display: block; line-height: 1.8; }.archive-instruction { margin-top: 18px; }
    .archive-room { min-height: 620px; padding: 65px 3% 60px; }.cabinet-wrap { width: 100%; }.cabinet-face { padding: 13px 7px 10px; }.drawer { grid-template-columns: 22px 1fr 32px; min-height: 75px; padding: 10px 8px; gap: 5px; }.drawer-state { display: none; }.drawer-label { font-size: 8px; }.drawer-handle { width: 25px; }.drawer-contents { width: 100%; padding: 14px; }.crate { opacity: .35; }.wall-sign { top: 15px; right: 4%; }
    .archive-caption { flex-direction: column; gap: 6px; font-size: 7px; }.about-strip { padding: 28px 7vw; gap: 13px; }.about-strip__text { font-size: 16px; }.about-strip__code { display: none; }
    .site-footer { padding: 40px 7vw 20px; }.footer-main { grid-template-columns: 1fr 1fr; gap: 28px 18px; }.footer-bottom { gap: 15px; font-size: 7px; line-height: 1.7; }.dossier-backdrop { padding: 10px; }.dossier__paper { margin: 12px; padding: 22px 17px; }.dossier__details { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* GILLA visual refinement: quieter texture, live fluorescent reveal and image-led cabinet */
.film-grain { opacity: .018; animation-duration: .4s; }
.ambient { opacity: .08; }
.ambient--red { opacity: .07; }
body::before { opacity: .055; }
.hero::after { background: linear-gradient(90deg, rgba(8,12,12,.34), rgba(8,12,12,.06) 72%), linear-gradient(0deg, rgba(17,20,22,.32), transparent 34%, transparent 82%, rgba(0,0,0,.12)); }
.hero__backdrop { background: url("../images/backgrounds/Early-Base.webp") center 48% / cover no-repeat, linear-gradient(180deg, #303938, #151b1c 70%); }
.hero__backdrop::before { content: ""; position: absolute; inset: -12%; pointer-events: none; background: radial-gradient(ellipse at 68% 34%, rgba(225,232,202,.34), rgba(177,190,157,.13) 22%, transparent 55%); mix-blend-mode: screen; animation: light-reveal 8.5s infinite; }
.hero__backdrop::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: rgba(5,8,8,.42); animation: blackout-flicker 8.5s infinite; }
.hero__structure { opacity: .18; }
.hero__beam { top: -8%; width: 145px; height: 78%; background: linear-gradient(180deg, rgba(231,237,207,.38), rgba(205,213,183,.13) 60%, transparent); filter: blur(34px); mix-blend-mode: screen; animation-duration: 8.5s; }
.hero__warning { opacity: .5; }
.unofficial-stamp { flex: 0 0 auto; margin-top: 32px; padding: 12px 13px; min-width: 88px; border: 3px solid #a64236; background: rgba(93,25,21,.34); color: #d16a59; font-size: 13px; line-height: 1.02; font-weight: 700; letter-spacing: .11em; text-align: center; text-shadow: 0 1px 8px rgba(0,0,0,.55); box-shadow: 0 0 0 4px rgba(166,66,54,.08), inset 0 0 15px rgba(166,66,54,.12); transform: rotate(6deg); opacity: .96; }
.archive-room { min-height: 620px; gap: 3%; padding: 60px 5%; box-shadow: inset 0 0 75px rgba(0,0,0,.48); }
.archive-room::before { opacity: .10; }
.archive-room::after { content: none; }
.cabinet-wrap { position: relative; z-index: 2; flex: 0 1 auto; width: min(540px, 62%); aspect-ratio: 1 / 1; filter: drop-shadow(18px 24px 18px rgba(0,0,0,.55)); isolation: isolate; }
.cabinet-art { display: block; width: 100%; height: 100%; object-fit: contain; user-select: none; pointer-events: none; }
.drawer-list { position: absolute; inset: 0; }
.drawer { position: absolute; left: 30.5%; width: 36%; border: 1px solid transparent; padding: 0; background: transparent; color: transparent; cursor: pointer; transform-origin: left center; transition: background .2s, border-color .2s, transform .28s, box-shadow .2s; }
.drawer[data-drawer="general"] { top: 11%; height: 25.2%; }
.drawer[data-drawer="development"] { top: 36.4%; height: 25.1%; }
.drawer[data-drawer="restricted"] { top: 62%; height: 24%; }
.drawer:hover, .drawer:focus-visible { background: rgba(170,54,42,.10); border-color: rgba(210,133,101,.75); box-shadow: inset 0 0 0 2px rgba(210,133,101,.18), 0 0 20px rgba(180,67,49,.16); outline: none; }
.drawer.is-open { transform: translateX(13px) scaleX(1.025); background: rgba(177,70,49,.14); border-color: rgba(220,161,119,.9); box-shadow: inset 0 0 0 2px rgba(220,161,119,.22), 0 0 24px rgba(180,67,49,.2); }
.drawer::after { content: attr(data-label); position: absolute; left: 7%; bottom: 8%; padding: 5px 7px; background: rgba(17,20,22,.84); color: #e5d8bf; font: 600 7px var(--mono); letter-spacing: .08em; opacity: 0; pointer-events: none; transition: opacity .2s; }
.drawer:hover::after, .drawer:focus-visible::after, .drawer.is-open::after { opacity: 1; }
.drawer-state { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@keyframes light-reveal { 0%,2%,5%,35%,38%,100% { opacity: .85; } 3%,36% { opacity: .12; } 62% { opacity: .42; } 64% { opacity: 1; } 78% { opacity: .72; } }
@keyframes blackout-flicker { 0%,2%,5%,35%,38%,100% { opacity: .28; } 3%,36% { opacity: .68; } 62% { opacity: .52; } 64% { opacity: .18; } 78% { opacity: .34; } }
@media (max-width: 850px) {
  .unofficial-stamp { margin-top: 20px; }
  .cabinet-wrap { width: min(500px, 86vw); }
}
@media (max-width: 560px) {
  .hero__title-row { align-items: center; }
  .unofficial-stamp { margin-top: 12px; min-width: 70px; padding: 9px 8px; border-width: 2px; font-size: 10px; }
  .cabinet-wrap { width: min(100%, 430px); }
  .drawer::after { font-size: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__backdrop::before, .hero__backdrop::after, .hero__beam, .film-grain { animation: none !important; }
}


/* Keep the artwork hit areas independent of the retired CSS drawer controls. */
.drawer { display: block; min-height: 0; grid-template: none; gap: 0; }
.drawer-state { display: block; }
.hero__coordinates, .scroll-cue { opacity: .52; }
.hero__footnote { opacity: .68; }
.wall-sign { opacity: .34; }
.crate { opacity: .55; }


/* =========================================================
   ARCHIVE ROOM — lighting, atmosphere and drawer interaction
   ========================================================= */
.archive-room {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 650px;
    margin-top: 30px;
    padding: 64px 5%;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(210,207,187,.12);
    background:
        radial-gradient(ellipse 35% 62% at 50% 32%, rgba(116,132,111,.17), transparent 76%),
        linear-gradient(180deg, #151c1a 0%, #0c1110 100%);
    box-shadow: inset 0 0 150px rgba(0,0,0,.9), 0 18px 55px rgba(0,0,0,.24);
}

/* Heavy falloff keeps the lit cabinet as the clear focal point. */
.archive-room::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 43% 76% at 50% 43%, transparent 0 30%, rgba(0,0,0,.22) 72%, rgba(0,0,0,.72) 100%),
        linear-gradient(180deg, rgba(0,0,0,.08), transparent 30%, rgba(0,0,0,.38));
}
.archive-room::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 28% 18% at 50% 88%, rgba(190,204,174,.13), transparent 75%);
    mix-blend-mode: screen;
}
.archive-light-beam {
    position: absolute;
    z-index: 0;
    top: -16%;
    left: 50%;
    width: min(68%, 650px);
    height: 124%;
    transform: translateX(-50%);
    clip-path: polygon(43% 0, 57% 0, 100% 100%, 0 100%);
    background: linear-gradient(180deg, rgba(224,232,205,.3), rgba(204,218,189,.13) 36%, rgba(188,205,176,.055) 74%, transparent);
    filter: blur(17px);
    opacity: .85;
    pointer-events: none;
    mix-blend-mode: screen;
    animation: archive-light-breathe 9s ease-in-out infinite;
}
.archive-light-pool {
    position: absolute;
    z-index: 0;
    left: 50%;
    bottom: -16%;
    width: min(68%, 680px);
    height: 48%;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(194,208,176,.2), rgba(151,170,146,.07) 42%, transparent 72%);
    filter: blur(25px);
    pointer-events: none;
}
.archive-dust {
    position: absolute;
    z-index: 2;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(ellipse 48% 82% at 50% 48%, #000 18%, transparent 100%);
    mask-image: radial-gradient(ellipse 48% 82% at 50% 48%, #000 18%, transparent 100%);
}
.dust-mote {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    background: rgba(236,237,210,.88);
    box-shadow: 0 0 5px rgba(231,238,211,.65);
    opacity: 0;
    animation: dust-float var(--duration) ease-in-out var(--delay) infinite;
}
@keyframes dust-float {
    0% { opacity: 0; transform: translate3d(0, 18px, 0) scale(.65); }
    18% { opacity: .55; }
    52% { opacity: .78; transform: translate3d(var(--drift), calc(var(--rise) * -1), 0) scale(1); }
    86% { opacity: .42; }
    100% { opacity: 0; transform: translate3d(calc(var(--drift) * -0.45), calc(var(--rise) * -1.8), 0) scale(.7); }
}
@keyframes archive-light-breathe {
    0%, 100% { opacity: .66; }
    48% { opacity: .98; }
    52% { opacity: .82; }
}

/* Cabinet art is square; these hit areas are mapped to the three visible metal faces. */
.cabinet-wrap {
    position: relative;
    z-index: 3;
    flex: 0 0 auto;
    width: min(430px, 48%);
    aspect-ratio: 1 / 1;
    isolation: isolate;
    filter: drop-shadow(14px 24px 28px rgba(0,0,0,.78));
    transform: translateX(0);
    transition: transform 1.05s cubic-bezier(.2,.78,.18,1);
    will-change: transform;
}
.cabinet-art {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    user-select: none;
    pointer-events: none;
}
.drawer-list { position: absolute; inset: 0; }
.drawer {
    position: absolute;
    display: block;
    left: 30.3%;
    width: 36.2%;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 1px;
    background: transparent;
    color: transparent;
    cursor: pointer;
    transform: none;
    box-shadow: none;
    transition: background .35s ease, box-shadow .35s ease;
}
.drawer[data-drawer="general"] { top: 17.2%; height: 17.4%; }
.drawer[data-drawer="development"] { top: 36%; height: 24.8%; }
.drawer[data-drawer="restricted"] { top: 62.1%; height: 24%; }
.drawer:hover, .drawer:focus-visible {
    outline: none;
    border-color: rgba(222,220,190,.28);
    background: rgba(222,220,190,.035);
    box-shadow: inset 0 0 18px rgba(224,228,203,.08);
}
.drawer.is-open {
    border-color: rgba(222,220,190,.16);
    background: rgba(222,220,190,.025);
    box-shadow: inset 0 0 20px rgba(224,228,203,.06);
}
.drawer::after { content: none; }
.drawer-state {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* The folder tray starts behind the cabinet and is physically drawn out to its side. */
.drawer-contents {
    position: absolute;
    z-index: 4;
    left: calc(50% - 70px);
    top: 50%;
    width: min(350px, 35%);
    max-height: 78%;
    overflow: auto;
    padding: 18px;
    border: 1px solid #81765e;
    background: linear-gradient(145deg, #b8a982, #887c60);
    color: #28271f;
    box-shadow: 12px 18px 36px rgba(0,0,0,.72);
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    transform: translate(-82px, -50%) perspective(900px) rotateY(-7deg);
    transform-origin: left center;
    transition:
        opacity .72s ease,
        clip-path 1.05s cubic-bezier(.18,.78,.2,1),
        transform 1.05s cubic-bezier(.18,.78,.2,1);
    pointer-events: none;
}
.drawer-contents.is-open {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translate(0, -50%) perspective(900px) rotateY(0);
    pointer-events: auto;
}
.drawer-contents.is-closing {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    transform: translate(-70px, -50%) perspective(900px) rotateY(-7deg);
    pointer-events: none;
}
.drawer-contents__heading { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid rgba(40,39,31,.3); font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.drawer-contents__heading button { border: 0; background: none; color: #383328; font-size: 22px; cursor: pointer; }
.drawer-contents__hint { font-size: 8px; line-height: 1.6; color: #514a39; }
.folder-list { display: grid; gap: 9px; perspective: 1000px; }
.folder-card {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    min-height: 62px;
    padding: 10px 12px;
    border: 1px solid #8b7e5f;
    border-left: 5px solid #6b715f;
    background: linear-gradient(110deg,#d0c19a,#b6a77f);
    color: #363126;
    text-align: left;
    cursor: pointer;
    box-shadow: 2px 4px 7px rgba(43,35,23,.28);
    opacity: 0;
    transform: translate3d(-54px, 0, -30px) rotateY(-12deg);
    transition: filter .25s ease, box-shadow .25s ease;
}
.drawer-contents.is-open .folder-card {
    animation: folder-pull-out .9s cubic-bezier(.16,.78,.18,1) forwards;
    animation-delay: calc(.28s + var(--folder-index, 0) * .17s);
}
.folder-card:hover { filter: brightness(1.08); box-shadow: 4px 7px 12px rgba(43,35,23,.34); }
.folder-card__body { display: block; }
.folder-card strong { display: block; font-size: 9px; letter-spacing: .04em; }
.folder-card small { display: block; margin-top: 5px; color: #615640; font-size: 7px; }
.folder-card__tab { position: absolute; top: -6px; left: 10px; width: 55px; height: 6px; background: #b6a77f; border: 1px solid #8b7e5f; border-bottom: 0; }
.folder-card__arrow { margin-left: 12px; }
@keyframes folder-pull-out {
    0% { opacity: 0; transform: translate3d(-54px, 0, -30px) rotateY(-12deg); }
    68% { opacity: 1; transform: translate3d(5px, 0, 0) rotateY(2deg); }
    100% { opacity: 1; transform: translate3d(0, 0, 0) rotateY(0); }
}
.archive-room.has-open-drawer .cabinet-wrap { transform: translateX(-178px); }
.archive-caption { display: flex; justify-content: space-between; gap: 20px; margin: 15px auto 0; color: #737d77; font-size: 8px; letter-spacing: .1em; }
.room-light, .room-pipe, .crate, .wall-sign, .room-floor { display: none !important; }

@media (max-width: 850px) {
    .archive-room { min-height: 880px; flex-direction: column; justify-content: flex-start; gap: 0; padding: 35px 4% 42px; }
    .cabinet-wrap { width: min(430px, 78vw); }
    .archive-room.has-open-drawer .cabinet-wrap { transform: translateY(-105px) scale(.88); }
    .drawer-contents {
        left: 50%;
        top: auto;
        bottom: 30px;
        width: min(440px, 91%);
        max-height: 43%;
        transform: translate(-50%, 65px);
        clip-path: inset(0 0 100% 0);
        transition: opacity .65s ease, clip-path .95s cubic-bezier(.18,.78,.2,1), transform .95s cubic-bezier(.18,.78,.2,1);
    }
    .drawer-contents.is-open { transform: translate(-50%, 0); clip-path: inset(0 0 0 0); }
    .drawer-contents.is-closing { transform: translate(-50%, 55px); clip-path: inset(0 0 100% 0); }
    .archive-room.has-open-drawer .cabinet-wrap { transform: translateY(-105px) scale(.88); }
}
@media (max-width: 560px) {
    .archive-room { min-height: 820px; padding: 25px 3% 32px; }
    .cabinet-wrap { width: min(430px, 94vw); }
    .archive-room.has-open-drawer .cabinet-wrap { transform: translateY(-92px) scale(.82); }
    .drawer-contents { bottom: 18px; width: 94%; max-height: 46%; padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .archive-room::before, .archive-light-beam, .dust-mote, .cabinet-wrap, .drawer-contents, .folder-card {
        animation: none !important;
        transition: none !important;
    }
    .drawer-contents, .drawer-contents.is-open, .folder-card { opacity: 1; transform: none; clip-path: none; }
    .archive-room.has-open-drawer .cabinet-wrap { transform: none; }
}


/* =========================================================
   ARCHIVE ROOM — keep the cabinet centred; deploy contents
   beside it, never underneath or by moving the cabinet.
   ========================================================= */
.archive-room {
    display: grid;
    place-items: center;
}
.cabinet-wrap {
    grid-area: 1 / 1;
    justify-self: center;
    align-self: center;
    transform: none !important;
    transition: filter .8s ease;
}
.archive-room.has-open-drawer .cabinet-wrap {
    transform: none !important;
    filter: drop-shadow(14px 24px 32px rgba(0,0,0,.82)) brightness(1.035);
}
.drawer-contents {
    left: calc(50% + clamp(92px, 14vw, 150px));
    right: 3%;
    top: 50%;
    bottom: auto;
    width: auto;
    max-width: 350px;
    max-height: 76%;
    transform: translate(28px, -50%) perspective(900px) rotateY(-7deg);
    clip-path: inset(0 0 0 100%);
    transform-origin: left center;
    transition:
        opacity .8s ease,
        clip-path 1.2s cubic-bezier(.18,.78,.2,1),
        transform 1.2s cubic-bezier(.18,.78,.2,1);
}
.drawer-contents.is-open {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translate(0, -50%) perspective(900px) rotateY(0);
    pointer-events: auto;
}
.drawer-contents.is-closing {
    opacity: 0;
    clip-path: inset(0 0 0 100%);
    transform: translate(28px, -50%) perspective(900px) rotateY(-7deg);
}
.archive-room.has-open-drawer .drawer-contents { opacity: 1; }

/* Dust is concentrated in the visible light cone, with enough density
   and luminance to read clearly without looking like static noise. */
.archive-dust {
    z-index: 2;
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.95), rgba(0,0,0,.78) 72%, transparent);
    mask-image: linear-gradient(180deg, rgba(0,0,0,.95), rgba(0,0,0,.78) 72%, transparent);
}
.dust-mote {
    background: rgba(246,246,218,.96);
    box-shadow: 0 0 4px 1px rgba(235,241,210,.72), 0 0 10px rgba(220,235,199,.34);
    will-change: transform, opacity;
}
@keyframes dust-float {
    0% { opacity: .12; transform: translate3d(0, 18px, 0) scale(.7); }
    20% { opacity: .72; }
    48% { opacity: .9; transform: translate3d(var(--drift), calc(var(--rise) * -.55), 0) scale(1.08); }
    76% { opacity: .56; }
    100% { opacity: .12; transform: translate3d(calc(var(--drift) * -.5), calc(var(--rise) * -1.25), 0) scale(.75); }
}
.archive-light-beam {
    width: min(72%, 720px);
    filter: blur(11px);
    opacity: .96;
    background: linear-gradient(180deg, rgba(232,239,213,.38), rgba(211,225,196,.18) 38%, rgba(198,218,183,.09) 76%, transparent);
}
.archive-light-pool {
    width: min(74%, 740px);
    background: radial-gradient(ellipse, rgba(207,221,190,.23), rgba(164,186,157,.10) 45%, transparent 74%);
}
@media (max-width: 850px) {
    .archive-room {
        min-height: 650px;
        display: grid;
        flex-direction: initial;
        justify-content: initial;
        align-items: initial;
        padding: 35px 3%;
    }
    .cabinet-wrap {
        width: min(430px, 64vw);
        grid-area: 1 / 1;
        transform: none !important;
    }
    .archive-room.has-open-drawer .cabinet-wrap {
        transform: none !important;
    }
    .drawer-contents {
        left: 61%;
        right: 3%;
        top: 50%;
        bottom: auto;
        width: auto;
        max-width: none;
        max-height: 76%;
        padding: 13px;
        transform: translate(20px, -50%);
        clip-path: inset(0 0 0 100%);
        transition: opacity .75s ease, clip-path 1.1s cubic-bezier(.18,.78,.2,1), transform 1.1s cubic-bezier(.18,.78,.2,1);
    }
    .drawer-contents.is-open { transform: translate(0, -50%); clip-path: inset(0 0 0 0); }
    .drawer-contents.is-closing { transform: translate(20px, -50%); clip-path: inset(0 0 0 100%); }
}
@media (max-width: 560px) {
    .archive-room { min-height: 590px; padding: 22px 2%; }
    .cabinet-wrap { width: min(300px, 58vw); }
    .drawer-contents {
        left: 57%;
        right: 2%;
        max-height: 78%;
        padding: 10px;
    }
    .drawer-contents__heading { font-size: 8px; }
    .drawer-contents__hint { font-size: 7px; }
    .folder-card { min-height: 54px; padding: 8px; }
    .folder-card strong { font-size: 8px; }
    .folder-card small { font-size: 6px; }
}
