/* =========================================================
   山大创协 SIEA 官网 · 深海启航正式版
   改文案请去 index.html；改配色改这里的 :root 变量即可
   ========================================================= */
@font-face {
  font-family: 'Smiley Sans';
  src: url('../assets/SmileySans-Oblique.woff2') format('woff2');
  font-display: swap;
}
:root {
  --bg: #04070f;
  --bg2: #071224;
  --ink: #eaf4ff;
  --dim: rgba(234, 244, 255, .58);
  --line: rgba(120, 180, 255, .16);
  --blue: #3e8bff;
  --cyan: #6fe3ff;
  --glow: rgba(62, 139, 255, .55);
  --card: rgba(120, 180, 255, .05);
  --disp: 'Smiley Sans', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --body: 'PingFang SC', 'HarmonyOS Sans SC', 'Microsoft YaHei', -apple-system, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--blue); color: #fff; }
button { font-family: inherit; }

/* ===== 自定义光标 =====
   只改 transform（JS 侧写入），centering 交给负 margin，
   避免每帧 left/top 触发排版；hover 放大用 scale 不用 width/height。 */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
  border-radius: 50%; opacity: 0;
  will-change: transform; backface-visibility: hidden;
}
body.cursor-on .cursor-dot, body.cursor-on .cursor-ring { opacity: 1; }
.cursor-dot {
  width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px;
  background: var(--cyan); box-shadow: 0 0 10px rgba(111, 227, 255, .85);
  transition: opacity .2s;
}
.cursor-ring {
  width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border: 1px solid rgba(111, 227, 255, .5);
  transition: opacity .2s, border-color .25s, background-color .25s;
}
body.hovering .cursor-ring {
  border-color: var(--cyan); background-color: rgba(111, 227, 255, .07);
}
@media (hover: none) { .cursor-dot, .cursor-ring { display: none; } }

/* 柔性卡片系统（.soft）定义在文件末尾，保证覆盖各区块自带的 transform/transition */

/* ===== 顶部导航 ===== */
nav#topnav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 42px;
  background: linear-gradient(rgba(4, 7, 15, .72), rgba(4, 7, 15, 0));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 28px; height: 28px; flex: 0 0 auto; display: block; }
.nav-logo b {
  font-family: var(--disp); font-size: 26px; letter-spacing: 1px;
  background: linear-gradient(100deg, var(--cyan), var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav-logo span { font-size: 12px; color: var(--dim); letter-spacing: 3px; }
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  color: var(--dim); text-decoration: none; font-size: 14px; letter-spacing: 2px;
  transition: color .25s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0%;
  background: linear-gradient(90deg, var(--cyan), transparent); transition: width .3s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.on { color: var(--cyan); }
.nav-links a.on::after { width: 100%; background: linear-gradient(90deg, var(--cyan), rgba(111,227,255,.15)); }
.nav-cta.on {
  border-color: rgba(111, 227, 255, .85);
  box-shadow: 0 0 22px rgba(111, 227, 255, .35);
}
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-cta {
  font-size: 13px; letter-spacing: 2px; color: #fff; text-decoration: none;
  padding: 9px 22px; border-radius: 100px;
  border: 1px solid rgba(111, 227, 255, .35);
  background: linear-gradient(100deg, rgba(62, 139, 255, .25), rgba(111, 227, 255, .12));
  transition: box-shadow .3s, transform .3s;
}
.nav-cta:hover { box-shadow: 0 0 24px var(--glow); transform: translateY(-1px); }
.nav-burger {
  display: none; flex-direction: column; gap: 6px; padding: 10px 6px;
  background: none; border: none; cursor: pointer;
}
.nav-burger i { display: block; width: 24px; height: 2px; background: var(--ink); transition: transform .3s, opacity .3s; }
body.menu-open .nav-burger i:nth-child(1) { transform: translateY(4px) rotate(45deg); }
body.menu-open .nav-burger i:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
#progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 101;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform-origin: 0 50%; transform: scaleX(0);
}

/* 移动端全屏菜单 */
.m-menu {
  position: fixed; inset: 0; z-index: 99; display: flex; flex-direction: column;
  justify-content: center; gap: 8px; padding: 0 12vw;
  background: rgba(4, 7, 15, .96); backdrop-filter: blur(20px);
  opacity: 0; pointer-events: none; transition: opacity .35s;
}
body.menu-open .m-menu { opacity: 1; pointer-events: auto; }
.m-menu a {
  color: var(--ink); text-decoration: none; font-family: var(--disp);
  font-size: 30px; padding: 10px 0; letter-spacing: 2px;
  border-bottom: 1px solid var(--line);
}
.m-menu a.m-join { color: var(--cyan); border-bottom: none; margin-top: 14px; }
@media (max-width: 960px) {
  .nav-links { display: none; }
  nav#topnav { padding: 14px 20px; }
  .nav-burger { display: flex; }
  .nav-logo span { display: none; }
}

/* ===== Hero ===== */
#hero { position: relative; height: 100vh; min-height: 640px; overflow: hidden; z-index: 1; }
.hero-stage { position: absolute; inset: 0; }
/* 一套粒子画布：首屏满幅波浪 ⇄ 滚动解体成全页星空（同一批点，fixed 常驻内容之下） */
#sea {
  position: fixed; inset: 0; width: 100%; height: 100%;
  display: block; z-index: 0; pointer-events: none;
}
.hero-halo { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.halo-1 { width: 46vw; height: 46vw; left: -12vw; top: -14vw; background: rgba(62, 139, 255, .17); }
.halo-2 { width: 34vw; height: 34vw; right: -8vw; bottom: -6vw; background: rgba(111, 227, 255, .10); }
.hero-inner {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 0 20px;
}
.hero-kicker {
  display: flex; align-items: center; gap: 14px;
  color: var(--cyan); font-size: 13px; letter-spacing: 6px; margin-bottom: 26px;
}
.hero-kicker::before, .hero-kicker::after {
  content: ''; width: 46px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan));
}
.hero-kicker::after { transform: scaleX(-1); }
h1 {
  font-family: var(--disp); font-weight: 400;
  font-size: clamp(44px, 8.4vw, 118px); line-height: 1.06; letter-spacing: 2px;
}
h1 .row { display: block; overflow: hidden; }
h1 .char { display: inline-block; transform: translateY(110%); }
.hero-sub {
  margin-top: 30px; color: var(--dim); font-size: clamp(14px, 1.6vw, 18px);
  letter-spacing: 4px; opacity: 0;
}
.hero-btns { display: flex; gap: 18px; margin-top: 46px; opacity: 0; flex-wrap: wrap; justify-content: center; }
.btn-main, .btn-ghost {
  position: relative; text-decoration: none; letter-spacing: 3px; font-size: 15px;
  padding: 15px 40px; border-radius: 100px; transition: transform .3s, box-shadow .3s;
}
.btn-main {
  color: #fff; background: linear-gradient(100deg, var(--blue), #2f6bdb);
  box-shadow: 0 6px 30px rgba(62, 139, 255, .35);
}
.btn-main:hover { transform: translateY(-3px); box-shadow: 0 10px 44px rgba(62, 139, 255, .6); }
.btn-ghost { color: var(--ink); border: 1px solid var(--line); background: rgba(120,180,255,.04); }
.btn-ghost:hover { border-color: rgba(111,227,255,.5); transform: translateY(-3px); }
.hero-scroll {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  color: var(--dim); font-size: 11px; letter-spacing: 4px; z-index: 2; text-align: center;
}
.hero-scroll .bar {
  width: 1px; height: 44px; margin: 12px auto 0;
  background: linear-gradient(var(--cyan), transparent);
  animation: drip 1.8s ease-in-out infinite;
}
@keyframes drip {
  0% { transform: scaleY(0); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== 通用 section ===== */
/* z-index 2 > #hero 的 1：所有后续幕都从首屏上方盖过去 */
section { position: relative; padding: 120px 7vw; z-index: 2; }
.sec-head { margin-bottom: 64px; }
.sec-tag {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--cyan); font-size: 12px; letter-spacing: 5px; margin-bottom: 18px;
}
.sec-tag::before { content: ''; width: 26px; height: 1px; background: var(--cyan); }
.sec-title { font-family: var(--disp); font-weight: 400; font-size: clamp(32px, 4.6vw, 58px); letter-spacing: 1px; }
.sec-title em, .belief-strong em, .join-box h2 em {
  font-style: normal;
  background: linear-gradient(96deg, var(--cyan), var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sec-desc { margin-top: 16px; color: var(--dim); max-width: 640px; line-height: 1.9; font-size: 15px; }
.reveal { opacity: 0; transform: translateY(46px); }

/* ===== 数字创协 ===== */
#stats { padding-top: 90px; padding-bottom: 70px; }
.stat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
}
.stat {
  background: linear-gradient(160deg, rgba(10, 20, 40, .9), rgba(5, 10, 22, .9));
  padding: 44px 30px; position: relative; overflow: hidden;
}
.stat b {
  font-family: var(--disp); font-weight: 400; font-size: clamp(38px, 4.4vw, 62px);
  background: linear-gradient(180deg, #fff, #9cc8ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat small { font-size: 20px; color: var(--cyan); font-family: var(--disp); }
.stat p { margin-top: 10px; color: var(--dim); font-size: 14px; letter-spacing: 2px; }
@media (max-width: 900px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
/* 荣誉带：与数字网格同宽的 4 列均衡卡片 */
.honor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 16px; }
.honor-card {
  border: 1px solid var(--line); border-radius: 16px; padding: 22px 20px;
  background: linear-gradient(160deg, rgba(10, 20, 40, .72), rgba(5, 10, 22, .72));
  display: flex; flex-direction: column;
}
.honor-card .h-ico {
  width: 32px; height: 32px; color: var(--cyan); margin-bottom: 14px;
  transition: filter .35s;
}
.honor-card:hover .h-ico { filter: drop-shadow(0 0 10px rgba(111, 227, 255, .6)); }
.honor-card b {
  font-family: var(--disp); font-weight: 400; font-size: 20px; letter-spacing: 1px;
}
.honor-card span { margin-top: 6px; color: var(--dim); font-size: 12.5px; letter-spacing: 1px; line-height: 1.7; }
@media (max-width: 900px) { .honor-grid { grid-template-columns: 1fr 1fr; } }

/* ===== 我们相信 ===== */
#belief { padding-top: 90px; padding-bottom: 90px; }
.belief-text {
  font-family: var(--disp); font-weight: 400;
  font-size: clamp(28px, 4.2vw, 54px); line-height: 1.5; letter-spacing: 1px;
  max-width: 1080px;
}
.belief-text .w { color: rgba(234, 244, 255, .16); transition: color .2s; }
.belief-strong {
  margin-top: 40px; font-family: var(--disp);
  font-size: clamp(20px, 2.4vw, 30px); color: var(--ink); letter-spacing: 1px;
}

/* ===== 品牌活动：自由横滑 ===== */
#acts { padding-left: 0; padding-right: 0; }
.acts-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; padding: 0 7vw; margin-bottom: 44px;
}
.acts-arrows { display: flex; gap: 12px; }
.arr {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(120, 180, 255, .05);
  color: var(--ink); font-size: 19px; cursor: pointer;
  transition: border-color .3s, background .3s, transform .2s, opacity .3s;
}
.arr:hover { border-color: rgba(111, 227, 255, .55); background: rgba(120, 180, 255, .12); transform: translateY(-2px); }
.arr:disabled { opacity: .3; cursor: default; transform: none; }
.acts-viewport {
  overflow-x: auto; overflow-y: hidden;
  cursor: grab;
  scrollbar-width: none; -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.acts-viewport::-webkit-scrollbar { display: none; }
.acts-viewport.dragging { cursor: grabbing; scroll-behavior: auto; }
/* 顶部/底部留白必须大于卡片上浮量，否则悬停时会被 viewport 裁掉（截断） */
.acts-track { display: flex; gap: 26px; padding: 34px 7vw 46px; width: max-content; }
.act-card {
  flex: 0 0 clamp(300px, 34vw, 430px); border-radius: 22px; padding: 38px 34px;
  min-height: 390px; display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--card); border: 1px solid var(--line); position: relative; overflow: hidden;
  user-select: none; -webkit-user-select: none;
}
.act-num {
  position: absolute; top: 26px; right: 30px; font-family: var(--disp);
  font-size: 60px; color: rgba(120, 180, 255, .14);
}
.act-ico {
  width: 58px; height: 58px; margin-bottom: auto;
  display: grid; place-items: center; border-radius: 16px;
  border: 1px solid rgba(111, 227, 255, .26);
  background: linear-gradient(150deg, rgba(111, 227, 255, .13), rgba(62, 139, 255, .04));
  color: var(--cyan);
  transition: border-color .35s, box-shadow .35s;
}
.act-ico svg { width: 27px; height: 27px; display: block; }
.act-card:hover .act-ico {
  border-color: rgba(111, 227, 255, .62);
  box-shadow: 0 0 26px rgba(111, 227, 255, .2);
}
.act-card h3 { font-family: var(--disp); font-weight: 400; font-size: 30px; margin: 20px 0 6px; }
.act-card .en { color: var(--cyan); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; }
.act-card p { margin-top: 14px; color: var(--dim); font-size: 14px; line-height: 1.85; }
.act-card::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0); transform-origin: left; transition: transform .45s;
}
.act-card:hover::after { transform: scaleX(1); }
.acts-progress { margin: 34px 7vw 0; height: 2px; background: var(--line); border-radius: 2px; }
.acts-progress i {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--cyan)); border-radius: 2px;
}

/* ===== 时间线 ===== */
#story .timeline { position: relative; margin-top: 20px; }
.tl-rail { position: absolute; left: 19px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.tl-rail i {
  display: block; width: 100%; height: 0%;
  background: linear-gradient(var(--cyan), var(--blue));
  box-shadow: 0 0 12px var(--glow);
}
.tl-item { position: relative; padding: 0 0 66px 74px; }
.tl-item:last-child { padding-bottom: 10px; }
.tl-dot {
  position: absolute; left: 12px; top: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--cyan); box-shadow: 0 0 14px var(--glow);
}
.tl-year { font-family: var(--disp); font-size: 42px; color: var(--cyan); line-height: 1; }
.tl-item h3 { font-size: 21px; margin: 12px 0 8px; letter-spacing: 1px; }
.tl-item p { color: var(--dim); font-size: 14.5px; line-height: 1.9; max-width: 660px; }
.tl-item .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tl-item .tags span {
  font-size: 12px; color: var(--cyan); letter-spacing: 1px;
  border: 1px solid rgba(111, 227, 255, .3); padding: 4px 12px; border-radius: 100px;
}

/* ===== 孵化成果 ===== */
.inc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; perspective: 1200px; }
.inc-card {
  border-radius: 22px; border: 1px solid var(--line); background: var(--card);
  padding: 38px 32px; min-height: 300px; transform-style: preserve-3d;
  transition: border-color .3s; position: relative; overflow: hidden;
}
.inc-kind { color: var(--cyan); font-size: 11px; letter-spacing: 4px; }
.inc-card h3 { font-family: var(--disp); font-weight: 400; font-size: 32px; margin: 16px 0 10px; }
.inc-card p { color: var(--dim); font-size: 14px; line-height: 1.9; }
.inc-num { display: flex; gap: 26px; margin-top: 24px; }
.inc-num div b { font-family: var(--disp); font-size: 26px; color: var(--cyan); display: block; }
.inc-num div span { font-size: 12px; color: var(--dim); }
@media (max-width: 900px) { .inc-grid { grid-template-columns: 1fr; } }

/* ===== 伙伴 marquee ===== */
#partners { padding-left: 0; padding-right: 0; }
#partners .sec-head { padding: 0 7vw; }
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 0; }
.marquee + .marquee { border-top: none; }
.marquee-track { display: flex; gap: 70px; width: max-content; animation: roll 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee.rev .marquee-track { animation-direction: reverse; }
@keyframes roll { to { transform: translateX(-50%); } }
.marquee span {
  font-family: var(--disp); font-size: 30px; color: rgba(234, 244, 255, .34);
  letter-spacing: 2px; white-space: nowrap; transition: color .3s; cursor: default;
}
.marquee span:hover { color: var(--cyan); }
.marquee b { color: rgba(111, 227, 255, .5); font-size: 16px; align-self: center; }

/* ===== 四大部门 ===== */
.dept-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.dept {
  --dc: var(--cyan);
  position: relative; overflow: hidden; text-align: left;
  display: flex; flex-direction: column; gap: 0;
  border: 1px solid var(--line); border-radius: 18px; padding: 30px 26px;
  background: var(--card); color: var(--ink); cursor: pointer;
  transition: transform .35s, border-color .35s, background .35s, box-shadow .35s;
}
.dept::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--dc), transparent);
  transform: scaleX(0); transform-origin: left; transition: transform .45s;
}
.dept:hover::before { transform: scaleX(1); }
.dept:hover {
  border-color: rgba(111, 227, 255, .45);
  background: rgba(120, 180, 255, .09); box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
}
.dept-idx {
  font-family: var(--disp); font-size: 15px; color: var(--dc);
  letter-spacing: 3px; margin-bottom: 18px; opacity: .85;
}
.dept .cn { font-family: var(--disp); font-size: 26px; }
.dept .alias { color: var(--dc); font-size: 12px; letter-spacing: 2px; margin: 8px 0 14px; display: block; }
.dept .d-desc { color: var(--dim); font-size: 13.5px; line-height: 1.8; display: block; }
.dept .d-open {
  margin-top: 20px; font-size: 12px; letter-spacing: 2px; color: var(--dim);
  display: inline-flex; align-items: center; gap: 8px; transition: color .3s;
}
.dept .d-open i { font-style: normal; transition: transform .3s; }
.dept:hover .d-open { color: var(--dc); }
.dept:hover .d-open i { transform: translateX(6px); }
.dept-wide {
  margin-top: 20px; width: 100%; flex-direction: row; align-items: center; gap: 30px;
  padding: 30px 34px;
}
.dept-wide .dept-idx { margin-bottom: 0; font-size: 22px; }
.dept-wide-main { flex: 1; display: flex; flex-direction: column; }
.dept-wide .d-open { margin-top: 0; white-space: nowrap; }
.dept[data-dept="proj"]  { --dc: #6fe3ff; }
.dept[data-dept="brand"] { --dc: #ffc46b; }
.dept[data-dept="hr"]    { --dc: #ff8fb8; }
.dept[data-dept="media"] { --dc: #7dffcf; }
.dept[data-dept="lab"]   { --dc: #b79bff; }
@media (max-width: 960px) {
  .dept-grid { grid-template-columns: repeat(2, 1fr); }
  .dept-wide { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 560px) { .dept-grid { grid-template-columns: 1fr; } }

/* ===== 加入我们 ===== */
#join { padding-bottom: 100px; }
.join-box { text-align: center; padding: 20px 0 10px; }
.join-box h2 { font-family: var(--disp); font-weight: 400; font-size: clamp(36px, 5.4vw, 72px); line-height: 1.25; }
.join-box p { color: var(--dim); margin: 18px 0 20px; letter-spacing: 3px; }
.join-steps {
  display: flex; align-items: stretch; justify-content: center; gap: 18px;
  max-width: 1020px; margin: 40px auto 0; flex-wrap: wrap;
}
.jstep {
  flex: 1; min-width: 220px; border: 1px solid var(--line); border-radius: 18px;
  background: var(--card); padding: 30px 26px; text-align: left;
}
.jstep b {
  font-family: var(--disp); font-size: 30px;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.jstep h4 { font-size: 18px; margin: 12px 0 8px; letter-spacing: 1px; }
.jstep p { color: var(--dim); font-size: 13.5px; line-height: 1.8; }
/* 三步连线：滚动到加入区时从 01 一路画到 03 */
.jstep-line {
  align-self: center; width: 46px; height: 2px; border-radius: 2px;
  background: rgba(120, 180, 255, .16); position: relative; overflow: hidden;
}
.jstep-line i {
  position: absolute; inset: 0; display: block;
  transform: scaleX(0); transform-origin: left center;
  background: linear-gradient(90deg, var(--cyan), rgba(62, 139, 255, .5));
  box-shadow: 0 0 12px rgba(111, 227, 255, .55);
}
@media (max-width: 760px) { .jstep-line { display: none; } }
.join-cta { text-align: center; margin-top: 54px; }
.btn-join {
  display: inline-block; text-decoration: none; color: #fff; font-size: 17px; letter-spacing: 4px;
  padding: 20px 64px; border-radius: 100px;
  background: linear-gradient(100deg, var(--blue), #2f6bdb 60%, var(--cyan));
  background-size: 200% 100%; background-position: 0% 0%;
  box-shadow: 0 8px 40px rgba(62, 139, 255, .4);
  transition: background-position .5s, transform .3s, box-shadow .3s;
}
.btn-join:hover {
  background-position: 100% 0%; transform: translateY(-4px) scale(1.02);
  box-shadow: 0 14px 60px rgba(62, 139, 255, .65);
}
.join-note { margin-top: 18px; color: var(--dim); font-size: 12.5px; letter-spacing: 2px; }

/* ===== 页脚 ===== */
footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--line); padding: 44px 7vw 60px;
  display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px;
}
footer .f-logo {
  font-family: var(--disp); font-size: 30px;
  background: linear-gradient(100deg, var(--cyan), var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
footer p { color: var(--dim); font-size: 13px; line-height: 2; }
footer .right { text-align: right; }

/* ===== 部门深潜面板 ===== */
#deptOverlay {
  position: fixed; inset: 0; z-index: 200;
  background: radial-gradient(120% 120% at 20% 0%, #0a1830 0%, #04070f 55%);
  visibility: hidden; pointer-events: none;
}
#deptOverlay.open { visibility: visible; pointer-events: auto; }
#bubbles { position: absolute; inset: 0; width: 100%; height: 100%; }
.ov-frame { position: relative; z-index: 2; height: 100%; }
.ov-scroll {
  height: 100%; overflow-y: auto; padding: clamp(80px, 12vh, 130px) 8vw 60px;
  scrollbar-width: none;
  /* 手机端滚动三件套：容器内滚动不外溢滚动链、iOS 惯性、纵向手势归浏览器
     （配合 index.html 里 .ov-scroll[data-lenis-prevent]：停摆的 Lenis 不再 preventDefault 面板内 touchmove） */
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}
.ov-scroll::-webkit-scrollbar { display: none; }
.ov-close {
  position: absolute; top: 26px; right: 30px; z-index: 5;
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(120, 180, 255, .06);
  color: var(--ink); font-size: 17px; cursor: pointer;
  transition: border-color .3s, transform .3s, background .3s;
}
.ov-close:hover { border-color: var(--dc, var(--cyan)); transform: rotate(90deg); background: rgba(120, 180, 255, .14); }
.ov-watermark {
  position: absolute; top: 4vh; right: 4vw; z-index: 0;
  font-family: var(--disp); font-size: clamp(160px, 26vw, 380px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(120, 180, 255, .12);
  pointer-events: none; user-select: none;
}
.ov-head { position: relative; z-index: 1; max-width: 900px; }
.ov-en { color: var(--dc, var(--cyan)); font-size: 13px; letter-spacing: 6px; }
.ov-name {
  font-family: var(--disp); font-weight: 400;
  font-size: clamp(44px, 7vw, 96px); line-height: 1.1; margin-top: 14px;
}
.ov-name .char { display: inline-block; }
.ov-slogan {
  margin-top: 12px; font-family: var(--disp); font-size: clamp(18px, 2.2vw, 26px);
  color: var(--dc, var(--cyan)); letter-spacing: 2px;
}
.ov-role { margin-top: 20px; color: var(--dim); font-size: 15px; line-height: 1.95; max-width: 700px; }
.ov-cols {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 54px;
}
.ov-col {
  border: 1px solid var(--line); border-radius: 18px; padding: 28px 24px;
  background: rgba(120, 180, 255, .04); position: relative; overflow: hidden;
}
.ov-col::before {
  content: ''; position: absolute; inset: 0 auto 0 0; width: 3px;
  background: linear-gradient(var(--dc, var(--cyan)), transparent);
}
.ov-col i {
  font-style: normal; font-size: 11px; letter-spacing: 4px; color: var(--dc, var(--cyan));
}
.ov-col h4 { font-family: var(--disp); font-weight: 400; font-size: 22px; margin: 14px 0 10px; }
.ov-col p { color: var(--dim); font-size: 13.5px; line-height: 1.9; }
.ov-fit { position: relative; z-index: 1; margin-top: 44px; }
.ov-fit-label { color: var(--dim); font-size: 12px; letter-spacing: 4px; }
.ov-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.ov-tags span {
  font-size: 13px; letter-spacing: 1px; color: var(--ink);
  border: 1px solid var(--line); border-radius: 100px; padding: 8px 18px;
  background: rgba(120, 180, 255, .05);
}
.ov-tags span b { color: var(--dc, var(--cyan)); font-weight: 400; }
.ov-nav {
  position: relative; z-index: 1; margin-top: 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-top: 1px solid var(--line); padding-top: 26px;
}
.ov-nav button {
  background: none; border: 1px solid var(--line); color: var(--dim);
  border-radius: 100px; padding: 12px 26px; font-size: 13px; letter-spacing: 2px;
  cursor: pointer; transition: color .3s, border-color .3s, transform .3s;
}
.ov-nav button:hover { color: var(--ink); border-color: var(--dc, var(--cyan)); transform: translateY(-2px); }
#ovPos { color: var(--dim); font-size: 12px; letter-spacing: 3px; font-family: var(--disp); }
@media (max-width: 860px) {
  .ov-cols { grid-template-columns: 1fr; }
  .ov-watermark { top: auto; bottom: 2vh; }
  .ov-nav { flex-wrap: wrap; }
}

/* ===== 动效降级 ===== */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  h1 .char { transform: none; }
  .hero-sub, .hero-btns { opacity: 1; }
  .marquee-track { animation: none; }
  .card3d { transition: none; }
  .draw-stage.charge, .draw-stage.settle { animation: none; }
}

/* ===== 二级页通用 ===== */
.page-hero {
  padding: 150px 7vw 70px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; width: 52vw; height: 52vw; border-radius: 50%;
  left: -16vw; top: -22vw; filter: blur(90px); pointer-events: none;
  background: rgba(62, 139, 255, .16);
}
.page-hero .sec-title { position: relative; }
.page-hero .sec-desc { position: relative; max-width: 720px; }
.crumb {
  position: relative;
  color: var(--dim); font-size: 12px; letter-spacing: 3px; margin-bottom: 22px;
}
.crumb a { color: var(--cyan); text-decoration: none; }
.inner-footer-qr { display: flex; align-items: center; gap: 18px; }
.inner-footer-qr img {
  width: 88px; height: 88px; border-radius: 10px;
  border: 1px solid var(--line); background: #04070f;
}
.qr-hint { font-size: 12px; color: var(--dim); letter-spacing: 1px; line-height: 1.8; }

/* ===== 加入区二维码 ===== */
.join-codes {
  display: flex; justify-content: center; gap: 28px; flex-wrap: wrap;
  margin-top: 42px;
}
.qr-card {
  width: 230px; text-align: center;
  border: 1px solid var(--line); border-radius: 18px; padding: 28px 18px 22px;
  background: var(--card);
}
/* 二维码扫描仪：四角取景框 + 悬停扫描线 */
.qr-shell { position: relative; width: 148px; margin: 0 auto 18px; }
.qr-shell img {
  width: 148px; height: 148px; border-radius: 12px;
  background: #04070f; display: block;
  filter: brightness(.82) contrast(1.05); transition: filter .4s;
}
.qr-card:hover .qr-shell img { filter: brightness(1) contrast(1); }
.qr-shell::before {
  content: ''; position: absolute; inset: -11px; pointer-events: none;
  opacity: .42; transition: opacity .35s;
  background:
    linear-gradient(var(--cyan), var(--cyan)) left top / 2px 20px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) left top / 20px 2px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) right top / 2px 20px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) right top / 20px 2px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) left bottom / 2px 20px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) left bottom / 20px 2px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) right bottom / 2px 20px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) right bottom / 20px 2px no-repeat;
}
.qr-card:hover .qr-shell::before { opacity: 1; }
/* 扫描线常驻循环（2026-08-30 用户拍板：不 hover 也一直上下扫）；两卡错峰更有机 */
.qr-shell::after {
  content: ''; position: absolute; left: 2px; right: 2px; top: 2px; height: 2px;
  border-radius: 2px; pointer-events: none; opacity: 1;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 16px rgba(111, 227, 255, .85);
  animation: qrScan 2.6s cubic-bezier(.55, 0, .45, 1) infinite;
}
.qr-card:nth-child(2) .qr-shell::after { animation-delay: -1.3s; }
@keyframes qrScan {
  0% { transform: translateY(0); }
  50% { transform: translateY(142px); }
  100% { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) { .qr-shell::after { animation: none; opacity: 0; } }
.qr-card b { display: block; font-family: var(--disp); font-size: 16px; letter-spacing: 1px; }
.qr-card p { color: var(--dim); font-size: 12.5px; line-height: 1.7; margin-top: 6px; }
.join-cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.btn-ghost-lg {
  display: inline-block; text-decoration: none; color: var(--ink);
  letter-spacing: 3px; font-size: 15px; padding: 18px 36px; border-radius: 100px;
  border: 1px solid var(--line); background: rgba(120,180,255,.04);
  transition: transform .3s, border-color .3s;
}
.btn-ghost-lg:hover { transform: translateY(-3px); border-color: rgba(111,227,255,.5); }

/* ===== 活动库 ===== */
.filters {
  display: flex; flex-wrap: wrap; gap: 10px; margin: -20px 0 40px;
}
.chip {
  border: 1px solid var(--line); background: rgba(120,180,255,.04);
  color: var(--dim); border-radius: 100px; padding: 8px 16px;
  font-size: 13px; letter-spacing: 1px; cursor: pointer;
  transition: color .25s, border-color .25s, background .25s;
}
.chip.on, .chip:hover { color: var(--ink); border-color: rgba(111,227,255,.5); background: rgba(62,139,255,.16); }
.act-lib {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  /* 精选卡跨 2 列，普通卡回填右列，避免空洞 */
  grid-auto-flow: dense;
}
.al-card {
  border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px;
  background: var(--card); min-height: 210px;
  display: flex; flex-direction: column; gap: 10px;
  position: relative; overflow: hidden;
  transition: transform .3s, border-color .3s;
}
.al-card:hover { border-color: rgba(111,227,255,.4); }
/* 档案缩略图：出血到卡片左右上边缘，16:9 cover，悬停微放大 */
.al-card .al-ph {
  margin: -26px -24px 6px; position: relative; overflow: hidden;
  aspect-ratio: 16 / 9; background: rgba(120, 180, 255, .06);
}
.al-card .al-ph img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1.01);
  transition: transform .7s cubic-bezier(.2, .7, .3, 1);
}
.al-card:hover .al-ph img { transform: scale(1.055); }
.al-card .when { color: var(--cyan); font-size: 12px; letter-spacing: 2px; }
.al-card h3 { font-family: var(--disp); font-weight: 400; font-size: 20px; line-height: 1.35; }
.al-card p { color: var(--dim); font-size: 13.5px; line-height: 1.8; }
.al-card .kind {
  margin-top: auto; align-self: flex-start;
  font-size: 11px; letter-spacing: 2px; color: var(--cyan);
  border: 1px solid rgba(111,227,255,.3); border-radius: 100px; padding: 4px 10px;
}
/* ===== 精选档案卡 · 三版版式 Demo（?lib=a|b|c，main.js §06.55 驱动；选定后锁 1 版删切换条） =====
   高斯模糊语言整体移除：三版精选照片一律清晰高保真。
   三版均为纯 CSS 变体（DOM 不动）→ chips 筛选与移动端堆叠卡天然兼容。 */
.al-feat { grid-column: span 2; }
.al-feat .al-ph { aspect-ratio: 21 / 9; }
.al-feat h3 { font-size: clamp(22px, 1.9vw, 27px); }
.feat-tag {
  position: absolute; top: 14px; left: 16px; z-index: 2;
  font-size: 11px; letter-spacing: 3px; color: var(--cyan);
  border: 1px solid rgba(111, 227, 255, .45); border-radius: 100px; padding: 4px 12px;
  background: rgba(4, 7, 15, .55); backdrop-filter: blur(8px);
}

/* --- A 画报叠字（推荐·默认）：照片铺满整卡，底部深色渐晕压字，编辑部画报感 --- */
.lib-a .al-feat {
  justify-content: flex-end;
  min-height: clamp(270px, 25vw, 390px);
}
.lib-a .al-feat .al-ph {
  position: absolute; inset: 0; z-index: 0;
  margin: 0; aspect-ratio: auto;
}
.lib-a .al-feat .al-ph::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 7, 15, .05) 32%, rgba(4, 7, 15, .5) 64%, rgba(4, 7, 15, .9) 100%);
}
.lib-a .al-feat .al-ph img { filter: saturate(1.02) brightness(.96); }
.lib-a .al-feat > .when, .lib-a .al-feat > h3, .lib-a .al-feat > p, .lib-a .al-feat > .kind {
  position: relative; z-index: 1;
  text-shadow: 0 1px 14px rgba(2, 5, 12, .85);
}
.lib-a .al-feat > p { color: rgba(234, 244, 255, .84); max-width: 560px; }
/* .kind 的 margin-top:auto 会吸走 flex-end 的聚拢，画报版归零 */
.lib-a .al-feat > .kind {
  margin-top: 2px; text-shadow: none;
  background: rgba(4, 7, 15, .55); backdrop-filter: blur(6px);
}

/* --- B 杂志专题行：精选整行通栏、图文左右分栏、隔行换向（case-study 风） --- */
.lib-b .al-feat {
  grid-column: 1 / -1;
  justify-content: center;
  min-height: clamp(270px, 23vw, 360px);
  padding: clamp(28px, 3vw, 44px);
  padding-left: calc(45% + clamp(28px, 4vw, 56px));
}
.lib-b .al-feat .al-ph {
  position: absolute; left: 0; top: 0; bottom: 0; width: 45%;
  margin: 0; aspect-ratio: auto;
}
.lib-b .al-feat:nth-of-type(even) {
  padding: clamp(28px, 3vw, 44px);
  padding-right: calc(45% + clamp(28px, 4vw, 56px));
}
.lib-b .al-feat:nth-of-type(even) .al-ph { left: auto; right: 0; }
.lib-b .al-feat h3 { font-size: clamp(24px, 2.1vw, 31px); }
.lib-b .al-feat > p { max-width: 620px; }
.lib-b .al-feat > .kind { margin-top: 14px; }

/* --- C 匀净画廊：22 张统一节奏，精选仅以「精选」标 + 微光边框区分 --- */
.lib-c .al-feat {
  grid-column: auto;
  border-color: rgba(111, 227, 255, .3);
  box-shadow: 0 0 0 1px rgba(111, 227, 255, .07), 0 0 26px rgba(62, 139, 255, .12);
}
.lib-c .al-feat .al-ph { aspect-ratio: 16 / 9; }
.lib-c .al-feat h3 { font-size: 20px; }

@media (max-width: 960px) { .act-lib { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) {
  .act-lib { grid-template-columns: 1fr; }
  .al-feat, .lib-b .al-feat { grid-column: auto; }
  .al-feat .al-ph { aspect-ratio: 16 / 9; }
  /* B 版窄屏改画报叠字（2026-08-30 用户拍板：移动端画报更好看；桌面 B 杂志行不变）
     ——即把 lib-a 语言在 ≤620px 复制给 lib-b 精选卡；普通档案卡保持图上文下 */
  .lib-b .al-feat {
    justify-content: flex-end;
    min-height: clamp(300px, 88vw, 430px);
    padding: 26px 24px;
  }
  .lib-b .al-feat:nth-of-type(even) { padding: 26px 24px; }
  .lib-b .al-feat .al-ph {
    position: absolute; inset: 0; z-index: 0;
    width: auto; margin: 0; aspect-ratio: auto;
  }
  .lib-b .al-feat .al-ph::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, rgba(4, 7, 15, .05) 32%, rgba(4, 7, 15, .5) 64%, rgba(4, 7, 15, .9) 100%);
  }
  .lib-b .al-feat > .when, .lib-b .al-feat > h3, .lib-b .al-feat > p, .lib-b .al-feat > .kind {
    position: relative; z-index: 1;
    text-shadow: 0 1px 14px rgba(2, 5, 12, .85);
  }
  .lib-b .al-feat > p { color: rgba(234, 244, 255, .84); }
  .lib-b .al-feat > .kind {
    margin-top: 2px; text-shadow: none;
    background: rgba(4, 7, 15, .55); backdrop-filter: blur(6px);
  }
}

/* ===== 项目页 ===== */
.proj-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: stretch; }
.proj-panel {
  border: 1px solid var(--line); border-radius: 22px; padding: 36px 32px;
  background: var(--card); position: relative; overflow: hidden;
}
.proj-panel h2 { font-family: var(--disp); font-weight: 400; font-size: clamp(28px, 3vw, 42px); margin: 10px 0 12px; }
.proj-k { color: var(--cyan); font-size: 12px; letter-spacing: 4px; }
.proj-panel p { color: var(--dim); font-size: 15px; line-height: 1.9; }
.proj-nums { display: flex; gap: 28px; margin-top: 28px; }
.proj-nums b { display: block; font-family: var(--disp); font-size: 32px; color: var(--cyan); }
.proj-nums span { color: var(--dim); font-size: 12px; }
@media (max-width: 860px) { .proj-hero-grid { grid-template-columns: 1fr; } }

/* ===== 关于（org-strip 纯展示节点已删：部门区只留可点开深潜面板的 dept 卡） ===== */
.essay {
  display: grid; grid-template-columns: 160px 1fr; gap: 28px;
  border-top: 1px solid var(--line); padding: 36px 0;
}
.essay .ey { font-family: var(--disp); font-size: 42px; color: var(--cyan); line-height: 1; }
.essay h3 { font-family: var(--disp); font-weight: 400; font-size: 28px; }
.essay .alias { color: var(--cyan); letter-spacing: 2px; margin: 6px 0 14px; }
.essay p { color: var(--dim); font-size: 15px; line-height: 1.95; max-width: 760px; }
.essay .triple { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.essay .triple div { border: 1px solid var(--line); border-radius: 14px; padding: 18px 16px; background: rgba(120,180,255,.04); }
.essay .triple i { font-style: normal; color: var(--cyan); font-size: 11px; letter-spacing: 2px; }
.essay .triple h4 { font-size: 16px; margin: 8px 0 6px; }
.essay .triple p { font-size: 13px; line-height: 1.8; }
@media (max-width: 800px) {
  .essay { grid-template-columns: 1fr; }
  .essay .triple { grid-template-columns: 1fr; }
}

/* ===== 招新抽卡（深海版） ===== */
#draw { text-align: center; padding-top: 20px; }
.draw-stage { perspective: 1400px; margin: 0 auto; width: min(330px, 86vw); height: 460px; position: relative; border-radius: 22px; }
/* 抽卡三段式：蓄力（缩小+左右微晃）→ 翻转（原有 flip）→ 落定（回弹+按部门色闪光）
   动画全部打在 stage 包裹层上，不碰 .card3d 的 3D 翻转 transform */
.draw-stage.charge { animation: charge-shake .28s ease-in-out both; }
.draw-stage.settle { animation: settle-pop .4s cubic-bezier(.34, 1.56, .64, 1) both; }
@keyframes charge-shake {
  0%   { transform: scale(1) rotate(0deg); }
  30%  { transform: scale(.965) rotate(-1.5deg); }
  65%  { transform: scale(.955) rotate(1.2deg); }
  100% { transform: scale(.96) rotate(0deg); }
}
@keyframes settle-pop {
  0%   { transform: scale(.98); box-shadow: 0 0 0 rgba(0, 0, 0, 0); }
  40%  { transform: scale(1.045); box-shadow: 0 0 64px var(--flash, rgba(111, 227, 255, .4)); }
  100% { transform: scale(1); box-shadow: 0 0 0 rgba(0, 0, 0, 0); }
}
.card3d {
  position: absolute; inset: 0; transform-style: preserve-3d;
  transition: transform .8s cubic-bezier(.6,.05,.2,1); cursor: pointer;
}
.card3d.flip { transform: rotateY(180deg); }
.face {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: 22px; border: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 32px 28px;
}
.face.front {
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(111,227,255,.2), transparent 60%),
    linear-gradient(180deg, #0a1830, #04070f);
}
.face.front .q { font-family: var(--disp); font-size: 108px; color: var(--cyan); line-height: 1; }
.face.front p { letter-spacing: 4px; font-size: 13px; color: var(--dim); }
.face.back {
  background: linear-gradient(180deg, #0c1c36, #050910);
  transform: rotateY(180deg);
}
.face.back .c-ico { filter: drop-shadow(0 0 18px rgba(111,227,255,.45)); }
.face.back .c-ico svg { width: 64px; height: 64px; display: block; }
.face.back h3 { font-family: var(--disp); font-size: 34px; }
.face.back .role {
  font-size: 12px; letter-spacing: 3px; color: #041018;
  padding: 6px 16px; border-radius: 100px;
}
.face.back p { font-size: 13.5px; color: var(--dim); line-height: 1.85; }
.draw-btn {
  margin-top: 36px; display: inline-block; cursor: pointer; user-select: none;
  font-family: var(--disp); font-size: 20px; letter-spacing: 3px; color: #fff;
  background: linear-gradient(100deg, var(--blue), #2f6bdb 60%, var(--cyan));
  background-size: 200% 100%;
  border: none; border-radius: 100px; padding: 16px 48px;
  box-shadow: 0 8px 36px rgba(62,139,255,.4);
  transition: transform .25s, box-shadow .25s, background-position .4s;
}
.draw-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 48px rgba(62,139,255,.6); background-position: 100% 0; }
#draw .hint { margin-top: 16px; font-size: 13px; color: var(--dim); letter-spacing: 2px; }
#confetti { position: fixed; inset: 0; pointer-events: none; z-index: 80; }

/* 页脚 logo */
footer .f-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
footer .f-brand .logo-mark { width: 32px; height: 32px; }

/* =========================================================
   柔性卡片统一交互系统（3D 跟随 + 光斑 + 点击涟漪高亮）
   放在文件最后：同特异度下覆盖各区块自带的 transform / transition
   ========================================================= */
.soft {
  position: relative; overflow: hidden;
  transform: perspective(900px)
             rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg))
             translate3d(0, var(--lift, 0px), 0);
  transform-style: preserve-3d; will-change: transform;
  transition: transform .55s cubic-bezier(.22, .68, .32, 1),
              border-color .35s, box-shadow .45s, background-color .35s;
}
.soft:hover {
  --lift: var(--lift-hover, -6px);
  /* transform 跟随 .4s：比 .22s 更绵柔，鼠标划过不发僵 */
  transition-duration: .4s, .35s, .45s, .35s;
  border-color: rgba(111, 227, 255, .45);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .42);
}
.soft.soft-lit {
  border-color: rgba(111, 227, 255, .82);
  box-shadow: 0 0 34px rgba(111, 227, 255, .24), 0 18px 46px rgba(0, 0, 0, .42);
}
.soft-fx {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity .4s;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%),
              rgba(111, 227, 255, .16), transparent 62%);
}
.soft:hover > .soft-fx { opacity: 1; }
.soft-ripple {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 4;
  width: calc(var(--r) * 2); height: calc(var(--r) * 2);
  margin: calc(var(--r) * -1) 0 0 calc(var(--r) * -1);
  background: radial-gradient(circle, rgba(111, 227, 255, .40),
              rgba(111, 227, 255, .12) 45%, transparent 72%);
  transform: scale(0); opacity: .9;
  animation: softRipple .7s cubic-bezier(.2, .7, .3, 1) forwards;
}
@keyframes softRipple { to { transform: scale(1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .soft { transform: none; transition: border-color .3s; }
  .soft-ripple { display: none; }
}

/* ===== 开场注入（定稿 A 光缆注入，默认播放；?intro=b/c 保留后门；结束后 intro.js 整体移除） ===== */
#introVeil { display: none; position: fixed; inset: 0; z-index: 500; pointer-events: none; }
html.intro-pending #introVeil { display: block; }
html.intro-pending { overflow: hidden; }
#introVeil i { display: block; }
#introVeil .iv-half { position: absolute; left: 0; width: 100%; height: 50%; background: var(--bg); }
#introVeil .iv-top { top: 0; }
#introVeil .iv-bot { bottom: 0; }
/* 两片相向的边缘带向内柔光渐隐，分开时不出现生硬直线 */
#introVeil .iv-top::after, #introVeil .iv-bot::after {
  content: ''; position: absolute; left: 0; width: 100%; height: 90px;
}
#introVeil .iv-top::after { bottom: -90px; background: linear-gradient(180deg, var(--bg), transparent); }
#introVeil .iv-bot::after { top: -90px; background: linear-gradient(0deg, var(--bg), transparent); }
#introVeil .iv-line {
  position: absolute; left: 0; top: 50%; width: 100%; height: 2px; margin-top: -1px;
  transform: scaleX(0); transform-origin: left center; border-radius: 2px;
  background: linear-gradient(90deg, rgba(111,227,255,0), rgba(111,227,255,.95) 12%, #eaf6ff 50%, rgba(111,227,255,.95) 88%, rgba(111,227,255,0));
  box-shadow: 0 0 18px rgba(111,227,255,.75), 0 0 60px rgba(62,139,255,.45);
}
#introVeil .iv-beam {
  position: absolute; left: 0; top: 50%; width: 130px; height: 3px; margin-top: -1.5px;
  transform: translateX(-140px); border-radius: 3px;
  background: linear-gradient(90deg, rgba(111,227,255,0), #bdefff);
  filter: drop-shadow(0 0 10px rgba(111,227,255,.9)) drop-shadow(0 0 30px rgba(62,139,255,.6));
}
#introVeil .iv-beam::after {
  content: ''; position: absolute; right: -5px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px;
  border-radius: 50%; background: #fff;
  box-shadow: 0 0 14px 4px rgba(111,227,255,.95), 0 0 44px 14px rgba(62,139,255,.5);
}
#introVeil .iv-ring {
  position: absolute; left: 50%; top: 50%; width: 12px; height: 12px;
  transform: translate(-50%, -50%); opacity: 0;
  border: 1.5px solid rgba(111,227,255,.8); border-radius: 50%;
  box-shadow: 0 0 24px rgba(111,227,255,.35), inset 0 0 24px rgba(111,227,255,.2);
}
.iv-caret {
  display: inline-block; width: .08em; height: .92em; margin-left: .06em;
  background: var(--cyan); vertical-align: -.06em; border-radius: 2px;
  box-shadow: 0 0 12px rgba(111,227,255,.8);
  animation: ivBlink .75s steps(1) infinite;
}
@keyframes ivBlink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { #introVeil { display: none !important; } }

/* =========================================================
   移动端堆叠卡（stackDeck，≤620px 由 ui-core 启用）
   活动库档案卡 + 项目卡同位堆叠：顶卡可横滑甩出，纵滑交还浏览器滚页
   ========================================================= */
.deck-on { display: block; position: relative; }
.deck-on > .al-card, .deck-on > .inc-card {
  position: absolute; left: 0; right: 0; top: 0; margin: 0;
  touch-action: pan-y;
  /* 横拖时别把卡片文案刷成选中态 */
  user-select: none; -webkit-user-select: none;
}
.deck-on img { -webkit-user-drag: none; user-drag: none; }
/* --card 只有 5% 不透明度，平铺时无所谓，同位堆叠会把下层卡的文字透上来糊成一团 —— 垫不透明底 + 投影拉开层次 */
.deck-on > .al-card, .deck-on > .inc-card {
  background: linear-gradient(var(--card), var(--card)) var(--bg);
  box-shadow: 0 18px 40px rgba(2, 5, 12, .55);
}
/* 拖拽由 GSAP 每帧写 transform，必须掐掉 .soft 的 transform 过渡，否则跟手性稀烂 */
.deck-on > .soft { transition: border-color .35s, box-shadow .45s; }
.deck-ui { display: none; align-items: center; justify-content: center; gap: 20px; margin-top: 20px; }
.deck-ui.on { display: flex; }
.deck-ui .arr { width: 46px; height: 46px; font-size: 17px; }
.deck-count {
  font-family: var(--disp); font-size: 15px; letter-spacing: 2px;
  color: var(--dim); min-width: 64px; text-align: center;
}

/* ===== 2026-09 改版预览：沿用原站材料、字体与动效，只补新增内容 ===== */
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex="0"]:focus-visible {
  outline: 2px solid var(--cyan); outline-offset: 5px;
}
.eyebrow { font-size: 11px; letter-spacing: 3px; color: var(--cyan); line-height: 1.8; }
.source-note, .preview-note, .brand-note { color: var(--dim); font-size: 12px; line-height: 1.8; }
.stat-source { margin-top: 22px; }
.stat b.stat-pending { font-size: clamp(20px, 2.5vw, 32px); letter-spacing: 2px; color: var(--dim); }
.pending-label {
  display: inline-block; font-size: 11px; line-height: 1.6; letter-spacing: 1px;
  color: #b7cce4; border: 1px dashed rgba(140, 178, 220, .32); border-radius: 6px; padding: 5px 9px;
}

/* 文化关键词：三个词与一个循环接头，辅助阅读直接读容器名称。 */
.culture-heading { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin: 30px 0 68px; }
.culture-heading .eyebrow { color: var(--dim); margin-bottom: 20px; }
.culture-rotator { font-family: var(--disp); font-size: clamp(76px, 12vw, 168px); color: var(--cyan); line-height: 1.13; }
.culture-window { height: 1.13em; overflow: hidden; }
.culture-words { display: flex; flex-direction: column; animation: cultureCycle 9s cubic-bezier(.6,0,.2,1) infinite; }
.culture-words > span { display: block; line-height: 1.13; flex-shrink: 0; }
.culture-aside { font-size: 16px; line-height: 2.1; color: var(--dim); border-left: 1px solid var(--line); padding-left: 28px; }
@keyframes cultureCycle { 0%,25% { transform: translateY(0); } 33.333%,58.333% { transform: translateY(-25%); } 66.666%,91.666% { transform: translateY(-50%); } 100% { transform: translateY(-75%); } }
.belief-programs { margin-top: 88px; border-top: 1px solid var(--line); }
.program { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; padding: 48px 0; border-bottom: 1px solid var(--line); }
.program-index { display: block; color: var(--dim); font-size: 10px; letter-spacing: 3px; margin-bottom: 20px; }
.program-name h3 { font-family: var(--disp); font-size: clamp(36px, 3.6vw, 52px); font-weight: 400; line-height: 1.15; }
.program-name h3 > span { display: block; font-family: var(--body); font-size: 14px; margin-top: 14px; color: var(--dim); }
.program-name h3 > .program-x { display: inline; font-family: var(--disp); font-size: 1.35em; color: var(--cyan); margin-left: 12px; }
.program-body { align-self: center; }
.program-body p { color: var(--dim); font-size: 15px; line-height: 2; }
.program-body b { color: var(--ink); font-weight: 500; }
.program-body a { display: inline-flex; align-items: center; gap: 20px; margin-top: 22px; color: var(--cyan); font-size: 13px; text-decoration: none; padding: 9px 0; }
.program-body a span { font-size: 22px; transition: transform .25s; }
.program-body a:hover span { transform: translate(3px,-3px); }
.ai-invitation { margin-top: 34px; color: var(--dim); font-size: 14px; line-height: 2; }
.ai-invitation > span { display: inline-block; color: var(--cyan); font-family: var(--disp); font-size: 18px; margin-right: 22px; }

/* 品牌仍是原生横滑；展开内容参加正常排版，不卡在固定高度中。 */
.acts-track { align-items: flex-start; }
#acts .act-card { flex: 0 0 clamp(300px,32vw,430px); width: clamp(300px,32vw,430px); min-height: 430px; justify-content: flex-start; }
#acts .act-ico { flex-shrink: 0; margin-bottom: 30px; }
#acts .act-card h3 { margin-top: 12px; }
#acts .act-intro { min-height: 80px; }
#acts details { margin-top: 24px; border-top: 1px solid var(--line); user-select: text; -webkit-user-select: text; }
#acts summary { list-style: none; min-height: 48px; padding: 17px 2px 5px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 15px; color: var(--cyan); font-size: 13px; }
#acts summary::-webkit-details-marker { display: none; }
#acts summary > span::after { content: '+'; font-size: 22px; line-height: 1; }
#acts details[open] summary > span::after { content: '−'; }
#acts .act-card:has(details[open]), #acts .act-card:focus-within { transform: none !important; }
.brand-content { margin-top: 16px; }
.brand-content > div { padding: 14px 0; border-top: 1px solid var(--line); }
.brand-content dt { color: var(--ink); font-size: 14px; line-height: 1.7; }
.brand-content dd { color: var(--dim); font-size: 13px; line-height: 1.9; margin-top: 6px; }
.brand-note { margin: 20px 7vw 0; }

/* 成员画廊：生活照位置明确留空，不生成虚构成员。 */
#members .sec-desc { max-width: 690px; }
.preview-note { border-left: 2px solid rgba(111,227,255,.45); padding: 9px 16px; margin-bottom: 56px; background: rgba(111,227,255,.025); }
.member-group { display: grid; grid-template-columns: 210px minmax(0,1fr); gap: 52px; margin-top: 60px; }
.member-group + .member-group { padding-top: 60px; border-top: 1px solid var(--line); }
.member-group-head { padding-top: 16px; }
.member-group-head h3 { font-family: var(--disp); font-size: 42px; font-weight: 400; margin: 12px 0 16px; }
.member-group-head p { font-size: 14px; line-height: 1.9; color: var(--dim); max-width: 190px; }
.member-controls { display: flex; gap: 10px; margin-top: 26px; }
.member-controls .arr { width: 44px; height: 44px; font-size: 16px; }
.member-track { display: flex; gap: 24px; min-width: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; }
.member-track::-webkit-scrollbar { display: none; }
.member-card { flex: 0 0 calc((100% - 24px)/2); min-width: 0; scroll-snap-align: start; }
.member-portrait { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border: 1px solid rgba(125,181,239,.23); border-radius: 14px; background: linear-gradient(155deg,#102a47 0%,#081423 56%,#0a1b30 100%); }
.member-portrait::before { content: ''; position: absolute; inset: 18px; border: 1px solid rgba(128,190,255,.12); pointer-events: none; }
.member-portrait::after { content: ''; position: absolute; width: 125%; height: 1px; background: rgba(128,190,255,.17); top: 55%; left: -10%; transform: rotate(-48deg); pointer-events: none; }
.member-group[data-member-group="ministers"] .member-portrait { background: linear-gradient(155deg,#0b2936,#071421 64%,#0d2137); }
.portrait-index { position: absolute; top: 32px; left: 32px; color: #97b9dc; font-size: 9px; letter-spacing: 2px; }
.portrait-placeholder { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.portrait-cross { font-family: var(--disp); font-size: 76px; font-weight: 400; color: rgba(111,227,255,.45); line-height: 1; }
.portrait-placeholder b { color: #b9cee4; font-weight: 400; font-size: 15px; letter-spacing: 2px; }
.portrait-placeholder > span:last-child { font-size: 9px; color: #8197af; letter-spacing: 2px; }
.portrait-caption { position: absolute; left: 32px; bottom: 28px; color: #91abc6; font-size: 10px; letter-spacing: 1px; }
.member-caption { padding: 24px 2px 6px; }
.member-caption > span { font-size: 11px; color: var(--cyan); letter-spacing: 1px; }
.member-caption h4 { font-family: var(--disp); font-weight: 400; font-size: 24px; margin: 8px 0; }
.member-caption p { color: var(--dim); font-size: 13px; line-height: 1.8; }

/* 原时间线补代表活动，不另造一套年份组件。 */
.timeline-event { display: grid; grid-template-columns: 1.15fr 1fr; max-width: 920px; margin-top: 26px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.timeline-event img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.timeline-event figcaption { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 26px; }
.timeline-event time { color: var(--cyan); font-size: 11px; letter-spacing: 1px; }
.timeline-event b { font-size: 18px; font-family: var(--disp); font-weight: 400; line-height: 1.6; }
.timeline-event figcaption span { color: var(--dim); font-size: 11px; line-height: 1.7; }
.inc-pending { border-style: dashed; }
.pending-index { position: absolute; top: 25px; right: 24px; font-family: var(--disp); font-size: 44px; color: rgba(147,184,224,.14); }
.inc-pending .pending-label { margin-top: 28px; }

/* 伙伴按概念分层，第三行在资料确认前保持安静。 */
.partner-row { display: grid; grid-template-columns: 190px minmax(0,1fr); border-top: 1px solid var(--line); align-items: center; }
.partner-row:last-child { border-bottom: 1px solid var(--line); }
.partner-label { padding: 24px 20px 24px 0; }
.partner-label h3 { font-size: 15px; font-weight: 500; line-height: 1.7; }
.partner-label > span { display: block; font-size: 9px; letter-spacing: 1.5px; margin-top: 8px; color: var(--dim); }
.partner-row .marquee { border: none; padding: 32px 0; min-width: 0; }
.partner-row .marquee-track { gap: 48px; }
.partner-pending { padding: 26px 0; }
.partner-pending p { margin-top: 10px; font-size: 13px; color: var(--dim); line-height: 1.8; }

/* 留白与联系：与伙伴滚动区分开，不挤进原首屏。 */
#future { min-height: 800px; display: grid; place-items: center; text-align: center; padding-top: 150px; padding-bottom: 150px; }
.future-inner { width: 100%; }
.future-inner h2 { font-family: var(--disp); font-size: clamp(62px,8vw,112px); font-weight: 400; line-height: 1.17; letter-spacing: 2px; margin: 36px 0 24px; }
.future-inner h2 em { color: var(--cyan); font-style: normal; }
.future-inner > p { color: var(--dim); font-size: 15px; line-height: 2; }
.future-sign { position: relative; display: inline-block; margin-top: 64px; font-family: var(--disp); font-size: clamp(38px,7vw,98px); letter-spacing: -.03em; color: #a8dfff; text-shadow: 0 0 30px rgba(62,139,255,.23); }
.sign-reflection { position: absolute; left: 0; right: 0; top: 100%; transform: scaleY(-1); opacity: .15; mask-image: linear-gradient(transparent 35%,#000); -webkit-mask-image: linear-gradient(transparent 35%,#000); pointer-events: none; }
.future-link { display: flex; align-items: center; justify-content: center; gap: 24px; width: fit-content; margin: 92px auto 0; color: var(--ink); padding: 12px 0; font-size: 14px; text-decoration: none; border-bottom: 1px solid var(--line); }
.future-link span { color: var(--cyan); font-size: 25px; }
.president-contact { display: flex; justify-content: space-between; align-items: center; gap: 50px; max-width: 820px; margin: 76px auto 34px; padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.president-contact h3 { font-family: var(--disp); font-weight: 400; font-size: clamp(30px,3.5vw,46px); margin-top: 18px; line-height: 1.3; }
.president-contact > div > p { max-width: 430px; color: var(--dim); font-size: 14px; line-height: 1.9; margin: 18px 0; }
.contact-placeholder { width: 186px; flex-shrink: 0; aspect-ratio: 1; border: 1px dashed rgba(111,227,255,.35); border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: rgba(111,227,255,.025); }
.contact-placeholder > span { font-size: 28px; color: var(--cyan); }
.contact-placeholder b { font-size: 14px; font-weight: 400; }
.contact-placeholder p { color: var(--dim); font-size: 12px; margin: 0 !important; }

@media (max-width: 960px) {
  .culture-heading { gap: 28px; }
  .culture-aside { font-size: 14px; }
  .program { gap: 28px; }
  .member-group { grid-template-columns: 1fr; gap: 26px; }
  .member-group-head { position: relative; padding-right: 130px; }
  .member-group-head p { max-width: none; }
  .member-controls { position: absolute; top: 18px; right: 0; margin: 0; }
  .member-group-head h3 { font-size: 34px; margin-top: 8px; }
  .partner-row { grid-template-columns: 150px minmax(0,1fr); }
}
@media (max-width: 620px) {
  .culture-heading { display: block; margin-bottom: 42px; }
  .culture-aside { margin-top: 26px; padding-left: 18px; }
  .culture-aside br { display: none; }
  .program { grid-template-columns: 1fr; gap: 18px; padding: 36px 0; }
  .belief-programs { margin-top: 52px; }
  .program-body p { font-size: 14px; }
  .ai-invitation > span { display: block; margin-bottom: 8px; }
  #acts .act-card { padding: 30px 26px; }
  #acts .act-intro { min-height: 80px; }
  .member-group { margin-top: 38px; }
  .member-group + .member-group { padding-top: 36px; }
  .member-group-head { padding-right: 105px; }
  .member-group-head .eyebrow { letter-spacing: 1px; }
  .member-group-head p { font-size: 12px; }
  .member-card { flex-basis: 86%; }
  .member-track { gap: 16px; }
  .portrait-index { top: 28px; left: 28px; font-size: 8px; }
  .portrait-caption { left: 28px; font-size: 9px; }
  .timeline-event { grid-template-columns: 1fr; }
  .timeline-event figcaption { padding: 18px; }
  .timeline-event b { font-size: 17px; }
  .partner-row { grid-template-columns: 1fr; }
  .partner-label { padding: 22px 0 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .partner-label > span { margin: 0; font-size: 8px; }
  .partner-row .marquee { padding: 24px 0; }
  #future { min-height: 720px; padding-top: 110px; padding-bottom: 100px; }
  .future-sign { margin-top: 50px; }
  .president-contact { flex-direction: column; align-items: stretch; gap: 30px; padding: 32px 0; }
  .contact-placeholder { align-self: flex-start; width: 160px; }
}
@media (prefers-reduced-motion: reduce) {
  .culture-window { height: auto; overflow: visible; }
  .culture-words { animation: none; transform: none; flex-direction: row; flex-wrap: wrap; gap: 20px; }
  .culture-words > .culture-clone { display: none; }
  .belief-text .w { color: var(--ink); transition: none; }
  #confetti { display: none; }
  .future-link, .program-body a span { transition: none; }
  .member-track { scroll-behavior: auto; }
}
