@charset "UTF-8";
/* ==========================================================================
   低碳氢能实验室 · V2 视觉系统
   --------------------------------------------------------------------------
   设计基线（V2 重构要点）
   1. 色彩：主色由青绿切换为学术科技蓝（950→50 十一级色阶），墨色文字阶同步偏
      冷蓝；保留学术金（获奖）与靛蓝（专利/活动）两组语义色。
   1b. 渐变：新增 --grad-* 体系（primary / deep / soft / text / mesh），应用于
      主按钮、深色区块、CTA、页脚、卡片表面、主标题与页面氛围光晕。
   2. 字号：建立 display / h1→h4 / lead / body / caption 七级阶梯，
      全部使用 clamp() 实现流体排版，替代 V1 固定 px。
   3. 间距：统一 4px 基准（--s-1 ~ --s-12），区块节奏 80/56/40。
   4. 圆角：卡片 22px / 大图 28px / 控件 999px（胶囊），层级清晰。
   5. 明暗：默认扁平 + 1px 细描边，仅在悬浮态使用轻度投影。
   6. 响应式：断点 1180 / 980 / 760 / 520，栅格 3→2→1 自适应。
   7. 渐变分级（V2.2）：主元件用重渐变（--grad-primary / -deep），细节元件用轻渐变
      （--grad-accent / -hairline / -divider），避免全站"到处彩虹"，同时保持同一语言。
   ========================================================================== */

/* ------------------------------- 1. Tokens ------------------------------- */
:root {
  /* 品牌色阶（学术科技蓝 950→50，替代 V2 初版的青绿） */
  --brand-950: #05162c;
  --brand-900: #0a2a52;
  --brand-800: #0f3d75;
  --brand-700: #15559c;
  --brand-600: #1d6fd0;
  --brand-500: #2f8ae8;
  --brand-400: #5aa6f0;
  --brand-300: #8fc4f7;
  --brand-200: #c3dffb;
  --brand-100: #e2eefd;
  --brand-50:  #f2f7fe;

  /* 渐变辅助色：天青（提亮）+ 靛蓝（加深） */
  --azure-500: #1ba3e8;
  --indigo-500: #6366f1;

  /* 墨色文字阶（偏冷蓝的中性色，与蓝色主调同源） */
  --ink-900: #0c1b2e;
  --ink-800: #16293d;
  --ink-700: #22364c;
  --ink-600: #33475e;
  --ink-500: #4b6076;
  --ink-400: #71879c;
  --ink-300: #9aadbd;

  /* 辅色 */
  --gold-600: #b0821f;
  --gold-100: #f8efdb;
  --violet-600: #4f5bd5;   /* 语义色：专利 / 学术活动（靛蓝，与蓝色主调同源） */
  --violet-100: #ebedfb;

  /* 表面 */
  --canvas: #ffffff;
  --surface: #f5f9fe;
  --surface-2: #eaf3fd;
  --surface-3: #dfecfb;
  --line: #d6e5f6;
  --line-soft: #e8f1fb;
  --line-strong: #bcd3ee;

  /* 圆角 */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-2xl: 28px;
  --r-3xl: 36px;
  --r-full: 999px;

  /* 间距 */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-7: 32px;
  --s-8: 40px;
  --s-9: 48px;
  --s-10: 64px;
  --s-11: 80px;
  --s-12: 112px;

  /* 排版 */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
    "Noto Sans CJK SC", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SFMono-Regular", ui-monospace, Menlo, Consolas,
    "Liberation Mono", monospace;

  /* 容器与阴影 */
  --container: 1240px;
  --header-h: 72px;
  --shadow-sm: 0 1px 2px rgba(10, 42, 82, .06);
  --shadow-md: 0 6px 20px rgba(10, 42, 82, .09);
  --shadow-lg: 0 20px 50px rgba(10, 42, 82, .13);
  --ring: 0 0 0 3px rgba(47, 138, 232, .30);

  /* ---- 渐变体系（V2.1 新增） ---- */
  /* 主渐变：按钮、激活态、装饰条 */
  --grad-primary: linear-gradient(135deg, #2f8ae8 0%, #15559c 55%, #0f3d75 100%);
  /* 主渐变悬浮态 */
  --grad-primary-h: linear-gradient(135deg, #4b9df0 0%, #1d6fd0 55%, #15559c 100%);
  /* 深色渐变：深色区块、CTA、页脚 */
  --grad-deep: linear-gradient(140deg, #0a2a52 0%, #0f3d75 52%, #05162c 100%);
  /* 柔和渐变：卡片表面，替代纯白 */
  --grad-soft: linear-gradient(165deg, #ffffff 0%, #f2f7fe 100%);
  /* 文字渐变：大标题 */
  --grad-text: linear-gradient(96deg, #0f3d75 0%, #15559c 40%, #2f8ae8 76%, #1ba3e8 100%);
  /* 光晕网格：Hero / 深色区块背景氛围 */
  --grad-mesh:
    radial-gradient(48% 54% at 10% 10%, rgba(47, 138, 232, .22), transparent 62%),
    radial-gradient(40% 46% at 92% 6%, rgba(99, 102, 241, .14), transparent 60%),
    radial-gradient(44% 46% at 72% 82%, rgba(27, 163, 232, .16), transparent 62%);

  /* ---- 轻量渐变（V2.2 新增）：把渐变从主元件下沉到细节元件 ---- */
  /* 浅色点缀：图标底、状态胶囊、类型标签 */
  --grad-accent: linear-gradient(150deg, var(--brand-100) 0%, var(--brand-200) 100%);
  /* 两端消隐的头发丝线：区块边界、快捷数据分隔 */
  --grad-hairline: linear-gradient(90deg, rgba(214, 229, 246, 0) 0%, var(--brand-400) 28%, var(--brand-200) 66%, rgba(214, 229, 246, 0) 100%);
  /* 深色区头发丝线：页脚底栏 */
  --grad-hairline-dark: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .34) 26%, rgba(255, 255, 255, .10) 62%, rgba(255, 255, 255, .30) 100%);
  /* 左实右虚引导线：年份标尺、标题分隔 */
  --grad-divider: linear-gradient(90deg, var(--brand-400) 0%, rgba(143, 196, 247, 0) 100%);
}

/* ------------------------------ 2. Reset ------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-700);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, h5 { margin: 0; color: var(--ink-900); font-weight: 700; line-height: 1.25; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--brand-700); text-decoration: none; }
a:hover { color: var(--brand-600); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand-600); outline-offset: 2px; border-radius: var(--r-xs); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--s-7);
}

.skip-link {
  position: absolute; left: 50%; top: -60px; transform: translateX(-50%);
  z-index: 200; padding: 10px 20px; border-radius: var(--r-full);
  background: var(--grad-primary); color: #fff; font-size: 14px; font-weight: 700;
  transition: top .18s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------------------------- 3. Typography ---------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: 12px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand-600);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-700), var(--brand-300));
}

.h1 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.18; letter-spacing: -.015em; }
.h2 { font-size: clamp(25px, 2.6vw, 36px); line-height: 1.22; letter-spacing: -.01em; }
.h3 { font-size: 20px; line-height: 1.4; }
.h4 { font-size: 17px; line-height: 1.45; }
.lead { font-size: clamp(16px, 1.35vw, 18px); line-height: 1.75; color: var(--ink-500); }
.body { font-size: 16px; line-height: 1.8; color: var(--ink-600); }
.small { font-size: 14px; line-height: 1.7; color: var(--ink-500); }
.mono { font-family: var(--font-mono); font-size: 13px; letter-spacing: .01em; }

/* ------------------------------ 4. Header ------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(10, 42, 82, .06);
}

.header__inner {
  display: flex; align-items: center; gap: var(--s-6);
  height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: var(--s-3); flex: 0 0 auto; color: inherit; }
.brand:hover { color: inherit; }
/* 2026-09-21：品牌标记由内联 SVG 换为实验室 logo 纯图形。
   深蓝点阵水滴放在原来的深蓝渐变底上会糊成一片，故改为白瓷片底，
   与 favicon 的浅色方形底同一处理，深色页脚（--ink-900）另用反白锁版。 */
.brand__mark {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--brand-100);
  box-shadow: 0 2px 12px rgba(15, 61, 117, .13);
}
.brand__mark img { display: block; width: auto; height: 31px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name { font-size: 16px; font-weight: 700; color: var(--ink-900); letter-spacing: .01em; }
.brand__name-en { font-size: 10.5px; letter-spacing: .06em; color: var(--ink-400); text-transform: uppercase; }

.header__right { margin-left: auto; display: flex; align-items: center; gap: var(--s-5); }

.nav ul { display: flex; align-items: center; gap: var(--s-1); }
.nav a {
  position: relative; display: block;
  padding: 9px 14px; border-radius: var(--r-full);
  font-size: 15px; font-weight: 600; color: var(--ink-600);
  transition: background .16s ease, color .16s ease;
}
.nav a:hover { background: var(--surface-2); color: var(--ink-900); }
.nav a[aria-current="page"] {
  color: #fff; background: var(--grad-primary);
  box-shadow: 0 4px 12px rgba(21, 85, 156, .22);
}

.lang {
  display: flex; align-items: center; gap: 2px;
  padding: 3px; border-radius: var(--r-full);
  background: var(--surface-2); border: 1px solid var(--line-soft);
}
.lang__btn {
  padding: 5px 13px; border: 0; border-radius: var(--r-full);
  background: transparent; color: var(--ink-500);
  font-size: 13px; font-weight: 700; cursor: pointer;
  transition: background .16s ease, color .16s ease;
}
/* 激活语言项：与导航激活态同一语言，改为渐变胶囊 */
.lang__btn[aria-pressed="true"] {
  background: var(--grad-primary); color: #fff;
  box-shadow: 0 3px 10px rgba(21, 85, 156, .28);
}

.menu-toggle {
  display: none; margin-left: auto;
  width: 42px; height: 42px; padding: 0;
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--canvas); cursor: pointer;
}
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
  display: block; width: 18px; height: 2px; border-radius: 2px;
  background: var(--ink-800); margin-inline: auto;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -6px; }
.menu-toggle__bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ------------------------------- 5. Hero ------------------------------- */
.hero { position: relative; overflow: hidden; padding-block: var(--s-11) var(--s-10); }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto -10%; height: 780px;
  background: var(--grad-mesh);
  pointer-events: none;
}
.hero--home { background: linear-gradient(180deg, var(--brand-50) 0%, var(--canvas) 62%); }
.hero__inner {
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: var(--s-10); align-items: center;
}
.hero__copy { display: flex; flex-direction: column; gap: var(--s-5); }
/* 大标题下伸字母出血：本标题同时用「大字号 + 加粗 + 渐变裁切（background-clip:text）」，
   渐变文字的画布被限制在行框内，而 line-height:1.1 的行框（60px 字号 → 66px）
   容不下 g / y 等下伸字母——该字体上伸 1.0833em + 下伸 0.25em = 1.333em，
   实测墨迹需 73px，比行框低 7px，于是下伸被齐平切掉（非渐变文字只会溢出、不会被裁）。
   补 .16em 底部出血把画布向下扩出，再用等量负边距抵消：
   行距与后续元素位置保持原值，零位移。 */
.hero__title {
  font-size: clamp(34px, 4.4vw, 60px); line-height: 1.1; letter-spacing: -.02em;
  padding-bottom: .16em; margin-bottom: -.16em;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero--home .hero__title {
    background: var(--grad-text);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
  }
}
.hero__lead { max-width: 46ch; }

.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-2); }

.hero__media { position: relative; }
.hero__frame {
  position: relative; margin: 0;
  border-radius: var(--r-2xl); overflow: hidden;
  background: var(--surface-2);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line-soft);
}
.hero__frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* 页头（内页） */
.hero--page {
  padding-block: var(--s-10) var(--s-9);
  background: linear-gradient(180deg, var(--brand-50) 0%, var(--canvas) 78%);
}
.hero--page .hero__inner { grid-template-columns: 1.25fr .75fr; gap: var(--s-9); }
.hero__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
.hero__stats li {
  position: relative; overflow: hidden;
  padding: var(--s-4) var(--s-5); border-radius: var(--r-lg);
  background: var(--grad-soft); border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
}
/* 页头数据块顶部渐变条：常驻显示（区别于卡片的悬浮显现），强化蓝色识别 */
.hero__stats li::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--grad-primary);
}
.hero__stats .v { display: block; font-size: 28px; font-weight: 700; color: var(--brand-700); line-height: 1.2; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero__stats .v {
    background: linear-gradient(120deg, var(--brand-800), var(--brand-500) 92%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
  }
}
.hero__stats .k { display: block; font-size: 13px; color: var(--ink-500); }

/* ------------------------------ 6. Sections ------------------------------ */
.section { padding-block: var(--s-11); position: relative; }
.section--tint { background: var(--surface); }
.section--line { border-top: 1px solid var(--line); }
/* 区块边界叠加两端消隐的渐变头发丝 */
.section--line::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: var(--grad-hairline);
}
.section--dark {
  background:
    radial-gradient(58% 88% at 88% 6%, rgba(47, 138, 232, .30), transparent 62%),
    radial-gradient(46% 70% at 8% 92%, rgba(99, 102, 241, .18), transparent 60%),
    linear-gradient(140deg, var(--brand-900) 0%, var(--brand-800) 52%, var(--brand-950) 100%);
  color: #fff;
}
.section--dark h2, .section--dark .h2 { color: #fff; }
.section--dark .lead { color: rgba(255, 255, 255, .74); }
.section--dark .eyebrow { color: var(--brand-300); }
.section--dark .eyebrow::before { background: linear-gradient(90deg, #ffffff, var(--brand-300)); }

.section__head { max-width: 720px; margin-bottom: var(--s-9); display: flex; flex-direction: column; gap: var(--s-3); }
.section__head h2 { margin-top: 2px; }
.section__head-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--s-6); margin-bottom: var(--s-8); flex-wrap: wrap;
}
.section__head-row .section__head { margin-bottom: 0; }

/* ------------------------------ 7. Buttons ------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  padding: 12px 26px; border: 1px solid transparent; border-radius: var(--r-full);
  font-size: 14.5px; font-weight: 700; letter-spacing: .01em; cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: var(--grad-primary); color: #fff;
  background-size: 160% 160%; background-position: 0% 50%;
  box-shadow: 0 6px 18px rgba(21, 85, 156, .28);
}
.btn--primary:hover {
  background: var(--grad-primary-h); background-position: 100% 50%;
  box-shadow: 0 10px 26px rgba(21, 85, 156, .34); color: #fff;
}
.btn--secondary {
  background: transparent; color: var(--ink-900); border-color: var(--line-strong);
}
/* 悬浮时以渐变描边替代纯色描边（双层 background：内层遮罩 + 外层渐变） */
.btn--secondary:hover {
  color: var(--brand-800); border-color: transparent;
  background-image: linear-gradient(var(--canvas), var(--canvas)), var(--grad-primary);
  background-origin: border-box; background-clip: padding-box, border-box;
  box-shadow: 0 6px 18px rgba(21, 85, 156, .18);
}
.btn--light { background: #fff; color: var(--brand-800); }
.btn--light:hover {
  color: var(--brand-800); border-color: transparent;
  background-image: linear-gradient(var(--canvas), var(--canvas)), var(--grad-primary);
  background-origin: border-box; background-clip: padding-box, border-box;
  box-shadow: 0 8px 22px rgba(5, 22, 44, .22);
}

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: 15px; font-weight: 700; color: var(--brand-700);
}
.link-arrow::after { content: "→"; transition: transform .18s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

/* --------------------------- 8. Bento research --------------------------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s-5); }
.bento__item {
  grid-column: span 2; display: flex; flex-direction: column; gap: var(--s-3);
  padding: var(--s-7); border-radius: var(--r-xl);
  background: var(--canvas); border: 1px solid var(--line-soft);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.bento__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-300); }
.bento__item--wide { grid-column: span 3; }
.bento__item--feature {
  grid-column: span 3;
  background:
    radial-gradient(72% 62% at 88% 4%, rgba(90, 166, 240, .38), transparent 62%),
    linear-gradient(145deg, var(--brand-800) 0%, var(--brand-900) 58%, var(--brand-950) 100%);
  border-color: transparent; color: #fff;
}
.bento__item--feature .h3, .bento__item--feature .body { color: rgba(255, 255, 255, .88); }
.bento__item--feature .body { color: rgba(255, 255, 255, .74); }

.card__icon {
  display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: var(--r-md); color: var(--brand-700);
  background: linear-gradient(150deg, var(--brand-100), var(--surface-2));
}
.card__icon svg { width: 24px; height: 24px; }
.bento__item--feature .card__icon { background: rgba(255, 255, 255, .14); color: #fff; }

.tags { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: auto; padding-top: var(--s-3); }
.tag {
  padding: 4px 11px; border-radius: var(--r-full);
  background: var(--surface-2); color: var(--ink-600);
  font-size: 12px; font-weight: 600;
}
.bento__item--feature .tag { background: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .9); }

.card__meta {
  display: flex; align-items: center; gap: var(--s-2);
  padding-top: var(--s-3); margin-top: var(--s-2);
  border-top: 1px dashed var(--line);
  font-size: 13px; color: var(--ink-400);
}
.bento__item--feature .card__meta { border-top-color: rgba(255, 255, 255, .18); color: rgba(255, 255, 255, .68); }

/* 方向概念配图：统一 4:3 浅底容器，图片完整展示、不裁切 */
.bento__fig {
  display: grid; place-items: center;
  aspect-ratio: 4 / 3; margin: 0;
  border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(160deg, var(--brand-50) 0%, #f8fbff 100%);
  border: 1px solid var(--line-soft);
}
.bento__fig picture { display: contents; }
.bento__fig img { max-width: 100%; max-height: 100%; width: auto; height: auto; }

/* 方向标题行：图标与标题并排 */
.bento__head { display: flex; align-items: center; gap: var(--s-3); }

/* 研究内容清单 */
.bento__list { display: flex; flex-direction: column; gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
.bento__list li { position: relative; padding-left: 15px; font-size: 14.5px; line-height: 1.65; color: var(--ink-600); }
.bento__list li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--grad-primary);
}

/* 通用卡片栅格 */
.grid { display: grid; gap: var(--s-5); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  display: flex; flex-direction: column; gap: var(--s-3);
  padding: var(--s-7); border-radius: var(--r-xl);
  background: var(--canvas); border: 1px solid var(--line-soft);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--brand-300); }

/* 卡片顶部渐变高亮条：悬浮时显现 */
.card, .bento__item, .news-card { position: relative; overflow: hidden; }
.card::before, .news-card::before,
.bento__item:not(.bento__item--feature)::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--grad-primary);
  opacity: 0; transition: opacity .22s ease;
}
.card:hover::before, .news-card:hover::before,
.bento__item:not(.bento__item--feature):hover::before { opacity: 1; }

/* --------------------------- 9. Publications --------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-7); }
.filter {
  padding: 8px 18px; border-radius: var(--r-full);
  border: 1px solid var(--line); background: var(--canvas);
  color: var(--ink-600); font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.filter:hover { border-color: var(--brand-300); color: var(--brand-700); }
.filter[aria-pressed="true"] {
  background: var(--grad-primary); border-color: transparent; color: #fff;
  box-shadow: 0 6px 16px rgba(21, 85, 156, .24);
}

.pub-year { margin-bottom: var(--s-7); }
.pub-year__label {
  display: flex; align-items: center; gap: var(--s-4);
  margin-bottom: var(--s-4);
}
.pub-year__label span {
  font-size: 15px; font-weight: 700; color: var(--ink-900);
  font-family: var(--font-mono); letter-spacing: .04em;
}
.pub-year__label::after {
  content: ""; flex: 1; height: 1px;
  background: var(--grad-divider);
}

/* ---------- 年份分组：折叠 / 展开（2026-09-21 新增） ---------- */
/* 年份标题由 div 改为 button，这里把按钮自带的边框与底色去掉，外观保持原样 */
.pub-year__label {
  width: 100%; padding: 0; border: 0; background: none;
  font: inherit; color: inherit; text-align: left; cursor: pointer;
  border-radius: var(--r-sm);
}
.pub-year__label:hover .pub-year__num { color: var(--brand-700); }
.pub-year__label:hover .pub-year__chev { color: var(--brand-700); }
.pub-year__label:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 6px; }
.pub-year[data-collapsed="true"] .pub-year__label { margin-bottom: 0; }
.pub-year[data-collapsed="true"] > ul { display: none; }

/* 折叠指示三角：展开时朝下，收起时朝右 */
.pub-year__chev {
  flex: 0 0 18px; width: 18px; height: 18px;
  display: grid; place-items: center;
  color: var(--ink-400);
  transition: transform .22s ease, color .22s ease;
}
.pub-year__chev::before {
  content: ""; width: 6px; height: 6px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
}
.pub-year[data-collapsed="true"] .pub-year__chev { transform: rotate(-90deg); }

/* 条数与操作提示：覆盖 `.pub-year__label span` 的等宽加粗设定 */
.pub-year__label .pub-year__count {
  font-family: var(--font-sans); font-size: 12px; font-weight: 700;
  letter-spacing: 0; color: var(--ink-400); white-space: nowrap;
}
.pub-year__label .pub-year__hint {
  font-family: var(--font-sans); font-size: 12px; font-weight: 500;
  letter-spacing: 0; color: var(--ink-400); white-space: nowrap;
  opacity: 0; transition: opacity .2s ease;
}
.pub-year__label:hover .pub-year__hint,
.pub-year__label:focus-visible .pub-year__hint { opacity: 1; }

/* 专利 / 获奖条目的出处行是申请号与状态，不是期刊名，不用斜体 */
.pub--patent .pub__venue,
.pub--award .pub__venue { font-style: normal; }

/* 「全部展开 / 全部收起」推到筛选行右端 */
.filter--toggle { margin-left: auto; }

.pub {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 74px 1fr auto; gap: var(--s-5);
  align-items: start; padding: var(--s-6) var(--s-6);
  border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  background: var(--canvas); margin-bottom: var(--s-3);
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
/* 成果条目沿用卡片语言：顶部渐变条悬浮显现 */
.pub::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--grad-primary);
  opacity: 0; transition: opacity .22s ease;
}
.pub:hover { box-shadow: var(--shadow-md); border-color: var(--brand-300); transform: translateY(-2px); }
.pub:hover::before { opacity: 1; }
.pub__type {
  display: grid; place-items: center; height: 30px; padding: 0 12px;
  border-radius: var(--r-full); font-size: 12px; font-weight: 700;
  background: var(--grad-accent); color: var(--brand-800); white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgba(47, 138, 232, .16);
}
.pub__type--patent { background: var(--violet-100); color: var(--violet-600); }
.pub__type--award { background: var(--gold-100); color: var(--gold-600); }
.pub__title { font-size: 17px; font-weight: 700; color: var(--ink-900); line-height: 1.5; }
.pub__authors { margin-top: 5px; font-size: 14px; color: var(--ink-600); }
.pub__venue { margin-top: 3px; font-size: 13.5px; color: var(--ink-400); font-style: italic; }
.pub__actions { display: flex; gap: var(--s-2); flex-shrink: 0; }
.icon-btn {
  display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: var(--r-full); border: 1px solid var(--line);
  background: var(--canvas); color: var(--ink-400); font-size: 12px; font-weight: 700;
}
.icon-btn:hover {
  color: var(--brand-800); border-color: transparent;
  background-image: linear-gradient(var(--canvas), var(--canvas)), var(--grad-primary);
  background-origin: border-box; background-clip: padding-box, border-box;
  box-shadow: 0 4px 12px rgba(21, 85, 156, .18);
}

/* ------------------------------- 10. Team ------------------------------- */
.pi {
  display: grid; grid-template-columns: 200px 1fr; gap: var(--s-8);
  padding: var(--s-8); border-radius: var(--r-2xl);
  background:
    radial-gradient(46% 60% at 92% 6%, rgba(47, 138, 232, .12), transparent 62%),
    linear-gradient(150deg, var(--brand-50), var(--canvas) 60%);
  border: 1px solid var(--line-soft);
}
.pi__photo {
  width: 200px; height: 200px; border-radius: var(--r-xl);
  object-fit: cover; background: var(--surface-2); border: 1px solid var(--line-soft);
}
.pi__name { font-size: 26px; font-weight: 700; color: var(--ink-900); }
.pi__role { margin-top: 4px; font-size: 15px; font-weight: 600; color: var(--brand-700); }
.pi__bio { margin-top: var(--s-4); max-width: 62ch; }
.pi__contact { display: flex; flex-wrap: wrap; gap: var(--s-5); margin-top: var(--s-5); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.pi__contact div { display: flex; flex-direction: column; gap: 2px; }
.pi__contact dt { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--ink-400); text-transform: uppercase; }
.pi__contact dd { margin: 0; font-size: 14.5px; color: var(--ink-700); }

.member {
  display: flex; flex-direction: column; gap: var(--s-3);
  padding: var(--s-6); border-radius: var(--r-lg);
  background: var(--canvas); border: 1px solid var(--line-soft); text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-300); }
.member__photo {
  width: 88px; height: 88px; margin-inline: auto; border-radius: var(--r-full);
  object-fit: cover; background: var(--surface-2);
  padding: 3px; border: 0; background-image: var(--grad-primary);
  box-shadow: 0 4px 12px rgba(21, 85, 156, .18);
}
.member__name { font-size: 16.5px; font-weight: 700; color: var(--ink-900); }
.member__role { font-size: 13px; color: var(--brand-700); font-weight: 600; }
.member__topic { font-size: 13.5px; color: var(--ink-500); line-height: 1.6; }

/* ------------------------------- 11. News ------------------------------- */
.news-item {
  display: grid; grid-template-columns: 116px 1fr; gap: var(--s-6);
  padding: var(--s-6) 0; border-bottom: 1px solid var(--line-soft);
}
.news-item:first-child { padding-top: 0; }
.news-item__date { font-family: var(--font-mono); font-size: 14px; font-weight: 700; color: var(--brand-700); }
.news-item__tag {
  display: inline-block; margin-top: 6px; padding: 3px 10px;
  border-radius: var(--r-full); font-size: 11.5px; font-weight: 700;
  background: var(--surface-2); color: var(--ink-500);
}
.news-item__tag--event { background: var(--violet-100); color: var(--violet-600); }
.news-item__tag--award { background: var(--gold-100); color: var(--gold-600); }
.news-item__tag--notice { background: var(--grad-accent); color: var(--brand-800); }
.news-item__title { font-size: 17.5px; font-weight: 700; color: var(--ink-900); line-height: 1.5; }
.news-item__title:hover { color: var(--brand-700); }
.news-item__sum { margin-top: 6px; color: var(--ink-500); font-size: 15px; }

.news-card {
  display: flex; flex-direction: column; gap: var(--s-3);
  padding: var(--s-7); border-radius: var(--r-xl);
  background: var(--canvas); border: 1px solid var(--line-soft);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--brand-300); }
.news-card__date { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--brand-700); }

/* ----------------------------- 12. Contact ------------------------------ */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
/* 2026-09-21：三张联系卡片改为「图标居中 + 竖向堆叠」版式。
   原来图标与文字左右并排、图标 42px，在深色区块里偏小；
   现改为图标居中、图标与文字同步放大，扫读更醒目。
   卡片 1 原用 <div> 包 dt/dd 不合法，已一并统一为 <dl>。 */
.contact-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: var(--s-5); padding: var(--s-7) var(--s-6);
  border-radius: var(--r-lg); background: var(--grad-soft);
  border: 1px solid var(--line-soft);
}
.contact-card__icon {
  flex: 0 0 auto; display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: var(--r-md);
  background: var(--grad-accent); color: var(--brand-700);
  box-shadow: inset 0 0 0 1px rgba(47, 138, 232, .16);
}
/* 图标为内联 SVG，尺寸由属性 20px 提升到 26px（此处覆盖属性值） */
.contact-card__icon svg { width: 26px; height: 26px; }
.contact-card dl { margin: 0; }
.contact-card dt { font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--ink-400); text-transform: uppercase; }
.contact-card dd { margin: 6px 0 0; font-size: 17px; color: var(--ink-800); line-height: 1.5; word-break: break-word; }
/* 地址次行（楼名 · 省市），比主行低一级 */
.contact-card dd.contact-card__sub { margin-top: 3px; font-size: 15px; color: var(--ink-500); }

.cta-box {
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-4);
  padding: var(--s-9); border-radius: var(--r-2xl);
  position: relative; overflow: hidden;
  background:
    radial-gradient(52% 96% at 92% 10%, rgba(90, 166, 240, .40), transparent 62%),
    radial-gradient(44% 80% at 4% 96%, rgba(99, 102, 241, .26), transparent 60%),
    linear-gradient(150deg, var(--brand-800) 0%, var(--brand-900) 58%, var(--brand-950) 100%);
  color: #fff;
}
.cta-box h2 { color: #fff; }
.cta-box p { color: rgba(255, 255, 255, .78); max-width: 58ch; }

/* ------------------------------ 13. Footer ------------------------------ */
.site-footer {
  padding-block: var(--s-10) var(--s-6);
  background:
    radial-gradient(64% 88% at 10% -10%, rgba(29, 111, 208, .34), transparent 62%),
    linear-gradient(165deg, var(--ink-900) 0%, #071a33 100%);
  color: rgba(255, 255, 255, .68);
  font-size: 14.5px;
}
.footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: var(--s-8); padding-bottom: var(--s-8);
}
.footer__title {
  display: inline-block; margin-bottom: var(--s-4); padding-bottom: 7px;
  font-size: 13px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: #fff;
  background-image: var(--grad-divider);
  background-repeat: no-repeat; background-size: 34px 2px; background-position: 0 100%;
}
/* 页脚品牌位改为完整锁版（含字标）。页脚是深色底，深蓝字标不可读，
   故使用反白版资源（正文转白、气泡保留品牌金）。尺寸按用户要求放大。 */
.footer__logo { display: block; width: min(200px, 100%); height: auto; margin-bottom: var(--s-5); }
.footer__list { display: flex; flex-direction: column; gap: var(--s-2); }
.footer__list a { color: rgba(255, 255, 255, .68); }
.footer__list a:hover { color: #fff; }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: var(--s-4);
  justify-content: space-between; align-items: center;
  padding-top: var(--s-6); border-top: 1px solid rgba(255, 255, 255, .12);
  background-image: var(--grad-hairline-dark);
  background-repeat: no-repeat; background-size: 100% 1px; background-position: 0 0;
  font-size: 13px; color: rgba(255, 255, 255, .5);
}

/* ------------------------------ 14. Utility ----------------------------- */
.note {
  position: relative;
  margin-top: var(--s-6); padding: var(--s-4) var(--s-5);
  border-left: 3px solid transparent; border-radius: 0 var(--r-md) var(--r-md) 0;
  background: linear-gradient(120deg, var(--brand-50) 0%, #fbfdff 100%);
  color: var(--ink-600); font-size: 14px;
}
/* 左侧提示条：由纯色改为上浅下深渐变 */
.note::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 3px;
  background: linear-gradient(180deg, var(--brand-500) 0%, var(--brand-800) 100%);
}
.noscript-note {
  padding: var(--s-4) var(--s-5); border-radius: var(--r-md);
  background: var(--gold-100); color: var(--ink-800); font-size: 14px;
}
/* 滚动显现 */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal { will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
html:not(.js) .reveal { opacity: 1; transform: none; }

/* ---------------------------- 15. Responsive ---------------------------- */
@media (max-width: 1180px) {
  .grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--s-7); }
}

@media (max-width: 980px) {
  :root { --header-h: 64px; }
  .container { padding-inline: var(--s-5); }

  .header__right {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: var(--s-4);
    margin: 0; padding: var(--s-5) var(--s-5) var(--s-7);
    background: var(--canvas); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .header__right.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav a { padding: 12px 14px; border-radius: var(--r-md); font-size: 16px; }
  .nav a[aria-current="page"] { background: var(--grad-primary); color: #fff; }
  .lang { align-self: flex-start; }
  .menu-toggle { display: grid; place-items: center; }

  .hero { padding-block: var(--s-9) var(--s-8); }
  .hero__inner, .hero--page .hero__inner { grid-template-columns: 1fr; gap: var(--s-7); }
  .hero__media { order: -1; }
  .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .section { padding-block: var(--s-10); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento__item, .bento__item--wide, .bento__item--feature { grid-column: span 1; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .pi { grid-template-columns: 1fr; gap: var(--s-6); padding: var(--s-6); }
  .pi__photo { width: 128px; height: 128px; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-box { padding: var(--s-7); }
}

@media (max-width: 760px) {
  .pub { grid-template-columns: 1fr; gap: var(--s-3); padding: var(--s-5); }
  .pub__actions { justify-content: flex-start; }
  .news-item { grid-template-columns: 1fr; gap: var(--s-3); }
  .news-item__date { display: flex; align-items: center; gap: var(--s-3); }
  .news-item__tag { margin-top: 0; }
  .footer__grid { grid-template-columns: 1fr; gap: var(--s-7); }
}

@media (max-width: 520px) {
  body { font-size: 15.5px; }
  .container { padding-inline: var(--s-4); }
  .grid--2, .grid--3, .grid--4, .bento { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: 1fr; }
  .section { padding-block: var(--s-9); }
  .section__head { margin-bottom: var(--s-7); }
  .card, .bento__item { padding: var(--s-6); }
  .btn { width: 100%; }
  .hero__actions { width: 100%; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

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

/* ==========================================================================
   zhao-lab 追加：PI 档案 + 四类研究人员分区
   --------------------------------------------------------------------------
   只新增类，不改动任何既有选择器；配色与渐变全部复用 :root 令牌，
   因此与 v2 蓝色主题完全同源，后续换色只需改 :root。
   ========================================================================== */

/* ---------------------------- PI 档案 ---------------------------- */
.pi--profile { grid-template-columns: 232px 1fr; align-items: start; }
.pi__side { display: flex; flex-direction: column; gap: var(--s-4); }
.pi--profile .pi__photo { width: 232px; height: 232px; }

.pi__links { display: flex; flex-wrap: wrap; gap: 6px; }
.pi__link {
  display: inline-flex; align-items: center; padding: 6px 12px;
  border-radius: var(--r-full); font-size: 12.5px; font-weight: 600;
  color: var(--brand-800); background: var(--canvas);
  border: 1px solid var(--line); text-decoration: none;
  transition: border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.pi__link:hover { border-color: var(--brand-300); color: var(--brand-700); }
.pi__link--todo {
  color: var(--ink-400); background: var(--surface-2);
  border-style: dashed; border-color: var(--line-strong);
}
.pi__link--todo:hover { border-color: var(--line-strong); color: var(--ink-400); }

.pi__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-3); }
.pi__name-en {
  font-size: 12px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-400);
}
.pi__affil { margin-top: 4px; font-size: 14px; color: var(--ink-500); }
.pi__affil:first-of-type { margin-top: var(--s-3); }

.pi__metrics {
  list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-3); margin-top: var(--s-6);
}
.pi__metric {
  position: relative; overflow: hidden;
  padding: var(--s-4); border-radius: var(--r-md);
  background: var(--canvas); border: 1px solid var(--line-soft);
}
.pi__metric::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px;
  background: var(--grad-primary);
}
.pi__metric .v { display: block; font-size: 23px; font-weight: 700; line-height: 1.15; color: var(--brand-700); }
.pi__metric .k { display: block; margin-top: 3px; font-size: 12.5px; color: var(--ink-400); }

.pi__block { margin-top: var(--s-6); }
.pi__block-t {
  margin-bottom: var(--s-3); font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink-400);
}
.pi__block .tags { margin-top: 0; padding-top: 0; }

.pi__timeline { list-style: none; display: grid; gap: var(--s-3); }
.pi__timeline li {
  display: grid; grid-template-columns: 132px 1fr; gap: var(--s-4);
  padding-bottom: var(--s-3); border-bottom: 1px dashed var(--line);
}
.pi__timeline li:last-child { border-bottom: 0; padding-bottom: 0; }
.pi__timeline .p {
  font-size: 12.5px; font-weight: 700; color: var(--brand-700);
  font-variant-numeric: tabular-nums;
}
.pi__timeline .d { font-size: 14px; color: var(--ink-600); line-height: 1.65; }

.pi__list { list-style: none; display: grid; gap: 8px; }
.pi__list li {
  position: relative; padding-left: 16px;
  font-size: 14px; color: var(--ink-600); line-height: 1.6;
}
.pi__list li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--grad-primary);
}

/* 待补充标记 */
.todo {
  display: inline-block; padding: 1px 9px; border-radius: var(--r-full);
  background: var(--surface-2); color: var(--ink-400);
  font-size: 12.5px; font-weight: 600;
  border: 1px dashed var(--line-strong);
}

/* ------------------------ 研究人员分区 ------------------------ */
.group-sec .section__head-row { margin-bottom: var(--s-8); }
.gsec__count {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 16px; border-radius: var(--r-full);
  background: var(--brand-50); color: var(--brand-800);
  border: 1px solid var(--line-soft);
  font-size: 13px; font-weight: 700; white-space: nowrap;
}
.gsec__count::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--grad-primary);
}
.gsec__count--pending {
  background: var(--surface-2); color: var(--ink-400);
  border-style: dashed; border-color: var(--line-strong);
}
.gsec__count--pending::before { background: var(--ink-300); }

/* ------------------------ 成员卡位（待补充态） ------------------------ */
.member--empty {
  background: transparent; border-style: dashed;
  border-color: var(--line-strong); box-shadow: none;
}
.member--empty:hover { transform: none; box-shadow: none; border-color: var(--brand-300); }
.member--empty .member__ph {
  width: 88px; height: 88px; margin-inline: auto; border-radius: var(--r-full);
  display: grid; place-items: center;
  background: var(--surface-2); color: var(--ink-300);
  font-size: 26px; font-weight: 300; line-height: 1;
}
.member--empty .member__name--todo { color: var(--ink-400); }
.member--empty .member__role { color: var(--ink-400); font-weight: 500; }
.member--empty .member__topic { font-size: 12.5px; color: var(--ink-300); }

/* ------------------------ 首页分组概览卡 ------------------------ */
.gsum { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-7) var(--s-6); }
.gsum__n {
  font-size: 40px; font-weight: 700; line-height: 1;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.gsum .h3 { font-size: 17px; }
.gsum .body { font-size: 14px; }
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .gsum__n { color: var(--brand-700); -webkit-text-fill-color: currentColor; }
}

/* ---------------------------- 响应式 ---------------------------- */
@media (max-width: 1180px) {
  .pi--profile { grid-template-columns: 200px 1fr; }
  .pi--profile .pi__photo { width: 200px; height: 200px; }
  .pi__metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .pi--profile { grid-template-columns: 1fr; }
  .pi__side { flex-direction: row; align-items: center; flex-wrap: wrap; gap: var(--s-5); }
  .pi__timeline li { grid-template-columns: 112px 1fr; gap: var(--s-3); }
}
@media (max-width: 760px) {
  .group-sec .section__head-row { flex-direction: column; align-items: flex-start; gap: var(--s-4); }
  .pi__timeline li { grid-template-columns: 1fr; gap: 2px; }
  .pi__list li { font-size: 13.5px; }
}
@media (max-width: 520px) {
  .pi--profile { padding: var(--s-6) var(--s-5); }
  .pi--profile .pi__photo { width: 96px; height: 96px; }
  .member--empty .member__ph { width: 72px; height: 72px; }
  .pi__side { gap: var(--s-4); }
  .pi__metric { padding: var(--s-3) var(--s-4); }
  .pi__metric .v { font-size: 20px; }
  .gsec__count { font-size: 12px; padding: 6px 12px; }
  .gsum__n { font-size: 32px; }
}

/* ==========================================================================
   2026-09 改版增量：PI 证件照裁切 · 副标题排版 · 成果模块（项目精简并入）
   —— 仅新增规则，不改写上方任何既有声明
   ========================================================================== */

/* ------------------- PI 证件照：原图为 217×304 竖构图，偏上裁切保住面部 ------------------- */
.pi__photo { object-position: center 30%; }

/* ------------------- 首页副标题：由全大写小字改为正式副标题排法 ------------------- */
.hero__title-en {
  font-size: clamp(14px, 1.35vw, 17px);
  line-height: 1.5;
  letter-spacing: .015em;
  text-transform: none;
  font-weight: 500;
  color: var(--ink-500);
}

/* ------------------- 页头品牌副行：文案变长后收紧字距，避免与导航抢位 ------------------- */
.brand__name-en { font-size: 10px; letter-spacing: .03em; white-space: nowrap; }

/* ------------------- 成果页 · 科研项目精简行 ------------------- */
.prow-list > ul { display: flex; flex-direction: column; gap: var(--s-3); }
.prow {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  gap: var(--s-6); align-items: center;
  padding: var(--s-5) var(--s-6);
  background: var(--canvas); border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.prow::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 3px;
  background: var(--grad-primary); opacity: 0; transition: opacity .22s ease;
}
.prow:hover { border-color: var(--brand-300); box-shadow: var(--shadow-sm); transform: translateX(2px); }
.prow:hover::before { opacity: 1; }
.prow__status {
  display: grid; place-items: center; height: 28px; padding: 0 13px;
  justify-self: start;
  border-radius: var(--r-full); font-size: 12.5px; font-weight: 700; white-space: nowrap;
  background: var(--grad-accent); color: var(--brand-800);
  box-shadow: inset 0 0 0 1px rgba(47, 138, 232, .16);
}
.prow__status--done { background: var(--surface-2); color: var(--ink-400); box-shadow: none; }
.prow__main { min-width: 0; }
.prow__title { font-size: 16.5px; font-weight: 700; color: var(--ink-900); line-height: 1.5; }
.prow__meta { margin-top: 5px; font-size: 13px; color: var(--ink-400); }
.prow__side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; flex-shrink: 0; }
.prow__period { font-size: 12.5px; color: var(--ink-600); }
.prow__amount { font-size: 12.5px; font-weight: 700; color: var(--brand-600); }
.prow__role { font-size: 12px; color: var(--ink-400); }

/* ------------------- 首页「精选成果」内的在研项目条 ------------------- */
.outcome-strip { margin-top: var(--s-9); padding-top: var(--s-7); border-top: 1px solid var(--line); }
.outcome-strip__head {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: var(--s-4); margin-bottom: var(--s-5);
}

/* ------------------- 响应式 ------------------- */
@media (max-width: 1180px) {
  .prow { gap: var(--s-5); padding: var(--s-5); }
}
@media (max-width: 860px) {
  .prow { grid-template-columns: 1fr; gap: var(--s-3); }
  .prow__side { flex-direction: row; align-items: baseline; gap: var(--s-4); text-align: left; }
}
@media (max-width: 520px) {
  .prow { padding: var(--s-4) var(--s-5); }
  .prow__title { font-size: 15.5px; }
  .outcome-strip { margin-top: var(--s-8); padding-top: var(--s-6); }
}

/* ---------- 新闻条目的外部链接（报道 / 文献） ---------- */
.news-item__links,
.news-card__links { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-3); padding: 0; list-style: none; }
.news-item__links li,
.news-card__links li { margin: 0; }
.news-item__links a,
.news-card__links a { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--brand-700); text-decoration: none; border-bottom: 1px solid var(--brand-200); padding-bottom: 1px; transition: color .18s ease, border-color .18s ease; }
.news-item__links a:hover,
.news-card__links a:hover { color: var(--brand-800); border-color: var(--brand-500); }
.news-item__links a::after,
.news-card__links a::after { content: "\2197"; font-size: 11px; opacity: .7; }

/* ------------------- 团队成员分区：空态（如访问学者当前 0 人） ------------------- */
.group-sec__empty {
  margin: 0;
  padding: var(--s-8) var(--s-6);
  border: 1px dashed var(--line);
  border-radius: var(--r-lg);
  color: var(--ink-500);
  font-size: 15px;
  text-align: center;
}
