:root {
  --navy-950: #32104f;   /* 最深紫：顶部、Footer、深色背景 */
  --navy-900: #4b176d;   /* 主紫色：按钮、标题强调 */
  --navy-800: #5d2480;   /* 页面标题渐变 */
  --blue-700: #6f2c91;   /* 链接、按钮 hover */
  --blue-600: #7e3fa0;   /* 导航下划线、标签 */
  --blue-100: #f1e8f5;   /* 浅紫背景 */
  --teal-500: #9253aa;

  --ink: #241b29;
  --muted: #6c6071;
  --line: #ded2e4;

  --surface: #ffffff;
  --surface-soft: #f8f4fa;
  --surface-blue: #f3ecf7;

  --shadow-sm: 0 6px 18px rgba(75, 23, 109, 0.08);
  --shadow-md: 0 18px 46px rgba(75, 23, 109, 0.14);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shell: 1180px;
  --header-height: 106px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: var(--blue-700); text-decoration: none; }
a:hover { color: var(--navy-900); }
button, input, textarea { font: inherit; }
figure { margin: 0; }

h1, h2, h3, h4 {
  color: var(--navy-950);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.025em;
  margin-top: 0;
}
h1 { font-size: clamp(2.7rem, 6vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.15rem; }
ul, ol { margin-top: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  padding: 10px 16px;
  background: var(--navy-950);
  color: white;
  border-radius: 6px;
}
.skip-link:focus { transform: translateY(0); color: white; }
.site-shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(220, 228, 234, 0.9);
  transition: box-shadow 180ms ease, background 180ms ease;
  backdrop-filter: blur(16px);
}
.site-header.is-scrolled { box-shadow: 0 8px 28px rgba(50, 16, 79, 0.08); }
.institution-bar { background: var(--navy-950); color: rgba(255,255,255,.78); font-size: .78rem; letter-spacing: .02em; }
.institution-bar__inner { min-height: 31px; display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.institution-bar a { color: rgba(255,255,255,.82); }
.institution-bar a:hover { color: white; }
.nav-wrap { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy-950); min-width: max-content; }
.brand:hover { color: var(--navy-950); }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: white;
  background: linear-gradient(145deg, var(--navy-900), var(--blue-600));
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 1.2rem;
  box-shadow: 0 7px 18px rgba(75, 23, 109, .2);
}
.brand-copy { display: grid; line-height: 1.14; }
.brand-copy strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.18rem; letter-spacing: -.01em; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-size: .72rem; letter-spacing: .04em; text-transform: none; }
.primary-nav ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.primary-nav a {
  position: relative;
  display: block;
  padding: 25px 11px 23px;
  color: #354553;
  font-size: .92rem;
  font-weight: 650;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 13px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--blue-600);
  transition: transform 180ms ease;
}
.primary-nav a:hover::after,
.primary-nav a.is-active::after { transform: scaleX(1); }
.primary-nav a.is-active { color: var(--navy-950); }
.nav-toggle { display: none; border: 0; background: transparent; width: 44px; height: 44px; padding: 11px; cursor: pointer; }
.nav-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--navy-950); transition: transform 180ms ease, opacity 180ms ease; }

/* Shared */
.eyebrow {
  margin: 0 0 .7rem;
  color: var(--blue-600);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.section { padding: 92px 0; }
.section--compact { padding: 34px 0; }
.section--tinted { background: var(--surface-soft); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.section-heading h2 { margin: 0; }
.section-heading--stacked { display: block; }
.section-heading--stacked h2 { margin-bottom: 0; }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--navy-900); font-weight: 750; }
.text-link span { transition: transform 180ms ease; }
.text-link:hover span { transform: translateX(4px); }
.button-row { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 750;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button--primary { color: white; background: var(--navy-900); box-shadow: 0 10px 24px rgba(11,46,79,.18); }
.button--primary:hover { color: white; background: var(--blue-700); box-shadow: 0 14px 28px rgba(11,46,79,.24); }
.button--secondary { color: var(--navy-900); border-color: #cdb7d8; background: white; }
.button--secondary:hover { color: white; background: var(--navy-900); border-color: var(--navy-900); }
.button--ghost { color: var(--navy-900); border-color: #c3a7d1; background: transparent; }
.button--ghost:hover { color: white; background: var(--navy-900); border-color: var(--navy-900); }
.button--light { color: var(--navy-950); background: white; box-shadow: 0 10px 22px rgba(0,0,0,.12); }
.button--light:hover { color: var(--navy-900); background: #f5fafc; }

/* Home */
.home-hero {
  overflow: hidden;
  background: linear-gradient(180deg, #f8f3fa 0%, #fff 100%);
}
.home-hero__grid { min-height: 660px; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: clamp(42px, 7vw, 98px); padding: 64px 0 72px; }
.home-hero__copy h1 { max-width: 760px; margin-bottom: 24px; font-size: clamp(3.2rem, 6vw, 5.6rem); }
.home-hero__lead { max-width: 650px; color: #465766; font-size: 1.18rem; line-height: 1.75; }
.home-hero__media { position: relative; }
.home-hero__media::before {
  content: "";
  position: absolute;
  inset: -28px 22px 28px -28px;
  z-index: 0;
  border: 1px solid #d6c3df;
  border-radius: var(--radius-lg);
}
.home-hero__media img {
  position: relative;
  z-index: 1;

  display: block;
  width: 100%;
  height: auto;

  aspect-ratio: auto;
  object-fit: contain;

  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.home-hero__media {
  position: relative;
  width: 100%;
  max-width: 560px;
  justify-self: center;
}

.home-hero__media figcaption { position: relative; z-index: 2; margin: 13px 0 0 22px; color: var(--muted); font-size: .82rem; }
.intro-strip { display: grid; grid-template-columns: 180px 1fr; gap: 30px; align-items: center; padding: 27px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.intro-strip__label { margin: 0; color: var(--blue-600); font-size: .76rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.intro-strip__text { margin: 0; color: var(--navy-950); font-family: Georgia, serif; font-size: clamp(1.35rem, 2.5vw, 2.05rem); line-height: 1.35; }
.research-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.research-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease; }
.research-card:hover { transform: translateY(-6px); border-color: #cfb9da; box-shadow: var(--shadow-md); }
.research-card__image { display: block; overflow: hidden; background: var(--surface-blue); }
.research-card__image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 320ms ease; }
.research-card:hover .research-card__image img { transform: scale(1.035); }
.research-card__body { padding: 26px 26px 28px; }
.research-card__body h3 { margin-bottom: 12px; font-size: 1.55rem; }
.research-card__body h3 a { color: var(--navy-950); }
.research-card__body p { color: var(--muted); }
.split-section { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(45px, 8vw, 100px); align-items: start; }
.news-list--home { margin-bottom: 28px; }
.news-item { display: grid; grid-template-columns: 130px 1fr; gap: 22px; padding: 19px 0; border-top: 1px solid var(--line); }
.news-item:last-child { border-bottom: 1px solid var(--line); }
.news-item time { color: var(--muted); font-size: .82rem; font-weight: 700; }
.news-item p { margin: 0; }
.news-item img, .news-item iframe { display: none; }
.join-panel { position: sticky; top: 135px; padding: 42px; color: white; background: linear-gradient(145deg, var(--navy-950), var(--blue-700)); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.join-panel .eyebrow { color: #dfbfe9; }
.join-panel h2 { color: white; }
.join-panel p { color: rgba(255,255,255,.83); }
.featured-publications { border-top: 1px solid var(--line); }
.featured-publication {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.featured-publication img {
  display: block;
  width: 160px;
  height: 120px;
  padding: 10px;
  object-fit: contain;
  object-position: center;
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
}
.featured-publication h3 { margin-bottom: 9px; font-size: 1.25rem; line-height: 1.35; }
.featured-publication h3 a { color: var(--navy-950); }
.publication-authors { margin-bottom: 6px; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.publication-venue { margin: 0; color: var(--blue-700); font-size: .87rem; font-weight: 750; }
.photo-band { position: relative; min-height: 440px; overflow: hidden; background: var(--navy-950); }
.photo-band > img { width: 100%; min-height: 440px; object-fit: cover; opacity: .58; }
.photo-band__overlay { position: absolute; inset: 0; display: grid; align-items: center; background: linear-gradient(90deg, rgba(7,31,52,.9), rgba(7,31,52,.35) 70%, rgba(7,31,52,.1)); }
.photo-band__overlay h2 { max-width: 620px; color: white; }
.photo-band__overlay .eyebrow { color: #dfbfe9; }

/* Page hero */
.page-hero { position: relative; overflow: hidden; color: white; background: linear-gradient(135deg, var(--navy-950), var(--navy-800)); }
.page-hero::after {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  right: -110px;
  top: -260px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255,255,255,.035), 0 0 0 140px rgba(255,255,255,.025);
}
.page-hero__inner { position: relative; z-index: 1; padding: 84px 0 74px; }
.page-hero h1 { margin-bottom: 18px; color: white; font-size: clamp(3rem, 6vw, 5rem); }
.page-hero .eyebrow { color: #dfbfe9; }
.page-intro { max-width: 760px; margin: 0; color: rgba(255,255,255,.8); font-size: 1.13rem; }
.page-content { padding-top: 78px; padding-bottom: 100px; }
.page-content > h1:first-child { display: none; }
.page-content > h2 { margin-top: 54px; }
.page-content > p, .page-content > ul, .page-content > ol { max-width: 820px; }

/* News */
.news-archive { border-top: 1px solid var(--line); }
.news-archive__item { display: grid; grid-template-columns: 180px 1fr; gap: 34px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.news-archive__item time { color: var(--muted); font-size: .84rem; font-weight: 750; }
.news-archive__item p { margin: 0; }
.news-archive__item img { max-width: 270px; max-height: 160px; margin-top: 14px; object-fit: cover; border-radius: var(--radius-sm); }

/* Research */
.research-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(42px, 8vw, 92px); align-items: center; padding: 58px 0 78px; border-bottom: 1px solid var(--line); }
.research-detail:first-child { padding-top: 0; }
.research-detail--reverse .research-detail__image { order: 2; }
.research-detail__image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); background: var(--surface-soft); }
.research-detail__copy h2 { margin-bottom: 20px; }
.research-detail__copy p:not(.eyebrow) { color: #4d5b68; }
.callout-box { display: flex; align-items: center; justify-content: space-between; gap: 35px; margin-top: 78px; padding: 42px 46px; border-radius: var(--radius-md); background: var(--surface-blue); }
.callout-box h2 { margin-bottom: 10px; font-size: 2rem; }
.callout-box p:last-child { margin-bottom: 0; }

/* Publications */
.publication-section + .publication-section {
  margin-top: 90px;
}

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

.publication-highlight-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 300px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: 0 6px 18px rgba(75, 23, 109, 0.035);
}

.publication-highlight-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 300px;
  padding: 22px;
  background: var(--surface-soft);
  border-right: 1px solid var(--line);
}

.publication-highlight-card__image img {
  display: block;
  width: auto;
  height: auto;
  max-width: 190px;
  max-height: 238px;
  object-fit: contain;
  object-position: center;
}

/* Tune the three current highlight images to their native aspect ratios. */
.publication-highlight-card__image img[src$="lpr.jpg"] {
  max-width: 168px;
  max-height: 238px;
}

.publication-highlight-card__image img[src$="optica2021.png"] {
  max-width: 184px;
  max-height: 184px;
}

.publication-highlight-card__image img[src$="optica2022.jpg"] {
  max-width: 192px;
  max-height: 148px;
}

.publication-highlight-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 28px 30px;
}

.publication-highlight-card__body h3 {
  margin-bottom: 12px;
  font-size: 1.22rem;
  line-height: 1.35;
}

.publication-highlight-card__body h3 a {
  color: var(--navy-950);
}

.publication-highlight-card__body > p:not(.publication-authors):not(.publication-venue) {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: .93rem;
  line-height: 1.65;
}

.publication-highlight-card .publication-authors {
  margin-bottom: 8px;
}

.publication-highlight-card .publication-venue {
  margin-top: auto;
}

.publication-list {
  border-top: 1px solid var(--line);
}

.publication-row {
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.publication-row__number {
  padding-top: 3px;
  color: #93a4b0;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.publication-row h3 {
  margin-bottom: 8px;
  font-size: 1.14rem;
  line-height: 1.4;
}

.publication-row h3 a {
  color: var(--navy-950);
}

/* Team */
.team-section + .team-section { margin-top: 90px; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}
.member-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; transition: transform 200ms ease, box-shadow 200ms ease; }
.member-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.member-card__photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(145deg, var(--surface-blue), #eadff0);
}

.member-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.member-card__placeholder { height: 100%; display: grid; place-items: center; color: var(--navy-900); font-family: Georgia, serif; font-size: 3rem; }
.member-card__body {
  padding: 18px 18px 20px;
}
.member-card__body h3 { margin-bottom: 7px; }
.member-role { min-height: 48px; margin-bottom: 11px; color: var(--muted); font-size: .91rem; }
.member-role p { margin: 0; }
.team-grid--compact { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.member-card--compact .member-card__body { min-height: 130px; }
.alumni-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.alumni-item { padding: 24px 28px 24px 0; border-bottom: 1px solid var(--line); }
.alumni-item:nth-child(odd) { border-right: 1px solid var(--line); }
.alumni-item:nth-child(even) { padding-left: 28px; }
.alumni-item h3 { margin-bottom: 7px; font-size: 1.12rem; }
.alumni-item p { margin-bottom: 4px; color: var(--muted); font-size: .9rem; }
.alumni-item span { color: var(--blue-700); font-size: .84rem; }


/* =========================================================
   Gallery — one event per row
   Title above, large image below
   ========================================================= */

.group-gallery {
  display: flex !important;
  flex-direction: column;
  gap: 64px;
  width: 100%;
  margin-top: 8px;
}

.group-gallery__item {
  display: block !important;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.group-gallery__heading {
  display: block !important;
  margin: 0 0 22px !important;
  padding: 0 !important;
  text-align: left !important;
}

.group-gallery__title {
  margin: 0;
  color: var(--navy-950);
  font-family: inherit !important;
  font-size: 1.65rem !important;
  font-weight: 750 !important;
  line-height: 1.25 !important;
}

.group-gallery__description {
  max-width: 780px;
  margin: 8px 0 0 !important;
  color: var(--muted);
  font-size: 0.95rem !important;
  line-height: 1.6;
}

.group-gallery__media {
  width: 40%;
  max-width: 460px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface-soft);
}

.group-gallery__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 760px) {
  .group-gallery {
    gap: 44px;
  }

  .group-gallery__heading {
    margin-bottom: 16px !important;
  }

  .group-gallery__title {
    font-size: 1.35rem !important;
  }

  .group-gallery__media {
    border-radius: 6px;
  }
}

/* Openings */
.opening-lead { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(45px, 8vw, 95px); align-items: start; padding-bottom: 70px; border-bottom: 1px solid var(--line); }
.opening-lead h2 { max-width: 720px; }
.opening-lead > div > p:not(.eyebrow) { max-width: 720px; color: var(--muted); }
.opening-status { display: flex; gap: 15px; padding: 26px; border: 1px solid #bcd6cf; border-radius: var(--radius-md); background: #eff8f4; }
.status-dot { width: 13px; height: 13px; margin-top: 6px; flex: 0 0 auto; background: #3e956d; border-radius: 50%; box-shadow: 0 0 0 6px rgba(62,149,109,.12); }
.opening-status strong { color: #235d43; }
.opening-status p { margin: 4px 0 0; color: #4b685a; font-size: .9rem; }
.opening-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 60px; }
.opening-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; }
.opening-card h2 { font-size: 1.7rem; }
.opening-card > p:not(.eyebrow) { color: var(--muted); }
.application-box { display: grid; grid-template-columns: .8fr 1.2fr; gap: 55px; margin-top: 70px; padding: 45px; color: white; border-radius: var(--radius-md); background: var(--navy-950); }
.application-box h2 { margin-bottom: 0; color: white; }
.application-box .eyebrow { color: #dfbfe9; }
.application-box ol { margin: 0; padding-left: 22px; color: rgba(255,255,255,.82); }
.application-box li + li { margin-top: 10px; }

/* Footer */
.site-footer { color: rgba(255,255,255,.72); background: var(--navy-950); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .7fr 1fr; gap: 70px; padding: 66px 0 48px; }
.footer-brand { margin-bottom: 13px; color: white; font-family: Georgia, serif; font-size: 1.55rem; }
.site-footer h2 { margin-bottom: 14px; color: white; font-family: inherit; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; }
.site-footer p { margin: 0; font-size: .9rem; }
.site-footer a { color: rgba(255,255,255,.84); }
.site-footer a:hover { color: white; }
.footer-links { display: grid; gap: 8px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0 26px; border-top: 1px solid rgba(255,255,255,.13); font-size: .76rem; }

/* Legacy content compatibility */
.row { display: flex; flex-wrap: wrap; margin-inline: -12px; }
[class^="col-sm-"], [class*=" col-sm-"] { width: 100%; padding-inline: 12px; }
.col-sm-12 { width: 100%; }
.col-sm-8 { width: 66.666%; }
.col-sm-6 { width: 50%; }
.col-sm-4 { width: 33.333%; }
.col-sm-3 { width: 25%; }
.well { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-soft); }
.img-responsive { max-width: 100%; height: auto; }
.clearfix::after { content: ""; display: table; clear: both; }
p.byline { text-align: center; font-size: 1.1rem; }
pubtit { display: block; color: var(--navy-950); font-family: Georgia, serif; font-weight: 700; }
iframe { max-width: 100%; }

@media (max-width: 1060px) {
  .primary-nav a { padding-inline: 8px; font-size: .85rem; }
  .research-card-grid, .team-grid, .opening-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .publication-highlight-grid { grid-template-columns: 1fr; }
  .team-grid--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  :root { --header-height: 76px; }
  .institution-bar { display: none; }
  .nav-wrap { min-height: 76px; }
  .nav-toggle { display: block; }
  .primary-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    padding: 10px 20px 20px;
    background: white;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 15px 30px rgba(7,31,52,.1);
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { display: grid; }
  .primary-nav a { padding: 12px 5px; }
  .primary-nav a::after { left: 5px; right: auto; bottom: 7px; width: 38px; }
  .home-hero__grid { min-height: auto; grid-template-columns: 1fr; padding-top: 70px; }
  .home-hero__media { max-width: 650px; }
  .split-section, .opening-lead, .application-box { grid-template-columns: 1fr; }
  .join-panel { position: static; }
  .research-detail { grid-template-columns: 1fr; gap: 28px; }
  .research-detail--reverse .research-detail__image { order: 0; }
  .callout-box { align-items: flex-start; flex-direction: column; }
  .publication-highlight-card {
    grid-template-columns: 190px minmax(0, 1fr);
    min-height: 270px;
  }

  .publication-highlight-card__image {
    min-height: 270px;
    padding: 18px;
  }

  .publication-highlight-card__image img {
    max-width: 158px;
    max-height: 210px;
  }

  .publication-highlight-card__image img[src$="lpr.jpg"] {
    max-width: 145px;
    max-height: 210px;
  }

  .publication-highlight-card__image img[src$="optica2021.png"] {
    max-width: 154px;
    max-height: 154px;
  }

  .publication-highlight-card__image img[src$="optica2022.jpg"] {
    max-width: 160px;
    max-height: 122px;
  }

  .publication-highlight-card__body {
    padding: 24px;
  }

  .featured-publication {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 22px;
  }

  .featured-publication img {
    width: 140px;
    height: 110px;
  }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .site-shell { width: min(calc(100% - 28px), var(--shell)); }
  .brand-copy small { display: none; }
  .section { padding: 68px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; margin-bottom: 28px; }
  .home-hero__grid { gap: 55px; padding: 54px 0 58px; }
  .home-hero__copy h1 { font-size: clamp(2.7rem, 14vw, 4rem); }
  .home-hero__media::before { inset: -15px 13px 15px -15px; }
  .intro-strip { grid-template-columns: 1fr; gap: 8px; }
  .research-card-grid, .team-grid, .team-grid--compact, .opening-grid { grid-template-columns: 1fr; }
  .news-item, .news-archive__item { grid-template-columns: 1fr; gap: 8px; }
  .featured-publication {
    grid-template-columns: 125px minmax(0, 1fr);
    gap: 18px;
  }

  .featured-publication img {
    width: 115px;
    height: 100px;
    padding: 7px;
  }

  .page-hero__inner { padding: 60px 0 54px; }
  .page-content { padding-top: 55px; padding-bottom: 75px; }

  .publication-highlight-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .publication-highlight-card__image {
    min-height: 230px;
    padding: 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .publication-highlight-card__image img {
    max-width: 180px;
    max-height: 195px;
  }

  .publication-highlight-card__image img[src$="lpr.jpg"] {
    max-width: 140px;
    max-height: 195px;
  }

  .publication-highlight-card__image img[src$="optica2021.png"] {
    max-width: 168px;
    max-height: 168px;
  }

  .publication-highlight-card__image img[src$="optica2022.jpg"] {
    max-width: 180px;
    max-height: 135px;
  }

  .publication-highlight-card__body {
    padding: 24px 22px 26px;
  }

  .publication-row { grid-template-columns: 38px 1fr; }
  .alumni-list { grid-template-columns: 1fr; }
  .alumni-item:nth-child(odd) { border-right: 0; }
  .alumni-item:nth-child(even) { padding-left: 0; }
  .application-box { padding: 32px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 50px; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .col-sm-8, .col-sm-6, .col-sm-4, .col-sm-3 { width: 100%; }
}
/* =========================================================
   Refined openings page
   ========================================================= */

.opening-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.opening-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 340px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 8px 28px rgba(75, 23, 109, 0.05);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.opening-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 28px;
  width: 48px;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: var(--blue-600);
}

.opening-card:hover {
  transform: translateY(-5px);
  border-color: #cbb6d6;
  box-shadow: 0 18px 42px rgba(75, 23, 109, 0.11);
}

.opening-card--featured {
  background:
    linear-gradient(
      145deg,
      rgba(126, 63, 160, 0.08),
      rgba(255, 255, 255, 0) 58%
    ),
    var(--surface);
}

.opening-card--featured::before {
  width: 74px;
  background: linear-gradient(
    90deg,
    var(--navy-900),
    var(--blue-600)
  );
}

.opening-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 26px;
}

.opening-card__top .eyebrow {
  margin: 0;
}

.opening-card__tag {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--navy-900);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.opening-card h2 {
  margin: 0 0 18px;
  color: var(--navy-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  line-height: 1.2;
}

.opening-card > p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.72;
}

.opening-card .opening-card__note {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.92rem;
}

.opening-card .text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  color: var(--navy-900);
  font-weight: 750;
  text-decoration: none;
}

.opening-card .text-link span {
  transition: transform 0.2s ease;
}

.opening-card .text-link:hover span {
  transform: translateX(4px);
}


/* Application area */

.application-box {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: 64px;
  margin-top: 54px;
  padding: 48px;
  border-radius: 20px;
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(255, 255, 255, 0.12),
      transparent 34%
    ),
    linear-gradient(
      135deg,
      var(--navy-950),
      var(--navy-900)
    );
  color: #ffffff;
}

.application-box__intro .eyebrow {
  margin-bottom: 16px;
  color: #dfbfe9;
}

.application-box__intro h2 {
  margin: 0 0 20px;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.08;
}

.application-box__intro > p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.75;
}

.application-box__details {
  display: grid;
  gap: 32px;
}

.application-box__section + .application-box__section {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.application-box__section h3 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 1rem;
}

.application-box__section ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.application-box__section li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.91rem;
  line-height: 1.55;
}

.application-box__section li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #dfbfe9;
}

.application-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.application-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 82px;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.application-links a:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.12);
}

.application-links strong {
  display: block;
  color: #ffffff;
  font-size: 0.86rem;
  line-height: 1.35;
}

.application-links small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  line-height: 1.35;
}

.application-links > a > span:last-child {
  flex: 0 0 auto;
  color: #dfbfe9;
  font-size: 1rem;
}


/* Responsive */

@media (max-width: 1000px) {
  .opening-grid {
    grid-template-columns: 1fr;
  }

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

  .application-box {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .application-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .opening-card {
    padding: 25px 22px;
  }

  .opening-card__top {
    flex-direction: column;
  }

  .application-box {
    padding: 32px 24px;
  }

  .application-box__section ul {
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   Openings application box refinement
   ========================================================= */

.application-box {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 64px;
  align-items: start;
  margin-top: 54px;
  padding: 52px 60px;
  border-radius: 22px;
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(255, 255, 255, 0.12),
      transparent 36%
    ),
    linear-gradient(
      135deg,
      var(--navy-950),
      var(--navy-900)
    );
  color: #ffffff;
}


/* Left introduction */

.application-box__intro .eyebrow {
  margin: 0 0 18px;
  color: #e7ccef;
}

.application-box__intro h2 {
  margin: 0 0 20px;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 3.5vw, 3.4rem);
  line-height: 1.06;
}

.application-box__intro > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
}

.application-box__email {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 11px 17px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.application-box__email:hover {
  color: var(--navy-900);
  background: #ffffff;
  transform: translateY(-2px);
}


/* Right two-column content */

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

.application-box__section {
  min-width: 0;
}

.application-box__section + .application-box__section {
  padding: 0;
  border: 0;
}

.application-box__section h3 {
  margin: 0 0 24px;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.3;
}


/* Please include */

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

.application-checklist li {
  position: relative;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
}

.application-checklist li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e5c8ed;
}
/* Responsive */

@media (max-width: 1000px) {
  .application-box {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 44px;
  }
}

@media (max-width: 720px) {
  .application-box__details {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .application-box__section + .application-box__section {
    padding-top: 34px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }
}

@media (max-width: 520px) {
  .application-box {
    padding: 34px 24px;
    border-radius: 16px;
  }

  .application-box__intro h2 {
    font-size: 2.25rem;
  }
}
/* Useful links: one item per row */

.application-box__details {
  display: block;
}

.application-box .application-checklist {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.application-box .application-checklist li {
  position: relative;
  margin: 0;
  padding-left: 20px;
  color: #ffffff;
}

.application-box .application-checklist li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
}

.application-box .application-checklist a,
.application-box .application-checklist a:visited {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff !important;
  font-size: 0.96rem;
  line-height: 1.55;
  text-decoration: none;
  white-space: nowrap;
}

.application-box .application-checklist a span {
  color: #ffffff !important;
}

.application-box .application-checklist a:hover {
  color: #ffffff !important;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 720px) {
  .application-box .application-checklist a {
    white-space: normal;
  }
}

/* =========================================================
   Team page — PI and postgraduate members
   ========================================================= */

.team-page {
  width: 100%;
}

.team-page .team-section {
  margin-bottom: 72px;
}


/* Section titles */

.team-page .team-section-title {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.team-page .team-section-title h2 {
  margin: 0;
  color: var(--navy-950);
  font-family: inherit;
  font-size: 1.35rem;
  font-weight: 750;
  line-height: 1.3;
}

.team-page .team-section-title--with-link {
  justify-content: space-between;
}

.team-page .team-section-title .text-link {
  flex: 0 0 auto;
  color: var(--navy-900);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}


/* =========================================================
   PI card — horizontal layout
   ========================================================= */

.team-page .pi-card-wrap {
  display: block;
  width: 100%;
}

.team-page article.pi-card {
  display: grid !important;
  grid-template-columns: 270px minmax(0, 1fr) !important;
  column-gap: 34px;
  align-items: start;

  width: min(100%, 900px);
  max-width: 900px;
  padding: 20px;
  overflow: hidden;

  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 5px 18px rgba(75, 23, 109, 0.07);
}


/* 左侧照片：强制清除旧样式 */

/* PI photo: keep original image aspect ratio */
.team-page article.pi-card .pi-card__photo {
  width: 270px !important;
  max-width: 270px !important;
  height: auto !important;
  aspect-ratio: auto !important;
  align-self: center !important;
}

.team-page article.pi-card .pi-card__photo img {
  display: block;
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: center center;
}


/* 右侧信息 */

.team-page article.pi-card .pi-card__body {
  position: static !important;
  grid-column: 2;
  grid-row: 1;
  align-self: start;

  display: block;
  min-width: 0;
  width: auto !important;
  margin: 0 !important;
  padding: 10px 22px 10px 0 !important;
}


/* 姓名 */

.team-page .pi-card__body h3 {
  margin: 0 0 5px;
  color: var(--navy-950);
  font-family: inherit;
  font-size: 1.3rem;
  font-weight: 750;
  line-height: 1.4;
  text-align: left;
}


/* 职位 */

.team-page .pi-card__position {
  margin: 5 0 18px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.5;
  text-align: left;
}


/* Employment / Education / Office / Email */

.team-page .pi-card__group {
  margin-top: 14px;
}

.team-page .pi-card__group:first-of-type {
  margin-top: 0;
}

.team-page .pi-card__group strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.5;
}

.team-page .pi-card__group p,
.team-page .pi-card__group a {
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.5;
}

.team-page .pi-card__group a {
  color: var(--navy-900);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.team-page .pi-card__group a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.team-page .team-section:first-child {
  margin-bottom: 58px;
}


/* 小屏幕切换为上下布局 */

@media (max-width: 760px) {
  .team-page article.pi-card {
    grid-template-columns: 1fr !important;
    width: 100%;
    max-width: 430px;
    row-gap: 0;
    padding: 18px;
  }

  .team-page article.pi-card .pi-card__photo {
    grid-column: 1;
    grid-row: 1;

    width: 100% !important;
    max-width: none !important;
    height: auto !important;

    aspect-ratio: auto !important;
  }

  .team-page article.pi-card .pi-card__photo img {
    display: block;
    width: 100% !important;
    height: auto !important;

    object-fit: contain !important;
    object-position: center center;
  }

  .team-page article.pi-card .pi-card__body {
    grid-column: 1;
    grid-row: 2;
    padding: 22px 2px 6px !important;
  }
}

.team-page article.pi-card .pi-card__photo {
  align-self: center !important;
}

.team-page article.pi-card .pi-card__photo img {
  object-position: center center;
}

/* =========================================================
   Postgraduate member cards
   ========================================================= */

.team-page .team-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.team-page .member-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(75, 23, 109, 0.05);
}

.team-page .member-card__photo {
  margin: 18px 18px 0;
  overflow: hidden;
  border-radius: 6px;
  background: var(--surface-blue);

  aspect-ratio: 3 / 4;
}

.team-page .member-card__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-page .member-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--navy-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.5rem;
  font-weight: 700;
}

.team-page .member-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 17px 18px 21px;
}

.team-page .member-card__body h3 {
  margin: 0;
  color: var(--navy-950);
  font-family: inherit;
  font-size: 1.18rem;
  font-weight: 750;
  line-height: 1.4;
}

.team-page .member-role {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.5;
}


/* Education: no heading, no bullets */

.team-page .member-education {
  display: grid;
  gap: 3px;
  margin-top: 10px;
  padding: 0;
  border: 0;
}

.team-page .member-education p {
  margin: 0;
  padding: 0;
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.5;
}

.team-page .member-education p::before {
  content: none;
}

.team-page .member-email {
  display: inline-block;
  margin-top: 18px;
  color: var(--navy-900);
  font-size: 1.12rem;
  font-weight: 650;
  line-height: 1.45; 
  text-decoration: none;
  overflow-wrap: anywhere;
  font-family: Calibri, "Segoe UI", Arial, sans-serif;
  font-style: italic;
}


.team-page .member-email:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* Compact students */

.team-page .team-grid--compact {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.team-page .member-card--compact .member-card__body {
  min-height: 130px;
}


/* Responsive */

@media (max-width: 980px) {
  .team-page .team-grid,
  .team-page .team-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .team-page .team-section {
    margin-bottom: 54px;
  }

  .team-page .team-grid,
  .team-page .team-grid--compact {
    grid-template-columns: 1fr;
  }

  .team-page .pi-card {
    max-width: 100%;
  }

  .team-page .team-section-title--with-link {
    align-items: flex-start;
  }
}

.research-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  align-items: center;
  margin: 18px 0 28px;
}

.research-intro__text p {
  margin: 0;
}

.research-intro__image img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 8px;
}

/* 手机端自动变成上下布局 */
@media (max-width: 800px) {
  .research-intro {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .research-intro__image img {
    width: 100%;
    height: auto;
  }
}

.footer-full-name {
  margin: -6px 0 14px;
  color: rgba(255,255,255,.62);
  font-size: .82rem;
  line-height: 1.5;
}