:root{color-scheme:light;--bg:#f7f8fa;--paper:#fff;--ink:#182a38;--muted:#60707d;--line:#dce2e7;--accent:#285778;--soft:#edf2f6;font-family:'Microsoft YaHei UI','PingFang SC','Microsoft YaHei',sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:32px}body{margin:0;background:var(--bg);color:var(--ink);font-size:16px;line-height:1.75}a{color:inherit;text-decoration:none}button,select{font:inherit}button{cursor:pointer}a,button,select{outline-offset:5px}button:focus-visible,a:focus-visible,select:focus-visible{outline:2px solid var(--accent)}.site-wrap{width:min(1280px,calc(100% - 48px));margin:auto}.site-header{height:88px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);gap:20px}.wordmark{display:flex;align-items:center;gap:13px;font-size:14px;font-weight:600;white-space:nowrap}.wordmark-symbol{font:italic 700 36px/1.2 Georgia,serif;letter-spacing:-4px;padding-right:5px;color:var(--accent)}.site-header nav{display:flex;gap:28px;font-size:13px}.site-header nav a{display:flex;align-items:center;gap:8px;min-height:44px}.site-header small{font:11px Consolas,monospace;color:var(--muted)}.site-header nav a:hover{color:var(--accent)}.hero{padding:72px 0 76px;display:grid;gap:45px;align-items:center}.eyebrow{font-size:12px;letter-spacing:.1em;color:var(--muted);margin:0 0 23px}h1{font-size:clamp(36px,4.1vw,58px);line-height:1.35;letter-spacing:-.055em;font-weight:600;margin:0 0 24px}h2{font-size:32px;font-weight:500;line-height:1.45;letter-spacing:-.035em;margin:0 0 15px}h3{font-size:23px;font-weight:500;letter-spacing:-.025em;margin:0}.hero-description{font-size:16px;color:var(--muted);max-width:370px;margin:0 0 29px}.text-link{display:inline-flex;gap:38px;align-items:center;min-height:44px;font-size:14px;color:var(--accent);border-bottom:1px solid #9dafbd}.text-link span{font-size:22px;transition:transform .2s}.text-link:hover span{transform:translate(3px,3px)}.hero-preview{display:block;min-width:0;border-radius:12px;background:#e9eef4;padding:18px 18px 0;overflow:hidden;box-shadow:0 18px 46px #2547600c;transform:rotate(-1.5deg);transition:transform .3s}.hero-preview:hover{transform:rotate(0deg) translateY(-4px)}.preview-caption{display:flex;justify-content:space-between;gap:14px;font-size:11px;color:#516c80;margin:0 3px 17px}.hero-image{height:280px;overflow:hidden;border-radius:7px 7px 0 0;border:1px solid #dbe4ec;border-bottom:0;background:white}.hero-image img{width:100%;height:100%;object-fit:cover;object-position:left top;display:block}.work-section{padding-top:36px;border-top:1px solid var(--line)}.section-heading p{color:var(--muted);font-size:14px;margin:0;max-width:600px}.heading-count{font:15px Consolas,monospace;color:var(--muted);letter-spacing:0}.filters{display:flex;gap:9px;flex-wrap:wrap;margin:27px 0 32px}.filters button{display:inline-flex;align-items:center;gap:15px;min-height:42px;padding:9px 16px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--muted);font-size:13px;transition:background .2s,color .2s}.filters button span{font:11px Consolas,monospace;opacity:.7}.filters button[aria-pressed=true]{background:var(--ink);color:white}.filters button:hover:not([aria-pressed=true]){background:#e8eef3}.project-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:46px 32px}.project{min-width:0}.project[hidden]{display:none}.project-image{display:block;height:285px;padding:24px 24px 0;overflow:hidden;border-radius:10px;background:#e6edf4;border:1px solid #dfe7ee}.project-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:top left;border:1px solid #d5dfe8;border-radius:6px 6px 0 0;box-shadow:0 8px 25px #24455b0d;transition:transform .4s}.project-image:hover img{transform:translateY(-5px)}.content-image{background:#eeefed;border-color:#e1e4df}.forms-image{background:#e9eef4}.experts-image{background:#e6edf2}.project-meta{display:flex;justify-content:space-between;gap:16px;margin:19px 0 8px;color:var(--muted);font-size:11px}.project-meta>span:last-child{font:12px Consolas,monospace}.project h3 a{display:flex;align-items:center;justify-content:space-between;gap:15px}.project h3 a span{color:var(--accent);font-size:22px;transition:transform .2s}.project h3 a:hover span{transform:translate(3px,-3px)}.project p{font-size:14px;color:var(--muted);max-width:570px;margin:13px 0 15px;line-height:1.9}.project-actions{display:flex;gap:26px;align-items:center}.project-actions a,.project-actions button{font-size:12px;min-height:44px;display:inline-flex;align-items:center;color:var(--accent)}.project-actions a{border-bottom:1px solid #b5c3ce}.project-actions button{border:0;background:transparent;padding:0;gap:14px;color:var(--muted)}.project-actions button:hover{color:var(--ink)}.approach{display:grid;gap:35px;margin:85px 0 0;padding:55px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.approach>div>p{color:var(--muted);font-size:14px}.principles{list-style:none;counter-reset:principle;margin:0;padding:0}.principles li{position:relative;padding:0 0 25px 45px;margin-bottom:24px;border-bottom:1px solid var(--line);counter-increment:principle}.principles li:last-child{border:0;padding-bottom:0;margin-bottom:0}.principles li:before{content:'0' counter(principle);position:absolute;left:0;top:4px;color:#657e91;font:12px Consolas,monospace}.principles h3{font-size:18px}.principles p{font-size:14px;color:var(--muted);margin:8px 0 0;max-width:470px}.about{padding:55px 0 62px}.about h2{font-size:27px}.about-columns{display:grid;gap:18px}.about p{color:var(--muted);font-size:14px;line-height:1.95;margin:9px 0 0}.site-footer{border-top:1px solid var(--line);padding:27px 0;display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:11px;color:var(--muted)}.site-footer a{min-height:44px;display:inline-flex;align-items:center;white-space:nowrap}.footer-divider{padding:0 10px;color:#a3b1ba}.skip{position:fixed;top:-100px;left:20px;background:white;padding:12px;z-index:100}.skip:focus{top:12px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}dialog{background:var(--paper);color:var(--ink);width:min(650px,calc(100% - 32px));max-height:85dvh;overflow:auto;padding:32px;border:1px solid var(--line);border-radius:12px;box-shadow:0 25px 80px #1d34402b}dialog::backdrop{background:#18334677;backdrop-filter:blur(4px)}.dialog-top{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:25px;color:var(--muted);font-size:12px}.dialog-top button{min-height:44px;padding:5px 12px;border:1px solid var(--line);border-radius:6px;background:white;color:var(--muted)}dialog h2{font-size:30px}dialog h3{font-size:16px;margin-top:26px}dialog p,dialog li{font-size:14px;color:var(--muted);line-height:1.9}dialog ol{padding-left:21px}dialog li{margin:10px 0}.case-boundary{border-top:1px solid var(--line);padding-top:20px}.dialog-cta{display:inline-flex;min-height:46px;align-items:center;background:var(--accent);color:white;padding:10px 20px;border-radius:6px;font-size:14px;margin-top:10px}#profile-contact{margin-top:25px}#profile-contact a{color:var(--accent);border-bottom:1px solid #b5c3ce}.hero-copy{animation:arrive .6s both}.hero-preview{animation:appear .8s both}@keyframes arrive{from{opacity:0;translate:0 12px}to{opacity:1;translate:0 0}}@keyframes appear{from{opacity:0}to{opacity:1}}@media(min-width:768px){.hero{grid-template-columns:1.05fr 1fr;gap:40px}.hero-image{height:310px}.project-grid{grid-template-columns:repeat(12,minmax(0,1fr));gap:50px 32px}.project{grid-column:span 5}.project-wide{grid-column:span 7}.project-image{height:310px}.project-grid.filtered .project{grid-column:span 6}.approach{grid-template-columns:1fr 1.2fr;gap:80px}.about-columns{grid-template-columns:1fr 1fr;gap:70px}}@media(min-width:1200px){.site-wrap{width:calc(100% - 128px)}.hero{gap:65px}.hero-image{height:345px}.project-image{height:365px}.hero-preview{padding:22px 22px 0}.project-grid{gap:55px 38px}}@media(max-width:599px){.site-wrap{width:calc(100% - 36px)}.site-header{height:auto;min-height:80px;flex-wrap:wrap;gap:8px;padding:16px 0 10px}.wordmark{font-size:13px}.wordmark-symbol{font-size:30px}.site-header nav{gap:23px;width:100%;justify-content:flex-start}.site-header nav a{font-size:12px}.hero{padding:40px 0 45px;gap:30px}.eyebrow{font-size:10px;letter-spacing:.06em;margin-bottom:18px}h1{font-size:clamp(30px,8.3vw,42px)}.hero-description{font-size:15px;max-width:320px}.hero-preview{transform:none}.hero-image{height:230px}.preview-caption{font-size:10px}.work-section{padding-top:28px}h2{font-size:27px}.section-heading p{font-size:13px}.filters{gap:4px;margin:22px 0}.filters button{font-size:12px;padding:8px 11px;gap:10px;min-height:44px}.project-image{height:245px;padding:16px 16px 0}.project h3{font-size:22px}.project-meta{font-size:10px}.project p{font-size:14px}.project-actions a,.project-actions button{font-size:13px}.approach{margin-top:55px;padding:36px 0;gap:20px}.about{padding:36px 0 40px}.about h2{font-size:23px}.site-footer{font-size:10px;gap:12px}.footer-divider{padding:0 5px}dialog{padding:24px}dialog h2{font-size:26px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}

/* Resume sections */
.hero-role{display:block;font-size:clamp(22px,2.4vw,33px);letter-spacing:-.03em;margin-top:14px}.resume-download{display:inline-flex;min-height:44px;align-items:center;margin-left:20px;font-size:13px;color:var(--muted)}.resume-section{padding:58px 0;border-top:1px solid var(--line);scroll-margin-top:24px}.resume-section .section-heading{display:flex;justify-content:space-between;gap:25px;align-items:flex-start}.resume-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:28px}.resume-card{min-width:0;background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:30px}.resume-kicker{font-size:12px!important;color:var(--accent)!important;margin:0 0 12px!important}.resume-card h3{font-size:22px;line-height:1.6}.resume-card p,.resume-card li,.skill-list{font-size:14px;color:var(--muted);line-height:1.95}.resume-card ul{padding-left:20px;margin:18px 0}.resume-card li+li{margin-top:12px}.resume-card strong{color:var(--ink);font-weight:600}.stack{font-size:12px!important;border-top:1px solid var(--line);padding-top:15px;margin-top:20px;overflow-wrap:anywhere}.related-links{display:flex;flex-wrap:wrap;gap:12px 20px;font-size:13px;color:var(--accent)}.related-links a{min-height:44px;display:inline-flex;align-items:center}.result-row{display:flex;flex-wrap:wrap;gap:18px;justify-content:space-between;margin:25px 0}.result-row strong{display:block;font-size:28px;font-weight:500;color:var(--accent)}.result-row span{font-size:11px;color:var(--muted)}.education-item{border-bottom:1px solid var(--line);padding:20px 0}.education-item span{font:12px Consolas,monospace;color:var(--muted)}.education-item h4{font-size:18px;margin:6px 0 0}.education-item p{margin:3px 0}.skill-list dt{color:var(--ink);font-weight:600;margin-top:20px}.skill-list dd{margin:5px 0 0}.contact-section{display:flex;justify-content:space-between;gap:30px;background:var(--soft);border-radius:12px;padding:36px;margin:0 0 32px}.contact-section p{font-size:14px;color:var(--muted)}.contact-section address{display:flex;flex-direction:column;font-style:normal;font-size:14px;overflow-wrap:anywhere}.contact-section address a,.contact-section address span{display:flex;align-items:center;min-height:44px}.contact-section address a{color:var(--accent)}
@media(max-width:767px){.resume-grid{grid-template-columns:1fr}.resume-section{padding:36px 0}.resume-section .section-heading,.contact-section{flex-direction:column}.resume-card{padding:22px}.contact-section{padding:24px}.site-header nav{flex-wrap:wrap;gap:8px 18px}.hero-description{max-width:none}.resume-download{margin-left:14px}}
@media print{.hero-preview,.project-image,.filters,.project-actions,.site-header nav,.approach,.about,.site-footer{display:none}.hero{display:block;padding:20px 0}.site-wrap{width:100%}.resume-section{padding:20px 0}.resume-grid{gap:12px}.resume-card{break-inside:avoid;padding:16px}.contact-section{break-inside:avoid}body{background:white}.hero-copy{animation:none}}
