/* ============================================================
   玄兔科技官网 — 设计系统（暖黑 · 象牙白 · 品牌橙 · 细金线 · 衬线标题）
   参考：杨艺源商城方案 C（深咖黑 / 象牙白 / 香槟金 / 大留白 / 细金线 / 衬线标题）
   PC 端适配：1280 容器、区头编号、角框、金线分隔、bento 卡片
   ============================================================ */

:root {
  /* 暖黑 */
  --noir: #141210;
  --noir-2: #1D1A17;
  --noir-3: #0B0A09;
  /* 象牙白 */
  --ivory: #F5F1EA;
  --ivory-2: #ECE6DA;
  --ivory-3: #DDD4C3;
  /* 墨色文字 */
  --ink: #1A1614;
  --ink-2: #4F4841;
  --muted: #877D71;
  /* 品牌橙（取自玄兔 logo） */
  --amber: #FF8D00;
  --amber-2: #FFA733;
  --amber-3: #D97600;
  /* 香槟金（细线 / 编号 / 数字） */
  --gold: #C9A86A;
  --gold-2: #E2CC9C;
  --gold-3: #A88A4C;

  --font-serif: 'Noto Serif SC', 'Source Han Serif SC', 'Songti SC', 'SimSun', serif;
  --font-sans: 'Noto Sans SC', 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-en: 'Inter', 'Noto Sans SC', -apple-system, sans-serif;

  --container: 1280px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

::selection { background: rgba(255, 141, 0, 0.25); color: var(--ink); }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ------------------------------------------------------------
   容器 / 区块
   ------------------------------------------------------------ */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .container { padding: 0 20px; } }

.section { padding: 120px 0; }
.section-sm { padding: 80px 0; }
@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .section-sm { padding: 56px 0; }
}

.bg-ivory { background: var(--ivory); }
.bg-ivory-2 { background: var(--ivory-2); }
.bg-noir { background: var(--noir); color: var(--ivory); }
.bg-noir-2 { background: var(--noir-2); color: var(--ivory); }
.bg-white { background: #fff; }

/* 金线分隔 */
.rule-gold { height: 1px; background: linear-gradient(90deg, transparent, rgba(201, 168, 106, 0.55), transparent); }
.rule-ink { height: 1px; background: var(--ivory-3); }

/* ------------------------------------------------------------
   字体层级
   ------------------------------------------------------------ */
.serif { font-family: var(--font-serif); }
.en { font-family: var(--font-en); }

.kicker {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-3);
  font-weight: 500;
}
.bg-noir .kicker, .bg-noir-2 .kicker, .on-dark .kicker { color: var(--gold-2); }

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5.6vw, 5rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.06em;
}

.display-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.04em;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.bg-noir .section-title, .bg-noir-2 .section-title, .on-dark .section-title { color: var(--ivory); }

.section-subtitle {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 640px;
  letter-spacing: 0.02em;
}
.bg-noir .section-subtitle, .bg-noir-2 .section-subtitle, .on-dark .section-subtitle { color: rgba(245, 241, 234, 0.6); }

.lead { font-size: 19px; line-height: 1.85; color: var(--ink-2); letter-spacing: 0.01em; }
.bg-noir .lead, .bg-noir-2 .lead { color: rgba(245, 241, 234, 0.78); }

.text-muted { color: var(--muted); }
.text-gold { color: var(--gold-3); }
.text-amber { color: var(--amber); }

/* ------------------------------------------------------------
   区头（编号 + 中文衬线标题 + 英文 + 金色短线 + 右侧更多）
   ------------------------------------------------------------ */
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 64px;
  position: relative;
}
.sec-head .num {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--gold-3);
  font-weight: 600;
  margin-bottom: 14px;
}
.sec-head .title-row { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.sec-head .en-label {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--muted);
  text-transform: uppercase;
}
.sec-head .rule { width: 48px; height: 2px; background: var(--amber); margin-top: 22px; }
.sec-head .more {
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 6px;
  white-space: nowrap;
  transition: color 200ms var(--ease);
}
.sec-head .more::after { content: '›'; font-size: 22px; line-height: 1; color: var(--gold-3); margin-top: -3px; }
.sec-head .more:hover { color: var(--amber); }
.bg-noir .sec-head .more, .bg-noir-2 .sec-head .more { color: rgba(245, 241, 234, 0.7); }
.bg-noir .sec-head .more:hover, .bg-noir-2 .sec-head .more:hover { color: var(--amber-2); }
.bg-noir .sec-head .en-label, .bg-noir-2 .sec-head .en-label { color: rgba(245, 241, 234, 0.45); }
.sec-head.center { flex-direction: column; align-items: center; text-align: center; }
.sec-head.center .title-row { justify-content: center; }
.sec-head.center .rule { margin-left: auto; margin-right: auto; }
@media (max-width: 768px) {
  .sec-head { flex-direction: column; align-items: flex-start; margin-bottom: 40px; }
  .sec-head.center { align-items: center; }
}

/* ------------------------------------------------------------
   角框（方案 C 首屏 / 尾部的细金线内框）
   ------------------------------------------------------------ */
.frame {
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(201, 168, 106, 0.32);
  pointer-events: none;
}
.frame::before, .frame::after {
  content: '';
  position: absolute;
  width: 28px;
  height: 28px;
  border: 1px solid var(--gold);
}
.frame::before { left: -1px; top: -1px; border-right: 0; border-bottom: 0; }
.frame::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }
@media (max-width: 768px) { .frame { inset: 14px; } }

.frame-box {
  position: relative;
  border: 1px solid rgba(201, 168, 106, 0.35);
}
.frame-box::before, .frame-box::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  border: 1px solid var(--gold);
}
.frame-box::before { left: -1px; top: -1px; border-right: 0; border-bottom: 0; }
.frame-box::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }

/* ------------------------------------------------------------
   导航
   ------------------------------------------------------------ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 300ms var(--ease), border-color 300ms var(--ease), box-shadow 300ms var(--ease);
  border-bottom: 1px solid transparent;
}
#site-header .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
#site-header .logo img { height: 44px; width: auto; }
#site-header .logo .logo-light { display: none; }
#site-header .logo .logo-dark { display: block; }

#site-header .nav-links { display: flex; align-items: center; gap: 40px; }
#site-header .nav-link {
  font-size: 14px;
  letter-spacing: 0.14em;
  position: relative;
  padding: 6px 0;
  transition: color 200ms var(--ease);
}
#site-header .nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms var(--ease);
}
#site-header .nav-link:hover::after, #site-header .nav-link.active::after { transform: scaleX(1); }

/* 联系我们：实心品牌橙按钮。此前为 1px 金色描边框，视觉上像"当前选中项"或输入框，
   与"首页"的下划线当前态冲突，容易让用户误以为处在联系页面，故改为实心按钮明确其行动属性 */
#site-header .nav-cta {
  font-size: 13px;
  letter-spacing: 0.16em;
  padding: 10px 24px;
  background: var(--amber);
  color: #fff;
  border: 1px solid var(--amber);
  transition: background 200ms var(--ease), border-color 200ms var(--ease), box-shadow 200ms var(--ease), transform 200ms var(--ease);
}
#site-header .nav-cta:hover { background: var(--amber-3); border-color: var(--amber-3); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(255, 141, 0, 0.28); }

/* 深色导航（覆盖在暗色首屏之上） */
#site-header.nav-dark { background: transparent; color: var(--ivory); }
#site-header.nav-dark .logo .logo-light { display: block; }
#site-header.nav-dark .logo .logo-dark { display: none; }

/* 亮色导航（滚动后 / 浅色页面） */
#site-header.nav-light {
  background: rgba(245, 241, 234, 0.86);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  color: var(--ink);
  border-bottom-color: rgba(26, 22, 20, 0.06);
}

/* 移动端菜单 */
.mobile-menu-btn { display: none; background: none; border: 0; color: inherit; cursor: pointer; width: 44px; height: 44px; align-items: center; justify-content: center; margin-right: -10px; }
.mobile-menu-icon { transition: opacity 200ms ease, transform 200ms ease; }
.mobile-menu-icon--close { opacity: 0; transform: scale(0.88) rotate(90deg); pointer-events: none; }
#site-header.mobile-menu-is-open .mobile-menu-icon--hamburger { opacity: 0; transform: scale(0.88); }
#site-header.mobile-menu-is-open .mobile-menu-icon--close { opacity: 1; transform: scale(1) rotate(0); }

.mobile-menu-dropdown { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 300ms var(--ease); }
#site-header.mobile-menu-is-open .mobile-menu-dropdown { grid-template-rows: 1fr; }
.mobile-menu-dropdown__inner { min-height: 0; overflow: hidden; }
.mobile-menu-dropdown__panel { padding: 8px 32px 28px; border-top: 1px solid rgba(201, 168, 106, 0.25); }
.mobile-menu-link { display: block; padding: 14px 0; font-size: 16px; letter-spacing: 0.12em; border-bottom: 1px solid rgba(128, 128, 128, 0.15); }
.mobile-menu-link:last-child { border-bottom: 0; }
#site-header.mobile-menu-is-open.nav-dark { background: rgba(20, 18, 16, 0.96); backdrop-filter: blur(18px); }
body.mobile-menu-scroll-lock { overflow: hidden; }

@media (max-width: 900px) {
  #site-header .nav-links { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  #site-header .nav-inner { height: 64px; }
  #site-header .logo img { height: 36px; }
}
@media (min-width: 901px) { .mobile-menu-dropdown { display: none; } }

/* ------------------------------------------------------------
   按钮
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 34px;
  font-size: 14px;
  letter-spacing: 0.18em;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 220ms var(--ease);
  white-space: nowrap;
}
.btn-amber { background: var(--amber); color: #fff; border-color: var(--amber); }
.btn-amber:hover { background: var(--amber-3); border-color: var(--amber-3); transform: translateY(-1px); box-shadow: 0 10px 30px rgba(255, 141, 0, 0.28); }
.btn-ink { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.btn-ink:hover { background: var(--noir-3); transform: translateY(-1px); }
.btn-outline-gold { background: transparent; color: var(--gold-2); border-color: rgba(201, 168, 106, 0.7); }
.btn-outline-gold:hover { background: rgba(201, 168, 106, 0.12); border-color: var(--gold-2); color: #fff; }
.btn-outline-ink { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline-ink:hover { background: var(--ink); color: var(--ivory); }
.btn-outline-ivory { background: transparent; color: var(--ivory); border-color: rgba(245, 241, 234, 0.4); }
.btn-outline-ivory:hover { border-color: var(--ivory); background: rgba(245, 241, 234, 0.08); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--amber);
  transition: gap 200ms var(--ease), color 200ms var(--ease);
}
.link-arrow::after { content: '→'; font-family: var(--font-en); transition: transform 200ms var(--ease); }
.link-arrow:hover { gap: 12px; color: var(--amber-3); }
.link-arrow.gold { color: var(--gold-2); }
.link-arrow.gold:hover { color: #fff; }

/* ------------------------------------------------------------
   卡片
   ------------------------------------------------------------ */
.card {
  background: #fff;
  border: 1px solid var(--ivory-3);
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease), border-color 260ms var(--ease);
  position: relative;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(26, 22, 20, 0.09);
  border-color: rgba(201, 168, 106, 0.6);
}
.card-dark {
  background: var(--noir-2);
  border: 1px solid rgba(201, 168, 106, 0.18);
  color: var(--ivory);
  transition: transform 260ms var(--ease), border-color 260ms var(--ease), box-shadow 260ms var(--ease);
}
.card-dark:hover { transform: translateY(-4px); border-color: rgba(201, 168, 106, 0.55); box-shadow: 0 28px 60px rgba(0, 0, 0, 0.4); }

/* 服务卡（bento） */
.svc-card { padding: 40px 36px; min-height: 280px; display: flex; flex-direction: column; }
.svc-card .svc-num { font-family: var(--font-en); font-size: 12px; letter-spacing: 0.3em; color: var(--gold-3); }
.svc-card .svc-icon { width: 44px; height: 44px; color: var(--ink); margin: 36px 0 22px; transition: color 200ms var(--ease); }
.svc-card p { margin-top: auto; }
.svc-card .svc-icon svg { width: 100%; height: 100%; }
.svc-card h3 { font-family: var(--font-serif); font-size: 22px; font-weight: 700; letter-spacing: 0.06em; color: var(--ink); margin-bottom: 12px; }
.svc-card p { font-size: 14px; color: var(--muted); line-height: 1.8; }
.svc-card::after { content: ''; position: absolute; left: 36px; right: 36px; bottom: 0; height: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform 300ms var(--ease); }
.svc-card:hover::after { transform: scaleX(1); }
.svc-card:hover .svc-icon { color: var(--amber); }
.svc-card.featured { background: var(--noir); border-color: var(--noir); color: var(--ivory); }
.svc-card.featured h3 { color: var(--ivory); }
.svc-card.featured p { color: rgba(245, 241, 234, 0.6); }
.svc-card.featured .svc-icon { color: var(--gold-2); }
.svc-card.featured .svc-num { color: var(--gold-2); }

/* 案例卡 */
.case-card { display: block; overflow: hidden; }
.case-cover {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.case-cover .glow { position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; filter: blur(60px); opacity: 0.55; }
.case-cover .icon-badge {
  position: relative;
  width: 84px; height: 84px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  backdrop-filter: blur(4px);
  transition: transform 400ms var(--ease);
}
.case-cover .icon-badge svg { width: 38px; height: 38px; }
.case-card:hover .icon-badge { transform: scale(1.06); }
.case-cover .cover-tag { position: absolute; left: 24px; top: 22px; font-family: var(--font-en); font-size: 11px; letter-spacing: 0.3em; color: rgba(255, 255, 255, 0.75); text-transform: uppercase; }
.case-cover .cover-lines { position: absolute; inset: 20px; border: 1px solid rgba(255, 255, 255, 0.12); pointer-events: none; }
/* 封面实拍图 */
.case-cover.has-img picture, .case-cover.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.case-cover.has-img img { object-fit: cover; display: block; transition: transform 700ms var(--ease); }
.case-cover.has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0) 40%); pointer-events: none; }
.case-cover.has-img .cover-tag, .case-cover.has-img .cover-lines { z-index: 1; }
.case-card:hover .case-cover.has-img img { transform: scale(1.04); }
.case-body { padding: 28px 30px 32px; }
.case-body .cat { font-size: 12px; letter-spacing: 0.24em; color: var(--gold-3); margin-bottom: 8px; }
.case-body h3 { font-family: var(--font-serif); font-size: 21px; font-weight: 700; letter-spacing: 0.04em; margin-bottom: 10px; transition: color 200ms var(--ease); }
.case-card:hover .case-body h3 { color: var(--amber); }
.case-body p { font-size: 14px; color: var(--muted); line-height: 1.8; }
.card-dark .case-body .cat { color: var(--gold-2); }
.card-dark .case-body h3 { color: var(--ivory); }
.card-dark .case-body p { color: rgba(245, 241, 234, 0.55); }

/* 封面色调 */
.tone-game { background: linear-gradient(135deg, #2A1A3E 0%, #14101C 100%); }
.tone-game .glow { background: #7C4DFF; }
.tone-tourism { background: linear-gradient(135deg, #123A2F 0%, #0C1A15 100%); }
.tone-tourism .glow { background: #2ECC8A; }
.tone-inspection { background: linear-gradient(135deg, #0F3140 0%, #0A1A22 100%); }
.tone-inspection .glow { background: #22B8D8; }
.tone-fintech { background: linear-gradient(135deg, #3A2A0E 0%, #1C1508 100%); }
.tone-fintech .glow { background: #E0A63A; }
.tone-ecommerce { background: linear-gradient(135deg, #14304A 0%, #0B1620 100%); }
.tone-ecommerce .glow { background: #3E8FE0; }
.tone-local { background: linear-gradient(135deg, #4A2410 0%, #1F120A 100%); }
.tone-local .glow { background: #FF8D00; }
.tone-ai { background: linear-gradient(135deg, #2D1E4A 0%, #130E20 100%); }
.tone-ai .glow { background: #A66CFF; }
.tone-saas { background: linear-gradient(135deg, #25282E 0%, #111214 100%); }
.tone-saas .glow { background: #9AA5B8; }
.tone-rural { background: linear-gradient(135deg, #1E3A1C 0%, #0F1A0E 100%); }
.tone-rural .glow { background: #6CC24A; }
.tone-cross { background: linear-gradient(135deg, #1A2450 0%, #0D1128 100%); }
.tone-cross .glow { background: #5A6CFF; }
.tone-aicx { background: linear-gradient(135deg, #0F3A3A 0%, #091A1A 100%); }
.tone-aicx .glow { background: #2ED0C0; }

/* ------------------------------------------------------------
   首屏
   ------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--noir-3);
  color: var(--ivory);
}
.hero .hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.6) brightness(0.85);
  transform: scale(1.04);
  animation: hero-zoom 18s ease-out forwards;
}
@keyframes hero-zoom { from { transform: scale(1.1); } to { transform: scale(1.0); } }
.hero .hero-mask {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 10, 9, 0.55) 0%, rgba(11, 10, 9, 0.35) 40%, rgba(11, 10, 9, 0.85) 80%, rgba(20, 18, 16, 1) 100%),
    linear-gradient(90deg, rgba(11, 10, 9, 0.6) 0%, rgba(11, 10, 9, 0.1) 60%);
}
.hero .hero-glow {
  position: absolute; right: -10%; top: 10%;
  width: 60vw; height: 60vw; max-width: 900px; max-height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 141, 0, 0.16) 0%, rgba(255, 141, 0, 0) 60%);
  pointer-events: none;
}
.hero .hero-ring {
  position: absolute; right: 6%; top: 50%; transform: translateY(-50%);
  width: 520px; height: 520px; border-radius: 50%;
  border: 1px solid rgba(201, 168, 106, 0.22);
  pointer-events: none;
}
.hero .hero-ring::before { content: ''; position: absolute; inset: 60px; border-radius: 50%; border: 1px solid rgba(201, 168, 106, 0.14); }
.hero .hero-ring::after { content: ''; position: absolute; inset: 140px; border-radius: 50%; border: 1px solid rgba(201, 168, 106, 0.1); }
.hero .hero-ring .dot { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); left: 50%; top: -3px; margin-left: -3px; box-shadow: 0 0 18px rgba(255, 141, 0, 0.8); }
.hero .hero-ring .orbit { position: absolute; inset: 0; animation: orbit 24s linear infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }
@media (max-width: 1100px) { .hero .hero-ring { display: none; } }

.hero .hero-content { position: relative; z-index: 2; padding: 160px 0 120px; max-width: 860px; }
.hero .hero-kicker { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.hero .hero-kicker .line { width: 48px; height: 1px; background: var(--gold); }
.hero .hero-sub { font-size: 18px; color: rgba(245, 241, 234, 0.72); letter-spacing: 0.06em; margin-top: 28px; max-width: 620px; line-height: 1.9; }
.hero .hero-tags { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; }
.hero .hero-tags span { font-size: 13px; letter-spacing: 0.14em; color: rgba(245, 241, 234, 0.55); display: inline-flex; align-items: center; gap: 8px; }
.hero .hero-tags span::before { content: ''; width: 4px; height: 4px; background: var(--gold); border-radius: 50%; }
.hero .hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 44px; }
.hero .hero-scroll { position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 2; }
.hero .hero-scroll .bar { width: 1px; height: 56px; background: linear-gradient(180deg, rgba(201, 168, 106, 0), var(--gold)); animation: scroll-hint 2.2s ease-in-out infinite; }
.hero .hero-scroll span { font-family: var(--font-en); font-size: 10px; letter-spacing: 0.3em; color: rgba(245, 241, 234, 0.45); }
@keyframes scroll-hint { 0%, 100% { opacity: 0.35; transform: scaleY(0.8); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }
@media (max-width: 768px) {
  /* 移动端首屏：拉开层级间距、缩小副文与标签、按钮通栏，避免内容挤成一团 */
  .hero { min-height: 100svh; }
  .hero .hero-content { padding: 120px 0 72px; }
  .hero .hero-scroll { display: none; }
  .hero .hero-kicker { gap: 12px; margin-bottom: 22px; }
  .hero .hero-kicker .line { width: 32px; }
  .hero .hero-kicker .kicker { letter-spacing: 0.18em; font-size: 11px; }
  .hero .hero-title { font-size: clamp(2.3rem, 11vw, 3rem); letter-spacing: 0.04em; line-height: 1.18; }
  .hero .hero-sub { font-size: 15px; line-height: 1.85; letter-spacing: 0.03em; margin-top: 22px; color: rgba(245, 241, 234, 0.66); }
  .hero .hero-tags { gap: 8px 0; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(201, 168, 106, 0.18); }
  .hero .hero-tags span { font-size: 12px; letter-spacing: 0.1em; gap: 0; }
  .hero .hero-tags span::before { display: none; }
  .hero .hero-tags span::after { content: '/'; color: rgba(201, 168, 106, 0.5); margin: 0 10px; }
  .hero .hero-tags span:last-child::after { display: none; }
  .hero .hero-actions { flex-direction: column; gap: 12px; margin-top: 36px; }
  .hero .hero-actions .btn { width: 100%; justify-content: center; }
}
.svc-subnav { padding: 24px 0; border-bottom: 1px solid var(--ivory-3); position: sticky; top: 72px; z-index: 30; backdrop-filter: blur(12px); background: rgba(245, 241, 234, 0.9); }
@media (max-width: 900px) { .svc-subnav { display: none; } }

/* 内页 hero（暗色） */
.page-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  background: var(--noir);
  color: var(--ivory);
  overflow: hidden;
}
.page-hero .page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: saturate(0.5) brightness(0.6); opacity: 0.55; }
.page-hero .page-hero-mask { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 18, 16, 0.4), rgba(20, 18, 16, 0.92)); }
.page-hero .page-hero-content { position: relative; z-index: 2; padding: 150px 0 90px; }
.page-hero .kicker { margin-bottom: 22px; }
.page-hero .page-hero-sub { font-size: 18px; color: rgba(245, 241, 234, 0.68); margin-top: 22px; max-width: 640px; line-height: 1.9; letter-spacing: 0.04em; }
.page-hero.center .page-hero-content { text-align: center; }
.page-hero.center .page-hero-sub { margin-left: auto; margin-right: auto; }
.page-hero.center .kicker-line { justify-content: center; }
.kicker-line { display: flex; align-items: center; gap: 14px; }
.kicker-line .line { width: 40px; height: 1px; background: var(--gold); }
.page-hero .deco-ring { position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%; border: 1px solid rgba(201, 168, 106, 0.18); pointer-events: none; }
.page-hero .deco-ring::after { content: ''; position: absolute; inset: 70px; border-radius: 50%; border: 1px solid rgba(201, 168, 106, 0.12); }

/* 内页轻 hero（浅色） */
.page-head { padding: 150px 0 56px; }
.page-head .kicker { margin-bottom: 16px; }
.page-head .section-subtitle { margin-top: 16px; }
@media (max-width: 768px) { .page-head { padding: 120px 0 40px; } }

/* ------------------------------------------------------------
   数据 / 统计
   ------------------------------------------------------------ */
.stat { text-align: center; padding: 8px 12px; position: relative; }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px; background: rgba(201, 168, 106, 0.28); }
.stat .stat-value {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 4.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.stat .stat-value small { font-size: 0.42em; font-weight: 400; margin-left: 4px; color: var(--gold-3); font-family: var(--font-en); }
.stat .stat-label { margin-top: 14px; font-size: 14px; letter-spacing: 0.16em; color: var(--ink-2); }
.stat .stat-note { margin-top: 6px; font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }
.bg-noir .stat .stat-value, .bg-noir-2 .stat .stat-value { color: var(--gold-2); }
.bg-noir .stat .stat-label, .bg-noir-2 .stat .stat-label { color: rgba(245, 241, 234, 0.85); }
.bg-noir .stat .stat-note, .bg-noir-2 .stat .stat-note { color: rgba(245, 241, 234, 0.45); }
@media (max-width: 768px) { .stat:nth-child(odd)::before { display: none; } }

/* ------------------------------------------------------------
   技术栈跑马灯
   ------------------------------------------------------------ */
.marquee { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { font-family: var(--font-en); font-size: 15px; letter-spacing: 0.2em; color: var(--muted); white-space: nowrap; text-transform: uppercase; }
.marquee-track span::before { content: '·'; color: var(--gold); margin-right: 64px; }
.bg-noir .marquee-track span, .bg-noir-2 .marquee-track span { color: rgba(245, 241, 234, 0.5); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ------------------------------------------------------------
   列表打勾
   ------------------------------------------------------------ */
.check-list { list-style: none; display: grid; gap: 14px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--ink-2); line-height: 1.7; }
.check-list li::before {
  content: '';
  flex: none;
  width: 18px; height: 18px;
  margin-top: 4px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF8D00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.bg-noir .check-list li, .bg-noir-2 .check-list li { color: rgba(245, 241, 234, 0.78); }

/* ------------------------------------------------------------
   标签 / 芯片
   ------------------------------------------------------------ */
.chip { display: inline-flex; align-items: center; padding: 8px 16px; font-size: 13px; letter-spacing: 0.12em; border: 1px solid var(--ivory-3); color: var(--ink-2); background: #fff; }
.chip-gold { border-color: rgba(201, 168, 106, 0.5); color: var(--gold-3); background: transparent; }
.bg-noir .chip, .bg-noir-2 .chip { background: transparent; border-color: rgba(201, 168, 106, 0.3); color: rgba(245, 241, 234, 0.75); }

.tag-pill { display: inline-block; padding: 4px 12px; font-size: 11px; letter-spacing: 0.24em; border: 1px solid rgba(201, 168, 106, 0.55); color: var(--gold-3); text-transform: uppercase; font-family: var(--font-en); }
.on-dark .tag-pill, .bg-noir .tag-pill { color: var(--gold-2); }

/* 筛选按钮 */
.filter-btn {
  padding: 10px 22px;
  font-size: 13px;
  letter-spacing: 0.14em;
  border: 1px solid var(--ivory-3);
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 200ms var(--ease);
}
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn.active { background: var(--ink); border-color: var(--ink); color: var(--ivory); }

/* ------------------------------------------------------------
   服务详情交替布局
   ------------------------------------------------------------ */
.svc-block { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.svc-block .svc-visual {
  aspect-ratio: 4 / 3;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--ivory-3);
  background: #fff;
  overflow: hidden;
}
.svc-block .svc-visual::before { content: ''; position: absolute; inset: 18px; border: 1px solid rgba(201, 168, 106, 0.3); }
.svc-block .svc-visual .big-num { position: absolute; right: 28px; bottom: 10px; font-family: var(--font-serif); font-size: 140px; font-weight: 700; line-height: 1; color: var(--ivory-2); user-select: none; }
.svc-block .svc-visual svg { width: 120px; height: 120px; color: var(--ink); position: relative; z-index: 1; stroke-width: 0.9; }
.svc-block .svc-visual .halo { position: absolute; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 141, 0, 0.18), rgba(255, 141, 0, 0) 65%); }
.svc-block.reverse .svc-visual { order: -1; }
@media (max-width: 900px) {
  .svc-block { grid-template-columns: 1fr; gap: 40px; }
  .svc-block.reverse .svc-visual { order: 0; }
  .svc-block .svc-visual .big-num { font-size: 100px; }
}

/* ------------------------------------------------------------
   时间线
   ------------------------------------------------------------ */
.timeline { position: relative; max-width: 820px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: rgba(201, 168, 106, 0.4); transform: translateX(-0.5px); }
.tl-item { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding: 0 0 56px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item .tl-dot { position: absolute; left: 50%; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--ivory); border: 1px solid var(--gold); transform: translateX(-50%); }
.tl-item .tl-dot::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--amber); }
.tl-item .tl-year { font-family: var(--font-serif); font-size: 30px; font-weight: 700; color: var(--gold-3); line-height: 1; }
.tl-item h3 { font-family: var(--font-serif); font-size: 19px; font-weight: 700; margin-top: 12px; letter-spacing: 0.04em; }
.tl-item p { font-size: 14px; color: var(--muted); margin-top: 8px; line-height: 1.8; }
.tl-item:nth-child(odd) .tl-body { grid-column: 1; text-align: right; }
.tl-item:nth-child(even) .tl-body { grid-column: 2; }
@media (max-width: 768px) {
  .timeline::before { left: 8px; }
  .tl-item { grid-template-columns: 1fr; padding-left: 36px; gap: 0; }
  .tl-item .tl-dot { left: 8px; }
  .tl-item:nth-child(odd) .tl-body, .tl-item:nth-child(even) .tl-body { grid-column: 1; text-align: left; }
}

/* ------------------------------------------------------------
   表单
   ------------------------------------------------------------ */
.field label { display: block; font-size: 12px; letter-spacing: 0.2em; color: var(--muted); margin-bottom: 10px; text-transform: uppercase; font-family: var(--font-en); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--ivory-3);
  outline: none;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23877D71' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; cursor: pointer; }
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(255, 141, 0, 0.12); }
.field input::placeholder, .field textarea::placeholder { color: #B8AE9F; }

/* 联系信息块 */
.contact-block { padding: 28px 0; border-bottom: 1px solid var(--ivory-3); }
.contact-block:first-child { padding-top: 0; }
.contact-block .label { font-family: var(--font-en); font-size: 11px; letter-spacing: 0.3em; color: var(--gold-3); text-transform: uppercase; margin-bottom: 10px; }
.contact-block .value { font-family: var(--font-serif); font-size: 22px; font-weight: 600; color: var(--ink); letter-spacing: 0.04em; }
.contact-block .value a:hover { color: var(--amber); }
.qr-box { display: flex; align-items: center; gap: 20px; margin-top: 4px; }
.qr-box img { width: 120px; height: auto; padding: 6px; background: #fff; border: 1px solid var(--ivory-3); display: block; flex: none; }
.qr-box .qr-text p { font-size: 13px; color: var(--muted); margin-top: 6px; letter-spacing: 0.04em; }

/* ------------------------------------------------------------
   新闻列表
   ------------------------------------------------------------ */
.news-item { display: grid; grid-template-columns: 140px 1fr; gap: 40px; padding: 40px 0; border-bottom: 1px solid var(--ivory-3); }
.news-item:first-child { border-top: 1px solid var(--ivory-3); }
.news-item .news-date { font-family: var(--font-en); font-size: 14px; letter-spacing: 0.12em; color: var(--gold-3); padding-top: 6px; }
.news-item .news-date small { display: block; font-size: 11px; color: var(--muted); letter-spacing: 0.24em; margin-top: 6px; }
.news-item h3 { font-family: var(--font-serif); font-size: 22px; font-weight: 700; letter-spacing: 0.03em; margin: 10px 0 10px; transition: color 200ms var(--ease); }
.news-item:hover h3 { color: var(--amber); }
.news-item p { font-size: 14px; color: var(--muted); line-height: 1.85; }
@media (max-width: 640px) { .news-item { grid-template-columns: 1fr; gap: 8px; padding: 28px 0; } }

/* 文章正文 */
.article-body p { font-size: 17px; line-height: 1.95; color: var(--ink-2); margin-bottom: 26px; letter-spacing: 0.01em; }
.article-body p:first-of-type::first-letter { font-family: var(--font-serif); font-size: 2.6em; float: left; line-height: 0.85; margin: 8px 10px 0 0; color: var(--amber); font-weight: 700; }

/* ------------------------------------------------------------
   页脚
   ------------------------------------------------------------ */
.site-footer { background: var(--noir-3); color: rgba(245, 241, 234, 0.7); position: relative; }
.site-footer .footer-top { padding: 80px 0 56px; }
.site-footer .footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; }
.site-footer h4 { font-size: 12px; letter-spacing: 0.3em; color: var(--gold-2); text-transform: uppercase; font-family: var(--font-en); margin-bottom: 22px; }
.site-footer ul { list-style: none; display: grid; gap: 12px; }
.site-footer ul a { font-size: 14px; color: rgba(245, 241, 234, 0.55); letter-spacing: 0.06em; transition: color 200ms var(--ease); }
.site-footer ul a:hover { color: var(--amber-2); }
.site-footer .footer-brand img { height: 56px; width: auto; margin-bottom: 22px; }
.site-footer .footer-brand p { font-size: 13px; line-height: 1.9; color: rgba(245, 241, 234, 0.5); letter-spacing: 0.04em; }
.site-footer .footer-slogan { font-family: var(--font-serif); font-size: 18px; color: var(--ivory); letter-spacing: 0.1em; margin-bottom: 14px; }
.site-footer .footer-bottom { border-top: 1px solid rgba(201, 168, 106, 0.16); padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 12px; color: rgba(245, 241, 234, 0.35); letter-spacing: 0.06em; }
.site-footer .footer-bottom a:hover { color: var(--gold-2); }
.site-footer .footer-icp { margin-top: 6px; font-size: 11px; letter-spacing: 0.04em; color: rgba(245, 241, 234, 0.28); }
@media (max-width: 900px) { .site-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 560px) { .site-footer .footer-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------
   滚动显现
   ------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

@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; }
  .marquee-track { animation: none; }
}

/* ------------------------------------------------------------
   工具
   ------------------------------------------------------------ */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.grid-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-services .svc-card.featured { grid-column: span 2; }
@media (max-width: 1024px) { .grid-services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-services { grid-template-columns: 1fr; } .grid-services .svc-card.featured { grid-column: span 1; } }

/* ------------------------------------------------------------
   布局工具类
   ------------------------------------------------------------ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.gap-lg { gap: 40px; }
.gap-xl { gap: 80px; }
.items-center { align-items: center; }
.items-start { align-items: start; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-2 { margin-top: 8px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; } .mt-12 { margin-top: 48px; } .mt-16 { margin-top: 64px; } .mt-20 { margin-top: 80px; }
.mb-2 { margin-bottom: 8px; } .mb-4 { margin-bottom: 16px; } .mb-6 { margin-bottom: 24px; } .mb-8 { margin-bottom: 32px; } .mb-12 { margin-bottom: 48px; } .mb-16 { margin-bottom: 64px; }
.max-w-640 { max-width: 640px; } .max-w-760 { max-width: 760px; } .max-w-900 { max-width: 900px; }
.flex { display: flex; } .flex-wrap { flex-wrap: wrap; } .justify-center { justify-content: center; } .justify-between { justify-content: space-between; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; } .gap-6 { gap: 24px; }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .gap-xl { gap: 40px; } }

/* 信息小卡（案例详情 / 关于页） */
.info-tile { background: #fff; border: 1px solid var(--ivory-3); padding: 24px 26px; }
.info-tile .k { font-family: var(--font-en); font-size: 11px; letter-spacing: 0.28em; color: var(--gold-3); text-transform: uppercase; margin-bottom: 8px; }
.info-tile .v { font-family: var(--font-serif); font-size: 18px; font-weight: 700; color: var(--ink); letter-spacing: 0.02em; }

/* 功能卡（案例详情） */
.feat-card { background: #fff; border: 1px solid var(--ivory-3); padding: 32px 30px; position: relative; transition: border-color 200ms var(--ease), transform 200ms var(--ease); }
.feat-card:hover { border-color: rgba(201, 168, 106, 0.6); transform: translateY(-3px); }
.feat-card .idx { font-family: var(--font-en); font-size: 11px; letter-spacing: 0.3em; color: var(--gold-3); margin-bottom: 16px; }
.feat-card h3 { font-family: var(--font-serif); font-size: 18px; font-weight: 700; letter-spacing: 0.04em; margin-bottom: 10px; }
.feat-card p { font-size: 14px; color: var(--muted); line-height: 1.8; }

/* 价值观 / 方法论卡（暗底） */
.value-card { padding: 40px 34px; border: 1px solid rgba(201, 168, 106, 0.2); position: relative; transition: border-color 260ms var(--ease), background 260ms var(--ease); }
.value-card:hover { border-color: rgba(201, 168, 106, 0.6); background: rgba(255, 255, 255, 0.02); }
.value-card .idx { font-family: var(--font-serif); font-size: 44px; font-weight: 700; color: rgba(201, 168, 106, 0.28); line-height: 1; margin-bottom: 22px; }
.value-card h3 { font-family: var(--font-serif); font-size: 21px; font-weight: 700; letter-spacing: 0.06em; color: var(--ivory); margin-bottom: 12px; }
.value-card p { font-size: 14px; color: rgba(245, 241, 234, 0.6); line-height: 1.85; }

/* 团队 */
.team-card { text-align: center; }
.team-card .avatar { width: 92px; height: 92px; margin: 0 auto 16px; border-radius: 50%; border: 1px solid rgba(201, 168, 106, 0.55); display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-size: 26px; font-weight: 700; color: var(--gold-3); background: #fff; position: relative; }
.team-card .avatar::after { content: ''; position: absolute; inset: 5px; border-radius: 50%; border: 1px solid rgba(201, 168, 106, 0.25); }
.team-card h3 { font-family: var(--font-serif); font-size: 17px; font-weight: 700; letter-spacing: 0.06em; }
.team-card p { font-size: 12px; letter-spacing: 0.2em; color: var(--muted); margin-top: 6px; font-family: var(--font-en); text-transform: uppercase; }

/* 案例详情底部导航 */
.case-nav { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 40px 0; border-top: 1px solid var(--ivory-3); }
.case-nav a { font-size: 14px; letter-spacing: 0.12em; color: var(--ink-2); display: inline-flex; align-items: center; gap: 10px; transition: color 200ms var(--ease); }
.case-nav a:hover { color: var(--amber); }
.case-nav .next { text-align: right; }
.case-nav .next small { display: block; font-size: 11px; letter-spacing: 0.3em; color: var(--gold-3); font-family: var(--font-en); margin-bottom: 4px; }
.case-nav .next strong { font-family: var(--font-serif); font-size: 18px; font-weight: 700; color: var(--ink); }
