/* Generated by tools/release/prepare.py. Edit source modules in styles.json. */
/* Source: styles.css — preserve cascade order. */
:root{color-scheme:dark;--bg:#141513;--surface:#1d1e1a;--text:#eeeee5;--muted:#a3a69a;--line:#383a32;--accent:#e7a16c}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:var(--bg);color:var(--text);font-family:Arial,"PingFang SC","Microsoft YaHei",sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:5px}button{color:inherit}::selection{background:var(--accent);color:var(--bg)}.wrap{width:calc(100% - 112px);max-width:1450px;margin:auto}.draft{background:#272920;color:#d2d4c5;padding:10px 24px;text-align:center;font-size:11px;letter-spacing:.05em;display:flex;align-items:center;justify-content:center;gap:9px}.dot{height:5px;width:5px;display:inline-block;border-radius:50%;background:var(--accent);flex-shrink:0}.draft-note{color:#b0b4a4;margin-left:10px}.nav{height:108px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.brand{font-size:15px;font-weight:600;display:flex;align-items:center;gap:12px}.brand-icon{color:var(--accent);font-size:24px;font-weight:400;letter-spacing:-3px;margin-right:5px}.brand-sub{font-size:9px;font-weight:400;color:var(--muted);letter-spacing:1.4px;border-left:1px solid var(--line);padding-left:14px}.nav nav{display:flex;align-items:center;gap:32px;font-size:13px}.nav nav a:hover,.text-link:hover{color:var(--accent)}.contact-link{border:1px solid #56594d;border-radius:3px;padding:12px 17px}.contact-link span{margin-left:16px}.hero{padding-top:64px;padding-bottom:30px}.eyebrow{font-size:10px;letter-spacing:2.2px;display:flex;align-items:center;gap:12px;line-height:1.7}.orange-line{width:27px;height:2px;background:var(--accent)}.hero-title-row{display:flex;align-items:flex-end;justify-content:space-between;padding:27px 0 47px;gap:28px}h1{font-size:clamp(64px,7.7vw,123px);font-weight:600;letter-spacing:-.065em;line-height:1.16;margin:0}.outline{color:transparent;-webkit-text-stroke:1px #b9bcad}.accent{color:var(--accent)}.hero-note{width:230px;padding-bottom:9px}.cross{font-size:27px;color:var(--accent);font-weight:200}.hero-note p{font-size:17px;line-height:1.9;color:#c3c6b8;margin:12px 0 34px}.text-link{display:inline-flex;align-items:center;justify-content:space-between;gap:55px;font-size:12px;padding-bottom:9px;border-bottom:1px solid #727668}.hero-bottom{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:17px;font-size:10px;letter-spacing:1.8px;color:#c8cbbb}.muted{color:var(--muted)}.work{padding-top:76px;padding-bottom:90px}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:33px}h2{font-size:clamp(28px,3.1vw,48px);font-weight:500;line-height:1.4;letter-spacing:-.04em;margin:14px 0 0}.section-note{font-size:12px;line-height:1.9;color:var(--muted);margin:0 0 3px}.mobile-break{display:none}.filters{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:18px 0;display:grid;gap:14px}.filter-row{display:flex;align-items:baseline;gap:30px}.filter-label{font-size:11px;color:var(--muted);width:60px;flex-shrink:0}.filter-options{display:flex;gap:7px;flex-wrap:wrap}.filter-button{border:1px solid transparent;background:transparent;border-radius:2px;padding:7px 12px;font-size:12px;color:#bfc2b3;transition:background .15s}.filter-button:hover{background:#2e3028;color:var(--text)}.filter-button[aria-pressed=true]{background:var(--text);color:var(--bg)}.results-line{display:flex;align-items:center;justify-content:space-between;padding:15px 0;font-size:10px;color:var(--muted);letter-spacing:.5px}.results-line p{margin:0}.results-line>span{font-size:9px;letter-spacing:1px}.project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:38px 26px}.project-card{border:0;background:none;padding:0;text-align:left;width:100%;display:block}.poster{position:relative;aspect-ratio:16/10;overflow:hidden;background:#242923}.poster svg{width:100%;height:100%;display:block;transition:transform .6s ease}.project-card:hover .poster svg{transform:scale(1.035)}.poster:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.15),transparent 45%,rgba(0,0,0,.58));pointer-events:none}.poster-top{position:absolute;top:18px;left:19px;right:19px;display:flex;justify-content:space-between;font-size:9px;letter-spacing:1px;z-index:1;color:#e6e5d9}.sample-pill{border:1px solid #eee9d766;border-radius:2px;padding:4px 6px;font-size:8px;letter-spacing:1px;background:#0002}.poster-bottom{position:absolute;bottom:25px;left:27px;z-index:1}.poster-kicker{font-size:9px;letter-spacing:2px;opacity:.7}.poster-title{font-family:Georgia,serif;font-size:clamp(30px,3.9vw,62px);font-weight:normal;line-height:1.05;margin-top:8px;letter-spacing:-1px;color:#f2eddb}.view-circle{position:absolute;right:24px;bottom:28px;width:42px;height:42px;display:grid;place-items:center;border:1px solid #eee9d780;border-radius:50%;z-index:1;transition:background .2s;color:#eee9d7;font-size:20px}.project-card:hover .view-circle{background:var(--accent);color:var(--bg);border-color:var(--accent)}.project-meta{padding-top:15px;display:flex;justify-content:space-between;gap:10px}.project-name{font-size:15px;line-height:1.5;font-weight:500;display:block}.project-kind{display:block;font-size:10px;color:var(--muted);margin-top:5px}.empty-state{text-align:center;padding:75px 20px;border-bottom:1px solid var(--line)}.empty-state[hidden]{display:none}.empty-mark{font-size:38px;color:var(--accent);letter-spacing:-4px}.empty-state h3{font-weight:400}.empty-state p{font-size:13px;color:var(--muted)}.button{padding:12px 20px;background:var(--text);color:var(--bg);border:0;border-radius:2px;font-size:12px;margin-top:12px}.about{display:grid;grid-template-columns:1fr 1.6fr;border-top:1px solid var(--line);padding-top:60px;padding-bottom:65px;gap:45px}.large-symbol{display:block;font-size:110px;letter-spacing:-15px;color:#5b6250;margin-top:40px;font-weight:200}.about-copy h2{margin-top:0}.about-copy>p{max-width:510px;color:var(--muted);font-size:14px;line-height:2.1;margin:25px 0 20px}.pending-line{color:var(--muted);font-size:11px;display:flex;align-items:center;gap:8px}.about-bottom{display:flex;gap:30px;font-size:10px;margin-top:35px;border-top:1px solid var(--line);padding-top:20px;color:#c1c5b4}.contact{padding:56px 44px 35px;background:#d9ddcb;color:#20251b;margin-bottom:50px}.contact .eyebrow{font-size:9px}.contact h2{font-size:clamp(36px,5vw,74px);line-height:1.3;margin-top:24px}.contact-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:45px}.contact-bottom p{font-size:12px;color:#51594b}.contact .text-link:hover{color:#5f4a38}footer{display:flex;align-items:center;justify-content:space-between;padding-bottom:30px;font-size:10px;color:var(--muted);gap:20px}dialog{padding:0;border:1px solid #4b5141;background:var(--bg);color:var(--text);width:min(850px,calc(100% - 36px));max-height:90dvh;overscroll-behavior:contain}dialog::backdrop{background:#050704d9;backdrop-filter:blur(8px)}.dialog-inner{position:relative}.close-dialog{position:absolute;right:15px;top:12px;z-index:4;border:1px solid #b1b5a766;background:#141513d9;width:36px;height:36px;border-radius:50%;font-size:25px;line-height:1}.dialog-poster{aspect-ratio:16/8}.dialog-copy{padding:30px 35px 36px}.dialog-copy h2{font-size:29px;margin:8px 0 15px}.dialog-description{font-size:13px;color:#b7beaa;line-height:1.9}.detail-grid{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line);margin-top:24px;padding-top:19px;gap:17px}.detail-grid div{font-size:12px}.detail-grid span{display:block;color:var(--muted);font-size:10px;margin-bottom:7px}.demo-note{background:#25291f;border-left:2px solid var(--accent);padding:14px 17px;margin-top:25px;color:#c1c7b3;font-size:12px;line-height:1.9}.demo-note strong{font-weight:500;color:var(--text);display:block}body.modal-open{overflow:hidden}.media-player{width:100%;aspect-ratio:16/9;border:0;background:black}@media(min-width:1500px){.hero{padding-top:75px}.hero-title-row{padding-bottom:65px}}@media(max-width:850px){.wrap{width:calc(100% - 56px)}.brand-sub{display:none}.nav{height:88px}.nav nav{gap:20px}.hero-note{width:180px}.hero-note p{font-size:14px}.hero-title-row{padding-bottom:32px}h1{font-size:clamp(64px,9vw,95px)}.work{padding-top:55px}.poster-title{font-size:39px}.poster-bottom{left:20px;bottom:22px}.view-circle{right:17px;bottom:24px;width:34px;height:34px;font-size:17px}.about{grid-template-columns:1fr 1.5fr;gap:24px}.large-symbol{font-size:85px}.contact{padding:40px 30px}.hero-bottom{font-size:9px;letter-spacing:.8px}}@media(max-width:600px){.wrap{width:calc(100% - 36px)}.draft{font-size:9px;padding:9px 12px;gap:6px}.draft-note{margin-left:3px;font-size:9px}.nav{height:76px}.brand{font-size:12px;gap:9px}.brand-icon{font-size:21px}.nav nav{gap:15px;font-size:11px}.contact-link{padding:9px 11px}.contact-link span{margin-left:5px}.nav nav>a:nth-child(2){display:none}.hero{padding-top:40px}.eyebrow{font-size:8px;letter-spacing:1.5px}.hero-title-row{display:block;padding:24px 0 28px}h1{font-size:clamp(65px,15.5vw,94px);line-height:1.2}.hero-note{width:100%;display:flex;justify-content:space-between;align-items:center;padding:24px 0 0}.cross{display:none}.hero-note p{font-size:12px;line-height:1.8;margin:0}.text-link{font-size:11px;gap:25px}.hero-bottom{gap:15px;font-size:8px;letter-spacing:.4px}.hero-bottom .muted{display:none}.work{padding-top:35px;padding-bottom:50px}.section-heading{margin-bottom:24px}.section-heading h2{font-size:28px}.mobile-break{display:block}.section-note{font-size:10px}.filter-row{gap:10px}.filter-label{font-size:10px;width:49px}.filters{padding:15px 0;gap:12px}.filter-options{gap:3px}.filter-button{font-size:10px;padding:6px 8px}.results-line{font-size:9px;padding:14px 0}.results-line>span{font-size:8px}.project-grid{grid-template-columns:1fr;gap:28px}.poster{aspect-ratio:16/10}.poster-title{font-size:51px}.project-name{font-size:14px}.about{grid-template-columns:1fr;padding:35px 0 40px;gap:20px}.large-symbol{display:none}.about-copy h2{font-size:29px}.about-copy>p{font-size:12px;line-height:2}.about-bottom{gap:26px;margin-top:25px}.contact{padding:30px 24px 22px;margin-bottom:30px}.contact h2{font-size:35px;margin-top:22px}.contact-bottom{margin-top:28px}.contact-bottom p{font-size:10px}footer{flex-wrap:wrap;font-size:9px;padding-bottom:25px;gap:16px}footer>span:nth-child(2){display:none}.dialog-copy{padding:22px}.dialog-copy h2{font-size:25px}.dialog-poster{aspect-ratio:16/10}.detail-grid{gap:16px}.demo-note{font-size:11px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}

/* Source: personality.css — preserve cascade order. */
:root{color-scheme:light;--bg:#f2f0e8;--surface:#e8e6dd;--text:#20211d;--muted:#66675e;--line:#c8c8ba;--accent:#f05b30;--lime:#d5eb64}body{background:var(--bg)}.draft{background:#22251e;color:#f4f2e6}.draft-note{color:#c4c9b6}.nav{height:95px}.brand{gap:17px}.brand-icon{font-size:32px;letter-spacing:-3px;color:var(--text);font-weight:900;position:relative}.brand-star{display:inline-block;color:var(--accent);font-size:25px;padding-left:6px;vertical-align:top;line-height:25px}.brand-sub{border:0;padding:0;font-weight:600;color:#45483e;font-size:9px;letter-spacing:1.2px}.contact-link{background:var(--lime);border:1px solid #23251e;border-radius:0;box-shadow:3px 3px 0 #23251e}.contact-link:hover{background:var(--accent);color:#fff!important}.hero{padding-top:38px}.hero .eyebrow{font-size:9px;font-weight:bold}.hero-title-row{position:relative;padding:22px 0 18px;display:block}h1{font-size:clamp(65px,10.1vw,160px);font-weight:900;letter-spacing:-.075em;line-height:.92;max-width:100%;font-family:Arial,Helvetica,sans-serif}.portfolio-word{font-size:.98em}.hero-sticker{position:absolute;top:14px;right:3px;background:var(--lime);color:#24271d;width:126px;height:126px;border:1px solid #2d3320;transform:rotate(9deg);display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:50%;font-size:13px;font-weight:bold;line-height:1.15;animation:sticker-in .8s ease both}.hero-sticker b{font-size:38px;font-weight:400;line-height:1;margin-top:5px}.hero-caption{display:flex;justify-content:space-between;align-items:flex-end;padding:28px 0 30px}.hero-caption>p{font-size:21px;font-weight:600;margin:0;letter-spacing:-.5px}.hero-caption p span{display:block;font-size:12px;line-height:1.8;font-weight:400;color:var(--muted);margin-top:7px;letter-spacing:0}.hero-bottom{font-size:9px;color:#5f6456}.text-link{border-color:#777e68;font-weight:500}.ticker{overflow:hidden;background:var(--accent);color:#20251b;border-top:1px solid #22251b;border-bottom:1px solid #22251b;margin-top:15px;transform:rotate(-1deg)}.ticker-track{width:max-content;display:flex;animation:ticker 36s linear infinite}.ticker-track>span{display:flex;align-items:center;justify-content:space-around;min-inline-size:100vw;white-space:nowrap;font-size:28px;line-height:1.7;font-weight:800;letter-spacing:-1px;padding-right:12px}.ticker i{font-size:28px;font-style:normal;margin:0 30px;color:var(--bg)}.work{padding-top:70px}.section-heading h2{font-size:36px;font-weight:600}.section-heading h2 .accent{display:inline-block;padding-left:12px;font-size:49px;vertical-align:-5px}.section-note{font-size:12px;color:#565d4c}.filter-label{font-size:11px;font-weight:600}.filter-button{color:#4e5547;border-radius:0}.filter-button:hover{background:#e0e4d5;color:#20211d}.filter-button[aria-pressed=true]{background:var(--text);color:var(--bg)}.filter-row:nth-child(1) .filter-button[aria-pressed=true]{background:var(--lime);border:1px solid var(--text);color:var(--text)}.poster{border:1px solid #30382b;aspect-ratio:16/10}.poster-title{font-weight:bold;letter-spacing:-2px;font-family:Arial,sans-serif;font-size:clamp(30px,4.1vw,65px)}.poster-top{color:#f5f3df}.poster:after{background:linear-gradient(180deg,#00000018,transparent 45%,#00000087)}.project-card .project-meta{padding-bottom:14px;border-bottom:1px solid var(--line)}.project-name{font-weight:600;font-size:16px}.project-kind{color:#696f61;font-size:10px}.project-grid{gap:32px 28px}.project-card:nth-child(even){margin-top:48px}.project-card:hover .project-name{color:#c13f1c}.project-card:hover .view-circle{color:#fff}.about{padding-top:55px;grid-template-columns:1fr 1.6fr}.about-graphic{width:240px;height:225px;border:1px solid #23251b;background:var(--lime);display:flex;align-items:center;justify-content:center;position:relative;margin-top:30px;transform:rotate(-4deg);box-shadow:6px 6px 0 #262d20}.about-graphic>span{font-size:110px;font-weight:900;letter-spacing:-14px;margin-left:-12px}.about-graphic>b{position:absolute;right:25px;top:15px;font-size:40px;color:var(--accent)}.about-graphic>small{position:absolute;bottom:17px;font-size:8px;letter-spacing:2px}.about-copy h2{font-size:35px;font-weight:600}.about-copy>p{color:#606755}.pending-line{color:#606755}.about-bottom{color:#4b543e;gap:20px;font-weight:600;font-size:9px}.contact{background:#b8acd2;border:1px solid #282323;box-shadow:6px 6px 0 #24251f;color:#242321;position:relative}.contact:after{content:'✳';font-size:160px;color:#4f4662;position:absolute;right:46px;top:45px;line-height:1}.contact h2{font-weight:650;position:relative;z-index:1}.contact .text-link{position:relative;z-index:1}.contact-bottom p{color:#51465e}.contact .eyebrow{color:#4a4255}footer{font-size:9px;color:#666d5b}footer>span:first-child{font-weight:700;color:#3d4533}dialog{background:var(--bg);border:1px solid #222;color:var(--text)}.dialog-copy h2{font-weight:600}.dialog-description{color:#5f6854}.demo-note{background:#e3e8d7;color:#4e5845;border-left-color:var(--accent)}.close-dialog{color:var(--bg);border-color:#d5dec0}.detail-grid span{color:#677057}.detail-grid{border-color:#bfc6b3}.dialog-poster .poster-title{font-size:60px}.dialog-poster .view-circle{display:none}.button{background:var(--text);color:var(--bg)}@keyframes ticker{to{transform:translateX(-50%)}}@keyframes sticker-in{from{opacity:0;transform:rotate(-20deg) scale(.75)}to{opacity:1;transform:rotate(9deg) scale(1)}}@media(max-width:1000px){h1{font-size:10.5vw}.hero-sticker{width:100px;height:100px;top:0;right:0;font-size:11px}.hero-sticker b{font-size:30px}.contact:after{font-size:120px;right:30px;top:55px}.about-graphic{width:190px;height:200px}.about-graphic>span{font-size:95px}.section-heading h2{font-size:32px}}@media(max-width:700px){.brand-sub{display:none}.hero-sticker{width:75px;height:75px;top:0;right:0;font-size:8px}.hero-sticker b{font-size:22px}.contact:after{font-size:85px;right:20px;top:34px}.about-graphic{width:155px;height:180px}.about-graphic>span{font-size:80px}.about-graphic>b{font-size:30px;right:20px;top:14px}.about-graphic small{font-size:7px;letter-spacing:1px}}@media(max-width:600px){.nav{height:77px}.brand-icon{font-size:29px}.hero{padding-top:31px}.hero-title-row{padding:30px 0 12px}h1{font-size:12.2vw;line-height:.98;letter-spacing:-.075em}.hero-sticker{width:68px;height:68px;top:-5px;right:2px;font-size:7px}.hero-sticker b{font-size:19px}.hero-caption{padding:17px 0 25px;align-items:flex-end;gap:14px}.hero-caption>p{font-size:18px}.hero-caption p span{font-size:10px;max-width:195px;line-height:1.8;margin-top:5px}.hero-caption .text-link{font-size:10px;gap:16px;flex-shrink:0}.hero-bottom{font-size:7px;gap:8px;letter-spacing:0}.hero-bottom>span:last-child{font-size:6px}.ticker{margin-top:0}.ticker-track>span{font-size:20px;line-height:1.9}.ticker i{font-size:20px;margin:0 16px}.work{padding-top:45px}.section-heading h2{font-size:27px;line-height:1.35}.section-heading h2 .accent{font-size:33px;padding-left:5px;vertical-align:-2px}.section-note{font-size:10px;line-height:1.9}.filter-label{font-size:10px}.filter-row{align-items:flex-start}.filter-label{padding-top:7px}.filter-button{font-size:10px}.project-grid{gap:27px}.project-card:nth-child(even){margin-top:0}.poster-title{font-size:45px}.project-name{font-size:14px}.about{padding-top:34px;grid-template-columns:1fr}.about-label{display:flex;flex-direction:column;gap:20px}.about-graphic{width:150px;height:135px;margin:0 0 15px 6px;box-shadow:4px 4px 0 #262d20}.about-graphic>span{font-size:69px;letter-spacing:-10px}.about-graphic>b{font-size:27px;top:8px;right:14px}.about-graphic small{bottom:12px;font-size:6px}.about-copy h2{font-size:28px}.about-copy>p{font-size:12px}.about-bottom{font-size:8px;gap:18px}.contact{box-shadow:4px 4px 0 #24251f;padding:30px 22px 20px}.contact h2{font-size:30px;line-height:1.35}.contact:after{font-size:65px;top:42px;right:18px;opacity:.25}.contact .eyebrow{font-size:7px;letter-spacing:1px}.dialog-poster .poster-title{font-size:41px}.dialog-copy h2{font-size:24px}}@media(prefers-reduced-motion:reduce){.ticker-track{animation:none}.hero-sticker{animation:none}}

.poster-bottom{color:#f4f0de}.view-circle{top:48%;bottom:auto;transform:translateY(-50%)}.poster-kicker{opacity:.9;text-shadow:0 1px 4px #0005}.poster-title{max-width:100%}@media(max-width:600px){.poster-title{font-size:42px;letter-spacing:-1.8px}}

.real-poster{aspect-ratio:16/9;background:#24251e}.real-poster img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s ease}.project-card:hover .real-poster img{transform:scale(1.035)}.real-poster:after{background:linear-gradient(180deg,transparent 60%,#0007)}.real-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:55px;height:55px;border-radius:50%;display:grid;place-items:center;background:#f2f0e8ed;color:#262b1c;z-index:1;font-size:19px;padding-left:3px;border:1px solid #292d2280}.real-watch{position:absolute;bottom:16px;right:17px;font-size:11px;color:white;z-index:1}.project-card:hover .real-play{background:var(--lime)}.dialog-media{background:#111}.dialog-media .media-player{display:block}.watch-original{display:inline-flex;align-items:center;gap:35px;margin-top:25px;background:var(--lime);color:#22251b;border:1px solid #252b1d;padding:12px 18px;font-size:12px}.watch-original:hover{background:var(--accent);color:#fff}.watch-original:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.project-meta>div{min-width:0}.project-name{overflow-wrap:anywhere}@media(max-width:600px){.real-play{width:47px;height:47px;font-size:16px}.real-watch{font-size:10px;bottom:13px}.project-meta{gap:8px}}

/* Chinese homepage headline: matching line widths with a tilted graffiti-style title. */
@font-face{
  font-family:"Portfolio Graffiti";
  src:url("assets/fonts/zcool-kuaile-title.ttf") format("truetype");
  font-style:normal;
  font-weight:400;
  font-display:swap;
}
h1.hero-title-cn{
  font-family:Arial,"PingFang SC","Microsoft YaHei",sans-serif;
  font-size:clamp(62px,8.7vw,132px);
  font-weight:650;
  letter-spacing:-.055em;
  line-height:1.14;
  display:inline-flex;
  flex-direction:column;
  align-items:stretch;
  width:4.725em;
}
.hero-title-cn>span:first-child{display:block;white-space:nowrap}
.hero-title-cn>br{display:none}
.hero-title-cn .portfolio-word{
  font-family:"Portfolio Graffiti","PingFang SC",sans-serif;
  font-size:1.55em;
  font-weight:400;
  letter-spacing:0;
  line-height:1.08;
  display:flex;
  justify-content:space-between;
  width:100%;
  margin-left:0;
  position:relative;
  margin-top:.06em;
  transform:rotate(-3deg) skewX(-6deg);
  transform-origin:left center;
}
.hero-title-cn .portfolio-word>span{display:block;flex:0 0 auto}
.hero-title-cn .portfolio-word>span:nth-child(2){transform:rotate(2deg)}
.hero-title-cn .portfolio-word>span:nth-child(3){transform:rotate(-1deg)}
.hero-title-cn .portfolio-word:after{
  content:"";
  position:absolute;
  left:100%;
  bottom:.18em;
  width:.08em;
  height:.08em;
  margin-left:.08em;
  background:var(--accent);
}
@media(max-width:600px){
  h1.hero-title-cn{font-size:clamp(38px,11.2vw,67px);line-height:1.2;letter-spacing:-.045em;width:4.775em}
}

/* Compact gallery covers; original portrait proportions in the player. */
.real-poster.portrait-poster{aspect-ratio:9/16}
.project-grid.short-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.project-grid.short-grid .project-card:nth-child(even){margin-top:0}
.project-grid.short-grid .project-meta{flex-direction:column;gap:4px}
dialog.portrait-dialog{width:min(520px,calc(100% - 36px))}
.instagram-media{background:#fff}
.instagram-player{aspect-ratio:auto;width:100%;height:780px;border:0;background:#fff}
.portrait-dialog .dialog-copy{padding:26px}
@media(max-width:900px){.project-grid.short-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.project-grid.short-grid{grid-template-columns:1fr}.instagram-player{height:690px}.portrait-dialog .dialog-copy{padding:22px}}

.external-reel-preview{display:block}.external-reel-preview:focus-visible{outline:3px solid var(--accent);outline-offset:-4px}.external-reel-preview .real-play{background:var(--lime)}.external-reel-preview:hover .real-watch{text-decoration:underline}

/* Keep short-form gallery frames the same size as long-form frames. */
.project-card .real-poster.portrait-poster{aspect-ratio:16/9;background:#24251e}
.project-card .portrait-poster>img:not(.portrait-backdrop){position:relative;object-fit:contain}
.project-card .portrait-poster .portrait-backdrop{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:blur(18px);opacity:.35;transform:scale(1.12);pointer-events:none}
.project-card:hover .portrait-poster .portrait-backdrop{transform:scale(1.12)}

/* Muted, hover-only YouTube previews share the existing cover frame. */
.hover-preview{position:absolute;inset:0;width:100%;height:100%;border:0;z-index:2;opacity:0;pointer-events:none;transition:opacity .18s ease}
.preview-playing .hover-preview{opacity:1}
.preview-playing .real-play,.preview-playing .real-watch{opacity:0}
.preview-active .project-kind::after{content:' · 静音预览中';color:#a33b1c}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){.hover-preview-supported .real-watch::before{content:'悬停预览 · '}}

/* Orange mouse follower, kept separate from the native pointer. */
.cursor-follower{position:fixed;left:0;top:0;width:30px;height:30px;margin:-15px 0 0 -15px;z-index:10000;pointer-events:none;opacity:0;transition:opacity .15s ease;will-change:transform;--ring-scale:1}
.cursor-follower::before{content:'';position:absolute;inset:0;border:1.5px solid var(--accent);border-radius:50%;background:#f05b3009;transform:scale(var(--ring-scale));transition:transform .18s ease,background .18s ease}
.cursor-follower::after{content:'';position:absolute;left:13px;top:13px;width:4px;height:4px;border-radius:50%;background:var(--accent)}
.cursor-follower.is-visible{opacity:.85}
.cursor-follower.is-interactive{--ring-scale:1.6}
.cursor-follower.is-interactive::before{background:#f05b3012}
.cursor-follower.is-pressed{--ring-scale:.8}
body.modal-open .cursor-follower{opacity:0}
@media(hover:none),(pointer:coarse),(prefers-reduced-motion:reduce){.cursor-follower{display:none}}

.hover-preview-video{object-fit:contain;background:transparent}

/* A quick soft-focus cover transition while the first video frame loads. */
.project-card .hover-preview-supported>img:not(.portrait-backdrop){transition:filter .12s ease,transform .16s ease}
.project-card .preview-loading>img:not(.portrait-backdrop),.project-card .preview-playing>img:not(.portrait-backdrop){filter:blur(3px);transform:scale(1.015)}
.hover-preview{filter:blur(3px);transform:scale(1.015);transition:opacity .16s ease,filter .16s ease,transform .16s ease}
.preview-playing .hover-preview{opacity:1;filter:blur(0);transform:scale(1)}
.hover-preview-supported .real-play,.hover-preview-supported .real-watch{transition:opacity .12s ease}
.preview-loading .real-play,.preview-loading .real-watch{opacity:0}

/* Editable headlines retain handwriting and fit within the original layout. */
@font-face{font-family:"Portfolio Graffiti Full";src:url("assets/fonts/zcool-kuaile-full.ttf") format("truetype");font-style:normal;font-weight:400;font-display:swap}
.hero-title-cn>span:first-child{font-size:calc(1em * var(--hero-top-scale,1))}
.hero-title-cn .portfolio-word{font-family:"Portfolio Graffiti","Portfolio Graffiti Full","PingFang SC",sans-serif;font-size:calc(1.55em * var(--hero-bottom-scale,1))}

/* A separate, horizontal selection between the introduction and full gallery. */
.featured-section{background:var(--accent);color:var(--text);border-top:1px solid var(--text);border-bottom:1px solid var(--text);margin-top:32px;scroll-margin-top:0}
.featured-inner{min-height:680px;min-height:min(800px,100svh);padding-top:64px;padding-bottom:44px;display:flex;flex-direction:column;justify-content:center}
.featured-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:32px}
.featured-heading .eyebrow{font-size:9px;font-weight:600;letter-spacing:2px}
.featured-heading h2{font-size:clamp(48px,6vw,88px);font-weight:800;letter-spacing:-.055em;line-height:1.08;margin-top:14px}
.featured-heading h2>span{display:inline-block;color:var(--lime);font-size:.72em;vertical-align:12%;margin-left:20px;transform:rotate(12deg)}
.featured-heading>p{font-size:16px;line-height:1.8;margin:0 0 3px}
.featured-heading>p>span{font-size:11px;color:#30251d}
.featured-track{position:relative;display:flex;gap:24px;overflow-x:auto;overflow-y:hidden;padding:8px 0 20px;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;overscroll-behavior-x:contain;touch-action:pan-x pan-y pinch-zoom;cursor:grab;isolation:isolate}
.featured-track::-webkit-scrollbar{display:none}
.featured-track:focus-visible{outline:2px solid var(--text);outline-offset:6px}
.featured-track .featured-card{flex:0 0 44%;width:44%;min-width:0;margin:0;scroll-snap-align:center;scroll-snap-stop:normal;cursor:grab;align-self:flex-start;user-select:none;-webkit-user-select:none}
.featured-track .featured-card:nth-child(even){margin-top:0}
.featured-card .poster{border-color:var(--text);box-shadow:4px 4px 0 #20211d}
.featured-card .real-poster{aspect-ratio:16/9}
.featured-card .real-poster>img{transform:none!important;transition:none!important;-webkit-user-drag:none}
.featured-card .real-poster.portrait-poster>img:not(.portrait-backdrop){object-fit:contain}
.featured-card .real-poster.portrait-poster .portrait-backdrop{transform:scale(1.12)!important}
.featured-card .featured-order{position:absolute;top:12px;left:12px;background:var(--lime);color:var(--text);border:1px solid var(--text);padding:6px 9px;font-size:10px;letter-spacing:1px;z-index:3;pointer-events:none}
.featured-card .project-meta{border-color:#20211d66;padding-top:17px;padding-bottom:13px}
.featured-card .project-name{font-size:17px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:3em}
.featured-card .project-kind{color:#38291e}
.featured-card:hover .project-name{color:var(--text)}
.featured-card:focus-visible{outline:2px solid var(--text);outline-offset:6px}
.featured-track.is-dragging,.featured-track.is-dragging .featured-card{cursor:grabbing}
.featured-controls{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:8px}
.featured-navigation{display:flex;align-items:center;gap:9px}
.featured-navigation>button{width:46px;height:42px;border:1px solid var(--text);background:transparent;display:grid;place-items:center;font-size:24px;line-height:1;transition:background .18s ease,color .18s ease}
.featured-navigation>button:hover:not(:disabled){background:var(--lime)}
.featured-navigation>button:focus-visible{outline-color:var(--text)}
.featured-navigation>button:disabled{opacity:.35;cursor:default}
.featured-counter{font-size:11px;font-variant-numeric:tabular-nums;margin-left:12px;letter-spacing:1.5px;min-width:64px}
.featured-hint{font-size:10px;letter-spacing:1px}
.featured-hint>span{font-size:20px;margin-left:10px;vertical-align:-1px}
.featured-controls .text-link{border-color:#20211d;color:var(--text);font-size:11px;gap:32px;padding-bottom:5px}
.featured-controls .text-link:hover{color:var(--bg)}
.featured-progress{height:2px;background:#20211d36;margin-top:24px;overflow:hidden}
.featured-progress>span{display:block;height:100%;width:12.5%;background:var(--text);transform-origin:left center}
.featured-empty{flex:0 0 100%;min-height:220px;border:1px solid var(--text);display:grid;place-items:center;font-size:20px}
@media(max-width:850px){.featured-inner{min-height:620px;padding-top:48px;padding-bottom:36px}.featured-heading{gap:20px}.featured-heading h2{font-size:54px}.featured-heading>p{font-size:13px}.featured-card .project-name{font-size:14px}.featured-track{gap:20px}}
@media(max-width:600px){.featured-section{margin-top:24px}.featured-inner{min-height:560px;min-height:82svh;padding-top:40px;padding-bottom:32px}.featured-heading{display:block;margin-bottom:25px}.featured-heading h2{font-size:48px;margin-top:12px}.featured-heading h2>span{margin-left:16px}.featured-heading>p{margin-top:20px;line-height:1.65}.featured-heading>p>br{display:none}.featured-heading>p>span{margin-left:8px;font-size:10px}.featured-track{gap:18px}.featured-track .featured-card{flex-basis:86%;width:86%}.featured-card .project-name{font-size:14px;min-height:3em}.featured-card .featured-order{top:10px;left:10px;font-size:9px;padding:5px 7px}.featured-controls{flex-wrap:wrap;gap:20px 12px;margin-top:4px}.featured-navigation>button{width:40px;height:38px;font-size:22px}.featured-counter{font-size:10px;margin-left:7px;min-width:57px}.featured-hint{display:none}.featured-controls .text-link{font-size:10px;gap:18px}.featured-progress{margin-top:22px}.nav nav>a:nth-child(2){display:inline-flex}.nav nav>a:nth-child(3){display:none}.nav nav{gap:13px}}
@media(prefers-reduced-motion:reduce){.featured-track{scroll-behavior:auto}}
/* Keep one crisp card centered, with softened neighbors on both sides. */
.featured-track{padding:20px var(--featured-gutter,19%) 28px;gap:32px;scroll-behavior:auto}
.featured-track .featured-card{flex:0 0 var(--featured-card-width,62%);width:var(--featured-card-width,62%);filter:blur(4px);opacity:.48;transform:scale(.88);transform-origin:center;transition:filter .7s ease,opacity .7s ease,transform .7s cubic-bezier(.22,.68,.25,1);will-change:filter,transform}
.featured-track .featured-card.is-active{filter:blur(0);opacity:1;transform:scale(1)}
.featured-navigation>button.featured-toggle{width:auto;padding:0 12px;font-size:11px;letter-spacing:1px;margin-left:6px}
@media(max-width:600px){.featured-track{gap:12px}.featured-navigation{gap:6px}.featured-counter{min-width:50px;margin-left:4px}.featured-navigation>button.featured-toggle{padding:0 9px;margin-left:0;font-size:10px}.featured-controls{gap:14px 8px}.featured-controls .text-link{gap:10px}}

.featured-track.is-repositioning .featured-card{transition:none}


/* The chosen C lettering: original text plus crisp, outlined title artwork. */
.hero-title-cn .graffiti-glyph{position:relative;display:inline-block;font-weight:400;line-height:1;width:1em}
.hero-title-cn .graffiti-glyph>svg{display:block;width:100%;height:1em;overflow:visible;fill:currentColor}
.hero-title-cn .graffiti-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.hero-title-cn>span.graffiti-top{display:flex;justify-content:space-between;letter-spacing:0;line-height:1.14}
.hero-title-cn .graffiti-top>.graffiti-glyph{flex:0 1 1em;min-width:0}
.hero-title-cn .portfolio-word{color:var(--accent);font-weight:400;transform:none;margin-top:.09em}
.hero-title-cn .portfolio-word>span:nth-child(n){transform:none}

/* Direct cooperation contact using the supplied WhatsApp number. */
.contact-bottom{gap:28px;align-items:flex-end;position:relative;z-index:1}
.contact-details{min-width:0}
.contact-bottom .contact-channel{font-size:10px;font-weight:600;letter-spacing:1.8px;margin:0 0 8px}
.contact-bottom .contact-number{font-size:clamp(23px,2.8vw,34px);font-weight:600;letter-spacing:-.03em;margin:0;color:#242321;font-variant-numeric:tabular-nums}
.contact-bottom .contact-note{font-size:12px;line-height:1.8;margin:10px 0 0;color:#423c4e}
.whatsapp-cta{min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:30px;flex-shrink:0;background:var(--lime);color:var(--text);border:1px solid #242321;box-shadow:3px 3px 0 #242321;padding:14px 18px;font-size:13px;font-weight:600;line-height:1.4;transition:background .18s ease,box-shadow .18s ease}
.whatsapp-cta:hover{background:var(--bg);box-shadow:1px 1px 0 #242321}
.whatsapp-cta:focus-visible{outline:2px solid #242321;outline-offset:5px}
@media(max-width:600px){.contact-bottom{align-items:flex-start;flex-direction:column;gap:22px}.contact-bottom .contact-number{font-size:26px}.contact-bottom .contact-note{font-size:12px}.whatsapp-cta{width:100%;font-size:13px;gap:22px}}

/* Source: cinema.css — preserve cascade order. */
/* Local experiment: immersive homepage. All styles stay scoped to this hero. */
.cinema-header.nav {
  position:absolute;inset:0 0 auto;z-index:5;width:100%;max-width:none;height:100px;
  padding:24px 4.8%;border:0;color:#fff;gap:24px;
}
.cinema-header .brand{gap:0}
.cinema-header .brand-icon{font-size:39px;letter-spacing:-2px;color:#fff;margin:0}
.cinema-header .brand-star{font-size:30px;line-height:30px;padding-left:8px}
.cinema-header .brand-sub{display:none}
.cinema-header nav{gap:18px}
.cinema-header nav>a{
  display:inline-flex;align-items:center;justify-content:center;min-height:36px;
  border:1px solid #ffffffad;border-radius:999px;padding:8px 26px;font-size:14px;
  line-height:1.2;white-space:nowrap;color:#fff;background:transparent;box-shadow:none;
  transition:background .2s,color .2s;
}
.cinema-header nav>a:hover{background:#ffffff25;color:#fff}
.cinema-header nav>.contact-link{background:#fff;color:#20211d;border-color:#fff}
.cinema-header nav>.contact-link:hover{background:var(--accent);border-color:var(--accent);color:#fff}
.cinema-header .contact-link span{display:none}
.cinema-header a:focus-visible,.cinema-hero a:focus-visible,.cinema-hero button:focus-visible{
  outline:2px solid #fff;outline-offset:6px;
}
.cinema-hero.hero{
  width:100%;max-width:none;height:100vh;height:100svh;min-height:660px;margin:0;
  padding:0;position:relative;overflow:hidden;isolation:isolate;background:#171d1e;color:#fff;
}
.cinema-backdrop,.cinema-video,.cinema-still,.cinema-shade{position:absolute;inset:0;width:100%;height:100%}
.cinema-backdrop{z-index:-1;pointer-events:none}
.cinema-video,.cinema-still{object-fit:cover;object-position:center}
.cinema-video{opacity:0;transition:opacity .35s}
.cinema-video.is-ready{opacity:1}
.cinema-shade{background:#0006}
.cinema-copy{position:absolute;left:4.8%;top:40.4%;max-width:42%}
.cinema-hero .eyebrow{font-size:14px;font-weight:600;letter-spacing:3px;gap:20px;line-height:1.4}
.cinema-hero .orange-line{width:50px;height:3px;flex-shrink:0}
.cinema-hero h1.hero-title-cn{
  font-size:clamp(64px,6.8vw,114px);width:4.75em;max-width:100%;line-height:1.03;
  margin:15px 0 0;letter-spacing:0;color:#fff;font-weight:400;
}
.cinema-hero .hero-title-cn>span.graffiti-top{line-height:1}
.cinema-hero .hero-title-cn .portfolio-word{font-size:1.55em;line-height:1;margin-top:.035em;transform:none}
.cinema-hero .hero-title-cn .portfolio-word:after{display:none}
.cinema-tagline{font-size:clamp(25px,2.5vw,42px);line-height:1.3;font-weight:500;margin:26px 0 0;letter-spacing:-.02em}
.cinema-watch{
  position:absolute;left:45.5%;top:50.3%;display:inline-flex;align-items:center;justify-content:center;
  gap:15px;min-width:195px;min-height:54px;padding:14px 30px;border:1px solid #fff;border-radius:999px;
  font-size:18px;line-height:1.3;color:#fff;background:transparent;transition:background .2s;
}
.cinema-watch:hover{background:#ffffff25}
.cinema-icon{display:block;width:20px;height:20px;filter:brightness(0) invert(1);flex-shrink:0}
.cinema-watch .cinema-icon{width:22px;height:22px}
.cinema-footer{
  position:absolute;right:4.8%;bottom:7.2%;display:flex;align-items:center;gap:23px;max-width:55%;
}
.cinema-project-name{
  padding:5px 0;border:0;background:transparent;color:inherit;text-align:left;
  max-width:330px;font-size:14px;font-weight:500;line-height:1.5;
}
.cinema-project-name:hover{text-decoration:underline;text-underline-offset:5px}
.cinema-counter{font-size:13px;letter-spacing:2px;white-space:nowrap;font-variant-numeric:tabular-nums}
.cinema-arrows{display:flex;gap:8px}
.cinema-arrow,.cinema-motion{
  display:inline-flex;align-items:center;justify-content:center;background:transparent;color:#fff;
  border:1px solid #ffffffb3;border-radius:999px;min-width:34px;min-height:34px;padding:7px;
  transition:background .2s;
}
.cinema-arrow:hover,.cinema-motion:hover{background:#ffffff25}
.cinema-arrow .cinema-icon{width:16px;height:16px}
.cinema-motion{position:absolute;bottom:7.2%;left:4.8%;border-color:transparent;gap:8px;padding:4px 0;font-size:11px;letter-spacing:.03em}
.cinema-motion .cinema-icon{width:13px;height:13px}
.cinema-hero+.featured-section{margin-top:0}
.local-editor-shortcut{font-size:11px;text-decoration:underline;text-underline-offset:4px}
@media(min-width:1700px){.cinema-copy{top:39%}.cinema-hero h1.hero-title-cn{font-size:114px}}
@media(max-width:1000px){
  .cinema-header nav{gap:10px}.cinema-header nav>a{padding:8px 18px;font-size:12px}
  .cinema-copy{max-width:47%;top:39%}.cinema-hero .eyebrow{font-size:11px;letter-spacing:2px;gap:13px}
  .cinema-hero .orange-line{width:35px}.cinema-hero h1.hero-title-cn{font-size:7.5vw}
  .cinema-watch{left:54%;padding:14px 23px;font-size:16px}
  .cinema-footer{max-width:64%;gap:15px}.cinema-project-name{font-size:12px;max-width:260px}
}
@media(max-width:600px){
  .cinema-header.nav{height:auto;padding:20px 20px;gap:12px;align-items:center}
  .cinema-header .brand-icon{font-size:28px}.cinema-header .brand-star{font-size:22px;line-height:22px;padding-left:4px}
  .cinema-header nav{gap:6px}.cinema-header nav>a,.cinema-header nav>a:nth-child(3){display:inline-flex;padding:8px 9px;font-size:10px;min-height:44px}
  .cinema-hero.hero{height:100svh;min-height:740px}
  .cinema-video,.cinema-still{object-position:56% center}
  .cinema-copy{left:24px;top:36%;max-width:calc(100% - 48px)}
  .cinema-hero .eyebrow{font-size:10px;letter-spacing:2px;gap:12px}
  .cinema-hero .orange-line{width:29px;height:2px}
  .cinema-hero h1.hero-title-cn{font-size:clamp(50px,12vw,68px);margin-top:20px;width:4.75em}
  .cinema-tagline{font-size:26px;margin-top:25px}
  .cinema-watch{left:24px;top:auto;bottom:170px;font-size:15px;min-height:48px;padding:12px 23px;gap:10px}
  .cinema-watch .cinema-icon{width:18px;height:18px}
  .cinema-footer{right:24px;left:24px;bottom:24px;max-width:none;display:grid;grid-template-columns:1fr auto;gap:10px 14px}
  .cinema-project-name{grid-column:1 / -1;max-width:none;font-size:12px;padding:0;line-height:1.5}
  .cinema-counter{font-size:11px;letter-spacing:2px}
  .cinema-arrow{min-height:40px;min-width:40px}.cinema-motion{left:auto;right:24px;bottom:174px;font-size:10px;min-height:44px}
  .cinema-hero+.featured-section{margin-top:0}
}
@media(max-width:359px){.cinema-header.nav{padding-left:16px;padding-right:16px}.cinema-header nav>a{padding:8px 7px;font-size:9px}.cinema-hero h1.hero-title-cn{font-size:48px}}
@media(prefers-reduced-motion:reduce){.cinema-video{transition:none}}

/* Source: butter-blue.css — preserve cascade order. */
/* Palette supplied by Wen Jin: butter cream, sunflower, cobalt, sea blue, ink. */
:root{
  --butter:#fff2b8;
  --sun:#f2c94c;
  --cobalt:#3157a4;
  --sea-blue:#7aa6c2;
  --ink:#2a2e35;
  --paper:#faf7eb;
  --wash:#f5efd9;
  --mist:#e9eff2;
  --bg:var(--paper);
  --surface:var(--wash);
  --text:var(--ink);
  --muted:#536273;
  --line:#3157a429;
  --accent:var(--cobalt);
  --lime:var(--sun);
}
body{background:var(--paper);color:var(--ink)}
::selection{background:var(--cobalt);color:var(--butter)}
a:focus-visible,button:focus-visible{outline-color:var(--cobalt)}
.text-link{color:var(--cobalt);border-color:var(--cobalt)}
.text-link:hover{color:var(--ink)}
.eyebrow,.section-note,.filter-label{color:var(--cobalt)}
.section-heading h2,.about-copy h2{color:var(--cobalt)}
.filters{border-color:var(--line)}
.filter-button{color:var(--cobalt)}
.filter-button:hover{background:#7aa6c233;color:var(--cobalt)}
.filter-row:nth-child(1) .filter-button[aria-pressed=true]{background:var(--cobalt);border-color:var(--cobalt);color:var(--butter)}
.project-card .project-meta{border-color:var(--line)}
.project-name{color:var(--ink)}
.project-kind,.results-line,.results-line>span{color:#536273}
.project-card:hover .project-name{color:var(--cobalt)}
.real-poster{border-color:var(--cobalt)}
.real-play{background:var(--paper);color:var(--cobalt);border-color:#3157a44d}
.project-card:hover .real-play{background:var(--sun);color:var(--cobalt)}
.ticker{background:var(--wash);color:var(--cobalt);border-color:var(--line)}
.ticker i{color:var(--cobalt)}

/* Cream typography and gold accents over the existing full-screen footage. */
.cinema-header.nav,.cinema-header .brand-icon{color:var(--paper)}
.cinema-header .brand-star{color:var(--sun)}
.cinema-header nav>a{color:var(--paper);border-color:#faf7eb80;background:transparent}
.cinema-header nav>a:hover{color:var(--paper);background:#faf7eb14}
.cinema-header nav>.contact-link{color:var(--cobalt);background:var(--paper);border-color:var(--paper)}
.cinema-header nav>.contact-link:hover{color:var(--paper)!important;background:var(--cobalt);border-color:var(--paper)}
.cinema-hero.hero{background:var(--ink);color:var(--paper)}
.cinema-shade{background:#101c2b66}
.cinema-hero .eyebrow,.cinema-hero h1.hero-title-cn{color:var(--paper)}
.cinema-hero .orange-line{background:var(--sun)}
.cinema-hero .hero-title-cn .portfolio-word{color:var(--paper)}
.cinema-watch{background:transparent;color:var(--paper);border-color:#faf7ebcc}
.cinema-watch:hover{background:#3157a4cc;color:var(--paper)}
.cinema-arrow,.cinema-motion{color:var(--paper);border-color:#faf7eb80}
.cinema-motion{border-color:transparent}
.cinema-arrow:hover,.cinema-motion:hover{background:#3157a4b3}
.cinema-icon{filter:brightness(0) invert(.97) sepia(.12)}
.cinema-header a:focus-visible,.cinema-hero a:focus-visible,.cinema-hero button:focus-visible{outline-color:var(--sun)}

/* A shared warm paper surface ties the content sections together. */
.featured-section{background:var(--paper);color:var(--ink);border-top:0;border-bottom:1px solid var(--line)}
.featured-section .eyebrow,.featured-heading h2{color:var(--cobalt)}
.featured-heading>p,.featured-heading>p>span{color:var(--muted)}
.featured-heading h2>span{color:var(--sun)}
.featured-card .poster{border-color:var(--line);box-shadow:none}
.featured-card .featured-order{background:var(--paper);color:var(--cobalt);border-color:var(--line)}
.featured-card .project-meta{border-color:var(--line)}
.featured-card .project-name{color:var(--ink)}
.featured-card:hover .project-name{color:var(--cobalt)}
.featured-card .project-kind{color:var(--muted)}
.featured-navigation>button{border-color:#3157a44d;color:var(--cobalt)}
.featured-navigation>button:hover:not(:disabled){background:var(--cobalt);color:var(--paper)}
.featured-navigation>button:focus-visible{outline-color:var(--sun)}
.featured-controls .text-link{border-color:#3157a480;color:var(--cobalt)}
.featured-controls .text-link:hover{color:var(--ink)}
.featured-progress{background:var(--line)}
.featured-progress>span{background:var(--sea-blue)}
.featured-empty{border-color:var(--line)}

.about{border-color:var(--line)}
.about-graphic{background:var(--wash);color:var(--cobalt);border-color:var(--line);box-shadow:none}
.about-graphic>b{color:var(--sun)}
.about-copy>p,.about-bottom{color:#536273}
.about-bottom{border-color:var(--line)}
.contact{background:var(--wash);border-color:var(--line);color:var(--ink);box-shadow:none}
.contact:after{color:var(--sea-blue);opacity:.5}
.contact h2{color:var(--cobalt)}
.contact .eyebrow,.contact-bottom p,.contact-bottom .contact-number,.contact-bottom .contact-note{color:var(--ink)}
.whatsapp-cta{background:var(--cobalt);color:var(--paper);border-color:var(--cobalt);box-shadow:none}
.whatsapp-cta:hover{background:#27498d;color:var(--paper);box-shadow:none}
.whatsapp-cta:focus-visible{outline-color:var(--cobalt)}
footer,footer>span:first-child{color:var(--cobalt)}
dialog{background:var(--paper);color:var(--ink);border-color:var(--line)}
dialog::backdrop{background:#2a2e35d9}
.dialog-copy h2,.detail-grid span{color:var(--cobalt)}
.dialog-description{color:#536273}
.detail-grid{border-color:var(--line)}
.watch-original{background:var(--cobalt);color:var(--paper);border-color:var(--cobalt)}
.watch-original:hover{background:#27498d;color:var(--paper)}
.close-dialog{background:var(--cobalt);color:var(--butter);border-color:var(--butter)}
.button{background:var(--cobalt);color:var(--paper)}
.cursor-follower::before{border-color:var(--cobalt);background:#3157a409}
.cursor-follower::after{background:var(--cobalt)}
.cursor-follower.is-interactive::before{background:#3157a412}
body:has(.cinema-hero:hover) .cursor-follower::before{border-color:var(--sun);background:#f2c94c12}
body:has(.cinema-hero:hover) .cursor-follower::after{background:var(--sun)}
@media(max-width:600px){
  .about-graphic,.contact{box-shadow:none}
}

/* Source: crayon-sections.css — preserve cascade order. */
/* Reuse the homepage's original PF lettering artwork; no replacement font. */
h2.crayon-title{font-weight:400;letter-spacing:0;line-height:1.32}
h2.crayon-title>.crayon-line{
  display:inline-flex;align-items:baseline;white-space:nowrap;
  color:inherit;font-size:1em;line-height:1;vertical-align:-.08em;
  margin:0;padding:0;transform:none;
}
h2.crayon-title .graffiti-glyph{
  position:relative;display:inline-block;flex:0 0 1em;
  width:1em;height:1em;line-height:1;font-weight:400;
}
h2.crayon-title .graffiti-glyph>svg{
  display:block;width:100%;height:100%;overflow:visible;fill:currentColor;
}
h2.crayon-title .graffiti-text{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip-path:inset(50%);white-space:nowrap;
}
#work-title.crayon-title .mobile-break{display:none}
#featured-title.crayon-title{font-size:clamp(68px,7.5vw,110px)}
#featured-title .crayon-mark,
.splice-mark {
  --splice-size: 13px;
  display: inline-block;
  position: relative;
  flex: none;
  inline-size: var(--splice-size);
  block-size: var(--splice-size);
  vertical-align: middle;
  transform: rotate(-9deg);
  overflow: hidden;
  color: transparent;
}
#featured-title .crayon-mark::before,
#featured-title .crayon-mark::after,
.splice-mark::before,
.splice-mark::after {
  position: absolute;
  inset: 23% 0;
  content: "";
}
#featured-title .crayon-mark::before,
.splice-mark::before {
  background: var(--cobalt);
  clip-path: polygon(0 7%, 58% 0, 41% 98%, 3% 92%);
}
#featured-title .crayon-mark::after,
.splice-mark::after {
  background: #d6a92d;
  clip-path: polygon(68% 6%, 100% 4%, 97% 93%, 51% 100%);
}
#featured-title .crayon-mark {
  --splice-size: clamp(22px, 2.4vw, 30px);
  margin-inline-start: .12em;
  vertical-align: .22em;
}
.ticker .splice-mark {
  --splice-size: 18px;
  margin-inline: 24px;
}
.ticker > .mobile-splice-mark { display: none; }
#ticker-display > span { min-block-size: 1.7em; }
.ticker-lettering {
  display: block;
  flex: none;
  inline-size: calc(var(--ticker-advance) * 1em);
  block-size: 1em;
  overflow: visible;
  fill: currentColor;
}
#work-title.crayon-title{font-size:46px}
#work-title.crayon-title .graffiti-glyph[data-glyph="."] {
  flex-basis: .20em;
  width: .20em;
}
#work-title.crayon-title .graffiti-glyph[data-glyph="."] > svg {
  width: .25em;
  max-width: none;
  transform: translateX(-.025em);
}
#contact-title.crayon-title{font-size:clamp(40px,6.2vw,90px)}
@media(max-width:1000px){
  #work-title.crayon-title{font-size:40px}
}
@media(max-width:850px){
  #work-title.crayon-title .mobile-break{display:block}
}
@media(max-width:600px){
  #featured-title.crayon-title{font-size:clamp(56px,15vw,68px)}
  #work-title.crayon-title{font-size:clamp(30px,8.2vw,34px)}
  #contact-title.crayon-title{font-size:clamp(27px,9.2vw,38px)}
  .contact:after{font-size:48px;top:18px;right:18px}
}

.crayon-arrow-down-right {
  display: inline-block;
  flex: none;
  inline-size: 1.85em;
  block-size: 1.35em;
  background: url("assets/avatar/loop-arrow-web.png") center / contain no-repeat;
  transform: translate(var(--arrow-x, 0px), var(--arrow-y, 0px))
    rotate(var(--arrow-angle, 0deg)) scale(calc(var(--arrow-scale, 100) / 100));
  pointer-events: none;
}

#work-title .accent.crayon-arrow-down-right {
  background-image: url("assets/avatar/work-loop-arrow-crayon.png");
  font-size: inherit;
  inline-size: 1.3em;
  block-size: .94em;
  padding: 0;
  margin-inline-start: .16em;
  vertical-align: -.10em;
}

/* Source: portfolio-polish.css — preserve cascade order. */
/* Shared card rhythm and quieter controls, using the existing palette. */
#project-grid{align-items:start;gap:36px 28px}
#project-grid .project-card:nth-child(even){margin-top:0}
.project-card .project-meta{padding-top:15px;padding-bottom:16px}
.project-card .project-name{
  font-size:16px;font-weight:500;line-height:1.55;min-height:3.1em;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.project-card .project-kind{font-size:11px;line-height:1.6;margin-top:6px}
.project-card .real-poster{border:0;background:var(--wash)}
.project-card .real-poster:after{background:none}
.project-card .real-poster.portrait-poster{background:var(--wash)}
.project-card .portrait-poster .portrait-backdrop{display:none}
.project-card .portrait-poster>img:not(.portrait-backdrop){object-fit:contain}
.real-play{
  width:48px;height:48px;padding:0 0 0 2px;background:var(--paper);
  color:var(--cobalt);border:1px solid #3157a433;box-shadow:none;
  transition:background .2s,transform .2s,opacity .12s;
}
.real-play>img{width:18px;height:18px;object-fit:contain;opacity:.82}
.project-card:hover .real-play{background:var(--cobalt);transform:translate(-50%,-50%) scale(1.04)}
.project-card:hover .real-play>img{filter:brightness(0) invert(1);opacity:1}
.project-card .real-watch{
  right:12px;bottom:12px;padding:6px 9px;font-size:11px;line-height:1.4;
  color:var(--ink);background:var(--paper);border-radius:3px;
  opacity:0;transform:translateY(3px);transition:opacity .15s,transform .15s;
}
.hover-preview-supported .real-watch::before{content:''}
.project-card:hover .poster:not(.preview-playing):not(.preview-loading) .real-watch,
.project-card:focus-visible .poster:not(.preview-playing):not(.preview-loading) .real-watch{
  opacity:1;transform:translateY(0);
}
.project-card.preview-active .project-kind::after{color:var(--cobalt)}
.project-card:focus-visible{outline:2px solid var(--cobalt);outline-offset:6px}
.featured-card .featured-order{border:0;background:var(--paper);padding:6px 8px}
.featured-card .project-meta{padding-top:16px}
.featured-card .real-poster.portrait-poster{background:var(--wash)}
.featured-navigation>button{border-radius:3px}
.featured-navigation>button,.filter-button{transition:background .18s,color .18s,border-color .18s}
.cinema-watch{background:#101c2b30;backdrop-filter:blur(6px)}
.cinema-shade{background:#101c2b8c}
.cinema-header nav>a:not(.contact-link){background:#101c2b40}

/* Inquiry information grouped for quick reading, with one primary action. */
.contact-details{flex:1;min-width:0}
.contact-terms{margin:18px 0 0;max-width:640px}
.contact-terms>div{display:grid;grid-template-columns:64px minmax(0,1fr);gap:14px;padding:11px 0;border-bottom:1px solid var(--line)}
.contact-terms>div:last-child{border-bottom:0;padding-bottom:0}
.contact-terms dt{margin:0;color:var(--cobalt);font-size:12px;font-weight:600;line-height:1.8}
.contact-terms dd{margin:0;color:var(--ink);font-size:14px;line-height:1.8;overflow-wrap:anywhere}
.contact-bottom{gap:32px}
.contact-bottom .contact-channel{letter-spacing:1.5px}
@media(max-width:600px){
  #project-grid{gap:28px}
  .project-card .project-name{font-size:15px}
  .featured-card .project-name{font-size:15px}
  .real-play{width:44px;height:44px}
  .real-play>img{width:16px;height:16px}
  .project-card .real-watch{display:none}
  .contact-details{width:100%}
  .contact-terms{max-width:none;margin-top:16px}
  .contact-terms>div{grid-template-columns:60px minmax(0,1fr);gap:12px;padding:12px 0}
  .contact-terms dd{font-size:14px}
  .contact-bottom{gap:26px}
}
@media(prefers-reduced-motion:reduce){.project-card .real-play,.project-card .real-watch{transition:none}}

/* Source: avatar-home.css — preserve cascade order. */
@font-face{font-family:"Wen Jin Signature";src:url("assets/fonts/jason-writing-editable.ttf?v=ff31869d8e") format("truetype");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"Wen Jin Note";src:url("assets/fonts/jason-writing-editable.ttf?v=ff31869d8e") format("truetype");font-style:normal;font-weight:400;font-display:swap}
/* The approved personal-character direction, scoped to the experimental hero. */
.avatar-header.cinema-header{color:var(--cobalt)}
.avatar-header .brand{flex-shrink:0}
.avatar-header .brand-wordmark{font-family:"Wen Jin Signature","Trebuchet MS",sans-serif;font-size:20px;font-weight:400;font-synthesis:none;letter-spacing:.015em;line-height:1.2;color:var(--cobalt);white-space:nowrap}
.avatar-header.cinema-header .brand-icon{color:var(--cobalt)}
.avatar-header.cinema-header nav>a,.avatar-header.cinema-header nav>a:not(.contact-link){color:var(--cobalt);background:transparent;border-color:var(--cobalt)}
.avatar-header.cinema-header nav>a:hover{background:var(--wash)}
.avatar-header.cinema-header nav>.contact-link{background:var(--cobalt);color:var(--paper);border-color:var(--cobalt)}
.avatar-header.cinema-header nav>.contact-link:hover{background:var(--ink);border-color:var(--ink)}
.avatar-header.cinema-header a:focus-visible,.avatar-hero a:focus-visible,.avatar-hero button:focus-visible{outline:2px solid var(--cobalt);outline-offset:5px}
.avatar-hero.hero{position:relative;isolation:isolate;width:100%;max-width:none;height:100svh;min-height:720px;margin:0;padding:0;background:var(--paper);color:var(--cobalt);overflow:hidden}
.avatar-copy{position:absolute;left:4.8%;top:25.4%;width:43%;z-index:1}
.avatar-hero .eyebrow{font-size:14px;letter-spacing:3px;font-weight:600;gap:20px;line-height:1.4}
.avatar-hero .orange-line{width:54px;height:4px;border-radius:2px;background:var(--sun)}
.avatar-hero h1.hero-title-cn{font-size:clamp(64px,6.85vw,104px);line-height:1;width:5em;max-width:100%;margin:20px 0 0;letter-spacing:0;color:var(--cobalt);font-weight:400}
.avatar-hero h1>.graffiti-top{line-height:1}
.avatar-hero h1 .portfolio-word{font-size:1.55em;line-height:1;transform:none;margin-top:.035em}
.avatar-hero h1 .portfolio-word:after{display:none}
.avatar-tagline{font-family:"Wen Jin Note","PingFang SC",sans-serif;font-size:clamp(20px,2vw,28px);line-height:1.45;letter-spacing:.025em;margin:23px 0 27px;font-weight:400;font-synthesis:none}
.avatar-tagline>span{white-space:nowrap}
.crayon-smile{display:inline-block;width:1em;height:1em;object-fit:contain;vertical-align:-.14em;margin-left:.2em}
.avatar-watch{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-width:250px;min-height:54px;padding:14px 30px;border-radius:99px;background:var(--cobalt);color:var(--paper);font-size:18px;line-height:1.3}
.avatar-watch:hover{background:var(--ink)}
.avatar-watch>img{display:block;width:22px;height:22px;filter:brightness(0) invert(1)}
.avatar-art{position:absolute;left:45.45%;top:10.63%;width:49.04%;aspect-ratio:1;isolation:isolate}
.avatar-art>svg{width:100%;height:100%;display:block;overflow:visible}
.avatar-hit{position:absolute;left:30%;top:6%;width:45%;height:87%;border:0;padding:0;background:transparent;cursor:pointer;border-radius:40%}
.avatar-motion{position:absolute;bottom:30px;left:4.8%;display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:8px 0;border:0;background:none;color:var(--cobalt);font-size:11px;cursor:pointer}
.avatar-motion img{width:13px;height:13px;display:block}
.avatar-scroll{position:absolute;bottom:41px;right:5.5%;font-size:10px;letter-spacing:1.5px}
.avatar-test{position:absolute;right:4.8%;bottom:30px;display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:11px}
.avatar-test>button{min-height:36px;border:1px solid #3157a455;border-radius:4px;background:transparent;color:var(--cobalt);padding:7px 12px;font:inherit;cursor:pointer}
.avatar-test>button:hover{background:var(--wash)}
.avatar-test label{display:flex;align-items:center;gap:7px}.avatar-test input{width:100px;accent-color:var(--cobalt)}.avatar-test output{font-variant-numeric:tabular-nums;min-width:70px}
@media(max-width:1000px){.avatar-copy{top:29%;width:45%}.avatar-hero h1.hero-title-cn{font-size:7.2vw}.avatar-hero .eyebrow{font-size:11px;gap:12px;letter-spacing:2px}.avatar-hero .orange-line{width:35px}.avatar-art{top:23%;left:43.5%;width:52%}.avatar-tagline{font-size:22px}.avatar-watch{font-size:15px}.avatar-test{gap:8px}.avatar-test input{width:80px}}
@media(max-width:600px){.avatar-hero.hero{height:auto;min-height:100svh;padding:119px 24px 80px;overflow:hidden}.avatar-copy{position:relative;left:auto;top:auto;width:100%;max-width:440px;margin:auto}.avatar-hero .eyebrow{font-size:10px;margin:0}.avatar-hero h1.hero-title-cn{font-size:clamp(49px,12.7vw,76px);margin-top:20px}.avatar-tagline{font-size:20px;margin:18px 0 23px}.avatar-watch{min-width:168px;min-height:48px;padding:12px 24px;font-size:15px}.avatar-art{position:relative;left:auto;top:auto;width:calc(100% + 20px);max-width:470px;aspect-ratio:1;margin:5px -10px 0}.avatar-motion{bottom:20px;left:24px;font-size:10px}.avatar-scroll{bottom:34px;right:24px;font-size:8px}.avatar-test{position:relative;right:auto;bottom:auto;width:100%;gap:10px;margin-top:10px;padding-bottom:10px}.avatar-test input{width:105px}.avatar-test label{width:auto}.avatar-test output{font-size:10px}.avatar-hero:has(.avatar-test){padding-bottom:65px}}

@media(max-width:600px){.avatar-header .brand-wordmark{font-size:16px;line-height:1.18}.avatar-header .brand-wordmark>span{display:block}}
@media(max-width:359px){.avatar-header .brand-wordmark{font-size:15px}}

/* Source: button-feedback.css — preserve cascade order. */
/* Approved soft paper-key feedback. Poster cards and the character hit area keep their own interactions. */
:is(.avatar-header.cinema-header nav>a,.avatar-watch,.featured-navigation>button,#format-filters .filter-button,#category-filters .filter-button,#work-pagination button,#work-quick-pagination button,#dialog-navigation button,#reset-filters,#close-dialog,#dialog-content .button,.contact .whatsapp-cta){
  --feedback-depth:var(--paper-depth,3px);--feedback-shadow-color:var(--paper-shadow-color,#203D7B88);--feedback-rest-y:0px;--feedback-face:var(--paper,#FAF7EB);--feedback-text:var(--cobalt,#3157A4);
  background:var(--feedback-face);color:var(--feedback-text);border:1.5px solid var(--cobalt,#3157A4);
  box-shadow:0 var(--feedback-depth) 0 var(--feedback-shadow-color);transform:translateY(var(--feedback-rest-y));
  transition:transform 180ms cubic-bezier(.2,.7,.3,1),box-shadow 180ms,background-color 100ms,color 100ms,border-color 100ms;
  touch-action:manipulation;
}
:is(.avatar-header.cinema-header nav>.contact-link,.avatar-watch,.contact .whatsapp-cta,#reset-filters,#dialog-content .button,#format-filters .filter-button[aria-pressed=true],#category-filters .filter-button[aria-pressed=true],#work-pagination .page-number[aria-current=page]){
  --feedback-face:var(--cobalt,#3157A4);--feedback-text:var(--paper,#FAF7EB);
  background:var(--feedback-face);color:var(--feedback-text);
}
@media(hover:hover) and (pointer:fine){
  :is(.avatar-header.cinema-header nav>a,.avatar-watch,.featured-navigation>button,#format-filters .filter-button,#category-filters .filter-button,#work-pagination button,#work-quick-pagination button,#dialog-navigation button,#reset-filters,#close-dialog,#dialog-content .button,.contact .whatsapp-cta):hover:not(:disabled){
    --feedback-rest-y:var(--paper-hover-y,-2px);box-shadow:0 var(--paper-hover-depth,5px) 0 var(--feedback-shadow-color);
  }
}
:is(.avatar-header.cinema-header nav>a,.avatar-watch,.featured-navigation>button,#format-filters .filter-button,#category-filters .filter-button,#work-pagination button,#work-quick-pagination button,#dialog-navigation button,#reset-filters,#close-dialog,#dialog-content .button,.contact .whatsapp-cta):focus-visible{
  outline:2px solid var(--cobalt,#3157A4);outline-offset:5px;
}
:is(.avatar-header.cinema-header nav>a,.avatar-watch,.featured-navigation>button,#format-filters .filter-button,#category-filters .filter-button,#work-pagination button,#work-quick-pagination button,#dialog-navigation button,#reset-filters,#close-dialog,#dialog-content .button,.contact .whatsapp-cta):active:not(:disabled){
  transform:translateY(var(--feedback-depth)) scale(.98);box-shadow:0 0 0 var(--feedback-shadow-color);transition-duration:65ms;
}
:is(.avatar-header.cinema-header nav>a,.avatar-watch,.featured-navigation>button,#format-filters .filter-button,#category-filters .filter-button,#work-pagination button,#work-quick-pagination button,#dialog-navigation button,#reset-filters,#close-dialog,#dialog-content .button,.contact .whatsapp-cta):is(:active,.is-paper-released):not(:disabled){
  background:#E5EBF5;color:var(--cobalt,#3157A4);border-color:#244483;
}
:is(.avatar-header.cinema-header nav>.contact-link,.avatar-watch,.contact .whatsapp-cta,#reset-filters,#dialog-content .button,#format-filters .filter-button[aria-pressed=true],#category-filters .filter-button[aria-pressed=true],#work-pagination .page-number[aria-current=page]):is(:active,.is-paper-released):not(:disabled){
  background:#244483;color:var(--paper,#FAF7EB);border-color:#244483;
}
:is(.avatar-header.cinema-header nav>a,.avatar-watch,.featured-navigation>button,#format-filters .filter-button,#category-filters .filter-button,#work-pagination button,#work-quick-pagination button,#dialog-navigation button,#reset-filters,#close-dialog,#dialog-content .button,.contact .whatsapp-cta).is-paper-released{
  animation:paper-key-release 280ms cubic-bezier(.2,.65,.35,1);
}
@keyframes paper-key-release{
  0%{transform:translateY(var(--feedback-depth)) scale(.98);box-shadow:0 0 0 var(--feedback-shadow-color)}
  65%{transform:translateY(calc(var(--feedback-rest-y) - 1px)) scale(1.008)}
  100%{transform:translateY(var(--feedback-rest-y)) scale(1)}
}
:is(.avatar-header.cinema-header nav>a,.avatar-watch,.featured-navigation>button,#format-filters .filter-button,#category-filters .filter-button,#work-pagination button,#work-quick-pagination button,#dialog-navigation button,#reset-filters,#close-dialog,#dialog-content .button,.contact .whatsapp-cta):disabled{
  box-shadow:none;transform:none;opacity:.55;
}
@media(prefers-reduced-motion:reduce){
  :is(.avatar-header.cinema-header nav>a,.avatar-watch,.featured-navigation>button,#format-filters .filter-button,#category-filters .filter-button,#work-pagination button,#work-quick-pagination button,#dialog-navigation button,#reset-filters,#close-dialog,#dialog-content .button,.contact .whatsapp-cta){
    transition:none;animation:none;transform:none!important;box-shadow:none;
  }
}

/* Source: hero-finishing.css — preserve cascade order. */
@font-face{font-family:"Wen Jin Hello";src:url("assets/fonts/jason-writing-editable.ttf?v=ff31869d8e") format("truetype");font-weight:400;font-style:normal;font-display:swap}
/* A real, faint paper-grain asset under the existing illustration and live content. */
.avatar-hero::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:url("assets/avatar/paper-web.webp");background-size:620px 620px;background-repeat:repeat;mix-blend-mode:multiply;opacity:.28}
.avatar-greeting{position:absolute;right:12%;top:clamp(0px,calc(10vw - 110px),24px);z-index:2;font-family:"Wen Jin Hello","PingFang SC",sans-serif;font-size:20px;line-height:1.4;font-weight:400;letter-spacing:.01em;color:var(--cobalt);white-space:nowrap;pointer-events:none;opacity:0;visibility:hidden;transform:translateY(4px);transition:opacity 180ms,transform 180ms,visibility 180ms}
.avatar-art.has-greeting .avatar-greeting,.avatar-art:has(.avatar-hit:focus-visible) .avatar-greeting{opacity:1;visibility:visible;transform:translateY(0)}
@media(hover:hover) and (pointer:fine){.avatar-art:has(.avatar-hit:hover) .avatar-greeting{opacity:1;visibility:visible;transform:translateY(0)}}
.avatar-hero .avatar-scroll,
.featured-controls .featured-down-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 4px 0;
  font-family: "Wen Jin Hello", "PingFang SC", sans-serif;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--cobalt);
}
.avatar-hero .avatar-scroll { right: 4.8%; bottom: 27px; }
.featured-controls .featured-down-link { border: 0; font-size: 20px; text-decoration: none; }
:is(.avatar-scroll, .featured-down-link) > img {
  display: block;
  flex: none;
  width: 24px;
  height: 28px;
  object-fit: contain;
  transform: translate(var(--arrow-x, 0px), calc(var(--arrow-y, 0px) + var(--down-arrow-nudge, 0px)))
    rotate(var(--arrow-angle, 0deg)) scale(calc(var(--arrow-scale, 100) / 100));
  transition: transform 180ms;
}
@media (hover: hover) and (pointer: fine) {
  :is(.avatar-scroll, .featured-down-link):hover > img { --down-arrow-nudge: 3px; }
}
:is(.avatar-scroll, .featured-down-link):active > img { --down-arrow-nudge: 3px; }
@media(max-width:600px){.avatar-greeting{font-size:18px;right:12%;top:0}.avatar-hero .avatar-scroll{right:24px;bottom:18px;font-size:16px}}
@media (prefers-reduced-motion: reduce) {
  .avatar-greeting { transition: none; transform: none !important; }
  :is(.avatar-scroll, .featured-down-link) > img {
    --down-arrow-nudge: 0px !important;
    transition: none;
  }
}

/* Source: ui-hierarchy.css — preserve cascade order. */
/* Secondary navigation keeps the approved press/rebound/color feel with shallower depth. */
.avatar-header nav{--paper-depth:1px;--paper-hover-y:-1px;--paper-hover-depth:2px;--paper-shadow-color:#203D7B55}
/* Decorative follower stays away from delicate lettering; the native pointer is untouched. */
.cursor-follower.is-visible.is-quiet{opacity:.28;--ring-scale:.46}
.cursor-follower.is-quiet::before{border-width:1px;background:transparent}
.cursor-follower.is-quiet::after{left:14px;top:14px;width:2px;height:2px}
.cursor-follower.is-visible.is-primary{opacity:.7;--ring-scale:1.3}
.cursor-follower.is-primary::before{border-color:var(--sea-blue,#7AA6C2);background:transparent}
.cursor-follower.is-primary::after{background:var(--sea-blue,#7AA6C2)}
.cursor-follower.is-primary.is-pressed{--ring-scale:.9}
.cursor-follower.is-quiet.is-pressed{--ring-scale:.4}
body.modal-open .cursor-follower.is-visible{opacity:0}

/* Source: hero-ready.css — preserve cascade order. */
/* One shared text-column width: the approved title glyphs and justified handwritten line. */
.avatar-copy{--base-title-size:clamp(64px,6.85vw,104px);--hero-title-size:var(--base-title-size);--tagline-size:clamp(28px,2.85vw,42px)}
.avatar-hero h1.hero-title-cn{font-size:var(--hero-title-size)}
.avatar-hero .avatar-tagline{display:flex;align-items:center;gap:0;width:min(100%,calc(var(--hero-title-size) * 5));font-size:min(var(--tagline-size),calc(var(--hero-title-size) * .51))}
.avatar-tagline>.tagline-words{display:block;flex:1;min-width:0;white-space:normal;text-align:justify;text-align-last:justify;text-justify:inter-character}
.avatar-tagline>.crayon-smile{flex:0 0 1em;margin-left:.2em;width:1em;height:1em;transform:translateY(-.04em)}
.avatar-tagline:has(.tagline-lettering) > .tagline-words {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.avatar-tagline > .tagline-lettering {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  min-height: 1.45em;
  white-space: normal;
}
.tagline-lettering .graffiti-glyph {
  display: inline-block;
  flex: none;
  width: calc(var(--glyph-advance, 1) * 1em);
  height: 1em;
}
.tagline-lettering .graffiti-text { display: none; }
.tagline-lettering .graffiti-glyph > svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: currentColor;
}
.tagline-lettering > .tagline-tilde { display: none; }
.avatar-hero .avatar-motion{min-height:44px;font-size:13px;padding:8px 0}
.avatar-hero .avatar-motion img{width:15px;height:15px}
/* Cap the right-hand scene by available height, preserving its original desktop center. */
@media(min-width:601px){.avatar-art{left:70%;width:min(49.04vw,calc(98svh - 104px));transform:translateX(-50%)}}
@media(min-width:601px) and (max-width:1000px){.avatar-copy{--base-title-size:7.2vw;--tagline-size:30px}.avatar-art{left:69.5%;width:min(52vw,calc(84svh - 104px))}}
@media(min-width:601px) and (max-height:700px){
  .avatar-hero.hero{height:100svh;min-height:500px}
  .avatar-copy{top:clamp(112px,23svh,160px);--hero-title-size:clamp(44px,calc(18svh - 36px),var(--base-title-size))}
  .avatar-hero .eyebrow{font-size:12px}
  .avatar-hero h1.hero-title-cn{margin-top:12px}
  .avatar-hero .avatar-tagline{margin-top:clamp(10px,2svh,16px);margin-bottom:clamp(12px,2.6svh,20px)}
  .avatar-hero .avatar-watch{min-height:46px;padding:12px 26px;font-size:15px}
  .avatar-art{left:70%;top:100px;width:min(49.04vw,max(330px,calc(100svh - 170px)))}
  .avatar-greeting{top:-14px;right:8%;font-size:18px}
}
@media(max-width:600px){.avatar-copy{--base-title-size:clamp(49px,12.7vw,76px)}}

/* The editor and homepage share the generator's long-line scaling. */
.avatar-hero h1 .portfolio-word{font-size:calc(1.55em * var(--hero-bottom-scale,1))}

.avatar-hero h1 .portfolio-word>.graffiti-glyph{flex:0 1 1em;min-width:0}

/* Source: travel-editor.css — preserve cascade order. */
/* Travel composition: the character remains interactive; no greeting label is shown. */
.avatar-travel .avatar-hit{top:0;height:94%}

/* Source: featured-refinement.css — preserve cascade order. */
/* Featured films: keep the paper, crayon lettering and calm carousel motion. */
.featured-section{scroll-margin-top:0}
.featured-inner{min-height:0;padding-top:32px;padding-bottom:32px;justify-content:flex-start}
.featured-heading{margin-bottom:16px;gap:24px}
.featured-heading h2{margin-bottom:0}
.featured-heading>p{font-size:14px;line-height:1.7}
.featured-heading>p>span{font-size:12px}
.featured-track{padding-top:12px;padding-bottom:14px}
.featured-track .featured-card{filter:blur(2.5px);opacity:.62}
.featured-track .featured-card.is-active{filter:none;opacity:1}
.featured-card .project-meta{padding:14px 0 0;min-height:108px;box-sizing:border-box;border-bottom:0;align-items:flex-start}
.featured-card .project-meta>div{padding-bottom:12px;border-bottom:1px solid var(--line)}
.featured-card .real-poster{border-radius:6px;box-shadow:none}
.featured-card .real-poster:after{content:'';position:absolute;inset:0;border:1px solid #3157a416;border-radius:inherit;pointer-events:none;box-sizing:border-box;z-index:2}
.featured-card .project-meta>div{width:100%;min-width:0}
.featured-card .project-name{font-size:16px;line-height:1.5;min-height:0}
.featured-card.is-active .project-name{font-size:18px;font-weight:600}
.featured-contribution{display:block;margin-top:7px;font-size:12px;line-height:1.7;color:var(--muted);font-weight:400}
.featured-card .portrait-poster{isolation:isolate}
.featured-card .portrait-poster .portrait-backdrop{
  display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  filter:blur(24px) saturate(.45);opacity:.17;z-index:-1;
}
.featured-card .portrait-poster>img:not(.portrait-backdrop){position:relative;z-index:0;object-position:center;transition:object-position .45s ease!important}
.featured-card.is-before .portrait-poster>img:not(.portrait-backdrop){object-position:right center}
.featured-card.is-after .portrait-poster>img:not(.portrait-backdrop){object-position:left center}
.featured-track.is-repositioning .portrait-poster>img:not(.portrait-backdrop){transition:none!important}
.featured-controls{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:20px;margin-top:8px}
.featured-navigation{position:relative;display:grid;grid-template-columns:46px 64px 46px;gap:8px;grid-column:2;grid-row:1}
#featured-prev{grid-column:1;grid-row:1}
#featured-next{grid-column:3;grid-row:1}
.featured-counter{grid-column:2;grid-row:1;justify-self:center;text-align:center}
.featured-navigation>button{width:46px;min-width:44px;height:44px;border-radius:5px}
.featured-navigation>button.featured-toggle{position:absolute;left:calc(100% + 14px);top:0;min-width:56px;font-size:12px;padding:0 12px;margin-left:0}
#featured-toggle.featured-toggle{
  --paper-depth:0px;--paper-hover-depth:0px;--paper-shadow-color:transparent;--paper-hover-y:-1px;
  width:44px;min-width:44px;height:44px;padding:0;left:calc(100% + 8px);
  background:transparent;color:var(--muted);border:0;border-radius:50%;box-shadow:none;
}
#featured-toggle>svg{width:18px;height:18px;display:block;pointer-events:none}
#featured-toggle[aria-pressed=false] .resume-icon,
#featured-toggle[aria-pressed=true] .pause-icon{display:none}
#featured-toggle:hover{color:var(--cobalt);background:#3157a40a}
#featured-toggle:is(:active,.is-paper-released){color:var(--cobalt);background:#E5EBF5;box-shadow:none}
#featured-toggle:focus-visible{outline:2px solid var(--cobalt);outline-offset:2px}
.featured-counter{font-size:12px;min-width:0;margin-left:0;color:var(--cobalt)}
.featured-hint{grid-column:1;grid-row:1;justify-self:start;font-size:11px;letter-spacing:.5px;color:var(--muted)}
.featured-hint>span{font-size:18px;margin-left:5px}
.featured-controls .text-link{grid-column:3;grid-row:1;justify-self:end}
.featured-progress{margin-top:18px}
.featured-progress>span{width:100%;transform:scaleX(0);transform-origin:left center}
.featured-section[data-rotation-state=paused] .featured-progress>span{opacity:.6}
.featured-section[data-rotation-state=off] .featured-progress{visibility:hidden}

/* Show authorship and the original watch link before third-party player chrome. */
.dialog-overview{padding:24px 64px 20px 28px;border-bottom:1px solid var(--line)}
.dialog-overview h2{color:var(--cobalt);font-size:24px;line-height:1.45;margin:7px 0 12px;overflow-wrap:anywhere}
.dialog-summary{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px 20px}
.dialog-role{font-size:13px;line-height:1.7;margin:0}
.dialog-role>span,.dialog-context>span{font-size:11px;color:var(--muted);margin-right:12px}
.dialog-overview .watch-original{margin:0;padding:7px 0;min-height:32px;gap:12px;background:none;color:var(--cobalt);border:0;border-bottom:1px solid #3157a466;font-size:12px}
.dialog-overview .watch-original:hover{color:var(--ink);border-color:var(--ink)}
.dialog-media .media-player:not(.instagram-player){height:min(48dvh,478px);aspect-ratio:16/9}
.dialog-copy,.portrait-dialog .dialog-copy{padding:18px 28px 24px}
.dialog-description{margin:0;font-size:13px;line-height:1.85}
.dialog-context{font-size:12px;line-height:1.7;margin:12px 0 0;color:var(--ink)}
.close-dialog{width:44px;height:44px;right:14px;top:14px}

@media(max-width:850px){
  .featured-inner{padding-top:36px;padding-bottom:30px}
  .featured-hint{display:none}
}
@media(max-width:600px){
  .featured-inner{min-height:0;padding-top:34px;padding-bottom:30px}
  .featured-heading{margin-bottom:18px}
  .featured-heading>p{font-size:13px;line-height:1.8;margin-top:14px}
  .featured-heading>p>span{font-size:11px;margin-left:6px}
  .featured-track{padding-top:10px;padding-bottom:14px}
  .featured-card .project-name{font-size:15px;min-height:0}
  .featured-card.is-active .project-name{font-size:16px}
  .featured-card .project-meta{padding-top:12px;padding-bottom:0;min-height:100px}
  .featured-contribution{font-size:12px;margin-top:7px}
  .featured-track .featured-card{filter:blur(2px);opacity:.6}
  .featured-track .featured-card.is-active{filter:none;opacity:1}
  .featured-controls{gap:8px;margin-top:4px}
  .featured-navigation{grid-template-columns:44px 54px 44px;gap:6px}
  .featured-navigation>button{width:44px;height:44px}
  .featured-counter{font-size:11px;min-width:0;margin-left:0;letter-spacing:1px}
  .featured-navigation>button.featured-toggle{left:calc(100% + 10px);font-size:12px;min-width:50px;padding:0 8px;margin-left:0}
  .featured-controls .text-link{grid-column:1/-1;grid-row:2;justify-self:center}
  .featured-progress{margin-top:16px}
  .dialog-overview{padding:22px 60px 18px 20px}
  .dialog-overview h2{font-size:20px;margin-top:7px;margin-bottom:10px}
  .dialog-summary{gap:6px}
  .dialog-role{font-size:12px}
  .dialog-overview .watch-original{font-size:12px}
  .dialog-copy,.portrait-dialog .dialog-copy{padding:18px 20px 22px}
  .dialog-media .media-player:not(.instagram-player){height:auto;aspect-ratio:16/9}
  .close-dialog{right:10px;top:12px}
}
@media(prefers-reduced-motion:reduce){
  .featured-card .portrait-poster>img:not(.portrait-backdrop){transition:none!important}
}
@media(max-width:360px){
  .featured-controls{flex-wrap:wrap}
  .featured-controls .text-link{margin-left:0}
}

#featured .featured-shortcuts {
  display:flex; flex-wrap:wrap; align-items:center; gap:8px;
  margin-block:0 16px;
}
.featured-shortcuts-label {
  color:var(--muted); font-size:13px; margin-inline-end:6px;
}
.featured-shortcut {
  display:flex; align-items:center; justify-content:center; gap:8px;
  min-height:44px; padding:0 14px; border:1px solid var(--line);
  border-radius:5px; background:var(--wash); color:var(--cobalt);
  font:inherit; font-size:13px; cursor:pointer;
}
.featured-shortcut img { width:12px; height:12px; }
.featured-shortcut:hover { background:var(--paper); border-color:var(--cobalt); }
.featured-shortcut:focus-visible, .about-film-example:focus-visible {
  outline:2px solid var(--cobalt); outline-offset:3px;
}
@media(max-width:600px) {
  #featured .featured-shortcuts {
    display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); margin-block:0 12px;
  }
  .featured-shortcuts-label { grid-column:1/-1; text-align:center; margin:0 0 2px; }
}

/* Source: gallery-refinement.css — preserve cascade order. */
/* Original published covers, presented in the site's existing paper treatment. */
#project-grid .real-poster{aspect-ratio:16/9;border-radius:6px;box-shadow:none}
#project-grid .real-poster:after{
  content:'';position:absolute;inset:0;box-sizing:border-box;border:1px solid #3157a416;
  border-radius:inherit;pointer-events:none;background:none;z-index:2;
}
#project-grid .project-meta{
  padding:10px 0 0;min-height:94px;box-sizing:border-box;align-items:stretch;border-bottom:0;display:flex;flex-direction:column;
}
#project-grid .project-meta>div{width:100%;min-width:0;flex:1;padding-bottom:8px;border-bottom:1px solid var(--line)}
#project-grid .project-name{font-size:16px;line-height:1.55;font-weight:500;min-height:0}
#project-grid .project-kind{font-size:12px;line-height:1.6;margin-top:5px}
/* Keep the format controls available only while browsing this library. */
#work>.filters{
  position:sticky;top:0;z-index:20;background:var(--paper);
  padding:10px 0 12px;isolation:isolate;
}
#work .filter-row{align-items:center;gap:24px}
#work .filter-label{padding-top:0}
#format-filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}
#format-filters .filter-button{min-height:44px;min-width:44px;padding:0 14px;font-size:12px;line-height:1.4;border-radius:5px}
#work .results-line,#project-grid .project-card{scroll-margin-top:88px}
#work .results-line{gap:12px;flex-wrap:wrap}
#result-count:focus-visible{outline:2px solid var(--cobalt);outline-offset:4px;border-radius:2px}
.work-pagination{display:flex;flex-direction:column;align-items:center;gap:12px;margin-top:30px}
.work-pagination[hidden]{display:none}
.work-page-summary{margin:0;color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums;letter-spacing:.5px}
.work-page-controls,.work-page-numbers{display:flex;align-items:center;justify-content:center;gap:12px}
.work-page-numbers{gap:6px}
#work-pagination button{width:44px;min-width:44px;height:44px;padding:0;border-radius:5px;font-size:13px;line-height:1}
#work-pagination .page-arrow{font-size:23px}
.page-gap{width:14px;text-align:center;color:var(--muted);font-size:14px}
@media(max-width:600px){
  #project-grid .project-meta{padding-top:10px;min-height:90px}
  #project-grid .project-name{font-size:15px}
  #work>.filters{padding:10px 0 12px}
  #work .filter-row{gap:10px;align-items:center}
  #work .filter-label{width:38px;font-size:11px}
  #format-filters{gap:6px;flex-wrap:wrap}
  #format-filters .filter-button{font-size:12px;padding:0 12px;white-space:nowrap}
  #work .results-line,#project-grid .project-card{scroll-margin-top:84px}
  .work-pagination{margin-top:24px}
  .work-page-controls{gap:8px}
  .work-page-numbers{gap:4px}
  .page-gap{width:10px;font-size:12px}
}

/* Current gallery finishing: same grid, smaller gaps and genuine portrait wash. */
#work{padding-top:48px;padding-bottom:64px}
#work>.section-heading{margin-bottom:24px}
#project-grid{gap:24px 28px}
#work .results-line{padding:12px 0;font-size:12px;letter-spacing:.015em}
#work .results-line>span{font-size:12px;letter-spacing:.025em}
#project-grid .portrait-poster{isolation:isolate}
#project-grid .portrait-poster .portrait-backdrop{
  display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  filter:blur(24px) saturate(.75);opacity:.22;transform:scale(1.1);pointer-events:none;z-index:0;
}
#project-grid .portrait-poster>img:not(.portrait-backdrop){position:relative;object-fit:contain;z-index:1}
@media(max-width:600px){
  #work{padding-top:32px;padding-bottom:44px}
  #work>.section-heading{margin-bottom:18px}
  #work .section-note{font-size:12px;line-height:1.7}
  #project-grid{gap:20px}
  #work .results-line{padding:11px 0;column-gap:10px;row-gap:5px}
  #work .results-line>span{letter-spacing:0}
}
/* Let one-line captions stay compact; paired cards still share their row baseline. */
#project-grid{align-items:stretch}
#project-grid .project-card{display:flex;flex-direction:column;align-items:stretch}
#project-grid .real-poster{width:100%;flex-shrink:0}
#project-grid .project-meta{flex:1;min-height:70px}
@media(max-width:600px){#project-grid .project-meta{min-height:70px}}

/* Quiet top paging shares the approved paper-key controls. */
#work>.filters{display:flex;align-items:center;justify-content:space-between;gap:12px}
#work .filter-row{min-width:0}
.work-quick-pagination{display:flex;align-items:center;gap:6px;flex-shrink:0}
.work-quick-pagination[hidden]{display:none}
#work-quick-pagination button{width:44px;min-width:44px;height:44px;padding:0;border-radius:5px;font-size:23px;line-height:1;--paper-depth:2px;--paper-hover-depth:3px;--paper-hover-y:-1px}
.work-quick-summary{min-width:42px;text-align:center;color:var(--cobalt);font-size:12px;line-height:1.4;font-variant-numeric:tabular-nums;white-space:nowrap}
/* The full card remains the click target; only the visual play mark is smaller. */
#project-grid .real-play{width:41px;height:41px;transition:background-color .16s,transform .18s,opacity .12s}
#project-grid .real-play>img{width:15px;height:15px}
#project-grid .project-card:is(:hover,:focus-visible) .real-play{background:var(--cobalt);transform:translate(-50%,-50%) scale(1.05)}
#project-grid .project-card:is(:hover,:focus-visible) .real-play>img{filter:brightness(0) invert(1);opacity:1}
@media(max-width:600px){
  #work>.filters{gap:8px}
  #work .filter-label{display:none}
  #format-filters{gap:4px;flex-wrap:nowrap}
  #format-filters .filter-button{padding:0 10px}
  .work-quick-pagination{gap:2px}
  .work-quick-summary{min-width:32px;font-size:11px}
  #project-grid .real-play{width:37px;height:37px}
  #project-grid .real-play>img{width:13px;height:13px}
}
@media(max-width:360px){
  #format-filters .filter-button{padding:0 6px}
  .work-quick-summary{min-width:24px;font-size:10px}
}
@media(prefers-reduced-motion:reduce){
  #project-grid .real-play{transition:none}
  #project-grid .project-card:is(:hover,:focus-visible) .real-play{transform:translate(-50%,-50%)}
}

/* Keep landscape short-video covers and hover previews fully visible. */
#project-grid .landscape-short-poster > img,
#project-grid .landscape-short-poster .hover-preview-video {
  object-fit: contain;
}

/* Long previews keep their covers crisp until the first moving frame is ready. */
#project-grid .long-preview > img,
#project-grid .long-preview .hover-preview {
  filter: none;
  transform: none;
}
#project-grid .long-preview .hover-preview { transition: opacity .22s ease; }
#project-grid .long-preview.preview-loading::after {
  content: '正在加载预览…';
  position: absolute;
  inset: auto 12px 12px auto;
  z-index: 3;
  width: auto;
  height: auto;
  padding: 6px 9px;
  border-radius: 3px;
  background: var(--paper);
  color: var(--ink);
  font-size: 11px;
  line-height: 1.4;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  #project-grid .long-preview .hover-preview { transition: none; }
}

#work .work-credit { color:var(--muted); font-size:13px; line-height:1.5; margin:10px 0 0; }
.category-scroll-hint { display:none; }
@media(max-width:600px) {
  #work .category-scroll-hint {
    display:block; margin:6px 0 0; color:var(--muted); text-align:end; font-size:12px;
  }
}

/* Display the 16:9 artwork inside the original 4:3 letterboxed thumbnail. */
.real-poster.letterboxed-cover { aspect-ratio:16/9; }
.real-poster.letterboxed-cover > img { object-fit:cover; }

/* Source: dialog-refinement.css — preserve cascade order. */
/* Authorship first; continuous browsing stays inside the current collection. */
.dialog-summary{align-items:flex-end;gap:12px 20px}
.dialog-authorship{min-width:0}
.dialog-role-label{margin:0 0 6px;color:var(--muted);font-size:11px;line-height:1.6}
.dialog-responsibilities{display:flex;flex-wrap:wrap;gap:6px;list-style:none;padding:0;margin:0}
.dialog-responsibilities li{padding:3px 9px;border-radius:4px;background:#3157a40c;color:var(--cobalt);font-size:12px;line-height:1.6}
.dialog-focus{margin:11px 0 0;color:var(--ink);font-size:12px;line-height:1.75}
.dialog-focus>span{margin-right:10px;color:var(--muted);font-size:11px}
.dialog-navigation{position:sticky;bottom:0;z-index:5;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px;padding:12px 28px 16px;border-top:1px solid var(--line);background:var(--paper);box-shadow:0 -8px 16px #faf7ebdd}
.dialog-navigation[hidden]{display:none}
#dialog-navigation button{min-height:44px;padding:0 13px;font-size:12px;line-height:1.4;white-space:nowrap;border-radius:5px;--paper-depth:2px;--paper-hover-depth:3px;--paper-hover-y:-1px}
#dialog-prev{justify-self:start}
#dialog-next{justify-self:end}
.dialog-position{display:flex;flex-direction:column;gap:3px;text-align:center;margin:0;color:var(--cobalt);font-size:12px;line-height:1.5;font-variant-numeric:tabular-nums}
.dialog-position>span:first-child{font-size:10px;color:var(--muted)}
#dialog-navigation .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:600px){
  .dialog-summary{align-items:flex-start;gap:8px 14px}
  .dialog-responsibilities{gap:5px}
  .dialog-responsibilities li{font-size:11px;padding:3px 8px}
  .dialog-navigation{padding:10px 20px 14px;gap:8px}
  #dialog-navigation button{padding:0 10px}
}
@media(max-width:360px){
  .dialog-navigation{padding-left:14px;padding-right:14px;gap:6px}
  #dialog-navigation button{padding:0 8px;font-size:11px}
}

/* Keep exit/navigation outside the scrolling details, including short windows. */
#project-dialog{width:min(900px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:hidden}
#project-dialog .dialog-inner{display:flex;flex-direction:column;height:min(840px,calc(100dvh - 34px));max-height:none;min-height:0}
.dialog-toolbar{display:flex;align-items:center;justify-content:space-between;flex:none;min-height:54px;padding:5px 14px 5px 28px;background:var(--paper);border-bottom:1px solid var(--line);z-index:6}
.dialog-toolbar>span{font-size:11px;letter-spacing:.08em;color:var(--muted)}
#project-dialog .close-dialog{position:static;flex:none;width:44px;height:44px;margin:0}
.dialog-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
#project-dialog .dialog-navigation{position:static;flex:none;box-shadow:none}
#project-dialog .dialog-overview{padding:20px 28px}
#project-dialog .dialog-overview h2{padding-right:0}
#project-dialog .dialog-media{background:var(--wash)}
#project-dialog .dialog-copy{padding:18px 28px 24px}
.player-shell{background:var(--wash);color:var(--ink)}
.player-stage{position:relative;width:100%;aspect-ratio:16/9;max-height:48dvh;background:#171b20;overflow:hidden}
.player-canvas{width:100%;height:100%}
#project-dialog .player-canvas>.media-player{display:block;width:100%;height:100%;aspect-ratio:auto;border:0;object-fit:contain}
.player-loading-cover{position:absolute;inset:0;display:grid;place-items:center;background:var(--wash);pointer-events:none}
.player-loading-cover[hidden]{display:none}
.player-loading-cover>img{width:100%;height:100%;position:absolute;inset:0;object-fit:contain;opacity:.38}
.player-loading-caption{position:relative;padding:9px 13px;border-radius:4px;background:var(--paper);color:var(--cobalt);font-size:13px}
.player-feedback{display:flex;align-items:center;justify-content:space-between;gap:8px 18px;padding:10px 28px;border-bottom:1px solid var(--line);background:var(--paper)}
.player-status{font-size:12px;line-height:1.7;color:var(--muted);margin:0}
.player-actions{display:flex;align-items:center;gap:18px;flex-shrink:0}
#dialog-content .player-retry{min-height:44px;padding:0 12px;margin:0;font-size:12px;white-space:nowrap}
.player-original{display:inline-flex;align-items:center;min-height:44px;font-size:12px;color:var(--cobalt);text-decoration:underline;text-underline-offset:4px}
.player-shell[data-state="loading"] .player-retry{opacity:.45;cursor:wait}
.player-portrait .player-stage{aspect-ratio:auto;max-height:none;background:var(--wash)}
.player-portrait .player-canvas{position:absolute;left:50%;top:0;transform:translateX(-50%);width:var(--player-width,320px);height:100%}
#project-dialog .player-portrait .player-canvas>.media-player{width:320px;height:var(--player-source-height,620px);max-width:none;transform:scale(var(--player-scale,1));transform-origin:top left;background:white}
.player-portrait .player-loading-cover{left:50%;right:auto;width:var(--player-width,320px);transform:translateX(-50%)}
.player-portrait .player-feedback{padding-left:14px;padding-right:14px;flex-wrap:wrap;gap:2px 12px}
.player-portrait .player-status{flex-basis:100%}
.player-portrait .player-actions{justify-content:space-between;width:100%}
@media(min-width:760px){
  #project-dialog.portrait-dialog #dialog-content{display:grid;grid-template-columns:minmax(230px,1fr) minmax(0,1.2fr);align-content:start}
  .portrait-dialog .dialog-overview{grid-column:1;grid-row:1}
  .portrait-dialog .dialog-copy{grid-column:1;grid-row:2}
  .portrait-dialog .dialog-media{grid-column:2;grid-row:1/span 2;padding:16px 18px;border-left:1px solid var(--line)}
  .portrait-dialog .dialog-summary{align-items:flex-start;gap:14px}
  .portrait-dialog .watch-original{margin-left:0}
}
@media(max-width:759px){
  #project-dialog{width:calc(100% - 24px);max-height:calc(100dvh - 24px)}
  #project-dialog .dialog-inner{height:calc(100dvh - 26px);max-height:880px}
  .dialog-toolbar{padding-left:20px;min-height:50px;padding-top:3px;padding-bottom:3px}
  #project-dialog .dialog-overview{padding:14px 20px}
  #project-dialog .dialog-overview h2{font-size:21px;line-height:1.5;margin-top:6px;margin-bottom:9px}
  #project-dialog .dialog-overview>.eyebrow{font-size:10px}
  #project-dialog .dialog-focus{margin-top:7px}
  #project-dialog .dialog-copy{padding:16px 20px 22px}
  .player-feedback{flex-wrap:wrap;padding:8px 20px;gap:2px 12px}
  .player-status{flex-basis:100%}
  .player-actions{width:100%;justify-content:space-between}
  .player-portrait .player-feedback{padding-left:20px;padding-right:20px}
}
@media(prefers-reduced-motion:reduce){.player-loading-cover{transition:none}}

.player-shell:not(.player-portrait) .player-stage{width:min(100%,calc(48dvh * 16 / 9));max-height:none;margin:0 auto}
.player-portrait[data-state="ready"] .player-status{flex-basis:auto}
.player-portrait[data-state="ready"] .player-actions{flex:1;width:auto;justify-content:flex-end}

@media(min-width:760px){
  #project-dialog.portrait-dialog{width:min(820px,calc(100% - 32px))}
  #project-dialog.portrait-dialog #dialog-content{grid-template-rows:auto minmax(0,1fr)}
}

#dialog-content .player-shell[data-state="ready"] .player-retry{--feedback-face:var(--paper);--feedback-text:var(--cobalt);--paper-depth:2px;--paper-hover-depth:3px;--paper-hover-y:-1px}

.dialog-watch-toggle{display:none;margin-left:auto;margin-right:14px;border:0;background:transparent;color:var(--cobalt);min-height:44px;padding:0 6px;font-size:12px;text-decoration:underline;text-underline-offset:4px}
@media(max-width:759px){
  .portrait-dialog.has-portrait-player .dialog-watch-toggle{display:inline-flex;align-items:center}
  .portrait-dialog.has-portrait-player.dialog-watch-mode .dialog-overview,.portrait-dialog.has-portrait-player.dialog-watch-mode .dialog-copy{display:none}
  .dialog-watch-toggle:active{background:#e5ebf5}
}

.dialog-toolbar>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.player-original{white-space:nowrap}
@media(max-width:360px){
  .player-portrait[data-state="ready"] .player-status{flex-basis:100%}
  .player-portrait[data-state="ready"] .player-actions{flex-basis:100%;width:100%;justify-content:space-between}
}

/* User-authored project descriptions may contain paragraphs. */
.dialog-description{white-space:pre-line}


#project-dialog .close-dialog {
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
}
.close-dialog > svg {
  display: block;
  width: 16px;
  height: 16px;
}
.watch-original::after,
.player-original::after {
  width: 1em;
  height: 1em;
  flex: none;
  background: currentColor;
  -webkit-mask: url("assets/icons/arrow-up-right.svg") center / contain no-repeat;
  mask: url("assets/icons/arrow-up-right.svg") center / contain no-repeat;
  content: "";
}
.player-original { gap: 6px; }

@media (max-width: 600px), (hover: none) and (pointer: coarse) {
  #project-dialog #close-dialog {
    box-shadow: none;
    transform: none;
    animation: none;
    -webkit-appearance: none;
    appearance: none;
  }
  #project-dialog #close-dialog:focus-visible {
    outline: none;
    border-width: 2px;
    border-color: var(--cobalt);
    background: #e5ebf5;
  }
}

/* Recovery controls appear only after a slow connection or loading error. */
.player-feedback[hidden],
#dialog-content .player-retry[hidden] { display: none; }

.player-shell:not([data-state="ready"]) .player-canvas { visibility:hidden; }
.player-loading-cover { z-index:1; }
.player-loading-cover > img { opacity:1; }
.player-loading-caption { align-self:end; margin-block-end:12px; }
@media(max-width:600px) {
  #project-dialog .dialog-toolbar { gap:8px; }
  #project-dialog .dialog-toolbar .dialog-watch-toggle {
    margin:0 0 0 auto; padding:0 6px; flex-shrink:0;
  }
  #project-dialog .dialog-summary { margin-bottom:0; }
  #project-dialog .dialog-summary .dialog-share-row { margin-bottom:0; }
}

/* Source: about-refinement.css — preserve cascade order. */
/* A quieter personal introduction using the approved character and paper palette. */
#about{grid-template-columns:minmax(220px,.8fr) minmax(0,1.65fr);gap:clamp(32px,6vw,80px);padding-top:50px;padding-bottom:54px;align-items:start}
#about .about-label{min-width:0}
#about .about-label .eyebrow{font-size:11px;line-height:1.7;letter-spacing:1.5px}
.about-portrait-card{width:248px;max-width:100%;margin:24px 0 0 4px;border:1px solid var(--line);border-radius:6px;background:var(--wash);overflow:hidden;transform:none}
.about-portrait{display:block;width:100%;height:auto;aspect-ratio:800/980;overflow:hidden}
.about-portrait-caption {
  display: grid;
  grid-template-columns: fit-content(44%) minmax(0, 1fr);
  align-items: baseline;
  gap: 6px 10px;
  padding: 14px 18px 15px;
  border-top: 1px solid var(--line);
  color: var(--cobalt);
  font-size: 14px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.about-portrait-caption > span:first-child { font-weight: 700; }
.about-portrait-caption > span:nth-child(2) {
  padding-inline-start: 10px;
  border-inline-start: 1px solid var(--line);
  font-weight: 500;
  letter-spacing: .045em;
}
.about-portrait-caption > span:last-child {
  grid-column: 1 / -1;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
#about .about-copy{min-width:0;padding-top:16px;container-type:inline-size}
#about .about-copy>p{max-width:520px;margin:20px 0 0;font-size:15px;line-height:1.95;color:#536273;letter-spacing:.01em}
#about .about-copy>p+p{margin-top:10px}
#about .about-bio > span:first-child { color: #1b1b1b; font-weight: 700; }
/* A small editorial group instead of three table-like rows. */
.about-strengths{max-width:520px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;list-style:none;padding:18px 0 0;margin:24px 0 0;border-top:1px solid var(--line)}
.about-strengths>li{display:block;min-width:0;padding:0;border:0}
.about-strength-title{display:block;margin-bottom:7px;font-size:14px;font-weight:500;line-height:1.6;color:var(--cobalt);white-space:nowrap}
.about-strengths p{margin:0;font-size:14px;line-height:1.8;color:#536273}
.about-strengths p>span{display:block}

@media(max-width:850px) and (min-width:601px){
  #about{grid-template-columns:minmax(180px,.75fr) minmax(0,1.5fr);gap:30px}
  .about-portrait-card{width:210px}
  .about-strengths{grid-template-columns:1fr;gap:14px}
  .about-strengths>li{display:grid;grid-template-columns:80px minmax(0,1fr);gap:16px;align-items:baseline}
  .about-strength-title{margin-bottom:0}
  .about-strengths p>span{display:inline}
}
@media(max-width:600px){
  #about{grid-template-columns:1fr;gap:25px;padding-top:34px;padding-bottom:38px}
  #about .about-label{display:block}
  #about .about-copy{padding-top:0}
  #about .about-label .eyebrow{font-size:10px;letter-spacing:1.1px}
  .about-portrait-card{display:grid;grid-template-columns:124px minmax(0,1fr);align-items:center;gap:17px;width:100%;max-width:none;margin:18px 0 0;padding:10px 16px 0;transform:none}
  .about-portrait{width:124px;height:152px}
  .about-portrait-caption {
    align-self: center;
    min-width: 0;
    padding: 10px 14px;
    border: 0;
    font-size: 15px;
  }
  #about .about-copy>p{font-size:14.5px;line-height:1.95;margin-top:19px;letter-spacing:0}
  #about .about-copy>p+p{margin-top:12px}
  .about-strengths{grid-template-columns:1fr;gap:16px;margin-top:20px;padding-top:17px}
  .about-strengths>li{display:grid;grid-template-columns:68px minmax(0,1fr);align-items:baseline;gap:14px;padding:0;border:0}
  .about-strengths>li:last-child{border-bottom:0;padding-bottom:0}
  .about-strength-title{font-size:13px;margin-bottom:0}
  .about-strengths p{font-size:14px;line-height:1.8}
  .about-strengths p>span{display:inline}
}
@media(max-width:360px){
  .about-portrait-card{grid-template-columns:110px minmax(0,1fr);padding-left:12px;padding-right:12px;gap:12px}
  .about-portrait{width:110px;height:135px}
  .about-strengths>li{grid-template-columns:62px minmax(0,1fr);gap:10px}
}
/* Keep the portrait and text together on large monitors. */
@media(min-width:1200px){
  #about{grid-template-columns:248px 520px;gap:80px;justify-content:center}
}
/* Keep the current two-line crayon artwork within the compact layout. */
#about #about-title.crayon-title {
  margin: 0;
  color: var(--cobalt);
  font-weight: 400;
  letter-spacing: 0;
}

#about-title .about-statement {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .18em;
  padding-block: .08em .30em;
  font-size: clamp(26px, 3.75vw, 44px);
  font-size: min(44px, 9.8cqi);
  line-height: 1;
}

#about-title .about-statement > .crayon-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  row-gap: .24em;
  justify-self: start;
  max-inline-size: 100%;
  line-height: 1;
}

#about-title .about-statement > .crayon-line + .crayon-line {
  max-inline-size: calc(100% - 1em);
  margin-inline-start: 1em;
  position: relative;
}

#about-title .graffiti-glyph,
#about-title .crayon-space {
  flex: 0 0 calc(var(--glyph-advance, 1) * 1em);
  width: calc(var(--glyph-advance, 1) * 1em);
  height: 1em;
  line-height: 1;
}

#about-title .crayon-space { display: block; }

#about-title[aria-label="喜欢舒服的节奏，也喜欢有趣的表达~"] .crayon-line:nth-child(2)::after {
  position: absolute;
  inset-block-end: -.285em;
  inset-inline-start: 3em;
  width: 5em;
  height: .32em;
  background: url("assets/avatar/about-crayon-underline-doodle.png") center / 100% 100% no-repeat;
  pointer-events: none;
  content: "";
}

@media (max-width: 760px) {
  .about-portrait-caption {
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
    text-align: left;
  }
  .about-portrait-caption > span:nth-child(2) {
    margin-block-end: 2px;
    padding: 0;
    border: 0;
  }
}

/* Same JasonWriting1 handwriting as the homepage tagline; greeting subset includes every character. */
#about .about-copy>.about-intro{
  margin:0 0 20px;font-family:"Wen Jin Hello","PingFang SC",sans-serif;font-synthesis:none;
  font-size:18px;font-weight:400;line-height:1.6;letter-spacing:.01em;color:#536273;
}
@media(max-width:600px){
  #about .about-copy>.about-intro{font-size:17px;margin-bottom:17px}
}


@media (min-width:601px) {
  #about .about-portrait-caption { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; text-align:center; }
  #about .about-portrait-caption > span:last-child { flex-basis:100%; text-align:center; }
}

.about-film-example {
  display:block; min-height:44px; padding:0; border:0; background:transparent;
  color:var(--cobalt); font:inherit; font-size:13px; cursor:pointer;
  text-decoration:underline; text-underline-offset:3px;
}

/* Fit both parts of the Chinese handwriting on one line on phones. */
@media (max-width:600px) {
  #about-title .about-statement {
    display:flex;
    justify-content:center;
    align-items:baseline;
    gap:0;
    font-size:calc(100cqi / 16.5);
  }

  #about-title .about-statement > .crayon-line {
    flex:0 0 auto;
    flex-wrap:nowrap;
    max-inline-size:none;
  }

  #about-title .about-statement > .crayon-line + .crayon-line {
    margin-inline-start:0;
  }

  #about-title[aria-label="喜欢舒服的节奏，也喜欢有趣的表达~"] .crayon-line:nth-child(2)::after {
    content:none;
  }
}

/* Source: contact-refinement.css — preserve cascade order. */
/* Keep the closing invitation and the cooperation notes visually paired. */
#contact {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(25px, 3.65vw, 54px);
  padding: 34px 44px 32px;
  border-radius: 6px;
}

#contact:after { display: none; }

.contact-main,
.contact-heading,
.contact-side { min-width: 0; }

#contact .contact-heading .eyebrow {
  font-size: 10px;
  line-height: 1.7;
  letter-spacing: 1.5px;
}

#contact #contact-title.crayon-title {
  margin: 14px 0 0;
  font-size: clamp(38px, 5.1vw, 70px);
  font-weight: 400;
  line-height: 1.27;
}

#contact .contact-invitation {
  margin: 14px 0 0;
  color: #536273;
  font-size: 15px;
  line-height: 1.85;
}

.contact-invitation > span { display: block; }

#contact .contact-invitation > .contact-question-end { display: inline; }

#contact .contact-connect { margin-top: 17px; }

#contact .whatsapp-cta {
  display: inline-grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  min-width: min(100%, 236px);
  min-height: 50px;
  max-width: 100%;
  align-items: center;
  column-gap: 9px;
  padding: 10px 17px;
  border-radius: 5px;
  font-size: 14px;
  line-height: 1.5;
}

#contact .whatsapp-cta::before {
  width: 18px;
  height: 18px;
  background-color: currentColor;
  mask: url("assets/brand/whatsapp.svg") center / contain no-repeat;
  translate: 0 -1px;
  content: "";
}

/* Center the visible arrow strokes against the button label. */
#contact .whatsapp-cta > [aria-hidden="true"] {
  translate: 0 1px;
}

.contact-phone {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 9px;
  margin-top: 12px;
}

#contact .contact-channel,
#contact .contact-number {
  margin: 0;
  color: #536273;
  line-height: 1.55;
}

#contact .contact-channel {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  overflow-wrap: anywhere;
}

#contact .contact-number {
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  user-select: text;
}

#contact .contact-email { margin-top: 6px; }
#contact .contact-email-address {
  min-width: 0;
  color: var(--cobalt);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  text-decoration-skip-ink: none;
}
#contact .contact-email-address:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 4px;
}

.contact-side {
  display: grid;
  align-content: start;
  gap: 10px;
}

.contact-illustration {
  position: relative;
  display: grid;
  isolation: isolate;
  place-items: center;
  justify-self: start;
  width: min(100%, 248px);
  pointer-events: none;
}

/* Sample the blue crayon strokes beneath the existing homepage illustration. */
.contact-illustration::before {
  position: absolute;
  z-index: -1;
  inset: 15% -4% 5%;
  background: url("assets/avatar/travel-editor-web.webp") center bottom / 350% auto no-repeat;
  mask-image: radial-gradient(ellipse 52% 56%, #000 38%, transparent 94%);
  opacity: .68;
  content: "";
}

.contact-person {
  display: block;
  width: auto;
  height: clamp(230px, 24vw, 272px);
  max-width: 100%;
  object-fit: contain;
}

#contact .contact-terms { max-width: none; margin: 0; }

#contact .contact-offer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  max-width: 380px;
  margin-top: 16px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.contact-brief {
  padding: 11px 14px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: color-mix(in srgb, var(--paper) 54%, transparent);
}

#contact .contact-terms dt {
  margin: 0 0 4px;
  color: var(--cobalt);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.7;
}

#contact .contact-offer dt { margin: 0; }

#contact .contact-terms dd {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

#contact .contact-terms dd > span { display: block; }

#contact .contact-reassurance {
  margin: 7px 0 0;
  color: #536273;
  font-size: 13px;
  line-height: 1.75;
}

@media (min-width: 601px) {
  .contact-side {
    align-self: start;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: color-mix(in srgb, var(--paper) 54%, var(--wash));
  }

  .contact-illustration {
    width: 100%;
    padding-block: 6px 4px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(148deg, #edf1ed, #e5edef);
  }

  .contact-illustration::before {
    inset: 0;
    background-size: 300% auto;
    mask-image: radial-gradient(ellipse 74% 65% at 52% 76%, #000 20%, transparent 92%);
    opacity: .88;
  }

  .contact-person { transform: translateX(-5%); }

  .contact-brief {
    padding: 13px 16px 14px;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
}

@media (601px <= width <= 850px) {
  #contact { padding: 29px 30px; }
  .contact-person { height: clamp(166px, 26vw, 221px); }
}

@media (max-width: 600px) {
  #contact {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px 12px;
    padding: 22px clamp(16px, 5.5vw, 22px);
  }

  .contact-main,
  .contact-side { display: contents; }

  #contact .contact-heading {
    grid-area: 1 / 1;
    align-self: center;
  }

  #contact .contact-heading .eyebrow {
    font-size: 9px;
    letter-spacing: 1px;
  }

  #contact #contact-title.crayon-title {
    margin-top: 12px;
    font-size: clamp(26px, 7.8vw, 36px);
    line-height: 1.22;
  }

  .contact-illustration {
    grid-area: 1 / 2;
    width: clamp(54px, 18vw, 84px);
    margin: 0;
  }

  .contact-illustration::before { inset: 26% -5px 2%; }
  .contact-person {
    width: calc(100% + 16px);
    height: auto;
    max-width: none;
    margin-inline: -8px;
  }

  #contact .contact-invitation {
    grid-area: 2 / 1 / auto / -1;
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
  }

  #contact .contact-connect { grid-area: 3 / 1 / auto / -1; margin: 0; }
  #contact .whatsapp-cta { display: grid; width: 100%; }
  .contact-phone { margin-top: 10px; }

  #contact .contact-offer {
    grid-area: 4 / 1 / auto / -1;
    display: block;
    max-width: none;
    margin: 0;
    padding-top: 10px;
  }

  #contact .contact-offer dt { margin-bottom: 4px; }

  #contact .contact-brief {
    grid-area: 4 / 1 / auto / -1;
    padding: 10px 0 0;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
  }
}

/* Keep the compact crayon ellipsis near the preceding word. */
#contact-title.crayon-title .graffiti-glyph[data-glyph="."] { flex-basis: .24em; width: .24em; }
#contact-title.crayon-title .graffiti-glyph[data-glyph="."] > svg { width: 1em; max-width: none; }
#contact-title.crayon-title .graffiti-glyph:not([data-glyph="."]) + .graffiti-glyph[data-glyph="."] { margin-left: -.42em; }

/* Source: hero-services.css — preserve cascade order. */
/* A quiet service line inside the existing aligned title column. */
.avatar-hero .avatar-tagline{margin-bottom:10px}
.avatar-hero .avatar-services{width:min(100%,calc(var(--hero-title-size) * 5));margin:0 0 20px;font-size:13px;font-weight:400;line-height:1.7;letter-spacing:0;color:var(--muted)}
@media(min-width:601px) and (max-width:850px){.avatar-hero .avatar-services{font-size:12px}}
@media(min-width:601px) and (max-height:700px){.avatar-hero .avatar-tagline{margin-bottom:8px}.avatar-hero .avatar-services{font-size:12px;line-height:1.6;margin-bottom:14px}}
@media(max-width:600px){.avatar-hero .avatar-services{margin-bottom:17px;font-size:12.5px}}

@media (min-width:601px) and (min-height:701px) {
  .avatar-hero .avatar-services,
  html[lang=en] .avatar-copy .avatar-services[data-copy-node="copy-8"] { font-size:14px; }
}

/* Source: mobile-refinement.css — preserve cascade order. */
/* A page open during live sync may still contain the old mobile copy. */
#contact .contact-invitation > .contact-question-mobile,
.dialog-watch-slot:empty { display: none; }
#contact .contact-invitation > .contact-question-wide { display: inline; }

/* Layout changes for the phone breakpoint. */
@media (max-width: 600px) {
  .avatar-header.cinema-header.nav {
    justify-content: space-between;
    padding: 15px 18px;
    gap: 9px;
  }

  .avatar-header .brand { min-height: 36px; }
  .avatar-header .brand-wordmark { font-size: clamp(13px, 3.55vw, 16px); }
  .avatar-header .brand-wordmark > span { display: inline; }
  .avatar-header.cinema-header nav { gap: 4px; }

  .avatar-header.cinema-header nav > a {
    min-width: 44px;
    padding: 7px 9px;
    font-size: 12.5px;
  }

  .avatar-hero.hero {
    min-height: 0;
    padding: 87px 18px 44px;
  }

  .avatar-hero .avatar-copy,
  .avatar-hero .avatar-art { margin-inline: auto; }

  .avatar-hero .avatar-copy {
    --base-title-size: clamp(50px, 13.75vw, 76px);
    --tagline-size: clamp(27px, 8.2vw, 36px);
    text-align: center;
  }

  .avatar-hero h1.hero-title-cn,
  .avatar-hero .avatar-tagline {
    margin-inline: auto;
  }

  .avatar-hero h1.hero-title-cn { margin-top: 0; }
  .avatar-hero .avatar-tagline {
    width: 100%;
    margin-top: 14px;
    font-size: var(--tagline-size);
  }
  .avatar-hero .avatar-tagline > .crayon-smile { display: none; }
  .avatar-hero .avatar-services {
    width: 100%;
    margin-bottom: 14px;
    color: #46576d;
    font-size: clamp(13px, 3.45vw, 14px);
    line-height: 1.6;
  }
  .avatar-hero .avatar-watch {
    display: flex;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
  }
  .avatar-hero .avatar-art { width: min(100%, 410px); margin-top: 1px; }
  .avatar-hero .avatar-copy .eyebrow,
  .avatar-hero .avatar-motion,
  .avatar-hero .avatar-scroll > span { display: none; }

  #avatar-backdrop { mask: url(#avatar-mobile-backdrop-mask); }
  .avatar-hero .avatar-scroll {
    display: grid;
    place-items: center;
    left: 50%;
    right: auto;
    bottom: 2px;
    translate: -50% 0;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    touch-action: manipulation;
  }
  .avatar-hero .avatar-scroll > img { width: 18px; height: 21px; }
  .avatar-hero .avatar-scroll:active { background: var(--wash); }
  .avatar-hero .avatar-scroll:focus-visible { outline: 2px solid var(--cobalt); }

  .avatar-hero + .featured-section { margin-top: 6px; }
  .featured-inner { padding-top: 21px; padding-bottom: 24px; }
  .featured-heading { margin-bottom: 12px; }
  .featured-heading > p { margin-top: 10px; font-size: 13px; }
  .ticker {
    display: grid;
    place-items: center;
    height: 18px;
    padding: 0;
    border: 0;
    background: transparent;
  }
  .ticker > .ticker-track { display: none; }
  .ticker::before {
    grid-area: 1 / 1;
    width: min(calc(100% - 36px), 564px);
    height: 1px;
    background: var(--line);
    content: "";
  }
  .ticker > .mobile-splice-mark { display: none; }

  #featured-track {
    --featured-card-share: .80;
    gap: 8px;
    padding-top: 8px;
    padding-bottom: 7px;
  }

  .featured-track .featured-card:is(.is-before, .is-after) { transform: scale(.94); }
  #featured-track .featured-card .real-poster {
    aspect-ratio: 4 / 3;
    background-color: color-mix(in srgb, var(--paper) 67%, var(--wash));
  }
  #featured-track .featured-card .real-poster:not(.letterboxed-cover) > img:not(.portrait-backdrop) {
    object-fit: contain;
  }
  .featured-card .project-meta { min-height: 71px; padding-top: 8px; }
  .featured-card .project-meta > div { padding-bottom: 8px; }
  .featured-card .featured-contribution { margin-top: 4px; }
  .featured-controls { row-gap: 2px; }
  #featured .featured-controls .featured-down-link { display: none; }
  .featured-navigation .featured-counter { align-self: center; transform: translateY(-2px); }
  .featured-navigation .featured-progress {
    position: absolute;
    top: calc(50% + 9px);
    left: 50%;
    translate: -50% 0;
    width: 38px;
    margin: 0;
    border-radius: 2px;
  }

  #project-dialog .dialog-overview { padding-block: 10px 12px; }
  #project-dialog .dialog-overview h2 { margin-block: 4px 7px; }
  #project-dialog .dialog-role-label { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
  #project-dialog .dialog-copy { padding-top: 10px; }
  #project-dialog .dialog-copy .dialog-focus { margin: 3px 0 10px; }
  #project-dialog .dialog-copy .dialog-description:empty { display: none; }
  #project-dialog .dialog-copy > .watch-original {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    margin: 0 0 5px;
    padding: 0;
    background: transparent;
    color: var(--cobalt);
    border: 0;
    text-decoration: underline;
    text-underline-offset: 4px;
  }
  #project-dialog .dialog-copy > .watch-original + .dialog-description { margin-top: 0; }

  #project-dialog .player-shell:is([data-state="ready"], [data-state="loading"]) .player-retry,
  #project-dialog .player-shell[data-state="ready"] .player-status,
  #project-dialog:not(.dialog-watch-mode) .player-shell:is([data-state="ready"], [data-state="loading"]) .player-feedback,
  #project-dialog:has(.external-reel-preview, .player-shell:is([data-state="slow"], [data-state="error"])) .dialog-copy > .watch-original {
    display: none;
  }
  #project-dialog.dialog-watch-mode .player-portrait[data-state="ready"] .player-actions { justify-content: center; }
  #project-dialog.dialog-watch-mode .player-portrait[data-state="ready"] .player-feedback { padding-block: 0; }
  #project-dialog :is(.dialog-watch-slot, .dialog-watch-slot > .dialog-watch-toggle) { justify-content: center; }
  #project-dialog .dialog-watch-slot:not(:empty) { display: flex; padding: 0 20px 9px; background: var(--paper); }
  #project-dialog .dialog-watch-slot > .dialog-watch-toggle {
    min-height: 44px;
    margin: 0;
    padding: 0 13px;
    border: 1px solid #3157a459;
    border-radius: 5px;
    background: #e9edf3;
    text-decoration: none;
    touch-action: manipulation;
  }
  #project-dialog .dialog-watch-slot > .dialog-watch-toggle:active { background: #d6e1f1; }

  #work { padding-top: 26px; padding-bottom: 32px; }
  #work > .section-heading { display: grid; gap: 8px; margin-bottom: 13px; }
  #work > .filters { padding-top: 7px; padding-bottom: 9px; }
  #work .results-line { padding-block: 9px; }
  #work .results-line > span { font-size: 10px; color: #596777; }
  #work-quick-pagination button:not(:is(:active, .is-paper-released)) {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
  }
  #work-quick-pagination button { --paper-depth: 0px; --paper-hover-depth: 0px; }
  #work-quick-pagination button:disabled { opacity: .38; }

  #project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px 12px;
  }

  #project-grid.short-grid .real-poster,
  #project-grid:not(:has(.real-poster:not(.portrait-poster))) .portrait-poster { aspect-ratio: 1; }
  #project-grid .project-meta { min-height: 0; padding-top: 7px; }
  #project-grid .project-meta > div { padding-bottom: 8px; }
  #project-grid .project-name {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    overflow-wrap: break-word;
    line-break: strict;
    font-size: 14px;
    line-height: 1.45;
  }
  #project-grid .project-kind { margin-top: 4px; font-size: 11px; }
  #project-grid .real-play { width: 31px; height: 31px; }
  #project-grid .real-play > img { width: 12px; height: 12px; }
  #work-pagination { margin-top: 18px; gap: 7px; }

  #about { padding-block: 27px 32px; gap: 12px; }
  .about-portrait-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 0;
    margin-top: 12px;
    padding: 0;
    border-radius: 9px;
  }
  .about-portrait {
    width: 100%;
    height: clamp(112px, 32vw, 134px);
    align-self: end;
    aspect-ratio: auto;
    border-inline-end: 1px solid #3157a420;
    background: radial-gradient(ellipse at 50% 92%, #b7ceda, #e1ebee 78%);
  }
  #about .about-copy > .about-intro { margin: 0 0 11px; }
  #about .about-copy > p:not(.about-intro) { line-height: 1.75; }
  #about .about-copy > .about-bio { margin-top: 14px; }
  .about-strengths { gap: 0; margin-top: 15px; padding-top: 2px; }
  #about .about-strengths > li { padding-block: 9px; }
  #about .about-strengths > li + li { border-top: 1px solid var(--line); }

  #contact { row-gap: 14px; column-gap: 15px; }
  #contact .contact-channel { font-size: 9px; font-weight: 400; letter-spacing: .075em; }
  #contact .contact-number,
  #contact .contact-email-address { font-size: 16px; }
  #contact .contact-terms dt { font-size: 13px; }
  #contact .contact-reassurance { line-height: 1.65; }

  footer.wrap { gap: 5px 9px; padding-bottom: 17px; font-size: 10px; }
  footer.wrap > a[href="#top"] { font-size: 12px; }
  footer.wrap > a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

@media (max-width: 380px) {
  #work-title .accent { display: none; }
  #work .results-line > span { display: none; }
}

@media (max-width: 359px) {
  .avatar-header.cinema-header nav > a { padding-inline: 6px; font-size: 12px; }
  #project-grid .project-name { font-size: 13px; }
}

@media (max-width: 380px) and (max-height: 720px) {
  .avatar-hero.hero { padding-top: 75px; }
  .avatar-hero .avatar-art { max-width: 265px; }
}

@media (max-width: 384px) {
  .avatar-header.cinema-header.nav {
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 5px 16px;
  }

  .avatar-header .brand { min-height: 28px; }
  .avatar-header .brand-wordmark { font-size: 15.5px; }
  .avatar-hero.hero { padding-top: 99px; }
}

@media (max-width: 384px) and (max-height: 720px) {
  .avatar-hero .avatar-art { max-width: 240px; }
}

/* Phone layout for browsing and watching work. */
.work-search, .work-search-status, .dialog-share-row, .project-share, .whatsapp-mobile-icon, .contact-brief-mobile { display: none; }

@media (max-width: 600px) {
  .avatar-header.cinema-header nav { column-gap: 3px; }
  .avatar-hero .avatar-tagline { width: calc(100% - 12px); margin-inline: auto; font-size: clamp(24px, 7.7vw, 35px); }
  .avatar-scroll { margin-block: 0; }
  #featured-track { --featured-card-share: .76; }
  #featured .featured-card:not(.is-active) { filter: blur(2px); }
  #featured-track .featured-frame { display: grid; align-items: center; aspect-ratio: 6 / 5; }
  #featured-track .featured-card .real-poster { aspect-ratio: 16 / 9; }
  #featured-track .featured-card .real-poster.portrait-poster { aspect-ratio: 6 / 5; }
  #featured .featured-card .portrait-poster { background: color-mix(in srgb, var(--paper) 76%, var(--wash)); }
  #featured .featured-card .portrait-backdrop { opacity: .12; }
  #featured-toggle svg { stroke-width: 2.4; }
  #work-title.crayon-title { width: auto; font-size: clamp(30px, 8vw, 44px); }
  #work-title.crayon-title .mobile-break { display: none; }
  #work-title.crayon-title .accent { display: inline-block; margin-inline-start: .15em; }
  #work-quick-pagination button { display: none; }
  #work-quick-pagination { min-width: 0; margin-inline-start: auto; }
  #work .results-line > span { display: none; }
  #work .results-line { flex-wrap: wrap; }
  .work-search { display: block; margin-inline-start: auto; color: var(--cobalt); font-size: 13px; }
  .work-search summary { width: fit-content; min-height: 44px; padding: 11px 4px; cursor: pointer; }
  .work-search-status:not([hidden]) { display: flex; flex-basis: 100%; align-items: center; justify-content: space-between; gap: 12px; color: var(--cobalt); font-size: 13px; }
  #work-search-term { min-width: 0; overflow-wrap: anywhere; }
  #work-clear-search { flex: none; min-height: 44px; border: 0; padding: 0 5px; background: none; color: var(--cobalt); font: inherit; text-decoration: underline; cursor: pointer; }
  .work-search[open] { flex-basis: 100%; }
  .work-search input { width: 100%; min-height: 44px; margin-top: 4px; padding: 8px 12px; font: inherit; font-size: 16px; border: 1px solid var(--line); border-radius: 6px; color: var(--text); background: var(--paper); }
  #project-grid:not([data-format="全部"]) .project-kind:not(:has(time)) { display: none; }
  #project-grid .project-name { font-size: 14px; min-height: 2.7em; }
  #project-grid.short-grid .project-card .real-poster { aspect-ratio: 4 / 5; }
  #project-grid.short-grid .portrait-backdrop { opacity: .18; }
  #project-dialog:not(.portrait-dialog) { height: auto; max-height: calc(100dvh - 24px); }
  #project-dialog:not(.portrait-dialog) .dialog-inner { height: auto; max-height: inherit; }
  #project-dialog:not(.portrait-dialog) .dialog-scroll { flex: 0 1 auto; }
  #project-dialog .dialog-share-row { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 6px; }
  #project-dialog .project-share { font-size: 12px; display: inline-flex; min-height: 44px; align-items: center; border: 0; padding: 0; color: var(--cobalt); background: none; text-decoration: underline; cursor: pointer; }
  #project-dialog .dialog-focus-mobile { display: block; margin: 8px 0 0; }
  #project-dialog .dialog-focus-mobile:empty { display: none; }
  #project-dialog.portrait-dialog .dialog-authorship { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 8px; }
  #project-dialog.portrait-dialog .dialog-role-label { position: static; width: auto; height: auto; clip-path: none; overflow: visible; margin: 0; }
  #about .about-portrait-card { grid-template-columns: minmax(0, 39%) minmax(0, 1fr); }
  #about .about-portrait-caption > span:first-child, #about .about-portrait-caption > span:nth-child(2) { font-size: 14px; line-height: 1.4; white-space: nowrap; }
  #about .about-portrait-caption > span:nth-child(3) { display:block; margin-top:4px; }
  #about .about-strengths p { line-height: 1.65; }
  #contact .contact-illustration { width: clamp(58px, 20vw, 88px); }
  #contact .contact-brief-mobile { display: block; margin: 6px 0 0; padding-inline-start: 1.1em; line-height: 1.75; }
  #contact .contact-brief dd:has(.contact-brief-mobile) > span { display: none; }
  #contact .whatsapp-cta::before { content: none; }
  #contact .whatsapp-mobile-icon { order: -1; display: block; width: 18px; height: 18px; color: inherit; }
  #contact .whatsapp-mobile-icon + span { justify-self: end; }
  footer.wrap { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; }
  footer.wrap > [data-copy-node="copy-55"] { display: block; grid-column: 1 / -1; grid-row: 1; color: var(--cobalt); font-size: 18px; }
  footer.wrap > a[href="/__editor"] { justify-self: end; }
}

@media (max-width: 360px) {
  .avatar-header.cinema-header nav { column-gap: 1px; }
  #work-title.crayon-title .accent { max-width: 1em; }
}



@media (max-width: 360px) {
  #work-pagination .work-page-controls { gap: 5px; }
  #work-page-numbers { gap: 3px; }
  #work-pagination .page-number { width: 34px; min-width: 34px; }
}

@media (orientation: landscape) and (max-height: 500px) and (pointer: coarse) {
  #project-dialog { max-height: calc(100dvh - 16px); }
  #project-dialog .dialog-inner { height: calc(100dvh - 18px); max-height: none; }
  #project-dialog .dialog-toolbar { min-height: 48px; padding-block: 0; }
  #project-dialog .dialog-scroll { flex: 1 1 auto; }
  #project-dialog.portrait-dialog #dialog-content { display: block; }
  #project-dialog .dialog-media { padding: 0; border: 0; }
  #project-dialog .player-shell:not(.player-portrait) .player-stage {
    width: min(100%, calc((100dvh - 132px) * 16 / 9));
  }
  #project-dialog #dialog-navigation { min-height: 56px; padding-block: 4px; }
  #project-dialog .dialog-overview, #project-dialog .dialog-copy { padding-block: 10px; }
}

/* Two independent library filters share the original paper-key controls. */
#work > .filters { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px 12px; }
#work .content-filter-row { grid-column: 1 / -1; display: flex; min-width: 0; }
#work .content-filter-row .filter-label { display: block; flex: 0 0 auto; }
#category-filters { display: flex; flex-wrap: nowrap; flex: 1; min-width: 0; gap: 8px; overflow-x: auto; padding: 3px 3px 6px; overscroll-behavior-x: contain; scrollbar-width: thin; }
#category-filters .filter-button { flex: 0 0 auto; min-height: 44px; padding: 0 14px; font-size: 12px; line-height: 1.4; border-radius: 5px; white-space: nowrap; }
#work .results-line, #project-grid .project-card { scroll-margin-top: 145px; }
@media (max-width:600px) {
  #work > .filters { gap: 4px 8px; }
  #work .content-filter-row { gap: 8px; }
  #work .content-filter-row .filter-label { width: 28px; }
  #category-filters { gap: 6px; }
  #category-filters .filter-button { padding: 0 11px; }
}

/* User's mobile annotation pass: centered introductions and matching filter starts. */
@media (max-width:600px) {
  html[lang="zh-Hans"] .avatar-hero .avatar-tagline {
    width:min(100%,calc(var(--hero-title-size) * 5));
    margin-inline:auto;
    font-size:min(clamp(22px,6.2vw,34px),calc(var(--hero-title-size) * .43));
    font-weight:700;
  }
  html[lang="zh-Hans"] #hero-tagline-lettering {
    flex-wrap:nowrap;
  }
  html[lang="zh-Hans"] #hero-tagline-lettering .graffiti-glyph > svg {
    stroke:currentColor;
    stroke-width:24;
    stroke-linecap:round;
    stroke-linejoin:round;
    paint-order:stroke fill;
  }
  #featured .featured-heading,
  #work > .section-heading { display: grid; grid-template-columns: minmax(0,1fr); justify-items: center; text-align: center; }
  #featured .featured-heading > div,
  #work > .section-heading > div { width: 100%; text-align: center; }
  #featured .featured-heading .eyebrow,
  #work > .section-heading .eyebrow { justify-content: center; }
  #featured-title,
  #work-title.crayon-title { width: fit-content; max-width: 100%; margin-inline: auto; text-align: center; }
  #featured-title .crayon-mark { display: none; }
  #work > .section-heading .work-intro {
    display: block; width: 100%; max-width: none; margin: 0;
    text-wrap: balance; text-align: center; font-size: clamp(11px, 3vw, 13px);
  }
  #work > .filters { --filter-row-label: 28px; --filter-row-gap: 8px; }
  #work > .filters > .filter-row:first-child { padding-inline-start: calc(var(--filter-row-label) + var(--filter-row-gap)); }
  #work > .filters > .filter-row:first-child > .filter-label { display: none; }
  #work .content-filter-row { gap: var(--filter-row-gap); }
  #work .content-filter-row > .filter-label { width: var(--filter-row-label); flex-basis: var(--filter-row-label); }
  #format-filters { padding-inline: 3px; gap: 4px; }
  #category-filters { padding-inline: 3px; }
  #about .about-portrait-caption { justify-items: center; align-content: center; text-align: center; padding-inline: 8px; }
  #about .about-portrait-caption > span:first-child { font-size: 18px; line-height: 1.5; }
  #about .about-portrait-caption > span:nth-child(2) { font-size: 16px; line-height: 1.5; }
  #about .about-copy > .about-bio { text-align: center; }
  #about .about-bio > span { display: block; }
  #about .about-bio > span + span { margin-top: 5px; }
  footer.wrap > [data-copy-node="copy-55"] { display: none; }
}
@media (max-width:360px) {
  #format-filters .filter-button { font-size: 11px; padding-inline: 6px; }
  #about .about-portrait-caption > span:nth-child(2) { font-size: 14px; }
}

@media (max-width:600px) {
  #featured .featured-heading #featured-title { margin-inline: auto; }
}

/* Both mobile All buttons share one fixed footprint, independent of row padding. */
@media (max-width:600px) {
  #work :is(#format-filters, #category-filters) .filter-button:first-child {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    min-width: 48px;
    max-width: 48px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 5px;
    font-size: 12px;
    line-height: 1.4;
  }
}

/* Shared desktop copy, reflowed for the mobile column. */
@media (max-width:600px) {
  #featured .featured-heading > .featured-intro {
    display:block; width:100%; max-width:none; margin:0; text-align:center;
  }
  #work > .section-heading .work-intro br { display:none; }
  #about .about-copy > .about-intro { display:block; }
}

/* Source: i18n.css — preserve cascade order. */
/* Shared CN/EN controls. The Chinese artwork and original layout remain canonical. */
#portfolio-header { gap: 18px; }
#portfolio-header > nav { margin-left: auto; }
.language-switch { display: flex; align-items: center; gap: 1px; flex: 0 0 auto; color: var(--cobalt); }
.language-switch button { min-width: 38px; min-height: 44px; padding: 4px; border: 0; border-radius: 4px; background: transparent; color: inherit; font-size: 12px; font-weight: 500; }
.language-switch button[aria-pressed=true] { font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.language-switch button:hover { background: var(--wash); }
.language-switch button:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 2px; }
html[lang=en] .english-lettering .graffiti-glyph,
html[lang=en] .english-lettering .crayon-space { flex: 0 0 calc(var(--glyph-advance,1)*1em); width: calc(var(--glyph-advance,1)*1em); height: 1em; }
html[lang=en] .english-lettering .crayon-line { display: inline-flex; align-items: baseline; white-space: nowrap; }
html[lang=en] #hero-title { width: max-content; max-width: 100%; font-size: clamp(44px,6vw,78px); line-height: 1.2; letter-spacing: 0; }
html[lang=en] #hero-title .crayon-line { width: max-content; max-width: 100%; transform: none; }
html[lang=en] #hero-title .graffiti-glyph { display: inline-block; }
html[lang=en] #hero-title .graffiti-glyph > svg { display: block; width: 100%; height: 100%; fill: currentColor; }
html[lang=en] #hero-title .graffiti-text { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
html[lang=en] #featured-title { font-size: clamp(38px,5vw,66px); }
html[lang=en] #work-title { font-size: clamp(36px,4.5vw,60px); }
html[lang=en] #about-title { font-size: clamp(30px,3.6vw,46px); line-height: 1.35; }
html[lang=en] #contact-title { font-size: clamp(32px,3.9vw,52px); line-height: 1.35; }
html[lang=en] .about-body { line-height: 1.8; }
html[lang=en] .about-body p { text-align: left; }
html[lang=en] .contact-invitation { text-wrap: pretty; }
html[lang=en] .avatar-tagline { font-size: clamp(22px,2.4vw,32px); }
html[lang=en] #project-grid .long-preview.preview-loading::after { content: 'Loading preview…'; }
html[lang=en] .preview-active .project-kind::after { content: ' · Muted preview'; }
@media (max-width:1000px) and (min-width:601px) {
  #portfolio-header > nav { gap: 10px; }
  #portfolio-header > nav > a { min-width: 0; padding-inline: 12px; }
}
@media (max-width:600px) {
  #portfolio-header.avatar-header.cinema-header.nav { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; height: auto; gap: 1px 8px; padding: 7px 18px; }
  #portfolio-header .brand { grid-column: 1; grid-row: 1; }
  #portfolio-header .language-switch { grid-column: 2; grid-row: 1; }
  #portfolio-header.avatar-header > nav {
    grid-column:1/-1;
    grid-row:2;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:6px;
    margin:0;
    width:100%;
  }
  #portfolio-header.avatar-header > nav > a {
    min-width:0;
    min-height:38px;
    padding-inline:4px;
    font-size:12px;
    justify-content:center;
    white-space:nowrap;
  }
  #portfolio-header.avatar-header > nav > a:not(.contact-link) {
    border-color:color-mix(in srgb,var(--cobalt) 58%,var(--paper));
  }
  #portfolio-header.avatar-header > nav > a.contact-link:hover {
    background:var(--cobalt);
    border-color:var(--cobalt);
  }
  .language-switch button { min-width: 38px; }
  .avatar-hero.hero { padding-top: 110px; }
  html[lang=en] #hero-title { font-size: clamp(38px,12.5vw,56px); }
  html[lang=en] #featured-title { font-size: 36px; }
  html[lang=en] #work-title { font-size: 38px; }
  html[lang=en] #about-title { font-size: clamp(25px,7.2vw,32px); }
  html[lang=en] #contact-title { font-size: clamp(27px,7.3vw,34px); }
  html[lang=en] .avatar-tagline { font-size: 26px; }
  html[lang=en] #work .filter-label { width: auto; }
  html[lang=en] #work .content-filter-row .filter-label { width: 44px; font-size: 10px; }
  html[lang=en] #work .results-line > span { font-size: 9px; }
  html[lang=en] #contact .whatsapp-cta { font-size: 13px; gap: 12px; }
}

@media (max-width:600px) {
  html[lang=en] .about-strengths > li { grid-template-columns: 108px minmax(0,1fr); gap: 12px; }
  html[lang=en] .about-strength-title { white-space: normal; }
}

@media (max-width:600px) {
  html[lang=en] #work > .filters { --filter-row-label: 44px; }
  html[lang=en] #work .content-filter-row .filter-label { width: var(--filter-row-label); }
}

/* English copy refinements requested in the browser annotations. */
html[lang=en] #hero-title { margin-inline: auto; text-align: center; }
html[lang=en] .avatar-hero .avatar-tagline { justify-content: center; }
html[lang=en] .avatar-hero .avatar-tagline > #hero-tagline-lettering {
  flex: 0 1 auto;
  width: max-content;
  max-width: 100%;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0;
}
html[lang=en] #hero-tagline-lettering .graffiti-glyph > svg {
  stroke: currentColor;
  stroke-width: 24;
  stroke-linecap: round;
  stroke-linejoin: round;
  paint-order: stroke fill;
}
html[lang=en] #about-title { font-size: min(38px, 7.4856cqi); }
html[lang=en] #about-title > .crayon-line { flex-wrap: nowrap; white-space: nowrap; }

html[lang=en] .avatar-hero .avatar-copy #hero-title {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
html[lang=en] .avatar-hero #hero-title > .crayon-line {
  display: flex;
  margin-left: auto;
  margin-right: auto;
}
html[lang=en] .avatar-hero .avatar-tagline { font-weight: 700; }

/* Equal desktop filter keys, including shared label and rail alignment. */
@media (min-width:601px) {
  #work > .filters { --filter-key-width:96px; }
  html[lang=en] #work > .filters { --filter-key-width:128px; }
  #work > .filters > .filter-row { min-width:0; gap:20px; }
  #work > .filters .filter-label { flex:0 0 44px; width:44px; }
  #work :is(#format-filters,#category-filters) { flex-wrap:nowrap; overflow-x:auto; padding:3px 3px 6px; gap:8px; }
  #work :is(#format-filters,#category-filters) .filter-button {
    box-sizing:border-box; display:inline-flex; justify-content:center; align-items:center;
    flex:0 0 var(--filter-key-width); width:var(--filter-key-width); min-width:var(--filter-key-width);
    height:44px; min-height:44px; padding:0 6px; border-radius:5px; font-size:12px; line-height:1.4; white-space:nowrap;
  }
}

html[lang=en] #hero-tagline-lettering { flex-shrink:0; }
html[lang=en] #hero-title > .crayon-line { line-height:1.05; }

/* Give the English hero the same visual weight as the Chinese introduction. */
html[lang=en] .avatar-hero .avatar-copy #hero-title { line-height:1.05; }
html[lang=en] .avatar-hero .avatar-tagline { margin-top:12px; margin-bottom:12px; }
html[lang=en] .avatar-copy [data-copy-node="copy-8"] { margin-top:0; margin-bottom:14px; font-size:14px; line-height:1.6; }
@media (max-width:600px) {
  html[lang=en] .avatar-copy [data-copy-node="copy-8"] { font-size:12px; margin-bottom:12px; }
}

/* Compact English mobile introduction and clean section transition. */
@media (max-width:600px) {
  html[lang=en] #about .about-bio > span + span { text-align:left; }
  html[lang=en] .ticker { display:none; }
  html[lang=en] .avatar-hero .avatar-copy #hero-title { line-height:.98; }
  html[lang=en] #hero-title > .crayon-line { line-height:.98; }
  html[lang=en] .avatar-hero .avatar-tagline { margin-top:4px; margin-bottom:4px; line-height:1.1; }
  html[lang=en] .avatar-copy [data-copy-node="copy-8"] { margin-bottom:8px; }
}

/* Compact mobile portrait and contact spacing. */
@media (max-width:600px) {
  html[lang=en] #about .about-portrait-card {
    grid-template-columns:104px minmax(0,1fr); min-height:124px; padding:0;
  }
  html[lang=en] #about .about-portrait { width:104px; height:124px; }
  html[lang=en] #about .about-portrait-caption { padding:12px; gap:4px; }
  html[lang=en] #about .about-portrait-caption > span:nth-child(2) { font-size:14px; }
  html[lang=en] #about .about-portrait-caption > span:last-child {
    display:block; font-size:11px; line-height:1.5; margin-top:4px;
  }
  html[lang=en] #contact { padding-block:30px; row-gap:24px; }
  html[lang=en] #contact .contact-invitation { line-height:1.85; }
  html[lang=en] #contact .contact-phone { margin-top:18px; }
  html[lang=en] #contact .contact-email { margin-top:14px; }
  html[lang=en] #contact .contact-brief { padding-top:20px; }
  html[lang=en] #contact .contact-reassurance { margin-top:16px; }
}

@media (max-width:600px) {
  html[lang=en] #featured .featured-heading #featured-title {
    display:flex; justify-content:center; width:100%; margin-inline:0; text-align:center;
  }
  html[lang=en] #featured-title > .crayon-line { flex:0 0 auto; margin-inline:auto; }
}

/* Keep desktop English lettering clear of the blue illustration. */
@media (min-width:601px) {
  html[lang=en] .avatar-hero .avatar-copy #hero-title { font-size:clamp(36px,5vw,64px); }
}

/* Reserve the CN title footprint so both languages share the lower hero positions. */
@media (min-width:601px) {
  html[lang=en] .avatar-hero .avatar-copy #hero-title { min-height:calc(var(--hero-title-size) * 2.604); }
  html[lang=en] .avatar-hero .avatar-tagline {
    height:calc(min(var(--tagline-size), calc(var(--hero-title-size) * .51)) * 1.45);
    margin-top:23px; margin-bottom:10px;
  }
  html[lang=en] .avatar-copy .avatar-services[data-copy-node="copy-8"] {
    font-size:14px; line-height:1.7; margin:0 0 20px;
  }
}
@media (min-width:601px) and (max-width:850px) {
  html[lang=en] .avatar-copy .avatar-services[data-copy-node="copy-8"] { font-size:12px; }
}
@media (min-width:601px) and (max-height:700px) {
  html[lang=en] .avatar-hero .avatar-tagline { margin-top:clamp(10px,2svh,16px); margin-bottom:8px; }
  html[lang=en] .avatar-copy .avatar-services[data-copy-node="copy-8"] { font-size:12px; line-height:1.6; margin-bottom:14px; }
}

@media (min-width:601px) {
  html[lang=en] .avatar-hero .avatar-copy #hero-title {
    display:flex; flex-direction:column; align-items:flex-start; justify-content:center;
    width:100%;
  }
}

@media (min-width:601px) {
  html[lang=en] .avatar-hero #hero-title > .crayon-line { margin-left:0; margin-right:0; }
}

/* Fit the three format keys before showing any horizontal category scrolling. */
@media (max-width:600px) {
  #work > .filters { grid-template-columns:minmax(0,1fr); }
  #work > .filters > .filter-row { padding-inline-start:0; gap:8px; }
  #work > .filters > .filter-row > .filter-label {
    display:block; flex:0 0 var(--filter-row-label); width:var(--filter-row-label); font-size:10px;
  }
  #work > .filters > .filter-row:first-child { padding-inline-start:0; }
  #work > .filters > .filter-row:first-child > .filter-label { display:block; }
  #work > .filters :is(#format-filters,#category-filters) {
    padding:3px 3px 6px; flex:1; min-width:0; gap:6px;
  }
  #work > .filters #format-filters {
    display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); overflow:visible;
  }
  #work > .filters :is(#format-filters,#category-filters) .filter-button {
    display:inline-flex; align-items:center; justify-content:center; box-sizing:border-box;
    width:100%; min-width:0; max-width:none; min-height:44px; height:44px;
    flex:0 0 calc((100% - 12px) / 3); padding:0 4px;
    border-radius:5px; font-size:11px; line-height:1.2; white-space:normal; text-align:center;
  }
}

@media (max-width:600px) {
  html[lang=en] #project-grid .project-name { -webkit-line-clamp:3; }
}
