:root {
  --primary: #153b6d;
  --primary-dark: #0f2b50;
  --accent: #c9a96e;
  --text: #1f2937;
  --muted: #6b7280;
  --bg: #f7f8fb;
  --white: #ffffff;
  --line: #e5e7eb;
  --alt: #eef3f8;
  --shadow: 0 10px 30px rgba(15, 35, 65, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
}

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

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 102px;
  flex-wrap: nowrap;
  gap: 16px;
}

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

.brand-logo {
  width: auto;
  height: 72px;
  max-width: 220px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1;
}

.brand-cn {
  font-size: 1.14rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.1;
}

.brand-en {
  margin-top: 2px;
  font-size: 0.66rem;
  color: var(--muted);
  letter-spacing: 0.12em;
}

.site-nav {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-left: auto;
  flex-wrap: nowrap;
}

.site-nav a {
  font-size: 0.88rem;
  color: #334155;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.site-nav a.active,
.site-nav a:hover {
  color: var(--primary);
}

.site-nav a.active::after,
.site-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--accent);
}

.nav-toggle {
  display: none;
  font-size: 1.4rem;
  background: transparent;
  border: none;
  cursor: pointer;
}

/* Hero */
.hero,
.page-hero {
  background:
    linear-gradient(135deg, rgba(21, 59, 109, 0.96), rgba(17, 44, 82, 0.88)),
    linear-gradient(180deg, #2a4d7b, #16345c);
  color: #fff;
}

.hero {
  padding: 88px 0 92px;
}

.page-hero {
  padding: 72px 0 56px;
}

.hero-single,
.profile-page-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}

.hero-single {
  grid-template-columns: 1fr;
}

.hero-showcase {
  grid-template-columns: minmax(0, 1.7fr) minmax(250px, .62fr);
  gap: 30px;
  align-items: stretch;
}

.profile-page-grid {
  grid-template-columns: 320px 1fr;
}

.eyebrow,
.section-kicker {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 12px;
}

.hero h1,
.page-hero h1 {
  margin: 0 0 14px;
  line-height: 1.15;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 4.2rem);
}

.page-hero h1 {
  font-size: clamp(2rem, 3vw, 3.1rem);
}

.hero-subtitle,
.page-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 12px;
}

.hero-desc {
  max-width: 860px;
  color: rgba(255, 255, 255, 0.82);
}

.hero-title-sub {
  margin: 0 0 18px;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.94);
  font-weight: 600;
}

.hero-intro-box {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(6, 20, 40, 0.22);
  padding: 30px;
}

.home-unified-box {
  display: flex;
  flex-direction: column;
  min-height: 330px;
}

.home-unified-box .hero-actions {
  margin-top: auto;
}

.home-unified-box .hero-desc {
  margin-bottom: 16px;
}

.hero-logo-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255,255,255,.15), rgba(255,255,255,.06));
  box-shadow: 0 20px 44px rgba(4,16,34,.22);
}

.hero-logo-panel::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -90px;
  top: -80px;
  border-radius: 50%;
  background: rgba(201,169,110,.18);
}

.hero-logo-frame {
  position: relative;
  padding: 14px;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(4,16,34,.25);
}
.hero-logo-frame img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 13px; }
.hero-logo-panel figcaption { position: relative; margin-top: 20px; text-align: center; line-height: 1.35; }
.hero-logo-panel figcaption strong { display: block; font-size: 1.32rem; letter-spacing: .16em; }
.hero-logo-panel figcaption span { display: block; margin-top: 4px; color: rgba(255,255,255,.7); font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; }

/* Homepage brand introduction */
.hero-brand-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(7,24,47,.48), rgba(18,48,83,.34));
  box-shadow: 0 24px 60px rgba(3,14,31,.22);
}
.hero-brand-card::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -170px;
  top: -210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,110,.22), transparent 70%);
  pointer-events: none;
}
.hero-brand-heading {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}
.hero-brand-mark {
  padding: 11px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(2,12,28,.28);
  transform: none;
}
.hero-brand-mark img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 13px; }
.hero-brand-identity .eyebrow { margin: 0 0 7px; }
.hero-brand-identity h1 { margin: 0 0 10px; font-size: clamp(2.5rem, 5vw, 4.5rem); }
.hero-brand-identity h1 span { color: rgba(255,255,255,.68); font-size: .52em; font-weight: 500; letter-spacing: .02em; }
.hero-brand-identity h2 { margin: 0; color: #fff; font-size: clamp(1.08rem, 2vw, 1.4rem); font-weight: 650; }
.hero-brand-identity > p:last-child { margin: 3px 0 0; color: rgba(255,255,255,.62); font-size: .9rem; }
.hero-copy-grid {
  display: grid;
  grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr);
  gap: 0;
  align-items: start;
  margin-top: 32px;
  padding: 26px 0;
  border-top: 1px solid rgba(255,255,255,.14);
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.hero-copy { min-width: 0; padding-right: 30px; }
.hero-copy + .hero-copy { padding: 0 0 0 30px; border-left: 1px solid rgba(255,255,255,.14); }
.hero-copy-label { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero-copy-label::after { content: ""; width: 28px; height: 1px; background: rgba(225,201,148,.55); }
.hero-copy p { margin: 10px 0 0; color: rgba(255,255,255,.78); font-size: .94rem; line-height: 1.8; text-align: justify; }
.hero-copy-cn p { line-height: 2; }
.hero-copy-en p { line-height: 1.72; text-align: justify; text-align-last: left; text-justify: inter-word; }
.hero-story-link {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 36px;
  gap: 14px;
  align-items: center;
  margin-top: 24px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.hero-story-link:hover { border-color: rgba(225,201,148,.58); background: rgba(255,255,255,.13); transform: translateY(-2px); }
.hero-story-icon { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; background: var(--accent); color: var(--primary-dark); font-family: serif; font-size: 1.2rem; font-weight: 800; }
.hero-story-copy strong { display: block; color: #fff; font-size: 1rem; }
.hero-story-copy strong span { margin-left: 7px; color: rgba(255,255,255,.62); font-size: .82rem; font-weight: 500; }
.hero-story-copy small { display: block; margin-top: 2px; color: rgba(255,255,255,.66); font-size: .8rem; }
.hero-story-arrow { color: var(--accent); font-size: 1.55rem; text-align: center; transition: transform .2s ease; }
.hero-story-link:hover .hero-story-arrow { transform: translateX(4px); }

/* Buttons */
.hero-actions,
.task-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: #1f2937;
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: rgba(21, 59, 109, 0.08);
  color: var(--primary-dark);
  border: 1px solid rgba(21, 59, 109, 0.16);
}

/* Cards */
.card,
.member-card,
.task-card-big,
.news-placeholder .card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.section {
  padding: 74px 0;
}

.section.alt {
  background: var(--alt);
}

.section-heading {
  margin-bottom: 26px;
}

.section-heading h2 {
  margin: 0 0 10px;
  font-size: 2rem;
  color: var(--primary-dark);
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  max-width: 780px;
}

.card-grid {
  display: grid;
  gap: 24px;
}

.two-col {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  padding: 26px;
}

.card h3 {
  margin-top: 0;
  color: var(--primary-dark);
}

.logo-concept-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(210px, 26vw, 310px);
  gap: 28px;
  align-items: center;
}

.logo-concept-text p {
  margin: 0 0 16px;
  text-align: justify;
}

.logo-concept-text p:last-child {
  margin-bottom: 0;
}

.logo-concept-figure {
  margin: 0;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #f9fbff;
  box-shadow: 0 6px 18px rgba(15, 35, 65, 0.08);
  align-self: center;
  transform: translateY(8px);
}

.logo-concept-figure img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
}

.clean-list {
  margin: 0;
  padding-left: 1.2rem;
}

.clean-list li p {
  margin: 8px 0 0;
}

.pub-list li,
.publication-decade-list li {
  margin-bottom: 10px;
}

.pub-list li:last-child,
.publication-decade-list li:last-child {
  margin-bottom: 0;
}

.publication-count {
  margin: -8px 0 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Research framework mind map */
.research-map {
  position: relative;
  padding-top: 10px;
}

.research-map-root {
  position: relative;
  z-index: 2;
  width: min(620px, 92%);
  margin: 0 auto 72px;
  padding: 28px 34px;
  border-radius: 22px;
  color: #fff;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-dark), #1f568e);
  box-shadow: 0 18px 40px rgba(15, 43, 80, 0.2);
}

.research-map-root::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 2px;
  height: 48px;
  background: #9fb3c9;
}

.research-map-eyebrow,
.research-branch-number {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.research-map-eyebrow { color: #e1c994; }
.research-map-root h3 { margin: 5px 0 0; font-size: clamp(1.35rem, 2.5vw, 1.85rem); }
.research-map-root p { margin: 2px 0 14px; color: rgba(255,255,255,.78); }

.research-map-scope {
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  font-size: 0.88rem;
}

.research-map-branches {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.85fr);
  gap: 28px;
  align-items: start;
}

.research-map-branches::before {
  content: "";
  position: absolute;
  left: 25%;
  right: 16%;
  top: -24px;
  height: 2px;
  background: #9fb3c9;
}

.research-branch {
  position: relative;
  overflow: hidden;
  border: 1px solid #d8e1eb;
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
}

.research-branch::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 2px;
  height: 26px;
  background: #9fb3c9;
}

.research-branch > header { padding: 22px 24px 18px; color: #fff; }
.research-branch-llm > header { background: linear-gradient(125deg, #174b7a, #2b6c92); }
.research-branch-dh > header { background: linear-gradient(125deg, #77532e, #a57b43); }
.research-branch-number { color: rgba(255,255,255,.72); }
.research-branch > header h3 { margin: 5px 0 0; font-size: 1.28rem; line-height: 1.42; }
.research-branch > header h3 span { font-size: .9rem; font-weight: 500; opacity: .8; }

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

.research-branch-dh .research-clusters { grid-template-columns: 1fr; }
.research-cluster {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #f9fbfd;
}
.research-cluster-wide { grid-column: 1 / -1; }
.research-cluster h4 { margin: 0; color: var(--primary-dark); font-size: 1rem; line-height: 1.5; }
.research-cluster h4 span { display: block; color: var(--muted); font-size: .78rem; font-weight: 600; }
.research-cluster-note { margin: 7px 0 12px; color: #8a6940; font-size: .78rem; line-height: 1.5; }
.research-cluster ul { margin: 0; padding: 0; list-style: none; }
.research-cluster li { position: relative; padding: 7px 0 7px 15px; border-top: 1px dashed #dfe5ec; font-size: .88rem; line-height: 1.45; }
.research-cluster li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.research-cluster li span { display: block; color: var(--muted); font-size: .75rem; }
.research-inline-list { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.research-inline-list li { border: 0; border-radius: 10px; background: #fff; padding: 11px 10px 11px 22px; }
.research-inline-list li::before { left: 10px; top: 1.2em; }

/* Online resource cards */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.resource-card {
  display: flex;
  flex-direction: column;
  padding: 25px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--primary);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.resource-card-topline { display: flex; justify-content: space-between; color: var(--muted); font-size: .76rem; font-weight: 800; letter-spacing: .1em; }
.resource-card h3 { margin: 13px 0 12px; color: var(--primary-dark); line-height: 1.5; font-size: 1.13rem; }
.resource-card h3 span { color: var(--muted); font-size: .82rem; font-weight: 600; }
.resource-card p { margin: 0 0 10px; font-size: .91rem; text-align: justify; }
.resource-link { margin-top: auto; padding-top: 12px; color: var(--primary); font-weight: 700; font-size: .9rem; }
.resource-link:hover { text-decoration: underline; }

.application-link-list {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.application-link-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfcfe;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.application-link-list a:hover {
  border-color: rgba(21, 59, 109, 0.26);
  box-shadow: 0 8px 18px rgba(15, 35, 65, 0.08);
  transform: translateY(-1px);
}

.application-link-list span:first-child {
  color: var(--primary-dark);
  font-weight: 600;
}

.application-link-list span:last-child {
  flex-shrink: 0;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
}

.application-group-title {
  margin: 0 0 22px;
  padding: 16px 20px;
  border: 2px solid var(--primary);
  border-radius: 12px;
  background: rgba(21, 59, 109, 0.08);
  color: var(--primary-dark);
  font-size: 1.65rem;
}

.application-entry {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  margin-bottom: 24px;
}

.application-entry:last-child {
  margin-bottom: 0;
}

.application-entry-title {
  display: block;
  margin: 0 0 16px;
  color: var(--primary-dark);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.55;
}

.application-title-en {
  color: var(--muted);
  font-size: .86rem;
  font-weight: 600;
}

.application-subsection {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.application-subsection:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.application-subsection h3 {
  margin: 0 0 10px;
  color: var(--primary-dark);
  font-size: 1.05rem;
}

.application-subsection p,
.application-expanded-content p,
.application-expanded-content li,
.application-summary-text {
  text-align: justify;
}

.application-subsection p,
.application-expanded-content p {
  margin: 0 0 12px;
}

.application-subsection p:last-child,
.application-expanded-content p:last-child {
  margin-bottom: 0;
}

.application-expand {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfcfe;
  overflow: hidden;
}

.application-expand summary {
  display: block;
  padding: 18px;
  cursor: pointer;
  list-style: none;
}

.application-expand summary::-webkit-details-marker {
  display: none;
}

.application-expand summary .application-entry-title {
  margin-bottom: 10px;
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.application-summary-text {
  display: block;
  margin: 0 0 12px;
  color: var(--text);
  line-height: 1.75;
}
.application-summary-text:last-child { margin-bottom: 0; }

.application-expanded-content {
  padding: 18px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.application-expanded-content ol {
  margin: 12px 0 0;
  padding-left: 1.25rem;
}

.application-expanded-content li {
  margin-bottom: 12px;
}

.application-expanded-content li:last-child {
  margin-bottom: 0;
}

.application-intro {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.application-intro-header {
  padding: 30px 34px 26px;
  background: linear-gradient(135deg, rgba(21, 59, 109, 0.08), rgba(201, 169, 110, 0.14));
  border-bottom: 1px solid var(--line);
}

.application-label {
  display: inline-block;
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
}

.application-intro h3 {
  margin: 0;
  color: var(--primary-dark);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.45;
}

.application-short-name {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.application-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  padding: 28px 34px;
  border-bottom: 1px solid var(--line);
}

.application-summary p,
.application-block p,
.application-systems span {
  margin: 0;
  text-align: justify;
}

.application-block {
  padding: 28px 34px;
  border-bottom: 1px solid var(--line);
}

.application-block:last-child {
  border-bottom: none;
}

.application-block h4 {
  margin: 0 0 14px;
  color: var(--primary-dark);
  font-size: 1.18rem;
}

.application-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.application-points li {
  border-left: 3px solid var(--accent);
  background: #f8fafc;
  padding: 12px 14px;
  line-height: 1.65;
}

.application-intro blockquote {
  margin: 18px 0;
  padding: 16px 18px;
  border-left: 4px solid var(--accent);
  background: #f8fafc;
  color: #334155;
}

.application-intro blockquote p + p {
  margin-top: 8px;
}

.application-systems {
  display: grid;
  gap: 16px;
  list-style: none;
  counter-reset: systems;
  margin: 18px 0 0;
  padding: 0;
}

.application-systems li {
  position: relative;
  counter-increment: systems;
  padding: 18px 18px 18px 58px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfcfe;
}

.application-systems li::before {
  content: counter(systems);
  position: absolute;
  top: 18px;
  left: 18px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 700;
}

.application-systems strong {
  display: block;
  margin-bottom: 8px;
  color: var(--primary-dark);
  line-height: 1.55;
}

.application-detail-card {
  padding: 28px;
}

.application-detail-card h2 {
  margin: 0 0 16px;
  color: var(--primary-dark);
  font-size: 1.55rem;
}

.application-detail-card p {
  margin: 0 0 14px;
  text-align: justify;
}

.application-detail-card p:last-child {
  margin-bottom: 0;
}

.application-website-box,
.application-deployment-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fafc;
}

.application-website-box p,
.application-deployment-box p {
  margin: 0;
  color: var(--muted);
}


.news-card {
  min-height: auto;
}

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

.news-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

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

.news-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.news-title {
  color: var(--primary-dark);
  font-weight: 700;
  line-height: 1.65;
}

.news-title:hover {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.news-date {
  color: var(--muted);
  font-size: 0.9rem;
  white-space: nowrap;
}

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

.portrait-large {
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.center {
  text-align: center;
}

/* Tasks */
.task-stack {
  display: grid;
  gap: 22px;
}

.task-card-big {
  padding: 28px;
}

.task-card-big h2 {
  margin: 14px 0 8px;
  color: var(--primary-dark);
}

.task-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(21, 59, 109, 0.08);
  padding: 5px 10px;
  border-radius: 999px;
}

.task-intro {
  margin: 10px 0 18px;
  color: var(--muted);
}

.completed-task {
  opacity: 0.9;
  border-left: 6px solid #94a3b8;
}

.completed-task .task-badge {
  background: rgba(100, 116, 139, 0.12);
  color: #475569;
}

/* Schedule */
.schedule-box {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.schedule-box h3 {
  margin: 0 0 14px;
  color: var(--primary-dark);
  font-size: 1.05rem;
}

.schedule-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.schedule-list li {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
}

.schedule-time {
  font-weight: 700;
  color: var(--primary);
  line-height: 1.6;
}

.schedule-text {
  color: var(--text);
  line-height: 1.75;
}

.schedule-list li.done {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.schedule-list li.done .schedule-time {
  color: #166534;
}

.schedule-list li.current {
  background: #eff6ff;
  border: 2px solid #60a5fa;
  box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.12);
}

.schedule-list li.current .schedule-time {
  color: #1d4ed8;
}

.bilingual-schedule .schedule-text br,
.bilingual-schedule .schedule-time br {
  content: "";
}

/* Filter */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-label {
  margin: 0 8px 0 0;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}

.filter-btn {
  border: 1px solid var(--line);
  background: white;
  color: var(--primary-dark);
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 600;
}

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

.clean-list.is-empty {
  display: none;
}

.pub-empty-state {
  display: none;
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f8fafc;
  border-left: 4px solid var(--accent);
  color: var(--muted);
}

.pub-empty-state.visible {
  display: block;
}

.publication-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.publication-pagination[hidden] { display: none; }
.pagination-label { margin-right: 3px; color: var(--muted); font-size: .8rem; font-weight: 700; }
.pagination-btn {
  min-width: 32px;
  height: 32px;
  padding: 0 7px;
  border: 1px solid #ccd6e1;
  border-radius: 10px;
  background: #fff;
  color: var(--primary-dark);
  cursor: pointer;
  font-weight: 700;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.pagination-btn:hover { border-color: var(--primary); transform: translateY(-1px); }
.pagination-btn.active { border-color: var(--primary); background: var(--primary); color: #fff; }
.pagination-btn:disabled { cursor: not-allowed; opacity: .38; transform: none; }
.pagination-page-btn { border-color: transparent; background: transparent; }
.pagination-nav-btn { border-radius: 999px; font-size: 1.25rem; line-height: 1; }
.pagination-ellipsis { display: inline-flex; width: 18px; height: 32px; align-items: center; justify-content: center; color: #94a3b8; font-weight: 700; }

.task-status-notice {
  margin: 18px 0 4px;
  padding: 16px 18px;
  border-left: 5px solid #2563eb;
  border-radius: 10px;
  background: #eff6ff;
  color: #173b69;
}

/* Members page */
.member-columns {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(5, auto);
  gap: 10px 42px;
  align-items: start;
  justify-content: start;
  list-style: disc;
  padding-left: 22px;
  margin: 0;
}

.member-columns li {
  break-inside: avoid;
  white-space: nowrap;
}

.member-decade-list {
  display: grid;
  gap: 24px;
}

.member-decade-group h3 {
  margin: 0 0 10px;
  color: var(--primary-dark);
  font-size: 1.05rem;
}

.member-date-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 34px;
}

.member-date-list li {
  min-width: 0;
}

.member-year {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(21, 59, 109, 0.08);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
}

.member-empty-state {
  display: none;
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f8fafc;
  border-left: 4px solid var(--accent);
  color: var(--muted);
}

.member-empty-state.visible {
  display: block;
}

.pi-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: start;
}

.pi-card img {
  width: 100%;
  max-width: 240px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.detail-link-wrap {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

.detail-link {
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.detail-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
  transform: translateX(2px);
}

.member-profile-link {
  color: var(--primary-dark);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.member-profile-link:hover {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Student CV */
.cv-hero {
  padding-bottom: 48px;
}

.cv-hero-grid {
  display: block;
}

.cv-contact-list {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cv-contact-list a {
  margin: 0;
  color: var(--primary-dark);
  font-weight: 600;
  line-height: 1.45;
}

.cv-contact-list a:hover {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cv-contact-list a.is-disabled {
  color: var(--muted);
  cursor: default;
  pointer-events: none;
}

.cv-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.cv-sidebar {
  position: sticky;
  top: 126px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.cv-photo-wrap {
  position: relative;
  margin: 0 0 18px;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(21, 59, 109, 0.12), rgba(201, 169, 110, 0.18));
  border: 1px solid var(--line);
}

.cv-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cv-photo-wrap img.is-empty {
  display: none;
}

.cv-photo-wrap figcaption {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--primary-dark);
  font-size: 2.2rem;
  font-weight: 800;
}

.cv-photo-wrap img:not(.is-empty) + figcaption {
  display: none;
}

.cv-sidebar h2 {
  margin: 0 0 6px;
  color: var(--primary-dark);
  font-size: 1.35rem;
  line-height: 1.4;
}

.cv-sidebar p {
  margin: 0 0 18px;
  color: var(--muted);
  font-weight: 600;
}

.cv-side-links {
  display: grid;
  gap: 8px;
}

.cv-side-links a {
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--primary-dark);
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.cv-side-links a:hover {
  background: rgba(21, 59, 109, 0.08);
  color: var(--primary);
}

.cv-main {
  display: grid;
  gap: 22px;
}

.cv-card {
  padding: 28px;
}

.cv-card h2 {
  margin: 0 0 14px;
  color: var(--primary-dark);
  font-size: 1.45rem;
}

.cv-card p {
  margin: 0;
  text-align: justify;
}

.cv-list {
  margin: 0;
  padding-left: 1.2rem;
}

.cv-basic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.cv-basic-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid #e1e7ef;
  border-radius: 12px;
  background: #f8fafc;
}
.cv-basic-item span { color: var(--muted); font-size: .76rem; font-weight: 700; letter-spacing: .04em; }
.cv-basic-item strong { color: var(--primary-dark); font-size: .98rem; }
.cv-basic-overview {
  margin: 16px 0 0;
  padding: 14px 16px;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: rgba(201,169,110,.1);
  color: #374151;
}

/* PI profile records */
.record-intro {
  margin: 0 0 18px;
  padding: 12px 15px;
  border-left: 4px solid var(--accent);
  border-radius: 9px;
  background: #f8fafc;
  color: var(--muted);
}
.profile-record-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  padding: 0;
  list-style: none;
  counter-reset: profile-record;
}
.profile-record-list > li {
  position: relative;
  min-width: 0;
  padding: 18px 18px 18px 52px;
  border: 1px solid #e0e7ef;
  border-radius: 14px;
  background: linear-gradient(145deg, #fff, #f8fafc);
  box-shadow: 0 5px 16px rgba(15,35,65,.05);
  counter-increment: profile-record;
}
.profile-record-list > li::before {
  content: counter(profile-record, decimal-leading-zero);
  position: absolute;
  left: 15px;
  top: 17px;
  color: var(--accent);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .05em;
}
.profile-record-list > li p { margin: 7px 0 0; color: var(--muted); font-size: .88rem; line-height: 1.65; }
.patent-record-list > li { border-top: 4px solid var(--primary); }
.award-record-list > li { border-top: 4px solid var(--accent); }

/* Footer */
.site-footer {
  background: #0f1f36;
  color: rgba(255, 255, 255, 0.82);
  padding: 28px 0;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.footer-wrap h3 {
  margin: 0 0 6px;
  color: #fff;
}

.footer-wrap p {
  margin: 0;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.24s;
}

/* Responsive */
@media (min-width: 1280px) {
  .home-unified-box {
    min-height: 360px;
  }
}

@media (max-width: 1180px) {
  .nav-wrap {
    min-height: 94px;
    gap: 12px;
  }

  .brand-logo {
    height: 60px;
    max-width: 190px;
  }

  .site-nav {
    gap: 12px;
  }

  .site-nav a {
    font-size: 0.86rem;
  }
}

@media (max-width: 960px) {
  .nav-wrap {
    min-height: 88px;
  }

  .brand {
    gap: 10px;
  }

  .brand-logo {
    height: 46px;
    max-width: 150px;
  }

  .brand-cn {
    font-size: 1.06rem;
  }

  .brand-en {
    font-size: 0.64rem;
    letter-spacing: 0.1em;
  }


  .news-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .filter-label {
    width: 100%;
    margin-right: 0;
  }

  .hero-intro-box {
    padding: 22px;
  }

  .hero-showcase {
    grid-template-columns: 1fr;
  }

  .hero-logo-panel {
    width: min(360px, 100%);
    margin: 0 auto;
  }

  .hero-brand-heading { grid-template-columns: 138px minmax(0, 1fr); gap: 24px; }

  .home-unified-box {
    min-height: auto;
  }

  .profile-page-grid,
  .two-col,
  .pi-card,
  .cv-hero-grid,
  .cv-layout,
  .application-summary,
  .application-points {
    grid-template-columns: 1fr;
  }

  .cv-sidebar {
    position: static;
  }

  .logo-concept-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .logo-concept-figure {
    width: min(300px, 100%);
    margin: 0 auto;
    transform: none;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 88px;
    background: #fff;
    padding: 16px 4%;
    border-bottom: 1px solid var(--line);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

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

  .nav-toggle {
    display: block;
  }

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

  .member-columns {
    grid-auto-flow: row;
    grid-template-rows: none;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .member-date-list {
    grid-template-columns: 1fr;
  }

  .research-map-branches { grid-template-columns: 1fr; }
  .research-map-branches::before { left: 50%; right: auto; top: -24px; width: 2px; height: 28px; }
  .research-branch::before { display: none; }

  .application-intro-header,
  .application-summary,
  .application-block {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 768px) {
  .cv-basic-grid { grid-template-columns: 1fr; }
  .profile-record-list { grid-template-columns: 1fr; }
  .hero { padding: 52px 0 56px; }
  .hero-brand-card { padding: 22px 18px; border-radius: 21px; }
  .hero-brand-heading { grid-template-columns: 92px minmax(0, 1fr); gap: 17px; align-items: start; }
  .hero-brand-mark { padding: 7px; border-radius: 15px; }
  .hero-brand-mark img { border-radius: 9px; }
  .hero-brand-identity h1 { font-size: clamp(2rem, 10vw, 2.8rem); }
  .hero-brand-identity h1 span { display: block; margin-top: 4px; font-size: .42em; }
  .hero-brand-identity h2 { font-size: .98rem; line-height: 1.5; }
  .hero-brand-identity > p:last-child { display: none; }
  .hero-copy-grid { grid-template-columns: 1fr; margin-top: 24px; padding: 20px 0; }
  .hero-copy { padding: 0; }
  .hero-copy + .hero-copy { margin-top: 18px; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.14); border-left: 0; }
  .hero-copy p { font-size: .88rem; text-align: left; }
  .hero-story-link { grid-template-columns: 42px minmax(0, 1fr) 24px; gap: 10px; padding: 12px; }
  .hero-story-icon { width: 38px; height: 38px; }
  .hero-story-copy strong span { display: block; margin: 2px 0 0; }
  .hero-story-copy small { line-height: 1.5; }
  .hero-logo-panel { padding: 18px; }
  .pagination-label { width: 100%; margin: 0 0 4px; text-align: center; }
  .publication-pagination { gap: 5px; }
  .pagination-btn { min-width: 34px; height: 34px; padding: 0 8px; }
  .pagination-ellipsis { width: 18px; height: 34px; }
  .research-map-root { margin-bottom: 46px; padding: 24px 18px; }
  .research-map-root::after { height: 30px; }
  .research-clusters,
  .research-inline-list,
  .resource-grid { grid-template-columns: 1fr !important; }
  .research-cluster-wide { grid-column: auto; }
  .research-branch > header { padding: 19px; }
  .research-clusters { padding: 13px; }

  .application-link-list a,
  .application-website-box,
  .application-deployment-box {
    align-items: flex-start;
    flex-direction: column;
  }

  .schedule-list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .schedule-time {
    line-height: 1.5;
  }

  .schedule-text {
    line-height: 1.7;
  }

  .application-intro-header,
  .application-summary,
  .application-block {
    padding-left: 18px;
    padding-right: 18px;
  }

  .application-group-title {
    font-size: 1.35rem;
    padding: 14px 16px;
  }

  .application-entry {
    padding: 18px;
  }

  .application-expand summary,
  .application-expanded-content {
    padding: 16px;
  }

  .application-systems li {
    padding: 54px 16px 16px;
  }

  .application-systems li::before {
    top: 16px;
    left: 16px;
  }
}
