/* ============================================================================
   灰象官网 · 暗色作品集版（首页）
   ---------------------------------------------------------------------------
   配色沿用已定稿的「灰象暗色变体」：
     底色照抄参考稿 #0C0C0C，主文字换暖灰承接品牌暖调，
     强调色用灰象金系替掉参考稿的品红橙渐变。
   结构语言：大字号 / 大留白 / 细发丝线 / 大圆角 / 克制的入场动效。
   ========================================================================== */

/* ---------- 1. Token ---------- */
:root {
  --bg:        #0C0C0C;
  --bg-2:      #121110;
  --bg-3:      #171614;
  --line:      rgba(250, 245, 237, .10);
  --line-soft: rgba(250, 245, 237, .06);
  --fg:        #D9CFC2;
  --fg-dim:    #8E867A;
  --fg-faint:  #6B655C;
  --gold:      #A1856D;
  --gold-1:    #8C6B49;
  --gold-2:    #DCC4A4;
  --coral:     #FF7A8C;
  --paper:     #FAF5ED;

  --grad-title: linear-gradient(180deg, #8C6B49 0%, #DCC4A4 100%);
  --grad-btn:   linear-gradient(123deg, #3A2A1C 7%, #B08F72 37%, #94836F 72%, #D4B183 100%);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --fs-body:   clamp(.95rem, 1.15vw, 1.05rem);   /* 正文级 · 并排文本统一取值 */
  --r-pill: 999px;

  --pad-x: clamp(1.25rem, 4vw, 4.5rem);
  --sec-y: clamp(4.5rem, 11vh, 9rem);
  --maxw: 1360px;

  --ease: cubic-bezier(.25, .1, .25, 1);
  --font: 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --font-num: 'Kanit', 'Noto Sans SC', sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: rgba(161, 133, 109, .35); color: var(--paper); }

/* 极细颗粒，避免大面积纯黑发死 */
body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 1;
  opacity: .022; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 2. 通用排版 ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x); }
.sec { padding: var(--sec-y) 0; position: relative; }
/* 固定导航遮挡补偿 */
[id] { scroll-margin-top: 92px; }
.sec--line { border-top: 1px solid var(--line-soft); }

.eyebrow {
  font-family: var(--font-num);
  font-size: .688rem; font-weight: 500;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold);
}
.sec-title {
  font-size: clamp(1.9rem, 4.4vw, 3.6rem);
  font-weight: 900; line-height: 1.18; letter-spacing: -.02em;
  color: var(--fg);
}
.sec-title--grad {
  background: var(--grad-title); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.sec-sub { color: var(--fg-dim); font-size: clamp(.875rem, 1.15vw, 1rem); line-height: 1.9; max-width: 46ch; }
.sec-head { display: flex; flex-direction: column; gap: 1.1rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head--row { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }

/* ---------- 3. 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  border-radius: var(--r-pill);
  font-size: .813rem; font-weight: 500; letter-spacing: .14em;
  padding: .85rem 2.1rem; white-space: nowrap;
  transition: filter .25s ease, transform .25s ease, border-color .25s ease, background-color .25s ease;
}
.btn--primary {
  color: #fff; background: var(--grad-btn);
  box-shadow: 0 4px 4px rgba(161, 133, 109, .32), 4px 4px 12px #7A6248 inset;
  outline: 2px solid var(--paper); outline-offset: -3px;
}
.btn--primary:hover { filter: brightness(1.12); transform: translateY(-2px); }
.btn--ghost { color: var(--fg); border: 1px solid var(--line); background: rgba(250, 245, 237, .03); }
.btn--ghost:hover { border-color: rgba(250, 245, 237, .28); background: rgba(250, 245, 237, .07); transform: translateY(-2px); }
.btn--sm { padding: .6rem 1.4rem; font-size: .75rem; }

/* ==========================================================================
   4. 导航
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 60;
  transition: background-color .35s ease, backdrop-filter .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(12, 12, 12, .78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line-soft);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  height: 76px; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x);
}
.nav__logo img { height: 30px; width: auto; }
.nav__links { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.4rem); }
.nav__links a {
  font-size: .875rem; font-weight: 500; letter-spacing: .06em;
  color: var(--fg); position: relative; padding: .35rem 0; transition: opacity .25s ease;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold-2); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__links a:hover { opacity: .8; }
.nav__right { display: flex; align-items: center; gap: 1rem; }
.nav__burger { display: none; width: 40px; height: 40px; position: relative; }
.nav__burger span {
  position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--fg);
  transition: transform .3s var(--ease), opacity .3s ease;
}
.nav__burger span:nth-child(1) { top: 15px; }
.nav__burger span:nth-child(2) { top: 20px; }
.nav__burger span:nth-child(3) { top: 25px; }
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.nav__drawer {
  display: none; flex-direction: column; gap: .25rem;
  padding: 0 var(--pad-x) 1.75rem;
  background: rgba(12, 12, 12, .97);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav__drawer a { padding: .9rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--line-soft); }
.nav.is-open .nav__drawer { display: flex; }

@media (max-width: 1023px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__inner { height: 66px; }
}

/* ==========================================================================
   5. Hero
   ========================================================================== */
.hero {
  position: relative; min-height: 100dvh;
  display: flex; flex-direction: column;
  padding-top: 76px; overflow: hidden;
}
.hero__top { padding-top: clamp(.5rem, 2vh, 1.75rem); text-align: center; }
.hero__title {
  font-size: 15vw; font-weight: 900; line-height: 1;
  letter-spacing: -.03em; white-space: nowrap; text-align: center;
  margin-top: .6rem;
  background: var(--grad-title); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero__title-2 {
  text-align: center; font-weight: 300; letter-spacing: .16em;
  font-size: clamp(.8rem, 1.55vw, 1.6rem); color: var(--fg);
  margin-top: clamp(.6rem, 1.6vw, 1.4rem);
}
/* 纵向锚定策略：窄屏以顶部百分比定位（居中于标题与底栏之间），
   宽屏改为贴底定位——避免矮屏把角色压到底栏上，也避免高屏中部留出大片空白 */
.hero__visual {
  position: absolute; left: 50%; transform: translateX(-50%);
  top: 31%; width: min(74vw, 300px); z-index: 10; pointer-events: none;
}
@media (min-width: 640px)  { .hero__visual { top: auto; bottom: 104px; width: 380px; } }
@media (min-width: 768px)  { .hero__visual { bottom: 118px; width: 460px; } }
@media (min-width: 1024px) { .hero__visual { bottom: clamp(96px, 14vh, 132px); width: min(48vw, 520px); } }
.hero__visual video, .hero__visual img {
  width: 100%; height: auto; aspect-ratio: 616 / 658; object-fit: contain;
  will-change: transform; transition: transform .6s ease-in-out; transform: translateZ(0);
}
.hero__bottom {
  margin-top: auto; display: grid; grid-template-columns: 1fr; justify-items: center;
  gap: 1rem; padding: 0 var(--pad-x) clamp(2rem, 5vh, 3rem); position: relative; z-index: 20;
}
.hero__slogan {
  font-weight: 300; letter-spacing: .06em; line-height: 1.45;
  font-size: clamp(.8rem, 1.3vw, 1.35rem); white-space: nowrap; text-align: center;
}
.hero__actions { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 1.1rem; transform: translateX(-50%);
  z-index: 20; font-family: var(--font-num); font-size: .625rem; letter-spacing: .3em;
  color: var(--fg-faint); text-transform: uppercase;
}

@media (min-width: 1024px) {
  .hero__bottom {
    grid-template-columns: 1fr auto 1fr; justify-items: stretch;
    align-items: end; gap: 1rem; padding: 0 var(--pad-x) 3rem;
  }
  .hero__slogan { grid-column: 2; }
  .hero__actions { grid-column: 3; justify-self: end; }
}

/* ==========================================================================
   6. 案例影像滚动带
   ========================================================================== */
.marquee { padding: clamp(1.5rem, 4vh, 3rem) 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); overflow: hidden; }
.marquee__row { display: flex; width: max-content; animation: slide-left 62s linear infinite; }
.marquee__row--rev { animation-name: slide-right; animation-duration: 74s; margin-top: 14px; }
.marquee:hover .marquee__row { animation-play-state: paused; }
.marquee__track { display: flex; gap: 14px; padding-right: 14px; }
.marquee figure {
  width: clamp(240px, 26vw, 380px); aspect-ratio: 16 / 10; flex: none;
  border-radius: var(--r-md); overflow: hidden; background: var(--bg-3);
}
.marquee img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.82) brightness(.86); transition: filter .5s ease, transform .8s var(--ease);
}
.marquee figure:hover img { filter: none; transform: scale(1.045); }
@keyframes slide-left  { from { transform: translateX(0); }    to { transform: translateX(-50%); } }
@keyframes slide-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ==========================================================================
   7. 灰象故事
   ========================================================================== */
.story__grid { display: grid; gap: clamp(2rem, 5vw, 4.5rem); grid-template-columns: 1fr; }
/* line-break: strict —— 收紧 CJK 禁则，窄屏万一自然折行时标点也不会悬挂到行首 */
.story__body p { color: var(--fg-dim); line-height: 2; font-size: var(--fs-body); line-break: strict; }
.story__body p + p { margin-top: 1.4rem; }
.story__card {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem); background: linear-gradient(160deg, rgba(250,245,237,.045), rgba(250,245,237,.012));
}
.story__card h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: .06em; margin-bottom: .9rem; color: var(--gold-2); }
.story__card p { color: var(--fg-dim); font-size: var(--fs-body); line-height: 2; }
@media (min-width: 900px) { .story__grid { grid-template-columns: 1fr 1fr; align-items: start; } }

/* ==========================================================================
   8. 核心能力（四力）
   ========================================================================== */
.core__grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); grid-template-columns: 1fr; align-items: center; }
.core__col { display: grid; gap: clamp(1.4rem, 3vw, 2.4rem); }
.core__item { border-top: 1px solid var(--line); padding-top: 1.1rem; }
.core__item h4 { font-size: clamp(1rem, 1.5vw, 1.2rem); font-weight: 700; letter-spacing: .03em; }
.core__item h4 span { font-family: var(--font-num); color: var(--gold); font-size: .75rem; margin-right: .6rem; vertical-align: .12em; }
.core__item p { color: var(--fg-dim); font-size: .875rem; margin-top: .4rem; }
.core__center { display: flex; align-items: center; justify-content: center; padding: 1rem 0; }
.core__center img { width: clamp(110px, 13vw, 168px); opacity: .92; }
@media (min-width: 900px) { .core__grid { grid-template-columns: 1fr auto 1fr; } }

/* ==========================================================================
   9. 服务内容
   ========================================================================== */
.svc__grid { display: grid; gap: clamp(1rem, 1.6vw, 1.4rem); grid-template-columns: 1fr; }
@media (min-width: 700px)  { .svc__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .svc__grid { grid-template-columns: repeat(4, 1fr); } }

.svc {
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 2.4vw, 2rem);
  background: var(--bg-2); display: flex; flex-direction: column; gap: 1rem;
  transition: border-color .35s ease, transform .35s var(--ease), background-color .35s ease;
}
.svc:hover { border-color: rgba(220, 196, 164, .38); transform: translateY(-4px); background: var(--bg-3); }
.svc__icon { width: 48px; height: 48px; }
.svc h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: .04em; }
.svc__desc { color: var(--gold-2); font-size: .813rem; letter-spacing: .04em; }
.svc__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; }
.svc__tags span {
  font-size: .688rem; letter-spacing: .06em; padding: .28rem .7rem; border-radius: var(--r-pill);
  border: 1px solid var(--line); color: var(--fg-dim);
}
.svc__tags span.is-solid { border-color: transparent; background: rgba(161, 133, 109, .18); color: var(--gold-2); }
.svc__detail { font-size: .813rem; color: var(--fg-faint); line-height: 1.85; border-top: 1px solid var(--line-soft); padding-top: .9rem; }

/* ==========================================================================
   10. 四大业务主线
   ========================================================================== */
.biz__grid { display: grid; gap: clamp(1rem, 1.6vw, 1.4rem); grid-template-columns: 1fr; }
@media (min-width: 700px)  { .biz__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .biz__grid { grid-template-columns: repeat(4, 1fr); } }

.biz {
  position: relative; display: flex; flex-direction: column; gap: .9rem; min-height: 340px;
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  padding: clamp(1.5rem, 2.4vw, 2rem);
  background: linear-gradient(165deg, rgba(250, 245, 237, .05), rgba(250, 245, 237, .012));
  transition: transform .4s var(--ease), border-color .4s ease;
}
/* 底纹：品牌自有业务横幅低透明度垫底，压一层暗渐变保证文字可读 */
.biz__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.biz__bg img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .17; filter: saturate(.6) brightness(.85);
  transition: opacity .5s ease, transform .8s var(--ease);
}
.biz:hover .biz__bg img { opacity: .26; transform: scale(1.04); }
.biz::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(172deg, rgba(12,12,12,.52) 0%, rgba(12,12,12,.86) 58%, rgba(12,12,12,.95) 100%);
}
.biz::before {
  content: ''; position: absolute; inset: 0; z-index: 1; opacity: 0; transition: opacity .45s ease;
  background: radial-gradient(120% 90% at 82% 8%, rgba(161, 133, 109, .26), transparent 62%);
}
.biz:hover { transform: translateY(-5px); border-color: rgba(220, 196, 164, .34); }
.biz:hover::before { opacity: 1; }
.biz > *:not(.biz__bg) { position: relative; z-index: 2; }
.biz__num { font-family: var(--font-num); font-size: .813rem; letter-spacing: .22em; color: var(--gold); }
.biz h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 900; letter-spacing: .08em; }
.biz__name { font-size: .875rem; color: var(--gold-2); letter-spacing: .04em; }
.biz p { font-size: .813rem; color: var(--fg-dim); line-height: 1.9; }
.biz__link { margin-top: auto; font-size: .75rem; letter-spacing: .16em; color: var(--fg); display: flex; align-items: center; gap: .5rem; }
.biz__link::after { content: '→'; transition: transform .35s var(--ease); }
.biz:hover .biz__link::after { transform: translateX(5px); }

/* ==========================================================================
   11. 案例精选（瀑布流 + 灯箱）
   —— 2026-09-24：案例区改为纯图展示（20 张），不带业务线/案例名文案。
      随之删除三组死代码：`.filter` 系列（筛选按钮组已从 HTML 移除）、
      `.cases figcaption` 系列（文字浮层已移除）、`.cases figure.is-hidden`
      （is-hidden 只由筛选逻辑写，逻辑已删）。
      瀑布流列数、hover 放大、点击灯箱全部保留不变。
   ========================================================================== */
.cases { columns: 1; column-gap: clamp(.7rem, 1.2vw, 1.1rem); }
@media (min-width: 700px)  { .cases { columns: 2; } }
@media (min-width: 1100px) { .cases { columns: 3; } }
.cases figure {
  break-inside: avoid; margin-bottom: clamp(.7rem, 1.2vw, 1.1rem);
  position: relative; border-radius: var(--r-md); overflow: hidden; cursor: zoom-in;
  background: var(--bg-3); border: 1px solid var(--line-soft);
}
.cases img { width: 100%; height: auto; transition: transform .8s var(--ease), filter .5s ease; filter: saturate(.9) brightness(.92); }
.cases figure:hover img { transform: scale(1.035); filter: none; }

/* 灯箱 */
.lb {
  position: fixed; inset: 0; z-index: 90; display: none;
  background: rgba(6, 6, 6, .95); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.lb.is-open { display: flex; align-items: center; justify-content: center; }
.lb__img { max-width: min(92vw, 1500px); max-height: 84vh; object-fit: contain; border-radius: var(--r-sm); }
.lb__btn {
  position: absolute; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--fg); font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(250, 245, 237, .05); transition: background-color .25s ease, border-color .25s ease;
}
.lb__btn:hover { background: rgba(250, 245, 237, .14); border-color: rgba(250, 245, 237, .3); }
.lb__close { top: 1.4rem; right: 1.4rem; }
.lb__prev  { left: 1.4rem; top: 50%; margin-top: -23px; }
.lb__next  { right: 1.4rem; top: 50%; margin-top: -23px; }

/* ==========================================================================
   12. 核心团队 / 智库伙伴
   ========================================================================== */
.chips { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.chips span {
  font-size: .75rem; letter-spacing: .06em; padding: .5rem 1.1rem; border-radius: var(--r-pill);
  border: 1px solid var(--line); color: var(--fg-dim);
}

/* 立绘移出本网格后，它与任何元素都不再重叠；原 position/z-index（为「被立绘压住」而设）已成死代码，移除。 */
.team__grid { display: grid; gap: clamp(1rem, 2vw, 1.6rem); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 620px)  { .team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .team__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* 立绘移出网格后腾出的宽度，在 ≥1200px 起改为一行 5 人铺满（通栏）。
   临界点依据「每张卡 ≥200px」：(200 / 0.168) ≈ 1190.5 → 取 1200。
   1200 档卡片 201.6px、1440 档 228.48px；1000–1199 档保持 3 列（卡片 293–352px，比改动前更大）。 */
@media (min-width: 1200px) { .team__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.member { display: flex; flex-direction: column; gap: .9rem; }
.member__photo { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 3 / 4; background: var(--bg-3); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.55) brightness(.9); transition: filter .5s ease, transform .8s var(--ease); }
.member:hover .member__photo img { filter: none; transform: scale(1.04); }
.member h3 { font-size: 1rem; font-weight: 700; letter-spacing: .04em; }
.member__role { font-size: .75rem; letter-spacing: .1em; color: var(--gold); }
.member p { font-size: .781rem; color: var(--fg-dim); line-height: 1.9; }

/* —— 8.2 核心团队 · 标题区 + IP 立绘 —— */
/* 立绘与「CORE TEAM / 核心团队 / 简介」同属一个网格：窄屏单列（标题区在上、立绘在下），
   桌面两栏（文字左、立绘右）。立绘的上下间距全部由本容器的 row-gap 与 margin-bottom 承担，
   不写在 .team__duo 自己的 margin 上——元素一挪位置，写在它身上的间距就会留在原地错位。 */
.team__head {
  display: grid; grid-template-columns: minmax(0, 1fr);
  row-gap: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);   /* 接管原 .sec-head 的底部间距，值同源 */
}
/* ⚠️ 前缀不可省：.sec-head 是 8 个区块共用的基础规则（story / services / business / cases /
   team / partners / contact…），裸写 .sec-head{margin-bottom:0} 会把其余各段的留白一起清零。 */
.team__head > .sec-head { margin-bottom: 0; }

/* IP 立绘：窄屏居中缩到 70%（≥620px 为 52%），桌面撑满右栏。
   窄屏位于标题区下方、团队标签上方——由 DOM 顺序（sec-head → duo → chips）天然达成，
   不再需要 order:-1 这种「视觉提前」补丁；在单列网格里它反而会把立绘推到标题之上。
   宽度百分比以 .team__head 的列宽为基数（窄屏该列 = 整幅内容宽，与改动前数值相同）。 */
.team__duo {
  justify-self: center;
  width: 70%; max-width: 420px;
  text-align: center;
}
.team__duo-img {
  width: 100%; height: auto;
  /* 暗底投影重建：源图自带的米底柔和投影已随背景抠除；纯黑投影在 #0C0C0C 上
     不可见，改用暖色双层柔影把角色「承」住。 */
  filter: drop-shadow(0 6px 14px rgba(161, 133, 109, .20))
          drop-shadow(0 22px 38px rgba(161, 133, 109, .16));
}
.team__duo-cap {
  margin-top: .9rem;
  font-family: var(--font-num);
  font-size: .688rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold);
}

@media (min-width: 620px) { .team__duo { width: 52%; max-width: 360px; } }

/* 桌面：标题区与立绘两栏并排、顶对齐。
   align-items:start 让两栏的盒顶边重合 → 立绘顶边与「CORE TEAM」所在行盒顶边齐平。
   左栏文字位置与改动前逐像素一致：它只是盒子右边界内移，文字左对齐且受 46ch(=408.7px)
   约束，而最窄的左栏是 610px（1000 档），断行点不变。 */
@media (min-width: 1000px) {
  .team__head {
    grid-template-columns: minmax(0, 1fr) clamp(260px, 28vw, 420px);
    column-gap: clamp(1.5rem, 3vw, 3rem);
    align-items: start;   /* 不可省：默认 stretch 会把 .team__duo 拉到行高 */
    row-gap: 0;
  }
  .team__duo { width: 100%; max-width: none; justify-self: stretch; }
}

.partner__grid { display: grid; gap: clamp(1rem, 1.8vw, 1.5rem); grid-template-columns: 1fr; }
@media (min-width: 820px)  { .partner__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .partner__grid { grid-template-columns: repeat(3, 1fr); } }
.partner {
  display: flex; gap: 1.1rem; align-items: flex-start;
  border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: clamp(1.2rem, 2vw, 1.6rem);
  transition: border-color .35s ease, background-color .35s ease;
}
.partner:hover { border-color: rgba(220, 196, 164, .3); background: var(--bg-2); }
.partner__avatar { width: 62px; height: 62px; flex: none; border-radius: 50%; overflow: hidden; background: var(--bg-3); }
.partner__avatar img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.5) brightness(.92); transition: filter .45s ease; }
.partner:hover .partner__avatar img { filter: none; }
.partner h3 { font-size: .938rem; font-weight: 700; letter-spacing: .04em; }
.partner__role { font-size: .688rem; letter-spacing: .12em; color: var(--gold); margin: .15rem 0 .55rem; }
.partner p { font-size: .75rem; color: var(--fg-faint); line-height: 1.8; }

/* ==========================================================================
   13. 联系我们 / 页脚
   ========================================================================== */
.contact__grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); grid-template-columns: 1fr; }
@media (min-width: 820px) { .contact__grid { grid-template-columns: 1.35fr .65fr; align-items: center; } }
.contact__list { display: grid; gap: .25rem; }
.contact__item { display: flex; flex-direction: column; gap: .2rem; padding: 1.15rem 0; border-top: 1px solid var(--line); }
.contact__item:last-child { border-bottom: 1px solid var(--line); }
.contact__label { font-size: .688rem; letter-spacing: .24em; color: var(--gold); text-transform: uppercase; font-family: var(--font-num); }
.contact__value { font-size: clamp(1rem, 1.7vw, 1.35rem); letter-spacing: .03em; color: var(--fg); word-break: break-all; }
a.contact__item:hover .contact__value { color: var(--gold-2); }
.contact__qr { justify-self: center; text-align: center; display: flex; flex-direction: column; align-items: center; gap: .9rem; }
.contact__qr img {
  width: clamp(150px, 17vw, 200px); border-radius: var(--r-md);
  padding: 12px; background: var(--paper); border: 1px solid var(--line);
}
.contact__qr-tip { font-size: .75rem; letter-spacing: .1em; color: var(--fg-faint); }

.footer { border-top: 1px solid var(--line-soft); padding: clamp(2.5rem, 5vh, 3.5rem) 0 2.5rem; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: space-between; align-items: flex-end; }
.footer__company { font-size: .875rem; letter-spacing: .06em; }
.footer__links { display: flex; flex-wrap: wrap; gap: 1.2rem; font-size: .813rem; color: var(--fg-dim); }
.footer__links a:hover { color: var(--fg); }
.footer__copy { flex-basis: 100%; font-size: .75rem; color: var(--fg-faint); letter-spacing: .04em; font-family: var(--font-num); }

/* ==========================================================================
   14. 品牌愿景 · 阿灰出门采风（透明视频）
   ========================================================================== */
.vision { text-align: center; padding: var(--sec-y) 0; }
.vision h2 {
  font-size: clamp(1.6rem, 4.6vw, 3.9rem); font-weight: 900; line-height: 1.3; letter-spacing: -.01em;
  background: var(--grad-title); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.vision p { font-size: clamp(1.6rem, 4.6vw, 3.9rem); font-weight: 300; line-height: 1.3; color: var(--fg-faint); margin-top: .3em; }

/* 落到中部后与相邻区块同规：.vision 自带 var(--sec-y)，与 #partners / #contact
   各自的 var(--sec-y) 相加 = 2×--sec-y，与全站区块边界一致，无需位置特化 padding。
   （原 .vision--outro 变体是为「页尾」位置定制的，2026-09-24 区块上移后已成死代码，移除。） */

/* 裁切窗：aspect-ratio 与下面 3 个百分比是「一组联动值」，勿单独改。
   数值来自全帧并集实测（96 帧）：并集 x[176,633] y[68,723] = 458×656，
   加 15px 安全边距 → 窗 487×685，左上角落在源图 (161,53)。
   自检：容器宽 487 时视频渲染 768×768，可视区恰为源图 x∈[161,648] y∈[53,738]。 */
.vision__stage {
  width: min(62vw, 300px);
  margin: clamp(1.5rem, 4vh, 3rem) auto 0;
  position: relative; overflow: hidden;
  aspect-ratio: 487 / 685;
  pointer-events: none;                 /* 纯装饰，不截获点击 / 触摸 */
}
.vision__stage video, .vision__stage img {   /* img 分支是 JS 的 VP9 回落 */
  position: absolute; left: -33.06%; top: -7.737%;
  width: 157.7%;
  /* ★ 必须显式声明源素材比例（768×768）：preload="none" 时媒体无固有尺寸，
     单靠 height:auto 会塌成默认高（扁条），poster 也撑不起元素高度 */
  aspect-ratio: 1 / 1;
  height: auto;
  max-width: none;                      /* ★ 必须：覆盖全局 img,video{max-width:100%}，否则裁切失效 */
}
@media (min-width: 640px)  { .vision__stage { width: 340px; } }
@media (min-width: 768px)  { .vision__stage { width: 380px; } }
@media (min-width: 1024px) { .vision__stage { width: 420px; } }
@media (min-width: 1280px) { .vision__stage { width: 460px; } }

/* ==========================================================================
   15. 入场动效
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .09s; }
.reveal[data-d="2"] { transition-delay: .18s; }
.reveal[data-d="3"] { transition-delay: .27s; }
.reveal[data-d="4"] { transition-delay: .36s; }

.hero__top { animation: fade-up .8s var(--ease) .1s both; }
.hero__bottom { animation: fade-up .8s var(--ease) .45s both; }
.hero__visual { animation: fade-up-v .9s var(--ease) .6s both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes fade-up-v {
  from { opacity: 0; transform: translateX(-50%) translateY(28px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .marquee__row { animation: none !important; }
}
