@font-face{font-family:"About WenKai";font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/LXGWWenKaiTC-Identity.ttf') format('truetype')}
.about-section{position:relative;padding:14svh 8vw 8svh;outline:none;z-index:3;color:#e4e0db}
.about-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.75fr);column-gap:12vw;max-width:1450px;margin:0 auto;align-items:start}
.about-person{position:sticky;top:8svh;padding:2svh 0 5svh;min-width:0}


.about-heading{display:block;font:400 clamp(76px,7.7vw,122px)/1.06 "La Belle Aurore",cursive;letter-spacing:-.025em;margin:0 0 30px}
.about-heading>span{display:block}.about-heading>span:last-child{margin-left:clamp(8px,2.5vw,40px);color:#c5b6a5}
.about-introduction{font:400 clamp(15px,1.4vw,20px)/1.75 "About WenKai",serif;color:#b8b0a6;margin:0 0 21px}


.timeline-next:focus-visible{outline:1px solid #c5b6a5;outline-offset:7px}
.about-stack{margin-top:clamp(30px,5svh,55px);max-width:570px;position:relative}

.stack-orbit{position:relative;width:100%;height:clamp(165px,21svh,220px);list-style:none;margin:12px 0 0;padding:0}
.stack-orbit>li{position:absolute;left:var(--x);top:var(--y);width:64px;margin-left:-32px;color:#9d9283}

.stack-orbit img{object-fit:contain;filter:grayscale(1) saturate(0) brightness(.92);opacity:.7;transition:filter .3s,opacity .3s}
.stack-logo:hover img,.stack-logo:focus-visible img,.stack-logo.is-open img{filter:grayscale(0) saturate(1) brightness(1);opacity:1}

.stack-go{display:grid;place-items:center;height:40px;font:italic 600 29px/1 ui-monospace,monospace;color:#b8b4a9;letter-spacing:-3px;padding-right:3px}

.about-journey{min-width:0;position:relative;padding-top:7svh}

.about-timeline{list-style:none;padding:0 0 0 46px;margin:0;position:relative}
.timeline-entry{position:relative;min-height:52svh;padding:0 0 90px;max-width:350px;--entry-opacity:.58}
.timeline-entry:last-child{min-height:40svh;padding-bottom:0}
.timeline-dot{position:absolute;left:-50px;top:5px;width:9px;height:9px;border:1px solid #93857288;background:#161411;border-radius:50%;box-shadow:0 0 0 5px #b7a68a05;transition:background .4s,border-color .4s,box-shadow .4s}
.timeline-chapter{font:9px/1.5 ui-monospace,monospace;letter-spacing:.10em;color:#958775;margin:0 0 21px}
.timeline-entry h4{font:400 clamp(35px,3.4vw,53px)/1.12 "La Belle Aurore",cursive;color:#ddd2c3;margin:0 0 20px;opacity:var(--entry-opacity);transition:opacity .4s}
.timeline-entry>p:not(.timeline-chapter){font:400 clamp(14px,1.2vw,18px)/1.75 "About WenKai",serif;color:#9e9385;margin:0;max-width:295px;opacity:.8}
.timeline-note{display:block;font:21px/1.5 "La Belle Aurore",cursive;transform:rotate(-4deg);color:#817363;margin:29px 0 0 15px}
.timeline-entry.is-current{--entry-opacity:1}.timeline-entry.is-past{--entry-opacity:.82}
.timeline-entry.is-current .timeline-dot{background:#d3c0a4;border-color:#dbcbb3;box-shadow:0 0 0 6px #b7a68a0a,0 0 20px #d3bf982b}
.timeline-entry.is-past .timeline-dot{background:#93816a;border-color:#a69781}
.timeline-entry.is-current .timeline-chapter{color:#d1bfa3}.timeline-entry.is-current>p:not(.timeline-chapter){opacity:1;color:#b6a997}
.timeline-next{display:inline-flex;align-items:center;gap:15px;margin-top:30px;color:#b9aa95;font:11px/1.6 system-ui,sans-serif;text-decoration:none}.timeline-next>span{font-size:19px}

.about-thread{position:absolute;top:0;left:0;z-index:2;pointer-events:none;overflow:visible;width:100%;height:1px}
.about-thread.is-camera-ink{position:fixed;height:100vh;height:100lvh;overflow:hidden}
.about-thread path{fill:none;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}

/* The homepage remains the original source. This line starts at its real tip. */
@media(min-width:1500px){.about-layout{column-gap:11vw}.about-person{top:9svh}}
@media(max-height:780px) and (min-width:801px){.about-person{top:5svh;padding-top:0}.about-heading{font-size:clamp(68px,7vw,98px);margin-bottom:20px}.about-introduction{font-size:16px;line-height:1.65;margin-bottom:14px}.about-stack{margin-top:24px}.stack-orbit{height:155px}.stack-orbit img{width:34px;height:34px}}
@media(max-width:1050px) and (min-width:801px){.about-section{padding-left:6vw;padding-right:6vw}.about-layout{column-gap:8vw;grid-template-columns:1.05fr .85fr}.about-heading{font-size:88px}.about-introduction{font-size:16px}.about-timeline{padding-left:36px}.timeline-dot{left:-40px}.timeline-chapter{font-size:8px}.timeline-entry h4{font-size:39px}}
@media(max-width:800px){
 .about-section{padding:12svh 7vw 7svh}.about-layout{display:block}.about-person{position:relative;top:auto;padding:0 0 9svh;max-width:570px}.about-heading{font-size:clamp(79px,16vw,115px);line-height:1.08;margin-bottom:24px}.about-heading>span:last-child{margin-left:20px}.about-introduction{font-size:17px;line-height:1.8}.about-stack{margin-top:38px}.stack-orbit{height:210px}.about-journey{padding-top:6svh;margin-left:8vw;max-width:490px}.about-timeline{padding-left:43px}.timeline-dot{left:-47px}.timeline-entry{min-height:380px;padding-bottom:95px;max-width:100%}.timeline-entry:last-child{min-height:290px}.timeline-entry h4{font-size:45px}.timeline-entry>p:not(.timeline-chapter){font-size:16px;max-width:340px}.timeline-chapter{font-size:8px}.timeline-note{font-size:22px}
}
@media(max-width:380px){.about-heading{font-size:77px}.about-introduction{font-size:15px}.stack-orbit{height:195px}.stack-orbit img{width:33px;height:33px}.stack-go{font-size:25px;height:33px}.about-journey{margin-left:4vw}.timeline-entry h4{font-size:40px}.timeline-entry>p:not(.timeline-chapter){font-size:15px}}
@media(max-height:580px) and (min-width:801px){.about-section{padding-top:90px}.about-layout{align-items:start}.timeline-entry{min-height:300px}.timeline-entry:last-child{min-height:260px}}
@media(prefers-reduced-motion:reduce){.stack-logo{transform:none!important}.timeline-dot,.timeline-entry h4,.stack-orbit img{transition:none}}
/* Keep the inherited project demo inside its column on medium screens. */
.projects-section .tui-panes{width:100%;aspect-ratio:auto}


/* The old tech-stack interaction: free drift, pointer attraction, color and name. */
.stack-logo{position:relative;display:grid;place-items:center;width:64px;height:64px;border:0;padding:0;background:transparent;color:#c4b7a5;cursor:default;transform-origin:center;will-change:transform;touch-action:manipulation}
.stack-logo::before{content:"";position:absolute;inset:-10px;background:radial-gradient(ellipse,#c9b39112,transparent 70%);opacity:0;transition:opacity .24s;pointer-events:none}
.stack-logo:hover::before,.stack-logo:focus-visible::before,.stack-logo.is-open::before{opacity:1}
.stack-logo:focus-visible{outline:1px solid #776a5d;outline-offset:4px;border-radius:3px}
.stack-name{position:absolute;top:calc(100% + 5px);left:50%;transform:translate(-50%,4px);opacity:0;white-space:nowrap;pointer-events:none;color:#b7aea4;font:11px/1.5 system-ui,sans-serif;letter-spacing:.035em;transition:opacity .2s,transform .2s}
.stack-logo:hover .stack-name,.stack-logo:focus-visible .stack-name,.stack-logo.is-open .stack-name{opacity:1;transform:translate(-50%,0)}
.stack-orbit{height:clamp(190px,24svh,235px)}
@media(max-height:780px) and (min-width:801px){.stack-orbit{height:180px}}
@media(max-width:800px){.stack-orbit{height:230px}}
@media(max-width:380px){.stack-orbit{height:215px}.stack-name{font-size:10px}}
@media(prefers-reduced-motion:reduce){.stack-logo{will-change:auto}.stack-name,.stack-logo::before{transition:none}}

/* Long-form introduction: preserve paragraph breaks and keep the full sidebar reachable. */
.about-introduction{font-size:clamp(15px,1.15vw,17px);line-height:1.75;max-width:580px}
.about-introduction p{margin:0}
.about-introduction p+p{margin-top:17px}
@media(min-width:801px) and (min-height:581px){.about-person{top:var(--about-sticky-top,8svh)}}
@media(max-width:800px){.about-introduction{font-size:16px;line-height:1.8}.about-introduction p+p{margin-top:19px}}
@media(max-width:380px){.about-introduction{font-size:15px}}

/* Keep handwritten ascenders clear of the viewport edge while the column sticks. */
@media(min-width:801px) and (max-height:850px){
 .about-heading{font-size:clamp(74px,6.8vw,104px);margin-bottom:16px}
 .about-introduction p+p{margin-top:12px}
 .about-stack{margin-top:18px}
}


/* A loose constellation: different heights, gaps, angles, and visual weights. */
.stack-logo img,.stack-logo .stack-go{transform:rotate(var(--turn,0deg)) scale(var(--icon-scale,1))}
@media(max-width:800px){.stack-orbit>.stack-entry{left:var(--mobile-x);top:var(--mobile-y)}}

/* The same liquid-glyph technique as projects.html, absorbed into the timeline rail. */
.timeline-melt-filters{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
.timeline-melt-readable{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.timeline-melt-word{display:inline-block;white-space:nowrap}
.timeline-melt-char{display:inline-block;white-space:pre;transform-origin:50% 68%}
.is-melting .timeline-melt-char{will-change:transform,opacity}
.timeline-entry .timeline-melt-visual{overflow:visible}
@media(prefers-reduced-motion:reduce){.timeline-melt-char{transform:none!important;filter:none!important;opacity:1!important;will-change:auto}}
.timeline-next>.timeline-melt-visual{font:inherit}
.timeline-next>.timeline-melt-visual>span[aria-hidden]{font-size:19px}


/* Desktop About always stays alongside the timeline, even in a short viewport. */
@media(min-width:801px){
 .about-person{position:sticky;top:var(--about-sticky-top,32px);align-self:start}
 .about-person.about-scroll-column{padding-top:max(12px,2svh);max-height:calc(100svh - var(--about-sticky-top,32px) - 8px);overflow-y:auto;overscroll-behavior-y:contain;scrollbar-width:thin;scrollbar-color:#8b7d6640 transparent}
 .about-person.about-scroll-column:focus-visible{outline:1px solid #b3a28b66;outline-offset:7px}
}

/* One painted silhouette: this is the original homepage node, moved intact. */
.about-thread #identity-origin{fill:url(#unified-thread-light)!important;fill-opacity:1;stroke:none}
