/* ==========================================================================
   mirrorball.design — V1「静奢名片」
   基调：深黑 + 全息彩虹 ｜ 中英双语 ｜ 零依赖
   前身：_archive/v1-draft-cosmic-violet.css（深空紫草稿，结构沿用，色系升级）
   ========================================================================== */

/* --- 字体（本地文件，不热链第三方 CDN） ---------------------------------- */
@font-face {
  font-family: "Instrument Serif";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/instrument-serif-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/inter-500.woff2") format("woff2");
}
@font-face {
  font-family: "Space Mono";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/space-mono-400.woff2") format("woff2");
}

/* --- 设计令牌 ------------------------------------------------------------ */
:root {
  /* 底色：近黑、微偏蓝，比纯黑更有空气感 */
  --ink:    #08080c;
  --ink-1:  #0e0e15;
  --ink-2:  #15151f;

  /* 描边 */
  --line:   rgba(244, 241, 234, .10);
  --line-2: rgba(244, 241, 234, .24);

  /* 文字：暖白比纯白贵 */
  --paper:  #f4f1ea;
  --dim:    #8b8698;
  --dim-2:  #5c5a6b;

  /* 全息五色 —— 镜面球把光拆开的颜色 */
  --holo-v: #9b8cff;
  --holo-c: #63d8e8;
  --holo-p: #ffb3d9;
  --holo-g: #ffd79b;
  --holo-m: #a8f0c6;
  --holo:   linear-gradient(100deg, var(--holo-v), var(--holo-c), var(--holo-p), var(--holo-g), var(--holo-m));

  /* 字体：衬线标题 + 无衬线正文 + 等宽标签（高端站经典配方） */
  --f-display: "Instrument Serif", "Source Han Serif SC", "Noto Serif CJK SC", "Songti SC", "SimSun", serif;
  --f-sans:    "Inter", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --f-mono:    "Space Mono", "SF Mono", "JetBrains Mono", ui-monospace, Consolas, monospace;

  /* 缓动：慢而稳 = 贵 */
  --ease:    cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --gut:     clamp(20px, 5vw, 72px);
  --maxw:    1320px;
}

/* --- 基础 ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-sans);
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: .01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, p, dl, dd, dt, ul { margin: 0; padding: 0; }
ul { list-style: none; }

::selection { background: var(--holo-v); color: #0a0a12; }

:focus-visible { outline: 1px solid var(--holo-c); outline-offset: 4px; border-radius: 2px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

main, header, footer { position: relative; z-index: 3; }

/* --- 全局氛围层 ---------------------------------------------------------- */
/* 颗粒噪点：反"AI 光滑感"，高级站的关键细节 */
.grain {
  position: fixed; inset: 0; z-index: 900; pointer-events: none; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* 跟随光标的光斑：暗场里的"灯"，让页面活起来 */
.glow {
  position: fixed; top: 0; left: 0; z-index: 2;
  width: 940px; height: 940px; margin: -470px 0 0 -470px;
  border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(circle,
    rgba(155, 140, 255, .13) 0%,
    rgba(99, 216, 232, .07) 38%,
    rgba(255, 179, 217, .03) 58%,
    transparent 72%);
  transition: opacity 1.1s var(--ease);
  will-change: transform;
}
.glow.is-on { opacity: 1; }

/* --- 自定义光标 ---------------------------------------------------------- */
.cursor-dot, .cursor-ring {
  position: fixed; z-index: 950; pointer-events: none;
  transform: translate(-50%, -50%);
  /* 初始隐藏：鼠标没动过之前，不该在屏幕中央留一个残影 */
  opacity: 0;
  transition: opacity .35s var(--ease);
}
body.has-cursor .cursor-dot,
body.has-cursor .cursor-ring { opacity: 1; }
.cursor-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--paper);
  mix-blend-mode: difference;
  transition: width .3s var(--ease), height .3s var(--ease);
}
.cursor-ring {
  width: 34px; height: 34px; border-radius: 50%;
  border: .5px solid rgba(244, 241, 234, .35);
  transition: width .45s var(--ease), height .45s var(--ease), border-color .45s var(--ease), background .45s var(--ease);
}
/* 悬停可点元素时，环放大 */
body.is-hover .cursor-ring { width: 58px; height: 58px; border-color: var(--holo-c); background: rgba(99, 216, 232, .06); }
body.is-hover .cursor-dot  { width: 0; height: 0; }
@media (hover: none), (max-width: 860px) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* --- 顶部导航 ------------------------------------------------------------ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px var(--gut);
  transition: padding .55s var(--ease), background .55s var(--ease), border-color .55s var(--ease);
  border-bottom: .5px solid transparent;
}
.nav.is-stuck {
  padding-top: 13px; padding-bottom: 13px;
  background: rgba(8, 8, 12, .62);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--line);
}

.nav__brand { display: flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 13px; letter-spacing: .08em; }
.nav__dot {
  width: 15px; height: 15px; border-radius: 50%; flex: none;
  background:
    repeating-linear-gradient(0deg,  rgba(0, 0, 0, .34) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .34) 0 1px, transparent 1px 5px),
    conic-gradient(from 0deg, var(--holo-p), var(--holo-g), var(--holo-m), var(--holo-c), var(--holo-v), var(--holo-p));
  box-shadow: 0 0 14px rgba(155, 140, 255, .55);
  transition: transform .6s var(--ease);
}
.nav__brand:hover .nav__dot { transform: rotate(180deg) scale(1.12); }

.nav__links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); }
.nav__link { position: relative; display: flex; align-items: baseline; gap: 6px; font-size: 13px; padding-bottom: 3px; }
.nav__link em { font-style: normal; font-family: var(--f-mono); letter-spacing: .04em; }
.nav__link i  { font-style: normal; font-size: 11px; color: var(--dim-2); transition: color .35s var(--ease); }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--holo);
  transform: scaleX(0); transform-origin: right;
  transition: transform .55s var(--ease);
}
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__link:hover i { color: var(--dim); }

/* --- Hero ---------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 124px var(--gut) 72px; text-align: center; overflow: hidden;
}
/* 场景里自上而下的一束光 */
.hero::before {
  content: ""; position: absolute; z-index: 0; top: -32%; left: 50%;
  width: 150vmax; height: 150vmax; transform: translateX(-50%);
  background: radial-gradient(circle at 50% 50%,
    rgba(155, 140, 255, .10) 0%, rgba(99, 216, 232, .05) 30%, transparent 62%);
  pointer-events: none;
}

.hero__stage {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  /* 鼠标视差：由 JS 写入 --px / --py（作用在舞台层，避免与球的浮动动画冲突） */
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
  transition: transform .75s var(--ease);
}

/* --- 镜面球（纯 CSS，无 WebGL） ------------------------------------------ */
.ball {
  position: relative;
  width: clamp(200px, 36vmin, 400px);
  aspect-ratio: 1; border-radius: 50%;
  margin-bottom: clamp(-72px, -6vmin, -26px);
  background: radial-gradient(circle at 36% 30%,
    #ffffff 0%, #e2e5f0 8%, #a9adc0 26%, #55556a 52%, #1c1c26 78%, #0b0b12 100%);
  box-shadow:
    0 0 70px rgba(155, 140, 255, .32),
    0 0 170px rgba(99, 216, 232, .15),
    inset 0 0 90px rgba(0, 0, 0, .55);
  animation: ballFloat 7s var(--ease-io) infinite;
  will-change: transform;
}
/* 镜片阵列：边缘随球面淡出，才不会像贴了张方格纸 */
.ball__facets {
  position: absolute; inset: 0; border-radius: 50%;
  background-image:
    repeating-linear-gradient(0deg,  rgba(0, 0, 0, .38) 0 1px, transparent 1px 5.5%),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .38) 0 1px, transparent 1px 5.5%);
  -webkit-mask-image: radial-gradient(circle at 36% 30%, #000 38%, rgba(0, 0, 0, .42) 72%, transparent 95%);
          mask-image: radial-gradient(circle at 36% 30%, #000 38%, rgba(0, 0, 0, .42) 72%, transparent 95%);
  animation: spin 28s linear infinite;
  will-change: transform;
}
/* 全息色斑：球面流转的彩虹 */
.ball__holo {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg,
    var(--holo-p), var(--holo-g), var(--holo-m), var(--holo-c), var(--holo-v), var(--holo-p));
  mix-blend-mode: screen; opacity: .46; filter: blur(13px);
  animation: spin 17s linear infinite reverse;
  will-change: transform;
}
/* 左上高光 */
.ball__gloss {
  position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 33% 27%,
    rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .26) 12%, transparent 38%);
}
/* 球体成形层：边缘暗角 + 底部环境反光 —— "看起来是球"就靠这一层 */
.ball__shade {
  position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background:
    radial-gradient(circle at 50% 94%, rgba(155, 140, 255, .38) 0%, transparent 40%),
    radial-gradient(circle at 36% 30%,
      rgba(255, 255, 255, .08) 0%,
      transparent 22%,
      rgba(0, 0, 0, .14) 50%,
      rgba(0, 0, 0, .56) 75%,
      rgba(0, 0, 0, .90) 93%,
      rgba(0, 0, 0, .97) 100%);
}
/* 球体落地反光 */
.ball::after {
  content: ""; position: absolute; left: 50%; bottom: -14%;
  width: 130%; height: 22%; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(155, 140, 255, .30), transparent 68%);
  filter: blur(16px); pointer-events: none;
}

/* --- WebGL 镜面球（覆盖上面的 CSS 兜底球） -------------------------------- */
.ball__canvas {
  position: absolute; inset: 0; z-index: 2;
  width: 100%; height: 100%;
  border-radius: 50%; display: block;
}
/* WebGL 接管成功后：隐藏 CSS 兜底球层，并把底盘换成深色（避免边缘出现亮缝） */
.ball--gl {
  background: #0a0a12;
  /* 去掉 inset 阴影：WebGL 已自带边缘暗角，否则会叠出一圈暗环 */
  box-shadow: 0 0 80px rgba(155, 140, 255, .30), 0 0 190px rgba(99, 216, 232, .14);
}
.ball--gl .ball__facets,
.ball--gl .ball__holo,
.ball--gl .ball__gloss,
.ball--gl .ball__shade { display: none; }

/* 边缘暗角：叠在 WebGL 球之上，把球的轮廓"压"出来，立体感的关键 */
.ball__vignette {
  position: absolute; inset: 0; z-index: 3;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 36% 30%,
    transparent 40%,
    rgba(0, 0, 0, .16) 66%,
    rgba(0, 0, 0, .46) 85%,
    rgba(0, 0, 0, .78) 100%);
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ballFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

/* --- Hero 文字 ----------------------------------------------------------- */
.hero__eyebrow {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--dim); margin-top: 24px;
}
.hero__title {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(58px, 13.5vw, 186px);
  line-height: .92; letter-spacing: -.028em;
}

/* 全息流光文字 */
.holo-text {
  background: var(--holo); background-size: 240% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: holoShift 9s linear infinite;
}
@keyframes holoShift { to { background-position: 240% 0; } }

.hero__desc {
  max-width: 31em; margin: 26px auto 0;
  color: var(--dim); font-size: clamp(14px, 1.5vw, 16px); line-height: 1.78;
}
.hero__desc b { color: var(--paper); font-weight: 500; }

.hero__meta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip {
  display: inline-block;
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em; color: var(--dim);
  padding: 8px 15px; border: .5px solid var(--line); border-radius: 100px;
  transition: border-color .45s var(--ease), color .45s var(--ease), transform .45s var(--ease), background .45s var(--ease);
}
.chip:hover { border-color: var(--line-2); color: var(--paper); transform: translateY(-2px); }

.hero__scroll {
  position: absolute; z-index: 1; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--dim-2);
}
.hero__scroll span {
  width: 1px; height: 42px; transform-origin: top;
  background: linear-gradient(to bottom, var(--holo-c), transparent);
  animation: scrollPulse 2.5s var(--ease-io) infinite;
}
@keyframes scrollPulse {
  0%   { transform: scaleY(0); opacity: 0; }
  35%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* --- 通用章节 ------------------------------------------------------------ */
.sec { position: relative; z-index: 3; max-width: var(--maxw); margin: 0 auto; padding: clamp(90px, 13vw, 178px) var(--gut); }
.sec__head { margin-bottom: clamp(40px, 6vw, 76px); }
.sec__k { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim-2); margin-bottom: 12px; }
.sec__t { font-family: var(--f-display); font-weight: 400; font-size: clamp(34px, 5.5vw, 68px); line-height: 1.05; letter-spacing: -.02em; }
.sec__t em {
  font-style: normal; font-size: .40em; font-family: var(--f-mono);
  letter-spacing: .05em; color: var(--dim-2); margin-left: 14px; vertical-align: middle;
}
.sec__desc { margin-top: 18px; max-width: 46em; color: var(--dim); font-size: 15px; line-height: 1.85; }

/* --- 作品集卡牌 ---------------------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 262px), 1fr));
  gap: clamp(14px, 2vw, 22px);
}
.card {
  position: relative; display: flex; flex-direction: column;
  min-height: 272px; padding: 26px 26px 22px;
  border: .5px solid var(--line); border-radius: 14px;
  background: linear-gradient(168deg, var(--ink-2) 0%, var(--ink-1) 62%, var(--ink) 100%);
  overflow: hidden;
  transition: transform .65s var(--ease), border-color .65s var(--ease);
  will-change: transform;
}
.card:hover { transform: translateY(-6px); border-color: var(--line-2); }

/* 全息扫光：桌游 / TCG 卡牌工艺感 —— 这是 V1 最贵的一笔 */
.card__sheen {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(112deg,
    transparent 30%,
    rgba(155, 140, 255, .26) 43%,
    rgba(99, 216, 232, .26) 50%,
    rgba(255, 179, 217, .26) 57%,
    transparent 70%);
  background-size: 280% 280%; background-position: 100% 100%;
  mix-blend-mode: screen;
  transition: opacity .5s var(--ease), background-position 1.15s var(--ease);
}
.card:hover .card__sheen { opacity: .8; background-position: 0% 0%; }

/* 跟随鼠标的全息光斑 —— 像真的在转动一张全息卡 */
.card__holo {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(circle 175px at var(--sx, 50%) var(--sy, 50%),
    rgba(255, 255, 255, .11) 0%,
    rgba(155, 140, 255, .16) 28%,
    rgba(99, 216, 232, .13) 46%,
    rgba(255, 179, 217, .10) 60%,
    transparent 78%);
  mix-blend-mode: screen;
  transition: opacity .45s var(--ease);
}
.card:hover .card__holo { opacity: 1; }

.card__idx { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; color: var(--dim-2); }
.card__t { font-family: var(--f-display); font-weight: 400; font-size: 30px; line-height: 1.14; letter-spacing: -.015em; margin-top: auto; padding-top: 58px; }
.card__sub { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .04em; color: var(--dim); margin-top: 9px; }
.card__desc { font-size: 13.5px; color: var(--dim); line-height: 1.72; margin-top: 14px; }
.card__go {
  display: flex; align-items: center; gap: 7px; margin-top: 20px;
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em;
  color: var(--paper); opacity: .55;
  transition: opacity .45s var(--ease), gap .45s var(--ease);
}
.card:hover .card__go { opacity: 1; gap: 12px; }

/* 未完成的项目 */
.card--soon { opacity: .6; }
.card--soon:hover { transform: none; border-color: var(--line); }
.card--soon .card__go { opacity: .3; }

/* --- 关于 ---------------------------------------------------------------- */
.about__grid {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(34px, 6vw, 90px); align-items: start;
}
.about__lead { font-family: var(--f-display); font-size: clamp(21px, 2.6vw, 33px); line-height: 1.48; letter-spacing: -.01em; }
.about__lead em {
  font-style: normal;
  background: var(--holo); background-size: 240% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: holoShift 9s linear infinite;
}
.about__body { margin-top: 26px; max-width: 40em; color: var(--dim); font-size: 14.5px; line-height: 1.88; }
.about__body p + p { margin-top: 16px; }
.about__body b { color: var(--paper); font-weight: 500; }
.about__sign { margin-top: 28px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; color: var(--dim-2); }

.spec { display: flex; flex-direction: column; }
.spec__row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 18px;
  padding: 15px 0; border-top: .5px solid var(--line); font-size: 13px;
}
.spec__row:last-child { border-bottom: .5px solid var(--line); }
.spec__row dt { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim-2); }
.spec__row dd { color: var(--paper); text-align: right; }

/* --- 联系 ---------------------------------------------------------------- */
.contact { text-align: center; }
.contact__mail {
  display: inline-block; position: relative; margin-top: 8px;
  font-family: var(--f-display); font-size: clamp(26px, 5.6vw, 76px);
  line-height: 1.08; letter-spacing: -.02em;
}
.contact__mail::after {
  content: ""; position: absolute; left: 0; bottom: 4px; width: 100%; height: 1px;
  background: var(--holo);
  transform: scaleX(0); transform-origin: right;
  transition: transform .7s var(--ease);
}
.contact__mail:hover::after { transform: scaleX(1); transform-origin: left; }

.contact__links { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 24px; border: .5px solid var(--line-2); border-radius: 100px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em;
  transition: background .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease);
}
.btn:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); transform: translateY(-2px); }

/* --- 页脚 ---------------------------------------------------------------- */
.foot {
  position: relative; z-index: 3; max-width: var(--maxw); margin: 0 auto;
  padding: 32px var(--gut) 44px;
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center;
  border-top: .5px solid var(--line);
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .05em; color: var(--dim-2);
}

/* --- 滚动揭示 ------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .09s; }
.reveal[data-d="2"] { transition-delay: .18s; }
.reveal[data-d="3"] { transition-delay: .27s; }
.reveal[data-d="4"] { transition-delay: .36s; }

/* --- 首屏入场 ------------------------------------------------------------ */
.enter { opacity: 0; transform: translateY(22px); animation: enterUp 1.5s var(--ease) forwards; }
.enter[data-e="1"] { animation-delay: .28s; }
.enter[data-e="2"] { animation-delay: .44s; }
.enter[data-e="3"] { animation-delay: .60s; }
.enter[data-e="4"] { animation-delay: .76s; }
.enter[data-e="5"] { animation-delay: .92s; }
@keyframes enterUp { to { opacity: 1; transform: none; } }

/* --- 响应式 -------------------------------------------------------------- */
@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; }
  .nav__link i { display: none; }
  .glow { display: none; }
}
@media (max-width: 560px) {
  .nav__links { gap: 15px; }
  .nav__link em { font-size: 12px; }
  .card { min-height: 240px; padding: 22px; }
  .card__t { font-size: 26px; padding-top: 44px; }
  .foot { flex-direction: column; align-items: flex-start; }
}

/* --- 无障碍：尊重系统"减弱动态效果" -------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal, .enter { opacity: 1; transform: none; }
  .glow, .cursor-dot, .cursor-ring { display: none; }
}
