/* The books share the site's gallery frame; paper and the turning page lead. */
.library-heading h1{font-size:clamp(56px,7.5vw,96px)}
.book-library{padding-top:90px;padding-bottom:110px;background:var(--surface)}
.book-feature{display:grid;grid-template-columns:1fr 1.25fr;gap:7%;align-items:center}.book-feature-copy>p{font-size:17px;line-height:1.7;max-width:43ch;margin-top:28px}.book-feature-actions{display:flex;gap:28px;flex-wrap:wrap}.book-feature-actions .line-link{font-size:14px}.book-feature .book-preview{padding:55px 20px 75px}
.book-library-intro{display:grid;grid-template-columns:1fr 1fr;gap:10%;align-items:end;margin-bottom:48px}
.book-library h2,.book-other-editions h2{font-size:clamp(38px,4.5vw,66px);line-height:1.08;letter-spacing:-.035em;font-weight:450}
.book-library-intro>p{max-width:48ch;font-size:17px;line-height:1.7}
.book-editions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
.book-edition{min-width:0}.book-preview{display:block;position:relative;padding:35px 15px 65px;background:var(--paper);overflow:hidden}
.book-preview-spread{display:flex;position:relative;transform:perspective(1000px) rotateX(9deg);transform-origin:center;transition:transform .6s var(--ease)}
.book-preview-spread img{width:50%;height:auto;aspect-ratio:4/3;object-fit:contain;background:white}
.book-preview-spread img:first-child{border-right:1px solid var(--line)}
.book-preview:hover .book-preview-spread,.book-preview:focus-visible .book-preview-spread{transform:perspective(1000px) rotateX(0)}
.book-read-action{position:absolute;left:18px;right:18px;bottom:16px;display:flex;justify-content:space-between;align-items:center;font-size:13px}
.book-read-action .icon{width:20px;height:20px}.book-edition-copy{padding-top:24px}
.book-edition h3{font-size:clamp(23px,2.4vw,35px);font-weight:450;letter-spacing:-.03em;line-height:1.12;margin-bottom:14px}
.book-edition h3 a{text-decoration-thickness:1px;text-underline-offset:5px}.book-edition h3 a:hover{text-decoration:underline}
.book-edition-copy>p{font-size:15px;line-height:1.65;color:var(--muted);min-height:5em}
.book-meta{display:block;font-size:12px;color:var(--muted);margin:20px 0 16px;font-variant-numeric:tabular-nums}
.book-edition .line-link{font-size:13px;gap:14px}.library-heading{padding-bottom:65px}.library-note{padding-top:40px;padding-bottom:60px;display:flex;justify-content:space-between;gap:32px}.library-note p{max-width:55ch;font-size:14px;line-height:1.7;color:var(--muted)}.library-note a{align-self:start;white-space:nowrap;font-size:14px}
.book-heading{padding-top:140px;padding-bottom:38px}.book-heading>.back-link{margin-bottom:28px}.book-heading>div:not(.book-heading-bottom){display:flex;align-items:end;justify-content:space-between;gap:40px}
.book-heading h1{font-size:clamp(38px,4.3vw,65px);letter-spacing:-.035em;line-height:1.08;max-width:16ch}.book-heading>div>p{max-width:43ch;font-size:16px;line-height:1.65;color:var(--muted)}
.book-heading-bottom{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-top:24px;font-size:13px;color:var(--muted)}.book-heading-bottom .line-link{font-size:13px;color:var(--ink)}
.book-reader{--reader-paper:#f1f2ed;--reader-ink:#20221d;--reader-muted:#bdc3b4;--reader-line:#51584a;position:relative;background:#292d25;color:var(--reader-paper);margin:0 var(--gutter);isolation:isolate}
.book-reader :focus-visible{outline:2px solid var(--accent);outline-offset:4px}.book-toolbar{position:relative;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 22px;border-bottom:1px solid var(--reader-line)}
.book-toolbar-view,.book-toolbar-options{display:flex;align-items:center;gap:6px}.reader-control{font:inherit;font-size:13px;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:44px;min-height:44px;padding:9px 11px;background:none;color:inherit;border:0;cursor:pointer;white-space:nowrap}
.reader-control .icon{width:21px;height:21px}.reader-control:hover,.reader-control[aria-pressed=true],.reader-control[aria-expanded=true]{background:var(--accent);color:var(--reader-ink)}.reader-control:disabled{color:#8e9585;cursor:default;background:none;opacity:.65}
.book-pagination{display:flex;align-items:center;justify-content:center;gap:8px;font-size:12px;white-space:nowrap}.book-pagination input{appearance:textfield;width:45px;height:38px;padding:7px 4px;border:1px solid var(--reader-line);border-radius:0;text-align:center;background:#20221d;color:var(--reader-paper);font:inherit;font-size:14px;font-variant-numeric:tabular-nums}.book-pagination input::-webkit-inner-spin-button,.book-pagination input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.book-go{padding:7px;min-width:32px;font-size:12px;text-decoration:underline;text-underline-offset:3px}
.book-stage{height:clamp(320px,44vw,660px);position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:24px 36px;background:#292d25}
#flipbook{width:100%;height:100%;min-width:0!important;min-height:0!important;outline:none}
.book-leaf{background:white;color:#20221d;overflow:hidden}.book-leaf>img{width:100%;height:100%;object-fit:contain;background:white;user-select:none}.book-image-error{position:absolute;inset:15%;font-size:15px;line-height:1.7;color:#20221d;text-align:center;display:flex;align-items:center}.book-image-error[hidden]{display:none}
.book-fallback{position:absolute;inset:24px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}.book-fallback>img{max-width:70%;max-height:85%;width:auto;height:auto;object-fit:contain}.book-fallback figcaption{font-size:13px}.book-fallback a{color:var(--accent);text-decoration:underline;text-underline-offset:4px}.book-ready .book-fallback{display:none}
.book-reader-bottom{min-height:60px;padding:12px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px;color:var(--reader-muted);font-size:12px;line-height:1.5;border-top:1px solid var(--reader-line)}#book-position{color:var(--reader-paper);font-variant-numeric:tabular-nums;white-space:nowrap}#book-feedback:empty{display:none}#book-feedback{max-width:35ch;color:var(--accent)}
.book-index{position:absolute;z-index:7;top:77px;left:0;bottom:0;width:min(430px,100%);padding:25px;background:#20221d;border-right:1px solid var(--reader-line);overflow:auto;color:var(--reader-paper)}.book-index-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.book-index h2{font-size:25px;line-height:1.2;letter-spacing:-.025em}.book-chapters{margin:22px 0}.book-chapters button{width:100%;padding:15px 0;min-height:48px;display:flex;justify-content:space-between;gap:20px;text-align:left;background:none;color:inherit;border:0;border-bottom:1px solid var(--reader-line);font:inherit;font-size:14px;cursor:pointer}.book-chapters button:hover,.book-chapters button[aria-current]{color:var(--accent)}.book-chapters button>span:last-child{font-variant-numeric:tabular-nums;color:var(--reader-muted)}
.book-page-grid summary{padding:14px 0;cursor:pointer;font-size:14px;min-height:44px}.book-page-grid>div{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:14px}.book-page-grid button{background:none;border:1px solid transparent;color:inherit;padding:0;font:inherit;cursor:pointer;text-align:left}.book-page-grid button[aria-current],.book-page-grid button:hover{border-color:var(--accent)}.book-page-grid img{width:100%;height:auto;aspect-ratio:4/3;background:white}.book-page-grid button>span{display:block;padding:6px;font-size:12px}
.book-zoom{position:absolute;inset:0;overflow:auto;display:flex;align-items:flex-start;gap:1px;background:#292d25;overscroll-behavior:contain;touch-action:pan-x pan-y}.book-zoom[hidden]{display:none}.book-zoom>img{width:max(1000px,100%);max-width:none;height:auto;flex:0 0 auto;background:white;user-select:none}
.book-reader:fullscreen,.book-reader.is-expanded{position:fixed;inset:0;width:100%;height:100dvh;margin:0;display:flex;flex-direction:column;z-index:500}.book-reader:fullscreen .book-stage,.book-reader.is-expanded .book-stage{flex:1;height:auto;min-height:0}.book-reader:fullscreen .book-toolbar,.book-reader.is-expanded .book-toolbar{flex-shrink:0}.book-expanded{overflow:hidden}
.book-reading-tools{display:flex;align-items:start;justify-content:space-between;gap:32px;padding-top:25px;padding-bottom:65px;font-size:13px;line-height:1.65;color:var(--muted)}.book-reading-tools>p a{text-decoration:underline;text-underline-offset:4px}.book-page-text{width:55%;max-width:760px}.book-page-text summary{cursor:pointer;color:var(--ink);min-height:44px;padding:7px 0}.book-page-text h3{font-size:15px;margin:22px 0 10px;color:var(--ink)}.book-page-text p{white-space:pre-line;font-size:15px;line-height:1.7}.book-other-editions{padding-top:65px;padding-bottom:90px;border-top:1px solid var(--line)}.book-other-editions h2{margin-bottom:35px}.book-other-editions>a{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:25px 0;border-bottom:1px solid var(--line);font-size:clamp(24px,3vw,40px);letter-spacing:-.025em;line-height:1.2}.book-other-editions small{display:block;font-size:12px;margin-top:10px;letter-spacing:0;color:var(--muted)}
@media(max-width:1100px){.book-editions{gap:22px}.book-edition h3{font-size:26px}.book-heading>div:not(.book-heading-bottom){display:block}.book-heading>div>p{margin-top:20px;max-width:60ch}.book-toolbar{flex-wrap:wrap;padding:12px 16px}.book-pagination{order:3;flex-basis:100%;border-top:1px solid var(--reader-line);padding-top:8px}.book-toolbar-options{margin-left:auto}.book-index{top:120px}.book-stage{height:clamp(340px,52vw,590px);padding:20px}.book-reader-bottom{flex-wrap:wrap;gap:6px 18px}.book-hint{margin-left:auto}}
@media(max-width:767px){.book-library{padding-top:60px;padding-bottom:65px}.book-library-intro{grid-template-columns:1fr;gap:24px;margin-bottom:30px}.book-library h2{font-size:40px}.book-library-intro>p{font-size:16px}.book-editions{grid-template-columns:1fr;gap:44px}.book-preview{padding:32px 18px 58px}.book-edition-copy{padding-top:20px}.book-edition h3{font-size:30px}.book-edition-copy>p{min-height:0}.book-meta{margin:16px 0 12px}.library-heading{padding-bottom:40px}.library-heading h1{font-size:13vw}.library-note{display:block;padding-top:30px;padding-bottom:45px}.library-note a{margin-top:25px;white-space:normal}.book-heading{padding-top:110px;padding-bottom:28px}.book-heading>.back-link{margin-bottom:22px}.book-heading h1{font-size:41px}.book-heading>div>p{font-size:15px}.book-heading-bottom{align-items:start;gap:15px;line-height:1.5;font-size:11px}.book-heading-bottom .line-link{font-size:12px;gap:7px;white-space:nowrap}.book-reader{margin:0 10px}.book-toolbar{padding:9px 10px;gap:7px}.reader-control{font-size:12px;padding:9px 7px;gap:6px}.book-toolbar-options #book-share span{display:none}.book-toolbar-options{gap:0}.book-toolbar-view{gap:1px}.book-pagination{gap:7px}.book-index{top:112px;padding:20px}.book-index h2{font-size:24px}.book-stage{height:clamp(270px,86vw,540px);padding:12px}.book-reader-bottom{padding:12px 15px;display:block;font-size:11px}.book-hint{margin-top:5px}.book-hint::after{content:' Swipe horizontally on mobile.'}.book-reading-tools{display:block;padding-top:18px;padding-bottom:45px}.book-page-text{width:100%;margin-bottom:18px}.book-other-editions{padding-top:45px;padding-bottom:60px}.book-other-editions h2{font-size:40px}.book-other-editions>a{font-size:28px}.book-fallback>img{max-width:100%}.book-reader:fullscreen .book-stage,.book-reader.is-expanded .book-stage{max-height:none}}
@media(prefers-reduced-motion:reduce){.book-preview-spread,.book-preview:hover .book-preview-spread{transform:none;transition:none}.book-hint{display:none}}
@media(max-width:767px){.book-feature{grid-template-columns:1fr;gap:35px}.book-feature-copy>p{font-size:16px}.book-feature .book-preview{padding:32px 16px 58px}.book-feature-actions{gap:24px}}
