@font-face{font-family:BookSerif;src:url('assets/fonts/book-serif.woff') format('woff');font-display:swap}
:root{--scene-h:100svh;--ink:#ece5d8;--gold:#cdb78f}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#171410;color:var(--ink);font:15px/1.6 Arial,Helvetica,sans-serif}h1,h2,p{margin:0}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}button:disabled{opacity:.3;cursor:default}a:hover,button:hover{color:var(--gold)}a:focus-visible,button:focus-visible{outline:2px solid #d7bd8d;outline-offset:5px}.skip{position:fixed;top:-100px;left:20px;z-index:80;background:#eee6d7;color:#32291c;padding:12px}.skip:focus{top:10px}
.header{position:fixed;inset:0 0 auto;height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 4.5%;z-index:25;background:linear-gradient(#0009,transparent)}.signature{font-size:27px;letter-spacing:-1.7px}nav{display:flex;gap:30px;font-size:12px}.journey{height:calc(var(--scene-h)*19);position:relative}.stage{position:sticky;top:0;height:var(--scene-h);overflow:hidden;background:#171410;isolation:isolate;touch-action:pan-y}#scene{display:block;width:100%;height:100%;touch-action:pan-y;background:url('assets/entrance.jpg') center/cover}.shade{position:absolute;inset:0;background:linear-gradient(0deg,#000a,transparent 65%);pointer-events:none}.hero-copy{position:absolute;left:6%;bottom:140px;pointer-events:none}.eyebrow{font-size:10px;letter-spacing:.12em}.hero-copy h1{font-size:clamp(48px,5.4vw,88px);font-weight:400;letter-spacing:-.06em;line-height:1.02;margin:18px 0 24px}.hero-line{font-size:16px;line-height:1.5}.stage-bottom{position:absolute;left:6%;right:6%;bottom:27px;display:flex;justify-content:space-between;font-size:10px;pointer-events:none;z-index:4}#chapter-label{display:none}#load-status{font-size:10px;max-width:250px}
#notebook,.scene-layer{position:absolute;inset:0;opacity:0;pointer-events:none}#notebook:not([inert]),.scene-layer:not([inert]){pointer-events:auto}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:normal}.journal-nav{position:absolute;bottom:24px;left:6%;right:6%;display:flex;justify-content:space-between;align-items:center;font-size:11px}.page-controls{display:flex;gap:18px;align-items:center}.page-controls button{width:40px;height:40px;border:1px solid #c4ad8066;border-radius:50%;background:#171410aa;font-size:22px}.page-controls span{min-width:40px;text-align:center}
#shelf-plane,#screen-plane{position:absolute;left:0;top:0;width:1280px;height:720px;transform-origin:0 0}.shelf-book{position:absolute;display:block;padding:0;background:transparent;touch-action:pan-y;border-radius:1px}.shelf-book:focus-visible{outline:1px solid #d3b775;outline-offset:4px}.shelf-caption{position:absolute;left:6%;top:105px;font-size:14px;letter-spacing:.03em;text-shadow:0 2px 15px #000}.shelf-caption span{display:block;margin-top:6px;font-size:10px;opacity:.65}
.screen-copy{position:absolute;left:333px;top:150px;width:644px;height:335px;padding:34px 43px;color:#423c32;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.screen-label{font:10px/1.5 Arial;letter-spacing:.12em;color:#82745e}.screen-copy h2{font:400 36px/1.12 BookSerif,Georgia,serif;letter-spacing:-.035em;margin:12px 0 10px}.screen-note{font:15px/1.5 Arial;color:#73644e}.email{display:inline-block;font:23px/1.4 Arial;letter-spacing:-.025em;margin-top:17px;padding-bottom:4px;border-bottom:1px solid #b5a387}.contact-links{display:flex;gap:25px;font:13px/1.5 Arial;margin-top:16px}.contact-links button{font:inherit;padding:0}.screen-copy a:hover,.screen-copy button:hover{color:#865f2b}#copy-status{font:11px/1.4 Arial;min-height:16px;margin-top:9px}
footer{padding:25px 5%;display:flex;justify-content:space-between;gap:20px;font-size:10px;color:#aaa090}dialog{width:min(730px,calc(100% - 36px));max-height:85svh;overflow:auto;border:1px solid #a8906e66;background:#e9e1d1;color:#35291e;padding:70px 55px 48px;box-shadow:0 30px 90px #0009}dialog::backdrop{background:#0c0907d9;backdrop-filter:blur(7px)}#reader-close{position:absolute;right:16px;top:10px;font-size:30px;width:42px;height:42px}dialog h2{font:400 29px/1.28 BookSerif,Georgia,serif;letter-spacing:-.025em;margin:22px 0}dialog .summary{font-size:15px;line-height:1.9}.original{display:inline-block;background:#342b20;color:#eee4d0;padding:13px 20px;margin-top:26px;font-size:12px}.source-note{font-size:10px;color:#806d55;margin-top:19px}noscript p{padding:30px}
@media(max-width:800px){.header{height:64px;padding:0 18px;gap:15px}.signature{font-size:25px}nav{gap:12px;font-size:9px}nav a:nth-child(2){max-width:65px;line-height:1.3}.hero-copy{left:7%;right:7%;bottom:100px}.hero-copy h1{font-size:45px;margin:13px 0 15px}.hero-line{font-size:14px}.stage-bottom{left:7%;right:7%;bottom:25px;font-size:9px}.journal-nav{bottom:26px;left:6%;right:6%;font-size:10px}.journal-nav>a{display:none}.page-controls{gap:8px}.page-controls button{width:38px;height:38px}.shelf-caption{top:91px;left:7%;font-size:14px}.shelf-caption span{font-size:10px}.screen-copy{padding:24px 34px}.screen-label{font-size:15px}.screen-copy h2{font-size:43px;margin:13px 0 10px}.screen-note{font-size:21px;line-height:1.3}.screen-copy .email{font-size:26px;margin-top:16px}.screen-copy .contact-links{font-size:21px;gap:25px;margin-top:14px}.screen-copy #copy-status{font-size:15px;margin-top:8px;min-height:18px}dialog{padding:60px 25px 35px}dialog h2{font-size:24px}footer{font-size:9px}}
@media(max-width:360px){nav{gap:8px;font-size:8px}.hero-copy h1{font-size:40px}}
