:root{--ink:#292723;--muted:#746d64;--paper:#f1ede5;--rule:rgba(57,48,37,.23);--pad:clamp(24px,3.2vw,64px);--serif:Didot,'Bodoni 72','Times New Roman',serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:28px}body{margin:0;color:var(--ink);background:var(--paper);font-family:'Helvetica Neue','PingFang SC','Microsoft YaHei',sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit}button,a,summary{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid #7a543b;outline-offset:7px}::selection{background:#d7c6ad}.skip-link{position:fixed;z-index:10;top:-80px;left:20px;background:var(--paper);padding:12px}.skip-link:focus{top:12px}.hero{height:100svh;min-height:690px;position:relative;isolation:isolate;overflow:hidden}.scene,.veil{position:absolute;inset:0;z-index:-2}.scene video{height:100%;width:100%;object-fit:cover;object-position:center top;display:block}.veil{z-index:-1;background:linear-gradient(90deg,rgba(245,241,234,.28),rgba(245,241,234,.08) 35%,transparent 50%)}.header{height:70px;display:flex;align-items:center;padding:0 var(--pad);border-bottom:1px solid var(--rule);gap:36px}.wordmark{font-family:var(--serif);font-size:21px;letter-spacing:.38em;line-height:1}.descriptor{font-size:12px;letter-spacing:.28em}.header nav{margin-left:auto;display:flex;gap:36px;font-size:12px;letter-spacing:.16em}.header nav a{position:relative;padding:10px 0}.header nav a:after{content:'';position:absolute;bottom:4px;left:0;width:100%;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform .25s}.header nav a:hover:after{transform:scaleX(1)}.intro{position:absolute;top:clamp(118px,16vh,185px);left:calc(var(--pad) * 1.48);max-width:43%;}.eyebrow{font-size:12px;letter-spacing:.32em;font-weight:400;margin:0 0 22px;line-height:1.7}.intro>.eyebrow{color:#766f66;margin-bottom:24px}h1{font-family:var(--serif);font-size:clamp(86px,min(9.45vw,13.5vh),174px);font-weight:400;letter-spacing:-.067em;line-height:.805;margin:0 0 24px}h1 span{display:block}.intro h2{font-size:clamp(21px,2.1vw,34px);font-weight:500;letter-spacing:-.035em;margin:0 0 11px}.slash{font-weight:300;margin:0 3px}.tagline{font-size:clamp(15px,1.43vw,23px);letter-spacing:.02em;margin:0}.intro-links{display:flex;gap:36px;margin-top:29px}.text-link{font-size:14px;font-weight:500;padding:0 0 8px;border:0;border-bottom:1px solid currentColor;background:none;display:inline-flex;align-items:center;gap:17px;cursor:pointer;transition:color .2s}.text-link:hover{color:#9b5732}.secondary{color:#777268}.chapter{position:absolute;left:39.6%;bottom:12.5%;font-size:12px;letter-spacing:.19em;line-height:1.8;display:grid;gap:5px}.chapter i{display:block;width:92px;height:1px;background:var(--rule);margin-top:6px}.motion-control{position:absolute;right:var(--pad);bottom:20%;border:0;background:rgba(244,240,231,.36);padding:8px 12px;display:flex;align-items:center;gap:15px;cursor:pointer}.motion-icon{font-size:35px;font-weight:200;line-height:1}.motion-label{font-size:12px;letter-spacing:.18em}.motion-control:hover{background:rgba(244,240,231,.8)}.hero-index{position:absolute;bottom:0;left:var(--pad);right:var(--pad);height:70px;border-top:1px solid var(--rule);display:flex;align-items:center;gap:40px;font-size:12px;letter-spacing:.18em}.index-title{white-space:nowrap}.index-title span{display:inline-block;margin-left:18px;transition:transform .2s}.index-title:hover span{transform:translateY(4px)}.hero-index nav{display:flex;gap:clamp(24px,4vw,70px);margin-left:auto}.hero-index nav a{padding:12px 0}.hero-index nav a:hover{color:#9b5732}.end-rule{height:1px;width:55px;background:var(--rule)}.section{padding:94px calc(var(--pad) * 1.48);}.section-top{display:flex;justify-content:space-between;gap:20px}.note,.sample-label{font-size:12px;color:var(--muted);line-height:1.8}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:40px;margin:22px 0 58px}.section-heading h2{font-family:var(--serif);font-weight:400;font-size:clamp(38px,5vw,76px);line-height:1.04;letter-spacing:-.05em;margin:0}.section-heading p{font-size:14px;line-height:1.9;margin:0;color:var(--muted)}.project{border-top:1px solid var(--rule);scroll-margin-top:30px}.project:last-child{border-bottom:1px solid var(--rule)}summary{list-style:none;display:flex;align-items:center;padding:32px 0;cursor:pointer;gap:32px}summary::-webkit-details-marker{display:none}.project-no{font-family:var(--serif);font-size:27px;color:var(--muted);width:45px}.project-name{font-size:25px;letter-spacing:.04em}.project-name small{display:block;font-size:12px;color:var(--muted);letter-spacing:.11em;margin-top:9px}.project-action{margin-left:auto;font-size:12px;display:flex;align-items:center;gap:30px}.project-action i{font-size:26px;font-style:normal;transition:transform .25s}.project[open] .project-action i{transform:rotate(90deg)}.project-content{display:grid;grid-template-columns:1.15fr 1fr;gap:7%;padding:10px 0 46px;align-items:center}.identity-art,.digital-art,.experiment-art{width:100%;aspect-ratio:1.5;overflow:hidden}.identity-art{background:#383d33;color:#eee8db;position:relative;padding:7%}.identity-art>span{font-family:var(--serif);font-size:clamp(30px,4.8vw,78px);line-height:.94;position:relative;z-index:1}.identity-art i{position:absolute;right:13%;top:12%;width:28%;height:78%;border:1px solid #b3aa8e;border-radius:50%;transform:rotate(30deg)}.identity-art small{position:absolute;bottom:8%;left:7%;font-size:12px;letter-spacing:.2em}.digital-art{background:#ded5c5;padding:7%;display:flex;flex-direction:column;align-items:start;gap:12px}.mini-logo{font-family:var(--serif);font-size:23px}.mini-label{font-size:12px;letter-spacing:.16em}.digital-art strong{font-family:var(--serif);font-size:clamp(25px,3.6vw,54px);line-height:1.03;font-weight:400}.mini-line{width:100%;height:1px;background:var(--rule);margin-top:auto}.digital-art small{font-size:12px;letter-spacing:.18em}.experiment-art{object-fit:cover}.project-copy .eyebrow{font-size:12px;margin-bottom:15px}.project-copy h3{font-size:26px;line-height:1.55;font-weight:400;margin:0 0 20px}.project-copy>p:not(.eyebrow){font-size:14px;line-height:1.95;max-width:350px;color:var(--muted)}.project-copy .sample-label{font-size:12px!important}.about{border-top:1px solid var(--rule);background:#e7e1d6}.about-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:7%;margin-top:44px}.about-grid h2,.contact h2{font-size:clamp(30px,3.4vw,53px);font-weight:400;line-height:1.45;letter-spacing:-.03em;margin:0}.about-grid em,.contact em{font-style:normal;color:#847764}.about-grid p{font-size:15px;line-height:2;margin:0 0 20px}.about-grid .about-name{font-size:20px}.disciplines{display:flex;gap:25px;font-size:12px;padding:20px 0;border-top:1px solid var(--rule);margin-top:30px}.about-grid .sample-label{font-size:12px}.contact-row{display:flex;align-items:end;justify-content:space-between;gap:30px;margin:35px 0 80px}.contact-row p{font-size:14px;line-height:2}.contact-row p span{color:var(--muted)}.footer-line{border-top:1px solid var(--rule);padding-top:24px;display:flex;justify-content:space-between;font-size:12px;letter-spacing:.12em}.intro{animation:arrive 1s cubic-bezier(.16,1,.3,1) both}@keyframes arrive{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1800px){.intro{max-width:38%}}
@media(max-width:900px){.descriptor{display:none}.header nav{gap:24px}.intro{left:var(--pad)}.hero-index{gap:20px}.end-rule{display:none}.hero-index nav{gap:20px}.section{padding:70px var(--pad)}.section-heading{align-items:start}.chapter{left:49%}.intro h2{font-size:25px}.tagline{font-size:16px}}
@media(max-width:600px){.hero{height:100svh;min-height:760px;max-height:1050px}.header{height:64px;padding:0 22px;gap:14px}.wordmark{font-size:18px;letter-spacing:.25em}.header nav{gap:17px;font-size:12px;letter-spacing:.07em}.scene video{object-position:42% top}.veil{background:linear-gradient(90deg,rgba(242,237,228,.86),rgba(242,237,228,.35) 48%,transparent 80%),linear-gradient(0deg,rgba(241,237,229,.8),transparent 30%)}.intro{top:118px;left:24px;max-width:90%}.intro>.eyebrow{font-size:12px;letter-spacing:.24em;margin-bottom:25px}h1{font-size:clamp(80px,21vw,119px);line-height:.83;letter-spacing:-.06em;margin-bottom:27px}.intro h2{font-size:23px}.tagline{font-size:15px}.intro-links{margin-top:28px;gap:30px}.text-link{font-size:13px}.chapter{display:none}.motion-control{right:20px;bottom:140px;padding:6px 8px}.motion-icon{font-size:28px}.motion-label{font-size:12px}.hero-index{left:24px;right:24px;height:106px;display:block;padding-top:18px;font-size:12px;letter-spacing:.13em}.hero-index nav{justify-content:space-between;gap:8px;margin-top:15px}.index-title{font-size:12px}.section{padding:58px 24px}.section-top{display:block}.section-top .eyebrow{margin-bottom:8px}.section-heading{display:block;margin:30px 0}.section-heading h2{font-size:42px;max-width:300px}.section-heading p{margin-top:20px;font-size:13px}.project summary{gap:14px;padding:25px 0}.project-no{font-size:23px;width:27px}.project-name{font-size:21px}.project-name small{font-size:12px}.project-action{font-size:0;gap:0}.project-action i{font-size:24px}.project-content{grid-template-columns:1fr;gap:26px;padding-bottom:30px}.identity-art>span{font-size:60px}.digital-art strong{font-size:43px}.project-copy h3{font-size:24px}.about-grid{grid-template-columns:1fr;gap:32px;margin-top:30px}.about-grid h2,.contact h2{font-size:35px}.contact-row{display:block;margin-bottom:55px}.contact-row p{margin-top:28px}.footer-line{font-size:12px;gap:15px}.about .eyebrow{font-size:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}
/* Centered hero copy variation. */
.intro{top:50%;left:50%;width:max-content;max-width:calc(100% - 48px);text-align:center;transform:translate(-50%,-50%);animation:center-arrive 1s cubic-bezier(.16,1,.3,1) both}
.intro-links{justify-content:center}
@keyframes center-arrive{from{opacity:0;transform:translate(-50%,calc(-50% + 18px))}to{opacity:1;transform:translate(-50%,-50%)}}
@media(max-width:600px){.intro{top:47%;left:50%;max-width:calc(100% - 40px)}}
/* Local contrast layer follows the centered copy without covering the full scene. */
.intro{isolation:isolate}
.intro::before{content:"";position:absolute;z-index:-1;inset:-64px -100px -54px;pointer-events:none;mask-image:radial-gradient(ellipse closest-side at center,#000 45%,transparent 100%);background:radial-gradient(ellipse at 50% 43%,rgba(246,242,234,.66) 0%,rgba(246,242,234,.62) 40%,rgba(246,242,234,.28) 64%,transparent 80%),radial-gradient(ellipse at 50% 77%,rgba(246,242,234,.58) 0%,rgba(246,242,234,.38) 19%,transparent 45%)}
.intro>.eyebrow,.intro .secondary{color:#58534c}
@media(max-width:600px){.intro::before{inset:-48px -48px -44px}}

/* A muted olive accent keeps the emphasis on the main idea. */
.intro .shape-accent{color:#59604b}

/* Video plays normally; scrolling only animates the scene and copy. */
.scroll-stage.has-scroll-transition{height:180svh;--exit-progress:0}
.scroll-stage.has-scroll-transition .hero{position:sticky;top:0;height:100svh;min-height:0;max-height:none}
.has-scroll-transition .scene{transform:scale(calc(1 + var(--exit-progress) * .04));transform-origin:center top}
.has-scroll-transition .intro{animation:none;opacity:calc(1 - var(--exit-progress));translate:0 calc(var(--exit-progress) * -45px)}
.has-scroll-transition .chapter,.has-scroll-transition .motion-control{opacity:calc(1 - var(--exit-progress))}
.archaeology{position:relative;min-height:100svh;display:flex;align-items:center;padding:90px 7%;background:#eee8dd url('assets/transition-end.webp') center center/cover no-repeat;scroll-margin-top:0}
.archive-copy{width:40%;margin-left:auto;position:relative}
.archive-copy h2{font-family:var(--serif);font-size:clamp(52px,5.6vw,96px);font-weight:400;line-height:.94;letter-spacing:-.055em;margin:28px 0}
.archive-copy h2 em{font-style:normal;color:#59604b}
.archive-intro{font-size:15px;line-height:1.9;margin-bottom:32px}
.archive-list a{display:flex;align-items:center;gap:22px;padding:23px 0;border-top:1px solid var(--rule)}
.archive-list a:last-child{border-bottom:1px solid var(--rule)}
.archive-list a>span{font-family:var(--serif);font-size:23px;color:var(--muted)}
.archive-list a>div{font-size:22px}
.archive-list small{display:block;margin-top:8px;font-size:12px;letter-spacing:.12em;color:var(--muted)}
.archive-list i{margin-left:auto;font-style:normal;font-size:24px;transition:transform .2s}
.archive-list a:hover i{transform:translate(3px,-3px)}
.archive-copy>.note{margin-top:24px;font-size:12px;letter-spacing:.12em}
@media(max-width:900px){.archaeology{padding:70px 5%;background-position:43% center}.archive-copy{width:45%}.archive-copy h2{font-size:57px}.archive-copy .eyebrow{font-size:12px}}
@media(max-width:600px){.scroll-stage.has-scroll-transition{height:160svh}.archaeology{display:block;padding:370px 24px 48px;background-position:25% top;background-size:auto 470px;background-color:#eee8dd}.archaeology:before{content:'';position:absolute;inset:290px 0 0;background:linear-gradient(transparent,#eee8dd 155px)}.archive-copy{width:100%;margin:0}.archive-copy h2{font-size:60px}.archive-copy>.eyebrow{letter-spacing:.2em}.archive-intro{font-size:14px}.archive-list a{padding:20px 0}.archive-list a>div{font-size:21px}}

/* Both scenes occupy one pinned viewport; the document only supplies progress. */
.return-stage{display:none}
.stage-enabled:not(.reading-mode)> .works,.stage-enabled:not(.reading-mode)> .about,.stage-enabled:not(.reading-mode)> .contact{display:none}
.scroll-stage.has-scroll-transition{height:220svh}
.has-scroll-transition .stage-viewport{position:sticky;top:0;height:100svh;overflow:hidden;isolation:isolate;background:#eee8dd}
.scroll-stage.has-scroll-transition .hero{position:absolute;inset:0;opacity:clamp(0,calc((.48 - var(--exit-progress)) / .30),1)}
.has-scroll-transition .archaeology{position:absolute;inset:0;height:100svh;min-height:0;opacity:clamp(0,calc((var(--exit-progress) - .52) / .30),1);padding-top:50px;padding-bottom:40px}
.has-scroll-transition .archive-copy{transform:translateX(calc((1 - var(--exit-progress)) * 32px))}
.has-scroll-transition .archive-copy h2{font-size:clamp(48px,5.6vw,86px);margin:20px 0}
.has-scroll-transition .archive-list a{padding:18px 0}
.has-scroll-transition .archive-intro{margin-bottom:24px}
.stage-enabled.reading-mode .scroll-stage{display:none}
.stage-enabled.reading-mode .return-stage{display:block;position:sticky;top:0;z-index:5;padding:18px var(--pad);background:var(--paper);border-bottom:1px solid var(--rule);font-size:13px}
@media(max-width:600px){.has-scroll-transition .archaeology{padding:32svh 24px 18px;background-size:auto 45svh;background-position:25% top}.has-scroll-transition .archaeology:before{inset:22svh 0 0;background:linear-gradient(transparent,#eee8dd 20svh)}.has-scroll-transition .archive-copy h2{font-size:clamp(34px,6svh,52px);margin:12px 0}.has-scroll-transition .archive-copy .eyebrow{font-size:12px;margin-bottom:10px}.has-scroll-transition .archive-intro{font-size:12px;line-height:1.6;margin:12px 0}.has-scroll-transition .archive-list a{padding:12px 0}.has-scroll-transition .archive-list a>div{font-size:18px}.has-scroll-transition .archive-list small{font-size:12px;margin-top:4px}.has-scroll-transition .archive-copy>.note{margin-top:12px;font-size:12px}}

/* A gesture triggers a timed scene change; no page scroll inside the stage. */
body.stage-enabled:not(.reading-mode){overflow:hidden;overscroll-behavior:none}
.scroll-stage.has-scroll-transition{height:100svh}
.has-scroll-transition .stage-viewport{position:relative}

.transition-video{display:block;visibility:hidden;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center top;z-index:3;pointer-events:none}
.playing-transition .transition-video,.transition-held .transition-video{visibility:visible}
.playing-transition .hero,.transition-held .hero{visibility:hidden}
.has-scroll-transition .archaeology{background-position:center top}
@media(max-width:600px){.transition-video{object-fit:cover;object-position:25% top}.has-scroll-transition .archaeology{background-position:25% top}}
@media(max-width:600px){.transition-video{height:45svh}.playing-transition .stage-viewport{background:#eee8dd}}

/* Reveal the live HTML over the film and retain its exact last decoded frame. */
.has-scroll-transition.playing-transition .archaeology,.has-scroll-transition.transition-held .archaeology{z-index:4;visibility:visible;opacity:1;background:none;pointer-events:none}
.playing-transition .archive-copy,.transition-held .archive-copy{opacity:var(--archive-reveal,0);transform:translateY(calc((1 - var(--archive-reveal,0)) * 16px));will-change:opacity,transform}
.transition-held .archaeology .archive-copy{pointer-events:auto}
.playing-transition .archaeology:before,.transition-held .archaeology:before{display:none}

/* The archive loop replaces the held frame only after playback starts. */
#archiveLoop{visibility:hidden}
.loop-ready #archiveLoop{visibility:visible}
.loop-ready #transitionVideo{visibility:hidden}

/* Fade the actual outgoing frame through paper, then reveal the live homepage. */
.returning-home #transitionVideo,.returning-home #archiveLoop{opacity:clamp(0,calc(1 - var(--return-progress) / .48),1)}
.has-scroll-transition.returning-home .archaeology{opacity:clamp(0,calc(1 - var(--return-progress) / .48),1);pointer-events:none}
.scroll-stage.has-scroll-transition.returning-home .hero{visibility:visible;opacity:clamp(0,calc((var(--return-progress) - .48) / .52),1)}
.has-scroll-transition.returning-home .intro{opacity:1;translate:0 0}
.has-scroll-transition.returning-home .scene{transform:none}
.has-scroll-transition.returning-home .chapter,.has-scroll-transition.returning-home .motion-control{opacity:1}

/* Quiet editorial header and a single centered scroll invitation. */
.header-caption{margin-left:auto;display:flex;gap:18px;align-items:center;font-size:12px;letter-spacing:.19em;white-space:nowrap}
.header-caption>span{opacity:.4}
.scroll-cue{position:absolute;bottom:clamp(28px,6svh,72px);left:50%;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:12px;padding:16px 24px;text-align:center;color:#292723;isolation:isolate}
.mouse-outline{display:block;width:26px;height:40px;border:1.5px solid currentColor;border-radius:15px;position:relative}
.mouse-wheel{position:absolute;top:8px;left:10px;width:3px;height:7px;border-radius:2px;background:currentColor;animation:mouse-scroll 1.9s cubic-bezier(.22,1,.36,1) infinite}
.scroll-cue-label{font-size:12px;font-weight:500;letter-spacing:.19em;white-space:nowrap}
@keyframes mouse-scroll{0%,15%{transform:translateY(0);opacity:.3}28%{opacity:1}72%,100%{transform:translateY(12px);opacity:.3}}
@media(max-width:600px){.header-caption{gap:9px;font-size:12px;letter-spacing:.13em}.scroll-cue{bottom:4svh}.scroll-cue-label{font-size:12px}}
@media(prefers-reduced-motion:reduce){.mouse-wheel{animation:none;opacity:1}}

/* Personal introduction uses factual experience rather than a manifesto. */
.has-scroll-transition .profile-copy{max-height:calc(100svh - 100px);overflow-y:auto;scrollbar-width:thin}
.has-scroll-transition .profile-copy .profile-title{font-size:clamp(42px,4vw,64px);margin:14px 0 12px;letter-spacing:-.04em}
.profile-title span{font-family:'Helvetica Neue','PingFang SC',sans-serif;font-size:.46em;letter-spacing:0;white-space:nowrap}
.profile-role{font-size:14px;margin:0 0 16px}.profile-role>span{margin:0 8px;color:var(--muted)}.profile-role strong{color:#59604b;font-weight:500}
.profile-summary{font-size:14px;line-height:1.85;margin:0 0 24px}
.career-list{list-style:none;padding:0;margin:0 0 22px}
.career-list li{border-top:1px solid var(--rule);padding:16px 0}
.career-list p{font-size:12px;line-height:1.8;margin:6px 0 0;color:#58534c}
.career-list .career-date{font-size:12px;letter-spacing:.12em;margin:0 0 7px}
.career-list h3{font-size:16px;font-weight:500;line-height:1.5;margin:0}
.career-list .career-meta{font-size:12px;margin-top:3px}
.profile-work-link{font-size:12px}
@media(max-width:600px){.has-scroll-transition .profile-copy{max-height:calc(68svh - 32px)}.has-scroll-transition .profile-copy .profile-title{font-size:40px;margin:10px 0}.profile-role{font-size:12px;margin-bottom:10px}.profile-summary{font-size:12px;margin-bottom:16px}.career-list li{padding:12px 0}.career-list h3{font-size:14px}.career-list p{font-size:12px}.career-list{margin-bottom:14px}}

/* Shared navigation stays outside both animated scenes. */
body>.header{position:fixed;inset:0 0 auto;z-index:20}
body>.scroll-cue{position:fixed;z-index:20;bottom:22px}
.stage-enabled.reading-mode .return-stage{top:70px}
.stage-enabled.reading-mode .works{padding-top:110px}
@media(max-width:600px){body>.scroll-cue{bottom:12px}.stage-enabled.reading-mode .return-stage{top:64px}.has-scroll-transition .profile-copy{max-height:calc(68svh - 118px)}}

.profile-summary{margin-bottom:12px}
.profile-summary-detail{color:#58534c;font-size:13px}
.profile-scope{margin:20px 0 28px;display:grid;gap:10px}
.profile-scope>div{display:grid;grid-template-columns:72px 1fr;gap:12px;font-size:12px;line-height:1.6}
.profile-scope dt{color:#59604b}.profile-scope dd{margin:0}
.career-heading{font-size:13px;margin:0 0 13px;font-weight:500}
.career-heading span{font-size:12px;font-weight:400;letter-spacing:.16em;margin-left:12px;color:var(--muted)}
.has-scroll-transition .profile-copy{max-height:calc(100svh - 200px);padding-right:12px}
@media(max-width:600px){.profile-summary-detail{font-size:12px}.profile-scope{margin:16px 0 22px}.profile-scope>div{font-size:12px}.has-scroll-transition .profile-copy{max-height:calc(68svh - 118px)}}

/* Identity, scope and a compact chronological work history. */
.profile-role{margin-bottom:10px}
.profile-facts{display:flex;flex-wrap:wrap;gap:8px 16px;margin:0 0 20px;font-size:12px;line-height:1.6}
.profile-facts strong{color:#59604b;font-weight:500}
.profile-facts>span{padding-left:16px;border-left:1px solid var(--rule)}
.profile-scope{grid-template-columns:1fr 1.25fr;gap:20px;margin:20px 0 26px;padding:16px 0;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}
.profile-scope>div{display:block;font-size:12px}.profile-scope dt{font-size:12px;margin-bottom:7px;font-weight:500}
.career-list{border-left:1px solid var(--rule);padding-left:20px;margin:0 0 4px 3px}
.career-list li{position:relative;border-top:0;padding:0 0 20px}
.career-list li:last-child{padding-bottom:0}
.career-list li:before{content:'';position:absolute;left:-24px;top:6px;width:7px;height:7px;border-radius:50%;background:#afa797}
.career-list li:first-child:before{background:#59604b}
.career-list li:first-child h3{color:#444b39}
.career-list h3{font-size:15px}
.career-list .career-date{margin-bottom:5px}
@media(max-width:600px){.profile-facts{font-size:12px;gap:7px 10px;margin-bottom:14px}.profile-facts>span{padding-left:10px}.profile-scope{gap:12px;margin:16px 0 20px;padding:12px 0}.profile-scope>div{font-size:12px}.career-list li{padding-bottom:17px}.career-list h3{font-size:14px}}

.career-more{margin:10px 0 0 23px;font-size:24px;line-height:1;color:var(--muted)}

/* Offset the name while keeping the biography and timeline on one axis. */
.has-scroll-transition .profile-copy{--name-offset:clamp(32px,4vw,72px);width:calc(40% + var(--name-offset));padding-left:var(--name-offset)}
.has-scroll-transition .profile-copy .profile-title{margin-left:calc(-1 * var(--name-offset));margin-top:20px;margin-bottom:24px}
.profile-role{margin-bottom:22px}
.profile-summary{line-height:1.95}
.profile-copy .career-heading{margin-top:clamp(36px,5svh,60px);margin-bottom:22px}
.profile-copy .career-list li{padding-bottom:26px}
.profile-copy .career-list li:last-child{padding-bottom:0}
@media(max-width:900px){.has-scroll-transition .profile-copy{width:calc(45% + var(--name-offset))}}
@media(max-width:600px){.has-scroll-transition .profile-copy{--name-offset:16px;width:100%;padding-left:16px}.has-scroll-transition .profile-copy .profile-title{margin-top:14px;margin-bottom:18px}.profile-role{margin-bottom:18px}.profile-copy .career-heading{margin-top:32px;margin-bottom:18px}.profile-copy .career-list li{padding-bottom:22px}}

.has-scroll-transition .profile-copy .profile-title{font-size:clamp(58px,5.2vw,84px)}
.profile-copy .profile-title span{font-size:clamp(19px,1.84vw,29px)}
@media(max-width:600px){.has-scroll-transition .profile-copy .profile-title{font-size:50px}.profile-copy .profile-title span{font-size:18.4px}}

/* Repeat the established olive accent through the personal introduction. */
.profile-copy>.eyebrow,.has-scroll-transition .profile-copy .profile-title,.profile-copy .career-heading{color:#59604b}
.profile-copy .profile-title span{color:var(--ink)}
.profile-copy .career-list{border-left-color:rgba(89,96,75,.35)}
.profile-copy .career-list li:before{background:#59604b}

/* A 12px floor with a clearer hierarchy for supporting information. */
.header-caption{letter-spacing:.12em}.descriptor{letter-spacing:.18em}
.scroll-cue-label{letter-spacing:.16em}
.profile-copy>.eyebrow{font-size:12px;letter-spacing:.25em}
.profile-role{font-size:16px;line-height:1.6}
.profile-summary{font-size:14px;line-height:1.9;margin:0}
.profile-summary>span{display:block}
.profile-copy .career-heading{font-size:15px}
.profile-copy .career-heading span{font-size:12px;letter-spacing:.1em}
.profile-copy .career-list h3{font-size:17px;line-height:1.5}
.profile-copy .career-list p{font-size:14px;line-height:1.8}
.profile-copy .career-list .career-date,.profile-copy .career-list .career-meta{font-size:12px}
@media(max-width:600px){.header{padding:0 16px;gap:12px}.header-caption{font-size:12px;letter-spacing:.04em}.profile-role{font-size:14px}.profile-copy .career-list h3{font-size:16px}.profile-summary{font-size:14px}.profile-copy .profile-title span{font-size:22px}}

/* Give the original paragraphs room to form two lines each on desktop. */
@media(min-width:1100px){.has-scroll-transition .profile-copy{width:calc(51% + var(--name-offset))}}
.profile-introduction .profile-summary{font-size:14px;line-height:1.9;text-wrap:balance}
.profile-introduction .profile-summary+.profile-summary{margin-top:14px}
/* Scale the editorial layout with wide windows instead of leaving a small text column. */
@media(min-width:1100px){
  .has-scroll-transition .profile-copy{width:calc(51% + var(--name-offset));max-height:calc(100svh - 180px)}
  .has-scroll-transition .profile-copy .profile-title{font-size:clamp(72px,4.8vw,104px);margin-bottom:22px}
  .profile-copy .profile-title span{font-size:clamp(26px,1.6vw,34px)}
  .profile-role{font-size:clamp(16px,.85vw,18px)}
  .profile-introduction .profile-summary{font-size:clamp(14px,.75vw,16px);line-height:1.85;max-width:48em}
  .profile-introduction .profile-summary+.profile-summary{max-width:40em;margin-top:clamp(14px,1vw,22px)}
  .profile-copy .career-heading{font-size:clamp(15px,.85vw,18px)}
  .profile-copy .career-heading span,.profile-copy>.eyebrow{font-size:12px}
  .profile-copy .career-list h3{font-size:clamp(17px,.85vw,18px)}
  .profile-copy .career-list p{font-size:14px}
  .profile-copy .career-list .career-date,.profile-copy .career-list .career-meta{font-size:12px}
}

/* Keep roles beside company names and move the biography toward the right edge. */
.profile-copy .career-list h3 .career-meta{display:inline-block;margin:0 0 0 12px;font-size:12px;font-weight:400;line-height:1.8;color:#58534c;vertical-align:baseline}
@media(min-width:901px){.has-scroll-transition .profile-copy{position:relative;left:4vw}}
@media(min-width:601px) and (max-width:900px){.has-scroll-transition .profile-copy{position:relative;left:2vw}}

/* Use two reading columns when the desktop biography exceeds the available height. */
@media(min-width:601px){
  .has-scroll-transition .profile-copy.profile-compact{width:68vw;max-height:none;display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);column-gap:32px;align-items:start;padding-left:32px;--name-offset:32px;left:4vw;overflow:visible}
  .has-scroll-transition .profile-compact .profile-title{grid-column:1 / -1;font-size:clamp(48px,5vw,76px);margin-top:0;margin-bottom:8px}
  .profile-compact .profile-role{grid-column:1 / -1;font-size:14px;margin-bottom:16px}
  .profile-compact .profile-introduction .profile-summary{font-size:12px;line-height:1.85;text-wrap:pretty;max-width:none}
  .profile-compact .profile-introduction .profile-summary+.profile-summary{margin-top:16px}
  .profile-compact .career-heading{margin-top:0;margin-bottom:14px;font-size:14px}
  .profile-compact .career-heading span{margin-left:8px}
  .profile-compact .career-list h3{font-size:14px}
  .profile-compact .career-list p{font-size:12px;line-height:1.7}
  .profile-compact .career-list li{padding-bottom:14px}
  .profile-compact .career-list h3 .career-meta{margin-left:8px}
  .profile-compact .career-more{margin-top:6px}
}

@media(min-width:601px) and (max-height:750px){
  .has-scroll-transition .archaeology:has(.profile-compact){padding-bottom:90px}
}

/* A third, fixed scene: covers hover above and beside the open hands. */
.portfolio-scene{position:relative;min-height:100svh;background:#eee8dd url('assets/portfolio-poster-4s.webp') center top/cover no-repeat}
.portfolio-scene>video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center top}
.has-scroll-transition .portfolio-scene{position:absolute;inset:0;z-index:6;min-height:0;visibility:hidden;opacity:0;pointer-events:none}
.has-scroll-transition.gallery-active .portfolio-scene{visibility:visible;opacity:1;pointer-events:auto}
.has-scroll-transition.gallery-return .portfolio-scene{opacity:var(--gallery-opacity,1);pointer-events:none}
.gallery-active .archaeology{visibility:hidden!important}
.gallery-return .archaeology{visibility:visible!important}
.portfolio-overlay{position:absolute;inset:0;opacity:var(--portfolio-reveal,1);transform:translateY(calc((1 - var(--portfolio-reveal,1))*18px));pointer-events:none}
.portfolio-heading{position:absolute;left:5%;top:12%;color:#34372f}
.portfolio-heading .eyebrow{font-size:12px;margin-bottom:10px;color:#59604b}
.portfolio-heading h2{font-size:clamp(24px,2.3vw,44px);font-weight:400;margin:0 0 10px;letter-spacing:-.04em}
.portfolio-heading h2 em{font-style:normal;color:#59604b}
.portfolio-heading>p:last-child{font-size:12px;letter-spacing:.08em}
.floating-work{position:absolute;width:23%;pointer-events:auto;color:#302f29;animation:cover-float 6s ease-in-out infinite;animation-delay:var(--delay,0s);will-change:transform}
.floating-work img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px;box-shadow:0 16px 30px -18px #453c3255;transition:transform .35s ease,box-shadow .35s ease}
.floating-work>span{display:flex;align-items:center;gap:12px;padding:10px 0;font-size:12px}
.floating-work b{font-weight:500}.floating-work small{font-size:12px;color:#575446}.floating-work i{margin-left:auto;font-style:normal;font-size:18px}
.floating-work:hover,.floating-work:focus-visible{z-index:3;animation-play-state:paused}
.floating-work:hover img,.floating-work:focus-visible img{transform:translateY(-7px) scale(1.045);box-shadow:0 30px 48px -18px #453c3280}
.work-left-main{left:7%;top:31%;--angle:-5deg}.work-right-main{right:7%;top:28%;--angle:5deg;--delay:-2s}
.work-left-secondary{left:4%;top:66%;width:17%;--angle:4deg;--delay:-3s}.work-right-secondary{right:3%;top:64%;width:18%;--angle:-4deg;--delay:-1s}
@keyframes cover-float{0%,100%{transform:translateY(0) rotate(var(--angle))}50%{transform:translateY(-10px) rotate(var(--angle))}}
@media(max-height:750px){.floating-work{width:20%}.work-left-secondary,.work-right-secondary{width:14%}.portfolio-heading{top:13%}.portfolio-heading h2{font-size:24px}}
@media(prefers-reduced-motion:reduce){.portfolio-scene>video{display:none}.floating-work{animation:none}.portfolio-overlay{opacity:1;transform:none}}

body.stage-enabled:has(.gallery-active):not(.reading-mode)>.scroll-cue{color:#f5eee2}
body.stage-enabled:has(.gallery-active) .mouse-wheel{animation-direction:reverse}

/* Six smaller covers frame the figure; the central title sits on the chest. */
.portfolio-heading{left:50%;top:48%;width:26%;transform:translate(-50%,-50%);text-align:center;color:#fff8e9;text-shadow:0 1px 4px #29271f80}
.portfolio-heading .eyebrow{color:#fff8e9;letter-spacing:.2em;margin-bottom:14px}
.portfolio-heading h2{font-size:clamp(26px,2.7vw,48px);letter-spacing:.12em;margin-bottom:14px}
.portfolio-heading>p:last-child{line-height:1.8;letter-spacing:.04em}
.floating-work{width:min(17vw,24vh);max-width:280px}
.floating-work>span{display:grid;grid-template-columns:1fr auto;gap:3px 8px;padding:8px 0}
.floating-work b{grid-column:1;line-height:1.35}.floating-work small{grid-column:1;line-height:1.4}.floating-work i{grid-column:2;grid-row:1 / 3;align-self:center}
.work-left-main{left:13%;top:14%;--angle:-4deg}
.work-left-secondary{left:7%;top:40%;--angle:3deg}
.work-left-third{left:12%;top:66%;--angle:-3deg;--delay:-1.5s}
.work-right-main{right:12%;top:14%;--angle:4deg}
.work-right-secondary{right:6%;top:40%;--angle:-3deg}
.work-right-third{right:12%;top:66%;--angle:3deg;--delay:-3.5s}
@media(max-height:750px){.floating-work{width:min(17vw,22vh)}.portfolio-heading{top:48%}.portfolio-heading h2{font-size:28px}}

/* Larger project covers, with a typographic focal point on the figure. */
.floating-work{width:min(20vw,27vh);max-width:320px}
.work-left-main{left:10%;top:12%}.work-right-main{right:10%;top:12%}
.work-left-secondary{left:4%;top:40%}.work-right-secondary{right:4%;top:40%}
.work-left-third{left:10%;top:68%}.work-right-third{right:10%;top:68%}
.portfolio-heading{top:48%;width:32%;text-shadow:0 2px 8px #29271f99}
.portfolio-heading .eyebrow{font-size:12px;letter-spacing:.25em;margin-bottom:18px}
.portfolio-heading h2{font-family:'Songti SC','STSong',serif;font-size:clamp(34px,3.8vw,68px);line-height:1.2;letter-spacing:.03em;font-weight:400;margin-bottom:18px}
.portfolio-heading h2 em{color:#fff8e9;font-style:normal}
.portfolio-heading>p:last-child{font-size:12px;letter-spacing:.1em}
@media(max-height:750px){.floating-work{width:min(19vw,24vh)}.portfolio-heading h2{font-size:clamp(32px,4.8vh,44px)}}

/* Match the homepage's editorial serif and olive accent. */
.portfolio-heading{top:51%;width:35%;isolation:isolate;color:var(--ink);text-shadow:none}
.portfolio-heading:before{content:'';position:absolute;inset:-34% -23%;z-index:-1;pointer-events:none;background:radial-gradient(ellipse,rgba(245,241,234,.70) 0%,rgba(245,241,234,.56) 35%,rgba(245,241,234,.32) 53%,rgba(245,241,234,0) 73%)}
.portfolio-heading .eyebrow{color:#57544c;letter-spacing:.22em;margin-bottom:20px}
.portfolio-heading h2{font-family:var(--serif);font-size:clamp(42px,min(5.2vw,9vh),98px);font-weight:400;letter-spacing:-.06em;line-height:.88;margin:0 0 23px}
.portfolio-heading h2 span,.portfolio-heading h2 em{display:block}
.portfolio-heading h2 em{color:#59604b;font-style:normal}
.portfolio-heading .portfolio-tagline{font-size:clamp(16px,1.35vw,23px);letter-spacing:.02em;margin:0 0 12px;line-height:1.5}
.portfolio-heading>p:last-child{font-size:12px;color:#57544c;letter-spacing:.05em;line-height:1.8;margin:0}

/* A single media-timed light sweep softens the entrance-to-loop seam. */
.portfolio-scene{overflow:hidden}
.portfolio-scene::after{content:"";position:absolute;inset:-50% -65%;pointer-events:none;opacity:var(--seam-light-opacity,0);background:linear-gradient(115deg,transparent 24%,rgba(255,248,231,.35) 35%,rgba(255,251,242,.98) 50%,rgba(255,248,231,.35) 65%,transparent 76%);transform:translateX(calc((var(--seam-light-progress,0) - .5)*85%))}
@media(prefers-reduced-motion:reduce){.portfolio-scene::after{display:none}}

/* Project covers move closer to the central composition. */
.work-left-main,.work-left-third{left:16%}
.work-right-main,.work-right-third{right:16%}
.work-left-secondary{left:10%}
.work-right-secondary{right:10%}
.floating-work b{font-size:clamp(16px,1.2vw,20px);font-weight:500}
.floating-work small{font-size:clamp(12px,.9vw,14px)}
.floating-work>span{gap:5px 8px;padding-top:11px}
@keyframes cover-float{0%,100%{transform:translate3d(0,5px,0) rotate(var(--angle))}50%{transform:translate3d(4px,-21px,0) rotate(calc(var(--angle) + 1deg))}}

/* Full-screen project preview. */
.project-dialog{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#f3efe6;color:#302f29;overflow-y:auto;overscroll-behavior:contain}
.project-dialog::backdrop{background:#26251f80}
.project-dialog[open]{animation:detail-arrive .4s ease both}
.detail-bar{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:20px 4vw;background:#f3efe6f2;border-bottom:1px solid #59604b25;font-size:12px;letter-spacing:.16em}
.detail-close{border:1px solid #59604b40;border-radius:30px;background:transparent;color:inherit;padding:10px 18px;font:inherit;cursor:pointer;letter-spacing:.04em}
.detail-close:hover{background:#59604b;color:#fff}
.detail-intro{width:min(960px,calc(100% - 80px));margin:0 auto;padding:48px 0 32px;display:grid;grid-template-columns:1.4fr 1fr;gap:40px;align-items:end}
.detail-intro h2{font-family:Georgia,serif;font-size:clamp(44px,4.5vw,68px);font-weight:400;letter-spacing:-.055em;line-height:1.1;margin:20px 0;color:#59604b}
.detail-intro p{font-size:14px;line-height:1.8}
.detail-meta{display:grid;grid-template-columns:1fr 1fr;gap:20px;border-top:1px solid #59604b40;padding-top:22px}
.detail-meta dt{font-size:12px;color:#77766b;margin-bottom:8px}.detail-meta dd{margin:0;font-size:14px}
.detail-cover{width:min(800px,calc(100% - 80px));margin:0 auto}.detail-cover img{width:100%;height:auto;border-radius:12px;display:block}.detail-cover figcaption{font-size:12px;color:#77766b;margin-top:12px}
.detail-section{width:min(960px,calc(100% - 80px));margin:0 auto;padding:56px 0}.detail-section-header{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start;margin-bottom:32px}.detail-section h3{font-size:clamp(24px,2.3vw,32px);font-weight:400;margin:10px 0}.detail-section p{font-size:14px;line-height:1.9;margin:0}.detail-section img{display:block;width:100%;border-radius:12px;box-shadow:0 20px 60px #302f2918}
.detail-ending{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #59604b30;width:min(960px,calc(100% - 80px));margin:0 auto;padding:28px 0 48px;font-size:14px}
body.project-open .floating-work{animation-play-state:paused}
@keyframes detail-arrive{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:none}}
@media(max-width:700px){.detail-intro,.detail-section-header{grid-template-columns:1fr}.detail-intro,.detail-section{padding:32px 0}.detail-intro,.detail-cover,.detail-section,.detail-ending{width:calc(100% - 40px)}.detail-intro h2{font-size:44px}.detail-ending{gap:20px}}

/* The cover travels in the modal top layer, above the frozen gallery. */
.project-dialog[open]{animation:none}
.project-dialog.cover-travelling{background:transparent;overflow:hidden}
.project-dialog::backdrop{background:transparent}
.cover-travelling .detail-content{visibility:hidden}
.project-flight{position:fixed;z-index:10;display:block;object-fit:cover;pointer-events:none;max-width:none;max-height:none;box-shadow:0 24px 80px #302f2940}
.project-open .floating-work,.project-open .portfolio-heading{opacity:0;transition:opacity .25s ease}
.floating-work,.portfolio-heading{transition:opacity .25s ease}
.project-open .project-selected{visibility:hidden}
.detail-intro h2{overflow-wrap:anywhere}
.detail-meta[hidden]{display:none}
@media(prefers-reduced-motion:reduce){.project-open .floating-work,.project-open .portfolio-heading{transition:none}}

/* Independent, shallow 3D orbits around the hands. */
.floating-work{animation:none}
.floating-work img{backface-visibility:hidden;will-change:transform;transition:box-shadow .35s ease}
.floating-work:hover img,.floating-work:focus-visible img{box-shadow:0 30px 48px -18px #453c3280}
@media(prefers-reduced-motion:reduce){.floating-work,.floating-work img{transform:none!important;will-change:auto}}

/* Floating project browser: thumbnail rail, a 65vw reading panel, and visible scenery. */
.project-dialog{background:transparent;overflow:hidden}
.project-dialog::backdrop{background:rgba(28,27,23,.55);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.detail-content{position:absolute;left:23vw;top:6vh;width:65vw;height:88dvh;background:#f3efe6;border-radius:10px;overflow:auto;overscroll-behavior:contain;box-shadow:0 28px 90px #0004}
.detail-cover{width:100%;margin:0}.detail-cover img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:10px 10px 0 0}.detail-cover figcaption{padding:0 32px}
.detail-intro,.detail-section,.detail-ending{width:calc(100% - 64px)}
.detail-intro{padding:32px 0;gap:24px}.detail-intro h2{font-size:clamp(28px,3vw,48px)}
.detail-section{padding:36px 0}.detail-section-header{grid-template-columns:1fr;gap:16px}
.viewer-close{position:fixed;left:90vw;top:6vh;color:#fff;background:#25241d40;white-space:nowrap;border-color:#ffffff50;font-size:14px}
.project-picker{position:fixed;left:9vw;top:6vh;width:11vw;height:88dvh;overflow:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:16px;scrollbar-width:thin}
.project-choice{flex:none;display:block;padding:5px;border:1px solid transparent;border-radius:9px;background:transparent;color:#f3efe6;text-align:left;cursor:pointer;transition:background .2s,border-color .2s;font:inherit}
.project-choice img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:5px;transform:none!important}
.project-choice span{display:block;font-size:12px;line-height:1.5;padding:6px 2px 1px}
.project-choice:hover{background:#ffffff15}.project-choice[aria-pressed="true"]{background:#59604b;border-color:#c5cbb5}
.project-choice:focus-visible,.viewer-close:focus-visible{outline:2px solid #e3e8d7;outline-offset:2px}
.cover-travelling .project-picker,.cover-travelling .viewer-close{opacity:0;pointer-events:none}
@media(max-width:700px){.detail-content{left:20vw;top:70px;width:77vw;height:calc(100dvh - 88px)}.project-picker{left:2vw;top:70px;width:16vw;height:calc(100dvh - 88px);gap:10px}.project-choice{padding:2px}.project-choice span{font-size:12px;overflow-wrap:anywhere}.viewer-close{left:auto;right:3vw;top:14px}.detail-intro,.detail-section,.detail-ending{width:calc(100% - 32px)}.detail-intro h2{font-size:28px}.detail-cover figcaption{padding:0 16px}.detail-ending{flex-direction:column;align-items:flex-start}.detail-intro{grid-template-columns:1fr}}

/* A compact opening image leaves room for the project introduction. */
.detail-cover{width:min(440px,56%);margin:28px auto 0}
.detail-cover img{aspect-ratio:4/3;object-fit:contain;border-radius:8px}
.detail-cover figcaption{padding:0;font-size:12px;text-align:center}
@media(max-width:700px){.detail-cover{width:72%;margin-top:20px}}

/* Image-led Miaojiang editorial, within the existing project viewer. */
.miaojiang-view .detail-content{background:#111110;color:#eeeae2}
.miaojiang-view .detail-cover,.miaojiang-view .detail-intro{display:none}
.miaojiang-view .detail-section{width:100%;padding:0}
.miaojiang-view .detail-ending{border-color:#ffffff20;color:#c6b9a5;font-size:12px}
.miaojiang-view .detail-close:hover{background:#d3a468;color:#17130e}
.mj-case{overflow:hidden;--mj-gold:#d3a468}
.mj-hero{padding:48px 6% 30px}.mj-overline{display:flex;justify-content:space-between;gap:16px;color:#b1a99c;font-size:12px;letter-spacing:.1em}
.mj-case .mj-hero h3{font-family:var(--serif);font-size:clamp(38px,5.4vw,88px);letter-spacing:-.055em;line-height:1.05;font-weight:400;margin:48px 0 22px;color:#f4eee3}.mj-hero h3 span{color:var(--mj-gold)}
.mj-lead{display:flex;align-items:center;justify-content:space-between;gap:20px}.mj-case .mj-lead p{font-size:20px;letter-spacing:.08em}.mj-lead>span{font-size:12px;color:#a99d8c}
.mj-main-visual{padding:12px 4% 48px;background:linear-gradient(180deg,#111110,#30261c 65%,#171512)}
.mj-case .mj-shot{margin:0}.mj-shot>a{display:block}.mj-case .mj-shot img{display:block;width:100%;height:auto;border-radius:5px;border:1px solid #ffffff18;box-shadow:0 18px 40px #0005}.mj-shot figcaption{display:flex;justify-content:space-between;gap:12px;padding:14px 0 0;font-size:12px;letter-spacing:.045em;color:#b5a38d}.mj-shot figcaption span{font-size:12px;color:#8f887d}
.mj-heading{padding:0 0 30px}.mj-heading>span{font-size:12px;color:var(--mj-gold);letter-spacing:.1em}.mj-case .mj-heading h3{font-size:clamp(26px,2.7vw,44px);line-height:1.35;letter-spacing:-.035em;font-weight:400;margin:18px 0 14px}.mj-case .mj-heading p{font-size:14px;line-height:1.85;color:#a9a294}
.mj-workspaces{padding:60px 6%;background:#171512}.mj-offset .mj-shot{width:91%}.mj-offset .mj-shot+ .mj-shot{margin:40px 0 0 9%}
.mj-details{padding:56px 6%;background:#c5aa83;color:#221c14}.mj-details .mj-heading>span{color:#58452b}.mj-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.mj-crop{position:relative;background:#0b0b0a;height:260px;overflow:hidden;border-radius:7px;box-shadow:0 12px 25px #35281725}.mj-case .mj-crop img{position:absolute;width:850px;max-width:none;height:auto;border-radius:0;box-shadow:none}.mj-controls img{left:-15px;top:-48px}.mj-prompt img{right:-8px;bottom:0}.mj-detail-grid h4{font-size:18px;font-weight:500;margin:20px 0 8px}.mj-case .mj-detail-grid p{color:#51422e;font-size:12px;line-height:1.8}
.mj-wide{padding:60px 4%;background:#111110}.mj-wide .mj-heading{padding-left:2%}
.mj-drama{padding:60px 6%;background:#201c17}.mj-tools{padding:60px 6%}
.mj-signoff{display:flex;justify-content:space-between;align-items:end;gap:24px;padding:32px 6% 48px;border-top:1px solid #ffffff18}.mj-signoff>div>span{font-size:28px;font-family:var(--serif);color:var(--mj-gold)}.mj-case .mj-signoff p{font-size:12px;color:#9d9487;line-height:1.8;margin-top:12px}
@media(max-width:900px){.mj-lead{display:block}.mj-lead>span{display:block;margin-top:12px}.mj-crop{height:220px}.mj-detail-grid{gap:14px}}
@media(max-width:700px){.mj-overline{flex-direction:column;gap:8px}.mj-case .mj-hero h3{font-size:34px;margin-top:30px}.mj-detail-grid{grid-template-columns:1fr}.mj-signoff{display:block}.mj-shot figcaption span{display:none}}


/* Motion belongs to the presentation; the captured product UI stays intact. */
.mj-real-canvas{border:1px solid #ffffff20;border-radius:10px;overflow:hidden;background:#0b0b0a}
.mj-real-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 20px;background:transparent;border-bottom:1px solid #ffffff18}.mj-real-controls>div{display:flex;gap:24px;flex-wrap:wrap}
 .mj-real-controls button,.mj-switch-tabs button{position:relative;font:inherit;font-size:13px;font-weight:500;letter-spacing:.04em;cursor:pointer;border:0;background:transparent;color:#a69e92;padding:16px 0;border-radius:0;min-height:48px;transition:color .2s}
.mj-real-controls button:hover,.mj-switch-tabs button:hover{color:#f4eee4;background:transparent}
.mj-real-controls button[aria-pressed=true],.mj-switch-tabs button[aria-pressed=true]{background:transparent;color:#e4c294}
.mj-switch-tabs button::after,.mj-real-controls [data-canvas-state]::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform .2s ease-out}
.mj-switch-tabs button[aria-pressed=true]::after,.mj-real-controls [data-canvas-state][aria-pressed=true]::after{transform:scaleX(1)}
.mj-real-controls>button{white-space:nowrap;font-size:12px;letter-spacing:0;color:#b9af9e}
.mj-real-frame{overflow:hidden}.mj-case .mj-real-image{width:100%;height:auto;border-radius:0;box-shadow:none;display:block}
.mj-case .mj-real-caption{font-size:13px;color:#dec49f;padding:18px 20px 0}.mj-case .mj-real-note{font-size:12px;color:#9d9487;padding:8px 20px 18px}
.mj-interactions{padding:55px 6%;background:#1c1915}.mj-switch-tabs{display:flex;gap:28px;padding:0;margin-bottom:18px;border-bottom:1px solid #ffffff20;background:transparent;border-radius:0;flex-wrap:wrap}.mj-case .mj-workspace-shot{width:100%;height:auto;border-radius:0 0 8px 8px;box-shadow:none}
.mj-shot>a{overflow:hidden;border-radius:5px}.mj-case .mj-shot img{transition:transform .65s cubic-bezier(.22,1,.36,1)}.mj-shot>a:hover img,.mj-shot>a:focus-visible img{transform:scale(1.025)}
.mj-case button:focus-visible{outline:2px solid #ffad61;outline-offset:2px}.mj-crop img{transition:translate .6s cubic-bezier(.22,1,.36,1)}.mj-crop:hover img{translate:0 -6px}
@media(max-width:900px){.mj-real-controls{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.mj-case *{animation:none!important;transition:none!important}.mj-shot>a:hover img,.mj-shot>a:focus-visible img{transform:none}.mj-crop:hover img{translate:none}}

/* Preserve UI text sharpness: no decorative scaling of screenshots. */
.mj-case .mj-shot img,.mj-crop img{transition:none}.mj-shot>a:hover img,.mj-shot>a:focus-visible img{transform:none}.mj-crop:hover img{translate:none}.mj-offset .mj-shot{width:100%}.mj-offset .mj-shot+ .mj-shot{margin:36px 0 0}
.mj-light-exhibit{padding:55px 6%;background:#0b0b0a}
.mj-original-prompt{position:relative;display:flex;align-items:end;gap:14px;isolation:isolate;border-radius:20px;padding:14px;background:rgba(31,30,28,.9);box-shadow:inset 0 1px rgba(255,244,235,.12),0 16px 42px rgba(0,0,0,.48),0 0 24px rgba(255,154,60,.055);transition:background .2s,box-shadow .24s}
.mj-original-prompt .mj-prompt-copy{position:relative;z-index:3;flex:1;min-width:0;min-height:78px;border:0;outline:0;background:transparent;color:#ddd8cf;font:14px/1.8 'PingFang SC',sans-serif;padding:0}
.mj-original-prompt>span{position:relative;z-index:3;display:flex;align-items:center;gap:10px;color:#d8c9b1;font-size:12px;white-space:nowrap}.mj-submit-display{display:inline-grid;place-items:center;background:#ff9a3c;color:#24150a;width:46px;height:46px;border-radius:15px;font-size:24px}
.mj-original-prompt::before{content:'';position:absolute;z-index:2;inset:0;padding:2px;border-radius:inherit;opacity:0;pointer-events:none;background:conic-gradient(from var(--mj-prompt-angle),transparent 0 70%,rgba(255,154,60,.08) 76%,#ff8b2d 83%,#ffe4c2 88%,#ff9a3c 93%,transparent 100%);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);mask-composite:exclude;filter:drop-shadow(0 0 7px rgba(255,154,60,.34));transition:opacity .24s}
.mj-original-prompt{background:rgba(43,39,36,.96);box-shadow:inset 0 1px rgba(255,244,235,.14),0 18px 48px rgba(0,0,0,.52)}.mj-original-prompt::before{opacity:1;animation:mj-original-light 2.8s linear infinite}
@property --mj-prompt-angle{syntax:'<angle>';inherits:false;initial-value:0deg}
@keyframes mj-original-light{to{--mj-prompt-angle:360deg}}
.mj-case .mj-effect-note{font-size:12px;color:#9d9487;margin-top:16px}
@media(prefers-reduced-motion:reduce){.mj-original-prompt::before{animation:none}}

/* Five-part project narrative, with native-size UI details. */
.mj-chapter{padding:48px 6%}.mj-brief{padding-top:12px;padding-bottom:48px}.mj-chapter .mj-heading{max-width:650px}.mj-role-grid{display:grid;grid-template-columns:1fr 1.4fr;gap:32px;padding-top:26px;border-top:1px solid #ffffff20}.mj-role-grid span,.mj-small-label{display:block;font-size:12px;color:#bd9b6e;letter-spacing:.08em;margin-bottom:16px}.mj-role-grid h4,.mj-process-detail h4,.mj-subheading h4{font-size:22px;font-weight:400;margin:0 0 12px}.mj-case .mj-role-grid p{color:#aaa194;font-size:14px}
.mj-visual{background:#1d1914}.mj-palette{display:flex;flex-wrap:wrap;gap:20px;margin-top:24px}.mj-palette span{display:flex;gap:8px;align-items:center;font-size:12px;color:#b5ac9e}.mj-palette i{display:block;width:20px;height:20px;border-radius:50%;border:1px solid #ffffff30}
.mj-steps{display:flex;padding:18px 0;margin:0 0 24px;list-style:none;counter-reset:step;border:0;gap:0;justify-content:space-between}.mj-steps li{flex:1;padding:0 20px;border-right:1px solid #ffffff25;font-size:13px;color:#d8c6ab;counter-increment:step}.mj-steps li:before{content:'0' counter(step);color:#8b8172;margin-right:8px}
.mj-process-detail{display:grid;grid-template-columns:336px 1fr;gap:28px;margin-top:40px;align-items:center}.mj-case .mj-process-detail p{font-size:14px;color:#b0a596}.mj-case .mj-muted-note{font-size:12px;color:#847c70;margin-top:18px}.mj-native-crop{position:relative;overflow:hidden;background:#0b0b0a;border:1px solid #ffffff20;border-radius:8px}.mj-case .mj-native-crop img{position:absolute;width:1280px;max-width:none;height:720px;border-radius:0;box-shadow:none;display:block}.mj-native-settings{height:395px;width:336px;max-width:100%}.mj-native-settings img{left:-61px;top:-239px}
.mj-inline-input{margin-top:36px}.mj-spaces{background:#1b1814}.mj-subheading{margin:36px 0 22px}.mj-case .mj-subheading p{font-size:14px;color:#aaa194}.mj-consistency{background:#c5aa83;color:#221c14}.mj-consistency .mj-heading>span,.mj-consistency .mj-heading p,.mj-consistency .mj-small-label{color:#57452e}
.mj-detail-pair{display:grid;grid-template-columns:1fr 1fr;gap:24px}.mj-native-toolbar{height:195px}.mj-native-toolbar img{left:-190px;top:-150px}.mj-native-model{height:260px}.mj-native-model img{left:-75px;top:-175px}.mj-case .mj-detail-pair p{font-size:13px;line-height:1.8;color:#57452e;margin-top:16px}.mj-summary-line{display:flex;flex-wrap:wrap;gap:16px;border-top:1px solid #221c1433;padding-top:24px;margin-top:30px;font-size:12px;color:#57452e}
@media(max-width:1050px){.mj-process-detail{grid-template-columns:1fr}.mj-detail-pair{grid-template-columns:1fr}.mj-native-toolbar,.mj-native-model{max-width:430px}.mj-steps{flex-wrap:wrap}}
@media(max-width:700px){.mj-role-grid{grid-template-columns:1fr}.mj-chapter{padding:30px 6%}}

/* Short drama: explain the production workflow through actual project states. */
.mj-drama-case{margin-top:52px;padding-top:38px;border-top:1px solid #ffffff26}.mj-drama-intro h4{font-size:clamp(25px,2.3vw,36px);font-weight:400;line-height:1.4;margin:0 0 18px}.mj-case .mj-drama-intro>p{color:#bbb0a0;font-size:14px;line-height:1.9;max-width:650px}.mj-drama-part{margin-top:42px}.mj-drama-copy{max-width:650px;margin-bottom:22px}.mj-drama-copy>span{color:#bd9b6e;font-size:12px;letter-spacing:.1em}.mj-drama-copy h4{font-size:23px;line-height:1.5;font-weight:400;margin:14px 0}.mj-case .mj-drama-copy>p{font-size:14px;line-height:1.9;color:#aaa194}.mj-case .mj-drama-part img{width:100%;height:auto;display:block;border-radius:6px}.mj-drama-notes{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:22px}.mj-case .mj-drama-notes p{font-size:13px;color:#aaa194;line-height:1.8}.mj-drama-notes b{display:block;font-weight:400;font-size:15px;color:#e4ceb0;margin-bottom:8px}.mj-library-detail{margin-top:26px;border-top:1px solid #ffffff22;border-bottom:1px solid #ffffff22}.mj-library-detail>summary{padding:18px 0;cursor:pointer;font-size:14px;color:#d2b58b;display:flex;justify-content:space-between}.mj-library-detail[open]>summary span{transform:rotate(45deg)}.mj-library-detail .mj-shot{padding-bottom:20px}.mj-case .mj-drama-footnote{font-size:12px;color:#928879;line-height:1.8;margin-top:32px}.mj-drama-asset-link{display:block}.mj-drama-asset-link:focus-visible,.mj-library-detail>summary:focus-visible{outline:2px solid #ffad61;outline-offset:3px}
@media(max-width:700px){.mj-drama-notes{grid-template-columns:1fr;gap:16px}}

.mj-steps li:first-child{padding-left:0}.mj-steps li:last-child{border-right:0;padding-right:0}.mj-visit{display:inline-flex;align-items:center;gap:40px;padding:14px 22px;border:1px solid #c3a77d70;border-radius:6px;color:#e4c294;font-size:14px;transition:background .2s}.mj-visit:hover{background:#c3a77d18}.mj-case .mj-prompt-copy{margin:0}.mj-case .mj-drama-asset-image{display:block;width:100%;height:auto}.mj-native-settings img{left:-109px!important}

/* Closing screen: keep the right side open for the forthcoming film. */
.closing-scene{position:relative;min-height:100svh;background:#eee9df;color:#383c30;padding:clamp(110px,16svh,180px) 8vw 100px;display:flex;flex-direction:column;justify-content:center}
.has-scroll-transition .closing-scene{position:absolute;inset:0;z-index:8;visibility:hidden;opacity:0;pointer-events:none;transition:opacity .45s ease;min-height:0;overflow-y:auto}
.has-scroll-transition.closing-active .closing-scene{visibility:visible;opacity:1;pointer-events:auto}
.closing-copy{width:min(590px,64%)}
.closing-copy>.eyebrow{font-size:12px;letter-spacing:.22em;margin:0 0 26px;color:#747a67}
.closing-copy h2{font-family:var(--serif);font-size:clamp(60px,7.6vw,116px);line-height:.94;letter-spacing:-.055em;font-weight:400;margin:0}
.closing-copy h2 em{font-weight:400;color:#747c61}
.closing-thanks{font-size:clamp(22px,2.2vw,32px);margin:28px 0 12px;letter-spacing:.06em}
.closing-invitation{font-size:15px;line-height:1.8;color:#78776c;margin:0 0 32px}
.closing-contacts{display:grid;gap:0}
.closing-contacts button{position:relative;display:block;width:100%;text-align:left;border:0;border-top:1px solid #59604b33;background:transparent;padding:17px 36px 17px 0;cursor:pointer;transition:color .2s}
.closing-contacts button span{display:block;font-size:12px;letter-spacing:.12em;color:#797d70;margin-bottom:8px}
.closing-contacts strong{font-size:clamp(19px,2vw,27px);font-weight:400;letter-spacing:-.02em;user-select:text}
.closing-contacts i{position:absolute;right:4px;top:36px;font-size:22px;font-style:normal;transition:transform .2s}
.closing-contacts button:hover{color:#89916f}.closing-contacts button:hover i{transform:translate(3px,-3px)}
.closing-status{font-size:12px;color:#85897c;min-height:18px;margin:10px 0 0}
.closing-footer{position:absolute;bottom:26px;left:8vw;right:5vw;display:flex;justify-content:space-between;gap:20px;font-size:12px;letter-spacing:.08em;color:#797c70}
.closing-footer nav{display:flex;gap:28px}.closing-footer a:hover{color:#343c2c}
body:has(.closing-active)>.scroll-cue{display:none}
@media(max-width:600px){.closing-scene{padding:110px 26px 110px;justify-content:flex-start}.closing-copy{width:100%;max-width:420px}.closing-copy h2{font-size:clamp(62px,15vw,90px)}.closing-footer{position:static;margin-top:40px;flex-wrap:wrap}.closing-contacts button span{font-size:12px}}
@media(max-height:700px) and (min-width:601px){.closing-scene{padding-top:90px;padding-bottom:65px}.closing-copy h2{font-size:70px}.closing-copy>.eyebrow{margin-bottom:15px}.closing-thanks{margin-top:18px}.closing-invitation{margin-bottom:18px}.closing-contacts button{padding-top:12px;padding-bottom:12px}}
@media(prefers-reduced-motion:reduce){.has-scroll-transition .closing-scene,.closing-contacts i{transition:none}}

.closing-scene{background:#eee9df url('assets/closing-matched-v3.webp') center / cover no-repeat;padding-left:14vw}
.closing-copy{width:min(540px,46vw)}
.closing-footer{left:14vw}
.closing-transition{display:none;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:9;pointer-events:none}
.closing-playing .closing-transition{display:block}
body:has(.closing-playing)>.scroll-cue{display:none}
@media(max-width:600px){.closing-scene{padding-left:26px;background-position:62% center}.closing-scene:before{content:'';position:absolute;inset:0;background:#eee9dfcc;pointer-events:none}.closing-copy,.closing-footer{position:relative}.closing-copy{width:100%}.closing-footer{left:auto}.closing-transition{object-position:62% center}}

.has-scroll-transition.closing-active .closing-scene{transition:none}

@media(min-width:601px){.closing-scene{padding-left:18vw}.closing-copy{width:min(480px,40vw)}.closing-footer{left:18vw}}
.closing-playing .closing-scene{z-index:10;background:none}
.closing-copy{opacity:0;transform:translateY(12px);transition:opacity .4s ease,transform .4s ease}
.closing-active .closing-copy,.closing-scene:not([inert]) .closing-copy{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){.closing-copy{opacity:1;transform:none;transition:none}}

.scene-progress{position:fixed;right:22px;top:50%;transform:translateY(-50%);z-index:21;display:grid;gap:4px;color:#535946}
.scene-progress a{position:relative;display:flex;align-items:center;justify-content:flex-end;gap:10px;min-height:40px;min-width:44px}
.scene-progress i{display:block;width:4px;height:18px;border-radius:3px;background:currentColor;opacity:.3;transition:height .2s,opacity .2s}
.scene-progress small{font-size:12px;font-variant-numeric:tabular-nums;opacity:.55}
.scene-progress span{font-size:12px;opacity:0;transform:translateX(4px);transition:opacity .2s,transform .2s}
.scene-progress a:hover span,.scene-progress a:focus-visible span,.scene-progress a[aria-current] span{opacity:1;transform:none}
.scene-progress a[aria-current] i{height:30px;opacity:1}.scene-progress a[aria-current] small{opacity:1}
body:has(.gallery-active):not(:has(.closing-active)) .scene-progress{color:#f6efe3}
body.project-open .scene-progress,body.reading-mode .scene-progress{display:none}
@media(max-width:600px){.scene-progress{right:8px}.scene-progress a{gap:6px}.scene-progress span{display:none}.scene-progress small{font-size:12px}}
@media(prefers-reduced-motion:reduce){.scene-progress i,.scene-progress span{transition:none}}

.closing-copy{position:relative;z-index:1}.closing-footer{z-index:1}
@media(max-width:600px){.closing-scene:before{z-index:1}}

