@charset "UTF-8";
:root{--paper:#f7f6f0;--surface:#fdfcf8;--ink:#29362e;--body:#546052;--muted:#687261;--green:#4e6952;--green-dark:#344e3c;--sage:#e8eddf;--line:#dde1d4;--orange:#b88555;--sans:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;--serif:Georgia,"Songti SC","STSong",serif;--mono:"SFMono-Regular",Consolas,"Liberation Mono",monospace}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:112px;scrollbar-gutter:stable}body{margin:0;font:14px/1.8 var(--sans);color:var(--ink);background:var(--paper);-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}button,a{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid var(--green);outline-offset:5px;border-radius:3px}::selection{background:#dce7d1;color:#233528}h1,h2,h3,p,ul{margin:0}svg{display:block}.icon{width:20px;height:20px;flex-shrink:0}.small-icon{width:14px;height:14px}.wrap{width:min(1180px,calc(100% - 96px));margin-inline:auto}.skip-link{position:fixed;top:-80px;left:15px;padding:9px 16px;background:var(--green-dark);color:white;z-index:10}.skip-link:focus{top:10px}.site-header{position:sticky;top:0;z-index:5;background:rgba(247,246,240,.96);border-bottom:1px solid var(--line);backdrop-filter:blur(12px)}.header-inner{display:flex;align-items:center;gap:28px;height:88px}.brand{display:flex;align-items:center;gap:11px;font-size:16px;font-weight:600;letter-spacing:1px;line-height:1.4;white-space:nowrap}.brand-mark{font:31px/1 var(--serif);letter-spacing:-3px;border:1px solid #c7d2bd;border-radius:10px;width:43px;height:43px;display:flex;align-items:center;justify-content:center;color:var(--green);padding-right:3px}.brand-mark>span{color:var(--orange)}.brand small{display:block;font-size:8px;font-weight:400;letter-spacing:1.6px;color:var(--muted);margin-top:5px}.site-header nav{display:flex;gap:28px;align-items:center;margin-left:auto;color:var(--body);font-size:12px}.site-header nav>a:hover{color:var(--orange)}.header-export{display:flex;align-items:center;gap:7px;font-size:12px;margin-left:5px;border:1px solid #bdc9b2;border-radius:6px;padding:8px 12px;color:var(--green-dark);white-space:nowrap}.header-export:hover{background:#e7ecde}.header-export .icon{width:16px;height:16px}
.hero{padding-block:73px 65px;display:grid;grid-template-columns:1.1fr 1fr;gap:78px;align-items:center}.eyebrow{display:flex;align-items:center;gap:8px;color:var(--muted);letter-spacing:1.4px;font:9px/1.8 var(--mono)}.tiny-line{width:20px;height:1px;background:var(--orange);display:inline-block;flex-shrink:0}.hero h1{font:500 72px/1.4 var(--serif);letter-spacing:5px;margin-top:20px}.name-dot{color:var(--orange);letter-spacing:0;margin-left:3px}.hero-role{font-size:22px;letter-spacing:1px;color:var(--green-dark);margin-top:4px}.hero-role>span{font-weight:300;color:#a8b19c;margin-inline:6px}.hero-intro{font-size:15px;line-height:2;color:var(--body);margin-top:24px}.hero-support{font-size:12px;line-height:1.9;color:var(--muted);margin-top:5px}.hero-actions{display:flex;align-items:center;gap:12px;margin-top:27px}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:12px 20px;border-radius:6px;font-size:12px;transition:background .2s,transform .2s}.button .icon{width:17px;height:17px}.button-primary{background:var(--green);color:#fffef7;border:1px solid var(--green)}.button-primary:hover{background:var(--green-dark);transform:translateY(-1px)}.button-light{border:1px solid #cdd4c2;background:transparent;color:var(--green-dark)}.button-light:hover{background:#e8eddf}.button-light .small-icon{width:12px;height:12px;margin-left:6px}.hero-contact{display:flex;align-items:center;flex-wrap:wrap;gap:10px 17px;margin-top:19px;font-size:10px;color:var(--muted)}.hero-contact>a{display:flex;align-items:center;gap:5px}.hero-contact .icon{width:13px;height:13px}.hero-degree{border-left:1px solid #cbd4be;padding-left:16px}
.engineering-card{border:1px solid #cdd6c3;border-radius:12px;background:#eef1e6;box-shadow:10px 11px 0 #e7eadf;transform:rotate(1deg);padding:0 24px 0;position:relative}.engineering-top{display:flex;align-items:center;gap:13px;padding:17px 0 14px;border-bottom:1px solid #d4dcc9;font:8px/1.4 var(--mono);letter-spacing:1.4px;color:#637658}.terminal-dots{display:flex;gap:4px}.terminal-dots>i{width:5px;height:5px;border:1px solid #a6b590;border-radius:50%}.engineering-leaf{margin-left:auto;transform:rotate(14deg);color:#7f9368}.engineering-leaf .icon{width:18px;height:18px}.stack-row{display:flex;align-items:center;gap:13px;background:#fbfcf5;border:1px solid #d6ddcc;border-radius:7px;padding:11px 14px}.engineering-top+.stack-row{margin-top:21px}.stack-icon{display:grid;place-items:center;width:35px;height:35px;background:#eaf0df;color:#71875d;border-radius:6px;flex-shrink:0}.stack-icon .icon{width:19px;height:19px}.stack-label{font-size:9px;line-height:1.6;color:#6d7c5f;display:block;letter-spacing:.4px}.stack-row strong{font-size:12px;font-weight:500;line-height:1.7;display:block;color:#3f5740;letter-spacing:0}.stack-order{font:9px var(--mono);color:#a4b18f;margin-left:auto}.stack-connector{height:13px;width:1px;background:#bdcaa9;margin-left:32px}.cluster-stats{display:grid;grid-template-columns:1fr 1fr;margin-top:23px;margin-bottom:19px}.cluster-stats>div+div{border-left:1px solid #cfd9c0;padding-left:25px}.cluster-stats strong{font:34px/1.3 var(--serif);color:#4b6343;display:block}.cluster-stats strong>span{font:10px var(--sans);margin-left:6px}.cluster-stats small{display:block;font-size:8px;letter-spacing:.3px;color:#65765a;margin-top:3px}.engineering-bottom{border-top:1px solid #d4dcc9;padding:11px 0;display:flex;align-items:center;gap:7px;font-size:9px;color:#687c5c}.small-dot{display:block;width:5px;height:5px;border-radius:50%;background:#91a573}.focus-strip{display:flex;align-items:center;gap:32px;padding-block:23px 25px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:11px;color:var(--muted)}.focus-strip>span{font-size:10px;color:#7b826f;white-space:nowrap}.focus-strip>div{display:flex;gap:30px;flex-wrap:wrap;color:#617455;letter-spacing:.4px}
.resume-layout{display:grid;grid-template-columns:175px minmax(0,1fr);gap:60px;margin-top:62px}.contents{align-self:start;position:sticky;top:126px;padding-right:15px}.contents>p{font:9px var(--mono);letter-spacing:1.8px;color:#77816b;margin-bottom:24px}.contents nav{display:grid;gap:9px}.contents nav>a{font-size:12px;color:#727b68;padding:8px 0;display:flex;align-items:center;gap:13px;border-right:2px solid transparent}.contents nav>a>span{font:9px var(--mono);color:#909b81}.contents nav>a:hover{color:var(--green-dark)}.contents nav>a.is-current{color:var(--green-dark);border-right-color:#81956e}.contents nav>a.is-current>span{color:var(--orange)}.side-note{font:15px/1.9 var(--serif);color:#7d896d;letter-spacing:.4px;margin-top:55px}.side-note .icon{margin-top:20px;width:27px;height:27px;transform:rotate(15deg);color:#99aa80}.resume-section{margin-bottom:68px;scroll-margin-top:110px}.section-label{display:flex;align-items:center;gap:11px;font:9px/1.6 var(--mono);letter-spacing:1.6px;color:#77816b}.section-label>span{color:var(--orange);letter-spacing:.5px}.section-heading h2{font:500 29px/1.5 var(--serif);letter-spacing:2px;margin-top:9px}.section-heading>p{font-size:12px;color:var(--muted);margin-top:7px}.section-heading{margin-bottom:25px}.project-card{border:1px solid var(--line);border-radius:9px;background:var(--surface);padding:26px 29px 28px}.project-card+.project-card{margin-top:22px}.project-top{display:flex;align-items:center;gap:12px;margin-bottom:12px}.project-number{font:12px/1.5 var(--mono);color:#95a184;border-right:1px solid #d6decb;padding-right:12px}.project-context{font-size:10px;color:#62794f;letter-spacing:.5px;background:#ebf0e3;padding:3px 8px;border-radius:3px}.project-card h3{font-size:21px;line-height:1.7;font-weight:550;letter-spacing:.3px}.tags{display:flex;flex-wrap:wrap;gap:5px 7px;margin-top:12px}.tags>span{font:9px/1.6 var(--mono);background:#f0f2e9;color:#65735b;padding:4px 7px;border:1px solid #e0e6d5;border-radius:3px}.project-overview{font-size:13px;line-height:2;color:var(--body);margin-top:20px}.detail-list{padding:0;list-style:none;margin-top:18px;display:grid;gap:12px;color:var(--body);font-size:12px;line-height:1.95}.detail-list>li{position:relative;padding-left:16px}.detail-list>li::before{content:"";position:absolute;top:.85em;left:1px;width:4px;height:4px;background:#9bac88;border-radius:1px}.project-result{display:grid;grid-template-columns:1fr 1.1fr;gap:20px;background:#eaf0e2;border:1px solid #d9e2cb;border-radius:6px;padding:17px 19px;margin-top:23px;align-items:center}.result-eyebrow{font-size:9px;color:#60754e;letter-spacing:.2px;display:block}.project-result strong{display:block;font:23px/1.8 var(--serif);color:#4b6640;white-space:nowrap;letter-spacing:-.4px}.project-result>p{font-size:10px;line-height:1.9;color:#5a6c4d;border-left:1px solid #c9d7bb;padding-left:17px}
.skills-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.skill-card{display:flex;align-items:flex-start;gap:12px;padding:21px 18px;border:1px solid var(--line);border-radius:7px;background:#f9f9f2}.skill-icon{color:#7e9168;margin-top:3px}.skill-icon .icon{width:19px;height:19px}.skill-card h3{font-size:14px;font-weight:550;color:#40583e;margin-bottom:8px}.skill-card p{font-size:12px;line-height:1.95;color:var(--body)}.language-card{grid-column:1/-1;background:transparent}.language-card h3{margin-bottom:2px}.education-timeline{padding-left:23px;border-left:1px solid #cbd5bc;margin-left:3px}.education-card{position:relative;padding-bottom:26px}.education-card+.education-card{padding-top:22px;border-top:1px solid var(--line)}.education-dot{width:8px;height:8px;background:#80956a;border:2px solid var(--paper);box-shadow:0 0 0 1px #a0b28a;position:absolute;left:-28px;top:9px;border-radius:50%}.education-card+.education-card .education-dot{top:31px}.education-card:last-child{padding-bottom:0}.education-top{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.education-top h3{font-size:19px;font-weight:550;line-height:1.6;letter-spacing:.3px}.degree{font-size:12px;color:#66765c;margin-top:3px}.degree>span{margin:0 3px;color:#9ba58b}.period{font:10px/2.3 var(--mono);white-space:nowrap;color:#778269;margin-top:3px}.study-metrics{display:flex;flex-wrap:wrap;gap:8px 20px;font-size:11px;color:#65735c;margin-top:12px}.study-details{font-size:11px;line-height:2;color:#69765e;margin-top:8px}.study-details p+p{margin-top:7px}.research-prefix{display:inline-block;color:#4d6a43;font-size:10px;background:#e8eddf;padding:1px 6px;border-radius:2px;margin-right:8px}.research-card{border:1px solid var(--line);border-radius:7px;padding:25px 28px;background:var(--surface)}.research-top{display:flex;gap:12px;align-items:center;margin-bottom:12px}.research-kind{font-size:10px;color:#7c846f}.research-card h3{font-size:19px;font-weight:550;line-height:1.8}.research-card>p{font-size:12px;line-height:1.95;color:var(--body);margin-top:13px}.research-card .detail-list{margin-top:12px;gap:10px}.publication{display:flex;align-items:flex-start;gap:19px;border-bottom:1px solid var(--line);padding-block:27px 23px}.publication-year{font:10px/1.7 var(--mono);color:#997043;background:#eee5d5;padding:5px 8px;border-radius:3px;white-space:nowrap;margin-top:4px}.publication-label{font-size:10px;color:#76816a;margin-bottom:5px}.publication h3{font:15px/1.8 var(--serif);color:#455d3f;letter-spacing:.1px}.publication>.icon{color:#91a17c;flex-shrink:0;margin-left:auto;margin-top:8px}.honor-list{list-style:none;padding:20px 0 0;display:grid;gap:13px;font-size:12px;color:var(--body)}.honor-list>li{display:flex;align-items:flex-start;gap:12px}.honor-list>li>span{font-size:18px;line-height:1.3;color:#b8925b;flex-shrink:0}
.contact-section{border:1px solid #d3ddc7;background:#ebefe3;border-radius:10px;padding:29px 31px 28px;scroll-margin-top:110px}.contact-section h2{font:500 27px/1.7 var(--serif);letter-spacing:1px;margin-top:10px}.contact-intro{font-size:12px;color:#627457;margin-top:8px}.email-row{display:flex;align-items:center;flex-wrap:wrap;gap:13px;margin-top:23px}.email-link{display:flex;align-items:center;gap:10px;font-size:18px;color:#40583d;letter-spacing:.4px}.email-link .icon{width:18px;height:18px}.copy-email{display:flex;gap:5px;align-items:center;border:1px solid #bdcbae;background:transparent;border-radius:4px;font-size:10px;padding:4px 7px;color:#617451}.copy-email .icon{width:12px;height:12px}.copy-email:hover{background:#dfe7d3}.phone-link{display:block;font-size:15px;color:var(--green-dark);margin-top:10px}.contact-actions{display:flex;align-items:center;flex-wrap:wrap;gap:21px;margin-top:22px}.contact-actions .button{font-size:11px;padding:10px 15px}.contact-github{display:flex;align-items:center;gap:8px;font-size:11px;color:#627353}.contact-github .icon{width:13px;height:13px}.download-note{font-size:10px;color:#6d7a60;line-height:1.8;margin-top:14px}.site-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:65px;padding-block:25px 28px;border-top:1px solid var(--line);font-size:10px;color:#707d64}.footer-name{font-size:13px;color:#4c6344}.footer-name>span{font:italic 15px var(--serif);margin-left:9px;color:#8d997a}.site-footer>div{display:flex;gap:24px;align-items:center}.site-footer>div>a{display:flex;align-items:center;gap:5px}.site-footer .icon{width:12px;height:12px}.back-top{border:1px solid #cbd6bc;border-radius:50%;width:27px;height:27px;align-items:center;justify-content:center;font-size:16px}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,15px);padding:10px 17px;border-radius:7px;background:#344b38;color:#fffef5;box-shadow:0 5px 24px #26342525;opacity:0;visibility:hidden;font-size:12px;z-index:8;transition:.2s;pointer-events:none;white-space:nowrap}.toast.is-visible{opacity:1;visibility:visible;transform:translate(-50%,0)}
@media(min-width:1500px){.hero{gap:105px;padding-block:82px 76px}.engineering-card{margin-right:10px}}
@media(max-width:1100px){.wrap{width:calc(100% - 64px)}.hero{gap:38px;padding-block:55px}.hero h1{font-size:64px}.hero-role{font-size:20px}.hero-intro{font-size:13px}.hero-support{font-size:11px}.eyebrow{font-size:8px;letter-spacing:.8px}.engineering-card{padding-inline:19px}.stack-row{gap:10px;padding:10px}.stack-row strong{font-size:10px}.stack-label{font-size:8px}.engineering-top{font-size:7px;gap:10px}.hero-contact{font-size:9px;gap:8px 11px}.hero-degree{padding-left:11px}.focus-strip{gap:24px}.focus-strip>div{gap:20px;font-size:10px}.resume-layout{grid-template-columns:145px minmax(0,1fr);gap:32px}.project-card{padding:23px}.project-card h3{font-size:20px}.project-result{grid-template-columns:1fr;gap:7px;padding:16px 18px}.project-result>p{border-left:0;border-top:1px solid #cfdbbf;padding-left:0;padding-top:9px}.project-result>p>br{display:none}.skill-card{padding:18px 14px;gap:10px}.skill-card p{font-size:11px}.skill-card h3{font-size:13px}.education-top h3{font-size:18px}.period{font-size:9px}.wide-break{display:none}}
@media(max-width:800px){.wrap{width:calc(100% - 44px)}.header-inner{height:77px;gap:18px}.site-header nav{gap:17px;font-size:11px}.header-export{font-size:10px;padding:7px 10px;margin-left:0}.brand{font-size:14px;gap:8px}.brand-mark{width:37px;height:37px;font-size:28px}.brand small{font-size:6px;letter-spacing:1.3px}.hero{grid-template-columns:1fr 1fr;gap:30px;padding-block:48px}.hero h1{font-size:56px;letter-spacing:2px;margin-top:17px}.hero-role{font-size:17px;letter-spacing:0}.hero-role>span{margin-inline:3px}.hero-intro{font-size:12px;line-height:1.95;margin-top:19px}.hero-support{font-size:10px;margin-top:7px}.hero-actions{gap:9px;margin-top:23px}.button{font-size:11px;padding:10px 13px;gap:6px}.button .icon{width:15px;height:15px}.button-light .small-icon{display:none}.hero-contact{display:block;font-size:9px;margin-top:16px}.hero-contact>a{margin-bottom:6px}.hero-degree{border-left:0;padding-left:0}.eyebrow{font-size:6.5px;letter-spacing:.6px;gap:6px}.tiny-line{width:14px}.engineering-card{padding-inline:14px;box-shadow:6px 7px 0 #e7eadf}.engineering-top{font-size:6px;letter-spacing:.5px;gap:7px;padding-block:14px 12px}.terminal-dots{gap:3px}.terminal-dots>i{width:4px;height:4px}.engineering-leaf .icon{width:15px;height:15px}.stack-row{padding:9px 8px;gap:8px}.stack-icon{width:27px;height:27px}.stack-icon .icon{width:16px;height:16px}.stack-label{font-size:7px}.stack-row strong{font-size:9px}.stack-order{display:none}.engineering-top+.stack-row{margin-top:17px}.stack-connector{height:11px;margin-left:23px}.cluster-stats{margin-block:16px 14px}.cluster-stats strong{font-size:29px}.cluster-stats strong>span{font-size:8px}.cluster-stats>div+div{padding-left:17px}.cluster-stats small{font-size:6.8px;letter-spacing:0}.engineering-bottom{font-size:8px;padding-block:9px}.focus-strip{padding-block:18px;gap:20px}.focus-strip>div{gap:10px 18px;font-size:9px}.focus-strip>span{font-size:9px}.resume-layout{grid-template-columns:1fr;margin-top:42px;gap:0}.contents{display:none}.resume-section{margin-bottom:50px}.project-result{grid-template-columns:1fr 1.1fr;gap:18px}.project-result>p{border-left:1px solid #c9d7bb;border-top:0;padding-top:0;padding-left:16px}.project-result>p>br{display:inline}.section-heading h2{font-size:28px}.skill-card p{font-size:12px}.skill-card{padding:21px 17px}.skill-card h3{font-size:14px}.education-top h3{font-size:19px}.period{font-size:10px}.site-footer{margin-top:45px}}
@media(max-width:600px){html{scroll-padding-top:88px}.wrap{width:calc(100% - 36px)}.header-inner{height:73px;gap:10px;justify-content:space-between}.brand{font-size:14px;gap:9px}.brand small{font-size:7px}.site-header nav{display:none}.header-export{font-size:11px;padding:7px 10px;gap:6px}.header-export .icon{width:14px;height:14px}.hero{grid-template-columns:1fr;gap:35px;padding-block:37px 40px}.hero-copy{padding-inline:3px}.eyebrow{font-size:7.5px;letter-spacing:.6px;line-height:1.8}.hero h1{font-size:65px;letter-spacing:3px;line-height:1.4;margin-top:18px}.hero-role{font-size:20px;margin-top:1px;letter-spacing:.3px}.hero-role>span{margin-inline:5px}.hero-intro{font-size:13px;margin-top:20px;line-height:1.95;max-width:355px}.hero-support{font-size:11px;max-width:330px}.hero-actions{gap:11px;margin-top:24px}.button{font-size:12px;padding:11px 17px;gap:9px}.button-light .small-icon{display:block;width:11px;height:11px;margin-left:3px}.hero-contact{display:flex;flex-wrap:wrap;font-size:9px;gap:8px 13px;margin-top:17px}.hero-contact>a{margin:0}.hero-degree{border-left:1px solid #cbd4be;padding-left:12px}.engineering-card{width:calc(100% - 15px);justify-self:center;padding-inline:19px;max-width:420px}.engineering-top{font-size:8px;gap:12px;padding-block:16px 13px;letter-spacing:1px}.terminal-dots{gap:4px}.terminal-dots>i{width:5px;height:5px}.engineering-top+.stack-row{margin-top:20px}.stack-row{gap:12px;padding:11px 12px}.stack-icon{width:32px;height:32px}.stack-icon .icon{width:18px;height:18px}.stack-label{font-size:9px}.stack-row strong{font-size:10.5px;line-height:1.9}.stack-order{display:block;font-size:8px}.stack-connector{margin-left:28px;height:12px}.cluster-stats{margin-block:20px 17px}.cluster-stats strong{font-size:32px}.cluster-stats strong>span{font-size:10px}.cluster-stats small{font-size:7.5px}.cluster-stats>div+div{padding-left:20px}.engineering-bottom{font-size:9px;padding-block:10px}.focus-strip{display:block;padding-block:17px}.focus-strip>div{gap:8px 17px;margin-top:9px;font-size:9px;line-height:1.9}.resume-layout{margin-top:33px}.section-label{font-size:8px;gap:9px;letter-spacing:1.2px}.section-heading{margin-bottom:21px}.section-heading h2{font-size:27px;margin-top:8px}.section-heading>p{font-size:11px;line-height:1.9;margin-top:6px}.project-card{padding:21px 19px 22px;border-radius:8px}.project-card+.project-card{margin-top:18px}.project-top{gap:10px;margin-bottom:10px}.project-context{font-size:9px}.project-number{font-size:10px;padding-right:10px}.project-card h3{font-size:20px;line-height:1.75}.tags{gap:5px 6px;margin-top:11px}.tags>span{font-size:8px;padding:3px 6px;line-height:1.7}.project-overview{font-size:12px;line-height:2;margin-top:17px}.detail-list{font-size:11px;line-height:2;gap:12px;margin-top:15px}.detail-list>li{padding-left:14px}.project-result{grid-template-columns:1fr;gap:7px;padding:14px 15px;margin-top:18px}.result-eyebrow{font-size:9px}.project-result strong{font-size:23px}.project-result>p{border-left:0;border-top:1px solid #cfdbbf;padding:10px 0 0;font-size:10px;line-height:1.9}.project-result>p>br{display:none}.resume-section{margin-bottom:41px;scroll-margin-top:90px}.skills-grid{grid-template-columns:1fr;gap:12px}.skill-card{padding:18px 17px;gap:13px}.skill-card p{font-size:12px;line-height:1.95}.skill-card h3{font-size:14px;margin-bottom:7px}.language-card{grid-column:auto}.skill-icon{margin-top:2px}.education-timeline{padding-left:19px;margin-left:3px}.education-top{display:block}.education-top h3{font-size:19px}.degree{font-size:12px}.period{display:block;font-size:9px;line-height:1.7;margin-top:8px}.education-dot{left:-24px;top:10px}.study-metrics{font-size:10px;gap:5px 12px;margin-top:11px}.study-details{font-size:11px;line-height:2;margin-top:8px}.research-prefix{font-size:9px;display:table;margin-bottom:6px}.education-card{padding-bottom:22px}.education-card+.education-card{padding-top:22px}.education-card+.education-card .education-dot{top:31px}.research-card{padding:20px 19px}.research-card h3{font-size:19px;line-height:1.8}.research-card>p{font-size:12px;margin-top:12px}.research-card .detail-list{font-size:11px}.publication{gap:12px;flex-wrap:wrap;padding-block:22px}.publication-year{font-size:9px;margin:0}.publication>div{order:3;flex:1 0 100%}.publication>.icon{width:17px;height:17px;margin-top:3px}.publication-label{font-size:10px}.publication h3{font-size:15px;line-height:1.85}.honor-list{font-size:11px;padding-top:20px;gap:12px}.honor-list>li{gap:9px}.honor-list>li>span{font-size:17px;line-height:1.5}.contact-section{padding:25px 20px 24px;scroll-margin-top:90px}.contact-section h2{font-size:25px;letter-spacing:0;margin-top:9px}.contact-intro{font-size:11px}.email-row{gap:10px;margin-top:21px}.email-link{font-size:16px;gap:8px;letter-spacing:0}.email-link .icon{width:16px;height:16px}.copy-email{font-size:9px;padding:4px 6px}.copy-email .icon{width:11px;height:11px}.contact-actions{gap:17px;margin-top:20px}.contact-actions .button{font-size:11px;padding:10px 13px}.contact-github{font-size:10px;gap:7px}.contact-github .icon{width:12px;height:12px}.download-note{font-size:9px;line-height:1.9;margin-top:13px}.site-footer{display:flex;flex-wrap:wrap;gap:15px 20px;margin-top:37px;padding-block:22px}.footer-name{font-size:12px}.footer-name>span{font-size:13px;margin-left:6px}.site-footer>p{font-size:9px;order:3;flex:1 0 100%}.site-footer>div{margin-left:auto;gap:16px;font-size:9px}.back-top{width:25px;height:25px}.toast{font-size:11px;max-width:calc(100% - 32px);white-space:normal;text-align:center}}
@media(max-width:370px){.wrap{width:calc(100% - 30px)}.eyebrow{font-size:6.5px}.hero h1{font-size:60px}.hero-role{font-size:18px}.hero-role>span{margin-inline:4px}.hero-degree{border-left:0;padding-left:0;flex-basis:100%}.hero-contact{font-size:9px}.engineering-card{padding-inline:15px}.engineering-top{font-size:7px}.stack-row strong{font-size:9px}.stack-label{font-size:8px}.stack-row{gap:10px}.cluster-stats small{font-size:6.5px}.contact-section{padding-inline:16px}.email-link{font-size:14px}.copy-email{gap:4px}.project-result strong{font-size:21px}.contact-actions{gap:14px}}
#honors .publication{padding-top:0}
.publication-link{display:inline-flex;align-items:center;gap:6px;margin-top:10px;font-size:11px;line-height:1.8;color:#506747;text-underline-offset:4px}.publication-link .icon{width:13px;height:13px;flex-shrink:0}.publication-link:hover{text-decoration:underline}.publication-link:focus-visible{outline:2px solid #789267;outline-offset:4px;border-radius:2px}
.contact-section .phone-link{display:flex;align-items:center;gap:10px;font-size:18px;margin-top:23px;color:#40583d}
.contact-section .phone-link .icon{width:18px;height:18px}
.contact-section .phone-link+.email-row{margin-top:15px}
@media(max-width:600px){.contact-section .phone-link{font-size:16px;gap:8px;margin-top:21px}.contact-section .phone-link .icon{width:16px;height:16px}}
@media(max-width:370px){.contact-section .phone-link{font-size:14px}}
.resume-section,.contact-section{scroll-margin-top:0}
.print-contact{display:none}
@media print{.print-contact{display:block;font-size:9pt;line-height:1.8;color:#333;margin-top:9pt}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
@media print{@page{size:A4;margin:15mm}html{scroll-behavior:auto}body{background:#fff;font-size:10pt;color:#222}.site-header,.contents,.engineering-card,.focus-strip,.hero-actions,.hero-contact,.contact-section,.site-footer,.toast,.skip-link{display:none!important}.wrap{width:100%;max-width:none}.hero{display:block;padding:0 0 16pt}.hero h1{font-size:28pt;margin:0;line-height:1.3}.hero-role{font-size:13pt}.hero-intro{font-size:10pt;line-height:1.6;margin-top:8pt}.hero-support{display:none}.resume-layout{display:block;margin:0}.resume-section{margin-bottom:18pt}.section-heading{margin-bottom:9pt}.section-heading h2{font-size:16pt}.section-label,.section-heading>p{display:none}.project-card,.research-card{border:0;border-top:1px solid #ccc;padding:10pt 0;background:#fff;border-radius:0}.project-card h3,.research-card h3{font-size:12pt}.project-overview,.detail-list,.research-card>p,.skill-card p,.study-details{font-size:9pt;line-height:1.6}.project-result{background:#f4f6ee;break-inside:avoid}.project-top,.tags{break-after:avoid}.project-card h3,.education-top,.skill-card h3,.research-card h3{break-after:avoid}.detail-list>li{break-inside:avoid}.skills-grid{display:block}.skill-card{padding:7pt 0;border:0;background:#fff;break-inside:avoid}.skill-icon{display:none}.skill-card h3{font-size:11pt}.education-card{break-inside:avoid}.education-top h3{font-size:12pt}.publication,.honor-list>li{break-inside:avoid}.publication h3{font-size:10pt}.honor-list{font-size:9pt}.project-result strong{font-size:14pt}}

/* Technical notes share the site's quiet paper and green palette. */
.notes-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.note-card{display:flex;flex-direction:column;padding:28px;background:#fbfbf5;border:1px solid #dce2d2;border-radius:10px;min-width:0}.note-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;font:11px/1.7 var(--mono);color:#6e7b63}.note-card h3{font-size:23px;line-height:1.65;margin:22px 0 12px}.note-card h3 a{text-decoration:none}.note-card h3 a:hover{color:#567346}.note-card>p{font-size:14px;line-height:1.9;color:#667260;margin:0 0 20px}.note-card .tags{margin-top:auto}.note-read{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #dce2d2;padding-top:17px;margin-top:25px;font-size:13px;color:#46643b}.note-read:hover{text-decoration:underline}.notes-index-link{margin-top:23px;font-size:13px}.notes-index-link a{display:inline-flex;align-items:center;gap:8px}.docs-index-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-block:25px;border-bottom:1px solid #dce2d2;font-size:13px}.docs-index{max-width:960px;padding-top:60px;min-height:60vh}.docs-index h1{font-size:42px;line-height:1.4;margin:12px 0}.docs-index .section-heading>p{max-width:640px}.note-card a:focus-visible{outline:2px solid #789267;outline-offset:4px}
@media(max-width:650px){.notes-grid{grid-template-columns:1fr;gap:17px}.note-card{padding:23px}.note-card h3{font-size:22px;margin-top:18px}.note-card>p{font-size:14px}.docs-index{padding-top:32px}.docs-index h1{font-size:32px}}
@media print{#notes{display:none!important}}
/* Notes read like the other compact panels, with one article per row. */
.notes-grid{grid-template-columns:1fr;gap:14px}
.note-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 24px;padding:23px 26px}
.note-meta{grid-column:1/-1;justify-content:flex-start;gap:16px}
.note-card h3{grid-column:1/-1;font-size:22px;line-height:1.6;margin:0;font-weight:550}
.note-card>p{grid-column:1/-1;font-size:15px;line-height:1.9;margin:0}
.note-card .tags{margin:0;align-self:center}
.note-read{border:0;padding:0;margin:0;gap:14px;align-self:center;font-size:14px}
@media(max-width:650px){.note-card{padding:20px;gap:12px 15px}.note-card h3{font-size:21px}.note-card>p{font-size:15px}.note-read{grid-column:1/-1;justify-content:flex-start;margin-top:3px}}
@supports not (scrollbar-gutter:stable){html{overflow-y:scroll}}
/* Worksheet-style navigation: one visible panel at a time. */
.sheet-mode [hidden]{display:none!important}
.site-header .header-inner{height:auto;min-height:84px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:0;padding-top:18px}
.site-header .brand{margin-bottom:18px}.site-header .header-export{margin-left:auto;margin-bottom:18px}
.site-header .sheet-tabs{order:3;display:flex;flex:0 0 100%;gap:5px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;padding:0 0 0;align-items:stretch}
.site-header .sheet-tabs a{position:relative;flex:0 0 auto;padding:13px 22px 14px;font-size:12px;line-height:1.5;border:1px solid transparent;border-bottom:0;border-radius:7px 7px 0 0;white-space:nowrap;color:#6e7569;text-decoration:none}
.site-header .sheet-tabs a[aria-selected="true"]{color:#344f35;background:#eaf0e1;border-color:#d7dfcd;font-weight:600}
.site-header .sheet-tabs a[aria-selected="true"]:after{content:"";position:absolute;bottom:0;left:16px;right:16px;height:3px;background:#6e875b;border-radius:2px 2px 0 0}
.site-header .sheet-tabs a:hover{background:#f0f2e9;color:#344f35}
.site-header .sheet-tabs a:focus-visible{outline:2px solid #789267;outline-offset:-4px}
.sheet-mode main{min-height:calc(100svh - 240px)}
.sheet-mode .resume-layout{display:block;max-width:960px;margin:42px auto 0}
.sheet-mode .resume-section{margin-bottom:40px}.sheet-mode .contact-section{margin-bottom:40px}
/* Fragment destinations are containers, not interactive controls. */
.sheet-mode [role="tabpanel"]:focus{outline:none}
.sheet-mode .site-footer{margin-top:48px}
@media(max-width:600px){.site-header .header-inner{min-height:0;padding-top:14px}.site-header .brand,.site-header .header-export{margin-bottom:14px}.site-header .sheet-tabs{gap:2px}.site-header .sheet-tabs a{font-size:11px;padding:12px 15px}.sheet-mode .resume-layout{margin-top:29px}.sheet-mode .site-footer{margin-top:32px}.sheet-mode main{min-height:calc(100svh - 260px)}}
@media print{.sheet-mode [hidden]{display:block!important}.sheet-mode .resume-layout{margin-top:0}.sheet-mode main{min-height:0}.sheet-mode .resume-section{margin-bottom:18pt}}

/* Personal photographs and a quiet, full-size gallery viewer. */
.hero-photo{margin:0;padding:10px 10px 0;background:#fffdf7;border:1px solid #e1e3d6;border-radius:17px;box-shadow:0 14px 38px #34462b0d;align-self:center;min-width:0}
.photo-open{display:block;position:relative;width:100%;padding:0;border:0;background:#e7e9df;cursor:zoom-in;color:inherit;overflow:hidden;border-radius:10px}
.photo-open img{display:block;width:100%;height:auto;transition:transform .35s ease}
.hero-photo .photo-open img{aspect-ratio:6/5;object-fit:cover;object-position:42% center}
.photo-open:hover img{transform:scale(1.025)}
.photo-open:focus-visible{outline:3px solid #6e875b;outline-offset:4px}
.photo-zoom{position:absolute;right:14px;bottom:14px;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#fffdf7e8;color:#3e543d;font-size:18px;box-shadow:0 2px 8px #0001}
.hero-photo figcaption{display:flex;justify-content:space-between;align-items:center;padding:18px 7px;gap:12px;font-size:12px;color:#65705d}
.hero-photo figcaption>a{display:inline-flex;align-items:center;gap:6px;font-size:11px}.hero-photo figcaption .icon{width:14px;height:14px}
.photo-grid{columns:2;column-gap:25px}.photo-card{break-inside:avoid;margin:0 0 25px;padding:9px 9px 0;background:#fffdf7;border:1px solid #e1e3d6;border-radius:12px}
.photo-card figcaption{display:flex;justify-content:space-between;align-items:center;padding:15px 7px;font-size:12px;color:#58654f}.photo-caption-mark{color:#94a085}
body.photo-viewing{overflow:hidden}
.photo-viewer{position:fixed;inset:0;margin:0;border:0;padding:0;width:100%;max-width:none;height:100dvh;max-height:none;background:#151b16f5;color:#f3f3e9}
.photo-viewer::backdrop{background:#151b16e8}
.viewer-toolbar{display:flex;justify-content:space-between;align-items:center;height:74px;padding:18px 32px;font:13px/1.5 var(--mono)}
.photo-viewer button{cursor:pointer;border:1px solid #ffffff40;background:#ffffff0d;color:#fff;border-radius:8px;line-height:1}
.viewer-close{font-size:13px;padding:12px 16px}.photo-viewer button:focus-visible{outline:2px solid #f4e3b4;outline-offset:4px}
.viewer-stage{height:calc(100% - 74px);display:grid;grid-template-columns:60px minmax(0,1fr) 60px;gap:20px;align-items:center;padding:0 24px 25px}
.viewer-stage figure{margin:0;min-width:0;text-align:center}.viewer-stage img{display:block;max-width:100%;max-height:calc(100dvh - 170px);width:auto;height:auto;margin:auto;object-fit:contain;border-radius:3px}
.viewer-stage figcaption{font-size:13px;line-height:1.8;margin-top:18px;color:#e1e6d9}
.viewer-prev,.viewer-next{height:56px;font-size:34px}.viewer-stage #viewer-status{font-size:12px;color:#e9d5a8}
@media(max-width:600px){.hero-photo{width:100%;max-width:460px;justify-self:center;padding:8px 8px 0;border-radius:13px}.hero-photo figcaption{font-size:11px;padding:15px 5px}.hero-photo .photo-open img{aspect-ratio:4/3}.photo-grid{columns:1}.photo-card{margin-bottom:20px}.viewer-toolbar{height:64px;padding:12px 18px}.viewer-stage{height:calc(100% - 64px);grid-template-columns:36px minmax(0,1fr) 36px;gap:6px;padding:0 8px 20px}.viewer-prev,.viewer-next{height:44px;font-size:27px}.viewer-stage img{max-height:calc(100dvh - 155px)}.viewer-stage figcaption{font-size:12px}.viewer-close{padding:12px}}
@media(prefers-reduced-motion:reduce){.photo-open img{transition:none}}
@media print{.hero-photo,.life-section,.photo-viewer{display:none!important}}

/* Short tabs use a readable, compact canvas sized to their content. */
@media screen{
.sheet-mode.compact-page main{min-height:0}
.sheet-mode.compact-page .resume-layout{max-width:820px;margin-top:30px}
.sheet-mode.compact-page .resume-section,.sheet-mode.compact-page .contact-section{margin-bottom:0}
.sheet-mode.compact-page .site-footer{max-width:820px;margin-top:28px;padding-block:20px}
.compact-page .section-heading{margin-bottom:20px}
.compact-page .section-heading h2{font-size:30px;margin-top:6px}
.compact-page .section-label{font-size:10px}
.compact-page .education-timeline{padding:0;border:0;margin:0;display:grid;gap:14px}
.compact-page .education-card,.compact-page .education-card+.education-card{padding:23px 26px;border:1px solid #dce2d2;border-radius:10px;background:#fbfbf5}
.compact-page .education-dot{display:none}
.compact-page .education-top h3{font-size:22px}
.compact-page .degree{font-size:14px;margin-top:5px}
.compact-page .period{font-size:11px}
.compact-page .study-metrics{margin-top:16px;gap:8px;font-size:12px}
.compact-page .study-metrics>span{padding:5px 10px;border-radius:4px;background:#eaf0e1;color:#4c6441}
.compact-page .study-details{font-size:13px;line-height:1.85;margin-top:13px}
.compact-page .study-details:empty{display:none}
.compact-page .research-prefix{font-size:11px}
.compact-page .skills-grid{gap:14px}
.compact-page .skill-card{padding:22px 20px;gap:13px;background:#fbfbf5;border-radius:10px}
.compact-page .skill-card h3{font-size:16px;margin-bottom:10px}
.compact-page .skill-card p{font-size:13px;line-height:1.85}
.compact-page .language-card{padding:17px 20px;background:#eff3e9}
.compact-page .research-card{padding:27px;border-radius:10px;background:#fbfbf5}
.compact-page .research-card h3{font-size:23px;line-height:1.6}
.compact-page .research-card>p{font-size:14px;line-height:1.9;margin-top:15px}
.compact-page .research-kind,.compact-page .research-card .project-context{font-size:11px}
.compact-page .research-card .detail-list{grid-template-columns:1fr 1fr;gap:14px;margin-top:22px;font-size:13px;line-height:1.9}
.compact-page .research-card .detail-list>li{padding:18px;background:#edf2e6;border-radius:7px;border-top:2px solid #a6b995}
.compact-page .research-card .detail-list>li:before{display:none}
.compact-page #honors .publication{padding:24px;border:1px solid #d9e1cd;border-radius:10px;background:#edf2e6;gap:16px}
.compact-page .publication h3{font-size:21px;line-height:1.6}
.compact-page .publication-label{font-size:11px;margin-bottom:8px}
.compact-page .publication-link{font-size:12px;margin-top:14px}
.compact-page .publication-year{font-size:11px}
.compact-page .honor-list{grid-template-columns:1fr 1fr;gap:12px;padding-top:16px;font-size:13px;line-height:1.85}
.compact-page .honor-list>li{padding:18px;background:#fbfbf5;border:1px solid #dce2d2;border-radius:8px;gap:10px}
.compact-page .honor-list>li>span{margin-top:3px}
.compact-page #contact{display:grid;grid-template-columns:1fr 1.15fr;gap:28px;align-items:center;padding:36px 30px;border-radius:12px}
.compact-page .contact-copy h2{font-size:29px;line-height:1.55;max-width:260px;margin-top:14px}
.compact-page .contact-intro{font-size:13px;line-height:1.9;margin-top:15px;max-width:290px}
.compact-page .contact-methods{padding-left:26px;border-left:1px solid #cdd8bf;min-width:0}
.compact-page .contact-methods .phone-link{margin-top:0;font-size:20px}
.compact-page .contact-methods .email-row{margin-top:20px;gap:10px}
.compact-page .contact-methods .email-link{font-size:18px;letter-spacing:0}
.compact-page .contact-methods .copy-email{padding:8px;font-size:11px}
.compact-page .contact-methods .contact-actions{margin-top:23px}
.compact-page .contact-methods .contact-github{font-size:13px}
}
@media screen and (max-width:600px){
.sheet-mode.compact-page .resume-layout{margin-top:23px}
.sheet-mode.compact-page .site-footer{margin-top:24px;padding-block:18px}
.compact-page .section-heading h2{font-size:27px}
.compact-page .education-card,.compact-page .education-card+.education-card{padding:20px}
.compact-page .education-top h3{font-size:21px}
.compact-page .period{font-size:10px}
.compact-page .degree{font-size:13px}
.compact-page .study-metrics{font-size:11px;margin-top:12px}
.compact-page .study-details{font-size:12px}
.compact-page .research-card{padding:21px}
.compact-page .research-card h3{font-size:21px}
.compact-page .research-card>p{font-size:13px}
.compact-page .research-card .detail-list{grid-template-columns:1fr;gap:12px;margin-top:18px}
.compact-page .research-card .detail-list>li{padding:15px}
.compact-page #honors .publication{padding:20px}
.compact-page .publication h3{font-size:19px}
.compact-page .honor-list{grid-template-columns:1fr;gap:10px}
.compact-page .honor-list>li{padding:15px}
.compact-page #contact{grid-template-columns:1fr;padding:26px 23px;gap:23px}
.compact-page .contact-copy h2{font-size:28px;max-width:none}
.compact-page .contact-intro{max-width:none;margin-top:12px}
.compact-page .contact-methods{border-left:0;border-top:1px solid #cdd8bf;padding:23px 0 0}
.compact-page .contact-methods .phone-link{font-size:19px}
.compact-page .contact-methods .email-link{font-size:17px}
}

/* Readable type and a mobile navigation grid with every destination visible. */
@media screen {
body{font-size:16px}
.site-header .sheet-tabs a{font-size:14px;padding:12px 16px}
.header-export,.button{font-size:14px}
.hero-intro{font-size:17px}.hero-support{font-size:15px}.hero-contact{font-size:13px}
.focus-strip,.focus-strip>div{font-size:13px}.focus-strip>span{font-size:12px}
.section-heading>p{font-size:15px}.section-label,.compact-page .section-label{font-size:11px}
.project-overview,.detail-list,.compact-page .skill-card p,.compact-page .study-details,.compact-page .research-card>p,.compact-page .research-card .detail-list,.compact-page .honor-list,.compact-page .contact-intro{font-size:16px;line-height:1.9}
.compact-page .skill-card h3{font-size:18px}.compact-page .degree{font-size:16px}
.compact-page .study-metrics{font-size:14px}.period,.compact-page .period{font-size:12px}
.tags>span{font-size:12px}.project-context,.research-kind,.compact-page .research-kind,.compact-page .research-card .project-context,.compact-page .research-prefix{font-size:12px}
.result-eyebrow,.project-result>p{font-size:13px}.project-result strong{font-size:26px}
.compact-page .publication-label,.compact-page .publication-year{font-size:13px}.compact-page .publication-link{font-size:14px}
.compact-page .contact-methods .contact-github{font-size:15px}.compact-page .contact-methods .copy-email{font-size:13px}
.photo-card figcaption,.hero-photo figcaption{font-size:16px;line-height:1.7;gap:14px}
.photo-card figcaption>span:first-child{min-width:0}.photo-caption-mark{flex-shrink:0}
.hero-photo figcaption>a{font-size:14px}.site-footer{font-size:12px}.footer-name{font-size:15px}
}
@media screen and (max-width:900px) {
.site-header .sheet-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;overflow:visible;margin:0;padding-bottom:10px}
.site-header .sheet-tabs a{font-size:14px;text-align:center;padding:10px 3px;border:1px solid transparent;border-radius:7px;white-space:normal;word-break:keep-all;display:flex;justify-content:center;align-items:center;min-height:42px}
.site-header .sheet-tabs a[aria-selected="true"]:after{display:none}
html{scroll-padding-top:180px}
}
@media screen and (max-width:600px) {
.site-header .header-inner{padding-top:12px}.site-header .brand,.site-header .header-export{margin-bottom:12px}
.header-export{font-size:12px}.hero-intro{font-size:16px}.hero-support{font-size:15px}.hero-contact{font-size:12px}
.hero-degree{border:0;padding-left:0;flex-basis:100%}.eyebrow{font-size:9px}
.compact-page .education-top{flex-direction:column;gap:2px}.compact-page .period{margin-top:2px}
.compact-page .study-metrics{font-size:13px}.compact-page .research-card .detail-list>li{padding:16px}
.compact-page .contact-methods .email-link{font-size:18px}
.project-result{grid-template-columns:1fr}.project-result>p{border:0;border-top:1px solid #c9d7bb;padding:10px 0 0}
.photo-card figcaption{padding:15px 7px 17px}.photo-open:hover img{transform:none}
}
@media screen and (max-width:359px) {
.site-header .sheet-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}
html{scroll-padding-top:225px}
.compact-page .contact-methods .email-link{font-size:16px}
}
/* Full-screen viewer: stationary caption, larger image, subtle pagination. */
.photo-viewer[open]{display:flex;flex-direction:column;background:#101611}
.viewer-toolbar{flex:none;height:68px;padding:14px 26px;font-size:14px}
.viewer-close{font-size:14px;min-height:44px}
.viewer-stage{flex:1;min-height:0;height:auto;padding:4px 24px;gap:24px}
.viewer-stage .viewer-frame{height:100%;min-height:0;display:flex;align-items:center;justify-content:center}
.viewer-stage img{max-height:100%;max-width:100%;object-fit:contain;border-radius:2px;will-change:transform}
.viewer-details{flex:none;text-align:center;padding:14px 24px 20px}
#viewer-caption{font-size:17px;line-height:1.65;color:#edf0e8;max-width:850px;margin:auto;overflow-wrap:anywhere}
#viewer-status{font-size:13px;line-height:1.5;color:#c6cfb9;min-height:20px;margin-top:4px}
.viewer-dots{display:flex;justify-content:center;align-items:center;gap:2px;margin:3px auto 0}
.photo-viewer .viewer-dot{width:34px;height:32px;display:grid;place-items:center;border:0;background:transparent;padding:0}
.viewer-dot:before{content:"";height:5px;width:5px;border-radius:5px;background:#6c7869;transition:width .15s}
.viewer-dot[aria-current="true"]:before{width:19px;background:#e3e9d9}
.viewer-hint{display:none}
@media(max-width:900px),(pointer:coarse) {
.viewer-toolbar{padding:calc(10px + env(safe-area-inset-top)) 18px 10px;height:auto;min-height:64px}
.viewer-stage{display:flex;padding:0;gap:0;touch-action:pan-y pinch-zoom}
.viewer-stage .viewer-frame{width:100%;margin:0}
.viewer-stage .viewer-prev,.viewer-stage .viewer-next{display:none}
.viewer-stage img{max-width:100%;border-radius:0}
.viewer-details{padding:16px 20px calc(18px + env(safe-area-inset-bottom))}
#viewer-caption{font-size:16px;line-height:1.7}
.photo-viewer .viewer-dot{height:36px}
.viewer-hint{display:block;font-size:12px;color:#a5b29d;letter-spacing:.5px;margin-top:4px}
}
@media(max-height:500px) {
.viewer-toolbar{min-height:44px;height:44px;padding-block:3px}
.viewer-details{padding:5px 16px}.viewer-dots{margin:0}.viewer-hint{display:none}
#viewer-caption{font-size:14px}#viewer-status:empty{display:none}
.photo-viewer .viewer-dot{height:24px}
}

/* Keep the combined project anchor clear of the sticky header. */
#projects #research{scroll-margin-top:155px}
.viewer-dots{width:100%;max-width:360px}
.photo-viewer .viewer-dot{flex:0 1 30px;min-width:20px}
@media(max-width:900px){#projects #research{scroll-margin-top:185px}}
@media(max-width:359px){#projects #research{scroll-margin-top:230px}}

/* A welcoming home with its contact details in one place. */
.nav-toggle{display:none}
.home-welcome{font-size:19px;color:var(--green);font-family:var(--serif);margin-bottom:20px;letter-spacing:1px}
.home-contact{border-top:1px solid var(--line);margin-top:26px;padding-top:19px;scroll-margin-top:100px}
.home-contact-label{font-size:14px;color:var(--muted);margin-bottom:12px}
.home-contact .phone-link{display:flex;gap:9px;align-items:center;font-size:16px;margin:0}
.home-contact .email-row{margin-top:9px;gap:12px}
.home-contact .email-link{font-size:16px;letter-spacing:0;overflow-wrap:anywhere}
.home-contact .copy-email{font-size:12px;padding:7px 9px;min-height:36px}
.home-contact .icon{width:16px;height:16px}
.education-heading{display:flex;justify-content:space-between;gap:24px;align-items:center;margin-bottom:20px}
.education-heading .section-heading{margin-bottom:0}
.education-portrait{width:68px;height:auto;aspect-ratio:5/7;object-fit:cover;border:4px solid var(--surface);border-radius:8px;box-shadow:0 2px 12px #34462b12}
.home-enter .hero-copy{animation:home-arrive .65s ease-out both}
.home-enter .hero-photo{animation:home-arrive .8s .12s ease-out both}
.home-enter .focus-strip{animation:home-arrive .65s .22s ease-out both}
@keyframes home-arrive{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
@media screen and (max-width:900px){
.site-header .header-inner{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;padding-block:10px;min-height:64px}
.site-header .brand,.site-header .header-export{margin:0}
.site-header .brand{grid-column:1;font-size:14px;gap:8px;min-width:0}
.site-header .brand small{display:none}.site-header .brand-mark{width:34px;height:34px;font-size:27px}
.site-header .header-export{grid-column:2;grid-row:1;font-size:12px;padding:8px 9px}
.nav-toggle{grid-column:3;grid-row:1;display:flex;align-items:center;justify-content:center;gap:5px;min-height:40px;padding:6px 10px;border:1px solid #d1d9c8;border-radius:6px;background:transparent;color:var(--green-dark);font-size:13px}
.nav-chevron{font-size:17px;line-height:1;transition:transform .2s}.nav-toggle[aria-expanded=true] .nav-chevron{transform:rotate(180deg)}
.site-header .sheet-tabs{display:none;grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:8px 0 2px}
.site-header.menu-open .sheet-tabs{display:grid}
.site-header .sheet-tabs a{font-size:14px;min-height:42px;padding:10px 3px}
html{scroll-padding-top:80px}#projects #research{scroll-margin-top:84px}
.home-welcome{font-size:18px;margin-bottom:16px}
.home-contact{scroll-margin-top:85px}.education-portrait{width:62px}
}
@media screen and (max-width:600px){
.hero{padding-top:30px;gap:28px}.hero h1{margin-top:14px}
.home-contact{padding-top:16px;margin-top:22px}.home-contact .email-link{font-size:16px}
.home-contact .email-row{gap:8px}.education-heading{gap:14px}
}
@media print{.home-welcome,.home-contact,.education-portrait{display:none}.home-enter .hero-copy,.home-enter .hero-photo,.home-enter .focus-strip{animation:none}}
/* Locally hosted PhotoSwipe; no edge arrows on mobile. */
.personal-gallery{--pswp-bg:#101611;--pswp-icon-color:#edf0e8;--pswp-icon-color-secondary:#101611;--pswp-root-z-index:10000}
.personal-gallery .pswp__top-bar{padding-top:env(safe-area-inset-top)}
.personal-gallery .pswp__counter{font-size:14px;opacity:1;margin-left:20px}
.personal-gallery .pswp__photo-caption{position:absolute;bottom:0;left:0;width:100%;padding:16px 24px calc(20px + env(safe-area-inset-bottom));text-align:center;color:#edf0e8;background:linear-gradient(transparent,#101611bb);pointer-events:none}
.gallery-caption-text{font-size:17px;line-height:1.7;max-width:850px;margin:auto}
.gallery-gesture-hint{display:none;font-size:12px;color:#abb7a2;margin-top:9px;letter-spacing:.5px}
.personal-gallery .pswp__button:focus-visible{outline:2px solid #e2e8d7;outline-offset:-5px}
@media(max-width:900px),(pointer:coarse){
.personal-gallery .pswp__button--arrow{display:none!important}
.gallery-caption-text{font-size:16px}.gallery-gesture-hint{display:block}
.personal-gallery .pswp__photo-caption{padding-inline:20px}
}

/* A notebook greeting followed by a centered photo introduction. */
.welcome-row{display:flex;align-items:center;gap:10px;margin-bottom:20px}
.home-welcome{margin:0;display:flex;align-items:center;gap:9px;white-space:nowrap}
.hello-hand{display:inline-block;font:28px/1.3 var(--sans);transform-origin:75% 80%}
.welcome-text{display:inline-block;clip-path:inset(0)}
.replay-intro{display:grid;place-items:center;flex-shrink:0;width:32px;height:32px;border:1px solid #dbe1d2;background:transparent;border-radius:50%;color:#75896b;font-size:21px;line-height:1;transition:background .2s}
.replay-intro:hover{background:#e7eddc}.replay-intro:active{transform:rotate(-30deg)}
.hero h1{position:relative;isolation:isolate;width:max-content;perspective:700px}
.hero h1:after{content:"";position:absolute;left:3px;right:8px;bottom:9px;border-bottom:7px solid #d5b58a;border-radius:50%;transform:rotate(-3deg);opacity:.45;z-index:-1;transform-origin:left}
.name-letter,.name-dot{display:inline-block;transform-origin:50% 100%}
/* One sequence: readable copy, supporting links, then the photograph. */
.motion-readable{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.intro-visual{display:inline}.hero-role>.intro-visual{margin:0}.hero-copy .eyebrow .intro-visual{min-width:0}
.intro-char{opacity:1}
.home-enter .hero-copy,.home-enter .hero-photo,.home-enter .focus-strip{animation:none}
.home-enter .intro-char{animation:character-reveal 160ms var(--reveal-at) both}
.home-enter .hello-hand{animation:hello-wave 1.7s .1s ease-in-out both}
.home-enter .hero h1:after{animation:ink-stroke .6s 1.1s ease-out both}
.home-enter .hero-actions,.home-enter .home-contact{animation:note-reveal .38s var(--copy-done) ease-out both}
.home-enter .focus-strip{animation:note-reveal .5s var(--copy-done) ease-out both}
@keyframes character-reveal{from{opacity:0}to{opacity:1}}
.hero-photo{position:relative;transform-origin:50% 8%}
.hero-photo:before{content:"";position:absolute;top:-10px;left:calc(50% - 36px);width:72px;height:25px;z-index:1;background:#e4d7b6c9;border-left:1px dashed #ccb78b;border-right:1px dashed #ccb78b;transform:rotate(-7deg);pointer-events:none}
.hero-photo.photo-waiting{opacity:0;pointer-events:none}
/* The floating copy lives above the page without capturing taps or scrolling. */
.intro-photo-backdrop{position:fixed;inset:0;z-index:9000;pointer-events:none;background:rgba(247,246,240,.5)}
.intro-photo-flight{position:fixed;left:0;top:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;overflow:hidden;z-index:9001;pointer-events:none;transform-origin:0 0;will-change:transform,opacity}
.intro-photo-flight img{display:block;width:100%;height:100%;object-fit:cover;object-position:42% center;transition:none}
@media print{.intro-photo-flight,.intro-photo-backdrop{display:none!important}}
@media(prefers-reduced-motion:reduce){.hero-photo.photo-waiting{opacity:1;pointer-events:auto}.intro-char{opacity:1!important}}
@media print{.hero-photo.photo-waiting,.intro-char{opacity:1!important}.motion-readable{display:none!important}}
@keyframes hello-wave{0%,100%{transform:rotate(0)}18%,50%{transform:rotate(22deg)}34%,66%{transform:rotate(-13deg)}82%{transform:rotate(10deg)}}
@keyframes hello-write{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0)}}
@keyframes name-unfold{0%{opacity:0;transform:translateY(28px) rotateX(-80deg) rotate(-10deg)}65%{opacity:1;transform:translateY(-7px) rotateX(0) rotate(3deg)}100%{opacity:1;transform:none}}
@keyframes dot-hop{0%{opacity:0;transform:translateY(-60px)}35%{opacity:1;transform:translateY(0) scale(1.25,.75)}60%{transform:translateY(-22px)}80%{transform:translateY(0) scale(1.1,.9)}100%{opacity:1;transform:none}}
@keyframes ink-stroke{from{transform:rotate(-3deg) scaleX(0)}to{transform:rotate(-3deg) scaleX(1)}}
@keyframes note-reveal{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:none}}
@keyframes photo-settle{0%{opacity:0;transform:translateY(38px) rotate(-9deg) scale(.92)}55%{opacity:1;transform:translateY(-5px) rotate(3deg) scale(1)}80%{transform:translateY(0) rotate(-1.5deg)}100%{opacity:1;transform:none}}
@media(max-width:600px){.welcome-row{gap:6px;margin-bottom:16px}.home-welcome{font-size:16px;gap:6px}.hello-hand{font-size:25px}.replay-intro{width:30px;height:30px}.hero h1:after{border-bottom-width:6px}}
@media(max-width:359px){.home-welcome{font-size:14px;letter-spacing:.3px}.hello-hand{font-size:22px}}
@media(prefers-reduced-motion:reduce){.welcome-text{clip-path:none!important}.hero h1:after{transform:rotate(-3deg)}.replay-intro{display:none}}
@media print{.welcome-row,.hero-photo:before,.hero h1:after{display:none}.name-letter,.name-dot{animation:none!important;opacity:1!important;transform:none!important}}

/* Keep the organic shape for the entrance; the resting photo uses its original frame. */
.hero-photo{--photo-shape:26% 16% 24% 14% / 19% 27% 17% 25%}
.intro-photo-flight{border-radius:26% 16% 24% 14% / 19% 27% 17% 25%}
@media screen and (min-width:901px){
.hero.wrap{width:min(1002px,calc(100% - 80px))}
.hero{grid-template-columns:minmax(0,.94fr) minmax(0,1fr);gap:32px;padding-block:28px 26px;align-items:center}
.hero-copy{min-width:0}
.hero-photo{width:100%;max-width:510px;justify-self:start}
.hero-photo .photo-open img{aspect-ratio:.91/1;object-position:42% center}
}
@media screen and (min-width:1500px){.hero{gap:32px;padding-block:32px 28px}}

/* Let the mobile photo grow beyond the viewport without creating horizontal scrolling. */
.intro-photo-stage{position:fixed;inset:0;z-index:9000;overflow:hidden;contain:paint;pointer-events:none}
.intro-photo-stage .intro-photo-flight,.intro-photo-stage .intro-photo-backdrop{position:absolute}
@media print{.intro-photo-stage{display:none!important}}

/* The mobile navigation overlays content; opening it never changes header height. */
@media screen and (max-width:900px){
.site-header .sheet-tabs{position:absolute;top:100%;left:0;right:0;grid-column:auto;padding:10px 18px 12px;background:var(--paper);border-bottom:1px solid var(--line);box-shadow:0 10px 18px #34462b0d;overflow-x:visible}
.site-header .sheet-tabs a{border-radius:6px}
}

/* A short snapshot of work and study at the moment. */
.now-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:stretch}
.now-item{min-width:0;padding:22px 24px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}
.now-primary{background:#eef2e7;border-left:3px solid var(--green)}
.now-item-heading{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
.now-item h3{font-size:16px;font-weight:600;line-height:1.6;color:var(--green-dark)}
.now-primary h3{font-size:19px}
.now-status{display:inline-flex;align-items:center;gap:5px;padding:1px 7px;border:1px solid #d8dfce;border-radius:5px;font-size:10px;line-height:1.7;color:var(--green);white-space:nowrap}
.now-dot{width:5px;height:5px;border-radius:50%;background:var(--green)}
.now-item>p{margin-top:8px;font-size:13px;line-height:1.8;color:var(--body)}
@media(max-width:600px){.now-grid{grid-template-columns:1fr;gap:12px}.now-item{padding:18px 20px}.now-item h3{font-size:15px}.now-primary h3{font-size:17px}}
@media print{#now{display:none!important}}

.now-primary>.now-direction{color:var(--green);font-size:12px;letter-spacing:.3px;margin-top:10px}

/* Compact publication milestones: solid past, highlighted present, hollow future. */
.now-paper{grid-column:1/-1}
.paper-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.paper-journal{margin:5px 0 0;font-size:12px;line-height:1.7;color:var(--muted)}
.paper-deadline{margin:0;padding:6px 10px;border-radius:5px;background:#eef2e7;font-size:11px;line-height:1.6;color:var(--green-dark)}
.paper-deadline time{margin-left:5px;font-family:var(--mono);font-weight:600;white-space:nowrap}
.paper-timeline{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));list-style:none;margin:22px 0 0;padding:0}
.paper-step{position:relative;min-width:0;padding:0 8px 0 0}
.paper-step:not(:last-child)::before{content:"";position:absolute;left:8px;right:-8px;top:7px;border-top:1px dashed #cad2bf}
.paper-step.is-complete::before{border-top:2px solid var(--green)}
.paper-marker{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;width:16px;height:16px;border:1px solid #aab59c;border-radius:50%;background:var(--surface);color:white;font-size:10px;line-height:1}
.is-complete .paper-marker{background:var(--green);border-color:var(--green)}
.is-current .paper-marker{border:4px solid var(--green);box-shadow:0 0 0 3px #e8eddf}
.paper-step-body{margin-top:10px}
.paper-step h4{margin:0;font-size:13px;line-height:1.6;font-weight:500;color:var(--green-dark)}
.paper-step h4 span{display:block;margin-top:2px;font-size:10px;line-height:1.5;font-weight:400;color:var(--muted)}
.is-current h4{font-weight:700}
.is-pending h4{color:var(--muted)}
.paper-step time{display:block;margin-top:4px;font:10px/1.6 var(--mono);color:var(--muted)}
@media(max-width:700px){
.now-grid{grid-template-columns:1fr}
.paper-heading{align-items:flex-start;gap:10px}
.paper-timeline{grid-template-columns:1fr;margin-top:18px}
.paper-step{display:grid;grid-template-columns:16px minmax(0,1fr);gap:12px;padding:0 0 14px}
.paper-step:last-child{padding-bottom:0}
.paper-step:not(:last-child)::before{left:7px;right:auto;top:16px;bottom:0;border-top:0;border-left:1px dashed #cad2bf}
.paper-step.is-complete::before{border-left:2px solid var(--green)}
.paper-step-body{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-top:-3px}
.paper-step time{margin-top:0;font-size:11px}
}

/* Each article card is a single native link, including whitespace and tags. */
a.note-card{cursor:pointer;transition:border-color .18s,background-color .18s,box-shadow .18s}
a.note-card:hover{border-color:#a9b99b;background:#f1f4e9;box-shadow:0 3px 12px #34462b08}
a.note-card:focus-visible{outline:2px solid var(--green);outline-offset:4px;border-radius:10px}
.page-leaving{cursor:progress}
.page-leaving::before{content:"";position:fixed;z-index:10000;left:0;top:0;width:35%;height:3px;background:#6e875b;animation:page-loading 1s ease-in-out infinite}
@keyframes page-loading{from{transform:translateX(-100%)}to{transform:translateX(300%)}}
@media(prefers-reduced-motion:reduce){.page-leaving::before{animation:none;width:100%}a.note-card{transition:none}}
