@font-face{
  font-family:"Portfolio Digits";
  src:local("Times New Roman"),local("TimesNewRomanPSMT"),url("/assets/fonts/portfolio-digits.woff") format("woff");
  font-weight:100 900;
  font-style:normal;
  unicode-range:U+0030-0039;
}
@font-face{
  font-family:"Portfolio XiaoBiaoSong";
  src:local("FZXiaoBiaoSong-B05S"),local("FZXiaoBiaoSong-B05"),local("方正小标宋简体"),local("方正小标宋_GBK"),local("方正小标宋");
  font-style:normal;
  font-weight:100 900;
  unicode-range:U+2E80-2FFF,U+3000-303F,U+31C0-31EF,U+3400-9FFF,U+F900-FAFF,U+FF00-FFEF,U+20000-323AF;
}
@font-face{
  font-family:"Portfolio Song Fallback";
  src:url("/assets/fonts/portfolio-song-fallback.woff") format("woff");
  font-style:normal;
  font-weight:100 900;
  font-display:swap;
  unicode-range:U+2E80-2FFF,U+3000-303F,U+31C0-31EF,U+3400-9FFF,U+F900-FAFF,U+FF00-FFEF;
}
:root{
  --portfolio-type:"Portfolio Digits", "Portfolio XiaoBiaoSong", Georgia, "Portfolio Song Fallback", "Songti SC", SimSun, "Times New Roman", serif;
}
html body,
html body :not(svg,svg *, .subrina-wordmark,.subrina-wordmark *, .wordmark,.wordmark *):not(#portfolio-type-exception):not(#portfolio-brand-exception){
  font-family:var(--portfolio-type)!important;
  font-weight:700!important;
}

@media screen and (max-width:767px){
  html body .scroll-nav > div{min-width:0;gap:4px;font-size:clamp(11px,3.2vw,15px)}
  html body .scroll-nav > div > a{padding-inline:2px}
  .case-page .header nav{min-width:0}
  .case-page .case-top h1,.workflow-page .wf-directory-card{overflow-wrap:anywhere}
  .exhibition .exhibition-stage.has-3d{touch-action:pan-y pinch-zoom;height:clamp(280px,56svh,500px)}
  .exhibition .exhibition-footer{padding-inline:clamp(16px,5vw,28px)}
  .exhibition-caption-copy br{display:none}
  .exhibition-links{flex-wrap:wrap;gap:4px 16px}
  .exhibition-links details[open]{flex-basis:100%;max-width:100%}
}

/* Editorial headings, readable body copy, and compact metadata. */
:root{
  --portfolio-copy:"Portfolio Digits",system-ui,"PingFang SC","Microsoft YaHei",sans-serif;
  --type-hero:clamp(32px,5vw,76px);
  --type-section:clamp(25px,3vw,45px);
  --type-card:clamp(20px,2vw,30px);
  --type-copy:clamp(15px,1.24vw,19px);
  --type-meta:clamp(11px,.9vw,13px);
}
html body :is(p,nav a,button,figcaption,figcaption *,time,small,.eyebrow,.case-en,.case-tags span,.wf-card-meta,.section-topline span,.wf-overview span,.wf-section-label>span):not(.subrina-wordmark,.subrina-wordmark *):not(#portfolio-type-exception):not(#portfolio-brand-exception){
  font-family:var(--portfolio-copy)!important;
  font-weight:400!important;
}
html body :is(h1,h2,h3,h4) :is(em,i):not(.subrina-wordmark *):not(#portfolio-type-exception):not(#portfolio-brand-exception){font-family:inherit!important;font-weight:inherit!important}
.section-heading h2,.case-page .case-top h1{font-size:var(--type-hero);line-height:1.08;letter-spacing:-.035em}
.section-heading>div>p:first-child{font-size:var(--type-card);line-height:1.4}
.section-heading .section-description,.case-editorial p,.project-description p,.case-facts p,.wf-sources a p{font-size:var(--type-copy);line-height:1.72;color:#c5c9be}
.case-editorial h3,.wf-card h3,.wf-sources a h3{font-size:var(--type-card);line-height:1.25;letter-spacing:-.015em}
.case-editorial h4{font-size:clamp(17px,1.55vw,22px);line-height:1.45;margin-block:0 8px}
.case-editorial .case-en,.section-topline,.case-page .eyebrow,.wf-card-meta{font-size:var(--type-meta);letter-spacing:.08em;color:#a7af9e}
.case-editorial .case-tags span,.wf-section-label>span{font-size:var(--type-meta);color:#a7af9e}
.case-editorial .case-en{display:block;margin-top:7px}
.wf-overview strong{line-height:1}
.wf-overview span{font-size:clamp(12px,1.05vw,15px);line-height:1.55;color:#b9c0b1}
.wf-section-label h3,.wf-sources>h2,.case-overview h2{font-size:var(--type-section);line-height:1.22}
.wf-sources>p{font-size:13px;line-height:1.6;color:#a7af9e;margin-top:18px}
.case-facts h3{font-size:clamp(16px,1.5vw,22px);line-height:1.4;margin:0 0 8px}
.case-page .case-facts article{padding-block:18px}
.case-facts p,.project-description p{margin-top:0}
.case-page video[data-portfolio-video]{display:block;width:100%;height:auto;max-height:none;object-fit:contain;background:#141713}
.case-video-controls{display:flex;align-items:center;gap:10px;padding:4px 10px;background:#151815;color:#e4e8df}
.case-video-controls button{border:0;background:none;color:inherit;min-height:44px;min-width:44px;font-size:12px;white-space:nowrap;cursor:pointer}
.case-video-controls button[aria-pressed="true"]{color:#d5ebbb}
.case-video-controls input{flex:1;min-width:0;accent-color:#d5ebbb}
.case-page .visual-caption{padding-top:12px;color:#aab1a3;line-height:1.45}
.case-page .visual-caption p{margin:0 0 3px;font-size:13px;overflow-wrap:anywhere}
.case-page .visual-caption>span{font-size:11px}

@media screen and (max-width:767px){
  :root{--type-hero:clamp(30px,8.5vw,46px);--type-section:clamp(24px,6.6vw,34px);--type-card:clamp(20px,5.7vw,27px);--type-copy:15px;--type-meta:11px}
  .section-heading h2,.case-page .case-top h1{font-size:var(--type-hero)}
  .case-editorial{gap:14px}
  .case-editorial .case-tags{gap:8px 12px;flex-wrap:wrap}
  .case-page .case-overview{padding-top:30px;padding-bottom:34px;gap:22px}
  .case-page .project-description{margin-top:15px}
  .case-page .case-facts article{padding-block:15px}
  .workflow-page .wf-sources a{padding:18px}
  .workflow-page .wf-sources a h3{margin:0 0 7px}
  .workflow-page .wf-sources a p{margin:0}
  .pipeline-section .wf-jump{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px}
  .pipeline-section .wf-jump a{font-size:13px}


}

@media screen and (max-width:767px){
  html body .lab-section .lab-row p:not(#portfolio-type-exception):not(#portfolio-brand-exception){
    font-family:var(--portfolio-type)!important;
    font-weight:400!important;
  }
}

/* Workflow descriptions share a quieter reading style beneath their titles. */
html body :is(.wf-card > p,.wf-directory-card p,.wf-detail-header p:not(.eyebrow),.wf-sources a p):not(#portfolio-type-exception):not(#portfolio-brand-exception){
  font-family:var(--portfolio-type)!important;
  font-weight:400!important;
  font-size:clamp(14px,1.15vw,17px);
  line-height:1.7;
  color:#b8bfb2;
}
