.library-home{max-width:1200px;margin-inline:auto;padding:2.5rem clamp(1.25rem,3vw,3rem) 3rem}.library-home :is(h1,h2,h3,p,figure){margin-block-start:0}.library-home :is(a,button,input):focus-visible{outline:3px solid var(--gold);outline-offset:5px}.library-kicker{font:500 .7rem/1.6 var(--font-body);letter-spacing:.12em;text-transform:uppercase;color:var(--gold);margin-bottom:1rem}.library-kicker span{opacity:.5;margin-inline:.65rem}.library-opening{border-bottom:1px solid var(--border-strong);grid-template-columns:1.05fr 1fr;align-items:center;gap:1.5rem;min-height:530px;padding-block:2rem 3.5rem;display:grid}.opening-copy{z-index:2;position:relative}.opening-copy h1{letter-spacing:-.05em;text-wrap:initial;margin-bottom:1.5rem;font-size:clamp(2.75rem,4.6vw,4.8rem);line-height:1.08}.opening-copy h1 em{color:var(--gold);font-weight:400}.opening-description{max-width:40ch;color:var(--foreground-muted);margin-bottom:1.75rem;font-size:1rem;line-height:1.85}.opening-facts{color:var(--muted);flex-wrap:wrap;align-items:center;gap:1.25rem;margin-top:1.75rem;font-size:.75rem;display:flex}.opening-facts strong{color:var(--foreground);font-weight:600}.opening-facts span+span{border-inline-start:1px solid var(--border-strong);padding-inline-start:1.25rem}.opening-shelf{isolation:isolate;justify-content:center;align-items:center;min-width:0;height:450px;display:flex;position:relative}.shelf-orbit{background:var(--surface-hover);border:1px solid var(--border);z-index:-1;border-radius:50% 50% 3px 3px;position:absolute;inset:6% 0 7%}.shelf-book{width:43%;transition:translate .2s;display:block;position:absolute;box-shadow:0 15px 25px #292b2529}.shelf-book:hover{translate:0 -8px}.shelf-book img{width:100%;height:auto;display:block}.shelf-book-0{top:23%;left:0;transform:rotate(-12deg)}.shelf-book-1{z-index:2;width:48%;top:9%}.shelf-book-2{top:24%;right:0;transform:rotate(12deg)}.shelf-caption{text-align:center;max-width:85%;font:italic .85rem/1.5 var(--font-heading);color:var(--muted);position:absolute;bottom:0}.library-section-heading{justify-content:space-between;align-items:end;gap:2rem;margin-bottom:1.75rem;display:flex}.library-section-heading .library-kicker{margin-bottom:.65rem}.library-section-heading h2,.reading-copy h2{letter-spacing:-.035em;margin-bottom:0;font-size:clamp(1.9rem,2.8vw,2.8rem);line-height:1.2}.library-section-heading>p{max-width:29ch;color:var(--muted);margin-bottom:.1rem;font-size:.9rem;line-height:1.75}.collection-doors,.library-catalog{margin-top:3.5rem;scroll-margin-top:105px}.door-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;display:grid}.collection-door{background:var(--surface);border:1px solid var(--border);border-top:3px solid var(--door-accent);min-width:0;color:var(--foreground);padding:1.2rem 1rem 0;transition:border-color .2s;overflow:hidden}.door-1{--door-accent:#ad7058}.door-2{--door-accent:#5d8584}.door-3{--door-accent:#7e8966}.door-4{--door-accent:#a38559}.collection-door:hover{color:var(--foreground);border-color:var(--door-accent)}.door-top{color:var(--muted);text-transform:uppercase;letter-spacing:.055em;flex-wrap:wrap;justify-content:space-between;gap:.4rem;margin-bottom:1rem;font-size:.62rem;display:flex}.collection-door h3{margin-bottom:.6rem;font-size:1.45rem;line-height:1.2}.collection-door>p{color:var(--muted);min-height:3.3em;font-size:.75rem;line-height:1.65}.door-books{justify-content:center;align-items:end;height:130px;margin:1.5rem -.2rem 1rem;display:flex}.door-books img{width:34%;height:auto;box-shadow:0 3px 8px #292b251a}.door-books img:first-child{transform:rotate(-8deg)translate(5px)}.door-books img:last-child{transform:rotate(8deg)translate(-5px)}.door-books img:nth-child(2){z-index:1;margin-bottom:10px}.door-link{border-top:1px solid var(--border);color:var(--gold);justify-content:space-between;align-items:center;gap:.5rem;padding:1rem 0;font-size:.7rem;display:flex}.reading-note{background:var(--surface-hover);border:1px solid var(--border);grid-template-columns:.8fr 1fr;align-items:center;gap:3rem;margin-top:3.5rem;padding:2rem;display:grid}.reading-illustration img{mix-blend-mode:multiply;width:100%;height:auto;display:block}.reading-copy h2{max-width:18ch;margin-bottom:.7rem}.reading-intro{color:var(--muted);font-size:.9rem}.reading-copy ol{margin:1.5rem 0;padding:0;list-style:none}.reading-copy li{gap:1rem;margin-top:1rem;display:flex}.reading-copy li>span{color:var(--gold);font:italic 1.2rem var(--font-heading);flex-shrink:0}.reading-copy h3{font:600 .85rem/1.6 var(--font-body);margin-bottom:.2rem}.reading-copy li p{color:var(--muted);margin-bottom:0;font-size:.8rem;line-height:1.65}.reading-parent-note{font:italic .85rem/1.65 var(--font-heading);color:var(--gold);border-top:1px solid var(--border-strong);margin-bottom:0;padding-top:1rem}.library-tools{margin-bottom:1.75rem}.library-search{max-width:440px;margin-bottom:1rem;display:block}.library-search>span{color:var(--muted);margin-bottom:.4rem;font-size:.75rem;display:block}.library-search input{border:1px solid var(--border-strong);width:100%;min-height:48px;font:inherit;color:var(--foreground);background:var(--surface);border-radius:0;padding:.75rem 1rem;font-size:.9rem}.library-filters{flex-wrap:wrap;gap:.5rem;display:flex}.library-filters button{border:1px solid var(--border-strong);min-height:44px;color:var(--foreground-muted);font:500 .75rem/1.5 var(--font-body);cursor:pointer;background:0 0;border-radius:2px;padding:.5rem 1rem}.library-filters button[aria-pressed=true]{color:var(--primary-foreground);background:var(--primary);border-color:var(--primary)}.library-result-count,.library-language-note{color:var(--muted);margin:1rem 0 0;font-size:.75rem}.library-language-note{margin-bottom:1rem}.library-book-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:2.5rem 1.5rem;display:grid}.library-book{color:var(--foreground);flex-direction:column;min-width:0;display:flex}.library-book:hover{color:var(--foreground)}.library-book-art{background:var(--surface-hover);border:1px solid var(--border);padding:1rem 1.15rem;position:relative}.library-book-art img{aspect-ratio:2/3;object-fit:contain;width:100%;transition:translate .2s;display:block;box-shadow:3px 5px 9px #292b2524}.library-book:hover img{translate:0 -5px}.library-book-art>span{inset-inline-end:.35rem;color:var(--gold);font-size:.85rem;position:absolute;bottom:.15rem}.library-book-copy{flex-direction:column;flex:1;padding-top:1rem;display:flex}.library-book-copy .library-kicker{letter-spacing:.06em;margin-bottom:.45rem;font-size:.58rem}.library-book h3{margin-bottom:.5rem;font-size:1.15rem;line-height:1.3}.library-book-copy>p:not(.library-kicker){color:var(--muted);margin-bottom:.75rem;font-size:.75rem;line-height:1.65}.library-book-link{color:var(--gold);margin-top:auto;font-size:.7rem}.library-empty{text-align:center;border:1px dashed var(--border-strong);padding:3rem 1rem}.library-start{border-block:1px solid var(--border-strong);grid-template-columns:110px 1fr 1.3fr;align-items:center;gap:1.75rem;margin-top:4rem;padding:2rem 0;display:grid}.start-cover img{width:100%;box-shadow:var(--shadow-md);display:block}.start-copy h2{margin-bottom:.75rem;font-size:1.7rem;line-height:1.2}.start-copy>p:not(.library-kicker){color:var(--muted);font-size:.85rem}.library-start .email-gate{background:var(--surface);border-radius:0;margin:0}:root[data-theme=dark] .reading-illustration img{mix-blend-mode:normal}@media (width>=1550px){.opening-shelf{height:500px}}@media (width<=1150px){.door-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.door-books{height:150px}.door-books img{width:27%}.library-book-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.library-start{grid-template-columns:100px 1fr}.library-start .email-gate{grid-column:1/-1;max-width:none}.opening-copy h1{font-size:clamp(2.6rem,4.8vw,4rem)}.opening-shelf{height:360px}}@media (width<=700px){.library-home{padding-top:1.5rem}.library-opening{grid-template-columns:1fr;gap:0;padding-block:1rem 2rem}.opening-copy h1{font-size:clamp(2.8rem,9vw,4.1rem)}.opening-description{max-width:48ch}.opening-shelf{width:100%;max-width:380px;height:390px;margin:1rem auto 0}.library-section-heading{display:block}.library-section-heading>p{max-width:none;margin-top:.8rem}.reading-note{grid-template-columns:1fr;gap:1.5rem;padding:1.5rem}.reading-illustration{max-width:250px;margin:auto}.reading-copy h2{max-width:none}.library-book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem 1rem}.library-book-art{padding:.75rem}.library-start{gap:1rem}.collection-doors,.library-catalog,.reading-note{margin-top:2.5rem}}@media (width<=390px){.door-grid{gap:.65rem}.collection-door{padding:.9rem .7rem 0}.collection-door h3{font-size:1.25rem}.door-books{height:110px}.door-books img{width:33%}.opening-shelf{height:345px}.library-book h3{font-size:1.05rem}}@media (prefers-reduced-motion:reduce){.library-home *,.library-home :before{transition:none!important}.library-home a:hover img,.shelf-book:hover{translate:none}}.library-book-copy .shelf-badge{align-self:flex-start;margin-top:.45rem}.library-note{margin-bottom:1.25rem}@media (width<=480px){.shelf-book-0{left:4px}.shelf-book-2{right:4px}}
