/* ── Self-hosted Latin typography (zero Google Fonts blocking in Mainland China) ── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/newsreader-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/newsreader-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/newsreader-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/newsreader-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* AI4Rad SSPH hospital-teal + academic ink palette */
  --ai4rad-teal: #008e9b;
  --ai4rad-teal-dark: #006b78;
  --ai4rad-teal-soft: #e6f4f3;
  --ai4rad-blue: #004b93;
  --ai4rad-blue-dark: #003a75;
  --ai4rad-red: #b81d33;
  --ai4rad-ink: #12202b;
  --ai4rad-paper: #ffffff;

  --text-primary: var(--ai4rad-ink);
  --text-secondary: #394855;
  --text-muted: #647380;

  --bg-page: var(--ai4rad-paper);
  --bg-subtle: #f5fafa;
  --bg-card: #ffffff;
  --bg-elevated: #fbfdfd;

  --border: #d5e3e7;
  --border-light: #e6eff2;
  --radius-sm: 6px;
  --radius-md: 11px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 3px rgba(15, 29, 44, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 29, 44, 0.06);

  --nav-height: 62px;
  --content-max: 980px;
  --prose-max: 68ch;

  /* Editorial serif display + crisp sans body + native CJK stacks */
  --font-body: 'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Noto Sans CJK SC', 'Source Han Sans SC', 'Microsoft YaHei', sans-serif;
  --font-display: 'Newsreader', 'Songti SC', 'STSong', 'Noto Serif CJK SC', 'Source Han Serif SC', 'SimSun', serif;
  --font-serif: 'Newsreader', 'Songti SC', 'STSong', 'Noto Serif CJK SC', 'Source Han Serif SC', serif;
  --nav-bg: rgba(255, 255, 255, 0.88);

  /* Fluid type scale (phone 375px → 4K 2560px) */
  --fs-hero:  clamp(1.95rem, 1.48rem + 1.65vw, 3.85rem);
  --fs-h1:    clamp(1.85rem, 1.50rem + 1.35vw, 3.00rem);
  --fs-h2:    clamp(1.25rem, 0.96rem + 0.72vw, 2.05rem);
  --fs-h3:    clamp(1.02rem, 0.88rem + 0.34vw, 1.40rem);
  --fs-lead:  clamp(0.98rem, 0.84rem + 0.42vw, 1.38rem);
  --fs-body:  clamp(0.98rem, 0.86rem + 0.26vw, 1.22rem);
  --fs-copy:  clamp(0.92rem, 0.82rem + 0.22vw, 1.14rem);
  --fs-meta:  clamp(0.82rem, 0.76rem + 0.16vw, 1.00rem);
  --fs-micro: clamp(0.73rem, 0.68rem + 0.12vw, 0.88rem);

  /* Generous, balanced vertical & horizontal spacing */
  --space-section: clamp(48px, 2.2rem + 2.2vw, 88px);
  --gutter: clamp(20px, 1.1rem + 1.4vw, 44px);
}

[data-theme="dark"] {
  --ai4rad-teal: #34c3b8;
  --ai4rad-teal-dark: #4ad4c8;
  --ai4rad-teal-soft: #13282b;
  --text-primary: #eaf4f3;
  --text-secondary: #a2b4b0;
  --text-muted: #728581;
  --bg-page: #0b1418;
  --bg-subtle: #101c21;
  --bg-card: #132026;
  --bg-elevated: #16252c;
  --border: #23363d;
  --border-light: #1b2b31;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.32);
  --shadow-md: 0 10px 26px rgba(0, 0, 0, 0.38);
  --nav-bg: rgba(11, 20, 24, 0.88);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + 28px); }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--text-primary);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-top: var(--nav-height);
}

a { color: var(--ai4rad-teal-dark); text-decoration: none; transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease; }
a:hover { color: var(--ai4rad-blue); }
[data-theme="dark"] a:hover { color: #7ae9df; }

::selection { background: rgba(0, 142, 155, 0.16); }

/* ── Navigation ─────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: var(--content-max);
  width: 100%;
  padding: 0 var(--gutter);
}
.nav__brand {
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text-primary);
}
.nav__brand:hover { color: var(--text-primary); }
.nav__brand-logo {
  height: 34px;
  width: auto;
  flex-shrink: 0;
  border-radius: 6px;
}
[data-theme="dark"] .nav__brand-logo {
  background: rgba(255, 255, 255, 0.92);
  padding: 2px 5px;
}
.nav__brand-text {
  font-family: var(--font-display);
  font-size: clamp(1rem, 0.92rem + 0.22vw, 1.3rem);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative;
  padding: 6px 12px;
  font-size: var(--fs-meta);
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.nav__link:hover { color: var(--text-primary); background: var(--bg-subtle); }
.nav__link.active {
  color: var(--ai4rad-teal-dark);
  font-weight: 600;
  background: var(--ai4rad-teal-soft);
}
.nav__link--lang {
  margin-left: 6px;
  padding: 5px 11px;
  font-size: var(--fs-meta);
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 999px;
  border: 1px solid var(--border);
  white-space: nowrap;
}
.nav__link--lang:hover {
  color: var(--text-primary);
  border-color: var(--ai4rad-teal);
  background: var(--bg-subtle);
}
.nav__theme-btn {
  background: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 1.05rem;
  padding: 6px 8px;
  border-radius: 999px;
  line-height: 1;
  margin-left: 2px;
  color: var(--text-secondary);
  transition: background 0.18s, border-color 0.18s;
}
.nav__theme-btn:hover {
  background: var(--bg-subtle);
  border-color: var(--border-light);
}

/* ── Main Layout Container & Vertical Rhythm ────────────────────── */
.wrapper {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wrapper > section + section {
  margin-top: var(--space-section);
}

/* ── Hero (Subpages & Home Editorial Header) ────────────────────── */
.hero {
  padding: clamp(36px, 4.2vw, 72px) 0 clamp(24px, 2.6vw, 40px);
  border-bottom: 1px solid var(--border-light);
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ai4rad-teal-dark);
  background: var(--ai4rad-teal-soft);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}
.hero__subtitle {
  font-size: var(--fs-lead);
  color: var(--text-secondary);
  max-width: 64ch;
  margin-top: 14px;
  line-height: 1.68;
  font-weight: 400;
}

/* Home Hero — Spacious Two-Part Editorial Composition */
.hero--home {
  position: relative;
  padding: clamp(40px, 4.8vw, 80px) 0 clamp(28px, 3vw, 48px);
  border-bottom: none;
}
.hero--home__panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-subtle) 0%, var(--bg-card) 62%, rgba(0, 142, 155, 0.04) 100%);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius-lg) + 4px);
  padding: clamp(26px, 3.6vw, 48px);
  box-shadow: var(--shadow-sm);
}
.hero--home__panel::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: clamp(140px, 22vw, 280px);
  height: clamp(140px, 22vw, 280px);
  background: linear-gradient(225deg, rgba(0, 142, 155, 0.09) 0%, rgba(0, 75, 147, 0.03) 55%, transparent 72%);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  pointer-events: none;
}
.hero--home__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
}
.hero__brand-badge {
  width: clamp(104px, 11vw, 152px);
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
[data-theme="dark"] .hero__brand-badge {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.15);
}
.hero__emblem {
  width: 100%;
  height: auto;
  display: block;
}
.hero__affil-line {
  font-size: var(--fs-meta);
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 8px;
}
.hero__lead {
  font-size: var(--fs-lead);
  color: var(--text-secondary);
  line-height: 1.72;
  max-width: 62ch;
  margin-top: 16px;
}
.hero__actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: var(--fs-meta);
  font-weight: 600;
  line-height: 1.3;
  border: 1px solid transparent;
  transition: all 0.18s ease;
}
.btn--primary {
  background: var(--ai4rad-teal);
  color: #ffffff;
  border-color: var(--ai4rad-teal);
}
.btn--primary:hover {
  background: var(--ai4rad-teal-dark);
  border-color: var(--ai4rad-teal-dark);
  color: #ffffff;
}
[data-theme="dark"] .btn--primary {
  background: #009b8f;
  border-color: #009b8f;
  color: #ffffff;
}
[data-theme="dark"] .btn--primary:hover {
  background: #0bb3a6;
  border-color: #0bb3a6;
}
.btn--secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border);
}
.btn--secondary:hover {
  border-color: var(--ai4rad-teal);
  color: var(--ai4rad-teal-dark);
  background: var(--bg-elevated);
}

/* Lab At-a-Glance Metrics Strip */
.stats-strip {
  margin-top: clamp(24px, 3vw, 36px);
  padding-top: clamp(20px, 2.4vw, 28px);
  border-top: 1px solid var(--border-light);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 24px;
}
.stat-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.stat-item__num {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 1.2rem + 0.65vw, 2.1rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--ai4rad-teal-dark);
  font-variant-numeric: tabular-nums;
}
.stat-item__label {
  font-size: var(--fs-meta);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
}
.stat-item__note {
  font-size: var(--fs-micro);
  color: var(--text-muted);
  line-height: 1.45;
}

/* ── Section Headers & Prose ────────────────────────────────────── */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 20px;
  margin-bottom: 20px;
}
.section-head .section-title { margin-bottom: 0; }
.section-more {
  font-size: var(--fs-meta);
  font-weight: 600;
  color: var(--ai4rad-teal-dark);
  white-space: nowrap;
}
.section-title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.section-title::after {
  content: '';
  display: block;
  width: 32px;
  height: 2.5px;
  background: var(--ai4rad-teal);
  border-radius: 2px;
  margin-top: 10px;
}
.section-lead {
  color: var(--text-secondary);
  font-size: var(--fs-copy);
  line-height: 1.75;
  max-width: var(--prose-max);
  margin-bottom: 22px;
}
.text-body {
  color: var(--text-secondary);
  font-size: var(--fs-copy);
  line-height: 1.78;
  max-width: var(--prose-max);
}
.text-body + .text-body { margin-top: 14px; }

/* ── Research Architecture: 4 Technical Pillars + 7 Clinical Domains ── */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 2.5px solid var(--ai4rad-teal);
  border-radius: var(--radius-md);
  padding: clamp(18px, 2vw, 24px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.pillar-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.pillar-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pillar-card__idx {
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ai4rad-teal-dark);
  background: var(--ai4rad-teal-soft);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-variant-numeric: tabular-nums;
}
.pillar-card__title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}
.pillar-card__desc {
  font-size: var(--fs-copy);
  color: var(--text-secondary);
  line-height: 1.68;
}
.pillar-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 6px;
}
.pillar-card__tag {
  font-size: var(--fs-micro);
  color: var(--text-muted);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  padding: 2px 8px;
  border-radius: 999px;
}

.clinical-band {
  margin-top: 18px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.clinical-band__header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
}
.clinical-band__label {
  font-size: var(--fs-micro);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ai4rad-teal-dark);
}
.clinical-band__link {
  font-size: var(--fs-micro);
  font-weight: 600;
}
.clinical-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}
.clinical-pills li {
  font-size: var(--fs-meta);
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 999px;
  line-height: 1.45;
}

/* ── Selected Research / Flagship & Foundational Projects ───────── */
.subsec-block + .subsec-block {
  margin-top: clamp(28px, 2.8vw, 40px);
}
.subsec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}
.subsec-title {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--text-primary);
}
.subsec-badge {
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: 700;
  color: var(--ai4rad-teal-dark);
  background: var(--ai4rad-teal-soft);
  padding: 2px 9px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.subsec-desc {
  font-size: var(--fs-meta);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
  max-width: 76ch;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: clamp(18px, 2vw, 24px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.project-card--foundational {
  background: linear-gradient(180deg, var(--bg-subtle) 0%, var(--bg-card) 58%);
  border-left: 3px solid var(--ai4rad-teal);
}
.project-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--ai4rad-teal);
  transform: translateY(-1px);
}
.project-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 10px;
}
.project-card__venue {
  font-size: var(--fs-micro);
  font-weight: 600;
  font-style: italic;
  color: var(--ai4rad-teal-dark);
  background: var(--ai4rad-teal-soft);
  padding: 2px 9px;
  border-radius: var(--radius-sm);
}
.project-card__domain {
  font-size: var(--fs-micro);
  color: var(--text-muted);
  font-weight: 600;
}
.project-card__title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.34;
}
.project-card__title a { color: inherit; }
.project-card__title a:hover { color: var(--ai4rad-teal-dark); }
.project-card__desc {
  font-size: var(--fs-copy);
  color: var(--text-secondary);
  line-height: 1.68;
}
.project-card__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}
.project-card__chip {
  font-size: var(--fs-micro);
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}
.project-card--foundational .project-card__chip {
  background: var(--bg-card);
}
.project-card__links {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.project-card__links a {
  font-size: var(--fs-micro);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ai4rad-teal-dark);
}
.project-card__links a:hover {
  color: var(--ai4rad-blue);
  text-decoration: underline;
}

/* ── Undergraduate RBL & Innovation Highlight Callout ───────────── */
.ug-callout {
  margin-top: 16px;
  background: linear-gradient(135deg, var(--ai4rad-teal-soft) 0%, var(--bg-subtle) 48%, var(--bg-card) 100%);
  border: 1px solid var(--border);
  border-left: 4px solid var(--ai4rad-teal);
  border-radius: var(--radius-md);
  padding: clamp(20px, 2.4vw, 28px);
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(18px, 2.5vw, 32px);
  align-items: center;
}
.ug-callout__title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--text-primary);
  margin: 6px 0 8px;
  line-height: 1.32;
}
.ug-callout__body {
  font-size: var(--fs-copy);
  color: var(--text-secondary);
  line-height: 1.72;
}
.ug-callout__side {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ug-callout__side-label {
  font-size: var(--fs-micro);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ai4rad-teal-dark);
}
.ug-tracks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}
.ug-tracks li {
  font-size: var(--fs-micro);
  font-weight: 600;
  color: var(--text-primary);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 999px;
}
.ug-callout__cta {
  font-size: var(--fs-meta);
  font-weight: 600;
  padding-top: 4px;
}

/* ── Research Platform & Funding Cards (About + Home Strip) ─────── */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.platform-card {
  background: linear-gradient(180deg, var(--bg-subtle) 0%, var(--bg-card) 65%);
  border: 1px solid var(--border);
  border-top: 3px solid var(--ai4rad-teal);
  border-radius: var(--radius-md);
  padding: clamp(20px, 2.2vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.platform-card__kpi {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}
.platform-card__num {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 1.25rem + 0.7vw, 2.2rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--ai4rad-teal-dark);
  font-variant-numeric: tabular-nums;
}
.platform-card__unit {
  font-size: var(--fs-micro);
  font-weight: 700;
  color: var(--ai4rad-teal-dark);
  background: var(--ai4rad-teal-soft);
  padding: 2px 8px;
  border-radius: 999px;
}
.platform-card__title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.32;
}
.platform-card__body {
  font-size: var(--fs-copy);
  color: var(--text-secondary);
  line-height: 1.7;
}

.platform-strip {
  margin-bottom: 16px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
}
.platform-strip__items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  list-style: none;
  font-size: var(--fs-meta);
  color: var(--text-secondary);
}
.platform-strip__items strong {
  color: var(--text-primary);
  font-weight: 600;
}
.platform-strip__dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ai4rad-teal);
  margin-right: 7px;
  vertical-align: 1px;
}

/* ── Structured Info Cards (About / Contact / Home Callout) ─────── */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.info-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: clamp(18px, 2.2vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.info-card--subtle {
  background: var(--bg-subtle);
}
.info-card__eyebrow {
  font-size: var(--fs-micro);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ai4rad-teal-dark);
}
.info-card__title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.32;
}
.info-card__body {
  font-size: var(--fs-copy);
  color: var(--text-secondary);
  line-height: 1.72;
}
.info-card__footer {
  margin-top: auto;
  padding-top: 8px;
  font-size: var(--fs-meta);
  font-weight: 600;
}

.domain-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  list-style: none;
}
.domain-grid > .domain-item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}
.domain-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--ai4rad-teal);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
}
.domain-item strong {
  display: block;
  font-size: var(--fs-copy);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 3px;
}
.domain-item span {
  display: block;
  font-size: var(--fs-meta);
  color: var(--text-secondary);
  line-height: 1.58;
}

/* ── Legacy Text Lists (retained for compatibility) ─────────────── */
.text-list { list-style: none; padding: 0; margin: 0; }
.text-list li {
  position: relative;
  padding: 12px 0 12px 20px;
  color: var(--text-secondary);
  font-size: var(--fs-copy);
  line-height: 1.7;
  border-bottom: 1px solid var(--border-light);
}
.text-list li:last-child { border-bottom: none; }
.text-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 21px;
  width: 10px; height: 2px;
  background: var(--ai4rad-teal);
}
.text-list p { color: var(--text-secondary); font-size: var(--fs-copy); line-height: 1.78; margin: 0 0 13px; }
.text-list p:last-child { margin-bottom: 0; }
.text-list strong, .text-list p strong { color: var(--text-primary); font-weight: 600; }

/* ── News Timeline ──────────────────────────────────────────────── */
.news-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 6px clamp(16px, 2vw, 24px);
}
.news-list-plain { list-style: none; padding: 0; margin: 0; }
.news-list-plain li {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 14px;
  padding: 13px 0;
  color: var(--text-secondary);
  font-size: var(--fs-copy);
  line-height: 1.7;
  border-bottom: 1px solid var(--border-light);
}
.news-list-plain li:last-child { border-bottom: none; }
.news-date {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  margin-top: 2px;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  background: var(--ai4rad-teal-soft);
  font-size: var(--fs-micro);
  font-weight: 700;
  color: var(--ai4rad-teal-dark);
  font-variant-numeric: tabular-nums;
}
.news-archive {
  margin-top: 4px;
  padding: 10px 0 8px;
  border-top: 1px dashed var(--border);
}
.news-archive summary {
  cursor: pointer;
  color: var(--ai4rad-teal-dark);
  font-size: var(--fs-meta);
  font-weight: 600;
  padding: 4px 0;
}
.news-more { margin-top: 14px; font-size: var(--fs-meta); font-weight: 500; }

/* ── Footer with Subtle SSPH Architectural Watermark ────────────── */
.footer {
  position: relative;
  overflow: hidden;
  margin-top: var(--space-section);
  padding: clamp(44px, 3.2vw, 64px) var(--gutter) clamp(48px, 3.5vw, 64px);
  border-top: 1px solid var(--border);
  text-align: center;
  background: var(--bg-subtle);
}
.footer::after {
  content: '';
  position: absolute;
  right: max(12px, 3vw);
  bottom: 0;
  width: clamp(220px, 28vw, 420px);
  height: clamp(78px, 10vw, 148px);
  background: url('../images/brand/watermarks/ssph-building-corner-teal.png') right bottom / contain no-repeat;
  opacity: 0.065;
  pointer-events: none;
}
[data-theme="dark"] .footer::after { opacity: 0.05; }
.footer > * { position: relative; z-index: 1; }
.footer__brand { margin-bottom: 22px; }
.footer__brandlogo {
  height: clamp(68px, 6.5vw, 96px);
  width: auto;
  max-width: 100%;
  border-radius: var(--radius-md);
}
[data-theme="dark"] .footer__brandlogo {
  background: rgba(255, 255, 255, 0.94);
  padding: 6px 12px;
}
.footer__brand-cap { margin-top: 12px; line-height: 1.6; color: var(--text-secondary); }
.footer__brand-intro { display: block; font-size: var(--fs-meta); font-weight: 600; color: var(--text-primary); }
.footer__brand-vision { display: block; margin-top: 4px; font-size: var(--fs-micro); color: var(--text-muted); letter-spacing: 0.01em; }
.footer__links { display: flex; justify-content: center; gap: 20px; margin-bottom: 14px; flex-wrap: wrap; }
.footer__links a { font-size: var(--fs-meta); color: var(--text-secondary); font-weight: 500; }
.footer__links a:hover { color: var(--ai4rad-teal-dark); }
.footer__meta { font-size: var(--fs-micro); color: var(--text-muted); margin-bottom: 22px; }
.footer__affil { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.footer__affil-cap { font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); font-weight: 600; }
.footer__affil-logos {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(18px, 2.6vw, 30px);
}
[data-theme="dark"] .footer__affil-logos {
  background: rgba(255, 255, 255, 0.93);
  padding: 10px 20px;
  border-radius: var(--radius-md);
}
.footer__affil img { width: auto; opacity: 0.88; display: block; }
[data-theme="dark"] .footer__affil img { opacity: 0.95; }
.footer__affil .a-ssph { height: clamp(40px, 3.8vw, 56px); }
.footer__affil .a-sjtu { height: clamp(34px, 3.2vw, 48px); }
.footer__affil-sep { width: 1px; height: clamp(34px, 3.2vw, 46px); background: var(--border); flex-shrink: 0; }
[data-theme="dark"] .footer__affil-sep { background: #cbd8dc; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.45s ease, transform 0.45s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Team Roster (rendered by js/main.js renderTeam) ────────────── */
.team-jump {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 24px 0 32px;
}
.team-jump__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  font-size: var(--fs-meta);
  font-weight: 500;
  color: var(--text-secondary);
}
.team-jump__pill:hover {
  border-color: var(--ai4rad-teal);
  color: var(--ai4rad-teal-dark);
  background: var(--ai4rad-teal-soft);
}
.team-jump__count {
  font-size: var(--fs-micro);
  font-weight: 700;
  color: var(--ai4rad-teal-dark);
  font-variant-numeric: tabular-nums;
}

.section-label { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.section-label__text {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.section-label__line { flex: 1; height: 1px; background: var(--border); }

.leader-card {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: clamp(20px, 2.4vw, 28px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3.5px solid var(--ai4rad-teal);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.leader-card__avatar {
  width: clamp(96px, 8vw, 124px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--border-light);
  border: 2px solid var(--border-light);
  flex-shrink: 0;
}
.leader-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.leader-card__name {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}
.leader-card__name-en {
  font-weight: 400;
  font-size: var(--fs-lead);
  color: var(--text-secondary);
  margin-left: 10px;
  font-family: var(--font-body);
}
.leader-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.leader-card__tag {
  font-size: var(--fs-micro);
  font-weight: 600;
  color: var(--ai4rad-teal-dark);
  background: var(--ai4rad-teal-soft);
  padding: 2px 9px;
  border-radius: 999px;
}
.leader-card__meta {
  font-size: var(--fs-copy);
  color: var(--text-secondary);
  line-height: 1.68;
  margin-top: 8px;
}

.pi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr));
  gap: 14px;
}
.pi-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--ai4rad-teal);
  border-radius: var(--radius-md);
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
}
.pi-card + .pi-card { margin-top: 0; }
.pi-card:hover { box-shadow: var(--shadow-sm); }
.pi-card__avatar {
  width: clamp(68px, 5.6vw, 88px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--border-light);
  flex-shrink: 0;
}
.pi-card__avatar img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.2s; }
.pi-card__avatar a:hover img { opacity: 0.88; }
.pi-card__name {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}
.pi-card__name-en, .pi-card__name-cn {
  font-weight: 400;
  font-size: var(--fs-meta);
  color: var(--text-secondary);
  margin-left: 8px;
  font-family: var(--font-body);
}
.pi-card__meta {
  font-size: var(--fs-meta);
  color: var(--text-muted);
  margin-top: 5px;
  line-height: 1.58;
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 285px), 1fr));
  gap: 12px;
}
.member-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 15px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.member-card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.member-card__avatar {
  width: clamp(50px, 4vw, 60px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--border-light);
  flex-shrink: 0;
}
.member-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.member-card__avatar a:hover img { opacity: 0.88; }
.member-card__info { flex: 1; min-width: 0; }
.member-card__name { font-weight: 600; font-size: var(--fs-copy); color: var(--text-primary); line-height: 1.35; }
.member-card__name-en, .member-card__name-cn { font-weight: 400; font-size: var(--fs-meta); color: var(--text-secondary); }
.member-card__meta { font-size: var(--fs-micro); color: var(--text-muted); margin-top: 3px; line-height: 1.5; }

.student-category { margin-top: clamp(36px, 3vw, 52px); }
.student-category__sub { margin-bottom: 24px; }
.student-category__sub:last-child { margin-bottom: 0; }
.student-category__sub-label {
  font-size: var(--fs-micro);
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  padding-left: 2px;
}

.alumni-section .member-card { background: var(--bg-subtle); }
.alumni-section .member-card__avatar { opacity: 0.9; }

/* ── Publication Cards (publications page + member page) ────────── */
.pub-list { list-style: none; padding: 0; margin: 0; }
.pub-list--cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr));
  gap: 18px;
}
.pub-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.pub-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--ai4rad-teal);
  transform: translateY(-1px);
}
.pub-card__media {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
}
.pub-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pub-card__body { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pub-title { font-size: var(--fs-copy); font-weight: 600; line-height: 1.45; color: var(--text-primary); }
.pub-title a { color: inherit; }
.pub-title a:hover { color: var(--ai4rad-teal-dark); }
.pub-authors { font-size: var(--fs-meta); color: var(--text-secondary); line-height: 1.55; }
.pub-author { color: inherit; border-bottom: 1px dotted var(--text-muted); text-decoration: none; }
.pub-author:hover { color: var(--ai4rad-teal-dark); border-bottom-color: var(--ai4rad-teal); }
.pub-author--me { font-weight: 700; color: var(--ai4rad-teal-dark); border-bottom: none; }
.pub-venue { font-size: var(--fs-meta); font-style: italic; color: var(--text-muted); }
.pub-status { font-size: var(--fs-micro); font-weight: 600; color: var(--ai4rad-teal-dark); }
.pub-featured {
  background: var(--ai4rad-teal-soft);
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.68rem;
  margin-right: 6px;
  color: var(--ai4rad-teal-dark);
  vertical-align: 1px;
}
.pub-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.pub-tag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 9px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-size: var(--fs-micro);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
}
.pub-tag--jcr { color: #b4470b; background: #fff1e1; border-color: transparent; }
.pub-tag--if { color: #0f766e; background: #d3f3ee; border-color: transparent; }
.pub-tag--cas { color: #0f766e; background: #d3f3ee; border-color: transparent; }
.pub-tag--ccf { color: var(--ai4rad-blue-dark); background: #e7f0fb; border-color: transparent; }
.pub-tag--award { color: var(--ai4rad-red); background: #fff0f3; border-color: transparent; }
.pub-tag--type { color: #6b5b95; background: #efebf7; border-color: transparent; }
[data-theme="dark"] .pub-tag { border-color: var(--border); }
[data-theme="dark"] .pub-tag--jcr { color: #ffb27a; background: #3a2410; }
[data-theme="dark"] .pub-tag--if, [data-theme="dark"] .pub-tag--cas { color: #4ad4c8; background: #102321; }
[data-theme="dark"] .pub-tag--ccf { color: #7db8ff; background: #102033; }
[data-theme="dark"] .pub-tag--award { color: #ff8fa3; background: #2b1118; }
[data-theme="dark"] .pub-tag--type { color: #c4b6e8; background: #221a33; }
.pub-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border-light);
}
.pub-link {
  font-size: var(--fs-micro);
  font-weight: 700;
  color: var(--ai4rad-teal-dark);
  padding: 2px 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.pub-link:hover { color: var(--text-primary); text-decoration: underline; }
.pub-abstract { font-size: var(--fs-meta); color: var(--text-secondary); line-height: 1.6; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--border-light); }
.pub-empty { text-align: center; color: var(--text-muted); padding: 60px 0; list-style: none; grid-column: 1 / -1; }

/* ── Filters ────────────────────────────────────────────────────── */
.filters {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 22px 0 18px;
  padding: 16px 18px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}
.filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.filter-advanced summary { cursor: pointer; font-size: var(--fs-meta); font-weight: 500; color: var(--ai4rad-teal-dark); padding-top: 2px; }
.filter-advanced .filter-row { margin-top: 10px; }
.filter-label {
  font-size: var(--fs-micro);
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  width: 58px;
  flex-shrink: 0;
}
.chip {
  font-family: var(--font-body);
  font-size: var(--fs-meta);
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s;
}
.chip:hover { border-color: var(--ai4rad-teal); color: var(--text-primary); }
.chip--active { background: var(--ai4rad-teal); border-color: var(--ai4rad-teal); color: #fff; }
[data-theme="dark"] .chip--active { background: #009b8f; border-color: #009b8f; color: #fff; }
.filter-search {
  flex: 1;
  min-width: 200px;
  font-family: var(--font-body);
  font-size: var(--fs-meta);
  padding: 8px 15px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-primary);
  background: var(--bg-card);
}
.filter-search:focus { outline: none; border-color: var(--ai4rad-teal); box-shadow: 0 0 0 3px rgba(0, 142, 155, 0.12); }
.filter-count { font-size: var(--fs-meta); font-weight: 500; color: var(--text-muted); margin: 0 0 16px; }

/* Avatar placeholder */
.avatar-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: var(--ai4rad-teal-soft);
  color: var(--ai4rad-teal-dark);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.member-card__avatar .avatar-ph { font-size: clamp(0.85rem, 0.7rem + 0.25vw, 1.05rem); }
.pi-card__avatar .avatar-ph { font-size: clamp(1.1rem, 0.9rem + 0.45vw, 1.45rem); }
.leader-card__avatar .avatar-ph { font-size: clamp(1.5rem, 1.1rem + 0.7vw, 2.0rem); }

/* Monochrome line-icon system */
.ic { display: inline-block; width: 1.15rem; height: 1.15rem; background-color: currentColor; -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; flex-shrink: 0; vertical-align: -0.18em; }
.ic--team { --ic: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><path d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/><circle cx='9' cy='7' r='4'/><path d='M22 21v-2a4 4 0 0 0-3-3.87'/><path d='M16 3.13a4 4 0 0 1 0 7.75'/></svg>"); }
.ic--flask { --ic: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><path d='M10 2v7.31'/><path d='M14 9.3V2'/><path d='M8.5 2h7'/><path d='M14 9.3a6.5 6.5 0 1 1-4 0'/><path d='M5.52 16h12.96'/></svg>"); }
.ic--play { --ic: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><polygon points='10 8 16 12 10 16 10 8'/></svg>"); }
.ic--layers { --ic: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><path d='M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.57 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z'/><path d='m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65'/><path d='m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65'/></svg>"); }
.ic--eye { --ic: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><path d='M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z'/><circle cx='12' cy='12' r='3'/></svg>"); }
.ic--chat { --ic: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><path d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/></svg>"); }
.ic--spark { --ic: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><path d='M9.94 14.5A2 2 0 0 0 8.5 13.06l-5.6-1.44a.5.5 0 0 1 0-.97L8.5 9.2a2 2 0 0 0 1.44-1.44l1.44-5.6a.5.5 0 0 1 .97 0l1.44 5.6A2 2 0 0 0 15.2 9.2l5.6 1.44a.5.5 0 0 1 0 .97l-5.6 1.44a2 2 0 0 0-1.44 1.44l-1.44 5.6a.5.5 0 0 1-.97 0z'/><path d='M20 3v4'/><path d='M22 5h-4'/></svg>"); }
.ic--cube { --ic: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><path d='M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z'/><path d='m3.3 7 8.7 5 8.7-5'/><path d='M12 22V12'/></svg>"); }
.ic--pulse { --ic: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><path d='M22 12h-4l-3 9L9 3l-3 9H2'/></svg>"); }
.ic--github { --ic: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><path d='M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22'/></svg>"); }
.ic--cap { --ic: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><path d='M21.42 10.92a1 1 0 0 0-.02-1.84L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.83l8.57 3.91a2 2 0 0 0 1.66 0z'/><path d='M22 10v6'/><path d='M6 12.5V16a6 3 0 0 0 12 0v-3.5'/></svg>"); }
.ic--mail { --ic: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><rect width='20' height='16' x='2' y='4' rx='2'/><path d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/></svg>"); }
.ic--brain { --ic: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><path d='M9.5 2A2.5 2.5 0 0 1 12 4.5v15a2.5 2.5 0 0 1-4.96.44 2.5 2.5 0 0 1-2.96-3.08 3 3 0 0 1-.34-5.58 2.5 2.5 0 0 1 1.32-4.24 2.5 2.5 0 0 1 1.98-3A2.5 2.5 0 0 1 9.5 2Z'/><path d='M14.5 2A2.5 2.5 0 0 0 12 4.5v15a2.5 2.5 0 0 0 4.96.44 2.5 2.5 0 0 0 2.96-3.08 3 3 0 0 0 .34-5.58 2.5 2.5 0 0 0-1.32-4.24 2.5 2.5 0 0 0-1.98-3A2.5 2.5 0 0 0 14.5 2Z'/></svg>"); }
.ic--external { --ic: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><path d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/><polyline points='15 3 21 3 21 9'/><line x1='10' y1='14' x2='21' y2='3'/></svg>"); }
.ic--calendar { --ic: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><rect width='18' height='18' x='3' y='4' rx='2'/><line x1='16' x2='16' y1='2' y2='6'/><line x1='8' x2='8' y1='2' y2='6'/><line x1='3' x2='21' y1='10' y2='10'/></svg>"); }
.ic--document { --ic: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><path d='M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5L14.5 2z'/><polyline points='14 2 14 8 20 8'/></svg>"); }
.ic--sun { --ic: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='5'/><path d='M12 1v2'/><path d='M12 21v2'/><path d='M4.22 4.22l1.42 1.42'/><path d='M18.36 18.36l1.42 1.42'/><path d='M1 12h2'/><path d='M21 12h2'/><path d='M4.22 19.78l1.42-1.42'/><path d='M18.36 5.64l1.42-1.42'/></svg>"); }
.ic--moon { --ic: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><path d='M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z'/></svg>"); }

.nav__theme-icon { display: inline-block; width: 1.08rem; height: 1.08rem; color: var(--text-secondary); }

/* ── Responsive Breakpoints (Phone → Tablet → Desktop → 2K → 4K) ── */
@media (max-width: 768px) {
  :root { --nav-height: 54px; --content-max: 100%; }
  .nav__brand-text { display: none; }
  .nav__brand-logo { height: 28px; }
  .nav__inner { gap: 6px; }
  .nav__link, .nav__link--lang { font-size: 0.74rem; padding: 4px 7px; }
  .nav__link--lang { margin-left: 2px; padding: 3px 8px; }
  .nav__links {
    gap: 2px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 92%, transparent 100%);
  }
  .nav__links::-webkit-scrollbar { display: none; }

  .hero--home__top { grid-template-columns: 1fr; }
  .hero__eyebrow { border-radius: var(--radius-sm); line-height: 1.45; }
  .hero__brand-badge { width: 92px; order: -1; }
  .stats-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
  .pillar-grid, .project-grid, .info-grid, .info-grid--3, .domain-grid, .ug-callout, .platform-grid { grid-template-columns: 1fr; }

  .leader-card, .pi-card { flex-direction: column; gap: 14px; text-align: center; }
  .leader-card__avatar, .pi-card__avatar { margin: 0 auto; }
  .leader-card__tags { justify-content: center; }
  .leader-card__name-en { display: block; margin: 4px 0 0; }
  .member-grid { grid-template-columns: 1fr; }
  .news-list-plain li { grid-template-columns: 1fr; gap: 6px; }

  .footer__brandlogo { height: 60px; }
  .footer__affil .a-ssph { height: 32px; }
  .footer__affil .a-sjtu { height: 26px; }
  .footer__affil-logos { gap: 16px; }
  .footer__affil-sep { height: 26px; }
  .footer::after { width: 180px; opacity: 0.04; }
}

@media (min-width: 769px) and (max-width: 1023px) {
  :root { --content-max: 860px; }
  .info-grid--3, .platform-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1280px) {
  :root { --content-max: 1080px; }
  .nav__brand-logo { height: 36px; }
}

@media (min-width: 1920px) {
  :root { --content-max: 1200px; --nav-height: 68px; }
  .nav__brand-logo { height: 42px; }
}

@media (min-width: 2560px) {
  :root { --content-max: 1340px; }
  .nav__brand-logo { height: 48px; }
}

@media print {
  body { background: #fff; padding-top: 0; }
  .nav, .footer::after { display: none; }
  .reveal { opacity: 1; transform: none; }
}
