/* ========================================================
   刘进恒 · 个人作品集 v2
   配色：暖橙 #E8703A + 米白 #F8F4ED + 深墨 #1F1A17
   字体：Noto Serif SC（衬线·标题）+ Inter（无衬线·正文）
   ======================================================== */

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

:root {
  --orange: #E8703A;
  --orange-soft: #F4A574;
  --orange-deep: #C7531E;
  --cream: #F8F4ED;
  --cream-deep: #F0E9DC;
  --ink: #1F1A17;
  --ink-soft: #3D3530;
  --gray: #6B5F58;
  --gray-light: #B8AEA5;
  --line: #E5DCCE;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(31, 26, 23, 0.04);
  --shadow-md: 0 8px 24px rgba(31, 26, 23, 0.08);
  --shadow-lg: 0 24px 60px rgba(31, 26, 23, 0.12);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  font-size: 15px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: 'Noto Serif SC', 'Inter', serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

em { font-style: normal; color: var(--orange); }

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

::selection { background: var(--orange); color: var(--white); }

/* ===== 导航 ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(248, 244, 237, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(229, 220, 206, 0.5);
  transition: all 0.3s ease;
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--ink);
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 8px;
  font-family: 'Noto Serif SC', serif;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0;
}
.nav-menu {
  display: flex;
  gap: 30px;
  font-size: 14px;
  font-weight: 500;
}
.nav-menu a {
  position: relative;
  color: var(--ink-soft);
  transition: color 0.2s;
  padding: 4px 0;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.3s ease;
}
.nav-menu a:hover { color: var(--orange); }
.nav-menu a:hover::after { width: 100%; }
.nav-export {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--ink);
  color: var(--cream);
  border: none;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s;
}
.nav-export:hover { background: var(--orange); transform: translateY(-1px); }
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: 0.3s;
}

/* ===== 通用 Section ===== */
.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 32px;
  position: relative;
}
.section-alt { background: var(--white); max-width: none; }
.section-alt > * { max-width: 1280px; margin-left: auto; margin-right: auto; }
.section-warm {
  background: linear-gradient(180deg, var(--cream) 0%, #F4E5D2 100%);
  max-width: none;
}
.section-warm > * { max-width: 1280px; margin-left: auto; margin-right: auto; }
.section-compact { padding: 80px 32px; }

/* 校园深耕 · bento 网格 */
.section-lead {
  text-align: center;
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto 56px;
  line-height: 1.8;
}
.campus-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
  margin-bottom: 56px;
}
.campus-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--cream-deep);
  box-shadow: 0 4px 20px rgba(31, 26, 23, 0.08);
}
.campus-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.campus-card:hover img { transform: scale(1.06); }

.campus-b1 { grid-column: span 2; grid-row: span 2; }
.campus-b2, .campus-b3, .campus-b4, .campus-b5, .campus-b6 { /* 1x1 默认 */ }

.campus-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  color: var(--cream);
  background: linear-gradient(
    to top,
    rgba(31, 26, 23, 0.88) 0%,
    rgba(31, 26, 23, 0.35) 35%,
    rgba(31, 26, 23, 0) 70%
  );
  transition: background 0.3s;
}
.campus-overlay-sm {
  padding: 18px;
  background: linear-gradient(
    to top,
    rgba(31, 26, 23, 0.82) 0%,
    rgba(31, 26, 23, 0.2) 50%,
    rgba(31, 26, 23, 0) 100%
  );
}
.campus-card:hover .campus-overlay {
  background: linear-gradient(
    to top,
    rgba(31, 26, 23, 0.92) 0%,
    rgba(31, 26, 23, 0.5) 50%,
    rgba(31, 26, 23, 0.05) 100%
  );
}
.campus-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  background: var(--orange);
  color: var(--cream);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 3px;
  margin-bottom: 12px;
}
.campus-overlay-sm .campus-tag {
  font-size: 9px;
  padding: 3px 8px;
  margin-bottom: 8px;
}
.campus-h3 {
  font-family: 'Noto Serif SC', serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 10px;
}
.campus-desc {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.92;
  max-width: 460px;
}
.campus-overlay-sm h4 {
  font-family: 'Noto Serif SC', serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}

/* 校园数据行 */
.campus-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 32px 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(31, 26, 23, 0.06);
}
.campus-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  position: relative;
}
.campus-stat + .campus-stat::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 36px;
  background: var(--line);
}
.cs-num {
  font-family: 'Noto Serif SC', serif;
  font-size: 36px;
  font-weight: 600;
  color: var(--orange);
  line-height: 1;
}
.cs-plus {
  font-size: 20px;
  font-weight: 400;
  margin-left: 2px;
}
.cs-label {
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
}

@media (max-width: 900px) {
  .campus-bento {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
  .campus-b1 { grid-column: span 2; grid-row: span 1; }
  .campus-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .campus-stat + .campus-stat::before { display: none; }
}
@media (max-width: 560px) {
  .campus-bento {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }
  .campus-b1, .campus-b2, .campus-b3, .campus-b4, .campus-b5, .campus-b6 {
    grid-column: span 1; grid-row: span 1;
  }
  .campus-overlay { padding: 20px; }
  .campus-h3 { font-size: 20px; }
}

.section-cta {
  background: var(--ink);
  color: var(--cream);
  max-width: none;
  position: relative;
  overflow: hidden;
}
.section-cta::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232,112,58,0.4) 0%, transparent 60%);
  pointer-events: none;
}
.section-cta .section-num { color: var(--orange-soft); }
.section-cta .section-title { color: var(--cream); }
.section-cta .section-sub { color: var(--gray-light); }

.section-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 60px;
}
.section-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 500;
  color: var(--orange);
  letter-spacing: 0.05em;
}
.section-title {
  font-size: 42px;
  line-height: 1.1;
  font-weight: 700;
}
.section-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  padding: 120px 32px 60px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  max-width: none;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: orbFloat 20s ease-in-out infinite;
}
.hero-orb-1 {
  width: 500px;
  height: 500px;
  top: -150px;
  right: -100px;
  background: radial-gradient(circle, var(--orange-soft) 0%, transparent 70%);
}
.hero-orb-2 {
  width: 400px;
  height: 400px;
  bottom: -100px;
  left: 10%;
  background: radial-gradient(circle, #FFD9B8 0%, transparent 70%);
  animation-delay: -10s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.05); }
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(31,26,23,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(31,26,23,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.tag-dot {
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
.hero-title {
  font-size: 72px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-line-1, .hero-line-2, .hero-line-3 {
  display: block;
  opacity: 0;
  transform: translateY(30px);
  animation: rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-line-1 { animation-delay: 0.1s; }
.hero-line-2 { animation-delay: 0.25s; }
.hero-line-3 { animation-delay: 0.4s; }
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}
.hero-line-2 { color: var(--ink); }
.hero-line-3 { color: var(--gray); }
.hero-sub {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
  opacity: 0;
  animation: rise 0.8s 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  opacity: 0;
  animation: rise 0.8s 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.meta-num {
  font-family: 'Noto Serif SC', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.meta-label {
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 0.02em;
}
.meta-divider {
  width: 1px;
  height: 32px;
  background: var(--line);
}
.hero-cta {
  display: flex;
  gap: 12px;
  opacity: 0;
  animation: rise 0.8s 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: var(--ink);
  color: var(--cream);
  border: none;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s;
  font-family: inherit;
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--orange);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 14px 24px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.btn-large {
  padding: 18px 32px;
  font-size: 15px;
}

/* 右侧头像 */
.hero-right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 600px;
  opacity: 0;
  animation: rise 1s 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.avatar-frame {
  position: relative;
  width: 420px;
  height: 520px;
}
.avatar-ring {
  position: absolute;
  inset: -20px;
  border: 1px dashed var(--orange);
  border-radius: 40% 60% 50% 50% / 50% 50% 60% 40%;
  animation: rotate 30s linear infinite;
}
@keyframes rotate {
  to { transform: rotate(360deg); }
}
.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 40% 60% 50% 50% / 50% 50% 60% 40%;
  box-shadow: var(--shadow-lg);
  filter: contrast(1.05) saturate(1.05);
  transition: transform 0.4s;
}
.avatar-img:hover { transform: scale(1.02); }
.avatar-badge {
  position: absolute;
  bottom: 20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Noto Serif SC', serif;
  box-shadow: var(--shadow-md);
  animation: float 4s ease-in-out infinite;
}
.avatar-badge span {
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}
.avatar-badge small {
  font-size: 11px;
  margin-top: 2px;
  letter-spacing: 0.05em;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.floating-card {
  position: absolute;
  background: var(--white);
  padding: 12px 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  animation: float 5s ease-in-out infinite;
}
.floating-card strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.floating-card small {
  display: block;
  font-size: 11px;
  color: var(--gray);
}
.card-icon {
  font-size: 22px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border-radius: 8px;
}
.floating-card-1 {
  top: 40px;
  left: -30px;
  animation-delay: -1s;
}
.floating-card-2 {
  top: 200px;
  right: -40px;
  animation-delay: -2.5s;
}
.floating-card-3 {
  bottom: 60px;
  left: -20px;
  animation-delay: -4s;
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gray);
  z-index: 2;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--orange) 0%, transparent 100%);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.5); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
}

/* ===== 关于 ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-text { max-width: 640px; }
.about-lead {
  font-size: 20px;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 24px;
  font-weight: 400;
}
.about-lead strong {
  font-weight: 700;
  color: var(--ink);
}
.about-body {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 40px;
}
.about-info {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}
.info-row {
  display: flex;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.info-key {
  width: 70px;
  color: var(--gray);
  font-size: 13px;
  font-weight: 500;
}
.info-val {
  flex: 1;
  color: var(--ink);
  font-size: 14px;
}
.about-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 100px;
}
.quote-card {
  background: var(--ink);
  color: var(--cream);
  padding: 40px 36px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.quote-card::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 200px;
  height: 200px;
  background: var(--orange);
  border-radius: 50%;
  opacity: 0.4;
}
.quote-mark {
  position: absolute;
  top: -10px;
  left: 20px;
  font-family: 'Noto Serif SC', serif;
  font-size: 140px;
  line-height: 1;
  color: var(--orange);
  opacity: 0.5;
  font-weight: 700;
}
.quote-text {
  font-family: 'Noto Serif SC', serif;
  font-size: 18px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}
.quote-author {
  position: relative;
  z-index: 1;
  font-size: 12px;
  color: var(--gray-light);
  letter-spacing: 0.05em;
}
.stack-card {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.stack-card h4 {
  font-size: 15px;
  margin-bottom: 16px;
  color: var(--ink);
}
.stack-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.stack-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-soft);
}
.stack-card .dot {
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===== 能力 ===== */
.cap-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: center;
}
.radar-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
#radar { max-width: 100%; height: auto; }
.cap-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cap-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.cap-item:last-child { border-bottom: none; }
.cap-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}
.cap-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.cap-score {
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  font-weight: 600;
  color: var(--orange);
}
.cap-bar {
  height: 6px;
  background: var(--cream-deep);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}
.cap-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange-soft) 100%);
  border-radius: 3px;
  width: 0;
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.cap-desc {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.6;
}

/* ===== 经历 Timeline ===== */
.timeline {
  position: relative;
  padding-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(to bottom, var(--orange) 0%, var(--line) 100%);
}
.t-item {
  position: relative;
  margin-bottom: 40px;
}
.t-item:last-child { margin-bottom: 0; }
.t-item::before {
  content: '';
  position: absolute;
  left: -38px;
  top: 8px;
  width: 18px;
  height: 18px;
  background: var(--cream);
  border: 3px solid var(--orange);
  border-radius: 50%;
  z-index: 1;
}
.t-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--orange);
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}
.t-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  transition: all 0.3s;
}
.t-card:hover {
  border-color: var(--orange-soft);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.t-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.t-head h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
}
.t-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-soft);
  padding: 4px 12px;
  background: var(--cream-deep);
  border-radius: 999px;
  letter-spacing: 0.03em;
}
.t-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.t-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.t-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
}
.t-list strong {
  color: var(--ink);
  font-weight: 600;
}

/* ===== 项目 ===== */
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.project-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all 0.3s;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--orange-soft);
}
.project-card-feature { grid-column: span 2; }
.project-cover {
  height: 240px;
  position: relative;
  overflow: hidden;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.project-cover-1 {
  background: linear-gradient(135deg, #1F1A17 0%, #3D2820 100%);
  color: var(--cream);
}
.project-cover-2 {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%);
  color: var(--white);
}
.cover-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  opacity: 0.7;
}
.cover-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  z-index: 1;
  position: relative;
}
.cover-icon {
  position: absolute;
  bottom: -20px;
  right: 30px;
  font-size: 160px;
  opacity: 0.12;
  line-height: 1;
}
.project-body {
  padding: 32px;
}
.project-body h3 {
  font-size: 20px;
  margin-bottom: 14px;
}
.project-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.project-kpi {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.kpi {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}
.kpi-num {
  font-family: 'Noto Serif SC', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}
.kpi-label {
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 0.02em;
}
.project-tasks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.task-chip {
  font-size: 12px;
  padding: 4px 12px;
  background: var(--cream-deep);
  color: var(--ink-soft);
  border-radius: 999px;
}

/* ===== 数据看板 ===== */
.dash-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.dash-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}
.dash-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.dash-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange-soft);
}
.dash-card:hover::after { transform: scaleX(1); }
.dash-num {
  font-family: 'Noto Serif SC', serif;
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
  display: inline-block;
  vertical-align: baseline;
}
.dash-unit {
  display: inline-block;
  font-size: 20px;
  color: var(--orange);
  font-weight: 600;
  margin-left: 4px;
  vertical-align: top;
  margin-top: 8px;
}
.dash-label {
  font-size: 13px;
  color: var(--gray);
  margin-top: 12px;
  letter-spacing: 0.02em;
}

/* ===== 生活 ===== */
.life-lead {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-soft);
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.life-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.life-card {
  background: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--line);
  transition: all 0.3s;
  cursor: default;
}
.life-card:hover {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: var(--shadow-md);
  border-color: var(--orange);
  background: linear-gradient(180deg, var(--white) 0%, #FFF8F0 100%);
}
.life-emoji {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
}
.life-card h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--ink);
}
.life-card p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--gray);
}
.life-quote {
  margin-top: 80px;
  text-align: center;
}
.life-quote p {
  font-family: 'Noto Serif SC', serif;
  font-size: 24px;
  color: var(--ink);
  font-weight: 500;
  position: relative;
  display: inline-block;
  padding: 0 40px;
}
.life-quote p::before, .life-quote p::after {
  content: '—';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--orange);
  font-weight: 400;
}
.life-quote p::before { left: -10px; }
.life-quote p::after { right: -10px; }

/* ===== 联系 CTA ===== */
.section-cta { padding: 120px 32px; }
.cta-inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-title {
  font-size: 64px;
  font-weight: 800;
  margin: 16px 0 24px;
  color: var(--cream);
  letter-spacing: -0.02em;
}
.cta-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--gray-light);
  margin-bottom: 60px;
}
.cta-sub strong { color: var(--orange-soft); }
.cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}
.cta-card {
  background: rgba(248, 244, 237, 0.05);
  border: 1px solid rgba(248, 244, 237, 0.1);
  padding: 28px 20px;
  border-radius: var(--radius-lg);
  transition: all 0.3s;
  cursor: pointer;
  text-align: center;
}
.cta-card:hover {
  background: rgba(232, 112, 58, 0.15);
  border-color: var(--orange);
  transform: translateY(-4px);
}
.cta-icon {
  font-size: 32px;
  margin-bottom: 12px;
}
.cta-label {
  font-size: 11px;
  color: var(--gray-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-family: 'JetBrains Mono', monospace;
}
.cta-val {
  font-size: 15px;
  color: var(--cream);
  font-weight: 500;
}
.cta-export {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.cta-tip {
  font-size: 12px;
  color: var(--gray-light);
  letter-spacing: 0.02em;
}

/* ===== 教育 ===== */
.edu {
  max-width: 1280px;
  margin: 0 auto;
}
.edu-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 32px;
}
.edu-card {
  background: var(--white);
  padding: 24px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 32px;
}
.edu-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--orange);
  font-weight: 500;
  min-width: 140px;
}
.edu-body h3 {
  font-size: 17px;
  margin-bottom: 4px;
}
.edu-body p {
  font-size: 13px;
  color: var(--gray);
}

/* ===== Footer ===== */
.footer {
  background: var(--ink);
  color: var(--gray-light);
  padding: 32px;
  font-size: 12px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-logo {
  font-family: 'Noto Serif SC', serif;
  color: var(--cream);
  font-weight: 600;
  margin-right: 8px;
}
.footer-right {
  display: flex;
  gap: 8px;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
}
.dot { color: var(--orange); }
.footer-icp {
  color: rgba(168,160,149,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-icp:hover { color: var(--orange); }

/* 免责声明（折叠式） */
.footer-disclaimer {
  max-width: 1280px;
  margin: 16px auto 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 11px;
  line-height: 1.7;
  color: rgba(168,160,149,0.5);
}
.footer-disclaimer summary {
  cursor: pointer;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: rgba(168,160,149,0.6);
  transition: color 0.2s;
  list-style: none;
}
.footer-disclaimer summary::-webkit-details-marker { display: none; }
.footer-disclaimer summary::before {
  content: 'ⓘ';
  font-size: 12px;
  opacity: 0.7;
}
.footer-disclaimer summary:hover { color: rgba(232,112,58,0.7); }
.footer-disclaimer p {
  margin: 10px 0 0;
  max-width: 680px;
  color: rgba(168,160,149,0.42);
  font-size: 10.5px;
  letter-spacing: 0.02em;
  animation: disclaimerFade 0.3s ease;
}
@keyframes disclaimerFade {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== 导出遮罩 ===== */
.export-mask {
  position: fixed;
  inset: 0;
  background: rgba(31, 26, 23, 0.85);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
}
.export-mask.show { display: flex; }
.export-box {
  background: var(--cream);
  padding: 48px;
  border-radius: var(--radius-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  min-width: 320px;
}
.export-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--cream-deep);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.export-box p {
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}

/* ===== 响应式 ===== */
@media (max-width: 980px) {
  .nav-menu { display: none; }
  .nav-toggle { display: flex; }
  .nav-export { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-right { height: auto; }
  .avatar-frame { width: 280px; height: 340px; }
  .hero-title { font-size: 48px; }
  .section { padding: 80px 24px; }
  .section-title { font-size: 32px; }
  .about-grid, .cap-grid, .project-grid { grid-template-columns: 1fr; gap: 40px; }
  .project-card-feature { grid-column: span 1; }
  .dash-grid, .life-grid, .cta-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-title { font-size: 40px; }
  .about-side { position: static; }
}

@media (max-width: 560px) {
  .hero { padding: 100px 20px 40px; }
  .hero-title { font-size: 36px; }
  .hero-meta { flex-wrap: wrap; gap: 12px; }
  .meta-divider { display: none; }
  .section { padding: 60px 20px; }
  .section-title { font-size: 26px; }
  .dash-grid, .life-grid, .cta-grid { grid-template-columns: 1fr; }
  .t-card { padding: 24px 20px; }
  .project-kpi { grid-template-columns: repeat(2, 1fr); }
  .edu-card { flex-direction: column; align-items: flex-start; gap: 8px; }
  .floating-card { display: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .gallery-item-6 { grid-column: span 2; grid-row: span 1; }
  .career-path .path-line { flex-wrap: wrap; gap: 20px; }
  .path-line::before { display: none; }
  .project-photos { grid-template-columns: repeat(2, 1fr); }
}

/* ========================================================
   v2 新增组件
   ======================================================== */

/* 职业路径时间线 */
.career-path {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 32px;
}
.career-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 20px;
  font-family: 'Noto Serif SC', serif;
}
.path-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 12px 0;
}
.path-line::before {
  content: '';
  position: absolute;
  left: 5%;
  right: 5%;
  top: 50%;
  height: 2px;
  background: linear-gradient(to right, var(--line) 0%, var(--orange) 50%, var(--orange) 100%);
  z-index: 0;
}
.path-dot {
  position: relative;
  z-index: 1;
  width: 60px;
  height: 60px;
  background: var(--cream);
  border: 2px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--gray);
  line-height: 1.2;
  transition: all 0.3s;
}
.path-done {
  background: var(--white);
  border-color: var(--orange-soft);
  color: var(--ink-soft);
}
.path-now {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  box-shadow: 0 0 0 6px rgba(232, 112, 58, 0.15);
  animation: pulse-orange 2s ease-in-out infinite;
}
@keyframes pulse-orange {
  0%, 100% { box-shadow: 0 0 0 6px rgba(232, 112, 58, 0.15); }
  50% { box-shadow: 0 0 0 12px rgba(232, 112, 58, 0.05); }
}
.path-caption {
  font-size: 12px;
  color: var(--gray);
  text-align: center;
  margin-top: 16px;
  font-style: italic;
}

/* 当前/过往工作经历标记 */
.t-current .t-card {
  border-left: 3px solid var(--orange);
  background: linear-gradient(180deg, #FFF8F0 0%, var(--white) 30%);
}
.t-past .t-card {
  opacity: 0.85;
  background: var(--cream);
}
.t-past .t-time { color: var(--gray-light); }

/* 项目内嵌照片 */
.project-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.project-photos img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
}
.project-photos img:hover {
  transform: scale(1.04);
  box-shadow: var(--shadow-md);
}
.project-card-wide { grid-column: span 2; }
.project-cover-3 {
  background: linear-gradient(135deg, #2A3F5C 0%, #1A2A40 100%);
  color: var(--cream);
}

/* 现场画廊 */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}
.gf-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border: 1.5px solid var(--line);
  border-radius: 100px;
  background: transparent;
  color: var(--ink-soft);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}
.gf-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-1px);
}
.gf-btn.gf-active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--cream);
  box-shadow: 0 4px 16px rgba(232, 112, 58, 0.3);
}
.gf-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  background: rgba(31, 26, 23, 0.08);
  color: inherit;
}
.gf-btn.gf-active .gf-count {
  background: rgba(248, 244, 237, 0.25);
}
.gallery-item.gf-hidden {
  display: none;
}
.gallery-item.gf-show {
  animation: galleryFadeIn 0.4s ease forwards;
}
@keyframes galleryFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.gallery-lead {
  text-align: center;
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 12px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--cream-deep);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item-1 { grid-column: span 2; grid-row: span 2; }
.gallery-item-3 { grid-column: span 2; }
.gallery-item-6 { grid-column: span 2; grid-row: span 2; }
.gallery-item-9 { grid-column: span 2; }
.gallery-item-13 { grid-column: span 2; }

.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px 16px;
  background: linear-gradient(to top, rgba(31,26,23,0.85) 0%, transparent 100%);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s;
}
.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}
.gallery-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--orange-soft);
  text-transform: uppercase;
}
.gallery-title {
  font-size: 14px;
  font-weight: 500;
  font-family: 'Noto Serif SC', serif;
}

/* 灯箱 */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(31, 26, 23, 0.95);
  backdrop-filter: blur(8px);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.show { display: flex; }
.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.lightbox-content img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.lightbox-caption {
  color: var(--cream);
  font-family: 'Noto Serif SC', serif;
  font-size: 16px;
  text-align: center;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(248, 244, 237, 0.1);
  border: 1px solid rgba(248, 244, 237, 0.2);
  color: var(--cream);
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  transition: all 0.2s;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
  background: var(--orange);
  border-color: var(--orange);
}
.lightbox-close {
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  font-size: 28px;
}
.lightbox-prev {
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  font-size: 32px;
}
.lightbox-next {
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  font-size: 32px;
}

@media (max-width: 980px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 160px; }
  .gallery-item-1, .gallery-item-6 { grid-column: span 2; grid-row: span 1; }
  .gallery-item-1 { grid-row: span 2; }
  .project-card-wide { grid-column: span 1; }
  .career-path .path-dot { width: 50px; height: 50px; font-size: 10px; }
}
