/* ==========================================================================
   前台样式：极光光晕 + 玻璃质感 + 大留白排版
   ========================================================================== */

/* ---------- 氛围层 ---------- */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}
.aurora-blob {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  animation: drift 26s var(--ease-in-out) infinite alternate;
}
.aurora-1 {
  width: 46vw; height: 46vw;
  top: -12vw; left: -8vw;
  background: radial-gradient(circle at 30% 30%, var(--accent-1), transparent 68%);
}
.aurora-2 {
  width: 40vw; height: 40vw;
  top: 28vh; right: -12vw;
  background: radial-gradient(circle at 60% 40%, var(--accent-2), transparent 68%);
  opacity: .35;
  animation-delay: -8s;
}
.aurora-3 {
  width: 52vw; height: 52vw;
  bottom: -22vw; left: 22vw;
  background: radial-gradient(circle at 50% 50%, var(--accent-1), transparent 70%);
  opacity: .25;
  animation-delay: -16s;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(4%, -6%, 0) scale(1.12); }
}

/* 细腻噪点，避免大面积渐变出现色带 */
.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .16;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

/* 鼠标跟随光斑 */
.spotlight {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .6s ease;
  background: radial-gradient(
    520px circle at var(--mx, 50%) var(--my, 20%),
    var(--accent-soft),
    transparent 62%
  );
}
body.has-pointer .spotlight { opacity: .85; }

/* 滚动进度条 */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 60;
  background: transparent;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  box-shadow: 0 0 14px var(--accent-1);
}

/* ---------- 导航 ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background .35s, backdrop-filter .35s, border-color .35s, padding .35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(6, 7, 11, .72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav.scrolled .nav-inner { padding-block: 12px; }

.nav-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -.01em; }
.brand-mark {
  width: 12px; height: 12px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  box-shadow: 0 0 16px var(--accent-1);
}
.brand-text { font-size: 15px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  font-size: 14px;
}
.nav-links a {
  position: relative;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  color: var(--text-dim);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 2px;
  width: 14px; height: 2px;
  transform: translateX(-50%);
  border-radius: 2px;
  background: var(--accent-1);
}

.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: 8px; }
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 11px;
  width: 16px; height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s var(--ease-out), opacity .2s;
}
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 22px; }
.nav.nav-open .nav-toggle span:first-child { transform: translateY(3px) rotate(45deg); }
.nav.nav-open .nav-toggle span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  padding: clamp(120px, 16vh, 180px) 0 clamp(64px, 10vh, 110px);
  min-height: 92vh;
  display: flex;
  align-items: center;
}
.hero-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero-visual { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.avatar-ring {
  position: relative;
  width: 168px; height: 168px;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(from 0deg, var(--accent-1), var(--accent-2), var(--accent-1));
  animation: spin-slow 14s linear infinite;
}
.avatar-ring::after {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
  z-index: -1;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }
.avatar-ring img, .avatar-fallback {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-elevated);
  animation: spin-slow 14s linear infinite reverse;
}
.avatar-fallback {
  display: grid;
  place-items: center;
  font-size: 56px;
  font-weight: 600;
  color: var(--text-dim);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(6, 7, 11, .6);
  backdrop-filter: blur(10px);
  font-size: 12.5px;
  color: var(--text-dim);
  white-space: nowrap;
}
.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, .6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); }
  70%  { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.hero-copy { max-width: 640px; }
.hero-name {
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: -.035em;
  font-weight: 680;
  margin-bottom: 18px;
  background: linear-gradient(160deg, #fff 20%, var(--text-dim) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-tagline {
  font-size: clamp(17px, 2.2vw, 22px);
  color: var(--text);
  font-weight: 500;
  letter-spacing: -.01em;
  margin-bottom: 14px;
}
.hero-intro { color: var(--text-dim); max-width: 52ch; margin-bottom: 30px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }

.hero-social { display: flex; flex-wrap: wrap; gap: 20px; font-size: 13.5px; }
.hero-social a {
  color: var(--text-mute);
  position: relative;
  transition: color .25s;
}
.hero-social a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 1px;
  background: var(--accent-1);
  transition: width .3s var(--ease-out);
}
.hero-social a:hover { color: var(--text); }
.hero-social a:hover::after { width: 100%; }

.scroll-hint {
  position: absolute;
  left: 50%; bottom: 30px;
  width: 24px; height: 40px;
  transform: translateX(-50%);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  display: grid;
  place-items: start center;
  padding-top: 8px;
}
.scroll-hint span {
  width: 2px; height: 8px;
  border-radius: 2px;
  background: var(--accent-1);
  animation: scroll-dot 1.8s var(--ease-in-out) infinite;
}
@keyframes scroll-dot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(14px); opacity: .2; }
}

/* ---------- 关于我 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(220px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.about-body { font-size: 16.5px; color: var(--text-dim); }
.about-body > * + * { margin-top: 1.15em; }
.about-body p { max-width: 62ch; }

.fact-list { border-top: 1px solid var(--line); }
.fact {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.fact dt { color: var(--text-mute); }
.fact dd { text-align: right; color: var(--text); }
.fact dd a { color: var(--accent-1); }

/* ---------- 荣誉与职位 ---------- */
.honor-list { border-top: 1px solid var(--line); }
.honor {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 24px;
  align-items: baseline;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background .3s, padding-left .3s;
}
.honor::before {
  content: "";
  position: absolute;
  left: 0; top: -1px;
  width: 0; height: 1px;
  background: linear-gradient(90deg, var(--accent-1), transparent);
  transition: width .5s var(--ease-out);
}
.honor:hover { background: linear-gradient(90deg, var(--surface), transparent); padding-left: 12px; }
.honor:hover::before { width: 45%; }
.honor-date { font-size: 13px; font-family: var(--mono); color: var(--text-mute); letter-spacing: .02em; }
.honor-main { display: flex; flex-direction: column; gap: 4px; }
.honor-main strong { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.honor-main em { font-style: normal; font-size: 14px; color: var(--accent-1); }
.honor-main strong a {
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: background-size .35s var(--ease-out), color .25s;
}
.honor-main strong a:hover { color: var(--accent-1); background-size: 100% 1px; }
.honor-arrow { margin-left: 6px; font-size: 12px; color: var(--accent-1); opacity: .75; }
.honor-note { display: block; font-size: 14px; line-height: 1.7; color: var(--text-mute); }
.honor-badge { width: 44px; height: 44px; object-fit: contain; opacity: .9; }

/* ---------- 产品与站点 ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.product {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012)),
    var(--bg-elevated);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform .45s var(--ease-out), border-color .3s, box-shadow .45s;
}
.product::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, var(--accent-1), transparent 42%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.product:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 1); }
.product:hover::after { opacity: 1; }

.product-top { display: flex; align-items: flex-start; gap: 14px; }
.product-logo {
  width: 46px; height: 46px;
  flex-shrink: 0;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--surface-2);
}
.product-logo-fallback {
  display: grid;
  place-items: center;
  font-weight: 650;
  font-size: 18px;
  color: var(--accent-1);
  background: var(--accent-soft);
}
.product-heading h3 { font-size: 17px; font-weight: 620; letter-spacing: -.01em; }
.product-heading p { font-size: 13.5px; color: var(--text-mute); margin-top: 2px; }
.product-desc { color: var(--text-dim); font-size: 14.5px; flex: 1; }

.status-tag {
  margin-left: auto;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  border: 1px solid var(--line);
  color: var(--text-mute);
  white-space: nowrap;
}
.status-tag::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.status-ok { color: var(--ok); border-color: rgba(52, 211, 153, .3); }
.status-warn { color: var(--warn); border-color: rgba(251, 191, 36, .3); }
.status-muted { color: var(--text-mute); }

.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-row li {
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--text-dim);
  font-family: var(--mono);
}

.product-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-1);
}
.product-cta svg { transition: transform .35s var(--ease-out); }
.product:hover .product-cta svg { transform: translate(3px, -3px); }

/* ---------- 信仰与价值观 ---------- */
.value-list { display: flex; flex-direction: column; gap: clamp(36px, 5.5vw, 62px); }
.value {
  display: grid;
  grid-template-columns: 90px minmax(0, 620px);
  gap: clamp(16px, 4vw, 44px);
  align-items: start;
}
.value-flip { grid-template-columns: minmax(0, 620px) 90px; justify-content: end; }
.value-flip .value-index { order: 2; text-align: left; }
.value-flip .value-body { order: 1; }
.value-index {
  font-family: var(--mono);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
  font-weight: 600;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-strong);
  text-align: right;
}
.value-body h3 {
  font-size: clamp(24px, 3.4vw, 36px);
  line-height: 1.2;
  letter-spacing: -.025em;
  font-weight: 640;
  margin-bottom: 12px;
}
.value-body p { color: var(--text-dim); font-size: 16px; max-width: 52ch; }
.value-note {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent-1);
  font-size: 12px;
}

/* ---------- 时间线 ---------- */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px; top: 8px; bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--accent-1), var(--accent-2) 40%, transparent);
  opacity: .5;
}
.timeline-item { position: relative; padding-bottom: 40px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker {
  position: absolute;
  left: -32px; top: 6px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  font-size: 9px;
  transition: border-color .3s, box-shadow .3s;
}
.timeline-item:hover .timeline-marker {
  border-color: var(--accent-1);
  box-shadow: 0 0 0 5px var(--accent-soft);
}
.timeline-card {
  padding: 2px 0 0 0;
  border-radius: var(--radius);
}
.timeline-date {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--accent-1);
  margin-bottom: 8px;
}
.timeline-card h3 { font-size: 19px; font-weight: 620; letter-spacing: -.01em; }
.timeline-sub { font-size: 14px; color: var(--text-mute); margin-top: 2px; }
.timeline-card p:not(.timeline-sub) { color: var(--text-dim); font-size: 14.5px; margin-top: 8px; max-width: 60ch; }

/* ---------- Now ---------- */
.now-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.now-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: background .3s, transform .4s var(--ease-out), border-color .3s;
}
.now-card:hover { background: var(--surface-2); transform: translateY(-4px); border-color: var(--line-strong); }
.now-label {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-1);
  margin-bottom: 12px;
}
.now-card h3 { font-size: 17px; font-weight: 620; margin-bottom: 8px; }
.now-card p { color: var(--text-dim); font-size: 14.5px; }
.now-card time { display: block; margin-top: 14px; font-size: 12px; color: var(--text-mute); font-family: var(--mono); }

/* ---------- 合作方式 ---------- */
.service-list { border-top: 1px solid var(--line); margin-bottom: 48px; }
.service {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 24px 4px;
  border-bottom: 1px solid var(--line);
  transition: background .3s, padding-left .3s;
}
.service:hover { background: linear-gradient(90deg, var(--surface), transparent); padding-left: 12px; }
.service-index { font-family: var(--mono); font-size: 13px; color: var(--accent-1); }
.service h3 { font-size: 17px; font-weight: 620; }
.service p { color: var(--text-dim); font-size: 14.5px; margin-top: 4px; }
.service-link { font-size: 13px; color: var(--text-mute); border-bottom: 1px solid var(--line-strong); }
.service-link:hover { color: var(--text); }

.cta-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 160% at 0% 0%, var(--accent-soft), transparent 55%),
    var(--surface);
}
.cta-panel h3 { font-size: clamp(20px, 2.6vw, 26px); letter-spacing: -.02em; margin-bottom: 6px; }
.cta-panel p { color: var(--text-dim); font-size: 15px; }

/* ---------- 联系方式 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.contact-lines { border-top: 1px solid var(--line); }
.contact-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  transition: padding-left .3s, background .3s;
}
a.contact-line:hover { background: linear-gradient(90deg, var(--surface), transparent); padding-left: 12px; }
.contact-line span { color: var(--text-mute); }
.contact-line strong { font-weight: 500; color: var(--text); word-break: break-all; text-align: right; }
a.contact-line strong { color: var(--accent-1); }
.contact-qr {
  text-align: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.contact-qr img { width: 160px; height: 160px; border-radius: 12px; }
.contact-qr figcaption { margin-top: 12px; font-size: 12.5px; color: var(--text-mute); }

/* ---------- 照片墙 / 链接墙 ---------- */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.media-tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}
.media-tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .7s var(--ease-out); }
.media-tile:hover img { transform: scale(1.05); }
.media-tile figcaption {
  position: absolute;
  inset-inline: 0; bottom: 0;
  padding: 24px 14px 12px;
  font-size: 13px;
  background: linear-gradient(transparent, rgba(4, 5, 9, .9));
}
.link-tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform .35s var(--ease-out), border-color .3s, background .3s;
}
.link-tile:hover { transform: translateY(-3px); border-color: var(--line-strong); background: var(--surface-2); }
.link-tile strong { font-size: 15px; }
.link-tile span { font-size: 13px; color: var(--text-mute); }

/* ---------- 通用列表（推荐语等） ---------- */
.generic-list { display: flex; flex-direction: column; gap: 18px; }
.generic-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.generic-item img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.generic-item h3 { font-size: 16px; font-weight: 620; }
.generic-sub { font-size: 13px; color: var(--accent-1); margin-top: 2px; }
.generic-item p:not(.generic-sub) { color: var(--text-dim); font-size: 15px; margin-top: 10px; }
.generic-author { display: inline-block; margin-top: 12px; font-size: 12.5px; color: var(--text-mute); }

/* ---------- 页脚 ---------- */
.footer {
  margin-top: clamp(40px, 8vw, 90px);
  border-top: 1px solid var(--line);
  padding: 44px 0 40px;
  position: relative;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-end;
}
.footer-brand strong { font-size: 15px; }
.footer-brand p { color: var(--text-mute); font-size: 13.5px; margin-top: 4px; }
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 12.5px;
  color: var(--text-mute);
  font-family: var(--mono);
}
.footer-admin { color: var(--text-mute); opacity: .6; transition: opacity .25s, color .25s; }
.footer-admin:hover { opacity: 1; color: var(--accent-1); }

/* ---------- 空状态 / 错误页 ---------- */
.empty-state, .error-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
}
.error-code {
  font-family: var(--mono);
  font-size: clamp(64px, 14vw, 140px);
  line-height: 1;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-strong);
}
.empty-state h1, .error-page h1 { font-size: clamp(24px, 4vw, 36px); letter-spacing: -.02em; }
.empty-state p, .error-page p { color: var(--text-mute); max-width: 46ch; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; }
  .value, .value-flip { grid-template-columns: 60px 1fr; }
  .value-flip .value-index { order: 0; text-align: right; }
  .value-flip .value-body { order: 0; }
}

@media (max-width: 760px) {
  .nav-links {
    position: fixed;
    inset: 68px 12px auto 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(8, 9, 14, .94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    transform: translateY(-8px) scale(.99);
    pointer-events: none;
    transition: opacity .25s, transform .25s var(--ease-out);
  }
  .nav.nav-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 12px 14px; }
  .nav-links a.active::after { display: none; }
  .nav-actions .btn { display: none; }
  .nav-toggle { display: block; }

  .hero { min-height: auto; padding-top: 118px; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { align-items: flex-start; }
  .avatar-ring { width: 128px; height: 128px; }
  .avatar-fallback { font-size: 42px; }
  .scroll-hint { display: none; }

  .honor { grid-template-columns: 1fr; gap: 6px; }
  .honor-date { order: -1; }
  .honor-badge { position: absolute; right: 0; top: 22px; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-line { flex-direction: column; align-items: flex-start; gap: 4px; }
  .contact-line strong { text-align: left; }
  .service { grid-template-columns: 40px 1fr; }
  .service-link { grid-column: 2; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
