/* 修改主题：优先调整下面的颜色、宽度和字体变量。无需构建、无需联网。 */
:root {
  --ink: #282334;
  --body: #514b5e;
  --muted: #716a7c;
  --purple: #7250b1;
  --purple-dark: #59388e;
  --lavender: #f3effa;
  --cream: #faf8f4;
  --line: #e8e2ee;
  --container: 1160px;
  --header-height: 80px;
  --font: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; color: var(--ink); background: #fff; font-family: var(--font); font-size: 16px; line-height: 1.8; -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
button, a, h1, h2, h3, h4, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button { color: inherit; cursor: pointer; }
a, button { touch-action: manipulation; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--purple-dark); outline-offset: 5px; border-radius: 8px; }
section:focus { outline: none; }
img { max-width: 100%; }
[hidden] { display: none !important; }
::selection { color: #352051; background: #ded1f3; }
.container { width: min(var(--container), calc(100% - 96px)); margin-inline: auto; }
.icon { width: 22px; height: 22px; flex: 0 0 auto; vertical-align: middle; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 12px 20px; background: white; color: var(--purple-dark); }
.skip-link:focus { top: 12px; }
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 30; height: var(--header-height); background: rgba(252,250,255,.92); border-bottom: 1px solid transparent; backdrop-filter: blur(18px); transition: box-shadow .2s, border-color .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 24px #29203305; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 22px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.brand-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--purple); box-shadow: 0 0 0 5px #7250b10b; }
.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a { position: relative; display: flex; align-items: center; min-height: 44px; color: var(--body); font-size: 14px; font-weight: 600; transition: color .2s; white-space: nowrap; }
.main-nav a::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--purple); transform: scaleX(0); transition: transform .2s; }
.main-nav a[aria-current] { color: var(--purple-dark); }
.main-nav a:hover { color: var(--purple); }
.main-nav a[aria-current]::after { transform: scaleX(1); }
.main-nav a:active, .brand:active { opacity: .65; }
.menu-toggle { display: none; }
main > section { scroll-margin-top: calc(var(--header-height) + 20px); }
.hero { overflow: hidden; background: radial-gradient(ellipse at 83% 35%, #e9e2f77d 0, transparent 52%), linear-gradient(130deg, #f5f1fd 0%, #f6f3fa 53%, #fcf7ed 100%); }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); column-gap: 75px; align-items: center; min-height: max(760px, 100svh); padding-block: 148px 100px; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--purple-dark); font-size: 13px; letter-spacing: .12em; margin-bottom: 24px; }
.tiny-line { height: 1px; width: 28px; background: var(--purple); }
.eyebrow-number { margin-left: 2px; color: #857491; font-size: 11px; letter-spacing: .08em; }
h1 { font-size: clamp(46px, 4.6vw, 66px); letter-spacing: -.055em; line-height: 1.3; font-weight: 750; white-space: nowrap; }
h1 > span:first-child { color: var(--purple); }
.title-dot { color: #bda8df; margin-left: 5px; }
.intro { max-width: 590px; margin-top: 27px; color: var(--body); font-size: 17px; line-height: 2; text-wrap: pretty; }
.intro strong { color: #383041; font-weight: 600; }
.contacts { display: grid; grid-template-columns: 1fr 1.2fr; gap: 10px 12px; margin-top: 30px; }
.contact { display: flex; align-items: center; gap: 10px; padding: 9px 8px 9px 0; background: none; border: 1px solid transparent; border-radius: 10px; text-align: left; min-width: 0; transition: background .2s, border-color .2s; }
.contact:hover { background: #ffffff9c; border-color: #e0d6ee; }
.contact:active { background: #e8dff4; }
.contact-icon { display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0; border: 1px solid #ebe5f1; border-radius: 11px; background: #ffffffc9; color: var(--purple); }
.contact-icon .icon { width: 19px; height: 19px; }
.contact-text { display: flex; flex-direction: column; gap: 0; min-width: 0; }
.contact-label { color: var(--muted); font-size: 11px; line-height: 1.6; }
.contact-note { font-size: 10px; }
.contact-value { color: #3e364b; font-size: 14px; letter-spacing: .015em; white-space: nowrap; }
.contact > .icon, .copy-indicator .icon { width: 14px; height: 14px; color: #8b7b9f; }
.copy-indicator { margin-left: auto; display: flex; }
.contact.copied .copy-indicator { color: #42694c; }
.contact.copied .copy-indicator .icon { color: inherit; }
.contact[href^="mailto"] { grid-column: 1 / -1; width: fit-content; padding-right: 12px; }
.hero-actions { display: flex; align-items: center; gap: 14px; margin-top: 27px; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 16px; min-height: 53px; padding: 13px 22px; border: 1px solid transparent; border-radius: 11px; font-size: 14px; font-weight: 600; transition: background .2s, box-shadow .2s, transform .2s; }
.button .icon { width: 18px; height: 18px; }
.button-primary { color: white; background: var(--purple); box-shadow: 0 7px 16px #7250b124; }
.button-primary:hover { background: var(--purple-dark); box-shadow: 0 9px 20px #7250b12d; transform: translateY(-2px); }
.button-secondary { color: var(--purple-dark); background: #ffffffa6; border-color: #dcd2e9; }
.button-secondary:hover { background: #fff; border-color: #9d83c8; transform: translateY(-2px); }
.button:active { transform: translateY(1px); box-shadow: none; }
.portrait-area { position: relative; padding: 20px 25px 0; min-width: 0; }
.portrait-card { position: relative; z-index: 1; padding: 13px 13px 0; border: 1px solid #ffffffd9; border-radius: 31px; background: #ffffffd6; box-shadow: 0 24px 70px #45306112; transform: rotate(2deg); }
.portrait-image { border-radius: 23px; overflow: hidden; background: white; }
.portrait-image img { display: block; width: 100%; height: auto; aspect-ratio: 1617 / 2266; object-fit: contain; }
.portrait-card figcaption { padding: 15px 4px 17px; display: flex; align-items: center; justify-content: center; gap: 8px; color: #655875; font-size: 12px; letter-spacing: .025em; }
.caption-dot { width: 5px; height: 5px; background: #a48bc5; border-radius: 50%; }
.portrait-orbit { position: absolute; width: 109%; aspect-ratio: 1; left: -4%; top: 15%; border: 1px solid #d9cbe9; border-radius: 50%; transform: rotate(-20deg) scaleX(.94); }
.portrait-spark { position: absolute; z-index: 2; right: 0; top: 0; width: 55px; height: 55px; display: grid; place-items: center; background: #faf5ea; border: 1px solid #e8daca; border-radius: 50%; color: #a98757; transform: rotate(15deg); }
.portrait-spark .icon { width: 26px; height: 26px; }
.profile-tags { position: relative; z-index: 2; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 23px; }
.profile-tags span { border-radius: 30px; border: 1px solid #dcd2e8; background: #fdfbffbd; padding: 5px 13px; font-size: 11px; color: #71617f; white-space: nowrap; }
.scroll-cue { position: absolute; bottom: 25px; left: 0; display: flex; gap: 10px; align-items: center; font-size: 11px; letter-spacing: .1em; color: var(--muted); min-height: 44px; }
.scroll-cue .icon { width: 15px; height: 22px; }
.scroll-cue:hover { color: var(--purple); }
.section { padding-block: 96px; }
.section-heading { display: flex; align-items: center; gap: 17px; margin-bottom: 42px; }
.section-number { font-size: 12px; color: var(--purple); border: 1px solid #ded4ed; border-radius: 50%; width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; }
.section-heading h2 { font-size: 32px; font-weight: 650; line-height: 1.5; letter-spacing: -.035em; }
.heading-line { height: 1px; background: var(--line); margin-left: 12px; flex: 1; }
.work-list { display: grid; gap: 24px; }
.experience-card { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.85fr); gap: 46px; padding: 38px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.experience-card.featured { background: linear-gradient(120deg, #f3eefb 0%, #faf8fe 80%); border-color: #dcd0ec; }
.experience-meta { position: relative; min-width: 0; }
.entry-number { display: block; color: #b2a3c2; font-size: 11px; letter-spacing: .1em; margin-bottom: 19px; }
.role-tag { display: inline-block; color: var(--purple-dark); background: #f1ebf8; border: 1px solid #e5daef; border-radius: 6px; padding: 3px 9px; font-size: 11px; line-height: 1.7; }
.featured .role-tag { background: #e9dff6; border-color: #ddcdec; }
.experience-meta h3, .early-meta h3 { margin-top: 14px; font-size: 22px; line-height: 1.65; font-weight: 650; letter-spacing: -.015em; overflow-wrap: anywhere; }
.date { margin-top: 13px; font-size: 12px; color: var(--muted); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.project-decoration { display: block; margin-top: 30px; color: #c1acde; }
.project-decoration .icon { width: 40px; height: 40px; stroke-width: .8; }
.points { list-style: none; padding: 0; margin: 0; display: grid; gap: 21px; }
.points li { position: relative; padding-left: 17px; }
.points li::before { content: ""; position: absolute; left: 0; top: 10px; height: 5px; width: 5px; background: #ad95c9; border-radius: 50%; }
.points h4 { font-size: 14px; color: #392d48; line-height: 1.85; font-weight: 650; margin-bottom: 4px; }
.points p { color: var(--body); font-size: 14px; line-height: 1.95; text-wrap: pretty; }
.points strong { color: var(--purple-dark); font-weight: 650; }
.document-link { display: inline-flex; align-items: center; gap: 13px; color: var(--purple-dark); font-weight: 600; font-size: 13px; min-height: 47px; margin: 26px 0 0 17px; padding: 11px 0 5px; border-bottom: 1px solid #c5b0de; transition: color .2s, border-color .2s; }
.document-link:hover { color: #3e1d6e; border-color: var(--purple); }
.document-link:active { opacity: .6; }
.document-link .icon { width: 18px; height: 18px; }
.early-section { background: var(--cream); }
.early-list { border-top: 1px solid #e5dfd8; }
.early-item { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.85fr); gap: 46px; padding: 37px 14px 37px 0; border-bottom: 1px solid #e5dfd8; }
.early-meta { padding-right: 20px; }
.early-meta h3 { font-size: 20px; }
.early-meta .role-tag { color: #6f6256; border-color: #e5ddd1; background: #f1ece4; }
.education-panel { margin-top: 46px; padding: 31px 34px; border: 1px solid #e6e0d8; background: #fffdf9; border-radius: 18px; display: grid; grid-template-columns: 1.7fr 1fr; gap: 32px; }
.education-panel h3 { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.education-panel h3 .icon { width: 19px; height: 19px; color: #9277b1; }
.schools { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 22px; }
.school h4 { font-size: 15px; font-weight: 600; margin-bottom: 3px; }
.school > p { color: var(--body); font-size: 12px; }
.school .date { color: var(--muted); font-size: 11px; margin-top: 6px; }
.graduate { display: inline-block; margin-left: 9px; font-size: 10px; color: #765b96; background: #f0eaf6; padding-inline: 5px; border-radius: 4px; }
.qualifications { border-left: 1px solid #e6e0d8; padding-left: 32px; }
.qualifications > p { display: flex; align-items: center; gap: 9px; font-size: 12px; color: var(--body); margin-top: 17px; }
.qualifications .icon { width: 15px; height: 15px; color: #8b759f; }
.about-section { background: linear-gradient(120deg, #f5f0fb, #f7f3fa 55%, #fcf8f2); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding-top: 5px; }
.about-item { display: flex; gap: 20px; }
.about-icon { display: grid; place-items: center; border: 1px solid #e0d5ed; background: #ffffff69; border-radius: 15px; color: var(--purple); width: 48px; height: 48px; flex: 0 0 auto; }
.about-item h3 { font-size: 18px; font-weight: 600; margin: 5px 0 12px; }
.about-item p { font-size: 14px; line-height: 2; color: var(--body); }
.site-footer { background: #f7f3fa; border-top: 1px solid #e7deed; }
.footer-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--muted); gap: 20px; }
.footer-inner a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.footer-inner a:hover { color: var(--purple); }
.footer-inner .icon { width: 15px; height: 15px; }
.toast { position: fixed; bottom: max(25px, env(safe-area-inset-bottom)); left: 50%; transform: translate(-50%, 12px); z-index: 80; width: max-content; max-width: calc(100% - 32px); background: #352842; color: white; border: 1px solid #6f5c84; padding: 13px 23px; border-radius: 13px; box-shadow: 0 10px 36px #27203024; opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; text-align: center; font-size: 13px; overflow-wrap: anywhere; }
.toast.visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast.is-error { background: #663941; }
.missing-photo { aspect-ratio: 1617 / 2266; display: grid; place-items: center; color: var(--purple); background: #f0e9f8; }
.noscript { margin: 100px 24px; }
@media (min-width: 1600px) { .hero-inner { min-height: min(950px, 100svh); } }
@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .hero-inner { column-gap: 36px; grid-template-columns: minmax(0, 1.4fr) minmax(0, .9fr); }
  .portrait-area { padding-inline: 10px; }
  .intro { font-size: 16px; }
  .contacts { gap: 8px; }
  .contact { gap: 7px; }
  .contact-icon { width: 32px; height: 35px; }
  .contact-value { font-size: 13px; }
  .main-nav { gap: 25px; }
  .experience-card { gap: 28px; padding: 30px; }
  .experience-meta h3 { font-size: 20px; }
  .early-item { gap: 30px; }
  .about-grid { gap: 35px; }
}
@media (max-width: 900px) and (min-width: 761px) {
  .hero-inner { column-gap: 20px; }
  h1 { font-size: 46px; }
  .contacts { grid-template-columns: 1fr; gap: 2px; }
  .contact { width: fit-content; min-width: 240px; }
  .copy-indicator { margin-left: 10px; }
  .hero-actions { gap: 10px; }
  .button { padding: 12px 14px; font-size: 12px; gap: 10px; }
  .profile-tags span { padding: 4px 10px; font-size: 10px; }
  .main-nav { gap: 19px; }
  .main-nav a { font-size: 12px; }
  .education-panel { padding: 25px; gap: 25px; grid-template-columns: 1.7fr 1fr; }
  .schools { gap: 18px; }
}
@media (max-width: 760px) {
  :root { --header-height: 68px; }
  .container { width: calc(100% - 40px); }
  .brand { font-size: 20px; }
  .menu-toggle { display: flex; gap: 7px; align-items: center; border: 1px solid #ded4e9; background: #fff8; border-radius: 9px; padding: 9px 12px; font-size: 12px; min-height: 42px; }
  .menu-toggle .icon { width: 17px; height: 17px; }
  .menu-toggle:hover { background: #fff; }
  .menu-toggle:active { background: #e9e0f3; }
  .main-nav { display: none; position: absolute; top: calc(100% + 8px); left: 20px; right: 20px; padding: 12px; background: #fefcff; border: 1px solid #e1d6ed; border-radius: 15px; box-shadow: 0 14px 35px #34244312; }
  .main-nav.is-open { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
  .main-nav a { min-height: 45px; padding: 10px 13px; font-size: 12px; border-radius: 8px; }
  .main-nav a[aria-current] { background: #f2eafa; }
  .main-nav a::after { display: none; }
  .hero-inner { grid-template-columns: 1fr; min-height: auto; padding-top: 115px; padding-bottom: 85px; row-gap: 48px; }
  .hero-copy { max-width: 590px; }
  .eyebrow { margin-bottom: 20px; font-size: 12px; }
  h1 { font-size: clamp(39px, 7vw, 57px); }
  .intro { margin-top: 22px; font-size: 16px; line-height: 1.95; }
  .contacts { margin-top: 24px; gap: 7px 10px; grid-template-columns: 1fr 1.15fr; max-width: 500px; }
  .contact { gap: 8px; padding-right: 5px; }
  .contact-value { font-size: 12px; }
  .contact-label { font-size: 10px; }
  .contact-note { font-size: 9px; }
  .contact-icon { width: 31px; height: 34px; }
  .copy-indicator { margin-left: 3px; }
  .copy-indicator .icon { width: 12px; }
  .hero-actions { margin-top: 23px; gap: 10px; }
  .button { min-height: 50px; padding: 12px 16px; font-size: 12px; gap: 12px; }
  .portrait-area { width: min(330px, 85%); justify-self: center; padding-inline: 20px; }
  .portrait-card { padding: 10px 10px 0; border-radius: 25px; transform: rotate(1.5deg); }
  .portrait-image { border-radius: 18px; }
  .portrait-card figcaption { font-size: 11px; padding-block: 13px; }
  .portrait-orbit { width: 108%; left: -4%; }
  .portrait-spark { width: 45px; height: 45px; right: 2px; }
  .profile-tags { gap: 6px; margin-top: 20px; }
  .profile-tags span { padding: 4px 9px; font-size: 10px; }
  .scroll-cue { bottom: 19px; }
  .section { padding-block: 62px; }
  .section-heading { gap: 12px; margin-bottom: 29px; }
  .section-heading h2 { font-size: 25px; }
  .section-number { width: 29px; height: 29px; font-size: 10px; }
  .heading-line { margin-left: 0; }
  .experience-card { grid-template-columns: 1fr; gap: 25px; padding: 25px 22px; border-radius: 17px; }
  .entry-number { position: absolute; right: 0; top: 3px; margin: 0; }
  .experience-meta h3 { font-size: 21px; margin-top: 12px; max-width: 600px; }
  .experience-meta .role-tag { max-width: calc(100% - 25px); }
  .project-decoration { display: none; }
  .experience-meta .date { margin-top: 8px; }
  .experience-body { padding-top: 23px; border-top: 1px solid #e8dfef; }
  .points { gap: 22px; }
  .points li { padding-left: 14px; }
  .points h4 { font-size: 14px; }
  .points p { font-size: 14px; line-height: 1.95; }
  .document-link { margin-left: 14px; margin-top: 19px; font-size: 12px; }
  .early-item { grid-template-columns: 1fr; gap: 24px; padding: 29px 0; }
  .early-meta { padding: 0; }
  .early-meta h3 { font-size: 20px; margin-top: 12px; }
  .early-meta .date { margin-top: 8px; }
  .education-panel { margin-top: 31px; padding: 25px 22px; grid-template-columns: 1fr; gap: 27px; }
  .schools { gap: 22px; }
  .qualifications { padding: 23px 0 0; border-left: 0; border-top: 1px solid #e6e0d8; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-item { gap: 16px; }
  .about-icon { width: 42px; height: 42px; border-radius: 12px; }
  .about-item h3 { font-size: 17px; margin-top: 3px; }
  .footer-inner { min-height: 76px; }
}
@media (max-width: 380px) {
  .container { width: calc(100% - 32px); }
  .contacts { grid-template-columns: 1fr; gap: 1px; }
  .contact { width: fit-content; min-width: 230px; }
  .contact-value { font-size: 13px; }
  .contact-note { font-size: 10px; }
  .copy-indicator { margin-left: auto; }
  .hero-actions { gap: 10px; }
  .button { padding-inline: 12px; gap: 8px; font-size: 11px; }
  .hero-actions .icon { width: 15px; }
  .section-heading h2 { font-size: 22px; }
  .experience-card { padding: 23px 18px; }
  .schools { grid-template-columns: 1fr; gap: 21px; }
  .portrait-area { width: 90%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
