/* A shared sheet of paper under every current room; colours follow the same clock. */
.paper-site{--paper-ground:#eeede5;--paper-light:#fffdf0;--paper-face:#fbfaf4;--paper-ink:#22282a;--paper:var(--paper-ground);--ink:var(--paper-ink);--body:var(--paper-ink);--muted:color-mix(in srgb,var(--paper-ink) 76%,var(--paper-ground));--line:color-mix(in srgb,var(--paper-ink) 20%,transparent);--pale:color-mix(in srgb,var(--paper-ground) 90%,var(--paper-light));--rule:color-mix(in srgb,var(--paper-ink) 20%,transparent);background:var(--paper-ground);color:var(--paper-ink);isolation:isolate;min-height:100svh}
.paper-site:before,.paper-site:after{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none}
.paper-site:before{background:url('/assets/paper-v14.webp') 0 0/780px 780px;mix-blend-mode:multiply;opacity:.64}
.paper-site:after{background:linear-gradient(118deg,var(--paper-light),transparent 65%);opacity:.19}
.paper-site .site-footer{background:transparent;color:inherit;border-color:var(--rule)}
.paper-site .course-grid article,.paper-site input,.paper-site textarea,.paper-site select,.paper-site .notice{background:transparent;color:inherit}
.paper-site .button{border-color:var(--rule);color:inherit}.paper-site .button.primary{background:var(--ink);color:var(--paper)}
.paper-site[data-ink=light] .mobile-mark img{filter:brightness(1.4)}
.paper-site[data-ink=light] .printed-ink,.paper-site[data-ink=light] .entrance-verse{mix-blend-mode:normal}
.paper-site.beach .beach-scene:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#18293ae8,#182839b8);opacity:calc(var(--shore-night,0)*.54);z-index:3;pointer-events:none}
.paper-site.beach .beach-directions,.paper-site.beach .beach-controls{z-index:4}
.paper-site.beach .beach-controls,.paper-site.beach #stone-dialog{color:#22282a}
.paper-page{font-family:var(--serif);color:inherit;position:relative}
.works-study .site-footer,.work-study .site-footer,.gallery-study .site-footer,.gallery-room-study .site-footer{display:none}
.collection-heading{display:flex;align-items:center;justify-content:space-between;margin:0 5vw 24px;gap:35px;flex:none}
.collection-heading h1{font-size:20px;letter-spacing:.15em;font-weight:400;margin:0}
.collection-heading .timeline-controls{margin:0;gap:35px}
.works-study .museum-header{position:fixed;inset:0 0 auto}
.works-page{padding:0;overflow:visible}
.works-camera{height:100svh;min-height:600px;padding:104px 0 26px;display:flex;flex-direction:column}
.works-page.is-traversing{height:var(--works-journey-height)}
.is-traversing .works-camera{position:sticky;top:0}
.shelf-window{overflow-x:auto;overflow-y:hidden;margin:0 4vw;flex:1;min-height:0;scrollbar-width:none;outline-offset:4px}
.shelf-window::-webkit-scrollbar{display:none}
.is-traversing .shelf-window{overflow:clip;touch-action:pan-y pinch-zoom}
.works-shelf{display:flex;min-width:100%;width:max-content;height:100%;border-block:1px solid var(--rule);padding-right:48px;position:relative}
.is-traversing .works-shelf{will-change:transform}
.archive-leaf{--spine:clamp(112px,14.5vw,208px);flex:0 0 var(--spine);position:relative;border-right:1px solid var(--rule);min-width:0;overflow:hidden;transition:flex-basis .65s cubic-bezier(.22,.61,.36,1)}
.archive-leaf:first-child{border-left:1px solid var(--rule)}.archive-leaf[hidden]{display:none}
.leaf-spine{display:flex;align-items:center;position:absolute;inset:0;padding:28px 15px;list-style:none;cursor:pointer;flex-direction:column;gap:27px;z-index:1}
summary.leaf-spine::-webkit-details-marker{display:none}summary.leaf-spine::marker{content:''}
.archive-leaf:focus-visible,summary.leaf-spine:focus-visible{outline:1px solid currentColor;outline-offset:-5px}
.leaf-spine time{font:15px/1.3 Georgia,serif;letter-spacing:.045em;color:var(--muted)}
.leaf-spine h2{font-size:20px;font-weight:400;writing-mode:vertical-rl;text-orientation:mixed;margin:auto 0;line-height:1.7;letter-spacing:.08em;max-height:calc(100% - 115px);overflow-wrap:anywhere}
.archive-book.is-active{flex-basis:340px}
.archive-book .leaf-spine{transition:opacity .22s ease}
.archive-book.is-active .leaf-spine{opacity:0}
.leaf-background{position:absolute;inset:0;opacity:0;transition:opacity .65s ease;pointer-events:none;mix-blend-mode:multiply}
.leaf-background .cover{position:absolute;inset:0;width:100%;height:100%;margin:0;display:block}
.leaf-background .cover img{width:100%;height:100%;object-fit:cover;object-position:center;max-height:none;transform:none}
.leaf-background:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,var(--paper-ground) 0%,transparent 24%,transparent 77%,var(--paper-ground) 100%)}
.archive-book.is-active .leaf-background{opacity:.7}
.leaf-arrow{display:block;width:20px;height:20px;margin-top:auto;opacity:.42}.leaf-arrow svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1}
.archive-book.is-active .leaf-arrow{opacity:1}
.archive-event{--spine:78px}.archive-event .leaf-spine{inset:0 auto 0 0;width:var(--spine)}
.archive-event h2{font-size:16px;color:var(--muted)}
.leaf-cross{width:12px;height:12px;position:relative;margin-top:auto;flex:none}
.leaf-cross:before,.leaf-cross:after{content:'';position:absolute;background:currentColor;opacity:.55}.leaf-cross:before{width:12px;height:1px;top:6px}.leaf-cross:after{height:12px;width:1px;left:6px}
.archive-event[open]{flex-basis:min(480px,85vw)}.archive-event[open] .leaf-cross:after{opacity:0}
.event-copy{margin-left:var(--spine);width:calc(min(480px,85vw) - var(--spine));height:100%;display:flex;flex-direction:column;justify-content:center;padding:30px;overflow:auto;font-size:16px;line-height:2.1}
.event-copy time{font:36px Georgia,serif;opacity:.65}.event-copy h3{font-size:25px;font-weight:400;margin:20px 0}
.leaf-category,.leaf-meta{font-size:14px;line-height:1.9;color:var(--muted)}.leaf-category{letter-spacing:.08em}
.work-detail{max-width:1180px;margin:0 auto;padding:12px 45px 55px}.work-back{margin-bottom:25px}
.work-spread{display:grid;grid-template-columns:42% 1fr;gap:9%;align-items:start}
.work-cover{position:sticky;top:80px;margin:0}.work-cover .cover{height:min(62svh,580px);background:transparent}.work-cover img{object-fit:contain;filter:drop-shadow(4px 8px 7px #30372522)}
.work-cover figcaption{text-align:center;font:15px Georgia,serif;letter-spacing:.1em;margin-top:22px;color:var(--muted)}
.work-writing header{padding:0 0 30px;border-bottom:1px solid var(--rule)}.work-writing h1{font-size:clamp(25px,2.7vw,38px);line-height:1.7;letter-spacing:.05em;font-weight:400;margin:20px 0}.work-writing .leaf-category{display:flex;justify-content:space-between}
.work-prose{font-size:17px;line-height:2.25;margin-top:35px}.work-prose p{margin:0 0 1.7em}.work-links{list-style:none;padding:25px 0 0;border-top:1px solid var(--rule);font-size:14px;line-height:1.9}.work-links li{margin:0 0 20px}.work-links a{text-decoration:underline;text-underline-offset:5px;text-decoration-color:var(--rule)}
.work-neighbours{display:flex;justify-content:space-between;gap:50px;border-top:1px solid var(--rule);margin-top:85px;padding-top:28px}.work-neighbours a{max-width:43%;line-height:1.8;font-size:16px}.work-neighbours a:last-child{text-align:right}.work-neighbours span{display:block;font:14px Georgia,serif;color:var(--muted);margin-bottom:10px}

.gallery-standalone{-webkit-text-size-adjust:100%;text-size-adjust:100%}
.gallery-index{min-height:calc(100svh - 86px);padding:0 6vw}
.gallery-selector{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;max-width:940px;margin:auto;min-height:calc(100svh - 165px);gap:25px}
.gallery-titles{min-width:0;touch-action:pan-y}
.gallery-title{display:flex;min-height:340px;padding:50px 10px;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:48px}
.gallery-title h2{font-size:clamp(30px,4.3vw,52px);font-weight:400;letter-spacing:.1em;line-height:1.8}
.gallery-title h2[lang=en]{font-family:Georgia,'Times New Roman',serif;letter-spacing:.035em;font-weight:400}
.gallery-title:focus-visible{outline:none}.gallery-title:focus-visible h2{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:12px}
.gallery-title img{object-fit:contain;filter:brightness(.82);opacity:.55;width:48px;height:58px;transition:transform 1.1s,opacity .6s}
.gallery-title:hover img,.gallery-title:focus-visible img{transform:translateY(12px);opacity:.85}
.series-arrow{opacity:.65}.series-arrow:hover{opacity:1}
.gallery-room-study .museum-header{position:absolute;inset:0 0 auto;z-index:8}.gallery-room{min-height:100svh}
.gallery-start{position:absolute;top:0;left:0;width:1px;height:1px;pointer-events:none}
.gallery-journey{position:relative;overflow-anchor:none}.gallery-chamber{position:relative;outline-offset:-5px;touch-action:pan-y pinch-zoom}
.gallery-back{position:absolute;top:95px;left:4vw;z-index:3}.gallery-presence{position:absolute;top:26%;left:25%;width:75px;pointer-events:none}.gallery-presence img{width:100%;opacity:.42;filter:brightness(.9) drop-shadow(4px 8px 5px #4c513524)}
.gallery-stage{min-height:100svh;display:flex;justify-content:center;align-items:center;padding:110px 25px 80px}
.gallery-frontispiece{position:relative}
.gallery-frontispiece h1{font-size:clamp(30px,4.3vw,52px);font-weight:400;letter-spacing:.1em;line-height:1.8;margin:0;text-align:center}
.gallery-frontispiece h1[lang=en]{font-family:Georgia,'Times New Roman',serif;letter-spacing:.035em}
.gallery-identity{position:absolute;top:clamp(24px,5svh,48px);right:clamp(22px,4.5vw,66px);display:flex;flex-direction:column;align-items:center;gap:7px;padding:5px;opacity:.56;transition:opacity .35s ease}
.gallery-identity:hover,.gallery-identity:focus-visible{opacity:.9}
.gallery-soul-mark{position:relative;display:block;width:64px;aspect-ratio:2286/945;overflow:hidden}
.gallery-soul-mark img{position:absolute;max-width:none;width:110.24%;height:auto;left:-5.56%;top:-21.16%;opacity:.82}
.gallery-author{font-family:var(--serif);font-size:11px;letter-spacing:.16em;white-space:nowrap}
.gallery-copyright{position:absolute;right:clamp(22px,4.5vw,66px);bottom:clamp(20px,4svh,40px);font:10px/1.6 Georgia,'Times New Roman',serif;letter-spacing:.045em;opacity:.42}
.gallery-end-title{flex-direction:column;gap:clamp(22px,4svh,38px)}
.gallery-end-title h2{margin:0}
.gallery-restart{appearance:none;border:0;background:transparent;color:inherit;padding:.28em .36em;font:400 clamp(30px,4.3vw,52px)/1.8 Georgia,'Times New Roman',serif;letter-spacing:.035em;cursor:pointer}
.gallery-restart:focus-visible{outline:1px solid currentColor;outline-offset:12px}
.gallery-colophon{display:flex;flex-direction:column;align-items:center;gap:8px}
.gallery-poet,.gallery-first-appearance{margin:0;font-size:clamp(11px,1.25vw,13px);letter-spacing:.08em;line-height:1.8;opacity:.62}
.gallery-first-appearance a{text-decoration:none;border-bottom:1px solid rgba(34,40,42,.3);padding-bottom:.22em;transition:border-color .25s ease,opacity .25s ease}
.gallery-first-appearance a:hover,.gallery-first-appearance a:focus-visible{border-bottom-color:currentColor;opacity:1}
.gallery-verse p{font-size:clamp(16px,2.35svh,22px);margin:0;line-height:1.8;letter-spacing:.09em}
.gallery-continuation{display:none}
.gallery-other-rooms{display:flex;justify-content:center;gap:55px;min-height:240px;align-items:center;border-top:1px solid var(--rule);margin:0 8vw}.gallery-other-rooms a{display:grid;place-items:center;min-height:44px;padding:10px 4px;opacity:.7;font-size:16px;letter-spacing:.045em}.gallery-other-rooms a[aria-current]{opacity:1;border-bottom:1px solid currentColor}
.is-enhanced.gallery-journey{height:var(--journey-height)}
.is-enhanced .gallery-chamber{height:var(--chamber-height);position:sticky;top:0}
.is-enhanced .gallery-verses{position:absolute;inset:0}
.is-enhanced .gallery-stage{position:absolute;inset:0;min-height:0;padding:0;opacity:0;pointer-events:none}
.is-enhanced .gallery-stage.is-current{pointer-events:auto}
.is-enhanced .gallery-verse p{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(var(--gallery-text-scale,1))}
.is-enhanced .gallery-continuation{display:block;position:absolute;bottom:0;left:50%;height:min(8svh,58px);width:1px;background:linear-gradient(transparent,currentColor);opacity:.22;pointer-events:none}
.printed-ink{mix-blend-mode:multiply;filter:url('#ink-tooth')}
@media(max-width:700px){
 /* Optical correction for this uppercase run at the smaller reading size.
    Leave desktop, other English runs, and the space after 座る unchanged. */
 .gallery-standalone #verse-9 .latin-run{--latin-optical-offset:.04em}
 .collection-heading{display:block;margin:0 22px 18px}.collection-heading h1{margin-bottom:12px}.collection-heading .timeline-controls{gap:20px}.collection-heading .timeline-controls>div{gap:26px}
 .works-camera{padding-top:92px;padding-bottom:20px;min-height:610px}.shelf-window{margin:0 18px}.archive-leaf{--spine:clamp(94px,28vw,160px)}.archive-event{--spine:70px}.leaf-spine{padding-inline:9px}.leaf-spine h2{font-size:18px}.archive-event h2{font-size:16px}
 .archive-book.is-active{flex-basis:min(285px,74vw)}.event-copy{padding:25px 18px}.event-copy h3{font-size:21px}
 .work-detail{padding:5px 24px 45px}.work-back{margin-bottom:8px}.work-spread{display:flex;flex-direction:column;gap:36px}.work-cover{position:static;align-self:center;width:78%;max-width:300px}.work-cover .cover{height:360px;max-height:52svh}.work-cover figcaption{margin-top:15px}.work-writing h1{font-size:28px}.work-prose{font-size:17px}.work-neighbours{margin-top:55px;gap:30px}.work-neighbours a{font-size:14px}
 .gallery-index{padding:0 18px}.gallery-selector{gap:5px;min-height:calc(100svh - 130px)}.gallery-title{min-height:330px;padding:40px 4px;gap:40px}.gallery-title h2{font-size:31px}.gallery-title img{width:40px;height:48px}
 .gallery-presence{left:19%;width:46px;top:31%}.gallery-back{top:86px;left:14px}.gallery-frontispiece h1{font-size:31px}.gallery-identity{top:18px;right:14px;transform:scale(.88);transform-origin:top right}.gallery-copyright{right:16px;bottom:16px;font-size:9px}.gallery-verse p{font-size:18px;letter-spacing:.07em}.gallery-other-rooms{gap:24px;flex-wrap:wrap}.gallery-other-rooms a{font-size:14px}
}
@media(prefers-reduced-motion:reduce){.archive-leaf,.leaf-background,.archive-book .leaf-spine,.gallery-title img{transition:none}}
