/* A quiet editorial cover for the personal reading room. */
.home-hero{--home-ochre:#b18b50;position:relative;padding:34px 0 0;isolation:isolate}
.home-hero-kicker{display:flex;align-items:center;gap:9px;font-size:9px;letter-spacing:2.25px;color:#797e70}
.home-kicker-dot{width:5px;height:5px;border-radius:50%;background:var(--home-ochre);flex-shrink:0}
.home-edition{margin-left:auto;letter-spacing:1.8px;font-size:8px;color:#919586}
.home-hero-composition{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:17px 0 25px}
.home-hero-copy h1{font:400 50px/1.45 var(--serif);letter-spacing:4px}
.home-hero-copy h1 em{color:#82907a;font-style:normal}
.home-hero-copy>p{font:12px/1.7 var(--serif);letter-spacing:1.2px;color:#8a8d7e;margin-top:12px}
.home-hero-art{width:235px;text-align:center;position:relative;margin-right:7%;color:#9ba28e}
.home-hero-art:before{content:'';position:absolute;inset:12% 5% 10%;background:radial-gradient(ellipse,#e9e8d947,transparent 70%);z-index:-1}
.home-room-drawing{width:200px;height:190px;stroke:#8e9b83;stroke-width:.8;stroke-linecap:round;stroke-linejoin:round;fill:none}
.home-room-drawing .room-fill{fill:#efeee2;stroke:none}
.home-room-drawing .room-sun{fill:#c4a66b66;stroke:none}
.home-room-drawing .room-book{fill:#f7f6f2;stroke:#788d78}
.home-room-drawing .room-stem{stroke:#789178}
.home-hero-art>span{font:italic 12px var(--serif);letter-spacing:.6px;color:#939782;display:block;margin-top:3px}
.home-collection-line{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0 9px;border-top:1px solid var(--line)}
.home-collection-label{font-size:8px;letter-spacing:2px;color:#a0a18e}
.home-counts{display:flex;gap:25px;font-size:10px;color:#969a8b;white-space:nowrap}
.home-counts b{font-size:11px;font-weight:500;font-variant-numeric:tabular-nums;letter-spacing:.5px;color:#6a7964;margin-right:3px}
.home-hero-collection .home-hero-art{opacity:.7}
.home-hero-collection .home-hero-copy h1{font-size:42px}
.home-footer{width:100%;display:grid;grid-template-columns:1.05fr 1fr;gap:24px 48px}
.home-continue{display:flex;align-items:center;gap:18px;min-width:0;padding:22px 24px;text-align:left;background:#eeeee4;border:1px solid #e1e3d6;border-radius:3px;transition:background .2s}
.home-continue:hover{background:#e6e9dc}
.home-continue>img{width:48px;height:70px;object-fit:cover;box-shadow:3px 5px 7px #263b341b;flex-shrink:0}
.home-continue-copy{display:block;flex:1;min-width:0}
.home-small-label{display:block;font:8px/1.7 var(--sans);letter-spacing:1.8px;color:#89957e}
.home-continue-copy strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:400 21px/1.5 var(--serif);letter-spacing:.5px;margin:4px 0 5px}
.home-continue-meta{display:flex;justify-content:space-between;gap:10px;color:#8a927f;font-size:10px}
.home-continue-meta>span{font-variant-numeric:tabular-nums}
.home-reading-line{display:block;height:2px;background:#d9ddcf;margin-top:9px;width:100%}
.home-reading-line>i{height:100%;display:block;background:#7f9474}
.home-continue-arrow{border:1px solid #ced5c5;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;margin-left:6px;flex-shrink:0}
.home-continue-arrow svg{width:18px;height:18px}
.home-quote-panel{display:flex;align-items:flex-start;gap:14px;padding:13px 0 8px;min-width:0}
.home-quote-symbol{color:#bca06a;font:68px/.9 var(--serif);display:block;width:32px;flex-shrink:0}
.home-quote-panel>div,.home-quote-panel>button{min-width:0;flex:1;text-align:left;padding:0}
.home-quote-text{display:block;font:400 17px/1.8 var(--serif);letter-spacing:1px;color:#65765f;margin-top:7px;overflow-wrap:anywhere}
.home-quote-panel.has-quote .home-quote-text{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.home-quote-hint{font-size:10px;line-height:1.8;color:#999d8c;margin-top:7px}
.home-quote-source{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:9px;font:10px/1.5 var(--sans);color:#919883}
.home-quote-source svg{width:15px;height:15px;flex-shrink:0}
.home-colophon{grid-column:1/-1;display:flex;align-items:center;gap:12px;border-top:1px solid var(--line);padding-top:16px;font:9px/1.7 var(--sans);letter-spacing:.7px;color:#a0a390}
.home-colophon>span:nth-child(2){font:italic 11px var(--serif);margin-left:auto}
.home-colophon-dot{height:4px;width:4px;background:#b18b50;border-radius:50%}
.home-no-books{font:18px/1.8 var(--serif);color:#818d76;padding:22px 0}
@media(max-width:900px){.home-hero-art{margin-right:0}.home-footer{gap:22px 28px}.home-continue{padding:20px 16px;gap:13px}.home-continue-copy strong{font-size:19px}.home-continue-arrow{margin-left:0}}
@media(max-width:600px){
 .home-hero{padding-top:23px}
 .home-hero-kicker{font-size:7px;letter-spacing:1.7px;gap:7px}
 .home-edition{font-size:7px;letter-spacing:1px}
 .home-hero-composition{padding:14px 0 20px;gap:7px;align-items:center}
 .home-hero-copy{flex:1;min-width:0}
 .home-hero-copy h1{font-size:34px;line-height:1.43;letter-spacing:2px}
 .home-hero-copy>p{font-size:9px;letter-spacing:.5px;margin-top:8px;white-space:nowrap}
 .home-hero-art{width:106px;flex-shrink:0;margin-right:-2px;margin-top:4px}
 .home-room-drawing{width:106px;height:108px;stroke-width:1.1}
 .home-hero-art>span{font-size:7px;letter-spacing:0;white-space:nowrap;margin-top:3px}
 .home-collection-line{padding:10px 0 5px;gap:5px}
 .home-collection-label{font-size:6px;letter-spacing:1px;max-width:77px;line-height:1.6}
 .home-counts{gap:14px;font-size:8px}
 .home-counts b{font-size:10px;margin-right:1px}
 .home-hero-collection .home-hero-copy h1{font-size:28px}
 .home-hero-collection .home-hero-art{width:80px}
 .home-hero-collection .home-room-drawing{width:80px;height:88px}
 .home-hero-collection .home-hero-art>span{display:none}
 .home-footer{display:flex;flex-direction:column;gap:20px}
 .home-continue{padding:16px;gap:13px;width:100%}
 .home-continue>img{width:41px;height:59px}
 .home-continue-copy strong{font-size:19px;margin:3px 0 4px}
 .home-small-label{font-size:7px;letter-spacing:1.25px}
 .home-continue-meta{font-size:9px}
 .home-continue-arrow{width:28px;height:28px}
 .home-quote-panel{padding:0 4px 0;gap:10px}
 .home-quote-symbol{font-size:55px;width:25px}
 .home-quote-text{font-size:16px;line-height:1.7;margin-top:6px}
 .home-quote-hint{font-size:9px;margin-top:6px}
 .home-colophon{font-size:8px;gap:5px;padding:13px 0 12px}
 .home-colophon>span:nth-child(2){font-size:9px}
 .home-colophon-dot{display:none}
}
@media(max-width:360px){.home-hero-copy h1{font-size:30px}.home-hero-art{width:88px}.home-room-drawing{width:88px;height:94px}.home-counts{gap:10px}.home-continue{padding:13px}.home-continue-copy strong{font-size:17px}}
/* Shelf-first layout: spare the lower half for the books themselves. */
.shell{min-height:100dvh;display:flex;flex-direction:column}
.home-hero{padding-top:20px}
.home-hero-composition{padding:12px 0 16px;gap:16px}
.home-hero-copy h1{font-size:28px;line-height:1.5;letter-spacing:2px}
.home-hero-copy h1 br{display:none}
.home-hero-copy>p{font-size:11px;margin-top:7px}
.home-hero-art{width:80px;margin-right:1%}
.home-room-drawing{width:80px;height:75px}
.home-hero-art>span{display:none}
.home-collection-line{padding:10px 0 0;border-top:0}
.page-bottom[hidden]{display:none!important}
#books-area{flex:1;display:flex;flex-direction:column;justify-content:center;padding-bottom:22px}
.shelf-motion{--cover-height:clamp(250px,calc(100dvh - 480px),430px);width:100%}
.shelf-motion .shelf-stage{height:calc(var(--cover-height) + 110px)}
.shelf-motion .book-slot{height:var(--cover-height);width:calc(var(--cover-height)*.69);left:calc(50% - var(--cover-height)*.345);top:54px}
.shelf-motion .shelf-arrow{top:48%}
.shelf-motion .book-caption{min-height:85px;padding-top:5px}
.shelf-motion .book-caption h2{font-size:22px;max-width:900px;margin:10px auto 8px;line-height:1.5}
.shelf-motion .select-instruction{margin-top:10px}
@media(max-width:600px){.home-hero-copy h1{font-size:24px}.home-hero-copy h1 br{display:block}.home-hero-art{width:66px}.home-room-drawing{width:66px}.home-collection-label{display:none}.home-hero{padding-top:15px}.home-hero-composition{padding:8px 0}.home-collection-line{justify-content:flex-end}.shelf-motion{--cover-height:clamp(210px,calc(100dvh - 450px),320px)}.shelf-motion .book-caption h2{font-size:19px;padding:0 15px}.shelf-motion .select-instruction{font-size:9px;gap:6px}}
@media(min-width:900px) and (min-height:700px){.topbar{height:90px}.shelf-motion{--cover-height:clamp(300px,calc(100dvh - 470px),480px)}}

.shell .home-hero-kicker,.shell .home-collection-line{display:none}
.shell .home-hero{padding-top:8px}
.shell .home-hero-composition{padding:10px 0}
.shell .bookshelf-bar{margin:0;padding:6px 0;border-top:0}
.shell .shelf-motion{--cover-height:clamp(220px,calc(100dvh - 510px),420px)}
.shell .shelf-motion .book-caption{min-height:80px}
@media(max-width:600px){.shell .home-hero-art{display:none}.shell .home-hero-copy h1 br{display:none}.shell .home-hero-copy h1{font-size:21px}.shell .home-hero-copy>p{display:none}.shell .shelf-motion{--cover-height:clamp(210px,calc(100dvh - 420px),390px)}}
