:root { color-scheme: dark; --bg: #10110f; --surface: #181a16; --text: #f1f0e9; --muted: #a3a79c; --line: #ffffff17; --gold: #d9bf83; --max: 1120px; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; font-synthesis: none; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0px; background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.85; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; border-radius: 3px; }
img { max-width: 100%; display: block; }
::selection { background: rgba(217, 191, 131, 0.25); color: rgb(255, 255, 255); }
.wrap { width: min(var(--max),calc(100% - 96px)); margin-inline: auto; }
.gold { color: var(--gold); }
.serif { font-family: "Songti SC", "Noto Serif CJK SC", SimSun, serif; font-weight: 400; }
.skip-link { position: fixed; left: 20px; top: -80px; z-index: 100; background: var(--text); color: var(--bg); padding: 10px 20px; }
.skip-link:focus { top: 12px; }
.site-header { position: fixed; inset: 0px 0px auto; z-index: 20; height: 80px; padding: 0px 48px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255, 255, 255, 0.12); background: rgba(16, 17, 15, 0.12); -webkit-backdrop-filter: blur(10px) saturate(140%); backdrop-filter: blur(10px) saturate(140%); }
.brand { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 650; letter-spacing: -1px; }
.brand img { border-radius: 50%; object-fit: cover; border: 1px solid rgba(255, 255, 255, 0.26); }
.site-header nav { display: flex; gap: 36px; font-size: 14px; color: rgba(255, 255, 255, 0.733); }
.site-header nav a { position: relative; transition: color 0.2s; }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--gold); }
.nav-contact { font-size: 13px; padding: 7px 18px; border: 1px solid rgba(255, 255, 255, 0.17); border-radius: 30px; background: rgba(255, 255, 255, 0.03); }
.nav-contact span { margin-left: 16px; }
.hero { height: min(900px, 100svh); min-height: 690px; position: relative; isolation: isolate; display: flex; align-items: center; }
.hero-image, .hero-shade { position: absolute; inset: 0px; width: 100%; height: 100%; z-index: -2; object-fit: cover; object-position: center 47%; }
/* 仅在正文后方加深遮罩，右侧与顶部继续透出照片，避免枝叶干扰阅读。 */
.hero-shade { z-index: -1; background: radial-gradient(ellipse 65% 65% at 20% 54%,rgba(7,12,9,.78) 0%,rgba(7,12,9,.52) 42%,transparent 80%),linear-gradient(90deg,rgba(11,16,13,.30),transparent 76%),linear-gradient(0deg,var(--bg) 0%,rgba(16,17,15,.22) 27%,transparent 68%); }
.hero-content { padding-top: 78px; }
.eyebrow { font-family: ui-monospace, SFMono-Regular, monospace; font-size: 11px; letter-spacing: 2.5px; color: rgb(231, 215, 181); display: flex; align-items: center; gap: 12px; margin: 0px 0px 22px; }
.small-line { height: 1px; width: 30px; background: var(--gold); }
h1 { font-size: clamp(72px, 8.5vw, 126px); line-height: 1.08; letter-spacing: -7px; font-weight: 600; color: #fff; text-shadow: 0 2px 6px rgba(0,0,0,.35),0 12px 40px rgba(0,0,0,.25); margin: 0px 0px 28px; }
h1 > span { display: block; }
.hero-intro { font-size: 20px; color: #fff; font-weight: 500; text-shadow: 0 2px 8px rgba(0,0,0,.8); margin: 0px 0px 8px; letter-spacing: 1px; }
.hero-description { color: #e0e4d9; font-size: 15px; text-shadow: 0 2px 8px rgba(0,0,0,.8); margin: 0px; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; }
.button { display: inline-flex; gap: 28px; align-items: center; justify-content: center; padding: 12px 22px; border-radius: 5px; font-size: 14px; transition: transform 0.2s, background 0.2s; }
.button:hover { transform: translateY(-3px); }
.button-light { color: rgb(36, 37, 31); background: rgb(231, 223, 201); border: 1px solid rgb(231, 223, 201); }
.button-light:hover { background: rgb(249, 240, 218); }
.button-glass { border: 1px solid rgba(255, 255, 255, 0.24); background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(8px); }
.button-glass:hover { background: rgba(255, 255, 255, 0.086); }
.hero-bottom { position: absolute; bottom: 36px; left: 0px; right: 0px; display: flex; align-items: center; justify-content: space-between; color: rgb(181, 183, 169); font-size: 11px; letter-spacing: 1px; }
.hero-bottom a span { display: inline-block; margin-left: 24px; color: var(--gold); }
.hero-bottom > span { font-family: ui-monospace, SFMono-Regular, monospace; letter-spacing: 1.5px; font-size: 10px; }
.section { padding-block: 108px; border-bottom: 1px solid var(--line); }
.section-label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 52px; font-size: 11px; letter-spacing: 2px; color: var(--muted); }
.section-label > span:first-child { font-family: ui-monospace, SFMono-Regular, monospace; }
.section-label > span:last-child { font-size: 12px; letter-spacing: 3px; color: rgb(200, 202, 187); }
.about-layout { display: grid; grid-template-columns: 1fr 300px; gap: 100px; align-items: start; }
h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.5; letter-spacing: -1.3px; font-weight: 450; margin: 0px 0px 26px; }
.about p { color: var(--muted); font-size: 15px; margin: 16px 0px; line-height: 2; }
.about p.lead { color: var(--text); font-size: 19px; margin-top: 28px; }
.text-links { display: flex; gap: 30px; font-size: 13px; margin-top: 28px; color: var(--gold); }
.text-links a:hover, .inline-link:hover, .contact-links a:hover { color: rgb(241, 222, 176); }
.profile-card { background: linear-gradient(145deg, rgb(33, 37, 28), rgb(22, 24, 20)); border: 1px solid rgba(217, 191, 131, 0.15); border-radius: 10px; padding: 30px; }
.profile-avatar { border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.07); width: 82px; height: 82px; margin-bottom: 18px; }
.profile-name { font-size: 28px; font-weight: 500; line-height: 1.3; letter-spacing: -1px; }
.profile-card p.profile-subtitle { font-size: 11px; letter-spacing: 1.6px; margin: 6px 0px 24px; }
.profile-card dl { margin: 0px; font-size: 12px; }
.profile-card dl > div { display: flex; justify-content: space-between; margin: 10px 0px; gap: 10px; }
.profile-card dt { color: rgb(139, 146, 129); }
.profile-card dd { margin: 0px; color: rgb(221, 223, 210); }
.profile-download { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 19px; margin-top: 24px; font-size: 12px; color: var(--gold); }
.skills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 52px; }
.skills span { padding: 7px 20px; border: 1px solid var(--line); border-radius: 30px; font-size: 12px; color: rgb(184, 190, 173); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 46px; }
.section-heading h2 { margin-bottom: 0px; }
.section-heading > p { font-size: 13px; color: var(--muted); margin: 0px 0px 7px; }
.inline-link { font-size: 12px; color: var(--gold); white-space: nowrap; margin-bottom: 7px; }
.experience { display: grid; grid-template-columns: 230px 1fr; gap: 46px; padding: 44px 0px; border-top: 1px solid var(--line); }
.experience:last-child { padding-bottom: 0px; }
.experience-meta { padding-top: 3px; }
.company-mark { display: grid; place-items: center; width: 45px; height: 45px; border: 1px solid var(--line); background: #fff; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.company-mark img { width: 100%; height: 100%; object-fit: contain; }
.company-mark.wps { padding: 6px; }
.experience-meta p { font-family: ui-monospace, SFMono-Regular, monospace; font-size: 11px; color: rgb(142, 149, 135); line-height: 1.8; margin-top: 18px; }
.overline { font-size: 11px; letter-spacing: 1.3px; color: var(--gold); }
h3 { font-weight: 500; }
.experience h3 { font-size: 27px; margin: 8px 0px 12px; }
.experience-content > p { color: rgb(183, 188, 174); font-size: 14px; margin: 0px 0px 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tags span { background: rgba(255, 255, 255, 0.016); border: 1px solid var(--line); border-radius: 4px; color: rgb(157, 167, 143); font-size: 10px; line-height: 1.4; padding: 5px 9px; }
.writing-item { display: grid; grid-template-columns: 220px 1fr 24px; align-items: center; gap: 24px; padding: 30px 0px; border-top: 1px solid var(--line); transition: color 0.2s; }
.writing-category { font-family: ui-monospace, SFMono-Regular, monospace; font-size: 10px; letter-spacing: 1px; color: rgb(141, 153, 128); }
.writing-item h3 { font-size: 17px; line-height: 1.7; margin: 0px; }
.writing-arrow { color: var(--gold); font-size: 22px; transition: transform 0.2s; }
.writing-item:hover h3 { color: var(--gold); }
.writing-item:hover .writing-arrow { transform: translate(3px, -3px); }
.contact-section { padding-block: 108px; background: radial-gradient(at 90% 100%, rgba(56, 65, 39, 0.2), transparent 65%); }
.contact-section h2 { font-size: clamp(38px, 5vw, 62px); margin-bottom: 20px; line-height: 1.4; }
.contact-section p { color: var(--muted); font-size: 14px; }
.contact-email { display: inline-flex; align-items: center; gap: 42px; font-size: clamp(20px, 3.2vw, 38px); letter-spacing: -0.5px; border-bottom: 1px solid rgba(217, 191, 131, 0.333); padding-bottom: 12px; margin-top: 20px; overflow-wrap: anywhere; }
.contact-email span { color: var(--gold); }
.contact-links { display: flex; gap: 30px; color: rgb(186, 191, 174); font-size: 12px; margin-top: 32px; }
footer { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); font-size: 11px; color: rgb(125, 134, 113); }
footer p { margin: 0px; }
.footer-brand { font-size: 23px; color: rgb(221, 225, 209); letter-spacing: -1px; }
footer > a:last-child { color: rgb(166, 175, 152); }
.hero-content { animation: 0.8s ease-out 0s 1 normal both running arrive; }
@keyframes arrive { 
  0% { opacity: 0; transform: translateY(15px); }
  100% { opacity: 1; transform: none; }
}
@media (min-width: 1600px) {
.hero-image { object-position: center 50%; }
}
@media (max-width: 1020px) {
.wrap { width: calc(100% - 64px); }
.site-header { padding-inline: 32px; }
.about-layout { gap: 45px; grid-template-columns: 1fr 270px; }
.experience { grid-template-columns: 180px 1fr; gap: 30px; }
.writing-item { grid-template-columns: 180px 1fr 24px; }
.hero-bottom > span { font-size: 9px; }
}
@media (max-width: 680px) {
html { scroll-padding-top: 84px; }
.wrap { width: calc(100% - 40px); }
.site-header { height: 68px; padding-inline: 20px; gap: 16px; }
.brand { font-size: 21px; gap: 8px; }
.brand img { width: 28px; height: 28px; }
.site-header nav { gap: 15px; font-size: 12px; }
.nav-contact { display: none; }
.hero { min-height: 700px; height: 94svh; max-height: 880px; }
.hero-image { object-position: 60% center; }
.hero-shade { background: radial-gradient(ellipse 120% 60% at 30% 50%,rgba(7,12,9,.78),rgba(7,12,9,.48) 48%,transparent 95%),linear-gradient(0deg,var(--bg),rgba(16,17,15,.10) 60%,transparent); }
.hero-content { padding-top: 48px; }
.eyebrow { font-size: 9px; letter-spacing: 1.4px; gap: 8px; }
.small-line { width: 20px; }
h1 { font-size: 82px; letter-spacing: -5px; margin-bottom: 26px; }
.hero-intro { font-size: 15px; letter-spacing: 0.4px; }
.hero-description { font-size: 13px; margin-top: 12px; }
.hero-actions { gap: 10px; margin-top: 30px; }
.button { padding: 12px 16px; gap: 18px; font-size: 12px; }
.hero-bottom { bottom: 26px; }
.hero-bottom > span { display: none; }
.section { padding-block: 72px; }
.section-label { margin-bottom: 34px; font-size: 10px; letter-spacing: 1.6px; }
.section-label > span:last-child { font-size: 11px; }
.about-layout { grid-template-columns: 1fr; gap: 34px; }
h2 { font-size: 33px; letter-spacing: -0.7px; }
.about p { font-size: 14px; }
.about p.lead { font-size: 17px; }
.profile-card { padding: 26px; }
.profile-card dl > div { font-size: 13px; }
.skills { margin-top: 30px; gap: 8px; }
.skills span { padding: 5px 14px; font-size: 11px; }
.section-heading { display: block; margin-bottom: 32px; }
.section-heading > p { margin-top: 22px; }
.section-heading > .inline-link { display: inline-block; margin-top: 20px; }
.experience { grid-template-columns: 1fr; gap: 20px; padding-block: 32px; }
.experience-meta { display: flex; align-items: center; gap: 18px; }
.experience-meta p { margin: 0px; }
.company-mark { width: 38px; height: 38px; font-size: 19px; }
.experience h3 { font-size: 25px; }
.experience ul { font-size: 13px; }
.writing-item { grid-template-columns: 1fr 24px; gap: 8px 15px; padding-block: 24px; }
.writing-category { grid-column: 1; }
.writing-item h3 { grid-column: 1; font-size: 16px; }
.writing-arrow { grid-area: 1 / 2 / 3; }
.contact-section { padding-block: 72px; }
.contact-section h2 { font-size: 40px; }
.contact-section p { font-size: 13px; }
.contact-email { font-size: 23px; gap: 18px; }
.contact-links { gap: 25px; }
footer { min-height: 110px; flex-wrap: wrap; gap: 10px; padding-block: 24px; }
footer p { display: none; }
.text-links { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
html { scroll-behavior: auto; }
*, ::before, ::after { animation: auto ease 0s 1 normal none running none !important; transition: none !important; }
}
.text-links, .contact-links { flex-wrap: wrap; row-gap: 12px; }
.text-links a, .contact-links a { white-space: nowrap; }
