/* ===== 全站字体：文件在 fonts/，由 tools/build-fonts.py 生成 ===== */
@font-face { font-family: "Inter Tight"; src: url("../fonts/inter-tight-300.woff2?v=20261108z53") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("../fonts/inter-tight-700.woff2?v=20261108z53") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff2?v=20261108z53") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Noto Sans SC"; src: url("../fonts/noto-sans-sc-400.woff2?v=20261108z53") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500.woff2?v=20261108z53") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Noto Sans SC"; src: url("../fonts/noto-sans-sc-500.woff2?v=20261108z53") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-700.woff2?v=20261108z53") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Noto Sans SC"; src: url("../fonts/noto-sans-sc-700.woff2?v=20261108z53") format("woff2"); font-weight: 700; font-display: swap; }

/* ===== 主题：改这里即可整体换色 ===== */
:root {
  --bg: #ffffff;
  --ink: #0a0a0a;
  --muted: #8e8e93;
  --gray: #f4f4f5;
  --gray-2: #ebebed;
  --line: #ececee;
  --ph: #e6e6e9;
  --max: 1200px;
  /* 导航和主要内容共用的宽度 */
  --content: min(1392px, 78vw);
  --sans: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  /* 全站统一的缓动：快进慢出 */
  --expo: cubic-bezier(.19, 1, .22, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: inherit; }
.container { width: var(--content); margin: 0 auto; }
.center { text-align: center; }
.muted { color: var(--muted); }

/* ===== 图片占位 ===== */
.ph {
  position: relative; display: grid; place-content: center;
  width: 100%; height: 100%; min-height: 40px;
  background: repeating-linear-gradient(135deg, transparent 0 12px, rgba(0,0,0,.022) 12px 24px), var(--ph);
  border-radius: inherit; text-align: center; color: var(--muted); font-size: 12px; line-height: 1.4;
}
.ph::before { content: attr(data-label); font-weight: 600; color: #6e6e73; font-size: 13px; }
.ph::after { content: attr(data-size); }

/* 网页案例缩略图：录好的循环视频（images/video/），不可交互，点击由卡片处理 */
.site-video { position: absolute; inset: 0; display: block; overflow: hidden; border-radius: inherit; background: var(--ph); }
.site-video video { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }

/* 图片编号角标；图片文件存在时铺满并隐藏占位内容 */
.ph-no {
  position: absolute; top: 8px; left: 8px; z-index: 1;
  padding: 2px 8px; border-radius: 999px; background: var(--ink); color: #fff;
  font-size: 12px; font-style: normal; font-weight: 600; line-height: 1.5;
}
.auto-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.has-img > .ph-no, .has-img > span { display: none; }
.ph.has-img::before, .ph.has-img::after { content: none; }

/* ===== 按钮 ===== */
/* 按钮统一细一些：原来 48px 高、15px、600 显得又大又重（用户 2026-11-08，中英文、手机电脑都一样） */
/* 新拟态（用户 2026-11-08 指定）：浅灰底 + 左上亮面、右下暗面，悬停浮起，按下凹陷；
   网站是白底，左上白色高光看不太出，所以再加一道内侧白边撑住立体感 */
:root {
  --neu-bg: #ececee;
  --neu-up: -6px -6px 14px rgba(255,255,255,.95), 6px 6px 14px rgba(0,0,0,.11), inset 1px 1px 0 rgba(255,255,255,.85), inset -1px -1px 0 rgba(0,0,0,.04);
  --neu-hover: -8px -8px 18px #fff, 9px 9px 20px rgba(0,0,0,.14), inset 1px 1px 0 rgba(255,255,255,.9), inset -1px -1px 0 rgba(0,0,0,.04);
  --neu-down: inset 4px 4px 9px rgba(0,0,0,.13), inset -4px -4px 9px rgba(255,255,255,.95);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 40px; padding: 0 18px; border-radius: 999px;
  font-size: 14px; font-weight: 500; letter-spacing: .06em; white-space: nowrap;
  background: var(--neu-bg); color: var(--ink); box-shadow: var(--neu-up);
  transition: box-shadow .25s, transform .3s var(--expo);
}
.btn:hover { box-shadow: var(--neu-hover); transform: translateY(-1px); }
.btn:active { box-shadow: var(--neu-down); transform: none; }
.btn svg { width: 14px; height: 14px; transition: transform .4s var(--expo); }
.btn:hover svg { transform: translateX(3px); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }

/* ===== 导航 ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.scrolled { border-color: var(--line); }
.nav-inner { width: var(--content); margin: 0 auto; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
/* 手机菜单按钮：两条线，打开时变成叉 */
.nav-toggle { display: none; position: relative; width: 38px; height: 38px; border-radius: 50%; background: var(--gray); }
.nav-toggle i { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 1px; background: var(--ink); transition: transform .3s var(--expo), top .3s var(--expo); }
.nav-toggle i:nth-child(1) { top: 15px; }
.nav-toggle i:nth-child(2) { top: 21px; }
.nav-toggle.open i { top: 18px; }
.nav-toggle.open i:nth-child(1) { transform: rotate(45deg); }
.nav-toggle.open i:nth-child(2) { transform: rotate(-45deg); }
.lang-toggle { height: 38px; min-width: 52px; padding: 0 14px; border-radius: 999px; background: var(--gray); font-size: 14px; font-weight: 600; text-align: center; white-space: nowrap; transition: background .2s; }
.lang-toggle:hover { background: var(--gray-2); }
.logo { font-weight: 700; font-size: 17px; letter-spacing: -.01em; white-space: nowrap; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 7px clamp(8px, 1vw, 14px); white-space: nowrap; border-radius: 999px; font-size: 14px; font-weight: 500; color: #555; transition: background .2s, color .2s; }
.nav-links a:hover { background: var(--gray); color: var(--ink); }

/* ===== 首屏 ===== */
/* 首屏：标题、按钮和下面的三张层叠作品卡一起放进第一屏；层叠卡的尺寸由 js/main.js 的 fitShowcase 按剩余高度计算 */
.hero { padding-top: calc(clamp(16px, 5vh, 64px) + var(--hero-top, 0px)); }
.hero-inner { padding: 0 20px; text-align: center; }
.hero-title {
  --icon-w: 1.26em; --icon-h: .84em; --icon-bottom: -.1em;
  font-size: clamp(20px, min(6.9vw, 8.4vh), 84px); font-weight: 400; line-height: 1.32; letter-spacing: .03em;
}
/* 靠粗细形成对比：前面细，最后的落点粗 */
.hero-strong { font-weight: 700; }
.hero-line { display: block; color: #a8a8ad; animation: blurUp 1.1s var(--expo) backwards; animation-delay: calc(200ms + var(--i) * 90ms); }
.hero-line:last-child { color: var(--ink); }
.load-in { animation: blurUp 1.1s var(--expo) backwards; animation-delay: calc(200ms + var(--i) * 90ms); }
.hero-sub { margin: clamp(14px, 3.4vh, 40px) 0 calc(clamp(16px, 3.6vh, 44px) + var(--hero-mid, 0px)); font-size: clamp(15px, 1.4vw, 18px); line-height: 2; letter-spacing: .06em; color: var(--muted); }
.hero-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
@keyframes blurUp { from { opacity: 0; transform: translateY(.4em); filter: blur(10px); } }

/* 词与词之间的小图标：先撑开空位，再弹出图标 */
.slot {
  position: relative; display: inline-block; height: 1px; vertical-align: baseline;
  width: calc(var(--icon-w) + .44em);
  animation: slotOpen .5s var(--expo) backwards; animation-delay: var(--d);
}
.slot-icon {
  position: absolute; left: 50%; bottom: var(--icon-bottom);
  width: var(--icon-w); height: var(--icon-h); border-radius: .1em; overflow: hidden;
  display: grid; place-content: center;
  background: var(--c); color: rgba(0, 0, 0, .45);
  transform: translateX(-50%);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform .5s cubic-bezier(.34, 1.56, .64, 1);
}
/* 轮播：当前图标弹入，上一个图标缩小模糊淡出 */
.slot-icon.active { opacity: 1; visibility: visible; pointer-events: auto; animation: iconPop .9s linear backwards; }
.slot-icon.out { visibility: visible; animation: iconOut .32s cubic-bezier(.4, 0, 1, 1) forwards; }
@keyframes iconOut {
  from { opacity: 1; transform: translateX(-50%) scale(1); filter: blur(0); }
  to   { opacity: 0; transform: translateX(-50%) scale(.72); filter: blur(7px); }
}
.slot-icon.active:hover { transform: translateX(-50%) translateY(-.04em) scale(1.08); }
.slot-icon::after {
  content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 10px);
  padding: 6px 10px; border-radius: 8px; background: var(--ink); color: #fff;
  font-size: 13px; font-weight: 500; white-space: nowrap; letter-spacing: 0;
  opacity: 0; transform: translate(-50%, 4px); pointer-events: none;
  transition: opacity .2s, transform .3s var(--expo);
}
.slot-icon:hover::after { opacity: 1; transform: translate(-50%, 0); }
@keyframes slotOpen { from { width: .25em; } }
@keyframes iconPop {
  0%   { opacity: 0; transform: translateX(-50%) scale(.72); filter: blur(7px); animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  45%  { opacity: 1; transform: translateX(-50%) scale(1.02); filter: blur(0); }
  68%  { transform: translateX(-50%) scale(.995); }
  85%  { transform: translateX(-50%) scale(1.001); }
  100% { transform: translateX(-50%) scale(1); }
}

/* ===== 三张层叠作品卡 ===== */
.showcase {
  position: relative; overflow: hidden; padding-top: clamp(20px, 4.4vh, 48px);
  margin: var(--hero-gap, 0px) 0 var(--hero-bottom, 0px); /* 高屏幕上多出来的高度，见 js/main.js 的 fitShowcase */
  background-image: linear-gradient(#ececee 1px, transparent 1px), linear-gradient(90deg, #ececee 1px, transparent 1px);
  background-size: 80px 80px;
}
/* 底部渐隐到白色，卡片像被裁在页面里 */
.showcase::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; z-index: 4; pointer-events: none;
  background: linear-gradient(to top, #fff 8%, rgba(255,255,255,0));
}
.showcase-stage { position: relative; width: var(--content); max-width: var(--content); aspect-ratio: 8 / 3; margin: 0 auto; }
/* 卡片宽 46%、两侧外移 60%，三张的总宽度正好等于内容宽度 */
.showcase-card {
  position: absolute; top: 0; left: 50%; width: 46%; aspect-ratio: 4 / 5; overflow: hidden;
  border: 8px solid #fff; border-radius: 28px; background: #fff;
  box-shadow: 0 20px 48px rgba(15,15,15,.14), 0 4px 12px rgba(15,15,15,.08);
  transition: transform .8s cubic-bezier(.4, 0, .2, 1), box-shadow .4s;
}
.showcase-card .ph { border-radius: 20px; }
.showcase-card.pos-center { z-index: 3; transform: translateX(-50%); }
.showcase-card.pos-left { z-index: 1; transform: translateX(-110%) translateY(24px) rotate(-3deg) scale(.92); }
.showcase-card.pos-right { z-index: 2; transform: translateX(10%) translateY(24px) rotate(3deg) scale(.92); }
.showcase-card.pos-center:hover { transform: translateX(-50%) translateY(-8px); }
.showcase-card.pos-left:hover { transform: translateX(-110%) translateY(14px) rotate(-3deg) scale(.92); }
.showcase-card.pos-right:hover { transform: translateX(10%) translateY(14px) rotate(3deg) scale(.92); }

/* ===== 通用区块 ===== */
/* 板块之间的间距统一：电脑随屏幕高度在 96～140px 之间，手机 88px（用户 2026-11-08 要求调到合理距离） */
:root { --section-gap: clamp(96px, 12vh, 140px); }
.section { padding: var(--section-gap) 0 0; }
/* 所有板块标题共用：字号一致；标题到下方内容 48px，到副标题 16px */
.title { font-size: clamp(32px, 4.6vw, 56px); font-weight: 700; line-height: 1.12; letter-spacing: -.03em; }
.title + * { margin-top: 48px; }
.title + .wild-sub { margin-top: 16px; }
.title + .cta-sub { margin-top: -24px; } /* 联系区本身有 40px 的行距，这里减到 16px */

/* ===== 服务：三张卡片横向排列；卡片内图在上、文字在下，按钮压底对齐 ===== */
.stack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; transform-origin: 50% 0; }
.stack-card { display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; background: #f7f7f8; cursor: pointer; }
.stack-copy { flex: 1; display: flex; flex-direction: column; gap: 20px; padding: 28px 32px 32px; }
/* 标签：和按钮一样的新拟态，阴影小一些（只是标签，不能点，不抢按钮的风头） */
.stack-badge {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  height: 32px; padding: 0 14px; border-radius: 999px; background: var(--neu-bg);
  box-shadow: -4px -4px 10px rgba(255,255,255,.95), 4px 4px 10px rgba(0,0,0,.09), inset 1px 1px 0 rgba(255,255,255,.85), inset -1px -1px 0 rgba(0,0,0,.04);
  font-size: 13px; font-weight: 500;
}
.stack-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.stack-text { flex: 1; display: flex; flex-direction: column; }
.stack-text h3 { font-size: clamp(22px, 1.9vw, 28px); font-weight: 500; line-height: 1.3; letter-spacing: .01em; }
.stack-text p { flex: 1; margin: 12px 0 24px; font-size: 15px; line-height: 1.8; letter-spacing: .03em; color: #77777c; }
.stack-text .btn { align-self: flex-start; }
/* 图片铺满卡片上半部分，悬停时轻微放大 */
.stack-visual { order: -1; position: relative; aspect-ratio: 4 / 3.2; overflow: hidden; background: var(--ph); }
.stack-visual > .ph, .stack-visual > .site-video { position: absolute; inset: 0; border-radius: 0; transition: scale .8s var(--expo); }
.stack-card:hover .stack-visual > .ph, .stack-card:hover .stack-visual > .site-video { scale: 1.04; }

/* ===== 作品 ===== */
/* 卡片默认只有图，悬停时左下角淡入标题，右下角淡入类别 */
.card-info {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2;
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  opacity: 0; translate: 0 4px; pointer-events: none;
  transition: opacity .2s, translate .24s var(--expo);
}
.card-info h3, .card-info span {
  height: 38px; line-height: 38px; padding: 0 14px; border-radius: 999px;
  background: rgba(255,255,255,.94); box-shadow: 0 1px 2px rgba(0,0,0,.08);
  font-size: 13px; font-weight: 500; white-space: nowrap;
}
.card-info h3 { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.card-info span { flex: none; color: var(--muted); }

/* ===== 工作方式 ===== */
.process { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 32px; transform-origin: 50% 0; }
.process span { font-size: 14px; font-weight: 600; color: var(--muted); }
.process h3 { margin: 14px 0 10px; font-size: 21px; font-weight: 650; letter-spacing: -.01em; }
.process p { font-size: 15px; color: #66666b; }

/* ===== 山野 ===== */
/* 句号右侧的空白不参与居中，否则字号越大的一行看起来越偏左 */
.hang { margin-right: -.62em; }
.wild-sub { font-size: clamp(16px, 1.6vw, 19px); color: rgba(255,255,255,.88); }
/* 全部案例：一排 3:4 卡片居中排开，左右两边一样多、都排到屏幕外，两侧边缘渐隐；每隔几秒整排左推一格（js/main.js 的 createPushRow） */
.push-row {
  --push-w: clamp(220px, 21vw, 300px); --push-gap: 16px; margin-top: 48px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.push-track { display: flex; gap: var(--push-gap); width: max-content; }
.push-card { position: relative; flex: none; width: var(--push-w); aspect-ratio: 3 / 4; margin: 0; border-radius: 16px; overflow: hidden; background: var(--gray); cursor: pointer; }
.push-card > .ph, .push-card > .site-video { position: absolute; inset: 0; border-radius: 0; }
.push-card:hover .card-info { opacity: 1; translate: 0; }
.case-foot { display: flex; flex-direction: column; align-items: center; }
/* 手机上的翻转卡片：两列 8 格，电脑上不显示 */
.flip-grid { display: none; }
.flip-cell { position: relative; aspect-ratio: 3 / 4; margin: 0; perspective: 1100px; cursor: pointer; }
.flip-card { position: absolute; inset: 0; transform-style: preserve-3d; }
.flip-face { position: absolute; inset: 0; border-radius: 12px; overflow: hidden; background: var(--gray); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip-face > .ph, .flip-face > .site-video { position: absolute; inset: 0; border-radius: 0; }
/* 卡片下方的“展开更多”和展开后的全部案例列表 */
.case-more {
  align-self: center; display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; padding: 6px 12px;
  border: 0; background: none; color: var(--muted); font-size: 13px; cursor: pointer; transition: color .2s;
}
.case-more:hover { color: var(--ink); }
.case-more svg { transition: rotate .3s var(--expo); }
.case-more .less, .case-more[aria-expanded="true"] .more { display: none; }
.case-more[aria-expanded="true"] .less { display: inline; }
.case-more[aria-expanded="true"] svg { rotate: 180deg; }
.case-all { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 16px; width: 100%; margin-top: 28px; }
.case-all[hidden] { display: none; }
/* 按钮默认把内容上下居中，被拉到整行高度时标题短的卡会往下偏：不拉伸（align-self: start），图片顶边对齐。
   不用 flex 和 aspect-ratio：iPhone 的 WebKit 里按钮做 flex 容器时图片区高度会算成 0，图就看不见了 */
.case-item { display: block; align-self: start; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: var(--ink); }
.case-thumb { position: relative; display: block; width: 100%; height: 0; padding-bottom: 75%; border-radius: 14px; overflow: hidden; background: var(--gray); } /* 4:3 */
.case-thumb .ph { position: absolute; inset: 0; border-radius: 0; }
.case-thumb .auto-img { transition: scale .6s var(--expo); }
.case-item:hover .auto-img { scale: 1.04; }
.case-item h3 { margin-top: 10px; font-size: 14px; font-weight: 600; }
.case-item > span:last-child { font-size: 13px; color: var(--muted); }

/* 山野：背景轮盘，铺满导航以下一屏 */
.wheel-section { position: relative; height: calc(100vh - 64px); height: calc(100svh - 64px); min-height: 520px; overflow: hidden; background: #0a0a0a; color: #fff; }
.wheel-bg { position: absolute; inset: 0; isolation: isolate; }
.wheel-layer { position: absolute; inset: 0; opacity: 0; transition: opacity .3s; }
.wheel-layer.on { opacity: 1; }
.wheel-layer img, .wheel-layer video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wheel-layer img[src*="w19"] { object-position: 50% 32%; } /* 彗星是竖图，背景横着裁时保住彗星 */
/* 标题所在区域压暗，保证文字在任何照片上都看得清 */
.wheel-section::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.42) 30%, rgba(0,0,0,0) 52%); }
.wheel-head { position: absolute; left: 0; right: 0; top: 20.7%; translate: 0 -50%; z-index: 3; pointer-events: none; }
.wheel-section .title, .wild-sub { text-shadow: 0 1px 12px rgba(0,0,0,.25); }
.wheel { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.wheel-card {
  position: absolute; top: 0; left: 0; width: clamp(76px, 7.6vw, 150px); aspect-ratio: 3 / 4; padding: 0;
  pointer-events: auto; cursor: zoom-in; will-change: transform;
}
.wheel-card:hover { z-index: 2; }
/* 悬停只放大里面的图：卡片用 transform 定位，放大卡片本身会把位移也一起放大 */
.wheel-thumb { position: absolute; inset: 0; display: block; border-radius: 10px; overflow: hidden; background: #222; box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: scale .3s var(--expo); }
.wheel-card:hover .wheel-thumb { scale: 1.08; }
.wheel-thumb img, .wheel-thumb video { display: block; width: 100%; height: 100%; object-fit: cover; }
/* 当前轮播到的名字：标题和副标题下方正中（用户 2026-11-08 截图标的位置），每换一个淡入一次 */
.wild-name {
  position: absolute; left: 0; right: 0; top: 35.5%; translate: 0 -50%; z-index: 3; pointer-events: none;
  text-align: center; font-size: clamp(14px, 1.2vw, 17px); font-weight: 500; letter-spacing: .12em; color: rgba(255,255,255,.92);
  text-shadow: 0 1px 10px rgba(0,0,0,.35);
}
.wild-name.show { animation: wildNameIn .8s var(--expo) both; }
@keyframes wildNameIn { from { opacity: 0; filter: blur(6px); translate: 0 calc(-50% + 8px); } }

/* 山野照片大图 */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; visibility: hidden; }
.lightbox.open { visibility: visible; }
.lightbox .case-arrow {
  position: absolute; top: 50%; z-index: 3; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%;
  display: grid; place-content: center; background: rgba(255,255,255,.92); color: var(--ink);
  box-shadow: 0 2px 10px rgba(0,0,0,.14); transition: scale .3s var(--expo), background .2s;
}
.lightbox .case-arrow:hover { background: #fff; scale: 1.08; }
.lightbox .case-arrow:active { scale: .92; }
.lightbox .case-arrow.prev { left: 24px; }
.lightbox .case-arrow.next { right: 24px; }
.lightbox .modal-backdrop { background: rgba(0,0,0,.78); }
.lightbox.open .modal-backdrop { opacity: 1; }
.photo-box { position: relative; border-radius: 20px; overflow: hidden; background: var(--ph); }
.photo-caption { position: absolute; left: 0; right: 0; bottom: 2vh; text-align: center; font-size: 14px; color: rgba(255,255,255,.8); white-space: pre; pointer-events: none; }
.lightbox .modal-close { position: absolute; top: 20px; right: 20px; float: none; margin: 0; z-index: 3; }

/* ===== 结尾联系 ===== */
/* 不再强制占满一屏（用户 2026-11-08 取消了“点导航后板块占满屏幕”的要求），上下用统一的板块间距 */
.cta {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 40px; padding: var(--section-gap) 20px; text-align: center;
}
.cta-sub { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); }

.footer { display: flex; justify-content: space-between; padding-top: 24px; padding-bottom: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer a:hover { color: var(--ink); }

/* ===== 英文排版：中文用的宽字距放到英文上太松 ===== */
html[lang="en"] .btn { letter-spacing: .01em; }
/* 小图 3:2，高度等于大写字母，像嵌在句子里的图片 */
html[lang="en"] .hero-title {
  --icon-w: 1.1em; --icon-h: .73em; --icon-bottom: 0em;
  font-family: "Inter Tight", var(--sans); font-weight: 300;
  line-height: 1.16; letter-spacing: -.03em;
}
html[lang="en"] .hero-line { color: var(--ink); }
html[lang="en"] .hero-sub { letter-spacing: 0; line-height: 1.6; }
html[lang="en"] .stack-text h3 { letter-spacing: -.01em; line-height: 1.2; }
html[lang="en"] .stack-text p { letter-spacing: 0; line-height: 1.6; }

/* ===== 提示 ===== */
.toast {
  position: fixed; left: 50%; bottom: 32px; z-index: 120;
  padding: 10px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 500;
  opacity: 0; transform: translate(-50%, 12px); filter: blur(4px); pointer-events: none;
  transition: opacity .3s, transform .5s var(--expo), filter .3s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); filter: none; }

/* ===== 作品详情弹窗 ===== */
.modal { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.modal.open { visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.32); backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s; }
.modal.open .modal-backdrop { opacity: 1; }
.modal-panel {
  position: absolute; left: 0; right: 0; top: 4vh; margin: 0 auto;
  width: min(1000px, calc(100% - 32px)); max-height: 92vh; overflow-y: auto;
  border-radius: 28px; background: #fff;
  opacity: 0; transform: translateY(24px) scale(.97); filter: blur(6px);
  transition: opacity .4s, transform .6s var(--expo), filter .4s;
}
.modal.open .modal-panel { opacity: 1; transform: none; filter: none; }
.modal-close {
  position: sticky; top: 16px; float: right; margin: 16px 16px 0 0; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%; background: var(--gray);
  display: grid; place-content: center; transition: background .2s, transform .3s var(--expo);
}
.modal-close:hover { background: var(--gray-2); }
.modal-close:active { transform: scale(.9); }
.modal-body { padding: 48px clamp(20px, 5vw, 56px) 56px; }
.detail-tag { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--gray); font-size: 13px; font-weight: 500; }
.detail-title { font-size: clamp(30px, 4.4vw, 48px); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; margin: 16px 0 28px; }
.detail-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 20px; padding: 20px 0; border-block: 1px solid var(--line); margin-bottom: 28px; }
.detail-meta dt { font-size: 13px; color: var(--muted); }
.detail-meta dd { font-size: 15px; font-weight: 500; margin-top: 2px; }
.detail-desc { font-size: 17px; color: #555; max-width: 680px; margin-bottom: 40px; }
.detail-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.detail-gallery figure { aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; }
.detail-gallery figure.full { grid-column: span 2; aspect-ratio: 16 / 9; }
.case-block { margin-top: 48px; }
.case-block h3 { font-size: 24px; font-weight: 650; letter-spacing: -.02em; }
.case-block > p { margin: 8px 0 20px; font-size: 17px; color: #555; max-width: 680px; }
body.lock { overflow: hidden; }

/* 包装案例页 */
.pk-overview { display: grid; grid-template-columns: 1fr 1fr .8fr; gap: 28px; margin: 4px 0 36px; }
.pk-overview h4 { margin-bottom: 8px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.pk-overview p { font-size: 15px; line-height: 1.7; color: #333; }
.pk-overview ul { padding: 0; list-style: none; font-size: 15px; line-height: 1.9; }
.pk-fig { position: relative; width: 100%; max-width: 100%; height: auto; margin: 0; overflow: hidden; border-radius: 16px; background: var(--gray); aspect-ratio: 4 / 3; }
.pk-fig.hero { aspect-ratio: 16 / 10; }
.pk-fig.wide { aspect-ratio: 16 / 9; }
.pk-fig.line { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.pk-fig.line img { object-fit: contain !important; }
.pk-sec > p { max-width: 680px; }
.pk-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
/* 按图片原比例显示，不裁切（竖版效果图用） */
.pk-fig.natural { aspect-ratio: auto; }
.pk-fig.natural .ph { height: auto; display: block; }
.pk-fig.natural .auto-img { position: static; display: block; height: auto; }
.pk-fig.one { max-width: 720px; margin-inline: auto; } /* 单张竖图不撑满，免得太长 */
.pk-fig.narrow { max-width: 260px; margin-inline: auto; } /* 很窄很长的竖条（如竖向挂牌），再收窄一些 */
.pk-sec + .pk-fig, .pk-fig + .pk-fig { margin-top: 16px; } /* 区块后面紧跟的单张图别贴在一起 */
.pk-swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.pk-swatch { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: #666; }
.pk-swatch i { display: block; aspect-ratio: 1 / 1.15; margin-bottom: 10px; border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.pk-swatch b { color: #111; font-size: 14px; font-weight: 600; }
.pk-swatch span { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.pk-swatch em { margin-top: 4px; font-style: normal; color: #999; }
.pk-note { margin-top: 14px; font-size: 13px; color: #999; }
.pk-type { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
.pk-face { padding: 22px 24px; border-radius: 16px; background: var(--gray); }
.pk-face span { display: block; font-size: 12px; color: var(--muted); }
.pk-face b { display: block; margin-top: 2px; font-size: 14px; font-weight: 600; }
.pk-face p { margin-top: 18px; color: #111; }
.pk-face.display p { font: 700 clamp(32px, 4vw, 48px)/1 "Inter Tight", "Inter", "Noto Sans SC", sans-serif; letter-spacing: -.03em; }
.pk-face.text p { font-size: 17px; line-height: 1.5; }
.pk-face.serif p { font: 400 26px/1.5 "RuiSerif", "Noto Serif SC", "Songti SC", serif; letter-spacing: .2em; }
.pk-face.logo p { margin-top: 14px; }
@font-face { font-family: "RuiSerif"; font-weight: 400; font-display: swap; src: url("../sites/tea/fonts/serif-400.woff2") format("woff2"); }
.pk-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; margin-top: 20px; }
.pk-specs div { padding: 14px 0; border-top: 1px solid var(--line); }
.pk-specs dt { font-size: 12px; color: var(--muted); }
.pk-specs dd { margin-top: 2px; font-size: 15px; }
.pk-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.pk-chips li { padding: 7px 14px; border-radius: 99px; background: var(--gray); font-size: 14px; }
@media (max-width: 720px) {
  .pk-overview, .pk-type, .pk-specs { grid-template-columns: 1fr; gap: 18px; }
  .pk-two { grid-template-columns: 1fr; }
  .pk-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .pk-swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ===== 滚动进出：大小和透明度由 js/effects.js 按滚动位置实时计算，这里不加过渡，免得跟手发虚 ===== */
.js [data-reveal] { will-change: transform, opacity; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ===== 响应式 ===== */
@media (max-width: 960px) {
  .stack {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(80%, 360px); gap: 12px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc((var(--content) - 100vw) / 2); padding-inline: calc((100vw - var(--content)) / 2);
    scroll-padding-inline: calc((100vw - var(--content)) / 2);
  }
  .stack::-webkit-scrollbar { display: none; }
  .stack-card { scroll-snap-align: start; }
  .process { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  /* 栏目从导航下方展开 */
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: 4px 16px 12px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px rgba(0,0,0,.08);
    opacity: 0; visibility: hidden; translate: 0 -8px; transition: opacity .2s, translate .3s var(--expo), visibility .2s;
  }
  .nav-links.open { opacity: 1; visibility: visible; translate: 0; }
  .nav-links a { padding: 13px 0; border-radius: 0; font-size: 17px; color: var(--ink); }
  .nav-links a + a { border-top: 1px solid var(--line); }
  .nav-links a:hover { background: none; }
  :root { --content: calc(100vw - 32px); }
  .showcase { background-size: 56px 56px; }
  .showcase-stage { aspect-ratio: 16 / 9; }
  .showcase-card { border-width: 4px; border-radius: 16px; }
  .showcase-card .ph { border-radius: 12px; }
  .showcase-card .ph-no { top: 5px; left: 5px; font-size: 10px; }
  :root { --section-gap: 88px; }
  .stack-card { border-radius: 24px; }
  .stack-copy { padding: 22px 24px 24px; gap: 16px; }
  .stack-text p { margin: 10px 0 18px; }
  .process { grid-template-columns: 1fr; }
  .push-row { display: none; } /* 手机上换成翻转卡片 */
  .flip-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 32px; }
  .push-card { border-radius: 12px; }
  .push-card .card-info { left: 8px; right: 8px; bottom: 8px; }
  .case-all { grid-template-columns: repeat(2, 1fr); gap: 20px 8px; }
  .detail-gallery { grid-template-columns: 1fr; }
  .detail-gallery figure.full { grid-column: auto; }
}

/* ===== 毛玻璃风格（用户 2026-11-08 要求，先手机后电脑，现在全站都用；盖掉前面的新拟态按钮） =====
   底下铺一层固定的柔和光斑，导航、卡片、流程、联系区做成半透明磨砂玻璃；按钮主次分明：主按钮深色玻璃，次按钮浅色玻璃 */
:root {
  --bg: #f5f4f1;
  --glass: rgba(255, 255, 255, .46);
  --glass-edge: rgba(255, 255, 255, .78);
  --glass-blur: blur(22px) saturate(170%);
  --glass-shadow: 0 10px 30px rgba(30, 45, 45, .08), inset 0 1px 0 rgba(255, 255, 255, .85);
}
/* 光斑固定在屏幕上，滚动时玻璃后面的颜色会流动 */
body::before {
  content: ""; position: fixed; inset: -10%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 30% at 12% 18%, rgba(152, 214, 198, .55), transparent 70%),
    radial-gradient(34% 28% at 92% 42%, rgba(247, 196, 172, .55), transparent 70%),
    radial-gradient(40% 30% at 30% 82%, rgba(186, 214, 236, .45), transparent 70%),
    radial-gradient(30% 24% at 85% 92%, rgba(240, 206, 222, .45), transparent 70%);
}
.nav { background: rgba(255, 255, 255, .5); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
.nav-links { -webkit-backdrop-filter: var(--glass-blur); }
/* 底部渐隐改成遮罩：让网格和卡片本身变透明，露出后面的光斑；原来盖一层实色会和光斑背景接出一条横线 */
.showcase::after { content: none; }
.showcase { -webkit-mask-image: linear-gradient(to bottom, #000 66%, transparent 92%); mask-image: linear-gradient(to bottom, #000 66%, transparent 92%); }

/* 玻璃面板：服务卡、流程每一步、联系区 */
.stack-card, .process li, .cta {
  background: var(--glass); border: 1px solid var(--glass-edge); box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.process { gap: 16px; }
.process li { padding: 28px 26px 30px; border-radius: 24px; }
.cta { width: var(--content); margin: var(--section-gap) auto; padding: clamp(64px, 9vh, 96px) 40px; border-radius: 36px; gap: 32px; }

/* 按钮和标签：浅色玻璃；主按钮（btn-dark）深色玻璃 */
.btn, .stack-badge {
  background: rgba(255, 255, 255, .58); border: 1px solid var(--glass-edge); color: var(--ink);
  box-shadow: 0 4px 14px rgba(30, 45, 45, .08), inset 0 1px 0 rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
}
.btn-dark { background: rgba(18, 18, 20, .86); border-color: rgba(255, 255, 255, .12); color: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .16), inset 0 1px 0 rgba(255, 255, 255, .14); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(30, 45, 45, .12), inset 0 1px 0 rgba(255, 255, 255, .9); }
.btn-dark:hover { box-shadow: 0 10px 24px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .14); }
.btn:active { transform: scale(.97); }

/* 作品卡片和列表图：加一圈玻璃亮边 */
.push-card, .flip-face, .case-thumb { box-shadow: 0 0 0 1px var(--glass-edge), 0 8px 22px rgba(30, 45, 45, .08); }

@media (max-width: 720px) {
  .nav-links { background: rgba(250, 249, 246, .97); backdrop-filter: var(--glass-blur); } /* 嵌在导航毛玻璃里的模糊在手机上不生效，要接近不透明，否则底下文字透上来（用户 2026-11-08） */
  .process { gap: 12px; }
  .process li { padding: 22px 22px 24px; border-radius: 22px; }
  .cta { width: auto; margin: var(--section-gap) 16px; padding: 56px 20px; border-radius: 28px; gap: 28px; }
}

/* ===== 手机上的服务卡：三张横向小卡上下排列，一屏看全（用户 2026-11-08：左右滑只能看到一张多一点） ===== */
@media (max-width: 720px) {
  .stack {
    display: flex; flex-direction: column; gap: 12px;
    overflow: visible; margin-inline: 0; padding-inline: 0; scroll-snap-type: none;
  }
  .stack-card { flex-direction: row; border-radius: 20px; }
  .stack-visual { order: 0; flex: none; width: 36%; aspect-ratio: auto; } /* 图在左边，高度跟随卡片 */
  .stack-copy { padding: 14px 16px 16px; gap: 8px; }
  .stack-badge { height: 26px; padding: 0 10px; font-size: 12px; }
  .stack-text h3 { font-size: 17px; line-height: 1.3; }
  .stack-text p {
    margin: 6px 0 12px; font-size: 13px; line-height: 1.55;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; /* 说明最多两行 */
  }
  .stack-text .btn { height: 32px; padding: 0 12px; font-size: 12.5px; gap: 4px; }
  .stack-text .btn svg { width: 12px; height: 12px; }
}

/* ===== 按钮统一成乳白透明玻璃的圆角矩形（用户 2026-11-08 给的参考图，明确要圆角矩形、不要胶囊）
   半透明的白（透出后面的彩色光斑）+ 强模糊，白色亮边、顶部内高光、底部一点内雾，外面只留很淡的扩散阴影，不要灰色描边
   盖掉前面的深色主按钮和灰色按钮，全站按钮（含导航的语言切换、手机菜单按钮）一个样式 ===== */
.btn, .btn-dark, .btn-gray, .lang-toggle, .nav-toggle {
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .58) 0%, rgba(255, 255, 255, .22) 100%);
  border: 1px solid rgba(255, 255, 255, .8);
  color: #2a2a2c; font-weight: 500;
  box-shadow:
    0 8px 24px rgba(40, 50, 60, .07),
    0 1px 2px rgba(40, 50, 60, .05),
    inset 0 1px 1px rgba(255, 255, 255, .95),
    inset 0 -8px 14px rgba(255, 255, 255, .28);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  transition: box-shadow .25s, transform .3s var(--expo), background .25s;
}
.btn-sm, .lang-toggle, .nav-toggle { border-radius: 11px; }
.btn:hover, .btn-dark:hover, .lang-toggle:hover, .nav-toggle:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, .72) 0%, rgba(255, 255, 255, .32) 100%);
  transform: translateY(-1px);
  box-shadow:
    0 12px 28px rgba(40, 50, 60, .1),
    0 2px 4px rgba(40, 50, 60, .05),
    inset 0 1px 1px #fff,
    inset 0 -8px 14px rgba(255, 255, 255, .32);
}
.btn:active, .lang-toggle:active, .nav-toggle:active {
  transform: scale(.97);
  box-shadow: 0 3px 8px rgba(40, 50, 60, .07), inset 0 2px 6px rgba(40, 50, 60, .07);
}
.nav-toggle i { background: #2a2a2c; }
@media (max-width: 720px) {
  .stack-text .btn { border-radius: 10px; }
}

/* 服务卡的分类标签：去掉胶囊和小圆点，只留灰色文字（用户 2026-11-08 要求） */
.stack-badge, .stack-card .stack-badge {
  height: auto; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  color: #8a8a8e; font-size: 14px; font-weight: 500; letter-spacing: .04em;
}
.stack-badge i { display: none; }
@media (max-width: 720px) {
  .stack-badge, .stack-card .stack-badge { height: auto; padding: 0; font-size: 12.5px; }
}

/* ===== 载入页（用户 2026-11-08）：米白底加柔和色斑，名字从灰填成黑，三条细线（包装盒、空间门洞、网页窗口）随进度画出并轻轻浮动 ===== */
.loader {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(38% 30% at 12% 18%, rgba(152, 214, 198, .5), transparent 70%),
    radial-gradient(34% 28% at 92% 42%, rgba(247, 196, 172, .5), transparent 70%),
    radial-gradient(40% 30% at 30% 82%, rgba(186, 214, 236, .42), transparent 70%),
    var(--bg);
  transition: opacity .9s var(--expo), visibility 0s .9s;
}
.loader-art { position: absolute; inset: 0; width: 100%; height: 100%; --p: 0; }
.loader-art path {
  stroke: #1d1d1f; stroke-opacity: .16; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p));
}
.la { animation: laFloat 7s ease-in-out infinite alternate; }
.la-2 { animation-duration: 9s; animation-delay: -3s; }
.la-3 { animation-duration: 8s; animation-delay: -5s; }
@keyframes laFloat { from { transform: translate(0, 0) rotate(0); } to { transform: translate(14px, -18px) rotate(1.2deg); } }
.loader-brand { position: relative; text-align: center; transition: transform 1s var(--expo), filter 1s var(--expo), opacity .8s; }
.loader-name { position: relative; margin: 0; font-size: clamp(56px, 10vw, 120px); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; white-space: nowrap; }
.loader-base { color: rgba(29, 29, 31, .12); }
.loader-fill { position: absolute; inset: 0; color: var(--ink); clip-path: inset(0 100% 0 0); }
.loader-num { margin: 18px 0 0; font-size: 13px; font-weight: 500; letter-spacing: .14em; color: #8a8a8e; font-variant-numeric: tabular-nums; }
/* 进入：名字放大变虚淡出，整层淡出 */
html.loaded .loader { opacity: 0; visibility: hidden; pointer-events: none; }
html.loaded .loader-brand { transform: scale(1.06); filter: blur(8px); opacity: 0; }
/* 载入期间：页面不能滚动，首屏标题和按钮的入场动画先停着，进入后再播 */
html.is-loading, html.is-loading body { overflow: hidden; }
html.is-loading .hero-line, html.is-loading .load-in, html.is-loading .slot, html.is-loading .slot-icon { animation-play-state: paused !important; }
@media (max-width: 720px) {
  .loader-name { font-size: clamp(34px, 11vw, 72px); }
  .loader-art { opacity: .8; }
}
@media (prefers-reduced-motion: reduce) { .la { animation: none; } }

/* ===== 推动排下方的滚动小封面条（用户 2026-11-08，代替“展开更多”文字按钮）=====
   匀速向左无限滚动，两侧渐隐和推动排一样；电脑上鼠标移上去卡片变浅、中间浮出“查看更多”（展开后是“收起”）；
   手机没有悬停，卡片一直半浅、标签常驻，点一下展开或收起 */
.case-strip {
  position: relative; margin-top: 28px; padding: 6px 0; overflow: hidden; cursor: pointer; outline: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.strip-track { display: flex; width: max-content; animation: stripMove var(--strip-time, 60s) linear infinite; transition: opacity .35s, filter .35s; }
@keyframes stripMove { to { transform: translateX(var(--strip-shift, -50%)); } }
.strip-set { display: flex; gap: 20px; padding-right: 20px; }
.strip-card { flex: none; width: 132px; height: 88px; border-radius: 12px; overflow: hidden; background: var(--gray); box-shadow: 0 0 0 1px var(--glass-edge), 0 4px 12px rgba(30, 45, 45, .06); }
.strip-card img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.strip-label {
  position: absolute; left: 50%; top: 50%; translate: -50% calc(-50% + 6px); display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 18px; border-radius: 12px; font-size: 14px; font-weight: 500; color: #2a2a2c; white-space: nowrap;
  background: linear-gradient(180deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .5)); border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: 0 8px 24px rgba(40, 50, 60, .1), inset 0 1px 1px #fff;
  -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%);
  opacity: 0; pointer-events: none; transition: opacity .3s, translate .4s var(--expo);
}
.strip-label svg { transition: rotate .3s var(--expo); }
.strip-label .less, .case-strip[aria-expanded="true"] .strip-label .more { display: none; }
.case-strip[aria-expanded="true"] .strip-label .less { display: inline; }
.case-strip[aria-expanded="true"] .strip-label svg { rotate: 180deg; }
/* 电脑：悬停或键盘聚焦时卡片变浅、标签浮出，滚动放慢一点也不停 */
@media (hover: hover) {
  .case-strip:hover .strip-track, .case-strip:focus-visible .strip-track { opacity: .35; filter: saturate(.6); }
  .case-strip:hover .strip-label, .case-strip:focus-visible .strip-label { opacity: 1; translate: -50% -50%; }
}
/* 手机：没有悬停，卡片一直半浅，标签常驻 */
@media (hover: none) {
  .strip-track { opacity: .55; }
  .strip-label { opacity: 1; translate: -50% -50%; }
  .case-strip:active .strip-label { scale: .96; }
}
@media (max-width: 720px) {
  .case-strip { margin-top: 20px; }
  .strip-card { width: 108px; height: 72px; border-radius: 10px; }
  .strip-set { gap: 14px; padding-right: 14px; }
}
@media (prefers-reduced-motion: reduce) { .strip-track { animation: none; } }
/* 展开列表底部的“收起” */
#caseLess { margin-top: 28px; }
#caseLess[hidden] { display: none; }

/* 手机上流程四张卡压缩（用户 2026-11-08）：编号和标题放在同一行，内边距、字号收小 */
@media (max-width: 720px) {
  .process { gap: 10px; }
  .process li { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 12px; padding: 16px 18px 18px; border-radius: 18px; }
  .process h3 { margin: 0; font-size: 18px; }
  .process p { grid-column: 1 / -1; margin-top: 6px; font-size: 13.5px; line-height: 1.55; }
}

/* 板块标题改成常规字重（用户 2026-11-08 要求“不要粗体看看”） */
.title { font-weight: 400; letter-spacing: -.025em; }
/* “One brand. Three stages.” 中英文都排成一行（用户 2026-11-08）；手机屏窄，不换行并按屏宽缩小字号 */
#services .title { white-space: nowrap; }

/* 板块标题（One brand. Three stages. / The work / How I work，用户 2026-11-08）：只要文字，居左，文字左边一个线条小图标 */
.label-title { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 500; letter-spacing: .01em; line-height: 1.3; color: #3a3a3d; transform-origin: 0 50%; }
.label-icon { flex: none; width: 20px; height: 20px; }
@media (max-width: 720px) { .label-title { gap: 8px; font-size: 15px; } .label-icon { width: 18px; height: 18px; } }

/* 作品排和小封面条收进内容宽度，左右和其他板块对齐（用户 2026-11-08）；宽度变窄，两侧渐隐范围也收小 */
.push-row, .case-strip {
  width: var(--content); margin-inline: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

/* 作品排可以鼠标左右拖动，两端有左右按钮（用户 2026-11-08）。外面包一层 .push-wrap，按钮不受一排两侧渐隐遮罩的影响 */
.push-wrap { position: relative; width: var(--content); margin: 48px auto 0; }
.push-wrap .push-row { width: 100%; margin-top: 0; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.push-wrap .push-row.dragging { cursor: grabbing; }
.push-arrow {
  position: absolute; top: 50%; translate: 0 -50%; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: #2a2a2c; cursor: pointer;
  background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.5)); border: 1px solid rgba(255,255,255,.85);
  box-shadow: 0 8px 24px rgba(40,50,60,.12), inset 0 1px 1px #fff;
  -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%);
  transition: scale .25s, background .25s;
}
.push-arrow.prev { left: 12px; }
.push-arrow.next { right: 12px; }
.push-arrow:hover { background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.68)); }
.push-arrow:active { scale: .94; }
@media (max-width: 720px) { .push-wrap { display: none; } }


/* 联系区标题：字改小、加粗（用户 2026-11-08） */
#contact .title { font-size: clamp(24px, 2.6vw, 36px); font-weight: 700; line-height: 1.3; }

/* 小封面条里的网页案例从页面顶部开始显示（用户 2026-11-08） */
.strip-card.site img { object-position: 50% 0; }


/* 电脑版流程卡片也把编号和标题放在同一行（用户 2026-11-08），字号和内边距保持电脑原样 */
@media (min-width: 721px) {
  .process li { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 12px; }
  .process h3 { margin: 0; }
  .process p { grid-column: 1 / -1; margin-top: 10px; }
}
/* 语言切换：矢量图标按钮，点开弹出可选语言（用户 2026-11-08） */
.lang-wrap { position: relative; }
.lang-toggle { display: flex; align-items: center; justify-content: center; width: 38px; min-width: 38px; padding: 0; }
.lang-toggle svg { display: block; }
.lang-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 60; display: flex; flex-direction: column; min-width: 124px; padding: 5px; border-radius: 12px; background: rgba(250, 249, 246, .97); border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 12px 32px rgba(40, 50, 60, .13), 0 1px 2px rgba(40, 50, 60, .06); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); animation: langIn .28s var(--expo); }
.lang-menu[hidden] { display: none; }
.lang-menu button { display: flex; align-items: center; justify-content: space-between; height: 36px; padding: 0 10px; border-radius: 8px; font-size: 14px; color: #2a2a2c; text-align: left; transition: background .2s; }
.lang-menu button:hover { background: rgba(40, 50, 60, .07); }
.lang-menu button[aria-checked="true"] { font-weight: 600; }
.lang-menu button[aria-checked="true"]::after { content: "✓"; font-size: 12px; }
@keyframes langIn { from { opacity: 0; transform: translateY(-4px); } }
