/* ==========================================================================
   杨富超 · 个人网站
   设计体系：黑红电影风 / 深炭底色 / 宋体巨号标题 / 单一强调红
   基准稿：1440 宽，内容区 1248（左右各 96）
   ========================================================================== */

/* ---------- 1. 变量 ---------- */
/* 毛笔标题体：Ma Shan Zheng 子集，随站点自托管，不依赖外网 CDN */
@font-face {
  font-family: "BrushCN";
  src: url("../fonts/brush-subset.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  --bg: #08090c;
  --bg-2: #0a0b0e;
  --bg-3: #0c0d11;
  --card: #0e0f13;
  --card-2: #14161d;
  --line: #16181d;
  --line-2: #22242c;

  --red: #e0242f;
  --red-deep: #2b1013;
  --red-ink: #3a1418;

  --text: #f5f2ec;
  --text-2: #f7f4ef;
  --text-3: #b4b6bc;
  --muted: #9a9da4;
  --muted-2: #8c8f96;
  --muted-3: #72767c;
  --muted-4: #55585f;

  --serif: "Source Han Serif SC", "Source Han Serif CN", "Noto Serif SC",
    "Songti SC", "STSong", "SimSun", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    system-ui, -apple-system, sans-serif;
  --brush: "BrushCN", "STXingkai", "华文行楷", "Ma Shan Zheng", "KaiTi",
    "楷体", "STKaiti", cursive;
  --hand: var(--brush);
  --num: "Inter", "SF Mono", ui-monospace, monospace;

  --pad: 96px;
  --max: 1440px;
  --head-h: 68px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,
h2,
h3,
h4,
p,
figure,
ul,
ol {
  margin: 0;
  padding: 0;
}
ul,
ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  display: block;
  max-width: 100%;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
::selection {
  background: var(--red);
  color: #fff;
}

/* ---------- 3. 布局 ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.section {
  background: var(--bg);
}
.section--alt {
  background: var(--bg-2);
}

/* ---------- 4. 头部 ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 90;
  height: var(--head-h);
  background: rgba(10, 11, 14, 0.92);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-head__in {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 64px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex: 0 0 auto;
}
.brand__cn {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--text-2);
}
.brand__en {
  font-family: var(--num);
  font-size: 9px;
  letter-spacing: 2.4px;
  color: var(--muted-4);
  text-transform: uppercase;
}
.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: 8px;
}
.nav__link {
  position: relative;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: var(--text-3);
  padding: 6px 0;
  transition: color 0.2s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 14px;
  height: 2px;
  background: var(--red);
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.nav__link:hover {
  color: var(--text);
}
.nav__link[aria-current="page"] {
  color: var(--text-2);
}
.nav__link[aria-current="page"]::after {
  opacity: 1;
  transform: none;
}
.head__spacer {
  flex: 1 1 auto;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  font-size: 13px;
  letter-spacing: 0.5px;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}
.btn--red {
  background: var(--red);
  color: #fff;
}
.btn--red:hover {
  background: #f03a45;
}
.btn--ghost {
  border-color: #2a2d35;
  color: var(--text-2);
}
.btn--ghost:hover {
  border-color: #4a4d56;
  background: rgba(255, 255, 255, 0.03);
}
.btn--sm {
  height: 34px;
  padding: 0 16px;
  font-size: 12px;
}
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  margin-left: auto;
  border: 1px solid #2a2d35;
  border-radius: 2px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 16px;
  height: 1px;
  background: var(--text-2);
  position: relative;
}
.nav-toggle span::before {
  position: absolute;
  top: -5px;
}
.nav-toggle span::after {
  position: absolute;
  top: 5px;
}

/* ---------- 5. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: #0a0b0e;
  isolation: isolate;
}
.hero--home {
  height: clamp(640px, 84vh, 880px);
}
/* 内页页头原来只有 300–380px，16:9 的图被裁成中间一条；
   现在把高度放开，图基本完整地铺在首屏上 */
.hero--page {
  height: clamp(520px, 70vh, 760px);
}
.hero--sm {
  height: clamp(460px, 62vh, 660px);
}
.hero__sky {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    #05060a 0%,
    #0a0c12 22%,
    #13161e 36%,
    #241c22 46%,
    #46281f 54%,
    #7a3d24 62%,
    #5a2e1d 70%,
    #23150f 78%,
    #0c0a0b 88%,
    #08090c 100%
  );
}
.hero--home .hero__sky {
  background: linear-gradient(
    180deg,
    #04050a 0%,
    #07090f 16%,
    #0d1018 28%,
    #1a1a22 36%,
    #3a2622 42%,
    #6e3924 46%,
    #8a4526 50%,
    #4a2a1c 56%,
    #1c1310 66%,
    #0c0a0b 82%,
    #08090c 100%
  );
}
.hero__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    58% 34% at 50% 64%,
    rgba(240, 132, 66, 0.4) 0%,
    rgba(224, 60, 50, 0.14) 42%,
    rgba(0, 0, 0, 0) 74%
  );
}
.hero--home .hero__glow {
  background: radial-gradient(
    62% 32% at 50% 48%,
    rgba(245, 140, 70, 0.45) 0%,
    rgba(224, 60, 50, 0.16) 44%,
    rgba(0, 0, 0, 0) 76%
  );
}
/* 山脊：内页用平缓曲线，首页用带棱角的峰线（纯矢量，可整体替换为实拍背景） */
.hero__ridge {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 380' preserveAspectRatio='none'><path d='M0 380 L0 302 Q120 248 240 286 Q340 316 432 262 Q524 210 612 260 Q702 306 800 268 Q900 234 1000 276 Q1100 314 1200 266 Q1300 224 1440 286 L1440 380 Z' fill='%2311151E'/><path d='M0 380 L0 338 Q160 302 320 330 Q460 356 600 318 Q740 282 880 326 Q1020 368 1160 322 Q1300 282 1440 330 L1440 380 Z' fill='%230A0C11'/></svg>");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center bottom;
}
.hero--home .hero__ridge {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 700' preserveAspectRatio='none'><path d='M0 700 L0 372 L120 322 L250 366 L380 312 L520 372 L640 328 L790 378 L920 322 L1060 376 L1200 318 L1320 366 L1440 330 L1440 700 Z' fill='%23131822'/><path d='M0 700 L0 452 L160 402 L320 448 L470 392 L620 444 L780 398 L940 452 L1100 400 L1250 446 L1380 404 L1440 430 L1440 700 Z' fill='%230B0D13'/><path d='M0 700 L0 566 L200 516 L400 562 L600 512 L800 566 L1000 516 L1200 568 L1360 522 L1440 552 L1440 700 Z' fill='%23050608'/></svg>");
}
.hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(6, 7, 10, 0.86) 0%,
    rgba(6, 7, 10, 0.55) 42%,
    rgba(6, 7, 10, 0.1) 72%,
    rgba(6, 7, 10, 0.3) 100%
  );
}
.hero__fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(8, 9, 12, 0) 0%, #08090c 92%);
}
.hero__in {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero--page .hero__in,
.hero--sm .hero__in {
  justify-content: flex-start;
  padding-top: 64px;
}
/* 姓名牌：先让人知道这是谁，再读身份标签 */
.hero__id {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 16px;
}
.hero__name {
  position: relative;
  padding-left: 15px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  letter-spacing: 4px;
  color: #f7f4ef;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.75);
}
.hero__name::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 21px;
  margin-top: -11px;
  background: var(--red);
}
.hero__en {
  font-family: var(--num);
  font-size: 10px;
  letter-spacing: 3.4px;
  color: #aeb2ba;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  letter-spacing: 1.8px;
  color: #d7dae1;
  margin-bottom: 26px;
}
.hero__meta i {
  width: 18px;
  height: 1px;
  background: #5a5e67;
  display: block;
}
.hero__title {
  font-family: var(--brush);
  font-weight: 400;
  font-size: clamp(52px, 7.2vw, 100px);
  line-height: 1.04;
  letter-spacing: 2px;
  color: var(--text-2);
  margin: 0;
  -webkit-text-stroke: 2.2px currentColor;
  text-shadow: 0 16px 42px rgba(0, 0, 0, 0.55);
}
.hero__title em {
  font-style: normal;
  color: var(--red);
}
.hero__sub {
  max-width: 520px;
  margin-top: 22px;
  font-size: 14px;
  line-height: 1.9;
  color: #a8aab1;
}
.hero__actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
}
.hero__quote {
  position: absolute;
  right: var(--pad);
  bottom: 92px;
  z-index: 3;
  text-align: right;
}
.hero__quote p {
  font-family: var(--hand);
  font-size: 30px;
  line-height: 1.45;
  letter-spacing: 1px;
  color: #ded7c9;
  transform: rotate(-2deg);
}
.hero__quote span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--muted-3);
}
/* 内页右下角手写批注 */
.hero__hand {
  position: absolute;
  right: var(--pad);
  bottom: 96px;
  z-index: 3;
  font-family: var(--brush);
  font-size: 23px;
  line-height: 1.55;
  letter-spacing: 1px;
  color: #ffb289;
  text-align: right;
  transform: rotate(-3deg);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);
  pointer-events: none;
  opacity: 0.94;
}
.hero__hand span {
  display: block;
  margin-top: 2px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 3px;
  color: rgba(255, 178, 137, 0.55);
}
/* 窄屏页头没有余量，批注会压到副标题，直接收掉 */
@media (max-width: 900px) {
  .hero__hand {
    display: none;
  }
}
/* 内页页头 */
.page-title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(38px, 4.6vw, 66px);
  line-height: 1.2;
  letter-spacing: 1px;
  color: var(--text-2);
}
.page-sub {
  margin-top: 14px;
  font-size: 14px;
  letter-spacing: 0.5px;
  color: #9c9fa6;
}
.page-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--red);
}
.page-label::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--red);
}
.hand-note {
  font-family: var(--hand);
  font-size: 24px;
  line-height: 1.55;
  color: #cfc9bf;
}
.hand-note span {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--muted-3);
  margin-top: 6px;
}

/* ---------- 6. 区块标题 ---------- */
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}
.sec-head__l .page-label {
  margin-bottom: 14px;
}
.sec-title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 32px;
  line-height: 1.32;
  letter-spacing: 0.5px;
  color: var(--text-2);
}
.sec-desc {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted-2);
  max-width: 560px;
}
.more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--text-3);
  white-space: nowrap;
  transition: color 0.2s var(--ease), gap 0.2s var(--ease);
}
.more-link:hover {
  color: var(--text);
  gap: 12px;
}
.more-link::after {
  content: "→";
  font-family: var(--num);
}

/* ---------- 7. 能力卡 ---------- */
.caps {
  padding: 88px 0 92px;
}
.caps__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.cap {
  height: 118px;
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.cap:hover {
  background: #111319;
  border-color: #24262e;
}
.cap__icon {
  width: 36px;
  height: 36px;
  background: var(--red-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cap__icon svg {
  width: 18px;
  height: 18px;
}
.cap__t {
  font-size: 14px;
  color: #f2efe9;
  letter-spacing: 0.5px;
}
.cap__d {
  margin-top: 4px;
  font-size: 11px;
  line-height: 16px;
  color: var(--muted-2);
}

/* ---------- 8. 作品卡 ---------- */
.works {
  padding: 92px 0 88px;
}
.works-page {
  padding-bottom: 88px;
}
.works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 16px;
}
.work {
  background: var(--card);
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s var(--ease), transform 0.25s var(--ease);
}
.work:hover {
  border-color: #24262e;
  transform: translateY(-3px);
}
.work__cover {
  position: relative;
  aspect-ratio: 405 / 226;
  background: linear-gradient(140deg, #101828 0%, #33262a 55%, #8c4a30 100%);
  overflow: hidden;
}
.work__cover--b {
  background: linear-gradient(140deg, #0d1a24 0%, #142b36 50%, #2b4d4f 100%);
}
.work__cover--c {
  background: linear-gradient(140deg, #1a0f0f 0%, #47211a 50%, #9e4d1e 100%);
}
.work__cover::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 64px;
  background: linear-gradient(180deg, rgba(14, 15, 19, 0), rgba(14, 15, 19, 0.9));
}
.work__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(11, 13, 18, 0.72);
  border: 1px solid rgba(245, 242, 236, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.work:hover .work__play {
  background: var(--red);
  border-color: var(--red);
}
.work__play svg {
  width: 12px;
  height: 14px;
  margin-left: 2px;
}
/* 整卡当链接用（去作品页看数据后台） */
.work--link {
  color: inherit;
  text-decoration: none;
}
/* 只能跳转、不能播的卡：左上角一个箭头，别用播放圈的造型 */
.work__go {
  position: absolute;
  left: 14px;
  top: 12px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 13, 18, 0.72);
  border: 1px solid rgba(245, 242, 236, 0.28);
  border-radius: 50%;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.work__go svg {
  width: 15px;
  height: 15px;
}
.work--link:hover .work__go {
  background: var(--red);
  border-color: var(--red);
  transform: translateX(3px);
}
.work__body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}
.work__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--muted-3);
}
.work__meta b {
  font-weight: 500;
  color: var(--red);
}
.work__meta i {
  width: 1px;
  height: 10px;
  background: #2e313a;
}
.work__t {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.45;
  letter-spacing: 0.5px;
  color: var(--text-2);
}
.work__d {
  font-size: 12px;
  line-height: 1.75;
  color: var(--muted-2);
}
.work__foot {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #6f727a;
  border-top: 1px solid #1b1d23;
}
/* 占位状态：封面还是空槽时，不显示播放钮，避免和占位标注重叠 */
.work__cover:has(.ph) .work__play {
  display: none;
}
.work__foot span:last-child {
  font-family: var(--num);
  letter-spacing: 1px;
}

/* ---------- 8.5 精选大屏轮播 ---------- */
.stage-sec {
  padding: 64px 0 0;
}
.stage {
  position: relative;
}
.stage__vp {
  position: relative;
  height: clamp(330px, 37vw, 520px);
  overflow: hidden;
  background: #0b0c10;
  border: 1px solid #171920;
  touch-action: pan-y;
  outline: none;
}
.stage__vp:focus-visible {
  border-color: rgba(224, 36, 47, 0.55);
}
.stage__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.85s var(--ease), visibility 0.85s;
}
.stage__slide.is-on {
  opacity: 1;
  visibility: visible;
}
.stage__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: transform 7.6s linear;
}
.stage__slide.is-on .stage__bg {
  transform: scale(1.09);
}
.stage__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      180deg,
      rgba(8, 9, 12, 0.44) 0%,
      rgba(8, 9, 12, 0.06) 20%,
      rgba(8, 9, 12, 0.42) 52%,
      rgba(8, 9, 12, 0.88) 78%,
      rgba(8, 9, 12, 0.96) 100%
    ),
    linear-gradient(
      90deg,
      rgba(8, 9, 12, 0.9) 0%,
      rgba(8, 9, 12, 0.72) 22%,
      rgba(8, 9, 12, 0.18) 52%,
      rgba(8, 9, 12, 0) 72%,
      rgba(8, 9, 12, 0.35) 100%
    );
}
/* 右下角再压一层暗角，托住大数字 */
.stage__shade::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42%;
  height: 66%;
  background: radial-gradient(
    120% 100% at 100% 100%,
    rgba(8, 9, 12, 0.82),
    rgba(8, 9, 12, 0) 76%
  );
}
/* 界面截图当底图时先压暗一档，白底会把字顶掉 */
.stage__slide--ui .stage__bg {
  filter: brightness(0.8) saturate(0.9);
}
.stage__in {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding: 0 44px 40px;
}
.stage__copy {
  max-width: 560px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease) 0.1s, transform 0.8s var(--ease) 0.1s;
}
.stage__slide.is-on .stage__copy {
  opacity: 1;
  transform: none;
}
.stage__kick {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}
.stage__kick b {
  font-weight: 500;
  color: var(--red);
}
.stage__kick i {
  width: 22px;
  height: 1px;
  background: #3d404a;
}
.stage__kick span {
  color: #9a9ea6;
}
.stage__t {
  margin-top: 14px;
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.2;
  letter-spacing: 1px;
  color: #fff;
  text-shadow: 0 16px 44px rgba(0, 0, 0, 0.45);
}
.stage__d {
  margin-top: 12px;
  max-width: 470px;
  font-size: 13px;
  line-height: 1.9;
  color: #b6b9c0;
}
.stage__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.stage__tags li {
  padding: 3px 10px;
  font-size: 10px;
  letter-spacing: 1.2px;
  color: #c2c5cc;
  border: 1px solid rgba(247, 244, 239, 0.2);
  border-radius: 2px;
}
/* 轮播里的成片入口 */
.stage__play {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  padding: 9px 18px 9px 15px;
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 1.4px;
  color: #f5f2ec;
  background: rgba(224, 36, 47, 0.9);
  border: 1px solid rgba(224, 36, 47, 0.9);
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.stage__play svg {
  width: 10px;
  height: 12px;
}
.stage__play:hover {
  background: var(--red);
  transform: translateY(-2px);
}
/* 3D 动画画面整体偏亮，压一档再给字加投影才读得清 */
.stage__slide--anim .stage__bg {
  filter: brightness(0.82) saturate(0.92);
}
/* 没有实拍底图的那几张：纯渐变 + 淡网格，靠文案和大数字撑 */
.stage__bg--plain {
  background: radial-gradient(
      120% 92% at 76% 26%,
      rgba(224, 36, 47, 0.3),
      rgba(224, 36, 47, 0) 62%
    ),
    linear-gradient(150deg, #0a0b10 0%, #13151c 56%, #1d1418 100%);
}
/* 背景空，用巨型描边字撑一下版面 */
.stage__bg--plain::before {
  content: "TIKTOK";
  position: absolute;
  right: 2%;
  top: 8%;
  font-family: var(--num);
  font-size: clamp(80px, 12vw, 176px);
  letter-spacing: 7px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(247, 244, 239, 0.08);
  pointer-events: none;
}
.stage__bg--plain::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(247, 244, 239, 0.035) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(247, 244, 239, 0.035) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(72% 72% at 32% 42%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(
    72% 72% at 32% 42%,
    #000 0%,
    transparent 78%
  );
}
.stage__slide--anim .stage__d {
  text-shadow: 0 1px 12px rgba(8, 9, 12, 0.85);
}
.stage__stat {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  padding-bottom: 6px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.8s var(--ease) 0.18s, transform 0.8s var(--ease) 0.18s;
}
.stage__slide.is-on .stage__stat {
  opacity: 1;
  transform: none;
}
.stage__stat b {
  display: flex;
  align-items: baseline;
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 0.9;
  letter-spacing: -1px;
  color: #fff;
  font-feature-settings: "tnum";
  text-shadow: 0 18px 52px rgba(0, 0, 0, 0.55);
}
.stage__stat b i {
  font-style: normal;
  font-size: 0.38em;
  letter-spacing: 1px;
  margin-left: 4px;
  color: rgba(247, 244, 239, 0.6);
}
.stage__stat em {
  font-style: normal;
  font-size: 11px;
  letter-spacing: 1.6px;
  color: #8e939b;
}

/* 控制条 */
.stage__bar {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  margin-top: -1px;
  background: #0b0c10;
  border: 1px solid #171920;
  border-top-color: #1c1e25;
}
.stage__tabs {
  display: flex;
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 0 0 0 8px;
  list-style: none;
}
.stage__tabs li {
  display: flex;
  flex: 1 1 0;
  min-width: 0;
}
.stage__tab {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 62px;
  padding: 0 18px;
  background: none;
  border: 0;
  text-align: left;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: #7e828b;
  transition: color 0.25s var(--ease);
}
.stage__tab b {
  font-family: var(--num);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 1.6px;
  color: #565a64;
  transition: color 0.25s var(--ease);
}
.stage__tab span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.stage__tab i {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(var(--stage-p, 0));
  transform-origin: left center;
  opacity: 0;
}
.stage__tab:not(.is-on):hover {
  color: #c9ccd3;
}
.stage__tab.is-on {
  color: #f4f1ec;
}
.stage__tab.is-on b {
  color: var(--red);
}
.stage__tab.is-on i {
  opacity: 1;
}
.stage__nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px 0 18px;
  border-left: 1px solid #171920;
}
.stage__arrow {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #8f939c;
  background: transparent;
  border: 1px solid #262932;
  border-radius: 2px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease),
    background 0.2s var(--ease);
}
.stage__arrow svg {
  width: 13px;
  height: 13px;
}
.stage__arrow:hover {
  color: #fff;
  border-color: var(--red);
  background: rgba(224, 36, 47, 0.14);
}

/* 全部作品的标题行 */
.works-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 52px;
  padding-bottom: 26px;
}
.works-head__l .page-label {
  margin-bottom: 10px;
}
.works-head__t {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.5px;
  color: var(--text-2);
}
.works-head__t b {
  font-family: var(--num);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 1.5px;
  color: #8b8f97;
}
.works-head .filters {
  padding: 0;
}
@media (max-width: 1024px) {
  .stage__in {
    padding: 0 32px 32px;
    gap: 28px;
  }
  .stage__stat b {
    font-size: 44px;
  }
}
@media (max-width: 860px) {
  .stage-sec {
    padding-top: 40px;
  }
  /* 手机改成「上图下文」：字压在脸上怎么调都脏，干脆分开 */
  .stage__vp {
    height: 472px;
  }
  .stage__bg {
    inset: 0 0 auto 0;
    height: 220px;
  }
  .stage__shade {
    display: none;
  }
  .stage__in {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 20px 20px;
    background: #0b0c10;
    border-top: 1px solid #171920;
  }
  .stage__copy {
    max-width: none;
  }
  .stage__t {
    margin-top: 8px;
    font-size: 26px;
    line-height: 1.25;
  }
  .stage__d {
    margin-top: 8px;
    max-width: none;
    font-size: 12.5px;
    line-height: 1.75;
  }
  .stage__tags {
    margin-top: 12px;
  }
  .stage__stat {
    flex-direction: row;
    align-items: baseline;
    gap: 10px;
    padding: 0;
  }
  .stage__stat b {
    font-size: 30px;
  }
  .stage__stat em {
    font-size: 10px;
    letter-spacing: 1.2px;
  }
  .stage__tabs {
    padding-left: 0;
  }
  .stage__tab {
    height: 52px;
    justify-content: center;
    padding: 0 10px;
  }
  .stage__tab span {
    display: none;
  }
  .stage__tab i {
    left: 10px;
    right: 10px;
  }
  .stage__nav {
    display: none;
  }
  .works-head .filters .chip {
    padding: 0 12px;
    letter-spacing: 0.2px;
  }
  .works-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-top: 40px;
    padding-bottom: 22px;
  }
}

/* ---------- 9. 筛选 ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 44px;
  padding-bottom: 32px;
}
.chip {
  height: 30px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: var(--muted);
  background: transparent;
  border: 1px solid #23252d;
  border-radius: 2px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease),
    background 0.2s var(--ease);
}
.chip:hover {
  color: var(--text);
  border-color: #3a3d45;
}
.chip.is-active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* ---------- 10. 时间线（时光轴） ---------- */
.exp {
  padding: 72px 0 56px;
}
.sec-head .filters {
  padding: 0;
}
.tl-wrap {
  --tl-year: 268px;
  --tl-p: 0;
  position: relative;
  padding: 6px 0 10px;
}
.tl {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 竖线 + 跟着滚动长出来的红线 */
.tl__rail {
  position: absolute;
  left: var(--tl-year);
  top: 0;
  bottom: 52px;
  width: 1px;
  background: #1c1f27;
  pointer-events: none;
}
.tl__rail i {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: calc(var(--tl-p) * 100%);
  background: linear-gradient(180deg, rgba(224, 36, 47, 0.18), var(--red) 58%);
  box-shadow: 0 0 14px rgba(224, 36, 47, 0.3);
}
.tl-wrap.is-full .tl__rail i::after,
.tl-wrap.is-start .tl__rail i::after {
  opacity: 0;
}
.tl__rail i::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(224, 36, 47, 0.12), 0 0 18px rgba(224, 36, 47, 0.6);
  transition: opacity 0.35s var(--ease);
}

/* 年份：章节标题 */
.tl__year {
  display: grid;
  grid-template-columns: var(--tl-year) 1fr;
  align-items: baseline;
  padding: 46px 0 12px;
}
.tl__year:first-child {
  padding-top: 16px;
}
.tl__y {
  justify-self: end;
  padding-right: 44px;
  font-family: var(--serif);
  font-size: clamp(46px, 5.6vw, 76px);
  font-weight: 900;
  line-height: 0.84;
  letter-spacing: -1px;
  color: rgba(247, 244, 239, 0.26);
  transition: color 0.7s var(--ease), text-shadow 0.7s var(--ease);
}
.tl__year.is-live .tl__y {
  color: rgba(247, 244, 239, 0.95);
  text-shadow: 0 12px 44px rgba(224, 36, 47, 0.22);
}
/* 读过的章节退到中间调：既说明翻过去了，也不会看着像丢了 */
.tl__year.is-past .tl__y {
  color: rgba(247, 244, 239, 0.55);
}
.tl__yl {
  padding-left: 40px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 2px;
  color: #b6b9c0;
  white-space: nowrap;
}
.tl__yl i {
  font-family: var(--num);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 2.4px;
  color: #83878f;
}
.tl__yl::after {
  content: "";
  flex: 1;
  height: 1px;
  margin-bottom: 5px;
  background: linear-gradient(90deg, #24272f, rgba(36, 39, 47, 0));
}

/* 单条经历 */
.tl__item {
  position: relative;
  display: grid;
  grid-template-columns: var(--tl-year) 1fr;
  padding: 20px 0 24px;
}
.tl__when {
  justify-self: end;
  padding-right: 40px;
  text-align: right;
  font-family: var(--num);
}
.tl__when b {
  display: block;
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.8px;
  color: #c3c6cd;
  white-space: nowrap;
  transition: color 0.4s var(--ease);
}
.tl__when span {
  display: inline-block;
  margin-top: 9px;
  padding: 2px 8px 3px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(247, 244, 239, 0.8);
  border: 1px solid rgba(247, 244, 239, 0.17);
  border-radius: 2px;
  transition: border-color 0.4s var(--ease), color 0.4s var(--ease);
}
.tl__item:hover .tl__when b {
  color: #fff;
}
.tl__item:hover .tl__when span {
  color: #fff;
  border-color: rgba(224, 36, 47, 0.45);
}
.tl__dot {
  position: absolute;
  left: var(--tl-year);
  top: 26px;
  width: 9px;
  height: 9px;
  margin-left: -4px;
  border-radius: 50%;
  background: #23262e;
  box-shadow: 0 0 0 3px #08090c;
  transition: background 0.45s var(--ease), box-shadow 0.45s var(--ease),
    transform 0.45s var(--ease);
}
.tl__item.is-in .tl__dot {
  background: var(--red);
  box-shadow: 0 0 0 3px #08090c, 0 0 0 7px rgba(224, 36, 47, 0.1);
}
.tl__item:hover .tl__dot {
  transform: scale(1.3);
}
.tl__body {
  padding-left: 40px;
  max-width: 700px;
}
.tl__body h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.5;
  letter-spacing: 0.4px;
  color: var(--text-2);
  transition: color 0.3s var(--ease);
}
.tl__body h3 em {
  font-style: normal;
  font-size: 14px;
  letter-spacing: 1px;
  color: #aeb1b8;
}
.tl__item:hover .tl__body h3 {
  color: #fff;
}
.tl__d {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.95;
  color: #a6a9b1;
}
.tl__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.tl__tags li {
  padding: 3px 10px;
  font-size: 10px;
  letter-spacing: 1.2px;
  color: #a2a6ae;
  border: 1px solid #2b2f37;
  border-radius: 2px;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.tl__item:hover .tl__tags li {
  border-color: #383c45;
  color: #c9ccd3;
}

/* 收束 */
.tl__end {
  position: relative;
  display: grid;
  grid-template-columns: var(--tl-year) 1fr;
  padding: 28px 0 40px;
}
.tl__end p {
  grid-column: 2;
  padding-left: 40px;
  font-size: 13px;
  letter-spacing: 0.3px;
  color: #9ba0a8;
}
.tl__end a {
  color: #ff6b73;
  border-bottom: 1px solid rgba(224, 36, 47, 0.4);
}
.tl__end a:hover {
  color: #fff;
  border-color: #fff;
}
.tl__dot--hollow {
  top: 32px;
  background: transparent;
  box-shadow: inset 0 0 0 1px #3d414b, 0 0 0 3px #08090c;
}

/* 窄屏：竖线挪到最左，日期回到标题上方 */
@media (max-width: 900px) {
  .tl-wrap {
    --tl-year: 0px;
  }
  .tl {
    padding-left: 26px;
  }
  .tl__rail {
    left: 5px;
    bottom: 46px;
  }
  .tl__year,
  .tl__item,
  .tl__end {
    grid-template-columns: 1fr;
  }
  .tl__year {
    padding: 34px 0 8px;
  }
  .tl__year:first-child {
    padding-top: 8px;
  }
  .tl__y {
    justify-self: start;
    padding-right: 0;
    font-size: 46px;
  }
  .tl__yl {
    padding-left: 0;
    margin-top: 14px;
    font-size: 13px;
    letter-spacing: 1.4px;
    white-space: normal;
  }
  .tl__yl::after {
    display: none;
  }
  .tl__when {
    justify-self: start;
    padding-right: 0;
    text-align: left;
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 10px;
  }
  .tl__when span {
    margin-top: 0;
  }
  .tl__body {
    grid-column: 1;
    grid-row: 2;
    padding-left: 0;
  }
  .tl__body h3 {
    font-size: 18px;
  }
  .tl__dot {
    left: -21px;
    top: 25px;
  }
  .tl__end p {
    grid-column: 1;
    padding-left: 0;
  }
  .tl__dot--hollow {
    top: 31px;
  }
}
/* ---------- 11. 项目卡 ---------- */
.projects {
  padding-bottom: 84px;
}
.projects__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: 20px;
}
.proj {
  min-height: 160px;
  padding: 24px 26px;
  background: var(--card);
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  gap: 13px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.proj:hover {
  background: #111319;
  border-color: #24262e;
}
.proj__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.proj__t {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.5px;
  color: var(--text-2);
}
.proj__tag {
  flex: 0 0 auto;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--red);
  border: 1px solid var(--red-ink);
  padding: 2px 9px;
  border-radius: 2px;
}
.proj__d {
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted-2);
}
.proj__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--muted-4);
}
.proj__foot b {
  font-weight: 400;
  color: #a7aab1;
}

/* ---------- 12. 技能 ---------- */
.skills {
  padding: 52px 0 64px;
}
.skills__grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 56px;
}
.skill-group + .skill-group {
  margin-top: 34px;
}
.skill-group__h {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--text-2);
}
.skill-group__h::before {
  content: "";
  width: 14px;
  height: 2px;
  background: var(--red);
}
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.skill-tags span {
  padding: 7px 14px;
  font-size: 12.5px;
  color: #cfd1d6;
  background: #101218;
  border: 1px solid #1e2027;
  border-radius: 2px;
}
.legend {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 34px;
}
.legend__row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.legend__tag {
  width: 62px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  letter-spacing: 1px;
  border-radius: 3px;
  flex: 0 0 auto;
}
.legend__tag--a {
  background: var(--red-ink);
  color: var(--red);
}
.legend__tag--b {
  background: #1b1e26;
  color: var(--muted);
}
.legend__row p {
  font-size: 13px;
  color: var(--muted);
}
.legend__row:last-child p {
  color: var(--muted-2);
}
.station {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
}
.station .ph {
  height: 100%;
}
.station__cap {
  margin-top: 26px;
}

/* ---------- 13. 奖项 ---------- */
.awards {
  padding: 52px 0 78px;
}
.awards__grid {
  display: grid;
  grid-template-columns: 1fr 500px;
  gap: 56px;
}
/* 右栏跟着清单走，长列表滚动时画面不空 */
@media (min-width: 1001px) {
  .awards__grid > aside {
    align-self: start;
    position: sticky;
    top: calc(var(--head-h) + 34px);
  }
}
.award-list li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid #171920;
}
.award-list li:first-child {
  border-top: 1px solid #171920;
}
.star {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #221a10;
}
.star svg {
  width: 16px;
  height: 16px;
}
.award-list b {
  font-weight: 400;
  font-family: var(--num);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 1px;
  color: #8b8375;
  min-width: 42px;
  flex: 0 0 auto;
}
.award-list h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.5px;
  color: var(--text-2);
}
.award-list p {
  margin-left: auto;
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--muted-3);
  text-align: right;
}
.cert {
  position: relative;
  padding: 1px;
  background: #23252d;
  overflow: hidden;
}
.cert .ph {
  aspect-ratio: 400 / 380;
}
/* 右栏大图：跟着左栏 hover 换图 */
.cert img {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity 0.16s linear;
}
.cert img.is-fade {
  opacity: 0;
}
.cert__empty {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  aspect-ratio: 4 / 3;
  text-align: center;
  background: repeating-linear-gradient(
    45deg,
    #0d0e12 0 10px,
    #101116 10px 20px
  );
}
.cert.is-empty img {
  display: none;
}
.cert.is-empty .cert__empty {
  display: flex;
}
.cert__empty b {
  font-family: var(--serif);
  font-size: 18px;
  color: #c2c5cc;
}
.cert__empty span {
  font-size: 12px;
  color: #85888f;
}
.cert__cap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #171920;
}
.cert__cap span {
  font-family: var(--serif);
  font-size: 15px;
  color: #f2efe9;
}
.cert__cap i {
  font-style: normal;
  font-size: 11px;
  color: #6f7279;
  white-space: nowrap;
}
.cert__note {
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--muted-4);
}
/* 左栏当前选中的那条，左边亮一道 */
.award-list li {
  cursor: pointer;
  position: relative;
}
.award-list li::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  border-radius: 1px;
  background: transparent;
  transition: background 0.2s var(--ease);
}
.award-list li.is-on::before {
  background: var(--red);
}
.award-list li:focus-visible {
  outline: 1px solid rgba(224, 36, 47, 0.6);
  outline-offset: 4px;
}
.honor-stat {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 34px;
  border-top: 1px solid #171920;
  border-bottom: 1px solid #171920;
}
.honor-stat div {
  padding: 18px 0;
  text-align: center;
  border-right: 1px solid #171920;
}
.honor-stat div:last-child {
  border-right: 0;
}
.honor-stat b {
  display: block;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--text-2);
}
.honor-stat span {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--muted-3);
}
.honor-stat__note {
  margin-top: 12px;
  font-family: var(--num);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--muted-4);
  text-align: center;
}

/* ---------- 14. 简介 / 信息卡 ---------- */
.intro {
  padding: 52px 0 64px;
}
.intro__grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 64px;
  align-items: start;
}
.intro__h {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.5;
  letter-spacing: 1px;
  color: var(--text-2);
  margin-bottom: 20px;
}
/* 三段自述：字号行距放开，左侧竖线分条，关键词提亮 */
.intro p {
  position: relative;
  max-width: 812px;
  padding-left: 22px;
  font-size: 16px;
  line-height: 1.95;
  color: #c9cdd6;
  text-wrap: pretty;
}
.intro p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  bottom: 9px;
  width: 2px;
  border-radius: 1px;
  background: rgba(224, 36, 47, 0.42);
}
.intro p:first-of-type::before {
  background: var(--red);
}
.intro p b {
  font-weight: 600;
  color: #ffffff;
}
.intro p + p {
  margin-top: 24px;
}
.info-card {
  background: var(--card);
  border: 1px solid #1b1d23;
  padding: 24px 22px;
}
.info-card__h {
  font-size: 12px;
  letter-spacing: 2px;
  color: #8d9098;
  margin-bottom: 18px;
}
.info-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  font-size: 13px;
}
.info-row svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  opacity: 0.8;
}
.info-row dt {
  width: 66px;
  flex: 0 0 auto;
  font-size: 12px;
  color: #85888f;
}
.info-row dd {
  margin: 0;
  font-size: 13.5px;
  color: #f2efe9;
}
.info-div {
  height: 1px;
  background: #1e2027;
  margin: 16px 0;
}
.btn--full {
  width: 100%;
  height: 44px;
}

/* ---------- 15. 指标 ---------- */
.metrics {
  padding: 0 0 64px;
}
.metrics__grid {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.metric {
  width: 200px;
  flex: 0 0 auto;
}
.metric__n {
  font-family: var(--num);
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.5px;
  color: var(--text-2);
}
.metric__n small {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  color: #b9b3a6;
  margin-left: 6px;
}
.metric__l {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.5px;
  color: #7a7d84;
}
.metrics__div {
  width: 1px;
  height: 46px;
  background: #1d1f26;
  margin: 8px 0 0;
}
.metrics__note {
  margin-left: auto;
  text-align: right;
}

/* ---------- 16. 切片 ---------- */
.slices {
  padding: 0 0 88px;
}
.slices__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.slice {
  position: relative;
  padding-top: 20px;
  transition: transform 0.3s var(--ease);
}
/* 顶部细线，hover 时变红，给个"点亮"的落点 */
.slice::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 1px;
  background: var(--line);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.slice__n {
  font-family: var(--num);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--red);
  transition: color 0.25s var(--ease);
}
.slice h3 {
  margin-top: 12px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.5px;
  color: var(--text-2);
  transition: color 0.25s var(--ease);
}
.slice p {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.85;
  color: #a8acb5;
  transition: color 0.25s var(--ease);
}
/* 鼠标移上去整块点亮：线变红、标题转红、正文提亮（不做位移，免得四张线不齐） */
.slice:hover::before,
.slice.is-hover::before {
  background: var(--red);
  box-shadow: 0 0 18px -2px rgba(224, 36, 47, 0.75);
}
.slice:hover .slice__n,
.slice.is-hover .slice__n {
  color: #ff7b83;
}
.slice:hover h3,
.slice.is-hover h3 {
  color: var(--red);
}
.slice:hover p,
.slice.is-hover p {
  color: #eef0f4;
}

/* ---------- 17. CTA ---------- */
.cta {
  padding: 64px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta h2 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 36px;
  line-height: 1.45;
  letter-spacing: 1px;
  color: var(--text-2);
}
.cta p {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted-2);
}
.cta__actions {
  display: flex;
  gap: 14px;
  flex: 0 0 auto;
}

/* ---------- 18. 联系 ---------- */
.directions {
  padding: 64px 0 0;
}
.directions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.dir {
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 30px 28px 32px;
  border: 1px solid #1b1d23;
  background: #0b0c10;
}
.dir__n {
  font-family: var(--num);
  font-size: 12px;
  letter-spacing: 2.4px;
  color: var(--red);
}
.dir h2 {
  margin: 16px 0 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: 1px;
  color: #f7f4ef;
}
.dir p {
  margin: 12px 0 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: #b6bac1;
}
.contact-block {
  margin-top: 52px;
  padding: 56px 0 64px;
  background: var(--bg-3);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.contact-block__in {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}
.mail {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.4;
  letter-spacing: 1px;
  color: var(--text-2);
  display: inline-block;
}
.mail:hover {
  color: var(--red);
}
.tel {
  display: flex;
  width: max-content;
  align-items: baseline;
  gap: 12px;
  margin-top: 16px;
  font-family: var(--num);
  font-size: 26px;
  letter-spacing: 2px;
  color: #f2efe9;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.tel span {
  font-family: var(--sans, inherit);
  font-size: 11px;
  letter-spacing: 2px;
  color: #85888f;
}
.tel:hover {
  color: var(--red);
}
.contact-block__note {
  margin-top: 10px;
  font-size: 12px;
  color: #72767c;
}
.contact-block__btns {
  display: flex;
  gap: 12px;
  flex: 0 0 auto;
}
.contact-block__btns .btn {
  width: 160px;
  height: 50px;
}

/* ---------- 19. 页脚 ---------- */
.site-foot {
  padding: 56px 0 40px;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.site-foot__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 32px;
}
.site-foot__tag {
  margin-top: 12px;
  max-width: 300px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted-4);
}
.site-foot__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding-top: 6px;
}
.site-foot__nav a {
  font-size: 12px;
  color: var(--text-3);
}
.site-foot__nav a:hover {
  color: var(--text);
}
.site-foot__bot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid #141519;
  font-size: 11px;
  letter-spacing: 0.5px;
  color: #5c5f66;
}

/* ---------- 20. 图片占位 ---------- */
.ph {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0b0c10;
  border: 1px dashed rgba(245, 242, 236, 0.14);
  color: #565a62;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-align: center;
  padding: 12px;
}
.ph::before {
  content: attr(data-asset);
  position: absolute;
  top: 10px;
  left: 12px;
  font-family: var(--num);
  font-size: 10px;
  letter-spacing: 1px;
  color: #4a4d55;
}
.ph__t {
  max-width: 90%;
  line-height: 1.8;
}
/* hero 背景位标记：给下面这张图用，换图后加 .is-filled 即可隐藏 */
.hero--sm .hero__quote {
  bottom: 52px;
}
.hero__slot {
  position: absolute;
  right: var(--pad);
  top: 84px;
  z-index: 4;
  font-family: var(--num);
  font-size: 10px;
  letter-spacing: 1px;
  color: rgba(245, 242, 236, 0.34);
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}
.hero__slot::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}
.hero.is-filled .hero__slot {
  display: none;
}

/* ---------- 21. Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translate(-50%, 16px);
  background: var(--red);
  color: #fff;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 10px 20px;
  border-radius: 2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  z-index: 200;
}
.toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- 22. 实拍图 ---------- */

/* 页头实拍背景：给 .hero 加 .is-filled，并放入 .hero__photo */
.hero__photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  filter: saturate(0.94) contrast(1.05);
}
.hero--home .hero__photo {
  background-position: 50% 44%;
}
.hero--page .hero__photo,
.hero--sm .hero__photo {
  background-position: 50% 42%;
}
.hero.is-filled .hero__sky,
.hero.is-filled .hero__glow,
.hero.is-filled .hero__ridge {
  display: none;
}
.hero.is-filled .hero__shade {
  background: linear-gradient(
    100deg,
    rgba(6, 7, 10, 0.95) 0%,
    rgba(6, 7, 10, 0.8) 32%,
    rgba(6, 7, 10, 0.36) 62%,
    rgba(6, 7, 10, 0.6) 100%
  );
}
.hero--home.is-filled .hero__shade {
  background: linear-gradient(
    100deg,
    rgba(6, 7, 10, 0.96) 0%,
    rgba(6, 7, 10, 0.84) 34%,
    rgba(6, 7, 10, 0.34) 66%,
    rgba(6, 7, 10, 0.54) 100%
  );
}
.hero.is-filled .hero__fade {
  height: 170px;
}
.hero--page.is-filled .hero__fade {
  height: 150px;
}
.hero--sm.is-filled .hero__fade {
  height: 140px;
}

/* 作品卡封面图 */
.work__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  transition: transform 0.6s var(--ease);
}
.work:hover .work__img {
  transform: scale(1.045);
}
/* 浅色后台截图压暗一档，避免在深色版面上过曝；饱和度要跟上，不然发灰 */
.work__img.is-ui {
  filter: brightness(0.84) saturate(1.08);
}
.duo img.is-ui {
  filter: brightness(0.95) saturate(1.08) contrast(1.02);
}
/* 白天实拍：压一档，避免在深色网格里跳出来 */
.work__img--book {
  filter: brightness(0.85) saturate(0.9) contrast(1.04);
}
/* 没有实拍封面的卡片：用字标代替，不假装有图 */
.work__mark {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.work__mark b {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 6px;
  color: rgba(245, 242, 236, 0.82);
  text-indent: 6px;
}
.work__mark span {
  font-family: var(--num);
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(245, 242, 236, 0.4);
}

/* 手机样机：竖版后台截图 */
.sns {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 64px;
  padding-top: 8px;
}
.phone {
  width: 264px;
  flex: 0 0 auto;
}
.phone__screen {
  position: relative;
  padding: 9px;
  border-radius: 30px;
  background: linear-gradient(180deg, #1a1c22, #0d0e12);
  box-shadow:
    0 34px 70px -26px rgba(0, 0, 0, 0.92),
    0 0 0 1px rgba(245, 242, 236, 0.1);
}
.phone__screen::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 15px;
  transform: translateX(-50%);
  width: 56px;
  height: 14px;
  border-radius: 9px;
  background: #05060a;
  z-index: 2;
}
.phone__screen img {
  display: block;
  width: 100%;
  border-radius: 22px;
  aspect-ratio: 216 / 467;
  object-fit: cover;
  object-position: 50% 0;
}
.phone__cap {
  margin-top: 16px;
  text-align: center;
}
.phone__cap b {
  display: block;
  font-family: var(--num);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2.6px;
  color: var(--red);
}
.phone__cap span {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.sns__note {
  align-self: center;
  padding-bottom: 40px;
}
.sns-head {
  margin: 88px 0 10px;
}
/* 窄屏两台手机竖排，中间那句手写批注留在原位 */
@media (max-width: 620px) {
  .sns {
    flex-direction: column;
    align-items: center;
    gap: 42px;
  }
  .sns__note {
    padding-bottom: 0;
  }
  .phone {
    width: min(264px, 76vw);
  }
}

/* 证书墙：统一画框，按原始比例完整显示，不裁切 */
.certwall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: start;
}
.certwall figure {
  position: relative;
  margin: 0;
  background: #0b0c10;
  border: 1px solid rgba(245, 242, 236, 0.07);
  overflow: hidden;
}
.certwall img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 10px;
}
.certwall figcaption {
  padding: 9px 12px 11px;
  font-size: 11px;
  letter-spacing: 0.3px;
  color: var(--muted);
  border-top: 1px solid rgba(245, 242, 236, 0.06);
}

/* 人像 */
.shots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.shots figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #0b0c10;
}
.shots img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 22%;
  transition: transform 0.7s var(--ease);
}
.shots figure:hover img {
  transform: scale(1.05);
}
.shots figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 8px 14px;
  font-family: var(--num);
  font-size: 12px;
  letter-spacing: 1.8px;
  color: rgba(245, 242, 236, 0.7);
  background: rgba(8, 9, 12, 0.66);
}
@media (max-width: 700px) {
  .shots {
    grid-template-columns: 1fr;
  }
}

/* 现场照 */
.events {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.events figure {
  margin: 0;
  overflow: hidden;
  background: #0b0c10;
}
.events img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.events figure:hover img {
  transform: scale(1.04);
}

/* 界面长图 */
.duo {
  display: grid;
  gap: 18px;
}
.duo figure {
  margin: 0;
  background: #0b0c10;
  border: 1px solid rgba(245, 242, 236, 0.08);
  overflow: hidden;
}
.duo__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 14px;
  background: #14161c;
  border-bottom: 1px solid rgba(245, 242, 236, 0.06);
}
.duo__bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3a3e4a;
  flex: 0 0 auto;
}
.duo__bar span {
  margin-left: 10px;
  font-family: var(--num);
  font-size: 10px;
  letter-spacing: 1.4px;
  color: #6b707a;
}
.duo img {
  display: block;
  width: calc(100% - 28px);
  height: auto;
  margin: 14px auto;
}
.duo figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid rgba(245, 242, 236, 0.06);
}
.duo figcaption b {
  font-weight: 500;
  color: var(--text-2);
}
.duo figcaption span {
  font-family: var(--num);
  font-size: 10px;
  letter-spacing: 1.6px;
  color: var(--muted-3);
  white-space: nowrap;
}

/* 新增区块的纵向节奏，跟随原有「只写下边距」的约定 */
.shots-sec {
  padding: 0 0 72px;
}
.events-sec {
  padding: 72px 0 88px;
}
.bench {
  padding: 0 0 96px;
}
.skills__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 48px;
}
.skills__cols .skill-group + .skill-group {
  margin-top: 0;
}

/* 证书主图按原始比例显示 */
.cert img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- 23. 响应式 ---------- */
@media (max-width: 1240px) {
  :root {
    --pad: 56px;
  }
  .caps__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .skills__grid,
  .awards__grid,
  .intro__grid {
    grid-template-columns: 1fr 340px;
    gap: 40px;
  }
  .nav {
    gap: 22px;
  }
  .certwall {
    grid-template-columns: repeat(2, 1fr);
  }
  .sns {
    gap: 40px;
  }
  .sns__note {
    display: none;
  }
  .skills__cols {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 1024px) {
  :root {
    --pad: 40px;
  }
  .hero--home {
    height: 620px;
  }
  .hero__quote {
    display: none;
  }
  .works__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .metrics__grid {
    flex-wrap: wrap;
    gap: 24px 0;
  }
  .metrics__div {
    display: none;
  }
  .metrics__note {
    margin-left: 0;
    text-align: left;
    width: 100%;
  }
  .slices__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
  .cta__in,
  .contact-block__in {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
  .skills__grid,
  .awards__grid,
  .intro__grid {
    grid-template-columns: 1fr;
  }
  .station,
  .cert {
    max-width: 400px;
  }
}
/* 汉堡菜单之前的过渡带：导航收窄，别把 7 个链接挤成两行 */
@media (max-width: 1023px) and (min-width: 861px) {
  .site-head__in {
    gap: 24px;
  }
  .nav {
    gap: 16px;
    margin-left: 0;
  }
  .site-head .btn--red {
    display: none;
  }
}
@media (max-width: 860px) {
  :root {
    --pad: 28px;
    --head-h: 60px;
  }
  .nav {
    display: none;
  }
  .head__spacer {
    display: none;
  }
  .site-head__in {
    gap: 16px;
  }
  .nav-toggle {
    display: flex;
  }
  .site-head .btn--red {
    display: none;
  }
  .site-head.is-open .nav {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--head-h);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px var(--pad) 20px;
    background: #0a0b0e;
    border-bottom: 1px solid var(--line);
  }
  .site-head.is-open .nav__link {
    width: 100%;
    padding: 12px 0;
    font-size: 14px;
  }
  .hero--home {
    height: auto;
    min-height: 560px;
    padding: 72px 0 96px;
  }
  .hero__in {
    justify-content: flex-start;
  }
  .hero--page,
  .hero--sm {
    height: auto;
    padding-bottom: 64px;
  }
  /* 移动端也留够高度，背景图不至于只露一条 */
  .hero--page {
    min-height: 520px;
  }
  .hero--sm {
    min-height: 440px;
  }
  .hero--page .hero__in,
  .hero--sm .hero__in {
    padding-top: 40px;
  }
  .hero__meta {
    gap: 10px;
    letter-spacing: 1px;
  }
  .hero__meta i {
    display: none;
  }
  .hero__actions {
    flex-wrap: wrap;
  }
  .caps__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cap {
    height: auto;
    min-height: 112px;
    gap: 16px;
  }
  .works__grid,
  .projects__grid,
  .directions__grid {
    grid-template-columns: 1fr;
  }
  .sec-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .works,
  .caps {
    padding: 64px 0;
  }
  .award-list li {
    flex-wrap: wrap;
    gap: 10px 14px;
  }
  .award-list p {
    margin-left: 50px;
    text-align: left;
    width: 100%;
  }
  .site-foot__top {
    flex-direction: column;
    gap: 24px;
  }
  .site-foot__bot {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .contact-block__btns {
    width: 100%;
    flex-wrap: wrap;
  }
  .contact-block__btns .btn {
    flex: 1 1 140px;
    width: auto;
  }
  .hero__slot {
    display: none;
  }
  .sns {
    gap: 24px;
  }
  .phone {
    width: 44%;
    max-width: 220px;
  }
  .events {
    grid-template-columns: 1fr;
  }
  .events img {
    aspect-ratio: 16 / 9;
  }
  .cert {
    max-width: none;
  }
  .skills__cols {
    grid-template-columns: 1fr;
  }
  .events-sec {
    padding: 56px 0 64px;
  }
  .bench {
    padding-bottom: 64px;
  }
}
@media (max-width: 560px) {
  .caps__grid {
    grid-template-columns: 1fr;
  }
  .shots {
    gap: 10px;
  }
  .certwall {
    gap: 10px;
  }
  .sns {
    justify-content: flex-start;
    overflow-x: auto;
    gap: 18px;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .phone {
    width: 200px;
    max-width: none;
    scroll-snap-align: center;
  }
  .slices__grid {
    grid-template-columns: 1fr;
  }
  .hero__title {
    font-size: 40px;
    letter-spacing: 1px;
  }
  .sec-title,
  .intro__h {
    font-size: 24px;
  }
  .cta h2 {
    font-size: 26px;
  }
  .metric {
    width: 50%;
  }
  .legend__row {
    align-items: flex-start;
  }
  .legend__row p {
    font-size: 12px;
  }
}

/* ---------- 24. 动效层 ----------
   入场动效只在 .js 就绪时生效，脚本挂了内容也照常可见
   ------------------------------------------ */

/* 24.1 阅读进度 + 光标氛围 */
.readbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 130;
  pointer-events: none;
}
.readbar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #8f1119, #e0242f 46%, #ff7a45);
  box-shadow: 0 0 16px rgba(224, 36, 47, 0.6);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.site-head.is-stuck {
  box-shadow: 0 18px 40px -28px #000;
}

/* 24.2 滚动揭示 */
.js [data-reveal],
.js [data-reveal-group] > * {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal="blur"] {
  filter: blur(9px);
  transition: opacity 0.95s var(--ease), transform 0.95s var(--ease),
    filter 0.95s var(--ease);
}
.js [data-reveal].is-in,
.js [data-reveal-group].is-in > * {
  opacity: 1;
  transform: none;
}
.js [data-reveal="blur"].is-in {
  filter: blur(0);
}

/* 24.3 首屏出场 */
.js .hero__meta,
.js .hero__title,
.js .hero__sub,
.js .hero__actions {
  animation: heroUp 1.05s var(--ease) both;
}
.js .hero__title {
  animation-delay: 0.06s;
}
.js .hero__sub {
  animation-delay: 0.16s;
}
.js .hero__actions {
  animation-delay: 0.26s;
}
.js .hero__quote {
  animation: heroRight 1.2s var(--ease) 0.3s both;
}
.js .hero--page .hero__in > *,
.js .hero--sm .hero__in > * {
  animation: heroUp 1s var(--ease) both;
}
.js .hero--page .hero__in > *:nth-child(2),
.js .hero--sm .hero__in > *:nth-child(2) {
  animation-delay: 0.08s;
}
.js .hero--page .hero__in > *:nth-child(3),
.js .hero--sm .hero__in > *:nth-child(3) {
  animation-delay: 0.16s;
}
@keyframes heroUp {
  from {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes heroRight {
  from {
    opacity: 0;
    transform: translate3d(18px, 0, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* 24.4 战绩数字 */
.stats {
  position: relative;
  padding: 96px 0 78px;
  background: var(--bg);
  overflow: hidden;
}
.stats::before {
  content: "";
  position: absolute;
  inset: -22% 0 auto 0;
  height: 620px;
  background: radial-gradient(
    52% 60% at 76% 0%,
    rgba(224, 36, 47, 0.14),
    transparent 72%
  );
  pointer-events: none;
}
.stats__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}
.stats__h {
  margin-top: 12px;
  font-family: var(--serif);
  font-weight: 900;
  font-size: 30px;
  letter-spacing: 1px;
  color: var(--text-2);
}
.stats__note {
  font-size: 11px;
  line-height: 1.85;
  letter-spacing: 0.6px;
  color: var(--muted-4);
  text-align: right;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line);
}
.stat {
  position: relative;
  padding: 30px 26px 34px;
  border-right: 1px solid var(--line);
  overflow: hidden;
  --mx: 60%;
  --my: 0%;
}
.stat:last-child {
  border-right: 0;
}
.stat::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  background: radial-gradient(
    240px 240px at var(--mx) var(--my),
    rgba(224, 36, 47, 0.18),
    transparent 68%
  );
}
.stat:hover::before {
  opacity: 1;
}
.stat::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 1px;
  z-index: 1;
  background: linear-gradient(90deg, var(--red), rgba(224, 36, 47, 0) 62%);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.5s var(--ease);
}
.stat:hover::after {
  transform: scaleX(1);
}
.stat > * {
  position: relative;
  z-index: 1;
}
.stat__i {
  font-family: var(--num);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--muted-4);
}
.stat__n {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-top: 20px;
  font-family: var(--serif);
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -2px;
  color: var(--text-2);
  font-feature-settings: "tnum" 1;
}
.stat__pre {
  font-family: var(--sans);
  font-size: 15px;
  font-style: normal;
  letter-spacing: 0;
  color: var(--muted-2);
  margin-right: 2px;
}
.stat__u {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  color: #b9b3a6;
  margin-left: 4px;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .stat__n {
    background: linear-gradient(176deg, #fffdf8 18%, #b6b0a4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .stat:hover .stat__n {
    background: linear-gradient(176deg, #ffffff 10%, #ff8a63 100%);
    -webkit-background-clip: text;
    background-clip: text;
  }
}
.stat__l {
  margin-top: 16px;
  font-size: 13px;
  letter-spacing: 0.3px;
  color: #e8e4dc;
}
.stat__d {
  margin-top: 7px;
  font-size: 11.5px;
  line-height: 1.75;
  color: var(--muted-4);
}

/* 24.5 同口径对比 */
.bars {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
  margin-top: 54px;
}
.bars__t {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 21px;
  letter-spacing: 1px;
  color: var(--text-2);
}
.bars__d {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.95;
  color: var(--muted-2);
}
.bars__d b {
  font-weight: 600;
  color: #ff8a68;
}
.bar + .bar {
  margin-top: 26px;
}
.bar__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-3);
}
.bar__top b {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.3px;
  color: var(--text-2);
}
.bar__track {
  position: relative;
  height: 6px;
  margin-top: 11px;
  background: #14161b;
  overflow: hidden;
}
.bar__fill {
  position: absolute;
  inset: 0;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 1.5s var(--ease) 0.1s;
}
.bar__fill--red {
  background: linear-gradient(90deg, #7d1017, #e0242f 60%, #ff7a45);
  box-shadow: 0 0 20px rgba(224, 36, 47, 0.5);
}
.bar__fill--grey {
  background: linear-gradient(90deg, #3a3d46, #6d717b);
}
.bar.is-in .bar__fill {
  transform: scaleX(var(--p, 0.5));
}
.statline {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 52px;
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: #b5b9c1;
}
.statline b {
  margin-right: 8px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
  color: #f7f4ef;
}

/* 24.6 跑马灯 */
.marquee {
  position: relative;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(224, 36, 47, 0.045), transparent 70%);
  overflow: hidden;
}
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 170px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), rgba(8, 9, 12, 0));
}
.marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg), rgba(8, 9, 12, 0));
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marq 46s linear infinite;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
.marquee__row {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.marquee__row span {
  padding: 0 30px;
  font-family: var(--serif);
  font-size: 31px;
  letter-spacing: 2px;
  white-space: nowrap;
  color: #aeb2bb;
}
/* 数字单独提出来：深色底上也要一眼看见 */
.marquee__row span em {
  font-style: normal;
  font-weight: 700;
  font-size: 1.12em;
  color: #f7f4ef;
}
.marquee__row b {
  font-size: 12px;
  line-height: 1;
  color: var(--red);
  opacity: 0.9;
}
@keyframes marq {
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* 24.7 卡片微交互 */
.hl {
  font-weight: 600;
  color: #ff7a55;
}
.work:hover .work__img {
  transform: scale(1.045);
}
.cap {
  position: relative;
  overflow: hidden;
  --mx: 60%;
  --my: 0%;
}
.cap::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  background: radial-gradient(
    180px 180px at var(--mx) var(--my),
    rgba(224, 36, 47, 0.16),
    transparent 70%
  );
}
.cap:hover::before {
  opacity: 1;
}
.cap > * {
  position: relative;
}
.btn--red {
  position: relative;
  overflow: hidden;
  transition: background 0.25s var(--ease), box-shadow 0.3s var(--ease),
    transform 0.2s var(--ease);
}
.btn--red:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 40px -16px rgba(224, 36, 47, 0.85);
}
.btn--red::after {
  content: "";
  position: absolute;
  top: -60%;
  left: 0;
  width: 38%;
  height: 220%;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.28),
    rgba(255, 255, 255, 0)
  );
  transform: translateX(-140%) rotate(8deg);
  transition: transform 0.7s var(--ease);
  pointer-events: none;
}
.btn--red:hover::after {
  transform: translateX(320%) rotate(8deg);
}

/* 24.8 动效层断点 */
@media (max-width: 1240px) {
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat:nth-child(2) {
    border-right: 0;
  }
  .stat:nth-child(1),
  .stat:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
  .bars {
    gap: 36px;
  }
}
@media (max-width: 860px) {
  .stats {
    padding: 72px 0 60px;
  }
  .stats__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .stats__note {
    text-align: left;
  }
  .bars {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-top: 40px;
  }
  .marquee__row span {
    font-size: 22px;
    padding: 0 18px;
  }
  .marquee::before,
  .marquee::after {
    width: 90px;
  }
}
@media (max-width: 560px) {
  .stats__grid {
    grid-template-columns: 1fr;
  }
  .stat {
    padding: 24px 0 26px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .stat:last-child {
    border-bottom: 0;
  }
  .stat__n {
    font-size: 44px;
  }
  .stat__d {
    max-width: 300px;
  }
}

/* ---------- 25. 证书环绕 ---------- */
.cert-wall {
  padding: 92px 0 84px;
}
.ring-nav {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}
.ring-btn {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #a9acb3;
  background: #0e0f13;
  border: 1px solid #24262e;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease),
    background 0.25s var(--ease);
}
.ring-btn:hover {
  color: #fff;
  border-color: var(--red);
  background: #17100f;
}

/* 未开启 3D 时（无 JS / 窄屏）：横向滑动 */
.ring-stage {
  position: relative;
  margin-top: 10px;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.ring-stage::-webkit-scrollbar {
  display: none;
}
.ring {
  display: flex;
  gap: 14px;
  padding: 0 var(--pad);
}
.ring__card {
  flex: 0 0 300px;
  scroll-snap-align: center;
  padding: 10px;
  background: #0d0e12;
  border: 1px solid #1e2027;
}
.ring__img {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 262px;
  background: #08090c;
  overflow: hidden;
  isolation: isolate;
}
/* 同一张证的模糊底，竖版证书也不会空出黑边 */
.ring__img::before {
  content: "";
  position: absolute;
  inset: -6px;
  z-index: 0;
  background-image: var(--bg, none);
  background-size: cover;
  background-position: 50% 50%;
  filter: blur(18px) brightness(0.34) saturate(0.7);
}
.ring__img img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ring__card figcaption {
  margin-top: 10px;
  padding: 10px 2px 0;
  border-top: 1px solid #1a1c22;
  font-size: 12px;
  line-height: 1.6;
  color: #b7bac1;
}
.ring__card figcaption b {
  display: block;
  margin-bottom: 3px;
  font-family: var(--num);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 1.5px;
  color: #7d8089;
}

/* 开启 3D 环绕 */
.cert-ring.is-ring .ring-stage {
  display: block;
  overflow: visible;
  height: 418px;
  margin-top: 0;
  perspective: 1700px;
  perspective-origin: 50% 46%;
}
/* 环下的暖光，给一点落地感 */
.cert-ring.is-ring .ring-stage::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 760px;
  height: 110px;
  margin-left: -380px;
  pointer-events: none;
  background: radial-gradient(
    50% 50% at 50% 50%,
    rgba(224, 36, 47, 0.13),
    rgba(224, 36, 47, 0) 70%
  );
  filter: blur(8px);
}
.cert-ring.is-ring .ring {
  position: absolute;
  left: 50%;
  top: 48px;
  display: block;
  width: 380px;
  height: 332px;
  margin-left: -190px;
  padding: 0;
  transform-style: preserve-3d;
  transition: transform 1.05s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.cert-ring.is-ring .ring__card {
  position: absolute;
  inset: 0;
  flex: none;
  opacity: 0.55;
  filter: brightness(0.64) saturate(0.85);
  transition: opacity 0.6s var(--ease), filter 0.6s var(--ease),
    box-shadow 0.6s var(--ease), border-color 0.4s var(--ease),
    transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
  cursor: pointer;
  backface-visibility: hidden;
}
/* 只让中间那张出现说明，两侧不显示，画面更干净 */
.cert-ring.is-ring .ring__card figcaption {
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.cert-ring.is-ring .ring__card.is-on figcaption {
  opacity: 1;
}
.cert-ring.is-ring .ring__card.is-on {
  opacity: 1;
  filter: none;
  border-color: #33363f;
  box-shadow: 0 46px 90px -46px #000;
  cursor: zoom-in;
}
.cert-ring.is-dragging .ring {
  transition: none;
}
.cert-ring.is-dragging .ring__card {
  transition: none;
}

/* 证书原件加大版：环面整体放大一档 */
.cert-ring--big .ring__card {
  flex: 0 0 360px;
}
.cert-ring--big .ring__img {
  height: 310px;
}
.cert-ring--big.is-ring .ring-stage {
  height: 560px;
  perspective: 2200px;
}
.cert-ring--big.is-ring .ring-stage::after {
  width: 1000px;
  height: 150px;
  margin-left: -500px;
  bottom: 20px;
}
.cert-ring--big.is-ring .ring {
  width: 470px;
  height: 450px;
  margin-left: -235px;
  top: 46px;
}
.cert-ring--big.is-ring .ring__card {
  display: flex;
  flex-direction: column;
}
.cert-ring--big.is-ring .ring__img {
  flex: 1;
  height: auto;
  min-height: 0;
}

.ring-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
}
.ring-dots {
  display: flex;
  gap: 7px;
}
.ring-dot {
  width: 20px;
  height: 2px;
  padding: 0;
  background: #32353d;
  transition: background 0.3s var(--ease), width 0.3s var(--ease);
}
.ring-dot:hover {
  background: #4d515b;
}
.ring-dot.is-on {
  width: 38px;
  background: var(--red);
}
.ring-hint {
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--muted-4);
}
.ring-count {
  margin-left: auto;
  margin-right: 20px;
  font-family: var(--num);
  font-size: 13px;
  letter-spacing: 2.5px;
  color: var(--muted-4);
}
.ring-count b {
  font-weight: 600;
  font-size: 15px;
  color: #f1f2f4;
}

/* 大图 */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(4, 5, 7, 0.95);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.lightbox.is-on {
  opacity: 1;
  pointer-events: auto;
}
.lightbox img {
  max-width: min(1080px, 92vw);
  max-height: 84vh;
  object-fit: contain;
  box-shadow: 0 40px 120px -40px #000;
}
.lightbox button {
  position: absolute;
  top: 20px;
  right: 26px;
  font-size: 30px;
  line-height: 1;
  color: #cfd1d6;
}
.lightbox button:hover {
  color: #fff;
}

/* 与 JS 的 900px 断点保持一致：窄屏一律横排 */
@media (max-width: 900px) {
  .ring-nav {
    display: none;
  }
  .ring-foot {
    margin-top: 16px;
    flex-wrap: wrap;
    row-gap: 10px;
  }
  .ring-hint {
    display: none;
  }
  .ring-count {
    margin-right: 0;
    white-space: nowrap;
  }
  .ring-dot {
    width: 14px;
  }
  .ring-dot.is-on {
    width: 26px;
  }
  .ring__card {
    flex: 0 0 260px;
  }
  .ring__img {
    height: 196px;
  }
}

/* 只在 3D 环绕下 / 只在横排下出现的文案 */
.only-narrow {
  display: none;
}
@media (max-width: 900px) {
  .only-wide {
    display: none;
  }
  .only-narrow {
    display: block;
  }
}

/* ---------- 26. 死党页：环形照片 + 照片墙 ---------- */
/* 照片铺满相框，比留白更像相纸 */
.friends-ring .ring__img img {
  object-fit: cover;
  object-position: 50% 36%;
}
.friends-ring.is-ring .ring__card.is-on .ring__img img {
  transition: transform 1.4s var(--ease);
  transform: scale(1.03);
}

/* 这张页头是横着的一排人脸，白球衣把左侧也照亮了，普通左向渐变压不住 */
.hero--friends.is-filled .hero__shade {
  background: linear-gradient(
    100deg,
    rgba(6, 7, 10, 0.97) 0%,
    rgba(6, 7, 10, 0.89) 34%,
    rgba(6, 7, 10, 0.44) 64%,
    rgba(6, 7, 10, 0.62) 100%
  );
}

/* 批注落在这张的亮墙面上，往下挪一点、投影加重，才看得出是笔迹 */
.hero--friends .hero__hand {
  bottom: 54px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 0 30px rgba(0, 0, 0, 0.8);
}

.life {
  padding: 0 0 92px;
}
.life-count {
  margin-left: 10px;
  font-family: var(--num);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 1.5px;
  color: #8b8f97;
}
.life-wall {
  columns: 4;
  column-gap: 16px;
}
/* JS 接手后改成分列瀑布流：css 多列是「先填满一列再下一列」，
   编号会变成 01 04 11 14 这种跳读，分列后才是从左往右 */
.life-wall.is-mason {
  columns: auto;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.life-col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.is-mason .life-card {
  width: 100%;
  margin: 0;
}
.life-card {
  break-inside: avoid;
  margin: 0 0 16px;
  padding: 0;
  background: #0b0c10;
  border: 1px solid #1b1d24;
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.life-card__btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.life-card img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(0.9) brightness(0.9);
  transition: transform 0.8s var(--ease), filter 0.5s var(--ease);
}
.life-card:hover {
  border-color: rgba(224, 36, 47, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 26px 50px -30px #000;
}
.life-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.02) brightness(1);
}
.life-card__n {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 2px 7px;
  font-family: var(--num);
  font-size: 10px;
  letter-spacing: 1.4px;
  color: rgba(247, 244, 239, 0.88);
  background: rgba(8, 9, 12, 0.55);
  border: 1px solid rgba(247, 244, 239, 0.14);
}
/* 大图浏览：左右翻页 + 底部计数 */
.lightbox--nav img {
  max-width: min(1180px, 94vw);
  max-height: 80vh;
}
.lightbox .lightbox__arrow {
  position: absolute;
  top: 50%;
  right: auto;
  width: 46px;
  height: 46px;
  margin-top: -23px;
  display: grid;
  place-items: center;
  font-size: 15px;
  color: #cfd1d6;
  background: rgba(14, 15, 19, 0.72);
  border: 1px solid #2a2d36;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease),
    background 0.2s var(--ease);
}
.lightbox .lightbox__arrow.is-prev {
  left: 26px;
}
.lightbox .lightbox__arrow.is-next {
  right: 26px;
}
.lightbox .lightbox__arrow:hover {
  color: #fff;
  border-color: var(--red);
  background: rgba(224, 36, 47, 0.2);
}
.lightbox .lightbox__x {
  position: absolute;
  top: 18px;
  right: 26px;
  font-size: 30px;
  line-height: 1;
  color: #cfd1d6;
}
.lightbox__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  pointer-events: none;
}
.lightbox__n {
  font-family: var(--num);
  font-size: 12px;
  letter-spacing: 2px;
  color: #b9bdc6;
}
.lightbox__cap {
  max-width: 60vw;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 12px;
  color: #d8dae0;
}

@media (max-width: 1240px) {
  .life-wall {
    columns: 3;
  }
}
@media (max-width: 860px) {
  /* 这张页头是横着的一排人脸，手机上标题正好压在脸上，竖向压暗才读得清 */
  .hero--friends.is-filled .hero__shade {
    background: linear-gradient(
        180deg,
        rgba(6, 7, 10, 0.94) 0%,
        rgba(6, 7, 10, 0.9) 38%,
        rgba(6, 7, 10, 0.74) 66%,
        rgba(6, 7, 10, 0.34) 100%
      ),
      linear-gradient(
        100deg,
        rgba(6, 7, 10, 0.55) 0%,
        rgba(6, 7, 10, 0.1) 100%
      );
  }
  .life {
    padding-bottom: 64px;
  }
  .life-wall {
    columns: 2;
    column-gap: 12px;
  }
  .life-wall.is-mason {
    gap: 12px;
  }
  .life-col {
    gap: 12px;
  }
  .life-card {
    margin-bottom: 12px;
  }
  .lightbox .lightbox__arrow {
    width: 40px;
    height: 40px;
    margin-top: -20px;
  }
  .lightbox .lightbox__arrow.is-prev {
    left: 8px;
  }
  .lightbox .lightbox__arrow.is-next {
    right: 8px;
  }
  .lightbox__bar {
    bottom: 12px;
  }
}

/* ---------- 27. 作品页：成片播放 ---------- */
/* 封面做成按钮，点了直接放片子 */
.work__cover--btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  text-align: left;
  color: inherit;
}
.work__dur {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 3px 9px;
  font-family: var(--num);
  font-size: 10px;
  letter-spacing: 1.2px;
  color: #f5f2ec;
  background: rgba(8, 9, 12, 0.84);
  border: 1px solid rgba(245, 242, 236, 0.18);
  border-radius: 2px;
}

/* 最新成片横条（首页） */
.vstrip {
  padding: 76px 0;
}
.vstrip__in {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 46px;
  align-items: center;
}
.vstrip__poster {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid #1f2229;
  background: #0b0c10;
  cursor: pointer;
  overflow: hidden;
}
.vstrip__poster img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(0.95) brightness(0.92);
  transition: transform 0.8s var(--ease), filter 0.5s var(--ease);
}
/* 海报底边压一层，别让画面里的字幕露半截 */
.vstrip__poster::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 96px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 9, 12, 0), rgba(8, 9, 12, 0.88));
}
.vstrip__poster:hover img {
  transform: scale(1.03);
  filter: saturate(1.02) brightness(1);
}
.vstrip__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px 10px 15px;
  font-size: 12px;
  letter-spacing: 1.4px;
  color: #f5f2ec;
  background: rgba(224, 36, 47, 0.92);
  border-radius: 2px;
  transition: transform 0.25s var(--ease);
}
.vstrip__play svg {
  width: 10px;
  height: 12px;
}
.vstrip__poster:hover .vstrip__play {
  transform: translate(-50%, -50%) scale(1.06);
}
.vstrip__copy .sec-title {
  margin-bottom: 14px;
}
.vstrip__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.vstrip__tags li {
  padding: 3px 10px;
  font-size: 10px;
  letter-spacing: 1.2px;
  color: #c2c5cc;
  border: 1px solid rgba(247, 244, 239, 0.2);
  border-radius: 2px;
}
@media (max-width: 900px) {
  .vstrip {
    padding: 52px 0;
  }
  .vstrip__in {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

/* ---------- 28. 竖图页头：左侧文字 + 右侧整幅竖图 ---------- */
/* 竖版原图铺满宽屏会被裁得只剩一条，改成右侧一块竖着放 */
.hero--side .hero__photo {
  left: auto;
  width: 42%;
  background-position: 50% var(--fy, 28%);
  filter: saturate(0.92) brightness(0.9);
  border-left: 1px solid rgba(245, 242, 236, 0.08);
}
.hero--side .hero__fade {
  display: none;
}
/* 竖图块底边做个过渡，别和下面硬切 */
.hero--side .hero__photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 110px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 9, 12, 0), #08090c 92%);
}
.hero.hero--side.is-filled .hero__shade {
  background: linear-gradient(
    90deg,
    #06070a 0%,
    #06070a 54%,
    rgba(6, 7, 10, 0.42) 60%,
    rgba(6, 7, 10, 0) 70%
  );
}
.hero--side .hero__hand {
  right: auto;
  left: var(--pad);
  text-align: left;
}
/* 红底那张：块的底色跟图里的红接上 */
.hero--side--red .hero__photo {
  background-color: #d91926;
  background-position: 50% var(--fy, 16%);
  filter: saturate(1.04) brightness(0.92);
}
.hero--side--red .hero__photo::after {
  background: linear-gradient(180deg, rgba(8, 9, 12, 0), rgba(8, 9, 12, 0.55) 78%, #08090c 100%);
}
@media (max-width: 860px) {
  /* 竖图铺满整宽会被裁成横条、人脸掉出画面，这里按每页的人脸位置单独定位 */
  .hero--side .hero__photo {
    left: 0;
    width: 100%;
    background-position: 50% var(--fy-n, 40%);
    border-left: 0;
  }
  /* 红底那张是整幅插画，裁切只剩一张脸；底色与图里的红一致，改成整张放进来 */
  .hero--side--red .hero__photo {
    background-size: contain;
    background-position: 50% 100%;
  }
  .hero.hero--side.is-filled .hero__shade {
    background: linear-gradient(
      180deg,
      rgba(6, 7, 10, 0.92) 0%,
      rgba(6, 7, 10, 0.74) 42%,
      rgba(6, 7, 10, 0.32) 100%
    );
  }
}

/* ---------- 29. AI 短片区块 + 工作台演示入口 ---------- */
.films__count {
  margin-left: 10px;
  font-family: var(--num);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 1.5px;
  color: #8b8f97;
}
.films__row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.film {
  display: block;
  padding: 0;
  text-align: left;
  color: inherit;
  background: #0b0c10;
  border: 1px solid rgba(245, 242, 236, 0.08);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.25s var(--ease), transform 0.3s var(--ease);
}
.film:hover {
  border-color: rgba(224, 36, 47, 0.5);
  transform: translateY(-4px);
}
.film__poster {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0b0c10;
}
.film__poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) brightness(0.9);
  transition: transform 0.8s var(--ease), filter 0.5s var(--ease);
}
.film:hover .film__poster img {
  transform: scale(1.05);
  filter: saturate(1.02) brightness(1);
}
.film__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 13, 18, 0.74);
  border: 1px solid rgba(245, 242, 236, 0.3);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.film__play svg {
  width: 15px;
  height: 17px;
  margin-left: 2px;
}
.film:hover .film__play {
  background: var(--red);
  border-color: var(--red);
}
.film__meta {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 16px 18px 18px;
  border-top: 1px solid rgba(245, 242, 236, 0.07);
}
.film__meta b {
  font-family: var(--num);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1.5px;
  color: var(--red);
}
.film__meta em {
  flex: 1;
  font-style: normal;
  font-size: 16px;
  color: #f2efe9;
}
.film__meta i {
  font-family: var(--num);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 1px;
  color: #8f939c;
}
@media (max-width: 560px) {
  .films__row {
    grid-template-columns: 1fr;
  }
}

/* 技能页：工作台那格可放演示 */
.duo__fig--play {
  position: relative;
}
.duo__play {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px 9px 13px;
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 1.2px;
  color: #f5f2ec;
  background: rgba(224, 36, 47, 0.92);
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.duo__play svg {
  width: 10px;
  height: 12px;
}
.duo__play:hover {
  background: var(--red);
  transform: translate(-50%, calc(-50% - 2px));
}

/* 播放层 */
.lightbox--video {
  padding: 40px 40px 26px;
}
.lightbox__vwrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: min(1180px, 94vw);
}
.lightbox--video video {
  width: 100%;
  max-height: 76vh;
  background: #000;
  border: 1px solid #1f2229;
}
.lightbox__vtitle {
  font-size: 13px;
  letter-spacing: 1px;
  color: #d8dae0;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* 手机上五个身份标签挤一行，别断成两行 */
@media (max-width: 560px) {
  .hero__meta {
    font-size: 12px;
    letter-spacing: 0.4px;
    gap: 10px;
  }
  .hero__name {
    font-size: 22px;
    letter-spacing: 3px;
  }
  .hero__en {
    font-size: 9px;
    letter-spacing: 2.4px;
  }
}

/* ---------- 33. 卡片统一：基础提亮 + 悬停高亮 ---------- */
/* 原则：静态时把正文提到能看清，悬停时线条转红、标题转红、正文再亮一档 */

/* 首页 · 能力卡 */
.cap__t {
  transition: color 0.25s var(--ease);
}
.cap__d {
  font-size: 11.5px;
  color: #9aa0aa;
  transition: color 0.25s var(--ease);
}
.cap:hover {
  border-color: rgba(224, 36, 47, 0.55);
}
.cap:hover .cap__t {
  color: var(--red);
}
.cap:hover .cap__d {
  color: #dfe2e8;
}
.cap:hover .cap__icon {
  background: var(--red);
}
.cap__icon {
  transition: background 0.25s var(--ease);
}
.cap:hover .cap__icon svg {
  stroke: #fff;
}

/* 首页 · 战绩数字卡（本来就有跟鼠标的红光，这里让数字和文字也亮起来） */
.stat__n {
  transition: text-shadow 0.3s var(--ease), color 0.3s var(--ease),
    transform 0.35s var(--ease);
  transform-origin: left center;
}
.stat__l {
  transition: color 0.25s var(--ease);
}
.stat__d {
  transition: color 0.25s var(--ease);
}
.stat:hover .stat__n {
  text-shadow: 0 0 38px rgba(224, 36, 47, 0.8);
  transform: scale(1.1);
  color: #ffffff;
}
.stat:hover .stat__l {
  color: #ffffff;
}
.stat:hover .stat__d {
  color: #d7dae1;
}

/* 联系页 · 三个方向卡 */
.dir {
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease),
    transform 0.3s var(--ease);
}
.dir h2 {
  transition: color 0.25s var(--ease);
}
.dir p {
  transition: color 0.25s var(--ease);
}
.dir:hover {
  border-color: rgba(224, 36, 47, 0.6);
  background: #101218;
  transform: translateY(-3px);
}
.dir:hover h2 {
  color: var(--red);
}
.dir:hover p {
  color: #e4e6eb;
}

/* 荣誉页 · 条目（不是卡片，用左边线亮起来提示） */
.award-list li {
  transition: background 0.25s var(--ease), padding-left 0.25s var(--ease);
}
.award-list h3 {
  transition: color 0.25s var(--ease);
}
.award-list li p {
  color: #9aa0aa;
  transition: color 0.25s var(--ease);
}
.award-list li:hover {
  background: rgba(224, 36, 47, 0.045);
  padding-left: 10px;
}
.award-list li:hover h3 {
  color: #ffffff;
}
.award-list li:hover p {
  color: #d7dae1;
}
.award-list li:hover b {
  color: var(--red);
}

/* 作品卡 · 边框从灰转红，标题提亮 */
.work:hover {
  border-color: rgba(224, 36, 47, 0.5);
}
.work__t {
  transition: color 0.25s var(--ease);
}
.work:hover .work__t {
  color: #ffffff;
}
.work__d {
  color: #a2a6af;
  transition: color 0.25s var(--ease);
}
.work:hover .work__d {
  color: #d7dae1;
}

/* AI 短片卡 · 标题提亮（边框本来就会转红） */
.film__meta em {
  transition: color 0.25s var(--ease);
}
.film:hover .film__meta em {
  color: var(--red);
}

/* 荣誉条目里的小缩略卡：一眼看到有没有原件 */
.award-thumb {
  display: block;
  width: 58px;
  height: 43px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid #22242b;
  background: #0d0e12;
  transition: border-color 0.25s var(--ease);
}
.award-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) brightness(0.82);
  transition: filter 0.25s var(--ease), transform 0.35s var(--ease);
}
.award-thumb.is-empty {
  background: repeating-linear-gradient(
    45deg,
    #0d0e12 0 5px,
    #131419 5px 10px
  );
  border-style: dashed;
}
.award-list li:hover .award-thumb,
.award-list li.is-on .award-thumb {
  border-color: rgba(224, 36, 47, 0.6);
}
.award-list li:hover .award-thumb img,
.award-list li.is-on .award-thumb img {
  filter: none;
  transform: scale(1.06);
}

/* 手机上荣誉条目挤成三行，收成一行：缩略卡 + 年份 + 标题 */
@media (max-width: 640px) {
  .award-list .star {
    display: none;
  }
  .award-list li {
    gap: 12px;
    padding: 14px 0;
  }
  .award-list b {
    min-width: 34px;
    font-size: 11px;
  }
  .award-thumb {
    width: 46px;
    height: 34px;
  }
  .award-list h3 {
    font-size: 15px;
    line-height: 1.5;
  }
  .award-list li p {
    display: none;
  }
}

/* 能力卡现在能点：整块是链接，右上角浮出箭头 */
a.cap {
  color: inherit;
  text-decoration: none;
}
.cap__go {
  position: absolute;
  right: 15px;
  top: 13px;
  font-size: 14px;
  line-height: 1;
  color: var(--red);
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
a.cap:hover .cap__go {
  opacity: 1;
  transform: none;
}
/* 从能力卡跳过去时，别被固定头部挡住 */
.tl__item {
  scroll-margin-top: calc(var(--head-h) + 48px);
}

/* 时间轴焦点条：滚到哪条，哪条字放大、圆点点亮 */
.tl__body h3 {
  transition: color 0.3s var(--ease), font-size 0.3s var(--ease);
}
.tl__d {
  transition: color 0.3s var(--ease), font-size 0.3s var(--ease);
}
.tl__when b,
.tl__when span,
.tl__tags li {
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease),
    font-size 0.3s var(--ease);
}
/* 焦点条标题直接转红，比"变白"明显得多 */
.tl__item.is-focus .tl__body h3 {
  color: var(--red);
  font-size: 23px;
  letter-spacing: 0.6px;
}
.tl__item.is-focus .tl__body h3 em {
  color: #ff9ba0;
}
.tl__item.is-focus .tl__d {
  color: #f4f5f8;
  font-size: 13.6px;
}
.tl__item.is-focus .tl__d .hl {
  color: #ffffff;
}
.tl__item.is-focus .tl__when b {
  color: #ff6b73;
  font-size: 13.2px;
}
.tl__item.is-focus .tl__when span {
  color: #ffffff;
  border-color: rgba(224, 36, 47, 0.7);
  background: rgba(224, 36, 47, 0.12);
}
.tl__item.is-focus .tl__dot {
  background: var(--red);
  transform: scale(1.55);
  box-shadow: 0 0 0 3px #08090c, 0 0 0 8px rgba(224, 36, 47, 0.16),
    0 0 24px rgba(224, 36, 47, 0.5);
}
.tl__item.is-focus .tl__tags li {
  color: #d2d5dc;
  border-color: #3b404a;
}

/* 经历页 · 项目实践卡：和其他卡片同一套悬停语言 */
.proj {
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease),
    transform 0.3s var(--ease);
}
.proj__t {
  transition: color 0.25s var(--ease);
}
.proj__d {
  font-size: 13px;
  color: #a2a6af;
  transition: color 0.25s var(--ease);
}
.proj__foot {
  color: #9aa0aa;
  transition: color 0.25s var(--ease);
}
.proj:hover {
  background: #101218;
  border-color: rgba(224, 36, 47, 0.55);
  transform: translateY(-3px);
}
/* 悬停整卡字体放大一档，标题更明显 */
.proj:hover .proj__t {
  color: var(--red);
  font-size: 21px;
}
.proj:hover .proj__d {
  color: #e4e6eb;
}
/* 正文里的数字单独放大、转白，这是卡片里最该跳出来的东西 */
.proj__d .hl {
  display: inline-block;
  line-height: 1;
  transition: font-size 0.25s var(--ease), color 0.25s var(--ease),
    text-shadow 0.25s var(--ease);
}
.proj:hover .proj__d .hl {
  font-size: 1.55em;
  color: #ffffff;
  text-shadow: 0 0 18px rgba(224, 36, 47, 0.55);
}
.proj:hover .proj__foot {
  color: #d7dae1;
}
.proj:hover .proj__tag {
  border-color: rgba(224, 36, 47, 0.7);
}

/* 技能标签也点得亮：悬停变白、边框转红 */
.skill-tags span {
  transition: color 0.22s var(--ease), border-color 0.22s var(--ease),
    background 0.22s var(--ease);
}
.skill-tags span:hover {
  color: #ffffff;
  border-color: rgba(224, 36, 47, 0.6);
  background: rgba(224, 36, 47, 0.09);
}
.skill-group__h {
  transition: color 0.25s var(--ease);
}
.skill-group:hover .skill-group__h {
  color: var(--red);
}

/* ---------- 34. 技能树状图 ---------- */
.tree {
  position: relative;
}
.tree__root {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
}
.tree__root span {
  position: relative;
  padding-left: 18px;
  font-size: 12px;
  letter-spacing: 3px;
  color: #d2d5dc;
}
.tree__root span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(224, 36, 47, 0.14);
}
/* 根节点往下的竖干 */
.tree__root::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 1px;
  height: 30px;
  background: #2b2f37;
}
/* 三根主枝：一条横线 + 三个下垂点 */
.tree__branches {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
  margin-top: 30px;
  padding-top: 34px;
}
.tree__branches::before {
  content: "";
  position: absolute;
  top: 0;
  left: 16.666%;
  right: 16.666%;
  height: 1px;
  background: #2b2f37;
}
.tree__branch {
  position: relative;
}
.tree__branch::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -34px;
  width: 1px;
  height: 34px;
  background: #2b2f37;
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.tree__h {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
  color: var(--text-2);
  transition: color 0.25s var(--ease);
}
.tree__h::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3b404a;
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
/* 叶子挂在一根虚线上 */
.tree__leaf {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0 2px;
  padding-left: 14px;
  border-left: 1px dashed #262a32;
}
.tree__leaf li {
  padding: 7px 13px;
  font-size: 12.5px;
  color: #cfd1d6;
  background: #101218;
  border: 1px solid #1e2027;
  border-radius: 2px;
  transition: color 0.22s var(--ease), border-color 0.22s var(--ease),
    background 0.22s var(--ease), transform 0.22s var(--ease);
}
.tree__leaf li:hover {
  color: #ffffff;
  border-color: rgba(224, 36, 47, 0.6);
  background: rgba(224, 36, 47, 0.09);
  transform: translateY(-2px);
}
/* 悬停整条枝：枝线转红、圆点发光、标题变红 */
.tree__branch:hover::before {
  background: rgba(224, 36, 47, 0.7);
  box-shadow: 0 0 10px rgba(224, 36, 47, 0.45);
}
.tree__branch:hover .tree__h {
  color: var(--red);
}
.tree__branch:hover .tree__h::before {
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(224, 36, 47, 0.16);
}
/* 手机上竖过来：左侧一根主干，每个分支横着接出去 */
@media (max-width: 860px) {
  .tree__root {
    justify-content: flex-start;
  }
  .tree__root::after {
    left: 4px;
    height: 24px;
  }
  .tree__branches {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 24px;
    padding-top: 0;
    padding-left: 4px;
  }
  .tree__branches::before {
    left: 0;
    right: auto;
    top: 0;
    width: 1px;
    height: 100%;
    background: #2b2f37;
  }
  .tree__branch {
    padding: 0 0 26px 26px;
  }
  .tree__branch:last-child {
    padding-bottom: 0;
  }
  .tree__branch::before {
    left: 0;
    top: 12px;
    width: 26px;
    height: 1px;
  }
  /* 手机上主干已经很清楚，叶子那根虚线去掉，别叠成一团 */
  .tree__leaf {
    border-left: 0;
    padding-left: 0;
  }
}

/* ---------- 35. 技能树开场动效 ---------- */
.tree__root {
  position: relative;
}
/* 光点：从根节点沿着竖干滑下来 */
.tree__spark {
  position: absolute;
  left: 50%;
  top: 100%;
  width: 9px;
  height: 9px;
  margin: -4px 0 0 -4.5px;
  border-radius: 50%;
  background: #ff4049;
  box-shadow: 0 0 0 4px rgba(224, 36, 47, 0.22), 0 0 22px 5px rgba(224, 36, 47, 0.55);
  opacity: 0;
  pointer-events: none;
  z-index: 3;
}
.tree.is-play .tree__spark {
  animation: sparkRun 1.15s cubic-bezier(0.45, 0, 0.55, 1) 0.15s 1 both;
}
@keyframes sparkRun {
  0% {
    opacity: 0;
    transform: translateY(-8px) scale(0.5);
  }
  25% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  70% {
    opacity: 1;
    transform: translateY(28px) scale(1.05);
  }
  100% {
    opacity: 0;
    transform: translateY(34px) scale(1.4);
  }
}

/* 未播放前先藏起来，播放时按顺序长出来 */
.js .tree:not(.is-play) .tree__root span,
.js .tree:not(.is-play) .tree__h,
.js .tree:not(.is-play) .tree__leaf li {
  opacity: 0;
}
.js .tree:not(.is-play) .tree__leaf li {
  transform: translateY(9px);
}
.js .tree:not(.is-play) .tree__branches::before {
  transform: scaleX(0);
}
.js .tree:not(.is-play) .tree__branch::before {
  transform: scaleY(0);
}

.tree__branches::before {
  transform-origin: 50% 50%;
}
.tree__branch::before {
  transform-origin: 50% 0;
}
.tree.is-play .tree__root span {
  opacity: 1;
  transition: opacity 0.45s var(--ease) 0.1s;
}
.tree.is-play .tree__branches::before {
  transform: scaleX(1);
  transition: transform 0.55s var(--ease) 0.95s;
}
/* 三根枝条依次长出来 */
.tree.is-play .tree__branch:nth-child(1)::before {
  transform: scaleY(1);
  transition: transform 0.26s var(--ease) 1.2s;
}
.tree.is-play .tree__branch:nth-child(2)::before {
  transform: scaleY(1);
  transition: transform 0.26s var(--ease) 1.36s;
}
.tree.is-play .tree__branch:nth-child(3)::before {
  transform: scaleY(1);
  transition: transform 0.26s var(--ease) 1.52s;
}
.tree.is-play .tree__branch:nth-child(1) .tree__h {
  opacity: 1;
  transition: opacity 0.4s var(--ease) 1.34s;
}
.tree.is-play .tree__branch:nth-child(2) .tree__h {
  opacity: 1;
  transition: opacity 0.4s var(--ease) 1.5s;
}
.tree.is-play .tree__branch:nth-child(3) .tree__h {
  opacity: 1;
  transition: opacity 0.4s var(--ease) 1.66s;
}
/* 叶子一个个冒出来（--d 由脚本按顺序写） */
.tree.is-play .tree__leaf li {
  opacity: 1;
  transform: none;
  transition: opacity 0.45s var(--ease) var(--d, 1.75s),
    transform 0.45s var(--ease) var(--d, 1.75s);
}
@media (prefers-reduced-motion: reduce) {
  .js .tree .tree__root span,
  .js .tree .tree__h,
  .js .tree .tree__leaf li {
    opacity: 1 !important;
    transform: none !important;
  }
  .js .tree .tree__branches::before,
  .js .tree .tree__branch::before {
    transform: none !important;
  }
  .tree__spark {
    display: none;
  }
}

/* 手机上方向卡内容少，别硬撑 210 高 */
@media (max-width: 860px) {
  .dir {
    min-height: 0;
    padding: 24px 22px 26px;
  }
  .dir h2 {
    margin-top: 12px;
    font-size: 24px;
  }
  .dir p {
    font-size: 14px;
  }
}

/* ---------- 36. 音效开关 ---------- */
.sfx-toggle {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(17, 19, 25, 0.94);
  border: 1px solid #3b404a;
  box-shadow: 0 8px 22px -10px #000;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.sfx-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #c2c5cc;
  stroke-width: 1.3;
  stroke-linejoin: round;
  stroke-linecap: round;
  transition: stroke 0.25s var(--ease);
}
.sfx-toggle svg path:first-child {
  fill: #c2c5cc;
  stroke: none;
  transition: fill 0.25s var(--ease);
}
.sfx-toggle .sfx-wave {
  opacity: 0.35;
  transition: opacity 0.25s var(--ease);
}
.sfx-toggle .sfx-slash {
  opacity: 1;
  stroke: #c2c5cc;
  transition: opacity 0.25s var(--ease);
}
.sfx-toggle:hover {
  border-color: rgba(224, 36, 47, 0.6);
  transform: translateY(-2px);
}
/* 打开时：喇叭变白、声波亮起、斜杠消失 */
.sfx-toggle.is-on {
  border-color: rgba(224, 36, 47, 0.75);
  background: rgba(24, 12, 14, 0.9);
}
.sfx-toggle.is-on svg {
  stroke: #ffffff;
}
.sfx-toggle.is-on svg path:first-child {
  fill: #ffffff;
}
.sfx-toggle.is-on .sfx-wave {
  opacity: 1;
  stroke: var(--red);
}
.sfx-toggle.is-on .sfx-slash {
  opacity: 0;
}
@media (max-width: 560px) {
  .sfx-toggle {
    right: 14px;
    bottom: 14px;
    width: 38px;
    height: 38px;
  }
}

/* 项目卡：日期做成顶部居中的小标签，底部那行重复数据已删 */
.proj__date {
  align-self: center;
  margin-bottom: 2px;
  padding: 3px 12px 4px;
  font-family: var(--num);
  font-size: 11.5px;
  letter-spacing: 1.6px;
  color: #b3b7bf;
  border: 1px solid #262a32;
  border-radius: 2px;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.proj:hover .proj__date {
  color: #ffffff;
  border-color: rgba(224, 36, 47, 0.6);
}

/* ---------- 37. 影像记录：说明做成常驻横向流动条 ---------- */
.shots figure {
  cursor: default;
}
/* 顶部一条半透明条，文字从左往右不停流动，鼠标放上去也不停 */
.shot__ticker {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 40px;
  overflow: hidden;
  padding: 6px 0 8px;
  background: none;
  pointer-events: none;
  /* 左右两端淡出，字不会硬切 */
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 6%,
    #000 94%,
    transparent 100%
  );
}
.shot__ticker-in {
  display: flex;
  width: max-content;
  animation: shotTicker 26s linear infinite;
  will-change: transform;
}
.shot__ticker-in span {
  display: block;
  padding-right: 72px;
  font-size: 12.5px;
  line-height: 1.6;
  letter-spacing: 0.3px;
  white-space: nowrap;
  color: #ffffff;
  /* 八方向投影当描边，比 text-stroke 稳，浅色图上也能读 */
  text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.9), 1px -1px 0 rgba(0, 0, 0, 0.9),
    -1px 1px 0 rgba(0, 0, 0, 0.9), 1px 1px 0 rgba(0, 0, 0, 0.9),
    0 -1px 0 rgba(0, 0, 0, 0.9), 0 1px 0 rgba(0, 0, 0, 0.9),
    -1px 0 0 rgba(0, 0, 0, 0.9), 1px 0 0 rgba(0, 0, 0, 0.9),
    0 2px 10px rgba(0, 0, 0, 0.85);
}
.shots figure:nth-child(2) .shot__ticker-in {
  animation-duration: 31s;
}
.shots figure:nth-child(3) .shot__ticker-in {
  animation-duration: 22s;
}
.shots figure:nth-child(4) .shot__ticker-in {
  animation-duration: 34s;
}
@keyframes shotTicker {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .shot__ticker-in {
    animation: none;
    transform: none;
  }
}
/* 悬停时图片轻微放大（说明条继续滚，不暂停） */
.shots figure:hover img {
  transform: scale(1.05);
  filter: brightness(0.95);
}

/* ---------- 38. 大段文字从上往下逐行滑入 ---------- */
.js [data-rise] {
  opacity: 0;
  transform: translateY(-26px);
}
[data-rise].is-rise {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s var(--ease) var(--rd, 0s),
    transform 0.8s var(--ease) var(--rd, 0s);
}
@media (prefers-reduced-motion: reduce) {
  .js [data-rise] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- 39. 顶部小字：光点扫过从左到右渐显 ---------- */
.hero__meta {
  position: relative;
}
/* 扫过的光点 */
.hero__spark {
  position: absolute;
  top: 50%;
  left: 0;
  width: 150px;
  height: 4px;
  margin-top: -2px;
  border-radius: 2px;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    50% 50% at 50% 50%,
    rgba(255, 130, 118, 0.95) 0%,
    rgba(224, 36, 47, 0.55) 45%,
    rgba(224, 36, 47, 0) 72%
  );
  filter: blur(1.2px);
  z-index: 2;
}
.hero__meta.is-swept .hero__spark {
  animation: sparkSweep 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes sparkSweep {
  0% {
    opacity: 0;
    transform: translateX(-40px);
  }
  14% {
    opacity: 1;
  }
  86% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(var(--spark-w, 620px));
  }
}

/* 文字整体从左到右显影：纯 CSS 动画，跑完自动恢复正色，不依赖 JS */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .js [data-sweep] {
    --sw-dur: 1.5s;
    --sw-delay: 0.3s;
    background-image: linear-gradient(
      90deg,
      currentColor 0%,
      currentColor 52%,
      rgba(255, 255, 255, 0.1) 52%,
      rgba(255, 255, 255, 0.1) 100%
    );
    background-size: 210% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.3);
    animation: sweepReveal var(--sw-dur) cubic-bezier(0.4, 0, 0.2, 1) var(--sw-delay) 1 both;
  }
  @keyframes sweepReveal {
    0% {
      background-position: 100% 0;
      -webkit-text-fill-color: rgba(255, 255, 255, 0.3);
    }
    94% {
      background-position: 0 0;
      -webkit-text-fill-color: rgba(255, 255, 255, 0.3);
    }
    100% {
      background-position: 0 0;
      -webkit-text-fill-color: currentColor;
      background-image: none;
    }
  }
  /* 大标题笔画多，慢一点 */
  .hero__title[data-sweep],
  .page-title[data-sweep] {
    --sw-dur: 1.85s;
  }
  /* 延迟按元素排：标题 → 介绍 → 标签 */
  [data-sweep="420"] {
    --sw-delay: 0.42s;
  }
  [data-sweep="520"] {
    --sw-delay: 0.7s;
  }
  [data-sweep="640"] {
    --sw-delay: 0.85s;
  }
}
/* 首页那五个身份标签：单个悬停放大 */
.hero__meta > span {
  display: inline-block;
  transition: color 0.22s var(--ease), transform 0.22s var(--ease);
}
.hero__meta > span:hover {
  color: #ffffff;
  transform: translateY(-1px) scale(1.1);
}
@media (prefers-reduced-motion: reduce) {
  .js [data-sweep] {
    background-image: none !important;
    -webkit-text-fill-color: currentColor !important;
    color: inherit !important;
  }
  .hero__spark {
    display: none;
  }
}

/* ---------- 40. 音量滑块 ---------- */
.vol {
  position: fixed;
  right: 74px;
  bottom: 32px;
  z-index: 119;
  width: 78px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(6px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.sfx-toggle.is-on ~ .vol,
.vol:hover,
.vol:focus-within {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.vol input {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 3px;
  background: #3b404a;
  outline: none;
  cursor: pointer;
}
.vol input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--red);
  border: 0;
  box-shadow: 0 0 0 3px rgba(224, 36, 47, 0.18);
  transition: box-shadow 0.2s var(--ease);
}
.vol input::-webkit-slider-thumb:hover {
  box-shadow: 0 0 0 5px rgba(224, 36, 47, 0.26);
}
.vol input::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 50%;
  background: var(--red);
}
@media (max-width: 560px) {
  .vol {
    right: 62px;
    bottom: 24px;
    width: 66px;
  }
}

/* 大标题被"刮"出来的显影慢一点，笔画多 */
.hero__title[data-sweep],
.page-title[data-sweep] {
  transition: background-position 1.85s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
/* 火花：光点后面拖几粒火星，像刀刮过地面溅起来的 */
.hero__spark::before,
.hero__spark::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: #ffd9a8;
  box-shadow: 0 0 7px 2px rgba(255, 150, 90, 0.85);
  opacity: 0;
}
.hero__spark::before {
  width: 3px;
  height: 3px;
  left: 46%;
  top: -2px;
  animation: sparkFlyA 0.75s ease-out infinite;
}
.hero__spark::after {
  width: 2px;
  height: 2px;
  left: 58%;
  top: 2px;
  animation: sparkFlyB 0.95s ease-out infinite 0.18s;
}
@keyframes sparkFlyA {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.6);
  }
  25% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(18px, -16px) scale(0.2);
  }
}
@keyframes sparkFlyB {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.6);
  }
  25% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-14px, 12px) scale(0.2);
  }
}
/* 副标题、介绍文字悬停轻微放大提亮 */
.hero__sub,
.page-sub {
  transform-origin: left top;
  transition: color 0.22s var(--ease), transform 0.28s var(--ease);
}
.hero__sub:hover,
.page-sub:hover {
  color: #ffffff;
  transform: scale(1.02);
}
@media (prefers-reduced-motion: reduce) {
  .hero__spark::before,
  .hero__spark::after {
    display: none;
  }
}

/* 大标题不走 background-clip（那套会让字在不同 DPI 下渲染变样），只做上滑淡入 */
.hero__title[data-rise],
.page-title[data-rise] {
  transform: translateY(-18px);
}
.hero__title[data-rise].is-rise,
.page-title[data-rise].is-rise {
  transform: none;
}

/* ---------- 41. 3D 形象舞台 ---------- */
.studio {
  padding: 84px 0 96px;
}
.studio__stage {
  position: relative;
  height: 620px;
  margin-top: 30px;
  overflow: hidden;
  border: 1px solid #1b1d24;
  background: radial-gradient(
    120% 88% at 50% 4%,
    #171a21 0%,
    #0b0d12 44%,
    #05060a 100%
  );
  isolation: isolate;
}
/* 顶部打下来的一束光 */
.studio__cone {
  position: absolute;
  left: 50%;
  top: -10%;
  width: 64%;
  height: 88%;
  transform: translateX(-50%);
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 246, 238, 0.15) 0%,
    rgba(255, 246, 238, 0.05) 48%,
    rgba(255, 246, 238, 0) 78%
  );
  clip-path: polygon(43% 0, 57% 0, 84% 100%, 16% 100%);
  filter: blur(34px);
  opacity: 0.72;
  mix-blend-mode: screen;
  z-index: 1;
}
/* 灯口那个亮点 */
.studio__cone::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 160px;
  height: 74px;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    50% 50% at 50% 50%,
    rgba(255, 246, 238, 0.55) 0%,
    rgba(255, 236, 220, 0.18) 42%,
    rgba(255, 236, 220, 0) 72%
  );
  filter: blur(16px);
}
/* 落在地上的光斑 */
.studio__floor {
  position: absolute;
  left: 50%;
  bottom: 2%;
  width: 44%;
  height: 128px;
  transform: translateX(-50%);
  pointer-events: none;
  background: radial-gradient(
    50% 50% at 50% 50%,
    rgba(255, 214, 190, 0.26) 0%,
    rgba(255, 170, 140, 0.08) 52%,
    rgba(255, 170, 140, 0) 74%
  );
  filter: blur(14px);
  z-index: 1;
}
/* 空气里的浮尘 */
.studio__dust {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
  z-index: 2;
}
.studio__dust li {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: rgba(255, 240, 228, 0.9);
  box-shadow: 0 0 8px rgba(255, 200, 170, 0.75);
  opacity: 0;
  animation: dustFloat var(--dur) linear var(--delay) infinite;
}
@keyframes dustFloat {
  0% {
    opacity: 0;
    transform: translate3d(0, 24px, 0) scale(0.5);
  }
  16% {
    opacity: 0.9;
  }
  72% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--dx), -120px, 0) scale(1);
  }
}
/* 模型容器 */
.studio__slot {
  position: absolute;
  inset: 0;
  z-index: 3;
}
.studio__slot model-viewer {
  display: block;
  width: 100%;
  height: 100%;
  transform: scale(0.84);
  transform-origin: 50% 46%;
  background-color: transparent;
  --poster-color: transparent;
  opacity: 0;
  transition: opacity 0.9s var(--ease);
}
.studio__stage.is-ready .studio__slot model-viewer {
  opacity: 1;
}
/* 未加载时的提示层 */
.studio__idle {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transition: opacity 0.35s var(--ease);
}
.studio__stage.is-loading .studio__idle,
.studio__stage.is-ready .studio__idle {
  opacity: 0;
  pointer-events: none;
}
.studio__hint {
  margin: 0;
  font-family: var(--num);
  font-size: 11.5px;
  letter-spacing: 2px;
  color: #8f939e;
}
.studio__btn {
  min-width: 176px;
}
/* 加载进度条 */
.studio__bar {
  width: 176px;
  height: 2px;
  background: #23262e;
  overflow: hidden;
}
.studio__bar i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--red);
  transition: width 0.25s linear;
}
@media (max-width: 860px) {
  .studio {
    padding: 64px 0 72px;
  }
  .studio__stage {
    height: 400px;
    margin-top: 22px;
  }
  .studio__cone {
    width: 92%;
  }
  .studio__floor {
    width: 62%;
    height: 92px;
  }
}
