:root{--serif:'Space Grotesk',sans-serif;--sans:'Manrope',sans-serif;--modern-display:'Space Grotesk',sans-serif;--modern-body:'Manrope',sans-serif;--modern-ink:#111214;--modern-muted:#686b70;--modern-line:#e5e6e8;--modern-white:#fbfbfa;--modern-accent:#91a8c1}
html{background:var(--modern-white);scroll-behavior:smooth}
body{background:var(--modern-white);color:var(--modern-ink);font-family:var(--modern-body)}
button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #111214;outline-offset:4px}
.topbar{position:fixed;top:0;left:0;right:0;height:66px;padding:0 4.2%;margin:0;background:#fbfbfaeF;border-bottom:1px solid #e8e8e7;backdrop-filter:blur(14px);z-index:12;justify-content:flex-start;gap:18px}
.brand{color:#111214;font:600 10px var(--modern-body);letter-spacing:2.5px;text-shadow:none;gap:9px}.brand svg{width:25px;stroke:#111214}.topbar nav{display:flex;gap:8px;margin:0 0 0 12px}.topbar nav button{width:34px;height:34px;border:1px solid transparent;border-radius:50%;color:#45474b;transition:background .2s,border-color .2s}.topbar nav button:hover{background:#f1f1ef;border-color:#e4e4e1;color:#111214}.topbar nav #about-button{font:italic 17px Georgia,serif}.header-actions{margin-left:auto;gap:16px;color:#3c3e42}.sound-button{font-size:10px}.sound-bars i{background:#35373a}.share-button{border:1px solid #d7d8d8;border-radius:2px;padding:9px 13px;font-size:9px;letter-spacing:.7px}.share-button:hover{background:#f0f0ee;color:#111214}
.library{height:calc(100svh - 66px);min-height:760px;max-height:1100px;margin-top:66px;background:var(--modern-white);overflow:hidden;isolation:isolate}.library:after{display:none}.modern-intro{position:absolute;left:6.2%;top:8%;width:41%;z-index:8;pointer-events:none}.modern-intro>*{pointer-events:auto}.modern-kicker{font:600 9px/1.4 var(--modern-body);letter-spacing:2.6px;color:#777a7e;margin:0 0 18px}.modern-intro h1{font:700 clamp(43px,5.1vw,78px)/.91 var(--modern-body);letter-spacing:-.075em;color:#111214;margin:0 0 15px;text-wrap:balance}.modern-intro h1 em{font-style:normal;color:#111214}.modern-deck{font:400 13px/1.65 var(--modern-body);color:#64676c;max-width:380px;margin:0}.modern-actions{display:flex;align-items:center;gap:23px;margin-top:22px}.modern-primary,.modern-secondary{font:600 10px var(--modern-body);letter-spacing:.15px;color:#111214;border:0;border-radius:0;padding:0 0 8px;background:transparent;border-bottom:1px solid #18191b}.modern-primary span{margin-left:24px;font-size:14px}.modern-secondary{font-weight:400;color:#686b70;border-bottom-color:#c6c8ca}.modern-primary:hover,.modern-secondary:hover{color:#8d7144}.library-highlights{position:absolute;z-index:8;top:34%;left:6.2%;right:54%;margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 21px;color:#111214;text-align:left}.library-highlights li{min-width:0;border-left:1px solid var(--modern-line);padding-left:12px}.library-highlights li+li{border-left:1px solid var(--modern-line)}.library-highlights button{padding:0;width:100%;text-align:left;color:inherit}.library-highlights strong{display:block;font:600 27px/1 var(--modern-body);letter-spacing:-1.3px;text-shadow:none}.library-highlights span{display:block;font:9px/1.45 var(--modern-body);letter-spacing:.15px;margin-top:7px;color:#777a7e;opacity:1}.library-highlights button:hover{color:#9b7b49}.room-wrap{position:absolute;inset:0;width:100%;height:100%;mask-image:none;overflow:visible;z-index:2;perspective:1600px}.room{inset:0;transform:none!important;transform-origin:center;animation:none;transition:none;will-change:auto}.wall{inset:0;background:linear-gradient(135deg,#fff 0%,#fbfbfa 65%,#f3f3f1 100%);box-shadow:none}.wall:after{display:none}.wall-panel,.arched-window,.window-light,.wall-picture,.plant,.lamp,.desk,.reading-chair,.floor,.rug,.dust,.deco-row,.case-crown,.case-side,.backboard,.shelf,.cabinet{display:none!important}.bookcase{position:absolute;left:53%;top:14%;width:42%;height:69%;filter:none;border:1px solid #e6e6e4;background:linear-gradient(145deg,#fff,#f7f7f6);box-shadow:0 34px 80px #1111110b;border-radius:1px}.bookcase:before,.bookcase:after{content:"";position:absolute;pointer-events:none;background:#ececea}.bookcase:before{left:0;right:0;top:0;height:1px}.bookcase:after{top:12%;bottom:12%;left:6%;width:1px;box-shadow:calc(min(42vw,580px) - 70px) 0 0 #ececea}
.collection-label{position:absolute;z-index:2;left:8%;right:8%;top:6%;display:flex;justify-content:space-between;align-items:center;padding-bottom:12px;border-bottom:1px solid #e5e5e4;color:#111214;font:600 8px var(--modern-body);letter-spacing:1.7px}.collection-label span{font:400 8px var(--modern-body);letter-spacing:1px;color:#888b8f}.featured-books{position:absolute;left:50%;right:auto;top:17%;width:100%;height:76%;display:block;perspective:1400px;transform-style:preserve-3d;transform:translateX(-50%) rotateY(var(--carousel-rotation,0deg));transition:transform 1.4s cubic-bezier(.2,.8,.15,1);z-index:5}.book{position:absolute;left:50%;top:48%;width:clamp(145px,15vw,208px);height:clamp(225px,29vw,302px);padding:0;border-radius:1px 3px 3px 1px;transform-origin:center;transform:translate(-50%,-50%) rotateY(calc(var(--book-index)*60deg)) translateZ(clamp(195px,25vw,330px));transition:filter .5s,box-shadow .5s,opacity .5s;filter:drop-shadow(0 19px 18px #10111426);box-shadow:inset 6px 0 8px #ffffff20,inset -4px 0 8px #0003,9px 15px 30px #10111425;background:linear-gradient(145deg,#292a2d,#131417 66%,#34363a);color:#ece8df;backface-visibility:hidden}.book:nth-child(2n){background:linear-gradient(145deg,#f8f8f6,#e7e7e3 65%,#fdfdfb);color:#141518;box-shadow:inset 7px 0 9px #ffffff70,inset -4px 0 7px #00000018,9px 15px 30px #10111420}.book:before{inset:10px 8px;border:1px solid #ffffff35}.book:nth-child(2n):before{border-color:#10111424}.book:after{top:15px;bottom:14px;left:8px;right:8px;border-color:#ffffff15}.book:nth-child(2n):after{border-color:#11121417}.book:hover,.book:focus-visible,.book.tour-active{filter:brightness(1.08) drop-shadow(0 24px 24px #10111430);box-shadow:0 22px 35px #10111424,inset 6px 0 8px #ffffff25}.book .cover-title{font:600 clamp(13px,1.35vw,19px)/1.1 var(--modern-body);letter-spacing:-.04em;color:inherit;white-space:pre-line;top:56%;left:11px;right:11px}.book .cover-icon{width:32px;height:32px;top:28%;color:inherit;stroke:currentColor}.book-number{top:20px;font:500 8px var(--modern-body);letter-spacing:1.6px;color:inherit}.book .cover-bottom{bottom:16px;font:600 5px var(--modern-body);letter-spacing:1.5px;color:inherit}.book-tooltip{display:none}.carousel-controls{position:absolute;z-index:9;left:50%;bottom:5%;transform:translateX(-50%);display:flex;align-items:center;gap:20px;color:#76797d}.carousel-controls button{width:40px;height:40px;border:1px solid #dedfdf;border-radius:50%;background:#ffffffcc;color:#151619;font:16px var(--modern-body);transition:background .2s,color .2s,transform .2s}.carousel-controls button:hover{background:#111214;color:#fff;transform:scale(1.05)}.carousel-controls span{font:600 8px var(--modern-body);letter-spacing:1.5px;min-width:40px;text-align:center}.scene-caption{position:absolute;bottom:24px;left:6.2%;font:600 8px var(--modern-body);letter-spacing:2px;color:#a3a5a8;text-transform:uppercase}.motion-button{position:absolute;right:5%;bottom:22px;z-index:8;border:1px solid #dedfdf;border-radius:100px;padding:8px 12px;background:#fff;color:#66696d;font:9px var(--modern-body)}.motion-button:hover{color:#111214;border-color:#111214}.room:focus-within .featured-books{transition-duration:.9s}.tour-panel{left:6%;right:6%;bottom:22px;background:#ffffffef;border:1px solid #dedfdf;border-radius:1px;color:#111214;box-shadow:0 18px 60px #10111412}.tour-panel h2{font:600 24px var(--modern-body);letter-spacing:-.04em}.tour-panel p{color:#6e7073}
footer{border-top:1px solid #ececea;background:#fbfbfa;color:#797c80;padding:21px 5%;font:9px var(--modern-body)}footer button{font:9px var(--modern-body);color:#66696d}footer button:hover{color:#111214}.footer-center span{color:#ad956b}.index-dialog,.about-dialog,.book-dialog{background:#fcfcfb;border:1px solid #e6e6e4;border-radius:2px;box-shadow:0 32px 100px #0003;color:#111214}.index-dialog h2,.about-dialog h2,.book-dialog h2{font:600 clamp(30px,5vw,54px)/1 var(--modern-body);letter-spacing:-.055em;color:#111214}.index-dialog .eyebrow,.about-dialog .eyebrow,.book-dialog .eyebrow{font:600 8px var(--modern-body);letter-spacing:2px;color:#73767a}.catalogue-item{border-color:#e7e7e5}.catalogue-item:hover{background:#f4f4f2}.dialog-close{color:#3c3e42;border-color:#e2e2df}.book-dialog-copy{color:#27292c}.book-dialog p,.about-dialog p{color:#66696d}.book-navigation{border-top:1px solid #e6e6e4}.book-navigation button{font:10px var(--modern-body);color:#17181a}.book-navigation button:hover{color:#9b7b49}
@media(max-width:900px){.modern-intro{top:7%;width:44%}.modern-intro h1{font-size:clamp(39px,5.9vw,64px)}.library-highlights{right:55%;gap:13px 10px}.library-highlights strong{font-size:23px}.bookcase{left:52%;width:45%;top:20%;height:64%}.book{width:clamp(132px,16vw,180px);height:clamp(205px,25vw,260px)}.featured-books{top:18%;height:74%}.carousel-controls{bottom:6%}}
@media(max-width:680px){.topbar{height:58px;padding:0 18px;gap:8px}.brand{font-size:9px;letter-spacing:1.8px}.brand svg{width:22px}.topbar nav{gap:3px;margin-left:3px}.topbar nav button{width:30px;height:30px}.header-actions{gap:10px}.share-button{padding:8px 9px;font-size:8px}.sound-button{font-size:0}.sound-bars{height:14px}.library{margin-top:58px;min-height:890px;height:calc(100svh - 58px);max-height:none;overflow:visible}.modern-intro{top:8%;left:22px;right:22px;width:auto}.modern-kicker{font-size:8px;letter-spacing:2px;margin-bottom:13px}.modern-intro h1{font-size:clamp(39px,10.8vw,58px);letter-spacing:-.07em;margin-bottom:11px}.modern-deck{font-size:12px;max-width:320px}.modern-actions{margin-top:15px;gap:18px}.modern-primary,.modern-secondary{font-size:9px;padding-bottom:7px}.modern-primary span{margin-left:11px}.library-highlights{top:29%;left:22px;right:22px;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;text-align:left}.library-highlights li{padding-left:8px}.library-highlights strong{font-size:clamp(16px,5.2vw,22px);letter-spacing:-.8px}.library-highlights span{font-size:7px;line-height:1.3;margin-top:5px;max-width:none}.room-wrap{top:36%;height:59%;bottom:0;left:0;right:0;overflow:hidden}.bookcase{left:4%;top:5%;width:92%;height:85%;}.bookcase:after{display:none}.collection-label{top:5%;font-size:7px;padding-bottom:9px}.collection-label span{font-size:7px}.featured-books{top:17%;height:71%;width:100%;perspective:1000px}.book{width:clamp(130px,39vw,165px);height:clamp(198px,58vw,240px);transform:translate(-50%,-50%) rotateY(calc(var(--book-index)*60deg)) translateZ(clamp(160px,49vw,195px))}.book-number{top:14px;font-size:7px}.book .cover-icon{width:26px;height:26px}.book .cover-title{font-size:14px}.book .cover-bottom{font-size:4px;bottom:13px}.carousel-controls{bottom:4%;gap:14px}.carousel-controls button{width:39px;height:39px}.scene-caption{display:none}.motion-button{right:calc(50% - 47px);bottom:2%;font-size:8px;padding:7px 10px}.tour-panel{left:15px;right:15px;bottom:23px;padding:14px 15px}.tour-controls{gap:7px}.tour-controls button{font-size:9px;padding:8px}.about-dialog{width:calc(100vw - 30px);padding:32px 23px}.index-dialog{width:calc(100vw - 30px);padding:32px 23px}.book-dialog{width:calc(100vw - 16px);max-width:calc(100vw - 16px)}footer{padding:18px 22px;font-size:8px}footer .footer-center{display:none}}
@media(max-width:390px){.brand{font-size:8px;letter-spacing:1.3px}.topbar nav{margin-left:0}.header-actions{gap:5px}.modern-intro h1{font-size:38px}.modern-deck{font-size:11px}.library-highlights{top:30%;gap:5px}.library-highlights strong{font-size:16px}.library-highlights span{font-size:6px}.room-wrap{top:38%;height:57%}.carousel-controls{bottom:4%}.book{width:128px;height:192px;transform:translate(-50%,-50%) rotateY(calc(var(--book-index)*60deg)) translateZ(155px)}}
@media(prefers-reduced-motion:reduce){.featured-books.is-spinning{animation:none!important}.featured-books,.book,.modern-primary,.modern-secondary{transition:none!important}.html{scroll-behavior:auto}}

/* Cinematic, geometric type keeps the quiet white library feeling contemporary. */
.brand,.modern-intro h1,.library-highlights strong,.book .cover-title,.index-dialog h2,.about-dialog h2,.book-dialog h2,.tour-panel h2{font-family:var(--modern-display)}
.topbar nav #about-button{font:600 14px var(--modern-display)}
.modern-kicker:before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--modern-accent);box-shadow:0 0 12px #91a8c166;margin-right:8px;vertical-align:1px}
/* Quiet holographic cues: a near-invisible blueprint grid and cool light on the glass-like shelf. */
.library:before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;opacity:.45;background-image:linear-gradient(#8ab5df0c 1px,transparent 1px),linear-gradient(90deg,#8ab5df0c 1px,transparent 1px);background-size:72px 72px;mask-image:linear-gradient(90deg,transparent 0%,#000 38%,#000 100%)}
.modern-intro h1{font-weight:700;color:#101114;text-shadow:0 1px 0 #fff,0 0 34px #90b8df18}
.modern-intro{display:block}
.modern-intro #tour-button{position:static;left:auto;bottom:auto;z-index:auto}
.library-highlights{top:43%}
.library-highlights li,.library-highlights li+li{border-left-color:#dceaf7}
.library-highlights li:before{content:"";position:absolute;top:0;left:-1px;width:9px;height:1px;background:#83b6e7;box-shadow:0 0 10px #83b6e766}
.brand svg{filter:drop-shadow(0 0 4px #91b8df66)}
.bookcase{border-color:#dce8f3;background:linear-gradient(145deg,#ffffffed,#f7f9fbf2);box-shadow:0 34px 80px #1111110b,0 0 54px #88b8e51a,inset 0 0 30px #ffffff}
.bookcase:before{background:linear-gradient(90deg,transparent,#a6c9ec,#eaf3fc,#a6c9ec,transparent);box-shadow:0 0 12px #90c8ff44}
.bookcase:after{background:#dceaf7;box-shadow:calc(min(42vw,580px) - 70px) 0 0 #dceaf7}
.collection-label{border-bottom-color:#dceaf7}
.book:before{border-color:#b8d9f377;box-shadow:0 0 14px #8ec9ff22}
.book:nth-child(2n):before{border-color:#79a9d966}
.carousel-controls button{border-color:#d8e6f2;box-shadow:inset 0 0 14px #a9cbed17,0 0 14px #98c3ea12}
.carousel-controls button:hover{background:#111214;color:#fff;box-shadow:0 0 18px #75b9f344}

/* More breathing room on touch screens: the library becomes a real vertical page. */
@media(max-width:760px){
 html,body{height:auto;min-height:100%;overflow-x:hidden;overflow-y:auto}
 #main{min-height:100dvh}
 .library{display:flex;flex-direction:column;height:auto;min-height:0;max-height:none;overflow:visible;margin-top:58px;padding:0 0 22px}
 .modern-intro{position:relative;inset:auto;width:auto;margin:0;padding:34px 22px 0}
 .modern-kicker{margin-bottom:14px}
 .modern-intro h1{font-size:clamp(42px,10vw,61px);line-height:.96;letter-spacing:-.065em;margin-bottom:13px}
 .modern-deck{max-width:34rem;font-size:13px;line-height:1.65}
 .modern-actions{margin-top:17px;gap:22px}
 .library-highlights{position:relative;inset:auto;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px;margin:27px 22px 0;padding:0}
 .library-highlights li{min-width:0;padding-left:10px}
 .library-highlights strong{font-size:clamp(19px,5.2vw,25px)}
 .library-highlights span{font-size:8px;line-height:1.4;max-width:14rem}
 .room-wrap{position:relative;inset:auto;width:100%;height:clamp(485px,132vw,590px);min-height:485px;margin-top:21px;overflow:hidden;mask-image:none}
 .bookcase{left:4%;top:4%;width:92%;height:88%}
 .featured-books{top:17%;height:71%;width:100%}
 .carousel-controls{bottom:4%}
 .scene-caption{display:none}
 .cat{position:fixed;top:auto;bottom:12px;left:auto;right:12px;width:66px;height:56px;z-index:13}
 .cat svg{width:100%;height:100%}
}

@media(min-width:761px) and (max-width:900px){.library-highlights{top:43%}}

/* Cool volumetric light and fine HUD marks add depth while keeping the page quiet. */
.library:after{display:block;content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:radial-gradient(ellipse at 72% 56%,#8ec8ff14,transparent 43%),radial-gradient(ellipse at 93% 18%,#a9d7ff12,transparent 28%)}
.library:before{opacity:.62;background-size:58px 58px;mask-image:linear-gradient(90deg,transparent 0%,#000 22%,#000 100%)}
.modern-kicker{position:relative;letter-spacing:2.8px}
.modern-kicker:after{content:"SYS / 01";display:inline-block;margin-left:10px;padding:3px 6px;border:1px solid #9fc9ef66;color:#6689aa;font:600 7px/1 var(--modern-body);letter-spacing:1px;vertical-align:1px}
.bookcase{border-color:#c6dcf0;background:linear-gradient(145deg,#ffffffed,#f4f8fcf4);box-shadow:0 34px 80px #1111110b,0 0 58px #78baff2a,inset 0 0 35px #ffffff}
.bookcase:before{box-shadow:0 0 20px #79baff88,0 0 54px #86c6ff33}
.book:before{border-color:#9bcdf377;box-shadow:0 0 18px #8ec9ff35}
.book:hover,.book:focus-visible,.book.tour-active{filter:brightness(1.08) drop-shadow(0 0 18px #66baff45) drop-shadow(0 24px 24px #10111424)}
.collection-label{color:#6e8ba6;letter-spacing:2.2px}
.carousel-controls{padding:5px 10px;border:1px solid #d8eaff99;border-radius:999px;background:#f8fbffe0;box-shadow:0 0 24px #8cc7ff1c,0 8px 25px #1011140a;backdrop-filter:blur(10px)}
.modern-primary{position:relative}
.modern-primary:after{content:"";position:absolute;left:0;right:0;bottom:-2px;height:2px;background:linear-gradient(90deg,#74baff,transparent);opacity:.75}
@media(max-width:760px){
 .library:after{background:radial-gradient(ellipse at 55% 73%,#8ec8ff1b,transparent 39%),radial-gradient(ellipse at 90% 48%,#a9d7ff16,transparent 30%)}
 .library:before{mask-image:linear-gradient(180deg,#000,transparent 96%)}
 .room-wrap{isolation:isolate}
 .bookcase{box-shadow:0 24px 48px #11111112,0 0 46px #78baff32,inset 0 0 35px #ffffff}
 .carousel-controls{bottom:3%;gap:12px;padding:4px 8px}
 .carousel-controls button{width:42px;height:42px}
 .modern-kicker:after{margin-left:6px;font-size:6px}
}
@media(prefers-reduced-motion:reduce){.book:hover,.book:focus-visible,.book.tour-active{filter:none}}
@media(prefers-reduced-motion:reduce){.library:before{opacity:.22}}
