: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,
.hero-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 {
  gap: 10px;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

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

.hero-eyebrow::before {
  width: 24px;
  height: 3px;
}

.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;
}

.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: 40px;
  flex: 0 0 40px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.84);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 72vh;
  padding: 120px 0 88px;
  background:
    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("../1b1077bd0267b4a4f9f4d289792e0f20.jpg") center 30% / cover 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);
}

.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.55;
  pointer-events: none;
  animation: scanDrift 18s linear infinite;
}

.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%);
  animation: gridDrift 20s linear infinite;
  transform: translate3d(calc(var(--pointer-x) * 0.16), calc(var(--pointer-y) * 0.16), 0);
}

.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;
}

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-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;
}

.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);
  animation: chipPulse 6s ease-in-out infinite;
}

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

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

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

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

.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 {
  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;
  animation: softFloat 7s ease-in-out infinite;
}

.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);
}

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

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

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

.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-metrics div {
  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);
}

.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-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;
}

.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;
}

.feature-card:hover,
.research-card:hover,
.news-card:hover,
.platform-card:hover,
.faculty-card:hover,
.source-link:hover,
.teacher-card:hover,
.join-card:hover,
.research-detail:hover,
.contact-block:hover,
.timeline-card:hover,
.pub-stat: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,
.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 {
  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));
}

.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);
}

.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("../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;
}

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

.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: grid;
  gap: 10px;
}

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

.faculty-name-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px 12px;
  align-items: center;
}

.faculty-role-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px 12px;
  align-items: center;
}

.faculty-link-row {
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 18px;
}

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

.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;
  transition: color 0.22s ease;
}

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

.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;
}

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

.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;
}

.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: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-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;
}

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

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

.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-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: 8px;
  margin-top: 10px;
}

.pub-item {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.pub-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.pub-item p,
.pub-item small {
  display: block;
  margin-top: 4px;
  color: var(--text-muted);
}

.pub-item a {
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
}

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

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

.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 h2 {
  font-size: 1.1rem;
}

.contact-row + .contact-row {
  margin-top: 18px;
}

.contact-label {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--text-soft);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-copy {
  margin-top: 10px;
}

.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);
}

.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: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: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  position: relative;
  z-index: 1;
}

.footer-bottom span {
  line-height: 1.7;
}

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

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

.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) {
  .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) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  }

  .nav-tools {
    gap: 10px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    padding: 14px 16px 18px;
    background: rgba(8, 31, 64, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

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

  .brand-copy span {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 118px 0 72px;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .section {
    padding: 62px 0;
  }

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

  .nav-inner {
    gap: 12px;
  }

  .nav-brand {
    gap: 10px;
    min-width: 0;
    max-width: calc(100% - 132px);
  }

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

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

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

  .nav-tools {
    gap: 8px;
    flex: 0 0 auto;
  }

  .lang-switch {
    margin-right: 10px;
    padding: 3px;
  }

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

  .nav-toggle {
    display: none !important;
  }

  .nav-links {
    display: flex;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    padding: 10px 12px 12px;
    background: rgba(8, 31, 64, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-direction: row;
    align-items: center;
    gap: 14px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .nav-links a {
    flex: 0 0 auto;
    font-size: 0.82rem;
  }

  .nav-links a.active::after {
    bottom: -6px;
  }

  .hero {
    padding: 156px 0 72px;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 11vw, 3.15rem);
    max-width: 11ch;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-eyebrow {
    font-size: 0.88rem;
  }

  .hero-lead {
    max-width: 28ch;
    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: 12ch;
  }

  .footer-brand p {
    max-width: 28ch;
    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 {
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 16px 0 24px;
    font-size: 0.78rem;
  }

  .footer-bottom span {
    max-width: 30ch;
  }

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

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

  .faculty-name-row,
  .faculty-role-row {
    flex-wrap: wrap;
  }

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

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

  .feature-grid,
  .research-grid,
  .news-grid,
  .platform-grid,
  .faculty-grid,
  .student-grid,
  .pub-stats,
  .teacher-grid,
  .join-grid,
  .source-list,
  .stats-strip {
    grid-template-columns: 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;
  }
}

@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;
  }
}

@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 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.pub-item:last-child {
  border-bottom: none;
}

.pub-item-body {
  flex: 1;
  min-width: 0;
}

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

.pub-venue {
  margin-top: 5px !important;
  font-style: italic;
  color: var(--navy-3) !important;
  font-size: 0.9rem;
}

.pub-note {
  margin-top: 4px !important;
  color: var(--text-soft) !important;
  font-size: 0.82rem;
}

.pub-link-btn {
  flex-shrink: 0;
  align-self: flex-start;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg-soft);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.18s, 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: 6px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--navy);
}

.pub-group-head h2 {
  font-size: 1.1rem;
  color: var(--navy);
}

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

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

/* ═══════════════════════════════════════════════════════════════
   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-search-wrap {
    width: 100%;
    max-width: none;
    margin-left: 0;
  }
}
