:root {
  color-scheme: dark;
  --background: #050a08;
  --surface: #0d1913;
  --accent: #a3ff78;
  --text: #f0f5ef;
  --muted: #adbcaf;
  --line: #33483a;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  color: var(--text);
  background: var(--background);
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 16px; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
::selection { color: var(--background); background: var(--accent); }
.space-background { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 79% 47%, #14351c66, transparent 48%), radial-gradient(ellipse at 10% 95%, #10291c66, transparent 45%), var(--background); }
#starfield { width: 100%; height: 100%; display: block; }
#mechanical-field { position: absolute; inset: 0; width: 100%; height: 100%; }
.space-grain { position: absolute; inset: 0; opacity: .16; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.22' d='M0 0h160v160H0z'/%3E%3C/svg%3E"); }
.skip-link { position: fixed; z-index: 10; top: 12px; left: 16px; padding: 10px 16px; background: var(--accent); color: var(--background); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 5; display: flex; align-items: center; gap: 40px; min-height: 96px; padding: 18px 6.5%; background: linear-gradient(#050a08e8, #050a0800); }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; gap: 10px; font-size: 24px; font-weight: 700; letter-spacing: -.8px; }
.brand-symbol { color: var(--accent); font-size: 32px; font-weight: 400; }
.brand-dot { color: var(--accent); margin-left: -9px; }
.site-header nav { display: flex; gap: 32px; margin-left: auto; }
.site-header nav a { position: relative; display: flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 16px; }
.site-header nav a::after { content: ""; position: absolute; bottom: 1px; left: 0; width: 0; height: 1px; background: var(--accent); transition: width .25s; }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--accent); }
.site-header nav a[aria-current]::after { width: 100%; }
.motion-toggle { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; background: #12201780; border: 1px solid var(--line); border-radius: 24px; color: var(--muted); cursor: pointer; padding: 8px 14px; font-size: 14px; }
.motion-toggle[hidden] { display: none; }
.motion-toggle:hover { color: var(--accent); border-color: var(--accent); }
.screen { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 130px 0 110px; scroll-snap-align: start; scroll-snap-stop: always; }
.enhanced-paging { scroll-behavior: auto; }
.page-turning, .free-scroll { scroll-snap-type: none; }
.screen-inner { width: min(1200px, 80%); margin-inline: auto; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 25px; font-size: 13px; color: var(--muted); letter-spacing: 2px; }
.signal-dot { height: 6px; width: 6px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 14px #a3ff78a6; }
.eyebrow-line { width: 24px; height: 1px; background: var(--line); }
h1 { margin: 0; font-weight: 500; line-height: 1.4; }
.intro { display: block; color: var(--muted); font-size: 18px; margin-bottom: -3px; }
.name { display: block; width: fit-content; color: var(--text); font-size: clamp(64px, 7.2vw, 108px); font-weight: 700; line-height: 1.2; letter-spacing: -.065em; }
.name-comma { color: var(--accent); font-size: .65em; }
.identity { display: block; margin-top: 20px; font-size: clamp(25px, 2.45vw, 36px); line-height: 1.65; letter-spacing: .02em; }
.identity em { color: var(--accent); font-style: normal; }
.hero-description { margin: 22px 0 28px; font-size: 16px; color: var(--muted); line-height: 1.9; }
.primary-link { display: inline-flex; align-items: center; justify-content: space-between; min-height: 54px; gap: 44px; padding: 12px 23px; background: var(--accent); color: var(--background); border: 1px solid var(--accent); border-radius: 4px; font-weight: 700; transition: box-shadow .25s, transform .25s; }
.primary-link span { font-size: 22px; font-weight: 400; }
.primary-link:hover { transform: translateY(-3px); box-shadow: 0 0 35px #a3ff7833; }
.hero-note { color: var(--muted); margin: 18px 0 0; font-size: 14px; }
.hero-orbit-label { position: absolute; top: 26%; right: 11%; font-size: 13px; line-height: 1.9; letter-spacing: 2px; color: #d1e7cb; border-left: 1px solid #a3ff7855; padding-left: 18px; }
.orbit-cross { position: absolute; left: -6px; top: -28px; color: var(--accent); font-size: 20px; }
.orbit-label-secondary { color: var(--muted); }
.screen-bottom { position: absolute; bottom: 28px; left: 10%; right: 7%; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--muted); font-size: 13px; letter-spacing: 1px; }
.scroll-link { display: inline-flex; min-height: 44px; align-items: center; gap: 12px; }
.scroll-link:hover, .text-link:hover { color: var(--accent); }
.scroll-icon { width: 18px; height: 28px; border: 1px solid #adbcaf88; border-radius: 12px; position: relative; }
.scroll-icon::after { content: ""; position: absolute; left: 7px; top: 6px; width: 2px; height: 6px; background: var(--accent); animation: scroll-hint 2s infinite; }
.screen-caption { margin-left: auto; }
.screen-index { white-space: nowrap; font-family: monospace; }
.screen-index b { color: var(--accent); font-weight: 400; }
.screen-nav { position: fixed; left: 23px; top: 50%; transform: translateY(-50%); z-index: 4; display: flex; flex-direction: column; }
.screen-nav a { position: relative; width: 44px; height: 36px; display: flex; align-items: center; justify-content: center; }
.screen-nav a::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #6a7c6b; transition: background .3s, box-shadow .3s; }
.screen-nav a[aria-current]::before { background: var(--accent); box-shadow: 0 0 12px #a3ff7888; }
.screen-nav a span { position: absolute; left: 36px; white-space: nowrap; font-size: 12px; padding: 3px 8px; border: 1px solid var(--line); background: var(--background); opacity: 0; pointer-events: none; transition: opacity .2s; }
.screen-nav a:hover span, .screen-nav a:focus-visible span { opacity: 1; }
.about, .practice, .contact { background: linear-gradient(90deg, #050a08aa, #050a0833); }
.text-link { display: inline-flex; align-items: center; gap: 28px; min-height: 44px; border-bottom: 1px solid var(--line); }
.about-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 88px; align-items: center; }
.about h2 { margin: 0; font-size: clamp(34px, 3.5vw, 50px); line-height: 1.45; letter-spacing: -.035em; font-weight: 500; }
.about h2 span { color: var(--accent); }
.about-intro, .about-motivation { color: var(--muted); font-size: 16px; line-height: 1.9; }
.about-intro { margin: 24px 0 14px; }
.about-motivation { margin: 0; }
.about-question { margin: 24px 0; padding: 0 0 0 18px; border-left: 2px solid var(--accent); }
.about-question p { margin: 0; font-size: 16px; line-height: 1.9; color: var(--text); }
.experience-caption { margin: 0 0 14px; color: var(--muted); font-size: 13px; letter-spacing: 2px; }
.experience-list { margin: 0; border-top: 1px solid var(--line); }
.experience-item { padding: 24px 22px; border-bottom: 1px solid var(--line); background: linear-gradient(100deg, #0d1913e6, #0d1913a6); }
.experience-item dt { display: flex; align-items: center; gap: 16px; font-size: 20px; }
.experience-index { color: var(--accent); font-family: monospace; font-size: 12px; }
.experience-item dd { margin: 10px 0 0 32px; font-size: 16px; line-height: 1.8; color: var(--muted); }
.current-label { margin-left: auto; padding: 0 8px; border: 1px solid var(--line); color: var(--accent); font-size: 12px; line-height: 1.8; }
.practice-heading { display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; gap: 64px; }
.practice h2 { margin: 0; font-size: clamp(34px, 3.2vw, 46px); line-height: 1.45; font-weight: 500; letter-spacing: -.035em; }
.practice h2 span { color: var(--accent); }
.practice-intro > p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.9; }
.practice-intro .practice-topics { margin-top: 18px; font-size: 13px; line-height: 1.8; }
.practice-topics > span { display: block; color: var(--accent); margin-bottom: 4px; }
.practice-list { margin-top: 38px; }
.record-caption { display: flex; align-items: center; justify-content: space-between; margin: 0 0 12px; color: var(--muted); font-size: 13px; letter-spacing: 2px; }
.record-caption > span { font-family: monospace; letter-spacing: 0; }
.practice-card { display: grid; grid-template-columns: 32px 1fr 32px; gap: 24px; padding: 26px 28px; border: 1px solid var(--line); background: linear-gradient(110deg, #0d1913f2, #0d1913cc); transition: border-color .2s, background-color .2s; }
.practice-card:hover { border-color: #72936a; background-color: var(--surface); }
.record-index { color: var(--accent); font-family: monospace; font-size: 13px; padding-top: 2px; }
.record-meta { display: flex; align-items: center; gap: 16px; margin: 0 0 14px; color: var(--muted); font-size: 13px; }
.status-label { display: inline-block; padding: 1px 9px; color: #d0dbcc; border: 1px solid #4f6254; background: #111e16; font-size: 12px; white-space: nowrap; }
.record-copy h3 { margin: 0; font-size: 23px; line-height: 1.6; font-weight: 500; }
.record-summary { color: var(--muted); margin: 12px 0 18px; font-size: 16px; line-height: 1.8; }
.record-read { color: var(--accent); font-size: 14px; }
.record-read > span { margin-left: 14px; }
.record-arrow { font-size: 26px; color: var(--muted); align-self: center; }
.contact-layout { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 88px; }
.contact h2 { margin: 0; font-size: clamp(36px, 3.8vw, 54px); font-weight: 500; line-height: 1.45; letter-spacing: -.035em; }
.contact h2 span { color: var(--accent); }
.contact-intro { margin: 26px 0 30px; max-width: 440px; font-size: 17px; line-height: 1.9; color: var(--muted); }
.contact-channels { display: flex; justify-content: center; gap: 36px; min-height: 410px; padding-top: 24px; }
.contact-channel { position: relative; width: 132px; height: fit-content; }
.channel-trigger { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 8px 0; color: var(--muted); cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent; user-select: none; }
.channel-trigger::-webkit-details-marker { display: none; }
.channel-trigger svg { width: 66px; height: 66px; padding: 18px; border: 1px solid var(--line); border-radius: 50%; background: #0d191399; transition: color .18s, border-color .18s, background .18s; }
.channel-trigger:hover, .contact-channel[open] .channel-trigger { color: var(--accent); }
.contact-channel[open] .channel-trigger svg { border-color: #a3ff7877; background: #193120b3; }
.channel-trigger:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 8px; }
.contact-panel { position: absolute; z-index: 3; top: 100%; width: 258px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: #0d1913fa; box-shadow: 0 18px 50px #0006; }
.email-panel { left: 0; }
.wechat-panel { right: 0; width: 226px; text-align: center; }
.contact-channel[open] .contact-panel { animation: contact-reveal .18s ease-out; }
@keyframes contact-reveal { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .contact-channel[open] .contact-panel { animation: none; } }
.channel-value { font-size: 18px; margin: 0 0 10px; overflow-wrap: anywhere; }
.channel-description { color: var(--muted); margin: 0; font-size: 16px; line-height: 1.8; }
.channel-value a { color: var(--accent); text-decoration: underline; text-underline-offset: 6px; }
.wechat-qr { display: block; padding: 8px; margin-bottom: 14px; background: #fff; }
.wechat-qr img { display: block; width: 100%; height: auto; }
.qr-hint { margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.article-document { scroll-snap-type: none; }
.article-page { position: relative; isolation: isolate; }
.article-page .space-background { position: absolute; }
.not-found { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.not-found h1 { margin: 0; color: var(--accent); font-size: clamp(72px, 16vw, 148px); font-weight: 500; line-height: 1.1; }
.not-found h1 span { color: var(--text); font-size: clamp(24px, 5vw, 42px); }
.not-found > p:not(.eyebrow) { margin: 24px 0 36px; color: var(--muted); font-size: 17px; }
.article-shell { width: min(780px, calc(100% - 48px)); margin-inline: auto; padding: 140px 0 48px; }
.article-back { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 14px; }
.article-back:hover { color: var(--accent); }
.article-heading { margin-top: 34px; }
.article-title { margin: 0; font-size: clamp(28px, 3vw, 42px); font-weight: 500; line-height: 1.5; letter-spacing: -.025em; }
.article-subtitle { color: var(--accent); font-size: 20px; margin: 14px 0 20px; }
.article-lead { color: var(--muted); font-size: 17px; line-height: 1.9; margin: 0 0 28px; }
.article-contents { display: flex; flex-wrap: wrap; gap: 8px 28px; padding: 10px 0; border-block: 1px solid var(--line); }
.article-contents a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }
.article-contents a:hover { color: var(--accent); }
.article-section { padding-top: 36px; scroll-margin-top: 120px; }
.article-section h2 { display: flex; align-items: center; gap: 16px; font-size: 23px; font-weight: 500; margin: 0 0 16px; }
.article-section h2 > span { color: var(--accent); font-size: 13px; font-family: monospace; }
.article-section > p { margin: 0 0 16px; font-size: 17px; line-height: 1.95; color: var(--muted); }
.result-list { margin: 0 0 18px; padding: 4px 20px; border: 1px solid var(--line); background: #0d1913b3; }
.result-list > div { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 0; }
.result-list > div + div { border-top: 1px solid var(--line); }
.result-list dd { margin: 0; color: var(--muted); font-size: 14px; white-space: nowrap; }
.result-list .result-done { color: var(--accent); }
.article-footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
@keyframes scroll-hint { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(8px); opacity: 1; } }
.motion-paused *, .motion-paused *::after { animation-play-state: paused !important; }
@media (max-width: 1000px) {
  .site-header { gap: 24px; padding-inline: 5%; }
  .site-header nav { gap: 24px; }
  .motion-label { display: none; }
  .motion-toggle { padding: 8px; }
  .screen-inner { width: 78%; }
  .hero-orbit-label { right: 7%; }
  .screen-caption { display: none; }
  .about-layout { gap: 36px; grid-template-columns: 1.1fr 1fr; }
  .experience-item { padding: 20px 16px; }
  .experience-item dt { font-size: 18px; gap: 12px; }
  .experience-item dd { margin-left: 28px; }
  .contact-layout { gap: 36px; }
  .contact-channels { gap: 16px; }
}
@media (min-width: 601px) and (max-width: 800px) {
  .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .about-layout { grid-template-columns: 1fr; gap: 32px; }
  .experience-list { display: grid; grid-template-columns: repeat(3, 1fr); }
  .experience-item { padding: 18px 12px; }
  .experience-item + .experience-item { border-left: 1px solid var(--line); }
  .experience-item dt { flex-wrap: wrap; gap: 8px; }
  .experience-index { width: 100%; }
  .experience-item dd { margin-left: 0; }
}
@media (max-width: 900px) {
  .practice-heading { grid-template-columns: 1fr; gap: 24px; }
  .practice-list { margin-top: 30px; }
  .practice-card { gap: 16px; padding: 24px; }
}
@media (max-width: 600px) {
  .site-header { min-height: 76px; padding: 10px 20px; gap: 14px; flex-wrap: wrap; }
  .wordmark { font-size: 21px; gap: 7px; }
  .brand-symbol { font-size: 25px; }
  .site-header nav { order: 3; width: 100%; justify-content: space-between; gap: 12px; }
  .site-header nav a { min-height: 36px; font-size: 14px; }
  .motion-toggle { margin-left: auto; width: 36px; height: 36px; min-width: 36px; min-height: 36px; }
  .screen { padding: 158px 0 90px; }
  .screen-inner { width: calc(100% - 48px); }
  .hero-copy { padding-top: 4px; }
  .eyebrow { font-size: 11px; gap: 9px; margin-bottom: 22px; letter-spacing: 1px; }
  .intro { font-size: 16px; }
  .name { font-size: clamp(64px, 18vw, 90px); }
  .identity { margin-top: 16px; font-size: clamp(23px, 5.9vw, 32px); }
  .hero-description { margin: 21px 0 25px; }
  .hero-note { font-size: 13px; }
  .hero-orbit-label { display: none; }
  .screen-bottom { bottom: 16px; left: 24px; right: 24px; font-size: 12px; }
  .screen-nav { left: auto; right: 5px; }
  .screen-nav a { width: 18px; height: 32px; }
  .screen-nav a span { display: none; }
  .about-layout { grid-template-columns: 1fr; gap: 36px; }
  .about h2 { font-size: 34px; }
  .about-question { padding-left: 14px; }
  .experience-item { padding: 20px 18px; }
  .practice h2 { font-size: 32px; }
  .practice-heading { gap: 20px; }
  .practice-card { grid-template-columns: 1fr; padding: 22px 20px; }
  .record-index, .record-arrow { display: none; }
  .record-copy h3 { font-size: 21px; }
  .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .contact h2 { font-size: 36px; }
  .contact-intro { font-size: 16px; margin-block: 22px; }
  .contact-channels { min-height: 150px; padding-top: 0; }
  .contact-panel { top: auto; bottom: 100%; }
  .channel-value { font-size: 17px; }
  .article-shell { padding-top: 144px; }
  .article-heading { margin-top: 24px; }
  .article-subtitle { font-size: 18px; }
  .article-lead, .article-section > p { font-size: 16px; }
  .article-contents { gap: 8px 22px; }
  .article-section { scroll-margin-top: 144px; }
  .article-footer { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (max-height: 740px) and (min-width: 601px) {
  .screen { padding-top: 105px; padding-bottom: 85px; }
  .eyebrow { margin-bottom: 14px; }
  .name { font-size: 70px; }
  .identity { font-size: 26px; margin-top: 10px; }
  .hero-description { margin: 14px 0 20px; }
  .about h2 { font-size: 36px; }
  .about-intro { margin-top: 18px; }
  .about-question { margin-block: 18px; }
  .experience-item { padding-block: 18px; }
  .practice h2 { font-size: 36px; }
  .practice-list { margin-top: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::after { animation: none !important; transition: none !important; }
}
