:root{font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:#2c4438;background:#f7f2df;font-size:16px;scroll-behavior:smooth;--wood:#9e623c;--forest:#365c4d}*{box-sizing:border-box}body{margin:0;background:#f7f2df}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}a:focus-visible,button:focus-visible{outline:3px solid #235f8a;outline-offset:4px}.skip{position:absolute;top:-100px;left:16px;z-index:100;background:#fff;padding:12px}.skip:focus{top:12px}.site-header{min-height:72px;padding:12px clamp(18px,5vw,76px);display:flex;justify-content:space-between;align-items:center;gap:20px;background:#f6e8c8;border-bottom:5px solid #b68e58;box-shadow:0 4px 0 #7a593d;position:sticky;top:0;z-index:30}.logo{font-weight:900;font-size:1.1rem;color:#315641;white-space:nowrap}.logo-pixel{color:#d1844c;font-size:1.3rem}.site-header nav{display:flex;gap:8px;flex-wrap:wrap}.site-header nav a{font-weight:800;font-size:.9rem;padding:10px 15px;border:2px solid transparent}.site-header nav a:hover,.site-header nav a[aria-current=page]{border-color:#9e7548;background:#fff5d8;box-shadow:3px 3px 0 #c49a65}.pixel-label{font-size:.78rem;letter-spacing:.13em;text-transform:uppercase;color:#66836b;font-weight:900;margin:0 0 14px}.hero{height:min(740px,calc(100vh - 72px));min-height:600px;position:relative;overflow:hidden;border-bottom:8px solid #7b9a68}.hero-art{position:absolute;inset:0;background:url('/assets/meadow-refined.webp') center 55%/cover no-repeat}.hero-content{position:relative;z-index:1;max-width:min(650px,57%);margin:clamp(44px,7vw,110px) 0 0 clamp(24px,6vw,90px);padding:clamp(24px,3.5vw,50px);background:rgba(255,249,225,.94);border:5px solid #795a3d;box-shadow:7px 7px 0 #432f29,0 16px 45px rgba(25,45,27,.16);border-radius:4px}.hero-content:before,.profile-paper:before{content:"";position:absolute;inset:7px;border:2px dashed rgba(135,91,51,.28);pointer-events:none}.hero h1{font-size:clamp(2.7rem,5vw,5.3rem);line-height:1.18;letter-spacing:-.05em;margin:0 0 16px;color:#284b3d}.hero h1 span{color:#b2643b}.hero-lead{font-size:clamp(1.08rem,1.6vw,1.3rem);line-height:1.65;font-weight:900;max-width:490px;margin:0 0 10px}.hero-sub{line-height:1.7;margin:0 0 23px;color:#536b59}.sign-actions{display:flex;flex-wrap:wrap;gap:14px}.wood-sign{display:inline-flex;align-items:center;justify-content:center;gap:13px;min-height:52px;padding:12px 20px;background:linear-gradient(#b67845 0 20%,#a7663d 20% 82%,#935635 82%);color:#fff8df;font-weight:900;border:3px solid #673d2c;border-radius:5px;box-shadow:4px 5px 0 #513a2b,inset 0 3px #d59860;text-shadow:1px 2px #6d432a;transition:transform .16s,box-shadow .16s}.wood-sign:before,.wood-sign:after{content:"•";font-size:.7rem;color:#e8c587}.wood-sign:hover{transform:translateY(-3px);box-shadow:4px 8px 0 #513a2b,inset 0 3px #d59860}.wood-sign:active{transform:translate(3px,4px);box-shadow:1px 1px 0 #513a2b}.wood-sign.lighter{background:linear-gradient(#d7a86a,#ba854c);color:#3b3c2d;text-shadow:none}.board-trigger{position:absolute;z-index:2;right:4.5%;bottom:25%;background:rgba(255,230,173,.94);border:3px solid #7a4c2c;color:#4a3927;padding:12px 17px;box-shadow:4px 4px 0 #4d382a;display:grid;text-align:center;gap:3px;transform:rotate(-2deg)}.board-trigger span{font-size:1.15rem;font-weight:900}.board-trigger small{font-size:.77rem;font-weight:800}.board-trigger:hover{transform:rotate(0deg) translateY(-3px)}.notice-drawer{display:grid;grid-template-rows:0fr;transition:grid-template-rows .42s ease,opacity .42s ease;opacity:0;background:#718a63;padding:0 clamp(20px,7vw,120px)}.notice-drawer.is-open{grid-template-rows:1fr;opacity:1}.notice-paper{overflow:hidden;max-width:800px;margin:0 auto;background:#fff8df;box-shadow:7px 7px 0 #4d6045;min-height:0;padding:0 36px;transition:padding .42s}.notice-drawer.is-open .notice-paper{padding:32px 36px 37px;margin-bottom:32px}.notice-paper h2{font-size:clamp(1.6rem,3vw,2.6rem);line-height:1.35;margin:0 0 12px}.notice-paper p{line-height:1.85;margin:0 0 16px}.notice-paper a,.text-link{color:#386b58;font-weight:900;text-decoration:underline;text-underline-offset:4px}.page-section{padding:clamp(58px,7vw,100px) clamp(20px,6vw,92px)}.section-head{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:30px}.section-head h2,.split-callout h2,.contact-section h2{font-size:clamp(2rem,3.5vw,3.5rem);letter-spacing:-.045em;line-height:1.2;margin:0}.section-head .text-link{margin-bottom:8px}.card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.project-card{min-height:330px;padding:28px;display:flex;flex-direction:column;background:#fdf8e8;border:5px solid #856443;box-shadow:6px 6px 0 #72533b,inset 0 0 0 5px #e5d4a8;transition:transform .18s,box-shadow .18s;position:relative}.project-card:hover{transform:translateY(-5px);box-shadow:6px 11px 0 #72533b,inset 0 0 0 5px #e5d4a8}.project-card:active{transform:translate(3px,3px);box-shadow:3px 3px 0 #72533b,inset 0 0 0 5px #e5d4a8}.project-card:before{content:"✦";position:absolute;top:20px;right:23px;color:#a98755;font-size:1.3rem}.project-card.coral{background:#fff0df}.project-card.blue{background:#e7f1e9}.project-card.gold{background:#fff2d0}.project-card.mint{background:#ecf1d9}.card-number{font-size:.76rem;color:#6e7456;font-weight:900;letter-spacing:.06em;padding-right:25px}.project-card h3{font-size:clamp(1.35rem,1.8vw,1.95rem);margin:23px 0 12px;line-height:1.36}.project-card p{line-height:1.8;color:#596f5b;margin:0 0 25px}.card-action{margin-top:auto;border-top:2px dashed #b6b996;padding-top:17px;font-weight:900;color:#815133;display:flex;justify-content:space-between}.evidence{background:#e4edd7;border-top:5px solid #b9caa5;border-bottom:5px solid #b9caa5}.evidence-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.evidence-grid div{background:#fff9e8;border:3px solid #b1b889;padding:24px;display:flex;flex-direction:column;gap:8px;box-shadow:4px 4px 0 #a5af89}.evidence-grid strong{font-size:clamp(2rem,4vw,4rem);line-height:1;color:#45694b}.evidence-grid span{font-weight:800}.source-note{font-size:.86rem;line-height:1.7;color:#677661;margin:20px 0 0}.split-callout{display:flex;justify-content:space-between;align-items:center;gap:30px;background:#fff4d8}.split-callout p:not(.pixel-label),.contact-section p:not(.pixel-label){max-width:560px;line-height:1.75}.sub-hero{background:#dce8ce;border-bottom:7px solid #95ae80;padding:clamp(65px,8vw,110px) clamp(20px,6vw,92px) 70px;position:relative}.sub-hero:after{content:"✦";position:absolute;right:7%;top:18%;font-size:6rem;color:#a8c096;opacity:.6}.sub-hero h1{font-size:clamp(2.8rem,6vw,5.5rem);letter-spacing:-.055em;line-height:1.2;margin:0 0 12px}.sub-hero p:not(.pixel-label){max-width:700px;line-height:1.8;font-size:1.13rem;margin:0}.case-hero{padding:35px clamp(20px,6vw,92px) 60px;border-bottom:8px solid #997b54;background:#e6edd2;min-height:340px}.case-hero.coral{background:#f4dfc9}.case-hero.blue{background:#dceae1}.case-hero.gold{background:#f5e2af}.case-hero.mint{background:#e4efdc}.back-link{font-weight:900;color:#5a6f52}.back-link:hover{text-decoration:underline}.case-hero-inner{max-width:980px;margin:54px auto 0}.case-hero h1{font-size:clamp(2.6rem,5vw,5rem);letter-spacing:-.05em;line-height:1.2;margin:0 0 12px}.case-hero-inner>p:last-child{font-size:1.23rem;font-weight:800;line-height:1.5;margin:0}.case-layout{display:grid;grid-template-columns:240px minmax(0,850px);gap:clamp(25px,5vw,85px);padding:70px clamp(20px,6vw,92px);justify-content:center}.sticky-card{position:sticky;top:110px;background:#efe1bc;border:4px solid #8c6846;padding:20px;box-shadow:4px 4px 0 #604731;display:flex;flex-direction:column;gap:8px}.sticky-card a{padding:8px 4px;font-weight:800;border-bottom:1px dashed #b9986e}.sticky-card a:hover{color:#a25831}.case-body section{scroll-margin-top:105px;margin-bottom:62px}.case-body h2{font-size:clamp(1.8rem,3vw,2.8rem);margin:0 0 18px}.case-body p{line-height:1.9;font-size:1.04rem}.role-note,.result-paper{background:#fff9e9;border:3px solid #c6b88e;padding:21px 25px;margin-top:25px;box-shadow:4px 4px 0 #e0d6b6}.role-note p,.result-paper p{margin:7px 0 0}.action-list{list-style:none;padding:0;counter-reset:action;display:grid;gap:13px}.action-list li{counter-increment:action;display:grid;grid-template-columns:40px 1fr;gap:15px;background:#fffaf0;border:2px solid #d8d3b1;padding:19px;line-height:1.8}.action-list li:before{content:counter(action,decimal-leading-zero);font-weight:900;color:#9d663d}.gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.gallery-item{padding:0;background:#fffaf0;border:3px solid #a8875f;text-align:left;box-shadow:3px 3px 0 #6c543c;overflow:hidden}.gallery-item img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;object-position:top}.gallery-item span{display:block;padding:10px;font-size:.8rem;font-weight:800}.gallery-item:hover img{filter:saturate(1.12)}.no-gallery{border:2px dashed #abb995;background:#f0f5df;padding:24px;color:#5d7059}.case-next{border-top:3px dashed #b2ba98;padding-top:25px;display:flex;justify-content:space-between;gap:20px;font-weight:900}.case-next a:hover{text-decoration:underline}.books{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.book-card{display:grid;grid-template-columns:22px 1fr;background:#fffaf0;border:3px solid #baa678;min-height:230px;box-shadow:5px 5px 0 #b4a17a}.book-spine{background:repeating-linear-gradient(180deg,#78936e 0 12px,#658259 12px 16px);border-right:3px solid #4f7150}.book-card>div{padding:26px}.book-card h2{font-size:1.45rem;line-height:1.4;margin:0 0 12px}.book-card p{line-height:1.7;margin:0;color:#617260}.about-layout{display:grid;grid-template-columns:1fr 1.3fr;gap:clamp(25px,5vw,80px)}.profile-paper{position:relative;background:#fff9e7;border:5px solid #8e7050;box-shadow:6px 6px 0 #695137;padding:38px;align-self:start}.profile-paper h2,.about-timeline h2{font-size:2rem;line-height:1.3;margin:0 0 20px}.profile-paper p:not(.pixel-label){line-height:1.9}.skill-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:25px}.skill-chips span{background:#e5ecd6;border:2px solid #a5bb93;padding:8px;font-size:.85rem;font-weight:800}.about-timeline>div{border-left:4px solid #97ad83;padding:0 0 25px 25px;margin-left:9px;position:relative}.about-timeline>div:before{content:"";position:absolute;left:-10px;top:3px;width:12px;height:12px;background:#d19558;border:2px solid #805b3a}.about-timeline time{font-size:.83rem;font-weight:900;color:#7d7950}.about-timeline h3{font-size:1.25rem;margin:8px 0}.about-timeline p{line-height:1.8;margin:0}.contact-section{background:#dce8cf;display:flex;justify-content:space-between;align-items:center;gap:24px}footer{background:#385746;color:#f4ebcf;padding:38px clamp(20px,6vw,92px);display:flex;justify-content:space-between;gap:25px}footer p{margin:6px 0 0}footer>div:last-child{display:flex;gap:20px;flex-wrap:wrap;align-items:start}footer a:hover{text-decoration:underline}.lightbox{border:5px solid #775839;background:#fff9eb;max-width:min(94vw,1200px);max-height:90vh;padding:45px 18px 18px;box-shadow:8px 8px 0 #3d352c}.lightbox::backdrop{background:rgba(20,35,25,.82)}.lightbox img{display:block;max-width:100%;max-height:75vh;object-fit:contain;margin:auto}.lightbox p{margin:10px 0 0;font-weight:800}.close-lightbox{position:absolute;top:5px;right:6px;border:2px solid #68402c;background:#f4dfae;width:36px;height:36px;font-size:1.5rem;line-height:1}@media(max-width:1000px){.card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-content{max-width:65%}.board-trigger{right:3%;bottom:12%}}@media(max-width:760px){.site-header{position:relative;flex-wrap:wrap;padding:12px 18px}.site-header nav{width:100%;overflow:auto;flex-wrap:nowrap;white-space:nowrap}.site-header nav a{font-size:.83rem;padding:7px}.hero{height:auto;min-height:680px;display:flex;flex-direction:column}.hero-art{background-position:58% center}.hero-content{max-width:none;margin:25px 18px 0;padding:25px;background:rgba(255,249,225,.95)}.hero h1{font-size:3rem}.board-trigger{position:relative;right:auto;bottom:auto;align-self:flex-end;margin:25px 20px}.card-grid,.books{grid-template-columns:1fr}.project-card{min-height:270px}.section-head,.split-callout,.contact-section{align-items:start;flex-direction:column}.evidence-grid{grid-template-columns:1fr 1fr}.case-layout{display:block;padding:40px 20px}.case-sidebar{display:none}.gallery{grid-template-columns:1fr}.about-layout{grid-template-columns:1fr}.case-next{flex-direction:column}footer{flex-direction:column}}@media(max-width:450px){.hero{min-height:710px}.hero h1{font-size:2.7rem}.hero-content{padding:20px}.hero-sub{font-size:.88rem}.sign-actions{gap:9px}.wood-sign{font-size:.9rem;padding:9px 13px}.notice-drawer.is-open .notice-paper{padding:24px 20px}.evidence-grid{grid-template-columns:1fr}.sub-hero:after{display:none}.case-hero-inner{margin-top:35px}}@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
/* Case notes unfold like paper as they enter the reading area. */
.case-body>section{position:relative;background:#fffaf0;border-left:3px solid #c6ae82;border-right:3px solid #c6ae82;padding:30px clamp(20px,3vw,38px);box-shadow:4px 6px 0 #e3d5b7}.case-body>section:before,.case-body>section:after{content:"";position:absolute;left:-7px;right:-7px;height:9px;background:repeating-linear-gradient(90deg,#9d704a 0 18px,#ad7e53 18px 36px);border:2px solid #714e36}.case-body>section:before{top:-8px}.case-body>section:after{bottom:-8px}.case-body>section.will-unfurl{opacity:0;transform:scaleY(.95) translateY(18px);clip-path:inset(0 0 24% 0);transform-origin:top;transition:opacity .5s,transform .5s,clip-path .5s}.case-body>section.will-unfurl.unfurled{opacity:1;transform:none;clip-path:inset(0)}@media(prefers-reduced-motion:reduce){.case-body>section.will-unfurl{opacity:1;transform:none;clip-path:none}}
/* Giant village board with two pinned notices. */
.hero{min-height:710px;height:min(820px,calc(100vh - 72px));display:flex;align-items:center;justify-content:center;padding:46px clamp(16px,4vw,65px) 58px}.hero-art{background-position:center 58%;image-rendering:pixelated}.hero-board{position:relative;z-index:1;width:min(1120px,100%);background:repeating-linear-gradient(0deg,#96613c 0 24px,#aa7045 24px 47px,#8e5937 47px 51px);border:12px solid #5f3d2b;box-shadow:0 0 0 6px #b57b4b,13px 16px 0 rgba(37,36,23,.45),0 24px 40px rgba(24,40,27,.28);padding:19px 23px 24px}.hero-board:before,.hero-board:after{content:"";position:absolute;width:14px;height:14px;border-radius:50%;background:#e7c77f;box-shadow:2px 2px 0 #4a3c31;top:13px}.hero-board:before{left:13px}.hero-board:after{right:13px}.board-heading{display:flex;justify-content:space-between;gap:10px;padding:0 27px 14px;color:#fff0c6;text-shadow:2px 2px #5c3b29;font-weight:900;font-size:.89rem;letter-spacing:.08em}.board-contents{display:grid;grid-template-columns:minmax(0,1fr) minmax(190px,265px);align-items:start;gap:25px}.main-poster,.intro-poster{position:relative;background:#fff5d9;border:3px solid #a78259;box-shadow:5px 7px 0 #5f4937,0 7px 18px rgba(36,33,20,.15);color:#334b3d}.main-poster{min-height:490px;padding:clamp(27px,4vw,48px) clamp(25px,4vw,48px);transform:rotate(-.5deg);background-image:linear-gradient(90deg,rgba(169,130,73,.08) 1px,transparent 1px);background-size:32px 32px}.main-poster:before{content:"";position:absolute;inset:12px;border:2px dashed #d3b98c;pointer-events:none}.paper-pin{position:absolute;top:15px;left:50%;width:17px;height:17px;border-radius:50%;background:#bd5e46;box-shadow:2px 3px 0 #7b4036,0 0 0 3px #e2ad78;transform:translateX(-50%);z-index:2}.main-poster .pixel-label{margin-top:14px}.main-poster h1{font-size:clamp(2.6rem,4.35vw,4.75rem);line-height:1.22;letter-spacing:-.045em;margin:14px 0 20px;color:#315644}.main-poster h1 span{color:#ac6643}.main-poster .hero-lead{font-size:clamp(1rem,1.45vw,1.2rem);line-height:1.75;font-weight:850;max-width:640px;margin:0 0 12px}.main-poster .hero-sub{font-size:.98rem;line-height:1.7;color:#58705c;margin:0 0 25px}.intro-poster{position:relative;right:auto;bottom:auto;display:flex;flex-direction:column;text-align:left;gap:14px;width:100%;min-height:286px;padding:55px 22px 25px;transform:rotate(3deg);transition:transform .17s,box-shadow .17s;cursor:pointer}.intro-poster:hover{transform:rotate(0deg) translateY(-6px);box-shadow:5px 12px 0 #5f4937,0 12px 18px rgba(36,33,20,.18)}.intro-poster small{font-size:.78rem;font-weight:900;letter-spacing:.08em;color:#9c6743}.intro-poster strong{font-size:clamp(1.35rem,2vw,1.85rem);line-height:1.35;color:#315644}.poster-cue{margin-top:auto;border-top:2px dashed #cdb485;padding-top:11px;font-size:.85rem;font-weight:900;color:#935b3d}.notice-drawer{scroll-margin-top:76px;background:#8ca879}.notice-drawer.is-open .notice-paper{margin-top:0;max-width:660px;padding:35px 38px 38px;margin-bottom:36px;transform-origin:top;animation:poster-unfurl .46s ease-out}.notice-drawer .wood-sign{margin-top:3px}@keyframes poster-unfurl{from{transform:translateY(-28px) scaleY(.88);opacity:.3}to{transform:none;opacity:1}}@media(max-width:900px){.hero{height:auto;min-height:680px}.hero-board{max-width:690px}.board-contents{grid-template-columns:minmax(0,1fr) 180px;gap:15px}.main-poster{padding:30px;min-height:470px}.main-poster h1{font-size:clamp(2.35rem,5vw,3.5rem)}.intro-poster{min-height:240px;padding:50px 16px 18px}}@media(max-width:680px){.hero{padding:28px 16px 50px;min-height:0}.hero-art{background-position:56% center}.hero-board{padding:15px 13px 19px;border-width:8px}.board-heading{font-size:.72rem;padding:0 12px 12px}.board-heading span:last-child{display:none}.board-contents{grid-template-columns:1fr;gap:18px}.main-poster{min-height:0;padding:32px 24px 28px}.main-poster h1{font-size:clamp(2.1rem,8vw,3.3rem)}.main-poster .hero-sub{font-size:.87rem}.intro-poster{min-height:145px;max-width:300px;align-self:end;gap:6px;padding:33px 18px 15px;transform:rotate(2deg)}.intro-poster strong{font-size:1.15rem}.intro-poster strong br{display:none}.poster-cue{font-size:.75rem}.notice-drawer{scroll-margin-top:20px}}@media(prefers-reduced-motion:reduce){.notice-drawer.is-open .notice-paper{animation:none}}
/* Approved scene art: HTML hit areas sit on the two parchment notices. */
.scene-hero{height:auto;min-height:0;display:block;padding:0;border:0;background:#d8ebc0}.scene-stage{position:relative;width:min(100%,1672px);margin:auto;aspect-ratio:1672/941}.scene-image{display:block;width:100%;height:100%;object-fit:contain}.scene-notice{position:absolute;z-index:2;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;text-align:left;color:#405940;background:transparent;border:0;box-shadow:none;text-shadow:none;transform:none;transition:background .18s,box-shadow .18s,transform .18s}.scene-notice:hover{background:rgba(255,244,203,.2);box-shadow:inset 0 0 0 3px rgba(104,95,56,.36);transform:translateY(-2px)}.scene-notice:active{transform:translateY(1px)}.scene-notice-main{left:11.5%;top:23.4%;width:22%;height:34%;padding:1.2% 1.1% 1.1%}.scene-notice-bio{left:34.4%;top:30%;width:9.8%;height:24%;padding:1% .6% .8%;right:auto;bottom:auto;min-height:0;gap:0}.scene-notice-bio:hover{transform:translateY(-2px)}.scene-notice-bio span{font-size:clamp(11px,.85vw,15px)}.scene-notice-bio strong{font-size:clamp(16px,1.55vw,25px);line-height:1.25}.scene-notice .notice-kicker{font-size:clamp(10px,.82vw,14px);font-weight:900;letter-spacing:.03em;color:#9c7349}.scene-notice-main strong{font-size:clamp(18px,2.1vw,34px);line-height:1.35;letter-spacing:-.04em;color:#3e604b}.scene-notice .notice-action{border-top:2px dashed #cfb78a;width:100%;padding-top:6px;font-size:clamp(11px,1vw,17px);font-weight:900;color:#9b5c37}.dog-letter{position:absolute;z-index:3;left:73.8%;top:48%;width:13%;height:21%;border:0;background:transparent;box-shadow:none;display:block;transition:transform .18s}.dog-letter:hover{transform:translateY(-4px)}.dog-letter:focus-visible{outline:3px solid #1c5578}.dog-letter span{position:absolute;left:50%;bottom:-18px;transform:translateX(-50%);white-space:nowrap;font-size:clamp(11px,.9vw,15px);font-weight:900;color:#523824;background:#fff0c5;border:2px solid #8f623e;padding:5px 8px;box-shadow:3px 3px #694c32}.scene-mobile-actions{display:none}.hr-letter{border:5px solid #7a573c;background:#fff8de;padding:0;max-width:min(92vw,630px);max-height:90vh;box-shadow:8px 8px 0 #3d342d;color:#34513e}.hr-letter::backdrop{background:rgba(24,44,34,.75)}.letter-frame{position:relative;padding:34px clamp(22px,5vw,48px);max-height:88vh;overflow:auto}.close-letter{position:absolute;right:13px;top:11px;border:2px solid #8c6747;background:#f3e0af;width:38px;height:38px;font-size:1.5rem;line-height:1}.envelope{display:block;position:relative;width:min(340px,75vw);height:205px;margin:20px auto 14px;border:0;background:transparent;perspective:700px}.envelope-back,.envelope-front,.envelope-flap{position:absolute;left:0;right:0;top:0;bottom:26px}.envelope-back{background:#f0d5a3;border:3px solid #ad855d;box-shadow:5px 6px 0 #d9c39f}.envelope-front{clip-path:polygon(0 32%,50% 75%,100% 32%,100% 100%,0 100%);background:#e9c994;border:3px solid #ad855d}.envelope-flap{z-index:2;clip-path:polygon(0 0,100% 0,50% 65%);background:#f9e4bd;transform-origin:top;transition:transform .55s;backface-visibility:hidden}.envelope.unsealed .envelope-flap{transform:rotateX(180deg)}.envelope-label{position:absolute;left:50%;bottom:0;transform:translateX(-50%);white-space:nowrap;font-size:.9rem;font-weight:900;color:#8e5537}.letter-content{background:#fffdf5;border:2px solid #d8bd8d;padding:clamp(20px,4vw,35px);box-shadow:3px 4px 0 #e0cead;animation:letter-rise .45s ease-out}.letter-content h2{margin:0 0 20px;font-size:1.7rem}.letter-content p{line-height:1.85;margin:0 0 17px}.letter-content .letter-sign{text-align:right;font-weight:800}.letter-content .wood-sign{font-size:.9rem}@keyframes letter-rise{from{opacity:0;transform:translateY(-18px)}to{opacity:1;transform:none}}@media(max-width:1050px){.scene-notice,.dog-letter{display:none}.scene-mobile-actions{display:flex;gap:12px;align-items:stretch;justify-content:center;flex-wrap:wrap;padding:18px 20px 24px;background:#e6f0d2}.scene-mobile-actions>*{font:inherit;font-weight:900;min-height:48px}.scene-mobile-actions .wood-sign{box-shadow:3px 4px 0 #513a2b}.mobile-bio,.mobile-letter{border:3px solid #9d7149;background:#fff5d8;color:#4b5a3e;padding:10px 15px;box-shadow:3px 4px 0 #9a8159}}@media(max-width:540px){.scene-stage{width:100%}.scene-mobile-actions{flex-direction:column}.scene-mobile-actions>*{width:100%;text-align:center}.hr-letter{max-width:96vw}.letter-frame{padding:35px 20px 20px}}@media(prefers-reduced-motion:reduce){.letter-content{animation:none}}
/* Four illustrated quests pinned directly to the village board. */
.scene-notice-main{display:flex;flex-direction:column;justify-content:flex-start;padding:1.1% 1% .85%;cursor:default}
.scene-notice-main:hover{background:transparent;box-shadow:none;transform:none}
.scene-notice-main .notice-kicker{margin:0 0 1%;line-height:1.2}
.quest-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));width:100%;height:100%;min-height:0;gap:2% 3%}
.quest-entry{display:flex;min-width:0;min-height:0;flex-direction:column;align-items:center;text-align:center;justify-content:space-between;padding:0 2% 2%}
.quest-entry img{display:block;width:90%;height:48%;object-fit:contain;image-rendering:pixelated}
.quest-name{display:flex;align-items:center;justify-content:center;min-height:25%;font-family:"STKaiti","KaiTi","Kaiti SC","Songti SC",serif;font-size:clamp(12px,.84vw,15px);line-height:1.15;font-weight:900;letter-spacing:.02em;color:#63402d;text-shadow:1px 1px 0 #f4d7a0,-1px -1px 0 rgba(105,67,42,.18);text-wrap:balance}
.quest-wood{display:flex;align-items:center;justify-content:center;min-height:22%;width:94%;background:linear-gradient(#c38b53 0 22%,#ab6b3e 22% 78%,#945835 78%);border:2px solid #754629;box-shadow:2px 2px 0 #76573c,inset 0 2px #e3b37e;color:#fff7db;font-size:clamp(11px,.73vw,13px);font-weight:900;text-shadow:1px 1px #684327;transition:transform .15s,filter .15s}
.quest-wood:hover{filter:brightness(1.13);transform:translateY(-2px)}
.quest-wood:active{transform:translateY(1px)}
.mobile-quest-paper{display:none}
@media(max-width:1050px){.scene-mobile-actions{display:flex;flex-direction:column;align-items:stretch;max-width:660px;margin:auto;background:transparent;padding:0 20px 28px}.scene-hero{background:#e6f0d2}.mobile-quest-paper{display:block;background:#fff2cd;border:5px solid #a7764a;box-shadow:5px 6px 0 #6b4d35;padding:20px;margin-top:16px}.mobile-quest-paper h2{margin:0 0 15px;color:#775037;font-size:1.5rem}.mobile-quest-paper .quest-grid{height:auto;gap:20px 12px}.mobile-quest-paper .quest-entry{gap:9px;padding:0}.mobile-quest-paper .quest-entry img{width:min(100%,155px);height:95px}.mobile-quest-paper .quest-name{min-height:42px;font-size:clamp(14px,2.8vw,18px)}.mobile-quest-paper .quest-wood{min-height:42px;width:100%;font-size:14px}.scene-mobile-actions>.mobile-bio,.scene-mobile-actions>.mobile-letter{min-height:50px;text-align:center}}
@media(max-width:540px){.mobile-quest-paper{padding:14px 12px}.mobile-quest-paper .quest-entry img{height:75px}.mobile-quest-paper .quest-grid{gap:16px 10px}}
/* Center the small character record below its pin. */
.scene-notice-bio{align-items:center;justify-content:space-between;text-align:center;padding:clamp(28px,2.5vw,42px) 6px clamp(8px,.8vw,13px)}
.scene-notice-bio .notice-kicker{display:block;width:100%;white-space:nowrap;font-size:clamp(11px,.88vw,15px);line-height:1.2}
.scene-notice-bio strong{display:block;width:100%;font-size:clamp(19px,1.7vw,28px);line-height:1.15;white-space:nowrap}
.scene-notice-bio>span:nth-of-type(2){display:block;width:100%;font-size:clamp(13px,1.08vw,18px);font-weight:850}
.scene-notice-bio .notice-action{display:block;width:100%;text-align:center;white-space:nowrap}
/* Approved compact quest art and blocky adventure labels. */
.quest-entry{display:grid;grid-template-rows:minmax(0,1fr) minmax(19px,auto) minmax(25px,29px);row-gap:4px;justify-items:center;align-items:center;padding:0 1% 1%;overflow:hidden}
.quest-entry img{display:block;width:100%;height:100%;max-height:82px;object-fit:contain;image-rendering:pixelated;filter:saturate(.68) brightness(1.06)}
.quest-name{display:block;min-height:0;max-width:100%;white-space:nowrap;font-family:"Microsoft YaHei","PingFang SC","Noto Sans CJK SC",sans-serif;font-size:clamp(12px,.93vw,16px);font-weight:900;line-height:1.2;letter-spacing:-.025em;color:#5b4633;text-shadow:1px 0 #5b4633,-1px 0 #5b4633,0 1px #5b4633,1px 2px #f4d9a7;text-wrap:nowrap}
.quest-wood{width:94%;height:100%;min-height:25px;font-size:clamp(11px,.75vw,13px)}
@media(max-width:1050px){.mobile-quest-paper .quest-entry{grid-template-rows:95px minmax(42px,auto) 42px;row-gap:7px;overflow:visible}.mobile-quest-paper .quest-entry img{height:95px;max-height:95px}.mobile-quest-paper .quest-name{min-height:42px;white-space:normal;font-size:clamp(14px,2.8vw,18px);line-height:1.25;text-wrap:balance}.mobile-quest-paper .quest-wood{min-height:42px}}
@media(max-width:540px){.mobile-quest-paper .quest-entry{grid-template-rows:75px minmax(42px,auto) 42px}.mobile-quest-paper .quest-entry img{height:75px;max-height:75px}}
/* Readable labels and identical quest sign dimensions. */
.quest-entry{width:100%;grid-template-columns:minmax(0,1fr);justify-items:stretch}
.quest-entry img{justify-self:center}
.quest-name{width:100%;min-width:0;display:block;text-align:center;font-family:"Microsoft YaHei","PingFang SC","Noto Sans CJK SC",sans-serif;font-size:clamp(12px,.88vw,15px);font-weight:800;line-height:1.2;letter-spacing:0;color:#5a3d2c;text-shadow:none;-webkit-text-stroke:0;white-space:nowrap;text-wrap:nowrap}
.quest-wood{justify-self:center;box-sizing:border-box;width:100%;max-width:150px;height:29px;min-height:29px;padding:0 4px;white-space:nowrap;font-size:clamp(12px,.8vw,14px);line-height:1.1;text-shadow:none}
@media(max-width:1050px){.mobile-quest-paper .quest-name{font-size:clamp(14px,2.8vw,18px);white-space:normal;text-wrap:balance;line-height:1.25}.mobile-quest-paper .quest-wood{max-width:none;height:42px;min-height:42px}}
/* A mailed adventurer's letter and a brief page-turn before opening a quest. */
.page-turn{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:24px;background:rgba(29,49,38,.78);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .18s,visibility .18s}
.page-turn.is-active{opacity:1;visibility:visible;pointer-events:auto}
.turn-book{position:relative;display:grid;grid-template-columns:1fr 1fr;width:min(86vw,480px);aspect-ratio:1.5;perspective:900px;filter:drop-shadow(10px 14px 0 rgba(15,27,20,.45));transform:translateY(14px) scale(.82)}
.page-turn.is-active .turn-book{animation:book-appear .7s steps(5,end) forwards}
.turn-page{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;background:#fff1c9;border:6px solid #93623b;box-shadow:inset 0 0 0 5px #d8b981;color:#5b4530;text-align:center;padding:15px}
.turn-left{border-right:2px solid #90623f;background:#ead4a8}
.turn-left span{font-size:clamp(1.1rem,3vw,1.6rem);font-weight:900;letter-spacing:.08em}
.turn-right{border-left:2px solid #b18b61}
.turn-motif{width:clamp(60px,13vw,98px);height:clamp(60px,13vw,98px);object-fit:contain;image-rendering:pixelated}
.turn-title{font-size:clamp(1rem,2.5vw,1.35rem);font-weight:900;line-height:1.3}
.turn-leaf{position:absolute;z-index:2;left:50%;top:0;width:50%;height:100%;background:#f9e7bb;border:6px solid #93623b;box-shadow:inset 0 0 0 5px #d7b47d;transform-origin:left center;backface-visibility:hidden}
.page-turn.is-active .turn-leaf{animation:page-flip .65s ease-in-out forwards}
.turn-spine{position:absolute;z-index:3;left:calc(50% - 6px);top:0;bottom:0;width:12px;background:repeating-linear-gradient(180deg,#7a4f33 0 14px,#a47243 14px 20px);box-shadow:2px 0 0 #d0a66b}
@keyframes book-appear{to{transform:translateY(0) scale(1)}}
@keyframes page-flip{to{transform:rotateY(-180deg)}}
@media(max-width:540px){.envelope-postmark{width:105px;height:70px}.turn-book{width:min(92vw,410px)}}
@media(prefers-reduced-motion:reduce){.page-turn,.page-turn.is-active .turn-book,.page-turn.is-active .turn-leaf{animation:none;transition:none}.turn-book{transform:none}}
/* The central wax seal cracks before the flap opens. */
.seal-half{position:absolute;z-index:4;left:50%;top:56%;width:70px;height:70px;transform:translate(-50%,-50%);pointer-events:none;transition:transform .25s ease-out,opacity .25s ease-out}
.seal-half img{display:block;width:100%;height:100%;object-fit:contain;image-rendering:pixelated}
.seal-left{clip-path:inset(0 50% 0 0)}
.seal-right{clip-path:inset(0 0 0 50%)}
.envelope.unsealed .seal-left{transform:translate(calc(-50% - 16px),calc(-50% - 10px)) rotate(-22deg);opacity:0}
.envelope.unsealed .seal-right{transform:translate(calc(-50% + 16px),calc(-50% - 10px)) rotate(22deg);opacity:0}
.envelope.unsealed .envelope-flap{transition-delay:.16s}
/* Continuous page flip and zoom, with the destination settling underneath. */
.turn-book{transform-origin:75% 50%;will-change:transform;filter:none}
.turn-leaf{will-change:transform}
.page-turn.is-active .turn-book{animation:book-unfold-zoom .56s cubic-bezier(.2,.72,.2,1) both}
.page-turn.is-active .turn-leaf{animation:page-flip .34s ease-in-out both}
.page-turn.is-arriving{opacity:0;transition:opacity .22s ease}
body.quest-arrival .case-hero{animation:case-land .28s ease-out both}
@keyframes book-unfold-zoom{0%{transform:translateY(18px) scale(.65)}38%{transform:translateY(0) scale(1.04)}100%{transform:translateY(0) scale(var(--turn-zoom,5))}}
@keyframes case-land{from{opacity:.75;transform:scale(1.025)}to{opacity:1;transform:scale(1)}}
@media(max-width:540px){.seal-half{width:58px;height:58px}}
@media(prefers-reduced-motion:reduce){.page-turn.is-active .turn-book,.page-turn.is-active .turn-leaf,body.quest-arrival .case-hero{animation:none}}
/* A continuous field journal below the village noticeboard. */
.site-header{position:relative;z-index:10;min-height:64px;background:#f5e8c6}
.journal-collection{background:repeating-linear-gradient(90deg,#a87952 0 6px,#b8875c 6px 15px,#a87952 15px 17px);padding:clamp(35px,6vw,80px) clamp(14px,4vw,62px) 75px;color:#4c4636}
.journal-intro{max-width:1120px;margin:0 auto 34px;color:#fff2d1;text-shadow:1px 2px #68472e}
.journal-intro .pixel-label{color:#f2d9a6}.journal-intro h2{font-size:clamp(1.7rem,3vw,2.8rem);margin:0 0 8px;line-height:1.3}.journal-intro p:not(.pixel-label){line-height:1.7;margin:0}.journal-intro a{display:inline-block;color:#fff2d1;font-weight:900;text-decoration:underline;text-underline-offset:5px}
.journal-chapter{max-width:1180px;margin:0 auto 70px;scroll-margin-top:20px}
.journal-spread{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);position:relative;isolation:isolate;filter:drop-shadow(10px 12px 0 #765337);scroll-margin-top:24px}
.journal-spread:after{content:"";position:absolute;z-index:3;left:calc(50% - 7px);width:14px;top:0;bottom:0;background:linear-gradient(90deg,#b59667,#674d34 40%,#8c6948 70%,#d1ae78);pointer-events:none}
.journal-page{position:relative;min-width:0;min-height:440px;padding:clamp(30px,4vw,58px) clamp(28px,4vw,58px) 55px;background:#f8edce;border:5px solid #9d754e;box-shadow:inset 0 0 0 5px #ddc89b,inset 0 0 0 8px #f5e5be}
.journal-page.page-left{border-right:0;background:linear-gradient(90deg,#efdfb9 0%,#faf0d6 12%,#f8edce 90%,#dec89f 100%)}
.journal-page.page-right{border-left:0;background:linear-gradient(90deg,#dfc9a1 0%,#f9eecf 12%,#faf0d7 90%,#f0dfb7 100%)}
.journal-page .pixel-label{color:#866747;font-size:.75rem;margin:16px 0 10px}
.journal-page h2{font-size:clamp(1.65rem,3vw,2.65rem);margin:0 0 10px;line-height:1.3;color:#4e4b35}
.journal-page h3{font-size:clamp(1.2rem,1.8vw,1.55rem);line-height:1.4;color:#654a36;margin:28px 0 10px;border-bottom:2px solid #cbb88e;padding-bottom:7px}
.journal-page p,.journal-page li{font-size:clamp(1rem,1.13vw,1.08rem);line-height:1.85;overflow-wrap:anywhere}
.journal-page p{margin:0 0 13px}.journal-page .chapter-hook{font-weight:800;color:#806444;font-size:1.13rem}
.page-corner{display:block;font-size:.8rem;letter-spacing:.06em;color:#95734d;font-weight:900}
.folio{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);color:#987b54;font-size:.8rem;font-weight:900}
.ink-note{background:rgba(241,223,179,.65);border-left:4px solid #b1875e;padding:16px 18px;margin:20px 0 12px}.ink-note strong{font-size:1rem;color:#754f32}.ink-note p{margin:6px 0 0}
.journal-actions{padding-left:1.4em;margin:20px 0}.journal-actions li{padding-left:5px;margin-bottom:19px}.journal-actions li::marker{color:#a87346;font-weight:900}.margin-note{border-top:2px dashed #cdb88c;padding-top:17px;color:#756345}
.evidence-spread{margin-top:28px}.journal-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin:18px 0}.journal-gallery .gallery-item{min-width:0;padding:6px;background:#e9d5a8;border:2px solid #b39a74;box-shadow:2px 2px #b49c73;text-align:left}.journal-gallery .gallery-item img{display:block;width:100%;height:clamp(90px,12vw,145px);object-fit:cover}.journal-gallery .gallery-item span{display:block;font-size:.76rem;line-height:1.4;margin:7px 3px 2px;color:#564b3c}.journal-page .source-note{font-size:.84rem;color:#716450}.no-gallery{background:#f2e4c0;border:2px dashed #b59b70;padding:20px}
.page-edge{display:flex;justify-content:flex-end;max-width:1180px;margin:0 auto;padding:13px 3px 0}.book-next{display:inline-flex;justify-content:center;align-items:center;gap:10px;min-height:45px;padding:9px 18px;background:#d8ad70;color:#4d3728;border:3px solid #7d5338;box-shadow:3px 4px #6b4934;font-weight:900}.book-next:hover{background:#e6c089;transform:translateY(-2px)}
.journal-addendum{max-width:1180px;margin:45px auto 0;scroll-margin-top:24px}.journal-addendum .books{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.journal-addendum .book-card{background:#f8edce}.journal-addendum>.source-note{color:#fff0cf}.journal-addendum .profile-paper{max-width:none;background:#f8edce;padding:clamp(25px,4vw,54px)}.journal-addendum .profile-paper p{font-size:1.05rem;line-height:1.9}
.journal-direct{min-height:100vh}.journal-direct .journal-chapter{margin-bottom:0}
/* The muted pixel seal stays on the folded flap as the lower paper bond releases. */
.flap-assembly{position:absolute;z-index:3;left:0;right:0;top:0;height:179px;transform-origin:50% 0;transform-style:preserve-3d;transition:transform .65s ease-in-out;pointer-events:none}
.flap-assembly .envelope-flap{position:absolute;inset:0;clip-path:polygon(0 0,100% 0,50% 65%);background:#f9e4bd;transform:none;transition:none;backface-visibility:hidden}
.wax-seal{position:absolute;z-index:2;left:50%;top:56%;width:55px;height:55px;transform:translate(-50%,-50%);object-fit:contain;image-rendering:pixelated;backface-visibility:hidden;filter:saturate(.72)}
.envelope.unsealed .flap-assembly{transform:rotateX(170deg)}
.envelope.unsealed .envelope-flap{transform:none;transition:none}
/* A restrained, evenly paced opening: no large end-frame zoom. */
.page-turn{background:rgba(35,48,37,.9);transition:opacity .26s linear,visibility .26s}
.turn-book{transform-origin:center;filter:drop-shadow(8px 10px 0 rgba(12,24,18,.32))}
.page-turn.is-active .turn-book{animation:book-settle var(--turn-duration,1100ms) linear both}
.page-turn.is-active .turn-leaf{animation:page-flip var(--turn-duration,1100ms) linear both}
.page-turn.is-arriving{opacity:0;transition:opacity .26s linear}
@keyframes book-settle{from{transform:translateY(12px) scale(.88)}to{transform:translateY(0) scale(1.08)}}
@media(max-width:760px){.journal-collection{padding:34px 14px 65px}.journal-spread{display:block;filter:drop-shadow(5px 7px 0 #765337)}.journal-spread:after{display:none}.journal-page{min-height:0;padding:32px 25px 55px;border:4px solid #9d754e!important}.journal-page.page-left{border-bottom:0}.journal-page.page-right{border-top:0}.journal-page h3{margin-top:24px}.journal-gallery .gallery-item img{height:clamp(100px,29vw,180px)}.evidence-spread{margin-top:20px}.journal-addendum .books{grid-template-columns:1fr}.wax-seal{width:49px;height:49px}}
@media(prefers-reduced-motion:reduce){.page-turn.is-active .turn-book,.page-turn.is-active .turn-leaf{animation:none}.flap-assembly{transition:none}}
/* The first sheet below the path is the adventurer's profile parchment. */
.profile-section,.profile-section.is-open{display:block;grid-template-rows:none;opacity:1;background:#83976c;padding:clamp(36px,5vw,70px) clamp(18px,5vw,70px) clamp(58px,7vw,95px);scroll-margin-top:0;overflow:hidden}
.profile-section .profile-parchment,.profile-section.is-open .profile-parchment{position:relative;max-width:1020px;min-height:0;margin:0 auto;padding:clamp(29px,5vw,65px) clamp(27px,6vw,75px);overflow:visible;color:#493c2b;background-color:#ead4a4;background-image:radial-gradient(circle at 1px 1px,rgba(129,88,48,.10) 1px,transparent 1.5px),repeating-linear-gradient(0deg,transparent 0 8px,rgba(125,88,53,.025) 8px 10px),linear-gradient(110deg,#e0c28b,#f1dfb4 23%,#edd5a2 69%,#dfbd81);background-size:11px 11px,auto,auto;border:7px solid #b38a56;box-shadow:8px 10px 0 #52694e,inset 0 0 0 4px #f3e2bb,inset 0 0 0 9px #d5ae72;transform:translateY(-65px) scaleY(.95);transform-origin:top center;opacity:0;transition:transform .68s cubic-bezier(.2,.68,.22,1),opacity .45s linear}
.profile-section.is-open .profile-parchment{transform:none;opacity:1;margin-bottom:0;animation:none}
.profile-parchment:before,.profile-parchment:after{content:"";position:absolute;width:17px;height:17px;border:3px solid #a77b4c;pointer-events:none}
.profile-parchment:before{left:16px;top:16px;border-right:0;border-bottom:0}.profile-parchment:after{right:16px;bottom:16px;border-left:0;border-top:0}
.profile-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;border-bottom:3px double #b99462;padding-bottom:13px;margin-bottom:23px}.profile-heading .pixel-label{margin:0;color:#805d3d}.profile-edition{font-size:.82rem;font-weight:800;color:#8a704d}
.profile-parchment h2{font-size:clamp(2.5rem,5vw,4.4rem);letter-spacing:.02em;line-height:1.18;margin:0 0 8px;color:#4a432e}.profile-lead{font-size:clamp(1.05rem,1.8vw,1.25rem);font-weight:900;color:#775539}.profile-section .profile-intro{font-size:clamp(1rem,1.5vw,1.17rem);line-height:1.9;max-width:850px;margin:21px 0 15px}.profile-rule{color:#a9814e;letter-spacing:1.1em;text-align:center;font-size:.9rem;border-bottom:2px solid #ceb181;line-height:2;margin:5px 0 27px}
.profile-columns{display:grid;grid-template-columns:1fr 1fr;gap:clamp(24px,5vw,64px)}.profile-label{display:inline-block;font-weight:900;font-size:1rem;color:#66472f;background:#d4ac70;padding:6px 15px;border:2px solid #a67a49;box-shadow:3px 3px 0 #be9864}.profile-columns p{font-size:1rem;line-height:1.8;margin:18px 0 0}.profile-columns strong{color:#69432e}.profile-tail{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-top:30px;padding-top:19px;border-top:2px dashed #b99160;font-weight:900;color:#745332}.profile-tail .wood-sign{white-space:nowrap;text-decoration:none}
/* Center the larger matte seal over the V-shaped closure. */
.wax-seal{top:50%;width:78px;height:78px;filter:saturate(.9) brightness(1.04)}
/* Turning within the open journal flips the current right leaf in place. */
.journal-spread{perspective:1600px}
.journal-spread.is-page-turning:before{content:"";position:absolute;right:0;top:0;width:50%;height:100%;background:#f7e9c4;border:5px solid #9d754e;box-shadow:inset 0 0 0 5px #ddc89b}
.journal-spread.is-page-turning .page-right{z-index:4;transform-origin:left center;backface-visibility:hidden;animation:journal-leaf-turn .78s ease-in-out forwards}
@keyframes journal-leaf-turn{0%{transform:rotateY(0)}100%{transform:rotateY(-155deg)}}
@media(max-width:760px){.profile-section,.profile-section.is-open{padding:30px 16px 65px}.profile-section .profile-parchment,.profile-section.is-open .profile-parchment{padding:32px 24px 35px}.profile-heading{align-items:flex-start;flex-direction:column;gap:4px}.profile-columns{grid-template-columns:1fr;gap:22px}.profile-tail{align-items:flex-start;flex-direction:column}.wax-seal{width:70px;height:70px}.journal-spread.is-page-turning:before{width:100%;top:auto;bottom:0;height:50%}}
@media(prefers-reduced-motion:reduce){.profile-section .profile-parchment{transition:none;transform:none;opacity:1}.journal-spread.is-page-turning .page-right{animation:none}}
/* Profile dossier: a clear RPG hierarchy on quiet parchment. */
.profile-parchment .profile-heading{margin-bottom:33px}.profile-parchment .profile-edition{font-size:.85rem;letter-spacing:.03em}
.profile-identity{display:grid;grid-template-columns:1fr auto;align-items:center;column-gap:20px;padding-bottom:21px}
.profile-parchment .profile-identity h2{font-family:Georgia,"Noto Serif CJK SC","Songti SC","SimSun",serif;font-weight:900;color:#6c4b2e;font-size:clamp(3rem,6vw,5.2rem);letter-spacing:.08em;margin:0}
.profile-tag{justify-self:end;border:2px solid #b28b59;background:#ead5a8;padding:8px 13px;color:#775634;font-size:.88rem;font-weight:900}
.profile-identity .profile-lead{grid-column:1/-1;margin:13px 0 0;font-weight:800;color:#6f5439}
.profile-story{max-width:790px;padding:12px 0 3px}.profile-story h3{font-size:1.16rem;margin:0 0 12px;color:#77532f}.profile-story p{font-size:1.08rem;line-height:1.9;margin:0}
.profile-parchment .profile-rule{height:23px;margin:22px 0 31px;border-bottom:0;display:flex;align-items:center;justify-content:center;gap:15px;color:#9d7646;letter-spacing:0}
.profile-parchment .profile-rule:before,.profile-parchment .profile-rule:after{content:"";height:2px;flex:1;background:repeating-linear-gradient(90deg,#b78e59 0 26px,transparent 26px 32px)}
.profile-parchment .profile-rule span{display:inline-block;border:2px solid #b58d58;width:22px;height:22px;line-height:17px;transform:rotate(45deg);font-size:.62rem}
.profile-parchment .profile-rule span::first-letter{display:inline-block;transform:rotate(-45deg)}
.profile-columns{gap:clamp(28px,5vw,70px)}.profile-column{min-width:0}.profile-column h3{font-size:1.42rem;line-height:1.3;color:#65472d;margin:0 0 7px}.profile-icon{display:inline-block;margin-right:4px;filter:grayscale(1) sepia(.6);font-size:1.22rem}.column-kicker{font-size:.83rem!important;color:#8e714b;font-weight:900;letter-spacing:.06em;margin:0 0 14px!important}
.profile-record{display:grid;grid-template-columns:20px minmax(0,1fr);gap:10px;padding:13px 0;border-top:1px solid #c9aa76}.record-icon{color:#9b7143;font-weight:900;font-size:1.05rem;line-height:1.5}.profile-record h4{font-size:1.05rem;line-height:1.45;color:#754f2e;margin:0 0 5px}.profile-columns .profile-record p{font-size:.97rem;line-height:1.75;margin:0}
.profile-parchment .profile-tail{margin-top:0;padding-top:0;border:0}.profile-tail>span{display:grid;gap:5px;line-height:1.55}.profile-tail small{font-size:.76rem;letter-spacing:.08em;color:#977348}.profile-tail .wood-sign{font-size:.9rem}
/* Each case occupies one open book; the evidence spread replaces it in place. */
.js-book .journal-chapter .evidence-spread,.js-book .journal-chapter .evidence-controls{display:none}
.js-book .journal-chapter{overflow-anchor:none}
.js-book .journal-chapter.is-evidence .opening-spread,.js-book .journal-chapter.is-evidence .opening-controls{display:none}
.js-book .journal-chapter.is-evidence .evidence-spread{display:grid;margin-top:0}
.js-book .journal-chapter.is-evidence .evidence-controls{display:flex}
.journal-page{min-height:490px}.journal-page .pixel-label{margin:14px 0 7px}.journal-page h3{margin:26px 0 11px;font-size:clamp(1.15rem,1.6vw,1.42rem)}.journal-page p,.journal-page li{line-height:1.78}.journal-page .chapter-hook{margin:2px 0 24px;color:#85613f}.journal-actions li{margin-bottom:15px}.journal-page .ink-note{margin-top:21px;padding:14px 17px}.journal-page .source-note{margin-top:13px}
.journal-gallery .gallery-item:first-child{grid-column:1/-1}.journal-gallery .gallery-item:first-child img{height:clamp(135px,15vw,205px)}.journal-gallery .gallery-item:not(:first-child) img{height:clamp(88px,9vw,125px)}
.journal-result{padding:17px 18px;border-left:4px solid #b28b59;background:rgba(237,216,170,.52);font-weight:700}.journal-spread.is-page-turning .page-right{animation-duration:.64s}
.journal-spread.is-page-turning-back:before{content:"";position:absolute;left:0;top:0;width:50%;height:100%;background:#f7e9c4;border:5px solid #9d754e;box-shadow:inset 0 0 0 5px #ddc89b}
.journal-spread.is-page-turning-back .page-left{z-index:4;transform-origin:right center;backface-visibility:hidden;animation:journal-leaf-back .64s ease-in-out forwards}
@keyframes journal-leaf-back{to{transform:rotateY(155deg)}}
.evidence-controls{justify-content:space-between;align-items:center}.book-back{border:0;background:transparent;color:#f8e9c8;padding:10px 5px;font-weight:900;text-decoration:underline;text-underline-offset:4px}.book-back:hover{color:white}
@media(max-width:760px){.profile-identity{grid-template-columns:1fr;gap:9px}.profile-tag{justify-self:start}.profile-identity .profile-lead{grid-column:auto}.profile-column h3{font-size:1.3rem}.profile-story p{font-size:1rem}.js-book .journal-chapter.is-evidence .evidence-spread{display:block}.journal-page{min-height:0}.journal-gallery .gallery-item:first-child img{height:clamp(140px,38vw,220px)}.journal-gallery .gallery-item:not(:first-child) img{height:clamp(100px,28vw,150px)}.journal-spread.is-page-turning-back:before{width:100%;height:50%;top:0}}
@media(prefers-reduced-motion:reduce){.journal-spread.is-page-turning-back .page-left{animation:none}}
/* Keep both spreads in the same book slot so page changes never move the viewport. */
@media(min-width:761px){
  .js-book .journal-chapter{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;align-items:stretch}
  .js-book .journal-chapter>.journal-spread{grid-column:1;grid-row:1;margin:0;min-width:0}
  .js-book .journal-chapter>.page-edge{grid-column:1;grid-row:2;width:100%}
  .js-book .journal-chapter .evidence-spread,.js-book .journal-chapter.is-evidence .opening-spread{display:grid}
  .js-book .journal-chapter .evidence-controls,.js-book .journal-chapter.is-evidence .opening-controls{display:flex}
  .js-book .journal-chapter .evidence-spread,.js-book .journal-chapter .evidence-controls{visibility:hidden;opacity:0;pointer-events:none}
  .js-book .journal-chapter.is-evidence .opening-spread,.js-book .journal-chapter.is-evidence .opening-controls{visibility:hidden;opacity:0;pointer-events:none}
  .js-book .journal-chapter.is-evidence .evidence-spread,.js-book .journal-chapter.is-evidence .evidence-controls{visibility:visible;opacity:1;pointer-events:auto}
}
/* Two compact dossiers on the same coarse-pixel writing desk as the village scene. */
.profile-section,.profile-section.is-open{min-height:calc(100svh - 64px);display:grid;place-items:center;padding:clamp(19px,3vw,42px);background:#70432c url('/assets/dossier-desk.webp') center/cover no-repeat;overflow:hidden}
.profile-dossier{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(12px,1.8vw,24px);width:min(88vw,1450px);max-width:100%;transform:translateY(-45px);opacity:0;transition:transform .64s cubic-bezier(.2,.68,.22,1),opacity .45s linear}
.profile-section.is-open .profile-dossier{transform:none;opacity:1}
.profile-scroll{position:relative;height:clamp(520px,76vh,690px);min-width:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#b59465 transparent;padding:clamp(24px,2.6vw,42px);color:#4e3b2a;background-color:#f0dfb8;background-image:radial-gradient(circle at 1px 1px,rgba(124,87,49,.08) 1px,transparent 1.5px),linear-gradient(110deg,#e6cfa2,#f7e9c7 30%,#eed7a8 83%,#dfbd84);background-size:12px 12px,auto;border:5px solid #ae8450;box-shadow:6px 8px 0 #4b2e20,inset 0 0 0 4px #f5e7c6,inset 0 0 0 7px #d2ab73}
.profile-scroll-left{transform:rotate(-.35deg)}.profile-scroll-right{transform:rotate(.4deg)}
.profile-scroll:before,.profile-scroll:after{content:"";position:absolute;width:14px;height:14px;border:2px solid #aa7b4d;pointer-events:none}.profile-scroll:before{left:13px;top:13px;border-right:0;border-bottom:0}.profile-scroll:after{right:13px;bottom:13px;border-left:0;border-top:0}
.dossier-header{display:flex;justify-content:space-between;gap:12px;align-items:center;padding-bottom:9px;border-bottom:2px solid #c4a373;color:#795832;font-weight:900;font-size:.78rem;letter-spacing:.04em}.dossier-header small{font-size:.76rem;color:#98764b;white-space:nowrap}
.profile-scroll h2{font-family:Georgia,"Noto Serif CJK SC","Songti SC","SimSun",serif;color:#60432b;font-size:clamp(2.7rem,4vw,4.2rem);letter-spacing:.05em;line-height:1.2;margin:13px 0 2px}.dossier-role{font-size:1rem;font-weight:900;color:#855c38;margin:0 0 8px}.dossier-school{font-size:.93rem;font-weight:800;color:#725638;margin:0}
.dossier-divider{height:17px;display:flex;align-items:center;gap:9px;margin:11px 0;color:#b08b5b;font-size:.7rem}.dossier-divider:before,.dossier-divider:after{content:"";height:1px;flex:1;background:#c8ac7d}
.profile-scroll h3{font-size:1.15rem;color:#68462c;margin:0 0 7px;line-height:1.35}.dossier-story p,.dossier-entry p{font-size:1rem;line-height:1.6;margin:0}.dossier-story{margin:0}
.dossier-list h3 span,.dossier-right-title span{filter:grayscale(1) sepia(.65);font-size:1.05rem;margin-right:5px}.dossier-entry{border-top:1px solid #d3b98b;padding:8px 0 7px}.dossier-entry strong{display:block;font-size:1rem;color:#714b2e;line-height:1.45;margin-bottom:3px}.dossier-entry p{color:#544532}
.dossier-right-title{margin:20px 0 14px!important;font-size:1.35rem!important}.profile-scroll-right .dossier-entry{padding:16px 0}.profile-scroll-right .dossier-divider{margin-top:14px}.dossier-motto small{font-size:.8rem;font-weight:900;color:#946d45}.dossier-motto p{font-family:Georgia,"Songti SC","SimSun",serif;font-size:1.18rem;font-weight:800;color:#62452c;line-height:1.7;margin:6px 0 18px}.dossier-cta{width:100%;max-width:300px}.dossier-folio{display:block;margin-top:18px;color:#aa8756;font-size:.75rem;letter-spacing:.12em}
/* Wider, shorter spreads keep the entire page visible at desktop sizes. */
.journal-intro,.journal-chapter,.page-edge{max-width:1450px}.journal-collection{padding:clamp(20px,3vw,44px) clamp(16px,3vw,50px) 58px}.journal-chapter{margin-bottom:clamp(45px,7vh,75px)}
@media(min-width:761px){.journal-spread{height:clamp(450px,70vh,610px)}.journal-page{height:100%;min-height:0;overflow:auto;padding:clamp(23px,2.5vw,37px) clamp(27px,3vw,45px) 42px}.journal-page h2{font-size:clamp(1.65rem,2.4vw,2.35rem)}.journal-page h3{font-size:1.2rem;margin:16px 0 8px}.journal-page p,.journal-page li{font-size:1rem;line-height:1.65}.journal-actions li{margin-bottom:11px}.journal-page .chapter-hook{margin-bottom:15px}.journal-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.journal-gallery .gallery-item:first-child{grid-column:auto}.journal-gallery .gallery-item img,.journal-gallery .gallery-item:first-child img,.journal-gallery .gallery-item:not(:first-child) img{height:clamp(75px,10.5vh,115px);object-fit:cover}.journal-gallery .gallery-item span{font-size:.75rem;line-height:1.2;padding:3px;margin:3px 2px 2px}.journal-page .source-note{font-size:.78rem;line-height:1.45;margin-top:9px}.journal-page .ink-note{padding:10px 13px;margin-top:12px}.folio{bottom:12px}}
@media(max-width:760px){.profile-section,.profile-section.is-open{padding:24px 16px 45px;display:block;min-height:0;background-position:center top;background-size:auto 100%}.profile-dossier{display:grid;grid-template-columns:1fr;gap:14px;width:min(100%,600px);margin:auto}.profile-scroll{height:auto;max-height:none;overflow:visible;padding:28px 24px;transform:none}.profile-scroll-right .dossier-entry{padding:10px 0}.journal-spread{height:auto}.journal-page{height:auto;overflow:visible}.journal-gallery .gallery-item:first-child{grid-column:auto}.journal-gallery .gallery-item img,.journal-gallery .gallery-item:first-child img,.journal-gallery .gallery-item:not(:first-child) img{height:clamp(88px,25vw,140px)}}
@media(prefers-reduced-motion:reduce){.profile-dossier{transform:none;opacity:1;transition:none}}
/* One complete scene per viewport when entering a dossier or manuscript. */
@media(min-width:761px){
  html{scroll-snap-type:y proximity}
  .profile-section,.profile-section.is-open{height:100svh;min-height:100svh;scroll-snap-align:start}
  .journal-collection{padding-top:0;padding-bottom:0}
  .journal-chapter{width:100%;min-height:100svh;margin:0 auto;align-content:center;scroll-snap-align:start;scroll-margin-top:0}
  .journal-addendum{min-height:100svh;display:flex;flex-direction:column;justify-content:center;margin-top:0;scroll-snap-align:start}
}
@media(max-width:760px){.profile-section,.profile-section.is-open{height:auto;min-height:100svh}.journal-chapter{min-height:100svh;margin-bottom:0;scroll-margin-top:0}.journal-collection{padding-top:0}}
/* A quiet affordance beside the dossier heading explains the inner scroll. */
.dossier-scroll-cue{float:right;margin-top:4px;color:#946d45;font:800 .76rem/1.35 "PingFang SC","Microsoft YaHei",sans-serif;letter-spacing:.02em}
@media(max-width:760px){.dossier-scroll-cue{display:none}}
/* A fuller field note for the IP project, kept within the two-page book. */
#chapter-identity-v .ip-project-route{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:23px;padding-top:16px;border-top:2px solid #cbb88e}
#chapter-identity-v .ip-project-route span{padding:8px 10px;background:#f0dfb7;border-left:3px solid #aa8459;color:#674d37;font-size:.85rem;font-weight:800}
#chapter-identity-v .ip-project-route b{margin-right:8px;color:#a26b42;font-size:.78rem}
#chapter-identity-v .journal-actions li{line-height:1.55;margin-bottom:9px}
#chapter-identity-v .ip-turning-point{margin:14px 0 0;padding:11px 15px;background:#efe0ba;border-left:4px solid #ab865b;color:#624a35}
#chapter-identity-v .ip-turning-point strong{font-size:.9rem}
#chapter-identity-v .ip-turning-point p{font-size:.88rem;line-height:1.48;margin:4px 0 0}
#chapter-identity-v .ip-result-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0 20px}
#chapter-identity-v .ip-result-grid div{padding:10px 14px;border:2px solid #c8aa78;background:#f1e1b9;display:flex;flex-direction:column;gap:3px}
#chapter-identity-v .ip-result-grid strong{font-size:1.3rem;line-height:1.2;color:#7d5232}
#chapter-identity-v .ip-result-grid span{font-size:.77rem;font-weight:800;color:#775b43}
@media(min-width:761px){
  #chapter-identity-v .evidence-spread .page-left{display:flex;flex-direction:column}
  #chapter-identity-v .evidence-spread .journal-gallery{margin:auto 0;gap:12px}
  #chapter-identity-v .evidence-spread .journal-gallery .gallery-item img{height:clamp(105px,13vh,145px)}
}
@media(max-width:760px){#chapter-identity-v .ip-project-route{margin-top:16px}}
@media(min-width:761px){
  #chapter-identity-v .journal-spread{height:clamp(500px,calc(100svh - 105px),670px)}
  #chapter-identity-v .journal-page{padding:20px clamp(24px,2.4vw,34px) 32px}
  #chapter-identity-v .journal-page h3{margin:12px 0 8px}
  #chapter-identity-v .journal-page .chapter-hook{margin-bottom:14px}
  #chapter-identity-v .journal-page p,#chapter-identity-v .journal-page li{font-size:.95rem;line-height:1.5}
}
/* The IP evidence leaf is a compact file drawer with a complete, enlargeable page. */
#chapter-identity-v .case-file-viewer{display:flex;flex-direction:column;flex:1;min-height:0;margin:12px 0 4px}
#chapter-identity-v .file-rail{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 7px;padding-top:6px}
#chapter-identity-v .file-tab{position:relative;min-height:34px;padding:6px 7px;background:#dfc294;border:2px solid #9d784d;box-shadow:2px 2px 0 #9c805d;color:#654831;font-size:.73rem;font-weight:900;white-space:nowrap;text-align:center}
#chapter-identity-v .file-tab:before{content:"";position:absolute;left:5px;top:-7px;width:23px;height:5px;background:#dfc294;border:2px solid #9d784d;border-bottom:0}
#chapter-identity-v .file-tab[aria-pressed="true"],#chapter-identity-v .file-tab[aria-pressed="true"]:before{background:#b98551;color:#fff7e3}
#chapter-identity-v .file-tab:hover{background:#d1a36a}
#chapter-identity-v .file-tab-icon{margin-right:5px;font-size:.77rem}
#chapter-identity-v .file-preview{display:flex;flex-direction:column;align-items:stretch;flex:1;min-height:0;width:100%;margin-top:12px;padding:8px;background:#e5d0a8;border:3px solid #95704c;box-shadow:4px 5px 0 #ad916a;text-align:left;color:#594330}
#chapter-identity-v .file-preview img{display:block;width:100%;height:calc(100% - 35px);min-height:0;flex:1;object-fit:contain;object-position:center;background:#fff9e9;image-rendering:auto}
#chapter-identity-v .file-preview>span{display:flex;align-items:center;gap:12px;min-height:34px;padding:6px 5px 0;font-size:.83rem;font-style:normal;font-weight:900}
#chapter-identity-v .file-preview b{font-size:.74rem;color:#966738;white-space:nowrap}
#chapter-identity-v .file-preview em{margin-left:auto;font-size:.72rem;font-style:normal;color:#855b3e;white-space:nowrap}
.lightbox[open]{width:min(94vw,1120px);height:min(90vh,850px);display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:auto}
.lightbox img{width:100%;height:calc(100% - 38px);min-height:0;max-height:none;object-fit:contain}
.lightbox p{flex:none;text-align:center;min-height:22px}
.lightbox.is-loading img{visibility:hidden}
#chapter-identity-v .file-preview:disabled{cursor:progress}
.visual-note{display:flex;align-items:center;gap:17px;width:min(100%,780px);margin:24px auto 0;padding:11px;text-align:left;background:#f4e5bf;border:3px solid #a78150;box-shadow:4px 5px 0 #6d543b;color:#553e2a}
.visual-note img{display:block;width:135px;height:85px;object-fit:contain;background:#fff9ed;border:2px solid #c2a174}
.visual-note span{display:flex;flex-direction:column;gap:6px}.visual-note strong{font-size:1.08rem}.visual-note small{font-size:.82rem;line-height:1.5;color:#7a6249}.visual-note:hover{transform:translateY(-2px)}
@media(max-width:760px){
  #chapter-identity-v .case-file-viewer{margin-top:15px}
  #chapter-identity-v .file-preview{min-height:245px;height:clamp(245px,70vw,420px)}
  #chapter-identity-v .file-preview img{height:calc(100% - 35px)}
  #chapter-identity-v .file-tab{font-size:.68rem;white-space:normal;line-height:1.3}
  .visual-note img{width:105px;height:70px}
}
/* Every project file opens as a complete page in the same dossier viewer. */
.journal-chapter .evidence-spread .page-left{display:flex;flex-direction:column}
.journal-chapter .case-file-viewer{display:flex;flex-direction:column;flex:1;min-height:0;margin:12px 0 4px}
.journal-chapter .file-rail{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 7px;padding-top:6px}
.journal-chapter .file-tab{position:relative;min-height:34px;padding:6px 7px;background:#dfc294;border:2px solid #9d784d;box-shadow:2px 2px 0 #9c805d;color:#654831;font-size:.73rem;font-weight:900;white-space:nowrap;text-align:center}
.journal-chapter .file-tab:before{content:"";position:absolute;left:5px;top:-7px;width:23px;height:5px;background:#dfc294;border:2px solid #9d784d;border-bottom:0}
.journal-chapter .file-tab[aria-pressed="true"],.journal-chapter .file-tab[aria-pressed="true"]:before{background:#b98551;color:#fff7e3}
.journal-chapter .file-tab:hover{background:#d1a36a}
.journal-chapter .file-tab-icon{margin-right:5px;font-size:.77rem}
.journal-chapter .file-preview{display:flex;flex-direction:column;align-items:stretch;flex:1;min-height:0;width:100%;margin-top:12px;padding:8px;background:#e5d0a8;border:3px solid #95704c;box-shadow:4px 5px 0 #ad916a;text-align:left;color:#594330}
.journal-chapter .file-preview img{display:block;width:100%;height:calc(100% - 35px);min-height:0;flex:1;object-fit:contain;object-position:center;background:#fff9e9}
.journal-chapter .file-preview>span{display:flex;align-items:center;gap:12px;min-height:34px;padding:6px 5px 0;font-size:.83rem;font-weight:900}
.journal-chapter .file-preview b{font-size:.74rem;color:#966738;white-space:nowrap}
.journal-chapter .file-preview em{margin-left:auto;font-size:.72rem;font-style:normal;color:#855b3e;white-space:nowrap}
.portfolio-archive{min-height:100svh;padding:clamp(40px,6vw,80px) clamp(18px,5vw,70px);display:flex;flex-direction:column;justify-content:center;background:repeating-linear-gradient(90deg,#a87952 0 6px,#b8875c 6px 15px,#a87952 15px 17px);scroll-snap-align:start}
.portfolio-archive .journal-intro{width:100%;margin-bottom:22px}
.archive-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,2vw,24px);width:min(100%,1220px);margin:0 auto}
.archive-gallery .gallery-item{padding:9px;background:#e6d1a6}
.archive-gallery .gallery-item img{width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;background:#fff9ee}
.archive-gallery .gallery-item span{font-size:.94rem;color:#5e4632}
.manju-dossier{width:min(1060px,calc(100vw - 30px));max-width:none;max-height:calc(100dvh - 32px);padding:0;overflow:auto;border:5px solid #5d3926;background:#d7b784;color:#503624;box-shadow:0 22px 0 #2e1b15,0 36px 60px #17100dbb}
.manju-dossier::backdrop{background:#160f0ac9}
.manju-paper{position:relative;padding:clamp(24px,4vw,54px);border:8px solid #9b7149;background:linear-gradient(115deg,#f3e3bc,#e9d1a4 68%,#e0be8b);box-shadow:inset 0 0 0 2px #d2ad72}
.manju-close{position:sticky;top:12px;float:right;z-index:2;width:42px;height:42px;margin:-12px -12px 2px 10px;border:2px solid #745234;background:#d5ad72;color:#4b301f;font-size:1.7rem;line-height:1;cursor:pointer}
.manju-close:hover,.manju-close:focus-visible{background:#b8844d;color:#fff6de}
.manju-header{max-width:760px}.manju-header h2{margin:8px 0 12px;color:#69402c;font-size:clamp(1.9rem,3.4vw,2.8rem);line-height:1.25}.manju-header>p:last-child{font-size:1rem;line-height:1.75}
.manju-highlights{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:23px 0;padding:12px;background:#d0ad79;border:2px solid #aa8050}
.manju-highlights div{display:flex;flex-direction:column;gap:4px;padding:8px 12px;border-left:3px solid #8a603d}.manju-highlights strong{font-size:.9rem;color:#674027}.manju-highlights span{font-size:1rem;font-weight:800}
.manju-paper section{margin:27px 0}.manju-paper h3{margin:0 0 8px;color:#6b432c;font-size:1.28rem}.manju-paper section p{margin:0;font-size:1rem;line-height:1.75}
.manju-text-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;border-top:2px solid #af8757;border-bottom:2px solid #af8757}
.manju-scenes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:16px 0}
.manju-scenes div{min-height:82px;padding:10px;background:#eed8aa;border:2px solid #bb9563}.manju-scenes b{display:block;color:#875c37;font-size:.88rem}.manju-scenes span{display:block;margin-top:6px;font-size:.88rem;line-height:1.35}
.manju-storyboard .manju-method{padding:12px 16px;background:#e5ca98;border-left:4px solid #8e6039}
.manju-shot-sample{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}.manju-shot-sample div{padding:12px 14px;background:#f3dfb4;border:2px solid #b79464}.manju-shot-sample b{color:#6e482e}.manju-paper .manju-shot-sample p{margin-top:5px;font-size:.93rem;line-height:1.55}
.manju-source-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:26px 0 12px;padding-top:16px;border-top:2px solid #ae8755;color:#714a30;font-weight:900}.manju-source-head small{font-size:.8rem;color:#806248}
.manju-source-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.manju-source-gallery button{display:flex;flex-direction:column;gap:0;padding:8px;border:2px solid #aa8457;background:#eed7a9;color:#503624;text-align:left;cursor:pointer}.manju-source-gallery button:hover,.manju-source-gallery button:focus-visible{background:#f5e4c0;outline:2px solid #6d472b}.manju-source-gallery img{display:block;width:100%;height:260px;object-fit:contain;background:#fff}.manju-source-gallery span{padding:9px 3px 2px;font-size:.94rem;font-weight:850;line-height:1.35}.manju-source-gallery .manju-source-wide{grid-column:1/-1}.manju-source-gallery .manju-source-wide img{height:350px}

.manju-character-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px}.manju-character-grid button{padding:8px;border:2px solid #a67d4e;background:#e8cea0;color:#513928;text-align:left;cursor:pointer}.manju-character-grid button:hover,.manju-character-grid button:focus-visible{background:#f3dfb6;outline:2px solid #6d472b}.manju-character-grid img{display:block;width:100%;aspect-ratio:3/2;object-fit:contain;background:#fffaf1}.manju-character-grid span{display:block;padding:8px 2px 2px;font-size:.95rem;font-weight:850}
.manju-folio{margin:24px 0 0;padding-top:12px;border-top:2px solid #ae8755;color:#7a593e;font-size:.85rem}
@media(max-width:760px){.journal-chapter .case-file-viewer{margin-top:15px}.journal-chapter .file-preview{min-height:245px;height:clamp(245px,70vw,420px)}.journal-chapter .file-tab{font-size:.68rem;white-space:normal;line-height:1.3}.archive-gallery{grid-template-columns:1fr}.archive-gallery .gallery-item img{height:clamp(175px,55vw,300px)}}
@media(max-width:680px){.manju-highlights,.manju-text-grid{grid-template-columns:1fr}.manju-scenes{grid-template-columns:repeat(2,minmax(0,1fr))}.manju-shot-sample,.manju-source-gallery,.manju-character-grid{grid-template-columns:1fr}.manju-source-gallery .manju-source-wide{grid-column:auto}.manju-source-gallery img,.manju-source-gallery .manju-source-wide img{height:auto;max-height:340px}.manju-dossier{width:calc(100vw - 12px);max-height:calc(100dvh - 12px)}.manju-paper{padding:22px 18px}.manju-header h2{font-size:1.8rem}}
.product-result-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0 20px}
.product-result-grid div{padding:10px 13px;border:2px solid #c8aa78;background:#f1e1b9;display:flex;flex-direction:column;gap:3px}
.product-result-grid strong{font-size:1.26rem;line-height:1.2;color:#7d5232}
.product-result-grid span{font-size:.77rem;font-weight:800;color:#775b43}
@media(min-width:761px){#chapter-xiaohongshu-review .journal-spread{height:clamp(510px,calc(100svh - 105px),670px)}#chapter-xiaohongshu-review .journal-page{padding:20px clamp(24px,2.4vw,34px) 32px}}
/* Keep each appendix scene within one desktop viewport. */
@media(min-width:761px){
  .journal-addendum{height:100svh;min-height:0;max-width:1120px;box-sizing:border-box;margin:0 auto;padding:clamp(18px,3.5vh,36px) 0;gap:clamp(8px,1.6vh,16px);scroll-margin-top:0;overflow:hidden}
  .journal-addendum .journal-intro{width:100%;margin:0}
  .journal-addendum .journal-intro .pixel-label{margin-bottom:6px}
  .journal-addendum .journal-intro h2{font-size:clamp(1.7rem,2.7vw,2.5rem);margin:0}
  .journal-addendum .books{flex:1;min-height:0;grid-template-rows:repeat(2,minmax(0,1fr));gap:clamp(8px,1.5vh,16px)}
  .journal-addendum .book-card{min-height:0;overflow:hidden}
  .journal-addendum .book-card>div{padding:clamp(11px,1.8vh,20px)}
  .journal-addendum .book-card .pixel-label{margin-bottom:6px}
  .journal-addendum .book-card h2{font-size:clamp(1.08rem,1.5vw,1.36rem);line-height:1.32;margin:4px 0 7px}
  .journal-addendum .book-card p{font-size:.9rem;line-height:1.45}
  .journal-addendum .visual-note{flex:none;width:min(100%,780px);min-height:clamp(76px,11vh,96px);margin:0 auto;padding:7px 10px}
  .journal-addendum .visual-note img{width:105px;height:60px}
  .portfolio-archive{height:100svh;min-height:0;padding:clamp(24px,5vh,60px) clamp(18px,5vw,70px);scroll-margin-top:0}
  .portfolio-archive .journal-intro{margin-bottom:clamp(12px,2.5vh,24px)}
  main>.portfolio-archive{height:calc(100svh - 64px)}
}
/* A clean wood surface, with a quiet thematic pixel-art strip above each book. */
.journal-collection{background:#70432c url('/assets/wood-desk-clean.webp') center top/cover no-repeat}
.journal-chapter{position:relative;isolation:isolate}
.journal-chapter:before{content:"";position:absolute;z-index:-1;inset:0 auto 0 50%;width:100vw;transform:translateX(-50%);background-color:#70432c;background-image:var(--desk-art),url('/assets/wood-desk-clean.webp');background-position:center;background-size:cover;background-repeat:no-repeat;pointer-events:none}
#chapter-yaoshiting{--desk-art:url('/assets/props-yaoshiting.svg')}
#chapter-xiaohongshu-review{--desk-art:url('/assets/props-xiaohongshu-review.svg')}
#chapter-identity-v{--desk-art:url('/assets/props-identity-v.svg')}
#chapter-xiangyang{--desk-art:url('/assets/props-xiangyang.svg')}
.portfolio-archive{background-color:#70432c;background-image:url('/assets/props-portfolio-archive.svg'),url('/assets/wood-desk-clean.webp');background-position:center;background-size:cover;background-repeat:no-repeat}
@media(max-width:760px){.journal-chapter:before,.portfolio-archive{background-size:auto 100svh;background-position:center top;background-repeat:no-repeat,repeat-y}}
/* The background remains still; only cutouts from the approved pixel art move. */
.scene-ambient{position:absolute;inset:0;z-index:1;pointer-events:none;overflow:hidden}
.scene-ambient img{position:absolute;display:block;height:auto;image-rendering:pixelated}
.scene-sky-window{position:absolute;top:0;left:0;width:100%;height:21.79%;overflow:hidden;-webkit-mask-image:url('/assets/hero-sky-mask-strip.png');mask-image:url('/assets/hero-sky-mask-strip.png');-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}
.scene-cloud-track{position:absolute;inset:0;animation:cloud-circuit 160s linear infinite;will-change:transform}
.scene-ambient .scene-cloud-track img{max-width:none}.scene-cloud-strip{top:0;width:100%}
.scene-rump{left:88.46%;top:74.71%;width:4.01%;z-index:2}
.scene-tail{position:absolute;display:block;left:90.01%;top:63.76%;width:10.05%;aspect-ratio:168/240;background:url('/assets/hero-tail-poses.png') 0 0/1000% 100% no-repeat;image-rendering:pixelated;animation:tail-frames 1.5s steps(10,end) infinite;will-change:background-position}
.scene-flower-one{left:.957%;top:84.485%;width:4.127%;transform-origin:50.7% 96.5%;animation:flower-sway-root 1.3s ease-in-out infinite alternate}
.scene-flower-two{left:5.622%;top:89.373%;width:4.007%;transform-origin:44.8% 95.9%;animation:flower-sway-root 1.6s ease-in-out -.5s infinite alternate-reverse}
.scene-flower-3{left:19.199%;top:76.514%;width:3.409%;transform-origin:49.1% 95.4%;animation:flower-sway-gentle 1.5s ease-in-out -.35s infinite alternate}
.scene-flower-4{left:23.684%;top:77.152%;width:3.828%;transform-origin:37.5% 96.1%;animation:flower-sway-gentle 1.8s ease-in-out -.9s infinite alternate-reverse}
.scene-flower-5{left:22.129%;top:92.242%;width:5.084%;transform-origin:41% 100%;animation:flower-sway-gentle 1.6s ease-in-out -.6s infinite alternate}
.scene-flower-6{left:26.196%;top:89.161%;width:1.675%;transform-origin:39% 89.2%;animation:flower-sway-gentle 1.25s ease-in-out -.25s infinite alternate-reverse}
.scene-flower-7{left:18.840%;top:91.073%;width:2.213%;transform-origin:56.8% 92.5%;animation:flower-sway-gentle 1.4s ease-in-out -.7s infinite alternate}
@keyframes cloud-circuit{to{transform:translateX(100%)}}
@keyframes tail-frames{to{background-position:111.1111% 0}}
@keyframes flower-sway-root{from{transform:rotate(-7deg)}to{transform:rotate(7deg)}}
@keyframes flower-sway-gentle{from{transform:rotate(-6deg)}to{transform:rotate(6deg)}}
@media(prefers-reduced-motion:reduce){.scene-ambient img,.scene-tail,.scene-cloud-track{animation:none!important;transform:none!important;will-change:auto}}

.manju-film-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:14px}.manju-film-grid figure{margin:0;padding:8px;background:#e8cea0;border:2px solid #a67d4e}.manju-film-grid video{display:block;width:100%;aspect-ratio:16/9;object-fit:contain;background:#211c17}.manju-film-grid figcaption{display:flex;flex-direction:column;gap:5px;padding:12px 6px 6px}.manju-film-grid strong{font-size:1rem;color:#513928}.manju-film-grid span{font-size:.82rem;color:#765739}@media(max-width:680px){.manju-film-grid{grid-template-columns:1fr}}
