@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@300;400;500;600;700&family=Roboto:wght@300;400;500;600;700&display=swap');
:root{--plum:#993366;--deep:#51203d;--plum-dark:#72254d;--ink:#302a2d;--muted:#726a6b;--cream:#faf7f2;--paper:#fffefa;--line:#e6ddd9;--gold:#d6a76a;--serif:'Roboto Slab',Georgia,serif;--sans:'Roboto',Arial,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:var(--sans);font-size:17px;line-height:1.6;color:var(--ink);background:var(--paper);-webkit-font-smoothing:antialiased}body.drawer-open{overflow:hidden}img{max-width:100%;height:auto}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #d6a76a;outline-offset:3px}.skip-link,.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip-link:focus{clip:auto;width:auto;height:auto;top:6px;left:6px;padding:9px 15px;background:#fff;color:var(--ink);z-index:10000}.eyebrow{text-transform:uppercase;font-weight:700;letter-spacing:.17em;font-size:.72rem;line-height:1.5}.eyebrow-purple{color:var(--plum)}.heading-period{color:#d8a76a}
.site-header{height:84px;background:var(--paper);border-bottom:1px solid #e8e0d8;position:relative;z-index:100}.header-inner{height:100%;display:flex;align-items:center;max-width:1600px;margin:auto;padding:0 5%;gap:27px}.icon-button{display:flex;align-items:center;gap:11px;border:none;background:none;color:var(--ink);padding:10px 0;font-weight:600;font-size:14px}.hamburger{width:21px;display:grid;gap:4px}.hamburger i{width:100%;height:2px;background:var(--plum);display:block}.brand{display:flex;gap:10px;align-items:center;font:600 19px/1 var(--serif);white-space:nowrap;margin-right:auto}.brand img{object-fit:contain}.header-links{display:flex;gap:33px;margin-right:12px}.header-links a{font-size:14px;font-weight:500}.header-links a:hover,.header-search-link:hover{color:var(--plum)}.header-search-link{border:1px solid #c9b9c0;padding:11px 19px;border-radius:3px;font-size:14px;font-weight:600;display:flex;align-items:center;gap:10px}.header-menu-label{color:#61565c}
.hero{min-height:680px;background:var(--plum);color:#fff;display:grid;grid-template-columns:minmax(0,1.07fr) minmax(0,.93fr);position:relative;overflow:hidden}.hero-text{position:relative;z-index:2;padding:75px 8% 85px max(8%,calc((100vw - 1440px)/2));max-width:830px;align-self:center}.hero-meta{display:flex;align-items:center;gap:14px;text-transform:uppercase;letter-spacing:.16em;font-size:11px;font-weight:600;color:#ffe6ef}.round-mark{width:35px;height:35px;border:1px solid #dcb3cb;border-radius:50%;display:grid;place-items:center;font-size:20px}.hero h1{font:300 clamp(76px,8.1vw,142px)/.99 var(--serif);letter-spacing:-.075em;margin:35px 0 27px}.hero h1 em{font-style:normal;color:#f2d4df}.hero-period{color:var(--gold)}.hero-description{font:300 clamp(18px,1.8vw,25px)/1.48 var(--serif);max-width:560px;margin:0 0 14px}.hero-edition{font-size:13px;color:#f2cfdc;margin:0 0 35px}.hero-actions{display:flex;align-items:center;gap:35px;flex-wrap:wrap}.button{padding:17px 23px;font-size:14px;font-weight:700;border-radius:3px;display:inline-flex;justify-content:space-between;gap:35px;align-items:center;min-width:184px;transition:transform .16s,background .16s}.button:hover{transform:translateY(-2px)}.button-light{background:white;color:var(--deep)}.button-dark{background:var(--plum);color:white}.hero-text-link{font-size:13px;font-weight:600;border-bottom:1px solid #d9aebe;padding:12px 0}.hero-text-link span{margin-left:12px}.hero-art{position:relative;min-height:640px;background:radial-gradient(ellipse at 60% 43%,#ae557d 0%,#8e2e5d 44%,#722047 100%);overflow:hidden}.art-orbit{border:1px solid #d9a2bf80;position:absolute;border-radius:50%;width:500px;height:500px;left:50%;top:46%;transform:translate(-50%,-50%)}.orbit-two{width:690px;height:690px;opacity:.55}.art-disc{position:absolute;border-radius:50%;box-shadow:inset -35px -35px 70px #65234430,0 20px 50px #4d153d30}.disc-one{width:360px;height:360px;background:#db9eaf;left:34%;top:13%}.disc-two{width:245px;height:245px;background:#e5caba;left:6%;top:45%}.disc-three{width:185px;height:185px;background:#a36e9c;right:8%;top:57%}.art-star{position:absolute;top:29%;left:48%;font-size:190px;line-height:1;color:#f8f0de;text-shadow:0 4px 22px #6c265748}.art-caption{font:300 16px/1.5 var(--serif);position:absolute;bottom:11%;left:14%;letter-spacing:.03em}.hero-side-note{position:absolute;bottom:33px;right:24px;writing-mode:vertical-rl;letter-spacing:.2em;font-size:10px;color:#e5bacf}
.start-strip{background:#f3eee7}.start-strip-inner{max-width:1400px;padding:70px 5%;margin:auto;display:grid;grid-template-columns:1.3fr 1fr auto;gap:60px;align-items:center}.start-strip h2{font:300 clamp(26px,2.8vw,41px)/1.3 var(--serif);letter-spacing:-.04em;margin:9px 0 0}.start-strip p{font-size:15px;color:#5f5959;max-width:410px}.text-arrow{color:var(--plum);white-space:nowrap;font-weight:700;font-size:14px}.text-arrow span{margin-left:11px}
.explore-section{max-width:1420px;margin:auto;padding:95px 5% 120px}.section-heading{display:flex;justify-content:space-between;gap:30px;align-items:end;margin-bottom:39px}.section-heading h2{font:300 clamp(45px,5vw,68px)/1.1 var(--serif);letter-spacing:-.07em;margin:9px 0 0}.section-heading p{color:var(--muted);font-size:14px;margin:0 0 8px}.parts-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.part-card{padding:34px 40px 24px;border-radius:4px;display:flex;flex-direction:column;min-width:0}.part-lilac{background:#eee5f0}.part-peach{background:#faede4}.part-sage{background:#e8eee7}.part-blue{background:#e8eff2}.part-rose{background:#f6e9e9}.part-butter{background:#f4f0df}.part-top{display:flex;justify-content:space-between;align-items:center}.part-number{font-size:12px;letter-spacing:.14em;font-weight:700;color:var(--plum)}.part-symbol{font-size:39px;color:var(--plum);line-height:1}.part-card h3{font:400 clamp(27px,2.8vw,39px)/1.2 var(--serif);letter-spacing:-.05em;max-width:490px;margin:18px 0 7px}.part-card h3 a:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}.part-card-subtitle{font-size:13px;color:#6a5b62;margin:0 0 20px}.part-chapters{border-top:1px solid #0002;margin-top:auto}.part-chapters a{display:flex;align-items:baseline;gap:16px;padding:12px 0;border-bottom:1px solid #0002;font-size:14px}.part-chapters a:hover strong{color:var(--plum)}.part-chapters a span:first-child{font-size:12px;color:var(--plum);font-weight:700;min-width:19px}.part-chapters a strong{font-weight:500;flex:1}.part-chapters .chapter-arrow{color:var(--plum)}.part-read{display:flex;justify-content:space-between;align-items:center;color:var(--plum);font-size:13px;font-weight:700;margin-top:21px}.part-read span{font-size:19px}
.closing-band{background:#eee4de;display:grid;grid-template-columns:.65fr 1.5fr 1fr;gap:40px;align-items:center;padding:82px max(5%,calc((100vw - 1320px)/2))}.closing-symbol{font-size:170px;color:#a35c7b;line-height:1}.closing-band h2{font:300 clamp(32px,3.8vw,58px)/1.12 var(--serif);letter-spacing:-.06em;margin:12px 0}.closing-band p{font-size:15px;color:#6b6162}.closing-actions{display:grid;gap:18px;justify-content:start}.closing-actions>a:last-child{font-size:14px;font-weight:700;color:var(--plum)}
.site-footer{background:#311d2a;color:#fff}.footer-inner{max-width:1450px;padding:52px 5% 34px;margin:auto;display:grid;grid-template-columns:1fr 1fr;gap:35px}.footer-brand{display:flex;align-items:center;gap:15px}.footer-brand strong{display:block;font:500 20px var(--serif)}.footer-brand small{display:block;font-size:12px;color:#dbc6d0}.site-footer nav{display:flex;gap:24px;align-items:center;justify-content:flex-end}.site-footer nav a{font-size:13px;color:#e9dbe1}.site-footer nav a:hover{text-decoration:underline}.site-footer p{grid-column:1/-1;border-top:1px solid #ffffff25;padding-top:21px;margin:0;color:#cbb9c2;font-size:12px}
/* Drawer */
.drawer-overlay{position:fixed;inset:0;z-index:600;background:#23131db3}.drawer-overlay[hidden]{display:none}.contents-drawer{position:fixed;top:0;bottom:0;left:0;max-width:100%;width:460px;background:#fffefa;z-index:601;overflow:auto;overscroll-behavior:contain;transform:translateX(-105%);transition:transform .25s ease;box-shadow:20px 0 55px #1808123d}.drawer-open .contents-drawer{transform:translateX(0)}.drawer-top{display:flex;justify-content:space-between;align-items:start;padding:29px 31px 19px;border-bottom:1px solid var(--line)}.drawer-top .eyebrow{color:var(--plum)}.drawer-top h2{font:300 45px var(--serif);margin:0;letter-spacing:-.06em}.drawer-close{border:0;background:#f1e7e9;color:var(--plum);border-radius:50%;height:39px;width:39px;font-size:27px;line-height:1}.drawer-search{margin:20px 30px;display:flex;background:#f4efec;border:1px solid #e5d9da;border-radius:3px}.drawer-search input{width:100%;min-width:0;border:0;background:transparent;padding:13px 15px;outline-offset:0}.drawer-search button{border:0;background:transparent;color:var(--plum);font-size:22px;padding:0 17px}.drawer-list{padding:0 30px 40px}.drawer-top-link{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);font-weight:600;font-size:15px;padding:14px 0}.drawer-top-link span{color:var(--plum)}.drawer-part{border-bottom:1px solid var(--line)}.drawer-part summary{display:flex;gap:13px;align-items:center;cursor:pointer;padding:18px 0;font:500 17px/1.4 var(--serif);list-style:none}.drawer-part summary::-webkit-details-marker{display:none}.drawer-part summary::after{content:'+';margin-left:auto;font:24px var(--sans);color:var(--plum)}.drawer-part[open] summary::after{content:'−'}.drawer-part-letter{font:700 13px var(--sans);color:var(--plum);background:#f4e6ec;border-radius:50%;height:30px;min-width:30px;display:grid;place-items:center}.drawer-part-items{padding:0 0 16px 43px}.drawer-part-intro{display:block;font-style:italic;font-size:13px;color:var(--plum);padding:5px 0 13px}.drawer-chapter{display:flex;gap:13px;font-size:14px;line-height:1.35;padding:9px 0}.drawer-chapter:hover,.drawer-chapter.is-current{color:var(--plum)}.drawer-chapter-num{color:var(--plum);min-width:20px;font-weight:700}.drawer-chapter.is-current{font-weight:700}
/* Reading */
.reading-shell{display:grid;grid-template-columns:minmax(240px,29%) minmax(0,1fr);min-height:calc(100vh - 84px)}.reading-rail{background:#f4efe9;border-right:1px solid var(--line)}.reading-rail-inner{padding:65px 10% 60px max(10%,calc((100vw - 1480px)/2));position:sticky;top:20px}.reading-rail-title{display:block;font:400 31px/1.2 var(--serif);letter-spacing:-.055em;margin-top:15px}.rail-divider{height:2px;width:55px;background:var(--plum);margin:32px 0}.rail-current{font:400 18px/1.4 var(--serif);color:var(--plum);margin-bottom:26px}.rail-toc{background:transparent;color:var(--plum);border:1px solid #c9a4b7;border-radius:3px;padding:11px 15px;text-align:left;font-size:13px;font-weight:700}.rail-toc:hover{background:#e8dce0}.rail-next{margin-top:100px;border-top:1px solid #d8cbc8;padding-top:20px}.rail-next a{display:block;font:400 17px/1.4 var(--serif);margin-top:9px}.rail-next a span{color:var(--plum)}.reading-main{min-width:0;padding:34px min(8vw,100px) 110px}.reading-breadcrumb{font-size:12px;color:#877b79;margin:0 0 75px;display:flex;gap:10px;flex-wrap:wrap}.reading-breadcrumb a:hover{color:var(--plum);text-decoration:underline}.book-article{max-width:730px;margin:0 auto}.reading-heading h1{font:300 clamp(41px,4.25vw,69px)/1.16 var(--serif);letter-spacing:-.065em;margin:14px 0 35px}.reading-rule{height:1px;background:var(--line);position:relative;margin-bottom:45px}.reading-rule:before{content:'';height:4px;width:80px;background:var(--plum);position:absolute;left:0;top:-2px}.reading-body{font-size:18px;line-height:1.78}.reading-body h2,.reading-body h3,.reading-body h4{font:400 var(--serif);letter-spacing:-.035em;line-height:1.3;margin:52px 0 12px}.reading-body h2{font-size:29px;color:var(--plum)}.reading-body h3{font-size:24px}.reading-body h4{font-size:20px}.reading-body p{margin:0 0 1.35em}.reading-body ul,.reading-body ol{padding-left:1.6em;margin:0 0 1.4em}.reading-body li{margin-bottom:.4em}.reading-body a:not(.chapter-nav a){color:#8d2d63;text-decoration:underline;text-underline-offset:3px}.reading-body blockquote{font:300 23px/1.5 var(--serif);color:var(--plum);border-left:4px solid var(--plum);padding-left:25px;margin:30px 0}.reading-body .quotation{font:300 20px/1.65 var(--serif);color:var(--plum)}.reading-body .attribution{text-align:right;color:#7b6771;font-size:15px}.reading-body .cross-reference{font-style:italic;color:#6e6365}.reading-body .single-passage{position:relative;scroll-margin-top:25px;margin-bottom:22px}.single-passage:target{background:#fff6d8;outline:11px solid #fff6d8}.passage-number{position:absolute;left:-76px;top:0;font:500 13px var(--serif);color:var(--plum);line-height:1.7}.passage-number a{text-decoration:none!important}.chapter-nav{border-top:1px solid var(--line);margin:75px 0 0;padding-top:25px;display:flex;justify-content:space-between;gap:30px;font-size:15px}.chapter-nav .previous,.chapter-nav .next{max-width:50%}.chapter-nav .next{text-align:right}.chapter-nav p{margin:0 0 6px}.chapter-nav .label{font:700 11px var(--sans);color:var(--muted);letter-spacing:.13em;text-transform:uppercase}.chapter-nav a{color:var(--plum);font-weight:600}.reading-body img{max-width:100%}
/* Search */
.search-shell{background:var(--paper);min-height:72vh}.search-intro{background:#f2ece9;padding:94px 5% 72px;text-align:center}.search-intro>.eyebrow{color:var(--plum)}.search-intro h1{font:300 clamp(50px,6vw,84px)/1.12 var(--serif);letter-spacing:-.07em;margin:16px 0}.search-intro h1 span{color:var(--plum)}.search-intro p{color:#766a6c;max-width:560px;margin:0 auto 35px;font-size:16px}.large-search{max-width:730px;margin:auto;display:flex;align-items:center;gap:14px;background:#fff;border:1px solid #d6c8c7;padding:8px 8px 8px 20px;box-shadow:0 12px 30px #4b223311}.large-search svg{color:var(--plum);flex-shrink:0}.large-search input{flex:1;min-width:0;border:0;padding:12px 0;background:#fff;outline-offset:0}.large-search button{border:0;background:var(--plum);color:#fff;font-size:14px;font-weight:700;padding:15px 24px;white-space:nowrap}.large-search button span{margin-left:13px}.search-content{max-width:940px;padding:72px 5% 110px;margin:auto}.search-empty{text-align:center;max-width:600px;margin:0 auto}.search-empty h2{font:300 31px var(--serif);margin:10px 0}.search-empty p{color:var(--muted)}.search-empty a{color:var(--plum);text-decoration:underline}.empty-symbol{font-size:70px;color:#c69bb2}.results-header{display:flex;justify-content:space-between;gap:20px;align-items:end;border-bottom:1px solid var(--line);padding-bottom:26px}.results-header h2{font:400 25px var(--serif);letter-spacing:-.04em;margin:8px 0 0}.results-header h2 span{font:400 17px var(--sans);color:var(--muted)}.results-header>a{color:var(--plum);font-size:13px;font-weight:600;white-space:nowrap}.result-list{list-style:none;padding:0;margin:0}.result-list li{display:grid;grid-template-columns:70px minmax(0,1fr);gap:18px;padding:28px 0;border-bottom:1px solid var(--line)}.result-index{font:500 18px var(--serif);color:var(--plum);padding-top:2px}.result-list h3{font:400 22px var(--serif);letter-spacing:-.03em;margin:7px 0}.result-list h3 a:hover{text-decoration:underline}.result-list h3 span{color:var(--plum);font-size:17px}.result-list p{font-size:15px;line-height:1.7;color:#61595b;margin:10px 0 0}.result-list mark{background:#f4e2b0;padding:1px 2px;color:inherit}.pagination{display:flex;justify-content:center;gap:40px;align-items:center;margin-top:40px;font-size:14px}.pagination a{color:var(--plum);font-weight:700}.generic-page{min-height:65vh;max-width:800px;margin:auto;padding:120px 5%}.generic-page h1{font:300 clamp(40px,6vw,70px) var(--serif);letter-spacing:-.06em}.generic-page p{max-width:580px}.generic-actions{display:flex;align-items:center;gap:30px;flex-wrap:wrap;margin-top:30px}
@media(max-width:1100px){.header-links{display:none}.start-strip-inner{grid-template-columns:1.1fr 1fr;gap:25px}.start-strip .text-arrow{grid-column:2}.hero{min-height:620px}.hero-art{min-height:620px}.reading-shell{grid-template-columns:240px minmax(0,1fr)}.reading-main{padding-left:6%;padding-right:6%}}
@media(max-width:850px){.hero{grid-template-columns:1fr}.hero-text{padding:70px 8% 65px}.hero h1{font-size:clamp(72px,13vw,110px)}.hero-art{position:absolute;opacity:.24;inset:0 0 0 45%;min-height:0}.hero-side-note{display:none}.start-strip-inner{grid-template-columns:1fr}.start-strip .text-arrow{grid-column:auto}.parts-grid{grid-template-columns:1fr}.reading-shell{grid-template-columns:1fr}.reading-rail{display:none}.reading-main{padding:30px 9% 85px}.reading-breadcrumb{margin-bottom:50px}.passage-number{position:static;font-size:13px;display:inline-block;margin:7px 0 10px}.reading-body .single-passage{margin-bottom:25px}.closing-band{grid-template-columns:100px 1fr;gap:15px}.closing-symbol{font-size:100px}.closing-actions{grid-column:2}}
@media(max-width:550px){.site-header{height:68px}.header-inner{padding:0 5%;gap:12px}.header-menu-label{display:none}.brand{font-size:16px;gap:7px}.brand img{width:30px;height:30px}.header-search-link{border:0;padding:8px}.header-search-link span{display:none}.hero{min-height:600px}.hero-text{padding:70px 7%}.hero h1{font-size:clamp(68px,18vw,97px)}.hero-description{font-size:18px}.hero-actions{gap:18px}.hero-text-link{font-size:12px}.art-disc.disc-one{left:10%}.start-strip-inner{padding:50px 7%}.explore-section{padding:65px 5% 75px}.section-heading{display:block}.section-heading p{margin-top:15px}.part-card{padding:26px 23px}.part-card h3{font-size:29px}.closing-band{padding:60px 7%;grid-template-columns:1fr}.closing-symbol{font-size:80px}.closing-actions{grid-column:auto}.footer-inner{grid-template-columns:1fr}.site-footer nav{justify-content:flex-start;flex-wrap:wrap}.reading-main{padding:26px 7% 75px}.reading-heading h1{font-size:40px}.reading-body{font-size:17px}.reading-body .quotation{font-size:18px}.reading-breadcrumb{margin-bottom:42px}.search-intro{padding:70px 6% 52px}.large-search{gap:7px;padding-left:10px}.large-search button{padding:12px 13px}.large-search button span{display:none}.search-content{padding:50px 6% 85px}.results-header{display:block}.results-header>a{display:inline-block;margin-top:18px}.result-list li{grid-template-columns:47px minmax(0,1fr);gap:10px}.result-list h3{font-size:19px}.contents-drawer{width:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.contents-drawer,.button{transition:none}}


/* qfp8 v1.1: reader-friendly typography, aligned contents, sticky navigation.
   Functional text is at least 16px; only ornamental labels may be smaller. */
.site-header{
 position:sticky;
 top:0;
 z-index:500;
}
body.admin-bar .site-header{top:32px}
@media(max-width:782px){body.admin-bar .site-header{top:46px}}
@media(max-width:600px){body.admin-bar .site-header{top:0}}
/* Ensure page anchors aren't hidden behind the fixed-in-view header. */
html{scroll-padding-top:105px}
#explore,.single-passage,.reading-body [id]{scroll-margin-top:105px}
.reading-rail-inner{top:104px}

/* Every reading label, menu link, search result and actionable control is >=16px. */
.icon-button,.header-links a,.header-search-link,
.button,.hero-text-link,.hero-edition,.text-arrow,
.start-strip p,.section-heading p,
.part-card-subtitle,.part-chapters a,.part-read,
.closing-band p,.closing-actions>a:last-child,
.footer-brand small,.site-footer nav a,.site-footer p,
.drawer-top-link,.drawer-part-intro,.drawer-chapter,.rail-toc,
.reading-breadcrumb,.reading-body .attribution,.passage-number,
.chapter-nav,.chapter-nav .label,.large-search button,
.results-header>a,.result-list p,.pagination,
.drawer-search input,.large-search input{
 font-size:16px;
}
/* Chapter numbers are navigational, not merely ornamental. */
.part-chapters a span:first-child,.drawer-chapter-num{font-size:16px}
/* Keep contents lists immediately beneath each card's heading/subtitle. */
.part-chapters{margin-top:0}
.part-card{justify-content:flex-start}
/* Numbers and prose should remain comfortably readable on small screens. */
@media(max-width:850px){
 .passage-number{font-size:16px}
}
@media(max-width:550px){
 .hero-text-link,.reading-breadcrumb,.passage-number{font-size:16px}
 .part-chapters a{font-size:16px}
}

/* qfp8 v1.2: chapter context and mirrored previous/next navigation. */
.reading-rail-title{font-size:clamp(23px,2.2vw,30px);line-height:1.3;overflow-wrap:anywhere}
.reading-rail-inner{max-height:calc(100vh - 110px);overflow-y:auto;overscroll-behavior:contain}
.reading-rail .rail-toc{margin-top:5px;font-size:16px}
.reading-rail .rail-chapter-nav{display:flex;flex-direction:column;align-items:stretch;gap:22px;margin-top:40px;padding-top:22px}
.reading-rail .rail-chapter-nav .previous,.reading-rail .rail-chapter-nav .next{max-width:none;text-align:left}
.reading-rail .rail-chapter-nav a{display:inline-block;font-size:17px;line-height:1.5;text-decoration:none}
.reading-rail .rail-chapter-nav a:hover{text-decoration:underline;text-underline-offset:3px}
.reading-rail .rail-chapter-nav .label{font-size:16px}
.reading-breadcrumb{line-height:1.5}
@media(max-width:1100px){.reading-rail-inner{padding-left:7%;padding-right:7%}}

/* qfp8 v1.3: first link in every part card opens its introduction. */
.part-chapters .part-introduction-link {
  color:var(--plum);
  font-size:16px;
  align-items:center;
}
.part-introduction-link .chapter-arrow {margin-left:auto;}
.part-chapters .part-introduction-link strong {font-weight:700;}

/* qfp8 v1.4: client-reviewed homepage. Keep the established fonts and colours,
   remove generated editorial flourishes, and use supplied artwork subtly. */
.home-intro {
 display:grid;
 grid-template-columns:minmax(0, 1.05fr) minmax(0, .95fr);
 min-height:520px;
 background:var(--plum);
}
.home-intro-brand {
 position:relative;
 overflow:hidden;
 color:#fff;
 display:flex;
 align-items:center;
 padding:72px clamp(34px, 6.8vw, 115px);
}
.home-intro-brand::before {
 content:"";
 position:absolute;
 inset:0;
 background:url('../images/contour-white.png') center center / cover no-repeat;
 opacity:.11;
 pointer-events:none;
}
.home-intro-brand-content {position:relative;z-index:1;max-width:620px;}
.home-intro h1 {
 font:400 clamp(55px, 6.2vw, 92px)/1.04 var(--serif);
 letter-spacing:-.06em;
 margin:0 0 27px;
}
.home-book-subtitle {
 font:400 clamp(19px, 2vw, 25px)/1.5 var(--serif);
 margin:0 0 18px;
 max-width:550px;
}
.home-edition {font-size:17px;line-height:1.6;margin:0 0 23px;color:#f6eaf0;}
.home-copyright {font-size:16px;margin:0;line-height:1.6;}
.home-copyright a {text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px;}
.home-copyright a:hover {text-decoration-thickness:2px;}
.home-first-steps {
 background:#f6f1eb;
 display:flex;
 flex-direction:column;
 justify-content:center;
 padding:58px clamp(32px, 5vw, 90px);
 color:var(--deep);
}
.home-first-steps h2 {
 font:400 clamp(30px, 3.2vw, 45px)/1.2 var(--serif);
 letter-spacing:-.04em;
 margin:0 0 26px;
}
.home-reading-options {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
.home-reading-option {
 display:flex;
 flex-direction:column;
 gap:5px;
 min-height:108px;
 padding:22px 26px;
 border-radius:5px;
 border:2px solid #b996a9;
 background:#fffdfa;
 color:var(--deep);
 transition:background .15s,border-color .15s;
}
.home-reading-option:hover {background:#fff;border-color:var(--plum);}
.home-reading-option-first {border-color:var(--plum);}
.home-reading-option-book {background:var(--deep);color:white;border-color:var(--deep);}
.home-reading-option-book:hover {background:#622846;border-color:#622846;}
.home-reading-option-title {font:600 clamp(19px, 1.8vw, 23px)/1.3 var(--serif);}
.home-reading-option-desc {font-size:16px;line-height:1.4;}
.home-reading-option em {font-style:italic;}
.home-explore-link {
 align-self:start;
 margin-top:24px;
 font-size:17px;
 line-height:1.5;
 font-weight:700;
 color:var(--plum);
 text-decoration:underline;
 text-underline-offset:5px;
}
.home-explore-link:hover {color:var(--deep);}
/* Compact, top-aligned parts without decorative glyphs or chapter-count captions. */
.explore-section {padding-top:82px;padding-bottom:95px;}
.section-heading {margin-bottom:32px;}
.section-heading h2 {margin:0;font-size:clamp(39px,4.3vw,57px);}
.part-card {justify-content:flex-start;gap:0;}
.part-card h3 {margin:14px 0 24px;}
.part-card .part-chapters {margin-top:0;}
.part-chapters a {font-size:17px;line-height:1.45;align-items:flex-start;}
.part-chapters .part-introduction-link {font-size:17px;}
.part-chapters .chapter-number {font-size:16px;min-width:22px;flex:0 0 22px;}
.part-chapters .part-pdf-link {color:var(--ink);}
.part-pdf-pending {
 display:flex;
 justify-content:space-between;
 align-items:flex-start;
 flex-wrap:wrap;
 gap:4px 14px;
 border-bottom:1px solid #0002;
 padding:12px 0;
 line-height:1.45;
 font-size:16px;
 color:#5e5558;
}
.part-pdf-pending strong {font-weight:500;}
.part-pdf-pending span {font-size:16px;color:#696165;}
.drawer-pdf-pending {color:#655b5d;display:block;}
.drawer-pdf-pending small {font-size:16px;color:#776e72;}
.drawer-part-intro {font-size:16px;font-style:normal;font-weight:600;}
/* Copyright is fixed to the source's 2026 date, never the current year. */
.site-footer .footer-legal {
 grid-column:1/-1;
 display:flex;
 flex-wrap:wrap;
 justify-content:space-between;
 align-items:center;
 gap:10px 24px;
 padding-top:24px;
 border-top:1px solid #ffffff35;
}
.site-footer .footer-legal p {grid-column:auto;border:0;padding:0;font-size:16px;line-height:1.6;color:#fff;margin:0;}
.site-footer .footer-legal a {font-weight:700;text-decoration:underline;text-underline-offset:3px;}
.site-footer .footer-legal a:hover {color:#fff6c9;}
@media(max-width:1000px) {
 .home-intro {grid-template-columns:1fr 1fr;}
 .home-intro-brand {padding:58px 7%;}
 .home-first-steps {padding:58px 7%;}
}
@media(max-width:790px) {
 .home-intro {grid-template-columns:1fr;}
 .home-intro-brand {min-height:365px;}
 .home-intro-brand::before {background-position:center 45%;}
 .home-first-steps {padding:45px 7% 55px;}
 .home-reading-options {grid-template-columns:repeat(2,minmax(0,1fr));}
 .home-reading-option {min-height:125px;}
}
@media(max-width:550px) {
 .home-intro-brand {padding:55px 7%;min-height:345px;}
 .home-intro h1 {font-size:clamp(52px,15vw,78px);}
 .home-book-subtitle {font-size:19px;}
 .home-reading-options {grid-template-columns:1fr;}
 .home-first-steps h2 {font-size:32px;}
 .home-reading-option {min-height:0;}
 .part-card h3 {margin-bottom:22px;}
 .site-footer .footer-legal {display:block;}
 .site-footer .footer-legal p + p {margin-top:8px;}
}


/* qfp8 v1.5: quotations are body type with a colour distinction only. */
.reading-body .quotation,
.reading-body blockquote {
 font-family:var(--sans);
 font-size:inherit;
 font-weight:inherit;
 font-style:normal;
 line-height:inherit;
 color:var(--plum);
}
.reading-body blockquote {
 border:0;
 padding:0;
 margin:0 0 1.35em;
}

/* Sticky header: navigation left; book name and supplied Q-logo right. */
.site-header {height:84px;}
.header-inner {display:flex;align-items:center;justify-content:space-between;gap:24px;}
.header-primary {display:flex;align-items:center;gap:24px;min-width:0;}
.header-primary .icon-button {flex-shrink:0;gap:10px;font-size:16px;font-weight:600;min-height:44px;}
.header-primary .header-menu-label {display:inline;color:var(--ink);}
.header-primary .header-scene-link {font-size:16px;font-weight:500;white-space:nowrap;min-height:44px;display:inline-flex;align-items:center;}
.header-primary .header-scene-link:hover {color:var(--plum);text-decoration:underline;text-underline-offset:4px;}
.header-primary .header-search-link {font-size:16px;min-height:44px;white-space:nowrap;padding:10px 15px;margin:0;}
.header-primary .header-search-link span {display:inline;}
.header-primary .header-search-link svg {flex-shrink:0;}
.header-inner .brand {margin:0;display:flex;flex-shrink:0;align-items:center;gap:13px;font-size:20px;line-height:1.2;}
.header-inner .brand img {width:46px;height:46px;object-fit:contain;}

/* The book's Introduction belongs under the homepage Contents heading. */
.contents-introduction-link {display:inline-block;font-size:18px;font-weight:600;line-height:1.5;margin-top:17px;color:var(--plum);text-decoration:underline;text-underline-offset:5px;}
.contents-introduction-link:hover {color:var(--deep);}

/* Two-line mobile header keeps all three navigation choices legible. */
@media(max-width:760px) {
 .site-header {height:auto;}
 .header-inner {display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:59px 53px;gap:0;padding:0 5%;}
 .header-inner .brand {grid-row:1;justify-self:end;gap:9px;font-size:18px;}
 .header-inner .brand img {width:38px;height:38px;}
 .header-primary {grid-row:2;grid-column:1;justify-content:space-between;gap:8px;border-top:1px solid var(--line);}
 .header-primary .icon-button {gap:8px;}
 .header-primary .header-search-link {padding:8px 11px;}
 .header-primary .header-scene-link {padding:0 3px;}
 html {scroll-padding-top:132px;}
 #explore,.single-passage,.reading-body [id] {scroll-margin-top:132px;}
}
@media(max-width:375px) {
 .header-inner {padding-left:3%;padding-right:3%;}
 .header-primary {gap:4px;}
 .header-primary .header-search-link {padding:7px 8px;gap:5px;}
 .header-primary .header-scene-link {font-size:16px;}
 .header-primary .icon-button {gap:6px;}
 .header-primary .header-search-link svg {display:none;}
}


/* qfp8 v1.6: prominent Introduction entry in the homepage contents. */
.contents-introduction-link {
 display:flex;
 align-items:center;
 justify-content:space-between;
 width:min(100%, 440px);
 min-height:88px;
 padding:22px 27px;
 margin-top:24px;
 border-left:5px solid var(--plum);
 border-radius:3px;
 background:#eee5f0;
 color:var(--deep);
 font:600 clamp(22px, 2vw, 25px)/1.3 var(--sans);
 text-decoration:none;
 box-shadow:0 2px 0 #0000000b;
}
.contents-introduction-link::after {content:"→";font-size:27px;color:var(--plum);margin-left:18px;}
.contents-introduction-link:hover {background:#e7d9e9;color:var(--plum);}
.contents-introduction-link:focus-visible {outline:3px solid var(--plum);outline-offset:3px;}
/* Retain recognisable underlined links within editorial text. */
.book-article .reading-body a[href^="/chapter/"],
.book-article .reading-body a[href^="/part/"],
.book-article .reading-body a[href*="#passage-"] {text-underline-offset:3px;}
@media(max-width:550px) {
 .contents-introduction-link {width:100%;min-height:80px;padding:18px 22px;font-size:22px;}
}

/* v1.7 — Setting the scene is now rendered from the stored book HTML. */
.reading-body > .date-line {
 font:400 29px/1.3 var(--serif);
 color:var(--plum);
 margin:0 0 1em;
}
