/* =========================================================
   易荛 · AI 全栈开发实习生 —— 个人站点样式
   设计方向：明亮 / 简约 / 高级感 · 编辑式排版（无外部字体依赖）
   浅色底 + 墨色文字 + 青蓝紫点缀，粒子动效作为全站氛围层
   ========================================================= */

/* ---------- 1. 设计令牌 ---------- */
:root {
  --bg: #f4f6fa;
  --bg-2: #edf1f7;
  --panel: rgba(255, 255, 255, 0.74);
  --panel-2: rgba(255, 255, 255, 0.93);
  --panel-3: rgba(255, 255, 255, 0.99);
  --line: rgba(23, 41, 79, 0.1);
  --line-2: rgba(23, 41, 79, 0.17);
  --line-3: rgba(23, 41, 79, 0.34);

  --text:        #17223b;
  --text-2:      #35425f;
  --muted:       #5d6b86;
  --muted-2:     #7a88a1;

  --accent: #0d9488;
  --accent-deep: #0f766e;
  --accent-2: #3d63dd;
  --accent-3: #8b5cf6;
  --warm: #d97706;

  --radius: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --wrap: 1240px;
  --nav-h: 68px;

  --shadow: 0 30px 80px rgba(30, 51, 110, 0.13);
  --shadow-sm:
    0 2px 6px rgba(30, 51, 110, 0.05), 0 16px 38px rgba(30, 51, 110, 0.08);
  --ring: 0 0 0 1px rgba(23, 41, 79, 0.06);

  --font-sans:
    "HarmonyOS Sans SC", MiSans, "PingFang SC", "Microsoft YaHei UI",
    "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", system-ui,
    -apple-system, "Segoe UI", sans-serif;
  --font-disp:
    Bahnschrift, "DIN Alternate", "Segoe UI Variable Display",
    "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei",
    sans-serif;
  --font-mono:
    "Cascadia Mono", "JetBrains Mono", "SF Mono", Consolas, "Liberation Mono",
    ui-monospace, monospace;
  --font-hand: "Ma Shan Zheng", "KaiTi", "楷体", STKaiti, cursive;

  --ease: cubic-bezier(0.22, 0.68, 0.24, 1);
}

/* ---------- 2. 基础 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 22px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  background: linear-gradient(180deg, #f8fafc 0%, #f4f6fa 46%, #eef2f8 100%);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
p {
  margin: 0;
}
ul,
ol,
dl,
dd {
  margin: 0;
  padding: 0;
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
b,
strong {
  font-weight: 700;
  color: #101c33;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: rgba(13, 148, 136, 0.22);
  color: #0b1728;
}

::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}
::-webkit-scrollbar-track {
  background: #eef1f6;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    rgba(13, 148, 136, 0.45),
    rgba(61, 99, 221, 0.45)
  );
  border: 2px solid #eef1f6;
  border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    rgba(13, 148, 136, 0.7),
    rgba(61, 99, 221, 0.7)
  );
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: -999px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--accent-deep);
  color: #fff;
  font-weight: 700;
}
.skip-link:focus {
  left: 10px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 26px;
}

.essay {
  max-width: 68ch;
}

/* ---------- 3. 背景层 ---------- */
#stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.9;
}

.aurora {
  position: fixed;
  inset: -10% -10% auto -10%;
  height: 120vh;
  z-index: 0;
  pointer-events: none;
  /* 明亮主题的柔和色晕：淡青 / 淡蓝 / 淡紫，不能有不透明底色，否则会挡住两个画布 */
  background:
    radial-gradient(
      48% 42% at 78% 12%,
      rgba(61, 99, 221, 0.07),
      transparent 62%
    ),
    radial-gradient(
      40% 38% at 16% 4%,
      rgba(13, 148, 136, 0.06),
      transparent 64%
    ),
    radial-gradient(
      52% 46% at 50% 96%,
      rgba(139, 92, 246, 0.05),
      transparent 66%
    );
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 95;
  pointer-events: none;
  opacity: 0.028;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

.spotlight {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  background: radial-gradient(
    340px 340px at var(--mx, 50%) var(--my, 0%),
    rgba(13, 148, 136, 0.07),
    transparent 70%
  );
}
.spotlight.is-on {
  opacity: 1;
}

/* ---------- 4. 阅读进度条 ---------- */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  height: 2px;
  background: transparent;
}
.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(
    90deg,
    var(--accent),
    var(--accent-2) 55%,
    var(--accent-3)
  );
  box-shadow: 0 0 10px rgba(13, 148, 136, 0.45);
  transition: width 0.12s linear;
}

/* ---------- 5. 通用组件 ---------- */
.card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(
    120% 90% at 50% -20%,
    rgba(61, 99, 221, 0.045),
    transparent 60%
  );
}

.btn {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-bd: var(--line-2);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 0.22s var(--ease),
    box-shadow 0.22s var(--ease),
    background-color 0.22s var(--ease),
    border-color 0.22s var(--ease),
    color 0.22s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}

.btn--primary {
  --btn-fg: #ffffff;
  --btn-bd: transparent;
  background: linear-gradient(135deg, #0d9488, #0e7bb8 48%, #3d63dd);
  box-shadow:
    0 12px 30px rgba(14, 130, 190, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}
.btn--primary:hover {
  box-shadow:
    0 18px 42px rgba(14, 130, 190, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.86);
  border-color: var(--line-2);
}
.btn--ghost:hover {
  border-color: var(--line-3);
  box-shadow:
    0 12px 32px rgba(30, 51, 110, 0.12),
    0 0 0 4px rgba(61, 99, 221, 0.06);
  background: #ffffff;
}

.btn--quiet {
  border-color: transparent;
  color: var(--muted);
}
.btn--quiet:hover {
  color: var(--text);
  background: rgba(23, 41, 79, 0.05);
}

.btn--sm {
  padding: 10px 17px;
  font-size: 14px;
}

.ico {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ico--fill {
  fill: currentColor;
  stroke: none;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chips li {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  transition:
    border-color 0.22s var(--ease),
    color 0.22s var(--ease),
    background-color 0.22s var(--ease);
}
.chips--sm li {
  padding: 4px 9px;
  font-size: 11px;
}

.hand {
  font-family: var(--font-hand);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #26365a;
}

/* 滚动入场 */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.72s var(--ease) var(--d, 0ms),
    transform 0.72s var(--ease) var(--d, 0ms);
  will-change: opacity, transform;
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 6. 顶部导航（组件 01） ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: var(--nav-h);
  transition:
    background-color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    backdrop-filter 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(251, 252, 254, 0.82);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}
.nav__inner {
  height: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 26px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: linear-gradient(
    140deg,
    rgba(13, 148, 136, 0.12),
    rgba(61, 99, 221, 0.14)
  );
  border: 1px solid rgba(13, 148, 136, 0.32);
  color: var(--accent-deep);
  font-size: 19px;
  font-weight: 700;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 4px 14px rgba(13, 148, 136, 0.14);
}
.brand__name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: linear-gradient(120deg, #1c2b4a 15%, #0f766e 58%, #3d63dd);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.brand__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(13, 148, 136, 0.7);
  animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.42;
    transform: scale(0.72);
  }
}

.nav__links {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  padding: 4px;
}
.nav__link {
  position: relative;
  z-index: 1;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.24s var(--ease);
  white-space: nowrap;
}
.nav__link:hover {
  color: var(--text);
}
.nav__link.is-active {
  color: var(--accent-deep);
}

.nav__indicator {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 0;
  border-radius: var(--radius-pill);
  background: rgba(13, 148, 136, 0.09);
  border: 1px solid rgba(13, 148, 136, 0.26);
  box-shadow: 0 2px 10px rgba(13, 148, 136, 0.1);
  transition:
    transform 0.42s var(--ease),
    width 0.42s var(--ease),
    opacity 0.3s ease;
  opacity: 0;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  padding: 0;
  place-items: center;
  gap: 5px;
}
.nav__toggle span {
  display: block;
  width: 18px;
  height: 1.6px;
  border-radius: 2px;
  background: var(--text-2);
  transition:
    transform 0.3s var(--ease),
    opacity 0.3s var(--ease);
}
.nav.is-open .nav__toggle span:nth-child(1) {
  transform: translateY(6.6px) rotate(45deg);
}
.nav.is-open .nav__toggle span:nth-child(2) {
  opacity: 0;
}
.nav.is-open .nav__toggle span:nth-child(3) {
  transform: translateY(-6.6px) rotate(-45deg);
}

/* ---------- 7. 首屏 Hero（组件 02） ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 46px) 0 132px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero__glow {
  position: absolute;
  z-index: -1;
  right: -10%;
  top: 6%;
  width: 62vw;
  height: 62vw;
  max-width: 900px;
  max-height: 900px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(61, 99, 221, 0.11),
    rgba(13, 148, 136, 0.05) 46%,
    transparent 68%
  );
  filter: blur(12px);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 26px;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  align-items: center;
  gap: 46px;
}

.hero__copy {
  max-width: 620px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 15px 7px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  box-shadow: 0 2px 10px rgba(30, 51, 110, 0.05);
}
.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(13, 148, 136, 0.6);
}

.hero__title {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: clamp(2.5rem, 5.6vw, 4.25rem);
  line-height: 1.04;
}
.hero__greet {
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.18em;
}
.hero__name {
  font-family: var(--font-disp);
  font-weight: 700;
  letter-spacing: 0.06em;
  background: linear-gradient(104deg, #182640 8%, #0f766e 42%, #3d63dd 88%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 6px 22px rgba(61, 99, 221, 0.16));
}

.hero__role {
  margin-top: 12px;
  font-family: var(--font-disp);
  font-size: clamp(1.15rem, 2.3vw, 1.6rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text);
}
.hero__role::after {
  content: "";
  display: block;
  width: 76px;
  height: 2px;
  margin-top: 14px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.typing {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: clamp(0.92rem, 1.5vw, 1.06rem);
  color: var(--accent-deep);
}
.typing__prompt {
  color: var(--accent-2);
  font-weight: 700;
}
.typing__caret {
  display: inline-block;
  width: 9px;
  height: 1.15em;
  margin-left: 1px;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(13, 148, 136, 0.55);
  animation: blink 1.05s steps(1, end) infinite;
}
@keyframes blink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

.hero__lede {
  margin-top: 22px;
  max-width: 56ch;
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 1.95;
}
.hero__lede b {
  color: var(--accent-deep);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13.5px;
  letter-spacing: 0.03em;
}
.hero__facts li {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}
.hero__facts b {
  font-family: var(--font-disp);
  font-size: 21px;
  color: var(--text);
  letter-spacing: 0.04em;
}

/* --- 轨道舞台 --- */
.hero__orbit {
  display: flex;
  justify-content: center;
}

.orbit-stage {
  position: relative;
  width: 100%;
  max-width: 620px;
  aspect-ratio: 620 / 560;
}

.orbit-rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.orbit-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(61, 99, 221, 0.14);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.orbit-ring--1 {
  width: 46%;
  height: 46%;
  border-color: rgba(13, 148, 136, 0.22);
}
.orbit-ring--2 {
  width: 66%;
  height: 66%;
  border-style: dashed;
  border-color: rgba(61, 99, 221, 0.13);
  animation: spin 66s linear infinite;
}
.orbit-ring--3 {
  width: 88%;
  height: 88%;
  border-color: rgba(61, 99, 221, 0.07);
}
.orbit-ring--tilt {
  width: 74%;
  height: 74%;
  border-color: rgba(139, 92, 246, 0.16);
  transform: translate(-50%, -50%) rotateX(74deg) rotateZ(18deg);
  animation: spinTilt 44s linear infinite;
}
@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@keyframes spinTilt {
  to {
    transform: translate(-50%, -50%) rotateX(74deg) rotateZ(378deg);
  }
}

.satellite {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 66%;
  height: 66%;
  margin: -33% 0 0 -33%;
  animation: spin 22s linear infinite;
}
.satellite i {
  position: absolute;
  left: 50%;
  top: 0;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow:
    0 0 10px rgba(13, 148, 136, 0.65),
    0 0 26px rgba(13, 148, 136, 0.35);
}
.satellite--b {
  width: 88%;
  height: 88%;
  margin: -44% 0 0 -44%;
  animation-duration: 34s;
  animation-direction: reverse;
}
.satellite--b i {
  background: var(--accent-3);
  box-shadow:
    0 0 10px rgba(139, 92, 246, 0.6),
    0 0 26px rgba(139, 92, 246, 0.32);
  width: 5px;
  height: 5px;
}

.planet {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 32%;
  aspect-ratio: 1;
  margin: -16% 0 0 -16%;
  border-radius: 50%;
  overflow: hidden;
  /* 浅色主题下的「玻璃星球」：左上高光 → 右下淡青蓝，整体明亮不抢文字 */
  background:
    radial-gradient(
      circle at 30% 24%,
      #ffffff 0%,
      rgba(255, 255, 255, 0.9) 13%,
      rgba(236, 246, 255, 0.52) 34%,
      transparent 60%
    ),
    radial-gradient(
      circle at 68% 74%,
      #a9caf0 0%,
      #c9def8 32%,
      #e8f1fd 68%,
      #f9fcff 100%
    );
  box-shadow:
    inset -12px -16px 36px rgba(64, 108, 172, 0.18),
    inset 10px 12px 32px rgba(255, 255, 255, 0.95),
    0 16px 40px rgba(46, 92, 160, 0.16),
    0 0 62px rgba(93, 190, 214, 0.26);
  animation: float 9s ease-in-out infinite;
}
.planet::after {
  /* 玻璃边：一圈很淡的高光边，让球体「立」起来 */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.72),
    inset 0 3px 16px rgba(255, 255, 255, 0.6);
  pointer-events: none;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}
.planet__surface {
  /* 很淡的「点阵球面」：缓慢漂移，读起来像在自转，又不会抢文字 */
  position: absolute;
  top: -6%;
  bottom: -6%;
  left: -6%;
  width: 112%;
  background-image: radial-gradient(rgba(58, 110, 178, 0.17) 1px, transparent 1.4px);
  background-size: 16px 16px;
  animation: globeDrift 24s linear infinite;
}
.planet__surface::before {
  /* 一层极淡的云带，制造纵深（静态，避免平铺层出现接缝） */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    42% 22% at 30% 30%,
    rgba(255, 255, 255, 0.85),
    transparent 72%
  );
  opacity: 0.85;
}
@keyframes globeDrift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 16px 16px;
  }
}
.planet__terminator {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  /* 右下轻阴影，给球体体积感（浅色下只要一点点就够） */
  background: radial-gradient(
    circle at 30% 24%,
    transparent 46%,
    rgba(56, 104, 168, 0.14) 78%,
    rgba(46, 88, 148, 0.22) 100%
  );
}
.planet__spec {
  position: absolute;
  left: 16%;
  top: 12%;
  width: 30%;
  height: 24%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.95),
    rgba(255, 255, 255, 0.4) 46%,
    transparent 74%
  );
  filter: blur(7px);
}

.planet__claim {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 32%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-family: var(--font-disp);
  font-size: clamp(15.5px, 1.7vw, 22px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.03em;
  color: var(--text);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95),
    0 0 14px rgba(255, 255, 255, 0.8);
}
.planet__claim::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 128%;
  height: 172%;
  transform: translate(-50%, -50%);
  z-index: -1;
  border-radius: 50%;
  /* 浅色页面上改成「白色光晕」托底，而不是之前的深色罩子 */
  background: radial-gradient(
    closest-side,
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 0.5) 58%,
    transparent 100%
  );
  filter: blur(9px);
  pointer-events: none;
}
.planet__claim-kicker {
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: clamp(9px, 0.76vw, 10.5px);
  font-weight: 500;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  /* 与标语正文同色，只靠字号/字距区分层级：整块标语只有「墨蓝正文 + 青绿强调」两支色 */
  color: var(--text);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}
.planet__claim-line {
  display: block;
  white-space: nowrap;
}
.planet__claim b {
  font-weight: 700;
  color: var(--accent-deep);
}

.caps {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 32% minmax(0, 1fr) 32%;
  grid-template-rows: repeat(3, minmax(0, 1fr));
}
.cap {
  --cap-c: var(--accent);
  align-self: center;
  min-width: 0;
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    0 4px 16px rgba(30, 51, 110, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px) saturate(1.12);
  -webkit-backdrop-filter: blur(14px) saturate(1.12);
  translate: 0 0;
  animation: bob 7s ease-in-out infinite;
  transition:
    border-color 0.3s var(--ease),
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.cap:nth-child(1) {
  grid-area: 1 / 1;
  --cap-c: #0d9488;
  animation-delay: -0.2s;
}
.cap:nth-child(2) {
  grid-area: 1 / 3;
  --cap-c: #3d63dd;
  animation-delay: -1.4s;
}
.cap:nth-child(3) {
  grid-area: 2 / 3;
  --cap-c: #0e7fb8;
  animation-delay: -2.6s;
}
.cap:nth-child(4) {
  grid-area: 3 / 3;
  --cap-c: #8b5cf6;
  animation-delay: -3.8s;
}
.cap:nth-child(5) {
  grid-area: 2 / 1;
  --cap-c: #0e86a8;
  animation-delay: -5s;
}
.cap:nth-child(6) {
  grid-area: 3 / 1;
  --cap-c: #0ca678;
  animation-delay: -6.2s;
}
@keyframes bob {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -7px;
  }
}
.cap__ico {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  /* 先兜底、后增强：第二条用 color-mix，老浏览器丢弃后沿用第一条 */
  border: 1px solid rgba(23, 41, 79, 0.14);
  border-color: color-mix(in srgb, var(--cap-c) 30%, transparent);
  background: rgba(255, 255, 255, 0.9);
  background: color-mix(in srgb, var(--cap-c) 10%, #ffffff);
  color: var(--cap-c);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 4px 14px color-mix(in srgb, var(--cap-c) 18%, transparent);
}
.cap__ico .ico {
  width: 17px;
  height: 17px;
}
.cap__text {
  min-width: 0;
}
.cap__title {
  display: block;
  font-family: var(--font-disp);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
}
.cap__sub {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12.2px;
  line-height: 1.5;
  letter-spacing: 0.01em;
}
.cap:hover {
  border-color: var(--line-3);
  border-color: color-mix(
    in srgb,
    var(--cap-c) 44%,
    transparent
  ); /* 不支持 color-mix 时沿用上一行的兜底色 */
  transform: translateY(-4px);
  box-shadow:
    0 18px 44px rgba(30, 51, 110, 0.14),
    0 0 0 4px rgba(61, 99, 221, 0.06);
}
.cap:hover .cap__title {
  color: #0d1a33;
}

/* --- 地平线（浅色远山） --- */
.horizon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 300px;
  pointer-events: none;
  z-index: -1;
}
.horizon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.horizon__far {
  fill: rgba(148, 168, 208, 0.3);
}
.horizon__mid {
  fill: rgba(118, 140, 188, 0.4);
}
.horizon__near {
  fill: rgba(88, 110, 160, 0.52);
}
.horizon__water {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 64px;
  background: linear-gradient(180deg, rgba(13, 148, 136, 0.1), transparent 78%);
  filter: blur(2px);
}

.hero__scrollhint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero__scrollhint span {
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, transparent, var(--accent));
  animation: drop 2.4s var(--ease) infinite;
}
@keyframes drop {
  0% {
    transform: scaleY(0.2);
    opacity: 0;
    transform-origin: top;
  }
  45% {
    transform: scaleY(1);
    opacity: 1;
    transform-origin: top;
  }
  100% {
    transform: scaleY(0.2);
    opacity: 0;
    transform-origin: bottom;
  }
}

/* ---------- 8. 区块与标题 ---------- */
.section {
  position: relative;
  padding: 104px 0;
}
.section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.shead {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: end;
  gap: 22px;
  padding-bottom: 26px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.shead__idx {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--accent);
  padding-bottom: 6px;
}
.shead__title {
  font-size: clamp(1.7rem, 3.1vw, 2.3rem);
  letter-spacing: 0.02em;
}
.shead__sub {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14.5px;
  letter-spacing: 0.04em;
}
.shead__note {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-align: right;
  padding-bottom: 6px;
}

/* ---------- 9. 关于我（组件 03） ---------- */
.about {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 42px;
  padding: 34px;
  align-items: start;
}

.about__media {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: #e7ecf4;
  box-shadow: var(--shadow-sm);
}
.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  filter: saturate(0.96) contrast(1.02);
}
.about__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 18, 38, 0.06) 0%,
    rgba(10, 18, 38, 0.02) 42%,
    rgba(10, 18, 38, 0.82) 100%
  );
}
.about__media-glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px rgba(13, 148, 136, 0.18),
    inset 0 -40px 60px rgba(13, 148, 136, 0.08);
  pointer-events: none;
}
.about__hand {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 2;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.96);
  text-shadow:
    0 1px 3px rgba(2, 6, 16, 0.6),
    0 0 14px rgba(2, 6, 16, 0.35);
}

.about__lede {
  font-size: clamp(1.15rem, 2.1vw, 1.42rem);
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: var(--text);
}
.about__lede b {
  background: linear-gradient(100deg, #0f766e, #3d63dd);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.about__body > p {
  margin-top: 16px;
  max-width: 64ch;
  color: var(--text-2);
  font-size: 15.2px;
  line-height: 1.92;
}
.about__body > p b {
  color: var(--accent-deep);
}

.about__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.about__tags li {
  padding: 8px 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-2);
  font-size: 13.5px;
  letter-spacing: 0.05em;
  transition:
    border-color 0.24s var(--ease),
    transform 0.24s var(--ease),
    color 0.24s var(--ease);
}
.about__tags li:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  color: var(--accent-deep);
}

.edu {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(244, 247, 251, 0.9);
}
.edu__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 12px;
  background: linear-gradient(
    140deg,
    rgba(13, 148, 136, 0.12),
    rgba(61, 99, 221, 0.12)
  );
  border: 1px solid rgba(13, 148, 136, 0.26);
  color: var(--accent-deep);
}
.edu__school {
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.edu__meta {
  margin-top: 3px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12.5px;
}
.edu__badge {
  margin-left: auto;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(13, 148, 136, 0.1);
  border: 1px solid rgba(13, 148, 136, 0.32);
  color: var(--accent-deep);
  font-size: 12px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* ---------- 10. 核心能力（组件 04） ---------- */
.skillgrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 20px;
}
.skill {
  display: flex;
  flex-direction: column;
  padding: 24px 22px;
  transition:
    transform 0.34s var(--ease),
    border-color 0.34s var(--ease),
    box-shadow 0.34s var(--ease);
}
.skill:hover {
  transform: translateY(-6px);
  border-color: var(--line-3);
  box-shadow:
    0 28px 60px rgba(30, 51, 110, 0.13),
    0 0 0 1px rgba(61, 99, 221, 0.06);
}
.skill__ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid hsla(var(--h, 168), 45%, 38%, 0.24);
  background: hsla(var(--h, 168), 65%, 52%, 0.09);
  color: hsl(var(--h, 168), 58%, 38%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 6px 18px hsla(var(--h, 168), 60%, 45%, 0.14);
}
.skill__ico .ico {
  width: 22px;
  height: 22px;
}
.skill h3 {
  margin-top: 18px;
  font-size: 18.5px;
  letter-spacing: 0.03em;
}
.skill__sub {
  margin-top: 7px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}
.skill .chips {
  margin-top: auto;
}
.skill:hover .chips li {
  border-color: var(--line-2);
  color: var(--text);
}

.stack {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 30px;
  margin-top: 20px;
  padding: 30px 32px;
}
.stack__head h3 {
  font-size: 17.5px;
  letter-spacing: 0.03em;
}
.stack__head p {
  margin-top: 8px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}
.stack__list > div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(23, 41, 79, 0.12);
}
.stack__list > div:first-child {
  padding-top: 0;
}
.stack__list > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.stack__list dt {
  color: var(--accent-deep);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
}
.stack__list dd {
  color: var(--text-2);
  font-size: 14.5px;
}

/* ---------- 11. 项目经历（组件 05） ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}
.filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 17px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.85);
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition:
    color 0.24s var(--ease),
    border-color 0.24s var(--ease),
    background-color 0.24s var(--ease),
    transform 0.24s var(--ease);
}
.filter span {
  font-family: var(--font-mono);
  font-size: 11px;
  opacity: 0.6;
}
.filter:hover {
  color: var(--text);
  transform: translateY(-1px);
  border-color: var(--line-2);
}
.filter.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #0d9488, #0e7bb8 52%, #3d63dd);
  box-shadow: 0 10px 26px rgba(14, 130, 190, 0.24);
}
.filter.is-active span {
  opacity: 0.8;
}

.projgrid {
  counter-reset: proj;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 20px;
}
.proj {
  counter-increment: proj;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition:
    transform 0.34s var(--ease),
    border-color 0.34s var(--ease),
    box-shadow 0.34s var(--ease),
    opacity 0.3s var(--ease);
}
.proj.is-out {
  display: none;
}
.proj.is-fading {
  opacity: 0;
  transform: scale(0.97);
}
.proj:hover {
  transform: translateY(-6px);
  border-color: var(--line-3);
  box-shadow:
    0 28px 64px rgba(30, 51, 110, 0.14),
    0 0 0 1px rgba(61, 99, 221, 0.06);
}

.proj__open {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  padding: 12px 12px 14px;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  /* 兜底：不支持 color-mix 的浏览器仍拿到柔和的纯色封面 */
  background: linear-gradient(140deg, #e2e8f4, #e9edf6);
  background:
    radial-gradient(
      120% 120% at 12% 6%,
      color-mix(in srgb, var(--c1) 42%, #fff) 0%,
      transparent 58%
    ),
    linear-gradient(
      140deg,
      color-mix(in srgb, var(--c1) 24%, #fff) 0%,
      color-mix(in srgb, var(--c2) 30%, #fff) 100%
    );
  border: 1px solid rgba(23, 41, 79, 0.1);
  isolation: isolate;
  transition: filter 0.4s var(--ease);
}
.cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      90% 70% at 80% 100%,
      rgba(23, 41, 79, 0.08),
      transparent 65%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
}
.cover__grid {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(23, 34, 59, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 34, 59, 0.08) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(120% 100% at 20% 10%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(
    120% 100% at 20% 10%,
    #000 20%,
    transparent 78%
  );
}
.cover__mono {
  position: absolute;
  left: 18px;
  bottom: 12px;
  font-family: var(--font-disp);
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(23, 34, 59, 0.2);
  text-shadow: 0 6px 26px rgba(255, 255, 255, 0.5);
  transition:
    transform 0.5s var(--ease),
    color 0.4s var(--ease);
}
.cover__node {
  position: absolute;
  right: 16px;
  top: 13px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: rgba(23, 34, 59, 0.55);
  text-shadow: 0 2px 12px rgba(255, 255, 255, 0.6);
}
.cover__node::before {
  content: counter(proj, decimal-leading-zero);
}
.cover__status {
  position: absolute;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  padding: 5px 11px;
  white-space: nowrap;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(23, 41, 79, 0.16);
  color: #2a3a5c;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.proj:hover .cover {
  filter: saturate(1.14) brightness(1.02);
}
.proj:hover .cover__mono {
  transform: translateY(-4px);
  color: rgba(23, 34, 59, 0.32);
}

.proj__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 8px 0;
}

.proj__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted-2);
}
.proj__meta em {
  font-style: normal;
  letter-spacing: 0.04em;
}
.proj__meta em:first-child {
  color: var(--accent-deep);
}
.proj__meta em:not(:last-child)::after {
  content: "·";
  margin-left: 12px;
  color: rgba(23, 41, 79, 0.25);
}

.proj__title {
  display: block;
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.015em;
  color: var(--text);
}
.proj__tag {
  display: block;
  margin-top: 8px;
  color: var(--accent-deep);
  font-size: 13px;
  letter-spacing: 0.03em;
}
.proj__desc {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13.6px;
  line-height: 1.78;
}
.proj__stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}
.proj__stack i {
  font-style: normal;
  padding: 4px 9px;
  border-radius: 7px;
  background: rgba(244, 247, 251, 0.95);
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.02em;
}
.proj__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--accent-deep);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.proj__more .ico {
  width: 16px;
  height: 16px;
  transition: transform 0.34s var(--ease);
}
.proj:hover .proj__more .ico {
  transform: translateX(6px);
}

/* 卡片底部的真实外链（演示 / 源码），放在按钮之外以保证 HTML 合法 */
.proj__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  padding: 13px 20px 17px;
  margin-top: auto;
  border-top: 1px solid var(--line);
}
.proj__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color 0.28s var(--ease);
}
.proj__link .ico {
  width: 14px;
  height: 14px;
}
.proj__link:hover,
.proj__link:focus-visible {
  color: var(--accent-deep);
}

.proj__empty {
  margin-top: 30px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 13px;
}

/* ---------- 12. 成果亮点（组件 06） ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 20px;
}
.stat {
  display: flex;
  flex-direction: column;
  padding: 26px 22px;
  transition:
    transform 0.34s var(--ease),
    border-color 0.34s var(--ease),
    box-shadow 0.34s var(--ease);
}
.stat:hover {
  transform: translateY(-6px);
  border-color: var(--line-3);
  box-shadow: 0 26px 60px rgba(30, 51, 110, 0.13);
}
.stat__orb {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(13, 148, 136, 0.3);
  background: radial-gradient(
    circle at 30% 26%,
    rgba(13, 148, 136, 0.1),
    #ffffff 72%
  );
  color: var(--accent-deep);
  box-shadow:
    0 6px 18px rgba(13, 148, 136, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.stat__orb .ico {
  width: 21px;
  height: 21px;
}
.stat__num {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 20px;
  font-family: var(--font-disp);
  line-height: 1;
}
.stat__num b {
  font-size: clamp(2.3rem, 4.4vw, 3.1rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  background: linear-gradient(150deg, #1c2b4a 8%, #0d9488 52%, #3d63dd);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.stat__num i {
  font-style: normal;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.stat__title {
  margin-top: 12px;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.stat__desc {
  margin-top: 10px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13.4px;
  line-height: 1.78;
}
.stat .chips {
  margin-top: auto;
}

.honors {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  margin-top: 20px;
  padding: 26px 32px;
}
.honors h3 {
  font-size: 16.5px;
  letter-spacing: 0.03em;
}
.honors__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 26px;
}
.honors__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-2);
  font-size: 14px;
}
.honors__list span {
  color: var(--warm);
  font-size: 10px;
}

/* ---------- 13. 联系方式与页脚（组件 07） ---------- */
.contact {
  display: grid;
  gap: 20px;
}

.contact__lead {
  padding: 40px 42px;
}
.contact__lead h3 {
  font-size: clamp(1.4rem, 2.7vw, 2rem);
  line-height: 1.5;
  letter-spacing: 0.01em;
}
.contact__lead > p {
  margin-top: 18px;
  max-width: 60ch;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.9;
}
.contact__privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 26px;
  padding: 14px 18px;
  border: 1px solid rgba(13, 148, 136, 0.26);
  border-radius: 12px;
  background: rgba(13, 148, 136, 0.05);
  color: var(--text-2) !important;
  font-size: 13.8px !important;
}
.contact__privacy .ico {
  color: var(--accent-deep);
  margin-top: 3px;
  flex: none;
}
.contact__privacy b {
  color: var(--accent-deep);
  white-space: nowrap;
}

.contact__hand {
  margin-top: 26px;
  font-size: 19px;
  line-height: 1.6;
}

.contact__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.ccard {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 24px 28px;
  text-align: center;
  transition:
    transform 0.34s var(--ease),
    border-color 0.34s var(--ease),
    box-shadow 0.34s var(--ease);
}
.ccard:hover {
  transform: translateY(-6px);
  border-color: var(--line-3);
  box-shadow: 0 26px 60px rgba(30, 51, 110, 0.13);
}
.ccard--primary {
  border-color: rgba(13, 148, 136, 0.3);
  background:
    linear-gradient(
      180deg,
      rgba(13, 148, 136, 0.07),
      rgba(13, 148, 136, 0) 46%
    ),
    var(--panel-2);
}
.ccard__ico {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(61, 99, 221, 0.26);
  background: #ffffff;
  color: var(--accent-2);
  box-shadow:
    0 8px 24px rgba(61, 99, 221, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.ccard--primary .ccard__ico {
  color: var(--accent-deep);
  box-shadow:
    0 8px 24px rgba(13, 148, 136, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.ccard__ico .ico {
  width: 24px;
  height: 24px;
}
.ccard h4 {
  margin-top: 20px;
  font-size: 17px;
  letter-spacing: 0.04em;
}
.ccard p {
  margin: 10px 0 22px;
  color: var(--muted);
  font-size: 13.6px;
  line-height: 1.75;
}
.ccard .btn {
  margin-top: auto;
}

.footer {
  position: relative;
  padding: 44px 0 54px;
  border-top: 1px solid var(--line);
  background: linear-gradient(
    180deg,
    rgba(238, 242, 249, 0.55),
    rgba(244, 246, 250, 0.95)
  );
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer__name {
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.footer__slogan {
  margin-top: 4px;
  color: var(--muted-2);
  font-size: 12.8px;
}
.footer__meta,
.footer__note {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* ---------- 14. 项目详情弹层 ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}
.modal[hidden] {
  display: none;
}

.modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(23, 32, 53, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: fade 0.32s var(--ease);
}
@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal__panel {
  position: relative;
  width: min(880px, 100%);
  max-height: min(86vh, 860px);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow:
    0 40px 120px rgba(23, 38, 80, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  overflow: hidden;
  animation: rise 0.42s var(--ease);
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.modal__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px 14px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 249, 252, 0.92);
}
.modal__idx {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  color: var(--muted-2);
}
.modal__nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.iconbtn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #ffffff;
  color: var(--text-2);
  cursor: pointer;
  transition:
    color 0.24s var(--ease),
    border-color 0.24s var(--ease),
    background-color 0.24s var(--ease),
    transform 0.24s var(--ease);
}
.iconbtn:hover {
  color: var(--text);
  border-color: rgba(13, 148, 136, 0.45);
  transform: translateY(-1px);
  background: #fbfdff;
}
.iconbtn--close:hover {
  color: #c23b45;
  border-color: rgba(194, 59, 69, 0.4);
}

.modal__body {
  padding: 34px 38px 40px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.modal__body::-webkit-scrollbar {
  width: 9px;
}
.modal__body::-webkit-scrollbar-thumb {
  background: rgba(23, 41, 79, 0.22);
  border-radius: 99px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.detail__cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent-deep);
}
.detail__cat::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent);
}
.detail__title {
  margin-top: 16px;
  font-size: clamp(1.5rem, 3vw, 2.05rem);
  line-height: 1.35;
  letter-spacing: 0.01em;
}
.detail__tag {
  margin-top: 12px;
  color: var(--text-2);
  font-size: 15px;
  letter-spacing: 0.02em;
}
.detail__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(244, 247, 251, 0.9);
}
.detail__meta dt {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
}
.detail__meta dd {
  margin-top: 6px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
}
.detail__sec {
  margin-top: 34px;
}
.detail__sec h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15.5px;
  letter-spacing: 0.04em;
  color: var(--text);
}
.detail__sec h4::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line-2), transparent);
}
.detail__sec > p {
  margin-top: 14px;
  color: var(--text-2);
  font-size: 14.6px;
  line-height: 1.95;
}
.detail__list {
  margin-top: 16px;
  display: grid;
  gap: 13px;
}
.detail__list li {
  position: relative;
  padding-left: 24px;
  color: var(--text-2);
  font-size: 14.4px;
  line-height: 1.88;
}
.detail__list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(13, 148, 136, 0.5);
}
.detail__sec .chips {
  margin-top: 16px;
}

.detail__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.detail__foot .btn .ico {
  width: 15px;
  height: 15px;
}
.detail__hint {
  margin-left: auto;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
}

/* ---------- 14.5 简历下载提示条（4 个下载入口共用） ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 92;
  display: flex;
  align-items: center;
  gap: 13px;
  max-width: min(720px, calc(100vw - 28px));
  padding: 13px 14px 13px 16px;
  border: 1px solid rgba(13, 148, 136, 0.32);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow:
    0 26px 80px rgba(23, 38, 80, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset,
    0 0 34px rgba(13, 148, 136, 0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 16px);
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease),
    visibility 0.3s;
}
.toast.is-on {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.toast__ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(13, 148, 136, 0.34);
  background: rgba(13, 148, 136, 0.08);
  color: var(--accent-deep);
}
.toast__ico .ico {
  width: 18px;
  height: 18px;
  animation: toastArrow 1.5s var(--ease) infinite;
}
@keyframes toastArrow {
  0%,
  100% {
    transform: translateY(-1px);
  }
  50% {
    transform: translateY(2.5px);
  }
}

.toast__body {
  flex: 1 1 auto;
  min-width: 0;
}
.toast__title {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
}
.toast.is-local .toast__desc {
  white-space: normal;
}
.toast__desc {
  margin-top: 3px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.toast__link {
  flex: none;
  margin-left: 4px;
  padding: 8px 14px;
  border: 1px solid rgba(13, 148, 136, 0.42);
  border-radius: var(--radius-pill);
  background: rgba(13, 148, 136, 0.07);
  color: var(--accent-deep);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition:
    color 0.24s var(--ease),
    border-color 0.24s var(--ease),
    background-color 0.24s var(--ease);
}
.toast__link:hover {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #0d9488, #0e7bb8);
}
.toast__close {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-left: 2px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted-2);
  cursor: pointer;
  transition:
    color 0.24s var(--ease),
    background-color 0.24s var(--ease);
}
.toast__close:hover {
  color: var(--text);
  background: rgba(23, 41, 79, 0.07);
}
.toast__close .ico {
  width: 17px;
  height: 17px;
}

@media (max-width: 560px) {
  .toast {
    left: 14px;
    right: 14px;
    bottom: 14px;
    max-width: none;
    flex-wrap: wrap;
    transform: translateY(16px);
  }
  .toast.is-on {
    transform: none;
  }
  .toast__body {
    flex: 1 1 auto;
  }
  .toast.is-local .toast__desc {
    white-space: normal;
  }
  .toast__desc {
    white-space: normal;
  }
  .toast__link {
    order: 3;
    margin-left: 49px;
    padding: 9px 16px;
  }
}
/* ---------- 15. 响应式 ---------- */
/* 矮屏笔记本（1366×768 / 1280×800 等）：压缩首屏垂直节奏，保证首屏一屏放得下 */
@media (max-height: 900px) and (min-width: 1081px) {
  .hero {
    padding-top: calc(var(--nav-h) + 26px);
    padding-bottom: 96px;
  }
  .hero__title {
    font-size: clamp(2.2rem, 4.6vw, 3.5rem);
  }
  .hero__greet {
    font-size: clamp(1rem, 1.7vw, 1.25rem);
  }
  .hero__role {
    margin-top: 8px;
  }
  .hero__lede {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.85;
  }
  .hero__cta {
    margin-top: 26px;
  }
  .hero__facts {
    margin-top: 24px;
    padding-top: 18px;
  }
  .horizon {
    height: 240px;
  }
}

@media (max-width: 1260px) and (min-width: 1181px) {
  /* Hero 能力卡片列变窄时同步收窄副标题，保证每张卡都是单行、等高 */
  .cap__sub {
    font-size: 11.6px;
  }
}

@media (max-width: 1180px) {
  .projgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .skillgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* 首屏轨道图在中等宽度下改为「文案在上、轨道图在下」，舞台可以更大更清楚 */
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 54px;
    justify-items: center;
  }
  .hero__copy {
    max-width: 680px;
  }
  .hero__orbit {
    width: 100%;
  }
  .orbit-stage {
    max-width: 620px;
  }
}

@media (max-width: 980px) {
  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 18px;
    right: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px;
    margin: 0;
    border: 1px solid var(--line-2);
    border-radius: 18px;
    background: rgba(252, 253, 255, 0.97);
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.28s var(--ease),
      transform 0.28s var(--ease),
      visibility 0.28s;
  }
  .nav.is-open .nav__links {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav__link {
    padding: 13px 16px;
    border-radius: 12px;
    font-size: 15px;
  }
  .nav__link.is-active {
    background: rgba(13, 148, 136, 0.09);
  }
  .nav__indicator {
    display: none;
  }
  .nav__toggle {
    display: grid;
    place-items: center;
  }
  .nav__actions {
    margin-left: auto;
  }
  .nav__cta {
    display: none;
  }
  .nav.is-open .nav__cta {
    display: inline-flex;
    position: fixed;
    left: 18px;
    right: 18px;
    top: auto;
    bottom: 22px;
    justify-content: center;
  }

  .about {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }
  .about__media {
    max-width: 320px;
    aspect-ratio: 3 / 4;
  }
  .stack {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .honors {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 24px;
  }
  .contact__cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .contact__lead {
    padding: 32px 26px;
  }
}

@media (max-width: 760px) {
  :root {
    --nav-h: 62px;
  }
  .wrap,
  .nav__inner,
  .hero__inner {
    padding-inline: 18px;
  }
  .section {
    padding: 76px 0;
  }

  .shead {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    align-items: start;
  }
  .shead__note {
    text-align: left;
    padding: 0;
  }

  .hero {
    padding-top: calc(var(--nav-h) + 30px);
    padding-bottom: 104px;
  }
  .hero__scrollhint {
    display: none;
  }
  .horizon {
    height: 190px;
  }

  .hero__inner {
    gap: 32px;
  }
  /* 轨道 → 星球在上、能力卡片成网格 */
  .orbit-stage {
    aspect-ratio: auto;
    display: grid;
    justify-items: center;
    gap: 16px;
    padding-top: 10px;
    max-width: 560px;
  }
  .orbit-rings {
    position: absolute;
    inset: auto;
    left: 50%;
    top: 84px;
    width: 300px;
    height: 300px;
    margin: -150px 0 0 -150px;
    transform: none;
  }
  .planet {
    position: relative;
    left: auto;
    top: auto;
    margin: 0;
    width: 148px;
  }
  .orbit-ring--1 {
    width: 170px;
    height: 170px;
  }
  .orbit-ring--2 {
    width: 206px;
    height: 206px;
  }
  .orbit-ring--3,
  .orbit-ring--tilt {
    display: none;
  }
  .planet__claim {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    transform: none;
    font-size: 16.5px;
    line-height: 1.5;
    /* 移动端标语位于星球下方（浅色页面上），同样用墨色正文 + 青绿强调 */
    color: var(--text);
    text-shadow: none;
  }
  .planet__claim-kicker {
    color: var(--text);
    text-shadow: none;
  }
  .planet__claim b {
    color: var(--accent-deep);
  }
  .planet__claim::before {
    display: none;
  }
  .caps {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 10px;
  }
  .cap:nth-child(n) {
    grid-area: auto;
  }
  .cap {
    align-self: stretch;
    min-height: 0;
    animation: none;
    padding: 11px 12px;
    gap: 9px;
  }
  .cap__ico {
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }
  .cap__ico .ico {
    width: 16px;
    height: 16px;
  }
  .cap__title {
    font-size: 13.4px;
  }
  .cap__sub {
    font-size: 11.2px;
  }

  .projgrid,
  .skillgrid,
  .stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .about {
    padding: 22px;
  }
  .skill {
    padding: 22px 20px;
  }
  .skill:hover {
    transform: none;
  }
  .proj:hover {
    transform: none;
  }
  .stat:hover {
    transform: none;
  }
  .ccard:hover {
    transform: none;
  }

  .stack {
    padding: 24px 22px;
  }
  .stack__list > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
  .honors__list {
    grid-template-columns: minmax(0, 1fr);
  }
  .ccard {
    padding: 28px 22px 24px;
  }

  .modal {
    padding: 12px;
  }
  .modal__panel {
    max-height: 92vh;
    border-radius: 16px;
  }
  .modal__body {
    padding: 24px 20px 30px;
  }
  .detail__meta {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .detail__hint {
    display: none;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

@media (max-width: 420px) {
  .caps {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero__facts {
    gap: 8px 18px;
    font-size: 12.8px;
  }
}

/* ---------- 16. 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
  .typing__caret {
    display: none;
  }
}

@media print {
  body {
    background: #fff;
    color: #111;
  }
  .nav,
  .progress,
  #stars,
  #particles,
  .aurora,
  .grain,
  .spotlight,
  .modal,
  .hero__scrollhint {
    display: none !important;
  }
}

/* Resume spacing and typography refinement */
#particles { opacity: .38; }
#stars { opacity: .5; }
.grain { opacity: .025; }
.proj .cover { aspect-ratio: 16 / 7; }
.proj__body { padding: 20px 12px 4px; }
.proj__meta { margin-bottom: 9px; font-family: inherit; letter-spacing: 0; }
.proj__title { font-size: 21px; letter-spacing: -.02em; }
.proj__tag { line-height: 1.65; min-height: 3.3em; }
.proj__desc { min-height: 7.12em; }
.proj__links { padding-left: 24px; padding-right: 24px; }
.about__body > p { line-height: 1.85; margin-top: 20px; }
.stack__list > div { padding-top: 20px; padding-bottom: 20px; }
.stack__list dd { line-height: 1.85; }
.hero__facts { column-gap: 26px; row-gap: 14px; }
.hero__facts li { white-space: nowrap; }
@media (max-width: 640px) {
 .hero__facts { display: grid; grid-template-columns: 1fr; gap: 12px; }
 .proj__tag { min-height: 0; }
 .proj__desc { min-height: 0; }
 .proj__body { padding: 18px 8px 4px; }
 .about__body > p { font-size: 14px; line-height: 1.9; }
}
