:root {
  --bg: #fbfaf6;
  --bg-soft: #f6f1e8;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: #ffffff;
  --surface-muted: rgba(247, 239, 229, 0.88);
  --surface-pink: rgba(248, 216, 220, 0.78);
  --text: #161616;
  --muted: #595854;
  --line: rgba(22, 22, 22, 0.1);
  --shadow: 0 24px 64px rgba(25, 20, 12, 0.08);
  --shadow-soft: 0 14px 30px rgba(25, 20, 12, 0.08);
  --radius-xl: 38px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-pill: 999px;
  --shell: min(1180px, calc(100vw - 40px));
  --page-accent: #2563eb;
  --page-accent-soft: rgba(37, 99, 235, 0.12);
  --brand-mark-bg: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  --brand-mark-shadow: rgba(37, 99, 235, 0.24);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(248, 216, 220, 0.45), transparent 20%),
    linear-gradient(180deg, #fdfcf9 0%, #fbfaf6 40%, #f8f3eb 100%);
  color: var(--text);
  font-family: "Source Sans 3", sans-serif;
  line-height: 1.6;
}

body[data-page="about"] {
  --page-accent: #2563eb;
  --page-accent-soft: rgba(37, 99, 235, 0.12);
  --brand-mark-bg: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  --brand-mark-shadow: rgba(37, 99, 235, 0.24);
}

body[data-page="fei-wang"] {
  --page-accent: #0f766e;
  --page-accent-soft: rgba(15, 118, 110, 0.12);
  --brand-mark-bg: linear-gradient(135deg, #0f766e 0%, #22c55e 100%);
  --brand-mark-shadow: rgba(15, 118, 110, 0.24);
}

body[data-page="publications"] {
  --page-accent: #7c3aed;
  --page-accent-soft: rgba(124, 58, 237, 0.12);
  --brand-mark-bg: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
  --brand-mark-shadow: rgba(124, 58, 237, 0.24);
}

body[data-page="dataset"] {
  --page-accent: #0891b2;
  --page-accent-soft: rgba(8, 145, 178, 0.12);
  --brand-mark-bg: linear-gradient(135deg, #0891b2 0%, #14b8a6 100%);
  --brand-mark-shadow: rgba(8, 145, 178, 0.24);
}

body[data-page="course"],
body[data-page="vr-2026-projects"] {
  --page-accent: #e11d48;
  --page-accent-soft: rgba(225, 29, 72, 0.12);
  --brand-mark-bg: linear-gradient(135deg, #e11d48 0%, #f97316 100%);
  --brand-mark-shadow: rgba(225, 29, 72, 0.24);
}

body[data-page="awards"] {
  --page-accent: #ca8a04;
  --page-accent-soft: rgba(202, 138, 4, 0.14);
  --brand-mark-bg: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  --brand-mark-shadow: rgba(202, 138, 4, 0.24);
}

body[data-page="team"] {
  --page-accent: #4f46e5;
  --page-accent-soft: rgba(79, 70, 229, 0.12);
  --brand-mark-bg: linear-gradient(135deg, #4f46e5 0%, #0ea5e9 100%);
  --brand-mark-shadow: rgba(79, 70, 229, 0.24);
}

body[data-page="gallery"] {
  --page-accent: #db2777;
  --page-accent-soft: rgba(219, 39, 119, 0.12);
  --brand-mark-bg: linear-gradient(135deg, #db2777 0%, #fb7185 100%);
  --brand-mark-shadow: rgba(219, 39, 119, 0.24);
}

body[data-page="notes"] {
  --page-accent: #4338ca;
  --page-accent-soft: rgba(67, 56, 202, 0.12);
  --brand-mark-bg: linear-gradient(135deg, #4338ca 0%, #14b8a6 100%);
  --brand-mark-shadow: rgba(67, 56, 202, 0.24);
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.page-main {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 16px 0;
  background: rgba(251, 250, 246, 0.76);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(22, 22, 22, 0.04);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}

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

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(145deg, #161616, #343434);
  color: #fff;
  font-family: "Exo", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand-copy strong {
  font-family: "Exo", sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link {
  position: relative;
  color: #2f2f2d;
  font-size: 0.98rem;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-link:hover,
.nav-link:focus-visible {
  font-weight: 700;
}

.nav-link.is-active {
  color: #161616;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero-section {
  padding: 54px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.8fr);
  gap: 34px;
  align-items: stretch;
}

.eyebrow {
  margin: 0 0 12px;
  color: #7b665f;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  font-family: "Exo", sans-serif;
  font-size: clamp(3rem, 10vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.hero-description {
  max-width: 720px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 1.16rem;
}

.hero-description p {
  margin: 0;
}

.hero-description p + p {
  margin-top: 12px;
}

.recruitment-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 20px 22px;
  border-radius: 20px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.16), rgba(255, 255, 255, 0.98)),
    #ffffff;
  box-shadow: 0 18px 40px rgba(15, 118, 110, 0.12);
}

.recruitment-banner__copy {
  min-width: 0;
}

.recruitment-banner__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 118, 110, 0.16);
  color: #0f5f58;
  font-family: "Exo", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.recruitment-banner__text {
  margin: 10px 0 0;
  color: #103b37;
  font-size: 1.16rem;
  font-weight: 700;
  line-height: 1.42;
}

.recruitment-banner__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: #0f766e;
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(15, 118, 110, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.recruitment-banner__link:hover,
.recruitment-banner__link:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(15, 118, 110, 0.24);
  background: #0b655e;
}

.admissions-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
  padding: 18px;
  border: 2px solid #171717;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(22, 22, 22, 0.12);
  color: #171717;
}

.admissions-callout strong {
  display: block;
  margin-bottom: 4px;
  color: #171717;
  font-family: "Exo", sans-serif;
  font-size: 1rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.admissions-copy p + p {
  margin-top: 6px;
}

.admissions-callout p {
  margin: 0;
  color: #2f2f2d;
  font-size: 1.02rem;
  line-height: 1.42;
}

.admissions-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  flex: 0 0 auto;
  gap: 2px;
  min-width: 158px;
  min-height: 60px;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  background: var(--brand-mark-bg);
  color: #ffffff;
  position: relative;
  font-weight: 800;
  box-shadow: 0 16px 34px var(--brand-mark-shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.admissions-link::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 5px;
  pointer-events: none;
}

.admissions-link-label {
  font-size: 1rem;
  line-height: 1.1;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.admissions-link-hint {
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  opacity: 0.9;
}

.admissions-link:hover,
.admissions-link:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 20px 38px var(--brand-mark-shadow);
}

.button-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: #171717;
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
}

.hero-panel,
.panel {
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid rgba(22, 22, 22, 0.08);
  box-shadow: var(--shadow-soft);
}

.hero-panel {
  padding: 26px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.78), transparent 32%),
    linear-gradient(160deg, rgba(248, 216, 220, 0.74), rgba(255, 255, 255, 0.78));
}

.hero-panel-plain {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.aside-card,
.profile-card {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(22, 22, 22, 0.06);
}

.aside-card h3,
.profile-card h3 {
  margin: 0;
  font-family: "Exo", sans-serif;
  font-size: 2rem;
  line-height: 1.02;
}

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

.chip-row,
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip-row {
  margin-top: 18px;
}

.chip-row span,
.chip-link,
.date-pill,
.filter-chip,
.meta-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(22, 22, 22, 0.08);
  color: #2d2d2b;
}

.chip-link {
  font-weight: 700;
}

.section {
  padding: 42px 0;
}

.section-muted {
  background:
    radial-gradient(circle at 10% 20%, rgba(248, 216, 220, 0.28), transparent 16%),
    radial-gradient(circle at 86% 18%, rgba(247, 239, 229, 0.92), transparent 18%),
    linear-gradient(180deg, rgba(249, 244, 235, 0.78), rgba(247, 242, 233, 0.88));
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin: 0;
  font-family: "Exo", sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 0.98;
}

.heading-orbit {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border-radius: 999px;
  border: 1px solid rgba(22, 22, 22, 0.1);
  background:
    radial-gradient(circle at 32% 32%, rgba(248, 216, 220, 0.85), rgba(255, 255, 255, 0.45));
  box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.4);
}

.inline-link {
  color: #353533;
  font-weight: 700;
}

.inline-link:hover,
.inline-link:focus-visible {
  text-decoration: underline;
}

.stack-panel {
  padding: 26px 28px;
}

.stack-panel p {
  margin: 0;
  color: #2d2d2c;
  font-size: 1.08rem;
}

.stack-panel p + p {
  margin-top: 14px;
}

.performance-summary {
  margin-bottom: 18px;
}

.performance-grid {
  margin-bottom: 18px;
}

.performance-card {
  border-color: rgba(216, 27, 96, 0.14);
}

.performance-note {
  background: rgba(255, 240, 245, 0.72);
}

.metric-grid,
.card-grid,
.news-grid,
  .publication-grid,
  .timeline-grid {
  display: grid;
  gap: 18px;
}

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

.metric-card,
.info-card,
.news-card,
.publication-card,
.course-card,
.award-card,
.timeline-card,
.detail-panel {
  padding: 22px;
}

.metric-card strong,
.info-card h3,
.news-card h3,
.publication-card h3,
.course-card h3,
.award-card h3,
.timeline-card h3,
.snapshot-copy h3,
.member-copy h3 {
  margin: 0;
  font-family: "Exo", sans-serif;
  font-size: 1.32rem;
  line-height: 1.06;
}

.metric-card p,
.info-card p,
.news-card p,
.publication-card p,
.course-card p,
.award-card p,
.timeline-card p,
.snapshot-copy p,
.member-copy p {
  margin: 12px 0 0;
  color: var(--muted);
}

.info-list {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.info-list li + li {
  margin-top: 8px;
}

.info-list li::marker {
  color: #a65f56;
}

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

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

.marquee {
  position: relative;
  overflow: hidden;
  padding: 10px 0;
}

.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 1;
  pointer-events: none;
}

.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}

.marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg), transparent);
}

.marquee-track {
  display: flex;
  gap: 12px;
  min-width: max-content;
  animation: marquee-scroll 42s linear infinite;
}

.marquee-item {
  box-shadow: var(--shadow-soft);
}

.sponsor-logo-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 194px;
  height: 84px;
  padding: 16px 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(22, 22, 22, 0.08);
}

.sponsor-logo-card img {
  display: block;
  width: 154px;
  height: 52px;
  object-fit: contain;
}

.sponsor-wordmark {
  display: grid;
  place-items: center;
  width: 154px;
  height: 52px;
  color: var(--sponsor-color, #171717);
  font-family: "Exo", sans-serif;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-align: center;
}

.toolbar {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}

.search-field {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
}

.search-field input {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
}

.toolbar-note {
  margin: 0 0 16px;
  color: var(--muted);
}

.filter-chip {
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.filter-chip:hover,
.filter-chip:focus-visible,
.filter-chip.is-active {
  transform: translateY(-1px);
  background: rgba(248, 216, 220, 0.6);
}

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

.publication-card h3 {
  font-size: 1.18rem;
}

.publication-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
}

.publication-card-link .inline-link {
  margin-top: 16px;
}

.publication-card-link:hover .inline-link,
.publication-card-link:focus-visible .inline-link {
  text-decoration: underline;
}

.publication-card[hidden] {
  display: none;
}

.muted {
  color: var(--muted);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.8fr);
  gap: 18px;
}

.clean-list {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.clean-list li + li {
  margin-top: 10px;
}

.profile-card {
  display: grid;
  gap: 16px;
}

.profile-card-compact {
  padding: 18px;
  gap: 12px;
}

.profile-card-compact .clean-list {
  margin-top: 8px;
}

.profile-card-compact .chip-row {
  margin-top: 12px;
}

.avatar-large {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  justify-self: center;
}

.profile-card-compact .avatar-large {
  max-width: 252px;
}

.course-pair-list,
.course-pair {
  display: grid;
  gap: 18px;
}

.course-pair-list {
  grid-template-columns: 1fr;
}

.course-pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.course-language-card {
  display: flex;
  flex-direction: column;
}

.course-school {
  margin-top: 8px;
  color: #2f2f2d;
  font-weight: 700;
}

.course-offering-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.course-offering-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(22, 22, 22, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: #2d2d2b;
  font-weight: 700;
}

.course-offering-chip strong {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 8px;
  background: #171717;
  color: #ffffff;
  font-size: 0.82rem;
}

.course-offering-link {
  border-color: rgba(216, 27, 96, 0.38);
  background: #fff0f5;
  color: #8a1738;
  box-shadow: 0 16px 32px rgba(216, 27, 96, 0.16);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.course-offering-link strong {
  background: #d81b60;
  color: #ffffff;
}

.course-offering-link:hover,
.course-offering-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(216, 27, 96, 0.68);
  background: #ffe3ee;
  box-shadow: 0 20px 36px rgba(216, 27, 96, 0.24);
}

.course-card .chip-row {
  margin-top: 14px;
}

.vr-staff-grid,
.vr-project-grid,
.vr-author-grid {
  display: grid;
  gap: 18px;
}

.vr-staff-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.vr-staff-link {
  display: block;
}

.vr-staff-card {
  height: 100%;
  overflow: hidden;
  padding: 16px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.vr-staff-link:hover .vr-staff-card,
.vr-staff-link:focus-visible .vr-staff-card {
  transform: translateY(-2px);
}

.vr-staff-card img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.vr-staff-card span {
  display: inline-flex;
  margin-top: 14px;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 8px;
  background: rgba(248, 216, 220, 0.58);
  color: #2d2d2b;
  font-size: 0.84rem;
  font-weight: 800;
}

.vr-staff-card h3 {
  margin: 12px 0 0;
  font-family: "Exo", sans-serif;
  font-size: 1.28rem;
  line-height: 1.1;
}

.vr-staff-card p {
  margin: 4px 0 0;
  color: var(--muted);
}

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

.vr-project-card {
  overflow: hidden;
}

.vr-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #111111;
}

.vr-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.vr-project-copy {
  padding: 20px;
}

.vr-project-copy h3 {
  margin: 0;
  font-family: "Exo", sans-serif;
  font-size: 1.32rem;
  line-height: 1.1;
}

.vr-author-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0;
}

.vr-author-grid span {
  min-height: 32px;
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(22, 22, 22, 0.08);
  color: #42413e;
  text-align: center;
  font-size: 0.92rem;
}

.vr-project-copy > p:not(.eyebrow) {
  color: var(--muted);
}

.vr-project-copy .inline-link {
  display: inline-flex;
  margin-top: 12px;
}

.dataset-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.dataset-card:hover,
.dataset-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(8, 145, 178, 0.24);
  box-shadow: 0 18px 42px rgba(8, 145, 178, 0.12);
  outline: none;
}

.dataset-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 18px;
}

.dataset-card .chip-row {
  margin-top: 14px;
}

.dataset-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.member-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.member-card:hover,
.member-card:focus-visible {
  transform: translateY(-2px);
}

.member-avatar {
  aspect-ratio: 5 / 6;
  object-fit: cover;
  width: 100%;
}

.member-copy {
  padding: 16px;
}

.member-copy h3 {
  font-size: 1.12rem;
}

.member-role {
  margin-top: 8px;
  font-size: 0.94rem;
}

.member-bio {
  margin-top: 10px;
  font-size: 0.95rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

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

.snapshot-card {
  overflow: hidden;
}

.snapshot-image {
  aspect-ratio: 16 / 10;
  width: 100%;
  object-fit: cover;
}

.snapshot-copy {
  padding: 20px;
}

.note-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
}

.note-card:hover,
.note-card:focus-visible {
  transform: translateY(-2px);
}

.note-card-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.note-card .date-pill,
.note-card h3,
.note-card p,
.note-card .inline-link {
  margin-left: 20px;
  margin-right: 20px;
}

.note-card .date-pill {
  margin-top: 20px;
}

.note-card p {
  margin-bottom: 14px;
}

.note-card .inline-link {
  margin-bottom: 20px;
}

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

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

.site-footer {
  padding: 34px 0 28px;
  margin-top: 24px;
  background: #111111;
  color: rgba(255, 255, 255, 0.88);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
  gap: 26px;
  align-items: start;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-brand p {
  margin: 0;
}

.footer-badge {
  display: inline-grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: var(--brand-mark-bg);
  font-family: "Exo", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  box-shadow: 0 14px 32px var(--brand-mark-shadow);
}

.footer-title {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px 18px;
}

.footer-links a,
.footer-links span {
  display: block;
  color: rgba(255, 255, 255, 0.86);
}

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-meta p,
.footer-counter {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-counter {
  white-space: nowrap;
}

.footer-counter strong {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1120px) {
  .hero-grid,
  .detail-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .metric-grid,
  .card-grid-3,
  .news-grid,
  .publication-grid,
  .member-grid,
  .timeline-grid,
  .vr-staff-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
  }

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

  .nav-link {
    padding: 12px 14px;
    border-radius: 16px;
  }

  .nav-link.is-active {
    background: rgba(22, 22, 22, 0.06);
  }

  .nav-link::after {
    display: none;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .section-heading {
    flex-direction: column;
    align-items: start;
  }

  .recruitment-banner,
  .admissions-callout {
    align-items: stretch;
    flex-direction: column;
  }

  .recruitment-banner__link,
  .admissions-link {
    width: 100%;
  }

  .metric-grid,
  .card-grid-2,
  .card-grid-3,
  .news-grid,
  .course-pair,
  .publication-grid,
  .member-grid,
  .gallery-grid,
  .timeline-grid,
  .vr-staff-grid,
  .vr-project-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --shell: min(1180px, calc(100vw - 24px));
  }

  .hero-section {
    padding-top: 36px;
  }

  .hero-copy h1 {
    font-size: clamp(2.7rem, 14vw, 4rem);
    letter-spacing: -0.05em;
  }

  .stack-panel,
  .metric-card,
  .info-card,
  .news-card,
  .publication-card,
  .course-card,
  .award-card,
  .timeline-card,
  .detail-panel,
  .snapshot-copy,
  .member-copy,
  .hero-panel,
  .aside-card,
  .profile-card {
    padding-left: 18px;
    padding-right: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
