/* =========================================================
   YOUR NAME — 交互/UI 设计师作品集
   设计语言（参考 yanqi.art）：纯黑底 × 象牙白 × 红色点缀
   衬线大标题 + 紧凑大写英文 + 超大幽灵序号 + 取景框四角
   所有颜色 / 字体可在下方变量区统一调整
   ========================================================= */

:root {
  /* 颜色 */
  --bg:      #0d0d0d;                     /* 纯黑背景 */
  --bg-2:    #121212;
  --surface: #161616;
  --line:    rgba(236, 231, 220, 0.12);   /* 分割线 */
  --ivory:   #ece7dc;                     /* 象牙白（主文字） */
  --ivory-2: #d9d4c7;                     /* 幽灵数字米白 */
  --muted:   #97928a;                     /* 次级文字 */
  --muted-2: #5f5b55;
  --accent:     #0AFE43;                     /* 组件色（强调绿） */

  /* 字体 */
  --serif:  "Playfair Display", "Noto Serif SC", "Songti SC", serif;
  --sans:   "Archivo", "Noto Sans SC", system-ui, sans-serif;
  --cn:     "Noto Sans SC", "PingFang SC", sans-serif;

  /* 尺寸 */
  --maxw: 1240px;
  --pad:  clamp(20px, 5vw, 80px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- 基础重置 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--cn);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--accent); color: #fff; }

.serif-i {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
}

/* ---------- 取景框四角装饰 ---------- */
.corner {
  position: absolute; width: 26px; height: 26px; pointer-events: none; z-index: 2;
  border: 0 solid rgba(236, 231, 220, .45);
}
.corner--tl { top: 28px;  left: 28px;  border-top-width: 1px; border-left-width: 1px; }
.corner--tr { top: 28px;  right: 28px; border-top-width: 1px; border-right-width: 1px; }
.corner--bl { bottom: 28px; left: 28px;  border-bottom-width: 1px; border-left-width: 1px; }
.corner--br { bottom: 28px; right: 28px; border-bottom-width: 1px; border-right-width: 1px; }

/* ---------- 加载动画 ---------- */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .7s var(--ease), visibility .7s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__inner { text-align: center; }
.loader__word {
  font-family: var(--sans); font-weight: 700; letter-spacing: .5em;
  font-size: 13px; color: var(--ivory-2); display: block; margin-bottom: 18px;
}
.loader__bar { width: 180px; height: 1px; background: var(--line); overflow: hidden; margin: 0 auto; }
.loader__bar i { display: block; height: 100%; width: 0; background: var(--ivory); transition: width .2s linear; }

/* ---------- 自定义光标 ---------- */
.cursor, .cursor-dot {
  position: fixed; top: 0; left: 0; z-index: 9998;
  pointer-events: none; border-radius: 50%;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
.cursor {
  width: 36px; height: 36px; border: 1px solid #fff;
  transition: width .25s var(--ease), height .25s var(--ease), background .25s, opacity .3s;
}
.cursor-dot { width: 5px; height: 5px; background: #fff; }
.cursor.is-hover { width: 60px; height: 60px; background: rgba(255,255,255,.14); }
@media (hover: none) { .cursor, .cursor-dot { display: none; } }

/* ---------- 滚动进度条 ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: var(--accent); z-index: 9997; transition: width .1s linear;
}

/* ---------- 导航 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px var(--pad);
  transition: padding .4s var(--ease), background .4s, backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  padding: 15px var(--pad);
  background: rgba(13, 13, 13, .72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__logo { font-family: var(--serif); font-weight: 700; font-size: 24px; letter-spacing: .02em; }
.nav__logo .dot { color: var(--accent); }
.nav__links { display: flex; gap: 38px; }
.nav__link {
  font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--muted);
  position: relative; padding: 4px 0; letter-spacing: .04em;
  transition: color .3s;
}
.nav__link i { font-style: normal; color: var(--muted-2); font-size: 11px; }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--accent); transition: width .3s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--ivory); }
.nav__link.is-active::after, .nav__link:hover::after { width: 100%; }
.nav__toggle { display: none; flex-direction: column; gap: 6px; background: none; border: 0; cursor: pointer; }
.nav__toggle span { width: 26px; height: 1px; background: var(--ivory); transition: .3s; }

/* ============ 红色小标签 ============ */
.eyebrow {
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}

/* ============ 通用区块标题 ============ */
.section-head { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.section-head__title {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(44px, 7vw, 92px); line-height: 1.04; letter-spacing: .01em;
}
.section-head__title em {
  display: inline-block; margin-left: 26px;
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: .52em; color: var(--ivory-2); letter-spacing: 0;
  vertical-align: baseline;
}
.section-head__sub { color: var(--muted); margin-top: 16px; font-size: 14px; }

/* ============ 第一屏 HERO —— 全屏背景 + 多图漂浮 + 巨型标题 ============ */
.hero { position: relative; min-height: 100vh; overflow: hidden; }

/* 全屏背景图（灰调压暗） */
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__bg-media {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: .64; filter: grayscale(38%) contrast(1.05) brightness(.82);
}
.hero__bg-ph {
  display: none; background: linear-gradient(120deg, #1a1814, #121212 72%);
}
.hero__bg.is-empty .hero__bg-ph { display: block; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13,13,13,.58), rgba(13,13,13,.22) 40%, rgba(13,13,13,.88) 96%),
    linear-gradient(90deg, rgba(13,13,13,.45), transparent 45%);
}

.hero__stage {
  position: relative; z-index: 2; min-height: 100vh;
  padding: 100px var(--pad) 76px;
  display: flex; flex-direction: column;
}

/* 顶部行 */
.hero__top { display: flex; align-items: baseline; gap: clamp(24px, 8vw, 130px); }
.hero__brand { font-family: var(--sans); font-weight: 800; font-size: 15px; letter-spacing: .3em; }
.hero__tagline { font-family: var(--sans); font-size: 14px; color: var(--ivory-2); letter-spacing: .08em; }

/* 巨型标题（z 层在侧图之上、中间大图之下） */
.hero__title {
  position: relative; z-index: 3; pointer-events: none;
  margin-top: clamp(18px, 4.5vh, 52px);
  font-family: var(--sans); font-weight: 800; text-transform: uppercase;
  font-size: clamp(50px, 8.6vw, 130px);
  line-height: .96; letter-spacing: -.01em;
}
.hero__title sup { font-size: .2em; vertical-align: 1.1em; letter-spacing: 0; }
.hero__title-indent { margin-left: clamp(40px, 8vw, 150px); }
/* 大标题绿色点缀字母（不进入 scramble 动画，保持常亮绿） */
.t-accent { color: var(--accent); }

/* 漂浮图片组：transform 由视差变量驱动 */
.hero-shot {
  position: absolute; margin: 0;
  transform: translate3d(
    calc(var(--mx, 0) * var(--d, 14) * 1px),
    calc(var(--my, 0) * var(--d, 14) * .7px), 0);
  will-change: transform;
}
.hero-shot__frame {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, #1d1d1d, #121212);
  border: 1px solid rgba(236,231,220,.14);
}
.hero-shot__frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: grayscale(30%) contrast(1.05) brightness(.94);
  transition: filter .6s var(--ease), transform .9s var(--ease);
}
.hero-shot:hover .hero-shot__frame img { filter: grayscale(0%) brightness(1); transform: scale(1.045); }
.hero-shot__frame.is-empty .hero-shot__ph { display: flex; }
.hero-shot__ph {
  position: absolute; inset: 0; display: none;
  align-items: center; justify-content: center; text-align: center; line-height: 1.8;
  color: var(--muted-2); font-family: var(--sans);
  font-weight: 700; letter-spacing: .2em; font-size: 10px;
}
/* 入场节奏（配合 data-reveal） */
.hero-shot [data-reveal] { transition-delay: calc(.15s + var(--i, 0) * 140ms); }

/* 左横图（收拢到右侧，与竖图顶部错落） */
.hero-shot--a { left: 54%; top: 34%; width: clamp(160px, min(21vw, 42vh), 320px); --d: 20; z-index: 2; }
.hero-shot--a .hero-shot__frame { aspect-ratio: 1 / 1.05; }
.hero-shot__cap {
  position: absolute; left: 2px; bottom: -26px;
  font-family: var(--sans); font-size: 10px; letter-spacing: .3em;
  color: var(--muted); text-transform: uppercase;
}
/* 中间竖图（主体，锚定右半屏，压在标题之上） */
.hero-shot--b { left: 75%; top: 34%; width: clamp(160px, min(21vw, 42vh), 320px); --d: 34; z-index: 4; }
.hero-shot--b .hero-shot__frame { aspect-ratio: 1 / 1.05; }
.hero-shot--b .hero-shot__cap { left: auto; right: 0; text-align: right; text-transform: none; letter-spacing: .12em; white-space: nowrap; }
.hero-stamp {
  position: absolute; right: 7%; bottom: 9%; z-index: 2;
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(26px, 3.4vw, 52px); color: var(--accent);
  text-shadow: 0 2px 18px rgba(0,0,0,.5);
  animation: stampFloat 4s ease-in-out infinite;
}
@keyframes stampFloat { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-10px) rotate(2deg); } }
/* 右横图（收拢到右侧，落在竖图下方偏右） */
/* 图片 hover 蒙版：黑色半透明层 + 介绍文案（默认隐藏，悬停图片时浮现） */
.hero-shot__overlay {
  position: absolute; inset: 0; z-index: 3;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 0 18px 22px;
  background: linear-gradient(to bottom, rgba(8, 8, 8, .3) 0%, rgba(8, 8, 8, .62) 45%, rgba(8, 8, 8, 1) 100%);
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s var(--ease);
  cursor: default;
}
.hero-shot:hover .hero-shot__overlay { opacity: 1; visibility: visible; }

/* 蒙版内文案：无符号列表 */
.hero-shot__bio {
  margin: 0; padding-left: 0;
  list-style: none; color: #fff;
  font-size: 12px; line-height: 1.45;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .6);
}
.hero-shot__bio li + li { margin-top: 5px; }
.hero__note {
  font-family: var(--sans); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted); line-height: 2; text-align: left;
  white-space: nowrap;
}
.hero__note b { color: var(--ivory); font-weight: 600; }

/* 引导向下滚动的动效组件（无文字 · 弹跳箭头 + 扩散脉冲） */
.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  z-index: 3; width: 52px; height: 52px; padding: 0;
  display: grid; place-items: center;
  background: none; border: 0; cursor: pointer;
  animation: heroScrollIn .8s var(--ease) 1.1s both;
}
/* 扩散脉冲：淡环向外放大并淡出 */
.hero__scroll::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid var(--ivory-2); opacity: 0;
  animation: heroPulse 2.6s var(--ease) infinite;
}
/* 中心向下弹跳的箭头（∨） */
.hero__scroll-chev {
  position: relative; width: 13px; height: 13px;
  border-right: 1.5px solid var(--ivory); border-bottom: 1.5px solid var(--ivory);
  transform: rotate(45deg);
  animation: heroBounce 1.7s var(--ease) infinite;
}
.hero__scroll:hover .hero__scroll-chev { border-color: var(--accent); }

 }
@keyframes heroPulse {
  0% { transform: scale(.78); opacity: .55; }
  70% { opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}
@keyframes heroBounce {
  0% { transform: rotate(45deg) translate(-2px,-2px); opacity: 0; }
  30% { opacity: 1; }
  60% { transform: rotate(45deg) translate(3px,3px); opacity: 1; }
  100% { transform: rotate(45deg) translate(6px,6px); opacity: 0; }
}
@keyframes heroScrollIn { from { opacity: 0; transform: translateX(-50%) translateY(12px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }

/* ============ 第二屏 EXPERIENCE —— 全屏背景图 + 左上大标题 + 右下手风琴 ============ */
.experience {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column;
  padding: clamp(120px, 15vh, 170px) var(--pad) 60px;
  overflow: hidden;
}

/* 全屏背景图（暗化 + 渐变遮罩，保证文字可读） */
.experience__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.experience__bg img,
.experience__bg-ph {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: left center;
  opacity: .5; filter: grayscale(55%) contrast(1.06) brightness(.72);
}
.experience__bg-ph {
  display: none; align-items: center; justify-content: center; text-align: center;
  color: var(--muted-2); font-family: var(--sans); font-weight: 700;
  letter-spacing: .22em; font-size: 13px; line-height: 1.8;
  background: linear-gradient(120deg, #1a1814, #121212 72%);
}
.experience__bg.is-empty .experience__bg-ph { display: flex; }
.experience__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13,13,13,.62), rgba(13,13,13,.18) 38%, rgba(13,13,13,.85) 92%),
    linear-gradient(90deg, rgba(13,13,13,.55), transparent 60%);
}

/* 左侧中部：动态视频（循环自动播放，装饰）——左缘与内容列对齐，保证左右间距一致 */
.experience__media {
  position: absolute;
  left: max(var(--pad), calc(50% - var(--maxw) / 2));
  top: 50%;
  transform: translateY(-50%);
  height: clamp(300px, 54vh, 500px);
  aspect-ratio: 4 / 5;
  z-index: 1; pointer-events: none;
  border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.8);
}
.experience__video {
  width: 100%; height: 100%; object-fit: cover; display: block;
  opacity: .92;
}
.experience__media.is-empty { display: none; }

.experience__inner {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  display: flex; flex-direction: column; flex: 1;
}

/* 左上大标题（参考版式的无衬线巨型标题） */
.experience__title {
  font-family: var(--sans); font-weight: 800;
  font-size: clamp(44px, 6.4vw, 92px);
  line-height: 1.02; letter-spacing: -.015em;
  margin-bottom: 48px;
}
.experience__title .reveal-line:nth-child(2) > span { transition-delay: .12s; }

/* 右侧：紧凑手风琴经历（顶部锚定，展开时向下推开，不挤压上方） */
.timeline {
  list-style: none;
  margin-top: clamp(8px, 2vh, 28px);
  align-self: flex-end;
  width: min(740px, 100%);
  padding-top: 0;
}
.timeline__item { border-top: 1px solid var(--line); }
.timeline__item:last-child { border-bottom: 1px solid var(--line); }
.timeline__head {
  width: 100%; display: grid; grid-template-columns: 36px 1fr 22px;
  align-items: center; gap: 16px;
  padding: 17px 0; background: none; border: 0;
  color: var(--ivory); cursor: pointer; text-align: left;
  font-family: var(--cn);
}
.timeline__no {
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  color: var(--muted); letter-spacing: .12em;
  transition: color .3s;
}
.timeline__head:hover .timeline__no { color: var(--accent); }
.timeline__company {
  font-size: 16px; font-weight: 500; letter-spacing: .02em;
  color: var(--ivory); transition: transform .35s var(--ease), color .3s;
}
.timeline__head:hover .timeline__company { transform: translateX(6px); }
.timeline__toggle { position: relative; width: 14px; height: 14px; justify-self: end; transition: transform .45s var(--ease); }
.timeline__toggle::before, .timeline__toggle::after {
  content: ""; position: absolute; background: var(--ivory-2);
  transition: transform .45s var(--ease), background .3s;
}
.timeline__toggle::before { left: 0; top: 6.5px; width: 14px; height: 1px; }
.timeline__toggle::after  { left: 6.5px; top: 0; width: 1px; height: 14px; }
.timeline__item.is-open .timeline__toggle { transform: rotate(180deg); }
.timeline__item.is-open .timeline__toggle::before,
.timeline__item.is-open .timeline__toggle::after { background: var(--accent); }
.timeline__item.is-open .timeline__toggle::after { transform: scaleY(0); }

/* 展开面板（grid-rows 过渡） */
.timeline__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.timeline__item.is-open .timeline__panel { grid-template-rows: 1fr; }
.timeline__panel-in { overflow: hidden; min-height: 0; }
.timeline__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.timeline__role { color: var(--muted); font-size: 12px; letter-spacing: .06em; font-weight: 600; }
.timeline__period {
  color: var(--muted); font-family: var(--sans);
  font-size: 12px; letter-spacing: .06em; white-space: nowrap;
}
.timeline__desc { color: var(--muted); font-size: 13px; line-height: 1.85; padding: 10px 0 22px; }
.timeline__list {
  margin: 4px 0 22px; padding: 0; list-style: none;
}
.timeline__list li {
  position: relative; padding: 5px 0 5px 20px;
  color: var(--muted); font-size: 13px; line-height: 1.75;
}
.timeline__list li::before {
  content: ""; position: absolute; left: 2px; top: .74em;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--muted);
}

/* ============ 第三屏 WORK —— 扇形展开卡片 ============ */
.work { padding: 150px 0 130px; overflow: hidden; }
.fan {
  --fan-unit: clamp(48px, 11vw, 140px);
  position: relative; height: clamp(360px, 44vw, 560px);
  max-width: 1320px; margin: 0 auto;
}
.fan__slot {
  position: absolute; left: 50%; top: 50%;
  width: clamp(104px, 14.5vw, 184px); aspect-ratio: .96;
  --fx: calc(var(--fxb) * var(--fan-unit));
  --fy: calc(var(--fyb) * var(--fan-unit) - var(--lift, 0px));
  --fr: calc(var(--frb) * var(--str, 1));
  --fs: calc(1 + var(--grow, 0));
  transform:
    translate(-50%, -50%)
    translate(calc(var(--px, 0) * var(--par, 0) * 1px), calc(var(--py, 0) * var(--par, 0) * .6px))
    translate(var(--fx), var(--fy))
    rotate(var(--fr))
    scale(var(--fs));
  transition: transform 1.05s var(--ease), opacity .8s var(--ease);
  transition-delay: calc(var(--i) * 110ms);
  z-index: 5;
}
/* 扇形坐标：中间高、两侧低（弧形）；Z 轴层级从左往右逐级降低（左前右后），七张卡 */
.fan__slot[data-i="0"] { --fxb: -3.0;  --fyb: .9;  --frb: -30deg; --par: 10; z-index: 13; }
.fan__slot[data-i="1"] { --fxb: -2.0;  --fyb: .42; --frb: -20deg; --par: 18; z-index: 12; }
.fan__slot[data-i="2"] { --fxb: -1.0;  --fyb: .12; --frb: -10deg; --par: 26; z-index: 11; }
.fan__slot[data-i="3"] { --fxb: 0;     --fyb: .03; --frb: 0deg;   --par: 30; z-index: 10; }
.fan__slot[data-i="4"] { --fxb: 1.0;   --fyb: .12; --frb: 10deg;  --par: 26; z-index: 9; }
.fan__slot[data-i="5"] { --fxb: 2.0;   --fyb: .42; --frb: 20deg;  --par: 18; z-index: 8; }
.fan__slot[data-i="6"] { --fxb: 3.0;   --fyb: .9;  --frb: 30deg;  --par: 10; z-index: 7; }

/* 入场前：四张卡叠在中心 → 滚动进入时呈扇形散开 */
.fan:not(.is-fanned) .fan__slot {
  --fx: 0px; --fy: 0px; --fr: 0deg; --fs: .5;
  opacity: 0; transition-delay: 0s;
}
/* 入场完成后：视差/悬停改用更灵敏的过渡 */
.fan.is-settled .fan__slot { transition: transform .5s var(--ease); transition-delay: 0s; }
/* 悬停：卡片上浮、转正、放大 */
.fan.is-fanned .fan__slot:hover { --lift: 48px; --str: 0; --grow: .09; z-index: 20; }

.fan__card {
  display: block; width: 100%; height: 100%;
  border-radius: 22px; overflow: hidden; position: relative;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 34px 64px -30px rgba(0,0,0,.92);
  transition: box-shadow .45s var(--ease), border-color .45s;
}
.fan__slot:hover .fan__card {
  border-color: rgba(236,231,220,.4);
  box-shadow: 0 60px 110px -30px rgba(0,0,0,1);
}
.fan__img { position: absolute; inset: -16px 0; animation: fanFloat 5.2s ease-in-out infinite; animation-delay: calc(var(--i) * -1.3s); }
@keyframes fanFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.fan__img::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  opacity: .06;
}
/* 封面图：work-1~7 均为真实作品图 */
.fan__img--1 { background: url("../img/work-1.png") center / cover no-repeat; }
.fan__img--2 { background: url("../img/work-2.png") center / cover no-repeat; }
.fan__img--3 { background: url("../img/work-3.jpg") center / cover no-repeat; }
.fan__img--4 { background: url("../img/work-4.jpg") center / cover no-repeat; }
.fan__img--5 { background: url("../img/work-5.jpg") center / cover no-repeat; }
.fan__img--6 { background: url("../img/work-6.jpg") center / cover no-repeat; }
.fan__img--7 { background: url("../img/work-7.jpg") center / cover no-repeat; }
.fan__img::before {  /* 底部渐暗，衬托标签 */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 46%, rgba(0,0,0,.72));
  opacity: 0; transition: opacity .45s var(--ease);
}
.fan__slot:hover .fan__img::before { opacity: 1; }
.fan__tag {
  position: absolute; z-index: 2; top: 14px; left: 17px;
  font-family: var(--sans); font-weight: 800; font-size: 14px;
  color: var(--ivory-2); letter-spacing: .12em; opacity: .8;
}
.fan__label {
  position: absolute; z-index: 2; left: 17px; right: 17px; bottom: 16px;
  font-family: var(--sans); font-weight: 800; font-size: 15px; line-height: 1.3;
  text-transform: uppercase; letter-spacing: .03em; color: var(--ivory);
  opacity: 0; transform: translateY(14px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.fan__label i {
  display: block; font-style: normal; font-weight: 400;
  font-size: 11px; color: var(--muted); letter-spacing: .08em; margin-top: 4px;
}
.fan__slot:hover .fan__label { opacity: 1; transform: translateY(0); }

/* 扇形下方标题区 */
.work__below { text-align: center; margin-top: 26px; }
.work__title {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(40px, 6vw, 84px); line-height: 1.05; letter-spacing: .01em;
}
.work__title em { font-size: .58em; color: var(--ivory-2); margin-left: 18px; }
.work__sub { color: var(--muted); margin-top: 16px; font-size: 14px; }

/* ============ 第四屏 CONTACT（参考页脚式版式） ============ */
.contact { padding: 0; position: relative; overflow: hidden; }

/* 顶部：大名字 + 标语 / 右侧下划线导航 */
.contact__top {
  max-width: var(--maxw); margin: 0 auto; padding: 96px var(--pad) 72px;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 60px;
}
.contact__name {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(44px, 6.4vw, 92px); line-height: 1; letter-spacing: .01em;
}
.contact__tagline {
  margin-top: 26px; color: var(--ivory-2);
  font-size: 14.5px; line-height: 1.95; max-width: 560px;
}
.contact__nav { width: min(420px, 40%); flex-shrink: 0; display: flex; flex-direction: column; }
.contact__nav a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 2px; border-bottom: 1px solid var(--line);
  font-family: var(--sans); font-size: 16px; letter-spacing: .02em; color: var(--ivory);
  transition: padding-left .35s var(--ease), color .3s;
}
.contact__nav a i { font-style: normal; color: var(--accent); opacity: 0; transform: translate(-6px, 4px); transition: opacity .3s, transform .35s var(--ease); }
.contact__nav a:hover { padding-left: 14px; color: var(--ivory-2); }
.contact__nav a:hover i { opacity: 1; transform: translate(0, 0); }

/* 关键词跑马灯横幅 */
.contact__marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg-2); overflow: hidden; padding: 17px 0; position: relative; z-index: 1;
}
.contact__marquee-track {
  display: flex; align-items: center; gap: 40px; width: max-content;
  animation: marquee 28s linear infinite;
}
.contact__marquee:hover .contact__marquee-track { animation-play-state: paused; }
.contact__mi {
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  color: var(--ivory-2); letter-spacing: .06em; white-space: nowrap;
}
.contact__marquee-track b { color: var(--accent); font-size: 12px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* 主体：左侧两列信息 + 右侧微信二维码 */
.contact__foot {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: 1fr minmax(220px, 300px);
  gap: clamp(40px, 6vw, 110px); align-items: end;
}
.contact__figure {
  position: relative; overflow: hidden; background: linear-gradient(160deg, #1c1c1c, #121212);
  aspect-ratio: 4 / 5; align-self: end;
}
.contact__figure img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  filter: grayscale(60%) contrast(1.06) brightness(.86);
  transition: filter .6s var(--ease), transform .8s var(--ease);
}
.contact__figure:hover img { filter: grayscale(12%) contrast(1.04) brightness(.95); transform: scale(1.04); }
/* 微信二维码：无背景容器，原图直接展示，保证可扫 */
.contact__figure--qr { background: none; aspect-ratio: auto; overflow: visible; justify-self: end; align-self: start; margin-top: 64px; } /* 上移并与左侧模块顶部对齐（64px 对应 .contact__cols 的 padding-top） */
.contact__figure--qr img { width: 128px; height: 128px; object-fit: contain; padding: 0; filter: none; }
.contact__figure--qr:hover img { filter: none; transform: none; }
.contact__figure.is-empty .contact__figure-ph { display: flex; }
.contact__figure-ph {
  display: none; position: absolute; inset: 0; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 700; letter-spacing: .22em;
  color: var(--muted-2); font-size: 14px; text-align: center; line-height: 1.8;
}

.contact__cols {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 3vw, 48px);
  padding: 64px 0 72px;
}
.contact__col h3 {
  font-family: var(--serif); font-weight: 700; font-size: 16px;
  letter-spacing: .08em; margin-bottom: 26px;
}
.contact__col dl { display: grid; grid-template-columns: auto 1fr; gap: 14px 20px; align-items: baseline; }
.contact__col dt {
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  color: var(--muted-2); letter-spacing: .18em; white-space: nowrap;
}
.contact__col dd { font-size: 13px; color: var(--ivory-2); line-height: 1.5; }
.contact__col dd a { color: var(--ivory-2); border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.contact__col dd a:hover { color: var(--ivory); border-color: var(--accent); }
.contact__col-note { color: var(--muted); font-size: 12.5px; }

/* 底部版权条 */
.contact__bar {
  border-top: 1px solid var(--line);
  max-width: var(--maxw); margin: 0 auto; padding: 20px var(--pad) 26px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: var(--muted-2); font-family: var(--sans); font-size: 11px; letter-spacing: .16em;
}
.contact__bar a { color: var(--muted-2); transition: color .3s; }
.contact__bar a:hover { color: var(--ivory); }

/* ============ 滚动揭示动画 ============ */
.reveal-line { display: block; overflow: hidden; }
.reveal-line > span { display: inline-block; }
[data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
.reveal-line > span { transform: translateY(112%); transition: transform 1s var(--ease); }
.reveal-line.is-in > span { transform: translateY(0); }
.hero__title .reveal-line:nth-child(2) > span { transition-delay: .12s; }

/* ============ 响应式 ============ */
@media (max-width: 900px) {
  /* 首屏：移动端精简为「标题 + 两张主图」 */
  .hero__stage { padding: 96px var(--pad) 70px; }
  .hero__top { flex-direction: column; gap: 6px; }
  .hero__title { font-size: clamp(38px, 11vw, 72px); }
  .hero__title-indent { margin-left: clamp(20px, 6vw, 60px); }
  .hero-shot--c { display: none; }
  .hero-shot--a { left: 2%; top: auto; bottom: 30%; width: 46vw; }
  .hero-shot--b { left: auto; right: 4%; top: 23%; width: 52vw; }
  .hero-shot__cap { bottom: -22px; }
  /* 移动端无 hover：点击图片也唤起蒙版（focus-within 兜底），并允许触摸聚焦 */
  .hero-shot:focus-within .hero-shot__overlay { opacity: 1; visibility: visible; }
  .hero-shot__overlay { cursor: pointer; }
  .hero__note { display: none; }

  /* 第二屏：移动端保持"上标题 + 下手风琴"结构 */
  .experience { min-height: 100svh; padding: 110px var(--pad) 44px; }
  .experience__title { margin-bottom: 32px; }
  .timeline { width: 100%; padding-top: 0; margin-top: 16px; }
  .experience__bg img, .experience__bg-ph { object-position: center; opacity: .34; }
  .experience__media { display: none; }
  .experience__shade {
    background: linear-gradient(180deg, rgba(13,13,13,.74), rgba(13,13,13,.9));
  }

  /* 第三屏：扇形缩小但保留构图 */
  .work { padding: 110px 0 100px; }
  .fan { --fan-unit: clamp(34px, 9.5vw, 90px); height: clamp(300px, 62vw, 430px); }
  .fan__slot { width: clamp(104px, 24vw, 190px); }

  .section-head__title em { display: block; margin: 8px 0 0; }
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(76vw, 320px);
    flex-direction: column; justify-content: center; gap: 28px; padding: 0 40px;
    background: var(--bg-2); border-left: 1px solid var(--line);
    transform: translateX(100%); transition: transform .4s var(--ease);
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__toggle { display: flex; z-index: 901; }
  /* 第四屏：移动端改为纵向堆叠 */
  .contact__top { flex-direction: column; gap: 40px; padding: 84px var(--pad) 52px; }
  .contact__nav { width: 100%; }
  .contact__foot { grid-template-columns: 1fr; gap: 12px; }
  .contact__figure { min-height: 0; aspect-ratio: 16 / 10; }
  .contact__figure--qr { aspect-ratio: auto; width: 128px; height: 128px; margin-left: auto; margin-top: 28px; }
  .contact__cols { grid-template-columns: 1fr; gap: 36px; padding: 40px 0 56px; }
  .corner--tl, .corner--tr, .corner--bl, .corner--br { display: none; }
}
@media (max-width: 520px) {
  .hero__title { font-size: clamp(34px, 12.5vw, 54px); }
  .hero-shot--a { bottom: 34%; width: 50vw; }
  .hero-shot--b { width: 56vw; }
  .fan { --fan-unit: clamp(28px, 8.5vw, 60px); height: 260px; }
  .fan__slot { width: clamp(88px, 26vw, 130px); }
}

/* 尊重"减少动效"偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .reveal-line > span { transform: none; }
}
