/* Public-only typography and controls. Existing layout components keep their structure. */
#main .unified-sheet [data-public-title]{font-family:var(--u-title);font-weight:900;font-style:normal;font-synthesis:none;font-size:clamp(28px,3.96vw,var(--title-max,76px));line-height:1.2;letter-spacing:0;overflow:visible}
#main .unified-sheet [data-public-title='name']{font-size:clamp(32px,2.71vw,52px);line-height:1.2;letter-spacing:0;font-weight:400}
#main .unified-sheet [data-public-title='statement']{--title-max:76px}
.public-title-line{display:block;transform:translateX(.13824em) matrix(1,0,-.115457259,.993312418,0,0);transform-origin:left top;padding-right:.3em}
#main .unified-sheet [data-public-title='name'] .public-title-line{transform:none;padding:0}
.site-header{justify-content:space-between}.site-header .header-actions{margin-left:auto}.site-header :is(button,a,small){font-size:max(12px,1em)}

html[data-theme='dark']{color-scheme:dark}



@media(max-width:760px){
 #main .unified-sheet [data-public-title]{font-size:clamp(28px,5.5vw,42px)}
 #main .unified-sheet [data-public-title='name']{font-size:36px}
 .public-title-line{padding-right:.24em}
}
@media print{.site-header{display:none}.u-monitor-glow{animation:none}}

:root{--public-icon-color:#fff}.u-canvas{--public-icon-color:#fff}.u-icon{background-color:var(--public-icon-color);mask-image:var(--icon-source);mask-size:100% 100%;mask-repeat:no-repeat}

/* Ambient canvas surround; the artwork surfaces keep their own backgrounds. */
body{background-color:#0d0810;background-image:radial-gradient(ellipse at 8% 18%,rgba(77,47,139,.34),transparent 48%),radial-gradient(ellipse at 94% 76%,rgba(37,66,126,.27),transparent 46%),linear-gradient(145deg,#100b19 0%,#110b1c 48%,#191024 100%);background-size:150% 150%;background-attachment:fixed;animation:portfolio-surround-breathe 18s ease-in-out infinite alternate}

@keyframes portfolio-surround-breathe{from{background-position:0% 15%,100% 85%,0% 0%}to{background-position:55% 55%,40% 25%,100% 100%}}
@media(prefers-reduced-motion:reduce){body{animation:none}}
@media print{body{animation:none;background:#fff}}

/* Body copy and ordinary labels use Inter with compatible Chinese fallback. */
:root{--u-body:'Portfolio Inter','PingFang SC','Microsoft YaHei',sans-serif}
#main .unified-sheet :is(.eyebrow,.hire-kicker,.tags,.frame-index,.v7-cap-index){font-weight:500}

/* Shared running furniture. Responsive simplification is screen-only. */
#main .unified-sheet .u-running{--u-edge:clamp(16px,4.166667cqw,80px);display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:16px;box-sizing:border-box;height:60px;min-height:60px;padding:0 var(--u-edge);font:400 clamp(12px,.833333cqw,16px)/1 var(--u-latin);white-space:nowrap}
#main .unified-sheet .u-running>*{flex:0 0 auto;width:auto;white-space:nowrap;line-height:1}
#main .unified-sheet .u-running :is(strong,b){font-weight:700}
#main .unified-sheet .u-running::after{inset-inline:var(--u-edge)}
#main .unified-sheet .u-header .u-identity{margin-left:auto;text-align:right}
#main .unified-sheet .u-footer .u-page-number{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:12px}
#main .unified-sheet .u-running :is(.u-compact-identity,.u-compact-name,.u-compact-page){display:none}
#main :is(#home,#contact)>.u-running{position:absolute;left:0;right:0;z-index:4;color:rgba(255,255,255,.75)}
#main :is(#home,#contact)>.u-header{top:0}
#main :is(#home,#contact)>.u-footer{bottom:0}
@media screen and (max-width:1200px){
 body:not(.canvas-mode) #main .unified-sheet .u-running{height:48px;min-height:48px;gap:12px;font-size:12px}
 body:not(.canvas-mode) #main .unified-sheet .u-cover-tags,body:not(.canvas-mode) #main .unified-sheet .u-cover-footer .u-contact{display:none}
}
@media screen and (min-width:769px) and (max-width:1024px){
 body:not(.canvas-mode) #main .unified-sheet .u-role{font-size:0}
 body:not(.canvas-mode) #main .unified-sheet .u-role::after{content:'SHI JINXIU';font-size:12px}
 body:not(.canvas-mode) #main .unified-sheet .u-role>*{display:none}
}
@media screen and (max-width:768px){
 body:not(.canvas-mode) #main .unified-sheet .u-running{--u-edge:16px;height:44px;min-height:44px;gap:8px;font-size:12px}
 body:not(.canvas-mode) #main .unified-sheet .u-header>:not(.u-brand):not(.u-compact-identity),body:not(.canvas-mode) #main .unified-sheet .u-footer>:not(.u-compact-name):not(.u-compact-page){display:none}
 body:not(.canvas-mode) #main .unified-sheet .u-running :is(.u-compact-identity,.u-compact-name,.u-compact-page){display:block;font-size:12px}
 body:not(.canvas-mode) #main .unified-sheet .u-brand{gap:8px;flex-basis:auto}
 body:not(.canvas-mode) #main .unified-sheet .u-brand .u-arrow{display:none}
 body:not(.canvas-mode) #main :is(#home,#contact).u-fixed{aspect-ratio:auto;height:calc((100vw - 32px)*.5625 + 88px)}
 body:not(.canvas-mode) #main :is(#home,#contact)>.u-canvas{top:44px}
}
@media print{
 #main .unified-sheet .u-running{height:60px;min-height:60px;font-size:16px;--u-edge:80px;gap:16px}
 #main .unified-sheet .u-running :is(.u-compact-identity,.u-compact-name,.u-compact-page){display:none}
}

/* Light-only ice-blue glass surfaces. Dark theme remains untouched. */







@keyframes portfolio-ice-flow{from{background-position:0% 10%,100% 85%,30% 20%,0% 0%}to{background-position:65% 65%,30% 15%,85% 70%,100% 100%}}



/* Unified white-to-ice-blue backgrounds on every light body artboard. */





/* Tablet short role must hide the original text as well as its nested label. */
@media screen and (min-width:769px) and (max-width:1024px){body:not(.canvas-mode) #main .unified-sheet .u-footer .u-role{font-size:0!important}body:not(.canvas-mode) #main .unified-sheet .u-footer .u-role::after{content:'SHI JINXIU';font-size:12px}}

/* Ordinary tags follow body typography; display titles and running furniture keep their faces. */
#main .unified-sheet .tags{font-family:var(--u-body)}



#site-menu .menu-adjacent{display:flex;justify-content:space-between;gap:12px;padding:0 clamp(25px,5vw,55px) 26px}
#site-menu .menu-adjacent button{padding:.5em .9em;border:1px solid var(--line);border-radius:999px;background:transparent;color:inherit;cursor:pointer}
#site-menu .menu-adjacent button:disabled{opacity:.4;cursor:default}

/* Defer offscreen board backgrounds without changing the artboard's geometry. */
@media screen {
 html.defer-board-backgrounds #main > [data-background-pending],
 html.defer-board-backgrounds #main > [data-background-pending] *,
 html.defer-board-backgrounds #main > [data-background-pending]::before,
 html.defer-board-backgrounds #main > [data-background-pending]::after,
 html.defer-board-backgrounds #main > [data-background-pending] *::before,
 html.defer-board-backgrounds #main > [data-background-pending] *::after {
  background-image: none !important;
 }
}
