@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Lora:ital,wght@0,400;0,500;1,400&display=swap');
:root{color-scheme:light;--green:#173f35;--cream:#f7f5ed;--ink:#253a31;--gold:#ecd7a9;font-family:'DM Sans',Arial,sans-serif;color:var(--ink);background:var(--cream)}
*{box-sizing:border-box}html,body{width:100%;overscroll-behavior:none}body{margin:0}body.library-locked{position:fixed;inset:0;width:100%;height:100svh;height:100dvh;overflow:hidden}.library-locked .app-shell{height:100svh;height:100dvh;min-height:0;overflow:hidden}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}button:focus-visible,a:focus-visible{outline:3px solid #f1c77c;outline-offset:5px}button[hidden],[hidden]{display:none!important}.app-shell{height:100svh;min-height:660px;display:flex;flex-direction:column;padding:0 26px}.site-header{height:100px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:0 14px}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;color:var(--green)}.brand svg{width:42px;height:42px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.brand>span{font-family:'Lora',Georgia,serif;font-size:28px;line-height:1.1;letter-spacing:-1px}.brand i{font-weight:400}.brand small{display:block;font-family:'DM Sans',Arial,sans-serif;font-size:10px;letter-spacing:2.3px;margin-top:8px;font-weight:500}.header-right{font-size:14px}.location{color:#637369}.back-button{background:none;border:1px solid #b9c4b9;border-radius:30px;color:var(--green);padding:11px 18px;font-size:14px}.back-button:hover{background:#e8ece3}.back-button span{margin-right:8px}.library{flex:1;min-height:0;position:relative;isolation:isolate;overflow:hidden;border-radius:8px;background:#24352c;box-shadow:0 4px 14px #183b2710}.scene{position:absolute;inset:0;overflow:hidden}.scene-image{width:100%;height:100%;object-fit:cover;object-position:center 56%;display:block}.scene-shade{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#10201905 38%,#10201920 55%,#0d211bbb 100%)}.door-hotspot{position:absolute;left:29%;top:12%;width:42%;height:59%;border:0;background:transparent;border-radius:45% 45% 0 0;color:white;display:flex;align-items:center;justify-content:center;z-index:2}.door-hotspot:focus-visible{outline-offset:-6px;outline:2px solid var(--gold)}.door-hint{display:flex;gap:9px;align-items:center;background:#17392c99;backdrop-filter:blur(8px);padding:11px 16px;border:1px solid #ffffff60;border-radius:30px;opacity:0;transform:translateY(4px);transition:opacity .2s,transform .2s;font-size:14px}.door-hint svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.door-hotspot:hover .door-hint,.door-hotspot:focus-visible .door-hint{opacity:1;transform:none}.entrance-copy{position:absolute;bottom:48px;left:20px;right:20px;text-align:center;color:white;pointer-events:none}.eyebrow{font-size:12px;letter-spacing:2.5px;font-weight:500;color:#eddbb9}.entrance-copy h1{font-family:'Lora',Georgia,serif;font-weight:400;font-size:clamp(40px,5.5vw,68px);line-height:1.05;margin:12px 0 13px;letter-spacing:-2px}.entrance-copy p{font-size:16px;color:#f6f1e4;margin:0 0 22px;line-height:1.5}.enter-button{pointer-events:auto;background:var(--cream);border:1px solid var(--cream);color:var(--green);padding:15px 24px;border-radius:4px;min-width:204px;box-shadow:0 4px 24px #07130c30;transition:background .2s,transform .2s}.enter-button span{margin-left:20px;font-size:20px;line-height:16px}.enter-button:hover{background:#ebdfc8;transform:translateY(-2px)}.scene-caption{position:absolute;bottom:25px;left:28px;color:#ffffffc4;letter-spacing:1.7px;font-size:10px}.site-footer{height:56px;display:flex;align-items:center;justify-content:space-between;flex-shrink:0;padding:0 14px;color:#607166;font-size:12px}.footer-mark{color:#7f937e;font-size:18px}.interior .scene-image{object-position:center top}.interior-shade{position:absolute;inset:0;background:linear-gradient(0deg,#10231ad0 0%,transparent 27%);pointer-events:none}.welcome-bubble{position:absolute;top:5%;left:50%;transform:translateX(-50%);width:max-content;max-width:90%;padding:23px 35px 25px;background:#fffaf0;border:1px solid #e4d9bd;border-radius:17px;text-align:center;box-shadow:0 10px 35px #172c2a38;outline:none}.welcome-bubble:after{content:'';position:absolute;bottom:-12px;left:calc(50% - 12px);width:23px;height:23px;background:#fffaf0;transform:rotate(45deg);border-bottom:1px solid #e4d9bd;border-right:1px solid #e4d9bd}.bubble-eyebrow{font-size:10px;letter-spacing:2px;color:#6f7861}.welcome-bubble h1{font:400 clamp(25px,3vw,38px)/1.2 'Lora',Georgia,serif;margin:10px 0 10px;letter-spacing:-.7px}.welcome-bubble p{margin:0;font-size:14px;color:#68735d}.desk-caption{position:absolute;bottom:30px;text-align:center;left:16px;right:16px;color:white}.desk-caption p{font:400 29px/1.2 'Lora',Georgia,serif;margin:10px 0 0}.is-entering .entrance{animation:enter-room 1s ease-in-out forwards;pointer-events:none}.is-entering .entrance-copy,.is-entering .door-hint{opacity:0;transition:opacity .2s}.is-inside .interior{animation:reveal-room .8s ease-out both}.is-inside .welcome-bubble{animation:welcome-pop .65s .5s cubic-bezier(.2,.7,.3,1.2) both}.image-error{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--cream);z-index:10;background:var(--green)}.image-error button{border:1px solid #cfc8aa;background:var(--cream);padding:12px 25px;color:var(--green);border-radius:4px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@keyframes enter-room{0%{transform:scale(1);opacity:1}65%{opacity:1}100%{transform:scale(1.5);opacity:0}}@keyframes reveal-room{from{opacity:0;transform:scale(1.05)}to{opacity:1;transform:scale(1)}}@keyframes welcome-pop{from{opacity:0;transform:translate(-50%,12px) scale(.94)}to{opacity:1;transform:translate(-50%,0) scale(1)}}
@media(min-width:1600px){.app-shell{max-width:1900px;margin:auto}.scene-image{object-position:center 54%}}
@media(max-width:700px){.app-shell{padding:0 10px;min-height:600px}.site-header{height:86px;padding:0 8px}.brand>span{font-size:25px}.brand svg{width:34px;height:34px}.brand{gap:8px}.brand small{font-size:9px;letter-spacing:1.8px}.location{display:none}.back-button{font-size:12px;padding:9px 11px}.back-button span{margin-right:3px}.library{border-radius:5px}.scene-image{object-position:center 50%}.door-hotspot{left:12%;width:76%;top:15%;height:51%}.door-hint{opacity:1;font-size:13px}.entrance-copy{bottom:37px}.entrance-copy h1{font-size:45px}.entrance-copy p{font-size:15px}.scene-caption{display:none}.site-footer{height:45px;font-size:10px;padding:0 5px;gap:10px}.footer-mark{font-size:14px}.welcome-bubble{top:6%;padding:20px 23px}.welcome-bubble h1{font-size:29px}.desk-caption{bottom:30px}.desk-caption p{font-size:25px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}.is-entering .entrance{opacity:0}}

/* Searchable entrance copy sits below the full-screen door without changing the room. */
.discover-section{padding:52px 26px 76px;background:#faf8f2;color:#2e3d32}
.discover-card{max-width:980px;margin:auto;padding:52px clamp(26px,7vw,82px);text-align:center;background:#f2eee2;border:1px solid #ded5be;border-radius:20px;box-shadow:0 16px 38px #213d2910}
.discover-icon{display:block;width:42px;height:42px;margin:0 auto 20px;fill:none;stroke:#6d785e;stroke-width:1.8;stroke-linejoin:round}
.discover-overline{font-size:11px;letter-spacing:.24em;font-weight:700;color:#667457}
.discover-card h2{max-width:720px;margin:15px auto 22px;font:500 clamp(32px,4vw,52px)/1.15 'Lora',Georgia,serif;color:#253e32}
.discover-card p{max-width:730px;margin:0 auto;font:400 clamp(16px,1.55vw,19px)/1.7 'DM Sans',Arial,sans-serif;color:#4a5146}
.discover-topics{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:30px 0 0;padding:0;list-style:none}
.discover-topics button{padding:9px 17px;border:1px solid #d5c9ae;border-radius:999px;color:#3e5546;background:#fbf8ef;font-size:14px;font-weight:600;transition:background .2s,border-color .2s,transform .2s}
.discover-topics button:hover{background:#e7eddf;border-color:#8eaa8b;transform:translateY(-2px)}
body.library-locked .discover-section{display:none}
body.library-locked > .site-footer{display:none}
body > .site-footer{width:100%;padding-inline:clamp(26px,5vw,72px);background:#faf8f2;border-top:1px solid #e8e1d1}
@media(max-width:700px){.discover-section{padding:30px 14px 48px}.discover-card{padding:36px 20px;border-radius:14px}.discover-card h2{font-size:32px}.discover-topics{gap:8px}.discover-topics button{font-size:13px;padding:8px 12px}}

/* Keep the greeting above the librarian in the scene. */
.welcome-bubble{top:2%;padding:15px 26px 17px}.welcome-bubble h1{font-size:clamp(25px,2.4vw,32px);margin:7px 0 0}.welcome-bubble p{display:none}@media(max-width:700px){.welcome-bubble{padding:12px 20px 14px}.welcome-bubble h1{font-size:25px;line-height:1.15}.bubble-eyebrow{font-size:10px}}

/* Keep the door invitation visible as the entry control. */
.door-hint{opacity:1;transform:none}.entrance-copy h1{font-size:clamp(32px,5.5vw,68px);letter-spacing:.02em}.entrance-copy p{margin-bottom:0}

/* Align the welcome above the door knobs, with the title beneath. */
.entrance-copy{top:54%;bottom:auto;text-shadow:0 2px 12px #102019b3}.entrance-copy>.eyebrow{display:block}

/* Entrance information navigation and warm library modals. */
.header-right{display:flex;align-items:center;gap:18px}.entrance-links ul{display:flex;align-items:center;gap:6px;list-style:none;margin:0;padding:0}.entrance-links button{border:0;background:transparent;color:var(--green);padding:10px 12px;border-radius:4px;font-size:14px;font-weight:600}.entrance-links button:hover{background:#e8ece3}.app-shell:has(.is-inside) .entrance-links{display:none}.info-dialog{width:min(650px,calc(100% - 32px));padding:34px 38px;background:#fffbf1;color:#30483d;border:1px solid #cbbd94;border-radius:10px}.info-dialog .dialog-heading{padding-bottom:18px;border-bottom:1px solid #d9cdaa}.info-dialog .dialog-heading h2{max-width:510px;font:400 clamp(28px,4vw,39px)/1.18 'Lora',Georgia,serif;color:#254237;margin:9px 0 0}.info-dialog h3{font:500 21px/1.3 'Lora',Georgia,serif;color:#315044;margin:24px 0 12px}.info-dialog>p,.about-list{font-size:16px;line-height:1.68}.about-list{padding-left:23px}.about-list li+li{margin-top:11px}.info-closing{font-family:'Lora',Georgia,serif;font-style:italic;color:#526b5d;margin:24px 0 0}.contact-dialog{text-align:center;width:min(520px,calc(100% - 32px))}.contact-dialog .dialog-heading{text-align:left}.contact-email{display:block;margin:26px auto 4px;padding:15px 18px;border:1px solid #a89561;border-radius:5px;background:#f1ead6;color:#244c3e;font-size:17px;font-weight:600;text-decoration:none;overflow-wrap:anywhere}.contact-email:hover{background:#e8ddc0}@media(max-width:700px){.site-header{gap:8px}.header-right{gap:0}.entrance-links ul{gap:0}.entrance-links button{font-size:12px;padding:9px 7px}.info-dialog{padding:25px 22px;max-height:86svh}.info-dialog .dialog-heading h2{font-size:29px}.info-dialog>p,.about-list{font-size:15px;line-height:1.6}.contact-email{font-size:15px;padding:14px 10px}}@media(max-width:390px){.brand small{display:none}.brand>span{font-size:22px}.entrance-links button{font-size:11px;padding:8px 5px}}
