/* The library and reading room share the workshop palette; their rhythm is quieter. */
.stories-page,.reader-page{--bg:#171717;--ink:#ede9df;--muted:#a6a39c;--copper:#d0a783;--line:#ffffff20;background:var(--bg);color:var(--ink);margin:0;font-family:system-ui,-apple-system,sans-serif}.stories-page *,.reader-page *{box-sizing:border-box}.stories-page a,.reader-page a{color:inherit;text-decoration:none}.stories-page button,.reader-page button{font:inherit;cursor:pointer}.stories-page :focus-visible,.reader-page :focus-visible{outline:2px solid var(--copper);outline-offset:5px}.story-wrap{width:min(1320px,calc(100% - 112px));margin-inline:auto}.story-kicker{font:550 10px/1.7 system-ui,sans-serif;text-transform:uppercase;letter-spacing:.19em;color:var(--copper);margin:0}.library-main{overflow:hidden}.library-intro{display:grid;grid-template-columns:1.3fr 1fr;gap:90px;align-items:end;padding:95px 0 75px}.library-intro h1{font:normal clamp(67px,7.6vw,116px)/.98 Georgia,serif;letter-spacing:-.055em;margin:25px 0 0}.library-intro h1 em,.story-feature h2 em,.story-chapters h2 em,.collection-heading h2 em,.forest-content h3 em,.reading-invitation em{font-weight:400;color:var(--copper)}.intro-side{max-width:300px;justify-self:end;padding-bottom:5px}.intro-mark{color:var(--copper);font-size:43px}.intro-side p{font-size:14px;line-height:1.9;color:var(--muted);margin:24px 0 15px}.story-text-link{display:inline-flex;align-items:center;justify-content:space-between;gap:24px;min-height:44px;font-size:11px;letter-spacing:.03em;border-bottom:1px solid var(--line)}.story-text-link:hover{color:var(--copper);border-color:var(--copper)}.story-feature{position:relative;isolation:isolate;overflow:hidden;min-height:650px;display:flex;flex-direction:column;padding:30px 45px 25px;background:#20271c}.feature-art{position:absolute;z-index:-3;top:-40%;left:0;right:0;height:140%;background:none}.feature-overlay{position:absolute;z-index:-2;inset:0;background:linear-gradient(90deg,#101610e8 0%,#10161080 50%,#10161020 90%),linear-gradient(0deg,#101610e8,transparent 50%,#101610a0)}.feature-top,.feature-bottom{display:flex;justify-content:space-between;align-items:center;gap:25px}.feature-top .story-kicker{color:var(--ink)}.feature-index{font-size:9px;color:#ddd7c9;letter-spacing:.16em}.feature-content{padding:75px 0 65px;max-width:520px}.feature-label{margin-bottom:20px;font-size:9px}.story-feature h2{font:normal clamp(65px,6.6vw,104px)/.98 Georgia,serif;letter-spacing:-.055em;margin:0}.feature-content p{font:16px/1.8 Georgia,serif;max-width:320px;color:#d3d0c4;margin:28px 0}.story-button{min-height:48px;display:inline-flex;align-items:center;gap:26px;background:var(--copper);color:#201b17!important;border:1px solid var(--copper);padding:15px 20px;font-size:11px;font-weight:600}.story-button:hover{background:#dfbd9e}.feature-bottom{margin-top:auto;padding-top:20px;border-top:1px solid #ffffff25;font-size:10px;color:#dad5c8}.feature-bottom a{display:flex;gap:16px;align-items:center;min-height:44px}.story-chapters{padding:90px 0 110px;display:grid;grid-template-columns:1fr 1.25fr;gap:95px}.story-chapters h2,.collection-heading h2{font:normal clamp(38px,3.5vw,57px)/1.1 Georgia,serif;letter-spacing:-.04em;margin:22px 0}.chapters-description>p:not(.story-kicker){font-size:13px;line-height:1.9;color:var(--muted);max-width:290px}.chapter-list>a{display:grid;grid-template-columns:35px 1fr 28px;align-items:center;gap:20px;border-bottom:1px solid var(--line);padding:27px 0;min-height:100px}.chapter-list>a:first-child{border-top:1px solid var(--line)}.chapter-index{font:italic 16px Georgia,serif;color:var(--copper)}.chapter-list strong{font:normal 33px Georgia,serif}.chapter-list small{display:block;font-size:9px;letter-spacing:.1em;color:var(--muted);margin-top:7px}.chapter-arrow{font-size:22px;transition:transform .2s}.chapter-list>a:hover strong,.chapter-list>a:hover .chapter-arrow{color:var(--copper)}.chapter-list>a:hover .chapter-arrow{transform:translate(3px,-3px)}.story-collection{border-top:1px solid var(--line);padding:70px 0 80px}.collection-heading{display:flex;justify-content:space-between;align-items:end;gap:60px;margin-bottom:45px}.collection-heading h2{margin-bottom:0}.collection-heading>p{max-width:250px;font-size:13px;line-height:1.9;color:var(--muted)}.forest-story{display:grid;grid-template-columns:1.15fr 1fr;min-height:440px;border:1px solid var(--line);transition:border-color .3s}.forest-story:hover{border-color:#d0a78370}.forest-art{overflow:hidden;min-height:440px}.forest-art img{display:block;width:100%;height:100%;object-fit:cover;filter:saturate(.75);transition:transform .6s}.forest-story:hover img{transform:scale(1.025)}.forest-content{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:45px 55px;background:#1c1c1b}.forest-content h3{font:normal clamp(45px,4.2vw,68px)/1.02 Georgia,serif;letter-spacing:-.04em;margin:25px 0}.forest-content>p{font-size:13px;line-height:1.9;color:var(--muted);max-width:290px;margin:0 0 24px}.reading-invitation{text-align:center;padding:70px 0 100px}.reading-invitation>p{font:normal clamp(45px,5.2vw,80px)/1.1 Georgia,serif;letter-spacing:-.04em;margin:28px 0}.reading-invitation .story-text-link{margin-top:8px}.stories-footer{border-top:1px solid var(--line);display:flex;gap:20px;justify-content:space-between;align-items:center;padding:25px 0;color:var(--muted);font-size:10px}.stories-footer a{display:flex;align-items:center;gap:11px;min-height:44px}.stories-footer a:first-child{font-size:17px;color:var(--ink)}.continue-reading[hidden]{display:none}
/* Reading room */
.reader-page{--reader-font:20px;--reader-paper:#e9e3d5;--read-width:680px}.reader-page.paper-mode{--bg:#e9e3d5;--ink:#292d27;--muted:#5d6255;--copper:#785134;--line:#292d2730;color-scheme:light}.reader-page.dark-mode{color-scheme:dark}.reading-progress{position:fixed;top:0;left:0;right:0;height:3px;z-index:50;background:transparent}.reading-progress>span{display:block;height:100%;width:0;background:var(--copper);transition:width .12s linear}.reader-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 44px;border-bottom:1px solid var(--line);background:var(--bg);position:relative;z-index:10}.reader-back{display:flex;gap:12px;align-items:center;min-height:44px;font-size:12px}.reader-back>span:first-child{font-size:20px}.reader-brand{display:flex;gap:11px;align-items:center;min-height:44px;font-size:19px;letter-spacing:-.04em}.reader-contents-button{display:flex;align-items:center;gap:18px;min-height:44px;background:none;border:0;color:var(--ink);font-size:11px!important}.reader-contents-button>span:last-child{font-size:21px}.reader-main{width:min(1120px,calc(100% - 112px));margin:auto}.reader-path{display:flex;gap:15px;color:var(--muted);font-size:10px;margin:40px 0 60px;align-items:center;flex-wrap:wrap}.reader-path a{padding:12px 0}.reader-layout{display:grid;grid-template-columns:145px minmax(0,680px);gap:75px;justify-content:center;align-items:start}.reader-sidebar{position:sticky;top:40px;padding-top:8px}.font-buttons{display:flex;gap:7px;margin:22px 0 10px}.font-buttons button{min-width:44px;min-height:44px;border:1px solid var(--line);background:none;color:var(--ink);font-size:15px}.font-buttons button:hover:not(:disabled){background:var(--line)}.font-buttons button:disabled{opacity:.35;cursor:default}.reader-theme-toggle{display:flex;gap:12px;align-items:center;min-height:44px;border:0;padding:0;background:none;color:var(--muted);font-size:11px}.reader-theme-toggle>span:first-child{font-size:21px;color:var(--copper)}.reader-position{margin-top:45px;border-top:1px solid var(--line);padding-top:23px}.reader-position>span{display:block;font:normal 33px Georgia,serif;letter-spacing:-.04em}.reader-position small{display:block;color:var(--muted);font-size:10px;margin-top:7px}.reader-note-side{font:italic 14px/1.7 Georgia,serif;color:var(--muted);margin-top:35px}.reader-article{min-width:0}.chapter-heading h1{font:normal clamp(48px,6vw,78px)/1.05 Georgia,serif;letter-spacing:-.055em;margin:23px 0 25px;overflow-wrap:anywhere}.chapter-meta{display:flex;gap:12px;align-items:center;font-size:11px;color:var(--muted)}.meta-dot{font-size:9px;color:var(--copper)}.chapter-ornament{font-size:28px;text-align:center;color:var(--copper);padding:50px 0 40px}.chapter-text{font:var(--reader-font)/1.85 Georgia,serif;overflow-wrap:break-word;hyphens:auto}.chapter-text p{margin:0 0 1.35em}.chapter-text p:first-of-type:first-letter{float:left;font:normal 3.4em/.85 Georgia,serif;margin:.12em .13em 0 0;color:var(--copper)}.chapter-text h2,.chapter-text h3{font-weight:400;line-height:1.25;margin:1.5em 0 .7em}.chapter-text img{width:100%;height:auto;display:block;margin:35px auto;border-radius:0}.chapter-text figure{margin:35px 0}.chapter-text figcaption{font:11px/1.7 system-ui,sans-serif;color:var(--muted);margin-top:12px}.chapter-text blockquote{border-left:2px solid var(--copper);padding-left:25px;margin:1.5em 0;font-style:italic;color:var(--muted)}.chapter-text .demo-note{font:12px/1.8 system-ui,sans-serif;color:var(--muted);padding:20px;border:1px solid var(--line);margin-bottom:30px}.chapter-text .demo-note:first-letter{float:none;font:inherit;color:inherit;margin:0}.chapter-end{padding:35px 0;text-align:center;color:var(--muted)}.chapter-end>span{font-size:27px;color:var(--copper)}.chapter-end p{font:italic 14px/1.7 Georgia,serif}.reader-chapter-navigation{display:grid;grid-template-columns:1fr 1fr;gap:30px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:27px 0}.reader-chapter-navigation>a{min-width:0;min-height:65px;display:flex;flex-direction:column;justify-content:center;gap:12px}.reader-chapter-navigation>a:last-child{text-align:right}.reader-chapter-navigation span{font-size:10px;color:var(--muted)}.reader-chapter-navigation strong{font:normal 25px/1.2 Georgia,serif}.reader-chapter-navigation a:hover strong{color:var(--copper)}.reader-chapter-navigation>a[hidden]{display:none}.reader-chapter-navigation>a:only-child{grid-column:1/-1}.reader-library-link{font-size:11px;min-height:44px;display:inline-flex;align-items:center;margin:30px 0 65px}.reader-footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:20px;padding:25px 44px;color:var(--muted);font-size:10px}.reader-footer button{min-height:44px;color:var(--muted);background:none;border:0;padding:0;font-size:10px}.contents-dialog{width:min(580px,calc(100% - 32px));padding:32px;background:var(--bg);color:var(--ink);border:1px solid var(--line);max-height:calc(100svh - 32px)}.contents-dialog::backdrop{background:#090b0bd9;backdrop-filter:blur(5px)}.contents-header{display:flex;gap:25px;align-items:flex-start;justify-content:space-between}.contents-header h2{font:normal 39px/1.15 Georgia,serif;margin:14px 0 30px;letter-spacing:-.04em}.contents-close{min-width:44px;min-height:44px;background:none;border:1px solid var(--line);color:var(--ink);font-size:24px!important}.contents-dialog nav>a{min-height:77px;display:flex;align-items:center;gap:22px;padding:20px 0;border-top:1px solid var(--line);font:normal 25px Georgia,serif}.contents-dialog nav>a span{font:italic 13px Georgia,serif;color:var(--muted)}.contents-dialog nav>a[aria-current=page]{color:var(--copper)}.contents-library{display:inline-flex;align-items:center;min-height:44px;font-size:11px;margin-top:25px}
@media(min-width:1600px){.library-intro{padding-top:110px}.story-feature{min-height:720px}.feature-content{padding-top:90px}.reader-layout{grid-template-columns:145px minmax(0,720px)}}
@media(max-width:1000px){.story-wrap{width:calc(100% - 64px)}.library-intro{gap:45px;padding-top:65px}.library-intro h1{font-size:84px}.story-chapters{gap:50px}.story-feature{padding-inline:32px}.forest-content{padding:35px}.story-chapters h2,.collection-heading h2{font-size:44px}.reader-main{width:calc(100% - 64px)}.reader-layout{grid-template-columns:100px minmax(0,680px);gap:45px}.reader-header{padding-inline:32px}.reader-position{margin-top:30px}}
@media(max-width:760px){.story-wrap{width:calc(100% - 40px)}.library-intro{grid-template-columns:1fr;gap:35px;padding:50px 0 40px}.library-intro h1{font-size:clamp(64px,12vw,88px);margin-top:22px}.intro-side{max-width:none;justify-self:stretch;display:grid;grid-template-columns:35px 1fr;gap:0 24px;align-items:start}.intro-mark{font-size:35px;margin-top:1px}.intro-side p{font-size:13px;margin:0;line-height:1.85;max-width:370px}.intro-side .story-text-link{grid-column:2;justify-self:start;margin-top:12px}.story-feature{min-height:640px;padding:24px;display:flex}.feature-top{gap:12px;align-items:flex-start}.feature-top .story-kicker{font-size:8px;letter-spacing:.12em}.feature-index{font-size:8px;letter-spacing:.06em}.feature-art{background-position:65% bottom}.feature-overlay{background:linear-gradient(90deg,#101610d9,#10161040),linear-gradient(0deg,#101610f2,transparent 70%,#10161040)}.feature-content{padding:75px 0 55px}.story-feature h2{font-size:73px}.feature-label{font-size:8px;margin-bottom:20px}.feature-content p{font-size:15px;max-width:250px;margin:26px 0}.story-button{padding:14px 16px;gap:20px;font-size:10px;min-height:48px;line-height:1.6}.feature-bottom{font-size:9px;gap:13px;align-items:center}.feature-bottom>span{max-width:110px;line-height:1.8}.feature-bottom>a{gap:8px;max-width:140px;line-height:1.8}.story-chapters{grid-template-columns:1fr;gap:35px;padding:55px 0 65px}.story-chapters h2,.collection-heading h2{font-size:43px;margin-top:19px}.chapters-description>p:not(.story-kicker){max-width:370px}.chapter-list>a{min-height:91px;padding:22px 0;gap:13px;grid-template-columns:30px 1fr 23px}.chapter-list strong{font-size:30px}.story-collection{padding-top:45px;padding-bottom:40px}.collection-heading{display:block;margin-bottom:30px}.collection-heading>p{max-width:320px;margin:23px 0 0}.forest-story{grid-template-columns:1fr}.forest-art{min-height:0;aspect-ratio:1.4}.forest-art img{height:100%;object-position:center}.forest-content{padding:30px 26px}.forest-content h3{font-size:58px;margin:20px 0}.forest-content p{max-width:360px}.reading-invitation{padding:55px 0 65px}.reading-invitation>p{font-size:clamp(43px,8vw,60px);margin-top:22px}.reading-invitation>.story-kicker{font-size:9px}.stories-footer{flex-wrap:wrap;gap:5px 20px;justify-content:space-between}.stories-footer>span{order:3;width:100%;padding:10px 0}.reader-header{padding:13px 20px;gap:15px}.reader-brand span{display:none}.reader-back{font-size:11px;gap:9px}.reader-brand{margin-left:auto}.reader-contents-button{gap:10px;font-size:10px!important}.reader-contents-button span:last-child{font-size:19px}.reader-main{width:calc(100% - 40px)}.reader-path{margin:25px 0 23px;font-size:9px;gap:10px}.reader-layout{display:flex;flex-direction:column;gap:38px}.reader-sidebar{position:static;display:flex;align-items:center;justify-content:space-between;gap:13px;width:100%;padding:14px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.reader-sidebar>.story-kicker,.reader-note-side{display:none}.font-buttons{margin:0;gap:5px}.reader-theme-toggle{margin-right:auto;margin-left:8px}.reader-position{margin:0;border:0;padding:0;min-width:53px;text-align:right}.reader-position>span{font-size:23px}.reader-position small{font-size:8px;margin-top:3px}.chapter-heading h1{font-size:clamp(45px,10vw,64px);margin-top:19px}.chapter-heading .story-kicker{font-size:9px}.chapter-meta{font-size:10px}.chapter-ornament{padding:34px 0 27px;font-size:26px}.chapter-text{font-size:calc(var(--reader-font) - 1px);line-height:1.85}.chapter-text .demo-note{padding:15px;font-size:11px}.chapter-text blockquote{padding-left:17px}.chapter-end{padding:25px 0}.reader-chapter-navigation{gap:20px;padding:24px 0}.reader-chapter-navigation strong{font-size:23px}.reader-chapter-navigation span{font-size:9px;line-height:1.7}.reader-library-link{margin-bottom:45px}.reader-footer{padding:20px;gap:15px;flex-wrap:wrap;font-size:9px}.contents-dialog{padding:24px 20px}.contents-header{gap:15px}.contents-header h2{font-size:33px}.contents-header .story-kicker{font-size:8px}.contents-dialog nav>a{font-size:26px;gap:18px}}
@media(max-width:380px){.story-feature{padding:20px}.story-feature h2{font-size:65px}.feature-index{font-size:7px}.feature-content{padding-top:65px}.reader-header{gap:10px}.reader-contents-button>span:first-child{font-size:9px}.reader-brand img{width:22px}.chapter-heading h1{font-size:44px}.story-kicker{font-size:9px}}
@media(prefers-reduced-motion:reduce){.stories-page *,.reader-page *{scroll-behavior:auto!important;transition:none!important;animation:none!important}.forest-story:hover img{transform:none}}

.reader-chapter-navigation[hidden]{display:none}.chapter-text>.chapter-illustration:first-child{margin:0 0 38px}.chapter-text .chapter-illustration img{margin:0}.chapter-text h4{font:normal 1.45em/1.35 Georgia,serif;margin:1.5em 0 .8em}.chapter-list strong{overflow-wrap:anywhere}@media(max-width:760px){.chapter-list strong{font-size:27px;line-height:1.25}.chapter-text>.chapter-illustration:first-child{margin-bottom:28px}.chapter-list>a{gap:12px}}
.reader-header{position:sticky;top:0}.reader-sidebar{top:118px}@media(max-width:760px){.reader-sidebar{position:sticky;top:71px;z-index:9;background:var(--bg);padding:10px 0}.reader-header{padding-block:13px}.reader-layout{isolation:isolate}.reader-sidebar:before{content:'';position:absolute;inset:-1px -20px;z-index:-1;background:var(--bg);border-bottom:1px solid var(--line)}}

.stories-page .skip-link,.reader-page .skip-link{background:var(--ink);color:var(--bg)}.reader-page #chapter-text{scroll-margin-top:170px}

.reader-page.paper-mode .reader-brand img{filter:brightness(.52) saturate(.7)}
@media(max-width:900px){.story-button{font-size:13px}.reader-back,.reader-contents-button{font-size:12px!important}.reader-contents-button>span:first-child{font-size:12px!important}.reader-path{font-size:11px}.reader-theme-toggle{font-size:13px}.feature-label,.feature-top .story-kicker{font-size:11px;letter-spacing:.08em}.feature-index{font-size:10px}.feature-content p{font-size:16px}.feature-bottom{font-size:12px}.reader-position small{font-size:10px}.reader-footer{font-size:11px}.chapter-meta{font-size:12px}.chapter-heading .story-kicker{font-size:11px}.reader-chapter-navigation span{font-size:11px}}

/* A book owns its chapter navigation; the library presents one entry per story. */
#collection,#ship-chapters,#red-forest{scroll-margin-top:115px}.book-path{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:35px 0;color:var(--muted);font-size:10px}.book-path a{display:inline-flex;align-items:center;min-height:44px}.book-path a:hover{color:var(--copper)}.book-page .story-feature h1{font:normal clamp(65px,6.6vw,104px)/.98 Georgia,serif;letter-spacing:-.055em;margin:0}.book-page .story-feature h1 em{font-weight:400;color:var(--copper)}.book-actions{display:flex;align-items:center;gap:23px;flex-wrap:wrap}.book-actions [hidden]{display:none}.book-actions .story-text-link{color:var(--ink);font-size:11px}.book-return{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:30px 0 75px;border-top:1px solid var(--line)}.book-return p{font:italic 14px/1.7 Georgia,serif;color:var(--muted)}.stories-page:not(.book-page) .story-collection{margin-top:70px}@media(max-width:760px){.book-path{padding:20px 0;gap:15px;font-size:9px}.book-path>span{max-width:180px;text-align:right;line-height:1.7}.book-page .story-feature h1{font-size:73px}.book-actions{gap:15px;align-items:flex-start;flex-direction:column}.book-return{align-items:flex-start;flex-direction:column;gap:10px;padding-bottom:45px}.book-return p{font-size:13px;margin:0}.stories-page:not(.book-page) .story-collection{margin-top:45px}}@media(max-width:380px){.book-page .story-feature h1{font-size:65px}.book-actions .story-text-link{font-size:10px}}
.feature-art{background:none;object-fit:cover;object-position:65% bottom;width:100%}.forest-content h2{font:normal clamp(45px,4.2vw,68px)/1.02 Georgia,serif;letter-spacing:-.04em;margin:25px 0;overflow-wrap:anywhere}.forest-art img{object-fit:contain}.book-original{font-size:13px;line-height:1.8;color:var(--muted);margin-top:25px}.book-original summary{cursor:pointer;min-height:44px}.book-original .public-rich{max-height:400px;overflow:auto;padding-right:12px}.chapter-text .chapter-illustration img{object-fit:contain}.story-feature h1,.story-feature h2{overflow-wrap:anywhere}.reader-header a{min-height:44px}.reader-sidebar{z-index:9}@media(max-width:760px){.forest-content h2{font-size:49px}.reader-header{gap:10px}.reader-back{font-size:10px}}
