/* =========================================================
   灰度视觉 ShadowGlow — 从 Shadow 到 Glow
   页面自上而下由黑渐亮：画面（暗）→ 证据 → 主张 → 联系（亮）
   ========================================================= */

:root {
  --font-cn: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  --font-lat: Georgia, "Times New Roman", "Songti SC", serif;

  --ink-0: #0a0a0a;
  --ink-1: #0e0e0e;
  --ink-2: #141414;
  --ink-3: #1c1c1c;
  --ink-4: #242424;
  --paper-2: #e9e6df;
  --paper-1: #f4f2ed;
  --paper-0: #faf9f6;

  --fg: #f2f0eb;
  --fg-2: rgba(242, 240, 235, .68);
  --fg-3: rgba(242, 240, 235, .5);
  --line: rgba(242, 240, 235, .14);

  --g1: #3a3a3a; --g2: #6a6a6a; --g3: #a8a8a8; --g4: #eeeeee;

  --wrap: 1360px;
  --gut: clamp(18px, 4.2vw, 56px);
  --sec: clamp(80px, 10vw, 140px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-cn);
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg);
  background: var(--ink-0);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol, dl, dd, figure, h1, h2, h3, p { margin: 0; padding: 0; }
ul, ol { list-style: none; }
.grain-defs { position: absolute; width: 0; height: 0; }

.wrap { width: min(100% - var(--gut) * 2, var(--wrap)); margin-inline: auto; }

/* ---------- 文字体系 ---------- */
.label {
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--fg-2);
  display: flex; gap: 14px; align-items: baseline;
}
.label em {
  font-family: var(--font-lat);
  font-style: italic;
  text-transform: none;
  letter-spacing: .02em;
  font-size: 13px;
  color: var(--fg-3);
}
/* 标题按词组断行：每个 .nb 是一个不可拆的词组，避免"真 / 实课题"这类拆词 */
.nb { display: inline-block; }
.section-head { margin-bottom: clamp(40px, 6vw, 80px); }
.section-head h2 {
  margin-top: 22px;
  font-size: clamp(28px, 4.2vw, 58px);
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: .01em;
  max-width: 22ch;
}

/* ---------- 顶栏 ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: 76px;
  transition: background .5s var(--ease), color .5s var(--ease), backdrop-filter .5s;
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 32px; }
.site-header.is-scrolled { background: rgba(10, 10, 10, .55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
body[data-theme="light"] .site-header.is-scrolled { background: rgba(244, 242, 237, .72); }
body[data-theme="light"] .site-header { color: #111; }

.brand { display: flex; align-items: baseline; gap: 10px; margin-right: auto; }
.brand-cn { font-size: 17px; font-weight: 500; letter-spacing: .16em; }
.brand-en { font-family: var(--font-lat); font-style: italic; font-size: 13px; opacity: .6; letter-spacing: .02em; }

.nav { display: flex; gap: 34px; font-size: 13px; letter-spacing: .14em; }
.nav a { position: relative; padding: 6px 0; opacity: .78; transition: opacity .3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: currentColor; transition: right .4s var(--ease); }
.nav a:hover { opacity: 1; }
.nav a:hover::after { right: 0; }

.wedge { display: flex; align-items: flex-end; gap: 4px; height: 14px; margin-left: 8px; }
.wedge i { width: 3px; height: 100%; background: currentColor; opacity: .18; transition: opacity .5s, transform .5s var(--ease); transform-origin: bottom; transform: scaleY(.55); }
.wedge i.is-past { opacity: .45; transform: scaleY(.75); }
.wedge i.is-on { opacity: 1; transform: scaleY(1); }

.nav-toggle { display: none; width: 40px; height: 40px; position: relative; }
.nav-toggle i { position: absolute; left: 9px; right: 9px; height: 1px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.nav-toggle i:first-child { top: 15px; } .nav-toggle i:last-child { top: 24px; }
.nav-toggle[aria-expanded="true"] i:first-child { top: 19px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:last-child { top: 19px; transform: rotate(-45deg); }

/* ---------- 分区底色：Shadow → Glow ---------- */
.zone { position: relative; padding-block: var(--sec); }
.hero   { background: var(--ink-0); padding: 0; }
.brands { background: var(--ink-1); padding-block: clamp(48px, 6vw, 80px); }
.cases  { background: var(--ink-2); }
.how    { background: var(--paper-1); color: #141414; }
.works  { background: var(--ink-3); }
.about  { background: var(--paper-2); color: #141414; }
.contact{ background: var(--paper-1); color: #141414; }
.about, .contact, .how { --fg: #141414; --fg-2: rgba(20,20,20,.66); --fg-3: rgba(20,20,20,.54); --line: rgba(20,20,20,.14); }
/* 灰阶过渡带：从暗到亮 */
.about::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: clamp(120px, 16vw, 220px);
  background: linear-gradient(to bottom, var(--ink-3), var(--paper-2));
  pointer-events: none;
}
.about { padding-top: calc(var(--sec) + clamp(60px, 8vw, 110px)); }

/* ---------- 00 首屏 ---------- */
.hero { height: 100svh; min-height: 560px; overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(10,10,10,.9) 0%, rgba(10,10,10,.55) 32%, rgba(10,10,10,.12) 62%, rgba(10,10,10,0) 80%),
    linear-gradient(to right, rgba(10,10,10,.5), rgba(10,10,10,0) 55%);
}
.hero-copy, .hero-cue { text-shadow: 0 1px 2px rgba(0,0,0,.35), 0 6px 30px rgba(0,0,0,.35); }
/* 画布播放（安卓微信等拦自动播放的浏览器）：画布出第一帧前隐藏，露出下面 <video> 的封面图 */
.hero-canvas { opacity: 0; transition: opacity .3s; }
.hero-canvas.is-on { opacity: 1; }
.loop-canvas { display: none; }
.loop-canvas.is-on { display: block; }
video.is-under-canvas { display: none; }
.work canvas { aspect-ratio: 2 / 1; width: 100%; object-fit: cover; background: #000; transition: transform 1s var(--ease); }
.work:hover canvas { transform: scale(1.02); }
.clips canvas { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; background: #000; }
.case-media canvas { width: 100%; height: 100%; object-fit: cover; transform: scale(1.01); transition: transform 1.2s var(--ease); }
.case-media:hover canvas { transform: scale(1.04); }
/* 微信等内置浏览器拦了自动播放时出现，开播后消失 */
.hero-tap {
  position: absolute; z-index: 5; left: 50%; top: clamp(92px, 16vh, 150px);
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 14px;
  font: inherit; font-size: 13px; letter-spacing: .14em; color: #f2f0eb; cursor: pointer;
  border: 1px solid rgba(242,240,235,.4); border-radius: 999px;
  background: rgba(10,10,10,.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none; transform: translate(-50%, 8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.hero-tap.is-show { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.hero-tap i { width: 0; height: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 2px; }
.hero-grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .14; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
}

.hero-cue {
  position: absolute; top: 100px; left: var(--gut); z-index: 2;
  display: flex; align-items: center; gap: 14px;
  font-size: 12px; letter-spacing: .14em; color: var(--fg-2);
  opacity: 0; transform: translateY(6px); transition: opacity .6s, transform .6s var(--ease);
}
.hero-cue.is-live { opacity: 1; transform: none; }
.cue-tc { font-family: var(--font-lat); font-style: italic; letter-spacing: .06em; color: var(--fg-3); font-variant-numeric: tabular-nums; min-width: 6.2em; white-space: nowrap; }
.cue-tc::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #e2432f; margin-right: 10px; vertical-align: 1px; animation: blink 1.6s steps(2) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.cue-client { color: var(--fg); }
.cue-tag { border: 1px solid var(--line); padding: 3px 9px; border-radius: 999px; font-size: 11px; letter-spacing: .12em; }
.cue-tag.is-ai { border-color: rgba(242,240,235,.45); background: rgba(242,240,235,.08); }

.hero-copy { position: absolute; left: 0; right: 0; bottom: clamp(44px, 8vh, 96px); z-index: 2; }
.eyebrow { font-size: 12px; letter-spacing: .22em; color: var(--fg-2); margin-bottom: 22px; }
.hero-title {
  font-size: clamp(42px, 8vw, 120px);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: .02em;
  margin-bottom: clamp(18px, 2.4vw, 30px);
}
.hero-title span { display: block; }
.hero-title span + span { padding-left: .9em; }
.hero-sub { font-size: clamp(15px, 1.3vw, 18px); color: var(--fg-2); max-width: 46ch; line-height: 1.85; }
.actions { display: flex; gap: 14px; margin-top: clamp(26px, 3vw, 40px); flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; font-size: 13px; letter-spacing: .16em;
  border: 1px solid rgba(242,240,235,.6);
  transition: background .35s, color .35s, border-color .35s, transform .35s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-solid { background: var(--fg); color: #0a0a0a; border-color: var(--fg); }
.btn-solid:hover { background: #fff; }
.btn-ghost:hover { background: rgba(242,240,235,.1); }

.scroll-hint {
  position: absolute; right: var(--gut); bottom: 48px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: .3em; color: var(--fg-3); writing-mode: vertical-rl;
}
.scroll-hint i { width: 1px; height: 56px; background: linear-gradient(to bottom, var(--fg-2), transparent); animation: drop 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes drop { 0% { transform: scaleY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- 01 品牌 ---------- */
.brands .label { margin-bottom: 36px; }
.marquee { overflow: hidden; mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; gap: clamp(56px, 7vw, 110px); width: max-content; animation: marquee 48s linear infinite; padding-inline: clamp(28px, 3.5vw, 55px); }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { flex: 0 0 auto; }
/* --k 是每个标志的视觉配重（写在 img 的 style 里）：横长的字标压矮、方的图标放高，看上去才一样大 */
.marquee-track img { height: calc(34px * var(--k, 1)); width: auto; opacity: .72; filter: grayscale(1) brightness(1.15); transition: opacity .3s; }
.marquee-track li:hover img { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 02 案例 ---------- */
.case {
  display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 4vw, 64px); align-items: center;
  padding-block: clamp(36px, 5vw, 64px);
}
.case + .case { border-top: 1px solid var(--line); }
.case.reverse .case-media { order: 2; }
.case-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.case-media video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.01); transition: transform 1.2s var(--ease); }
.case-media:hover video { transform: scale(1.04); }
.slate {
  position: absolute; top: 16px; left: 16px; display: flex; gap: 10px; align-items: center;
  font-size: 11px; letter-spacing: .14em;
}
.slate b { font-family: var(--font-lat); font-style: italic; font-weight: 400; font-size: 13px; letter-spacing: .04em; color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.slate i { font-style: normal; padding: 3px 9px; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; color: #fff; backdrop-filter: blur(6px); background: rgba(0,0,0,.25); }
.case-client { font-size: 12px; letter-spacing: .14em; color: var(--fg-2); display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.tag { font-size: 11px; padding: 2px 8px; border: 1px solid var(--line); border-radius: 999px; letter-spacing: .1em; }
.case-body h3 { margin: 16px 0 28px; font-size: clamp(22px, 2.3vw, 34px); font-weight: 400; line-height: 1.32; letter-spacing: .01em; }
.pse > div { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.pse dt { font-size: 12px; letter-spacing: .2em; color: var(--fg-3); padding-top: 4px; }
.pse dd { font-size: 15px; line-height: 1.8; color: var(--fg-2); }
.more { display: inline-block; margin-top: 24px; font-size: 13px; letter-spacing: .14em; border-bottom: 1px solid var(--fg-3); padding-bottom: 4px; transition: border-color .3s; }
.more::after { content: " →"; }
.more:hover { border-color: var(--fg); }

/* ---------- 05 合作 ---------- */
.creed { display: grid; gap: clamp(22px, 3vw, 36px); max-width: 980px; }
.creed li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.creed li:nth-child(2) { margin-left: clamp(0px, 6vw, 110px); }
.creed li:nth-child(3) { margin-left: clamp(0px, 12vw, 220px); }
.creed b { font-size: clamp(22px, 2.6vw, 36px); font-weight: 300; line-height: 1.3; }
.creed span { font-size: 15px; line-height: 1.8; color: var(--fg-2); max-width: 52ch; }

/* 合作流程：四格灰阶色带，由深（构想 Shadow）到浅（成片 Glow），呼应品牌名"灰度" */
.flow-wrap { margin-top: 28px; }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 6px; overflow: hidden; }
.flow li {
  --t: #f2f0eb; --t2: rgba(242,240,235,.62); --rule: rgba(242,240,235,.2);
  position: relative; display: flex; flex-direction: column; gap: 12px;
  min-height: clamp(320px, 27vw, 400px); padding: clamp(24px, 2.6vw, 40px);
  color: var(--t); overflow: hidden;
}
.flow li:nth-child(1) { background: #121212; }
.flow li:nth-child(2) { background: #2c2c2c; }
.flow li:nth-child(3) { background: #545454; }
.flow li:nth-child(4) { background: #cdcac2; --t: #141414; --t2: rgba(20,20,20,.64); --rule: rgba(20,20,20,.2); }
.flow-num {
  margin-bottom: auto; font-family: var(--font-lat); font-style: italic; font-weight: 400;
  font-size: clamp(64px, 7vw, 112px); line-height: .85; letter-spacing: -.03em; opacity: .92;
  transition: transform .8s var(--ease);
}
.flow li:hover .flow-num { transform: translateX(8px); }
.flow b { font-size: clamp(20px, 1.8vw, 26px); font-weight: 400; letter-spacing: .08em; }
.flow p { font-size: 14px; line-height: 1.8; color: var(--t2); min-height: 3.6em; }
.flow dl { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--rule); display: grid; gap: 4px; }
.flow dt { font-size: 11px; letter-spacing: .18em; color: var(--t2); }
.flow dd { font-size: 13px; letter-spacing: .06em; }
/* 色带下方的刻度：Shadow 构想 —— 成片 Glow */
.flow-axis { margin-top: 14px; display: flex; align-items: center; gap: 16px; font-size: 12px; letter-spacing: .16em; color: var(--fg-2); }
.flow-axis em { font-family: var(--font-lat); font-style: italic; letter-spacing: .04em; color: var(--fg-3); margin: 0 8px; }
.flow-axis i { flex: 1; height: 1px; background: linear-gradient(90deg, #121212, #cdcac2); }
/* 服务范围：配画面的卡片 */
.svc-label { margin-top: clamp(72px, 9vw, 128px); }
.svc-cards { margin-top: 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); }
.svc-cards li { display: grid; gap: 10px; grid-template-rows: auto auto auto 1fr auto; }
.svc-cards figure { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: #d8d5ce; margin-bottom: 6px; }
.svc-cards img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc-cards li:hover img { transform: scale(1.05); }
.svc-cards .num { font-family: var(--font-lat); font-style: italic; font-size: 13px; color: var(--fg-3); }
.svc-cards b { font-size: clamp(22px, 2.2vw, 30px); font-weight: 300; letter-spacing: .02em; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; align-content: flex-start; }
.chips i { font-style: normal; font-size: 12px; letter-spacing: .04em; padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--fg-2); }
.rep { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.6; letter-spacing: .06em; color: var(--fg-2); transition: color .3s; }
a.rep::after { content: " →"; }
a.rep:hover { color: var(--fg); }

/* 合作：四类常做内容，不展开 */
.offer { margin-top: clamp(64px, 8vw, 120px); display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.4vw, 36px); }
.offer li { border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 10px; align-content: start; }
.offer .num { font-family: var(--font-lat); font-style: italic; font-size: 13px; color: var(--fg-3); }
.offer b { font-size: clamp(22px, 2.2vw, 30px); font-weight: 300; letter-spacing: .02em; }
.offer .what { font-size: 14px; line-height: 1.75; color: var(--fg-2); }
.ask { margin-top: clamp(72px, 10vw, 140px); font-size: clamp(30px, 5vw, 72px); font-weight: 300; line-height: 1.15; letter-spacing: .01em; }
.tell { margin-top: clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.tell-row { border-top: 1px solid var(--line); }
.tell-head {
  width: 100%; display: grid; grid-template-columns: 56px 1fr auto 32px; gap: 20px; align-items: center;
  padding: clamp(20px, 2.6vw, 34px) 0; text-align: left;
}
.tell-head .num { font-family: var(--font-lat); font-style: italic; font-size: 14px; color: var(--fg-3); }
.tell-head .ttl { font-size: clamp(24px, 3.2vw, 46px); font-weight: 300; letter-spacing: .02em; transition: transform .5s var(--ease); }
.tell-head:hover .ttl { transform: translateX(10px); }
.tell-head .when { font-size: 13px; letter-spacing: .06em; color: var(--fg-2); text-align: right; }
.tell-head .plus { position: relative; width: 14px; height: 14px; justify-self: end; }
.tell-head .plus::before, .tell-head .plus::after { content: ""; position: absolute; background: var(--fg-2); transition: transform .4s var(--ease); }
.tell-head .plus::before { left: 0; right: 0; top: 6.5px; height: 1px; }
.tell-head .plus::after { top: 0; bottom: 0; left: 6.5px; width: 1px; }
.tell-head[aria-expanded="true"] .plus::after { transform: rotate(90deg); }
.tell-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.tell-row.is-open .tell-panel { grid-template-rows: 1fr; }
/* 有鼠标的设备：悬停即展开，不用点 */
@media (hover: hover) and (pointer: fine) {
  .tell-row:hover .tell-panel { grid-template-rows: 1fr; }
  .tell-row:hover .plus::after { transform: rotate(90deg); }
}
.tell-inner { overflow: hidden; }
.tell-inner p { padding: 0 0 22px 76px; max-width: 70ch; font-size: 15px; line-height: 1.8; color: var(--fg-2); }
.tell-inner p:last-child { padding-bottom: 34px; }
.tell-inner b { display: block; font-weight: 400; font-size: 12px; letter-spacing: .2em; color: var(--fg-3); margin-bottom: 4px; }
.how-note { margin-top: 36px; font-size: 13px; letter-spacing: .06em; color: var(--fg-3); }

/* ---------- 03 更多作品 ---------- */
.swipe-hint { display: none; margin-top: 14px; font-size: 12px; letter-spacing: .14em; color: var(--fg-3); }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 26px) clamp(14px, 1.6vw, 22px); }
.work { position: relative; }
.work video { aspect-ratio: 2 / 1; width: 100%; object-fit: cover; background: #000; transition: transform 1s var(--ease), opacity .6s; }
.work:hover video { transform: scale(1.02); }
.work figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 12px 2px 0; font-size: 13px; }
.work figcaption b { font-weight: 500; letter-spacing: .06em; }
.work figcaption span { color: var(--fg-3); letter-spacing: .04em; text-align: right; }

/* ---------- 04 关于 ---------- */
.about .label { margin-bottom: 26px; }
.about-lede { font-size: clamp(22px, 3vw, 40px); font-weight: 300; line-height: 1.5; max-width: 32ch; letter-spacing: .01em; }
/* 关于：经历段 + 时间线 */
.about-grid { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-text p { font-size: 16px; line-height: 1.95; color: var(--fg-2); max-width: 40em; }
.about-text p + p { margin-top: 14px; }
.about-text p:last-child { color: var(--fg); }
.partners { margin-top: clamp(36px, 4vw, 56px); }
.partners-title { font-size: 13px; letter-spacing: .12em; color: var(--fg-3); margin-bottom: 12px; }
.partners ul { border-bottom: 1px solid var(--line); }
.partners li { display: grid; grid-template-columns: 6.5em 1fr auto; gap: 16px; align-items: baseline; padding: 13px 0; border-top: 1px solid var(--line); }
.partners b { font-size: 15px; font-weight: 500; }
.partners span { font-size: 14px; line-height: 1.7; color: var(--fg-2); }
.partners time { font-family: var(--font-lat); font-style: italic; font-size: 14px; color: var(--fg-2); white-space: nowrap; }
.timeline { border-bottom: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 9em 1fr; gap: 20px; align-items: baseline; padding: 20px 0; border-top: 1px solid var(--line); }
.timeline time { font-family: var(--font-lat); font-style: italic; font-size: 19px; letter-spacing: .02em; white-space: nowrap; }
.timeline b { display: block; font-size: 15px; font-weight: 500; line-height: 1.6; }
.timeline span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.75; color: var(--fg-2); }
.facts { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.facts li { border-top: 1px solid var(--line); padding-top: 18px; }
.facts b { display: block; font-size: clamp(22px, 2.2vw, 30px); font-weight: 400; letter-spacing: .02em; }
.facts span { display: block; margin-top: 6px; font-size: 13px; color: var(--fg-2); line-height: 1.6; }

/* ---------- 05b 找我们（合作段末尾） ---------- */
.reach { scroll-margin-top: 64px; margin-top: clamp(88px, 11vw, 150px); padding-top: clamp(44px, 5vw, 72px); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 80px); align-items: end; }
.contact-text h2 { margin-top: 22px; font-size: clamp(36px, 6vw, 92px); font-weight: 300; line-height: 1.08; letter-spacing: .01em; }
.contact-lede { margin-top: 22px; font-size: clamp(16px, 1.4vw, 19px); color: var(--fg-2); max-width: 36ch; }
.contact-list > div { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); align-items: start; }
.contact-list dt { font-size: 12px; letter-spacing: .2em; color: var(--fg-3); padding-top: 4px; }
.contact-list dd { font-size: 16px; }
.contact-list .todo { color: var(--fg-3); }
.qr { display: block; width: 136px; height: 136px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 6px; }

/* ---------- 页脚（备案号居中） ---------- */
.site-footer { background: var(--paper-0); color: #141414; padding: 40px 0 44px; }
.site-footer .wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .1em; color: rgba(20,20,20,.6); text-align: center; }
.site-footer a { border-bottom: 1px solid rgba(20,20,20,.25); padding-bottom: 2px; }
.mark { display: flex; gap: 2px; margin-bottom: 4px; }
.mark i { width: 6px; height: 16px; }
.mark i:nth-child(1) { background: var(--g1); } .mark i:nth-child(2) { background: var(--g2); }
.mark i:nth-child(3) { background: var(--g3); } .mark i:nth-child(4) { background: #cfcfcf; }

/* ---------- 案例详情页 ---------- */
.detail-hero { background: var(--ink-0); padding-top: calc(76px + clamp(40px, 6vw, 80px)); padding-bottom: clamp(48px, 6vw, 96px); }
.back { display: inline-block; font-size: 12px; letter-spacing: .18em; color: var(--fg-2); }
.back::before { content: "← "; }
.detail-hero .case-client { margin-top: 36px; }
.detail-hero h1 { margin: 14px 0 40px; font-size: clamp(28px, 4.4vw, 62px); font-weight: 300; line-height: 1.18; max-width: 24ch; }
.film { aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.film video { width: 100%; height: 100%; }
.film-note { margin-top: 16px; font-size: 13px; color: var(--fg-2); letter-spacing: .04em; }
.film-note a { border-bottom: 1px solid var(--fg-3); }
.story { background: var(--ink-2); }
.pse-detail { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); }
.pse-detail h2 { font-size: 12px; letter-spacing: .22em; color: var(--fg-3); font-weight: 400; margin-bottom: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.pse-detail p, .pse-detail li { font-size: 15px; line-height: 1.85; color: var(--fg-2); }
.pse-detail ul { display: grid; gap: 10px; }
.pse-detail li b { color: var(--fg); font-weight: 500; }
.pse-note { margin-top: 18px; font-size: 13px; color: var(--fg-3); }
.clips-zone { background: var(--ink-3); }
.clips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.clips video { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; background: #000; }
.clips figcaption { padding-top: 10px; font-size: 13px; color: var(--fg-2); letter-spacing: .04em; }
/* 案例页末尾：下一个案例 */
.next-case { margin-top: clamp(48px, 6vw, 88px); padding: clamp(22px, 2.6vw, 34px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 12px 32px; flex-wrap: wrap; }
.next-case span { font-size: 12px; letter-spacing: .2em; color: var(--fg-2); }
.next-case b { font-size: clamp(19px, 2.4vw, 34px); font-weight: 300; letter-spacing: .01em; transition: transform .6s var(--ease); }
.next-case b::after { content: " →"; font-family: var(--font-lat); }
.next-case:hover b { transform: translateX(-8px); }
.cta { background: var(--paper-1); color: #141414; --fg: #141414; --fg-2: rgba(20,20,20,.66); --fg-3: rgba(20,20,20,.54); --line: rgba(20,20,20,.14); }
.cta::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: clamp(100px, 12vw, 180px); background: linear-gradient(to bottom, var(--ink-3), var(--paper-1)); }
.cta { padding-top: calc(var(--sec) + clamp(50px, 7vw, 100px)); }
.cta .section-head { margin-bottom: 28px; }
.cta .btn { border-color: #141414; color: #141414; }
.cta .btn:hover { background: #141414; color: #fff; }

/* ---------- 进场动画 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .case { grid-template-columns: 1fr; }
  .case.reverse .case-media { order: 0; }
  .tell-head { grid-template-columns: 44px 1fr 32px; }
  .tell-head .when { grid-column: 2; text-align: left; margin-top: -6px; }
  .tell-head .plus { grid-row: 1; grid-column: 3; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .nav-toggle { display: block; }
  .site-header.menu-open .nav {
    display: flex; flex-direction: column; gap: 10px;
    position: fixed; inset: 76px 0 auto 0; padding: 20px var(--gut) 28px;
    background: rgba(10,10,10,.92); backdrop-filter: blur(16px); font-size: 18px; letter-spacing: .12em;
  }
  body[data-theme="light"] .site-header.menu-open .nav { background: rgba(244,242,237,.95); }
  .hero-cue { top: 90px; }
  .hero-title span + span { padding-left: .5em; }
  .br-d { display: none; }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .offer { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow li { min-height: 0; }
  .flow-num { margin-bottom: 18px; }
  .svc-cards { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .contact-grid { grid-template-columns: 1fr; }
  .pse-detail, .clips { grid-template-columns: 1fr; }
  .scroll-hint { display: none; }
  .creed li:nth-child(2), .creed li:nth-child(3) { margin-left: 0; }
}
@media (max-width: 560px) {
  .brand { gap: 8px; }
  .brand-cn { white-space: nowrap; font-size: 16px; }
  .brand-en { white-space: nowrap; font-size: 12px; }
  /* 作品墙：手机上两行横向滑动，整块只占一屏高 */
  .works-grid {
    grid-template-columns: none; grid-template-rows: repeat(2, auto); grid-auto-flow: column; grid-auto-columns: 78%;
    gap: 20px 12px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut);
    margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut);
    scrollbar-width: none;
  }
  .works-grid::-webkit-scrollbar { display: none; }
  .works-grid .work { scroll-snap-align: start; }
  .work video, .work canvas { aspect-ratio: 16 / 9; }
  .swipe-hint { display: block; }
  .offer { gap: 22px 16px; }
  .offer .what { font-size: 13px; }
  .flow { grid-template-columns: 1fr; }
  .flow li { display: grid; grid-template-columns: 64px 1fr; column-gap: 12px; row-gap: 8px; padding: 22px 20px; }
  .flow-num { grid-row: 1 / span 3; margin: 0; font-size: 48px; }
  .flow p { min-height: 0; }
  .flow li:hover .flow-num { transform: none; }
  .flow-axis { font-size: 11px; gap: 10px; }
  .svc-cards b { font-size: 20px; }
  .chips i { font-size: 11px; padding: 2px 8px; }
  .partners li { grid-template-columns: 1fr auto; gap: 4px 12px; }
  .partners span { grid-column: 1 / -1; grid-row: 2; font-size: 13px; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; }
  .timeline time { font-size: 18px; }
  .timeline span { font-size: 13px; }
  .hero-cue { right: var(--gut); gap: 10px; letter-spacing: .06em; }
  .cue-client { min-width: 0; line-height: 1.5; }
  .cue-tag { flex-shrink: 0; white-space: nowrap; }
  .tell-inner p { padding-left: 0; }
  .pse > div, .contact-list > div { grid-template-columns: 1fr; gap: 6px; }
  .hero-copy { bottom: 40px; }
  .hero-sub { font-size: 14px; }
  .btn { padding: 13px 20px; }
}

/* ---------- 返回顶部（右下角，滚过一屏后出现） ---------- */
.to-top {
  position: fixed; right: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); z-index: 40;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(242,240,235,.35); background: rgba(10,10,10,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: grid; place-items: center;
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease), background .3s, border-color .3s;
}
.to-top.is-show { opacity: 1; transform: none; pointer-events: auto; }
.to-top i { width: 10px; height: 10px; border-left: 1px solid currentColor; border-top: 1px solid currentColor; transform: translateY(2px) rotate(45deg); color: #f2f0eb; }
.to-top:hover { background: rgba(10,10,10,.8); border-color: rgba(242,240,235,.7); }
body[data-theme="light"] .to-top { border-color: rgba(20,20,20,.3); background: rgba(244,242,237,.7); }
body[data-theme="light"] .to-top i { color: #141414; }
body[data-theme="light"] .to-top:hover { background: rgba(244,242,237,.95); border-color: rgba(20,20,20,.6); }
/* 手机上按钮会压住正文和右对齐的年份：缩小，并且只在往回滑时出现（见 main.js） */
@media (max-width: 720px) {
  .to-top { width: 38px; height: 38px; right: 12px; bottom: 14px; }
  .to-top i { width: 8px; height: 8px; }
}
