@import url('terror.css');

:root{--header-height:64px}

/* Global desktop scale correction */
.site-header{height:64px!important;padding:0 clamp(1rem,2.2vw,2.4rem)!important}
.wordmark{font-size:.6rem!important}.wordmark-mark{width:34px!important;height:34px!important;font-size:1.35rem!important}
.site-nav{gap:clamp(.55rem,1.15vw,1.1rem)!important}.site-nav a{font-size:clamp(.5rem,.6vw,.6rem)!important}.nav-wrong{padding:.48rem .6rem!important}
.view{padding:calc(var(--header-height) + 2.75rem) clamp(1.25rem,4vw,4.5rem) 5rem!important}
.section-heading{margin-bottom:2.75rem!important;max-width:900px!important}
h1{font-size:clamp(3.2rem,6.2vw,6.8rem)!important;line-height:.88!important}
h2{font-size:clamp(2.9rem,5.6vw,5.9rem)!important;line-height:.9!important}
h3{font-size:clamp(1.45rem,2.5vw,2.5rem)!important}
.lede{font-size:clamp(1.05rem,1.55vw,1.45rem)!important}.prose{font-size:clamp(1.05rem,1.2vw,1.28rem)!important;line-height:1.62!important}
.eyebrow{font-size:.54rem!important}.location-readout{width:170px!important;padding:.6rem .7rem!important}

/* Entrance and library */
.threshold-view{gap:clamp(2.5rem,5vw,6rem)!important;align-items:start!important}.threshold-door{height:min(62vh,620px)!important;min-height:420px!important}.manifesto{margin-top:2rem!important;max-width:680px!important}.manifesto p{margin-bottom:.85rem!important}.enter-button{margin-top:1.4rem!important;padding:1.05rem 1.3rem!important}
.library-room{padding:clamp(2.75rem,5vw,5rem) clamp(1rem,3vw,3rem) clamp(3.5rem,5vw,5rem)!important}.book-shelf{grid-template-columns:repeat(6,minmax(90px,1fr))!important;gap:clamp(.65rem,1.25vw,1.15rem)!important;max-width:1180px!important;margin:0 auto!important}.cover-caption{margin-top:.75rem!important;font-size:.58rem!important}.cover-caption small{font-size:.43rem!important}

/* Book page: convert poster proportions into website proportions */
.book-world{position:relative;background:#080606;isolation:isolate}.book-world::before,.book-world::after{z-index:0!important;pointer-events:none}.book-atmosphere{z-index:1!important}.book-content{position:relative;z-index:2;width:min(1160px,calc(100% - 2rem))!important;margin:0 auto!important}
.back-to-library{margin-bottom:2rem!important;font-size:.52rem!important}
.book-hero{grid-template-columns:minmax(0,1.18fr) minmax(220px,330px)!important;min-height:auto!important;gap:clamp(2.5rem,5vw,5rem)!important;align-items:center!important;padding:1rem 0 3.5rem!important}
.book-identification h2{font-size:clamp(3.4rem,6vw,6.2rem)!important;line-height:.88!important;max-width:11ch!important}.book-subtitle{font-size:clamp(1.15rem,1.65vw,1.55rem)!important;max-width:38ch!important}.status-stamp{margin-top:1.25rem!important;padding:.55rem .75rem!important;font-size:.5rem!important}
.cover-object{width:100%!important;max-width:330px!important;justify-self:end!important;box-shadow:0 30px 75px rgba(0,0,0,.55)!important}.cover-object img{width:100%!important;max-height:54vh!important;object-fit:contain!important}.cover-object span{font-size:.46rem!important;padding:.55rem .65rem!important}
.world-interruption{margin:2.75rem auto 4.5rem!important;font-size:clamp(2.8rem,6vw,6.5rem)!important;max-width:18ch!important}
.book-reading{grid-template-columns:170px minmax(0,1fr)!important;gap:clamp(2rem,4vw,4rem)!important;padding:clamp(2rem,4vw,3.5rem)!important}.book-description p{margin-bottom:1.1rem!important}.fragment-section{padding:5rem 0!important}.fragment-grid blockquote{padding:clamp(1.6rem,2.5vw,2.5rem)!important;font-size:clamp(1.15rem,1.6vw,1.55rem)!important}.acquire-section{padding-top:4rem!important;padding-bottom:4rem!important}.book-end{padding-top:3rem!important;padding-bottom:3rem!important}

/* Reveal the surreal layer that the previous rule accidentally suppressed */
.book-atmosphere > .omens-world{opacity:1!important;filter:none!important;z-index:6!important}.omens-world{z-index:6!important}.apparition{z-index:3!important}.whisper-line{z-index:4!important;color:rgba(233,225,212,.58)!important}
.duck-apparition{right:auto!important;left:53%!important;bottom:7%!important;width:185px!important;height:170px!important;opacity:.48!important;filter:grayscale(1) contrast(1.22) brightness(.72) blur(.2px)!important;transform:translateX(-50%) rotate(-3deg)!important}
.omens-inverurie .balloon-apparition{left:7%!important;top:16%!important;opacity:.45!important}.omens-inverurie .whisper-line{left:48%!important;bottom:4%!important;max-width:25rem!important}
.cord-apparition{right:7%!important;top:-4%!important;height:94%!important;opacity:.5!important}.omens-claustrophobia .face-apparition{left:49%!important;bottom:2%!important;width:260px!important;height:350px!important;opacity:.25!important}.omens-claustrophobia .whisper-line{left:45%!important;bottom:5%!important}
.face-ruined{right:auto!important;left:52%!important;bottom:0!important;width:290px!important;height:390px!important;opacity:.38!important}.omens-landfill .whisper-line{right:auto!important;left:46%!important;bottom:5%!important;text-align:left!important}
.face-plate{right:8%!important;width:240px!important;height:330px!important;opacity:.24!important}.face-cosmic{left:42%!important;width:230px!important;height:300px!important;opacity:.2!important}
.omen-stain{opacity:.18!important}.stain-a{width:150px!important;height:120px!important}.stain-b{width:190px!important;height:160px!important}

/* Existing aesthetic corrections */
.threshold-copy h1,.threshold-copy h1:hover{filter:none!important}.threshold-copy [data-scramble]{font-family:var(--display)!important}.world-machine .machine-message{font-family:var(--serif)!important;letter-spacing:.04em!important;color:rgba(233,225,212,.15)!important}.world-fine .wellbeing-score{filter:grayscale(1) contrast(.9);opacity:.16}.world-inverurie .duck-shape{display:block!important;opacity:.12!important;filter:blur(5px) grayscale(1)!important;transform:scale(.78) rotate(-7deg)!important}.world-inverurie .duck-shape span{background:#000!important}.world-claustrophobia .closing-wall{opacity:.16!important;background:linear-gradient(90deg,#000,transparent)!important}.world-quarks .book-atmosphere{mix-blend-mode:screen}.cover-dialog .zoom-stage img{max-width:none!important;max-height:none!important}

/* Final compacting pass: approximately ten percent smaller across desktop. */
:root{--header-height:58px}
.site-header{height:58px!important;padding:0 clamp(.9rem,1.8vw,2rem)!important}
.wordmark{font-size:.55rem!important}.wordmark-mark{width:31px!important;height:31px!important;font-size:1.2rem!important}
.site-nav{gap:clamp(.48rem,.95vw,.9rem)!important}.site-nav a{font-size:clamp(.46rem,.52vw,.55rem)!important}.nav-wrong{padding:.4rem .52rem!important}
.view{padding:calc(var(--header-height) + 2rem) clamp(1.1rem,3.2vw,3.6rem) 4rem!important}
.section-heading{margin-bottom:2.1rem!important;max-width:820px!important}
h1{font-size:clamp(2.75rem,5.1vw,5.65rem)!important}
h2{font-size:clamp(2.45rem,4.65vw,5rem)!important}
h3{font-size:clamp(1.3rem,2.1vw,2.15rem)!important}
.lede{font-size:clamp(.98rem,1.3vw,1.27rem)!important}.prose{font-size:clamp(.98rem,1.05vw,1.16rem)!important;line-height:1.58!important}
.eyebrow{font-size:.49rem!important}.location-readout{width:155px!important;padding:.52rem .62rem!important}
.threshold-view{gap:clamp(2rem,4vw,4.8rem)!important}.threshold-door{height:min(56vh,560px)!important;min-height:380px!important}.manifesto{margin-top:1.6rem!important;max-width:610px!important}.manifesto p{margin-bottom:.72rem!important}.enter-button{margin-top:1.1rem!important;padding:.88rem 1.08rem!important}
.library-room{padding:clamp(2.2rem,4vw,4rem) clamp(.9rem,2.4vw,2.4rem) clamp(2.8rem,4vw,4rem)!important}.book-shelf{grid-template-columns:repeat(6,minmax(80px,1fr))!important;max-width:1050px!important;gap:clamp(.55rem,1vw,.95rem)!important}.cover-caption{margin-top:.62rem!important;font-size:.52rem!important}.cover-caption small{font-size:.39rem!important}
.book-content{width:min(1060px,calc(100% - 1.5rem))!important}.back-to-library{margin-bottom:1.55rem!important;font-size:.48rem!important}.book-hero{grid-template-columns:minmax(0,1.14fr) minmax(205px,290px)!important;gap:clamp(2rem,4vw,4rem)!important;padding:.65rem 0 2.8rem!important}.book-identification h2{font-size:clamp(3rem,5.1vw,5.3rem)!important}.book-subtitle{font-size:clamp(1.02rem,1.4vw,1.34rem)!important}.status-stamp{margin-top:1rem!important;padding:.48rem .66rem!important;font-size:.46rem!important}.cover-object{max-width:290px!important}.cover-object img{max-height:48vh!important}.world-interruption{margin:2.1rem auto 3.6rem!important;font-size:clamp(2.35rem,5vw,5.4rem)!important}.book-reading{grid-template-columns:145px minmax(0,1fr)!important;gap:clamp(1.7rem,3.2vw,3.2rem)!important;padding:clamp(1.65rem,3.1vw,2.8rem)!important}.fragment-section{padding:4rem 0!important}.fragment-grid blockquote{padding:clamp(1.35rem,2vw,2rem)!important;font-size:clamp(1.02rem,1.35vw,1.32rem)!important}.acquire-section{padding-top:3.2rem!important;padding-bottom:3.2rem!important}.book-end{padding-top:2.4rem!important;padding-bottom:2.4rem!important}

@media (max-width:1100px){
 .book-shelf{grid-template-columns:repeat(3,minmax(120px,1fr))!important;max-width:700px!important;gap:1.7rem 1.05rem!important}
 .book-hero{grid-template-columns:minmax(0,1fr) minmax(195px,255px)!important}.cover-object{max-width:255px!important}
}
@media (max-width:760px){
 :root{--header-height:56px}.site-header{height:56px!important}.view{padding:calc(var(--header-height) + 1.65rem) 1rem 3.4rem!important}
 h1{font-size:clamp(2.45rem,12.5vw,4.2rem)!important}h2{font-size:clamp(2.35rem,11.5vw,3.95rem)!important}
 .book-shelf{grid-template-columns:repeat(2,minmax(105px,1fr))!important;gap:1.55rem .75rem!important}.book-hero{grid-template-columns:1fr!important;padding-bottom:2.1rem!important}.book-identification h2{font-size:clamp(2.7rem,13vw,4.45rem)!important}.cover-object{justify-self:center!important;max-width:250px!important}.book-reading{grid-template-columns:1fr!important;padding:1.3rem!important}.world-interruption{font-size:clamp(2.1rem,12vw,4.1rem)!important;margin:1.7rem auto 2.5rem!important}
 .duck-apparition{left:auto!important;right:2%!important;width:115px!important;height:108px!important;transform:rotate(-3deg)!important}.whisper-line{display:none!important}.face-ruined,.face-faint,.face-plate,.face-cosmic{width:155px!important;height:210px!important;left:auto!important;right:0!important}.cord-apparition{right:1%!important}
}