/* =========================================================
   深作装饰 SHEN ZUO DECORATION — 官网样式
   ========================================================= */

:root {
  --ink: #17140f;
  --ink-2: #211c16;
  --paper: #f6f2ea;
  --paper-2: #efe9dd;
  --white: #ffffff;
  --accent: #b08a4f;
  --accent-2: #c9a26a;
  --muted: #8a8074;
  --line: rgba(23, 20, 15, 0.12);
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --serif-en: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system, sans-serif;
  --shadow: 0 30px 60px -25px rgba(23, 20, 15, 0.45);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

::selection { background: var(--accent); color: #fff; }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-block;
  padding: 15px 34px;
  font-size: 15px;
  letter-spacing: 0.06em;
  border-radius: 40px;
  cursor: pointer;
  transition: transform 0.4s var(--ease), background 0.4s, color 0.4s, box-shadow 0.4s;
  border: 1px solid transparent;
}
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--accent); color: #fff; transform: translateY(-3px); box-shadow: 0 16px 30px -12px rgba(0,0,0,0.4); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-ghost:hover { background: #fff; color: var(--ink); transform: translateY(-3px); }
.btn-block { width: 100%; text-align: center; }
.btn-light.btn-block { background: var(--ink); color: #fff; }
.btn-light.btn-block:hover { background: var(--accent); }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease), padding 0.5s var(--ease);
  padding: 18px 0;
}
.nav.is-scrolled {
  background: rgba(246, 242, 234, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding: 12px 0;
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand { display: flex; align-items: center; }
.brand-logo { height: 46px; width: auto; }

.nav-links { display: flex; gap: 8px; margin-left: auto; }
.nav-link {
  position: relative;
  padding: 8px 16px;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: 0.04em;
  transition: color 0.3s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 2px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-link:hover, .nav-link.is-active { color: var(--accent); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 260;
}
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(14, 11, 8, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
  z-index: 240;
}
.nav-backdrop.is-show { opacity: 1; visibility: visible; }
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.3s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO（清晰磨砂手作质感：暖纸底 + 细腻颗粒 + 印章/水印）
   ========================================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ink);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* 暖色手作纸张基底 */
  background:
    radial-gradient(1100px 620px at 18% 12%, rgba(255, 252, 244, 0.9), transparent 60%),
    radial-gradient(900px 560px at 84% 86%, rgba(199, 178, 138, 0.34), transparent 62%),
    linear-gradient(168deg, #f5efe2 0%, #ecdfc6 52%, #e2d2b2 100%);
}
/* 磨砂颗粒（SVG 噪点，清晰不糊） */
.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.14;
  mix-blend-mode: multiply;
}
/* 手作纸纤维纹（细密横竖织线） */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.5) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(120, 92, 52, 0.05) 0 1px, transparent 1px 5px);
  mix-blend-mode: multiply;
  opacity: 0.5;
}
/* 大字水印（左上角「深」） */
.hero-glyph {
  position: absolute;
  left: -2%;
  top: 5%;
  font-family: var(--serif);
  font-size: clamp(220px, 32vw, 460px);
  line-height: 1;
  color: rgba(23, 20, 15, 0.045);
  user-select: none;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; padding: 0 24px; }
.hero-en {
  font-family: var(--serif-en);
  font-size: clamp(15px, 2vw, 20px);
  letter-spacing: 0.5em;
  text-transform: uppercase;
  margin-bottom: 22px;
  color: var(--accent);
  font-weight: 600;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(56px, 11vw, 128px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.1;
}
.hero-title-gap { display: inline-block; width: 0.35em; }
.hero-sub {
  position: relative;
  font-family: var(--serif);
  font-size: clamp(20px, 3.4vw, 34px);
  letter-spacing: 0.22em;
  margin-top: 18px;
  padding-bottom: 22px;
}
/* 手绘笔触下划线 */
.hero-sub::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: clamp(170px, 24vw, 260px);
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 18' preserveAspectRatio='none'%3E%3Cpath d='M6,11 C70,5 140,15 210,9 S286,7 295,10' fill='none' stroke='%23b08a4f' stroke-width='5' stroke-linecap='round' opacity='0.65'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.hero-tag {
  font-size: clamp(13px, 1.8vw, 16px);
  letter-spacing: 0.08em;
  margin-top: 16px;
  color: rgba(23, 20, 15, 0.72);
}
.hero-actions { margin-top: 42px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero .btn-light { background: var(--ink); color: #fff; }
.hero .btn-light:hover { background: var(--accent); }
.hero .btn-ghost { color: var(--ink); border-color: rgba(23, 20, 15, 0.45); }
.hero .btn-ghost:hover { background: var(--ink); color: #fff; }

.scroll-hint {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  opacity: 0.7;
}
.scroll-hint-line {
  width: 1px; height: 46px;
  background: var(--ink);
  overflow: hidden;
  position: relative;
}
.scroll-hint-line::after {
  content: "";
  position: absolute;
  left: 0; top: -50%;
  width: 100%; height: 50%;
  background: var(--accent-2);
  animation: scrollLine 2s var(--ease) infinite;
}
@keyframes scrollLine { to { top: 100%; } }
.scroll-hint-text {
  font-family: var(--serif-en);
  font-size: 10px;
  letter-spacing: 0.4em;
}

/* =========================================================
   通用区块
   ========================================================= */
section { position: relative; }

.kicker {
  font-family: var(--serif-en);
  font-size: 14px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
}
.section-head { max-width: 1280px; margin: 0 auto; padding: 110px 32px 0; }
.section-title {
  font-family: var(--serif);
  font-size: clamp(34px, 5.6vw, 58px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.04em;
  margin-top: 16px;
}
.section-sub {
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
}

/* =========================================================
   ABOUT
   ========================================================= */
.about { padding-bottom: 120px; }
.about-story {
  max-width: 1280px;
  margin: 110px auto 0;
  padding: 76px 64px 66px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}
.story-seal {
  position: absolute;
  top: 34px; right: 40px;
  width: 66px; height: 66px;
  border: 3px solid rgba(169, 72, 52, 0.72);
  border-radius: 6px;
  color: rgba(169, 72, 52, 0.82);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(6deg);
  user-select: none;
  pointer-events: none;
}
.about-story .section-title { margin-top: 14px; }
.about-text {
  margin-top: 30px;
  max-width: 860px;
  font-family: var(--serif);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.95;
  color: var(--ink-2);
}
.about-text p { margin-bottom: 14px; }
.about-text strong { color: var(--accent); font-weight: 700; }

.about-slogan {
  margin-top: 52px;
  padding-top: 46px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.slogan-en {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.slogan-main {
  margin-top: 16px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(28px, 4.6vw, 48px);
  letter-spacing: 0.1em;
  line-height: 1.4;
  position: relative;
  display: inline-block;
  padding-bottom: 20px;
}
.slogan-main::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 78%;
  height: 11px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 18' preserveAspectRatio='none'%3E%3Cpath d='M6,11 C70,5 140,15 210,9 S286,7 295,10' fill='none' stroke='%23b08a4f' stroke-width='5' stroke-linecap='round' opacity='0.6'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.slogan-dot { margin: 0 0.35em; color: var(--accent); }
.slogan-note {
  margin-top: 24px;
  font-family: var(--serif);
  font-size: clamp(14px, 1.7vw, 17px);
  line-height: 2.1;
  color: var(--muted);
}
.slogan-note strong { color: var(--ink); font-weight: 700; }

.stats {
  max-width: 1280px;
  margin: 80px auto 0;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat {
  text-align: center;
  padding: 34px 12px;
  border-top: 1px solid var(--line);
}
.stat-num {
  font-family: var(--serif-en);
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}
.stat-plus { color: var(--accent); font-size: 0.6em; }
.stat-label { margin-top: 10px; color: var(--muted); font-size: 14px; letter-spacing: 0.06em; }

.services {
  max-width: 1280px;
  margin: 90px auto 0;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--white);
}
.service {
  padding: 46px 40px;
  position: relative;
  transition: background 0.5s var(--ease), transform 0.5s var(--ease);
  border-right: 1px solid var(--line);
}
.service:last-child { border-right: none; }
.service:hover { background: var(--ink); }
.service-index {
  font-family: var(--serif-en);
  font-size: 15px;
  color: var(--accent);
  letter-spacing: 0.2em;
}
.service-title {
  font-family: var(--serif);
  font-size: 30px;
  margin-top: 18px;
  transition: color 0.5s;
}
.service-en {
  font-family: var(--serif-en);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
  transition: color 0.5s;
}
.service-desc {
  margin-top: 22px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.9;
  transition: color 0.5s;
}
.service:hover .service-title { color: #fff; }
.service:hover .service-en { color: var(--accent-2); }
.service:hover .service-desc { color: rgba(255,255,255,0.72); }

.business {
  max-width: 1280px;
  margin: 90px auto 0;
  padding: 0 32px;
  text-align: center;
}
.business-label { color: var(--muted); letter-spacing: 0.1em; font-size: 14px; }
.business-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}
.business-tags span {
  padding: 12px 24px;
  border: 1px solid var(--line);
  border-radius: 40px;
  font-size: 15px;
  letter-spacing: 0.04em;
  background: var(--white);
  transition: all 0.4s var(--ease);
}
.business-tags span:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-4px); }

/* =========================================================
   CASES
   ========================================================= */
.cases { padding-bottom: 130px; }
.cases .section-head { text-align: center; }
.case-grid {
  max-width: 1280px;
  margin: 64px auto 0;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.case-card {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: var(--ink);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.case-card:hover { transform: translateY(-10px); box-shadow: 0 44px 80px -30px rgba(23,20,15,0.6); }
.case-card-media { position: absolute; inset: 0; overflow: hidden; }
.case-card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.case-card:hover .case-card-media img { transform: scale(1.08); }
.case-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,16,11,0.05) 30%, rgba(20,16,11,0.85) 100%);
}
.case-card-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px;
  color: #fff;
  z-index: 2;
}
.case-card-index {
  font-family: var(--serif-en);
  font-size: 13px;
  letter-spacing: 0.28em;
  color: var(--accent-2);
}
.case-card-name {
  font-family: var(--serif);
  font-size: 26px;
  margin-top: 8px;
  line-height: 1.35;
}
.case-card-brand {
  font-size: 13px;
  letter-spacing: 0.06em;
  margin-top: 6px;
  opacity: 0.75;
}
.case-card-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--accent-2);
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.45s var(--ease);
}
.case-card:hover .case-card-more { opacity: 1; transform: translateY(0); }
.case-card-more .arrow { transition: transform 0.35s var(--ease); }
.case-card:hover .case-card-more .arrow { transform: translateX(4px); }

/* =========================================================
   CASE VIEWER
   ========================================================= */
.viewer {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}
.viewer.is-open { visibility: visible; opacity: 1; }
.viewer-backdrop {
  position: absolute; inset: 0;
  background: rgba(14, 11, 8, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.viewer-panel {
  position: relative;
  width: min(1180px, 100%);
  height: 92vh;
  max-height: 860px;
  background: var(--paper);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(30px) scale(0.98);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
  box-shadow: 0 60px 120px -30px rgba(0,0,0,0.7);
}
.viewer.is-open .viewer-panel { transform: none; opacity: 1; }

.viewer-close {
  position: absolute;
  top: 16px; right: 18px;
  z-index: 6;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(23,20,15,0.5);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}
.viewer-close:hover { background: var(--accent); color: #fff; transform: rotate(90deg); }

.viewer-progress {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(23,20,15,0.08);
  z-index: 6;
}
.viewer-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 0.6s var(--ease);
}

.viewer-body {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  height: 100%;
  min-height: 0;
  flex: 1;
  overflow: hidden;
}

/* media */
.viewer-media {
  position: relative;
  background: var(--ink-2);
  overflow: hidden;
  min-height: 0;
  height: 100%;
}
.viewer-media-stage { position: absolute; inset: 0; }
.viewer-media-stage .vm {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transform: scale(1.04);
}
.viewer-media-stage .vm.is-active { opacity: 1; transform: scale(1); }
.viewer-media-stage img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* content */
.viewer-content {
  padding: 58px 44px 36px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}
.viewer-head { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.viewer-brand {
  font-family: var(--serif-en);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}
.viewer-title { font-family: var(--serif); font-size: 30px; margin-top: 8px; line-height: 1.35; }

.viewer-step { flex: 1; padding-top: 26px; }
.viewer-step-kicker {
  font-family: var(--serif-en);
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
}
.viewer-step-title { font-family: var(--serif); font-size: 24px; margin-top: 10px; line-height: 1.45; }
.viewer-step-text { margin-top: 16px; font-size: 15.5px; color: var(--ink-2); line-height: 2; }
.viewer-step-text p { margin-bottom: 12px; }

.viewer-legend { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.legend-chip {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--white);
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  user-select: none;
}
.legend-chip:hover { border-color: var(--accent); color: var(--accent); }
.legend-chip.is-active { background: var(--accent); color: #fff; border-color: var(--accent); }
.legend-detail {
  width: 100%;
  margin-top: 4px;
  padding: 16px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: 12px;
  font-size: 14.5px;
  line-height: 1.9;
  animation: legendIn 0.4s var(--ease);
}
.legend-detail b { color: var(--accent-2); font-weight: 500; }
@keyframes legendIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes stepIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* controls */
.viewer-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.viewer-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 11px 20px;
  font-size: 14px;
  cursor: pointer;
  color: var(--ink);
  transition: all 0.35s var(--ease);
}
.viewer-btn:hover:not(:disabled) { background: var(--ink); color: #fff; border-color: var(--ink); }
.viewer-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.viewer-btn-next { background: var(--ink); color: #fff; border-color: var(--ink); }
.viewer-btn-next:hover:not(:disabled) { background: var(--accent); border-color: var(--accent); }

.viewer-dots { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.viewer-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(23,20,15,0.2);
  cursor: pointer;
  padding: 0;
  transition: all 0.35s var(--ease);
}
.viewer-dot.is-active { background: var(--accent); transform: scale(1.35); }

.viewer-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
}
.viewer-autoplay {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: none;
  border: none;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  color: var(--ink);
  cursor: pointer;
  padding: 6px 0;
}
.play-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  transition: transform 0.3s var(--ease);
}
.viewer-autoplay.is-playing .play-ico { background: var(--ink); }
.viewer-autoplay.is-playing .autoplay-label::after { content: "中 · 点击暂停"; }
.viewer-autoplay:not(.is-playing) .autoplay-label::after { content: " · 分步讲解"; }
.viewer-counter {
  font-family: var(--serif-en);
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--muted);
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
  background: var(--ink);
  color: #fff;
  padding: 110px 0;
}
.contact-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}
.contact .section-title { color: #fff; }
.contact .kicker { color: var(--accent-2); }
.contact-intro { margin-top: 24px; color: rgba(255,255,255,0.72); font-size: 16px; }
.contact-list { margin-top: 40px; display: flex; flex-direction: column; }
.contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.14);
  transition: all 0.3s;
}
.contact-item:last-child { border-bottom: 1px solid rgba(255,255,255,0.14); }
.contact-item-label { font-size: 12px; letter-spacing: 0.2em; color: var(--accent-2); }
.contact-item-value { font-size: 22px; font-family: var(--serif); }
a.contact-item:hover .contact-item-value { color: var(--accent-2); }
.contact-actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.contact-actions .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.4); }

.contact-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field span { font-size: 13px; letter-spacing: 0.08em; color: rgba(255,255,255,0.7); }
/* 蜜罐字段：对真人隐藏，用于拦截机器人 */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.field input, .field select, .field textarea {  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 10px;
  padding: 13px 15px;
  color: #fff;
  font-family: var(--sans);
  font-size: 15px;
  transition: border 0.3s, background 0.3s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,0.1);
}
.field select option { color: var(--ink); }
.field textarea { resize: vertical; }
.form-hint { font-size: 12px; color: rgba(255,255,255,0.45); text-align: center; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--ink); color: #fff; border-top: 1px solid rgba(255,255,255,0.1); padding: 60px 0 40px; }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 0 32px; text-align: center; }
.footer-logo { height: 28px; margin: 0 auto; }
.footer-tag { margin-top: 16px; font-size: 13px; letter-spacing: 0.1em; color: rgba(255,255,255,0.6); }
.footer-nav { margin-top: 26px; display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; }
.footer-nav a { font-size: 14px; color: rgba(255,255,255,0.75); transition: color 0.3s; }
.footer-nav a:hover { color: var(--accent-2); }
.footer-copy { margin-top: 30px; font-size: 12px; color: rgba(255,255,255,0.4); letter-spacing: 0.06em; }

/* =========================================================
   TOAST
   ========================================================= */
.toast {
  position: fixed;
  left: 50%; bottom: 40px;
  transform: translateX(-50%) translateY(80px);
  background: var(--ink);
  color: #fff;
  padding: 14px 26px;
  border-radius: 40px;
  font-size: 14px;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow);
  opacity: 0;
  transition: all 0.45s var(--ease);
  z-index: 400;
  pointer-events: none;
}
.toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* =========================================================
   REVEAL 动画（仅在 JS 可用时隐藏，保证无 JS 也可读）
   ========================================================= */
html.js .reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
html.js .reveal.is-visible { opacity: 1; transform: none; }
.hero .reveal { transition-delay: 0.15s; }
.hero .reveal:nth-child(2) { transition-delay: 0.28s; }
.hero .reveal:nth-child(3) { transition-delay: 0.42s; }
.hero .reveal:nth-child(4) { transition-delay: 0.56s; }
.hero .reveal:nth-child(5) { transition-delay: 0.7s; }

/* =========================================================
   响应式
   ========================================================= */
@media (max-width: 1024px) {
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .viewer-body { grid-template-columns: 1fr; grid-template-rows: 46% 54%; }
  .viewer-content { padding: 26px 30px 28px; }
}

@media (max-width: 820px) {
  .hero-glyph { top: 3%; }
  .brand-logo { height: 40px; }
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 340px);
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 40px 36px;
    background: var(--paper);
    box-shadow: -20px 0 60px rgba(0,0,0,0.2);
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
    z-index: 250;
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-link { font-size: 20px; padding: 12px 0; }
  .nav-toggle { display: flex; margin-left: auto; z-index: 260; }
  .services { grid-template-columns: 1fr; margin-top: 56px; }
  /* 移动端压缩“三大服务”模块，快速进入案例区 */
  .service { padding: 18px 24px; border-right: none; border-bottom: 1px solid var(--line); }
  .service:last-child { border-bottom: none; }
  .service-index { font-size: 12px; }
  .service-title { font-size: 21px; margin-top: 2px; }
  .service-en { font-size: 10px; letter-spacing: 0.14em; margin-top: 0; }
  .service-desc { margin-top: 6px; font-size: 12.5px; line-height: 1.7; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 56px; }
  .business { margin-top: 56px; }
  .contact-inner { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 600px) {
  .case-grid { grid-template-columns: 1fr; }
  .section-head { padding: 80px 22px 0; }
  .about-story { margin: 80px 22px 0; padding: 46px 24px 42px; }
  .story-seal { top: 22px; right: 22px; width: 52px; height: 52px; font-size: 16px; }
  .stats { padding: 0 22px; gap: 12px; }
  .services, .business, .case-grid, .contact-inner, .footer-inner { padding-left: 22px; padding-right: 22px; }
  .viewer { padding: 0; }
  .viewer-panel { max-height: none; height: 100vh; border-radius: 0; }
  .viewer-body { grid-template-rows: 36% 64%; }
  .viewer-content { padding: 22px 22px 26px; }
  .viewer-title { font-size: 24px; }
  .viewer-step-title { font-size: 20px; }
  .viewer-btn-label { display: none; }
  .viewer-btn { padding: 12px 16px; }
  .hero-actions .btn { padding: 13px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  html.js .reveal { opacity: 1; transform: none; }
}
