/* =========================================================
   常佳琪 作品集 — 参考视频样式复刻
   纯黑白银单色系统 · 禁用彩色渐变/发光/粒子/玻璃卡片
   01 首页(左信息栏 + 右作品拼贴) / 02 工具跑马灯 / 03 About / 04 分类扇
   05 全部作品画廊与原始素材查看 / 06 结尾 CONTACT（左主张语 + 右联系卡）
   ========================================================= */
:root {
  --bg: #050505;
  --ink: #f3f3f1;
  --dim: rgba(243, 243, 241, .46);
  --faint: rgba(243, 243, 241, .24);
  --line: rgba(243, 243, 241, .13);
  --panel: #e9e9e6;
  --en: "Inter", "Helvetica Neue", Arial, system-ui, sans-serif;
  --cn: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --maxw: 1560px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --pad: clamp(24px, 3.6vw, 72px);
  --pad2: clamp(20px, 2.4vw, 44px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--cn);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.detail-open { overflow: hidden; }
img, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: var(--ink); color: var(--bg); }

.skip-link {
  position: fixed; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: var(--bg); padding: 10px 16px; font-size: 13px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- 载入幕布 ---------- */
.intro {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .8s var(--ease), visibility .8s;
}
.intro.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.intro__inner { display: flex; align-items: center; gap: 18px; font-family: var(--en); letter-spacing: .14em; text-transform: uppercase; }
.intro__mark {
  font-weight: 700; font-size: clamp(20px, 3vw, 34px);
  border: 1px solid var(--ink); border-radius: 50%; width: 2.2em; height: 2.2em;
  display: grid; place-items: center;
}
.intro__name { font-size: clamp(12px, 1.4vw, 16px); color: var(--dim); }
.intro__bar { width: clamp(80px, 18vw, 200px); height: 1px; background: var(--line); position: relative; overflow: hidden; }
.intro__bar i { position: absolute; inset: 0; width: 0; background: var(--ink); }
.intro__pct { font-size: clamp(12px, 1.4vw, 16px); color: var(--dim); min-width: 2.4em; text-align: right; }

/* ---------- 通用按钮 / 揭示 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--en); font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  padding: 14px 22px; border: 1px solid var(--line); border-radius: 100px;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.btn span { transition: transform .4s var(--ease); }
.btn:hover { border-color: var(--ink); }
.btn:hover span { transform: translate(2px, 2px); }
.btn--solid { background: var(--ink); color: var(--bg); border-color: var(--ink); }

[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

.rz { display: inline-block; overflow: hidden; vertical-align: bottom; }
.rz > i { display: inline-block; transform: translateY(106%); transition: transform 1.1s var(--ease); }
.is-loaded .hero__title .rz > i,
.intro.is-done ~ .hero .hero__title .rz > i { transform: none; }

.section-label { display: flex; align-items: baseline; gap: 14px; font-family: var(--en); text-transform: uppercase; letter-spacing: .14em; }
.section-label span { font-size: 13px; color: var(--faint); }
.section-label p { font-size: clamp(13px, 1.3vw, 15px); color: var(--dim); }

/* ---------- 01 HERO：参考图首页版式 ---------- */
.hero {
  position: relative; min-height: 100svh; width: 100%;
  display: flex; flex-direction: column; gap: clamp(28px, 4.4vh, 48px);
  padding: clamp(28px, 3vw, 52px) var(--pad) clamp(26px, 3vw, 48px); overflow: hidden;
}
/* 水波纹：静止液面渲染成 #050505（= --bg），故提高不透明度不会泛灰，只放大波峰亮度。
   改为 fixed 全屏、沉到内容之下（z-index:-1）→ 整页（hero 到页脚）共用同一水面，
   滚动到哪里都能看到连贯波纹，而文字始终在波纹之上保持清晰。 */
.hero__fx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .82; pointer-events: none; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(115% 86% at 80% 40%, rgba(5,5,5,.8), rgba(5,5,5,.26) 52%, transparent 76%),
    linear-gradient(180deg, rgba(5,5,5,.72), transparent 24%, transparent 70%, rgba(5,5,5,.86));
}
.hero__grain {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(243,243,241,.06) 1px, transparent 1px);
  background-size: 3px 3px; mix-blend-mode: screen;
}
/* 顶部胶囊导航：保留原链接和分类映射 */
.hnav {
  position: relative; z-index: 4; display: flex; align-items: center; gap: 26px;
  padding: 4px; border: 1px solid var(--line); border-radius: 100px;
  background: rgba(9,9,9,.72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.hnav__brand { display: flex; align-items: center; gap: 18px; margin-right: auto; font-family: var(--en); }
.hnav__mark { width: 36px; height: 36px; border-radius: 50%; flex: 0 0 auto; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-size: 15px; font-weight: 700; }
.hnav__role { font-size: 10px; letter-spacing: .24em; color: #b9b9bc; }
.hnav__list { list-style: none; display: flex; align-items: center; flex-wrap: wrap; gap: clamp(18px, 1.9vw, 34px); font: 11px/1.5 var(--en); letter-spacing: .07em; }
.hnav__list a { position: relative; color: var(--ink); transition: color .3s var(--ease); }
.hnav__list a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1px; background: var(--ink); transition: right .35s var(--ease); }
.hnav__list a:hover { color: #aaa; }
.hnav__list a:hover::after { right: 0; }
.hnav__more { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; font: 18px/1 var(--en); letter-spacing: .08em; }
.hero__grid { position: relative; z-index: 3; flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, .91fr) minmax(0, 1.09fr); gap: clamp(20px, 3vw, 54px); align-items: center; }
.hero__col { display: flex; flex-direction: column; gap: clamp(14px, 1.25vw, 22px); padding-left: clamp(0px, .9vw, 16px); }
.hero__kicker { display: flex; align-items: center; gap: 28px; font: 12px/1.5 var(--en); letter-spacing: .32em; color: #939397; }
.hero__kicker span { width: 66px; height: 1px; background: #555; }
.hero__title { font-family: var(--en); font-size: clamp(80px, 8.2vw, 148px); font-weight: 900; line-height: .9; letter-spacing: -.065em; }
.hero__title .rz { display: block; width: fit-content; padding: 0 .06em .08em 0; margin-bottom: -.06em; }
.hero__title i { font-style: normal; background: linear-gradient(168deg, #fff 25%, #f6f6f5 56%, #aaa 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__name { display: flex; align-items: center; gap: 30px; font-size: clamp(32px, 3.2vw, 52px); font-weight: 700; letter-spacing: .07em; line-height: 1.3; margin-top: 2px; }
.hero__name span { width: 150px; max-width: 30%; height: 1px; background: #454548; }
.hero__role { font: clamp(10px, .95vw, 16px)/1.7 var(--en); letter-spacing: .25em; white-space: nowrap; }
.hero__meta { list-style: none; display: flex; align-items: center; flex-wrap: wrap; gap: 10px 20px; font-size: clamp(11px, .98vw, 16px); color: #ddd; }
.hero__meta li + li { border-left: 1px solid #666; padding-left: 20px; }
.hero__lead { max-width: 46ch; color: #929297; font-size: clamp(13px, 1vw, 16px); line-height: 1.85; margin-top: 2px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 24px; margin-top: clamp(10px, 1vw, 20px); }
.hero__actions .btn { min-width: 198px; justify-content: space-between; padding: 5px 6px 5px 25px; font-size: 12px; letter-spacing: .2em; min-height: 46px; }
.hero__actions .btn span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font: 300 32px/1 var(--en); letter-spacing: 0; }
.hero__actions .btn--solid span { background: #090909; color: var(--ink); }
.hero__actions .btn--soft { background: rgba(5,5,5,.5); }
.hero__actions .btn--soft span { background: #161619; }
.hero__art { position: relative; min-width: 0; }
.collage { position: relative; height: auto; width: min(100%, calc(72svh * 1.2), 820px); aspect-ratio: 1.2; margin-left: auto; }
.collage__item { position: absolute; overflow: hidden; background: #101115; border: 1px solid #8a8c94; border-radius: clamp(18px, 1.9vw, 32px); box-shadow: 0 26px 60px #0006; }
.collage__item img { width: 100%; height: auto; object-fit: contain; }
.collage__a { left: 4%; top: 4%; width: 60%; aspect-ratio: 1086 / 1448; z-index: 2; }
.collage__b { right: 0; top: 0; width: 38%; aspect-ratio: 1024 / 1536; z-index: 1; }
.collage__c { right: 3%; bottom: 0; width: 34%; aspect-ratio: 814 / 1086; z-index: 3; }
.collage__card { position: absolute; left: -2%; bottom: 3%; z-index: 4; width: 56%; max-width: 370px; display: grid; grid-template-columns: 1fr auto; gap: 9px 14px; align-items: center; padding: clamp(17px, 1.5vw, 26px); border: 1px solid #5a5a5e; border-radius: clamp(18px, 1.7vw, 28px); background: rgba(9,9,9,.88); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 26px 60px #0006; transition: border-color .3s var(--ease); }
.collage__card:hover { border-color: #ddd; }
.collage__kicker { grid-column: 1; font: 9px/1.5 var(--en); letter-spacing: .14em; }
.collage__card strong { grid-column: 1; font: 700 clamp(15px, 1.2vw, 23px)/1.15 var(--en); letter-spacing: -.01em; }
.collage__sub { grid-column: 1 / -1; font-size: clamp(10px, .8vw, 14px); color: #ddd; }
.collage__go { grid-column: 2; grid-row: 1 / 3; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font: 300 34px/1 var(--en); }
.hero__foot { position: relative; z-index: 3; display: flex; align-items: center; gap: 22px; font: 10px/1.6 var(--en); letter-spacing: .14em; color: #97979d; }
.hero__foot p { display: flex; align-items: center; gap: 15px; }
.hero__rule { flex: 1; height: 1px; background: var(--line); }
.hero__foot a { display: inline-flex; align-items: center; gap: 16px; }
.hero__foot a span { font: 26px/1 var(--en); color: var(--ink); }
@media (max-width: 1180px) and (min-width: 981px) {
  .hero__grid { gap: 20px; }
  .hero__title { font-size: 8vw; }
  .hero__role { font-size: 9px; }
  .hero__meta { font-size: 11px; gap: 8px 12px; }
  .hero__meta li + li { padding-left: 12px; }
  .hero__actions { gap: 12px; }
  .hero__actions .btn { min-width: 160px; }
  .collage { width: min(100%, calc(62svh * 1.2)); }
}
@media (max-width: 980px) {
  .hero { min-height: 100svh; gap: 42px; }
  .hero__grid { grid-template-columns: 1fr; gap: 42px; }
  .hero__col { padding-left: 0; gap: 19px; }
  .hero__title { font-size: clamp(80px, 14vw, 138px); }
  .hero__role { font-size: clamp(10px, 1.6vw, 15px); }
  .hero__meta { font-size: 13px; }
  .collage { width: min(100%, 760px); height: auto; margin: 0 auto; }
  .collage__card { left: 0; }
  .hnav { flex-wrap: wrap; border-radius: 26px; padding: 8px; gap: 14px; }
  .hnav__list { order: 3; width: 100%; justify-content: space-between; padding: 4px 10px 6px; gap: 10px; font-size: 10px; }
  .hero__foot { flex-wrap: wrap; gap: 18px; }
  .hero__foot p { font-size: 9px; gap: 10px; }
}
@media (max-width: 600px) {
  .hero { padding-top: 22px; gap: 32px; }
  .hero__col { gap: 18px; }
  .hero__title { font-size: clamp(64px, 17vw, 102px); }
  .hero__kicker { font-size: 10px; letter-spacing: .22em; gap: 18px; }
  .hero__kicker span { width: 50px; }
  .hero__name { font-size: 32px; }
  .hero__role { font-size: 9px; letter-spacing: .15em; white-space: normal; }
  .hero__meta { gap: 8px 12px; font-size: 11px; }
  .hero__meta li + li { padding-left: 12px; }
  .hero__actions { gap: 12px; }
  .hero__actions .btn { min-width: 0; flex: 1; font-size: 10px; padding-left: 16px; letter-spacing: .12em; }
  .hero__actions .btn span { width: 30px; height: 30px; }
  .collage { height: auto; padding-bottom: 126px; aspect-ratio: auto; min-height: calc((100vw - var(--pad) * 2) / 1.2 + 126px); }
  .collage__a { top: 2%; }
  .collage__c { bottom: 126px; }
  .collage__item { border-radius: 16px; }
  .collage__card { bottom: 0; width: 100%; max-width: none; padding: 14px; gap: 7px; border-radius: 16px; }
  .collage__card strong { font-size: 13px; }
  .collage__kicker { font-size: 7px; }
  .collage__sub { font-size: 8px; }
  .collage__go { width: 29px; height: 29px; font-size: 26px; }
  .hero__foot { font-size: 8px; gap: 12px; }
  .hero__foot p { width: 100%; }
  .hero__foot a { gap: 10px; }
}


/* ---------- 02 TOOLS 跑马灯 ---------- */
.tools { padding: clamp(60px, 9vw, 150px) 0; border-top: 1px solid var(--line); }
.tools__label { padding: 0 var(--pad) clamp(28px, 4vw, 60px); }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-duration: 120s; }
.marquee__set { display: flex; }
.tool { display: flex; align-items: center; gap: 16px; padding: 0 clamp(28px, 4vw, 64px); border-right: 1px solid var(--line); }
.tool img { width: clamp(30px, 3vw, 46px); height: clamp(30px, 3vw, 46px); object-fit: contain; filter: grayscale(1) brightness(1.6); }
.tool span { font-family: var(--en); font-size: clamp(18px, 2.4vw, 38px); font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 03 ABOUT ---------- */
.about { padding: clamp(80px, 11vw, 200px) var(--pad); border-top: 1px solid var(--line); }
.about__id { margin-bottom: clamp(40px, 6vw, 90px); }
.about__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.about__left h2 { margin-bottom: clamp(32px, 4vw, 56px); }
.about__title-en { display: block; margin-bottom: 18px; font: 11px/1.7 var(--en); letter-spacing: .19em; color: #9b9ba4; }
.about__title-main { display: block; font-family: var(--cn); font-size: clamp(32px, 4vw, 64px); font-weight: 700; line-height: 1.2; letter-spacing: -.045em; }
.about__experience-line { display: flex; align-items: center; gap: clamp(18px, 2vw, 30px); margin-top: 28px; }
.about__experience-years { display: flex; align-items: center; gap: clamp(16px, 1.8vw, 28px); font: 600 clamp(64px, 6.2vw, 100px)/.9 var(--en); letter-spacing: -.075em; font-variant-numeric: lining-nums tabular-nums; }
.about__experience-years > span { font-size: .48em; font-weight: 300; letter-spacing: 0; color: #55555f; }
.about__experience-label { display: block; font-family: var(--cn); font-size: clamp(17px, 1.65vw, 24px); font-weight: 400; line-height: 1.5; letter-spacing: .06em; }
.about__experience-label small { display: block; margin-top: 7px; font: 9px/1.6 var(--en); letter-spacing: .13em; color: #9b9ba4; }
@media (max-width: 600px) {
  .about__title-en { font-size: 9px; letter-spacing: .12em; margin-bottom: 14px; }
  .about__experience-line { margin-top: 24px; gap: 18px; }
  .about__experience-label small { max-width: 150px; font-size: 8px; letter-spacing: .08em; }
}
.about__bio h3 { font-size: clamp(20px, 2vw, 30px); font-weight: 700; }
.about__bio .lead { color: var(--dim); margin: 6px 0 18px; font-size: clamp(14px, 1.3vw, 18px); }
.about__bio > p { max-width: 52ch; color: var(--dim); }
.about__meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 30px; margin-top: clamp(28px, 4vw, 50px); border-top: 1px solid var(--line); padding-top: clamp(24px, 3vw, 40px); }
.about__meta span { display: block; font-family: var(--en); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
.about__meta p { font-size: clamp(13px, 1.2vw, 15px); color: var(--ink); }
.about__right { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 56px); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { font-size: 13px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 100px; color: var(--dim); }
.about__bio .about__personal { color: #c4c4c9; font-size: 14px; margin: 0 0 18px; }
.about__meta a { overflow-wrap: anywhere; transition: color .3s var(--ease); }
.about__meta a:hover { color: #b2b2b8; }
.work-experience { min-width: 0; }
.work-experience__title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 18px; padding-bottom: 22px; font-size: clamp(23px, 2.3vw, 32px); font-weight: 600; }
.work-experience__title small { font: 10px/1.5 var(--en); letter-spacing: .19em; color: #96969e; }
.work-experience__list { list-style: none; }
.experience-item { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 16px; padding: 28px 0 32px; border-top: 1px solid var(--line); }
.experience-item__number { padding-top: 4px; font: 13px/1.5 var(--en); font-variant-numeric: tabular-nums; color: #898992; }
.experience-item h4 { font-size: clamp(17px, 1.55vw, 23px); line-height: 1.5; font-weight: 600; }
.experience-item__role { font-size: clamp(13px, 1.15vw, 16px); margin-top: 6px; color: #dddde0; }
.experience-item__scope { font-size: 12px; line-height: 1.7; margin-top: 9px; color: #a8a8b1; }
.experience-item__date { display: flex; align-items: center; gap: 14px; margin-top: 16px; font: 12px/1.6 var(--en); letter-spacing: .06em; color: #ababB4; }
.experience-item__date span { color: #666670; }
.experience-item__tasks { margin-top: 20px; padding-left: 1.15em; color: #b2b2bb; font-size: clamp(13px, 1.05vw, 15px); line-height: 1.85; }
.experience-item__tasks li + li { margin-top: 12px; }
@media (max-width: 600px) {
  .work-experience__title { padding-bottom: 18px; }
  .experience-item { grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding: 24px 0 28px; }
  .experience-item__tasks { font-size: 13px; }
}


/* ---------- 04 SELECTED WORKS ---------- */
.works {
  --works-gap: clamp(24px, 1.7vw, 34px);
  --works-pad: clamp(24px, 4.2vw, 82px);
  --cover-height: clamp(150px, calc((100vw - 2 * var(--works-pad) - 2 * var(--works-gap) - 28px) / 6.15), 270px);
  --stagger: clamp(12px, 2svh, 22px);
  position: relative; isolation: isolate; display: flex; flex-direction: column;
  min-height: 100svh; padding: clamp(24px, 3svh, 40px) var(--works-pad);
  border-top: 1px solid var(--line); overflow: visible; scroll-margin-top: 0;
  background: radial-gradient(ellipse at 54% 52%, #16161830 0, #09090a18 48%, transparent 80%);
}
.works::before {
  content: "WORKS"; position: absolute; top: 34%; left: 50%; z-index: -1;
  transform: translate(-50%, -50%) rotate(-6deg); font: 800 clamp(100px, 29vw, 600px)/.82 var(--en);
  letter-spacing: -.075em; color: #19191c; -webkit-text-stroke: 1px #424248;
  opacity: .66; pointer-events: none;
}
.works__head { position: relative; display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; }
.works__head .section-label { font: 12px/1.4 var(--en); color: #e4e4e6; letter-spacing: 0; }
.works__head .section-label span { color: #73737a; }
.works__head h2 { position: relative; width: fit-content; font: 800 clamp(44px, 3.55vw, 72px)/.98 var(--en); letter-spacing: -.055em; text-transform: uppercase; }
.works__head h2 > span { background: linear-gradient(160deg, #343437 3%, #eeeeef 75%); background-clip: text; -webkit-background-clip: text; color: transparent; -webkit-text-stroke: .5px #88888e; }
.works__signature { position: absolute; width: 125px; height: 42px; right: -104px; top: 1px; fill: none; stroke: #8a8a91; stroke-width: 1; opacity: .7; pointer-events: none; }
.works__note { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; color: #e6e6e8; font-size: clamp(13px, 1.1vw, 18px); }
.works__note span { font: 12px/1.6 var(--en); color: #a2a2a9; }
.works__range { position: absolute; top: 5px; right: 0; display: flex; align-items: center; gap: 25px; color: #c6c6cf; font: 12px/1.4 var(--en); letter-spacing: .08em; }
.works__range i { width: clamp(65px, 9vw, 155px); height: 1px; background: #66666b; }
.fan-shell { flex: 1; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; gap: 18px; }
.fan {
  position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center; gap: 8px var(--works-gap); width: 100%;
  padding: 22px 10px; margin: 0 0 auto; isolation: isolate;
  touch-action: pan-y; -webkit-user-select: none; user-select: none;
}
.fan-tile { position: relative; min-width: 0; width: 100%; --media-factor: 1.02; transform: translate(var(--shift-x, 0px), var(--offset, 0px)) rotate(var(--angle, 0deg)); perspective: 1200px; }
.fan-tile:nth-child(1) { width: 93.5%; justify-self: end; --media-factor: .78; --shift-x: 1.4vw; --offset: calc(var(--stagger) * .9); --angle: 2deg; --base-y: 1deg; }
.fan-tile:nth-child(2) { width: 90.5%; justify-self: center; --media-factor: 1.02; --shift-x: .75vw; --offset: calc(var(--stagger) * -1.5); --angle: -2.3deg; --base-y: -1deg; }
.fan-tile:nth-child(3) { width: 95%; justify-self: start; --media-factor: .9; --shift-x: -.4vw; --offset: calc(var(--stagger) * .5); --angle: -1.4deg; --base-y: -1deg; }
.fan-tile:nth-child(4) { width: 102%; --shift-x: .6vw; --offset: calc(var(--stagger) * -.3); --angle: -1.4deg; --base-y: 1deg; }
.fan-tile:nth-child(5) { width: 97%; justify-self: end; --shift-x: .35vw; --offset: calc(var(--stagger) * -.2); --angle: 1deg; --base-y: 0deg; }
.fan-tile:nth-child(6) { width: 103%; --shift-x: .1vw; --offset: calc(var(--stagger) * .85); --angle: -2deg; --base-y: -1deg; }
.fan-card {
  position: relative; display: block; width: 100%; padding: 0; text-align: left;
  background: #08080a; border: 1px solid #45454b; border-radius: 6px; overflow: visible;
  transform: translateY(0) rotateX(0deg) rotateY(var(--base-y, 0deg));
  transform-style: preserve-3d; backface-visibility: hidden; box-shadow: 0 18px 32px #0009;
  transition: transform 380ms var(--ease), border-color 380ms var(--ease), box-shadow 380ms var(--ease);
}
.fan-card__media { display: grid; place-items: center; width: 100%; height: calc(var(--cover-height) * var(--media-factor, 1)); background: #08080a; border-radius: 5px 5px 0 0; }
.fan-card__media img { display: block; width: 100%; height: calc(var(--cover-height) * var(--media-factor, 1)); max-width: 100%; object-fit: cover; object-position: center; border-radius: 5px 5px 0 0; pointer-events: none; -webkit-user-drag: none; }
.fan-tile:nth-child(2) .fan-card__media img { object-position: center top; }
.fan-card__cap { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 74px; padding: 12px clamp(14px, 1.3vw, 24px); border-top: 1px solid #25252b; background: linear-gradient(145deg, #0e0e11, #08080a); border-radius: 0 0 5px 5px; }
.fan-card__no { grid-column: 1; color: #80808a; font: 14px/1.2 var(--en); font-variant-numeric: tabular-nums; }
.fan-card__names { grid-column: 2; min-width: 0; }
.fan-card__cn { display: block; font-size: clamp(18px, 1.45vw, 26px); font-weight: 500; letter-spacing: .02em; line-height: 1.3; }
.fan-card__names small { display: block; margin-top: 5px; font: 11px/1.4 var(--en); letter-spacing: .02em; color: #aaaab3; }
.fan-card__arrow { grid-column: 3; font: 300 25px/1 var(--en); color: #e2e2e7; }
.fan-card:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
@media (min-width: 1101px) and (hover: hover) and (pointer: fine) {
  .fan-card:hover { transform: translateY(-6px) rotateX(var(--tilt-x, 2deg)) rotateY(var(--tilt-y, 3deg)); border-color: #c4c4d0; box-shadow: 0 24px 42px #000b; }
}
.works__footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #74747d; font: 9px/1.6 var(--en); letter-spacing: .03em; }
.works__footer p:first-child { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.works__footer i { display: block; width: 60px; height: 1px; background: #55555d; }
@media (min-width: 1101px) and (max-height: 800px) {
  .works { --cover-height: max(140px, calc((100svh - 420px) / 2)); --stagger: 12px; padding-block: 22px; }
  .works__head h2 { font-size: clamp(44px, 3.8vw, 62px); }
  .works__head { gap: 4px; margin-bottom: 2px; }
  .fan { padding-block: 18px; row-gap: 25px; }
  .fan-card__cap { min-height: 64px; padding-block: 9px; }
  .fan-shell { gap: 12px; }
}
@media (max-width: 1100px) {
  .works { min-height: auto; padding-block: 48px; --cover-height: clamp(160px, 23vw, 250px); }
  .works__range { top: 2px; }
  .works__range i { width: 44px; }
  .works__head h2 { font-size: clamp(40px, 5.5vw, 62px); }
  .works__signature { display: none; }
  .fan { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; padding: 24px 7px; }
  .fan-tile { width: 100% !important; --media-factor: 1 !important; --shift-x: 0px !important; --offset: 0px !important; --angle: 0deg !important; --base-y: 0deg !important; }
  .fan-card__cn { font-size: 21px; }
  .works__footer { align-items: flex-start; flex-direction: column; gap: 8px; }
}
@media (max-width: 600px) {
  .works { padding: 32px 20px; --cover-height: auto; }
  .works::before { top: 20%; font-size: 23vw; }
  .works__head { margin-bottom: 16px; }
  .works__head .section-label { font-size: 10px; }
  .works__head h2 { font-size: clamp(30px, 8.7vw, 49px); }
  .works__note { font-size: 12px; gap: 4px; }
  .works__note span { font-size: 10px; }
  .works__range { font-size: 9px; gap: 8px; }
  .works__range i { width: 24px; }
  .fan { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 0; }
  .fan-card { transform: none; }
  .fan-card__media { height: auto; aspect-ratio: var(--cover-ratio); }
  .fan-card__media img { width: 100%; height: auto; max-height: none; object-fit: contain; }
  .fan-card__cap { min-height: 74px; padding: 14px 16px; }
  .fan-card__cn { font-size: 21px; }
  .fan-card__names small { font-size: 11px; }
  .works__footer { margin-top: 6px; }
  .works__footer p:first-child { gap: 12px; }
  .works__footer p:first-child span { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .fan-tile { transform: none; }
  .fan-card { transition: none; }
  .fan-card, .fan-card:hover { transform: none; }
}


/* ---------- 05 全部作品画廊与原始素材查看 ---------- */
.detail {
  position: fixed; inset: 0; z-index: 900; background: var(--bg);
  clip-path: inset(100% 0 0 0); transition: clip-path .9s var(--ease);
  display: flex; flex-direction: column; overflow: hidden;
  pointer-events: none;                     /* 收起时绝不拦截下层点击 */
}
.detail.is-open { clip-path: inset(0); pointer-events: auto; }
.detail.detail--fan-entry { transition-duration: .12s; }

/* 流动质感底（同首页水波纹的思路：静止处 = 页面底色 #050505，
   所以调高不透明度只会让丝带更亮，不会在整页蒙一层灰） */
.detail__fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0; transition: opacity 1.2s var(--ease); pointer-events: none; }
.detail.is-open .detail__fx { opacity: .88; }
/* 压暗层：只把「左栏文字所在的那一列」压黑，让右侧的流动丝带尽量显出来。
   参考视频里文字区很暗、但紧邻的流动区其实亮到 p50≈12~24 / p90≈36~46，
   所以过渡必须收在栏宽的右边界附近，不能一路压到半屏。 */
.detail__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5,5,5,.97) 0%, rgba(5,5,5,.94) 24%, rgba(5,5,5,.62) 30%, rgba(5,5,5,.22) 39%, rgba(5,5,5,0) 52%),
    linear-gradient(180deg, rgba(5,5,5,.84) 0%, rgba(5,5,5,0) 26%, rgba(5,5,5,0) 68%, rgba(5,5,5,.72) 100%);
}

.detail__top {
  position: relative; z-index: 6; flex-shrink: 0; display: flex; align-items: center; gap: clamp(14px, 2vw, 34px);
  padding: var(--pad2) var(--pad); border-bottom: 1px solid var(--line);
  font-family: var(--en); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
}
.detail__top button { padding: 9px 16px; border: 1px solid var(--line); border-radius: 100px; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.detail__top button:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.detail__crumb { display: flex; align-items: center; gap: 10px; color: var(--dim); }
.detail__crumb button { padding: 2px 0; border: none; border-radius: 0; border-bottom: 1px solid transparent; color: var(--dim); }
.detail__crumb button:hover { background: none; color: var(--ink); border-bottom-color: var(--ink); }
.detail__crumb b { color: var(--ink); font-weight: 600; }
.detail__crumb i { font-style: normal; color: var(--faint); }
.detail__idx { margin-left: auto; color: var(--faint); }
.detail__nav { display: flex; gap: 8px; }

.dview { position: relative; z-index: 2; flex: 1; min-height: 0; scrollbar-width: thin; scrollbar-color: rgba(243,243,241,.3) transparent; }

/* --- 全部作品：单一纵向滚动容器，标题在画廊顶部 --- */
.dview--cat { display: block; overflow-y: auto; overflow-x: hidden; overscroll-behavior-y: contain; touch-action: pan-y; }
.dview__rail { position: relative; z-index: 2; max-width: 1440px; margin: 0 auto; padding: 34px var(--pad) 24px; }
.dview__no { float: right; font: 800 clamp(32px, 4vw, 56px)/1 var(--en); color: var(--faint); }
.dview__en { font-family: var(--en); font-size: 12px; letter-spacing: .18em; color: var(--dim); }
.dview__cn { margin-top: 8px; font-size: clamp(28px, 3.2vw, 46px); font-weight: 800; line-height: 1.15; }
.dview__desc { max-width: 80ch; margin-top: 14px; color: var(--dim); font-size: 14px; line-height: 1.8; }
.gallery-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.gallery-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.gallery-filters button { padding: 9px 14px; border: 1px solid var(--line); border-radius: 99px; color: var(--dim); font-size: 12px; }
.gallery-filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.gallery-filters button span { margin-left: 7px; font-family: var(--en); opacity: .65; }
.gallery-count { font-size: 12px; color: var(--dim); font-variant-numeric: tabular-nums; }
.dview__stage { position: relative; z-index: 2; min-width: 0; overflow: visible; }
.dview__foot { padding: 30px var(--pad) 40px; text-align: center; color: var(--faint); font-size: 11px; letter-spacing: .14em; }
.gal { position: relative; width: 100%; }
/* Adaptive rows preserve original sequence. Columns follow image ratios, not fixed frames. */
.gal__track { display: grid; gap: 24px; width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--pad); }
.gal-row { display: grid; grid-template-columns: var(--wall-columns); gap: 24px; width: min(100%, var(--wall-width)); min-width: 0; align-items: start; }
.gal-card { transition: border-color .25s ease, transform .25s ease; position: relative; display: block; min-width: 0; width: 100%; padding: 0; margin: 0; text-align: left; border: 1px solid var(--line); border-radius: 5px; background: #0f0f0f; overflow: hidden; }
.gal-card__fig { position: relative; display: grid; grid-template-rows: 30px auto; width: 100%; padding: 0; overflow: hidden; background: #151515; }
.gal-card__fig img { grid-row: 2; display: block; width: 100%; height: auto; max-width: 100%; max-height: none; object-fit: contain; object-position: center; -webkit-user-drag: none; }
.gal-card__no, .gal-card__type { position: absolute; top: 4px; padding: 4px 8px; border-radius: 3px; background: rgba(5,5,5,.85); color: var(--ink); font: 10px/1.5 var(--en); letter-spacing: .08em; }
.gal-card__no { left: 8px; }
.gal-card__type { right: 8px; }
.gal-card__play { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; background: rgba(5,5,5,.7); transform: translate(-50%,-50%); font-size: 16px; padding-left: 2px; }
.gal-card__arrow { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--bg); opacity: 0; transform: translateY(5px); transition: opacity .25s ease, transform .25s ease; }
.gal-card__ph { display: grid; place-items: center; height: 100%; color: var(--dim); font: 600 48px var(--en); }
.gal-card__cap { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 6px; min-height: 115px; padding: 16px 18px; background: #0b0b0b; border-top: 1px solid var(--line); }
.gal-card__cap b { font-size: 15px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.gal-card__cap small { font-size: 12px; color: var(--dim); overflow-wrap: anywhere; }
.gal-card__cap > span { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; color: var(--dim); font-size: 11px; }
.gal-card__cap em { margin-left: auto; font-family: var(--en); font-style: normal; white-space: nowrap; }
@media (hover: hover) {
  .gal-card:hover { transform: translateY(-2px); }
  .gal-card:hover .gal-card__arrow { opacity: 1; transform: none; }
  .gal-card:hover { border-color: rgba(243,243,241,.4); }
}
.gal-card:focus-visible, .detail button:focus-visible, .viewer__original:focus-visible { outline: 2px solid var(--ink); outline-offset: -3px; }
.gal-card:focus-visible .gal-card__arrow { opacity: 1; transform: none; }
.detail__top button:disabled { opacity: .25; cursor: default; }
.detail__top button:disabled:hover { background: none; color: var(--ink); border-color: var(--line); }
/* Ecommerce complete projects only. No shared thumbnail/viewer rules are overridden. */
.gal__track--commerce { gap: 0; }
.commerce-project { width: 100%; min-width: 0; }
.commerce-project + .commerce-project { margin-top: 72px; padding-top: 64px; border-top: 1px solid var(--line); }
.commerce-project__head { margin-bottom: 30px; }
.commerce-project__head p { font: 12px/1.6 var(--en); letter-spacing: .18em; color: var(--dim); }
.commerce-project__head h3 { margin-top: 10px; font-size: clamp(24px, 2.6vw, 36px); font-weight: 700; line-height: 1.25; }
.commerce-project__hero { width: min(100%, 750px); margin: 0 auto 48px; }
.commerce-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 24px; width: 100%; overflow: visible; }
.commerce-media { display: block; width: 100%; min-width: 0; height: auto; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 4px; background: #101010; text-align: left; overflow: visible; }
.commerce-media img { display: block; width: 100%; height: auto; max-width: 100%; max-height: none; object-fit: contain; position: static; transform: none; }
.commerce-media__label { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 11px; line-height: 1.6; color: var(--dim); }
.commerce-media__label small { font-size: 10px; color: var(--faint); }
.commerce-media:hover { border-color: rgba(243,243,241,.4); }
.commerce-media:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.commerce-other { margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--line); }
.commerce-other__wall { display: grid; gap: 24px; width: 100%; min-width: 0; }
@media (max-width: 900px) {
  .commerce-details { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 640px) {
  .commerce-project__head { margin-bottom: 24px; }
  .commerce-project + .commerce-project { margin-top: 48px; padding-top: 40px; }
  .commerce-project__hero { margin-bottom: 28px; }
  .commerce-details, .commerce-other__wall { gap: 20px; }
  .commerce-other { margin-top: 48px; padding-top: 36px; }
}

/* --- 原始素材查看：长图不设最大高度；完整项目维持原有素材顺序 --- */
.dview--viewer { display: flex; flex-direction: column; overflow: hidden; }
.viewer__stage { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior-y: contain; touch-action: pan-y; scrollbar-width: thin; scrollbar-color: rgba(243,243,241,.3) transparent; }
.viewer__head { max-width: 1440px; margin: 0 auto; padding: 26px var(--pad); }
.viewer__head .dview__cn { font-size: clamp(23px, 2.5vw, 34px); }
.viewer__project { margin-top: 10px; font-size: 13px; line-height: 1.8; color: var(--dim); }
.viewer__project-button { margin-top: 18px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 100px; font-size: 12px; }
.viewer__project-button:hover { background: var(--ink); color: var(--bg); }
.viewer__track { max-width: 1440px; padding: 0 var(--pad) 48px; margin: 0 auto; }
.viewer-media { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.viewer-media img, .viewer-media video { display: block; width: auto; max-width: 100%; height: auto; max-height: calc(100dvh - 280px); object-fit: contain; background: #111; }
.viewer-media video { width: min(100%, 1100px); min-height: 200px; }
.viewer-media--long img { width: min(100%, var(--natural-width)); height: auto; max-height: none; }
.viewer__original { align-self: flex-end; padding: 6px 0; font-size: 11px; color: var(--dim); text-decoration: underline; text-underline-offset: 4px; }
.viewer__track--project { display: flex; flex-direction: column; gap: 48px; }
.viewer__track--project .viewer-media { padding-top: 24px; border-top: 1px solid var(--line); }
.viewer__track--project img { max-height: none; width: min(100%, var(--natural-width)); }
.viewer-media figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; width: 100%; margin-bottom: 4px; }
.viewer-media figcaption span, .viewer-media figcaption small { color: var(--dim); font: 11px var(--en); }
.viewer-media figcaption b { font-size: 14px; font-weight: 500; }
.viewer-media figcaption small { margin-left: auto; }
@media (max-width: 640px) {
  .gal__track, .gal-row { gap: 20px; }
  .gallery-toolbar { margin-top: 22px; gap: 12px; }
  .gallery-filters button { font-size: 11px; padding: 8px 12px; }
  .detail__top .detail__back { margin-right: auto; }
  .detail__idx { margin-left: 0; }
  .detail__top .detail__nav { width: 100%; justify-content: space-between; }
  .detail__top button { padding: 8px 12px; }
  .viewer-media img, .viewer-media video { max-height: none; }
}


/* Brand index and complete cases preserve every source composition. */
.gal__track--brand { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.brand-project-card { display: flex; flex-direction: column; width: 100%; min-width: 0; padding: 0; text-align: left; border: 1px solid var(--line); border-radius: 8px; background: #0d0d0d; transition: transform .35s var(--ease), border-color .35s ease; }
.brand-project-card__visual { position: relative; display: block; flex-shrink: 0; width: 100%; min-height: 0; aspect-ratio: 16 / 10; background: #151515; border-radius: 7px 7px 0 0; }
.brand-project-card__visual img { position: absolute; inset: 12px; display: block; width: calc(100% - 24px); height: calc(100% - 24px); min-height: 0; max-width: 100%; max-height: 100%; object-fit: contain; }
.brand-project-card__body { display: flex; flex: 1; flex-direction: column; gap: 12px; min-width: 0; width: 100%; padding: clamp(20px, 2.5vw, 32px); }
.brand-project-card__eyebrow { color: var(--dim); font: 11px/1.6 var(--en); letter-spacing: .12em; }
.brand-project-card strong { font-size: clamp(20px, 2vw, 28px); line-height: 1.45; font-weight: 650; overflow-wrap: anywhere; }
.brand-project-card__desc { color: var(--dim); font-size: 13px; line-height: 1.9; }
.brand-project-card__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; margin-top: auto; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.6; }
.brand-project-card__bottom > span:first-child { color: var(--dim); }
.brand-project-card:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
@media (hover: hover) {
  .brand-project-card:hover { transform: translateY(-4px); border-color: rgba(243,243,241,.45); }
}
.dview--brand .viewer__head { max-width: 1200px; padding-top: 44px; padding-bottom: 22px; }
.dview--brand .viewer__head .dview__cn { max-width: 26ch; font-size: clamp(26px, 3vw, 42px); line-height: 1.4; }
.dview--brand .viewer__project { max-width: 76ch; line-height: 1.9; }
.viewer__track--brand { display: flex; flex-direction: column; max-width: 1200px; gap: 36px; padding-bottom: 80px; }
.brand-case-intro { margin-bottom: 8px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.brand-case-intro p { display: flex; flex-wrap: wrap; gap: 12px 24px; color: var(--dim); font-size: 12px; line-height: 1.8; }
.brand-case-credit { margin-left: auto; }
.brand-case-contents { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.brand-case-contents button { padding: 10px 16px; border: 1px solid var(--line); border-radius: 24px; font-size: 12px; }
.brand-case-contents button:hover { background: var(--ink); color: var(--bg); }
.viewer__track--brand .viewer-media { padding-top: 0; border: none; gap: 10px; }
.viewer__track--brand .viewer-media img, .viewer__track--brand .viewer-media video { width: 100%; height: auto; min-height: 0; max-height: none; object-fit: contain; }
.viewer__track--brand .viewer-media figcaption { line-height: 1.7; }
.viewer__track--brand .viewer__original { min-height: 32px; display: flex; align-items: center; }
@media (max-width: 700px) {
  .gal__track--brand { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .brand-project-card__body { padding: 20px; }
  .brand-project-card__visual { aspect-ratio: 4 / 3; }
  .dview--brand .viewer__head { padding-top: 26px; }
  .viewer__track--brand { gap: 28px; }
  .brand-case-credit { margin-left: 0; }
  .brand-case-contents { gap: 8px; }
  .brand-case-contents button { padding: 9px 12px; }
}
@media (prefers-reduced-motion: reduce) { .brand-project-card { transition: none; } }

/* Video case template: independent from ordinary image and ecommerce viewers. */
.detail--case .detail__top { background: #080808; }
.dview--case .viewer__head { display: none; }
.dview--case .viewer__stage { background: #080808; }
.viewer__track--case { max-width: 1280px; padding: 0 clamp(20px, 3vw, 56px) 80px; }
.video-case { animation: case-appear .35s var(--ease) both; }
@keyframes case-appear { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.case-head { padding: clamp(42px, 6vw, 88px) 0 clamp(42px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.case-head__category { color: #98989f; font: 10px/1.7 var(--en); letter-spacing: .2em; margin-bottom: 25px; }
.case-head__en { position: relative; font: 700 clamp(38px, 6.4vw, 88px)/.94 var(--en); letter-spacing: -.045em; }
.case-head__en > span { position: absolute; right: 0; bottom: 0; color: #64646c; font-size: 17px; font-weight: 400; letter-spacing: .05em; }
.case-head__cn { margin-top: 29px; font-size: clamp(24px, 2.65vw, 36px); font-weight: 500; line-height: 1.45; }
.case-head__description { max-width: 72ch; margin-top: 17px; color: #a7a7af; font-size: 14px; line-height: 1.9; }
.case-final { padding-top: 38px; }
.case-section-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 24px; margin-bottom: 24px; }
.case-section-title > p { width: 100%; font: 11px/1.6 var(--en); letter-spacing: .18em; color: #b0b0b7; }
.case-section-title h3 { font-size: clamp(19px, 2vw, 26px); font-weight: 400; }
.case-section-title > span { margin-left: auto; font-size: 11px; color: #9999a3; }
.case-film { width: 100%; max-width: 1160px; margin: 0 auto; }
.case-film[data-orientation="portrait"] { max-width: 420px; }
.case-film video { display: block; width: 100%; height: auto; max-width: 100%; max-height: none; aspect-ratio: var(--film-ratio, 16 / 9); object-fit: contain; background: #050505; border: 1px solid #29292f; border-radius: 4px; }
.case-film__controls { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; padding-top: 18px; }
.case-film__play { min-height: 44px; padding: 10px 18px; border: 1px solid #55555e; border-radius: 100px; font-size: 11px; letter-spacing: .06em; transition: background .3s, border-color .3s; }
.case-film__play:hover { background: #222226; border-color: #aaaab4; }
.case-film__controls > p { color: #92929c; font: 11px/1.8 var(--en); }
.case-scroll { display: flex; justify-content: center; align-items: center; gap: 18px; padding: 34px 0 4px; color: #b4b4bd; font: 10px/1.6 var(--en); letter-spacing: .15em; }
.case-scroll > span { font-size: 22px; }
.case-storyboards { margin-top: clamp(52px, 7vw, 96px); padding-top: 32px; border-top: 1px solid var(--line); }
.case-shot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 22px; }
.case-shot-grid--portrait { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.case-shot { display: block; width: 100%; min-width: 0; text-align: left; background: #101012; border: 1px solid #303036; border-radius: 4px; transition: border-color .3s; }
.case-shot:hover { border-color: #909099; }
.case-shot:focus-visible, .case-film__play:focus-visible, .case-lightbox a:focus-visible, .case-lightbox button:focus-visible { outline: 2px solid #f3f3f1; outline-offset: 4px; }
.case-shot__image, .case-shot__image img { display: block; width: 100%; }
.case-shot__image img { height: auto; max-height: none; object-fit: contain; }
.case-shot__caption { display: grid; grid-template-columns: 1fr auto; gap: 9px 12px; padding: 15px; }
.case-shot__caption small { color: #b1b1bb; font: 10px/1.6 var(--en); letter-spacing: .1em; }
.case-shot__caption > span { color: #b1b1bb; font-size: 17px; }
.case-shot__caption b { grid-column: 1 / -1; font-size: 13px; font-weight: 400; line-height: 1.7; }
.case-shot__caption em { grid-column: 1 / -1; font-size: 11px; font-style: normal; line-height: 1.8; color: #aaaab3; }
.case-lightbox { position: absolute; inset: 0; z-index: 30; display: flex; flex-direction: column; background: #080808; animation: case-appear .3s var(--ease) both; }
.case-lightbox__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 15px; padding: 18px var(--pad); border-bottom: 1px solid var(--line); }
.case-lightbox__top button { min-height: 44px; padding: 8px 17px; border: 1px solid #404048; border-radius: 100px; font-size: 12px; }
.case-lightbox__top button:disabled { opacity: .3; cursor: default; }
.case-lightbox__top p { font: 11px/1.5 var(--en); letter-spacing: .1em; color: #b5b5be; }
.case-lightbox__nav { display: flex; gap: 10px; }
.case-lightbox__stage { flex: 1; min-height: 0; overflow-y: auto; padding: 24px var(--pad); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 18px; }
.case-lightbox__stage img { display: block; width: auto; max-width: 100%; height: auto; max-height: calc(100dvh - 240px); object-fit: contain; }
.case-lightbox__stage h2 { font-size: 16px; font-weight: 400; text-align: center; }
.case-lightbox__stage a { color: #a5a5af; text-decoration: underline; text-underline-offset: 4px; font-size: 11px; }
@media (max-width: 900px) {
  .case-shot-grid--portrait { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .detail--case .detail__top { padding-left: 18px; padding-right: 18px; }
  .viewer__track--case { padding: 0 18px 48px; }
  .case-head { padding-top: 35px; }
  .case-head__category { font-size: 9px; letter-spacing: .12em; }
  .case-head__cn { font-size: 23px; margin-top: 25px; }
  .case-head__description { font-size: 13px; }
  .case-shot-grid { grid-template-columns: 1fr; gap: 20px; }
  .case-shot-grid--portrait { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-section-title > span { width: 100%; margin-left: 0; }
  .case-shot__caption { padding: 13px; }
  .case-lightbox__top { padding: 14px 18px; }
  .case-lightbox__nav { width: 100%; justify-content: space-between; }
  .case-lightbox__stage { padding: 20px 18px; }
  .case-lightbox__stage img { max-height: calc(100dvh - 290px); }
}
@media (max-width: 359px) { .case-shot-grid--portrait { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .video-case, .case-lightbox { animation: none; } }


/* ---------- 06 结尾：CONTACT（左主张语 + 右联系方式卡） ---------- */
.end { padding: clamp(80px, 11vw, 190px) var(--pad) clamp(34px, 5vw, 64px); border-top: 1px solid var(--line); }
.end__grid { display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(0, .88fr); gap: clamp(30px, 5vw, 84px); align-items: start; }
.end__col { display: flex; flex-direction: column; }
.end__kicker { font-family: var(--en); font-size: clamp(11px, 1vw, 13.5px); letter-spacing: .26em; text-transform: uppercase; color: var(--dim); }
.end__title { margin-top: clamp(14px, 2vw, 30px); font-weight: 800; font-size: clamp(30px, 5.2vw, 86px); line-height: 1.12; letter-spacing: .005em; }
.end__lead { margin-top: clamp(16px, 2.2vw, 32px); max-width: 600px; color: var(--dim); font-size: clamp(13px, 1.15vw, 16px); line-height: 1.9; }

.end__card {
  list-style: none; display: flex; flex-direction: column;
  background: #121212; border: 1px solid var(--line); border-radius: clamp(14px, 1.3vw, 20px);
  padding: clamp(6px, .7vw, 12px) clamp(20px, 2.2vw, 34px);
}
.end__card li { border-bottom: 1px solid var(--line); }
.end__card li:last-child { border-bottom: none; }
.end__card a, .end__row {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: .5em; padding: clamp(13px, 1.5vw, 19px) 0;
  font-size: clamp(12.5px, 1.02vw, 15px); line-height: 1.5; transition: color .3s var(--ease);
}
.end__card b { font-family: var(--en); font-weight: 700; letter-spacing: .02em; }
.end__card a:hover { color: var(--dim); }
.end__row--last span { color: var(--dim); }
.end__foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: clamp(12px, 2vw, 30px);
  margin-top: clamp(40px, 6vw, 78px); padding-top: clamp(16px, 2.2vw, 26px); border-top: 1px solid var(--line);
  font-family: var(--en); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint);
}
.end__top {
  margin-left: auto; display: inline-flex; align-items: center; gap: .5em; padding-bottom: 2px;
  color: var(--dim); border-bottom: 1px solid transparent;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.end__top span { transition: transform .4s var(--ease); }
.end__top:hover { color: var(--ink); border-color: var(--line); }
.end__top:hover span { transform: translateY(-3px); }

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
  .about__grid { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .detail__top { flex-wrap: wrap; padding: 14px var(--pad); }
  .detail__nav { flex-shrink: 0; }
  /* 结尾改单列：主张语在上，联系方式卡在下 */
  .end__grid { grid-template-columns: 1fr; gap: clamp(28px, 5vw, 46px); }
  /* 单列后栏宽由 ~54vw 变为 ~93vw，字号须同比放大，否则主张语只占栏宽一半、显得空心 */
  .end__title { font-size: clamp(30px, 8.9vw, 86px); }
  .end__lead { max-width: none; }
  /* 单列后左栏跑到上方，压暗层改为「顶部压黑」，同样只压文字区、放行下方流动区 */
  .detail__veil {
    background:
      linear-gradient(180deg, rgba(5,5,5,.94) 0%, rgba(5,5,5,.74) 22%, rgba(5,5,5,.30) 40%, rgba(5,5,5,0) 62%),
      linear-gradient(180deg, rgba(5,5,5,0) 76%, rgba(5,5,5,.74) 100%);
  }
}
@media (max-width: 760px) {
  :root { --pad: 22px; }
  .about__meta { grid-template-columns: 1fr; }
  .detail__top { gap: 10px; font-size: 11px; }
  .detail__crumb { display: none; }
  .end__title { font-size: clamp(26px, 8.5vw, 60px); }
  .end__foot { gap: 10px 16px; }
  .end__top { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero__fx { display: none; }
  .detail__fx { display: none; }
  [data-reveal] { opacity: 1; transform: none; }
  .rz > i { transform: none; }
}
