/* ============================================================
   wttAndroid · 高级感极简 · 黑白双主题
   衬线标题 + 无衬线正文 + 柔和阴影 + 画廊式卡片
   ============================================================ */

:root {
  --bg: #f7f7f4;
  --bg-deep: #efefea;
  --card: #ffffff;
  --text: #17171a;
  --text-2: #5c5c63;
  --text-3: #9a9aa2;
  --line: #e4e4df;
  --accent: #a84420;
  --accent-soft: rgba(168, 68, 32, 0.08);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 2px 8px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 2px 4px rgba(0, 0, 0, 0.04), 0 12px 32px rgba(0, 0, 0, 0.07);
  --radius: 14px;
  --font: "Inter", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Segoe UI", -apple-system, sans-serif;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --mono: "JetBrains Mono", "SF Mono", "Cascadia Code", Consolas, monospace;
}

html[data-theme="dark"] {
  --bg: #0e0e10;
  --bg-deep: #141416;
  --card: #18181b;
  --text: #ededeb;
  --text-2: #a9a9b0;
  --text-3: #6b6b73;
  --line: #26262b;
  --accent: #d97a56;
  --accent-soft: rgba(217, 122, 86, 0.12);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 2px 4px rgba(0, 0, 0, 0.4), 0 16px 40px rgba(0, 0, 0, 0.5);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background 0.4s, color 0.4s;
  font-size: 15.5px;
  letter-spacing: 0.01em;
}

::selection { background: var(--accent); color: #fff; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- 滚动条 ---------- */
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-3); }

/* ============================================================
   导航
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(247, 247, 244, 0.78);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s, background 0.35s;
}
html[data-theme="dark"] .nav { background: rgba(14, 14, 16, 0.78); }
.nav.scrolled { border-bottom-color: var(--line); }

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  font-family: var(--serif);
}
.logo em {
  font-style: normal;
  color: var(--accent);
}

.nav-right { display: flex; align-items: center; gap: 4px; }

.nav-links { display: flex; gap: 2px; }
.nav-links a {
  position: relative;
  display: block;
  padding: 9px 16px;
  font-size: 14px;
  color: var(--text-2);
  border-radius: 999px;
  transition: color 0.25s, background 0.25s;
}
.nav-links a:hover { color: var(--text); background: rgba(0, 0, 0, 0.04); }
html[data-theme="dark"] .nav-links a:hover { background: rgba(255, 255, 255, 0.06); }
.nav-links a.active { color: var(--accent); font-weight: 600; background: var(--accent-soft); }

.theme-toggle {
  width: 38px; height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  margin-left: 10px;
  transition: color 0.25s, border-color 0.25s, transform 0.25s;
}
.theme-toggle:hover { color: var(--text); border-color: var(--text-3); transform: rotate(18deg); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 20px; height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* ============================================================
   通用
   ============================================================ */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }

.section { padding: 96px 0; }

.section-head { margin-bottom: 48px; max-width: 640px; }
.section-head .en {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4.2vw, 38px);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
}
.section-head p { margin-top: 12px; color: var(--text-2); font-size: 15px; }

/* 内页头部 */
.page-head {
  padding: 168px 0 24px;
}
.page-head .en {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.page-head h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 5.4vw, 54px);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.page-head p {
  margin-top: 16px;
  color: var(--text-2);
  font-size: 16px;
  max-width: 560px;
}

.section-foot { margin-top: 48px; text-align: center; }
.link { color: var(--accent); font-weight: 600; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.link:hover { border-bottom-color: var(--accent); }

/* ============================================================
   Hero(首页)
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 150px 0 80px;
  position: relative;
}
.hero-inner { max-width: 1120px; margin: 0 auto; padding: 0 32px; width: 100%; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: center;
}

.hero-left .eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 30px;
}

.hero-left h1 {
  font-family: var(--serif);
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: 0.02em;
}
.hero-left h1 .thin { color: var(--text-2); font-weight: 400; }

.hero-left .sub {
  margin-top: 24px;
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--text-2);
  line-height: 1.75;
}

.hero-left .desc {
  margin-top: 18px;
  color: var(--text-3);
  font-size: 15px;
  max-width: 460px;
}

.hero-cta {
  margin-top: 42px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 34px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s, background 0.25s, border-color 0.25s;
}
.btn-primary { background: var(--text); color: var(--bg); box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
html[data-theme="dark"] .btn-primary { background: #ededeb; color: #0e0e10; }
.btn-outline { border-color: var(--line); color: var(--text); background: var(--card); }
.btn-outline:hover { border-color: var(--text-3); transform: translateY(-2px); }
.btn-sm { padding: 11px 24px; font-size: 13.5px; }
.btn svg { width: 15px; height: 15px; }

/* ---------- 名片卡 ---------- */
.hero-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
  padding: 36px 34px 30px;
  text-align: center;
  position: relative;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: radial-gradient(ellipse 70% 40% at 50% 0%, rgba(168, 68, 32, 0.05), transparent 65%);
  pointer-events: none;
}

.card-photo {
  width: 104px;
  height: 104px;
  margin: 0 auto 18px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.card-photo img { width: 100%; height: 100%; object-fit: cover; }

.card-name h2 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.card-name p {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 2px;
  margin-top: 4px;
}

.card-role {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-2);
  background: var(--accent-soft);
  border: 1px solid var(--line);
  padding: 6px 16px;
  border-radius: 999px;
}
.role-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(168, 68, 32, 0.35); }
  50% { opacity: 0.7; box-shadow: 0 0 0 5px rgba(168, 68, 32, 0); }
}

.card-divider {
  height: 1px;
  background: var(--line);
  margin: 22px 0;
}

.card-facts { text-align: left; }
.card-facts li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
}
.card-facts li:last-child { border-bottom: 0; }
.card-facts li span {
  font-size: 12px;
  color: var(--text-3);
  font-family: var(--mono);
  letter-spacing: 1px;
}
.card-facts li b { font-size: 13.5px; font-weight: 600; text-align: right; }

.card-actions {
  margin-top: 24px;
  display: flex;
  gap: 10px;
  justify-content: center;
}

/* ============================================================
   个人简历(首页)
   ============================================================ */
.resume-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.resume-col-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-3);
  font-family: var(--mono);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.resume-col-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.edu-item, .exp-item { position: relative; padding-left: 20px; margin-bottom: 30px; }
.edu-item::before, .exp-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.edu-item::after, .exp-item::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 20px;
  bottom: -14px;
  width: 1px;
  background: var(--line);
}
.edu-item:last-child::after, .exp-item:last-child::after { display: none; }

.edu-time, .exp-time {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}
.edu-item h4, .exp-item h4 {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.edu-item p, .exp-item p {
  margin-top: 6px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.85;
}

/* 荣誉列表 */
.honor-list { display: flex; flex-direction: column; gap: 16px; }
.honor-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.honor-ic {
  color: var(--accent);
  font-size: 15px;
  line-height: 1.4;
  flex-shrink: 0;
  margin-top: 2px;
}
.honor-item b { font-size: 14.5px; font-weight: 600; }
.honor-item p { font-size: 12.5px; color: var(--text-3); margin-top: 2px; }

.exp-cta { margin-top: 28px; }

/* ---------- 教育卡片 ---------- */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.edu-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}
.edu-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.edu-card .edu-time {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}
.edu-card h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.edu-card p { margin-top: 6px; color: var(--text-2); font-size: 14px; }
.edu-tag {
  position: absolute;
  top: 22px;
  right: 24px;
  font-size: 11px;
  font-family: var(--mono);
  letter-spacing: 1px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--line);
  padding: 3px 12px;
  border-radius: 999px;
}

/* ---------- 荣誉条 ---------- */
.honor-strip {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px 40px 40px;
  box-shadow: var(--shadow-sm);
}
.honor-strip .honor-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.honor-strip .honor-item {
  background: var(--bg);
  border: 1px solid var(--line);
}

/* ---------- 底部 CTA ---------- */
.cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 40px 44px;
  box-shadow: var(--shadow-sm);
}
.cta-strip h2 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.cta-strip p { color: var(--text-2); font-size: 14.5px; margin-top: 6px; }

/* ---------- 技能云 ---------- */
.skill-cloud {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.skill-cluster {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
}
.skill-cluster h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-3);
  font-family: var(--mono);
  margin-bottom: 16px;
}
.skill-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-tags span {
  font-size: 12.5px;
  color: var(--text-2);
  background: var(--accent-soft);
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 999px;
}
.skill-tags span:first-child {
  color: var(--accent);
  border-color: rgba(168, 68, 32, 0.3);
}

/* ---------- 视频占位 ---------- */
.video-block { max-width: 860px; margin: 0 auto; }
.video-placeholder {
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)),
    repeating-linear-gradient(45deg, var(--bg-deep), var(--bg-deep) 14px, transparent 14px, transparent 28px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  position: relative;
}
html[data-theme="dark"] .video-placeholder {
  background:
    linear-gradient(rgba(14, 14, 16, 0.6), rgba(14, 14, 16, 0.6)),
    repeating-linear-gradient(45deg, var(--bg-deep), var(--bg-deep) 14px, transparent 14px, transparent 28px);
}
.video-play {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}
html[data-theme="dark"] .video-play { background: #ededeb; color: #0e0e10; }
.video-play svg { width: 26px; height: 26px; margin-left: 3px; }
.video-text { text-align: center; }
.video-text h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.video-text p { font-size: 13.5px; color: var(--text-3); margin-top: 6px; }

.hero-stats {
  margin-top: 76px;
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 34px;
}
.hero-stats .stat b {
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.5px;
  font-family: var(--serif);
  display: block;
  line-height: 1.1;
}
.hero-stats .stat b i {
  font-style: normal;
  color: var(--accent);
  font-size: 18px;
  margin-left: 2px;
  font-family: var(--serif);
}
.hero-stats .stat span { color: var(--text-3); font-size: 13px; letter-spacing: 0.06em; }

/* ---------- Hero 右侧视频卡 ---------- */
.hero-video {
  position: relative;
}
.hero-video .video-placeholder {
  aspect-ratio: 16 / 10;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  background:
    linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)),
    repeating-linear-gradient(45deg, var(--bg-deep), var(--bg-deep) 14px, transparent 14px, transparent 28px);
}
html[data-theme="dark"] .hero-video .video-placeholder {
  background:
    linear-gradient(rgba(14, 14, 16, 0.6), rgba(14, 14, 16, 0.6)),
    repeating-linear-gradient(45deg, var(--bg-deep), var(--bg-deep) 14px, transparent 14px, transparent 28px);
}
.hero-video::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border-radius: 22px;
  background: var(--accent-soft);
  z-index: -1;
  filter: blur(24px);
  opacity: 0.5;
}
.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
  display: block;
}
.hero-video .video-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
}
.hero-video .video-inner video { position: absolute; inset: 0; }
.hero-video .video-inner .video-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ============================================================
   关于(首页)
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-text p { color: var(--text-2); margin-bottom: 18px; font-size: 15.5px; line-height: 2; }
.about-text p strong { color: var(--text); font-weight: 600; }

.about-facts { border-left: 1px solid var(--line); padding-left: 36px; }
.about-facts .fact { margin-bottom: 24px; }
.about-facts .fact .k {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-3);
  font-family: var(--mono);
}
.about-facts .fact .v { font-size: 15.5px; margin-top: 4px; color: var(--text); font-weight: 500; }

/* ============================================================
   作品卡片(画廊式)
   ============================================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.project-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 14px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s, border-color 0.35s;
}
.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: var(--shadow-md);
}
html[data-theme="dark"] .project-card:hover { border-color: rgba(255, 255, 255, 0.12); }

/* 图片相框式:内嵌留白 */
.proj-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 10px;
  background: var(--bg-deep);
  position: relative;
}
.proj-img::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 10px;
  pointer-events: none;
}
.proj-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.project-card:hover .proj-img img { transform: scale(1.045); }

.proj-body { padding: 20px 6px 0; display: flex; flex-direction: column; flex: 1; }
.proj-body .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.proj-body .tags span {
  font-size: 11px;
  font-family: var(--mono);
  color: var(--text-2);
  letter-spacing: 0.04em;
}
.proj-body h3 {
  font-family: var(--serif);
  font-size: 17.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.proj-body p { font-size: 13.5px; color: var(--text-2); flex: 1; line-height: 1.75; }
.proj-body .more {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.proj-body .more::after { content: "→"; transition: transform 0.25s; }
.project-card:hover .more::after { transform: translateX(5px); }
.proj-body .more:hover { color: var(--accent); }

/* ============================================================
   经历时间线
   ============================================================ */
.timeline { position: relative; padding-left: 30px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--accent), var(--line) 30%);
}

.tl-item { position: relative; padding-bottom: 48px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 9px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
}
.tl-time {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--accent);
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}
.tl-card h3 { font-family: var(--serif); font-size: 19px; font-weight: 600; letter-spacing: 0.02em; }
.tl-card p { margin-top: 10px; color: var(--text-2); font-size: 14.5px; max-width: 660px; line-height: 1.9; }
.tl-card .tags { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.tl-card .tags span {
  font-size: 11px;
  font-family: var(--mono);
  color: var(--text-2);
  border: 1px solid var(--line);
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--card);
}

/* ============================================================
   技能
   ============================================================ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px 60px;
}
.skill-group h3 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-3);
  font-family: var(--mono);
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.skill-group h3::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.skill-row { margin-bottom: 20px; }
.skill-row:last-child { margin-bottom: 0; }
.skill-row .top { display: flex; justify-content: space-between; align-items: baseline; font-size: 14.5px; margin-bottom: 9px; }
.skill-row .top em { font-style: normal; color: var(--text-3); font-family: var(--mono); font-size: 12px; }
.skill-track {
  height: 3px;
  border-radius: 2px;
  background: var(--line);
  overflow: hidden;
}
.skill-fill {
  height: 100%;
  border-radius: 2px;
  background: var(--accent);
  width: 0;
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   联系
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
a.contact-item:hover {
  border-color: rgba(168, 68, 32, 0.35);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
html[data-theme="dark"] a.contact-item:hover { border-color: rgba(217, 122, 86, 0.4); }
.contact-item .ic {
  width: 42px; height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.contact-item .ic svg { width: 18px; height: 18px; }
.contact-item .lbl { font-size: 11px; color: var(--text-3); display: block; font-family: var(--mono); letter-spacing: 1.5px; text-transform: uppercase; }
.contact-item .val { font-size: 14.5px; font-weight: 600; word-break: break-all; }

/* ============================================================
   页脚
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 44px;
  margin-top: 48px;
}
.footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer p { font-size: 13.5px; color: var(--text-3); }
.footer .mono { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }

/* ============================================================
   滚动渐入
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 960px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-facts { border-left: 0; padding-left: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-card { max-width: 420px; margin: 0 auto; }
  .resume-grid { grid-template-columns: 1fr; gap: 48px; }
  .skill-cloud { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .wrap { padding: 0 22px; }
  .nav-inner { padding: 0 22px; }

  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .nav-links {
    position: fixed;
    top: 66px;
    left: 0; right: 0;
    flex-direction: column;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 12px 22px 20px;
    gap: 2px;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
  }
  .nav-links.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-links a { padding: 13px 10px; font-size: 16px; border-radius: 10px; }

  .hero { padding-top: 120px; }
  .hero-stats { gap: 36px; }
  .projects-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; gap: 40px; }
  .section { padding: 72px 0; }
  .page-head { padding-top: 140px; }
  .skill-cloud { grid-template-columns: 1fr; gap: 14px; }
  .hero-grid { gap: 44px; }
  .card-actions { flex-direction: column; }
  .card-actions .btn { justify-content: center; }
  .video-placeholder { border-radius: 14px; }
  .edu-grid { grid-template-columns: 1fr; }
  .honor-strip .honor-list { grid-template-columns: 1fr; }
  .honor-strip { padding: 28px 24px 30px; }
  .cta-strip { padding: 30px 26px; }
  .hero-video .video-placeholder, .hero-video .video-inner { border-radius: 16px; }
  .hero-video::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; }
}
