:root {
  --navy: #0d2144;
  --navy-2: #143764;
  --navy-3: #25558f;
  --accent: #a31f34;
  --accent-dark: #8e182b;
  --cyan: #68d4ff;
  --cyan-soft: rgba(104, 212, 255, 0.15);
  --text: #18212b;
  --text-muted: #607080;
  --text-soft: #8a96a5;
  --line: #e4e8ee;
  --line-strong: #cfd7e1;
  --white: #ffffff;
  --bg-soft: #f6f8fb;
  --bg-card: #fbfcfd;
  --shadow-sm: 0 10px 28px rgba(10, 34, 71, 0.05);
  --shadow-md: 0 18px 42px rgba(10, 34, 71, 0.08);
  --shadow-tech: 0 24px 60px rgba(10, 34, 71, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --max-width: 1160px;
  --font-body: "Avenir Next", "PingFang SC", "Noto Sans SC", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

p,
li {
  line-height: 1.8;
}

.container {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.section {
  padding: 82px 0;
}

.section-soft {
  background:
    radial-gradient(circle at top right, rgba(104, 212, 255, 0.09), transparent 26%),
    linear-gradient(180deg, #f7f9fc 0%, #f3f6fa 100%);
}

.section-label,
.page-header-eyebrow,
.footer-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-label,
.page-header-eyebrow,
.hero-eyebrow {
  color: var(--accent);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(220, 233, 247, 0.86);
  text-shadow: 0 6px 20px rgba(8, 31, 64, 0.18);
  text-wrap: balance;
}

.section-label::before,
.hero-eyebrow::before,
.page-header-eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.hero-eyebrow::before {
  display: none;
}

.section-label-light {
  color: rgba(255, 255, 255, 0.74);
}

.section-label-light::before {
  background: rgba(255, 255, 255, 0.74);
}

.section-title {
  margin-top: 12px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.section-title-light {
  color: var(--white);
}

.section-subtitle {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 1rem;
  text-wrap: balance;
}

.section-subtitle-light {
  color: rgba(255, 255, 255, 0.7);
}

.section-header {
  margin-bottom: 34px;
}

.section-header-center {
  text-align: center;
}

.section-header-center .section-subtitle {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.section-action {
  margin-top: 34px;
  text-align: center;
}

.text-link {
  color: var(--accent);
  font-weight: 600;
}

.btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 600;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -140%;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.26), transparent);
  transform: skewX(-22deg);
  transition: left 0.7s ease;
}

.btn-primary:hover::after {
  left: 160%;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.btn-secondary:hover,
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-outline:hover {
  background: var(--bg-soft);
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}

.site-nav.on-hero {
  background: transparent;
}

.site-nav.scrolled {
  background: rgba(8, 31, 64, 0.94);
  border-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 28px rgba(4, 16, 36, 0.24);
}

.nav-inner {
  min-height: 78px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.brand-logos {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  object-fit: contain;
}

.brand-logo-school {
  height: 30px;
}

.brand-logo-college {
  height: 28px;
}

.brand-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.16);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong {
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.brand-copy span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.8rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  position: relative;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--white);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.lang-switch a {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.lang-switch a.active,
.lang-switch a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 38px;
  flex: 0 0 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0;
  cursor: pointer;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 0.22s ease, background-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.nav-toggle span {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 7px;
  height: 2.5px;
  border-radius: 999px;
  background: rgba(163, 31, 52, 0.96);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.22s ease, opacity 0.18s ease, background-color 0.22s ease;
}

.nav-toggle span:first-child {
  transform: translate(-6px, -3px) rotate(40deg);
}

.nav-toggle span:last-child {
  transform: translate(-1px, -3px) rotate(-40deg);
}

.nav-toggle:hover,
.nav-toggle:focus-visible,
.nav-toggle.is-open {
  border-color: rgba(163, 31, 52, 0.34);
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 20px rgba(4, 16, 36, 0.12);
}

.nav-toggle:focus-visible {
  outline: none;
}

.nav-toggle.is-open span:first-child {
  transform: translate(-6px, -3px) rotate(-40deg);
}

.nav-toggle.is-open span:nth-child(2) {
  transform: translate(-1px, -3px) rotate(40deg);
}

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 72vh;
  padding: 120px 0 88px;
  background-color: #0a2b54;
  background-image:
    linear-gradient(180deg, rgba(8, 34, 70, 0.66) 0%, rgba(14, 53, 106, 0.8) 100%),
    radial-gradient(circle at 18% 24%, rgba(104, 212, 255, 0.22), transparent 18%),
    radial-gradient(circle at 78% 18%, rgba(70, 132, 255, 0.14), transparent 20%),
    url("/images/1b1077bd0267b4a4f9f4d289792e0f20.jpg");
  background-position: center center, center center, center center, center 30%;
  background-size: cover, cover, cover, cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  --pointer-x: 0px;
  --pointer-y: 0px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto auto -140px -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(104, 212, 255, 0.14) 0%, transparent 68%);
  pointer-events: none;
  animation: heroOrbFloat 12s ease-in-out infinite;
  transform: translate3d(calc(var(--pointer-x) * -0.35), calc(var(--pointer-y) * -0.35), 0);
  will-change: transform, opacity;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0,
    transparent 4px,
    rgba(255, 255, 255, 0.012) 4px,
    rgba(255, 255, 255, 0.012) 5px
  );
  opacity: 0.38;
  pointer-events: none;
  backface-visibility: hidden;
}

.hero.animation-ready::after {
  animation: scanDrift 18s linear infinite;
  will-change: background-position;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at center, black 36%, transparent 92%);
  transform: translate3d(calc(var(--pointer-x) * 0.16), calc(var(--pointer-y) * 0.16), 0);
  will-change: transform;
  backface-visibility: hidden;
}

.hero.animation-ready .hero-grid {
  animation: gridDrift 20s linear infinite;
  will-change: transform, background-position;
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
}

.hero-content {
  max-width: 820px;
  position: relative;
  max-width: 920px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  transform: translate3d(calc(var(--pointer-x) * -0.12), calc(var(--pointer-y) * -0.12), 0);
  transition: transform 0.35s ease;
  will-change: transform;
  backface-visibility: hidden;
}

body[data-locale="en"] .hero h1 {
  font-size: clamp(2.35rem, 5vw, 4.2rem);
  letter-spacing: -0.035em;
}

body[data-locale="en"] .hero-lead {
  max-width: 36ch;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 {
  margin-top: 16px;
  font-size: clamp(2.7rem, 5.6vw, 4.9rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--white);
  text-shadow: 0 10px 36px rgba(0, 0, 0, 0.28);
  text-wrap: balance;
}

.hero-en {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 1rem;
  letter-spacing: 0.06em;
}

.hero-lead {
  max-width: 720px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.06rem;
}

.hero-eyebrow,
.hero h1,
.hero-en,
.hero-lead {
  transition: transform 0.26s ease, text-shadow 0.26s ease, color 0.26s ease;
}

@media (hover: hover) {
  .hero-content:hover .hero-eyebrow {
    transform: translateY(-1px);
  }

  .hero-content:hover h1 {
    transform: translateY(-2px);
    text-shadow: 0 12px 38px rgba(0, 0, 0, 0.3);
  }

  .hero-content:hover .hero-en {
    transform: translateY(-1px);
    color: rgba(255, 255, 255, 0.5);
  }

  .hero-content:hover .hero-lead {
    transform: translateY(-1.5px);
    color: rgba(255, 255, 255, 0.8);
  }
}

.hero-tags,
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-tags {
  margin-top: 24px;
}

.hero-tag,
.card-tags span,
.email-chip {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  max-width: 100%;
}

.hero-tag {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  color: rgba(255, 255, 255, 0.84);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.hero.animation-ready .hero-tag {
  animation: chipPulse 6s ease-in-out infinite;
  will-change: border-color, box-shadow;
}

.hero.animation-ready .hero-tag:nth-child(2) {
  animation-delay: 0.8s;
}

.hero.animation-ready .hero-tag:nth-child(3) {
  animation-delay: 1.6s;
}

.hero.animation-ready .hero-tag:nth-child(4) {
  animation-delay: 2.4s;
}

@media (hover: hover) {
  .hero-tag:hover {
    transform: translateY(-1px);
    border-color: rgba(104, 212, 255, 0.32);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 16px rgba(104, 212, 255, 0.08);
  }
}

.hero-actions {
  position: relative;
  margin-top: 26px;
  padding-top: 18px;
}

.hero-actions .btn-primary {
  background: linear-gradient(180deg, rgba(104, 212, 255, 0.22), rgba(76, 144, 217, 0.28));
  border-color: rgba(160, 222, 255, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 30px rgba(8, 31, 64, 0.16);
}

.hero-actions .btn-primary:hover {
  background: linear-gradient(180deg, rgba(104, 212, 255, 0.28), rgba(76, 144, 217, 0.36));
}

.hero-actions::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 84px;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(104, 212, 255, 0.82), transparent);
}

.stats-strip:empty {
  visibility: hidden;
  height: 0;
  margin: 0;
  padding: 0;
  border: none;
  box-shadow: none;
  overflow: hidden;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: -36px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-tech);
  position: relative;
  z-index: 2;
  overflow: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, box-shadow 0.22s ease;
}

.stats-strip:not(:empty) {
  opacity: 1;
}

.stats-strip::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(163, 31, 52, 0.18), rgba(104, 212, 255, 0.46), rgba(163, 31, 52, 0.18));
}

.about-shell {
  display: grid;
  gap: 18px;
}

.stat-item {
  padding: 24px 18px;
  text-align: center;
  border-right: 1px solid var(--line);
  position: relative;
  display: grid;
  gap: 6px;
  align-content: center;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
  transition: transform 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
}

.stat-item:last-child {
  border-right: 0;
}

.stat-item-link {
  cursor: pointer;
}

.stat-item-link::before {
  content: "";
  position: absolute;
  inset: 10px 10px 12px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(104, 212, 255, 0.08), rgba(163, 31, 52, 0.03));
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}

.stat-item strong {
  position: relative;
  z-index: 1;
  display: block;
  font-size: 1.9rem;
  color: var(--accent);
  line-height: 1;
}

.stat-item span {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.stat-item:hover,
.stat-item-link:hover,
.stat-item-link:focus-visible {
  transform: translateY(-2px);
}

.stat-item-link:hover::before,
.stat-item-link:focus-visible::before {
  opacity: 1;
}

.stat-item-link:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(104, 212, 255, 0.22);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.about-copy {
  min-height: 100%;
  padding: 32px 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--white) 0%, var(--bg-card) 100%);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 16px;
  align-content: start;
}

.about-copy::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(163, 31, 52, 0.82), rgba(104, 212, 255, 0.72));
  opacity: 0.85;
}

.about-copy-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.about-copy-kicker {
  color: var(--text-soft);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-copy-badge {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(104, 212, 255, 0.1);
  border: 1px solid rgba(104, 212, 255, 0.16);
  color: #4d7faa;
  font-size: 0.78rem;
}

.about-lead {
  color: #526f8f;
  font-size: clamp(1rem, 1.38vw, 1.12rem);
  line-height: 1.8;
  letter-spacing: -0.01em;
}

.about-support {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.8;
}

.about-copy-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.about-copy-meta div {
  display: grid;
  gap: 8px;
  padding-top: 2px;
}

.about-copy-meta div + div {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.about-copy-meta span {
  color: var(--text-soft);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about-copy-meta strong {
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.65;
  max-width: 26ch;
  text-wrap: balance;
}

body[data-locale="en"] .about-copy-meta strong,
body[data-locale="en"] .about-panel-meta strong {
  max-width: none;
}

.about-panel {
  min-height: 100%;
  padding: 26px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 14%, rgba(104, 212, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f4f8fc 100%);
  color: var(--text);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(207, 215, 225, 0.92);
}

.about-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(163, 31, 52, 0.74), rgba(104, 212, 255, 0.6));
}

.about-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.028) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(circle at center, black 44%, transparent 94%);
  opacity: 0.4;
  pointer-events: none;
}

.about-panel-head,
.about-panel-metrics,
.about-panel-meta {
  position: relative;
  z-index: 1;
}

.about-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.about-panel-kicker {
  color: var(--text-soft);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-panel-badge {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(163, 31, 52, 0.06);
  border: 1px solid rgba(163, 31, 52, 0.1);
  color: var(--accent);
  font-size: 0.78rem;
}

.about-panel-summary {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.8;
}

.about-panel-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.about-panel-metric {
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(207, 215, 225, 0.92);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
  color: inherit;
  text-decoration: none;
  display: grid;
  align-content: start;
  min-height: 100%;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.about-panel-metrics strong {
  display: block;
  font-size: 1.36rem;
  line-height: 1;
  color: var(--text);
}

.about-panel-metrics span {
  display: block;
  margin-top: 8px;
  color: var(--text-soft);
  font-size: 0.78rem;
}

.about-panel-metric:hover,
.about-panel-metric-link:hover,
.about-panel-metric-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(104, 212, 255, 0.24);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(240, 247, 253, 0.9));
}

.about-panel-metric-link:focus-visible {
  outline: none;
  box-shadow:
    0 14px 28px rgba(15, 23, 42, 0.08),
    0 0 0 3px rgba(104, 212, 255, 0.16);
}

.about-panel-meta {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.about-panel-meta div {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.about-panel-meta span {
  display: block;
  color: var(--text-soft);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about-panel-meta strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.6;
}

.feature-grid,
.research-grid,
.news-grid,
.platform-grid,
.faculty-grid,
.student-grid,
.pub-stats,
.teacher-grid,
.join-grid,
.source-list {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.research-card,
.news-card,
.platform-card,
.faculty-card,
.student-card,
.pub-stat,
.teacher-card,
.join-card,
.source-link,
.research-detail,
.contact-block,
.timeline-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--white) 0%, var(--bg-card) 100%);
  box-shadow: var(--shadow-sm);
}

.feature-card,
.research-card,
.news-card,
.platform-card,
.faculty-card,
.student-card,
.pub-stat,
.teacher-card,
.join-card,
.research-detail,
.contact-block,
.timeline-card {
  padding: 22px;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.about-copy,
.about-panel {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.feature-card::before,
.research-card::before,
.news-card::before,
.platform-card::before,
.faculty-card::before,
.teacher-card::before,
.join-card::before,
.research-detail::before,
.contact-block::before,
.timeline-card::before,
.pub-stat::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(163, 31, 52, 0.82), rgba(104, 212, 255, 0.72));
  opacity: 0.85;
  pointer-events: none;
}

.feature-card:hover,
.research-card:hover,
.news-card:hover,
.platform-card:hover,
.faculty-card:hover,
.student-card:hover,
.source-link:hover,
.teacher-card:hover,
.join-card:hover,
.research-detail:hover,
.contact-block:hover,
.timeline-card:hover,
.pub-stat:hover,
.about-copy:hover,
.about-panel:hover {
  transform: translateY(-3px);
  border-color: rgba(104, 212, 255, 0.24);
  box-shadow: 0 18px 42px rgba(10, 34, 71, 0.08), 0 0 0 1px rgba(104, 212, 255, 0.08);
}

.feature-card.reveal-target,
.research-card.reveal-target,
.news-card.reveal-target,
.platform-card.reveal-target,
.faculty-card.reveal-target,
.source-link.reveal-target,
.teacher-card.reveal-target,
.join-card.reveal-target,
.research-detail.reveal-target,
.contact-block.reveal-target,
.timeline-card.reveal-target,
.pub-stat.reveal-target,
.about-copy.reveal-target,
.about-panel.reveal-target,
.cta-role-card.reveal-target,
.student-card.reveal-target,
.gallery-item.reveal-target {
  transition:
    opacity 0.55s ease,
    transform 0.55s cubic-bezier(0.2, 0.75, 0.18, 1),
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease;
}

.feature-card h3,
.research-card h3,
.news-card h3,
.platform-card h3,
.faculty-card h3,
.student-card h3,
.teacher-card h3,
.join-card h3,
.timeline-card h3,
.pub-item h3 {
  font-size: 1.05rem;
  line-height: 1.45;
}

.feature-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(163, 31, 52, 0.08);
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.feature-card p,
.research-card p,
.news-card p,
.platform-card p,
.join-card p,
.timeline-card p,
.contact-copy {
  margin-top: 10px;
  color: var(--text-muted);
}

.research-grid,
.news-grid,
.faculty-grid,
.teacher-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#home-research.research-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
}

#home-research .research-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  align-items: start;
}

#home-research .card-index {
  justify-self: start;
}

#home-research .research-card-head {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 94px;
}

#home-research .research-card h3,
#home-research .research-card .card-en,
#home-research .research-card-summary {
  margin-top: 0;
}

#home-research .research-card-summary {
  line-height: 1.72;
}

#home-research .research-card .card-tags {
  align-self: end;
}

.research-card,
.news-card {
  min-height: 100%;
}

.card-index,
.pub-year,
.timeline-year {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(163, 31, 52, 0.08);
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: inset 0 0 0 1px rgba(163, 31, 52, 0.08);
}

.card-en {
  margin-top: 8px;
  color: var(--text-soft);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.card-tags,
.email-list,
.teacher-contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card-tags {
  margin-top: 14px;
}

.card-tags span,
.email-chip {
  background: linear-gradient(180deg, #f9fbfd 0%, #f4f7fb 100%);
  border: 1px solid var(--line);
  color: var(--text-muted);
  transition: border-color 0.18s ease, color 0.18s ease;
}

.card-tags span:hover,
.email-chip:hover {
  border-color: rgba(104, 212, 255, 0.24);
  color: var(--text);
}

.cta-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% -10%, rgba(104, 212, 255, 0.16), transparent 32%),
    linear-gradient(180deg, #fbfdff 0%, #ffffff 54%, #f7fbff 100%);
  border-top: 1px solid rgba(20, 61, 118, 0.06);
  margin-bottom: 0;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(18, 52, 98, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 52, 98, 0.028) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, transparent 0%, black 18%, black 82%, transparent 100%);
  opacity: 0.24;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section .section-header-center .section-subtitle {
  max-width: 700px;
}

.cta-role-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.cta-role-card {
  position: relative;
  padding: 20px 22px 22px;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid rgba(20, 61, 118, 0.08);
  box-shadow: 0 18px 38px rgba(10, 34, 71, 0.05);
  overflow: hidden;
}

.cta-role-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(163, 31, 52, 0.8), rgba(104, 212, 255, 0.76));
}

.cta-role-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 42px rgba(10, 34, 71, 0.08);
}

.cta-role-card strong {
  position: relative;
  display: block;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.4;
}

.cta-role-card span {
  position: relative;
  display: block;
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.7;
}

.cta-header {
  margin-bottom: 38px;
}

.cta-action {
  display: grid;
  justify-items: center;
  gap: 18px;
  margin-top: 38px;
}

.cta-note {
  max-width: 800px;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.8;
  text-align: center;
}

.page-header {
  padding: 146px 0 58px;
  background:
    linear-gradient(180deg, rgba(8, 34, 70, 0.72) 0%, rgba(14, 53, 106, 0.82) 100%),
    radial-gradient(circle at 18% 22%, rgba(104, 212, 255, 0.18), transparent 18%),
    url("/images/2ba002e82344874482a4045757762e18.jpg") center 42% / cover no-repeat;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at center, black 28%, transparent 92%);
}

.page-header .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-header h1 {
  margin-top: 14px;
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  line-height: 1.14;
  text-wrap: balance;
}

.page-header p:last-child {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.7);
  text-wrap: balance;
}

.narrow-copy {
  max-width: 760px;
  margin-bottom: 34px;
}

.narrow-copy p {
  text-align: center;
  color: var(--text-muted);
}

.research-list {
  display: grid;
  gap: 18px;
}

.research-detail-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.research-detail-body {
  margin-top: 14px;
}

.research-detail-body p {
  color: var(--text-muted);
}

.platform-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.group-header {
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.group-header h2 {
  font-size: 1.1rem;
}

.member-section + .member-section {
  margin-top: 46px;
}

.member-section + .member-section .group-header {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.faculty-top {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.faculty-mark {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(163, 31, 52, 0.08);
  color: var(--accent);
  font-weight: 700;
  font-size: 1.32rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.faculty-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
}

.faculty-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.faculty-name-row {
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  gap: 10px;
  align-items: center;
  min-width: 0;
  justify-content: start;
  max-width: 100%;
}

.faculty-role-row {
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  gap: 8px 10px;
  align-items: center;
  min-width: 0;
  justify-content: start;
  max-width: 100%;
}

.faculty-link-row {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  position: relative;
  z-index: 1;
}

.faculty-name-row h3 {
  margin: 0;
  line-height: 1.2;
  white-space: nowrap;
  min-width: 0;
}

.faculty-link {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fbfcfd 0%, #f5f8fb 100%);
  color: var(--text-soft);
  font-size: 0.82rem;
  white-space: nowrap;
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
  pointer-events: auto;
  cursor: pointer;
  transition: color 0.22s ease;
}

.faculty-link::after {
  content: "↗";
  font-size: 0.78rem;
}

.faculty-link-secondary {
  background: rgba(104, 212, 255, 0.12);
  border-color: rgba(104, 212, 255, 0.24);
  color: var(--navy-3);
}

.faculty-badge {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  line-height: 1;
  white-space: nowrap;
  flex: 0 0 auto;
}

.faculty-badge-primary {
  background: rgba(163, 31, 52, 0.08);
  color: var(--accent);
}

.faculty-badge-secondary {
  background: rgba(104, 212, 255, 0.12);
  color: #4d7faa;
}

.faculty-role {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.4;
  white-space: nowrap;
}

.faculty-role-row .faculty-role {
  white-space: nowrap;
}

html[lang="en"] .faculty-name-row h3 {
  font-size: 0.98rem;
}

html[lang="en"] .faculty-role {
  font-size: 0.9rem;
}

html[lang="en"] .faculty-badge {
  min-height: 28px;
  padding: 0 10px;
  font-size: 0.68rem;
}

html[lang="en"] .faculty-name-row,
html[lang="en"] .faculty-role-row {
  gap: 8px;
}

.faculty-bio {
  margin-top: 18px;
  color: var(--text-muted);
}

.faculty-facts {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--text-muted);
}

.faculty-facts li {
  margin: 5px 0;
}

.faculty-contact {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.faculty-card::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -48px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(104, 212, 255, 0.2), transparent 70%);
  opacity: 0;
  transform: translate3d(10px, 10px, 0);
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: none;
}

.faculty-card:hover .faculty-mark {
  transform: translateY(-2px);
  background: linear-gradient(180deg, rgba(163, 31, 52, 0.12), rgba(104, 212, 255, 0.16));
  box-shadow: 0 12px 24px rgba(10, 34, 71, 0.08);
}

.faculty-card,
.student-card,
.news-card,
.pub-item,
.platform-card,
.feature-card,
.research-card,
.teacher-card,
.join-card,
.source-link,
.pub-stat,
.contact-block,
.timeline-card {
  min-width: 0;
}

.faculty-card:hover .faculty-link {
  color: var(--accent);
}

.faculty-card:hover .faculty-link::after {
  transform: none;
}

.faculty-card:hover::after {
  opacity: 0.6;
  transform: translate3d(0, 0, 0);
}

.student-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  row-gap: 20px;
}

.student-card {
  text-align: center;
  padding: 24px 18px 20px;
}

.student-card::after {
  content: "";
  position: absolute;
  right: -26px;
  bottom: -34px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(104, 212, 255, 0.18), transparent 70%);
  opacity: 0;
  transform: translate3d(14px, 14px, 0);
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: none;
}

.student-avatar {
  width: 60px;
  height: 60px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--accent);
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.student-card p {
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 0.86rem;
  transition: color 0.22s ease;
}

.student-card h3 {
  transition: color 0.22s ease;
}

.student-card.is-placeholder .student-avatar {
  color: var(--text-soft);
}

.student-contacts {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 8px;
  transition: color 0.22s ease;
}

.student-contacts span {
  font-size: 0.78rem;
  color: var(--text-soft);
  line-height: 1.4;
}

.student-contacts span,
.faculty-contact span,
.teacher-contact-list span,
.member-modal-contacts span,
.member-modal-link {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.student-avatar.has-photo {
  background: var(--bg-soft);
  border-color: var(--line);
  overflow: hidden;
  padding: 0;
  color: transparent;
}

.student-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: inherit;
  display: block;
}

/* ── 毕业生区块 ─────────────────────────────────────────────── */
.alumni-section {
  padding-top: 16px;
  border-top: 2px dashed var(--line);
  margin-top: 8px;
}

.alumni-sub-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 24px 0 12px;
}

.alumni-sub-title:first-of-type {
  margin-top: 0;
}


.alumni-card {
  opacity: 0.9;
}

.alumni-card .student-avatar {
  width: 54px;
  height: 54px;
  font-size: 0.85rem;
}

p.alumni-degree {
  margin-top: 4px;
  font-size: 0.8rem;
  color: var(--text-soft);
}

p.alumni-current {
  margin-top: 3px;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 500;
  transition: color 0.22s ease, transform 0.22s ease;
}

.student-card:hover::after,
.student-card:focus-visible::after {
  opacity: 0.45;
  transform: translate3d(0, 0, 0);
}

.student-card:hover .student-avatar,
.student-card:focus-visible .student-avatar {
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(104, 212, 255, 0.24);
  background: linear-gradient(180deg, rgba(163, 31, 52, 0.08), rgba(104, 212, 255, 0.14));
  box-shadow: 0 12px 24px rgba(10, 34, 71, 0.08);
}

.student-card:hover h3,
.student-card:focus-visible h3 {
  color: var(--accent);
}

.student-card:hover p,
.student-card:focus-visible p,
.student-card:hover .student-contacts,
.student-card:focus-visible .student-contacts {
  color: var(--text);
}

.student-card:hover .student-contacts span,
.student-card:focus-visible .student-contacts span {
  color: var(--text-muted);
}

.alumni-card:hover,
.alumni-card:focus-visible {
  opacity: 1;
}

.alumni-card:hover .alumni-current,
.alumni-card:focus-visible .alumni-current {
  color: var(--accent);
  transform: translateY(-1px);
}

.group-header-sub {
  font-size: 0.82rem;
  color: var(--text-soft);
  font-style: italic;
  margin-top: 2px;
  margin-bottom: 0;
}

.pub-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 24px;
}

.pub-stat {
  text-align: center;
}

.pub-stat strong {
  display: block;
  font-size: 1.8rem;
  color: var(--accent);
}

.pub-stat span {
  display: block;
  margin-top: 8px;
  color: var(--text-muted);
}

.pub-page-note {
  padding: 14px 18px;
  border-left: 3px solid var(--accent);
  background: rgba(163, 31, 52, 0.04);
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  margin-bottom: 28px;
}

.pub-group + .pub-group {
  margin-top: 36px;
}

.pub-group-head {
  margin-bottom: 16px;
}

.pub-group-head h2 {
  font-size: 1.18rem;
}

.pub-year-block + .pub-year-block {
  margin-top: 22px;
}

.pub-list {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

.news-card,
.timeline-card,
.teacher-card {
  display: flex;
  flex-direction: column;
}

.teacher-card a {
  display: inline-flex;
  margin-top: auto;
  padding-top: 14px;
  color: var(--accent);
  font-weight: 600;
}

.teacher-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  position: relative;
  z-index: 1;
}

.teacher-link-row a {
  margin-top: 0;
  padding-top: 0;
  position: relative;
  z-index: 1;
  pointer-events: auto;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  color: var(--text-soft);
  font-size: 0.78rem;
}

.news-action-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
}

.news-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid rgba(20, 61, 118, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 247, 252, 0.98) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 8px 18px rgba(10, 34, 71, 0.05);
  color: var(--navy-2);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    color 0.22s ease;
}

.news-link-btn.is-external {
  border-color: rgba(163, 31, 52, 0.14);
  color: var(--accent);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(252, 245, 247, 0.98) 100%);
}

.news-link-btn:hover,
.news-link-btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(104, 212, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 22px rgba(10, 34, 71, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(236, 244, 251, 1) 100%);
  color: var(--navy);
}

.news-link-btn.is-external:hover,
.news-link-btn.is-external:focus-visible {
  border-color: rgba(163, 31, 52, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(250, 241, 244, 1) 100%);
  color: #8f1830;
}

.news-link-btn:focus-visible {
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 22px rgba(10, 34, 71, 0.08),
    0 0 0 3px rgba(104, 212, 255, 0.16);
}

.timeline-block + .timeline-block {
  margin-top: 30px;
}

.timeline-list {
  position: relative;
  display: grid;
  gap: 14px;
  margin-top: 14px;
  padding-left: 28px;
}

.timeline-list::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: var(--line-strong);
}

.timeline-item {
  position: relative;
}

.timeline-dot {
  position: absolute;
  top: 16px;
  left: -27px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-block-kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.contact-block h2 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0;
}

.contact-copy {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.email-list {
  margin-top: 16px;
}

.teacher-grid,
.join-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.teacher-contact-list {
  margin-top: 12px;
  display: grid;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.source-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.source-link {
  display: grid;
  gap: 10px;
  padding: 22px;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #f7fafd 100%);
}

.source-kicker {
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.source-link strong {
  font-size: 1rem;
  line-height: 1.6;
}

.source-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-soft);
  font-size: 0.88rem;
  transition: color 0.22s ease, transform 0.22s ease;
}

.source-arrow::after {
  content: "↗";
}

.source-link:hover .source-arrow {
  color: var(--accent);
  transform: translateX(2px);
}

.back-to-top {
  position: fixed;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(20px, 3vw, 34px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid rgba(14, 53, 106, 0.18);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(238, 246, 255, 0.94) 100%);
  color: #0e356a;
  box-shadow: 0 16px 34px rgba(8, 34, 70, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  z-index: 70;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition:
    opacity 0.24s ease,
    transform 0.24s ease,
    visibility 0.24s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
  will-change: opacity, transform;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: rgba(14, 53, 106, 0.26);
  box-shadow: 0 20px 40px rgba(8, 34, 70, 0.2);
}

.back-to-top:focus-visible {
  outline: 2px solid rgba(104, 212, 255, 0.65);
  outline-offset: 3px;
}

.back-to-top-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(180deg, #0e356a 0%, #184b8e 100%);
  color: var(--white);
  font-size: 0.96rem;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.back-to-top-label {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.site-footer {
  margin-top: 0;
  background: linear-gradient(180deg, #082246 0%, #0e356a 100%);
  color: rgba(255, 255, 255, 0.78);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(104, 212, 255, 0.2), transparent 18%),
    radial-gradient(circle at 80% 14%, rgba(70, 132, 255, 0.14), transparent 22%),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 4px,
      rgba(255, 255, 255, 0.012) 4px,
      rgba(255, 255, 255, 0.012) 5px
    );
  background-size: auto, auto, 52px 52px, 52px 52px, auto;
  mask-image: linear-gradient(180deg, black 0%, black 84%, transparent 100%);
  opacity: 0.86;
  pointer-events: none;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 48px;
  align-items: start;
  padding: 38px 0 24px;
  position: relative;
  z-index: 1;
}

.footer-brand {
  max-width: 400px;
}

.footer-brand-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

.footer-logos {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-brand-copy {
  padding-top: 0;
  display: grid;
  gap: 10px;
}

.footer-kicker {
  display: inline-flex;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-brand h3 {
  margin-top: 0;
  color: var(--white);
  font-size: 1.25rem;
  line-height: 1.35;
}

body[data-locale="en"] .footer-brand h3 {
  max-width: 18ch;
}

.footer-brand p {
  margin-top: 0;
  color: rgba(255, 255, 255, 0.82);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.footer-column {
  display: grid;
  gap: 12px;
  align-content: start;
}

.footer-heading {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-link-list {
  display: grid;
  gap: 10px;
}

.footer-link-list a {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.92rem;
  line-height: 1.45;
  transition: color 0.22s ease, transform 0.22s ease;
}

.footer-link-list a,
.email-chip,
.teacher-contact-list span,
.source-link,
.faculty-link,
.news-link-btn,
.pub-link-btn,
.pub-cite-btn,
.pub-toc-btn {
  overflow-wrap: anywhere;
}

.footer-link-list a:hover {
  color: var(--white);
  transform: translateX(2px);
}

.footer-bottom {
  padding: 18px 0 30px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.84rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px 20px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  position: relative;
  z-index: 1;
}

.footer-meta {
  min-width: 0;
  line-height: 1.7;
}

.footer-meta-rights {
  justify-self: start;
  text-wrap: balance;
}

.footer-meta-signature {
  justify-self: end;
  text-align: right;
  color: rgba(255, 255, 255, 0.76);
}

.reveal-target {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.55s ease,
    transform 0.55s cubic-bezier(0.2, 0.75, 0.18, 1);
}

.reveal-target.visible {
  opacity: 1;
  transform: none;
}

.feature-card.reveal-target.visible:hover,
.research-card.reveal-target.visible:hover,
.news-card.reveal-target.visible:hover,
.platform-card.reveal-target.visible:hover,
.faculty-card.reveal-target.visible:hover,
.student-card.reveal-target.visible:hover,
.source-link.reveal-target.visible:hover,
.teacher-card.reveal-target.visible:hover,
.join-card.reveal-target.visible:hover,
.research-detail.reveal-target.visible:hover,
.contact-block.reveal-target.visible:hover,
.timeline-card.reveal-target.visible:hover,
.pub-stat.reveal-target.visible:hover,
.about-copy.reveal-target.visible:hover,
.about-panel.reveal-target.visible:hover,
.pub-item.reveal-target.visible:hover,
.gallery-item.reveal-target.visible:hover,
.cta-role-card.reveal-target.visible:hover {
  transform: translateY(-3px);
}

@keyframes gridDrift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 52px 26px, 26px 52px;
  }
}

@keyframes scanDrift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0 24px;
  }
}

@keyframes heroOrbFloat {
  0%,
  100% {
    opacity: 0.88;
  }
  50% {
    opacity: 1;
  }
}

@keyframes chipPulse {
  0%,
  100% {
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }
  50% {
    border-color: rgba(104, 212, 255, 0.34);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 18px rgba(104, 212, 255, 0.09);
  }
}

@keyframes softFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@media (max-width: 1080px) {
  .section {
    padding: 72px 0;
  }

  .page-header {
    padding: 110px 0 50px;
  }

  .about-grid,
  .contact-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-role-grid {
    grid-template-columns: 1fr;
  }

  .research-grid,
  .news-grid,
  .platform-grid,
  .faculty-grid,
  .teacher-grid,
  .join-grid,
  .pub-stats,
  .source-list,
  .student-grid,
  .stats-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .section {
    padding: 60px 0;
  }

  .page-header {
    padding: 86px 0 38px;
  }

  .page-header h1 {
    font-size: clamp(1.6rem, 4.5vw, 2.3rem);
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 38px;
    flex: 0 0 40px;
  }

  .nav-tools {
    gap: 10px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 78px;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: 100vw;
    transform: none;
    margin: 0;
    padding: 14px 20px 18px;
    background: rgba(8, 31, 64, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 36px rgba(4, 16, 36, 0.16);
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
  }

  .brand-copy span {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 110px 0 52px;
  }

  .about-panel-metrics,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .footer-brand-head {
    gap: 18px;
  }

  .footer-bottom {
    display: block;
    text-align: center;
  }

  .footer-meta-rights,
  .footer-meta-signature {
    justify-self: auto;
    text-align: inherit;
  }

  .footer-meta-signature {
    display: inline-block;
    white-space: nowrap;
  }

  .back-to-top {
    right: 16px;
    bottom: 18px;
    padding: 11px 14px;
    gap: 8px;
  }

  .back-to-top-label {
    font-size: 0.84rem;
  }
}

@media (max-width: 640px) {
  .site-nav .container {
    width: min(calc(100% - 12px), var(--max-width));
  }

  .container {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .section {
    padding: 52px 0;
  }

  .page-header {
    padding: 76px 0 32px;
  }

  .page-header h1 {
    font-size: clamp(1.35rem, 7vw, 1.85rem);
  }

  .hero-actions,
  .hero-tags {
    justify-content: center;
  }

  .nav-inner {
    gap: 4px;
    position: relative;
    padding-right: 108px;
  }

  .nav-brand {
    gap: 6px;
    min-width: 0;
    max-width: none;
    flex: 1 1 auto;
  }

  .brand-logos {
    gap: 6px;
    min-width: 0;
  }

  .brand-logo-college,
  .brand-divider {
    display: none;
  }

  .brand-logo-school {
    height: 18px;
  }

  .brand-copy strong {
    font-size: 0.86rem;
  }

  .nav-tools {
    gap: 6px;
    position: absolute;
    top: 23px;
    right: 18px;
    flex: 0 0 auto;
    transform: none;
  }

  .lang-switch {
    margin-right: 0;
    padding: 2px;
  }

  .lang-switch a {
    min-height: 28px;
    padding: 0 4px;
    font-size: 0.7rem;
  }

  .nav-toggle {
    width: 36px;
    height: 32px;
    flex: 0 0 36px;
  }

  /* 小屏继承 820px 汉堡菜单，收紧间距 */
  .nav-links {
    padding: 10px 14px 14px;
    gap: 10px;
    top: 72px;
  }

  .nav-links a {
    font-size: 0.85rem;
  }

  .hero {
    padding: 116px 0 60px;
  }

  .hero h1 {
    font-size: clamp(2.0rem, 10vw, 3.0rem);
    max-width: min(16ch, 100%);
    margin-left: auto;
    margin-right: auto;
  }

  .hero-eyebrow {
    font-size: clamp(22px, 6vw, 30px);
  }

  .hero-lead {
    max-width: min(34ch, 100%);
    margin-left: auto;
    margin-right: auto;
  }

  .footer-inner {
    gap: 28px;
    padding: 30px 0 18px;
  }

  .footer-brand {
    max-width: none;
  }

  .footer-brand-head {
    justify-items: center;
    text-align: center;
    gap: 14px;
  }

  .footer-logos {
    justify-content: center;
    gap: 14px;
  }

  .footer-brand-copy {
    justify-items: center;
    text-align: center;
  }

  .footer-brand h3 {
    font-size: 1.06rem;
    max-width: min(18ch, 100%);
  }

  .footer-brand p {
    max-width: min(34ch, 100%);
    font-size: 0.9rem;
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
  }

  .footer-column {
    padding: 14px;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
  }

  .footer-heading {
    font-size: 0.68rem;
  }

  .footer-link-list a {
    font-size: 0.88rem;
  }

  .footer-bottom {
    padding: 18px 0 26px;
  }

  .footer-meta {
    max-width: none;
  }

  .footer-meta-signature {
    text-align: inherit;
  }

  #home-research.research-grid {
    grid-template-columns: 1fr;
    max-width: none;
  }

  #home-research .research-card-head {
    min-height: 0;
  }

  .back-to-top {
    right: 14px;
    bottom: 16px;
    padding: 10px 12px;
  }

  .back-to-top-label {
    display: none;
  }

  .faculty-top {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px;
  }

  .faculty-main {
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
  }

  .faculty-mark {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    font-size: 1.2rem;
  }

  .faculty-role-row .faculty-role {
    white-space: nowrap;
  }

  .faculty-link-row {
    justify-content: flex-end;
  }

  .feature-grid,
  .research-grid,
  .news-grid,
  .platform-grid,
  .faculty-grid,
  .student-grid,
  .teacher-grid,
  .join-grid,
  .source-list {
    grid-template-columns: 1fr;
  }

  /* 统计数字保持 2 列，单列太浪费 */
  .pub-stats,
  .stats-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat-item:last-child {
    border-bottom: 0;
  }

  .brand-logo-school {
    height: 24px;
  }

  .brand-logo-college {
    height: 22px;
  }

  .brand-divider {
    height: 22px;
  }

  .about-panel-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .pub-item,
  .news-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .pub-item-main {
    grid-template-columns: 1fr;
  }

  /* 论文操作按钮在移动端横排 */
  .pub-item-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-self: auto;
    width: 100%;
    gap: 6px;
    align-items: flex-start;
  }

  .pub-link-btn,
  .pub-cite-btn,
  .pub-toc-btn {
    align-self: auto;
    flex: 1 1 auto;
  }

  /* 相册标题行在极小屏竖排 */
  .gallery-album-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  /* 联系页地址块布局收紧 */
  .teacher-contact-list {
    gap: 4px;
  }
}

/* ── 480px：手机横屏 / 大尺寸手机竖屏 ─────────────────────── */
@media (max-width: 480px) {
  .section {
    padding: 44px 0;
  }

  .page-header {
    padding: 68px 0 26px;
  }

  .footer-columns {
    grid-template-columns: 1fr;
  }

  /* 相册在小手机上单列，220px 宽的格子太小 */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* 新闻详情页图片单列 */
  .nd-images {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 10vw, 2.6rem);
  }
}

@media (max-width: 400px) {
  .nav-brand {
    max-width: calc(100% - 124px);
  }

  .brand-logo-school {
    height: 18px;
  }

  .brand-copy strong {
    font-size: 0.9rem;
  }

  .footer-columns {
    grid-template-columns: 1fr;
  }

  .footer-column {
    justify-items: center;
    text-align: center;
  }

  .footer-link-list {
    justify-items: center;
  }

  .faculty-top {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .faculty-mark {
    width: 60px;
    height: 60px;
    border-radius: 14px;
  }

  .page-header {
    padding: 60px 0 20px;
  }

  .page-header h1 {
    font-size: clamp(1.2rem, 8vw, 1.6rem);
  }

  .hero h1 {
    font-size: clamp(1.7rem, 10.5vw, 2.3rem);
  }

  .hero-eyebrow {
    font-size: clamp(18px, 5.5vw, 22px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   论文筛选栏
════════════════════════════════════════════════════════════════ */
.pub-filter-bar {
  margin-bottom: 28px;
}

.pub-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.pub-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pub-filter-btn,
.pub-year-btn {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  background: var(--white);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}

.pub-filter-btn:hover,
.pub-year-btn:hover {
  border-color: var(--navy-3);
  color: var(--navy);
}

.pub-filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.pub-year-btn.active {
  background: rgba(163, 31, 52, 0.08);
  border-color: rgba(163, 31, 52, 0.22);
  color: var(--accent);
}

.pub-year-group {
  gap: 5px;
}

.pub-year-btn {
  min-height: 30px;
  padding: 0 11px;
  font-size: 0.8rem;
}

.pub-search-wrap {
  flex: 1;
  min-width: 180px;
  max-width: 260px;
  margin-left: auto;
}

.pub-search {
  width: 100%;
  height: 34px;
  padding: 0 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}

.pub-search:focus {
  border-color: var(--navy);
}

/* 论文条目优化 */
.pub-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--white) 0%, var(--bg-card) 100%);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.pub-item::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(163, 31, 52, 0.82), rgba(104, 212, 255, 0.72));
  opacity: 0.85;
}

.pub-item:hover {
  transform: translateY(-3px);
  border-color: rgba(104, 212, 255, 0.24);
  box-shadow: 0 18px 42px rgba(10, 34, 71, 0.08), 0 0 0 1px rgba(104, 212, 255, 0.08);
}

.pub-item-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  width: 100%;
  align-items: start;
}

.pub-item-body {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.pub-item-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.pub-item-kind {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pub-item-kind.is-journal {
  background: rgba(163, 31, 52, 0.08);
  color: var(--accent);
}

.pub-item-kind.is-patent {
  background: rgba(104, 212, 255, 0.14);
  color: #4d7faa;
}

.pub-item-authors {
  font-size: 0.8rem;
  color: var(--text-soft);
  line-height: 1.5;
}

.pub-item-body h3 {
  font-size: 0.97rem;
  line-height: 1.5;
  color: var(--text);
  margin: 0;
}

.pub-venue {
  margin: 0 !important;
  color: var(--navy-3) !important;
  font-size: 0.9rem;
  line-height: 1.55;
}

.pub-item-note {
  margin: 0 !important;
  color: var(--text-soft) !important;
  font-size: 0.83rem;
  line-height: 1.65;
}

/* ── 论文列表三按钮统一基础样式 ─────────────────── */
.pub-link-btn,
.pub-cite-btn,
.pub-toc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  padding: 5px 13px;
  min-height: 28px;
  border-radius: 8px;
  border: 1px solid var(--line-strong, #cfd7e1);
  background: var(--bg-soft, #f4f7fb);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.pub-link-btn:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* 论文分组头部 */
.pub-group {
  margin-bottom: 36px;
}

.pub-group-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.pub-group-head h2 {
  font-size: 1.1rem;
}

.pub-year-block {
  margin-bottom: 16px;
}

.pub-year-block .pub-year {
  margin: 0 0 10px;
}

/* ═══════════════════════════════════════════════════════════════
   404 页面
════════════════════════════════════════════════════════════════ */
.not-found-page {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
}

.not-found-code {
  font-size: clamp(5rem, 14vw, 9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: transparent;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.not-found-page h1 {
  margin-top: 16px;
  font-size: 1.5rem;
  color: var(--text);
}

.not-found-page p {
  margin-top: 10px;
  color: var(--text-muted);
  max-width: 420px;
  line-height: 1.7;
}

.not-found-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 28px;
}

/* 筛选栏响应式 */
@media (max-width: 640px) {
  .pub-filter-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .pub-filter-group,
  .pub-year-group {
    width: 100%;
  }

  .pub-year-group {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .pub-search-wrap {
    width: 100%;
    max-width: none;
    margin-left: 0;
  }
}

/* ═══════════════════════════════════════════════════════════════
   教师头像照片（faculty-mark 内嵌图片）
════════════════════════════════════════════════════════════════ */
.faculty-mark.has-photo {
  padding: 0;
  overflow: hidden;
  background: var(--bg-soft);
}

.faculty-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: inherit;
  display: block;
}

/* ═══════════════════════════════════════════════════════════════
   BibTeX 引用弹窗
════════════════════════════════════════════════════════════════ */
.bibtex-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 16px;
}

.bibtex-modal {
  background: #fff;
  border-radius: 12px;
  width: min(640px, 100%);
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.bibtex-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid #e2e8f0;
  font-weight: 600;
  font-size: .9rem;
}

.bibtex-header button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: #64748b;
  padding: 4px 8px;
  border-radius: 6px;
}
.bibtex-header button:hover { background: #f1f5f9; }

.bibtex-body {
  margin: 0;
  padding: 16px 20px;
  font-size: .82rem;
  font-family: "Fira Code", "Courier New", monospace;
  line-height: 1.7;
  background: #f8fafc;
  white-space: pre-wrap;
  word-break: break-all;
  max-height: 320px;
  overflow-y: auto;
}

.bibtex-copy {
  align-self: flex-start;
  margin: 12px 20px 16px;
  padding: 6px 16px;
  background: var(--accent, #0d2144);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: .85rem;
  cursor: pointer;
  transition: opacity .15s;
}
.bibtex-copy:hover { opacity: .85; }

/* 论文列表操作按钮组 */
.pub-item-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
  flex-shrink: 0;
}

.pub-cite-btn:hover {
  background: var(--navy, #0d2144);
  color: #fff;
  border-color: var(--navy, #0d2144);
}

/* ═══════════════════════════════════════════════════════════════
   成员详情 Modal（前台）
════════════════════════════════════════════════════════════════ */
.member-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 44, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9000;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.member-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.member-modal {
  background: var(--white);
  border-radius: 20px;
  width: min(520px, 100%);
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 32px 80px rgba(10, 22, 44, 0.22);
  position: relative;
  transform: translateY(12px);
  transition: transform 0.22s ease;
  padding: 32px;
}
.member-modal-overlay.open .member-modal {
  transform: translateY(0);
}

.member-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--bg-soft, #f4f7fb);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.member-modal-close:hover { background: var(--line); }

.member-modal-header {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 24px;
}

.member-modal-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy, #0d2144), var(--accent, #a31f34));
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.member-modal-avatar.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-modal-info h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.member-modal-info p {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.member-modal-contacts {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.member-modal-detail {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line, #e8edf4);
}
.member-modal-detail dt {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-top: 2px;
  white-space: nowrap;
}
.member-modal-detail dd {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
}

.member-modal-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent, #a31f34);
  font-weight: 600;
  text-decoration: none;
}

.member-modal-link:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .member-modal {
    width: min(100%, 560px);
    max-height: min(88vh, 760px);
    padding: 24px 20px 20px;
  }

  .member-modal-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-right: 20px;
  }

  .member-modal-detail {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .member-modal-detail dt {
    padding-top: 0;
  }
}

/* 学生卡片可点击提示 */
.student-card.has-detail { cursor: pointer; }
.student-card.has-detail:hover .student-detail-hint { opacity: 1; }
.student-card.has-detail:focus-visible .student-detail-hint { opacity: 1; }

.student-detail-hint {
  display: block;
  font-size: 0.75rem;
  color: var(--accent, #a31f34);
  margin-top: 6px;
  opacity: 0;
  transform: translateY(3px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.student-card.has-detail:hover .student-detail-hint,
.student-card.has-detail:focus-visible .student-detail-hint {
  transform: translateY(0);
}

.student-card.has-detail:focus-visible {
  outline: none;
  transform: translateY(-3px);
  border-color: rgba(104, 212, 255, 0.24);
  box-shadow: 0 18px 42px rgba(10, 34, 71, 0.08), 0 0 0 1px rgba(104, 212, 255, 0.08);
}

/* ═══════════════════════════════════════════════════════════════
   论文 TOC 展开面板
════════════════════════════════════════════════════════════════ */
.pub-item {
  flex-wrap: nowrap;
}

.pub-item-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  width: 100%;
  align-items: start;
}

.pub-toc-panel {
  width: 100%;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease, margin-top 0.25s ease;
  padding: 0;
  margin-top: 0;
}
.pub-toc-panel.open {
  max-height: 500px;
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.pub-toc-panel img {
  display: block;
  max-width: 100%;
  max-height: 360px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--line, #e8edf4);
  background: #f8fafc;
}

.pub-toc-btn::after {
  content: " ▾";
  display: inline-block;
  transition: transform 0.2s ease;
  transform-origin: center;
}
.pub-toc-btn.open::after {
  transform: rotate(180deg);
}
.pub-toc-btn:hover {
  background: var(--accent, #a31f34);
  color: #fff;
  border-color: var(--accent, #a31f34);
}

/* ── 成员 Modal 教育背景多条展示 ──────────────────── */
.edu-list-dd {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.edu-entry {
  display: block;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.5;
}
.edu-entry::before {
  content: "▸ ";
  color: var(--accent, #a31f34);
  font-size: 0.75rem;
}

/* ═══════════════════════════════════════════════════════════════
   新闻详情页
════════════════════════════════════════════════════════════════ */
.news-detail-wrap {
  padding: 120px 0 80px;
  max-width: 780px;
}

.news-detail-loading {
  padding: 60px 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.nd-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.nd-back:hover { color: var(--accent); }

.nd-header { margin-bottom: 40px; }

.nd-title {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 800;
  line-height: 1.3;
  color: var(--navy);
  margin: 14px 0 16px;
}

.nd-summary {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  margin-top: 18px;
}

.nd-body {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.9;
  border-top: 1px solid var(--line);
  padding-top: 32px;
  margin-bottom: 36px;
}

.nd-h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin: 32px 0 12px;
}

.nd-h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-2);
  margin: 24px 0 8px;
}

.nd-p { margin: 0 0 1em; }

.nd-list {
  margin: 0 0 1em 1.2em;
  padding: 0;
}
.nd-list li { margin-bottom: 6px; line-height: 1.75; }

.nd-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin: 36px 0;
}

.nd-figure {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.nd-figure img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.nd-figure figcaption {
  padding: 10px 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.nd-footer {
  padding-top: 28px;
  border-top: 1px solid var(--line);
  margin-top: 12px;
}

.news-link-btn.news-link-btn-detail {
  min-height: 38px;
  padding: 0 18px;
  font-size: 0.86rem;
}

.nd-error {
  color: var(--accent);
  padding: 40px 0;
  font-size: 0.95rem;
}

/* ═══════════════════════════════════════════════════════════════
   课题组相册页（前台）
════════════════════════════════════════════════════════════════ */
.gallery-album {
  margin-bottom: 52px;
}
.gallery-album + .gallery-album {
  padding-top: 8px;
}

.gallery-album-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.gallery-album-head h2 {
  font-size: 1.1rem;
  font-weight: 700;
}
.gallery-album-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.gallery-item {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--white) 0%, var(--bg-card) 100%);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.gallery-item:hover {
  transform: translateY(-3px);
  border-color: rgba(104, 212, 255, 0.24);
  box-shadow: 0 18px 42px rgba(10, 34, 71, 0.08), 0 0 0 1px rgba(104, 212, 255, 0.08);
}
.gallery-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(104, 212, 255, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(9, 30, 62, 0.08), rgba(9, 30, 62, 0.02));
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.22s ease;
}
.gallery-item figcaption {
  padding: 8px 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  transition: color 0.22s ease;
}

.gallery-item:hover img { filter: saturate(1.03); }

.gallery-item:hover figcaption {
  color: var(--text);
}

.gallery-empty {
  padding: 60px 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

@supports (content-visibility: auto) {
  .member-section,
  .pub-group,
  .timeline-block,
  .gallery-grid,
  .nd-images {
    content-visibility: auto;
  }

  .member-section {
    contain-intrinsic-size: 1px 780px;
  }

  .pub-group {
    contain-intrinsic-size: 1px 960px;
  }

  .timeline-block {
    contain-intrinsic-size: 1px 720px;
  }

  .gallery-grid {
    contain-intrinsic-size: 1px 680px;
  }

  .nd-images {
    contain-intrinsic-size: 1px 520px;
  }
}

/* 灯箱 */
.gallery-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  align-items: center;
  justify-content: center;
}
.gallery-lightbox.open { display: flex; }

.gallery-lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 40, 0.92);
}

.gallery-lb-box {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 90vw;
  max-height: 90vh;
  flex-direction: column;
}

.gallery-lb-img-wrap {
  max-width: 80vw;
  max-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-lb-img-wrap img {
  max-width: 80vw;
  max-height: 72vh;
  border-radius: var(--radius-md);
  object-fit: contain;
  display: block;
}

.gallery-lb-close,
.gallery-lb-prev,
.gallery-lb-next {
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  flex-shrink: 0;
}
.gallery-lb-close:hover,
.gallery-lb-prev:hover,
.gallery-lb-next:hover { background: rgba(255,255,255,0.3); }

.gallery-lb-close {
  position: absolute;
  top: -52px;
  right: 0;
  font-size: 1.1rem;
}

.gallery-lb-box > .gallery-lb-prev,
.gallery-lb-box > .gallery-lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.gallery-lb-box > .gallery-lb-prev { left: -56px; }
.gallery-lb-box > .gallery-lb-next { right: -56px; }

.gallery-lb-caption {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  text-align: center;
  margin: 8px 0 0;
  max-width: 70vw;
}

@media (max-width: 640px) {
  /* 640px 相册 2 列 */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  /* 灯箱按钮收进边缘 */
  .gallery-lb-box > .gallery-lb-prev { left: -38px; }
  .gallery-lb-box > .gallery-lb-next { right: -38px; }
  .nd-images { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  /* 480px 相册单列（图片已够宽，不需要两格挤压） */
  .gallery-grid { grid-template-columns: 1fr; gap: 10px; }
  /* 灯箱按钮完全移入盒子内部 */
  .gallery-lb-box {
    padding: 0;
    max-width: calc(100vw - 24px);
  }
  .gallery-lb-box > .gallery-lb-prev {
    left: 4px;
    top: auto;
    bottom: 8px;
    transform: none;
    position: absolute;
    z-index: 2;
  }
  .gallery-lb-box > .gallery-lb-next {
    right: 4px;
    top: auto;
    bottom: 8px;
    transform: none;
    position: absolute;
    z-index: 2;
  }
}
