/* =========================================================
   深色高级感作品集 · 样式
   配色/字体集中在 :root，便于整体微调
   ========================================================= */
:root {
  --bg:        #0a0a0b;   /* 近黑底色 */
  --bg-soft:   #111113;   /* 段落交替底 */
  --surface:   #161618;   /* 卡片 */
  --text:      #f4f3ef;   /* 主文字（暖白） */
  --text-dim:  #9a988f;   /* 次要文字 */
  --text-mute: #56544d;   /* 极弱文字 */
  --line:      #262521;   /* 分隔线 */
  --accent:    #d8c9a8;   /* 暖金点缀（可改） */
  --accent-2:  #e8553a;   /* 第二点缀（可选） */
  --maxw:      1360px;
  --shell-pad: clamp(16px, 5vw, 64px);
  --content-w: min(calc(100vw - (var(--shell-pad) * 2)), var(--maxw));
  --ease:      cubic-bezier(.16,1,.3,1);
  --font-en:   'Bahnschrift', 'DIN Alternate', 'Arial Narrow', 'Segoe UI', Arial, sans-serif;
  --font-cn:   'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', 'Segoe UI', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
img, video, canvas, svg { max-width: 100%; height: auto; display: block; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-cn);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  -webkit-user-select: none;
  user-select: none;
}

::selection { background: transparent; color: inherit; }

img, video {
  -webkit-user-drag: none;
  user-select: none;
}

a { color: inherit; text-decoration: none; }

/* ---------- 鼠标光晕 ---------- */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 520px; height: 520px;
  margin: -260px 0 0 -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216,201,168,.10) 0%, rgba(216,201,168,0) 60%);
  pointer-events: none;
  z-index: 1;
  transform: translate3d(-100px,-100px,0);
  will-change: transform;
  transition: opacity .4s;
  mix-blend-mode: screen;
}

/* ---------- 导航 ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--shell-pad);
  background: rgba(10,10,11,.42);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.04);
  transition: background .4s var(--ease), backdrop-filter .4s, border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.nav.is-scrolled {
  background: rgba(10,10,11,.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.nav__brand { text-decoration: none; }
.nav__pill {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 100px;
  background: rgba(22,22,24,.65);
  backdrop-filter: blur(8px);
  font-family: var(--font-en);
  font-weight: 400;
  letter-spacing: .16em;
  font-size: 13px;
  color: rgba(244,243,239,.88);
}
.nav__center {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 8px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 100px;
  background: rgba(22,22,24,.65);
  backdrop-filter: blur(8px);
}
.nav__center a {
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  color: rgba(244,243,239,.58);
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .3s, background .3s;
}
.nav__center a:hover { color: rgba(244,243,239,.92); background: rgba(255,255,255,.04); }
.nav__contact {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 18px;
  border-radius: 100px;
  background: #ff7a2f;
  color: #fff;
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: .14em;
  transition: transform .3s var(--ease), background .3s;
}
.nav__contact:hover { transform: translateY(-1px); background: #ff8d4d; }

/* ---------- 通用 section 标签 ---------- */
.section-tag {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: .28em;
  color: var(--text-mute);
  text-transform: uppercase;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0 clamp(20px, 5vw, 64px);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__layer {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: .5;
  will-change: transform;
}
.hero__layer--1 {
  width: 46vw; height: 46vw;
  top: -8vw; right: -6vw;
  background: radial-gradient(circle, rgba(232,85,58,.22), transparent 65%);
}
.hero__layer--2 {
  width: 38vw; height: 38vw;
  bottom: -10vw; left: -8vw;
  background: radial-gradient(circle, rgba(216,201,168,.16), transparent 65%);
}
/* 交互式点阵（DotField）：网格小点 + 鼠标鼓包 + 随光标柔光 */
.dot-field-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.dot-field-glow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
}
/* Aurora（React Bits 移植）流光层：置于网格/粒子之下，作为底层氛围光 */
.hero__aurora {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: .28;
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding-top: 88px; /* 给固定导航留空间 */
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: clamp(24px, 3.2vw, 48px);
  align-items: start;
}
.hero__top {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: clamp(16px, 3vh, 30px);
  padding-left: 0;
}
.hero__intro {
  max-width: none;
  padding-right: 0;
  margin-left: 0;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero__eyebrow {
  font-family: var(--font-en);
  letter-spacing: .16em;
  font-size: 12px;
  line-height: 1.45;
  margin-bottom: 0;
  text-transform: uppercase;
  color: #ffb27a;
  background: linear-gradient(90deg, #ffb56f 0%, #fff0d8 42%, #ff8a3d 68%, #ffd9b6 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 8px rgba(255, 140, 74, .12);
  animation: heroEyebrowGlow 4.2s linear infinite;
}

@keyframes heroEyebrowGlow {
  0% {
    background-position: 0% 50%;
    filter: brightness(.96);
  }
  50% {
    background-position: 100% 50%;
    filter: brightness(1.12);
  }
  100% {
    background-position: 0% 50%;
    filter: brightness(.96);
  }
}
.hero__desc {
  grid-column: auto;
  align-self: auto;
  max-width: 560px;
  margin-top: 0;
  padding-top: 0;
  font-size: 14px;
  color: rgba(244,243,239,.64);
  font-weight: 400;
  letter-spacing: .02em;
  line-height: 2;
  justify-self: auto;
  text-align: left;
}
.hero__meta {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: .24em;
  color: rgba(244,243,239,.28);
  text-transform: uppercase;
  text-align: right;
  padding-top: 2px;
  padding-right: 0;
  justify-self: end;
}
.hero__meta span { display: block; font-size: 16px; color: rgba(244,243,239,.76); letter-spacing: .16em; margin-top: 6px; }
.hero__title {
  grid-column: 1 / -1;
  font-family: var(--font-en);
  font-weight: 300;
  font-size: clamp(72px, 14vw, 214px);
  line-height: .82;
  letter-spacing: .085em;
  text-transform: uppercase;
  max-width: none;
  margin-left: 0;
}
.hero__title .line { display: block; }
.hero__title .line--sub {
  font-size: clamp(38px, 7.6vw, 116px);
  line-height: .84;
  letter-spacing: .12em;
  color: rgba(244, 243, 255, .88);
}
.hero__title .line--vs { white-space: nowrap; }
.hero__scroll { display: none; }

/* 原生 SplitText 等价：字符入场（仅脚本可用时预隐藏标题，避免无 JS 时不可见） */
html.js .hero__title { opacity: 0; }
.st-char { display: inline-block; will-change: transform, opacity; }

/* ---------- 关于 / 工作经历时间轴 ---------- */
.about {
  padding: clamp(90px, 14vh, 180px) 0;
  border-top: 1px solid var(--line);
}
.about__inner { max-width: var(--maxw); margin: 0 auto; }
.about__head {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: end;
  width: var(--content-w);
  max-width: 100%;
  margin: 0 auto 72px;
  gap: 24px;
  padding: 0;
}
.about__head .section-tag {
  font-size: 11px;
  letter-spacing: .32em;
  color: var(--text-mute);
}
.about__heading {
  font-size: clamp(28px, 3.6vw, 52px);
  font-weight: 500;
  letter-spacing: -.03em;
}

/* 工作经历：大屏横向时间轴，小屏自动切为竖向刷版 */
.timeline {
  position: relative;
  width: var(--content-w);
  max-width: 100%;
  margin: 0 auto;
  padding-left: 0;
}
.timeline__track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
  position: relative;
  padding-top: 42px;
  align-items: stretch;
}
.timeline__track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 8px;
  height: 1px;
  width: auto;
  background: linear-gradient(90deg, transparent 0%, rgba(86,84,77,.45) 4%, rgba(86,84,77,.62) 50%, rgba(86,84,77,.45) 96%, transparent 100%);
}
.timeline__node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: start;
  min-height: 100%;
  padding: clamp(24px, 2.5vw, 30px);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015)),
    radial-gradient(circle at 100% 0%, rgba(255,157,77,.08), transparent 38%),
    var(--bg-soft);
  box-shadow: 0 24px 56px -40px rgba(0,0,0,.55);
  transition: transform .35s var(--ease), border-color .35s ease, box-shadow .35s ease;
}
.timeline__dot {
  position: absolute;
  top: -40px;
  left: 24px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ff9d4d;
  box-shadow: 0 0 0 4px rgba(255, 157, 77, .16),
              0 0 0 8px rgba(255, 157, 77, .08),
              0 0 22px rgba(255, 157, 77, .55);
}
.timeline__date {
  position: relative;
  top: auto;
  left: auto;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: .2em;
  color: #ff9d4d;
  white-space: normal;
  line-height: 1.35;
  padding-top: 0;
}
.timeline__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 0;
}
.timeline__company {
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.3;
  margin-bottom: 0;
  color: var(--text);
}
.timeline__role {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  width: fit-content;
  max-width: 100%;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 100px;
  background: rgba(255, 157, 77, .08);
  border: 1px solid rgba(255, 157, 77, .28);
  color: #ff9d4d;
  font-size: 11px;
  letter-spacing: .12em;
  margin-bottom: 0;
}
.timeline__desc {
  position: relative;
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.9;
  font-weight: 400;
  max-height: none;
  overflow: visible;
  transition: color .35s ease;
}
.timeline__desc::after { display: none; }
.timeline__node:hover,
.timeline__node:focus-within {
  transform: translateY(-4px);
  border-color: rgba(255,157,77,.24);
  box-shadow: 0 32px 72px -46px rgba(0,0,0,.72);
}
.timeline__node:hover .timeline__desc,
.timeline__node:focus-within .timeline__desc {
  color: var(--text);
}

/* 时间轴节点依次渐显 */
.timeline__node.reveal:nth-child(1) { transition-delay: 0ms; }
.timeline__node.reveal:nth-child(2) { transition-delay: 120ms; }
.timeline__node.reveal:nth-child(3) { transition-delay: 240ms; }
.timeline__node.reveal:nth-child(4) { transition-delay: 360ms; }

/* ---------- 作品 ---------- */
.work {
  --work-stage-width: var(--content-w);
  --work-copy-width: 260px;
  padding: clamp(84px, 12vh, 150px) 0;
  border-top: 1px solid var(--line);
}
.work__intro {
  width: var(--work-stage-width);
  max-width: 100%;
  margin: 0 auto clamp(48px, 8vh, 104px);
  padding: 0;
  display: grid;
  grid-template-columns: var(--work-copy-width) minmax(0, 1fr);
  align-items: end;
  gap: clamp(24px, 3vw, 42px);
}
.work__heading {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 58px);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 10px 0 0;
}

.work__list {
  width: var(--work-stage-width);
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(52px, 6vw, 96px);
}
.project {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3vw, 38px);
  align-items: stretch;
  padding: clamp(28px, 2.5vw, 34px);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 24px;
  background: rgba(255,255,255,.018);
  box-shadow: none;
  transition: transform .4s var(--ease), border-color .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease);
}
.project__layout {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: clamp(28px, 3.4vw, 52px);
  align-items: start;
}
.project:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.1);
  background: rgba(255,255,255,.024);
  box-shadow: 0 18px 40px -42px rgba(0,0,0,.72);
}
.project__head {
  width: 100%;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding-bottom: 0;
  border-bottom: none;
}
.project__stage {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.project__index {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1;
  color: rgba(244,243,239,.34);
  letter-spacing: .14em;
  transition: color .4s var(--ease);
  padding-top: 2px;
  opacity: .72;
  align-self: start;
}
.project:hover .project__index { color: var(--accent); }
.project__info {
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-self: start;
}
.project__cat {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: .36em;
  color: rgba(244,243,239,.34);
  text-transform: uppercase;
  opacity: 1;
  display: block;
  min-height: 14px;
  font-weight: 400;
}
.project__title {
  font-family: var(--font-cn);
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 300;
  line-height: 1.28;
  margin: 18px 0 20px;
  letter-spacing: .02em;
  color: rgba(244,243,239,.84);
}
.project__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.project__tags span {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(244,243,239,.42);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 100px;
  padding: 5px 11px;
  background: rgba(255,255,255,.008);
  font-weight: 400;
}
.project__desc {
  font-size: 14px;
  line-height: 2;
  color: rgba(244,243,239,.5);
  letter-spacing: .025em;
  margin: 0;
  max-width: 32ch;
  font-weight: 400;
}
.project__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: auto;
  padding-top: 0;
  align-self: stretch;
}
.project__view {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: .24em;
  color: rgba(244,243,239,.72);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  background: rgba(255,255,255,.012);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 999px;
  padding: 10px 16px;
  align-self: flex-end;
  margin-left: auto;
  white-space: nowrap;
  text-transform: uppercase;
  font-weight: 400;
  transition: transform .3s var(--ease), color .3s ease, border-color .3s ease, background .3s ease;
}
.project__view::after { content: '→'; transition: transform .3s var(--ease); }
.project__view:hover {
  color: var(--accent);
  background: rgba(255,255,255,.055);
  border-color: rgba(216,201,168,.3);
  transform: translateY(-1px);
}
.project__view:hover::after { transform: translateX(6px); }

/* 精选作品集：主图 + 缩略图切换条 */
.project__gallery {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-self: stretch;
  align-items: center;
}
.project__main {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 86vh;
  border-radius: 28px;
  overflow: hidden;
  background: var(--surface);
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.08);
  padding: 0;
  font: inherit;
  color: inherit;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.02),
    0 18px 40px -28px rgba(0,0,0,.55),
    0 0 0 1px rgba(255,255,255,.02);
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
}
.project__main.is-adaptive-frame {
  width: min(100%, var(--project-stage-main-max, 960px));
  aspect-ratio: var(--project-main-ratio, 16 / 9);
  max-width: 100%;
  max-height: min(82vh, 1180px);
  margin-inline: auto;
  background: #0d0f13;
}
.project__main:hover {
  border-color: rgba(255,122,47,.32);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.04),
    0 28px 54px -36px rgba(0,0,0,.8),
    0 0 0 1px rgba(255,122,47,.08);
}
.project__main-img,
.project__main-media {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease), opacity .6s ease, filter .8s ease;
}
.project__main.is-adaptive-frame .project__main-media {
  object-fit: contain;
  object-position: center top;
}
.project[data-index="01"] .project__main.is-adaptive-frame .project__main-media {
  object-position: center center;
}
.project[data-index="02"] .project__main.is-adaptive-frame .project__main-media,
.project[data-index="04"] .project__main.is-adaptive-frame .project__main-media {
  object-position: center top;
}
.project[data-index="03"] .project__main.is-adaptive-frame .project__main-media {
  object-position: center top;
}
.project__main-media:is(video) { opacity: .25; filter: saturate(.8) brightness(.75); }
.project__main-media:is(video).is-video-ready { opacity: 1; filter: saturate(1) brightness(1); }
.project__main::after {
  content: '查看大图';
  position: absolute; right: 14px; bottom: 14px;
  font-family: var(--font-en);
  font-size: 12px; letter-spacing: .08em;
  color: #fff;
  background: rgba(0,0,0,.45);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  padding: 6px 12px; border-radius: 100px;
  opacity: 0; transform: translateY(6px);
  transition: opacity .3s, transform .3s;
  pointer-events: none;
}
.project__main:hover::after { opacity: 1; transform: translateY(0); }
.project__main:hover .project__main-img,
.project__main:hover .project__main-media { transform: scale(1.04); }

/* 缩略图条：横向排列，可滑动（鼠标横向滚动 / 拖拽） */
.project__thumbs {
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: min(100%, var(--project-stage-main-max, 960px));
  overflow-x: auto;
  padding: 2px 0 8px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
  margin-inline: auto;
}
.project__thumbs::-webkit-scrollbar { height: 6px; }
.project__thumbs::-webkit-scrollbar-track { background: transparent; }
.project__thumbs::-webkit-scrollbar-thumb {
  background: rgba(255,122,47,.45);
  border-radius: 100px;
}
.project__thumbs::-webkit-scrollbar-thumb:hover { background: var(--accent); }
.project__thumb {
  position: relative;
  flex: 0 0 auto;
  width: 110px;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
  cursor: pointer;
  border: 2px solid transparent;
  padding: 0;
  opacity: .58;
  transition: opacity .3s, border-color .3s, transform .3s, box-shadow .3s;
}
.project__thumb img,
.project__thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.project__thumb:hover { opacity: 1; transform: translateY(-2px); }
.project__thumb.is-active {
  opacity: 1;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,122,47,.14), 0 12px 24px -14px rgba(255,122,47,.45);
}

/* ---------- 能力 ---------- */
.capability { padding: clamp(92px, 14vh, 180px) var(--shell-pad); border-top: 1px solid var(--line); background: var(--bg-soft); }
.capability .section-tag,
.capability__heading {
  max-width: var(--content-w);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
.capability__heading {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 48px);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 12px 0 clamp(48px, 7vh, 84px);
}
.capability__grid {
  max-width: var(--content-w);
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.cap {
  background: var(--bg-soft);
  padding: clamp(28px, 4vw, 54px);
  position: relative;
  transition: background .4s var(--ease);
}
.cap:hover { background: var(--surface); }
.cap__num {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  color: rgba(244,243,239,.14);
  letter-spacing: .1em;
}
.cap__title {
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 500;
  line-height: 1.3;
  margin: 20px 0 14px;
  letter-spacing: 0;
}
.cap__desc {
  color: rgba(244,243,239,.54);
  font-weight: 400;
  font-size: 14px;
  line-height: 2;
  max-width: 32ch;
}

/* ---------- 页脚 ---------- */
.footer { padding: clamp(90px, 16vh, 200px) var(--shell-pad) 60px; border-top: 1px solid var(--line); }
.footer__inner {
  width: var(--content-w);
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  column-gap: clamp(24px, 4vw, 64px);
  row-gap: 18px;
  align-items: start;
}
.footer__eyebrow { font-family: var(--font-en); letter-spacing: .3em; color: var(--text-mute); font-size: 13px; }
.footer__title {
  grid-column: 2 / 3;
  font-family: var(--font-en);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 92px);
  line-height: .93;
  letter-spacing: .08em;
  margin: -4px 0 24px;
}
.footer__mail {
  grid-column: 2 / 3;
  font-family: var(--font-en);
  font-size: clamp(16px, 1.8vw, 22px);
  color: rgba(244,243,239,.72);
  letter-spacing: .08em;
  border-bottom: 1px solid rgba(244,243,239,.16);
  padding-bottom: 4px;
  justify-self: start;
}
.footer__social { grid-column: 2 / 3; display: flex; flex-wrap: wrap; gap: 26px; margin-top: 8px; }
.footer__social a { color: var(--text-dim); font-size: 14px; transition: color .3s; }
.footer__social a:hover { color: var(--text); }
.footer__wechat-text {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(244,243,239,.52);
  font-size: 14px;
  letter-spacing: .08em;
}
.footer__wechat-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  opacity: .82;
}
.footer__social--contact { position: relative; }
.footer__contact-chip {
  appearance: none;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.02);
  color: var(--text-dim);
  font-size: 14px;
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  transition: color .3s, border-color .3s, background .3s, transform .3s;
}
.footer__contact-chip:hover,
.footer__contact-chip.is-active {
  color: var(--text);
  border-color: rgba(255,122,47,.45);
  background: rgba(255,122,47,.08);
  transform: translateY(-1px);
}
.footer__contact-pop {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 120;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-9999px, -9999px, 0);
  transition: opacity .18s ease;
}
.footer__contact-pop.is-visible { opacity: 1; }
.footer__contact-card {
  min-width: 180px;
  max-width: 220px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(10,10,12,.94);
  box-shadow: 0 18px 40px rgba(0,0,0,.36);
  backdrop-filter: blur(10px);
}
.footer__contact-title {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--text);
}
.footer__contact-number {
  margin: 0;
  font-family: var(--font-en);
  font-size: 16px;
  color: var(--accent);
  line-height: 1.4;
}
.footer__contact-desc {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--text-mute);
  line-height: 1.6;
}
.footer__qr-placeholder {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.06) 50%, transparent 50%) 0 0 / 18px 18px,
    linear-gradient(rgba(255,255,255,.06) 50%, transparent 50%) 0 0 / 18px 18px,
    linear-gradient(135deg, rgba(255,122,47,.14), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.08);
  display: grid;
  place-items: center;
  color: var(--text);
  font-size: 12px;
  text-align: center;
  padding: 12px;
}
.footer__copy {
  grid-column: 2 / 3;
  margin-top: 34px;
  color: rgba(244,243,239,.24);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* ---------- 模态框（查看大图） ---------- */
.modal {
  position: fixed; inset: 0;
  z-index: 100;
  background: rgba(6,6,7,.92);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 5vw, 60px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__close {
  position: fixed; top: 24px; right: 28px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-size: 26px; line-height: 1;
  cursor: pointer;
  z-index: 120;
  transition: background .3s, transform .3s;
}
.modal__close:hover { background: var(--surface); transform: rotate(90deg); }
.modal__panel {
  max-width: 1000px; width: 100%;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  transform: translateY(20px) scale(.98);
  transition: transform .5s var(--ease);
}
.modal.is-open .modal__panel { transform: translateY(0) scale(1); }
.modal__media { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.modal__img { width: 100%; height: 100%; object-fit: cover; max-height: 80vh; }
.modal__media-el { width: 100%; max-height: 80vh; object-fit: contain; background: #000; }
.modal__meta { padding: clamp(28px, 4vw, 50px); display: flex; flex-direction: column; justify-content: center; }
.modal__meta h3 { font-size: clamp(22px, 2.6vw, 32px); margin-bottom: 16px; }
.modal__meta p { color: var(--text-dim); font-weight: 300; }

/* 长页面作品图：全屏沉浸查看，预览区域可独立纵向滚动 */
.modal.is-image-preview {
  padding: 0;
  background: rgba(3,4,8,.97);
}
.modal.is-image-preview .modal__panel {
  width: 100vw;
  height: 100vh;
  max-width: none;
  border-radius: 0;
  display: block;
  background: transparent;
}
.modal.is-image-preview .modal__media {
  width: 100%;
  height: 100%;
  overflow: auto;
  align-items: flex-start;
  overscroll-behavior: contain;
  scrollbar-color: rgba(255,255,255,.25) transparent;
}
.modal.is-image-preview .modal__img {
  display: block;
  width: min(100%, 1920px);
  height: auto;
  max-height: none;
  margin: 0 auto;
  object-fit: contain;
  cursor: zoom-out;
}
.modal.is-image-preview .modal__meta {
  position: fixed;
  left: 24px;
  bottom: 24px;
  max-width: min(420px, calc(100vw - 48px));
  padding: 16px 20px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(10,10,12,.72);
  backdrop-filter: blur(18px);
  pointer-events: none;
}
.modal.is-image-preview .modal__meta h3 { margin: 0; font-size: 15px; }
.modal.is-image-preview .modal__meta p { display: none; }
.modal.is-image-preview .modal__close {
  z-index: 3;
  background: rgba(10,10,12,.7);
  backdrop-filter: blur(12px);
}

@media (max-width: 1180px) {
  .nav { gap: 16px; }
  .nav__center { margin-left: auto; margin-right: auto; }
  .project__layout { grid-template-columns: minmax(240px, 300px) minmax(0, 1fr); }
  .project__head { grid-template-columns: 64px minmax(0, 1fr); }
  .work { --work-stage-width: var(--content-w); --work-copy-width: 240px; }
  .project__gallery { max-width: min(100%, var(--project-stage-max-lg, 920px)); }
  .project__main { aspect-ratio: 16 / 10; max-height: 68vh; }
  .project__main.is-adaptive-frame,
  .project__thumbs { width: min(100%, var(--project-stage-main-max-lg, 920px)); max-width: 100%; }
  .cap__desc { font-size: 14px; }
}

/* ---------- 滚动渐显 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .nav {
    padding-top: 16px;
    padding-bottom: 16px;
    flex-wrap: wrap;
    row-gap: 10px;
  }
  .nav__brand { order: 1; }
  .nav__contact { order: 2; margin-left: auto; }
  .nav__center {
    order: 3;
    width: 100%;
    justify-content: center;
    margin: 0;
    overflow-x: auto;
    padding: 0 6px;
  }
  .hero {
    min-height: auto;
    padding-bottom: 64px;
  }
  .hero__inner {
    padding-top: 118px;
    display: block;
  }
  .hero__top {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .hero__title {
    font-size: clamp(50px, 11vw, 110px);
    line-height: .9;
  }
  .hero__title .line--sub { font-size: clamp(26px, 5.8vw, 62px); }
  .hero__desc {
    max-width: 100%;
    font-size: 15px;
    padding-top: 0;
  }
  .about__head,
  .work__intro,
  .footer__inner {
    grid-template-columns: 1fr;
  }
  .about__head,
  .timeline,
  .work__intro,
  .work__list,
  .footer__inner {
    width: var(--content-w);
  }
  .footer__title,
  .footer__mail,
  .footer__social,
  .footer__copy {
    grid-column: auto;
  }
  .about__head { margin-bottom: 48px; }
  .timeline { padding-left: 24px; }
  .timeline__track { display: block; padding-top: 0; }
  .timeline__track::before {
    top: 0;
    bottom: 0;
    left: -1px;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, transparent 0%, var(--line) 4%, var(--line) 96%, transparent 100%);
  }
  .timeline__node {
    display: grid;
    grid-template-columns: 1fr;
    padding-right: 0;
    padding-top: 22px;
    padding-left: 24px;
    padding-bottom: 22px;
    margin-bottom: 18px;
  }
  .timeline__node:last-child { margin-bottom: 0; }
  .timeline__dot { top: 26px; left: -30px; }
  .timeline__date { padding-top: 0; }
  .timeline__body { padding-top: 2px; }
  .timeline__desc { max-height: none; }
  .timeline__desc::after { display: none; }
  .project { gap: 22px; }
  .project__layout { grid-template-columns: 1fr; gap: 22px; }
  .project__head { grid-template-columns: 1fr; align-items: start; }
  .project__stage { gap: 14px; }
  .project__index { font-size: 22px; padding-top: 0; }
  .project__info { max-width: 100%; }
  .project__actions { justify-content: flex-end; }
  .project__view { margin-top: 2px; }
  .project__gallery {
    max-width: 100%;
    align-self: stretch;
    align-items: stretch;
  }
  .project__main.is-adaptive-frame,
  .project__thumbs {
    width: 100%;
  }
  .project__desc { max-width: 100%; }
  .capability { padding-top: 72px; padding-bottom: 72px; }
  .capability__grid { grid-template-columns: 1fr; }
  .modal__panel { grid-template-columns: 1fr; }
  .modal__img { max-height: 40vh; }
  .modal__media-el { max-height: 40vh; }
  .hero__meta { text-align: left; }
  .footer {
    padding-top: 72px;
    padding-bottom: 48px;
  }
  .footer__title { margin-bottom: 28px; }
  .footer__social { gap: 18px; margin-top: 34px; }
  .footer__copy { margin-top: 42px; }
}
@media (max-width: 560px) {
  .nav {
    padding-left: var(--shell-pad);
    padding-right: var(--shell-pad);
  }
  .nav__center {
    display: flex;
    justify-content: flex-start;
    border-radius: 18px;
    height: auto;
    padding: 6px;
  }
  .nav__center a {
    padding: 7px 12px;
    flex: 0 0 auto;
  }
  .nav__contact { padding: 0 14px; font-size: 12px; }
  .nav__pill { padding: 0 14px; font-size: 12px; }
  .hero {
    padding-left: var(--shell-pad);
    padding-right: var(--shell-pad);
  }
  .hero__inner { padding-top: 112px; }
  .hero__title { font-size: clamp(46px, 12vw, 96px); }
  .hero__title .line--sub { font-size: clamp(24px, 8vw, 64px); }
  .hero__desc {
    max-width: 100%;
    justify-self: auto;
  }
  .hero__eyebrow { font-size: 11px; letter-spacing: .06em; }
  .about__heading { font-size: 24px; }
  .work__intro,
  .work__list,
  .about__head,
  .footer__inner { padding-left: 0; padding-right: 0; }
  .work__list { width: var(--content-w); }
  .timeline { padding-left: 20px; }
  .timeline__node { padding: 18px 16px 18px 20px; border-radius: 18px; }
  .timeline__dot { top: 22px; left: -26px; }
  .timeline__company { font-size: 17px; }
  .timeline__desc { font-size: 12.5px; }
  .project__tags { gap: 6px; }
  .project__tags span { font-size: 11px; padding: 4px 10px; }
  .project__desc { font-size: 13px; }
  .project__main {
    border-radius: 14px;
    aspect-ratio: 4 / 3;
    max-height: none;
  }
  .project__thumb { width: 78px; border-radius: 10px; }
  .capability { padding-left: var(--shell-pad); padding-right: var(--shell-pad); }
  .cap { padding: 22px 18px; }
  .cap__num { font-size: clamp(34px, 12vw, 52px); }
  .cap__title { font-size: 18px; margin-top: 14px; }
  .cap__desc { font-size: 13px; line-height: 1.7; }
  .footer {
    padding-left: var(--shell-pad);
    padding-right: var(--shell-pad);
  }
  .footer__mail {
    font-size: 16px;
    word-break: break-all;
  }
  .modal { padding: 16px; }
  .modal__close {
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    font-size: 22px;
  }
}

@media (max-width: 400px) {
  .hero__title { font-size: clamp(38px, 12vw, 64px); }
  .hero__title .line--sub { font-size: clamp(20px, 7vw, 38px); }
  .hero__desc { font-size: 14px; }
  .project__main::after {
    right: 10px;
    bottom: 10px;
    font-size: 11px;
    padding: 5px 10px;
  }
  .project__thumb { width: 68px; }
  .footer__title {
    font-size: clamp(34px, 14vw, 58px);
    line-height: 1;
  }
}

/* 尊重用户的减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   第二屏（参照参考站第二屏样式：magic-card 聚光特效）
   —— 聚光/倾斜逻辑照搬参考站，配色改为站点橘色主题
   ========================================================= */
.screen2 { padding: clamp(70px, 11vh, 140px) var(--shell-pad); }
.screen2__inner {
  width: var(--content-w);
  max-width: 100%;
  margin: 0 auto;
}
.screen2__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .screen2__grid { grid-template-columns: 0.72fr 1.28fr; gap: 32px; }
}

/* magic-card：鼠标聚光边框 + 轻微 3D 倾斜（与参考站一致） */
.magic-card {
  --magic-x: 50%;
  --magic-y: 50%;
  --magic-rx: 0deg;
  --magic-ry: 0deg;
  position: relative;
  isolation: isolate;
  transform: perspective(1200px) rotateX(0) rotateY(0) translateZ(0);
  transition: transform .52s cubic-bezier(.2,.85,.2,1), border-color .36s ease, box-shadow .36s ease, background-color .36s ease;
}
.magic-card:before,
.magic-card:after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  transition: opacity .26s ease;
}
.magic-card:before {
  padding: 1px;
  background: radial-gradient(360px circle at var(--magic-x) var(--magic-y), rgba(255,122,47,.72), rgba(255,160,90,.32) 34%, rgba(255,255,255,.08) 52%, transparent 68%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}
.magic-card:after {
  background: radial-gradient(460px circle at var(--magic-x) var(--magic-y), rgba(255,122,47,.15), transparent 58%),
              radial-gradient(240px circle at var(--magic-x) var(--magic-y), rgba(255,255,255,.08), transparent 64%);
  mix-blend-mode: screen;
}
.magic-card.is-magic-active {
  border-color: rgba(255,122,47,.24);
  box-shadow: 0 24px 90px #00000042, 0 0 46px rgba(255,122,47,.10);
  transform: perspective(1200px) rotateX(var(--magic-rx)) rotateY(var(--magic-ry)) translateY(-2px);
}
.magic-card.is-magic-active:before,
.magic-card.is-magic-active:after { opacity: 1; }
.magic-card > * { position: relative; z-index: 3; }
@media (prefers-reduced-motion: reduce) {
  .magic-card { transform: none !important; }
}

/* 左：大图占位卡（尺寸同参考站：h-[680px] / rounded-[32px]） */
.screen2__media {
  height: 420px;
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,.10);
  background-color: rgba(255,255,255,.04);
  overflow: hidden;
}
@media (min-width: 1024px) {
  .screen2__media { height: 680px; }
}
.screen2__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.screen2__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(255,122,47,.10), transparent 60%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 14px, transparent 14px 28px);
}
/* 占位 label 样式保留，便于未来复用 */
.screen2__ph-label {
  font-family: var(--font-en);
  font-size: clamp(20px, 3vw, 34px);
  letter-spacing: .06em;
  color: rgba(255,255,255,.55);
}
.screen2__ph-sub {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(255,255,255,.32);
}

/* 右：文字占位卡 */
.screen2__text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,.10);
  background-color: rgba(255,255,255,.03);
  padding: 28px;
}
@media (min-width: 1024px) {
  .screen2__text { padding: 40px; }
}
.screen2__kicker {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(255,180,120,.55);
  margin-bottom: 18px;
}
.screen2__title {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 84px);
  line-height: .9;
  color: #fff;
  letter-spacing: -.02em;
}
.screen2__body {
  margin-top: 18px;
  max-width: 640px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,.52);
}
.screen2__foot {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.10);
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.36);
}

/* 右卡底部 4 个能力框 */
.screen2__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.10);
}
.screen2__stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-height: 90px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  transition: background .3s ease, border-color .3s ease, transform .3s var(--ease);
}
.screen2__stat:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,122,47,.35);
  transform: translateY(-2px);
}
.screen2__stat-num {
  font-family: var(--font-en);
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  letter-spacing: -.01em;
}
.screen2__stat-label {
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255,255,255,.50);
}
@media (max-width: 480px) {
  .screen2__stat { min-height: 78px; padding: 14px; border-radius: 14px; }
  .screen2__stat-num { font-size: 22px; }
  .screen2__stat-label { font-size: 12px; }
}

/* =========================================================
   HERO 全屏背景视频 + 开屏动画 + 鼠标视差
   视频作为第一屏整体背景，叠加暗色蒙版保证文字可读；
   开屏：视频缩放淡入 + 幕布上滑揭开；鼠标：视频轻微视差。
   ========================================================= */
.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  will-change: transform;
}
.hero__video {
  position: absolute;
  top: 50%;
  left: 50%;
  /* 比容器大 12%，给鼠标视差平移留出余量，避免露边 */
  width: 112%;
  height: 112%;
  object-fit: cover;
  will-change: transform;            /* 提升到独立合成层，减少播放时的重绘卡顿 */
  /* object-fit: cover 在 IE 不支持，会拉伸作为降级（不影响阅读） */
  transform: translate(-50%, -50%) scale(1.12);
  transform-origin: center;
  opacity: 0;
  filter: blur(8px);
  animation: heroVideoIn 1.8s cubic-bezier(.22, .61, .36, 1) .15s forwards;
}
/* 点击播放提示角标（沙箱拦截自动播放时显示，首次交互后自动隐藏） */
.hero__play-hint {
  position: absolute;
  left: 50%;
  bottom: 12%;
  transform: translateX(-50%);
  z-index: 5;
  padding: 10px 18px;
  border: 1px solid rgba(255, 122, 47, .5);
  border-radius: 999px;
  background: rgba(20, 16, 14, .55);
  color: #ff9d4d;
  font-size: 13px;
  letter-spacing: .04em;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
/* 暗色蒙版：保证标题/正文可读，同时保留视频氛围 */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(9,9,12,.82) 0%, rgba(9,9,12,.5) 42%, rgba(9,9,12,.2) 100%),
    linear-gradient(0deg, rgba(9,9,12,.7) 0%, rgba(9,9,12,0) 55%);
}
/* 开屏幕布：载入后上滑揭开 */
.hero__curtain {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background:
    radial-gradient(120% 120% at 50% 45%, rgba(20,18,26,.6), rgba(8,8,11,.96) 70%),
    #0a0a0d;
  animation: heroCurtainOut 1.15s cubic-bezier(.76, 0, .24, 1) .25s forwards;
}

@keyframes heroVideoIn {
  from { opacity: 0; transform: translate(-50%, -50%) scale(1.12); filter: blur(8px); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1);    filter: blur(0); }
}
@keyframes heroCurtainOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-100%); }
}
/* 视频暗角：四角压暗、中心清晰，聚焦背景主体 */
.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(125% 125% at 50% 44%, rgba(0,0,0,0) 50%, rgba(0,0,0,.58) 100%);
}
@media (prefers-reduced-motion: reduce) {
  .hero__video {
    animation: none;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    filter: none;
  }
  .hero__curtain { display: none; }
  /* 减少动态偏好：标题直接显示，不做逐字入场 */
  html.js .hero__title { opacity: 1 !important; }
}

/* ---------- 第三屏：滚动展示带 ---------- */
.marquee {
  background: var(--bg);
  padding: clamp(64px, 9vw, 130px) 0 clamp(48px, 6vw, 90px);
  overflow: hidden;
}
.marquee__head {
  padding: 0 clamp(20px, 5vw, 64px);
  margin-bottom: clamp(28px, 4vw, 56px);
}
.marquee__title {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: clamp(30px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: .01em;
  margin-top: 12px;
  color: var(--text);
  text-transform: uppercase;
}
.marquee__rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.marquee__row {
  display: flex;
  gap: 12px;
  width: max-content;
  will-change: transform;
}
.marquee__media {
  width: 420px;
  height: 270px;
  border-radius: 16px;
  object-fit: cover;
  flex: 0 0 auto;
  display: block;
  background: var(--surface);
  user-select: none;
  -webkit-user-drag: none;
  opacity: .35;
  filter: saturate(.72) brightness(.78);
  transform: scale(.985);
  transition: opacity .7s ease, filter .9s ease, transform 1.1s var(--ease);
}
.marquee__media:not(video),
.marquee__media.is-video-ready { opacity: 1; filter: saturate(1) brightness(1); transform: scale(1); }
.marquee__media:hover { transform: scale(1.025); }
@media (max-width: 768px) {
  .marquee__media { width: 280px; height: 180px; }
  .marquee__rows { gap: 10px; }
  .marquee__row { gap: 10px; }
}

/* =========================================================
   全站交互精修：Apple 式克制动效与清晰滚动反馈
   ========================================================= */
.nav {
  transition: transform .55s var(--ease), background .35s ease, border-color .35s ease;
}
.nav.is-hidden { transform: translateY(calc(-100% - 16px)); }
.nav__center a.is-active { color: var(--text); background: rgba(255,255,255,.09); }
.hero__title .line { perspective: 700px; overflow: hidden; }

[data-motion-split="1"] .motion-word {
  display: inline-block;
  opacity: 0;
  filter: blur(8px);
  transform: translate3d(0, 1.05em, 0) rotate(2deg);
  transform-origin: left bottom;
  transition: opacity .75s ease, filter .85s ease, transform 1s var(--ease);
  transition-delay: calc(var(--word-index, 0) * 32ms);
  will-change: transform, opacity, filter;
}
[data-motion-split="1"].is-motion-visible .motion-word {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) rotate(0);
}
.scroll-progress {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, #ff7a2f, #ffd2b6);
  box-shadow: 0 0 16px rgba(255,122,47,.55);
  will-change: transform;
}
.project,
.cap { isolation: isolate; }
.project::before,
.cap::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(520px circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(255,122,47,.09), transparent 62%);
  transition: opacity .45s ease;
}
.project:hover::before,
.cap:hover::before { opacity: 1; }
.nav__contact,
.project__view,
.footer__mail { transition: transform .35s var(--ease), color .3s ease, background .3s ease, border-color .3s ease; }

.nav.is-hidden { transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  [data-motion-split="1"] .motion-word { opacity: 1; filter: none; transform: none; }
  .nav.is-hidden { transform: none; }
}
