/* A personal shelf: three volumes made from the projects' own materials and drawings. */
.collection-hero{padding:26px 5% 24px;background:#eeeae0;overflow:hidden;isolation:isolate}.collection-hero:before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 50% 45%,#faf7ed 0,transparent 65%);z-index:-1;pointer-events:none}.collection-top{display:flex;justify-content:space-between;gap:20px;font-size:8px;letter-spacing:1.8px;color:#6d6859}.collection-title{text-align:center;padding:35px 0 5px}.collection-kicker{font-size:8px;letter-spacing:2px;color:#756c5a}.collection-hero h1{font-size:clamp(58px,6.8vw,105px);line-height:.86;letter-spacing:-5px;font-weight:400;max-width:none;margin:23px 0 19px}.collection-hero h1 em{font-family:'Playfair Display',Georgia,serif;font-weight:500;letter-spacing:-5px}.collection-title>p{font-size:12px;line-height:1.7;color:#686456;margin:0}.shelf-room{height:405px;position:relative;display:flex;justify-content:center;align-items:flex-end;margin-top:35px;padding-bottom:22px}.bookshelf{display:flex;align-items:flex-end;justify-content:center;gap:28px;position:relative;z-index:2;width:650px;max-width:100%;padding:0 30px}.shelf-book{--book-bg:#bc7b5b;--book-ink:#352a22;--book-edge:#935a42;position:relative;width:88px;height:345px;flex:0 0 auto;transform:rotate(-3deg);transform-origin:bottom center;transition:width .8s cubic-bezier(.22,.7,.22,1),transform .8s cubic-bezier(.22,.7,.22,1);filter:drop-shadow(9px 9px 6px #473b2720);isolation:isolate}.book-journey{--book-bg:#46513f;--book-ink:#eee4cf;--book-edge:#2e382b;height:375px;transform:rotate(3deg)}.book-light{--book-bg:#202738;--book-ink:#e9c38a;--book-edge:#141b27;height:330px;transform:rotate(-4deg)}.shelf-book.is-selected{width:285px;transform:translateY(-13px) rotate(-1deg);z-index:4}.book-spine{position:absolute;left:0;top:0;width:54px;height:100%;padding:0;border:0;border-radius:2px 0 0 2px;background:var(--book-bg);color:var(--book-ink);z-index:3;box-shadow:inset 5px 0 8px #ffffff13,inset -5px 0 7px #0002;display:flex;align-items:center;flex-direction:column;overflow:hidden}.book-spine:after{content:'';position:absolute;top:0;bottom:0;right:5px;border-left:1px solid #0002}.spine-number{font:11px Georgia,serif;margin-top:20px;letter-spacing:1px}.spine-title{font:23px/1 Georgia,serif;writing-mode:vertical-rl;text-orientation:mixed;margin-top:20px;white-space:nowrap;letter-spacing:-.7px}.book-journey .spine-title{font-size:22px}.spine-category{position:absolute;left:7px;bottom:55px;writing-mode:vertical-rl;font-size:6px;letter-spacing:1.4px;opacity:.8}.spine-author{position:absolute;bottom:18px;left:20px;font:10px Georgia,serif}.book-cover{position:absolute;width:235px;height:100%;top:0;left:53px;padding:20px 16px 15px;display:flex;flex-direction:column;background:var(--book-bg);color:var(--book-ink);transform:perspective(900px) rotateY(82deg);transform-origin:left center;backface-visibility:hidden;transition:transform .8s cubic-bezier(.22,.7,.22,1),filter .8s;filter:brightness(.8);box-shadow:inset 4px 0 7px #0001,inset -2px 0 #0002;border-radius:0 2px 2px 0;overflow:hidden;z-index:2}.is-selected .book-cover{transform:perspective(900px) rotateY(-7deg);filter:brightness(1)}.cover-top{display:flex;justify-content:space-between;gap:10px;font-size:6px;letter-spacing:1px;line-height:1.5}.cover-title{display:block;font:30px/.95 Georgia,serif;letter-spacing:-1.4px;margin:25px 0 14px}.cover-rule{height:1px;background:currentColor;opacity:.35;display:block;margin-bottom:10px}.book-cover img{width:100%;min-height:0;flex:1;object-fit:contain;mix-blend-mode:multiply;filter:contrast(.9);margin-bottom:12px}.book-journey .book-cover img{background:#d7d4c2;mix-blend-mode:normal;object-fit:contain;margin:5px 0 14px}.book-light .book-cover img{mix-blend-mode:normal;filter:none;object-fit:cover;object-position:center 65%;border:1px solid #bc965b55;margin-top:0}.book-light .cover-title{font-style:italic}.cover-bottom{display:flex;justify-content:space-between;gap:8px;align-items:flex-end;font-size:6px;letter-spacing:.6px;line-height:1.6}.cover-bottom>span:last-child{white-space:nowrap;font-size:7px}.book-pages{position:absolute;top:5px;left:56px;width:222px;height:calc(100% - 10px);background:repeating-linear-gradient(0deg,#c5bfac 0 1px,#e5dfd0 1px 3px);transform:perspective(900px) rotateY(82deg);transform-origin:left center;transition:transform .8s cubic-bezier(.22,.7,.22,1);z-index:1}.is-selected .book-pages{transform:perspective(900px) rotateY(-4deg);left:62px}.shelf-plank{height:9px;position:absolute;left:2%;right:2%;bottom:14px;background:#b6a080;box-shadow:0 10px 12px #64543b24,0 1px 0 #e6d9c2 inset;border-bottom:3px solid #8f795b}.shelf-plank:before{content:'';position:absolute;left:0;right:0;bottom:9px;height:22px;background:linear-gradient(to top,#75654816,transparent);pointer-events:none}.shelf-margin{position:absolute;left:2%;bottom:65px;font-size:7px;letter-spacing:1.5px;line-height:2.3;color:#756c5b;transform:rotate(-90deg);transform-origin:left center}.shelf-edition{position:absolute;right:2%;bottom:52px;font-size:7px;letter-spacing:1px;line-height:1.7;color:#756c5b;text-align:right}.shelf-edition i{display:block;font:italic 20px Georgia,serif;letter-spacing:-.5px;margin-top:12px}.shelf-preview{display:flex;justify-content:space-between;align-items:center;gap:40px;padding:20px 3% 17px;max-width:900px;margin:auto;min-height:100px}.shelf-preview>div{max-width:530px}.shelf-preview>div>span{font-size:8px;letter-spacing:1.5px;color:#7a654d}.shelf-preview p{font-size:12px;line-height:1.6;margin:8px 0 0;color:#625b4e;max-width:490px}.shelf-preview>a{display:flex;align-items:center;justify-content:space-between;gap:30px;border-bottom:1px solid #9d8e74;padding:12px 0;font-size:11px;white-space:nowrap}.shelf-preview>a:hover{color:#985e3d}.collection-bottom{display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid #bdb5a14f;padding-top:20px;margin-top:15px;font-size:8px;letter-spacing:1px;color:#716956}.collection-bottom>a:nth-child(2){font:italic 15px Georgia,serif;letter-spacing:0;color:#514b3d}.collection-bottom a:hover{text-decoration:underline;text-underline-offset:4px}.shelf-book .book-spine:focus-visible,.book-cover:focus-visible{outline:3px solid #986438;outline-offset:5px}.book-journey .book-spine:focus-visible,.book-light .book-spine:focus-visible{outline-color:#dba961}.collection-hero .hero-bottom{display:none}
@media(min-width:1600px){.collection-hero h1{font-size:110px}.shelf-room{margin-top:45px;height:445px}.shelf-book{height:380px}.book-journey{height:410px}.book-light{height:365px}.bookshelf{gap:38px;width:760px}.shelf-book.is-selected{width:310px}.book-cover{width:260px}.book-pages{width:247px}}
@media(max-width:1000px){.shelf-margin{display:none}.shelf-edition{right:0;font-size:6px}.shelf-room{height:390px}.bookshelf{width:580px;gap:20px}.shelf-book{width:72px;height:330px}.book-journey{height:360px}.book-light{height:315px}.shelf-book.is-selected{width:265px}.book-cover{width:215px}.book-pages{width:202px}.shelf-edition{display:none}.collection-hero h1{font-size:85px}.collection-title{padding-top:35px}}
@media(max-width:650px){.collection-hero{padding:20px 5%}.collection-top{font-size:6px;letter-spacing:1px}.collection-top>span:first-child{display:none}.collection-title{padding-top:30px}.collection-kicker{font-size:6px;letter-spacing:1.4px}.collection-hero h1{font-size:70px;letter-spacing:-3.5px;margin:20px 0 18px;line-height:.88}.collection-hero h1 em{letter-spacing:-3.5px}.collection-title>p{font-size:11px;line-height:1.7}.shelf-room{height:322px;margin-top:25px;padding-bottom:20px}.bookshelf{width:100%;padding:0;gap:13px}.shelf-book{width:41px;height:253px;transform:rotate(-3deg)}.book-journey{height:272px;transform:rotate(3deg)}.book-light{height:245px;transform:rotate(-3deg)}.shelf-book.is-selected{width:202px;transform:translateY(-8px) rotate(-1deg)}.book-spine{width:35px}.spine-number{font-size:8px;margin-top:14px}.spine-title{font-size:18px;margin-top:16px;letter-spacing:-.5px}.book-journey .spine-title{font-size:17px}.spine-author{left:13px;bottom:13px;font-size:8px}.spine-category{display:none}.book-spine:after{right:3px}.book-cover{left:34px;width:169px;padding:13px 10px 11px;transform:perspective(700px) rotateY(88deg)}.cover-top{font-size:4.5px;letter-spacing:.5px}.cover-title{font-size:24px;margin:20px 0 10px;letter-spacing:-1px}.cover-bottom{font-size:4.5px;line-height:1.6;letter-spacing:.4px}.cover-bottom>span:last-child{font-size:5px}.cover-rule{margin-bottom:5px}.book-cover img{margin-bottom:9px}.book-pages{left:36px;width:158px;transform:perspective(700px) rotateY(88deg)}.is-selected .book-pages{left:40px}.is-selected .book-cover{transform:perspective(700px) rotateY(-5deg)}.is-selected .book-pages{transform:perspective(700px) rotateY(-3deg)}.shelf-plank{left:-1%;right:-1%;height:7px;bottom:13px;border-bottom-width:2px}.shelf-preview{padding:20px 0 15px;gap:12px;align-items:start;min-height:118px}.shelf-preview>div{max-width:66%}.shelf-preview p{font-size:11px}.shelf-preview>div>span{font-size:6px;letter-spacing:1px}.shelf-preview>a{font-size:9px;gap:7px;padding-top:0;margin-top:2px;white-space:normal;max-width:90px;line-height:1.8}.collection-bottom{font-size:6px;letter-spacing:.8px;flex-wrap:wrap;row-gap:15px;margin-top:0;padding-top:17px}.collection-bottom .shelf-hint{width:100%;text-align:center}.collection-bottom>a:nth-child(2){font-size:14px}.collection-bottom>a:last-child{font-size:6px}.shelf-book{filter:drop-shadow(5px 6px 4px #473b2720)}}
@media(max-width:359px){.bookshelf{gap:10px}.shelf-book{width:34px}.shelf-book.is-selected{width:181px}.book-cover{width:148px}.book-pages{width:138px}.cover-title{font-size:21px}.cover-top{font-size:4px}.collection-hero h1{font-size:62px}}
@media(prefers-reduced-motion:reduce){.shelf-book,.book-cover,.book-pages{transition:none!important}.shelf-book,.shelf-book.is-selected{transform:none}.shelf-book:not(.is-selected) .book-cover,.shelf-book:not(.is-selected) .book-pages{visibility:hidden}}
