/* =========================================================
   云曼巴 Cloud Mamba · 官网样式
   设计语言：Big Walk 套装（与标志 / PPT / 名片 / 海报同一套）
   - 奶油底 + 墨黑字 + 蓝黄红三原色，粉 / 绿 / 梅红只做吉祥物点缀
   - 标题：粗宋体（Noto Serif SC 900）；英文标签：Alfa Slab One
   - 图形带手作毛边：SVG 滤镜 #rough / #roughtext（在 header 里定义）
   ========================================================= */

:root {
  --cream: #F3ECDF;
  --paper: #FAF6EE;
  --ink: #1C1A17;
  --ink-2: #3B352C;
  --muted: #5A544B;
  --line: #D9CFBE;
  --blue: #4C74B9;
  --blue-deep: #3A5E9E;
  --yellow: #F1C543;
  --red: #C23B1E;
  --pink: #EFA3B3;
  --green: #3E9A5E;
  --plum: #8A2350;

  --font-display: "CM Display", "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", serif;
  --font-latin: "CM Latin", "CM Display", "Rockwell", Georgia, serif;
  --font-body: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;

  --wrap: 1200px;
  --gutter: 24px;
  --header-h: 76px;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 900; line-height: 1.2; margin: 0; letter-spacing: .01em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.rough { filter: url(#rough); }
.rough-text { filter: url(#roughtext); }

/* ---------- 文字元素 ---------- */
.eyebrow {
  font-family: var(--font-latin);
  font-size: 14px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin: 0 0 18px;
}
.eyebrow .dot { display: inline-block; width: .55em; height: .55em; border-radius: 50%; margin: 0 .6em; vertical-align: .15em; }
.serif { font-family: var(--font-display); font-weight: 900; }
.accent-red { color: var(--red); }
.accent-blue { color: var(--blue); }
.lead { font-size: 19px; color: var(--ink-2); max-width: 38em; }

/* 手作毛边粗线（PPT 封面同款） */
.rule { height: 7px; background: var(--ink); filter: url(#rough); border: 0; margin: 0; }
.rule.thin { height: 4px; }

/* 标签 · 色块高亮（PPT「客户名称 · 日期」同款黄条） */
.tag {
  position: relative; display: inline-block; padding: 6px 14px;
  font-family: var(--font-display); font-weight: 900; font-size: 15px; line-height: 1.4;
  isolation: isolate;
}
.tag::before { content: ""; position: absolute; inset: 0; background: var(--yellow); filter: url(#rough); z-index: -1; }
.tag.blue { color: #fff; } .tag.blue::before { background: var(--blue); }
.tag.red { color: #fff; } .tag.red::before { background: var(--red); }
.tag.ghost::before { background: transparent; border: 2px dashed var(--muted); filter: none; }
.tag.ghost { color: var(--muted); }

/* 待补充内容：醒目但不难看，上线前全部替换（build.py 会列出清单） */
.todo {
  background: repeating-linear-gradient(-45deg, rgba(241,197,67,.45) 0 6px, rgba(241,197,67,.2) 6px 12px);
  outline: 1.5px dashed #B8902A; outline-offset: 1px; border-radius: 3px;
  padding: 0 .25em; color: var(--ink);
}

/* ---------- 按钮 ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; min-height: 48px;
  font-family: var(--font-display); font-weight: 900; font-size: 17px; line-height: 1.2;
  color: var(--ink); text-decoration: none; cursor: pointer;
  border: 0; background: none; isolation: isolate;
  transition: transform .15s ease;
}
.btn::before { content: ""; position: absolute; inset: 0; background: var(--yellow); filter: url(#rough); z-index: -1; transition: background .15s; }
.btn:hover { transform: translate(-2px, -2px); }
.btn:hover::before { box-shadow: 4px 4px 0 var(--ink); }
.btn.dark { color: var(--cream); } .btn.dark::before { background: var(--ink); }
.btn.dark:hover::before { box-shadow: 4px 4px 0 var(--yellow); }
.btn.line::before { background: transparent; border: 3px solid var(--ink); }
.btn .arrow { width: 18px; height: 18px; flex: none; }
.btn.small { padding: 10px 18px; min-height: 42px; font-size: 15px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 900; text-decoration: none;
  border-bottom: 3px solid var(--yellow); padding-bottom: 2px;
}
.link-arrow:hover { border-color: var(--ink); }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 236, 223, .92);
  -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px);
  transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: 0 1px 0 var(--line); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.brand { display: block; flex: none; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a, .nav-group > button {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; font-size: 16px; font-weight: 600; text-decoration: none;
  color: var(--ink); background: none; border: 0; font-family: inherit; cursor: pointer; border-radius: 8px;
}
.nav > a:hover, .nav-group > button:hover { background: rgba(28,26,23,.06); }
.nav > a[aria-current="page"]::after, .nav-group.current > button::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 4px;
  background: var(--yellow); filter: url(#rough);
}
.nav-group { position: relative; }
.nav-group > button svg { width: 12px; height: 12px; transition: transform .2s; }
.nav-group.open > button svg { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: -8px; min-width: 300px;
  background: var(--paper); border: 3px solid var(--ink); border-radius: var(--radius);
  padding: 10px; box-shadow: 6px 6px 0 var(--ink);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .18s ease;
}
.nav-group.open .dropdown, .nav-group:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) { .nav-group:hover .dropdown { opacity: 1; visibility: visible; transform: none; } }
.dropdown a {
  display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 10px; text-decoration: none;
}
.dropdown a:hover { background: var(--cream); }
.dropdown .ind-dot { width: 34px; height: 34px; border-radius: 50%; flex: none; filter: url(#rough); }
.dropdown strong { display: block; font-size: 15px; }
.dropdown small { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; }
.dropdown .soon { font-size: 12px; color: var(--muted); border: 1.5px solid var(--line); border-radius: 99px; padding: 0 8px; margin-left: 6px; font-weight: 500; }
.header-cta { margin-left: 12px; }
.menu-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: none; cursor: pointer; padding: 12px; }
.menu-toggle span { display: block; height: 3px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .2s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .brand img { height: 36px; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); padding: 12px var(--gutter) 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .2s ease;
  }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .menu-open { overflow: hidden; }
  .nav > a, .nav-group > button { font-family: var(--font-display); font-weight: 900; font-size: 24px; padding: 16px 0; border-bottom: 2px solid var(--line); border-radius: 0; width: 100%; justify-content: space-between; }
  .nav > a:hover, .nav-group > button:hover { background: none; }
  .nav > a[aria-current="page"]::after, .nav-group.current > button::after { display: none; }
  .nav-group > button svg { width: 16px; height: 16px; }
  .dropdown { position: static; min-width: 0; border: 0; box-shadow: none; background: none; padding: 0 0 8px; display: none; opacity: 1; visibility: visible; transform: none; }
  .nav-group.open .dropdown { display: block; }
  .nav-group:hover .dropdown { opacity: 1; }
  .header-cta { margin: 28px 0 0; justify-content: center; }
}

/* ---------- 区块 ---------- */
.section { padding: 112px 0; position: relative; }
.section.tight { padding: 72px 0; }
.section.paper { background: var(--paper); }
.section.ink { background: var(--ink); color: var(--cream); }
.section.ink .eyebrow { color: #CFC6B6; }
.section.blue { background: var(--blue); color: #fff; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 56px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(32px, 4.2vw, 52px); }
.section-head .lead { margin: 18px 0 0; }
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .section.tight { padding: 52px 0; }
  .section-head { margin-bottom: 36px; }
  .lead { font-size: 17px; }
}

/* ---------- 首页 Hero ---------- */
.hero { padding: 48px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; }
.hero .rule { max-width: 620px; margin-bottom: 36px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 84px); line-height: 1.12; filter: url(#roughtext); }
.hero .lead { margin: 28px 0 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero-tagline { margin-top: 56px; font-family: var(--font-latin); letter-spacing: .16em; font-size: 14px; color: var(--ink-2); }

/* 右侧插画：PPT 封面构图（大色块圆 + 软件窗口 + 曼巴） */
.scene { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1 / 1; margin-left: auto; }
.scene .blob { position: absolute; border-radius: 50%; filter: url(#rough); }
.scene .b-blue { width: 88%; height: 88%; left: 12%; top: 10%; background: var(--blue); }
.scene .b-yellow { width: 36%; height: 36%; right: -6%; top: -2%; background: var(--yellow); }
.scene .b-red { width: 40%; height: 40%; left: -2%; bottom: -4%; background: var(--red); }
.window {
  position: relative; border-radius: 18px; padding: 12px; isolation: isolate;
}
.window::before { content: ""; position: absolute; inset: 0; background: var(--ink); border-radius: 18px; filter: url(#rough); z-index: -1; }
.window-inner { position: relative; background: var(--cream); border-radius: 9px; padding: 14px 16px 16px; }
.window-dots { display: flex; gap: 8px; margin-bottom: 12px; }
.window-dots i { width: 16px; height: 16px; border-radius: 50%; filter: url(#rough); }
.window-dots i:nth-child(1) { background: var(--red); }
.window-dots i:nth-child(2) { background: var(--yellow); }
.window-dots i:nth-child(3) { background: var(--blue); }
.scene .window { position: absolute; left: 16%; top: 36%; width: 74%; }
.window-body { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; aspect-ratio: 2 / 1.15; }
.window-body .pane-yellow { background: var(--yellow); border-radius: 8px; display: grid; place-items: center; filter: url(#rough); }
.window-body .pane-yellow svg { width: 72%; }
.window-body .pane-dark { background: var(--ink); border-radius: 8px; padding: 9% 8%; display: flex; flex-direction: column; justify-content: space-between; position: relative; }
.window-body .pane-dark i { display: block; height: 13%; filter: url(#rough); }
.window-body .pane-dark .go { position: absolute; right: 8%; bottom: 8%; width: 30%; aspect-ratio: 1; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; filter: url(#rough); }
.window-body .pane-dark .go svg { width: 50%; }
.scene .snake-on-top { position: absolute; width: 36%; left: 52%; top: 8%; }
@media (max-width: 960px) {
  .hero { padding: 24px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .scene { max-width: 420px; margin: 8px auto 0; }
  .hero-tagline { margin-top: 36px; }
}

/* ---------- 行业条 ---------- */
.industries { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.industry {
  position: relative; padding: 26px 24px 24px; border-radius: var(--radius); text-decoration: none;
  background: var(--paper); border: 3px solid var(--ink); min-height: 190px;
  display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s;
}
a.industry:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); }
.industry .ind-dot { width: 46px; height: 46px; border-radius: 50%; filter: url(#rough); margin-bottom: 18px; }
.industry h3 { font-size: 24px; }
.industry p { font-size: 14px; color: var(--muted); margin: 8px 0 0; line-height: 1.6; }
.industry .status { margin-top: auto; padding-top: 16px; font-size: 13px; font-weight: 700; }
.industry .status.live { color: var(--green); }
.industry .status.live::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-right: 8px; vertical-align: 1px; box-shadow: 0 0 0 4px rgba(62,154,94,.18); }
.industry .status.soon { color: var(--muted); }
.industry.is-soon { border-style: dashed; border-color: var(--muted); background: transparent; }
@media (max-width: 960px) { .industries { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .industries { gap: 12px; } .industry { padding: 20px 16px; min-height: 170px; } .industry h3 { font-size: 20px; } }

/* ---------- 三栏优势 ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.pillar .snake { width: 120px; height: 108px; margin: -12px 0 12px -14px; }
.pillar h3 { font-size: 26px; margin-bottom: 12px; }
.pillar p { color: var(--ink-2); margin: 0; }
.section.ink .pillar p { color: #D8CFBF; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- 案例卡片（软件窗口造型） ---------- */
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.case-grid.single { grid-template-columns: minmax(0, 1fr); }
.case-card { display: block; text-decoration: none; color: var(--ink); transition: transform .15s; }
.case-card:hover { transform: translate(-3px, -3px); }
.case-card .window-inner { padding: 14px 16px 22px; }
.case-cover {
  position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 9;
  display: grid; place-items: center; margin-bottom: 20px;
}
.case-cover img { width: 100%; height: 100%; object-fit: cover; }
.case-cover .cover-name { font-family: var(--font-display); font-weight: 900; font-size: clamp(26px, 3.4vw, 40px); text-align: center; padding: 0 24px; filter: url(#roughtext); line-height: 1.25; }
.case-cover .cover-snake { position: absolute; width: 26%; right: 4%; bottom: -4%; }
.cover-blue { background: var(--blue); color: #fff; }
.cover-yellow { background: var(--yellow); color: var(--ink); }
.cover-red { background: var(--red); color: #fff; }
.cover-pink { background: var(--pink); color: var(--ink); }
.case-meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; font-size: 13px; color: var(--muted); }
.chip { display: inline-block; padding: 2px 10px; border-radius: 99px; border: 1.5px solid var(--ink); font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.6; }
.chip.status { border-color: var(--green); color: var(--green); }
.chip.status.coming { border-color: var(--red); color: var(--red); }
.case-card h3 { font-size: 24px; line-height: 1.35; }
.case-card p { color: var(--ink-2); margin: 10px 0 0; font-size: 15px; }
.case-metrics { display: flex; gap: 28px; margin-top: 18px; padding-top: 16px; border-top: 2px solid var(--line); flex-wrap: wrap; }
.case-metrics b { display: block; font-family: var(--font-display); font-size: 28px; line-height: 1.2; }
.case-metrics span { font-size: 13px; color: var(--muted); }
.case-card.placeholder .window::before { background: var(--muted); }
.case-card.placeholder .case-cover { background: repeating-linear-gradient(-45deg, #EAE1D1 0 14px, #E2D8C6 14px 28px); color: var(--muted); }
.case-card.placeholder .cover-name { filter: none; font-size: 22px; }
@media (max-width: 860px) { .case-grid { grid-template-columns: 1fr; gap: 28px; } }

/* 案例列表筛选 */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn {
  font: inherit; font-size: 15px; font-weight: 700; cursor: pointer;
  padding: 8px 18px; border-radius: 99px; border: 2.5px solid var(--ink); background: transparent; color: var(--ink);
}
.filter-btn[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.filter-btn[disabled] { border-style: dashed; border-color: var(--muted); color: var(--muted); cursor: default; }
.filter-btn .soon { font-weight: 500; font-size: 12px; margin-left: 4px; }
.empty-note { color: var(--muted); padding: 40px 0; text-align: center; display: none; }

/* ---------- FDE 流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius); background: var(--paper); color: var(--ink); }
.section.ink .step { background: #2A2722; color: var(--cream); }
.step .num { font-family: var(--font-latin); font-size: 44px; line-height: 1; display: block; margin-bottom: 18px; }
.step:nth-child(1) .num { color: var(--blue); }
.step:nth-child(2) .num { color: var(--yellow); }
.step:nth-child(3) .num { color: var(--red); }
.step:nth-child(4) .num { color: var(--pink); }
.step h3 { font-size: 22px; margin-bottom: 10px; }
.step p { margin: 0; font-size: 15px; color: inherit; opacity: .82; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* 对比表 */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 16px; }
.compare th, .compare td { text-align: left; padding: 18px 20px; vertical-align: top; border-bottom: 2px solid var(--line); }
.compare thead th { font-family: var(--font-display); font-weight: 900; font-size: 18px; border-bottom: 4px solid var(--ink); }
.compare tbody th { font-weight: 700; color: var(--muted); width: 18%; }
.compare .us { background: rgba(241,197,67,.28); }
.compare thead .us { background: var(--yellow); border-radius: 10px 10px 0 0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
.table-scroll .compare { min-width: 680px; }

/* ---------- 大 CTA ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; position: relative; }
.cta-band h2 { font-size: clamp(32px, 4.6vw, 58px); filter: url(#roughtext); }
.cta-band .lead { color: inherit; opacity: .9; margin: 20px 0 32px; }
.qr-card { color: var(--ink); border-radius: var(--radius); padding: 18px 18px 14px; text-align: center; width: 220px; position: relative; isolation: isolate; }
.qr-card::before { content: ""; position: absolute; inset: -6px; border-radius: 18px; background: var(--ink); filter: url(#rough); z-index: -1; }
.qr-card::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); background: var(--cream); z-index: -1; }
.qr-box { width: 184px; height: 184px; border-radius: 8px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.qr-box img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.qr-box .qr-ph { font-size: 13px; color: var(--muted); padding: 16px; line-height: 1.5; border: 2px dashed var(--line); border-radius: 6px; width: 88%; height: 88%; display: grid; place-items: center; }
.qr-card p { margin: 10px 0 0; font-size: 14px; font-weight: 700; }
.cta-band .deco { position: absolute; border-radius: 50%; filter: url(#rough); pointer-events: none; }
@media (max-width: 760px) {
  .cta-band .wrap { grid-template-columns: 1fr; }
  .qr-card { margin: 0 auto; }
}

/* ---------- 内页页头 ---------- */
.page-hero { padding: 64px 0 72px; position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(38px, 5.6vw, 72px); filter: url(#roughtext); }
.page-hero .rule { max-width: 520px; margin-bottom: 32px; }
.page-hero .lead { margin-top: 24px; }
.page-hero .deco { position: absolute; right: -80px; top: -60px; width: 360px; height: 360px; border-radius: 50%; filter: url(#rough); z-index: -1; }
.page-hero .deco-snake { position: absolute; right: 6%; bottom: 8px; width: 170px; }
.page-hero { isolation: isolate; }
@media (max-width: 760px) {
  .page-hero { padding: 40px 0 48px; }
  .page-hero .deco { width: 200px; height: 200px; right: -70px; top: -50px; }
  .page-hero .deco-snake { display: none; }
}

/* ---------- 案例详情 ---------- */
.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.breadcrumb a { text-decoration: none; border-bottom: 1.5px solid var(--line); }
.case-hero-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.case-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 4px solid var(--ink); border-bottom: 2px solid var(--line); margin-top: 48px; }
.case-facts div { padding: 18px 20px 18px 0; }
.case-facts dt { font-size: 13px; color: var(--muted); }
.case-facts dd { margin: 4px 0 0; font-weight: 700; }
.metric-band { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 20px; }
.metric { background: var(--paper); border-radius: var(--radius); padding: 28px 24px; border-top: 8px solid var(--blue); }
.metric:nth-child(2) { border-top-color: var(--yellow); }
.metric:nth-child(3) { border-top-color: var(--red); }
.metric:nth-child(4) { border-top-color: var(--pink); }
.metric b { display: block; font-family: var(--font-display); font-weight: 900; font-size: clamp(34px, 4vw, 52px); line-height: 1.1; }
.metric span { display: block; margin-top: 10px; color: var(--ink-2); font-size: 15px; }
.case-body { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; }
.case-toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; font-size: 15px; }
.case-toc ol { list-style: none; margin: 0; padding: 0; border-left: 3px solid var(--line); }
.case-toc a { display: block; padding: 6px 0 6px 16px; margin-left: -3px; border-left: 3px solid transparent; text-decoration: none; color: var(--muted); }
.case-toc a:hover, .case-toc a.active { color: var(--ink); border-left-color: var(--ink); font-weight: 700; }
.case-section { margin-bottom: 64px; max-width: 760px; }
.case-section h2 { font-size: 32px; margin-bottom: 20px; display: flex; align-items: baseline; gap: 14px; }
.case-section h2 .idx { font-family: var(--font-latin); font-size: 16px; color: var(--red); }
.case-section ul { padding-left: 1.2em; }
.case-section li { margin-bottom: .5em; }
.case-figure { margin: 28px 0; }
.case-figure .ph { aspect-ratio: 16 / 9; border-radius: var(--radius); background: repeating-linear-gradient(-45deg, #EAE1D1 0 14px, #E2D8C6 14px 28px); display: grid; place-items: center; color: var(--muted); font-size: 15px; text-align: center; padding: 20px; }
.case-figure img { border-radius: var(--radius); width: 100%; }
.case-figure figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
.quote { position: relative; padding: 48px 48px 40px; border-radius: var(--radius); background: var(--blue); color: #fff; }
.quote::before { content: "“"; position: absolute; left: 28px; top: -18px; font-family: var(--font-latin); font-size: 120px; line-height: 1; color: var(--yellow); }
.quote blockquote { margin: 0; font-family: var(--font-display); font-weight: 900; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.5; }
.quote figcaption { margin-top: 24px; font-size: 15px; opacity: .9; }
.next-case { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
@media (max-width: 960px) {
  .case-body { grid-template-columns: 1fr; gap: 0; }
  .case-toc { display: none; }
  .case-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-band { grid-template-columns: 1fr; }
  .quote { padding: 44px 24px 28px; }
}

/* ---------- 方案页：行业区块 ---------- */
.solution { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 56px; padding: 72px 0; border-top: 4px solid var(--ink); }
.solution:first-child { border-top: 0; padding-top: 0; }
.solution-side h2 { font-size: 40px; margin: 14px 0 12px; }
.solution-side p { color: var(--ink-2); font-size: 16px; }
.solution-side .snake { width: 150px; margin: 0 0 0 -16px; }
.scenarios { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.scenario { background: var(--paper); border-radius: var(--radius); padding: 24px; border: 2px solid transparent; }
.scenario h3 { font-size: 20px; margin-bottom: 8px; display: flex; gap: 10px; align-items: center; }
.scenario h3 i { width: 12px; height: 12px; border-radius: 50%; flex: none; filter: url(#rough); }
.scenario p { margin: 0; font-size: 15px; color: var(--ink-2); line-height: 1.7; }
.solution.is-soon .scenario { background: transparent; border: 2px dashed var(--line); }
@media (max-width: 960px) { .solution { grid-template-columns: 1fr; gap: 28px; padding: 56px 0; } }
@media (max-width: 600px) { .scenarios { grid-template-columns: 1fr; } }

/* ---------- 关于 ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.split h2 { font-size: clamp(30px, 3.8vw, 46px); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.person .photo { aspect-ratio: 4 / 5; border-radius: var(--radius); margin-bottom: 16px; display: grid; place-items: center; overflow: hidden; position: relative; }
.person .photo img { width: 100%; height: 100%; object-fit: cover; }
.person .photo svg { width: 64%; }
.person h3 { font-size: 22px; }
.person .role { font-size: 14px; color: var(--muted); font-weight: 600; margin: 2px 0 10px; }
.person p { font-size: 15px; color: var(--ink-2); margin: 0; }
@media (max-width: 860px) { .team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .team { grid-template-columns: 1fr; } .person .photo { aspect-ratio: 16 / 11; } }
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 4px solid var(--ink); }
.values div { padding: 28px 28px 28px 0; border-bottom: 2px solid var(--line); }
.values h3 { font-size: 22px; margin-bottom: 8px; }
.values p { margin: 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 640px) { .values { grid-template-columns: 1fr; } }
.jobs { display: grid; gap: 0; border-top: 3px solid var(--cream); }
.job { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; border-bottom: 2px solid rgba(243,236,223,.25); flex-wrap: wrap; }
.job h3 { font-size: 24px; }
.job span { opacity: .8; font-size: 15px; }

/* ---------- 联系 ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; border-top: 4px solid var(--ink); }
.contact-list li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-bottom: 2px solid var(--line); align-items: baseline; }
.contact-list .k { font-size: 14px; color: var(--muted); font-weight: 700; }
.contact-list .v { font-size: 20px; font-weight: 700; word-break: break-all; }
.contact-list a { text-decoration: none; border-bottom: 3px solid var(--yellow); }
.contact-wechat { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; background: var(--paper); border-radius: var(--radius); padding: 32px; }
.contact-wechat .qr-card { flex: none; }
.contact-wechat h2 { font-size: 30px; margin-bottom: 10px; }
.contact-wechat p { margin: 0; color: var(--ink-2); }
.faq details { border-bottom: 2px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-family: var(--font-display); font-weight: 900; font-size: 19px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-family: var(--font-latin); font-size: 28px; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); margin: 0 0 20px; max-width: 46em; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } .contact-list li { grid-template-columns: 72px minmax(0, 1fr); } .contact-list .v { font-size: 17px; } }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--ink); color: #D8CFBF; padding: 80px 0 32px; font-size: 15px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand img { height: 52px; width: auto; }
.footer-brand .slogan { font-family: var(--font-latin); color: var(--cream); letter-spacing: .14em; font-size: 15px; line-height: 1.6; margin: 24px 0 0; }
.site-footer h4 { font-family: var(--font-body); font-weight: 700; color: var(--cream); font-size: 14px; letter-spacing: .08em; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.footer-snakes { display: flex; gap: 8px; margin-top: 64px; align-items: flex-end; }
.footer-snakes svg { width: 90px; height: 81px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-top: 24px; padding-top: 24px; border-top: 1px solid #3B352C; font-size: 13px; color: #A39A8A; }
.footer-bottom .beian { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.footer-bottom .beian img { width: 16px; height: 16px; display: inline-block; vertical-align: -3px; margin-right: 4px; }
.site-footer .todo { color: var(--ink); background: var(--yellow); outline-color: var(--yellow); }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- 手机底部悬浮联系条 ---------- */
.mobile-dock { display: none; }
@media (max-width: 720px) {
  .mobile-dock {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
    padding: 8px; border-radius: 16px; background: var(--ink); box-shadow: 0 8px 24px rgba(28,26,23,.25);
    transition: transform .25s ease, opacity .25s;
  }
  .mobile-dock.hidden { transform: translateY(140%); opacity: 0; }
  .mobile-dock a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 16px; }
  .mobile-dock .call { color: var(--cream); border: 2px solid #4A443B; }
  .mobile-dock .wx { background: var(--yellow); color: var(--ink); }
  .site-footer { padding-bottom: 110px; }
}

/* ---------- 入场动画（尊重减少动态偏好） ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.in { opacity: 1; transform: none; }
  .scene .snake-on-top { animation: bob 3.2s ease-in-out infinite; }
  @keyframes bob { 50% { transform: translateY(-8px) rotate(-2deg); } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 96px 0 120px; }
.notfound .big { font-family: var(--font-latin); font-size: clamp(96px, 20vw, 220px); line-height: 1; color: var(--blue); filter: url(#roughtext); }
.notfound .snake { width: 200px; margin: 0 auto 8px; }
.notfound h1 { font-size: 36px; margin: 16px 0 12px; }
.notfound p { color: var(--ink-2); margin-bottom: 32px; }
