/* ========================================
   婉清个人作品集 - 科技感 / 黑红 / 南大
   ======================================== */

/* ----- 重置 ----- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--text);
  background-color: #0a0a0a;
  background-image:
    /* 红色网格 */
    linear-gradient(rgba(230, 57, 70, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 57, 70, 0.045) 1px, transparent 1px),
    /* 顶部红色光晕 */
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(230, 57, 70, 0.22) 0%, transparent 60%),
    /* 右下深红光晕 */
    radial-gradient(ellipse 100% 80% at 100% 100%, rgba(157, 34, 48, 0.30) 0%, transparent 55%),
    /* 左下红色光晕 */
    radial-gradient(ellipse 60% 60% at 0% 80%, rgba(157, 34, 48, 0.20) 0%, transparent 55%),
    /* 主对角黑红渐变 */
    linear-gradient(135deg,
      #050505 0%,
      #1c0508 18%,
      #3a0810 42%,
      #4a0a14 50%,
      #2e070b 70%,
      #150406 88%,
      #050505 100%);
  background-size: 32px 32px, 32px 32px, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* 顶部扫描线 */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0.4;
  animation: scan 8s linear infinite;
  pointer-events: none;
  z-index: 100;
}
@keyframes scan {
  0%   { transform: translateY(0); }
  100% { transform: translateY(100vh); }
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; transition: color 0.2s ease; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul   { list-style: none; }

/* ----- 设计令牌 ----- */
:root {
  --bg: #0a0a0a;
  --bg-deep: #050505;
  --bg-elevated: #141414;
  --bg-card: #181818;
  --bg-card-hover: #1f1f1f;

  --red: #e63946;
  --red-bright: #ff4d5e;
  --red-deep: #9d2230;
  --red-soft: rgba(230, 57, 70, 0.12);
  --red-glow: rgba(230, 57, 70, 0.4);

  --nju: #7B2D8E;
  --nju-soft: rgba(123, 45, 142, 0.18);

  --white: #fafafa;
  --white-soft: rgba(250, 250, 250, 0.10);
  --white-line: rgba(250, 250, 250, 0.16);

  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(230, 57, 70, 0.4);
  --border-strong: rgba(255, 255, 255, 0.12);

  --text: #f5f5f5;
  --text-muted: #a8a8a8;
  --text-dim: #6e6e6e;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", "Hiragino Sans GB", system-ui, sans-serif;
  /* 等宽字体栈：英文字符走等宽科技字，中文回退到现代黑体
     （原来的 "Microsoft YaHei Mono" 并不存在，中文会掉到 monospace 默认的宋体） */
  --font-mono: "JetBrains Mono", "SF Mono", "Cascadia Code", Consolas,
    "PingFang SC", "Microsoft YaHei", monospace;
  /* 手写体：本地字体文件优先，后面是各系统自带的手写体兜底 */
  --font-hand: "Caveat", "Segoe Script", "Bradley Hand", "Snell Roundhand",
    "Apple Chancery", cursive;

  --fs-xs: 0.75rem;
  --fs-sm: 0.8125rem;
  --fs-base: 0.9375rem;
  --fs-md: 1.0625rem;
  --fs-lg: 1.5rem;
  --fs-xl: 2rem;
  --fs-2xl: 2.75rem;
  --fs-3xl: clamp(2.5rem, 7vw, 5rem);

  --space-1: 4px; --space-2: 8px; --space-3: 12px;
  --space-4: 16px; --space-6: 24px; --space-8: 32px;
  --space-10: 40px; --space-12: 48px; --space-16: 64px;
  --space-20: 80px; --space-24: 96px;

  --radius-sm: 4px; --radius-md: 8px; --radius-lg: 12px;

  --container-max: 1240px;
  --container-pad: 24px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 0.2s; --t-base: 0.3s;
}

/* ----- 排版 ----- */
h1, h2, h3, h4 {
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
h1 { font-size: var(--fs-3xl); letter-spacing: -0.03em; }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-lg); }
p  { color: var(--text-muted); }

.mono   { font-family: var(--font-mono); }
.muted  { color: var(--text-dim); }
.red    { color: var(--red); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--red);
  margin-bottom: var(--space-4);
}
.eyebrow::before {
  content: "//";
  color: var(--text-dim);
}

/* ----- 容器 ----- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.section    { padding: var(--space-20) 0; }
.section-sm { padding: var(--space-12) 0; }

/* ----- 顶部状态条 ----- */
.topbar {
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border);
  padding: 6px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  position: relative;
  z-index: 51;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.topbar-item { display: flex; align-items: center; gap: 6px; }

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 var(--red-glow);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 var(--red-glow); }
  70%  { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* ----- 导航 ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: var(--fs-md);
}
.nav-logo .logo-mark {
  width: 18px;
  height: 18px;
  color: var(--red);
}
.nav-menu {
  display: flex;
  gap: var(--space-6);
  margin-left: auto;
  /* 和右侧语言切换器拉开距离 */
  margin-right: var(--space-8);
}

/* ----- 语言切换器 ----- */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
}
.lang-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  padding: 6px 8px;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.lang-btn:hover { color: var(--text); }
.lang-btn.is-active {
  color: #fff;
  background: var(--red);
}
.nav-link {
  position: relative;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  padding: var(--space-2) 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.nav-link::before {
  content: "0";
  margin-right: 4px;
  color: var(--text-dim);
}
.nav-link:hover::before,
.nav-link.is-active::before { color: var(--red); }
.nav-link:hover, .nav-link.is-active { color: var(--text); }
.nav-link.is-active { color: var(--red); }

.nav-toggle {
  display: none;
  width: 32px; height: 32px;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 4px; right: 4px;
  height: 1.5px;
  background: var(--text);
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}
.nav-toggle span:nth-child(1) { top: 11px; }
.nav-toggle span:nth-child(2) { top: 15px; }
.nav-toggle span:nth-child(3) { top: 19px; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: calc(100vh - 96px);
  display: flex;
  align-items: center;
  padding: var(--space-16) 0;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}
.hero-grid > div {
  max-width: 720px;
}

/* ----- Hero 头像 ----- */
.hero-avatar {
  margin: 0;
  width: clamp(190px, 19vw, 272px);
  flex-shrink: 0;
  position: relative;
  /* 整体投影 + 红色环境光（用 filter 避免被 clip-path 裁掉） */
  filter:
    drop-shadow(0 22px 40px rgba(0, 0, 0, 0.62))
    drop-shadow(0 0 30px rgba(230, 57, 70, 0.22));
}

/* 切角相框 */
.hero-avatar-frame {
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 84%, 84% 100%, 0 100%);
  background: var(--bg-elevated);
  overflow: hidden;
}
.hero-avatar-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  /* 稍微压一点饱和度，让油画头像和黑红页面更贴 */
  filter: saturate(0.88) contrast(1.06);
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
}
.hero-avatar:hover .hero-avatar-frame img {
  transform: scale(1.045);
  filter: saturate(1.05) contrast(1.1);
}

/* 相框四周的红色取景角标 */
.hero-avatar-frame::before,
.hero-avatar-frame::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 1px solid var(--red);
  pointer-events: none;
  z-index: 2;
}
/* 放在顶部两角 —— 右下角会被切角裁掉，所以不用 */
.hero-avatar-frame::before {
  top: 8px; left: 8px;
  border-right: none; border-bottom: none;
}
.hero-avatar-frame::after {
  top: 8px; right: 8px;
  border-left: none; border-bottom: none;
}

/* 右下角档案标签 */
.hero-avatar-tag {
  position: absolute;
  right: 0;
  bottom: -13px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  background: rgba(8, 8, 8, 0.92);
  border: 1px solid rgba(230, 57, 70, 0.42);
  padding: 4px 9px;
  z-index: 3;
}

.hero-title {
  font-family: var(--font-mono);
  font-weight: 700;
  margin-bottom: var(--space-6);
}
.hero-title .line1 {
  display: block;
  font-size: 0.875rem;
  color: var(--text-dim);
  margin-bottom: var(--space-4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-title .name-cn {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--fs-3xl);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-3);
}
.hero-title .name-en {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--red);
  letter-spacing: 0.05em;
  position: relative;
  width: max-content;
}
.hero-title .name-en::after {
  content: "_";
  color: var(--red);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* 子页面 Hero 的引言段落（普通正文） */
.hero-subtitle {
  font-family: var(--font-sans);
  font-size: var(--fs-md);
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: var(--space-8);
  max-width: 640px;
}

/* 首页的法语题词（手写体） */
.hero-quote {
  font-family: var(--font-hand);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: #ece5da;
  margin-bottom: 2px;
  max-width: 680px;
  /* 手写体基线偏下，稍微提一点视觉重心 */
  padding-top: 2px;
}
.hero-subtitle-cn {
  font-size: var(--fs-sm);
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: var(--space-8);
  max-width: 620px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}
.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  padding: 4px 10px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.tag.red {
  border-color: var(--red-deep);
  color: var(--red);
  background: var(--red-soft);
}

.hero-cta { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* 北大楼 + 数据条 */
.hero-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 380px;
  margin-left: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-visual::before, .hero-visual::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border: 1px solid var(--red);
}
.hero-visual::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.hero-visual::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.hero-emblem {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  opacity: 0.85;
}
.hero-emblem svg {
  width: 80%;
  height: auto;
  filter: drop-shadow(0 0 12px var(--red-glow));
}

.hero-data {
  display: grid;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  border-top: 1px solid var(--border);
  padding-top: var(--space-4);
}
.hero-data-row {
  display: flex;
  justify-content: space-between;
}
.hero-data-row .k { color: var(--text-dim); }
.hero-data-row .v { color: var(--text); }

/* ----- Hero 签名水印 ----- */
.hero { position: relative; overflow: hidden; }
.hero-signature {
  position: absolute;
  right: -10%;
  top: 50%;
  transform: translateY(-50%) rotate(-5deg);
  height: 75%;
  max-height: 480px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.28;
  filter:
    brightness(0)
    saturate(100%)
    invert(18%)
    sepia(85%)
    saturate(2500%)
    hue-rotate(340deg)
    drop-shadow(0 0 32px rgba(230, 57, 70, 0.6));
  animation: sig-float 6s ease-in-out infinite;
}
@keyframes sig-float {
  0%, 100% { transform: translateY(-50%) rotate(-5deg); }
  50%      { transform: translateY(-52%) rotate(-4deg); }
}
.hero > .container { position: relative; z-index: 1; }

/* ----- 按钮 ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: var(--space-3) var(--space-6);
  /* 方角而非圆角，更硬朗 */
  border-radius: 3px;
  border: 1px solid transparent;
  /* 字体栈见 --font-mono：英文等宽科技字 + 中文现代黑体 */
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-transform: uppercase;
  /* 宽字距是科技感的关键 */
  letter-spacing: 0.18em;
  transition: all var(--t-fast) var(--ease);
  cursor: pointer;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  /* 顶部内高光，像金属/玻璃面板 */
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
}
.btn-primary::before { content: "["; margin-right: 4px; opacity: 0.55; }
.btn-primary::after  { content: "]"; margin-left: 4px;  opacity: 0.55; }
.btn-primary:hover {
  background: var(--red-bright);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 0 26px var(--red-glow);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  border-color: var(--red);
  color: var(--red);
  background: var(--red-soft);
  box-shadow: inset 0 0 20px rgba(230, 57, 70, 0.12);
}
.btn .arrow { transition: transform var(--t-fast) var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ----- 卡片 / 终端窗口 ----- */
.grid      { display: grid; gap: var(--space-6); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.terminal-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--t-base) var(--ease);
  animation: glass-float 8s ease-in-out infinite;
}
.terminal-card:hover {
  border-color: var(--red-deep);
  animation-play-state: paused;
}
.terminal-card:nth-child(1) { clip-path: polygon(0 0, 96% 4%, 100% 100%, 2% 94%); --r: -1.6deg; }
.terminal-card:nth-child(2) { clip-path: polygon(4% 0, 100% 2%, 98% 100%, 0 96%); --r: 1.4deg; animation-delay: -2s; }
.terminal-card:nth-child(3) { clip-path: polygon(0 3%, 98% 0, 100% 97%, 3% 100%); --r: -0.9deg; animation-delay: -4s; }
.terminal-card:nth-child(4) { clip-path: polygon(2% 0, 100% 4%, 96% 100%, 0 98%); --r: 1.1deg; animation-delay: -6s; }
.terminal-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}
.terminal-card-head .dots { display: flex; gap: 5px; }
.terminal-card-head .dots span {
  width: 8px; height: 8px; border-radius: 50%;
}
.terminal-card-head .dots span:nth-child(1) { background: #ff5f57; }
.terminal-card-head .dots span:nth-child(2) { background: #febc2e; }
.terminal-card-head .dots span:nth-child(3) { background: #28c840; }
.terminal-card-body { padding: var(--space-6); }

.card-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--red);
  background: var(--red-soft);
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: var(--space-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.card-title {
  font-family: var(--font-mono);
  font-size: var(--fs-md);
  margin-bottom: var(--space-3);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.card-desc {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.7;
}

/* ----- 数据列表 ----- */
.data-list {
  display: grid;
  gap: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
}
.data-list-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: var(--space-4);
  padding: var(--space-3) 0;
  border-bottom: 1px dashed var(--border);
}
.data-list-item:last-child { border-bottom: none; }
.data-list-item .k {
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: var(--fs-xs);
}
.data-list-item .v { color: var(--text); }

/* ----- 简历区 ----- */
.cv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: stretch;
}
.cv-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  position: relative;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}
.cv-panel::before, .cv-panel::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border: 1px solid var(--red);
}
.cv-panel::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.cv-panel::after  { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.cv-preview {
  display: flex;
  flex-direction: column;
  min-height: 480px;
}
.cv-preview-frame {
  flex: 1;
  background: #fafafa;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  text-align: center;
  padding: var(--space-6);
  border: 1px dashed var(--border-hover);
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 14px, rgba(0,0,0,0.025) 14px, rgba(0,0,0,0.025) 28px);
}
.cv-preview-frame .cv-hint { display: grid; gap: 8px; }
.cv-preview-frame .cv-hint strong {
  color: var(--red-deep);
  font-size: var(--fs-md);
}
.cv-preview-frame .cv-hint small { color: #888; font-size: 11px; }
.cv-actions { display: flex; gap: var(--space-3); margin-top: var(--space-4); }

/* ----- 作品网格 · 散落的毛玻璃碎片 ----- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 64px;
  grid-auto-flow: dense;
  gap: 22px;
}

.work-card {
  /* 毛玻璃材质 */
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
  /* 碎片投影：双层戏剧阴影（filter 不会被 clip-path 裁切） */
  filter:
    drop-shadow(0 20px 36px rgba(0, 0, 0, 0.55))
    drop-shadow(0 2px 8px rgba(230, 57, 70, 0.18));
  transition: filter var(--t-base) var(--ease);
  animation: shard-float 8s ease-in-out infinite;
}
.work-card:hover {
  filter:
    drop-shadow(0 32px 58px rgba(0, 0, 0, 0.62))
    drop-shadow(0 0 32px rgba(230, 57, 70, 0.45));
  animation-play-state: paused;
}

/* 9 个碎片：跨度 + 明显切角 + 倾斜角 */
.work-card:nth-child(1) { grid-column: span 4; grid-row: span 5; clip-path: polygon(0 11%, 11% 0, 100% 0, 100% 89%, 89% 100%, 0 100%); --tilt: -2.4deg; }
.work-card:nth-child(2) { grid-column: span 2; grid-row: span 6; clip-path: polygon(0 0, 86% 0, 100% 17%, 100% 100%, 0 100%); --tilt: 2.2deg; animation-delay: -1.2s; }
.work-card:nth-child(3) { grid-column: span 2; grid-row: span 4; clip-path: polygon(0 0, 100% 0, 100% 100%, 17% 100%, 0 83%); --tilt: -1.7deg; animation-delay: -2.4s; }
.work-card:nth-child(4) { grid-column: span 2; grid-row: span 5; clip-path: polygon(13% 0, 100% 0, 100% 100%, 0 100%, 0 13%); --tilt: 2.8deg; animation-delay: -3.6s; }
.work-card:nth-child(5) { grid-column: span 2; grid-row: span 3; clip-path: polygon(0 0, 100% 0, 100% 80%, 80% 100%, 0 100%); --tilt: -2deg; animation-delay: -4.8s; }
.work-card:nth-child(6) { grid-column: span 4; grid-row: span 4; clip-path: polygon(0 17%, 17% 0, 100% 0, 100% 100%, 0 100%); --tilt: 1.8deg; animation-delay: -6s; }
.work-card:nth-child(7) { grid-column: span 2; grid-row: span 5; clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%, 0 15%); --tilt: -2.6deg; animation-delay: -0.6s; }
.work-card:nth-child(8) { grid-column: span 2; grid-row: span 4; clip-path: polygon(0 0, 84% 0, 100% 19%, 100% 100%, 0 100%); --tilt: 2.4deg; animation-delay: -1.8s; }
.work-card:nth-child(9) { grid-column: span 4; grid-row: span 4; clip-path: polygon(0 0, 100% 0, 100% 100%, 15% 100%, 0 85%); --tilt: -1.5deg; animation-delay: -3s; }

/* 玻璃高光扫过 */
.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(112deg, transparent 30%, rgba(255, 255, 255, 0.20) 46%, transparent 58%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
  z-index: 3;
}
.work-card:hover::after { opacity: 1; }

.work-card-num {
  position: absolute;
  top: 12px; right: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--red);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 3px 7px;
  border-radius: 3px;
  z-index: 2;
  letter-spacing: 0.1em;
}
.work-thumb {
  flex: 1;
  min-height: 0;
  background: var(--bg-elevated);
  background-size: cover;
  background-position: center;
}
.work-info {
  flex-shrink: 0;
  /* 底部多留一些：卡片下缘有切角，避免文字贴到被裁掉的斜边上 */
  padding: var(--space-4) var(--space-4) calc(var(--space-4) + 8px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  /* 文字居中：既避开左右下角的切角，也让照片标题更端正 */
  text-align: center;
}
.work-info h3 {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.work-info p { font-size: var(--fs-xs); color: var(--text-dim); }

/* 占位图 */
.placeholder {
  background: linear-gradient(135deg, var(--bg-elevated), var(--bg-card));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  position: relative;
}
.placeholder::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 60%; height: 60%;
  transform: translate(-50%, -50%);
  border: 1px dashed var(--border-hover);
  border-radius: 4px;
}

/* ----- 筛选器 ----- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
  font-family: var(--font-mono);
}
.filter-btn {
  padding: 7px 15px;
  /* 胶囊 → 方角，和其它按钮统一 */
  border-radius: 3px;
  font-size: var(--fs-xs);
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--border);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  transition: all var(--t-fast) var(--ease);
}
.filter-btn:hover { color: var(--text); border-color: var(--red-deep); }
.filter-btn.is-active {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

/* ----- 联系 ----- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}
.contact-list { display: grid; gap: var(--space-3); }
.contact-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  transition: all var(--t-fast) var(--ease);
}
.contact-item:hover {
  border-color: var(--red-deep);
  transform: translateX(4px);
}
.contact-label {
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 4px;
}
.contact-value { font-size: var(--fs-sm); color: var(--text); }
.contact-arrow { color: var(--red); transition: transform var(--t-fast) var(--ease); }
.contact-item:hover .contact-arrow { transform: translateX(3px); }

/* ----- 表单 ----- */
.form { display: grid; gap: var(--space-4); }
.field { display: grid; gap: 6px; }
.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.field input, .field textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font: inherit;
  font-family: var(--font-mono);
  transition: all var(--t-fast) var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--red);
  background: var(--bg-card);
}
.field textarea { resize: vertical; min-height: 100px; }

/* ----- 时间线 ----- */
.timeline {
  position: relative;
  padding-left: var(--space-8);
}
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  padding-bottom: var(--space-10);
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--space-8) + 3px);
  top: 8px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--red);
}
.timeline-time {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: var(--red);
  margin-bottom: var(--space-2);
  letter-spacing: 0.05em;
}
.timeline-title {
  font-size: var(--fs-md);
  margin-bottom: var(--space-2);
}
.timeline-desc {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

/* ----- 页脚 ----- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: var(--space-12) 0 var(--space-8);
  margin-top: var(--space-20);
  position: relative;
}

/* Footer 签名 */
.footer-signature {
  display: block;
  height: 64px;
  max-width: 240px;
  margin: 0 auto var(--space-8);
  opacity: 0.85;
  filter:
    brightness(0)
    saturate(100%)
    invert(18%)
    sepia(85%)
    saturate(2500%)
    hue-rotate(340deg)
    drop-shadow(0 0 12px rgba(230, 57, 70, 0.4));
}
.footer-motto {
  text-align: center;
  font-size: var(--fs-md);
  color: var(--red);
  letter-spacing: 0.4em;
  margin-bottom: var(--space-8);
  position: relative;
}
.footer-motto::before, .footer-motto::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}
.footer-motto::before { right: calc(100% + 24px); }
.footer-motto::after  { left: calc(100% + 24px); }

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-4);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--text-dim);
}

/* 备案号 */
.footer-beian {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.footer-beian a {
  color: var(--text-dim);
  transition: color var(--t-fast) var(--ease);
}
.footer-beian a:hover { color: var(--red); }
.footer-beian .sep { opacity: 0.45; }

/* ----- 入场动画 ----- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----- 响应式 ----- */
@media (max-width: 900px) {
  .hero-grid, .cv-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 280px; margin: 0 auto; }

  /* 作品网格：4 列，保持横竖错落 */
  .work-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 54px; }
  .work-card:nth-child(1) { grid-column: span 3; grid-row: span 5; }
  .work-card:nth-child(2) { grid-column: span 1; grid-row: span 5; }
  .work-card:nth-child(3) { grid-column: span 2; grid-row: span 4; }
  .work-card:nth-child(4) { grid-column: span 2; grid-row: span 4; }
  .work-card:nth-child(5) { grid-column: span 2; grid-row: span 3; }
  .work-card:nth-child(6) { grid-column: span 2; grid-row: span 4; }
  .work-card:nth-child(7) { grid-column: span 1; grid-row: span 5; }
  .work-card:nth-child(8) { grid-column: span 1; grid-row: span 5; }
  .work-card:nth-child(9) { grid-column: span 2; grid-row: span 4; }
}
@media (max-width: 720px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.875rem; }
  .section { padding: var(--space-16) 0; }
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed;
    top: 96px; right: 0; left: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: var(--space-6) var(--container-pad);
    gap: var(--space-4);
    transform: translateY(-100%);
    transition: transform var(--t-base) var(--ease);
  }
  .nav-menu.is-open { transform: translateY(0); }
  .topbar-inner > *:nth-child(n+2) { display: none; }
  .topbar-inner > *:first-child { display: flex; }
  .footer-motto { letter-spacing: 0.25em; font-size: var(--fs-sm); }
  .footer-motto::before, .footer-motto::after { width: 30px; }

  /* 作品网格：2 列 */
  .work-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 58px; }
  .work-card:nth-child(1) { grid-column: span 2; grid-row: span 4; }
  .work-card:nth-child(2) { grid-column: span 1; grid-row: span 5; }
  .work-card:nth-child(3) { grid-column: span 1; grid-row: span 5; }
  .work-card:nth-child(4) { grid-column: span 1; grid-row: span 4; }
  .work-card:nth-child(5) { grid-column: span 1; grid-row: span 4; }
  .work-card:nth-child(6) { grid-column: span 2; grid-row: span 4; }
  .work-card:nth-child(7) { grid-column: span 1; grid-row: span 5; }
  .work-card:nth-child(8) { grid-column: span 1; grid-row: span 5; }
  .work-card:nth-child(9) { grid-column: span 2; grid-row: span 4; }
}

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

/* ========================================
   进入动画（Preloader）
   ======================================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #050505;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 44px;
  transition: opacity 0.9s var(--ease), visibility 0.9s var(--ease);
}
.preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.enter-btn {
  padding: 18px 60px;
  font-family: var(--font-mono);
  font-size: var(--fs-md);
  letter-spacing: 0.2em;
  color: var(--red);
  background: transparent;
  border: 1px solid var(--red);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--t-base) var(--ease);
  animation: enter-pulse 2s ease-in-out infinite;
}
.enter-btn:hover {
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 36px var(--red-glow);
}
.enter-btn.is-hide {
  opacity: 0;
  transform: scale(0.85);
  pointer-events: none;
  animation: none;
}
@keyframes enter-pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--red-glow); }
  50% { box-shadow: 0 0 26px var(--red-glow); }
}

.progress-wrap {
  display: flex;
  width: min(420px, 72vw);
  flex-direction: column;
  gap: 12px;
}
.progress-track {
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--red-deep), var(--red), var(--red-bright));
  box-shadow: 0 0 12px var(--red-glow);
  transition: width 0.09s linear;
}
.progress-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.15em;
}
.progress-label { color: var(--text-dim); }
.progress-num { color: var(--red); }

.welcome {
  display: none;
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--red);
  text-shadow: 0 0 32px var(--red-glow);
}
.welcome.is-show {
  display: block;
  animation: welcome-in 0.7s var(--ease) forwards;
}
@keyframes welcome-in {
  from { opacity: 0; transform: translateY(14px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ========================================
   构成主义几何装饰 · 放大版
   ======================================== */
.geo-deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

/* 白色斜线 */
.geo-slash {
  width: 230px;
  height: 2px;
  background: var(--white-line);
  transform: rotate(-16deg);
}

/* 红色实心三角（向上） */
.geo-tri {
  width: 0;
  height: 0;
  border-left: 22px solid transparent;
  border-right: 22px solid transparent;
  border-bottom: 40px solid var(--red);
  opacity: 0.55;
}

/* 白色空心菱形 */
.geo-diamond {
  width: 28px;
  height: 28px;
  border: 2px solid var(--white-line);
  transform: rotate(45deg);
}

/* 红色实心方块 */
.geo-square {
  width: 20px;
  height: 20px;
  background: var(--red);
  opacity: 0.6;
}

/* 白色十字 */
.geo-plus {
  width: 36px;
  height: 36px;
  position: relative;
}
.geo-plus::before,
.geo-plus::after {
  content: "";
  position: absolute;
  background: var(--white-line);
}
.geo-plus::before {
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}
.geo-plus::after {
  top: 50%;
  left: 0;
  height: 2px;
  width: 100%;
  transform: translateY(-50%);
}

/* 半透明红色圆环 */
.geo-ring {
  width: 130px;
  height: 130px;
  border: 2px solid var(--red-deep);
  border-radius: 50%;
  opacity: 0.45;
}

/* 半透明白色大圆 */
.geo-circle {
  width: 260px;
  height: 260px;
  border: 1px solid var(--white-line);
  border-radius: 50%;
  opacity: 0.22;
}

/* 构成主义色块（红白拼贴） */
.geo-block {
  background: var(--white-soft);
}
.geo-block.red {
  background: var(--red-soft);
}

/* ========================================
   马赛克动画
   ======================================== */
.mosaic {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(14, 1fr);
  grid-template-rows: repeat(9, 1fr);
  gap: 3px;
  opacity: 0.16;
  z-index: 0;
  pointer-events: none;
}
.mosaic span {
  background: var(--red);
  animation: mosaic-flicker var(--d, 3s) ease-in-out infinite;
  animation-delay: var(--i, 0s);
}
@keyframes mosaic-flicker {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

/* ========================================
   玻璃碎片浮动
   ======================================== */
@keyframes glass-float {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-14px) rotate(var(--r, 0deg)); }
}

/* 作品碎片浮动：幅度更大，保持各自倾斜角 */
@keyframes shard-float {
  0%, 100% { transform: translateY(0) rotate(var(--tilt, 0deg)); }
  50%      { transform: translateY(-20px) rotate(var(--tilt, 0deg)); }
}

/* ========================================
   留言板
   ======================================== */
.gb-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 1.5fr;
  gap: var(--space-8);
  align-items: start;
}

/* 表单：毛玻璃 + 切角 + 投影 */
.gb-form {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: var(--space-6);
  display: grid;
  gap: var(--space-4);
  clip-path: polygon(0 5%, 5% 0, 100% 0, 100% 95%, 95% 100%, 0 100%);
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.42));
}
.gb-form .field { display: grid; gap: 6px; }
.gb-form label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}
.gb-form input,
.gb-form textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid var(--border);
  color: var(--text);
  font: inherit;
  transition: border-color var(--t-fast) var(--ease);
}
.gb-form input:focus,
.gb-form textarea:focus {
  outline: none;
  border-color: var(--red);
}
.gb-form textarea { resize: vertical; min-height: 96px; }

.gb-tip {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--text-dim);
  min-height: 1em;
}
.gb-tip.is-ok { color: #5DCAA5; }
.gb-tip.is-error { color: var(--red); }

/* 留言列表 */
.gb-list {
  display: grid;
  gap: var(--space-3);
  max-height: 580px;
  overflow-y: auto;
  padding-right: 8px;
}
.gb-item {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: var(--space-4);
  transition: border-color var(--t-fast) var(--ease);
}
.gb-item:hover { border-color: rgba(230, 57, 70, 0.4); }
.gb-item-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
}
.gb-item-head strong {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: var(--red);
}
.gb-item-head time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}
.gb-item p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
}
.gb-empty {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: var(--text-dim);
  padding: var(--space-8) 0;
  text-align: center;
}

/* 页脚浏览量 */
.footer-visits { color: var(--text-dim); }
#visit-count { color: var(--red); font-weight: 500; }

@media (max-width: 900px) {
  .gb-grid { grid-template-columns: 1fr; }
}

/* ========================================
   图片灯箱
   ======================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lb-stage {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transform: scale(0.94);
  transition: transform 0.4s var(--ease);
}
.lightbox.is-open .lb-stage { transform: scale(1); }

.lb-img {
  width: min(1080px, 86vw);
  height: 68vh;
  background: var(--bg-card);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: var(--text-dim);
  position: relative;
  /* 图片框周围一圈淡淡的白色柔光 */
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 24px rgba(255, 255, 255, 0.16),
    0 0 60px rgba(255, 255, 255, 0.09),
    0 0 120px rgba(255, 255, 255, 0.05),
    0 24px 60px rgba(0, 0, 0, 0.55);
  animation: lb-glow 4.5s ease-in-out infinite;
}
/* 柔光缓慢呼吸，像照片在暗处微微发亮 */
@keyframes lb-glow {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.08),
      0 0 24px rgba(255, 255, 255, 0.16),
      0 0 60px rgba(255, 255, 255, 0.09),
      0 0 120px rgba(255, 255, 255, 0.05),
      0 24px 60px rgba(0, 0, 0, 0.55);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.12),
      0 0 32px rgba(255, 255, 255, 0.22),
      0 0 78px rgba(255, 255, 255, 0.12),
      0 0 150px rgba(255, 255, 255, 0.07),
      0 24px 60px rgba(0, 0, 0, 0.55);
  }
}
.lb-img.is-empty {
  border-style: dashed;
  clip-path: polygon(0 4%, 4% 0, 100% 0, 100% 96%, 96% 100%, 0 100%);
  /* clip-path 会裁掉 box-shadow，占位态改用 drop-shadow 保留柔光 */
  animation: none;
  box-shadow: none;
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.14))
          drop-shadow(0 0 42px rgba(255, 255, 255, 0.07));
}

.lb-caption { text-align: center; }
.lb-caption h3 {
  font-family: var(--font-mono);
  font-size: var(--fs-md);
  margin-bottom: 4px;
  color: var(--text);
}
.lb-caption p { font-size: var(--fs-sm); color: var(--text-muted); }

.lb-counter {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--text-dim);
  letter-spacing: 0.15em;
}

.lb-close, .lb-prev, .lb-next {
  position: absolute;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  line-height: 1;
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover {
  color: var(--red);
  border-color: var(--red);
  background: rgba(230, 57, 70, 0.12);
}
.lb-close { top: 24px; right: 24px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* 作品卡片提示可点开 */
.work-card { cursor: zoom-in; }

@media (max-width: 720px) {
  .lb-img { height: 54vh; width: 90vw; }
  .lb-prev, .lb-next { width: 44px; height: 44px; font-size: 22px; }
  .lb-prev { left: 10px; }
  .lb-next { right: 10px; }
  .lb-close { top: 14px; right: 14px; width: 44px; height: 44px; }
  .lb-counter { bottom: 16px; }
}

/* ================================================================
   手写体 · Caveat（本地托管，不依赖外部 CDN，国内访客也能正常加载）
   授权：SIL Open Font License 1.1
   ================================================================ */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/caveat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/caveat-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ================================================================
   电影胶片导轨（页面左右两端）
   按 35mm 胶片实拍规格重做：
   · 齿孔是「圆角矩形」，不是圆孔 —— BH 规格 2.794mm 高 × 1.981mm 宽
     （高:宽 ≈ 1.41:1，圆角约 0.32mm）
   · 齿孔间距(pitch) 4.75mm，齿孔占 59%、间隙占 41%
   · 每 4 个齿孔为一帧（4-perf，帧高 19mm）→ 这里每 48px 一条帧线
   · 画幅与右侧齿孔之间有一条光学声轨（明暗不规则的窄带）
   ================================================================ */
.film-rail {
  display: none;              /* 默认隐藏，大屏才出现（见本段末尾媒体查询） */
  position: fixed;
  top: 0;
  bottom: 0;
  width: 44px;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
  /* 片基：暖黑，中段略亮（模拟光透过胶片） */
  background: linear-gradient(90deg,
    #0c0a09 0%,
    #18140f 46%,
    #12100c 100%);
  box-shadow:
    inset 0 0 30px rgba(0, 0, 0, 0.92),
    inset 0 0 60px rgba(230, 57, 70, 0.05);
}
.film-rail-left  { left: 0; }
.film-rail-right { right: 0; }

/* 三层叠在一起同步滚动：齿孔 / 帧线 / 声轨 */
.film-rail::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: -48px; bottom: -48px;      /* 上下各留一个周期，滚动时不出空白 */
  background-image:
    /* ① 齿孔：圆角矩形，44×12 的瓦片里左右各一个（高:宽 ≈ 1.41:1） */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='12'%3E%3Crect x='5.5' y='2.5' width='5' height='7' rx='0.9' fill='%23f2ede4' fill-opacity='0.42'/%3E%3Crect x='33.5' y='2.5' width='5' height='7' rx='0.9' fill='%23f2ede4' fill-opacity='0.42'/%3E%3C/svg%3E"),
    /* ② 帧线：每 48px（= 4 个齿孔）一条 */
    repeating-linear-gradient(180deg,
      rgba(242, 237, 228, 0.14) 0 1px,
      transparent 1px 48px),
    /* ③ 声轨：画幅与右侧齿孔之间的不规则明暗带 */
    repeating-linear-gradient(180deg,
      rgba(242, 237, 228, 0.28) 0 3px,
      rgba(242, 237, 228, 0.05) 3px 7px,
      rgba(242, 237, 228, 0.22) 7px 10px,
      rgba(242, 237, 228, 0.04) 10px 16px);
  background-size: 44px 12px, 22px 48px, 3px 16px;
  background-position: 0 0, 11px 0, 30px 0;
  background-repeat: repeat, repeat-y, repeat-y;
  animation: film-run 4s linear infinite;
}
/* 右侧反向卷动 → 两端对开的放映感 */
.film-rail-right::before { animation-direction: reverse; }

@keyframes film-run {
  from { transform: translateY(0); }
  to   { transform: translateY(-48px); }
  /* 48 同时是齿孔周期 12、声轨周期 16、帧高 48 的公倍数
     → 三层一起走完一整格仍然严丝合缝 */
}

/* 内侧显影红线 */
.film-rail::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  opacity: 0.65;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(230, 57, 70, 0.55) 16%,
    rgba(230, 57, 70, 0.55) 84%,
    transparent 100%);
}
.film-rail-left::after  { right: 0; }
.film-rail-right::after { left: 0; }

/* 较宽屏才启用，并给内容让出两侧空间
   （1200px 起：1280×720 / 1366×768 的笔记本也能看到） */
@media (min-width: 1200px) {
  .film-rail { display: block; }
  body {
    padding-left: 44px;
    padding-right: 44px;
  }
}

/* ================================================================
   移动端专项适配（放在最后，覆盖以上所有桌面规则）
   ================================================================ */

  /* 触屏：去掉点击时的高亮方块 */
html { -webkit-tap-highlight-color: transparent; }

@media (max-width: 720px) {

  /* ---------- 全局尺寸收紧 ---------- */
  :root {
    --container-pad: 18px;
    --fs-3xl: clamp(2rem, 11vw, 2.75rem);
    --space-12: 36px;
    --space-16: 48px;
    --space-20: 56px;
  }
  .container { max-width: 100%; }
  .section { padding: var(--space-16) 0; }

  /* iOS 上 background-attachment:fixed 会错位跳动：
     改为把渐变交给根元素 + fixed，body 只留透明 */
  body {
    background-color: transparent;
    background-image: none;
    min-height: auto;
  }
  html {
    background-color: #050505;
    background-image:
      linear-gradient(rgba(230, 57, 70, 0.045) 1px, transparent 1px),
      linear-gradient(90deg, rgba(230, 57, 70, 0.045) 1px, transparent 1px),
      radial-gradient(ellipse 80% 50% at 50% 0%, rgba(230, 57, 70, 0.22) 0%, transparent 60%),
      radial-gradient(ellipse 100% 80% at 100% 100%, rgba(157, 34, 48, 0.30) 0%, transparent 55%),
      radial-gradient(ellipse 60% 60% at 0% 80%, rgba(157, 34, 48, 0.20) 0%, transparent 55%),
      linear-gradient(135deg,
        #050505 0%, #1c0508 18%, #3a0810 42%,
        #4a0a14 50%, #2e070b 70%, #150406 88%, #050505 100%);
    background-size: 26px 26px, 26px 26px, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
    background-attachment: fixed;
    /* 前两层网格要平铺，后四层渐变不平铺 */
    background-repeat: repeat, repeat, no-repeat, no-repeat, no-repeat, no-repeat;
    background-position: center;
  }
  /* 关掉扫描线：手机上全屏动画耗电且掉帧 */
  body::before { display: none; }

  /* ---------- 排版 ---------- */
  h1 { font-size: var(--fs-3xl); letter-spacing: -0.02em; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.1875rem; }
  p  { line-height: 1.75; }

  /* ---------- 顶部状态条 ---------- */
  .topbar { padding: 5px 0; font-size: 10px; }
  .topbar-inner { gap: 8px; justify-content: flex-start; }

  /* ---------- 导航 ---------- */
  .nav { height: 56px; }
  .nav-logo { font-size: 0.9375rem; }

  /* 语言切换器：加大触摸目标 */
  .nav-actions { margin-left: auto; gap: 10px; }
  .lang-btn { padding: 12px 10px; }

  /* 扩大汉堡按钮热区（视觉不变，热区 48×48） */
  .nav-toggle::before {
    content: "";
    position: absolute;
    inset: -8px;
  }

  /* 下拉菜单：改为贴住 header 下沿，避免固定 px 错位 */
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: var(--space-2) var(--container-pad)
             calc(var(--space-6) + env(safe-area-inset-bottom));
    background: rgba(8, 8, 8, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.65);
    transform: translateY(-115%);
    visibility: hidden;
    max-height: calc(100vh - 96px);
    max-height: calc(100svh - 96px);
    overflow-y: auto;
    transition: transform var(--t-base) var(--ease), visibility var(--t-base) var(--ease);
  }
  .nav-menu.is-open { transform: translateY(0); visibility: visible; }
  .nav-menu .nav-link {
    padding: 15px 2px;
    font-size: 0.9375rem;
    letter-spacing: 0.06em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .nav-menu li:last-child .nav-link { border-bottom: none; }

  /* ---------- Hero ---------- */
  /* 不再强制满屏（100vh 在手机上会因地址栏伸缩而跳动）
     加 !important 是为了盖掉 about/works/contact 三个页面上的行内 min-height */
  .hero {
    min-height: auto !important;
    padding: 48px 0 56px;
  }
  /* 签名水印收敛：原来占大半屏且向左溢出，是"乱"的主因 */
  .hero-signature {
    height: 40%;
    max-height: 210px;
    right: -30%;
    opacity: 0.13;
    animation: none;
  }

  /* 头像：手机上由「左侧」改为「文字上方」，并缩小 */
  .hero-avatar {
    width: 162px;
    margin-bottom: 4px;
  }
  .hero-avatar-tag {
    font-size: 9px;
    padding: 3px 7px;
    bottom: -11px;
  }
  /* 法语题词与中文小字的字号见下方「Hero 排版」段，避免重复定义 */
  .hero-title .line1 {
    font-size: 0.6875rem;
    letter-spacing: 0.06em;
    margin-bottom: var(--space-3);
  }
  .hero-title .name-cn {
    font-size: clamp(2.25rem, 13vw, 3rem);
    margin-bottom: 6px;
  }
  .hero-title .name-en {
    width: auto;                 /* 原来 max-content 会撑破屏幕 */
    font-size: clamp(1.5rem, 8.5vw, 2.25rem);
    letter-spacing: 0.02em;
  }
  .hero-quote {
    font-size: 1.7rem;          /* 手写体视觉偏小，需要更大字号 */
    line-height: 1.35;
    max-width: 100%;
    margin-bottom: 4px;
  }
  .hero-subtitle {
    font-size: 0.9375rem;
    line-height: 1.8;
    max-width: 100%;
    margin-bottom: var(--space-6);
  }
  .hero-subtitle-cn {
    font-size: 0.75rem;
    max-width: 100%;
    margin-bottom: var(--space-6);
  }
  .hero-tags { gap: 6px; margin-bottom: var(--space-6); }
  .tag { font-size: 0.6875rem; padding: 3px 9px; }

  /* 按钮：撑满一行、触摸目标 ≥46px */
  .hero-cta { gap: 10px; }
  .hero-cta .btn { flex: 1 1 40%; justify-content: center; min-height: 46px; }
  .btn { padding: 12px 20px; font-size: 0.875rem; }

  /* 页头小标题 */
  .eyebrow { font-size: 0.6875rem; letter-spacing: 0.1em; margin-bottom: 10px; }

  /* 几何装饰：缩小、降低存在感（用 scale 属性，避免和行内 transform 打架） */
  .hero .geo-deco { scale: 0.68; opacity: 0.42; }

  /* 马赛克：降低密度感，减少闪烁 */
  .mosaic { opacity: 0.09; gap: 6px; }

  /* ---------- 作品网格：2 列，横竖分明但不失控 ---------- */
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 40px;
    grid-auto-flow: dense;
    gap: 12px;
  }
  /* 横卡：占满一行（大横构图） */
  .work-card:nth-child(1),
  .work-card:nth-child(6),
  .work-card:nth-child(9) { grid-column: span 2; grid-row: span 5; }
  /* 竖卡：一列宽，成对出现但高低各差一行 → 保留错落感又不产生大空洞 */
  .work-card:nth-child(2) { grid-column: span 1; grid-row: span 5; }
  .work-card:nth-child(3) { grid-column: span 1; grid-row: span 6; }
  .work-card:nth-child(4) { grid-column: span 1; grid-row: span 6; }
  .work-card:nth-child(5) { grid-column: span 1; grid-row: span 5; }
  .work-card:nth-child(7) { grid-column: span 1; grid-row: span 5; }
  .work-card:nth-child(8) { grid-column: span 1; grid-row: span 6; }

  .work-card {
    /* 关掉浮动动画：手机上 9 个 drop-shadow 动画会明显掉帧 */
    animation: none;
    transform: rotate(var(--tilt, 0deg));
    /* 阴影简化为一层，减轻 GPU 负担 */
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    border-color: rgba(255, 255, 255, 0.14);
  }
  /* 切角收敛：手机上尺寸小，原来的 11~19% 太夸张 */
  .work-card:nth-child(1) { clip-path: polygon(0 7%, 7% 0, 100% 0, 100% 93%, 93% 100%, 0 100%); }
  .work-card:nth-child(2) { clip-path: polygon(0 0, 88% 0, 100% 12%, 100% 100%, 0 100%); }
  .work-card:nth-child(3) { clip-path: polygon(0 0, 100% 0, 100% 100%, 12% 100%, 0 88%); }
  .work-card:nth-child(4) { clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%, 0 10%); }
  .work-card:nth-child(5) { clip-path: polygon(0 0, 100% 0, 100% 86%, 86% 100%, 0 100%); }
  .work-card:nth-child(6) { clip-path: polygon(0 12%, 12% 0, 100% 0, 100% 100%, 0 100%); }
  .work-card:nth-child(7) { clip-path: polygon(0 0, 100% 0, 100% 90%, 90% 100%, 0 100%); }
  .work-card:nth-child(8) { clip-path: polygon(0 0, 87% 0, 100% 13%, 100% 100%, 0 100%); }
  .work-card:nth-child(9) { clip-path: polygon(0 0, 100% 0, 100% 100%, 11% 100%, 0 89%); }

  .work-card-num { top: 8px; right: 8px; font-size: 9px; padding: 2px 5px; }
  .work-info { padding: 10px 12px 16px; }
  .work-info h3 { font-size: 0.75rem; }
  .work-info p { font-size: 0.6875rem; }

  /* ---------- 简历区 ---------- */
  .cv-panel { padding: var(--space-4); }
  .cv-grid { gap: var(--space-6); }
  /* 标签列收窄，给值留出空间，避免长文字被挤成多行 */
  .data-list-item {
    grid-template-columns: 92px 1fr;
    gap: 10px;
    padding: 10px 0;
    align-items: baseline;
    font-size: 0.8125rem;
  }
  .cv-preview-frame { min-height: 320px; }
  .cv-actions { flex-direction: column; }
  .cv-actions .btn { justify-content: center; min-height: 46px; }

  /* ---------- 留言板：iOS 输入框字号必须 ≥16px，否则会自动放大页面 ---------- */
  .gb-form input,
  .gb-form textarea {
    font-size: 16px;
    padding: 12px 14px;
  }
  .gb-form { padding: var(--space-4); }
  .gb-form textarea { min-height: 110px; }
  #gb-submit { min-height: 46px; width: 100%; justify-content: center; }
  .gb-list { max-height: none; padding-right: 0; }
  .gb-item { padding: var(--space-4); }
  .gb-item-head { flex-wrap: wrap; gap: 4px 10px; }
  /* 留言表单在手机上为单列（窄屏两栏会挤） */
  .gb-grid { grid-template-columns: 1fr; gap: var(--space-6); }

  /* ---------- 联系页表单 ---------- */
  .form input,
  .form textarea,
  .form select { font-size: 16px; min-height: 46px; }
  .form textarea { min-height: 130px; }
  .form .btn { width: 100%; min-height: 46px; }

  /* ---------- 页脚 ---------- */
  .site-footer {
    padding: var(--space-10) 0 calc(var(--space-8) + env(safe-area-inset-bottom));
    margin-top: var(--space-16);
  }
  .footer-signature { height: 46px; margin-bottom: var(--space-6); }
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    font-size: 11px;
  }
  .footer-beian {
    justify-content: center;
    text-align: center;
    line-height: 1.8;
    font-size: 10.5px;
  }

  /* ---------- 灯箱 ---------- */
  .lb-img {
    width: 92vw;
    height: 58vh;
    height: 58svh;
    /* 柔光收敛，手机性能有限 */
    animation: none;
    box-shadow:
      0 0 18px rgba(255, 255, 255, 0.14),
      0 0 44px rgba(255, 255, 255, 0.07),
      0 16px 40px rgba(0, 0, 0, 0.5);
  }
  .lightbox { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .lb-close, .lb-prev, .lb-next {
    min-width: 46px; min-height: 46px;
    background: rgba(20, 20, 20, 0.72);
  }
  .lb-caption h3 { font-size: 0.9375rem; }
  .lb-caption p { font-size: 0.75rem; }
}

/* ---------- 超小屏（≤380px）再收一档 ---------- */
@media (max-width: 380px) {
  :root { --container-pad: 14px; }
  .hero-title .name-cn { font-size: 2rem; }
  .hero-title .name-en { font-size: 1.375rem; }
  .work-grid { grid-auto-rows: 36px; gap: 10px; }
  .hero-cta .btn { flex: 1 1 100%; }
}

/* ---------- 触屏设备：去掉 hover 粘滞，改按下反馈 ---------- */
@media (hover: none) {
  .work-card:hover {
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    animation-play-state: running;
  }
  .work-card:hover::after { opacity: 0; }
  .work-card:active {
    filter: drop-shadow(0 0 26px rgba(230, 57, 70, 0.5));
    border-color: rgba(230, 57, 70, 0.6);
  }
  .btn-ghost:hover, .btn-primary:hover { transform: none; }
  .gb-item:hover { border-color: rgba(255, 255, 255, 0.12); }
  /* 触屏上更明显的按下反馈 */
  .btn:active { transform: scale(0.98); }
  .nav-link:active { color: var(--red); }
}

/* ---------- 横屏矮屏：Hero 不占满，避免内容被挤掉 ---------- */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 480px) {
  .hero { min-height: auto; padding: 32px 0; }
  .hero-signature { display: none; }
}

/* ================================================================
   工作台入口 · 密码弹窗（点击页脚签名触发）
   ================================================================ */
.vault-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 5, 5, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}
.vault-modal.is-open { opacity: 1; visibility: visible; }

.vault-box {
  width: min(400px, 100%);
  padding: 34px 30px 26px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  transform: translateY(10px) scale(0.98);
  transition: transform 0.35s var(--ease);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7);
}
.vault-modal.is-open .vault-box { transform: translateY(0) scale(1); }

.vault-title { font-size: 1.375rem; margin: 4px 0 20px; }
.vault-form { display: grid; gap: 12px; }

.vault-input {
  width: 100%;
  padding: 13px 16px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 16px;
  letter-spacing: 0.25em;
  transition: border-color var(--t-fast) var(--ease);
}
.vault-input:focus { outline: none; border-color: var(--red); }
.vault-submit { justify-content: center; min-height: 46px; }

.vault-tip {
  min-height: 1.2em;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--text-dim);
}
.vault-tip.is-error { color: var(--red); }
.vault-tip.is-ok { color: #5DCAA5; }

/* 页脚签名：告诉用户「这里可以点」 */
.footer-signature {
  transition: opacity var(--t-base) var(--ease), filter var(--t-base) var(--ease);
}
.footer-signature:hover {
  opacity: 1;
  filter:
    brightness(0) saturate(100%) invert(18%) sepia(85%) saturate(2500%)
    hue-rotate(340deg) drop-shadow(0 0 22px rgba(230, 57, 70, 0.85));
}


/* ================================================================
   v21 · 作品网格改造 与 卡片幕布
   ================================================================ */

/* ----------------------------------------------------------------
   1. 作品网格：适配竖构图
   这 6 张是「实拍 + 插画」的竖版对照图（2:3），
   所以卡片统一做成竖向，高度按 2:3 反推 —— 列宽约 385px 时，
   卡片高 8 行（666px）刚好让缩略图区接近 385:578 ≈ 2:3，图片基本不被裁。
   切角用 6n 循环，以后增减作品数量都不用再改 CSS。
   ---------------------------------------------------------------- */
.work-grid .work-card {
  grid-column: span 2;
  grid-row: span 8;
}
.work-grid .work-card:nth-child(6n+1) { clip-path: polygon(0 8%, 8% 0, 100% 0, 100% 92%, 92% 100%, 0 100%);  --tilt: -1.9deg; }
.work-grid .work-card:nth-child(6n+2) { clip-path: polygon(0 0, 88% 0, 100% 11%, 100% 100%, 0 100%);         --tilt: 2.1deg; }
.work-grid .work-card:nth-child(6n+3) { clip-path: polygon(0 0, 100% 0, 100% 100%, 11% 100%, 0 89%);         --tilt: -1.6deg; }
.work-grid .work-card:nth-child(6n+4) { clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%, 0 9%);           --tilt: 2.4deg; }
.work-grid .work-card:nth-child(6n+5) { clip-path: polygon(0 0, 100% 0, 100% 86%, 86% 100%, 0 100%);         --tilt: -2.1deg; }
.work-grid .work-card:nth-child(6n)   { clip-path: polygon(0 12%, 12% 0, 100% 0, 100% 100%, 0 100%);        --tilt: 1.7deg; }


@media (max-width: 900px) {
  .work-grid .work-card { grid-column: span 3; grid-row: span 8; }
}
@media (max-width: 720px) {
  /* 窄屏一张一行；高度给足，竖图基本完整 */
  .work-grid .work-card { grid-column: span 6; grid-row: span 10; }
}

/* ----------------------------------------------------------------
   2. 卡片幕布：半透明一层，点一下才揭开
   幕布是卡片里最后一个子元素，卡片自带 clip-path + overflow:hidden，
   所以幕布会被自动裁成同样的碎片形状，不会露出直角。
   ---------------------------------------------------------------- */
/* 卡片要装得下「标签 + 标题 + 两三行描述」，
   原来 4 张卡的默认高度不够，长一点的描述会被 overflow:hidden 切掉 */
.terminal-card.veil-card {
  position: relative;
  min-height: 258px;
}

.card-veil {
  position: absolute;
  inset: 0;
  z-index: 3;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;

  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  color: var(--text);

  /* 半透明 + 毛玻璃：0.92 的不透明度，只留一点底下内容的轮廓 */
  background: rgba(9, 9, 12, 0.92);
  backdrop-filter: blur(22px) saturate(0.28);
  -webkit-backdrop-filter: blur(22px) saturate(0.28);

  transition:
    opacity 0.5s var(--ease),
    transform 0.62s var(--ease),
    background 0.3s var(--ease),
    backdrop-filter 0.5s var(--ease);
}

/* 斜纹：让幕布有织物质感，而不是"蒙了一层灰" */
.card-veil::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    48deg,
    rgba(255, 255, 255, 0.075) 0 1.5px,
    transparent 1.5px 8px
  );
}

.card-veil:hover { background: rgba(230, 57, 70, 0.26); }
.card-veil:hover .veil-icon { border-color: var(--red); transform: scale(1.1); }

/* 中间那个"眼睛"：外圈 + 红色瞳孔，瞳孔带呼吸 */
.veil-icon {
  position: relative;
  width: 30px;
  height: 30px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  transition: all 0.3s var(--ease);
}
.veil-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 12px var(--red-glow);
  animation: veil-pulse 2.4s ease-in-out infinite;
}
@keyframes veil-pulse {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%      { transform: scale(0.66); opacity: 0.5; }
}

.veil-text {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}
.veil-hint {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  opacity: 0.68;
}

/* 揭开：幕布上移淡出，毛玻璃同步化开 */
.veil-card.is-open {
  border-color: rgba(230, 57, 70, 0.34);
}
.veil-card.is-open .card-veil {
  opacity: 0;
  transform: translateY(-7px) scale(1.05);
  backdrop-filter: blur(0px) saturate(1);
  -webkit-backdrop-filter: blur(0px) saturate(1);
  pointer-events: none;
}

/* 内容：没揭开时微微下沉，揭开时浮回原位 */
.veil-card .terminal-card-body > * {
  transition: transform 0.62s var(--ease), opacity 0.62s var(--ease);
}
.veil-card:not(.is-open) .terminal-card-body > * {
  transform: translateY(7px);
}

/* 键盘可达 */
.card-veil:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: -5px;
}

@media (prefers-reduced-motion: reduce) {
  .card-veil,
  .veil-card .terminal-card-body > * { transition: none !important; }
  .veil-icon::after { animation: none; }
}

/* ----------------------------------------------------------------
   3. 竖版作品卡里的「待上传」占位
   卡片改成竖向之后，原来按横卡设计的占位显得又空又小，
   所以把虚线框和文字都放大，并加一个淡淡的图片图标。
   ---------------------------------------------------------------- */
.work-grid .placeholder {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  color: rgba(255, 255, 255, 0.42);
}
.work-grid .placeholder::before {
  width: 78%;
  height: 58%;
  border-color: rgba(255, 255, 255, 0.15);
  border-radius: 6px;
}
/* 图片图标：一个方框 + 右下角的"山" */
.work-grid .placeholder::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 42px;
  margin: -52px 0 0 -27px;
  border: 1.5px solid rgba(255, 255, 255, 0.26);
  border-radius: 4px;
  background:
    linear-gradient(158deg, transparent 62%, rgba(255, 255, 255, 0.14) 62%);
  pointer-events: none;
}

/* ----------------------------------------------------------------
   4. 灯箱里的「查看原图」
   线上展示的本来就是原始文件（未压缩），这个按钮只是让你
   在新标签里按 100% 尺寸打开，方便看细节。
   ---------------------------------------------------------------- */
.lb-original {
  display: inline-block;
  margin-top: 12px;
  padding: 7px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  transition: all var(--t-fast) var(--ease);
}
.lb-original:hover {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}


/* ----------------------------------------------------------------
   5. 灯箱水印（2026-09-17 用户要求）
   注意：水印是**覆盖在灯箱上的一层**，图片文件本身一个字都没改 ——
   所以「查看原图」拿到的仍是未经处理的原始文件。
   ---------------------------------------------------------------- */
.lb-img { overflow: hidden; }

/* 平铺的斜向水印，铺满整张图 */
.lb-img::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzNDAiIGhlaWdodD0iMTYwIj48ZyB0cmFuc2Zvcm09InJvdGF0ZSgtMjIgMTcwIDgwKSI+PHRleHQgeD0iMTcwIiB5PSI4NiIgdGV4dC1hbmNob3I9Im1pZGRsZSIgZm9udC1mYW1pbHk9InVpLW1vbm9zcGFjZSxDb25zb2xhcyxtb25vc3BhY2UiIGZvbnQtc2l6ZT0iMTMiIGZpbGw9IiNmZmZmZmYiIGZpbGwtb3BhY2l0eT0iMC4xMyI+QOWpiea4hSBhbGwgcmlnaHRzIHJlc2VydmVkPC90ZXh0PjwvZz48L3N2Zz4=");
  background-repeat: repeat;
}

/* 右下角一处清晰署名 */
.lb-img::after {
  content: '@婉清 all rights reserved';
  position: absolute;
  right: 14px;
  bottom: 12px;
  z-index: 3;
  pointer-events: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
}

/* 没图的时候不显示水印 */
.lb-img.is-empty::before,
.lb-img.is-empty::after { display: none; }

/* ----------------------------------------------------------------
   6. 作品卡：数量不是 3 的倍数时，最后一张居中，别孤零零靠左
   ---------------------------------------------------------------- */
.work-grid .work-card:last-child:nth-child(3n+1) { grid-column: 3 / span 2; }

/* ----------------------------------------------------------------
   7. 简历区：邮箱链接 + 底部邮件提示
   ---------------------------------------------------------------- */
.data-list-item .v a {
  color: var(--red);
  text-decoration: none;
  transition: opacity var(--t-fast) var(--ease);
}
.data-list-item .v a:hover { opacity: 0.75; }

.cv-footnote {
  margin: var(--space-8) 0 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  letter-spacing: 0.04em;
  color: var(--text-dim);
}
.cv-footnote a {
  color: var(--red);
  text-decoration: none;
  border-bottom: 1px dashed rgba(230, 57, 70, 0.45);
  padding-bottom: 1px;
}
.cv-footnote a:hover { border-bottom-style: solid; }


/* ================================================================
   v24 · 作品展示：图片按原比例完整呈现（零裁切）+ 混乱错落
   ----------------------------------------------------------------
   原来那套「固定行高网格 + background-size: cover」会裁图：
   1.86:1 的横图被切成竖的，1:1.5 的竖图被切成横的，观众看到的
   从来不是照片本来的构图。

   现在的做法：
     · 容器换成多列瀑布流，卡片高度由图片自己撑开；
     · 缩略图改用 <img>，width:100% + height:auto → 原比例，不裁一个像素；
     · 拿掉卡片的碎片切角（clip-path 会连带切到图片）；
     · 混乱感靠「宽度不一 + 左右偏移 + 角度不一 + 上下间距不一 + 浮动」来造。
   ================================================================ */

.work-grid {
  display: block;
  column-count: 3;
  column-gap: 34px;
}

.work-grid .work-card:nth-child(n) {
  display: block;
  /* :nth-child(n) 是为了拿到足够的特定性，压过上面那批 nth-child 切角规则 */
  overflow: visible;
  clip-path: none;
  margin: 0 0 36px;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
}

/* 图片本体：完全按自身比例走，多一像素都不裁 */
.work-grid .work-thumb {
  display: block;
  flex: none;
  width: 100%;
  height: auto;
  background: none;
  object-fit: contain;
}

/* 作品集里还没照片的那 6 张占位 */
.work-grid .work-thumb.placeholder {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
}

.work-grid .work-info {
  padding: var(--space-4) var(--space-4);
  text-align: center;
}

/* ---------------- 混乱错落：7 张一循环 ---------------- */
.work-grid .work-card:nth-child(7n+1) { margin-left: 0;   margin-right: 0;   --tilt: -2.4deg; }
.work-grid .work-card:nth-child(7n+2) { margin-left: 13%; margin-right: 0;   --tilt: 2.1deg; }
.work-grid .work-card:nth-child(7n+3) { margin-left: 3%;  margin-right: 9%;  --tilt: -1.4deg; }
.work-grid .work-card:nth-child(7n+4) { margin-left: 0;   margin-right: 15%; --tilt: 2.9deg; }
.work-grid .work-card:nth-child(7n+5) { margin-left: 8%;  margin-right: 2%;  --tilt: -2.7deg; }
.work-grid .work-card:nth-child(7n+6) { margin-left: 2%;  margin-right: 12%; --tilt: 1.5deg; }
.work-grid .work-card:nth-child(7n)   { margin-left: 10%; margin-right: 0;   --tilt: -2.0deg; }

/* 垂直方向也错开，避免看起来像整齐的两列 */
.work-grid .work-card:nth-child(7n+2) { margin-bottom: 62px; }
.work-grid .work-card:nth-child(7n+5) { margin-bottom: 18px; }
.work-grid .work-card:nth-child(7n+3) { margin-top: 30px; }

@media (max-width: 1100px) {
  .work-grid { column-count: 2; column-gap: 24px; }
}
@media (max-width: 640px) {
  .work-grid { column-count: 1; }
  /* 窄屏取消所有偏移和倾斜：屏幕本来就小，再偏就太小了 */
  .work-grid .work-card:nth-child(n) {
    margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 26px;
    --tilt: 0deg;
  }
  .work-grid .work-card { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  .work-grid .work-card { animation: none !important; }
}

/* ================================================================
   v24 · 「查看原图」独立页（viewer.html）
   原图文件本身一个字节没改，水印是页面盖在上面的一层。
   ================================================================ */
.vw-body {
  margin: 0;
  background: #08080a;
  color: #f1efea;
  font-family: var(--font-sans, system-ui, sans-serif);
  min-height: 100vh;
}

.vw-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(8, 8, 10, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
}
.vw-name {
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  color: #f1efea;
  max-width: 40vw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vw-dims {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  color: #8b8880;
}
.vw-gap { flex: 1; }
.vw-btn {
  font: inherit;
  font-size: 12px;
  padding: 6px 13px;
  color: #f1efea;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.vw-btn:hover { background: #e63946; border-color: #e63946; color: #fff; }
.vw-btn.is-on { background: rgba(230, 57, 70, 0.2); border-color: rgba(230, 57, 70, 0.6); }

.vw-stage {
  padding: 62px 0 40px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  box-sizing: border-box;
}
.vw-img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.vw-img.is-actual {
  max-width: none;
  width: auto;
}

/* 水印：铺满视口，滚到哪都有 */
.vw-watermark {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  background-repeat: repeat;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMjAiIGhlaWdodD0iMTQ4Ij48ZyB0cmFuc2Zvcm09InJvdGF0ZSgtMjIgMTYwIDc0KSI+PHRleHQgeD0iMTYwIiB5PSI4MCIgdGV4dC1hbmNob3I9Im1pZGRsZSIgZm9udC1mYW1pbHk9InVpLW1vbm9zcGFjZSxDb25zb2xhcyxtb25vc3BhY2UiIGZvbnQtc2l6ZT0iMTMiIHBhaW50LW9yZGVyPSJzdHJva2UiIHN0cm9rZT0iIzAwMDAwMCIgc3Ryb2tlLW9wYWNpdHk9IjAuMjgiIHN0cm9rZS13aWR0aD0iMS4yIiBmaWxsPSIjZmZmZmZmIiBmaWxsLW9wYWNpdHk9IjAuMjYiPkDlqYnmuIUgYWxsIHJpZ2h0cyByZXNlcnZlZDwvdGV4dD48L2c+PC9zdmc+");
}
.vw-sign {
  position: fixed;
  right: 18px;
  bottom: 16px;
  z-index: 21;
  pointer-events: none;
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.62);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.95);
}

@media (max-width: 640px) {
  .vw-name { max-width: 30vw; }
  .vw-dims { display: none; }
  .vw-btn { padding: 6px 10px; font-size: 11px; }
}

@media print {
  .vw-bar, .vw-watermark, .vw-sign { display: none !important; }
}


/* ================================================================
   v25 · 关于区块
   首页是两张并排的卡片；关于页是 hero 里的两段，配一条红色竖线。
   ================================================================ */

/* ---- 首页：两张关于卡片 ---- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-6);
}

.about-text {
  margin-top: 12px;
  font-size: 0.9375rem;
  line-height: 1.95;
  color: var(--text-muted);
}

/* ---- 关于页：hero 里的两段 ---- */
.about-block {
  margin-top: var(--space-8);
  padding-left: var(--space-4);
  border-left: 2px solid rgba(230, 57, 70, 0.42);
}

.about-h {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--red);
  margin-bottom: 10px;
}

.about-p {
  font-size: 1rem;
  line-height: 2.05;
  color: var(--text-muted);
  max-width: 62ch;
}

@media (max-width: 640px) {
  .about-grid { gap: var(--space-4); margin-top: var(--space-4); }
  .about-block { padding-left: var(--space-4); margin-top: var(--space-6); }
  .about-p { font-size: 0.9375rem; line-height: 1.95; }
}

/* hero 里那张签名水印是「绝对定位 + z-index:0」的元素，
   而未定位的文字（static）在层叠顺序上排在它下面 —— 首页文字少不明显，
   关于页两段正文就会被签名压住。把文字层抬上来。 */
.hero-inner {
  position: relative;
  z-index: 1;
}


/* ================================================================
   v26 · 灯箱「抽卡」切换动画
   左右切换时：新图弹入 + 过曝一闪 + 一道金色扫光掠过。
   动画播完把 .draw 摘掉，让常驻的柔光动画（lb-glow）接回来。
   ================================================================ */

.lb-img.draw {
  animation: lb-draw 0.65s cubic-bezier(0.19, 1, 0.22, 1) both;
}
@keyframes lb-draw {
  0%   { opacity: 0; transform: scale(0.82) rotate(-2.5deg); filter: brightness(2.6) saturate(1.5); }
  55%  { opacity: 1; transform: scale(1.045) rotate(0.6deg); filter: brightness(1.3) saturate(1.2); }
  100% { opacity: 1; transform: scale(1) rotate(0); filter: brightness(1) saturate(1); }
}

/* 金色扫光：贴着图片框内掠过一次（prev 方向时反转） */
.lb-sweep {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(112deg,
    transparent 32%,
    rgba(255, 214, 140, 0.18) 44%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 214, 140, 0.18) 56%,
    transparent 68%);
  transform: translateX(-135%) skewX(-8deg);
  animation: lb-sweep 0.75s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}
.lb-sweep.rev { animation-name: lb-sweep-rev; }
@keyframes lb-sweep {
  to { transform: translateX(135%) skewX(-8deg); }
}
@keyframes lb-sweep-rev {
  from { transform: translateX(135%) skewX(8deg); }
  to   { transform: translateX(-135%) skewX(8deg); }
}

@media (prefers-reduced-motion: reduce) {
  .lb-img.draw { animation: none; }
  .lb-sweep { display: none; }
}

/* ================================================================
   v27 · 联系方式平台图标 + 点击复制
   每条联系方式前面一个小图标框；微信/QQ 点击复制号码。
   ================================================================ */

.contact-item {
  align-items: center;
}

/* space-between 会把中间的文字挤到正中 —— 让它贴着图标、占满剩余宽度 */
.contact-item > div {
  flex: 1;
  margin-left: 14px;
}

.contact-ico {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-muted);
  transition: color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease);
}

.contact-item:hover .contact-ico {
  color: var(--red);
  border-color: rgba(230, 57, 70, 0.5);
  background: rgba(230, 57, 70, 0.08);
}

/* 复制成功反馈：箭头位置短暂变成对勾 */
.contact-item.copied .contact-arrow {
  color: #4ade80;
  transform: none;
}

/* ================================================================
   v28 · 入场动画只播一次 + 首页「关于」大字标语
   ================================================================ */

/* 会话内已播过入场动画 → preloader 从渲染起就不出现（head 里的脚本提前打标记） */
html.skip-enter #preloader {
  display: none !important;
}

/* 首页「关于」标题下的大字 */
.about-shout {
  margin-top: 10px;
  font-size: clamp(1.45rem, 3.4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--red);
  line-height: 1.4;
}

@media (prefers-reduced-motion: reduce) {
  .about-shout { color: var(--red); }
}

/* ================================================================
   v29 · 作品集视频卡（B 站外链）
   封面居中一个播放按钮角标，悬停时变红放大；整卡点击跳转 B 站。
   ================================================================ */

.work-card .play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(9, 9, 12, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: transform var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
  pointer-events: none;
}

.work-card .play-badge-tri {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
  transition: border-color var(--t-fast) var(--ease);
}

.work-card:hover .play-badge {
  transform: scale(1.12);
  background: rgba(230, 57, 70, 0.85);
  border-color: rgba(255, 255, 255, 0.6);
}

/* ================================================================
   v30 · 首页精选分区（人像/风景）+ 校园媒体栏 + 页脚版权
   ================================================================ */

/* 精选作品里的小节标题 */
.work-subhead {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: var(--space-8) 0 var(--space-5);
  font-family: var(--font-mono);
  font-size: clamp(1.2rem, 2.1vw, 1.6rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text);
}
.work-subhead::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* 页脚版权行 */
.footer-copy {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}

/* 区块标题下的说明行（如「校园媒体」） */
.section-sub {
  margin-top: 10px;
  font-size: 0.9375rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}
