:root{color-scheme:light;--bg:#f4eee6;--paper:#fffbf5;--ink:#2c2523;--muted:#766b64;--line:#e3d8ca;--accent:#942c30;--soft:#f4e7de;--reader-font:'Literata',Georgia,serif;--reader-size:20px;--reader-width:68ch;--reader-leading:1.9}
html[data-reader-theme="light"]{--bg:#f2f2f2;--paper:#fff;--ink:#242424;--muted:#696969;--line:#dedede;--accent:#962b31;--soft:#f5e9e9}
html[data-reader-theme="night"]{color-scheme:dark;--bg:#111215;--paper:#1b1c20;--ink:#e8dfd0;--muted:#aaa093;--line:#343136;--accent:#d4ad70;--soft:#302b27}
html[data-reader-font="sans"]{--reader-font:'Poppins',system-ui,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:'Poppins',system-ui,sans-serif}a{color:inherit}button,input{font:inherit}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.reading-progress{position:fixed;inset:0 0 auto;z-index:30;height:3px;background:transparent}.reading-progress span{display:block;height:100%;width:0;background:var(--accent);transition:width .1s linear}
.reader-bar{height:72px;position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:0 clamp(1rem,3vw,3rem);background:var(--paper);border-bottom:1px solid var(--line)}
.reader-brand{display:flex;align-items:center;gap:.7rem;text-decoration:none;flex:none}.brand-seal{display:grid;place-items:center;width:36px;height:36px;border-radius:6px;background:#902b30;color:#fff;font-size:1.2rem}.brand-copy{display:flex;flex-direction:column;line-height:1.1}.brand-copy strong{font-size:.72rem;letter-spacing:.12em}.brand-copy small{margin-top:.3rem;font-size:.55rem;color:var(--muted);letter-spacing:.15em}
.reader-bar-center{display:flex;align-items:center;gap:.65rem;color:var(--muted);font-size:.62rem;font-weight:600;letter-spacing:.12em}.reader-bar-center strong{color:var(--ink)}.bar-divider,.meta-divider{width:1px;height:16px;background:var(--line)}.reader-actions{display:flex;align-items:center;gap:1rem}.reader-home{font-size:.72rem;color:var(--muted);text-decoration:none}.reader-home:hover{text-decoration:underline}.reader-button{display:flex;align-items:center;gap:.5rem;padding:.65rem .8rem;color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:6px;cursor:pointer;font-size:.7rem}.reader-button span:first-child{font-family:Georgia,serif;font-size:1rem;font-weight:700}
.reader-layout{max-width:1600px;margin:auto;display:grid;grid-template-columns:245px minmax(0,1fr);align-items:start}.chapter-rail{position:sticky;top:72px;max-height:calc(100dvh - 72px);overflow-y:auto;padding:2.2rem 1.3rem;border-right:1px solid var(--line)}.rail-label{display:flex;justify-content:space-between;gap:.3rem;color:var(--muted);font-size:.56rem;letter-spacing:.12em;font-weight:600}.chapter-rail h2{margin:1.55rem 0 .2rem;font:600 1.7rem/1.1 'Cormorant Garamond',Georgia,serif}.rail-subtitle{margin:0;color:var(--muted);font-size:.68rem;line-height:1.5}.rail-heading{margin:1.9rem 0 .65rem;font-size:.57rem;letter-spacing:.12em;color:var(--muted);font-weight:700}.chapter-rail nav,.mobile-chapters nav{display:grid;gap:.2rem}.chapter-link{display:flex;align-items:flex-start;gap:.65rem;padding:.58rem .6rem;color:var(--muted);text-decoration:none;border-radius:5px;font-size:.66rem;line-height:1.45}.chapter-link b{color:var(--accent);font-size:.62rem;flex:none}.chapter-link[aria-current="page"]{color:var(--ink);background:var(--soft);font-weight:600}.chapter-link:hover{background:var(--soft)}.rail-footnote{padding-top:1.3rem;border-top:1px solid var(--line);color:var(--muted);font-size:.62rem;line-height:1.6}.rail-footnote a{display:block;color:var(--accent);text-decoration:none}
.reader-content{min-width:0;padding:0 clamp(1rem,4vw,4rem) 5rem}.reader-toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;height:52px;color:var(--muted);font-size:.65rem;letter-spacing:.05em}.resume-reading{border:0;background:none;color:var(--accent);font-size:.65rem;font-weight:600;cursor:pointer}.resume-reading[hidden]{display:none}.reader-toolbar>a{text-decoration:none}.reader-toolbar>a:hover{color:var(--accent)}.mobile-chapters{display:none}
.reader-hero{position:relative;isolation:isolate;overflow:hidden;min-height:390px;display:grid;place-items:center;text-align:center;background:#302422;border-radius:10px;color:#fff7ec}.reader-hero-art{position:absolute;inset:0;z-index:-2;background:url('/assets/inline/tile-volume-1.webp') center 35%/cover no-repeat;filter:saturate(.65)}.reader-hero::after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(26,15,16,.85),rgba(26,15,16,.55),rgba(26,15,16,.85)),linear-gradient(0deg,rgba(20,13,14,.75),transparent 70%)}.reader-hero-inner{padding:2.5rem 1.5rem;max-width:760px}.hero-overline{display:flex;justify-content:center;align-items:center;gap:.65rem;font-size:.58rem;letter-spacing:.18em;font-weight:600;color:#e9cdc1}.chapter-number{margin:1.1rem 0 -.7rem;font:500 5rem/.8 'Cormorant Garamond',Georgia,serif;opacity:.28}.chapter-label{font-size:.62rem;letter-spacing:.2em;color:#f0d5bd}.reader-hero h1{font:600 clamp(2.1rem,4.5vw,3.5rem)/1.05 'Cormorant Garamond',Georgia,serif;max-width:680px;margin:1rem auto}.hero-rule{display:flex;align-items:center;justify-content:center;gap:.8rem;color:#e5bfa8;font-size:1.15rem}.hero-credit{position:absolute;bottom:.55rem;right:.7rem;color:#e4d2c6;font-size:.56rem}
.reading-meta{max-width:var(--reader-width);margin:2rem auto 0;display:flex;align-items:center;gap:.7rem;color:var(--muted);font-size:.6rem;letter-spacing:.08em;font-weight:600}.meta-spacer{flex:1}.reading-meta a{color:var(--accent);letter-spacing:0;font-size:.68rem;text-decoration:none}.chapter-prose{max-width:var(--reader-width);margin:2.2rem auto 0;font-family:var(--reader-font);font-size:var(--reader-size);line-height:var(--reader-leading);overflow-wrap:break-word}.chapter-prose p{margin:0 0 1.25em}.chapter-prose p.prose-poem{padding-left:1.4em;font-style:italic}.chapter-prose p.scene-break{text-align:center;letter-spacing:.35em;color:var(--muted);margin:2em 0}.chapter-prose p:first-child:not(.scene-break)::first-letter{float:left;margin:.07em .12em 0 0;color:var(--accent);font:600 3.8em/.72 'Cormorant Garamond',Georgia,serif}.end-ornament{max-width:var(--reader-width);margin:3.5rem auto;color:var(--accent);display:flex;align-items:center;justify-content:center;gap:1rem}.end-ornament span{width:65px;height:1px;background:var(--line)}
.chapter-navigation{max-width:var(--reader-width);margin:auto;display:grid;grid-template-columns:1fr 1fr;gap:.8rem}.chapter-navigation a{display:flex;flex-direction:column;gap:.45rem;padding:1rem;border:1px solid var(--line);border-radius:7px;background:var(--paper);text-decoration:none}.chapter-navigation a:last-child{text-align:right}.chapter-navigation a:hover{border-color:var(--accent)}.chapter-navigation small{font-size:.58rem;letter-spacing:.08em;color:var(--accent);font-weight:700}.chapter-navigation strong{font:600 1rem/1.3 'Cormorant Garamond',Georgia,serif}.chapter-navigation a[aria-disabled="true"]{opacity:.45;pointer-events:none}.reader-attribution{max-width:var(--reader-width);margin:2rem auto;color:var(--muted);font-size:.65rem;line-height:1.6}.reader-attribution a{color:var(--accent)}
.settings-panel{position:fixed;z-index:40;right:clamp(.6rem,3vw,2rem);top:82px;width:min(340px,calc(100vw - 1.2rem));max-height:calc(100dvh - 95px);overflow:auto;padding:1.25rem;background:var(--paper);border:1px solid var(--line);border-radius:10px;box-shadow:0 18px 60px #0003}.settings-panel[hidden]{display:none}.settings-heading{display:flex;align-items:start;justify-content:space-between}.settings-heading small{color:var(--accent);font-size:.58rem;letter-spacing:.14em;font-weight:700}.settings-heading h2{font:600 1.6rem/1.1 'Cormorant Garamond',Georgia,serif;margin:.3rem 0 0}.settings-heading button{border:0;background:none;color:var(--ink);font-size:1.5rem;cursor:pointer}.settings-panel fieldset{border:0;padding:0;margin:1.3rem 0 0}.settings-panel legend{width:100%;font-size:.7rem;font-weight:600}.settings-panel output{float:right;color:var(--muted);font-weight:400}.settings-choices{display:flex;gap:.4rem;margin-top:.55rem}.settings-choices button,.settings-reset{flex:1;display:flex;align-items:center;justify-content:center;gap:.35rem;padding:.55rem .4rem;border:1px solid var(--line);border-radius:5px;background:var(--paper);color:var(--ink);font-size:.68rem;cursor:pointer}.settings-choices button[aria-pressed="true"]{border-color:var(--accent);color:var(--accent);background:var(--soft)}.swatch{width:12px;height:12px;border-radius:50%;border:1px solid #888}.swatch-paper{background:#e9d9c7}.swatch-light{background:#fff}.swatch-night{background:#25262b}.settings-panel input[type="range"]{width:100%;margin:.65rem 0 0;accent-color:var(--accent)}.settings-reset{width:100%;margin-top:1.2rem}.settings-panel>p{color:var(--muted);font-size:.62rem;line-height:1.5}.no-script{padding:1rem;text-align:center}
@media(max-width:900px){.reader-layout{display:block}.chapter-rail{display:none}.reader-content{padding:0 1rem 4rem}.mobile-chapters{display:block;position:relative}.mobile-chapters summary{cursor:pointer;list-style:none;color:var(--accent);font-weight:600}.mobile-chapters summary::-webkit-details-marker{display:none}.mobile-chapters nav{position:absolute;z-index:10;top:1.8rem;left:50%;transform:translateX(-50%);width:min(320px,85vw);max-height:55vh;overflow:auto;padding:.5rem;background:var(--paper);border:1px solid var(--line);border-radius:7px;box-shadow:0 12px 35px #0003}}
@media(max-width:600px){.reader-bar{height:62px;padding:0 .8rem}.brand-copy strong{font-size:.65rem}.brand-copy small{font-size:.5rem}.reader-bar-center,.reader-home{display:none}.reader-button{padding:.55rem;font-size:0}.reader-button span:first-child{font-size:1rem}.reader-hero{min-height:315px}.reader-hero-inner{padding:2.2rem 1rem}.reader-hero h1{font-size:2.3rem}.reader-content{padding:0 .8rem 3rem}.reading-meta{margin-top:1.5rem}.chapter-prose{margin-top:1.5rem}.chapter-navigation a{padding:.75rem}.chapter-navigation strong{font-size:.9rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.reading-progress span{transition:none}}

.skip-link{position:fixed;top:-100px;left:1rem;z-index:100;padding:.7rem 1rem;background:var(--paper);color:var(--ink);border:2px solid var(--accent);border-radius:5px}.skip-link:focus{top:.5rem}

/* Reader library: volume first, with distinct paths to reading and context. */
[hidden]{display:none!important}.is-library .reading-progress,.is-library .reader-bar-center{display:none}.library{max-width:1320px;margin:auto;padding:clamp(3rem,7vw,6rem) clamp(1rem,5vw,4rem) 5rem}.library-intro{max-width:770px;margin-bottom:3rem}.library-kicker{display:block;color:var(--accent);font-size:.65rem;font-weight:700;letter-spacing:.16em}.library-intro h1{font:600 clamp(3rem,6vw,5.5rem)/.98 'Cormorant Garamond',Georgia,serif;letter-spacing:-.025em;margin:1rem 0}.library-intro h1 em,.volume-feature h2 em{font-weight:500}.library-intro p,.library-section-heading p{max-width:55ch;color:var(--muted);line-height:1.75;font-size:.9rem}.volume-feature{min-height:510px;display:grid;grid-template-columns:1fr 1fr;background:#211c20;color:#fff7ee;border-radius:12px;overflow:hidden}.volume-feature-art{position:relative;min-height:380px;background:linear-gradient(90deg,transparent 70%,#211c20),url('/assets/inline/tile-volume-1.webp') center/cover}.volume-feature-art span{position:absolute;bottom:.7rem;left:1rem;font-size:.6rem;color:#eee}.volume-feature-copy{align-self:center;padding:clamp(2rem,5vw,5rem)}.volume-feature .library-kicker{color:#dbbb9e}.volume-feature h2{font:600 clamp(2.7rem,4.5vw,4.4rem)/1.02 'Cormorant Garamond',Georgia,serif;margin:1.2rem 0}.volume-feature-copy p{color:#e4d9d2;font-size:.9rem;line-height:1.75;max-width:48ch}.volume-feature .volume-count{color:#d8c3ac;font-size:.65rem;letter-spacing:.08em;text-transform:uppercase;margin:1.5rem 0}.library-actions{display:flex;align-items:center;gap:1rem 1.4rem;flex-wrap:wrap}.library-actions a,.library-primary{font-size:.72rem;font-weight:600;text-decoration:none}.library-primary{display:inline-block;padding:.95rem 1.2rem;border-radius:5px;background:#f8f2e9;color:#241d1d}.library-actions a:not(.library-primary){color:#fff;text-decoration:underline;text-underline-offset:4px}.library-section-heading{display:flex;align-items:end;justify-content:space-between;gap:2rem;margin:5rem 0 2rem}.library-section-heading h2,.library-guide h2{font:600 clamp(2.5rem,4vw,3.8rem)/1 'Cormorant Garamond',Georgia,serif;margin:.6rem 0 0}.library-section-heading p{max-width:38ch;margin:0}.library-tabs{display:flex;gap:.3rem;border-bottom:1px solid var(--line);margin-bottom:1.5rem}.library-tabs button{border:0;border-bottom:3px solid transparent;background:none;color:var(--muted);font-size:.75rem;font-weight:600;padding:1rem;cursor:pointer}.library-tabs button[aria-pressed=true]{color:var(--accent);border-color:var(--accent)}.library-chapter-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem}.library-chapter{min-height:112px;display:flex;align-items:flex-start;gap:.8rem;padding:1.2rem;text-decoration:none;background:var(--paper);border:1px solid var(--line);border-radius:7px}.library-chapter:hover{border-color:var(--accent)}.library-chapter span:first-child{color:var(--accent);font-size:.68rem;font-weight:700}.library-chapter strong{flex:1;font:600 1.2rem/1.2 'Cormorant Garamond',Georgia,serif}.library-chapter span:last-child{color:var(--muted)}.library-guide{display:grid;grid-template-columns:1fr 1fr;gap:3rem;padding:clamp(1.5rem,4vw,3rem);background:var(--soft);border-radius:8px}.library-guide p{color:var(--muted);font-size:.85rem;line-height:1.8;max-width:56ch}.library-guide .library-primary{background:var(--ink);color:var(--paper);margin-top:.5rem}.guide-links{display:grid;align-content:center}.guide-links a{display:flex;justify-content:space-between;padding:1rem 0;border-bottom:1px solid var(--line);font-size:.8rem;text-decoration:none}.guide-links a:hover{color:var(--accent)}.library-note{color:var(--muted);font-size:.68rem;line-height:1.7;margin-top:3rem}.library-note a{color:var(--accent)}
@media(max-width:750px){.library{padding-top:3rem}.volume-feature{grid-template-columns:1fr}.volume-feature-art{min-height:260px;background-image:linear-gradient(0deg,#211c20,transparent 60%),url('/assets/inline/tile-volume-1.webp')}.volume-feature-copy{padding:1rem 1.5rem 2rem}.library-section-heading{display:block;margin-top:3.5rem}.library-section-heading p{margin-top:1rem}.library-chapter-list{grid-template-columns:repeat(2,minmax(0,1fr))}.library-guide{grid-template-columns:1fr;gap:1.5rem}}
@media(max-width:420px){.library-chapter-list{grid-template-columns:1fr}.library-chapter{min-height:75px}.library-intro h1{font-size:3rem}}
.library-preface{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.3rem 1rem;align-items:center;margin:0 0 1rem;padding:1.4rem 1.5rem;border:1px solid var(--line);border-left:3px solid var(--accent);border-radius:7px;background:var(--paper);text-decoration:none}.library-preface span{color:var(--accent);font-size:.6rem;letter-spacing:.12em;font-weight:700}.library-preface strong{font:600 1.7rem/1.1 'Cormorant Garamond',Georgia,serif}.library-preface small{color:var(--muted);font-size:.7rem;line-height:1.5}.library-preface b{grid-column:2;grid-row:1/4;color:var(--accent)}.library-preface:hover{border-color:var(--accent)}
/* A proper book entrance before the in-progress volume and chapter shelves. */
.book-introduction{display:grid;grid-template-columns:minmax(210px,330px) minmax(0,1fr);gap:clamp(2rem,5vw,5rem);align-items:center;margin-bottom:clamp(4rem,8vw,7rem)}
.book-cover img{display:block;width:100%;height:auto;box-shadow:0 20px 50px #1b121229;border-radius:3px}
.book-cover>span{display:block;margin-top:.8rem;color:var(--muted);font-size:.58rem;letter-spacing:.12em}
.book-introduction-copy h1{font:600 clamp(3rem,5.5vw,5.2rem)/.98 'Cormorant Garamond',Georgia,serif;letter-spacing:-.025em;margin:1rem 0}.book-introduction-copy h1 em{font-weight:500}
.book-byline{font:500 .75rem/1.6 'Poppins',sans-serif;color:var(--muted);letter-spacing:.02em}.book-byline span{margin:0 .4rem}
.book-introduction-copy h2{font:600 1.7rem/1.1 'Cormorant Garamond',Georgia,serif;margin:2rem 0 .7rem}.book-introduction-copy>p:not(.book-byline){font:400 1rem/1.8 'Literata',Georgia,serif;max-width:66ch;margin:.6rem 0;color:var(--ink)}
.book-facts{display:flex;flex-wrap:wrap;gap:1rem 2rem;margin:1.6rem 0}.book-facts div{min-width:110px}.book-facts dt{color:var(--muted);font-size:.58rem;letter-spacing:.12em;text-transform:uppercase;font-weight:700}.book-facts dd{margin:.3rem 0 0;font-size:.75rem}.book-actions{display:flex;align-items:center;flex-wrap:wrap;gap:1rem 1.5rem}.book-actions a{font-size:.72rem;font-weight:600;text-decoration:none}.book-actions a:not(.library-primary){color:var(--accent);text-decoration:underline;text-underline-offset:4px}
@media(max-width:750px){.book-introduction{grid-template-columns:minmax(0,1fr);gap:1.8rem}.book-cover{max-width:210px}.book-introduction-copy h1{font-size:clamp(2.8rem,10vw,4.2rem)}}
@font-face{font-family:'Cormorant Garamond';src:url('/assets/fonts/cormorant-garamond-latin-wght-normal.woff2') format('woff2');font-style:normal;font-weight:300 700;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Cormorant Garamond';src:url('/assets/fonts/cormorant-garamond-latin-wght-italic.woff2') format('woff2');font-style:italic;font-weight:300 700;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Literata';src:url('/assets/fonts/literata-latin-wght-normal.woff2') format('woff2');font-style:normal;font-weight:200 900;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Literata';src:url('/assets/fonts/literata-latin-wght-italic.woff2') format('woff2');font-style:italic;font-weight:200 900;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Poppins';src:url('/assets/fonts/poppins-latin-400-normal.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Poppins';src:url('/assets/fonts/poppins-latin-500-normal.woff2') format('woff2');font-style:normal;font-weight:500;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Poppins';src:url('/assets/fonts/poppins-latin-600-normal.woff2') format('woff2');font-style:normal;font-weight:600;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Poppins';src:url('/assets/fonts/poppins-latin-700-normal.woff2') format('woff2');font-style:normal;font-weight:700;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
.book-actions .library-primary{background:var(--accent);color:#fff}
html[data-reader-theme="night"] .book-actions .library-primary{color:#191713}

/* Reading room: a quiet, coherent palette with the encyclopedia's artwork. */
:root{--bg:#f7f1e9;--paper:#fffbf6;--ink:#292522;--muted:#625951;--line:#dfd2c4;--accent:#842b2b;--soft:#f2e7dc}
html[data-reader-theme="light"]{--bg:#f9f6f1;--paper:#fffefa;--ink:#252523;--muted:#5f5d59;--line:#dfdcd5;--accent:#842b2b;--soft:#f1ece6}
html[data-reader-theme="night"]{--bg:#101216;--paper:#1a1d22;--ink:#ede8df;--muted:#b7b3aa;--line:#393e45;--accent:#dfc18e;--soft:#252a30}
body.is-library{background-image:linear-gradient(color-mix(in srgb,var(--bg) 94%,transparent),var(--bg) 90%),url('/assets/bg-light-pure.webp');background-position:center top;background-size:cover;background-attachment:fixed}
html[data-reader-theme="night"] body.is-library{background-image:linear-gradient(color-mix(in srgb,var(--bg) 94%,transparent),var(--bg) 90%),url('/assets/bg-dark-pure.webp')}
.book-introduction{align-items:start}.book-cover{position:sticky;top:100px}.book-synopsis{max-width:66ch;font:400 1rem/1.85 'Literata',Georgia,serif;color:var(--ink)}
.book-synopsis p{margin:0 0 .6em}.book-synopsis blockquote{margin:1.4rem 0 0;padding:.1rem 0 .1rem 1.2rem;border-left:2px solid var(--accent);font-style:italic}.book-synopsis blockquote p{margin:0}
html[data-reader-theme="night"] .brand-seal{background:#383d43;color:#f4e6ca}
html[data-reader-theme="night"] .opening-eyebrow-logo{filter:invert(1)}
@media(max-width:750px){.book-cover{position:static}.book-synopsis{font-size:.98rem;line-height:1.8}}

/* The Reader entrance — a cinematic cover followed by an editorial synopsis. */
.is-library .library{max-width:none;padding:0 0 5rem}
.book-introduction{display:block;margin:0}
.book-opening{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr) minmax(270px,.62fr);gap:clamp(2rem,5vw,7rem);align-items:center;min-height:min(780px,calc(100svh - 72px));padding:clamp(3rem,6vw,6rem) max(6vw,calc((100vw - 1320px)/2));overflow:hidden;background:#18191b;color:#f8f2e8}
.opening-art{position:absolute;z-index:-2;inset:0;background:url('/assets/bg-dark-pure.webp') center 32%/cover no-repeat;opacity:.30;filter:grayscale(.75)}
.book-opening::after{content:'';position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,rgba(15,17,20,.96) 0%,rgba(19,20,23,.9) 45%,rgba(19,20,23,.72) 100%)}
.opening-copy{align-self:stretch;display:flex;flex-direction:column;justify-content:center;min-width:0}
.opening-eyebrow{display:flex;align-items:center;gap:1rem;color:#d5c4aa;font-size:.62rem;letter-spacing:.19em;font-weight:600}.opening-eyebrow-logo{width:1.5rem;height:1.5rem;border-radius:50%;flex-shrink:0}
.opening-edition{margin:clamp(3rem,7vw,6rem) 0 1.3rem;font-size:.63rem;letter-spacing:.22em;color:#c8bdad;font-weight:600}
.book-introduction-copy h1,.book-opening h1{font:500 clamp(4.7rem,8.4vw,8.9rem)/.78 'Cormorant Garamond',Georgia,serif;letter-spacing:-.045em;margin:0;max-width:9em}.book-opening h1 em{font-weight:400}.opening-period{color:#e6c99f}
.opening-chinese{margin:1.8rem 0 0;color:#d6c6af;font-size:.72rem;letter-spacing:.19em}.opening-chinese span{padding:0 .35rem;color:#a99f92}
.book-opening .book-byline{margin:1.7rem 0 0;color:#e1d8cc;font-size:.72rem;letter-spacing:0}
.book-opening .book-actions{margin:2.2rem 0 0;gap:1.2rem 1.7rem}.book-opening .book-actions a{font-size:.73rem}.book-opening .book-actions .library-primary{background:#f4eee4;color:#1c1c1c;padding:1rem 1.3rem;border-radius:2px}.book-opening .book-actions .library-primary span{margin-left:1.6rem}.book-opening .book-actions a:not(.library-primary){color:#f5eadb;text-decoration:none;border-bottom:1px solid #a79c8c;padding:.8rem 0}.book-opening .book-actions a:hover{opacity:.8}
.opening-bottom{display:flex;justify-content:space-between;gap:1rem;margin-top:clamp(3.5rem,7vw,6rem);padding-top:1rem;border-top:1px solid #ffffff38;color:#d4c9bb;font-size:.55rem;letter-spacing:.15em}
.book-opening .book-cover{position:relative;top:auto;width:min(100%,340px);max-width:none;justify-self:center}.cover-overline,.book-cover .cover-caption{display:flex;justify-content:space-between;align-items:center;margin:0 0 .8rem;color:#e3d6c6;font-size:.57rem;letter-spacing:.16em}.cover-frame{position:relative;padding:8px;border:1px solid #ffffff55;box-shadow:0 30px 90px #0008}.book-opening .book-cover img{border-radius:0;box-shadow:none}.book-cover .cover-caption{margin:.8rem 0 0}.cover-caption span{margin-left:auto;margin-right:.5rem}
.synopsis-section{display:grid;grid-template-columns:minmax(180px,.6fr) minmax(0,1fr);gap:clamp(3rem,8vw,8rem);max-width:1320px;margin:0 auto;padding:clamp(5rem,10vw,9rem) clamp(1.25rem,5vw,4rem)}
.synopsis-heading{border-top:1px solid var(--line);padding-top:1.2rem}.synopsis-heading h2{font:500 clamp(3.8rem,6vw,6rem)/.9 'Cormorant Garamond',Georgia,serif;letter-spacing:-.04em;margin:1.5rem 0}.synopsis-heading h2::after{content:".";color:var(--accent)}.synopsis-heading>p{margin:2.5rem 0 0;color:var(--muted);font-size:.58rem;letter-spacing:.15em;line-height:1.8}
.synopsis-body{border-top:1px solid var(--line);padding-top:1.3rem;min-width:0}.book-synopsis{max-width:57ch;font:400 clamp(1rem,1.25vw,1.12rem)/1.9 'Literata',Georgia,serif}.book-synopsis>p{margin:0 0 .8em}.book-synopsis>p:first-child{font:500 clamp(1.35rem,2vw,1.75rem)/1.45 'Cormorant Garamond',Georgia,serif;margin:0 0 1.6rem}.book-synopsis blockquote{margin:2.1rem 0 0;padding:.3rem 0 .3rem 1.4rem;border-left:1px solid var(--accent);font:italic 500 clamp(1.1rem,1.7vw,1.4rem)/1.65 'Cormorant Garamond',Georgia,serif}
.synopsis-body .book-facts{padding:1.5rem 0;margin:2.2rem 0 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.synopsis-read{display:inline-flex;gap:2.5rem;align-items:center;margin-top:1.6rem;color:var(--accent);font-size:.72rem;font-weight:600;text-decoration:none}.synopsis-read:hover{text-decoration:underline}
.is-library .volume-feature,.is-library .library-section-heading,.is-library .library-tabs,.is-library #library-chapters,.is-library #library-guide,.is-library .library-note{max-width:calc(1320px - 8vw);margin-left:auto;margin-right:auto}
@media(max-width:1400px){.is-library .volume-feature,.is-library .library-section-heading,.is-library .library-tabs,.is-library #library-chapters,.is-library #library-guide,.is-library .library-note{margin-left:clamp(1rem,5vw,4rem);margin-right:clamp(1rem,5vw,4rem)}}
@media(max-width:750px){.book-opening{grid-template-columns:minmax(0,1fr) minmax(110px,.48fr);min-height:0;gap:1rem;padding:3rem 1.2rem 2rem}.opening-eyebrow{font-size:.53rem;letter-spacing:.1em}.opening-eyebrow-logo{display:none}.opening-edition{margin:3rem 0 1rem;font-size:.55rem;letter-spacing:.1em}.book-opening h1{font-size:clamp(3.4rem,10.5vw,5rem)}.opening-chinese{font-size:.58rem;letter-spacing:.1em}.book-opening .book-byline{font-size:.65rem;line-height:1.7}.book-opening .book-actions{align-items:flex-start;gap:.5rem;flex-direction:column}.book-opening .book-actions a{font-size:.68rem}.opening-bottom{margin-top:3rem;font-size:.5rem}.opening-bottom span:last-child{display:none}.cover-overline,.book-cover .cover-caption{font-size:.46rem;letter-spacing:.05em}.cover-frame{padding:4px}.synopsis-section{grid-template-columns:1fr;gap:1rem;padding:4.5rem 1.2rem}.synopsis-heading h2{margin:1rem 0}.synopsis-heading>p{display:none}.synopsis-body{border:0;padding:0}.synopsis-body .book-facts{gap:1.2rem}}
@media(max-width:390px){.book-opening{grid-template-columns:minmax(0,1fr) 106px}.book-opening h1{font-size:3.25rem}.opening-eyebrow{font-size:.47rem}.book-opening .book-actions .library-primary span{margin-left:.5rem}.cover-overline{font-size:.42rem}}

/* Chapter discovery begins at Volume I, not in the entrance header. */
.is-library .reader-home{display:none}

/* The entrance follows the selected reading theme, including Paper. */
html:not([data-reader-theme="night"]) .book-opening{background:#f2e9dd;color:#292522}
html:not([data-reader-theme="night"]) .opening-art{background-image:url('/assets/bg-light-pure.webp');opacity:.22;filter:grayscale(.55)}
html:not([data-reader-theme="night"]) .book-opening::after{background:linear-gradient(90deg,rgba(249,245,238,.97) 0%,rgba(249,245,238,.92) 48%,rgba(249,245,238,.78) 100%)}
html:not([data-reader-theme="night"]) .opening-eyebrow,html:not([data-reader-theme="night"]) .opening-edition,html:not([data-reader-theme="night"]) .opening-chinese,html:not([data-reader-theme="night"]) .book-opening .book-byline,html:not([data-reader-theme="night"]) .opening-bottom,html:not([data-reader-theme="night"]) .cover-overline,html:not([data-reader-theme="night"]) .book-cover .cover-caption{color:#554a41}
html:not([data-reader-theme="night"]) .opening-chinese span{color:#77695d}
html:not([data-reader-theme="night"]) .opening-period{color:var(--accent)}

html:not([data-reader-theme="night"]) .opening-bottom{border-color:#b8a99a}
html:not([data-reader-theme="night"]) .cover-frame{border-color:#b8a99a;box-shadow:0 30px 80px #4c392321}
html:not([data-reader-theme="night"]) .book-opening .book-actions .library-primary{background:#342a26;color:#fffaf4}
html[data-reader-theme="light"] .book-opening{background:#f8f7f3}
html[data-reader-theme="light"] .book-opening::after{background:linear-gradient(90deg,rgba(255,254,250,.97) 0%,rgba(255,254,250,.93) 48%,rgba(255,254,250,.80) 100%)}
