:root {
  --paper: #f3efe7;
  --card: #fffdf9;
  --ink: #15130f;
  --sub: #6e675c;
  --line: #e2dcd0;
  --accent: #e4572e;
  --accent-soft: #fbe3da;
  --night: #121110;
  --radius: 18px;
  --sans: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei", "Source Han Sans SC", system-ui, sans-serif;
  --num: "DIN Alternate", "Bahnschrift", "Segoe UI", var(--sans);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.wrap { width: min(1200px, 100%); margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* ---------- 首屏 ---------- */
.hero { position: relative; overflow: hidden; background: var(--night); color: #f6f1e8; min-height: min(760px, 100svh); display: flex; align-items: center; }
.hero-wall { position: absolute; inset: -10% -5% -10% 42%; display: flex; gap: 14px; transform: rotate(-8deg); opacity: .9; }
.hero-wall::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--night) 0%, rgba(18,17,16,.55) 30%, rgba(18,17,16,.1) 70%), linear-gradient(0deg, var(--night) 0%, transparent 25%, transparent 75%, var(--night) 100%); }
.wall-col { flex: 1; display: flex; flex-direction: column; gap: 14px; animation: rise 60s linear infinite; }
.wall-col:nth-child(2) { animation-duration: 75s; animation-direction: reverse; }
.wall-col:nth-child(3) { animation-duration: 68s; }
.wall-col img { width: 100%; border-radius: 12px; aspect-ratio: 3 / 4; object-fit: cover; background: #222; }
@keyframes rise { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@media (prefers-reduced-motion: reduce) { .wall-col { animation: none; } html { scroll-behavior: auto; } }
.hero-inner { position: relative; padding-top: 96px; padding-bottom: 96px; }
.eyebrow { margin: 0 0 18px; font-size: 14px; letter-spacing: .3em; color: #c9bfae; }
.hero h1 { margin: 0; font-size: clamp(36px, 6vw, 68px); line-height: 1.18; font-weight: 800; letter-spacing: .01em; max-width: 14em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lede { margin: 22px 0 0; max-width: 34em; color: #cfc6b8; font-size: clamp(15px, 1.6vw, 18px); }
.stats { display: flex; gap: clamp(20px, 4vw, 48px); margin: 36px 0 0; }
.stats div { display: flex; flex-direction: column-reverse; }
.stats dt { color: #a99f8f; font-size: 13px; }
.stats dd { margin: 0; font: 700 clamp(30px, 4vw, 44px)/1.1 var(--num); color: #fff; }
.cta { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; height: 48px; padding: 0 26px; border-radius: 999px; text-decoration: none; font-weight: 600; transition: transform .2s, background .2s; }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: #cf4520; }
.btn.ghost { border: 1px solid rgba(255,255,255,.28); color: #f6f1e8; }
.btn.ghost:hover { background: rgba(255,255,255,.08); }

/* ---------- 导航 ---------- */
.bar { position: sticky; top: 0; z-index: 20; background: rgba(243,239,231,.9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.bar-inner { display: flex; align-items: center; gap: 18px; height: 60px; }
.mark { flex: none; display: flex; align-items: center; gap: 8px; font-weight: 800; text-decoration: none; }
.mark span { width: 22px; height: 22px; border-radius: 7px; background: var(--accent); position: relative; }
.mark span::after { content: ""; position: absolute; left: 8px; top: 6px; border-left: 9px solid #fff; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); padding-right: 32px; }
.chips::-webkit-scrollbar { display: none; }
.chips a { flex: none; padding: 6px 13px; border-radius: 999px; font-size: 14px; text-decoration: none; color: var(--sub); white-space: nowrap; transition: background .2s, color .2s; }
.chips a:hover { color: var(--ink); background: rgba(0,0,0,.05); }
.chips a.on { background: var(--ink); color: #fff; }

/* ---------- 服务 ---------- */
.service { padding-top: clamp(56px, 8vw, 96px); }
.svc-head { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: end; margin-bottom: 28px; }
.svc-no { font: 700 15px/1 var(--num); color: var(--accent); letter-spacing: .1em; }
.svc-head h2 { margin: 10px 0 8px; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.2; font-weight: 800; }
.svc-head p { margin: 0; color: var(--sub); font-size: 17px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tags span { font-size: 13px; padding: 4px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--sub); }
.price { min-width: 260px; max-width: 340px; padding: 18px 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.price small { display: block; font-size: 12px; letter-spacing: .2em; color: var(--sub); }
.price strong { display: block; margin: 4px 0 6px; font: 800 26px/1.25 var(--num); color: var(--accent); }
.price span { display: block; font-size: 13px; color: var(--sub); line-height: 1.6; }

.cases { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 20px; }
.case { display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.case:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(40,30,20,.35); }
.thumb { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; overflow: hidden; background: #1a1816; cursor: pointer; }
.thumb .bg { position: absolute; inset: -20px; width: calc(100% + 40px); height: calc(100% + 40px); object-fit: cover; filter: blur(22px) saturate(1.2) brightness(.8); }
.thumb .fg { position: relative; width: 100%; height: 100%; object-fit: contain; transition: transform .5s; }
.case:hover .thumb .fg { transform: scale(1.03); }
.thumb.fill .fg { object-fit: cover; object-position: top; }
.play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(255,255,255,.92); box-shadow: 0 8px 24px rgba(0,0,0,.3); transition: transform .25s; }
.play::after { content: ""; position: absolute; left: 26px; top: 21px; border-left: 17px solid var(--ink); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.case:hover .play { transform: scale(1.08); }
.badges { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 6px; }
.badges span { font-size: 12px; line-height: 1; padding: 6px 9px; border-radius: 999px; background: rgba(18,17,16,.72); color: #fff; backdrop-filter: blur(6px); }
.case-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.case-body h3 { margin: 0; font-size: 19px; line-height: 1.35; }
.client { margin: 0; font-size: 13px; color: var(--accent); }
.case-body p.text { margin: 0; color: var(--sub); font-size: 15px; line-height: 1.65; }
.items { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 10px; }
.items button { font-size: 13px; padding: 5px 11px; border-radius: 9px; border: 1px solid var(--line); background: transparent; cursor: pointer; color: var(--ink); transition: background .2s, border-color .2s; }
.items button:hover { background: var(--accent-soft); border-color: #f2b9a6; }
.items button i { font-style: normal; color: var(--accent); margin-right: 4px; }

/* ---------- 流程与页脚 ---------- */
.process { padding-top: clamp(72px, 10vw, 120px); }
.process h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 0 0 28px; }
.process ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.process li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.process li b { font: 700 14px var(--num); color: var(--accent); }
.process li h3 { margin: 8px 0 6px; font-size: 19px; }
.process li p { margin: 0; color: var(--sub); font-size: 15px; }
.contact { margin: 28px 0 0; padding: 22px 26px; border-radius: var(--radius); background: var(--night); color: #f6f1e8; font-size: 17px; }
.foot { padding-top: 40px; padding-bottom: calc(48px + env(safe-area-inset-bottom)); color: var(--sub); font-size: 13px; }

/* ---------- 查看器 ---------- */
.viewer { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0b0a09; color: #fff; overflow: hidden; }
.viewer[open] { display: grid; grid-template-rows: auto 1fr auto; }
.viewer::backdrop { background: #0b0a09; }
.v-top { display: flex; align-items: center; gap: 16px; padding: 14px 20px; padding-top: max(14px, env(safe-area-inset-top)); }
.v-title { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 12px; white-space: nowrap; overflow: hidden; }
.v-title b { font-size: 16px; overflow: hidden; text-overflow: ellipsis; }
.v-title span { font-size: 13px; color: #a99f8f; }
.v-count { font: 14px var(--num); color: #a99f8f; }
.v-close { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); cursor: pointer; font-size: 16px; }
.v-close:hover { background: rgba(255,255,255,.2); }
.v-stage { position: relative; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 72px; touch-action: pan-y; }
.v-stage video { max-width: 100%; max-height: 100%; border-radius: 10px; background: #000; }
.v-stage .scroll { width: min(100%, 980px); height: 100%; overflow: auto; overscroll-behavior: contain; border-radius: 10px; }
.v-stage .scroll img { width: 100%; height: auto; margin: 0 auto; }
.v-stage > img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; }
.v-nav { position: absolute; top: 50%; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); font-size: 30px; line-height: 1; cursor: pointer; z-index: 2; }
.v-nav:hover { background: rgba(255,255,255,.22); }
.v-nav.prev { left: 12px; }
.v-nav.next { right: 12px; }
.v-nav[hidden] { display: none; }
.v-strip { display: flex; gap: 8px; padding: 12px 20px; padding-bottom: max(14px, env(safe-area-inset-bottom)); overflow-x: auto; scrollbar-width: none; justify-content: safe center; }
.v-strip button { flex: none; position: relative; width: 76px; height: 52px; padding: 0; border-radius: 8px; overflow: hidden; border: 2px solid transparent; background: #222; cursor: pointer; opacity: .55; transition: opacity .2s, border-color .2s; }
.v-strip button img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.v-strip button.on { border-color: var(--accent); opacity: 1; }
.v-strip button.vid::after { content: "▶"; position: absolute; right: 4px; bottom: 2px; font-size: 10px; text-shadow: 0 1px 3px #000; }

/* ---------- 手机 ---------- */
@media (max-width: 900px) {
  .hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-inner { order: 1; padding-top: 56px; padding-bottom: 8px; }
  .hero-wall { order: 2; position: relative; inset: auto; height: 300px; margin: 28px -30% -30px; transform: rotate(-6deg); opacity: .8; overflow: hidden; }
  .hero-wall::after { background: linear-gradient(180deg, var(--night) 0%, transparent 30%, transparent 70%, var(--night) 100%); }
  .hero h1 { font-size: clamp(28px, 8.2vw, 40px); }
  .hero h1 span { display: inline-block; }
  .svc-head { grid-template-columns: 1fr; }
  .price { max-width: none; min-width: 0; }
  .process ol { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding-left: 18px; padding-right: 18px; }
  .cases { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -18px; padding: 0 18px 8px; scrollbar-width: none; }
  .cases::-webkit-scrollbar { display: none; }
  .case { scroll-snap-align: center; }
  .case:hover { transform: none; }
  .v-stage { padding: 0 8px; }
  .v-nav { display: none; }
  .process ol { grid-template-columns: 1fr; }
  .bar-inner { height: 54px; }
}
