/* ==========================================================================
   武汉锐众广告有限责任公司 — 官网
   大胆创意风格：深色底 / 超大字号 / 强对比色 / 滚动动效
   ========================================================================== */

/* ---------- 设计变量 ---------- */
:root {
  --ink:        #0A0A0A;
  --ink-2:      #131313;
  --ink-3:      #1C1C1C;
  --paper:      #FAFAF7;
  /* 品牌主色：橙色（与 logo 一致）。改这一行即可全站换色 */
  --brand:      #fc8c0c;
  --violet:     #6C4CF1;
  --rose:       #FF2D78;
  --sky:        #4CC9F0;

  /* 两级次要文字都需满足 WCAG AA 4.5:1（实测 8.4:1 / 5.2:1）。
     原 0.32 只能到 2.73:1，小字号下几乎看不清。 */
  --muted:      rgba(250, 250, 247, 0.66);
  --muted-dim:  rgba(250, 250, 247, 0.50);
  --line:       rgba(250, 250, 247, 0.12);

  --font: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
          system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --pad: clamp(20px, 5vw, 72px);
  --maxw: 1440px;
  --radius: 4px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

img, svg, video { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button, input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--brand); color: var(--ink); }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: #2c2c2c; border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: #3d3d3d; }

/* ---------- 通用布局 ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { padding: clamp(72px, 11vw, 160px) 0; position: relative; }

/* 点导航跳转的落点。
   顶部导航是固定定位（position: fixed，见下面的 .nav），锚点跳转默认
   把目标区块的顶边对齐到视口顶边，于是区块开头那几十像素正好被导航
   盖住——小标题没了，标题也缺半截。
   scroll-margin-top 让浏览器提前停下，把这段让出来。
   数值按吸顶后的导航高度（实测 71~73px）再加一点余量。

   ⚠️ 为什么只写这四个：#services 是第一个区块，自带 72~160px 上内边距，
      跳过去时小标题本来就在导航下面，再加这段反而显得没跳到位。
      这四个区块的 padding-top 都是 0（紧跟着上一个区块），跳过去时
      顶边就是内容本身，所以必须补这一段。

   ⚠️ 以后新加带 id 的区块，如果也写了 padding-top:0，记得加到下面这行。 */
#work, #process, #guarantee, #contact { scroll-margin-top: 80px; }

/* 区块小标题 */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 26px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--brand);
}

/* 超大标题 */
.display {
  font-size: clamp(2.6rem, 8.4vw, 7.6rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.92;
}

.h2 {
  font-size: clamp(2rem, 5.4vw, 4.6rem);
  letter-spacing: -0.04em;
}

.lead {
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  color: var(--muted);
  max-width: 62ch;
  line-height: 1.75;
}

.hl { color: var(--brand); }
.hl-violet { color: var(--violet); }
.hl-rose { color: var(--rose); }

/* 描边字（空心） */
.outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--paper);
  text-stroke: 2px var(--paper);
}

/* 只给读屏软件和搜索引擎看，视觉上不占位置。
   详情页把大标题去掉了，但每个页面还是得有一个 h1。 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- 按钮 ---------- */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 32px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease), color 0.35s var(--ease);
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--paper);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
}

.btn:hover { transform: translateY(-3px); }
.btn:hover::after { transform: translateY(0); }

.btn__arrow { transition: transform 0.4s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(5px); }

.btn--sm { padding: 12px 24px; font-size: 12px; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--paper);
  border: 1.5px solid var(--line);
}
.btn--ghost:hover { --btn-fg: var(--ink); border-color: var(--paper); }

/* 文字链接（带下划线动效） */
.link-underline {
  display: inline-block;
  position: relative;
  font-weight: 700;
}
.link-underline::after {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%; height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.link-underline:hover::after { transform: scaleX(1); transform-origin: left; }

/* ==========================================================================
   顶部导航
   ========================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px var(--pad);
  transition: padding 0.4s var(--ease), background 0.4s var(--ease),
              backdrop-filter 0.4s var(--ease);
}

.nav.is-stuck {
  padding-block: 13px;
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav__logo {
  display: flex;
  align-items: baseline;
  gap: 9px;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
/* 全大写用 text-transform 实现，HTML 里保留小写域名：
   页面上显示 WHRZAD.CN，但复制出来、被搜索引擎读到的仍是 whrzad.cn。
   不喜欢的话删掉下面那行 uppercase 就回到原样。 */
.nav__logo-en {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brand);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav__links a {
  position: relative;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 1.5px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav__links a:hover { color: var(--paper); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__burger {
  display: none;
  width: 46px; height: 46px;
  padding: 0;
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  position: relative;
}
.nav__burger span {
  position: absolute;
  left: 50%; top: 50%;
  width: 18px; height: 2px;
  background: var(--paper);
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.nav__burger span:nth-child(1) { transform: translate(-50%, -7px); }
.nav__burger span:nth-child(3) { transform: translate(-50%, 5px); }

body.menu-open .nav__burger span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav__burger span:nth-child(3) { transform: translate(-50%, -50%) rotate(-45deg); }

/* 移动端抽屉 */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 890;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: var(--pad);
  background: var(--ink);
  clip-path: circle(0% at calc(100% - 44px) 44px);
  transition: clip-path 0.7s var(--ease);
  pointer-events: none;
}
body.menu-open .drawer {
  clip-path: circle(150% at calc(100% - 44px) 44px);
  pointer-events: auto;
}
.drawer a {
  font-size: clamp(2rem, 10vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.3s;
}
.drawer a:hover { color: var(--brand); }
body.menu-open .drawer a { opacity: 1; transform: none; }
body.menu-open .drawer a:nth-child(1) { transition-delay: 0.14s; }
body.menu-open .drawer a:nth-child(2) { transition-delay: 0.20s; }
body.menu-open .drawer a:nth-child(3) { transition-delay: 0.26s; }
body.menu-open .drawer a:nth-child(4) { transition-delay: 0.32s; }
body.menu-open .drawer a:nth-child(5) { transition-delay: 0.38s; }
.drawer__foot {
  margin-top: 40px;
  font-size: 14px;
  color: var(--muted);
  line-height: 2;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* 底部不留白：跑马灯是水平的了，直接贴在 hero 下边缘，
     橙色一路压到底，中间不再夹一条黑边。 */
  padding: 132px 0 0;
  overflow: hidden;
}

/* 背景：彩色光斑 */
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.hero__glow--1 {
  width: 46vw; height: 46vw;
  background: var(--violet);
  top: -12%; right: -8%;
  animation: float 14s ease-in-out infinite;
}
.hero__glow--2 {
  width: 38vw; height: 38vw;
  background: var(--brand);
  bottom: -18%; left: -10%;
  opacity: 0.34;
  animation: float 18s ease-in-out infinite reverse;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-4%, 6%) scale(1.12); }
}

/* 上下 auto 外边距让内容在高窄屏幕上居中，跑马灯仍贴住底部 */
.hero .wrap {
  position: relative;
  z-index: 2;
  margin-block: auto;
  padding-bottom: clamp(24px, 4vh, 56px);
}

/* 每行独立成行，不做自动折行——排比句式一旦断行就散了 */
.hero__title span {
  display: block;
  overflow: hidden;
}
.hero__title span > i {
  display: block;
  font-style: normal;
  white-space: nowrap;
  transform: translateY(105%);
  animation: riseIn 1s var(--ease) forwards;
}
.hero__title span:nth-child(1) > i { animation-delay: 0.10s; }
.hero__title span:nth-child(2) > i { animation-delay: 0.22s; }
.hero__title span:nth-child(3) > i { animation-delay: 0.34s; }
@keyframes riseIn { to { transform: translateY(0); } }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  margin-top: clamp(38px, 5vw, 64px);
  padding-top: 34px;
  border-top: 1px solid var(--line);
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.62s forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__scroll {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-dim);
}
.hero__scroll::after {
  content: "";
  width: 54px; height: 1px;
  background: linear-gradient(90deg, var(--muted-dim), transparent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }

/* 跑马灯 */
.marquee {
  position: relative;
  z-index: 2;
  padding: 22px 0;
  /* 色带做成水平的一条，贴着首屏底边。
     之前是 rotate(-1.4deg) 斜着的，斜的那一端会在下面露出一块黑色楔形，
     楔形的下边缘是水平的——看着就是橙黑交界处多出来一条横线。
     斜度越大露得越多，宽屏下能到 37px。拉平就彻底没有了。
     原来还有一圈 1px 的淡色描边（border-block），正好落在交界线上，一并去掉。 */
  background: var(--brand);
  color: var(--ink);
  overflow: hidden;
  white-space: nowrap;
}
.marquee__track {
  display: inline-flex;
  gap: 44px;
  /* 补上最后一组的末尾间隔，这样「组数 × 一组的宽」正好等于跑道总宽 */
  padding-right: 44px;
  /* 动画不写在这里。要等 JS 把内容复制够份数再加 .is-ready，
     否则在宽屏上滚到后半段右边会露白再跳回起点。
     没开 JS 时就是一排静止的关键词，不会出现断档。 */
}
.marquee__track.is-ready {
  animation: scrollX var(--dur, 32s) linear infinite;
}
.marquee span {
  font-size: clamp(0.95rem, 2vw, 1.5rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 44px;
}
.marquee span::after {
  content: "✦";
  font-size: 0.75em;
  opacity: 0.6;
}
/* 移动量由 JS 按实际组数算好写进 --shift，一组一组地挪。
   写死 -50% 只在「跑道正好两组」时成立，组数一变循环点就接不上。 */
@keyframes scrollX {
  from { transform: translateX(0); }
  to   { transform: translateX(var(--shift, -50%)); }
}

/* ==========================================================================
   数据条
   ========================================================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.stat {
  padding: clamp(28px, 3.6vw, 48px) clamp(20px, 2.4vw, 34px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat__num {
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.stat__num em {
  font-style: normal;
  font-size: 0.42em;
  color: var(--brand);
}
.stat__label {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
}

/* ==========================================================================
   服务
   ========================================================================== */
.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: clamp(46px, 6vw, 80px);
}

/* 四大业务板块：宽屏一行 4 个，手机一行 2 个 */
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

/* 窗口不够宽时退回一行 2 个，否则每列只剩一百多像素，
   列表项会换行到没法看。1180px 是按最长的列表项试出来的。 */
@media (max-width: 1180px) {
  .services { grid-template-columns: repeat(2, 1fr); }
}

.service {
  position: relative;
  padding: clamp(30px, 3.4vw, 46px);
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.service::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--brand);
  transform: translateY(100%);
  transition: transform 0.55s var(--ease);
}
.service:hover::before { transform: translateY(0); }
.service:hover { color: var(--ink); }
.service:hover .service__idx,
.service:hover .service__desc,
.service:hover .service__list li { color: rgba(10, 10, 10, 0.8); }
.service:hover .service__list li::before { background: var(--ink); }

.service__idx {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--muted-dim);
  transition: color 0.4s var(--ease);
}
.service__title {
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
  margin: 22px 0 16px;
  letter-spacing: -0.03em;
}
.service__desc {
  font-size: 14.5px;
  color: var(--muted);
  transition: color 0.4s var(--ease);
}
.service__list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.service__list li {
  position: relative;
  padding-left: 16px;
  font-size: 13.5px;
  color: var(--muted-dim);
  transition: color 0.4s var(--ease);
}
.service__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 6px; height: 6px;
  background: var(--brand);
  transition: background 0.4s var(--ease);
}

/* ==========================================================================
   作品
   ========================================================================== */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2.6vw, 38px);
}

.work {
  display: block;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
}
.work--wide { grid-column: span 2; }

.work__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--art, linear-gradient(135deg, #1f1f1f, #333));
}
.work--wide .work__media { aspect-ratio: 21 / 9; }

/* 用渐变 + 图形拼出「封面」效果，替换成真实图片时直接换成 <img> 即可 */
.work__art {
  position: absolute;
  inset: 0;
  background: var(--art);
  transition: transform 0.85s var(--ease), filter 0.6s var(--ease);
}
.work__art::before,
.work__art::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: overlay;
}
.work__art::before {
  width: 62%; aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.22);
  top: -14%; right: -12%;
}
.work__art::after {
  width: 44%; aspect-ratio: 1;
  background: rgba(0, 0, 0, 0.28);
  bottom: -16%; left: 10%;
}

.work:hover .work__art { transform: scale(1.05); filter: saturate(1.25); }

/* 真实照片：叠在渐变占位之上。图片加载失败时 JS 会把它移除，自动露出下面的色块，
   所以在照片还没准备好的阶段，版面也不会开天窗。 */
.work__photo,
.case-cover img,
.gallery img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.85s var(--ease);
}
.work:hover .work__photo { transform: scale(1.05); }

.work__num {
  position: absolute;
  right: clamp(16px, 2.4vw, 34px);
  bottom: clamp(6px, 1.4vw, 14px);
  font-size: clamp(3.6rem, 9vw, 8rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
  color: rgba(255, 255, 255, 0.24);
  pointer-events: none;
}

.work__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(22px, 2.8vw, 38px);
  background: linear-gradient(to top, rgba(10, 10, 10, 0.92) 12%, transparent);
  color: var(--paper);
}

.work__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.work__tags span {
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(250, 250, 247, 0.3);
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.work__title {
  /* 卡片上只剩板块名四个字了，字号调大些，撑得住画面 */
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  letter-spacing: -0.035em;
}

/* 首页四张卡片现在只写板块名，所以下面这行内容清单常显，
   不再等鼠标划过——不然卡片上就孤零零四个字。 */
.work__result {
  margin-top: 12px;
  font-size: clamp(13px, 1.1vw, 15px);
  color: var(--brand);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 9px;
}

/* ==========================================================================
   照片墙
   一格一张照片，下面一行说明。不用写长文，客户扫一眼就知道你能做什么。
   ========================================================================== */
/* 用 CSS 多列做瀑布流，不需要 JS。
   照片按自己的原始比例排，横的竖的都能放，不用裁成一样大。
   高低不齐本身就是错落效果，不用再额外做偏移。 */
.wall {
  column-count: 3;
  column-gap: clamp(16px, 2vw, 30px);
  /* 鼠标滑过时照片放大多少倍。跟「承诺保证」那四张是同一套做法，
     只是这里三列，每列比那里宽，倍数要单独定（见文件末尾的断点）。 */
  --zoom: 1.5;
}

.wall__item {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  margin-bottom: clamp(16px, 2vw, 30px);
}

.wall__pic {
  position: relative;
  border-radius: clamp(14px, 1.5vw, 22px);
  overflow: hidden;
  /* 照片没放时露出的占位色。每个格子给不同的 --art，颜色才不会一片死板 */
  background: var(--art, linear-gradient(135deg, #1f1f1f, #333));
  /* 放大时从底边往上长，不往下盖住照片下面那行说明 */
  transform-origin: 50% 100%;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

/* 照片没放时，靠这段撑出一个占位框，不然会是零高度。
   每格给的比例不一样（--ratio），所以哪怕一张照片都没有，
   看着也是高低错落的，不会变成整齐的方格子。
   照片一旦能加载，高度就由照片自己决定，这条就不起作用了。
   is-empty 是 JS 在把加载失败的 <img> 摘掉之后加上的。 */
.wall__pic.is-empty {
  aspect-ratio: var(--ratio, 4 / 3);
}

/* 鼠标划过：照片浮起来、放大，盖在上下左右相邻的格子上，移开复原。
   --glow 优先用 JS 从照片里取的颜色；照片没放则用 HTML 里写的占位色。

   三点和「承诺保证」那四张保持一致：
   ——放大的是 .wall__pic 这个框（照片在里面，跟着一起放大），圆角不会跑掉；
   ——z-index 要抬起来，不然会被右边那一列的照片压住；
   ——只在能悬停的设备上生效，触屏上 :hover 会卡住退不回来。 */
@media (hover: hover) and (pointer: fine) {
  .wall__item:hover .wall__pic {
    transform: translateY(-6px) scale(var(--zoom, 1.5));
    z-index: 5;
    box-shadow:
      0 30px 60px -18px rgba(0, 0, 0, 0.8),
      0 0 46px -8px var(--glow, rgba(255, 106, 0, 0.55));
  }
}

.wall__pic img {
  display: block;
  width: 100%;
  height: auto;          /* 保持照片自己的长宽比，不裁 */
}

.wall__cap {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.45;
}

@media (max-width: 760px) {
  /* 两列时每列更宽，同样是 1.5 倍的话最左最右那两列会顶出屏幕四十多像素，收一档 */
  .wall { column-count: 2; column-gap: 14px; --zoom: 1.25; }
  .wall__item { margin-bottom: 14px; }
  .wall__cap { font-size: 13px; margin-top: 9px; }
}

/* ==========================================================================
   方法论 / 流程
   ========================================================================== */
.process { border-top: 1px solid var(--line); }

.step {
  display: grid;
  grid-template-columns: 110px 1fr 1.1fr;
  gap: 30px;
  align-items: start;
  padding: clamp(30px, 4vw, 52px) 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.45s var(--ease), padding-left 0.45s var(--ease);
}
.step:hover { background: var(--ink-2); padding-left: clamp(12px, 1.6vw, 24px); }

.step__idx {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--brand);
  letter-spacing: -0.04em;
  line-height: 1;
}
.step__title {
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  letter-spacing: -0.035em;
}
.step__desc { color: var(--muted); font-size: 15px; }

/* ==========================================================================
   客户 Logo 墙
   ========================================================================== */
.clients {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.clients div {
  display: grid;
  place-items: center;
  min-height: 108px;
  padding: 18px;
  background: var(--ink);
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--muted-dim);
  text-align: center;
  transition: color 0.35s var(--ease), background 0.35s var(--ease);
}
.clients div:hover { color: var(--paper); background: var(--ink-3); }

/* ==========================================================================
   团队
   ========================================================================== */
.team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.2vw, 30px);
  /* 鼠标滑过时照片放大多少倍。
     一行四张（宽屏）1.5 倍正好；一行两张或一张时卡片本身就宽，
     同样 1.5 倍会顶出屏幕五十多像素被切掉，所以下面窄屏的断点里调小。
     倍数只跟列数有关，所以变量挂在 .team 上。 */
  --zoom: 1.5;
}
.member__photo {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: clamp(14px, 1.5vw, 22px);
  overflow: hidden;
  background: var(--art, linear-gradient(160deg, #262626, #101010));
  margin-bottom: 18px;
  /* transform-origin 定在底边中点：放大时往上和往两边长，
     不会往下盖住「免费上门量尺」那两行字。
     用 center（默认值）的话，1.5 倍会把下面的标题整个吃掉。 */
  transform-origin: 50% 100%;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
/* 照片没放时，用这个大字母占位。
   注意这里用的是 ::before 不是 ::after —— ::after 会画在 <img> 上面，
   把照片挡住；::before 在 <img> 下面，照片一加载就把字盖住了。 */
.member__photo::before {
  content: attr(data-initial);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  color: rgba(250, 250, 247, 0.16);
  transition: transform 0.7s var(--ease), color 0.5s var(--ease);
}
.member:hover .member__photo::before {
  transform: scale(1.08);
  color: rgba(255, 106, 0, 0.5);
}
.member__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
/* 鼠标滑过：整张照片浮起来、放大 1.5 倍，盖在旁边的卡片上，移开复原。
   ——放大的其实是 .member__photo 这个框（照片绝对定位铺满它，跟着一起放大），
     所以照片不会跑出圆角，也不会变形。
   ——z-index 必须抬起来，否则会被右边那张卡片的照片压住。

   外面套 @media (hover: hover)：触屏上 :hover 会「卡住」，
   手机上点一下就会一直放大着退不回来。 */
@media (hover: hover) and (pointer: fine) {
  .member:hover .member__photo {
    transform: translateY(-6px) scale(var(--zoom, 1.5));
    z-index: 5;
    box-shadow:
      0 30px 60px -18px rgba(0, 0, 0, 0.8),
      0 0 46px -8px var(--glow, rgba(255, 106, 0, 0.45));
  }
}
.member__name { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; }
.member__role { font-size: 13.5px; color: var(--muted); margin-top: 4px; }

/* ==========================================================================
   客户评价
   ========================================================================== */
.quotes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2.6vw, 34px);
}
.quote {
  padding: clamp(30px, 3.6vw, 50px);
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.quote__mark { font-size: 3.4rem; line-height: 0.6; color: var(--brand); font-weight: 900; }
.quote__text {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.6;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.quote__who { margin-top: auto; font-size: 14px; color: var(--muted); }
.quote__who b { color: var(--paper); display: block; font-size: 15px; }

/* ==========================================================================
   CTA + 联系
   ========================================================================== */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--brand);
  color: var(--ink);
  border-radius: var(--radius);
  padding: clamp(46px, 7vw, 96px) clamp(26px, 5vw, 76px);
}
.cta .display { font-size: clamp(2.2rem, 6.6vw, 6rem); }
/* 橙底比原来的荧光绿暗，深色文字需要更高不透明度才够清晰 */
.cta .lead { color: rgba(10, 10, 10, 0.78); }
.cta__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 34px;
}
.cta .btn { --btn-bg: var(--ink); --btn-fg: var(--brand); }
.cta .btn::after { background: var(--violet); }
.cta .btn:hover { --btn-fg: var(--paper); }

/* 联系区两栏。
   align-items 用默认的 stretch，不要写 start：
   左边地址栏有 5 条，二维码卡片内容少，写 start 的话卡片会比左边矮一截，
   底边对不齐。stretch 让卡片跟着左边的高度走，两边一样高（见 .wechat 的 align-content）。 */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: stretch;
}

.info-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.info-item dt {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin-bottom: 8px;
}
.info-item dd {
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* 电话号码做成可点的：手机上点一下直接拨号。
   颜色跟正文保持一致，不做成蓝色下划线链接——那样在深色底上很跳。 */
.info-item__tel { color: inherit; text-decoration: none; }
.info-item__tel:hover { color: var(--brand); }

/* -- 扫码加微信 --
   联系区右边这一栏原来是询盘表单，现在换成二维码。
   照片存成 assets/img/wechat-qr.png 就会显示出来。 */
.wechat {
  display: grid;
  justify-items: center;
  /* 卡片被拉到和左边地址栏一样高（见 .contact-grid 的 align-items），
     内容整体居中，不要挤在顶上留一大块空白在下面。 */
  align-content: center;
  text-align: center;
  gap: 20px;
  padding: clamp(28px, 3.4vw, 48px) clamp(22px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: clamp(14px, 1.6vw, 24px);
  background: rgba(250, 250, 247, 0.025);
}

/* 白底 + 四周留白是必须的：深色底上的二维码很多手机认不出来。
   这个 padding 就是二维码规范里说的「静区」，别为了好看调小。 */
.wechat__qr {
  width: min(340px, 100%);
  padding: 16px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 50px -20px rgba(255, 106, 0, 0.55);
}
/* 强制正方形 + contain：万一给的二维码不是正方形（比如截图带了别的边角），
   也不会把白框撑成一条长方形，更不会把码拉变形。多余的地方是白的，
   跟白底连成一片，看不出来。 */
.wechat__qr img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

/* 二维码还没放时，JS 会把加载失败的 <img> 摘掉并加上 is-empty，
   这里显示一个虚线框告诉你们图片放哪儿，不至于开天窗。 */
.wechat__qr.is-empty {
  display: grid;
  place-content: center;
  aspect-ratio: 1;
  border: 2px dashed rgba(10, 10, 10, 0.28);
  box-shadow: none;
}
.wechat__qr.is-empty::after {
  content: "微信二维码\A 存成 assets/img/\A wechat-qr.png\A 就会显示在这里";
  /* 用 pre-wrap 而不是 pre：\A 的换行要保留，但长的一行也得能自己折下去。
     用 pre 的话这行字撑出 270px，窄屏上会把整页顶出横向滚动条。 */
  white-space: pre-wrap;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  line-height: 2;
  color: rgba(10, 10, 10, 0.5);
}

.wechat__title { font-size: clamp(1.3rem, 1.8vw, 1.65rem); }
.wechat__desc {
  max-width: 26ch;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}
.wechat__id { font-size: 14px; color: var(--muted-dim); }
.wechat__id strong { color: var(--paper); font-weight: 700; }

/* 表单
   ⚠️ 页面上已经没有表单了（改成上面的二维码），下面这一整段暂时用不上。
      留着是因为 server/ 里的收件接口还能用，以后想把表单加回来直接贴回
      index.html 就行，样式和 main.js 里的提交逻辑都还在。 */

.form { display: grid; gap: 20px; }
.field { display: grid; gap: 9px; }
.field label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-dim);
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 15px 0;
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid var(--line);
  border-radius: 0;
  outline: none;
  font-size: 16px;
  transition: border-color 0.35s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--muted-dim); }
.field input:focus,
.field textarea:focus,
.field select:focus { border-color: var(--brand); }
.field select option { background: var(--ink); color: var(--paper); }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form__note { font-size: 13px; color: var(--muted-dim); }

.form__done {
  display: none;
  padding: 22px 26px;
  background: rgba(255, 106, 0, 0.12);
  border: 1px solid var(--brand);
  border-radius: var(--radius);
  color: var(--brand);
  font-weight: 700;
  font-size: 15px;
}
.form.is-sent .form__done { display: block; }
.form.is-sent .form__body { display: none; }

/* 提交失败或没填全时的提示条。用红色，和成功的橙色区分开。
   这个元素是 JS 按需插进去的，HTML 里没有。 */
.form__error {
  margin-bottom: 22px;
  padding: 16px 20px;
  background: rgba(255, 77, 79, 0.1);
  border: 1px solid rgba(255, 77, 79, 0.55);
  border-radius: var(--radius);
  color: #FF8587;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

/* ==========================================================================
   页脚
   ========================================================================== */
.footer {
  padding: clamp(56px, 7vw, 92px) 0 40px;
  border-top: 1px solid var(--line);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
/* uppercase 只影响英文域名，中文没有大小写，不受影响。
   只想让导航大写、页脚保持小写的话，删掉这里的 uppercase 即可。 */
.footer__brand { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 900; letter-spacing: -0.04em; text-transform: uppercase; }
.footer__desc { margin-top: 16px; color: var(--muted); font-size: 14.5px; max-width: 34ch; }

.footer__col h4 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin-bottom: 18px;
}
.footer__col li { margin-bottom: 11px; }
.footer__col a {
  font-size: 14.5px;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}
.footer__col a:hover { color: var(--brand); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted-dim);
}

/* 页脚超大品牌字 */
.footer__giant {
  font-size: clamp(3.4rem, 17vw, 15rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.82;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(250, 250, 247, 0.14);
  text-align: center;
  margin-top: 40px;
  user-select: none;
}

/* ==========================================================================
   滚动入场动画
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.40s; }

/* ==========================================================================
   案例详情页
   ========================================================================== */
.case-hero {
  position: relative;
  /* 详情页只剩面包屑和四个信息，标题区去掉了，所以上下留白都收窄 */
  padding: clamp(110px, 12vw, 150px) 0 clamp(26px, 3.5vw, 48px);
  overflow: hidden;
}
.case-hero__glow {
  position: absolute;
  width: 55vw; height: 55vw;
  top: -24%; right: -14%;
  border-radius: 50%;
  background: var(--art-glow, var(--violet));
  filter: blur(110px);
  opacity: 0.42;
  pointer-events: none;
}
.case-hero .wrap { position: relative; z-index: 2; }

.crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin-bottom: 30px;
}
.crumb a:hover { color: var(--brand); }

.case-hero__title {
  font-size: clamp(2.4rem, 8vw, 7rem);
  letter-spacing: -0.05em;
  margin-bottom: 34px;
}

.case-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: clamp(34px, 5vw, 56px);
}
.case-meta > div { padding: 24px; background: var(--ink); }
.case-meta dt {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin-bottom: 9px;
}
.case-meta dd { margin: 0; font-size: 15px; font-weight: 700; }

.case-cover {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: var(--art);
  position: relative;
  overflow: hidden;
  margin-top: clamp(34px, 5vw, 60px);
}
.case-cover::before {
  content: "";
  position: absolute;
  width: 55%; aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  mix-blend-mode: overlay;
  top: -18%; right: -10%;
}
.case-cover::after {
  content: "";
  position: absolute;
  width: 40%; aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  mix-blend-mode: overlay;
  bottom: -22%; left: 8%;
}

.case-body {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(30px, 5vw, 76px);
  align-items: start;
}
.case-body__side {
  position: sticky;
  top: 110px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
}
.case-body__main > * + * { margin-top: 26px; }
.case-body__main h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  margin-top: clamp(40px, 5vw, 64px);
  letter-spacing: -0.035em;
}
.case-body__main h3:first-child { margin-top: 0; }
.case-body__main p { color: var(--muted); font-size: 16px; line-height: 1.85; }
.case-body__main strong { color: var(--paper); }

/* 成果数据 */
.results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 45px;
}
.results > div { padding: clamp(24px, 3vw, 38px); background: var(--ink); }
.results .n {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--brand);
}
.results .t { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* 图集 */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2.2vw, 26px);
  margin-top: 45px;
}
.gallery figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: var(--art);
  position: relative;
  overflow: hidden;
}
.gallery figure:nth-child(1) { grid-column: span 2; aspect-ratio: 21 / 9; }
.gallery figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.18), transparent 55%);
}

/* 下一个案例 */
.next-case {
  display: block;
  position: relative;
  padding: clamp(50px, 8vw, 100px) 0;
  border-top: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}
.next-case::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--brand);
  transform: translateY(101%);
  transition: transform 0.6s var(--ease);
}
.next-case:hover { color: var(--ink); }
.next-case:hover::before { transform: translateY(0); }
.next-case:hover .next-case__label,
.next-case:hover .next-case__title { color: var(--ink); }
.next-case__label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-dim);
  transition: color 0.4s var(--ease);
}
.next-case__title {
  font-size: clamp(2rem, 6vw, 4.6rem);
  letter-spacing: -0.045em;
  margin-top: 16px;
  transition: color 0.4s var(--ease);
}

/* ==========================================================================
   自定义光标（仅精确指针设备）
   ========================================================================== */
.cursor,
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  z-index: 9999;
  pointer-events: none;
  border-radius: 50%;
  mix-blend-mode: difference;
  opacity: 0;
  transition: opacity 0.3s;
}
.cursor {
  width: 38px; height: 38px;
  border: 1.5px solid #fff;
  transition: width 0.3s var(--ease), height 0.3s var(--ease),
              background 0.3s var(--ease), opacity 0.3s;
}
.cursor-dot { width: 5px; height: 5px; background: #fff; }
body.cursor-ready .cursor,
body.cursor-ready .cursor-dot { opacity: 1; }
.cursor.is-hot {
  width: 68px; height: 68px;
  background: rgba(255, 255, 255, 0.12);
}

/* 噪点质感 */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 0.7s steps(2) infinite;
}
@keyframes grainShift {
  0%   { transform: translate(0, 0); }
  50%  { transform: translate(-2%, 1.5%); }
  100% { transform: translate(1%, -1%); }
}

/* 自定义光标的页面隐藏系统指针 */
@media (hover: hover) and (pointer: fine) {
  body.cursor-ready,
  body.cursor-ready a,
  body.cursor-ready button { cursor: none; }
}

/* 回到顶部 */
.to-top {
  position: fixed;
  right: var(--pad);
  bottom: 26px;
  z-index: 800;
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: var(--ink);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px) scale(0.85);
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav > .btn { display: none; }
  .nav__burger { display: block; }

  /* .services 的 2 列已经在上面 1180px 那个查询里处理了 */
  .team { grid-template-columns: repeat(2, 1fr); }
  /* 一行两张，卡片变宽了。滑过时还放 1.5 倍的话，最左最右那两张
     会顶出屏幕五十多像素被切掉，所以收到 1.25。 */
  .team { --zoom: 1.25; }
  .step { grid-template-columns: 80px 1fr; }
  .step__desc { grid-column: 2; }
  .case-body { grid-template-columns: 1fr; }
  .case-body__side { position: static; }
}

@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, 1fr); }

  /* 手机上同样保持一行 2 个，但要把内边距和字号收一收，
     不然 375px 宽的屏幕减去两列和边距，每列只剩一百来像素。 */
  .services { grid-template-columns: repeat(2, 1fr); }
  .service { padding: 24px 16px; }
  .service__idx { font-size: 11px; letter-spacing: 0.14em; }
  .service__title { font-size: 1.15rem; margin: 14px 0 10px; }
  .service__desc { font-size: 13px; }
  .service__list { margin-top: 14px; gap: 6px; }
  .service__list li { font-size: 12.5px; padding-left: 13px; }
  .service__list li::before { width: 5px; height: 5px; }

  .work-grid { grid-template-columns: 1fr; }
  .work--wide { grid-column: span 1; }
  .work--wide .work__media { aspect-ratio: 4 / 3; }
  .quotes { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .case-meta { grid-template-columns: repeat(2, 1fr); }
  .results { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery figure:nth-child(1) { grid-column: span 1; aspect-ratio: 4 / 3; }
  .footer__top { grid-template-columns: 1fr; gap: 34px; }
  .hero { padding-top: 110px; }
}

@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr; }
  /* 一行一张，卡片几乎占满屏幕宽度，放大倍数再收一档 */
  .team { grid-template-columns: 1fr; --zoom: 1.15; }
}

/* 尊重系统「减少动效」偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__title span > i { transform: none; }
  .hero__meta { opacity: 1; }
  /* 承诺保证那四张图、详情页照片墙，滑过时都会放大，位移太大，这里关掉；
     阴影还在，鼠标滑过仍然有反馈。 */
  .member:hover .member__photo,
  .wall__item:hover .wall__pic { transform: none; }
  .cursor, .cursor-dot, .grain { display: none; }
}

/* 打印 */
@media print {
  .nav, .drawer, .to-top, .cursor, .cursor-dot, .grain, .marquee { display: none; }
  body { background: #fff; color: #000; }
}
