﻿/* =========================================================================
   李龙飞 · 个人简历  样式表
   风格：扁平化 / 大圆角 / 柔和阴影 / 交互动效
   ========================================================================= */

/* ---------- 1. 变量 ---------- */
:root {
  --brand: #4C6FFF;
  --brand-deep: #3452E0;
  --brand-2: #22C3A6;
  --brand-3: #FF7A5C;

  --ink: #0B1020;
  --bg: #F5F6FB;
  --bg-alt: #EDF0F9;
  --surface: #FFFFFF;
  --surface-2: #F6F8FE;
  --line: rgba(14, 18, 38, .09);

  --text: #131A2A;
  --text-2: #545C76;
  --text-3: #8B92A9;

  --hero-bg: #0B1020;
  --map-land-1: #D9E2FF;
  --map-land-2: #EBF0FF;
  --map-line: rgba(76, 111, 255, .18);

  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 18px;
  --r-sm: 12px;

  --sh-1: 0 1px 2px rgba(19, 26, 42, .04), 0 10px 28px -14px rgba(19, 26, 42, .16);
  --sh-2: 0 2px 6px rgba(19, 26, 42, .05), 0 28px 56px -26px rgba(19, 26, 42, .28);
  --sh-glow: 0 14px 34px -12px rgba(76, 111, 255, .55);

  --ease: cubic-bezier(.22, .9, .28, 1);
  --maxw: 1180px;
}

[data-theme="dark"] {
  --bg: #080B14;
  --bg-alt: #0C111E;
  --surface: #111726;
  --surface-2: #0E1421;
  --line: rgba(255, 255, 255, .1);
  --text: #EDF0F9;
  --text-2: #A8B0C8;
  --text-3: #737C96;
  --map-land-1: #1B2643;
  --map-land-2: #232F52;
  --map-line: rgba(140, 165, 255, .16);
  --sh-1: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 32px -16px rgba(0, 0, 0, .7);
  --sh-2: 0 2px 8px rgba(0, 0, 0, .35), 0 30px 60px -28px rgba(0, 0, 0, .8);
}

/* ---------- 2. 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  transition: background-color .4s var(--ease), color .4s var(--ease);
  overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -.02em; font-weight: 800; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .86em;
  background: rgba(76, 111, 255, .1);
  color: var(--brand-deep);
  padding: 2px 7px;
  border-radius: 7px;
}
[data-theme="dark"] code { color: #9FB4FF; background: rgba(120, 150, 255, .14); }

::selection { background: rgba(76, 111, 255, .22); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* 滚动进度条 */
.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120;
  background: transparent; pointer-events: none;
}
.scroll-progress i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--brand-2), var(--brand), var(--brand-3));
  border-radius: 0 3px 3px 0;
}

/* ---------- 3. 通用动效 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.in { opacity: 1; transform: none; }

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

/* ---------- 4. 按钮 ---------- */
.btn {
  --btn-bg: var(--brand);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 15px; font-weight: 700;
  letter-spacing: .2px;
  white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-deep) 55%, #6F5BFF 100%);
  box-shadow: var(--sh-glow);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 42px -12px rgba(76, 111, 255, .7); }

.btn-ghost {
  color: var(--text);
  background: transparent;
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { transform: translateY(-3px); border-color: rgba(76, 111, 255, .45); background: rgba(76, 111, 255, .06); }

.btn-sm { padding: 10px 20px; font-size: 14px; }

.icon-btn {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--text-2);
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.icon-btn:hover { background: rgba(76, 111, 255, .1); color: var(--brand); transform: rotate(-8deg); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn .i-moon { display: none; }
[data-theme="dark"] .icon-btn .i-sun { display: none; }
[data-theme="dark"] .icon-btn .i-moon { display: block; }

/* ---------- 5. 导航 ---------- */
.nav {
  position: fixed; top: 14px; left: 50%;
  transform: translateX(-50%);
  width: min(var(--maxw), calc(100% - 32px));
  z-index: 100;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background-color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s;
}
.nav.is-stuck {
  background: var(--surface);
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  border-color: var(--line);
  box-shadow: var(--sh-1);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
}
.nav-inner {
  display: flex; align-items: center; gap: 18px;
  padding: 9px 12px 9px 20px;
}
.nav-logo {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 800; font-size: 16px; letter-spacing: -.01em;
  margin-right: auto;
}
.nav-logo em { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--text-3); text-transform: uppercase; }
.nav-logo-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  box-shadow: 0 0 0 4px rgba(76, 111, 255, .14);
  animation: dotPulse 2.6s infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(76, 111, 255, .16); }
  50% { box-shadow: 0 0 0 7px rgba(76, 111, 255, .05); }
}

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  position: relative;
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 14.5px; font-weight: 600;
  color: var(--text-2);
  transition: color .3s var(--ease), background-color .3s var(--ease);
}
.nav-links a:hover { color: var(--text); background: rgba(76, 111, 255, .08); }
.nav-links a.is-active { color: var(--brand); background: rgba(76, 111, 255, .12); }
.nav-actions { display: flex; align-items: center; gap: 6px; }

/* 未滚动时导航浮在深色首屏上，文字转为浅色 */
.nav:not(.is-stuck) { color: #EDF1FF; }
.nav:not(.is-stuck) .nav-logo em { color: rgba(255, 255, 255, .45); }
.nav:not(.is-stuck) .nav-links a { color: rgba(237, 241, 255, .72); }
.nav:not(.is-stuck) .nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.nav:not(.is-stuck) .nav-links a.is-active { color: #fff; background: rgba(255, 255, 255, .16); }
.nav:not(.is-stuck) .icon-btn { color: rgba(237, 241, 255, .8); }
.nav:not(.is-stuck) .icon-btn:hover { background: rgba(255, 255, 255, .14); color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 4px; }
.nav-toggle span { width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 6. 首屏 ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 150px 0 70px;
  background: var(--hero-bg);
  color: #F2F5FF;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.b1 { width: 560px; height: 560px; top: -180px; right: -80px; background: radial-gradient(circle at 40% 40%, #4C6FFF, transparent 68%); animation: drift1 20s ease-in-out infinite; }
.b2 { width: 480px; height: 480px; bottom: -200px; left: -100px; background: radial-gradient(circle at 50% 50%, #22C3A6, transparent 66%); opacity: .3; animation: drift2 24s ease-in-out infinite; }
.b3 { width: 380px; height: 380px; top: 32%; left: 42%; background: radial-gradient(circle at 50% 50%, #FF7A5C, transparent 68%); opacity: .18; animation: drift3 28s ease-in-out infinite; }
@keyframes drift1 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-40px, 50px) scale(1.08); } }
@keyframes drift2 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(60px, -40px) scale(1.1); } }
@keyframes drift3 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-50px, -30px); } }

.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 40%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 20%, transparent 78%);
}

.hero-inner {
  width: 100%; max-width: var(--maxw);
  margin: 0 auto; padding: 0 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .06);
  font-size: 13px; font-weight: 600;
  color: rgba(235, 240, 255, .82);
  backdrop-filter: blur(6px);
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 0 0 rgba(34, 195, 166, .6); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 195, 166, .55); }
  70% { box-shadow: 0 0 0 9px rgba(34, 195, 166, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 195, 166, 0); }
}

.hero-name {
  margin: 22px 0 10px;
  font-size: clamp(46px, 7vw, 82px);
  font-weight: 900;
  letter-spacing: -.04em;
  display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap;
  background: linear-gradient(120deg, #FFFFFF 20%, #C9D6FF 60%, #8FE6D6 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero-name em {
  font-style: normal;
  font-size: clamp(11px, 1.3vw, 14px);
  letter-spacing: .34em;
  font-weight: 700;
  color: rgba(255, 255, 255, .38);
  -webkit-text-fill-color: rgba(255, 255, 255, .38);
  transform: translateY(-6px);
}

.hero-roles {
  display: flex; align-items: center; gap: 10px;
  font-size: 17px; font-weight: 600;
  color: rgba(235, 240, 255, .72);
}
.role-fixed { color: rgba(235, 240, 255, .45); font-weight: 500; }
.role-rotate {
  position: relative;
  padding: 3px 14px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(120deg, rgba(76, 111, 255, .55), rgba(34, 195, 166, .45));
  border: 1px solid rgba(255, 255, 255, .16);
}
.role-rotate.swap { animation: roleSwap .55s var(--ease); }
@keyframes roleSwap {
  0% { opacity: 0; transform: translateY(8px) scale(.96); }
  100% { opacity: 1; transform: none; }
}

.hero-title {
  margin-top: 18px;
  font-size: clamp(15px, 1.7vw, 19px);
  font-weight: 600;
  color: #9FB2E8;
  letter-spacing: .01em;
}

.hero-intro {
  margin-top: 22px;
  max-width: 560px;
  color: rgba(226, 232, 255, .76);
  font-size: 16.5px;
}
.hero-intro p + p { margin-top: 10px; }

.hero-facts {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 26px;
}
.fact {
  display: inline-flex; align-items: baseline; gap: 7px;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .045);
  font-size: 13.5px;
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.fact:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .09); }
.fact span { color: rgba(255, 255, 255, .45); }
.fact b { color: #fff; font-weight: 700; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-cta .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .22); }
.hero-cta .btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .4); }

/* 头像 */
.hero-side { display: flex; flex-direction: column; align-items: center; }
.avatar-wrap { position: relative; width: min(360px, 78vw); aspect-ratio: 1; }
.avatar-ring {
  position: absolute; inset: -14px;
  border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%;
  background: conic-gradient(from 0deg, rgba(76, 111, 255, .85), rgba(34, 195, 166, .8), rgba(255, 122, 92, .7), rgba(76, 111, 255, .85));
  opacity: .85;
  animation: ringSpin 16s linear infinite, ringMorph 12s ease-in-out infinite;
  filter: blur(.5px);
}
@keyframes ringSpin { to { transform: rotate(360deg); } }
@keyframes ringMorph {
  0%, 100% { border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%; }
  50% { border-radius: 54% 46% 45% 55% / 46% 56% 44% 54%; }
}
.avatar-frame {
  position: absolute; inset: 0;
  border-radius: 40% 60% 55% 45% / 55% 45% 60% 40%;
  overflow: hidden;
  background: #E9EDFF;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 40px 80px -30px rgba(0, 0, 0, .8);
  animation: frameMorph 12s ease-in-out infinite;
}
@keyframes frameMorph {
  0%, 100% { border-radius: 40% 60% 55% 45% / 55% 45% 60% 40%; }
  50% { border-radius: 58% 42% 45% 55% / 46% 58% 42% 54%; }
}
.avatar-frame img { width: 100%; height: 100%; object-fit: cover; }

.float-chip {
  position: absolute;
  display: flex; flex-direction: column;
  padding: 10px 16px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .94);
  color: #131A2A;
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .7);
  border: 1px solid rgba(255, 255, 255, .6);
  backdrop-filter: blur(8px);
  line-height: 1.25;
  animation: floaty 6s ease-in-out infinite;
}
.float-chip b { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.float-chip i { font-style: normal; font-size: 11.5px; color: #6B7490; }
.fc1 { top: 12%; left: -8%; animation-delay: .2s; }
.fc2 { bottom: 16%; right: -10%; animation-delay: 1.4s; }
.fc3 { bottom: -4%; left: 2%; animation-delay: 2.6s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.avatar-note {
  margin-top: 26px;
  font-size: 13px;
  color: rgba(255, 255, 255, .42);
  letter-spacing: .04em;
  text-align: center;
}

/* 首屏数字 */
.hero-stats {
  width: 100%; max-width: var(--maxw);
  margin: 70px auto 0; padding: 0 28px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .1);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.hstat {
  padding: 24px 20px;
  background: rgba(11, 16, 32, .66);
  backdrop-filter: blur(6px);
  transition: background-color .4s var(--ease);
}
.hstat:hover { background: rgba(76, 111, 255, .14); }
.hstat b {
  display: block;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(120deg, #FFFFFF, #A9C0FF);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hstat b .count { font-size: 1em; display: inline; letter-spacing: inherit; color: inherit; }
.hstat b small { font-size: .52em; margin-left: 6px; -webkit-text-fill-color: rgba(169, 192, 255, .9); }
.hstat > span { display: block; margin-top: 4px; font-size: 12.5px; color: rgba(226, 232, 255, .5); }

.scroll-cue {
  position: absolute; left: 50%; bottom: 38px; transform: translateX(-50%);
  width: 26px; height: 42px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, .22);
  display: grid; place-items: start center;
  padding-top: 8px;
}
.scroll-cue span {
  width: 4px; height: 8px; border-radius: 3px;
  background: rgba(255, 255, 255, .7);
  animation: cue 1.8s infinite;
}
@keyframes cue {
  0% { transform: translateY(0); opacity: 0; }
  30% { opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { opacity: 0; }
}

/* ---------- 7. 区块通用 ---------- */
.section { position: relative; padding: 108px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark {
  --surface: rgba(255, 255, 255, .045);
  --surface-2: rgba(255, 255, 255, .03);
  --text: #F1F4FF;
  --text-2: #AEB8D6;
  --text-3: #7C87A8;
  --line: rgba(255, 255, 255, .12);
  --sh-1: none;
  --sh-2: none;
  background: #0A0E1A;
  color: var(--text);
  overflow: hidden;
}
.section-dark::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(700px 420px at 12% 0%, rgba(76, 111, 255, .22), transparent 70%),
    radial-gradient(600px 400px at 92% 30%, rgba(34, 195, 166, .12), transparent 70%);
  pointer-events: none;
}
.section-dark > * { position: relative; }

.sec-head { max-width: 760px; margin-bottom: 56px; }
.sec-eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 800;
  letter-spacing: .22em;
  color: var(--brand);
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(76, 111, 255, .1);
}
.section-dark .sec-eyebrow { color: #8FB0FF; background: rgba(120, 150, 255, .14); }
.sec-title {
  margin: 16px 0 14px;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -.03em;
}
.sec-lead { font-size: 16.5px; color: var(--text-2); max-width: 680px; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
}
.card-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 800;
  margin-bottom: 22px;
}
.card-title .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(76, 111, 255, .16); }

/* ---------- 8. 关于我 ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; }
.about-text p {
  font-size: 16.5px; color: var(--text-2);
  margin-bottom: 18px;
}
.about-text p:first-child { color: var(--text); font-weight: 500; }
.about-text p::first-letter { font-weight: 700; }
.about-side { display: flex; flex-direction: column; gap: 18px; }
.quote-card {
  position: relative;
  padding: 30px 26px 26px;
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, rgba(76, 111, 255, .1), rgba(34, 195, 166, .08));
  border: 1px solid rgba(76, 111, 255, .18);
}
.quote-mark {
  position: absolute; top: 6px; left: 18px;
  font-size: 64px; line-height: 1;
  color: rgba(76, 111, 255, .22);
  font-family: Georgia, serif;
}
.quote-card p { position: relative; font-size: 17px; font-weight: 700; line-height: 1.65; color: var(--text); }
.quote-by { display: block; margin-top: 12px; font-size: 13px; color: var(--text-3); }
.pill-list { display: flex; flex-direction: column; gap: 10px; }
.pill-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 18px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 14.5px; font-weight: 600;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.pill-list li:hover { transform: translateX(5px); border-color: rgba(76, 111, 255, .4); }
.pill-list li::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  flex: none;
}

/* ---------- 9. 工作经历 ---------- */
.exp-layout {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 54px;
  align-items: start;
}
.map-panel { position: sticky; top: 100px; }
.map-card { padding: 22px 22px 18px; }
.map-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.map-title { font-size: 14.5px; font-weight: 800; letter-spacing: .01em; }
.map-sub { font-size: 11.5px; color: var(--text-3); letter-spacing: .12em; }

.map-svg { width: 100%; height: auto; display: block; overflow: visible; }
.map-grid path { fill: none; stroke: var(--map-line); stroke-width: 1; stroke-dasharray: 4 8; }
.map-land { stroke: rgba(76, 111, 255, .35); stroke-width: 1.4; stroke-linejoin: round; }
.map-river { fill: none; stroke: rgba(76, 111, 255, .35); stroke-width: 3; stroke-linecap: round; }
.map-lake { fill: rgba(76, 111, 255, .18); stroke: rgba(76, 111, 255, .35); stroke-width: 1.2; }

.route-shadow { fill: none; stroke: rgba(76, 111, 255, .14); stroke-width: 10; stroke-linecap: round; }
.route-line {
  fill: none;
  stroke: url(#routeGrad);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  transition: stroke-dashoffset 2s var(--ease);
}
.map-card.drawn .route-line { stroke-dashoffset: 0; }
.route-dot { fill: var(--brand-2); opacity: 0; transition: opacity .6s ease 1.4s; }
.map-card.drawn .route-dot { opacity: 1; }

.city-minor circle { fill: rgba(90, 105, 150, .45); }
.city-minor text { fill: var(--text-3); font-size: 12px; text-anchor: middle; font-family: inherit; }

.city-major .city-pin { fill: #B7C0DC; transition: fill .5s var(--ease), r .5s var(--ease); }
.city-major .city-halo { fill: rgba(76, 111, 255, .14); opacity: 0; transform-box: fill-box; transform-origin: center; transition: opacity .4s ease; }
.city-major .city-name { fill: var(--text-2); font-size: 16px; font-weight: 800; font-family: inherit; transition: fill .4s ease; }
.city-major .city-year { fill: var(--text-3); font-size: 11.5px; font-family: inherit; letter-spacing: .04em; }
.city-major.is-active .city-pin { fill: var(--brand); r: 10; }
.city-major.is-active .city-halo { opacity: 1; animation: halo 2.4s ease-out infinite; }
.city-major.is-active .city-name { fill: var(--brand); }
.city-major.is-active .city-year { fill: var(--text-2); }
@keyframes halo {
  0% { transform: scale(.7); opacity: .9; }
  100% { transform: scale(2.1); opacity: 0; }
}

.route-next {
  fill: none; stroke: var(--brand-3); stroke-width: 2;
  stroke-linecap: round; stroke-dasharray: 5 7; opacity: .8;
  animation: dashFlow 3s linear infinite;
}
@keyframes dashFlow { to { stroke-dashoffset: -24; } }
.city-next circle { fill: none; stroke: var(--brand-3); stroke-width: 2; stroke-dasharray: 4 4; animation: spinSlow 12s linear infinite; transform-box: fill-box; transform-origin: center; }
@keyframes spinSlow { to { transform: rotate(360deg); } }
.city-next text { fill: var(--brand-3); font-size: 13px; font-weight: 800; font-family: inherit; }

.map-compass path { fill: rgba(76, 111, 255, .35); }
.map-compass text { fill: var(--text-3); font-size: 10px; font-family: inherit; letter-spacing: .1em; }

.map-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; color: var(--text-3); }
.map-legend span { display: inline-flex; align-items: center; gap: 7px; }
.lg-dot { width: 8px; height: 8px; border-radius: 50%; }
.lg-dot.a { background: var(--brand); }
.lg-dot.b { border: 2px dashed var(--brand-3); background: transparent; }

/* 时间轴 */
.timeline { position: relative; padding-left: 42px; display: flex; flex-direction: column; gap: 30px; }
.tl-line {
  position: absolute; left: 11px; top: 8px; bottom: 8px;
  width: 2px; border-radius: 2px;
  background: var(--line);
  overflow: hidden;
}
.tl-line i {
  display: block; width: 100%; height: 100%;
  background: linear-gradient(180deg, var(--brand) 0%, #5E8BFF 45%, var(--brand-2) 100%);
  transform-origin: top;
  transform: scaleY(0);
  transition: transform .3s linear;
}

.tl-item { position: relative; }
.tl-item::before {
  content: "";
  position: absolute; left: -36px; top: 30px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--surface);
  border: 2.5px solid var(--line);
  transition: border-color .45s var(--ease), background-color .45s var(--ease), box-shadow .45s var(--ease), transform .45s var(--ease);
}
.tl-item.is-active::before {
  border-color: var(--brand);
  background: var(--brand);
  box-shadow: 0 0 0 5px rgba(76, 111, 255, .16);
  transform: scale(1.15);
}
.tl-item.is-pending::before { border-style: dashed; border-color: var(--brand-3); background: transparent; }

.tl-card {
  padding: 26px 28px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--sh-1);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.tl-item.is-active .tl-card { border-color: rgba(76, 111, 255, .35); box-shadow: var(--sh-2); }
.tl-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }

.tl-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.tl-logo {
  width: 46px; height: 46px; flex: none;
  display: grid; place-items: center;
  border-radius: 15px;
  font-size: 18px; font-weight: 900;
  color: #fff;
  background: linear-gradient(140deg, var(--brand), #6F5BFF);
  box-shadow: 0 10px 22px -12px rgba(76, 111, 255, .9);
}
.tl-item[data-accent="2"] .tl-logo {
  background: linear-gradient(140deg, var(--brand-2), #17A88F);
  box-shadow: 0 10px 22px -12px rgba(34, 195, 166, .9);
}
.tl-item.is-pending .tl-logo { background: transparent; border: 2px dashed var(--brand-3); color: var(--brand-3); box-shadow: none; }

.tl-period {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 800;
  letter-spacing: .06em;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}
.tl-period em { font-style: normal; font-weight: 600; font-size: 11.5px; color: var(--text-3); padding: 2px 8px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }

.tl-company { font-size: 19px; font-weight: 800; margin: 6px 0 2px; letter-spacing: -.01em; }
.tl-role { font-size: 14px; color: var(--text-2); font-weight: 600; }
.tl-summary { margin-top: 12px; font-size: 15px; color: var(--text-2); }

.tl-points { margin-top: 14px; display: flex; flex-direction: column; gap: 9px; }
.tl-points li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px; color: var(--text-2);
  line-height: 1.72;
}
.tl-points li::before {
  content: "";
  position: absolute; left: 2px; top: 10px;
  width: 6px; height: 6px; border-radius: 2px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  transform: rotate(45deg);
}

.tl-quote {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--r-md);
  border-left: 3px solid var(--brand-2);
  background: var(--surface-2);
  font-size: 14px; color: var(--text-2);
  font-style: italic;
}

.tl-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tl-tags span {
  font-size: 12px; font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--brand-deep);
  background: rgba(76, 111, 255, .09);
  border: 1px solid rgba(76, 111, 255, .14);
  transition: transform .3s var(--ease);
}
[data-theme="dark"] .tl-tags span { color: #9FB4FF; }
.tl-tags span:hover { transform: translateY(-2px); }

.tl-item.is-pending .tl-card {
  border: 2px dashed rgba(255, 122, 92, .45);
  background: linear-gradient(160deg, rgba(255, 122, 92, .07), transparent 70%);
  box-shadow: none;
}
.tl-item.is-pending .tl-company,
.tl-item.is-pending .tl-period { color: var(--brand-3); }
.tl-item.is-pending .tl-points li::before { background: var(--brand-3); }
.tl-item.is-pending .tl-tags span { color: var(--brand-3); background: rgba(255, 122, 92, .1); border-color: rgba(255, 122, 92, .25); }

/* ---------- 10. 工作技能 ---------- */
.skill-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.skill-card {
  position: relative;
  padding: 30px 30px 28px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--sh-1);
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.skill-card::after {
  content: "";
  position: absolute; right: -60px; top: -60px;
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 111, 255, .14), transparent 70%);
  opacity: 0; transition: opacity .5s var(--ease); pointer-events: none;
}
.skill-card:hover { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: rgba(76, 111, 255, .28); }
.skill-card:hover::after { opacity: 1; }

.skill-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.skill-icon {
  width: 52px; height: 52px; flex: none;
  display: grid; place-items: center;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(76, 111, 255, .16), rgba(34, 195, 166, .12));
  color: var(--brand);
  transition: transform .5s var(--ease), background-color .5s var(--ease);
}
.skill-card:hover .skill-icon { transform: rotate(-8deg) scale(1.06); }
.skill-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.skill-title { font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.skill-sub { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--text-3); text-transform: uppercase; }
.skill-desc { font-size: 14.5px; color: var(--text-2); margin-bottom: 18px; }
.skill-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; }
.skill-items li {
  position: relative;
  padding-left: 24px;
  font-size: 13.8px; color: var(--text-2);
  line-height: 1.6;
}
.skill-items li::before {
  content: "";
  position: absolute; left: 0; top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: rgba(34, 195, 166, .14);
}
.skill-items li::after {
  content: "";
  position: absolute; left: 4.5px; top: 8.5px;
  width: 5px; height: 2.5px;
  border-left: 2px solid var(--brand-2);
  border-bottom: 2px solid var(--brand-2);
  transform: rotate(-45deg);
}

.skill-lower { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 24px; margin-top: 24px; }
.bars-card, .tools-card { padding: 30px; }

.bars { display: flex; flex-direction: column; gap: 18px; }
.bar-row .bar-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.bar-row .bar-label { font-size: 14px; font-weight: 600; color: var(--text); }
.bar-row .bar-val { font-size: 13px; font-weight: 800; color: var(--brand); font-variant-numeric: tabular-nums; }
.bar-track {
  height: 9px; border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  overflow: hidden;
}
.bar-fill {
  height: 100%; width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transition: width 1.4s var(--ease);
  transition-delay: var(--d, 0ms);
}

.tools { display: flex; flex-wrap: wrap; gap: 9px; }
.tools span {
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 13.5px; font-weight: 600;
  color: var(--text-2);
  background: var(--surface-2);
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease);
}
.tools span:hover { transform: translateY(-3px); color: var(--brand); border-color: rgba(76, 111, 255, .45); background: rgba(76, 111, 255, .07); }
.tools-note { margin-top: 18px; font-size: 12.5px; color: var(--text-3); }

/* ---------- 11. 案例 ---------- */
.case {
  padding: 40px;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
  margin-bottom: 34px;
  backdrop-filter: blur(4px);
}
.case-head { display: flex; gap: 24px; align-items: flex-start; margin-bottom: 26px; }
.case-index {
  flex: none;
  font-size: 12px; font-weight: 800; letter-spacing: .18em;
  padding: 7px 14px;
  border-radius: 999px;
  color: #0A0E1A;
  background: linear-gradient(120deg, #A9C0FF, var(--brand-2));
}
.case-tag {
  display: inline-block;
  font-size: 12.5px; font-weight: 700; letter-spacing: .08em;
  color: var(--brand-2);
  margin-bottom: 10px;
}
.case-title { font-size: clamp(24px, 3.2vw, 34px); letter-spacing: -.02em; }
.case-sub { margin-top: 8px; font-size: 15.5px; color: var(--text-2); }

.case-body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 36px; }
.case-intro { font-size: 15.5px; color: var(--text-2); }

/* 流程（纵向步骤条） */
.flow { display: flex; flex-direction: column; gap: 0; margin: 26px 0 28px; }
.flow-step {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  column-gap: 14px;
  padding: 14px 18px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  transition: transform .4s var(--ease), border-color .4s var(--ease), background-color .4s var(--ease);
}
.flow-step:hover { transform: translateX(6px); border-color: rgba(34, 195, 166, .5); background: rgba(34, 195, 166, .08); }
.flow-n {
  grid-row: 1 / span 2;
  align-self: start;
  display: grid; place-items: center;
  width: 28px; height: 28px; border-radius: 9px;
  font-size: 12.5px; font-weight: 800;
  color: #0A0E1A;
  background: linear-gradient(135deg, #A9C0FF, var(--brand-2));
}
.flow-step b { display: block; font-size: 14.5px; font-weight: 800; margin: 1px 0 3px; }
.flow-step i { font-style: normal; font-size: 12.8px; line-height: 1.62; color: var(--text-2); }
.flow-arrow {
  flex: none;
  width: 2px; height: 16px;
  margin-left: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(34, 195, 166, .55));
  position: relative;
}
.flow-arrow::after {
  content: ""; position: absolute; left: -2.5px; bottom: -4px;
  width: 0; height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 5px solid rgba(34, 195, 166, .85);
}

/* 指标 */
.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0;
}
.metric {
  padding: 16px 16px 14px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.metric:hover { transform: translateY(-4px); border-color: rgba(76, 111, 255, .5); }
.metric b {
  display: block;
  font-size: clamp(21px, 2.4vw, 26px);
  font-weight: 800;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(120deg, #FFFFFF, #9FC0FF);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.metric b .count { font-size: 1em; display: inline; }
.metric b small { font-size: .58em; margin-left: 2px; }
.metric > span { display: block; margin-top: 2px; font-size: 12px; color: var(--text-2); line-height: 1.5; }

/* 摘要块 */
.insight {
  padding: 22px 24px;
  border-radius: var(--r-md);
  background: rgba(34, 195, 166, .07);
  border: 1px solid rgba(34, 195, 166, .22);
}
.insight-tag {
  display: inline-block;
  font-size: 11.5px; font-weight: 800; letter-spacing: .14em;
  color: var(--brand-2);
  margin-bottom: 12px;
}
.insight ul { display: flex; flex-direction: column; gap: 9px; }
.insight li {
  position: relative; padding-left: 18px;
  font-size: 13.8px; color: var(--text-2); line-height: 1.72;
}
.insight li::before {
  content: ""; position: absolute; left: 2px; top: 9px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--brand-2);
}
.insight b { color: var(--text); font-weight: 800; }
.insight-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px;
  font-size: 13.5px; font-weight: 700;
  color: var(--brand-2);
  border-bottom: 1px dashed rgba(34, 195, 166, .5);
  padding-bottom: 2px;
  transition: gap .3s var(--ease);
}
.insight-link:hover { gap: 11px; }
.insight-link svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* 按钮组 */
.case-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.case-links .btn {
  border: 1px solid rgba(255, 255, 255, .18);
  color: var(--text);
  background: rgba(255, 255, 255, .05);
  padding: 12px 20px;
  font-size: 14px;
}
.case-links .btn:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .1); border-color: rgba(34, 195, 166, .55); }
.case-links .btn.is-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--brand), #6F5BFF);
  border-color: transparent;
  box-shadow: var(--sh-glow);
}
.case-links .btn.is-primary:hover { box-shadow: 0 18px 40px -14px rgba(76, 111, 255, .8); }
.case-links .btn svg { width: 16px; height: 16px; }

/* 图集 */
.case-side { display: flex; flex-direction: column; gap: 14px; }
.gallery { display: flex; flex-direction: column; gap: 14px; }
.shot {
  position: relative;
  display: block; width: 100%;
  padding: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
  cursor: zoom-in;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.shot img { width: 100%; height: auto; transition: transform .7s var(--ease); }
.shot:hover { transform: translateY(-4px); border-color: rgba(76, 111, 255, .5); box-shadow: 0 24px 44px -24px rgba(0, 0, 0, .9); }
.shot:hover img { transform: scale(1.035); }

/* 图片较多的图集：缩略预览（点击可看完整大图） */
.gallery--fit .shot img {
  max-height: 300px;
  object-fit: cover;
  object-position: top center;
}
.gallery--fit .shot::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 52px;
  background: linear-gradient(transparent, rgba(6, 9, 18, .45));
  pointer-events: none;
  transition: opacity .4s var(--ease);
}
.gallery--fit .shot:hover::after { opacity: 0; }
.shot-cap {
  position: absolute; left: 10px; bottom: 10px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11.5px; font-weight: 700;
  color: #0A0E1A;
  background: rgba(255, 255, 255, .9);
  transform: translateY(8px);
  opacity: 0;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.shot:hover .shot-cap { opacity: 1; transform: none; }
.gallery-hint { font-size: 12px; color: var(--text-3); text-align: center; }

/* 其他作品 / 学习中 */
.extra-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 8px; }
.extra-card { padding: 30px; }
.extra-card h4 { font-size: 12px; font-weight: 800; letter-spacing: .18em; color: var(--brand-2); margin-bottom: 10px; }
.extra-title { font-size: 20px; font-weight: 800; margin-bottom: 10px; letter-spacing: -.01em; }
.extra-card p { font-size: 14.5px; color: var(--text-2); }
.mini-shot {
  position: relative; display: block; width: 100%;
  margin: 18px 0 16px; padding: 0;
  border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--line);
  cursor: zoom-in;
}
.mini-shot img { width: 100%; max-height: 240px; object-fit: cover; object-position: top; transition: transform .7s var(--ease); }
.mini-shot:hover img { transform: scale(1.04); }
.mini-shot span {
  position: absolute; right: 10px; bottom: 10px;
  font-size: 11px; font-weight: 700; color: #0A0E1A;
  background: rgba(255, 255, 255, .9);
  padding: 4px 10px; border-radius: 999px;
}
.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 700; color: var(--brand-2);
  transition: gap .3s var(--ease);
}
.text-link:hover { gap: 11px; }
.text-link svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.learn-list { display: flex; flex-direction: column; gap: 12px; }
.learn-list li {
  padding: 12px 16px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.learn-list li:hover { transform: translateX(5px); border-color: rgba(34, 195, 166, .45); }
.learn-list b { display: block; font-size: 14.5px; }
.learn-list span { font-size: 12.8px; color: var(--text-2); }

/* ---------- 12. 留白 / 待续 ---------- */
.continue-card {
  position: relative;
  border-radius: var(--r-xl);
  border: 2px dashed rgba(255, 122, 92, .4);
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(255, 122, 92, .1), transparent 70%),
    radial-gradient(500px 300px at 85% 100%, rgba(76, 111, 255, .1), transparent 70%);
  padding: 56px 40px;
  text-align: center;
  overflow: hidden;
}
.continue-inner { max-width: 620px; margin: 0 auto; }
.continue-title {
  margin: 16px 0 14px;
  font-size: clamp(34px, 6vw, 62px);
  font-weight: 900;
  letter-spacing: -.04em;
  background: linear-gradient(120deg, var(--brand), #7A5BFF 45%, var(--brand-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.continue-desc { font-size: 15.5px; color: var(--text-2); }
.continue-bar {
  margin: 28px auto 14px;
  width: min(320px, 80%);
  height: 4px; border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}
.continue-bar i {
  display: block; height: 100%; width: 42%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-3), var(--brand));
  animation: barSlide 3.4s ease-in-out infinite;
}
@keyframes barSlide {
  0%, 100% { transform: translateX(-30%); }
  50% { transform: translateX(150%); }
}
.continue-note { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; color: var(--brand-3); }

/* ---------- 13. 页脚 ---------- */
.footer {
  background: var(--ink);
  color: #E7ECFF;
  padding: 76px 0 0;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 400px at 80% -10%, rgba(76, 111, 255, .3), transparent 70%);
  pointer-events: none;
}
.footer-inner {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 48px; align-items: start;
  padding-bottom: 56px;
}
.footer-main h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 12px; letter-spacing: -.03em; }
.footer-main p { color: rgba(231, 236, 255, .62); font-size: 15.5px; max-width: 460px; }
.footer-contacts { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }
.fc-item {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 18px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  font-size: 14.5px;
  transition: transform .35s var(--ease), background-color .35s var(--ease), border-color .35s var(--ease);
  width: fit-content;
}
.fc-item:hover { transform: translateX(5px); background: rgba(255, 255, 255, .09); border-color: rgba(34, 195, 166, .5); }
.fc-item i {
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 9px;
  background: rgba(76, 111, 255, .22);
  color: #A9C0FF;
  flex: none;
}
.fc-item svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.fc-item span { color: rgba(231, 236, 255, .55); font-size: 12.5px; min-width: 38px; }
.fc-item b { font-weight: 600; }

.footer-side { display: flex; flex-direction: column; gap: 18px; }
.footer-badge {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
}
.footer-badge img { width: 56px; height: 56px; border-radius: 18px; object-fit: cover; background: #E9EDFF; }
.footer-badge b { display: block; font-size: 16px; }
.footer-badge span { font-size: 12.5px; color: rgba(231, 236, 255, .55); }
.footer-note { font-size: 12.5px; color: rgba(231, 236, 255, .45); }

.footer-bottom {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 20px 28px;
  max-width: var(--maxw); margin: 0 auto;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 12.5px; color: rgba(231, 236, 255, .45);
}
.footer-bottom b { color: rgba(231, 236, 255, .75); font-weight: 600; }

/* ---------- 14. 灯箱 ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: grid;
  grid-template-columns: 64px 1fr 64px;
  align-items: center;
  background: rgba(6, 9, 18, .93);
  backdrop-filter: blur(10px);
  padding: 24px;
  animation: lbIn .3s var(--ease);
}
.lightbox[hidden] { display: none; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lb-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; }
.lb-figure img {
  max-width: 100%; max-height: 80vh;
  border-radius: var(--r-md);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9);
  animation: lbZoom .35s var(--ease);
}
@keyframes lbZoom { from { transform: scale(.96); opacity: .4; } to { transform: none; opacity: 1; } }
.lb-figure figcaption { color: rgba(255, 255, 255, .72); font-size: 13.5px; text-align: center; }
.lb-close, .lb-nav {
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border-radius: 50%;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  font-size: 26px; line-height: 1;
  transition: background-color .25s ease, transform .25s ease;
}
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, .25); transform: scale(1.06); }
.lb-close { position: absolute; top: 18px; right: 18px; z-index: 2; }
.lb-prev { justify-self: start; }
.lb-next { justify-self: end; }

/* ---------- 15. 响应式 ---------- */
@media (max-height: 1000px) and (min-width: 900px) {
  .scroll-cue { display: none; }
}

@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-side { order: -1; }
  .avatar-wrap { width: min(280px, 62vw); }
  .fc1 { left: -4%; }
  .fc2 { right: -4%; }
  .exp-layout { grid-template-columns: 1fr; gap: 40px; }
  .map-panel { position: relative; top: 0; }
  .case-body { grid-template-columns: 1fr; }
  .case-side { flex-direction: column; }
  .gallery { flex-direction: row; flex-wrap: wrap; }
  .gallery .shot { flex: 1 1 200px; }
  .skill-lower { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav-links {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    padding: 10px;
    border-radius: var(--r-lg);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--sh-2);
    opacity: 0; transform: translateY(-8px) scale(.98);
    pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease);
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 12px 16px; border-radius: var(--r-sm); }
  .nav-toggle { display: flex; }
  .nav-actions .btn { display: none; }
  .skill-grid { grid-template-columns: 1fr; }
  .extra-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .wrap { padding: 0 18px; }
  .section { padding: 76px 0; }
  .hero { padding: 130px 0 60px; }
  .hero-inner, .hero-stats { padding: 0 18px; }
  .hero-name { gap: 10px; }
  .hero-name em { display: none; }
  .hero-stats { margin-top: 44px; }
  .hstat { padding: 18px 14px; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
  .float-chip { padding: 8px 12px; }
  .float-chip b { font-size: 14px; }
  .float-chip i { font-size: 10px; }
  .fc3 { display: none; }
  .case { padding: 24px 20px; border-radius: var(--r-lg); }
  .case-head { flex-direction: column; gap: 12px; }
  .flow-step { padding: 12px 14px; column-gap: 12px; }
  .flow-arrow { margin-left: 30px; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .skill-items { grid-template-columns: 1fr; }
  .timeline { padding-left: 30px; }
  .tl-item::before { left: -26px; }
  .tl-line { left: 9px; }
  .lightbox { grid-template-columns: 1fr; padding: 14px; }
  .lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lb-figure img { max-height: 68vh; }
  .tl-card { padding: 20px 18px; }
  .bars-card, .tools-card, .extra-card, .skill-card { padding: 22px 20px; }
  .continue-card { padding: 40px 22px; }
  .gallery .shot { flex: 1 1 100%; }
  .lb-close, .lb-nav { width: 40px; height: 40px; }
}

/* ---------- 16. 打印 ---------- */
@media print {
  .nav, .scroll-cue, .scroll-progress, .lightbox, .float-chip, .scroll-progress { display: none !important; }
  body { background: #fff; color: #000; }
  .hero, .section-dark, .footer, .section, .section-alt { background: #fff !important; color: #000 !important; }
  .section-dark {
    --text: #000; --text-2: #333; --text-3: #555;
    --line: rgba(0, 0, 0, .18);
    --surface: #fff; --surface-2: #f5f5f5;
    --sh-1: none; --sh-2: none;
  }
  .section-dark::before { display: none; }
  .hero-name, .hstat b, .metric b, .continue-title {
    background: none !important;
    -webkit-text-fill-color: #000 !important;
    color: #000 !important;
  }
  .hero { min-height: auto; padding: 24px 0; }
  .hero-title, .hero-intro, .hero-badge, .fact, .avatar-note { color: #333 !important; }
  .fact b, .hero-badge span { color: #000 !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .case, .card, .tl-card, .skill-card, .flow-step, .metric { break-inside: avoid; }
  .map-panel { position: static; }
  a { text-decoration: underline; }
}
