/* ============================================================
   灰象品牌官网 · 主样式
   严格还原 Ardot 画布设计稿（1440 基准稿）
   ------------------------------------------------------------
   取色说明：所有色值由画布节点 fills 的 RGB 精确换算
   ============================================================ */

:root {
  /* ---------- 底色 ---------- */
  --paper:      #FAF6EE;  /* 250,246,238 · 主纸底 */
  --paper-warm: #FAF5ED;  /* 250,245,237 · 暖纸底 */
  --mist:       #E8EBF0;  /* 232,235,240 · 冷雾底 */
  --sand:       #F4E9DA;  /* 244,233,218 · 米色卡 */
  --sand-soft:  #F5E8D9;  /* 245,232,217 · 米色标签 */
  --cool:       #EDEFF2;  /* 237,239,242 · 浅冷卡 */

  /* ---------- 墨色文字 ---------- */
  --ink:        #1A1815;  /* 26,24,21 · 主标题 */
  --ink-warm:   #1A1714;  /* 26,23,20 · 次组标题 */
  --body:       #3A3530;  /* 58,53,48 · 正文 */
  --muted:      #6E6862;  /* 110,104,98 · 辅助文字 */
  --faint:      #9E9994;  /* 158,153,148 · 占位/版权 */

  /* ---------- 强调色 ---------- */
  --gold:       #A1856D;  /* 161,133,109 · 眉题/标签 */
  --gold-deep:  #6B4F36;  /* 107,79,54 · 深棕文字 */
  --line:       #E8D6BF;  /* 232,214,191 · 浅描边 */
  --line-deep:  #CFB599;  /* 207,181,153 · 深描边 */

  /* ---------- 字体 ---------- */
  --font-serif: 'Noto Serif SC', 'Songti SC', 'STSong', 'SimSun', serif;
  --font-sans:  'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --font-en:    'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', sans-serif;

  /* ---------- 栅格 ---------- */
  --gutter: 64px;   /* 全局左右安全边距，与画布一致 */
  --maxw: 1440px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.54;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }

/* ============================================================
   通用区块容器
   ============================================================ */
.section {
  width: 100%;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section-inner {
  max-width: var(--maxw);
  margin: 0 auto;
}

/* 区块标题组：眉题 + 主标题 + 副文案 */
.eyebrow {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 500;
  color: var(--gold);
  line-height: 1.34;
}
.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
.section-sub {
  font-size: 17px;
  line-height: 25.92px;
  color: var(--muted);
  max-width: 720px;
}

/* ============================================================
   1 · Header   （画布 3:2 · 高 184 · padding 24/64/12）
   ============================================================ */
.site-header {
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 184px;
  padding: 20px var(--gutter) 10px;
  background: var(--paper);
}
.site-header .logo img {
  width: 165px;
  height: 103.5px;
  object-fit: contain;
  object-position: left center;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;      /* Logo 居左，导航与按钮组整体靠右 */
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-list a {
  font-size: 14px;
  color: var(--body);
  transition: color .25s ease, opacity .25s ease;
  white-space: nowrap;
}
.nav-list a:hover { color: var(--gold-deep); }

.btn-header {
  padding: 10px 20px;
  border-radius: 20px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  font-weight: 500;
  transition: background .25s ease, transform .25s ease;
}
.btn-header:hover { background: var(--gold-deep); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: none; background: transparent;
  cursor: pointer; padding: 0;
}
.nav-toggle span {
  display: block; width: 22px; height: 1.5px;
  background: var(--ink); margin: 4px auto;
  transition: transform .3s ease, opacity .3s ease;
}

/* ============================================================
   2 · Hero   （画布 3:12 · 高 760 · padding 80/64）
   ============================================================ */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 760px;
  padding: 68px var(--gutter);
  background-color: var(--paper-warm);
  position: relative;
}
.hero-text {
  width: 680px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 27px;
  position: relative;
  z-index: 2;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: 59px;
  font-weight: 700;
  line-height: 65.28px;
  color: var(--ink);
  white-space: pre-line;
}
.hero-sub {
  width: 600px;
  max-width: 100%;
  font-size: 17px;
  line-height: 25.92px;
  color: var(--muted);
  white-space: pre-line;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-lg {
  padding: 14px 27px;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 500;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.btn-lg:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { box-shadow: 0 12px 28px rgba(26,24,21,.18); }
.btn-secondary { background: var(--sand); color: var(--ink); }
.btn-secondary:hover { box-shadow: 0 12px 28px rgba(244,233,218,.6); }

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

/* ============================================================
   3 · Brand Story   （画布 3:33 · padding 120/64 · gap 48）
   ============================================================ */
.story {
  background: var(--mist);
  padding-top: 102px;
  padding-bottom: 102px;
}
.story .section-inner {
  display: flex;
  flex-direction: column;
  gap: 41px;
  align-items: center;
  text-align: center;
}
.story-body {
  width: 820px;
  max-width: 100%;
  font-size: 17px;
  line-height: 29.76px;
  color: var(--body);
  text-align: center;
}
.story-body p + p { margin-top: 31px; }

.about-card {
  width: 928px;
  max-width: 100%;
  margin: 0 auto;
  padding: 54px;
  border-radius: 20px;
  background: rgba(255,255,255,.45);
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}
.about-card h3 {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
.about-card p {
  font-size: 17px;
  line-height: 29.76px;
  color: var(--body);
  text-align: center;
}

/* ============================================================
   4 · Core Services   （画布 3:101 · padding 120/64 · gap 64）
   ============================================================ */
.core {
  background: var(--paper);
  padding-top: 102px;
  padding-bottom: 102px;
}
.core .section-inner {
  display: flex;
  flex-direction: column;
  gap: 54px;
  align-items: center;
  text-align: center;
}
.core .eyebrow, .core .section-sub { text-align: center; }
.core-title {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 700;
  line-height: 51.84px;
  color: var(--ink);
  white-space: pre-line;
}

.core-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  width: 100%;
}
.core-col {
  width: 280px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.core-item {
  padding: 20px;
  border-radius: 17px;
  background: #FFFFFF;
  box-shadow: 0 8px 24px -4px rgba(26,26,26,.05);
  display: flex;
  flex-direction: column;
  gap: 7px;
  text-align: left;
}
.core-item h4 {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.34;
}
.core-item p {
  font-size: 13px;
  line-height: 19.2px;
  color: var(--muted);
}

/* 中央圆形压印 Logo */
.core-center {
  width: 360px; height: 360px;
  flex: 0 0 auto;
  border-radius: 153px;
  background: radial-gradient(circle, #FAEDE0 0%, #E8D6BF 100%);
  box-shadow:
    inset 4px 4px 16px rgba(97,79,69,.15),
    inset -4px -4px 16px rgba(255,255,255,.4);
  display: flex; align-items: center; justify-content: center;
}
.core-center img { width: 200px; height: 200px; object-fit: contain; }

/* ============================================================
   5 · 服务内容   （画布 3:44 + 3:48）
   注：画布这两个区块左右 padding 为 0（贴边），此处按全局 64px
       安全边距落地，避免标题与卡片顶到浏览器边缘
   ============================================================ */
.services-head {
  background: var(--paper);
  padding-top: 54px;
  padding-bottom: 54px;
}
.services-head .section-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.services-cards {
  background: var(--paper);
  padding-bottom: 102px;
}
.services-cards .section-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.services-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.service-card {
  width: 620px;
  max-width: 100%;
  padding: 27px 24px;
  border-radius: 24px;
  box-shadow: 0 20px 40px -8px rgba(26,26,26,.06);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .35s ease, box-shadow .35s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 56px -8px rgba(26,26,26,.1);
}
.service-card--sand { background: var(--sand); }
.service-card--cool { background: var(--cool); }

.service-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
}
.service-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.34;
}
.service-desc {
  font-size: 13px;
  line-height: 19.2px;
  color: var(--muted);
}
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; }
.tag {
  padding: 5px 10px;
  border-radius: 10px;
  font-size: 11px;
  line-height: 1.34;
  background: #FFFFFF;
  color: var(--gold-deep);
}
.tag--solid { background: var(--gold); color: #FFFFFF; }
.service-detail {
  font-size: 12px;
  line-height: 18.24px;
  color: var(--muted);
}

/* ============================================================
   6 · 四大业务主线   （画布 3:125 · 渐变底）
   ============================================================ */
.business {
  padding-top: 102px;
  padding-bottom: 102px;
  background: linear-gradient(120deg, #FAE8CF 0%, #EDD6BD 100%);
}
.business .section-inner {
  display: flex;
  flex-direction: column;
  gap: 54px;
}
.business-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.business-card {
  position: relative;
  width: 280px;
  max-width: 100%;
  padding: 31px 27px;
  border-radius: 24px;
  background-color: var(--paper);
  box-shadow:
    0 16px 40px -8px rgba(26,26,26,.08),
    inset 2px 2px 8px rgba(97,79,69,.08),
    inset -2px -2px 8px rgba(255,255,255,.3);
  display: flex;
  flex-direction: column;
  gap: 17px;
  transform-style: preserve-3d;
  transition: transform .4s cubic-bezier(.22,.61,.36,1), box-shadow .35s ease;
}
.business-card:hover {
  box-shadow:
    0 24px 52px -8px rgba(26,26,26,.12),
    inset 2px 2px 8px rgba(97,79,69,.08),
    inset -2px -2px 8px rgba(255,255,255,.3);
}
.business-num {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.34;
}
.business-card h3 {
  font-family: var(--font-serif);
  font-size: 29px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
.business-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--gold-deep);
  line-height: 1.44;
}
.business-card p {
  font-size: 13px;
  line-height: 21.12px;
  color: var(--body);
}
.business-link {
  margin-top: 2px;
  font-size: 12px;
  color: var(--gold-deep);
  opacity: .85;
  transition: opacity .25s ease;
  pointer-events: none;   /* 未上线的业务线暂不可点 */
}
.business-card.is-live .business-link { pointer-events: auto; }
.business-card.is-live:hover .business-link { opacity: 1; text-decoration: underline; }

/* 半透明封面底图：各卡片压各自二级页封面，米色蒙层保证文字可读 */
.business-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .26;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  transition: opacity .4s ease;
}
.business-card > * { position: relative; z-index: 1; }
.business-card--zhaolang::after { background-image: url('../img/zhaolang-banner.webp'); }
.business-card--yangsheng::after { background-image: url('../img/yangsheng-banner.webp'); }
.business-card--liyi::after { background-image: url('../img/liyi-banner.webp'); }
.business-card--dianjin::after { background-image: url('../img/dianjin-banner.webp'); }
.business-card:hover::after { opacity: .38; }

/* 鼠标透视景深：内容分层向观察点抬升，形成纵深视差 */
.business-card.depth-card .business-num { transform: translateZ(46px); }
.business-card.depth-card h3 { transform: translateZ(38px); }
.business-card.depth-card .business-name { transform: translateZ(30px); }
.business-card.depth-card p { transform: translateZ(20px); }
.business-card.depth-card .business-link { transform: translateZ(34px); }
.business-card.depth-card.is-tilting { transition: transform .12s ease-out, box-shadow .35s ease; }

/* ============================================================
   6b · 四大业务 · 视差旋转木马（React Bits Parallax Carousel 纯静态移植）
   可拖动 · 平滑视差（中间大、两侧缩小倾斜、远处淡出）· 松手吸附
   ============================================================ */
.business-carousel {
  position: relative;
  height: 460px;
  perspective: 1400px;
  overflow: hidden;
  touch-action: pan-y;        /* 水平拖动归 carousel，垂直滚动交还页面 */
  cursor: grab;
}
.business-carousel.is-dragging { cursor: grabbing; }
.business-carousel .business-track {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}
.business-carousel .business-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 280px;
  margin: 0;
  transform: translate(-50%, -50%);
  will-change: transform, opacity;
  user-select: none;
  -webkit-user-drag: none;
}
/* 导航按钮 */
.business-carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-deep);
  background: rgba(250,246,238,.85);
  color: var(--ink);
  font-size: 20px; line-height: 1.0;
  cursor: pointer;
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s ease, box-shadow .25s ease;
}
.business-carousel__nav:hover { background: var(--paper); box-shadow: 0 8px 20px rgba(26,26,26,.12); }
.business-carousel__nav--prev { left: 12px; }
.business-carousel__nav--next { right: 12px; }
/* 指示点 */
.business-carousel__dots {
  position: absolute;
  bottom: 6px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px;
  z-index: 200;
}
.business-carousel__dot {
  width: 9px; height: 9px; border-radius: 50%;
  border: none; padding: 0;
  background: var(--line-deep);
  cursor: pointer; opacity: .5;
  transition: opacity .25s ease, transform .25s ease, background .25s ease;
}
.business-carousel__dot.is-active { background: var(--gold); opacity: 1; transform: scale(1.2); }

@media (max-width: 768px) {
  .business-carousel { height: 400px; }
  .business-carousel .business-card { width: 240px; }
  .business-carousel__nav { display: none; }
}

/* ============================================================
   7 · 核心团队   （画布 3:151）
   ============================================================ */
.team {
  background: var(--paper);
  padding-top: 102px;
  padding-bottom: 102px;
}
.team .section-inner {
  display: flex;
  flex-direction: column;
  gap: 54px;
}

/* 团队基因标签 */
.gene-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px;
  background: var(--paper-warm);
  width: fit-content;
}
.gene-chip {
  padding: 7px 14px;
  height: 34px;
  border-radius: 85px;
  background: var(--sand-soft);
  color: var(--gold-deep);
  font-size: 12px;
  line-height: 14.4px;
  display: flex; align-items: center;
}

/* 弧形排布：画布为 1896×880 的横向超宽画布，超出 1312 容器 → 横向滚动 */
.team-arc-viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.team-arc {
  position: relative;
  width: 1896px;
  height: 880px;
}
.team-card {
  position: absolute;
  width: 360px;
  border-radius: 10px;
  background: var(--paper-warm);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -12px rgba(26,26,26,.14);
}
/* 画布中的绝对坐标 1:1 落地 */
.team-card--1 { left: 768px;  top: 170px; }  /* 王人嫣（主理人，居中高位） */
.team-card--2 { left: 0;     top: 80px;  }  /* 王哲臻 */
.team-card--3 { left: 384px; top: 140px; }  /* 王莉 */
.team-card--4 { left: 1152px; top: 140px; } /* 田佳 */
.team-card--5 { left: 1536px; top: 80px;  } /* 孙旭毅 */

.team-card img {
  width: 360px; height: 450px;
  border-radius: 10px;
  object-fit: cover;
}
.team-card-body {
  padding: 17px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.team-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink-warm);
  line-height: 1.34;
}
.team-title {
  font-size: 12px;
  color: var(--gold);
  line-height: 1.44;
}
.team-bio {
  font-size: 12px;
  line-height: 18.24px;
  color: var(--body);
}
/* 画布中第 3/4/5 张卡为占位态：字号 14、色值 #9E9994，与 1/2 不一致。
   以下为按原稿 1:1 还原；如需统一，改用 .team-bio 的样式即可。 */
.team-bio--placeholder {
  font-size: 13px;
  line-height: 19.2px;
  color: var(--faint);
}
.team-projects-label {
  font-size: 11px;
  color: var(--gold);
  line-height: 1.44;
}
.team-projects {
  font-size: 11px;
  line-height: 16.32px;
  color: var(--muted);
}

.team-hint {
  font-size: 11px;
  color: var(--faint);
  text-align: center;
}

/* ===== 核心团队 · 歪斜旋转木马（Skewed Carousel 纯静态移植） ===== */
.skew-team {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 17px;
}
.skew-team__viewport {
  position: relative;
  width: 100%;
  height: 560px;
  perspective: 800px;
  overflow: hidden;
}
.skew-team__track {
  position: absolute;
  inset: 0;
}
.skew-card {
  position: absolute;
  top: 0; left: 50%;
  width: min(360px, 32vw);
  margin-left: calc(min(306px, 32vw) / -2);
  transform-style: preserve-3d;
  transition: transform .55s cubic-bezier(.22,.61,.36,1), opacity .45s ease;
  will-change: transform, opacity;
  cursor: pointer;
  opacity: 0;
}
.skew-card__inner {
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 44px -20px rgba(26,26,26,.30);
}
.skew-card__img {
  width: 100%; height: 420px;
  object-fit: cover;
  display: block;
}
.skew-card__meta {
  padding: 14px 12px 15px;
  text-align: center;
}
.skew-card__name {
  font-family: var(--font-serif);
  font-size: 19px; font-weight: 700;
  color: var(--ink-warm);
  line-height: 1.25;
  transition: filter .4s ease, opacity .4s ease;
}
.skew-card__role {
  margin-top: 3px;
  font-size: 11px; color: var(--gold);
  letter-spacing: .02em;
}
.skew-card__bio {
  margin-top: 8px;
  font-size: 11px; line-height: 15.36px;
  color: var(--body);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.skew-card.is-active .skew-card__bio { -webkit-line-clamp: 6; }
.skew-card:not(.is-active) .skew-card__name { filter: blur(1.4px); opacity: .72; }

/* 控制按钮 */
.skew-team__nav {
  position: absolute;
  top: 210px;
  z-index: 200;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper-warm);
  color: var(--gold-deep);
  font-size: 20px; line-height: 1.0;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px -10px rgba(26,26,26,.3);
  transition: background .25s ease, transform .25s ease;
}
.skew-team__nav:hover { background: var(--sand-soft); transform: scale(1.06); }
.skew-team__nav--prev { left: max(12px, calc(50% - 440px)); }
.skew-team__nav--next { right: max(12px, calc(50% - 440px)); }

/* 圆点指示器 */
.skew-team__dots {
  display: flex; gap: 8px;
}
.skew-team__dot {
  width: 8px; height: 8px; border-radius: 50%;
  border: none; padding: 0;
  background: var(--line);
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
}
.skew-team__dot.is-active { background: var(--gold-deep); transform: scale(1.25); }

@media (max-width: 1024px) {
  .skew-card { width: min(300px, 36vw); margin-left: calc(min(255px, 36vw) / -2); }
  .skew-team__viewport { height: 500px; }
  .skew-card__img { height: 360px; }
  .skew-team__nav { top: 210px; }
}
@media (max-width: 768px) {
  .skew-card { width: min(240px, 50vw); margin-left: calc(min(204px, 50vw) / -2); }
  .skew-card__img { height: 300px; }
  .skew-card__bio { display: none; }
  .skew-card.is-active .skew-card__bio { display: -webkit-box; -webkit-line-clamp: 3; }
  .skew-team__viewport { height: 440px; }
  .skew-team__nav { top: 150px; width: 38px; height: 38px; font-size: 17px; }
  .skew-team__nav--prev { left: 8px; }
  .skew-team__nav--next { right: 8px; }
}

/* ============================================================
   8 · 智库伙伴   （画布 10:61 · 冷雾底）
   ============================================================ */
.partners {
  background: var(--mist);
  padding-top: 102px;
  padding-bottom: 102px;
}
.partners .section-inner {
  display: flex;
  flex-direction: column;
  gap: 54px;
}
.partner-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.partner-card {
  width: 400px;
  max-width: 100%;
  padding: 20px;
  border-radius: 10px;
  background: var(--paper-warm);
  border: 1px solid var(--line);
  display: flex;
  gap: 17px;
  transition: transform .35s ease, box-shadow .35s ease;
}
.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -12px rgba(26,26,26,.12);
}
.partner-avatar {
  width: 88px; height: 88px;
  flex: 0 0 88px;
  border-radius: 170px;
  overflow: hidden;
}
.partner-avatar img { width: 100%; height: 100%; object-fit: cover; }
.partner-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.partner-name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-warm);
  line-height: 1.34;
}
.partner-role {
  font-size: 11px;
  color: var(--gold);
  line-height: 1.44;
}
.partner-bio {
  font-size: 12px;
  line-height: 16.32px;
  color: var(--muted);
}

/* ---------- Animated List（动画列表 · React Bits Animated List 纯静态移植） ---------- */
.animated-list.partner-list {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  max-width: 820px;
  margin: 0 auto;
  counter-reset: partner;
}
/* 重置 .partner-card 在 stack 作用域下的专属样式（sticky/width/margin-bottom） */
.animated-list.partner-list .partner-item.partner-card {
  position: relative;
  top: auto;
  width: 100%;
  max-width: 100%;
  margin-bottom: 0;
  box-shadow: 0 8px 24px -14px rgba(26,26,26,.10);
  transition: background .35s ease, border-color .35s ease, transform .35s ease, box-shadow .35s ease;
}
.animated-list.partner-list .partner-item + .partner-item {
  margin-top: 14px;
}
.animated-list.partner-list .partner-item {
  counter-increment: partner;
  will-change: opacity, transform;
}
/* 序号角标（沿用 stack 的 01-06 风格） */
.animated-list.partner-list .partner-item::before {
  content: counter(partner, decimal-leading-zero);
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--gold);
  opacity: .5;
  pointer-events: none;
  transition: opacity .35s ease;
}
/* hover 高亮：金色描边 + 微抬升 + 金色投影 + 序号加亮 */
.animated-list.partner-list .partner-item:hover {
  background: #fff;
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -12px rgba(161,133,109,.22);
}
.animated-list.partner-list .partner-item:hover::before { opacity: 1; }
/* 入场动画：is-hidden 初始态 → is-in 显现态（stagger 由 JS 控 transitionDelay） */
.animated-list.partner-list .partner-item.is-hidden {
  opacity: 0;
  transform: translateY(24px);
}
.animated-list.partner-list .partner-item.is-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1), background .35s ease, border-color .35s ease, box-shadow .35s ease;
}
/* 移动端：保持列表，关闭入场动画，保留 hover */
@media (max-width: 768px) {
  .animated-list.partner-list .partner-item.partner-card {
    padding: 15px 17px;
    gap: 14px;
  }
  .animated-list.partner-list .partner-item + .partner-item { margin-top: 10px; }
  .animated-list.partner-list .partner-item::before { top: 12px; right: 14px; font-size: 11px; }
  .animated-list.partner-list .partner-item.is-hidden { opacity: 1; transform: none; }
}

/* ============================================================
   9 · 愿景   （画布 10:78 · padding 160/64 · 居中）
   ============================================================ */
.vision {
  background: var(--paper-warm);
  padding-top: 136px;
  padding-bottom: 136px;
}
.vision .section-inner {
  display: flex;
  flex-direction: column;
  gap: 27px;
  align-items: center;
  text-align: center;
}
.vision-line {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 700;
  color: var(--ink-warm);
  line-height: 1.38;   /* 画布实测：69px 行高 / 48px 字号 */
}

/* ============================================================
   10 · 联系我们   （画布 10:81）
   ============================================================ */
.contact {
  background: var(--paper-warm);
  padding-top: 102px;
  padding-bottom: 102px;
}
.contact .section-inner {
  display: flex;
  flex-direction: column;
  gap: 54px;
}
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 24px;
  border-radius: 10px;
  background: var(--sand-soft);
  border: 1px solid var(--line-deep);
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
a.contact-item:hover,
a.contact-item:focus-visible {
  background: #fff;
  border-color: var(--gold);
  transform: translateY(-2px);
}
.contact-label {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 500;
  color: var(--gold);
  line-height: 1.34;
}
.contact-value {
  font-size: 17px;
  color: var(--ink-warm);
  line-height: 1.44;
}
.contact-wechat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 24px 24px 20px;
  border-radius: 10px;
  background: var(--sand-soft);
  border: 1px solid var(--line-deep);
}
.wechat-qr {
  width: 208px;
  height: auto;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 30px -18px rgba(26, 26, 26, .25);
}
.wechat-tip {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .2px;
}

/* ============================================================
   11 · Footer   （画布 10:99）
   ============================================================ */
.site-footer {
  background: var(--ink-warm);
  padding: 41px var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.site-footer .section-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-company {
  font-size: 13px;
  color: var(--paper-warm);
  line-height: 1.44;
}
.footer-copy {
  font-family: var(--font-en);
  font-size: 11px;
  color: var(--faint);
  line-height: 1.44;
}

/* ============================================================
   入场动画
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
}
.reveal.is-in { opacity: 1; transform: none; }

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

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1180px) {
  :root { --gutter: 40px; }
  .hero { flex-direction: column; align-items: flex-start; gap: 41px; background-position: 70% center; }
  .hero-text { width: 100%; }
  .hero-title { font-size: 48px; line-height: 55.68px; }
  .hero-visual { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
  .core-center { width: 300px; height: 300px; border-radius: 128px; }
  .core-center img { width: 168px; height: 168px; }
}

@media (max-width: 1024px) {
  .nav-toggle { display: block; margin-left: auto; position: relative; z-index: 95; }
  .header-right {
    position: fixed;
    inset: 0 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    margin: 0;
    padding: 82px 27px 34px;
    background: var(--paper);
    box-shadow: 0 20px 40px rgba(26,24,21,.08);
    transform: translateY(-100%);
    transition: transform .38s cubic-bezier(.22,.61,.36,1);
    z-index: 90;
  }
  .header-right.is-open { transform: none; }
  .nav-list { flex-direction: column; align-items: flex-start; gap: 17px; }
  .nav-list a { font-size: 17px; }

  .core-visual { flex-direction: column; gap: 27px; }
  .core-col { width: 100%; max-width: 520px; }
  .core-col--right { flex-direction: column; }

  .about-card { padding: 34px 24px; }
  .about-card h3 { font-size: 33px; }
  .section-title, .core-title, .vision-line { font-size: 35px; line-height: 1.3; }
  .story-body, .about-card p { font-size: 16px; line-height: 25.92px; }
  .story-body { width: 100%; max-width: 928px; padding-left: 24px; padding-right: 24px; }

  /* 弧形排布改为纵向堆叠，取消绝对定位 */
  .team-arc-viewport { overflow: visible; }
  .team-arc {
    position: static;
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
  .team-card,
  .team-card--1, .team-card--2, .team-card--3, .team-card--4, .team-card--5 {
    position: static; left: auto; top: auto;
    width: 100%;
  }
  .team-card img { width: 100%; height: 380px; }
  .team-hint { display: none; }
}

@media (max-width: 768px) {
  :root { --gutter: 24px; }
  .site-header { min-height: 120px; padding: 14px var(--gutter) 10px; }
  .site-header .logo img { width: 112.5px; height: 70.5px; }
  .hero {
    min-height: 560px;
    padding: 48px var(--gutter);
    background-color: var(--paper-warm);
    background-image:
      linear-gradient(to right, var(--paper-warm) 0%, rgba(244,233,218,.7) 32%, rgba(244,233,218,0) 62%);
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
  }
  .hero-title { font-size: 35px; line-height: 42.24px; }
  .hero-sub { font-size: 15px; line-height: 24.96px; }
  .hero-visual { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
  .hero-actions .btn-lg { flex: 1 1 auto; text-align: center; }

  .section-title, .core-title, .vision-line { font-size: 28px; line-height: 1.34; }
  .about-card h3 { font-size: 26px; }
  .section-sub, .story-body, .about-card p { font-size: 15px; line-height: 24.96px; }

  .story, .core, .business, .team, .partners, .contact { padding-top: 61px; padding-bottom: 61px; }
  .vision { padding-top: 75px; padding-bottom: 75px; }
  .services-head { padding-top: 34px; }
  .services-cards { padding-bottom: 61px; }

  .business-grid { flex-direction: column; align-items: stretch; }
  .business-card { width: 100%; }
  .contact-wrap { grid-template-columns: 1fr; gap: 24px; }
  .contact-wechat { width: 100%; }
  .services-row { flex-direction: column; }
  .service-card { width: 100%; }
  .partner-card { width: 100%; }
  .gene-chips { width: 100%; padding: 10px; }
}

/* ============================================================
   Custom Cursor · 自定义光标（流畅跟随 + 目标变形）
   纯静态移植自 React Bits Pro · Custom Cursor
   桌面精确指针设备启用；触摸设备保留原生光标
   ============================================================ */
.has-custom-cursor,
.has-custom-cursor a,
.has-custom-cursor button,
.has-custom-cursor [role="button"] { cursor: none; }

.custom-cursor-dot,
.custom-cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 100000;
  transform: translate(-50%, -50%);  /* 始终以鼠标位置为几何中心 */
  will-change: left, top;
}
.custom-cursor-dot {
  width: 7px; height: 7px;
  background: var(--ink);
  border-radius: 50%;
  opacity: 0;
  transition: opacity .25s ease;
}
.custom-cursor-ring {
  width: 38px; height: 38px;
  border: 1.5px solid var(--gold-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition:
    width   .28s cubic-bezier(.22, 1, .36, 1),
    height  .28s cubic-bezier(.22, 1, .36, 1),
    background-color .28s ease,
    border-color .28s ease,
    opacity .25s ease;
}

/* 悬停可交互元素：外环放大 + 浅金底 */
.custom-cursor-ring.is-hover {
  width: 60px; height: 60px;
  background: rgba(161, 133, 109, .10);
  border-color: var(--gold);
}

/* 目标变形：外环变为文字胶囊（target morphing） */
.custom-cursor-ring.is-label {
  width: auto; height: 34px;
  padding: 0 14px;
  border-radius: 14px;
  background: var(--ink);
  border-color: var(--ink);
}
.custom-cursor-label {
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
  white-space: nowrap;
  opacity: 0;
  transform: scale(.88);
  transition: opacity .2s ease, transform .2s ease;
}
.custom-cursor-ring.is-label .custom-cursor-label {
  opacity: 1;
  transform: scale(1);
}

/* 按下态 */
.custom-cursor-ring.is-down {
  background: rgba(161, 133, 109, .24);
  border-color: var(--gold-deep);
}
