:root{--bg:#faf9f6;--paper:#fffefa;--ink:#302f2b;--muted:#787671;--line:#e6e4df;--accent:#555e4d;--soft:#f0efea;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft YaHei',sans-serif}body{font-size:15px}.site-wrap{width:min(1180px,calc(100% - 80px))}.site-header{height:98px;gap:30px}.wordmark-symbol{font:700 32px Georgia,serif;letter-spacing:-3px;color:var(--ink)}.wordmark{gap:15px}.wordmark>span:last-child{font-size:12px;letter-spacing:.06em}.site-header nav{gap:25px;flex:1;justify-content:center}.site-header nav a{font-size:13px;position:relative;color:var(--muted)}.site-header nav a[aria-current=page]{color:var(--ink)}.site-header nav a[aria-current=page]:after{content:'';height:2px;position:absolute;bottom:3px;left:0;right:0;background:var(--ink)}.header-cv{font-size:12px;border:1px solid var(--line);border-radius:5px;padding:7px 14px;white-space:nowrap}.page-panel[hidden]{display:none!important}.home-page{display:grid;grid-template-columns:1.3fr .85fr;column-gap:100px;align-items:center;min-height:calc(100svh - 174px);padding:70px 0 0}.identity-tag{display:inline-flex;gap:10px;align-items:center;font-size:11px;color:var(--muted);background:#f0efea;border:1px solid var(--line);border-radius:4px;padding:5px 10px;letter-spacing:.02em;margin:0 0 27px}.identity-tag>span{width:6px;height:6px;border-radius:50%;background:#7b866c}h1{font-size:clamp(42px,4.7vw,66px);line-height:1.25;letter-spacing:-.04em;font-weight:650;margin:0 0 23px}h1>span{display:inline-block;margin-top:8px}.name-dot{color:#929b83}.home-subtitle{font-size:21px;line-height:1.8;letter-spacing:.01em;margin:0 0 18px}.home-description{font-size:14px;line-height:2;color:var(--muted);max-width:440px}.home-actions{display:flex;flex-wrap:wrap;gap:10px;margin:30px 0 15px}.button{display:inline-flex;gap:24px;align-items:center;justify-content:center;min-height:45px;padding:10px 21px;border:1px solid #d9d7d0;border-radius:5px;font-size:13px;transition:background .15s}.button:hover{background:#eeede7}.button-dark{color:#fff;background:var(--ink);border-color:var(--ink)}.button-dark:hover{background:#514f48}.download-link{display:inline-flex;align-items:center;gap:12px;min-height:44px;font-size:12px;color:var(--muted)}.download-link span{font:9px Consolas,monospace;border:1px solid var(--line);padding:0 5px;border-radius:3px}.home-note{background:#f3f2ed;border:1px solid #e2e0d8;border-radius:7px;padding:26px 32px 30px;transform:rotate(2deg);box-shadow:4px 6px 0 #eae8e080}.note-top{display:flex;justify-content:space-between;font:10px Consolas,monospace;letter-spacing:.12em;color:#8a877f}.monogram{position:relative;width:78px;height:78px;background:#e7e7de;border-radius:18px;display:grid;place-items:center;font-size:37px;font-family:serif;margin:32px 0 24px}.monogram span{position:absolute;right:-12px;top:-13px;font-size:36px;color:#737f64}.home-note h2{font-size:27px;line-height:1.6;font-weight:600;letter-spacing:-.025em}.home-note>p{font-size:11px;color:var(--muted);margin:13px 0 24px}.note-rule{border-top:1px dashed #d4d2c9;margin-bottom:16px}.note-fact{display:flex;justify-content:space-between;gap:10px;font-size:10px;padding:9px 0}.note-fact>span{color:var(--muted)}.note-fact strong{font-weight:500;text-align:right}.home-bottom{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);margin-top:65px;padding:20px 0;font-size:10px;color:#96938b;letter-spacing:.035em}.home-bottom>a{color:var(--ink)}.resume-section,.work-section{border:0;padding:60px 0 55px;margin:0}.resume-section h2,.work-section h2{font-size:35px;font-weight:600}.eyebrow{font:11px/1.7 Consolas,'Microsoft YaHei',monospace;color:#939087;letter-spacing:.1em;margin-bottom:16px}.resume-card{border-radius:5px;box-shadow:none;padding:30px;background:#fffefa}.resume-card h3{font-size:20px;font-weight:600}.resume-card li,.resume-card p,.skill-list{font-size:13px}.resume-card .stack{font-size:11px!important}.page-intro{font-size:14px;color:var(--muted);max-width:650px;margin:18px 0 30px}.skills-layout{margin-top:30px}.skills-layout .resume-card{max-width:900px}.skills-layout .resume-card>h3{display:none}.skill-list{display:grid;grid-template-columns:170px 1fr;margin:0}.skill-list dt,.skill-list dd{margin:0;padding:23px 0;border-bottom:1px solid var(--line)}.skill-list dt:last-of-type,.skill-list dd:last-child{border:0}.skills-layout .resume-card{padding:12px 32px}.gallery-grid{display:grid;grid-template-columns:1fr 1fr;gap:35px;margin-top:35px}.gallery-image{overflow:hidden;border:1px solid var(--line);border-radius:5px;background:#eeede8;padding:18px 18px 0;aspect-ratio:1.55}.gallery-image img{width:100%;height:100%;object-fit:cover;object-position:top left;display:block;transition:transform .25s}.gallery-item:hover img{transform:translateY(-4px)}.gallery-caption{display:flex;justify-content:space-between;gap:10px;margin-top:12px;font-size:12px}.gallery-caption>span+span{color:var(--muted);font-size:10px}.project-grid,.project-grid.filtered{grid-template-columns:1fr 1fr;gap:40px 30px}.project,.project-wide,.project-grid.filtered .project{grid-column:auto}.project-image{height:260px;border-radius:5px;background:#eeede8}.project-image img{border-radius:3px}.project h3{font-size:21px}.filters button{border-radius:4px}.approach{margin:15px 0 0}.about{padding-bottom:35px}.contact-section{background:transparent;border-radius:0;min-height:calc(100svh - 205px);align-items:center;padding:65px 0;gap:50px;margin:0}.contact-section h2{font-size:36px}.contact-section address{border-left:1px solid var(--line);padding-left:45px;min-width:280px}.contact-section address a{color:var(--ink)}.site-footer{font-size:10px;padding:13px 0;min-height:65px}.site-footer a{min-height:36px}.education-item h4{font-weight:600}.resume-section#education .resume-grid{grid-template-columns:1fr;max-width:850px}.resume-section#education .resume-card{padding:12px 30px 25px}.resume-section#education .resume-card>h3{display:none}h1:focus,h2:focus{outline:none}dialog{border-radius:6px}.dialog-cta{background:var(--ink);border-radius:4px}
@media(min-width:1500px){.site-wrap{width:min(1280px,calc(100% - 140px))}.home-page{column-gap:145px}.home-note{padding:32px 40px 38px}.home-note h2{font-size:31px}.note-fact{font-size:12px}}
@media(max-width:1050px){.site-wrap{width:calc(100% - 48px)}.site-header{gap:15px}.site-header nav{gap:16px}.wordmark>span:last-child{display:none}.home-page{column-gap:40px}.home-note{padding:22px}.home-actions .button{padding:10px 15px}.identity-tag{font-size:10px}}
@media(max-width:767px){.site-wrap{width:calc(100% - 36px)}.site-header{height:auto;min-height:108px;display:grid;grid-template-columns:1fr auto;padding:15px 0 8px;gap:7px}.wordmark>span:last-child{display:block}.header-cv{grid-column:2;grid-row:1}.site-header nav{grid-column:1/-1;grid-row:2;width:100%;overflow-x:auto;flex-wrap:nowrap;justify-content:flex-start;gap:23px;padding-bottom:5px}.site-header nav a{flex-shrink:0;font-size:12px}.home-page{display:flex;flex-direction:column;align-items:stretch;padding-top:40px;min-height:auto;gap:36px}.home-copy{max-width:560px}.identity-tag{margin-bottom:22px;font-size:9px}h1{font-size:48px}.home-subtitle{font-size:19px}.home-description{font-size:13px}.home-actions{gap:8px}.button{font-size:12px}.home-note{transform:rotate(0);padding:22px 25px;max-width:480px}.monogram{width:60px;height:60px;font-size:30px;margin:22px 0 15px}.home-note h2{font-size:24px}.home-note h2 br{display:none}.home-note>p{margin-bottom:16px}.note-fact{font-size:11px}.home-bottom{margin-top:0;padding-top:18px;flex-wrap:wrap;gap:12px;font-size:9px}.home-bottom>span:nth-child(2){display:none}.resume-section,.work-section{padding:36px 0}.resume-section h2,.work-section h2{font-size:27px}.resume-grid,.gallery-grid,.project-grid,.project-grid.filtered{grid-template-columns:1fr;gap:22px}.resume-card{padding:23px}.skill-list{grid-template-columns:1fr}.skill-list dt{padding:20px 0 0;border:0}.skill-list dd{padding:8px 0 20px}.skills-layout .resume-card{padding:4px 23px}.contact-section{align-items:flex-start;min-height:calc(100svh - 200px);padding:45px 0;gap:25px}.contact-section h2{font-size:29px}.contact-section address{border-left:0;border-top:1px solid var(--line);padding:22px 0 0;width:100%;min-width:0}.project-image{height:240px}.site-footer{gap:10px}.gallery-caption{font-size:11px}}
@media(prefers-reduced-motion:reduce){.gallery-image img{transition:none}}
@media print{.page-panel[hidden]{display:block!important}.site-header nav,.header-cv,.gallery-grid,.home-note,.home-bottom{display:none}.home-page{display:block;min-height:0;padding:20px 0}.site-wrap{width:100%}.contact-section{min-height:0}.resume-section{padding:20px 0}}
