/* PortfolioBrand polish: one CJK family, open tracking, red interaction vocabulary. */
:root{--brand-red:#ed3b32}
body{font-family:PortfolioBrand,"PingFang SC","Microsoft YaHei",sans-serif}
body :is(h1,h2,h3,h4,h5,h6,p,button,input,summary,.eyebrow,.wordmark,.skill-title,.career-company,.text-link){font-family:PortfolioBrand,"PingFang SC","Microsoft YaHei",sans-serif}
body :is(h1,h2,h3,h4,.skill-title,.career-company){letter-spacing:-.025em}
.editorial-home .section-heading h2{letter-spacing:-.025em;line-height:1.16}
.editorial-home .hero-copy .role-line{letter-spacing:-.02em}
.editorial-home .intro-result{display:grid;grid-template-columns:1.35fr 1fr;gap:48px;align-items:end;padding:34px 0 6px}
.result-kicker{display:block;font-size:13px;letter-spacing:.06em;color:#b6b6b6;margin-bottom:20px}
.result-value>strong{font:700 clamp(84px,11vw,164px)/.95 PortfolioBrand,"Helvetica Neue",Arial,sans-serif;letter-spacing:-.035em;font-variant-numeric:tabular-nums;white-space:nowrap}
.result-value>strong>span{font:500 20px/1 PortfolioBrand,sans-serif;letter-spacing:0;margin-left:18px}
.result-context{border-left:1px solid #484848;padding:0 0 8px 42px}
.result-context>span{font:12px/1.8 Arial,sans-serif;letter-spacing:.08em;color:#999}
.result-context>p{font-size:18px;line-height:1.8;margin:14px 0 0;color:#e4e4e4}
.editorial-home .feature-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;width:100%;margin-top:28px}
.editorial-home .feature-metrics strong{font-family:Arial,sans-serif;font-size:clamp(32px,3.2vw,48px);letter-spacing:-.015em;line-height:1.2;white-space:nowrap;font-weight:600}
.editorial-home .feature-metrics span{font-size:11px;line-height:1.7;letter-spacing:.015em;margin-top:5px}
.editorial-home .feature-main:not(.monochrome-documentary) img{width:100%;height:100%;object-fit:cover;object-position:50% 50%}
.editorial-home .feature-title h2{letter-spacing:-.025em;line-height:1.08}
.editorial-home .skill-title{letter-spacing:-.025em}
.skill>summary,.career-row>summary{position:relative}
.expand-hint{position:absolute;bottom:10px;right:44px;color:#ed3b32;background:transparent;border-bottom:1px solid currentColor;font:11px/1.6 PortfolioBrand,sans-serif;letter-spacing:.02em;padding:3px 2px;pointer-events:none;opacity:0;transform:translateY(4px);transition:opacity .25s,transform .25s,letter-spacing .25s;white-space:nowrap;z-index:2}
summary:hover .expand-hint,summary:focus-visible .expand-hint{opacity:1;transform:none}
.career-row>summary{padding-bottom:48px}
.career-row .expand-hint{bottom:12px}
.career-row>summary{transition:background-color .35s ease,padding-left .35s ease,padding-right .35s ease}
.career-row>summary:hover{background:#efedeb;padding-left:12px;padding-right:12px}
.career-row>summary:focus-visible{outline:2px solid #ed3b32;outline-offset:-2px}
.career-row>summary>span:last-child{color:#ed3b32;transition:transform .45s cubic-bezier(.2,.7,.2,1),color .25s;transform-origin:center}
.career-row>summary:hover>span:last-child{transform:translate(3px,-3px)}
.career-row[open]>summary>span:last-child{transform:rotate(45deg);color:#b9231c}
.career-row[open] .career-detail{animation:career-detail-in .5s cubic-bezier(.2,.7,.2,1) both}
@keyframes career-detail-in{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:none}}
.canton-type{gap:32px}
.canton-type>div{width:100%;gap:24px;padding-bottom:28px;border-bottom:1px solid #ffffff35;align-items:baseline}
.canton-type strong{font-family:PortfolioBrand,"Helvetica Neue",Arial,sans-serif;font-size:clamp(100px,13vw,200px);font-weight:700;letter-spacing:-.035em;font-variant-numeric:tabular-nums;line-height:1}
.canton-type>div>span{font-size:17px;letter-spacing:.02em}
.pair-copy .section-heading h2{letter-spacing:-.025em;font-size:clamp(40px,4.5vw,70px);line-height:1.23}
.pair-copy .section-heading{margin:45px 0 28px}
.pair-copy>p:not(.eyebrow){font-size:16px;line-height:1.95}
.pair-copy>p>strong{display:block;font-weight:600;margin-bottom:15px}
#project-wuliu .pair-visual{background:#050609}
#project-wuliu .wuliu-site-visual{background:#050609}
#project-wuliu .wuliu-site-visual img{object-fit:contain;width:100%;height:100%;padding:28px 20px}
#project-wuliu .pair-visual-label{color:#fff;background:#050609;padding:10px}
.editorial-home .editorial-media{background:#050609;color:#f2f2f2;--action-red:#ed3b32;padding:90px 0 100px}
.editorial-media .media-heading{background:transparent;padding:0}
.editorial-media .media-heading .section-heading{margin-top:48px;gap:8vw}
.editorial-media .media-heading .section-heading h2{font-size:clamp(48px,5.8vw,84px)}
.editorial-media .media-heading .section-heading>p{font-size:15px;color:#aaa;line-height:1.9}
.editorial-media .editorial-news-grid{gap:40px;padding-top:60px}
.editorial-media .news-card{border-bottom:1px solid #444;padding-bottom:25px}
.editorial-media .news-card img{filter:grayscale(1);transition:filter .5s,transform .6s}
.editorial-media .news-card .image-button:hover img{filter:grayscale(0)}
.editorial-media .news-card :is(h3,h4){font-size:25px;line-height:1.5;letter-spacing:-.02em}
.editorial-media .news-card>p{color:#aaa;line-height:1.8;margin:12px 0}
.editorial-media .source-links{border-color:#444;color:#aaa;margin-top:40px}
body .wechat-contact button{background:transparent;padding:0}
body .wechat-contact img{background:transparent}
.editorial-reveal-mask{background:#ed3b32!important}
@media(min-width:810px){.pair-copy{padding-inline:clamp(28px,3vw,52px)}}
@media(max-width:1023px){.editorial-home .feature-metrics{gap:12px}.editorial-home .feature-metrics strong{font-size:32px}.result-context{padding-left:24px}.result-context>p{font-size:16px}}
@media(max-width:809px){.editorial-home .intro-result{gap:28px}.result-value>strong{font-size:86px}.result-value>strong>span{font-size:17px;margin-left:12px}.result-context{padding-left:22px}.canton-type strong{font-size:118px}.canton-type>div{gap:16px}.pair-copy .section-heading h2{font-size:39px}.pair-copy>p:not(.eyebrow){font-size:15px}.editorial-media .media-heading .section-heading{gap:32px}.editorial-home .editorial-media{padding-block:70px}.editorial-media .editorial-news-grid{gap:28px}}
@media(max-width:599px){.editorial-home .intro-result{grid-template-columns:1fr;gap:28px;padding-top:25px}.result-kicker{font-size:12px;margin-bottom:16px}.result-value>strong{font-size:clamp(76px,22vw,110px)}.result-context{border-left:0;border-top:1px solid #333;padding:20px 0 0;display:flex;justify-content:space-between;gap:20px}.result-context>span{font-size:10px}.result-context>p{font-size:12px;margin:0}.editorial-home .feature-metrics{gap:18px}.editorial-home .feature-metrics strong{font-size:36px}.editorial-home .feature-metrics span{font-size:10px}.editorial-home .feature-media-shell{height:390px}.canton-type{height:480px;padding:75px 24px 30px;gap:24px}.canton-type strong{font-size:clamp(130px,38vw,168px)}.canton-type>div{gap:22px;padding-bottom:20px}.pair-copy .section-heading h2{font-size:42px}.pair-copy>p:not(.eyebrow){font-size:14px}.editorial-media .media-heading .section-heading h2{font-size:43px}.editorial-media .media-heading .section-heading>p{font-size:13px}.editorial-media .editorial-news-grid{gap:40px;padding-top:35px}.editorial-media .news-card :is(h3,h4){font-size:22px}.editorial-home .editorial-media{padding-block:60px}.expand-hint{font-size:10px;right:28px;bottom:3px;padding:3px 6px}.career-row>summary{padding-bottom:45px}#project-wuliu .pair-visual{height:390px}}
@media(hover:none){.expand-hint{opacity:1;transform:none;background:transparent;padding-left:0}.career-row .expand-hint{color:#b9231c}}
@media(prefers-reduced-motion:reduce){.expand-hint,.career-row>summary,.career-row>summary>span:last-child{transition:none;transform:none}.career-row[open] .career-detail{animation:none}.editorial-media .news-card img{transition:none}}
/* A real event portrait joins the original exhibition record; full colour opens on click. */
.case-jinghuada .exhibition-gallery{display:grid;grid-template-columns:.8fr 1.2fr;gap:36px;align-items:center}
.case-jinghuada .exhibition-gallery>.exhibition-portrait{height:auto!important;aspect-ratio:3520/4693}
.case-jinghuada .exhibition-portrait img{width:100%;height:100%;object-fit:contain}
.case-jinghuada .exhibition-gallery>.image-button:not(.exhibition-portrait){height:auto!important;aspect-ratio:1.4}
body .wechat-contact button{height:auto;aspect-ratio:1}
.editorial-home .tool-stack-groups{display:grid;gap:18px}
.editorial-home .tool-stack-group{border-top:1px solid #484848;padding-top:14px}
.editorial-home .tool-stack-group h4{margin:0 0 8px;font-size:14px;line-height:1.5;color:#dedbd9}

/* Keep the supporting media links in clear, readable groups instead of compressing them into one flex row. */
.editorial-home .editorial-media .source-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;column-gap:48px;row-gap:28px}
.editorial-home .source-links-group{min-width:0;display:grid;align-content:start;gap:14px}
.editorial-home .source-links-title{font-size:13px;line-height:1.5;font-weight:600;color:#d7d3d0;letter-spacing:0}
.editorial-home .source-link-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:10px 20px;min-width:0}
.editorial-home .source-link-grid>.text-link{min-width:0;align-items:flex-start;justify-content:space-between;gap:8px;line-height:1.6;padding:8px 0;height:auto;min-height:44px;text-wrap:pretty}
.editorial-home .source-link-grid>.text-link>span{flex:none;padding-left:4px}
.editorial-home .editorial-contact .wechat-contact{margin:4px 0 0;max-width:440px}
@media(max-width:1023px){.editorial-home .editorial-media .source-links{grid-template-columns:1fr;row-gap:26px}.editorial-home .source-links-group{gap:10px}}
@media(max-width:599px){.editorial-home .source-link-grid{grid-template-columns:1fr;gap:2px}.editorial-home .source-link-grid>.text-link{padding-block:6px}.editorial-home .editorial-contact .contact-layout{grid-template-columns:1fr;gap:34px}.editorial-home .editorial-contact .contact-layout h2{font-size:clamp(52px,15vw,67px)}}
.editorial-home .tool-stack-group p{color:#aaa}
.wechat-contact{width:min(100%,360px);grid-template-columns:112px minmax(0,1fr);gap:20px;align-items:center;padding-top:20px;margin-top:18px;border-top:1px solid #474747}
.wechat-contact button{width:112px;height:112px;min-width:0;aspect-ratio:1;padding:0;display:grid;place-items:center}
.wechat-contact img{width:100%;height:100%;object-fit:contain}
.wechat-contact>div{min-width:0;align-self:center}
.wechat-contact h3{font-size:18px;margin:0 0 7px}
.wechat-contact p{font-size:12px;line-height:1.8;color:#aaa;margin:0 0 4px}
.wechat-contact a{min-height:36px;font-size:12px}
.editorial-home .feature-metrics{grid-template-columns:repeat(2,minmax(0,1fr));max-width:430px}
.editorial-home .wuliu-pair-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:24px 0 8px;padding-top:18px;border-top:1px solid #555}
.editorial-home .wuliu-pair-metrics>div{display:grid;gap:6px}
.editorial-home .wuliu-pair-metrics strong{font:500 30px/1 Arial,sans-serif;color:#ed3b32}
.editorial-home .wuliu-pair-metrics span{font-size:11px;line-height:1.6;color:#777}
@media(max-width:599px){.case-jinghuada .exhibition-gallery{grid-template-columns:1fr;gap:28px}.case-jinghuada .exhibition-gallery>.image-button{width:100%}.wechat-contact{width:100%;grid-template-columns:96px minmax(0,1fr);gap:16px}.wechat-contact button{width:96px;height:96px}.wechat-contact h3{font-size:16px}.editorial-home .wuliu-pair-metrics{gap:10px;margin-top:20px}.editorial-home .wuliu-pair-metrics strong{font-size:27px}.editorial-home .wuliu-pair-metrics span{font-size:10px}}
/* Red actions remain readable on both paper and black; keyboard rings stay inside media frames. */
body.editorial-home #media,body.editorial-home #media :is(a,button){--action-red:#ed3b32}
body.editorial-home :is(.pair-copy,.editorial-experience){--action-red:#b9231c}
body.editorial-home :is(.pair-copy,.editorial-experience) a.text-link{color:#b9231c!important}
body :is(a,button,summary):focus-visible{outline:3px solid #ed3b32!important;outline-offset:4px}
body .image-button:focus-visible{outline-offset:-4px!important}
.editorial-media .play-circle{background:#050609e8;border-color:#ed3b32}
.hero-topline,.hero-index,.hero-edge{text-shadow:0 1px 3px #000}
@media(min-width:810px){body .quick-trigger{bottom:12px;right:12px}.career-summary{padding-right:16px}}

body dialog.quick-resume{box-sizing:border-box;width:min(650px,calc(100vw - 32px));max-height:min(90svh,760px);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}
body dialog.quick-resume>*{min-width:0}
body dialog.quick-resume>p strong{font-family:PortfolioBrand,Arial,sans-serif;font-weight:700;letter-spacing:.02em;font-variant-numeric:tabular-nums;color:#ed3b32}
body dialog.lightbox.wechat-mode{display:flex;flex-direction:column;align-items:center;justify-content:center;overflow-y:auto}
body dialog.lightbox.wechat-mode .dialog-top{width:100%}
body dialog.lightbox.wechat-mode>img{width:min(78vw,520px);height:auto;max-height:min(52svh,420px);object-fit:contain;background:#ed3b32;padding:14px}
body dialog.lightbox.wechat-mode .lightbox-controls{height:auto;min-height:55px}
body dialog.lightbox.wechat-mode .lightbox-controls>button{display:none}
body dialog.lightbox.wechat-mode .wechat-contact-meta{display:grid;gap:3px;width:min(78vw,520px);padding:12px 0 0;text-align:center;color:#f2f2f2;font-size:12px;line-height:1.6}
body dialog.lightbox.wechat-mode .wechat-contact-meta strong{font-size:15px;color:#ed3b32}
body dialog.lightbox.wechat-mode .wechat-contact-meta span:last-child{color:#aaa;font-size:11px}
body .quick-profile>div{min-width:0}
body .quick-profile p{overflow-wrap:anywhere}
body .quick-resume .button-row{display:flex;flex-wrap:wrap;align-items:stretch}
body .quick-resume .button-row>.button{flex:1 1 200px;min-width:0;justify-content:space-between}
body .quick-resume .quick-email{margin-top:18px;padding-top:14px;clear:both}
/* Keep the footer QR fully framed at every breakpoint; the transparent red code needs a dark quiet zone. */
body .wechat-contact{overflow:visible;min-width:0}
body .wechat-contact button{box-sizing:border-box;overflow:visible;background:#050609;padding:8px;border:1px solid #ed3b32;aspect-ratio:1}
body .wechat-contact img{display:block;width:100%;height:100%;min-width:0;min-height:0;object-fit:contain;background:#050609}
@media(max-width:599px){body .wechat-contact{grid-template-columns:104px minmax(0,1fr);gap:14px}body .wechat-contact button{width:104px;height:104px;padding:7px}}
/* Touch controls keep a stable hit area and do not inherit desktop hover rotation. */
@media(max-width:599px){
 body .image-button .image-zoom{width:44px;height:44px;right:12px;bottom:12px;display:grid;place-items:center;font:400 24px/1 Arial,sans-serif;transform:none!important}
 body .news-card .play-circle{width:58px;height:58px;display:grid;place-items:center;font:400 19px/1 Arial,sans-serif;transform:translate(-50%,-50%)!important}
}
@media(hover:none){body .image-button:hover .image-zoom{background:#050609d9;color:#fff;transform:none}.news-card .image-button:hover .play-circle{transform:translate(-50%,-50%)}}

/* Keep expansion cues visible and the compact contact block out of the title column. */
.editorial-home .editorial-skills .skill summary{padding-bottom:42px}
.editorial-home .editorial-skills .expand-hint{left:72px;right:auto;bottom:10px;opacity:1;transform:none}
@media(max-width:809px){
 .editorial-home .editorial-contact .contact-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:24px}
 .editorial-home .editorial-contact .contact-layout>*{min-width:0}
 .editorial-home .editorial-contact .contact-details{width:100%;margin-top:0}
 .editorial-home .editorial-contact .wechat-contact{width:min(100%,440px)}
}
@media(max-width:599px){
 .editorial-home .editorial-skills .skill summary{padding-bottom:40px}
 .editorial-home .editorial-skills .expand-hint{left:32px;right:auto;bottom:4px}
}
