.book-hero{height:100svh;min-height:850px;max-height:1200px;background:#0e1010;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;align-items:center;padding:115px 20px 25px}.book-grain{position:absolute;inset:0;z-index:0;background:linear-gradient(#0005,#0007),url('assets/book/bg.707b1e7c.webp') center/720px;opacity:.75}.book-hero #waves-root{opacity:.2;mix-blend-mode:screen;pointer-events:none}.book-heading,.book-actions,.book-controls,#book-chapters,#book-status,.book-links{position:relative;z-index:2}.book-heading{text-align:center;pointer-events:none}.book-heading p{font-size:9px;letter-spacing:4px;color:#b6b8aa;margin:0 0 12px}.book-heading h1{font-family:var(--serif);font-size:24px;color:#e6e3d7;letter-spacing:3px;margin:0}#book-model{width:100%;flex:1;min-height:420px;position:relative;z-index:1;touch-action:pan-y;cursor:grab;outline-offset:-5px}#book-model canvas{display:block;width:100%;height:100%;opacity:0;transition:opacity 1s}#book-model.is-ready canvas{opacity:1}#book-model.is-dragging{cursor:grabbing}.book-actions{height:42px;display:flex;justify-content:center}.book-open{background:#ffffff08;border:1px solid #e5dfcb70;border-radius:50%;color:#e2e0d5;padding:10px 26px;font-family:var(--serif);font-size:13px;cursor:pointer}.book-open[hidden]{display:none}.book-controls{display:flex;align-items:center;gap:25px;margin:12px 0;color:#cfcec5;font-size:11px}.book-controls button{border:0;background:transparent;color:#e3e0d3;font:30px SiteSerif,serif;cursor:pointer;padding:0 20px}.book-controls button:disabled{opacity:.2;cursor:default}#book-counter{min-width:220px;text-align:center}#book-chapters{display:flex;justify-content:center;gap:9px}#book-chapters button{border:1px solid #e5dfcb20;color:#aaa99f;background:#ffffff04;width:26px;height:26px;border-radius:50%;font-size:8px;cursor:pointer;transition:background .2s,color .2s}#book-chapters button[aria-current=true]{background:#e3dec9;color:#1b2820;border-color:#e3dec9}#book-status{color:#8d928a;font-size:10px;margin:12px 0}.book-links{display:flex;gap:28px;font-size:11px;color:#c5c8bc;margin-top:4px}.book-links button{background:none;color:inherit;border:0;cursor:pointer}.book-hero button:focus-visible,#book-model:focus-visible{outline:2px solid #ece6d0;outline-offset:3px}@media(max-width:700px){.book-hero{padding:150px 8px 24px;min-height:780px;max-height:none}.book-heading h1{font-size:20px}.book-heading p{font-size:8px;letter-spacing:2px}#book-model{min-height:340px}#book-chapters{gap:5px}.book-controls{gap:4px}.book-controls button{padding:0 12px}#book-counter{min-width:230px;font-size:10px}.book-links{font-size:10px}}@media(prefers-reduced-motion:reduce){#book-model canvas{transition:none}}

/* Full hero canvas leaves room for the raised page during a turn. */
#book-model{position:absolute;inset:0;min-height:0;width:100%;height:100%}.book-actions{margin-top:auto}.book-heading{z-index:2}
/* Tactile editorial controls and a compact hanging portrait. */
.book-heading h1{font-family:SiteSerif,serif;font-weight:400;letter-spacing:.14em;font-size:26px}.book-heading p,.book-links{letter-spacing:.12em}.book-open.pill{border-radius:40px;font-family:SiteSans,sans-serif;font-size:12px;letter-spacing:.12em;padding:11px 27px;line-height:1.3;white-space:nowrap;background:linear-gradient(135deg,#ffffff20,#ffffff04);backdrop-filter:blur(18px) saturate(140%);box-shadow:inset 0 1px 0 #ffffff80,0 10px 24px #0003}.book-open.pill:hover{background:linear-gradient(135deg,#ffffff35,#ffffff12);transform:translateY(-2px)}.book-controls{position:static}.book-controls>button{position:absolute;top:48%;z-index:5;width:100px;height:64px;padding:8px;transition:opacity .2s,transform .25s;color:#e9e6dc}.book-controls #book-prev{left:2.5%}.book-controls #book-next{right:2.5%}.book-controls svg{width:100%;height:100%;overflow:visible;transition:transform .35s cubic-bezier(.2,.8,.2,1)}#book-next svg{transform:scaleX(-1)}#book-prev:hover:not(:disabled) svg{transform:translateX(-9px) rotate(-3deg)}#book-next:hover:not(:disabled) svg{transform:scaleX(-1) translateX(-9px) rotate(-3deg)}.book-controls button:active:not(:disabled){scale:.9}.book-controls button:disabled{opacity:.15}.hero-lanyard.hanging-profile{position:absolute;right:0;top:86px;width:clamp(180px,17vw,260px);height:350px;margin:0;z-index:4;overflow:visible}.hero-lanyard #lanyard-root{position:absolute;inset:0;width:100%;height:100%}.hero-lanyard.is-dragging{z-index:8}.hero-lanyard .badge-fallback{top:70px}.hero-lanyard .badge-fallback img{height:230px}.hero-badge-link{position:absolute;bottom:2px;left:0;right:0;text-align:center;font-size:10px;letter-spacing:2px;color:#c6cabb}.hero-lanyard .lanyard{overflow:visible}
@media(max-width:1100px){.hero-lanyard.hanging-profile{height:275px;width:185px}.book-controls>button{width:70px}.book-controls #book-prev{left:0}.book-controls #book-next{right:0}}
@media(max-width:760px){.hero-lanyard.hanging-profile{top:128px;width:128px;height:190px;right:0}.hero-badge-link{font-size:9px}.book-heading{align-self:flex-start;width:65%;margin-top:35px}.book-heading h1{font-size:18px;line-height:1.7;letter-spacing:.08em}.book-heading p{font-size:7px;letter-spacing:.08em}.book-controls>button{width:49px;height:47px;top:58%}.book-controls #book-prev{left:5px}.book-controls #book-next{right:5px}#book-status{font-size:9px;letter-spacing:0}.hero-lanyard .badge-fallback{top:30px}.hero-lanyard .badge-fallback img{height:130px}}
@media(prefers-reduced-motion:reduce){.book-controls svg,.book-controls>button,.book-open.pill{transition:none}}
@media(min-width:761px) and (max-width:1100px){.hero-lanyard.hanging-profile{height:220px;width:155px}.hero-badge-link{bottom:0;font-size:9px}}
@media(max-width:760px){.book-controls>button{top:48%}}
.book-hero .hero-lanyard.hanging-profile{position:absolute;inset:0;width:100%;height:100%;margin:0;pointer-events:none;z-index:6}.book-hero .hero-lanyard #lanyard-root,.book-hero .hero-lanyard .lanyard-canvas{pointer-events:none}.hero-lanyard .badge-fallback{display:none}
.book-hero:not(.book-opened) #book-chapters,.book-hero:not(.book-opened) .book-controls,.book-hero:not(.book-opened) #book-status,.book-hero:not(.book-opened) .book-links{visibility:hidden;pointer-events:none}.book-hero.book-opened .hero-lanyard.hanging-profile{z-index:1}.book-hero.book-opened #book-model{z-index:2}.book-hero .book-heading,.book-hero .book-actions,.book-hero #book-chapters,.book-hero .book-links,.book-hero #book-status{z-index:4}
/* Reveal navigation only when the opening animation has finished. */
.book-hero .book-controls,.book-hero #book-chapters,.book-hero .book-links{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .75s ease,visibility .75s}.book-hero.book-ready .book-controls,.book-hero.book-ready #book-chapters,.book-hero.book-ready .book-links{opacity:1;visibility:visible;pointer-events:auto}.book-hero #book-chapters{height:58px;align-items:center;gap:16px;margin:5px 0 18px;overflow:visible}.book-hero #book-chapters button{position:relative;isolation:isolate;flex:0 0 28px;width:28px;height:28px;padding:0;border:1px solid #e4d9bb55;background:#17201b;border-radius:50%;transition:transform .4s cubic-bezier(.16,1,.3,1),box-shadow .35s,border-color .35s;transform-origin:center center;overflow:visible}.book-hero #book-chapters button img{width:100%;height:100%;object-fit:cover;border-radius:50%;filter:saturate(.7);transition:filter .3s}.book-hero #book-chapters button[aria-current=true]{border-color:#f1dfac;box-shadow:0 0 0 3px #e0cc952a;transform:scale(1.18)}.book-hero #book-chapters button:hover,.book-hero #book-chapters button:focus-visible{z-index:8;transform:translateY(-8px) scale(2.5);border-color:#eddfbc;box-shadow:0 7px 20px #0009}.book-hero #book-chapters button:hover img,.book-hero #book-chapters button:focus-visible img{filter:saturate(1)}.chapter-label{position:absolute;left:50%;bottom:calc(100% + 5px);transform:translateX(-50%);font:5px/1.5 SiteSans,sans-serif;white-space:nowrap;color:#ece4d0;opacity:0;transition:opacity .2s;text-shadow:0 1px 4px #000}.book-hero #book-chapters button:hover .chapter-label,.book-hero #book-chapters button:focus-visible .chapter-label{opacity:1}.book-hero .book-reel.pill{padding:12px 27px;border-radius:40px;font-size:12px;letter-spacing:.08em;gap:8px;background:linear-gradient(135deg,#ffffff24,#ffffff05);backdrop-filter:blur(18px) saturate(145%);border:1px solid #ffffff65;box-shadow:inset 0 1px 0 #ffffff70,0 8px 25px #0003}.book-hero .book-links{margin-bottom:12px}.book-hero #book-status.sr-only{margin:0;padding:0;position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:600px){.book-hero #book-chapters{gap:8px}.book-hero #book-chapters button{flex-basis:22px;width:22px;height:22px}.book-hero #book-chapters button:hover,.book-hero #book-chapters button:focus-visible{transform:translateY(-8px) scale(2)}.book-hero .book-reel.pill{font-size:11px;padding:11px 24px}}@media(prefers-reduced-motion:reduce){.book-hero .book-controls,.book-hero #book-chapters,.book-hero .book-links,.book-hero #book-chapters button{transition:none}}
#book-counter{transition:opacity .2s}.book-hero:has(#book-chapters button:hover) #book-counter,.book-hero:has(#book-chapters button:focus-visible) #book-counter{opacity:0}
.book-hero .book-heading{margin-top:20px;min-height:110px;max-width:calc(100% - 40px);opacity:1;visibility:visible;transform:translateY(0);transition:opacity .55s ease,transform .65s ease,visibility .55s}.book-hero .book-heading h1{font-family:SiteSerif,serif;font-size:clamp(27px,3vw,43px);font-weight:400;line-height:1.5;letter-spacing:.12em;margin:0 0 16px}.book-hero #hero-subtitle{font-family:SiteSerif,serif;font-size:13px;line-height:1.7;letter-spacing:.14em;margin:0;color:#c7c6b9;min-height:24px}.book-hero #hero-subtitle .text-type{text-align:left}.book-hero.book-opened .book-heading{opacity:0;visibility:hidden;transform:translateY(-12px);pointer-events:none}@media(max-width:760px){.book-hero .book-heading{margin-top:35px;width:70%;min-height:120px;max-width:70%}.book-hero .book-heading h1{font-size:25px;line-height:1.6;letter-spacing:.06em;margin-bottom:12px}.book-hero #hero-subtitle{font-size:10px;letter-spacing:.07em;line-height:1.8}}@media(prefers-reduced-motion:reduce){.book-hero .book-heading{transition:none}}
.book-hero:not(.book-opened) .book-actions{transform:translateY(30px)}@media(max-width:760px){.book-hero .book-heading h1{font-size:22px;letter-spacing:.03em}.book-hero #hero-subtitle .text-type{max-width:100%}.book-hero #hero-subtitle{font-size:9px}.book-hero .book-heading{z-index:7}}

/* Enlarged editorial heading with local STZhongsong and interactive split letters. */
.book-hero .book-heading{min-height:205px;width:100%;max-width:calc(100% - 70px)}
.book-hero .book-heading h1{font-family:SiteSerif,serif;font-size:clamp(54px,6vw,86px);line-height:1.35;letter-spacing:.06em;pointer-events:auto;margin-bottom:18px}
.book-hero #hero-subtitle{font-size:26px;min-height:45px}
.book-hero.book-opened .book-heading h1{pointer-events:none}
@media(max-width:760px){.book-hero .book-heading{width:75%;max-width:75%;min-height:230px;margin-top:25px}.book-hero .book-heading h1{font-size:44px;line-height:1.4;letter-spacing:.03em;margin-bottom:14px}.book-hero #hero-subtitle{font-size:18px;line-height:1.6;letter-spacing:.07em}}

.book-hero #hero-title{width:100%}.book-hero #hero-title h1{max-width:100%}.book-hero #hero-title .split-word{white-space:normal!important}@media(max-width:760px){.book-hero #hero-title h1{text-align:left!important}.book-hero .book-heading{z-index:7}}

.book-hero .book-heading h1{font-size:clamp(42px,4.5vw,64px)}.book-hero #hero-subtitle{font-size:20px}@media(max-width:760px){.book-hero .book-heading h1{font-size:32px;max-width:100%;overflow-wrap:anywhere}.book-hero #hero-subtitle{font-size:14px}.book-hero #hero-title .split-word{display:contents!important}}

@media(max-width:760px){.book-hero .book-heading{width:58%;max-width:58%;margin-left:12px;min-height:210px}.book-hero .book-heading h1{font-size:clamp(24px,7.2vw,32px);line-height:1.5}.book-hero #hero-title h1>span{white-space:normal!important;display:grid!important;grid-template-columns:repeat(5,max-content)}.book-hero #hero-subtitle{font-size:clamp(12px,3.4vw,14px);overflow-wrap:anywhere;letter-spacing:.04em}}

/* Keep the heading on a single responsive line above the hanging portrait. */
.book-hero .book-heading{z-index:7;width:calc(100% - 32px);max-width:1100px;align-self:center;margin-left:0}
.book-hero #hero-title h1{white-space:nowrap!important;font-size:clamp(18px,4.5vw,64px);text-align:center!important}
.book-hero #hero-title h1>span{display:inline!important;white-space:nowrap!important}
.book-hero #hero-subtitle{font-size:clamp(9px,1.4vw,20px);white-space:nowrap;letter-spacing:.07em}
.book-hero #hero-subtitle .text-type{white-space:nowrap;text-align:center}
@media(max-width:760px){.book-hero .book-heading{width:calc(100% - 24px);max-width:none;margin:25px 0 0;min-height:150px;align-self:center}.book-hero #hero-title h1{font-size:clamp(17px,6.1vw,46px);line-height:1.4;letter-spacing:.03em}.book-hero #hero-subtitle{font-size:clamp(8px,2.3vw,17px);letter-spacing:.03em}}

/* Anchor the reader controls below the book, independent of heading flow. */
.book-hero #book-counter{position:absolute;top:81%;left:50%;transform:translate(-50%,-50%);width:90%;min-width:0;font-size:clamp(9px,1vw,12px);line-height:1.5;text-align:center}
.book-hero #book-chapters{position:absolute;top:86%;left:50%;transform:translate(-50%,-50%);width:max-content;max-width:94%;height:auto;margin:0;gap:clamp(5px,1.1vw,16px)}
.book-hero #book-chapters button{width:clamp(19px,2.2vw,32px);height:clamp(19px,2.2vw,32px);flex:0 0 clamp(19px,2.2vw,32px)}
.book-hero .book-links{position:absolute;top:93%;left:50%;transform:translate(-50%,-50%);margin:0;justify-content:center;width:max-content;max-width:94%}
.book-hero .book-reel.pill{font-size:clamp(10px,1vw,13px);padding:clamp(10px,1vw,14px) clamp(20px,2vw,30px);white-space:nowrap}
.book-hero .book-controls{margin:0}
