/* Shared page-heading scale; portfolio and home retain their own typography. */
:root{--wyf-page-heading:clamp(42px,4.5vw,64px)}
.wyf-about-copy h1,.skills-intro h2,.wyf-journey-intro h1,.wyf-life-intro h1,.wyf-contact-card h1,
html[lang=en] .wyf-journey-intro h1,html[lang=en] .wyf-contact-card h1,html[lang=en] .skills-intro h2{
 font-size:var(--wyf-page-heading);font-family:Arial,"PingFang SC","Microsoft YaHei",sans-serif;font-weight:750;line-height:1.1;letter-spacing:-.045em;font-style:normal;-webkit-text-stroke:0;transform:none}
/* Let the skills columns use the page width and the available viewport height. */
.wyf-main-flow .skills-section,html[lang=en] .wyf-main-flow .skills-section{box-sizing:border-box;height:auto;min-height:100svh;overflow:visible;padding:108px 5vw 40px;display:flex;flex-direction:column;gap:34px}
.skills-eyebrow{display:none}
.skills-intro,html[lang=en] .skills-intro{position:relative;top:auto;left:auto;transform:none;width:100%;margin:0;text-align:left;opacity:1}
.skills-section.is-active .skills-intro,html[lang=en] .skills-section.is-active .skills-intro{animation:none;transform:none;opacity:1}
.skills-intro h2{margin:0}
.skills-grid,html[lang=en] .skills-grid{position:relative;top:auto;left:auto;transform:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(24px,3vw,56px);width:100%;max-width:1720px;margin:0 auto}
.skill-column__header,html[lang=en] .skill-column__header{min-height:36px;align-items:baseline;flex-wrap:wrap;gap:5px 9px;padding-bottom:10px}
.skill-column__header h3,html[lang=en] .skill-column__header h3{font-size:clamp(16px,1.25vw,21px);white-space:normal;line-height:1.4}
.skill-column__header span{font-size:10px;padding:0}
.skill-column__items,.skill-column:first-child .skill-column__items,.skill-column--stacked .skill-column__items,
html[lang=en] .skill-column__items,html[lang=en] .skill-column:first-child .skill-column__items,html[lang=en] .skill-column--stacked .skill-column__items{gap:clamp(12px,1.8vh,22px);padding-top:15px}
.skill-item__heading,html[lang=en] .skill-item__heading{line-height:1.4}
.skill-item__heading strong,html[lang=en] .skill-item__heading strong{font-size:clamp(13px,1vw,17px);line-height:1.4;overflow-wrap:normal}
.skill-item__heading span{font-size:9px;line-height:1.4}
.skill-item p,.skill-column--stacked .skill-column__stack .skill-item p,
html[lang=en] .skill-item p,html[lang=en] .skill-column--stacked .skill-column__stack .skill-item p{font-size:clamp(12px,.9vw,15px);line-height:1.65;margin-top:6px;overflow-wrap:normal}
.skill-column__stack,html[lang=en] .skill-column__stack{margin-top:22px}
@media(min-width:1100px) and (max-height:800px){
 .wyf-main-flow .skills-section,html[lang=en] .wyf-main-flow .skills-section{padding-top:95px;padding-bottom:24px;gap:24px}
 .skill-column__items,.skill-column:first-child .skill-column__items,.skill-column--stacked .skill-column__items,
 html[lang=en] .skill-column__items,html[lang=en] .skill-column:first-child .skill-column__items,html[lang=en] .skill-column--stacked .skill-column__items{gap:11px;padding-top:11px}
 .skill-item p,.skill-column--stacked .skill-column__stack .skill-item p,html[lang=en] .skill-item p,html[lang=en] .skill-column--stacked .skill-column__stack .skill-item p{font-size:12px;line-height:1.5}
}
@media(max-width:1099px){.skills-grid,html[lang=en] .skills-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:36px}.skill-item p,html[lang=en] .skill-item p{font-size:14px}.skill-item__heading strong,html[lang=en] .skill-item__heading strong{font-size:16px}}
@media(max-width:700px){:root{--wyf-page-heading:42px}.wyf-main-flow .skills-section,html[lang=en] .wyf-main-flow .skills-section{padding:110px 24px 45px}.skills-grid,html[lang=en] .skills-grid{grid-template-columns:1fr;gap:32px;margin-top:0}}

/* Center the skills title in both languages. */
.skills-intro,html[lang=en] .skills-intro{text-align:center}

/* Equal visible gaps between navigation labels, aligned closer to the right edge. */
@media(min-width:701px){
 .wyf-flow-header{padding-right:clamp(22px,2.5vw,48px)}
 .wyf-flow-header nav,html[lang=en] .wyf-flow-header nav{display:flex;justify-content:flex-end;align-items:center;gap:clamp(20px,2.5vw,44px);width:auto;grid-template-columns:none}
 .wyf-flow-header nav a{flex:none;white-space:nowrap}
}
@media(min-width:701px) and (max-width:1050px){
 .wyf-flow-header nav,html[lang=en] .wyf-flow-header nav{gap:16px}
}
/* The updated seven-step product column fits compact desktop viewports. */
@media(min-width:1100px) and (max-height:800px){
 .skill-item__heading span{display:none}
 .skill-column__items,.skill-column:first-child .skill-column__items,html[lang=en] .skill-column__items,html[lang=en] .skill-column:first-child .skill-column__items{gap:8px}
 .skill-item p,html[lang=en] .skill-item p{font-size:11px;line-height:1.4;margin-top:4px}
 html[lang=en] .skill-item__heading strong{font-size:12px;line-height:1.3}
 html[lang=en] .skill-column__header h3{font-size:14px}
}
@media(min-width:1100px) and (max-height:800px){
 .wyf-main-flow .skills-section,html[lang=en] .wyf-main-flow .skills-section{gap:12px}
 .skill-column__items,.skill-column:first-child .skill-column__items,html[lang=en] .skill-column__items,html[lang=en] .skill-column:first-child .skill-column__items{gap:5px}
}

.wyf-resume-results{margin:28px 0 40px;padding:26px;border:1px solid #deded7;border-radius:16px;background:#fbfbfd}.wyf-resume-results h2{font-size:26px;margin:0 0 18px}.wyf-resume-results li{font-size:15px;line-height:1.85;margin:10px 0}

/* Seven-page section index, shared across the main pages. */
.wyf-number-index{position:fixed;z-index:45;right:clamp(12px,1.5vw,28px);top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:22px;font:12px/1.4 Arial,"PingFang SC",sans-serif;color:#777b7b}
.wyf-number-index a{display:flex;align-items:center;justify-content:flex-end;gap:17px;min-height:20px;color:inherit;text-decoration:none}
.wyf-number-index i{display:block;height:1px;width:9px;background:currentColor;transition:width .2s}
.wyf-number-index a[aria-current=page],.wyf-number-index a:hover{color:#e85a2a;font-weight:700}
.wyf-number-index a[aria-current=page] i{width:23px;height:2px}
.site-frame:has(.portfolio-page) .wyf-number-index{color:#fff9}
.site-frame:has(.portfolio-page) .wyf-number-index a[aria-current=page],.site-frame:has(.portfolio-page) .wyf-number-index a:hover{color:#ff8a52}
.wyf-number-index a:focus-visible{outline:2px solid currentColor;outline-offset:5px}
@media(max-width:760px){.wyf-number-index{right:6px;font-size:9px;gap:15px}.wyf-number-index a{gap:6px}.wyf-number-index i{width:5px}.wyf-number-index a[aria-current=page] i{width:12px}}
.wyf-number-index{z-index:90;text-shadow:0 0 5px #fbfbfd,0 0 3px #fbfbfd}
.site-frame:has(.portfolio-page) .wyf-number-index{text-shadow:none}
.site-frame:has(.wyf-life-page) .wyf-number-index{background:#fbfbfddd;padding:10px 7px;border-radius:8px;right:8px}

/* Minimal home only: keep the central visual, two actions, and section index. */
.reference-home .reference-header,
.reference-home .reference-hero__signature,
.reference-home .reference-hero__tags,
.reference-home .reference-opportunity{display:none!important}

/* Restore the shared home header and give the hero actions more space. */
.reference-home .reference-hero__actions{margin-top:clamp(42px,7vh,76px)}

/* Keep every portfolio item reachable, with breathing room below the final row. */
.site-frame:has(.portfolio-page){height:auto;max-height:none;overflow:visible;background:#b85a36}
.portfolio-page{height:auto;max-height:none;overflow:visible}
.portfolio-page .portfolio-section{height:auto;max-height:none;min-height:100svh;overflow:visible;padding-bottom:100px}
.portfolio-page .portfolio-grid{height:auto;max-height:none;overflow:visible}

/* Contain the title margin and reserve a separate row for portfolio navigation. */
.portfolio-page .portfolio-section{display:flow-root;padding-top:110px}
.portfolio-page .portfolio-title{margin-top:0}
@media(max-width:760px){.portfolio-page .portfolio-section{padding-top:96px}}

/* Align the two detail-card borders; keep navigation outside their shared row. */
@media(min-width:761px){
 .wyf-journey-page.is-detail .wyf-journey-stage{align-items:stretch;row-gap:14px}
 .wyf-journey-page.is-detail .wyf-journey-card-wrap{display:contents}
 .wyf-journey-page.is-detail .wyf-journey-card{grid-column:1;grid-row:1;display:flex;flex-direction:column}
 .wyf-journey-page.is-detail .wyf-journey-card .wyf-cover-media{margin-top:auto}
 .wyf-journey-page.is-detail .wyf-journey-detail{grid-column:2;grid-row:1}
 .wyf-journey-page.is-detail .wyf-journey-arrows{grid-column:1;grid-row:2;margin-top:0}
}

/* Use the official emblem beside the company name; retain the project cover. */
.wyf-company-logo-gandong{background-size:auto 100%;background-position:left center;border-radius:0}

/* Crop the official masthead to its UIA / HYP Cup mark, excluding the edition year. */
.wyf-company-logo-competitions{flex-basis:70px;width:70px;height:38px;background-size:1138% auto;background-position:5.9% 29%;border-radius:0}

/* Keep supplied photographs intact in both timeline views. */
.wyf-cover-card .wyf-journey-photo img,.wyf-journey-card .wyf-journey-photo img{object-fit:cover;object-position:center;background:#f0f0ed}

/* Fill landscape card frames while retaining the people in portrait photos. */
.wyf-cover-card .wyf-journey-photo img[src$="/competitions-web.webp"],.wyf-journey-card .wyf-journey-photo img[src$="/competitions-web.webp"]{object-fit:cover;object-position:50% 57%}
.wyf-cover-card .wyf-journey-photo img[src$="/yantai-web.webp"],.wyf-journey-card .wyf-journey-photo img[src$="/yantai-web.webp"]{object-fit:cover;object-position:50% 72%}

/* Location photographs for education and internship cards. */
.wyf-cover-card .wyf-journey-photo img[src$="/nanjing-gate.jpg"],.wyf-journey-card .wyf-journey-photo img[src$="/nanjing-gate.jpg"]{object-fit:cover;object-position:50% 65%}
.wyf-cover-card .wyf-journey-photo img[src$="/hello-office.jpg"],.wyf-journey-card .wyf-journey-photo img[src$="/hello-office.jpg"]{object-fit:cover;object-position:50% 30%}
.wyf-cover-card .wyf-journey-photo img[src$="/dewu-office.jpg"],.wyf-journey-card .wyf-journey-photo img[src$="/dewu-office.jpg"]{object-fit:cover;object-position:50% 50%}

/* Trial: slimmer journey cards and airy detail proportions. */
@media(min-width:900px) and (min-height:600px){
 .wyf-main-flow .wyf-journey-page.is-detail{height:100svh;min-height:0;box-sizing:border-box;padding-top:84px;padding-bottom:28px;display:flex;flex-direction:column}
 .wyf-journey-page.is-detail .wyf-journey-intro{flex:none;width:100%;margin:0 auto 18px}
 .wyf-journey-page.is-detail .wyf-journey-stage{flex:1;min-height:0;width:100%;max-width:1120px;grid-template-columns:minmax(0,.75fr) minmax(0,1fr);column-gap:clamp(70px,11vw,180px);row-gap:10px;align-items:stretch}
 .wyf-journey-page.is-detail .wyf-journey-card{min-height:0;padding:clamp(20px,2.1vw,34px);border-radius:18px}
 .wyf-journey-page.is-detail .wyf-journey-card-heading{margin:24px 0 18px}
 .wyf-journey-page.is-detail .wyf-journey-card-heading h2{font-size:clamp(23px,2.5vw,38px)}
 .wyf-journey-page.is-detail .wyf-journey-detail{min-height:0;margin-top:24px;padding:clamp(22px,3vw,48px);border-radius:18px}
 .wyf-journey-page.is-detail .wyf-journey-detail h2{font-size:clamp(27px,3vw,44px)}
 .wyf-journey-page.is-detail .wyf-journey-summary{margin:20px 0;font-size:13px;line-height:1.7}
 .wyf-journey-page.is-detail .wyf-journey-detail li{font-size:12px;line-height:1.65;margin-bottom:9px}
 .wyf-journey-page.is-detail .wyf-journey-card img,.wyf-journey-page.is-detail .wyf-journey-art{height:clamp(110px,21vh,235px)}
 .wyf-journey-page.is-detail .wyf-journey-years{flex:none;width:100%;margin:24px auto 0}
 .wyf-journey-page.is-overview .wyf-cover-card{width:min(350px,26vw);padding:clamp(20px,2vw,30px)}
 .wyf-journey-page.is-overview .wyf-cover-card .wyf-journey-card-heading h2{font-size:clamp(23px,2.1vw,32px)}
 .wyf-journey-page .wyf-journey-company{flex-wrap:nowrap}
}
@media(min-width:900px) and (min-height:600px){
 .wyf-journey-page.is-detail .wyf-journey-stage{max-width:960px}
 .wyf-journey-page.is-detail .wyf-journey-detail{padding:24px 30px;margin-top:18px}
 .wyf-journey-page.is-detail .wyf-journey-summary{margin:16px 0}
 .wyf-journey-page.is-detail .wyf-journey-detail-date{margin-bottom:8px}
 .wyf-journey-page.is-detail .wyf-return-timeline{margin-bottom:16px}
 .wyf-journey-page.is-detail .wyf-journey-detail h2{font-size:30px}
 .wyf-journey-page.is-detail .wyf-journey-card-heading h2{font-size:clamp(22px,2vw,32px)}
}

/* Allow the journey to breathe vertically and scroll before moving on. */
@media(min-width:900px){
 .wyf-main-flow .wyf-journey-page.is-overview,.wyf-main-flow .wyf-journey-page.is-detail{height:auto;min-height:100svh;padding-bottom:60px;overflow:visible}
 .wyf-journey-page.is-detail .wyf-journey-stage{flex:none;grid-template-rows:auto auto}
 .wyf-journey-page.is-detail .wyf-journey-card{min-height:0;aspect-ratio:3 / 4}
 .wyf-journey-page.is-detail .wyf-journey-detail{padding:28px 30px;margin-top:24px}
 .wyf-journey-page.is-detail .wyf-journey-summary{margin:20px 0 18px}
 .wyf-journey-page.is-detail .wyf-return-timeline{margin-bottom:24px}
 .wyf-journey-page.is-detail .wyf-journey-card img,.wyf-journey-page.is-detail .wyf-journey-art{height:clamp(175px,25vh,250px)}
 .wyf-journey-page.is-overview .wyf-cover-scene{flex:none;height:calc(min(466.667px,34.667vw) + 16px)}
 .wyf-journey-page.is-overview .wyf-cover-card{height:calc(100% - 16px)}
 .wyf-journey-page.is-overview .wyf-journey-years,.wyf-journey-page.is-detail .wyf-journey-years{margin:36px auto 0}
}

/* Company labels stay secondary to the role. */
.wyf-journey-page .wyf-journey-card-heading .wyf-journey-company{font-size:14px;gap:8px}
.wyf-journey-page .wyf-company-logo{width:30px;height:30px;flex-basis:30px}
.wyf-journey-page.is-detail .wyf-journey-detail h2{font-size:24px;line-height:1.3}
html[lang=en] .wyf-journey-page .wyf-journey-card-heading .wyf-journey-company{font-size:14px}

/* Match the reference desktop carousel measurements: 400 × 530, media 220. */
@media(min-width:900px){
 .wyf-main-flow .wyf-journey-page.is-overview{height:auto;min-height:100svh;display:block;padding-bottom:80px}
 .wyf-journey-page.is-overview .wyf-journey-intro{margin-bottom:24px}
 .wyf-journey-page.is-overview .wyf-cover-scene{height:610px;flex:none}
 .wyf-journey-page.is-overview .wyf-cover-card{top:22px;width:400px;height:530px;padding:28px;border-radius:18px}
 .wyf-journey-page.is-overview .wyf-cover-card .wyf-journey-card-heading{margin:32px 0 0}
 .wyf-journey-page.is-overview .wyf-cover-card .wyf-journey-card-heading h2{font-size:36px;line-height:1.1;letter-spacing:-.04em}
 .wyf-journey-page.is-overview .wyf-cover-card .wyf-journey-company{font-size:13px;margin-bottom:8px;min-height:24px}
 .wyf-journey-page.is-overview .wyf-company-logo{width:24px;height:24px;flex-basis:24px}
 .wyf-journey-page.is-overview .wyf-cover-card img,.wyf-journey-page.is-overview .wyf-cover-card .wyf-journey-art{height:220px}
 .wyf-journey-page.is-overview .wyf-cover-card figcaption{display:none}
 .wyf-journey-page.is-overview .wyf-journey-years{margin:6px auto 0;width:95%;max-width:1120px}
 .wyf-journey-page.is-overview .wyf-cover-prev,.wyf-journey-page.is-overview .wyf-cover-next{width:52px;height:52px}
 .wyf-journey-page.is-overview .wyf-open-details{font-size:10px;padding:5px 9px;bottom:0;right:0}
 html[lang=en] .wyf-journey-page.is-overview .wyf-cover-card .wyf-journey-card-heading h2{font-size:30px}
 .wyf-journey-page.is-detail .wyf-journey-stage{max-width:1080px;grid-template-columns:400px minmax(0,1fr);column-gap:100px}
 .wyf-journey-page.is-detail .wyf-journey-card{min-height:530px;aspect-ratio:auto;padding:28px}
 .wyf-journey-page.is-detail .wyf-journey-card img,.wyf-journey-page.is-detail .wyf-journey-art{height:220px}
 .wyf-journey-page.is-detail .wyf-journey-card figcaption{display:none}
}
@media(min-width:900px) and (max-width:1100px){.wyf-journey-page.is-detail .wyf-journey-stage{grid-template-columns:360px minmax(0,1fr);column-gap:40px}.wyf-journey-page.is-detail .wyf-journey-card{min-height:477px}}

.wyf-notebook-embed{width:100%;max-width:100%;margin:80px 0 0;background:#f8f5ed;color:#17191e;clear:both}.portfolio-section:has(.wyf-notebook-embed){padding-bottom:0}@media(max-width:600px){.wyf-notebook-embed{margin-top:45px}}

.wyf-cover-card .wyf-journey-photo img[src$="/nanjing-gate-user.jpg"],.wyf-journey-card .wyf-journey-photo img[src$="/nanjing-gate-user.jpg"]{object-fit:cover;object-position:center 55%}

.wyf-cover-card .wyf-journey-photo img[src$="/hello-user-web.webp"],.wyf-journey-card .wyf-journey-photo img[src$="/hello-user-web.webp"]{object-fit:cover;object-position:center}

.wyf-cover-card .wyf-journey-photo img[src$="/dewu-user-web.webp"],.wyf-journey-card .wyf-journey-photo img[src$="/dewu-user-web.webp"]{object-fit:cover;object-position:center 28%}

/* Keep the shared controls available while reading the embedded portfolio. */
.site-frame:has(.wyf-notebook-embed)>.wyf-flow-header{position:fixed}
.wyf-notebook-visible .wyf-flow-header{--nav-ink:#1b1d21;color:#1b1d21}
.wyf-notebook-visible .wyf-flow-header .wyf-flow-logo{border-color:#1b1d21;color:#1b1d21}
.wyf-notebook-visible .wyf-flow-header nav a,.wyf-notebook-visible .wyf-flow-header .wyf-global-language,.wyf-notebook-visible .wyf-flow-header .wyf-global-resume{color:#1b1d21}
.wyf-notebook-visible .wyf-flow-header nav a[aria-current]{color:#c74622}

/* A quiet paper strip keeps scrolling notebook content below the controls. */
.wyf-notebook-visible .wyf-flow-header{background:#f8f5ed;box-shadow:0 10px 18px #f8f5ed;z-index:100}

.wyf-cover-card .wyf-journey-photo img[src*="nanjing-welcome"],.wyf-journey-card .wyf-journey-photo img[src*="nanjing-welcome"]{object-position:center 72%}

/* Snapshot layer for the rounded orange page-stack transition. */
.wyf-outgoing-page{position:fixed;inset:0;z-index:10000;overflow:hidden;pointer-events:none;background:#fbfbfd;contain:paint}

.wyf-outgoing-page *{animation:none!important;transition:none!important}

/* Product directory integration */
.portfolio-page,.portfolio-page .portfolio-section{background:#b25834}.wyf-notebook-embed{margin-top:0}

.site-frame:has(.portfolio-page) .wyf-flow-header{background:#b25834;box-shadow:0 5px 15px #b2583422}.wyf-notebook-visible .site-frame:has(.portfolio-page) .wyf-flow-header{background:#f8f5ed}

.wyf-product-paper-visible .site-frame:has(.portfolio-page) .wyf-number-index{color:#79776f}.wyf-product-paper-visible .site-frame:has(.portfolio-page) .wyf-number-index a[aria-current=page]{color:#e85a2a}

/* Match directory orange and float controls over project documents. */
.portfolio-page,.portfolio-page .portfolio-section,.site-frame:has(.portfolio-page){background:#b85a36}
.site-frame:has(.portfolio-page) .wyf-flow-header{background:#b85a36;box-shadow:none}
.wyf-product-paper-visible .site-frame:has(.portfolio-page) .wyf-flow-header{--nav-ink:#1b1d21;background:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;color:#1b1d21}
.wyf-product-paper-visible .site-frame:has(.portfolio-page) .wyf-flow-logo{border-color:#1b1d21;color:#1b1d21}
.wyf-product-paper-visible .site-frame:has(.portfolio-page) .wyf-flow-header nav a,.wyf-product-paper-visible .site-frame:has(.portfolio-page) .wyf-global-language,.wyf-product-paper-visible .site-frame:has(.portfolio-page) .wyf-global-resume{color:#1b1d21}
.wyf-product-paper-visible .site-frame:has(.portfolio-page) .wyf-flow-header nav a[aria-current]{color:#c74622}

/* Portfolio navigation floats over the page, matching the original header. */
.site-frame:has(.portfolio-page) .wyf-flow-header,
.wyf-notebook-visible .site-frame:has(.portfolio-page) .wyf-flow-header,
.wyf-product-paper-visible .site-frame:has(.portfolio-page) .wyf-flow-header{background:transparent;box-shadow:none;border-bottom:0;backdrop-filter:none;-webkit-backdrop-filter:none}

/* Chapter curtain: triggered by menu clicks only, never scroll navigation. */
.wyf-chapter-curtain{position:fixed;inset:0;z-index:2147483000;background:#b85a36;color:#f5ead6;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;pointer-events:auto;animation:wyf-curtain-in .3s cubic-bezier(.22,1,.36,1) both;transform:translateY(0)}
.wyf-chapter-curtain strong{font-family:inherit;font-size:clamp(34px,4vw,64px);font-weight:600;letter-spacing:.06em;animation:wyf-chapter-title .35s .15s both}
.wyf-chapter-curtain span{font-size:11px;letter-spacing:.42em;opacity:.6;animation:wyf-chapter-title .35s .2s both}
.wyf-chapter-curtain.is-leaving{animation:wyf-curtain-out .4s cubic-bezier(.76,0,.24,1) both}
@keyframes wyf-curtain-in{from{transform:translateY(100%)}to{transform:translateY(0)}}
@keyframes wyf-curtain-out{from{transform:translateY(0)}to{transform:translateY(-100%)}}
@keyframes wyf-chapter-title{from{opacity:0;translate:0 12px}to{opacity:1;translate:0 0}}

.wyf-chapter-counter{position:absolute;bottom:48px;left:0;right:0;text-align:center;font-size:12px;letter-spacing:.22em;opacity:.7;font-variant-numeric:tabular-nums}

/* Reference heading uses Smiley Sans with its native oblique shapes. */
.skills-intro h2,html[lang=en] .skills-intro h2,#skills-title{font-family:"Smiley Sans Portfolio","PingFang SC",sans-serif!important;font-weight:600!important;font-style:normal!important;transform:none!important}

/* User-selected display headings. */
.wyf-about-copy h1,.wyf-life-intro h1,.wyf-contact-card h1{font-family:"Smiley Sans Portfolio","PingFang SC",sans-serif!important;font-weight:600!important;font-style:normal!important;transform:none!important;}
.wyf-contact-card h1{white-space:nowrap;font-size:clamp(28px,5.2vw,64px)}

/* Match the journey heading to the other Smiley Sans page titles. */
.wyf-journey-intro h1,html[lang=en] .wyf-journey-intro h1{font-family:"Smiley Sans Portfolio","PingFang SC",sans-serif!important;font-weight:600!important;font-style:normal!important;transform:none!important}

.skills-intro .skills-level-description{display:block;margin:24px 0 0;color:#79797e;font-family:"PingFang SC","Microsoft YaHei",sans-serif;font-size:clamp(13px,1.1vw,16px);font-weight:400;line-height:1.8;letter-spacing:0}

/* Skills heading and supporting copy follow the reference proportions. */
.skills-intro,html[lang=en] .skills-intro{text-align:center}
.skills-intro h2,html[lang=en] .skills-intro h2,#skills-title{font-size:clamp(44px,6.2vw,92px);font-weight:700!important;-webkit-text-stroke:.35px currentColor;line-height:1.2;letter-spacing:0}
.skills-intro .skills-level-description{font-size:clamp(12px,1.24vw,18.4px);margin-top:24px;text-align:center;line-height:1.8}

/* Clear, readable skill flags and proficiency pills. */
.skills-section .skill-column__header span,html[lang=en] .skills-section .skill-column__header span{display:inline;color:#f4512b;font-size:14px;font-weight:500;opacity:1;margin-left:6px;padding:0;background:transparent;border:0}
.skills-section .skill-item__heading{flex-wrap:wrap;gap:8px;align-items:center}
.skills-section .skill-item__heading span,html[lang=en] .skills-section .skill-item__heading span{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;font-family:"PingFang SC","Microsoft YaHei",sans-serif;font-size:12px;font-weight:500;line-height:1.4;letter-spacing:.04em;padding:3px 9px;border:1px solid #55555b;border-radius:999px;color:#55555b;background:transparent;opacity:1;white-space:nowrap}
.skills-section .skill-item__heading span.is-proficient,html[lang=en] .skills-section .skill-item__heading span.is-proficient{color:#f4512b;border-color:#f4512b}
/* Reference-matched skill list typography and spacing. */
.skills-section .skills-grid{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Helvetica Neue","PingFang SC","Microsoft YaHei",sans-serif;width:100%;max-width:1280px;margin-inline:auto;gap:clamp(32px,4vw,56px);grid-template-columns:repeat(4,minmax(0,1fr))}
.skills-section .skill-column__header{min-height:0;margin:0;padding:0 0 12px;border-bottom:1px solid rgba(29,29,31,.12);gap:0;align-items:baseline;justify-content:flex-start}
.skills-section .skill-column__header h3{font-size:clamp(16px,1.4vw,19px);font-weight:600;line-height:1.5;letter-spacing:.01em;color:#1d1d1f;margin:0}
.skills-section .skill-column__header span,html[lang=en] .skills-section .skill-column__header span{font-size:clamp(11px,.9vw,13px);font-weight:500;line-height:1.5;color:#d8552e;margin-left:6px}
.skills-section .skill-column__items{display:flex;flex-direction:column;gap:16px;padding-top:18px}
.skills-section .skill-item{display:flex;flex-direction:column;gap:4px;margin:0;padding:0}
.skills-section .skill-item__heading{display:flex;align-items:center;flex-wrap:wrap;gap:10px;line-height:1.5}
.skills-section .skill-item__heading strong{font-size:clamp(14px,1.15vw,16px);font-weight:600;line-height:1.5;color:#1d1d1f;letter-spacing:0}
.skills-section .skill-item__heading span,html[lang=en] .skills-section .skill-item__heading span{font-family:inherit;font-size:10px;font-weight:500;line-height:15px;letter-spacing:.08em;padding:2px 8px;border:1px solid #1d1d1f;color:#1d1d1f;border-radius:100px;opacity:.85}
.skills-section .skill-item__heading span.is-proficient,html[lang=en] .skills-section .skill-item__heading span.is-proficient{color:#d8552e;border-color:#d8552e;opacity:1}
.skills-section .skill-item p{margin:0;font-size:clamp(12px,1vw,14px);font-weight:400;line-height:1.55;color:#6e6e73;letter-spacing:0}
@media(max-width:1199px){.skills-section .skills-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.skills-section .skills-grid{grid-template-columns:1fr;gap:36px}}

/* Give proficiency pills more vertical breathing room. */
.skills-section .skill-item__heading span,html[lang=en] .skills-section .skill-item__heading span{padding:4px 9px;border-radius:999px;line-height:15px}

/* Spacious proficiency capsules: keep text size, expand the inner whitespace. */
.skills-section .skill-item__heading span,html[lang=en] .skills-section .skill-item__heading span{padding:4px 9px!important;line-height:15px!important;border-radius:999px;box-sizing:content-box}

/* Taller experience cards, with enough scene space for their shadows. */
@media(min-width:900px){
 .wyf-journey-page.is-overview .wyf-cover-scene{height:630px}
 .wyf-journey-page.is-overview .wyf-cover-card{height:550px}
}
@media(min-width:601px) and (max-width:899px){
 .wyf-journey-page.is-overview .wyf-cover-scene{height:559px}
 .wyf-journey-page.is-overview .wyf-cover-card{height:539px}
}
@media(max-width:600px){
 .wyf-journey-page.is-overview .wyf-cover-scene{height:496px}
 .wyf-journey-page.is-overview .wyf-cover-card{height:451px}
}

/* Scale proficiency capsules uniformly to five-sixths of their original size. */
.skills-section .skill-item__heading span,html[lang=en] .skills-section .skill-item__heading span{font-size:8.333333px!important;line-height:12.5px!important;padding:3.333333px 7.5px!important;border-width:.833333px;letter-spacing:.08em}

/* Personal workplace cover photos */
.wyf-cover-card .wyf-journey-photo img[src*="/workplace-photos/"],
.wyf-journey-card .wyf-journey-photo img[src*="/workplace-photos/"]{object-fit:cover;object-position:center}

/* Two-section continuous-scroll preview */
.wyf-continuous-sections > section{position:relative;scroll-margin-top:72px}
.wyf-continuous-sections #continuous-journey{padding-top:40px;padding-bottom:48px}
.wyf-continuous-sections .wyf-journey-page{min-height:100vh}
@media(prefers-reduced-motion:no-preference){html:has(.wyf-continuous-sections){scroll-behavior:smooth}}
.wyf-continuous-preview .wyf-flow-header{position:fixed;top:0;left:0;right:0;z-index:100;background:rgba(250,250,252,.92);backdrop-filter:blur(12px)}
.wyf-continuous-sections #continuous-journey .wyf-journey-page{padding-top:48px}

