@font-face{font-family:"Workspace Hand";src:url("assets/fonts/caveat-latin.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Workspace Chinese Hand";src:url("assets/fonts/wenkai-headings.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
:root[data-theme="light"]{--bg:#fbfaf5;--surface:#eff3e7;--text:#33372d;--muted:#62695b;--subtle:#62695b;--line:#dedfd4;--accent:#526f36;--ink:#24351b;--lab:#e4edcd;--radius:13px}
.header{padding-top:42px}.brand{font-family:"Workspace Hand",cursive;font-size:26px;font-weight:400;letter-spacing:0;line-height:1.15}.brand-caption{font-family:-apple-system,"Microsoft YaHei",sans-serif;font-size:10px;line-height:1.8;margin-top:4px}.brand-dot{width:7px;height:7px}.header-contact{font-size:12px}.theme-button{border-style:dashed}.intro{padding-top:78px}.eyebrow{font-family:"Workspace Chinese Hand","KaiTi",serif;font-size:16px;letter-spacing:1px;line-height:1.7}.fine-line{width:26px;transform:rotate(-7deg);height:2px;opacity:.6}h1{font-family:"Workspace Chinese Hand","KaiTi",serif;font-size:29px;font-weight:400;letter-spacing:1px;margin-top:28px}.name{position:relative;width:fit-content;font-family:"Workspace Hand","Segoe Print",cursive;font-size:88px;line-height:1.04;font-weight:400;letter-spacing:-1.3px;transform:rotate(-1.5deg);margin-top:6px;padding-right:10px}.period{font-size:68px}.name-underline{position:absolute;left:0;bottom:-11px;width:100%;height:20px;color:var(--accent);opacity:.5}.handwritten-note{font-family:"Workspace Hand","Segoe Print",cursive;font-size:23px;color:var(--accent);margin-top:22px;transform:rotate(-1deg);letter-spacing:.4px}.intro-lead{font-size:18px;margin-top:24px;line-height:1.9}.intro-copy{font-size:15px;margin-top:27px;line-height:2}.intro-copy p+p{margin-top:20px}.inline-link{background:transparent;border-bottom:1px solid #b6c39f;padding:1px 2px;color:var(--accent)}.section-nav{margin-top:36px;border-top-style:dashed;border-bottom-style:dashed;gap:35px}.section-nav a{min-height:28px}.section{padding-top:66px}.section-heading{margin-bottom:24px}h2:not(.detail-title){font-family:"Workspace Chinese Hand","KaiTi",serif;font-weight:400;font-size:27px;letter-spacing:.2px;line-height:1.5}.section-label{letter-spacing:1.1px;font-size:9px;color:var(--subtle)}.section-aside{font-size:11px}.filters button[aria-pressed="true"]{background:var(--surface);border-color:transparent;color:var(--accent)}.project-image{border-color:var(--line);border-radius:9px 13px 11px 7px}.featured .project-image{transform:rotate(-.7deg)}.image-corner{background:#fbfaf5;color:#526f36}.status{border-style:dashed}.compact{border-top-style:dashed}.text-button{color:var(--accent);min-height:28px}.type-lab{border-radius:11px 15px 13px 8px;box-shadow:0 4px 14px #40542506}.lab-toolbar{padding:12px 20px}.study-title{font-family:"Workspace Chinese Hand","KaiTi",serif;font-weight:400;font-size:39px;letter-spacing:0}.study-overline{font-family:"Workspace Chinese Hand","KaiTi",serif;font-size:13px;letter-spacing:1px}.study-subtitle{font-family:"Workspace Hand","Segoe Print",cursive;font-size:20px;letter-spacing:0}.study-index{font-family:"Workspace Hand",cursive;font-size:16px}.study-mark{transform:rotate(-14deg);opacity:.65}.study-mark span{border-radius:16px 23px 18px 21px}.type-stage[data-mode="quiet"] .study-title{font-family:Georgia,"SimSun",serif;font-size:29px;letter-spacing:3px}.type-stage[data-mode="poster"] .study-title{font-family:-apple-system,"Microsoft YaHei",sans-serif;font-size:55px;font-weight:750}.note-row{border-top-style:dashed}.note-row:last-child{border-bottom-style:dashed}.note-number{font-family:"Workspace Hand",cursive;font-size:17px;color:var(--accent);margin-top:0}.about-facts{border-left-style:dashed}.contact{border-top-style:dashed}.contact h2{font-size:26px}footer{border-top-style:dashed}footer>a{font-family:"Workspace Hand",cursive;font-size:22px;line-height:1.4;color:var(--accent)}footer>span:nth-child(2){font-family:"Workspace Chinese Hand","KaiTi",serif;font-size:15px;align-self:center}footer>span:last-child{align-self:center}.detail-title{font-family:-apple-system,"Microsoft YaHei",sans-serif}.dialog-header{border-bottom-style:dashed}
@media(min-width:1200px){.intro{padding-top:78px}}
@media(max-width:600px){.header{padding-top:27px}.brand{font-size:23px}.brand-caption{font-size:9px}.intro{padding-top:52px}.eyebrow{font-size:14px;letter-spacing:.8px}h1{font-size:25px;margin-top:22px}.name{font-size:72px;letter-spacing:-1px;line-height:1.08}.period{font-size:55px}.name-underline{bottom:-11px;height:18px}.handwritten-note{font-size:21px;margin-top:20px}.intro-lead{font-size:16px;line-height:1.9;margin-top:19px}.intro-copy{font-size:14px;margin-top:25px}.section-nav{gap:25px;margin-top:29px;padding:14px 0}.section{padding-top:49px}h2:not(.detail-title){font-size:24px;letter-spacing:0}.section-heading{gap:10px}.section-aside{font-size:10px;padding-top:24px}.section-label{font-size:8px}.featured .project-image{transform:none}.study-title{font-size:30px}.study-overline{font-size:12px}.study-subtitle{font-size:18px}.study-index{font-size:14px;margin-right:19px}.type-stage[data-mode="poster"] .study-title{font-size:40px}.note-number{font-size:15px}.about-facts{border-left:0;border-top-style:dashed}.contact h2{font-size:24px}.contact{margin-top:49px}footer{gap:12px;align-items:center}footer>a{font-size:20px}footer>span:nth-child(2){font-size:12px;max-width:130px;line-height:1.7}}
@media(max-width:370px){.name{font-size:65px}.period{font-size:50px}.section-nav{gap:18px}.study-title{font-size:27px}.type-stage[data-mode="poster"] .study-title{font-size:35px}footer>a{font-size:18px}footer>span:nth-child(2){font-size:11px;max-width:110px}}
/* Compact personal card */
.shell{max-width:640px;padding:0 28px}.header{padding-top:52px}.brand{font-family:inherit;font-size:16px;letter-spacing:0}.brand-caption{display:none}.theme-button{border:0}.header-contact{display:none}.intro{padding-top:52px}h1#intro-title{font-family:inherit;font-size:17px;font-weight:500;line-height:1.9;letter-spacing:0;margin:0}.intro-copy{font-size:15px;line-height:1.95;margin-top:26px}.intro-copy p+p{margin-top:24px}.section-nav{border:0;flex-wrap:wrap;gap:20px;margin-top:26px;padding:0 0 32px}.section-nav span{display:none}.compact-section{border-top:1px solid var(--line)}.compact-section>summary{padding:16px 0;cursor:pointer;font-size:14px;color:var(--muted)}.compact-section>summary:focus-visible{outline:2px solid var(--accent)}.compact-section .section{padding:16px 0 32px}.section-heading h2{font-family:inherit;font-size:21px}.section-aside,.section-label{display:none}.featured .project-image{transform:none}.contact{margin-top:30px;padding-top:25px;display:block}.contact h2{font-family:inherit;font-size:17px;font-weight:500;line-height:1.8}.contact-actions{margin-top:14px}.mail-link{font-size:15px}footer{margin-top:32px;padding:22px 0;border-top:1px solid var(--line)}footer>a{font-family:"Workspace Hand",cursive;font-size:25px}
@media(max-width:600px){.shell{padding:0 24px}.header{padding-top:28px}.intro{padding-top:38px}h1#intro-title{font-size:16px}.intro-copy{font-size:14px}.section-nav{gap:18px}.contact h2{font-size:17px}.compact-section .section{padding-top:12px}}
/* Hand-drawn accents and scroll entrances */
:root{--ease-out:cubic-bezier(.23,1,.32,1);--marker:#f4d85c}.brand{font-family:"Workspace Hand",cursive;font-size:27px}h1#intro-title{font-size:20px;line-height:1.85}.ink-name{font-family:"Workspace Hand",cursive;font-size:38px;line-height:1;white-space:nowrap}.marker{background:linear-gradient(176deg,transparent 44%,var(--marker) 45%,var(--marker) 86%,transparent 87%);padding:0 .1em;box-decoration-break:clone;-webkit-box-decoration-break:clone;color:var(--text)}.intro-copy .inline-link{background:linear-gradient(178deg,transparent 64%,#f4d85c80 65%,#f4d85c80 91%,transparent 92%);border-bottom:0}.hand-note{font-family:"Workspace Hand",cursive;font-size:23px;color:var(--muted);margin:18px 0 0;transform:rotate(-2deg);display:inline-block}.compact-section>summary{font-family:"KaiTi","STKaiti",serif;font-size:17px}.compact-section{border-top-style:dashed}footer{border-top-style:dashed}footer>a{position:relative}footer>a:after{content:"";display:block;width:95%;height:5px;border-bottom:2px solid var(--marker);border-radius:50%;transform:rotate(-4deg)}.scroll-enter{transition:opacity 500ms var(--ease-out),transform 500ms var(--ease-out)}.scroll-enter.is-waiting{opacity:0;transform:translateY(14px)}.scroll-enter.is-visible{opacity:1;transform:none}:root[data-theme="dark"]{--marker:#665419}
@media(hover:hover) and (pointer:fine){.intro-copy .inline-link:hover{background-color:#f4d85c45}.compact-section>summary:hover{color:var(--text)}}
@media(max-width:600px){h1#intro-title{font-size:18px}.ink-name{font-size:33px}.hand-note{font-size:22px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.scroll-enter,.scroll-enter.is-waiting{opacity:1;transform:none;transition:none}.hand-note{transform:none}}
/* Reference recording: solid marker and floating contact */
.marker{background:#f3d34a;color:#25251f;padding:.02em .16em;border-radius:1px;box-decoration-break:clone;-webkit-box-decoration-break:clone}.intro-copy .inline-link{background:linear-gradient(177deg,transparent 46%,#f3d34a 47%,#f3d34a 95%,transparent 96%);color:var(--text)}:root[data-theme="dark"] .marker{background:#f3d34a;color:#25251f}:root[data-theme="dark"] .intro-copy .inline-link{background:none;text-decoration:underline;text-decoration-color:#f3d34a;text-decoration-thickness:3px;text-underline-offset:3px}.floating-contact{position:fixed;bottom:0;left:0;right:0;padding:22px 24px 28px;z-index:15;display:flex;justify-content:center;pointer-events:none;background:linear-gradient(transparent,color-mix(in srgb,var(--bg) 85%,transparent));backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}.floating-contact>a{pointer-events:auto;display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:10px 23px;background:var(--text);color:var(--bg);border:1px solid var(--line);border-radius:2px;font-size:14px}.floating-contact .arrow{color:inherit}footer{padding-bottom:120px}footer>a{font-size:29px}.floating-contact>a:focus-visible{outline:2px solid var(--text);outline-offset:4px}@media(max-width:600px){footer{display:flex;flex-direction:column;align-items:center;gap:18px;padding-top:34px;padding-bottom:145px}.floating-contact{padding-bottom:25px}}
/* Recording-aligned marker edge and bottom fade */
h1#intro-title{font-size:17px;line-height:1.95}.ink-name{font-size:27px}.marker{background:none;position:relative;isolation:isolate;padding:0 .12em}.marker:before{content:"";position:absolute;z-index:-1;inset:16% -.02em 3%;background:#f3d34a;clip-path:polygon(0 8%,18% 3%,38% 7%,62% 0,83% 5%,100% 2%,99% 92%,78% 98%,56% 93%,34% 100%,13% 94%,1% 98%)}:root[data-theme="dark"] .marker{background:none}.floating-contact{background:none;backdrop-filter:none;-webkit-backdrop-filter:none;isolation:isolate;padding-top:34px}.floating-contact:before{content:"";position:absolute;inset:0;z-index:-1;background:color-mix(in srgb,var(--bg) 60%,transparent);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);mask-image:linear-gradient(transparent,#000 65%);-webkit-mask-image:linear-gradient(transparent,#000 65%)}.floating-contact>a{min-height:40px;padding:8px 20px;font-size:13px}.hand-note{font-size:21px;margin-top:14px}@media(max-width:600px){h1#intro-title{font-size:16px}.ink-name{font-size:26px}.floating-contact{padding-bottom:max(28px,env(safe-area-inset-bottom));display:none}}
.marker{display:inline-block;white-space:nowrap}

.contact-actions{display:flex;flex-direction:column;align-items:flex-start;gap:16px;text-align:left}.contact-actions .mail-link{margin:0;overflow-wrap:anywhere}.contact-tools{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px}.contact-tools .wechat-id{font-size:14px;white-space:nowrap}.contact-tools .copy-button{margin:0!important;min-height:40px;display:inline-flex;align-items:center;padding:4px 0}.contact-actions .copy-status{margin:0;min-height:0}.contact-actions .copy-status:empty{display:none}
