/* Personal site: typography, layout, and responsive presentation. */
:root{--paper:#f6f5ef;--ink:#20352f;--muted:#5c6a61;--green:#225f4e;--line:#d7dcd2;--soft:#e9ede3;--warm:#eee7d7;--white:#fff;--radius:14px}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:24px}
body{margin:0;background:var(--paper);color:var(--ink);font-family:"Segoe UI","Noto Sans SC","Microsoft YaHei",sans-serif;font-size:17px;line-height:1.7;-webkit-font-smoothing:antialiased}
a{color:var(--green);text-underline-offset:5px;text-decoration-thickness:1px}
a:hover{color:#123f32}
a:focus-visible,summary:focus-visible{outline:3px solid #987228;outline-offset:5px;border-radius:3px}
img{display:block;max-width:100%;height:auto}
figure{margin:0}
h1,h2,h3,p{margin-top:0}
h1,h2,h3{line-height:1.12;font-weight:600;letter-spacing:-.045em}
h1{font-size:clamp(42px,5.4vw,72px);margin-bottom:25px;max-width:850px}
h2{font-size:clamp(30px,3vw,43px);margin-bottom:22px}
h3{font-size:25px;margin-bottom:12px}
p{margin-bottom:20px}
ul,ol{padding-left:1.3em}
li+li{margin-top:9px}
.shell{width:min(1160px,calc(100% - 96px));margin-inline:auto}
.site-header{min-height:110px;display:flex;gap:36px;align-items:center;border-bottom:1px solid var(--line)}
.brand{display:flex;align-items:center;gap:15px;text-decoration:none;color:var(--ink);margin-right:auto;flex-shrink:0}
.brand-mark{font-size:30px;font-weight:700;letter-spacing:-.09em;width:51px;line-height:1}
.brand-mark span{color:var(--green)}
.brand-name{font-size:17px;font-weight:600;line-height:1.4;letter-spacing:-.02em}
.brand-name small{display:block;font-size:11px;letter-spacing:.025em;font-weight:400;color:var(--muted);margin-top:3px}
.primary-nav{display:flex;align-items:center;gap:27px;font-size:14px;font-weight:500}
.primary-nav a{text-decoration:none;color:var(--muted);padding-block:12px;white-space:nowrap}
.primary-nav a[aria-current=page]{color:var(--ink);box-shadow:inset 0 -2px var(--green)}
.language-switch{font-size:13px;text-decoration:none;white-space:nowrap;border:1px solid var(--line);border-radius:100px;padding:8px 14px;display:inline-flex;align-items:center;gap:8px}
.language-switch:hover{background:var(--soft)}
.skip-link{position:absolute;top:-100px;left:15px;background:var(--ink);color:white;padding:12px 20px;z-index:10}
.skip-link:focus{top:10px;color:white}
.hero{display:grid;grid-template-columns:1.25fr .85fr;align-items:center;gap:72px;padding:72px 0 66px}
.eyebrow{font-size:11px;font-weight:650;text-transform:uppercase;letter-spacing:.17em;color:var(--green);display:flex;align-items:center;gap:12px;margin-bottom:25px}
.eyebrow::before{content:"";width:24px;height:1px;background:var(--green);flex-shrink:0}
.hero h1{font-size:clamp(46px,5.1vw,68px);line-height:1.06;margin-bottom:26px}
.hero h1 em{font-family:Georgia,"Noto Serif SC","Songti SC",serif;font-weight:400;color:var(--green)}
.hero-copy .intro{max-width:520px;font-size:18px;line-height:1.8;color:var(--muted)}
.hero-copy .hello{font-size:19px;color:var(--ink);margin-bottom:11px}
.button-row{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin-top:29px}
.button{display:inline-flex;gap:18px;align-items:center;justify-content:center;border-radius:6px;background:var(--green);color:white;text-decoration:none;font-size:14px;font-weight:600;line-height:1.5;padding:14px 21px;min-height:48px}
.button:hover{background:#164536;color:white}
.text-link{font-size:14px;font-weight:600;display:inline-flex;align-items:center;gap:12px}
.portrait-frame{position:relative;padding:0 18px 21px 0;isolation:isolate}
.portrait-frame::after{content:"";position:absolute;inset:25px 0 0 24px;border:1px solid #aab9aa;border-radius:140px 12px 12px 12px;z-index:-1}
.portrait-frame img{width:100%;aspect-ratio:3/3.7;object-fit:cover;object-position:50% 38%;border-radius:140px 12px 12px 12px}
.portrait-caption{display:flex;justify-content:space-between;gap:12px;font-size:11px;letter-spacing:.04em;color:var(--muted);margin:17px 18px 0 0}
.focus-strip{border-block:1px solid var(--line);display:grid;grid-template-columns:repeat(3,1fr);padding:25px 0;margin-bottom:76px}
.focus-strip div{padding:0 26px;border-right:1px solid var(--line)}
.focus-strip div:first-child{padding-left:0}
.focus-strip div:last-child{border:0}
.focus-strip strong{font-size:15px;display:block;margin-bottom:4px}
.focus-strip span{font-size:13px;color:var(--muted);display:block}
.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:30px}
.section-heading h2{margin:0}
.section-heading .eyebrow{margin-bottom:13px}
.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.project-card{min-width:0}
.project-art{position:relative;height:205px;background:var(--soft);display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:var(--radius);text-decoration:none;border:1px solid rgba(32,53,47,.04)}
.project-card:nth-child(2) .project-art{background:#eee8de}
.project-card:nth-child(3) .project-art{background:#e8eae4}
.project-art img{width:128px;height:145px;object-fit:contain;transition:transform .2s ease}
.project-art:hover img{transform:translateY(-5px)}
.project-art .art-index{position:absolute;top:15px;left:17px;font-size:11px;color:var(--muted);letter-spacing:.08em}
.project-card .kicker{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin:20px 0 7px}
.project-card h3 a{color:var(--ink);text-decoration:none}
.project-card p{font-size:14px;line-height:1.8;color:var(--muted);margin-bottom:15px}
.project-card .text-link{font-size:13px}
.section-space{margin-bottom:85px}
.editorial-section{border-top:1px solid var(--line);padding-top:49px;display:grid;grid-template-columns:.85fr 1.6fr;gap:80px}
.editorial-section .section-intro p{font-size:15px;color:var(--muted);max-width:290px}
.note-row{display:grid;grid-template-columns:1fr auto;gap:25px;align-items:center;text-decoration:none;color:var(--ink);padding:23px 0;border-bottom:1px solid var(--line)}
.note-row:first-child{padding-top:0}
.note-row .note-label{display:block;font-size:10px;color:var(--green);letter-spacing:.12em;text-transform:uppercase;margin-bottom:8px}
.note-row h3{font-size:22px;letter-spacing:-.025em;margin-bottom:9px}
.note-row p{font-size:14px;line-height:1.7;color:var(--muted);margin:0}
.note-row .arrow{font-size:23px;color:var(--green)}
.note-row:hover h3{text-decoration:underline;text-underline-offset:5px}
.contact-band{padding:37px 41px;background:var(--ink);color:var(--paper);border-radius:var(--radius);display:flex;justify-content:space-between;align-items:center;gap:32px;margin-bottom:80px}
.contact-band h2{font-size:31px;letter-spacing:-.03em;margin-bottom:12px}
.contact-band p{font-size:14px;color:#d1ddd4;margin:0;max-width:650px}
.contact-band a{color:var(--paper);font-size:15px;white-space:nowrap}
.site-footer{display:grid;grid-template-columns:1fr auto;gap:26px;padding:32px 0 26px;border-top:1px solid var(--line);font-size:12px}
.footer-signature strong{display:block;font-weight:600;font-size:15px;margin-bottom:4px}
.footer-signature span{color:var(--muted)}
.footer-links{display:flex;gap:25px;align-items:center}
.footer-links a{color:var(--ink);text-decoration:none}
.copyright{grid-column:1/-1;color:var(--muted);font-size:10px;letter-spacing:.03em;margin:4px 0 0}
.page-intro{padding:67px 0 45px;max-width:820px}
.page-intro .lead{font-size:20px;color:var(--muted);line-height:1.8;max-width:720px;margin-bottom:0}
.page-intro h1{font-size:clamp(42px,5vw,62px)}
.project-list{margin-bottom:65px}
.project-entry{display:grid;grid-template-columns:270px 1fr;gap:52px;padding:37px 0;border-top:1px solid var(--line);align-items:center}
.project-entry .project-art{height:235px}
.project-entry .project-art img{height:155px;width:150px}
.project-entry .kicker{font-size:11px;letter-spacing:.1em;color:var(--green);text-transform:uppercase;margin-bottom:12px}
.project-entry h2{font-size:35px;margin-bottom:16px}
.project-entry p{font-size:16px;color:var(--muted);max-width:670px}
.project-entry .button-row{margin-top:19px}
.spar-art{flex-direction:column;gap:12px;background:#e7e8ef}
.spar-art strong{font-size:44px;letter-spacing:-.04em;font-weight:500}
.spar-art span{font-size:11px;letter-spacing:.17em;color:var(--muted)}
.spar-art::before{content:"";height:55px;width:55px;border:1px solid #6c7c74;border-radius:50%;background:repeating-linear-gradient(0deg,transparent 0,transparent 12px,#9eaca2 13px,transparent 14px)}
.small-note{padding:28px 31px;border-left:3px solid var(--green);background:var(--soft);border-radius:0 9px 9px 0;font-size:14px;color:var(--muted);margin-bottom:65px}
.small-note strong{color:var(--ink)}
.prose{max-width:740px;font-size:18px}
.prose h2{font-size:30px;letter-spacing:-.03em;margin:43px 0 20px}
.prose h3{font-size:22px;margin-top:28px}
.prose p,.prose li{color:var(--muted)}
.prose a{overflow-wrap:anywhere}
.about-layout{display:grid;grid-template-columns:1.6fr 1fr;gap:85px;align-items:start;padding-bottom:75px}
.about-layout .portrait-frame{max-width:360px}
.about-layout .prose{font-size:17px}
.about-layout .prose h2:first-child{margin-top:0}
.about-layout h2{font-size:29px}
.about-facts{list-style:none;padding:0;margin:30px 0 0;font-size:13px}
.about-facts li{border-top:1px solid var(--line);padding:12px 0;margin:0}
.about-facts span{display:block;color:var(--muted);font-size:10px;letter-spacing:.1em;text-transform:uppercase}
.beyond{display:grid;grid-template-columns:1fr 1fr;gap:65px;padding:42px 0 66px;border-top:1px solid var(--line);align-items:center}
.beyond h2{font-size:35px}
.beyond p{font-size:16px;color:var(--muted)}
.pet-preview{background:var(--soft);border-radius:var(--radius);padding:25px}
.pet-preview img{width:100%;height:260px;object-fit:contain}
.guide-group{padding:32px 0 45px;border-top:1px solid var(--line);display:grid;grid-template-columns:260px 1fr;gap:45px}
.guide-group .group-caption{color:var(--muted);font-size:14px}
.guide-group h2{font-size:29px}
.guide-list .note-row h3{font-size:23px}
.lang-badge{font-size:10px;letter-spacing:.02em;color:var(--muted);display:inline-block;margin-top:12px}
.case-header{display:grid;grid-template-columns:1fr 210px;gap:60px;align-items:center;padding:60px 0 47px;border-bottom:1px solid var(--line)}
.case-header h1{margin-bottom:18px}
.case-header .lead{font-size:21px;color:var(--muted);margin-bottom:23px;max-width:780px}
.case-header .project-art{height:190px}
.case-header .project-art img{height:135px;width:135px}
.case-layout{display:grid;grid-template-columns:1fr 260px;gap:85px;padding:15px 0 70px}
.case-layout .prose{max-width:710px;font-size:17px}
.case-meta{padding-top:40px;font-size:13px}
.case-meta dl{margin:0}
.case-meta dt{font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:var(--green);margin-bottom:8px}
.case-meta dd{margin:0 0 25px;color:var(--muted);padding-bottom:20px;border-bottom:1px solid var(--line)}
.case-meta ul{padding-left:16px}
.breadcrumb{font-size:12px;margin-bottom:23px}
.breadcrumb a{text-decoration:none}
code{font-size:.88em;background:var(--soft);border-radius:4px;padding:2px 5px;overflow-wrap:anywhere}
pre{background:var(--soft);padding:22px;border-radius:9px;overflow-x:auto}
pre code{background:transparent;padding:0}
.back-link{display:inline-flex;margin-bottom:30px;font-size:14px}
html[lang^=zh] h1,html[lang^=zh] h2,html[lang^=zh] h3{letter-spacing:-.025em;line-height:1.4}
html[lang^=zh] .hero h1{font-size:clamp(40px,4.5vw,58px);line-height:1.35}
html[lang^=zh] .hero h1 em{font-style:normal;font-family:inherit;font-weight:600}
html[lang^=zh] .hero-copy .intro{line-height:1.95;font-size:17px}
html[lang^=zh] .eyebrow{letter-spacing:.13em}
@media(min-width:1500px){.hero{gap:100px;padding-top:85px}}
@media(max-width:1000px){.shell{width:calc(100% - 64px)}.site-header{gap:22px}.brand-name small{display:none}.primary-nav{gap:19px;font-size:13px}.hero{gap:40px}.hero h1{font-size:53px}.editorial-section{gap:45px}.project-entry{grid-template-columns:230px 1fr;gap:35px}.about-layout{gap:45px}.case-layout{gap:45px;grid-template-columns:1fr 220px}.guide-group{grid-template-columns:210px 1fr}.contact-band{padding:32px}}
@media(max-width:760px){.shell{width:calc(100% - 40px)}.site-header{min-height:0;flex-wrap:wrap;column-gap:20px;row-gap:3px;padding-top:22px;padding-bottom:10px}.brand{order:0}.brand-name small{display:block}.language-switch{order:1}.primary-nav{order:2;width:100%;justify-content:space-between;gap:12px;font-size:13px;margin-top:10px}.hero{grid-template-columns:1fr;gap:39px;padding:44px 0 39px}.hero h1{font-size:clamp(43px,9vw,64px);max-width:640px}.hero-copy .intro{font-size:16px;max-width:570px}.hero-portrait{max-width:350px;width:83%;margin-inline:auto}.portrait-frame{padding-right:15px}.portrait-frame img{aspect-ratio:3/3.5;border-top-left-radius:110px}.portrait-frame::after{border-top-left-radius:110px}.focus-strip{margin-bottom:45px;padding:21px 0;gap:16px}.focus-strip div{padding:0 12px 0 0}.focus-strip strong{font-size:13px}.focus-strip span{font-size:11px}.section-heading{align-items:flex-start}.section-heading .text-link{font-size:12px;white-space:nowrap;margin-top:23px}.project-grid{grid-template-columns:1fr;gap:36px}.project-card{display:grid;grid-template-columns:125px 1fr;column-gap:22px}.project-card .project-art{height:150px;grid-row:1/6}.project-art img{width:85px;height:100px}.project-art .art-index{font-size:9px;top:9px;left:10px}.project-card .kicker{margin-top:0;font-size:9px}.project-card h3{font-size:25px;margin-bottom:8px}.project-card p{font-size:13px;margin-bottom:10px;line-height:1.65}.project-card .text-link{font-size:12px}.section-space{margin-bottom:53px}.editorial-section{grid-template-columns:1fr;gap:25px;padding-top:35px}.editorial-section .section-intro p{max-width:none;margin-bottom:0}.note-row h3{font-size:21px}.contact-band{display:block;padding:28px 25px;margin-bottom:50px}.contact-band h2{font-size:27px}.contact-band a{display:inline-block;margin-top:20px}.site-footer{grid-template-columns:1fr;gap:20px;padding-top:27px}.footer-links{gap:25px}.page-intro{padding:43px 0 30px}.page-intro .lead{font-size:17px}.page-intro h1{font-size:43px}.project-entry{grid-template-columns:1fr;gap:24px;padding:29px 0}.project-entry .project-art{height:190px;max-width:none}.project-entry .project-art img{height:135px;width:135px}.project-entry h2{font-size:31px}.project-entry p{font-size:15px}.project-entry .button-row{gap:18px}.about-layout{grid-template-columns:1fr;gap:35px;padding-bottom:45px}.about-layout aside{max-width:370px;width:85%;margin-inline:auto}.beyond{grid-template-columns:1fr;gap:22px;padding-bottom:45px}.pet-preview img{height:220px}.guide-group{grid-template-columns:1fr;gap:12px;padding-bottom:35px}.guide-group h2{margin-bottom:12px}.guide-group .group-caption{margin-bottom:10px}.guide-list .note-row h3{font-size:21px}.case-header{grid-template-columns:1fr;gap:25px;padding-top:36px}.case-header .project-art{width:160px;height:150px;grid-row:1}.case-header .lead{font-size:18px}.case-header .button-row{gap:19px}.case-header h1{font-size:47px}.case-layout{grid-template-columns:1fr;gap:0;padding-bottom:45px}.case-layout .prose{font-size:16px}.case-meta{padding-top:10px}.case-meta dl{display:grid;grid-template-columns:1fr 1fr;column-gap:25px}.case-meta dt,.case-meta dd{grid-column:auto}.case-meta dl{display:block}.small-note{padding:22px;margin-bottom:45px}html[lang^=zh] .hero h1{font-size:clamp(36px,8.5vw,54px)}}
@media(max-width:370px){.shell{width:calc(100% - 30px)}.brand-name{font-size:15px}.brand-name small{font-size:10px}.brand-mark{width:42px;font-size:27px}.primary-nav{font-size:12px;gap:9px}.project-card{grid-template-columns:100px 1fr;gap:16px}.project-card .project-art{height:135px}.project-art img{width:75px;height:85px}.button-row{gap:16px}.focus-strip{gap:9px}.focus-strip div{padding-right:9px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
@media print{.site-header,.site-footer,.button-row,.skip-link{display:none}.shell{width:100%}body{background:white;color:black;font-size:12pt}.hero{gap:30px;padding:0}.portrait-frame{max-width:230px}.project-grid{display:block}.project-card{break-inside:avoid}.project-art{height:100px}.case-layout{display:block}}
