/* The introduction has its own styles; the original skills page is preserved. */
.wyf-about-page{--paper:#faf9f5;--ink:#1b1d21;--muted:#7d7e75;--line:#deded7;--blue:#e2572f;background:var(--paper);color:var(--ink);min-height:100svh;font-family:Arial,"PingFang SC","Microsoft YaHei",sans-serif;position:relative;padding:0 clamp(28px,4.3vw,88px) 40px;overflow-x:clip}
.wyf-about-page *{box-sizing:border-box}
.wyf-about-page a{text-decoration:none;color:inherit}
.wyf-about-page button{font:inherit;cursor:pointer}
.wyf-reading-line{position:absolute;top:0;left:45%;height:2px;width:18%;background:var(--blue)}
.wyf-about-header{height:72px;display:flex;align-items:center;justify-content:space-between;position:relative;z-index:30}
.wyf-monogram{border:1px solid var(--ink);border-radius:50%;width:44px;height:44px;display:grid;place-items:center;font-size:13px;font-weight:700;letter-spacing:-.6px}
.wyf-floating-nav{position:absolute;top:73px;left:50%;transform:translateX(-50%);display:flex;gap:25px;align-items:center;padding:18px 24px;border:1px solid #e7e6e0;border-radius:50px;background:#faf9f5f5;box-shadow:0 12px 32px #39352c09;white-space:nowrap;font-size:14px;font-weight:600}
.wyf-floating-nav>a:hover{color:var(--blue)}
.wyf-header-actions{display:flex;align-items:center;gap:10px}
.wyf-language{border:1px solid var(--line);border-radius:28px;padding:10px 16px;background:transparent;font-size:12px!important;color:var(--muted);display:flex;gap:8px;align-items:center}
.wyf-language i{font-style:normal;color:#b6b5af}.wyf-language .is-current{color:var(--ink);font-weight:700}
.wyf-resume{border-radius:28px;padding:11px 19px;background:var(--ink);color:white!important;font-size:12px;font-weight:600;display:flex;align-items:center;gap:10px}.wyf-resume>span{font-size:20px;line-height:16px}
.wyf-about-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(290px,28%);gap:clamp(60px,10vw,170px);max-width:1720px;margin:0 auto;min-height:calc(100svh - 112px)}
.wyf-about-copy h1{font-size:clamp(80px,7.9vw,150px);line-height:.98;letter-spacing:-.075em;font-weight:750;margin:0 0 31px}
.wyf-about-lead{font-size:clamp(18px,1.42vw,26px);line-height:1.65;color:var(--muted);max-width:550px;margin:0;min-height:76px;letter-spacing:-.02em}
.wyf-story-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:52px;border-bottom:1px solid var(--line)}
.wyf-story-tabs button{border:0;border-left:1px solid var(--line);background:transparent;text-align:left;color:var(--ink);padding:22px 18px 20px;min-height:135px;display:flex;flex-direction:column;justify-content:space-between;gap:40px;transition:background .25s,color .25s}
.wyf-story-tabs button:first-child{border-left:0}.wyf-story-tabs button:last-child{border-right:1px solid var(--line)}
.wyf-story-tabs button>span{font-size:11px;font-weight:600;color:var(--muted)}
.wyf-story-tabs button strong{font-size:clamp(18px,1.65vw,30px);line-height:1.2;letter-spacing:-.04em;font-weight:650;white-space:nowrap}
.wyf-story-tabs button.is-selected{background:var(--blue);color:white;border-color:var(--blue)}.wyf-story-tabs button.is-selected>span{color:#ffe2d5}.wyf-story-tabs button:hover:not(.is-selected){background:#eeede8}
.wyf-story-panel{padding-top:32px;max-width:750px;outline-offset:7px}
.wyf-story-panel h2{font-size:clamp(25px,2.2vw,40px);line-height:1.3;font-weight:400;letter-spacing:-.035em;margin:0 0 15px;max-width:690px}
.wyf-story-panel p{font-size:clamp(14px,1.07vw,19px);line-height:1.85;color:var(--muted);margin:0;max-width:680px}
.wyf-story-content{animation:wyf-story-enter .32s ease both}@keyframes wyf-story-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.wyf-badge-drop{position:relative;padding-top:80px;perspective:1100px;align-self:start}
.wyf-badge-cord{position:absolute;top:-72px;left:50%;width:3px;height:165px;background:var(--ink);transform:translateX(-50%)}
.wyf-identity-badge{position:relative;z-index:1;padding:30px 17px 16px;border:1px solid #d1d1cb;border-radius:17px;background:#fbfaf6;box-shadow:0 18px 45px #413a2a0b;transform:rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg));transform-origin:50% 0%;transition:transform .3s ease;will-change:transform}
.wyf-badge-slot{position:absolute;top:12px;left:50%;transform:translateX(-50%);width:41px;height:8px;border-radius:6px;background:var(--ink)}
.wyf-badge-photo{display:block;width:100%;height:auto;aspect-ratio:1.3;object-fit:cover;object-position:center 33%;border-radius:11px;background:#f1f0ee}
.wyf-badge-info{padding:18px 3px 0}.wyf-badge-info h2{font-size:clamp(27px,2.25vw,42px);line-height:1.1;letter-spacing:-.055em;margin:0 0 4px;font-weight:700}.wyf-badge-chinese{color:var(--muted);font-size:12px;margin:0}.wyf-badge-role{font-size:12px;color:var(--muted);line-height:1.5;margin:24px 0 20px;max-width:260px}
.wyf-badge-links{border-top:1px solid var(--line)}.wyf-badge-links a{display:flex;align-items:center;justify-content:space-between;padding:13px 0;border-bottom:1px solid #e8e7e0;font-size:12px;font-weight:600}.wyf-badge-links a:hover{color:var(--blue)}.wyf-badge-links a>span{font-size:18px;font-weight:400}
.wyf-about-section-index{position:fixed;right:16px;top:49%;display:flex;flex-direction:column;gap:15px;z-index:20}.wyf-about-section-index a{display:flex;align-items:center;gap:11px;color:#92928a;font-size:8px}.wyf-about-section-index i{height:1px;width:7px;background:currentColor}.wyf-about-section-index a[aria-current]{color:var(--blue)}.wyf-about-section-index a[aria-current] i{width:15px}
.wyf-about-menu{position:relative;display:inline-flex;align-items:center;font:inherit;z-index:50}
.wyf-menu-trigger{appearance:none;border:0;background:transparent!important;color:inherit;font:inherit!important;padding:0!important;display:inline-flex;align-items:center;gap:5px;cursor:pointer;white-space:nowrap}
.wyf-menu-trigger.is-active{color:#e2572f!important}.wyf-chevron{font-size:14px;line-height:1;transition:transform .2s}.wyf-chevron.is-open{transform:rotate(180deg)}
.wyf-about-dropdown{position:absolute;left:50%;top:calc(100% + 16px);transform:translateX(-50%);min-width:185px;padding:6px;border:1px solid #deded7;border-radius:13px;background:#faf9f5;color:#1b1d21;box-shadow:0 12px 34px #19191916;z-index:100;display:flex;flex-direction:column;gap:3px}
.wyf-about-dropdown a{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:5px!important;padding:12px 13px!important;border-radius:8px;color:#1b1d21!important;background:none!important;text-decoration:none;font-size:14px!important;line-height:1.3!important;letter-spacing:normal!important;white-space:nowrap}
.wyf-about-dropdown a:before,.wyf-about-dropdown a:after{display:none!important}.wyf-about-dropdown a:hover,.wyf-about-dropdown a[aria-current="page"]{background:#eeeee8!important;color:#e2572f!important}.wyf-about-dropdown small{font-size:11px;color:#828279;font-weight:400}
.wyf-about-page :focus-visible,.wyf-about-menu :focus-visible{outline:2px solid #e2572f;outline-offset:5px}
@media(min-width:1500px){.wyf-about-header{height:90px}.wyf-floating-nav{top:86px;padding:22px 29px;font-size:16px}.wyf-about-copy h1{margin-bottom:35px}.wyf-story-tabs{margin-top:68px}.wyf-story-tabs button{min-height:160px;padding:25px 22px}.wyf-story-panel{padding-top:38px}.wyf-badge-drop{padding-top:90px}.wyf-badge-cord{top:-90px;height:190px}.wyf-identity-badge{padding:38px 22px 23px}.wyf-badge-info{padding:24px 3px 0}.wyf-badge-role{font-size:15px;margin:30px 0 24px}.wyf-badge-links a{font-size:15px;padding:16px 0}}
@media(max-width:1000px){.wyf-about-layout{gap:45px;grid-template-columns:minmax(0,1fr) 280px}.wyf-floating-nav{gap:18px;left:48%;padding:15px 20px;font-size:12px}.wyf-about-copy h1{font-size:82px}.wyf-about-lead{font-size:17px;max-width:360px}.wyf-story-tabs button{padding:15px 10px;min-height:120px}.wyf-story-tabs button strong{font-size:17px}.wyf-story-panel h2{font-size:25px}.wyf-about-section-index{display:none}}
@media(max-width:760px){.wyf-about-page{padding:0 24px 42px}.wyf-about-header{height:130px;align-items:flex-start;padding-top:19px}.wyf-monogram{width:38px;height:38px}.wyf-floating-nav{top:78px;left:50%;width:max-content;max-width:100%;gap:24px;padding:14px 20px;font-size:13px}.wyf-about-layout{display:flex;flex-direction:column;gap:10px;min-height:0}.wyf-about-copy h1{font-size:76px;margin:25px 0 23px}.wyf-about-lead{font-size:18px;max-width:400px;min-height:0}.wyf-story-tabs{margin-top:35px}.wyf-story-tabs button{padding:16px 10px;min-height:112px;gap:32px}.wyf-story-tabs button strong{font-size:16px;white-space:normal}.wyf-story-panel{padding-top:27px;min-height:200px}.wyf-story-panel h2{font-size:26px}.wyf-story-panel p{font-size:14px}.wyf-badge-drop{width:min(100%,340px);align-self:center;padding-top:58px;margin-top:30px}.wyf-badge-cord{top:0;height:70px}.wyf-badge-info h2{font-size:34px}.wyf-badge-role{font-size:14px}.wyf-badge-links a{font-size:14px}.wyf-about-dropdown{left:0;transform:none}.reference-mobile-nav .wyf-about-menu,.mobile-nav .wyf-about-menu{width:100%;display:block}.reference-mobile-nav .wyf-about-dropdown,.mobile-nav .wyf-about-dropdown{position:static;transform:none;margin:12px 0 0;box-shadow:none}.wyf-language{padding:9px 12px}.wyf-resume{padding:10px 15px}}
@media(prefers-reduced-motion:reduce){.wyf-story-content{animation:none}.wyf-identity-badge{transform:none!important;transition:none}.wyf-story-tabs button,.wyf-chevron{transition:none}}
.site-frame:has(.wyf-about-page)>.site-header,.site-frame:has(.wyf-about-page)>.site-footer{display:none}
.site-frame:has(.wyf-about-page){background:#faf9f5;overflow:visible}

.wyf-about-direct.is-active{color:#e2572f!important}
.wyf-next-page{display:flex;align-items:center;justify-content:center;gap:14px;width:max-content;max-width:100%;margin:26px auto 0;padding:5px 6px 5px 18px;border:1px solid #e6e1d9;border-radius:40px;background:#fffaf4;font-size:12px;box-shadow:0 8px 24px #4a3a250a;position:relative;z-index:10}
.wyf-next-page i{display:grid;place-items:center;background:#e2572f;color:white;width:32px;height:32px;border-radius:50%;font-style:normal;font-size:18px}
.wyf-next-page:hover{background:#fff;box-shadow:0 8px 24px #4a3a2518}
.wyf-about-layout{min-height:calc(100svh - 205px)}
@media(max-width:760px){.wyf-about-layout{min-height:0}.wyf-next-page{margin-top:36px}.wyf-story-tabs button strong{font-size:15px;overflow-wrap:anywhere}}

/* Give the hanging badge breathing room without changing the left column. */
@media(min-width:761px){
 .wyf-badge-drop{width:90%;justify-self:center;padding-top:clamp(35px,7vh,70px);padding-bottom:60px}
 .wyf-badge-cord{top:-72px;height:calc(72px + clamp(35px,7vh,70px))}
 .wyf-identity-badge{padding:28px 16px 14px}
 .wyf-badge-photo{height:clamp(125px,24vh,235px);aspect-ratio:auto;object-fit:cover}
 .wyf-badge-info{padding:15px 3px 0}
 .wyf-badge-info h2{font-size:clamp(25px,2vw,36px)}
 .wyf-badge-role{font-size:12px;margin:16px 0 14px}
 .wyf-badge-links a{font-size:12px;padding:8px 0}
}

/* Keep the two English introduction headings on one line within their column. */
@media(min-width:761px){
 .wyf-about-copy{container-type:inline-size}
 html[lang=en] .wyf-about-lead{max-width:none;font-size:clamp(12px,2.5cqw,26px);white-space:nowrap}
 html[lang=en] .wyf-story-panel{max-width:none}
 html[lang=en] .wyf-story-panel h2{max-width:none;font-size:clamp(14px,3.1cqw,40px);white-space:nowrap}
}

/* Preserve the entire supplied portrait within the compact badge. */
.wyf-badge-photo{object-fit:contain;object-position:center;background:#fff}
/* Fill the badge width while preserving the full portrait's original ratio. */
.wyf-badge-photo{width:100%;height:auto;aspect-ratio:auto;object-fit:contain;object-position:center}
/* Chest-up portrait and tighter badge details, with space below the hanging card. */
.wyf-badge-photo{width:100%;height:auto;aspect-ratio:1;object-fit:cover;object-position:center top}
.wyf-badge-info{padding:12px 3px 0}
.wyf-badge-info h2{margin-bottom:3px}
.wyf-badge-chinese{line-height:1.4}
.wyf-badge-role{margin:10px 0 10px;line-height:1.4}
.wyf-badge-links a{padding:7px 0;line-height:1.4}
.wyf-badge-links a>span{font-size:16px;line-height:1}
@media(min-width:761px){
 .wyf-identity-badge{padding-bottom:12px}
 .wyf-badge-role{font-size:12px}
 .wyf-badge-links a{font-size:12px}
}

/* Move the badge and its suspension cord together, clear of the page index. */
@media(min-width:761px){
 .wyf-badge-drop{left:calc(-1 * clamp(24px,3vw,64px))}
}

/* Soft depth and pointer-linked suspension, with a stable untransformed hit frame. */
.wyf-identity-badge{box-shadow:var(--shadow-x,0px) 25px 48px -14px rgba(35,30,23,.23),0 7px 17px -7px rgba(35,30,23,.15),inset 0 1px 0 rgba(255,255,255,.9);transform:translateX(var(--badge-sway,0px)) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg));transition:transform .65s cubic-bezier(.22,1,.36,1),box-shadow .65s ease;transform-origin:50% 0}
.wyf-badge-cord{transform-origin:50% 0;transform:translateX(-50%) skewX(var(--cord-skew,0deg));transition:transform .65s cubic-bezier(.22,1,.36,1)}
.wyf-badge-drop.is-tilting .wyf-identity-badge,.wyf-badge-drop.is-tilting .wyf-badge-cord{transition-duration:.16s}
@media(prefers-reduced-motion:reduce){.wyf-badge-cord{transform:translateX(-50%);transition:none}.wyf-identity-badge{transition:none}}

/* Rope and badge enter together; inner transforms remain available for hover tilt. */
.wyf-badge-drop.is-drop-pending{visibility:hidden;pointer-events:none}
.wyf-badge-drop.is-dropped{animation:wyf-badge-fall 1.15s both;transform-origin:50% 0}
@keyframes wyf-badge-fall{
  0%{translate:0 calc(-100vh - 100%);animation-timing-function:cubic-bezier(.45,0,.8,.45)}
  52%{translate:0 18px;animation-timing-function:cubic-bezier(.2,.7,.3,1)}
  70%{translate:0 -10px;animation-timing-function:ease-in-out}
  84%{translate:0 5px;animation-timing-function:ease-in-out}
  94%{translate:0 -2px;animation-timing-function:ease-out}
  100%{translate:0 0}
}
@media(prefers-reduced-motion:reduce){
 .wyf-badge-drop.is-drop-pending{visibility:visible;pointer-events:auto}
 .wyf-badge-drop.is-dropped{animation:none}
}

/* Horizontal-only rebalance: preserve the original portrait height and vertical rhythm. */
@media(min-width:1001px){
 .wyf-about-layout{container-type:inline-size;grid-template-columns:minmax(0,1fr) minmax(310px,31%)}
 .wyf-badge-drop{width:90%}
 .wyf-badge-photo{height:calc(max(261px,25.2cqw) - 34px);aspect-ratio:auto;object-fit:cover;object-position:center top}
}

/* Compact the story selector and its explanation toward the upper left. */
@media(min-width:1001px){
 .wyf-story-tabs{width:94%;margin-top:36px}
 .wyf-story-tabs button{min-height:124px;padding:20px 16px;gap:32px}
 .wyf-story-tabs button strong{font-size:clamp(17px,1.48vw,27px)}
 .wyf-story-panel{width:94%;padding-top:26px}
 .wyf-story-panel h2{font-size:clamp(24px,1.98vw,36px);margin-bottom:13px}
 .wyf-story-panel p{font-size:clamp(13px,.99vw,18px)}
}
@media(min-width:1500px){
 .wyf-story-tabs{margin-top:48px}
 .wyf-story-tabs button{min-height:144px;padding:22px 19px}
 .wyf-story-panel{padding-top:32px}
}
