:root {
  --purple-900: #2d164f;
  --purple-800: #3f2368;
  --purple-700: #56328a;
  --purple-600: #6842a0;
  --purple-100: #f2eef8;
  --purple-050: #faf8fd;
  --teal-600: #157a7a;
  --blue-600: #2f5f9f;
  --gold-600: #9b6a16;
  --ink: #20202a;
  --muted: #656171;
  --line: #e8e1f0;
  --white: #ffffff;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--ink);
  background: var(--purple-050);
  line-height: 1.75;
}

a {
  color: var(--purple-700);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 8px 24px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--purple-900);
  font-weight: 700;
  letter-spacing: 0.2px;
  font-size: 18px;
}

.brand img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  transform: translateY(10px);
  cursor: zoom-in;
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 15px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--purple-050);
}

.language-toggle button {
  min-width: 42px;
  min-height: 30px;
  padding: 4px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.language-toggle button.active {
  background: var(--purple-700);
  color: var(--white);
}

.nav a {
  color: var(--ink);
  font-weight: 700;
  padding: 6px 0;
}

.nav a.active {
  color: var(--purple-700);
  font-weight: 700;
  border-bottom: 2px solid var(--purple-600);
}

.hero {
  background: linear-gradient(180deg, #ffffff 0%, #f5f0fb 100%);
}

.refined-hero {
  position: relative;
  overflow: hidden;
}

.refined-hero::before {
  content: none;
}

.hero-inner.reference-hero {
  grid-template-columns: minmax(0, 1fr) 252px;
  column-gap: 56px;
  row-gap: 24px;
  align-items: start;
  padding-top: 44px;
  padding-bottom: 38px;
}

.reference-hero .hero-copy {
  display: contents;
  max-width: none;
}

.reference-hero .hero-copy h1 {
  grid-column: 1 / -1;
  grid-row: 1;
  font-size: 40px;
  line-height: 1.2;
  margin: 0;
}

.reference-hero .hero-copy .lead {
  grid-column: 1;
  grid-row: 2;
  font-size: 17px;
  line-height: 1.8;
  margin: 0;
  text-align: justify;
}

.reference-hero .reference-pi {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: center;
  padding-top: 0;
  gap: 2px;
}

.reference-pi .portrait-wrap {
  width: 132px;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.reference-pi .portrait {
  width: 100%;
  height: auto;
  aspect-ratio: 627 / 837;
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
}

.reference-pi .pi-hero-info {
  width: 100%;
  text-align: center;
  font-size: 16px;
}

.reference-pi .pi-hero-info h2 {
  margin: 0;
  font-size: 18px;
}

.reference-pi .pi-hero-info p {
  margin: 2px 0 0;
}

.reference-pi .pi-hero-info a {
  text-decoration: underline;
}

.hero-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 42px 24px 30px;
  display: grid;
  grid-template-columns: max-content 164px minmax(0, 1fr);
  gap: 20px 28px;
  align-items: stretch;
}

.pi-hero-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hero-copy {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-copy h1 {
  font-size: clamp(28px, 3vw, 36px);
  margin-bottom: 18px;
}

.hero-copy .lead {
  font-size: 16px;
  line-height: 1.8;
}

.hero-title {
  grid-column: 1;
  grid-row: 1;
  width: max-content;
  margin: 0;
  font-size: 34px;
}

.hero-inner > .lead {
  grid-column: 1;
  grid-row: 2;
  width: 0;
  min-width: 100%;
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
}

.hero-inner > .portrait-wrap {
  grid-column: 2;
  grid-row: 2;
  position: relative;
  width: 100%;
  min-height: 0;
  padding: 0;
  align-self: stretch;
  overflow: hidden;
}

.hero-inner > .portrait-wrap .portrait {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-inner > .pi-hero-info {
  grid-column: 3;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: stretch;
  text-align: left;
  padding: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.hero-inner > .pi-hero-info h2,
.hero-inner > .pi-hero-info p {
  margin: 0;
}

.hero-inner > .hero-actions {
  grid-column: 1;
  grid-row: 3;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--purple-700);
  font-weight: 700;
}

h1,
h2,
h3 {
  color: var(--purple-900);
  line-height: 1.3;
}

h1 {
  margin: 0 0 12px;
  font-size: 36px;
}

h2 {
  margin: 0 0 22px;
  font-size: 28px;
}

h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.subtitle {
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 20px;
}

.lead {
  font-size: 17px;
  margin: 0 0 24px;
}

.hero-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 24px;
}

.hero-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 12px;
  border: 1px solid rgba(104, 66, 160, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--purple-800);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(45, 22, 79, 0.05);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 18px;
  border-radius: 6px;
  background: var(--purple-700);
  color: var(--white);
  font-weight: 700;
}

.button.secondary {
  background: var(--white);
  color: var(--purple-700);
  border: 1px solid var(--line);
}

.button:hover {
  text-decoration: none;
  background: var(--purple-800);
}

.button.secondary:hover {
  background: var(--purple-100);
}

.portrait-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  width: 172px;
  max-width: 100%;
  justify-self: end;
  box-shadow: 0 18px 42px rgba(45, 22, 79, 0.1);
}

.portrait {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center top;
  border-radius: 6px;
}

.pi-hero-info {
  width: 100%;
  text-align: center;
  font-size: 14px;
}

.pi-hero-info h2 {
  margin-bottom: 8px;
  font-size: 22px;
}

.pi-hero-info p {
  margin: 6px 0;
  color: var(--muted);
  line-height: 1.55;
}

.pi-hero-info p:last-child {
  margin-bottom: 0;
}

.cover-band {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 30px;
}

.cover-slider {
  position: relative;
  width: 100%;
  height: clamp(230px, 34vw, 380px);
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: zoom-in;
}

.cover-slider::after {
  content: none;
}

.cover-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: none;
  animation: coverFade 10s infinite ease-in-out;
}

.cover-slide-one {
  opacity: 1;
  animation: none;
}

.cover-slide-two {
  opacity: 0;
}

.cover-slider:hover .cover-slide {
  animation-play-state: paused;
}

.cover-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 20px;
  z-index: 1;
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  text-shadow: none;
}

@keyframes coverFade {
  0%, 44%, 100% {
    opacity: 0;
  }
  50%, 94% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cover-slide {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .cover-slide-two,
  .cover-slide-three,
  .cover-slide-four,
  .cover-slide-five {
    display: none;
  }
}

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 42px 24px;
}

.research-page .section,
.research-page .page-title-inner,
.research-page .section.white > .section-inner {
  max-width: 1240px;
}

.section.white {
  background: var(--white);
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.section.white > .section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.section-heading-row h2 {
  margin-bottom: 0;
}

.text-link {
  font-weight: 700;
  white-space: nowrap;
}

.arrow-link::after {
  content: "→";
  display: inline-block;
  margin-left: 0.35em;
  transition: transform 0.2s ease;
}

.arrow-link:hover::after {
  transform: translateX(3px);
}

.research-overview-home {
  padding-top: 52px;
  padding-bottom: 54px;
}

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

.topic-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.topic-image {
  display: block;
  width: 180px;
  height: 120px;
  max-width: 100%;
  margin: 0 auto 22px;
  object-fit: contain;
  cursor: zoom-in;
}

.topic-number {
  display: block;
  margin-bottom: 8px;
  color: var(--purple-600);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

.topic-content h3 {
  font-size: 19px;
  margin-bottom: 14px;
  text-align: center;
  min-height: 74px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.topic-content h3 a {
  color: var(--purple-900);
}

.topic-content p {
  margin: 0;
  text-align: left;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.research-row {
  scroll-margin-top: 160px;
}

.research-map {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.8fr) minmax(0, 1fr);
  grid-template-areas:
    "one center two"
    "three center four";
  gap: 20px;
  align-items: center;
}

.research-topic-center {
  grid-area: center;
  margin: 0;
  align-self: center;
}

.research-topic-center img {
  display: block;
  width: 100%;
  height: 340px;
  max-height: 340px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: zoom-in;
}

.research-map-card {
  padding: 20px;
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(45, 22, 79, 0.05);
}

.research-map-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.research-map-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.map-card-one {
  grid-area: one;
}

.map-card-two {
  grid-area: two;
}

.map-card-three {
  grid-area: three;
}

.map-card-four {
  grid-area: four;
}

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

.research-row {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 24px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(45, 22, 79, 0.05);
}

.research-row img {
  width: 96px;
  height: 72px;
  object-fit: contain;
  border-radius: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.research-row p {
  margin-bottom: 0;
}

.grid {
  display: grid;
  gap: 20px;
}

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

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 1px 10px rgba(45, 22, 79, 0.04);
}

.section.white .card {
  background: var(--purple-050);
}

.research-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: var(--purple-100);
  color: var(--purple-700);
}

.card:nth-child(2) .research-icon {
  background: #eaf5f5;
  color: var(--teal-600);
}

.card:nth-child(3) .research-icon {
  background: #edf2fb;
  color: var(--blue-600);
}

.research-icon svg {
  width: 27px;
  height: 27px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.list {
  margin: 0;
  padding-left: 20px;
}

.list li {
  margin: 8px 0;
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.timeline li:last-child {
  border-bottom: 0;
}

.page-title {
  background: var(--purple-900);
  color: var(--white);
}

.page-title-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 44px 24px;
}

.page-title h1,
.page-title p {
  color: var(--white);
}

.page-title p {
  max-width: 720px;
  margin: 10px 0 0;
  color: #e7dcf4;
}

.publication-list {
  display: grid;
  gap: 16px;
}

.news-card {
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(45, 22, 79, 0.05);
}

.news-card span {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--purple-100);
  color: var(--purple-800);
  font-size: 13px;
  font-weight: 700;
}

.news-card h3 {
  font-size: 18px;
}

.news-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.full-news-card {
  min-height: 0;
}

.home-news-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.news-image {
  display: block;
  width: 100%;
  height: 168px;
  object-fit: contain;
  background: var(--purple-050);
}

.news-content {
  flex: 1;
  padding: 22px;
  display: flex;
  flex-direction: column;
}

.news-content h3 {
  text-align: center;
}

.news-content p {
  font-size: 14px;
  text-align: center;
  margin: 0 0 22px;
}

.news-content .news-meta {
  margin-top: -10px;
  font-size: 13px;
  color: var(--muted);
}

.home-news-card .news-content > p {
  text-align: left;
  text-align-last: auto;
}

.card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: center;
  text-align: center;
  margin-top: auto;
  font-size: 14px;
}

.academic-feature {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(0, 1.9fr);
  gap: 28px;
  align-items: center;
  padding: 26px;
  overflow: hidden;
}

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

.academic-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: contain;
  background: transparent;
  border-radius: 6px;
  cursor: zoom-in;
}

.academic-copy {
  min-width: 0;
  padding: 0;
  margin: 0;
}

.academic-copy h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.academic-copy p {
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

.academic-copy h3 {
  margin-top: 26px;
}

.academic-copy .talk-speaker {
  color: var(--purple-700);
  font-size: 14px;
  margin-bottom: 12px;
}

.academic-copy .card-links {
  margin-top: 24px;
}

.pi-member-card {
  align-items: start;
}

.pi-bio {
  margin-top: 0;
  line-height: 1.9;
}

.section-intro {
  max-width: 780px;
  color: var(--muted);
  margin: -6px 0 26px;
}

.vr-recruitment {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}

.vr-study-intro {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(0, 2fr);
  gap: 28px;
  padding: 28px;
  align-items: center;
  background: var(--white);
}

.vr-study-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
}

.vr-study-summary {
  min-width: 0;
  padding: 0;
  font-size: 15px;
  line-height: 1.5;
}

.vr-study-summary h3 {
  margin-bottom: 6px;
}

.study-location {
  margin-top: 10px;
}

.study-location h4 {
  margin: 0 0 4px;
  color: var(--purple-900);
  font-size: 16px;
}

.study-location p {
  margin: 3px 0;
  color: var(--muted);
}

.study-compensation {
  color: var(--purple-700);
  font-weight: 700;
}

.study-contact {
  overflow-wrap: anywhere;
}

.vr-study-summary > p {
  margin: 6px 0;
}

.study-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  font-weight: 700;
  color: var(--purple-800);
}

.study-facts p {
  margin: 6px 0;
}

.compensation-note {
  color: var(--muted);
  font-size: 13px;
}

.vr-study-summary .button {
  margin-top: 8px;
}

.vr-study-body {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 36px;
  padding: 32px;
}

.study-steps {
  padding-left: 26px;
  margin-bottom: 0;
}

.study-steps li {
  padding-left: 8px;
  margin: 20px 0;
}

.study-steps li::marker {
  color: var(--purple-700);
  font-weight: 700;
}

.study-steps h4 {
  margin: 0 0 8px;
  color: var(--purple-800);
}

.study-steps p, .study-requirements p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

.study-requirements {
  border-left: 1px solid var(--line);
  padding-left: 28px;
}

.study-requirements .list {
  font-size: 15px;
  margin-bottom: 26px;
}

.study-requirements p + p {
  margin-top: 12px;
}

.study-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.study-card-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.study-number {
  font-size: 32px;
  line-height: 1;
  color: var(--purple-600);
}

.study-card-heading .opportunity-label {
  margin: 0;
}

.study-card p {
  margin: 0;
  color: var(--muted);
}

.study-details {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 10px 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  margin: 22px 0;
  font-size: 14px;
}

.study-details dt {
  font-weight: 700;
}

.study-details dd {
  margin: 0;
  color: var(--muted);
}

.study-card .button {
  align-self: flex-start;
  margin-top: auto;
}

.recruitment-contact {
  margin: 24px 0 0;
  overflow-wrap: anywhere;
}

.lab-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--purple-050);
}

.lab-environment-image {
  display: block;
  width: 100%;
  height: 340px;
  object-fit: contain;
  background: var(--purple-100);
  cursor: zoom-in;
}

.lab-card-copy {
  padding: 24px;
}

.lab-card-copy p {
  margin: 0;
  color: var(--muted);
}

a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--purple-600);
  outline-offset: 4px;
}

.publication {
  background: var(--white);
  border-left: 4px solid var(--purple-600);
  border-radius: 8px;
  padding: 18px 20px;
  box-shadow: 0 1px 8px rgba(45, 22, 79, 0.05);
}

.publication p {
  margin: 0;
}

.publication .paper-link {
  display: inline-block;
  margin-top: 8px;
  font-weight: 700;
}

.member-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  align-items: center;
}

.member-card + .member-card {
  margin-top: 18px;
}

.pi-member-card img {
  object-position: center top;
}

.member-name {
  margin-bottom: 10px;
}

.name-cn {
  display: inline-block;
  margin-left: 8px;
  color: var(--muted);
  font-size: 0.72em;
  font-weight: 600;
}

.zh-name-block {
  display: none;
}

.lang-zh .en-name-block {
  display: none;
}

.lang-zh .zh-name-block {
  display: inline;
}

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

.pi-profile-grid h4 {
  margin: 0 0 8px;
  color: var(--purple-900);
  font-size: 16px;
}

.compact-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.55;
}

.compact-list li {
  margin: 7px 0;
}

.member-card img {
  width: 150px;
  height: 190px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.note {
  color: var(--muted);
  background: var(--purple-100);
  border-radius: 8px;
  padding: 14px 16px;
}

.lab-life {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.opportunity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.opportunity-card {
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--purple-600);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(45, 22, 79, 0.06);
}

.opportunity-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--purple-100);
  color: var(--purple-800);
  font-size: 13px;
  font-weight: 700;
}

.opportunity-card p {
  margin-bottom: 0;
}

.participant-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--purple-050);
}

.participant-card h3 {
  margin-bottom: 8px;
}

.participant-card p {
  margin: 0;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(15, 12, 22, 0.78);
}

.lightbox-overlay[hidden] {
  display: none;
}

.lightbox-overlay img {
  max-width: min(96vw, 1200px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  background: var(--white);
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 22px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--purple-900);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.member-card img,
.lab-life {
  cursor: zoom-in;
}

.recruitment-grid {
  display: grid;
  gap: 22px;
}

.recruitment-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(45, 22, 79, 0.05);
}

.recruitment-image-slot {
  display: grid;
  place-items: center;
  width: 260px;
  height: 170px;
  border: 1px dashed #cfc3dd;
  border-radius: 8px;
  background: var(--purple-050);
  color: var(--muted);
  font-weight: 700;
}

.recruitment-card h2 {
  margin: 0 0 10px;
}

.recruitment-card p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  background: var(--purple-900);
  color: #eee7f8;
  padding: 28px 24px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

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

.footer-logos img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

@media (min-width: 821px) and (max-width: 1100px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) 144px 210px;
    column-gap: 22px;
  }

  .hero-title {
    width: auto;
    font-size: 28px;
  }
}

@media (max-width: 820px) {
  .header-inner,
  .hero-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-actions {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .portrait-wrap {
    justify-self: start;
  }

  .pi-hero-card {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
  }

  .pi-hero-info {
    text-align: left;
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .hero-inner {
    gap: 22px;
  }

  .hero-inner .portrait-wrap {
    width: 130px;
    flex-shrink: 0;
  }

  .hero-inner .portrait {
    height: 140px;
  }

  .hero-inner,
  .grid.two,
  .grid.three,
  .topic-grid,
  .vr-study-intro,
  .vr-study-body,
  .academic-feature,
  .member-card,
  .pi-profile-grid,
  .opportunity-grid,
  .research-map,
  .research-row,
  .recruitment-card {
    grid-template-columns: 1fr;
  }

  .research-map {
    grid-template-areas:
      "center"
      "one"
      "two"
      "three"
      "four";
  }

  .research-topic-center img {
    height: 260px;
    max-height: 260px;
  }

  .research-row img {
    width: 150px;
  }

  .recruitment-image-slot {
    width: 100%;
  }

  .section-heading-row,
  .participant-card {
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    font-size: 30px;
  }

  .site-header {
    position: static;
  }

  .topic-image {
    width: 160px;
    height: 112px;
  }

  .topic-content h3 {
    min-height: 0;
  }

  .news-image {
    height: auto;
    max-height: 260px;
  }

  .academic-copy, .study-card {
    padding: 24px;
  }

  .academic-feature .academic-copy {
    padding: 0;
  }

  .vr-study-summary, .vr-study-body {
    padding: 24px;
  }

  .vr-study-intro .vr-study-summary {
    padding: 0;
  }

  .vr-study-image {
    max-width: 260px;
  }

  .study-requirements {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 24px 0 0;
  }

  .academic-copy h2 {
    font-size: 23px;
  }

  .lab-environment-image {
    height: auto;
    max-height: 420px;
  }

  .hero-inner.reference-hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .reference-hero .hero-copy h1 {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .reference-hero .hero-copy .lead {
    text-align: left;
  }

  .reference-hero .reference-pi {
    grid-column: 1;
    grid-row: 3;
    padding-top: 0;
  }

  .reference-pi .pi-hero-info {
    flex: none;
  }

  .hero-inner .reference-pi .portrait-wrap {
    width: 132px;
  }

  .hero-inner .reference-pi .portrait {
    height: auto;
  }

  .member-card img {
    width: 140px;
    height: 180px;
  }

  .cover-caption {
    left: 16px;
    right: 16px;
    bottom: 16px;
    font-size: 15px;
  }
}

@media (max-width: 820px) {
  .hero-inner {
    grid-template-columns: 140px minmax(0, 1fr);
  }

  .hero-title {
    grid-column: 1 / -1;
    width: auto;
    font-size: 30px;
  }

  .hero-inner > .lead {
    grid-column: 1 / -1;
    width: auto;
  }

  .hero-inner > .portrait-wrap {
    grid-column: 1;
    grid-row: 3;
    width: 140px;
    min-height: 188px;
  }

  .hero-inner > .pi-hero-info {
    grid-column: 2;
    grid-row: 3;
    gap: 16px;
  }

  .hero-inner > .hero-actions {
    grid-column: 1 / -1;
    grid-row: 4;
  }
}

@media (max-width: 400px) {
  .hero-inner {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 18px;
  }

  .hero-inner > .portrait-wrap {
    min-height: 160px;
  }

  .header-inner, .hero-inner, .section, .page-title-inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  .brand img {
    width: 66px;
    height: 66px;
  }

  .pi-hero-card {
    gap: 16px;
  }

  .hero-inner .portrait-wrap {
    width: 108px;
  }

  .hero-inner .portrait {
    height: 120px;
  }

  .pi-hero-info h2 {
    font-size: 19px;
  }

  .study-details {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .study-details dd + dt {
    margin-top: 8px;
  }
}
