@font-face {
  font-family: "Geist";
  src: url("https://cdn.jsdelivr.net/npm/geist@1.3.1/dist/fonts/geist-sans/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

/* 配色 A：冷灰 */
:root,
[data-palette="a"] {
  --bg: #e7e8e5;
  --surface: #f2f2f0;
  --ink: #131415;
  --muted: #5a5e62;
  --line: rgba(19, 20, 21, 0.13);
  --accent: #d0010e;
  --accent-ink: #ffffff;
  --logo-filter: brightness(0);
  --logo-opacity: 0.6;
  --clay-filter: grayscale(1) brightness(1.18) contrast(0.82);
  --nav-glass: rgba(240, 241, 238, 0.62);
  --nav-ink: #131415;
}

/* 配色 B：夜景 */
[data-palette="b"] {
  --bg: #0c1016;
  --surface: #141a23;
  --ink: #e8ebee;
  --muted: #8e98a5;
  --line: rgba(232, 235, 238, 0.12);
  --accent: #e3202c;
  --accent-ink: #ffffff;
  --logo-filter: brightness(0) invert(1);
  --logo-opacity: 0.66;
  --clay-filter: grayscale(1) brightness(0.9) contrast(0.85);
  --nav-glass: rgba(16, 21, 29, 0.55);
  --nav-ink: #e8ebee;
}

:root {
  --nav-h: 76px;
  --gutter: 12px;
  --r-frame: 22px;
  --r-card: 18px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Geist", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease);
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
.wrap { width: min(1400px, 100% - 2 * clamp(16px, 4vw, 48px)); margin-inline: auto; }
.frame { position: relative; overflow: hidden; border-radius: var(--r-frame); margin-inline: var(--gutter); background: #0c1016; isolation: isolate; }

/* ---------- 毛玻璃（苹果式材质） ---------- */
/* 浅色材质：明亮半透明白 + 强模糊高饱和，发丝级亮边，柔和投影，没有颗粒和花纹 */
.glass {
  --g-ink: #1d1d1f;
  --g-muted: rgba(29, 29, 31, 0.7);
  --g-line: rgba(29, 29, 31, 0.1);
  position: relative; isolation: isolate; overflow: hidden; color: var(--g-ink);
  background: rgba(246, 246, 248, 0.72);
  border: 0.5px solid rgba(255, 255, 255, 0.75);
  box-shadow:
    inset 0 0.5px 0 rgba(255, 255, 255, 0.95),
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.25),
    0 0.5px 1.5px rgba(0, 0, 0, 0.08),
    0 10px 30px -10px rgba(0, 0, 0, 0.22),
    0 34px 70px -28px rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(40px) saturate(190%);
  backdrop-filter: blur(40px) saturate(190%);
}
/* 顶部一层很淡的受光，像玻璃上沿反光 */
.glass::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0) 42%);
}
/* 深色材质：大段文字面板 */
.glass-dark {
  --g-ink: #f5f5f7;
  --g-muted: rgba(245, 245, 247, 0.62);
  --g-line: rgba(255, 255, 255, 0.12);
  background: rgba(30, 30, 34, 0.5);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 0.5px 0 rgba(255, 255, 255, 0.24),
    0 10px 30px -10px rgba(0, 0, 0, 0.35),
    0 34px 70px -28px rgba(0, 0, 0, 0.45);
}
.glass-dark::before { background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 40%); }
.glass > * { position: relative; }
/* ---------- 液态玻璃（控件层：导航、按钮、标签、浮在画面上的小卡片） ---------- */
/* 所有控件同一种材质：轻磨砂（liquid.js 默认 4px）+ 浅压暗 + 边缘折射 + 一圈细高光；
   不支持折射的浏览器退回同色调的磨砂。导航条和大面板另有加厚档 */
.liquid {
  --g-ink: #fff;
  --g-muted: rgba(255, 255, 255, 0.8);
  --g-line: rgba(255, 255, 255, 0.16);
  color: var(--g-ink);
  background: rgba(96, 100, 108, 0.4);
  border-color: transparent;
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.22), 0 6px 18px -6px rgba(0, 0, 0, 0.35), 0 22px 50px -24px rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: blur(16px) saturate(180%);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}
.liquid::before { display: none; }
/* 中性灰底：亮画面上压暗、暗画面上提亮，任何背景下都看得出是一块玻璃 */
.liquid.lg-on { background: rgba(96, 100, 108, 0.36); -webkit-backdrop-filter: var(--lg-filter) brightness(0.9); backdrop-filter: var(--lg-filter) brightness(0.9); }
/* 大面板：内部磨砂承托文字，边缘仍是清晰折射 */
.liquid.panel { background: rgba(8, 11, 16, 0.44); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.2), 0 24px 60px -24px rgba(0, 0, 0, 0.55); }
.liquid.panel.lg-on { background: rgba(8, 11, 16, 0.4); -webkit-backdrop-filter: var(--lg-filter) brightness(0.66) contrast(1.05); backdrop-filter: var(--lg-filter) brightness(0.66) contrast(1.05); }
/* 固定光源的边缘高光（liquid.js 生成） */
.lg-spec { position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit; background-size: 100% 100%; background-repeat: no-repeat; mix-blend-mode: screen; }
/* 跟随指针的光斑 + 亮边：悬停时出现 */
.lg-hl {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit; opacity: 0;
  transition: opacity 0.35s var(--ease);
  background: radial-gradient(130px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.1) 38%, transparent 68%);
  mix-blend-mode: screen;
}
.lg-hl::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: radial-gradient(160px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.25) 50%, transparent 75%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.lg-hover > .lg-hl { opacity: 1; }
.liquid > :not(.lg-spec):not(.lg-hl):not(.pf-ink) { position: relative; z-index: 2; }
.pf-filters .pf-ink { z-index: 1; }
/* 按钮类玻璃：悬停微微抬起 */
.lg-lift { transition: scale 0.6s cubic-bezier(0.22, 1.4, 0.36, 1), box-shadow 0.5s var(--ease); }
.lg-lift.lg-hover { scale: 1.035; box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.35), 0 10px 26px -8px rgba(0, 0, 0, 0.45), 0 30px 60px -24px rgba(0, 0, 0, 0.5); }
/* 实色按钮也带指针光斑 */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn > :not(.lg-hl) { position: relative; z-index: 2; }
.btn-accent .lg-hl { background: radial-gradient(120px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.06) 40%, transparent 70%); }
/* 浅色玻璃按钮 */
.btn-glass { color: #fff; }
.btn-glass .btn-arrow { background: #fff; color: #131415; font-size: 10px; text-shadow: none; }
.link-play i.liquid { border: 0; }
/* 滚动后的导航、作品集筛选条：底色加厚、文字加粗，压在图片上也能读 */
.nav.is-solid .nav-glass, .case-page .nav-glass { background: rgba(8, 11, 16, 0.46); }
.nav.is-solid .nav-glass.lg-on, .case-page .nav-glass.lg-on { background: rgba(8, 11, 16, 0.42); -webkit-backdrop-filter: var(--lg-filter) brightness(0.7); backdrop-filter: var(--lg-filter) brightness(0.7); }
.nav-links a, .pf-filters button { font-weight: 600; }
[data-palette="a"] .nav.is-solid .nav-glass,
[data-palette="a"] .case-page .nav-glass,
[data-palette="a"] .pf-filters {
  --g-ink: #1d1d1f; --g-muted: rgba(29, 29, 31, 0.68); --g-line: rgba(29, 29, 31, 0.08);
  background: rgba(255, 255, 255, 0.5); text-shadow: none;
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.7), 0 6px 18px -8px rgba(0, 0, 0, 0.2), 0 22px 50px -26px rgba(0, 0, 0, 0.28);
}
[data-palette="a"] .nav.is-solid .nav-glass.lg-on,
[data-palette="a"] .case-page .nav-glass.lg-on,
[data-palette="a"] .pf-filters.lg-on { background: rgba(255, 255, 255, 0.46); -webkit-backdrop-filter: var(--lg-filter) brightness(1.08) contrast(0.96); backdrop-filter: var(--lg-filter) brightness(1.08) contrast(0.96); }
[data-palette="a"] .nav.is-solid .nm-light, [data-palette="a"] .case-page .nm-light { display: none; }
[data-palette="a"] .nav.is-solid .nm-dark, [data-palette="a"] .case-page .nm-dark { display: inline; }
.liquid .hc-arrow { background: #fff; color: #131415; text-shadow: none; }

@media (prefers-reduced-transparency: reduce) {
  .glass { background: rgba(246, 246, 248, 0.96); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .glass-dark { background: rgba(30, 30, 34, 0.96); }
}


/* 胶片颗粒：固定层，不随滚动重绘 */
.grain {
  position: absolute; inset: -50%; pointer-events: none; opacity: 0.09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }

/* ---------- 文字动效骨架 ---------- */
.split .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split .line > span { display: inline-block; will-change: transform; }
.words .w { display: inline-block; white-space: pre; will-change: transform, filter, opacity; }
.light { color: #fff; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 6px 0 20px; border-radius: 999px;
  font: 500 14px/1 inherit; font-family: inherit; white-space: nowrap; border: 0; cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}
.btn-arrow { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-style: normal; font-size: 14px; transition: transform 0.4s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px) rotate(-45deg); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent .btn-arrow { background: rgba(255, 255, 255, 0.18); }
.cta-form .btn-accent { padding: 0 22px; }
.btn-light { background: rgba(255, 255, 255, 0.94); color: #131415; }
.btn-light .btn-arrow { background: #131415; color: #fff; font-size: 10px; }
.link-arrow { display: inline-flex; gap: 8px; align-items: center; font-size: 15px; padding-bottom: 4px; border-bottom: 1px solid currentColor; }
.link-arrow span { transition: transform 0.35s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }
.link-play { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-size: 14px; }
.link-play i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; font-style: normal; font-size: 11px; border: 1px solid rgba(255, 255, 255, 0.45); transition: background-color 0.3s, transform 0.4s var(--ease); }
.link-play:hover i { background: rgba(255, 255, 255, 0.16); transform: scale(1.08); }

/* ---------- 开场 ---------- */
.loader { display: none; }
.js .loader {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 100;
  background: #0c1016; color: #fff; clip-path: inset(0 0 0 0);
}
.loader-inner { display: grid; justify-items: center; gap: 22px; }
.loader-inner img { width: 56px; height: 56px; object-fit: contain; }
.loader-count { font-size: 13px; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.6); font-variant-numeric: tabular-nums; }

/* ---------- 导航：悬浮毛玻璃胶囊 ---------- */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; padding: 0 calc(var(--gutter) + 10px); pointer-events: none; }
.nav-glass {
  pointer-events: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 58px; padding: 0 7px 0 18px; border-radius: 999px;
  transition: background-color 0.5s, color 0.5s, border-color 0.5s, transform 0.55s var(--ease);
}
.nav.is-hidden .nav-glass { transform: translateY(-150%); }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.brand img { width: 26px; height: 26px; object-fit: contain; }
.brand .nm-dark { display: none; }
.nav-links { display: flex; gap: 4px; font-size: 14px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; opacity: 0.82; transition: background-color 0.25s, opacity 0.25s; }
.nav-links a:hover { opacity: 1; background: var(--g-line); }

.nav-end { display: flex; justify-content: flex-end; align-items: center; gap: 16px; font-size: 14px; }
.lang { opacity: 0.75; }

/* ---------- 首屏 ---------- */
.hero { padding-top: var(--gutter); }
.hero-frame { height: calc(100dvh - 2 * var(--gutter)); min-height: 600px; }
.hero-media { position: absolute; inset: -3%; will-change: transform; background: #0c1016; }
/* 首屏轮播：交叉淡化；静态图在显示期间缓慢推近 */
.hs { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.3s var(--ease); }
.hs.is-active { opacity: 1; z-index: 1; }
.hs > img, .hs > video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hs[data-type="still"] > img { transform: scale(1.0); transform-origin: 50% 55%; }
.hs[data-type="still"].is-active > img { animation: kenburns 7s linear forwards; }
@keyframes kenburns { from { transform: scale(1.0); } to { transform: scale(1.06); } }
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(6, 9, 13, 0.62), transparent 55%),
    linear-gradient(180deg, rgba(6, 9, 13, 0.35) 0%, rgba(6, 9, 13, 0) 30%, rgba(6, 9, 13, 0) 55%, rgba(6, 9, 13, 0.6) 100%);
}
.hero-copy { position: absolute; top: calc(var(--nav-h) + clamp(28px, 6vh, 64px)); left: clamp(20px, 3.6vw, 52px); color: #fff; max-width: 680px; }
.hero h1 { font-size: clamp(42px, 5.6vw, 86px); font-weight: 400; line-height: 1.0; letter-spacing: -0.04em; }
.hero-sub { margin-top: 22px; max-width: 36ch; font-size: clamp(15px, 1.15vw, 17px); color: rgba(255, 255, 255, 0.82); }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 30px; }
.hero-stack { position: absolute; right: clamp(16px, 2vw, 28px); top: calc(var(--nav-h) + clamp(28px, 6vh, 64px)); display: grid; gap: 10px; }
.stat-card { width: 200px; padding: 16px 18px; border-radius: var(--r-card); }
.stat-card .k { font-size: 12px; color: var(--g-muted); }
.stat-card .v { margin-top: 6px; font-size: 40px; line-height: 1; letter-spacing: -0.04em; }
.hero-card {
  position: absolute; left: clamp(16px, 2vw, 28px); bottom: clamp(16px, 2vw, 28px);
  width: 360px; padding: 16px 16px 14px 18px; border-radius: var(--r-card);
}
.hc-link { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; }
.hc-body > * { transition: opacity 0.35s var(--ease), transform 0.45s var(--ease); }
.hero-card.is-switching .hc-body > * { opacity: 0; transform: translateY(6px); }
.hc-type { margin-left: 10px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--g-line); font-size: 11px; }
.hc-bars { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 5px; margin-top: 14px; }
.hc-bars button { position: relative; height: 14px; padding: 0; border: 0; background: none; cursor: pointer; }
.hc-bars button::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.28); }
.hc-bars button::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; border-radius: 2px; background: #fff; transform-origin: left; transform: scaleX(var(--p, 0)); }
.hc-bars button:hover::before { background: rgba(255, 255, 255, 0.55); }
.hc-body { display: grid; gap: 2px; }
.card-kicker { font-size: 12px; color: var(--g-muted); }
.card-title { font-size: 17px; font-weight: 500; }
.card-meta { font-size: 13px; color: var(--g-muted); }
.hc-arrow { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--g-ink); color: #fff; transition: transform 0.4s var(--ease); }
.hero-card:hover .hc-arrow { transform: rotate(-45deg); }
.wordmark {
  position: absolute; right: clamp(16px, 2vw, 28px); bottom: 0; overflow: hidden; pointer-events: none;
  color: #fff; font-size: clamp(64px, 14.5vw, 260px); font-weight: 500; line-height: 0.86; letter-spacing: -0.055em;
}
.wordmark span { display: inline-block; padding-bottom: 0.04em; }
.wordmark sup { font-size: 0.26em; font-weight: 400; vertical-align: top; position: relative; top: 0.32em; margin-left: 0.04em; letter-spacing: 0; }

/* ---------- 服务分步 ---------- */
.steps { position: relative; height: 520vh; margin-top: 14vh; }
.steps-pin { position: sticky; top: var(--gutter); height: calc(100dvh - 2 * var(--gutter)); }
.steps-stage { height: 100%; }
.stage-img { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); z-index: 0; }
.stage-img.is-active { clip-path: inset(0 0 0 0); z-index: 1; transition: clip-path 1.1s var(--ease); }
.stage-img.was-active { clip-path: inset(0 0 0 0); z-index: 0; }
.stage-img > * { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 50%; will-change: transform; }
.stage-shade { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(90deg, rgba(6, 9, 13, 0) 45%, rgba(6, 9, 13, 0.35)); }
.steps-panel {
  position: absolute; z-index: 3; top: 14px; right: 14px; bottom: 14px; width: min(470px, 40%);
  display: flex; flex-direction: column; padding: 26px 28px 24px; border-radius: var(--r-card);
}
.pill-tag { align-self: flex-start; font-size: 12px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.24); color: rgba(255, 255, 255, 0.78); }
.steps-list { margin-top: 30px; }
.steps-list li { font-size: clamp(26px, 2.6vw, 40px); line-height: 1.14; letter-spacing: -0.035em; overflow: hidden; }
.steps-list li span { display: inline-block; color: rgba(255, 255, 255, 0.3); transition: color 0.5s var(--ease), transform 0.6s var(--ease), filter 0.6s var(--ease); filter: blur(0.6px); }
.steps-list li.is-active span { color: #fff; transform: translateX(10px); filter: blur(0); }
.steps-list li.is-active span::before { content: ""; display: inline-block; width: 0.22em; height: 0.22em; margin-right: 0.3em; border-radius: 50%; background: var(--accent); vertical-align: 0.2em; }
.steps-detail { position: relative; margin-top: auto; min-height: 118px; }
.detail {
  position: absolute; inset: auto 0 0 0; display: grid; grid-template-columns: 118px 1fr; gap: 16px; align-items: end;
  opacity: 0; transform: translateY(14px); filter: blur(8px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease), filter 0.55s var(--ease);
}
.detail.is-active { opacity: 1; transform: none; filter: blur(0); }
.detail img { width: 118px; height: 118px; border-radius: 12px; object-fit: cover; }
.detail h3 { font-size: 16px; font-weight: 500; }
.detail p { margin-top: 6px; font-size: 14px; color: rgba(255, 255, 255, 0.66); max-width: 36ch; }
.steps-bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 22px; }
.steps-bar i { position: relative; height: 2px; background: rgba(255, 255, 255, 0.18); overflow: hidden; border-radius: 2px; }
.steps-bar i::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ---------- 宣言 ---------- */
.manifesto { padding: clamp(110px, 16vw, 220px) 0; }
.scrub-words { font-size: clamp(30px, 3.9vw, 60px); line-height: 1.12; letter-spacing: -0.035em; max-width: 26ch; }
.scrub-words .w { display: inline; }

/* ---------- 横向长廊 ---------- */
.gallery { position: relative; }
.gallery-pin { height: 100dvh; display: flex; flex-direction: column; justify-content: center; gap: 40px; overflow: hidden; }
.gallery-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.gallery h2, .compare-head h2, .faq h2 { font-size: clamp(36px, 4.6vw, 68px); font-weight: 400; letter-spacing: -0.04em; line-height: 1.02; }
.gallery-track { display: flex; gap: 18px; padding: 0 max(var(--gutter), calc((100vw - 1400px) / 2)); width: max-content; will-change: transform; }
/* 卡片按图片原比例：高度固定，宽度跟着比例走，整张图都看得见 */
.g-card { position: relative; display: block; flex: none; height: clamp(280px, 58vh, 600px); aspect-ratio: var(--ar, 16 / 9); border-radius: var(--r-frame); overflow: hidden; background: #0c1016; }
.g-img { position: absolute; inset: 0; overflow: hidden; }
.g-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.g-card:hover .g-img img { transform: scale(1.03); }
.g-more { flex: none; align-self: stretch; display: grid; place-items: center; width: clamp(260px, 26vw, 380px); border-radius: var(--r-frame); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-align: center; transition: background-color 0.3s; }
.g-more:hover { background: var(--accent); color: #fff; border-color: transparent; }
.g-more b { display: block; font-size: clamp(28px, 2.6vw, 40px); font-weight: 400; letter-spacing: -0.03em; line-height: 1.05; }
.g-more-in > span { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-top: 22px; border-radius: 50%; border: 1px solid currentColor; font-size: 20px; transition: transform 0.4s var(--ease); }
.g-more:hover .g-more-in > span { transform: rotate(-45deg); }
.g-cap { position: absolute; left: 14px; bottom: 14px; display: grid; gap: 2px; padding: 12px 16px; border-radius: 14px; }
.g-cap b { font-weight: 500; font-size: 16px; }
.g-cap i { font-style: normal; font-size: 13px; color: var(--g-muted); }

/* ---------- 合作方 ---------- */
.clients { padding: clamp(80px, 10vw, 128px) 0 clamp(64px, 8vw, 110px); }
.clients-title { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 32px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; align-items: center; gap: clamp(40px, 5vw, 72px); width: max-content; animation: marquee 48s linear infinite; }
.marquee-track img { height: 30px; width: auto; filter: var(--logo-filter); opacity: var(--logo-opacity); }
.marquee-track .logo-square { height: 46px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 白模对比 ---------- */
.compare-sec { padding-bottom: clamp(96px, 12vw, 160px); }
.compare-head { display: grid; gap: 18px; margin-bottom: 40px; }
.lede { max-width: 56ch; color: var(--muted); font-size: 17px; }
.compare { aspect-ratio: 16 / 9; width: min(100% - 2 * var(--gutter), 82vh * 16 / 9); margin-inline: auto; user-select: none; }
.compare > img, .cmp-before img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
/* 真白模图到位前，用成图去色临时代替 */
.cmp-before img.is-fake { filter: var(--clay-filter); }
.cmp-label { position: absolute; top: 18px; padding: 7px 13px; border-radius: 999px; font-size: 12px; }
.cmp-l { left: 18px; } .cmp-r { right: 18px; }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: rgba(255, 255, 255, 0.9); pointer-events: none; }
.cmp-handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; font-size: 18px; }
.cmp-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }

/* ---------- 流程 ---------- */
.process-frame { min-height: 100dvh; display: flex; align-items: flex-end; }
.process-bg { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.process-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 9, 13, 0.55), rgba(6, 9, 13, 0.1) 40%, rgba(6, 9, 13, 0.55)); }
.process-inner { position: relative; width: 100%; padding: clamp(28px, 4vw, 56px); display: grid; gap: clamp(140px, 30vh, 320px); }
.process-inner h2 { font-size: clamp(36px, 4.6vw, 68px); font-weight: 400; letter-spacing: -0.04em; line-height: 1.02; }
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.process li { padding: 20px 20px 22px; border-radius: var(--r-card); min-height: 210px; display: flex; flex-direction: column; }
.p-num { font-size: 12px; color: var(--g-muted); font-variant-numeric: tabular-nums; }
.process h3 { margin-top: 26px; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.process p { margin-top: 8px; font-size: 14px; color: var(--g-muted); }

/* ---------- 动画 ---------- */
.reel-sec { padding-top: clamp(96px, 12vw, 160px); }
.reel { aspect-ratio: 21 / 9; min-height: 440px; }
.reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 9, 13, 0.62), rgba(6, 9, 13, 0.04) 62%); }
.reel-copy { position: absolute; left: clamp(20px, 3.6vw, 52px); bottom: clamp(24px, 4vw, 52px); color: #fff; display: grid; gap: 26px; justify-items: start; }
.reel-copy h2 { font-size: clamp(34px, 4.4vw, 66px); font-weight: 400; letter-spacing: -0.04em; line-height: 1.02; }

/* ---------- 常见问题 ---------- */
.faq { padding: clamp(96px, 12vw, 160px) 0; }
.faq-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; }
.faq h2 { position: sticky; top: calc(var(--nav-h) + 30px); align-self: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; font-size: clamp(17px, 1.4vw, 21px); letter-spacing: -0.01em; transition: color 0.25s; }
.faq summary:hover { color: var(--accent); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--muted); transition: transform 0.45s var(--ease); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq-a { overflow: hidden; }
.faq-a p { padding: 0 0 24px; color: var(--muted); max-width: 60ch; }

/* ---------- 结尾 ---------- */
.cta-frame { height: min(90vh, 860px); min-height: 600px; }
.cta-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.cta-shade { position: absolute; inset: 0; background: linear-gradient(200deg, rgba(6, 9, 13, 0) 40%, rgba(6, 9, 13, 0.45)); }
.cta-panel { position: absolute; right: 16px; bottom: 16px; width: min(480px, calc(100% - 32px)); padding: 32px; border-radius: var(--r-card); }
.cta-panel h2 { font-size: clamp(30px, 3vw, 46px); font-weight: 400; letter-spacing: -0.04em; line-height: 1.04; }
.cta-panel > p { margin-top: 14px; color: rgba(255, 255, 255, 0.72); font-size: 15px; }
.cta-form { margin-top: 26px; display: grid; gap: 8px; }
.cta-form label { font-size: 13px; color: rgba(255, 255, 255, 0.72); }
.cta-row { display: flex; gap: 8px; }
.cta-row input {
  flex: 1; min-width: 0; height: 46px; padding: 0 18px; border-radius: 999px; font: inherit; font-size: 14px; color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.26); background: rgba(255, 255, 255, 0.08);
}
.cta-row input::placeholder { color: rgba(255, 255, 255, 0.55); }
.cta-row input:focus { outline: 2px solid #fff; outline-offset: 1px; }
.cta-alt { margin-top: 10px; font-size: 13px; color: rgba(255, 255, 255, 0.66); }
.cta-alt a { color: #fff; border-bottom: 1px solid currentColor; }
/* 邮件按钮 + 微信二维码：静态站没有后台收信，直接给两条联系路径 */
.cta-contact { margin-top: 26px; display: grid; gap: 14px; }
.cta-contact .btn-accent { justify-content: center; }
.cta-wx { display: flex; align-items: center; gap: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.cta-wx img { flex: none; width: 88px; height: 88px; padding: 6px; border-radius: 12px; background: #fff; }
.cta-wx b { display: block; font-size: 15px; font-weight: 500; }
.cta-wx p { margin-top: 4px; font-size: 13px; color: rgba(255, 255, 255, 0.66); }
.cta-wx a { color: #fff; border-bottom: 1px solid currentColor; }

/* ---------- 项目详情页 ---------- */

.case-hero { padding-top: calc(var(--nav-h) + 8px); }
.case-hero-frame { height: calc(100dvh - var(--nav-h) - 20px); min-height: 560px; }
.case-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.case-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 9, 13, 0.2), rgba(6, 9, 13, 0) 40%, rgba(6, 9, 13, 0.65)); }
.case-hero-copy { position: absolute; left: clamp(20px, 3.6vw, 52px); bottom: clamp(24px, 4vw, 52px); color: #fff; }
.crumb { display: inline-block; font-size: 14px; opacity: 0.8; margin-bottom: 18px; }
.crumb:hover { opacity: 1; }
.case-hero h1 { font-size: clamp(56px, 10vw, 168px); font-weight: 500; letter-spacing: -0.055em; line-height: 0.9; }
.case-hero-copy p { margin-top: 18px; font-size: 18px; color: rgba(255, 255, 255, 0.82); }
.case-facts { position: absolute; right: 16px; bottom: 16px; width: 320px; padding: 8px 22px; border-radius: var(--r-card); }
.case-facts div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); font-size: 14px; }
.case-facts div:last-child { border-bottom: 0; }
.case-facts dt { color: rgba(255, 255, 255, 0.6); }
.case-intro { padding: clamp(100px, 14vw, 190px) 0; }
.day { padding: clamp(100px, 12vw, 170px) 0 clamp(64px, 8vw, 110px); }
.day h2 { font-size: clamp(36px, 4.6vw, 68px); font-weight: 400; letter-spacing: -0.04em; line-height: 1.02; margin-bottom: 40px; }
.day-grid { display: grid; grid-template-columns: 1.15fr 1fr 1.15fr; gap: 12px; margin-inline: var(--gutter); }
.day-card { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-frame); overflow: hidden; }
.day-card:nth-child(2) { margin-top: 8vh; }
.day-card img { width: 100%; height: 100%; object-fit: cover; }
.day-card figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: baseline; gap: 14px; padding: 14px 16px; border-radius: 14px; }
.day-card b { font-size: 28px; font-weight: 400; letter-spacing: -0.03em; }
.day-card span { font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, 0.88); }
.case-gallery { padding-bottom: clamp(96px, 12vw, 160px); }
.cg { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: auto auto; gap: 12px; margin-inline: var(--gutter); }
.cg figure { border-radius: var(--r-frame); overflow: hidden; }
.cg img { width: 100%; height: 100%; object-fit: cover; }
.cg-a, .cg-c { aspect-ratio: 16 / 9; }
/* 右侧竖图占两行，和左侧两张等高，不留空角 */
.cg-b { grid-column: 2; grid-row: 1 / span 2; }
.next { padding-bottom: 12px; }
.next-frame { display: block; height: 70vh; min-height: 420px; }
.next-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.next-frame:hover img { transform: scale(1.05); }
.next-shade { position: absolute; inset: 0; background: rgba(6, 9, 13, 0.35); }
.next-copy { position: absolute; left: clamp(20px, 3.6vw, 52px); bottom: clamp(24px, 4vw, 52px); color: #fff; display: grid; gap: 8px; }
.next-k { font-size: 14px; opacity: 0.8; }
.next-t { font-size: clamp(40px, 6vw, 96px); letter-spacing: -0.05em; line-height: 0.95; }
.next-arrow { position: absolute; right: clamp(20px, 3.6vw, 52px); bottom: clamp(24px, 4vw, 52px); display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; font-size: 26px; transition: transform 0.5s var(--ease); }
.next-frame:hover .next-arrow { transform: rotate(-45deg); }

/* ---------- 作品集页 ---------- */
.pf-head { padding-top: calc(var(--nav-h) + clamp(48px, 9vh, 110px)); padding-bottom: 28px; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.pf-head h1 { font-size: clamp(64px, 11vw, 190px); font-weight: 500; letter-spacing: -0.06em; line-height: 0.88; }
.pf-count { color: var(--muted); font-size: 16px; padding-bottom: 12px; }
.pf-bar { position: sticky; top: 84px; z-index: 20; display: grid; justify-items: center; gap: 12px; padding: 10px 0 18px; }
/* 滚动后只留大类切换条，小标签收起，不压在作品上 */
.pf-tags { transition: opacity 0.3s var(--ease), visibility 0.3s; }
.pf-bar.is-stuck .pf-tags { opacity: 0; visibility: hidden; }
.pf-bar.is-stuck { pointer-events: none; }
.pf-bar.is-stuck .pf-filters { pointer-events: auto; }
.pf-filters { display: inline-flex; padding: 5px; border-radius: 999px; gap: 2px; overflow: hidden; }
.pf-filters button { position: relative; z-index: 1; border: 0; background: none; color: inherit; font: 600 14px/1 inherit; font-family: inherit; padding: 12px 18px; border-radius: 999px; cursor: pointer; opacity: 0.7; transition: opacity 0.25s, color 0.35s; }
.pf-filters button[aria-selected="true"] { opacity: 1; color: #fff; }
.pf-ink { position: absolute; z-index: 0; top: 5px; left: 0; height: calc(100% - 10px); border-radius: 999px; background: var(--accent); transition: transform 0.55s var(--ease), width 0.55s var(--ease); box-shadow: 0 6px 20px -6px rgba(208, 1, 14, 0.6); }
.pf-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pf-tag { border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 52%, transparent); color: var(--ink); font: 500 13px/1 inherit; box-shadow: inset 0 0.5px 0 rgba(255, 255, 255, 0.6), 0 4px 14px -8px rgba(0, 0, 0, 0.35); font-family: inherit; padding: 8px 12px; border-radius: 999px; cursor: pointer; -webkit-backdrop-filter: blur(14px) saturate(170%); backdrop-filter: blur(14px) saturate(170%); transition: background-color 0.25s, color 0.25s; }
.pf-tag sup { font-size: 10px; margin-left: 4px; color: var(--muted); }
.pf-tag:hover { border-color: var(--ink); }
.pf-tag[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.pf-tag[aria-pressed="true"] sup { color: inherit; opacity: 0.7; }
.pf-grid-wrap { padding: 8px var(--gutter) clamp(80px, 10vw, 140px); }
.pf-grid { display: flex; flex-wrap: wrap; }
.pf-item { position: relative; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: zoom-in; background: var(--surface); }
.pf-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease), filter 0.6s; }
.pf-item:hover img { transform: scale(1.02); }
.pf-cap { position: absolute; left: 10px; right: 10px; bottom: 10px; display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; text-align: left; opacity: 0; transform: translateY(10px); transition: opacity 0.4s var(--ease), transform 0.5s var(--ease); }
.pf-item:hover .pf-cap, .pf-item:focus-visible .pf-cap { opacity: 1; transform: none; }
.pf-cap b { font-weight: 500; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-cap i { font-style: normal; font-size: 12px; color: var(--g-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-item.is-film { cursor: pointer; }
.pf-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; font-size: 16px; }
.pf-empty { text-align: center; color: var(--muted); padding: 60px 0; }

/* 大图查看 */
.lb { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; }
.lb[hidden] { display: none; }
.lb [hidden] { display: none !important; }
.lb-bg { position: absolute; inset: 0; background: rgba(6, 9, 13, 0.82); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
.lb-stage { position: relative; display: flex; align-items: center; justify-content: center; margin: 0 0 70px; }
.lb-img, .lb-video { display: block; max-width: calc(100vw - 180px); max-height: calc(100dvh - 190px); width: auto; height: auto; object-fit: contain; border-radius: 10px; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.7); }
.lb-img.is-loading { filter: blur(6px); }
.lb-video { width: calc(100vw - 180px); aspect-ratio: 16 / 9; background: #000; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; font-size: 20px; cursor: pointer; font-family: inherit; }
.lb-prev { left: 24px; top: 50%; translate: 0 -50%; }
.lb-next { right: 24px; top: 50%; translate: 0 -50%; }
.lb-close { right: 24px; top: 24px; font-size: 26px; }
.lb-info { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; display: grid; grid-template-columns: auto auto; column-gap: 24px; align-items: center; padding: 12px 20px; border-radius: 16px; max-width: calc(100vw - 32px); }
.lb-title { font-size: 16px; font-weight: 500; }
.lb-meta { grid-column: 1; font-size: 13px; color: var(--g-muted); }
.lb-n { grid-column: 2; grid-row: 1 / span 2; font-size: 13px; color: var(--g-muted); font-variant-numeric: tabular-nums; }
.lb-open { overflow: hidden; }
.film-tabs { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; display: flex; gap: 4px; padding: 5px; border-radius: 999px; max-width: calc(100vw - 32px); overflow-x: auto; scrollbar-width: none; }
.film-tabs button { flex: none; padding: 10px 18px; border: 0; border-radius: 999px; background: transparent; color: rgba(255, 255, 255, 0.72); font-family: inherit; font-size: 14px; font-weight: 500; line-height: 1; cursor: pointer; white-space: nowrap; transition: background 0.25s, color 0.25s; }
.film-tabs button:hover { color: #fff; }
.film-tabs button.is-on { background: rgba(255, 255, 255, 0.92); color: #0b0e13; }

/* 首页：作品集入口 */
.portfolio-cta { padding: clamp(40px, 6vw, 80px) 0 0; }
.pc-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pc-inner p { font-size: clamp(24px, 2.6vw, 38px); letter-spacing: -0.03em; line-height: 1.1; max-width: 22ch; }
.pc-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.pc-cats a { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; transition: background-color 0.25s, color 0.25s, border-color 0.25s; }
.pc-cats a:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pc-cats .btn, .pc-cats .btn:hover { padding: 0 6px 0 20px; border: 0; background: var(--accent); color: #fff; margin-left: 6px; }

/* ---------- 页脚 ---------- */
.footer { padding: clamp(64px, 8vw, 104px) 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand img { width: 36px; height: 36px; object-fit: contain; }
[data-palette="a"] .mark-on-dark, [data-palette="b"] .mark-on-light { display: none; }
.foot-brand p { margin-top: 16px; color: var(--muted); font-size: 14px; max-width: 26ch; }
.foot-grid h4 { font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 14px; }
.foot-grid a, .foot-grid span { display: block; font-size: 14px; padding: 3px 0; }
.foot-grid a:hover { color: var(--accent); }
.foot-base { display: flex; justify-content: space-between; margin-top: 64px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* ---------- 中文排版 ---------- */
:lang(zh-CN) body { font-family: "Geist", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif; }
:lang(zh-CN) :is(.hero h1, h2, .scrub-words, .pf-head h1, .case-hero h1, .steps-list li, .next-t, .g-more b, .pc-inner p, .studio-statement) { letter-spacing: 0.01em; }
:lang(zh-CN) .hero h1 { line-height: 1.12; font-weight: 500; }
:lang(zh-CN) .scrub-words { line-height: 1.32; max-width: 22em; }
:lang(zh-CN) .pf-head h1, :lang(zh-CN) .case-hero h1 { font-weight: 600; }

/* ---------- 样稿配色切换 ---------- */
.proto-switch {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 90; display: flex; padding: 4px; gap: 2px; border-radius: 999px;
  background: rgba(19, 20, 21, 0.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}
.proto-switch button { border: 0; border-radius: 999px; padding: 8px 14px; font: 500 13px/1 "Geist", "Microsoft YaHei", sans-serif; color: rgba(255, 255, 255, 0.7); background: transparent; cursor: pointer; }
.proto-switch button[aria-pressed="true"] { background: #fff; color: #131415; }

/* ---------- 平板 ---------- */
@media (max-width: 1023px) {
  /* 小屏导航只留作品集入口 */
  .nav-glass { grid-template-columns: auto 1fr auto; }
  .nav-links { justify-self: end; margin-right: 6px; }
  .nav-links a:not(:first-child) { display: none; }
  .hero-stack { display: none; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process li:last-child { grid-column: 1 / -1; min-height: 0; }
  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .faq h2 { position: static; }
}

/* ---------- 手机 ---------- */
@media (max-width: 767px) {
  :root { --gutter: 8px; --nav-h: 66px; }
  .nav { top: 10px; padding: 0 16px; }
  .nav-glass { height: 52px; padding-left: 14px; }
  .lang { display: none; }
  .nav-end .btn { height: 40px; padding-left: 14px; font-size: 13px; }
  .brand span { display: none; }
  .nav-links a { padding: 8px 10px; }
  .nav-end .btn .btn-arrow { width: 30px; height: 30px; }
  .hero-frame { min-height: 640px; }
  .hero-copy { left: 18px; right: 18px; }
  .hero-actions { flex-wrap: wrap; gap: 14px; }
  .hero-card { display: none; }
  .wordmark { right: 14px; font-size: 19.5vw; }
  /* 手机：面板缩成底部一小条，服务名横排，只留一句说明 */
  .steps-panel { top: auto; left: 8px; right: 8px; bottom: 8px; width: auto; padding: 12px 14px 10px; border-radius: 14px; }
  .steps-panel .pill-tag { display: none; }
  .steps-list { margin-top: 0; display: flex; flex-wrap: wrap; gap: 2px 12px; }
  .steps-list li { font-size: 14px; line-height: 1.6; letter-spacing: 0; }
  .steps-list li span { filter: none; }
  .steps-list li.is-active span { transform: none; }
  .steps-detail { margin-top: 6px; min-height: 36px; }
  .detail { grid-template-columns: 1fr; }
  .detail img, .detail h3 { display: none; }
  .detail p { margin-top: 0; font-size: 12.5px; line-height: 1.45; }
  .steps-bar { margin-top: 8px; }
  .gallery-pin { height: auto; padding: 80px 0; }
  .gallery-head { flex-direction: column; align-items: flex-start; }
  /* 手机：作品竖向一张一张往下排，满宽、按原比例完整显示 */
  .gallery-pin { gap: 28px; }
  .gallery-track { width: auto; display: grid; gap: 12px; padding: 0 var(--gutter); }
  .g-card { width: 100%; height: auto; border-radius: 16px; }
  .g-more { width: 100%; height: 150px; border-radius: 16px; }
  .g-more b br { display: none; }
  .g-more-in > span { margin-top: 12px; width: 44px; height: 44px; }
  .g-cap { left: 10px; bottom: 10px; padding: 8px 12px; }
  .g-cap b { font-size: 14px; }
  .g-cap i { font-size: 12px; }
  .compare { aspect-ratio: 4 / 5; }
  .process-inner { gap: 64px; padding: 22px; }
  .process { grid-template-columns: 1fr; }
  .process li { min-height: 0; }
  .process h3 { margin-top: 18px; }
  .reel { aspect-ratio: 4 / 5; min-height: 0; }
  .reel-shade { background: linear-gradient(0deg, rgba(6, 9, 13, 0.7), rgba(6, 9, 13, 0) 60%); }
  .cta-frame { min-height: 680px; }
  .cta-panel { padding: 22px; right: 8px; bottom: 8px; width: calc(100% - 16px); }
  .cta-row { flex-direction: column; }
  .cta-row input { flex: none; }
  .cta-row .btn { justify-content: center; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .proto-switch { bottom: 8px; }
  .pf-bar { top: 70px; }
  .pf-filters { max-width: calc(100vw - 16px); overflow-x: auto; scrollbar-width: none; }
  .pf-filters button { padding: 11px 13px; font-size: 13px; white-space: nowrap; }
  .pf-tags { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; width: 100%; padding: 0 16px; scrollbar-width: none; }
  .pf-tag { flex: none; }
  .pf-cap { display: none; }
  .lb-stage { margin-bottom: 120px; }
  .lb-img, .lb-video { max-width: calc(100vw - 16px); max-height: calc(100dvh - 240px); }
  .lb-video { width: calc(100vw - 16px); }
  .lb-prev, .lb-next { top: auto; bottom: 96px; translate: none; width: 46px; height: 46px; }
  .lb-prev { left: 16px; } .lb-next { right: 16px; }
  .lb-close { top: 14px; right: 14px; width: 46px; height: 46px; }
  .lb-info { bottom: 16px; }
  .case-facts { left: 8px; right: 8px; bottom: 8px; width: auto; }
  .case-hero-copy { bottom: 250px; left: 18px; }
  .day-grid { grid-template-columns: 1fr; }
  .day-card:nth-child(2) { margin-top: 0; }
  .cg { grid-template-columns: 1fr; }
  .next-arrow { width: 60px; height: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .js .loader { display: none; }
  .steps { height: auto; }
  .steps-pin { position: relative; }
}
