@charset "UTF-8";

:root {
  --paper: #F7F8FA;
  --ink: #171B24;
  --muted: #596270;
  --line: #D9DEE7;
  --blue: #2D4FE3;
  --blue-hover: #223DB8;
  --blue-soft: #EDF2FF;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; min-width: 280px; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button, svg { flex-shrink: 0; }
h1, h2, p, button { margin: 0; }
svg { display: block; }
[hidden] { display: none !important; }
::selection { background: var(--blue); color: #fff; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }

.site-shell { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.header { min-height: 72px; display: flex; justify-content: space-between; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); position: relative; z-index: 10; }
.brand { display: inline-flex; align-items: center; gap: 4px; }
.brand-mark { width: 12px; height: 12px; color: var(--blue); transform: translateY(-7px); }
.brand-mark svg, .empty-icon svg { width: 100%; height: 100%; }
.brand-name { font-size: 25px; font-weight: 700; line-height: 1; letter-spacing: -1px; }
.brand-name > span { color: var(--blue); }
.brand-caption { display: none; }
.desktop-nav { display: flex; align-items: center; gap: 32px; font-size: 14px; font-weight: 500; }
.desktop-nav a { padding-block: 12px; transition: color .18s; }
.desktop-nav a:hover, .desktop-nav a[href="#contact"] { color: var(--blue); }
.menu-toggle, .mobile-nav { display: none; }

.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: center; gap: 48px; min-height: 376px; padding-block: 40px; }
.hero-copy { min-width: 0; position: relative; z-index: 1; }
.identity { margin-bottom: 12px; }
.identity h1 { font-size: 96px; line-height: 106px; font-weight: 700; letter-spacing: 0; white-space: nowrap; }
.alias { font-size: .56em; line-height: 1; font-weight: 500; color: var(--muted); margin-left: 20px; }
.role-line { font-size: 28px; line-height: 40px; font-weight: 500; letter-spacing: 0; }
.role-line > span { font-size: 14px; font-weight: 400; color: var(--muted); margin-left: 12px; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 24px; }
.button-primary, .button-text { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; font-size: 16px; line-height: 24px; font-weight: 600; }
.button-primary { padding: 11px 20px; border: 1px solid var(--blue); border-radius: 8px; background: var(--blue); color: #fff; transition: background .15s, border-color .15s; }
.button-primary:hover { background: var(--blue-hover); border-color: var(--blue-hover); }
.button-text:hover { color: var(--blue); }
.button-primary svg, .button-text svg { width: 16px; height: 16px; }
.hero-visual { width: 100%; max-width: 384px; margin-left: auto; color: var(--blue); }
.path-board { position: relative; width: 100%; aspect-ratio: 384 / 248; max-height: 248px; }
.path-board > svg { width: 100%; height: 100%; }
.board-top { display: none; }
.board-caption { position: absolute; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; margin: 0; color: var(--muted); font-size: 12px; line-height: 18px; }
.board-arrow { color: var(--blue); }

.section-row { display: grid; grid-template-columns: 180px minmax(0, 1fr); align-items: center; gap: 24px; min-height: 96px; padding-block: 24px; border-top: 1px solid var(--line); }
.section-row#work { min-height: 104px; border-bottom: 1px solid var(--line); }
.section-label { display: block; }
.index { font-family: "Consolas", "SFMono-Regular", monospace; font-size: 11px; line-height: 18px; font-weight: 400; color: var(--blue); }
.section-label .index { grid-column: 1; grid-row: 1; }
.section-title { grid-column: 2; font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: 0; }
.section-english { grid-column: 2; font-size: 10px; line-height: 16px; letter-spacing: .08em; color: var(--muted); margin-top: 2px; }
.section-content { min-width: 0; }
.empty-copy { font-size: 16px; line-height: 26px; font-weight: 400; color: var(--muted); }
.work-empty { display: flex; align-items: center; gap: 14px; min-height: 32px; }
.empty-icon { width: 24px; height: 24px; color: #7C8798; }
.work-empty .empty-copy { flex: 1; min-width: 0; }
.status-tag { flex: none; font-size: 11px; line-height: 18px; color: var(--muted); border: 1px solid #C9D0DC; border-radius: 3px; padding: 3px 8px; }

.contact { display: grid; grid-template-columns: 180px minmax(0, 1fr); align-items: center; gap: 24px; min-height: 156px; margin-top: 24px; padding: 24px 32px; border-radius: 16px; background: var(--blue-soft); }
.contact-heading { min-width: 0; align-self: center; }
.contact-heading .index { display: block; margin-bottom: 7px; }
.contact-heading h2 { font-size: 22px; line-height: 30px; font-weight: 600; }
.contact-heading h2 > span { color: var(--blue); margin-left: 7px; }
.contact-heading p { font-size: 13px; line-height: 22px; color: var(--muted); margin-top: 6px; }
.contact-main { display: grid; grid-template-columns: minmax(0, 1fr) 160px; align-items: center; gap: 3px 20px; min-width: 0; }
.contact-method { grid-column: 1; font-size: 12px; line-height: 18px; color: var(--muted); letter-spacing: .03em; }
.wechat-id { grid-column: 1; font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: 32px; line-height: 40px; font-weight: 600; letter-spacing: 0; white-space: nowrap; }
.copy-button { grid-column: 2; grid-row: 1 / span 2; width: 160px; min-height: 48px; margin: 0; padding: 11px 16px; display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--blue); border-radius: 8px; background: var(--blue); color: #fff; font-size: 16px; line-height: 24px; font-weight: 600; transition: background .15s, border-color .15s; }
.copy-button:hover { background: var(--blue-hover); border-color: var(--blue-hover); }
.copy-button svg { width: 16px; height: 16px; }
.copy-help { grid-column: 2; font-size: 11px; line-height: 18px; color: var(--muted); text-align: center; }

.footer { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 16px; font-size: 11px; line-height: 18px; color: var(--muted); }
.footer-signature { font-size: 12px; font-weight: 500; color: var(--ink); }
.footer-note { margin-left: auto; }
.back-top { min-height: 40px; display: inline-flex; align-items: center; gap: 10px; padding-block: 10px; }
.back-top:hover { color: var(--blue); }
.toast { position: fixed; z-index: 50; bottom: 24px; left: 50%; max-width: calc(100vw - 32px); padding: 12px 18px; border: 1px solid var(--ink); border-radius: 4px; background: var(--ink); color: #fff; font-size: 13px; line-height: 20px; text-align: center; opacity: 0; pointer-events: none; transform: translate(-50%, 8px); transition: opacity .18s, transform .18s; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.skip-link { position: fixed; z-index: 100; top: -80px; left: 20px; padding: 12px 16px; border-radius: 3px; color: #fff; background: var(--blue); font-size: 13px; }
.skip-link:focus { top: 14px; }

@media (min-width: 761px) and (max-width: 1050px) {
  .site-shell { width: calc(100% - 64px); }
  .hero { gap: 28px; }
  .identity h1 { font-size: 80px; line-height: 90px; }
  .role-line { font-size: 25px; line-height: 36px; }
  .section-row { grid-template-columns: 180px minmax(0, 1fr); gap: 24px; }
  .contact { grid-template-columns: 150px minmax(0, 1fr); gap: 20px; padding-inline: 24px; }
  .contact-main { gap: 3px 14px; }
  .wechat-id { font-size: 28px; line-height: 38px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 20px; }
  .site-shell { width: calc(100% - 40px); }
  .header { min-height: 64px; flex-wrap: wrap; gap: 0 16px; }
  .brand { min-height: 64px; gap: 4px; }
  .brand-mark { width: 12px; height: 12px; }
  .brand-name { font-size: 24px; }
  .desktop-nav { display: none; }
  .menu-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 44px; height: 44px; padding: 10px; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 4px; }
  .menu-toggle span { width: 18px; height: 1.5px; display: block; background: currentColor; transition: transform .18s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .mobile-nav:not([hidden]) { display: flex; flex-basis: 100%; position: static; flex-direction: column; padding: 8px 0 12px; border-top: 1px solid var(--line); }
  .mobile-nav a { padding: 12px 10px; font-size: 14px; line-height: 22px; }
  .mobile-nav a:hover { color: var(--blue); background: var(--blue-soft); }
  .hero { display: block; min-height: 264px; padding-block: 28px; }
  .identity { margin-bottom: 8px; }
  .identity h1 { font-size: 56px; line-height: 64px; font-weight: 700; letter-spacing: 0; }
  .alias { font-size: .5em; margin-left: 12px; }
  .role-line { font-size: 22px; line-height: 32px; font-weight: 500; }
  .hero-actions { gap: 0; margin-top: 24px; width: fit-content; }
  .button-primary { min-height: 48px; padding: 13px 19px; gap: 24px; }
  .hero-visual { position: absolute; right: 0; bottom: 27px; width: 112px; height: 72px; max-width: none; margin: 0; pointer-events: none; }
  .path-board { width: 112px; height: 72px; max-height: none; }
  .board-top { display: none; }
  .board-caption { display: block; font-size: 10px; line-height: 14px; bottom: -14px; }
  .section-row, .section-row#work { grid-template-columns: 1fr; gap: 10px; min-height: 104px; padding-block: 20px; }
  .section-label { display: flex; align-items: baseline; gap: 10px; }
  .section-title { font-size: 18px; line-height: 28px; }
  .section-english { margin: 0 0 0 auto; font-size: 10px; line-height: 16px; }
  .section-content { padding-left: 0; }
  .empty-copy { font-size: 16px; line-height: 26px; }
  .work-empty { gap: 10px; min-height: 26px; }
  .empty-icon { width: 22px; height: 22px; }
  .status-tag { font-size: 10px; line-height: 16px; padding: 3px 6px; }
  .contact { display: block; min-height: 208px; margin-top: 16px; padding: 24px; }
  .contact-heading .index { margin-bottom: 6px; }
  .contact-heading h2 { font-size: 20px; line-height: 28px; }
  .contact-heading p { font-size: 13px; line-height: 22px; margin-top: 4px; }
  .contact-main { grid-template-columns: minmax(0, 1fr); gap: 5px; margin-top: 20px; }
  .contact-method { font-size: 12px; line-height: 18px; }
  .wechat-id { font-size: 28px; line-height: 36px; }
  .copy-button { grid-column: 1; grid-row: auto; width: 100%; min-height: 48px; margin-top: 12px; padding: 13px 16px; }
  .copy-help { grid-column: 1; font-size: 11px; line-height: 18px; margin-top: 2px; }
  .footer { min-height: 60px; flex-wrap: wrap; gap: 2px 16px; padding-block: 14px; font-size: 10px; }
  .footer-signature { font-size: 11px; }
  .footer-note { order: 3; flex-basis: 100%; margin-left: 0; }
  .back-top { min-height: 30px; padding-block: 4px; margin-left: auto; gap: 8px; }
  .toast { bottom: 16px; width: max-content; font-size: 12px; }
}

@media (max-width: 359px) {
  .identity h1 { font-size: 46px; line-height: 54px; }
  .hero-visual { display: none; }
  .section-english { font-size: 9px; letter-spacing: .02em; }
  .contact { padding: 24px; }
  .status-tag { font-size: 9px; padding-inline: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
