:root {
  --primary: #0b61a8;
  --primary-deep: #0a4577;
  --accent: #7f2fa0;
  --line: #d8e3ee;
  --line-strong: #c6d6e5;
  --bg: #f4f7fa;
  --text: #26384a;
  --muted: #6f7f90;
  --white: #ffffff;
  --shell-width: 1320px;
  --shell-gap: 12px;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-y: scroll;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  overflow-y: scroll;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

.container {
  width: min(var(--shell-width), calc(100% - (var(--shell-gap) * 2)));
  margin: 0 auto;
}

.site-top {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.site-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 14px 0 12px;
}

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

.brand-mark {
  width: 92px;
  height: 72px;
  background: url("assets/lab-logo.jpeg") center / contain no-repeat;
  overflow: hidden;
  flex: 0 0 auto;
}

.brand-mark::before {
  content: none;
}

.brand-text h1 {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 700;
  color: #1b3148;
  font-family: "Noto Serif SC", "Songti SC", serif;
}

.brand-text p {
  margin: 4px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.top-links {
  text-align: right;
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--muted);
}

.top-links a,
.top-links button {
  color: var(--primary);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-size: inherit;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lang-btn.is-active {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.nav-wrap .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--primary);
  cursor: pointer;
  writing-mode: horizontal-tb;
  white-space: nowrap;
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  justify-content: flex-start;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav a {
  flex: 0 0 auto;
  width: 104px;
  min-width: 104px;
  padding: 10px 14px 9px;
  border: 1px solid var(--line);
  border-bottom: 0;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
  color: #314d68;
  font-size: 0.92rem;
  text-align: center;
  white-space: nowrap;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  transition: background 0.2s ease, color 0.2s ease;
}

.nav a.active,
.nav a:hover {
  background: linear-gradient(180deg, #8a2ea4 0%, #70258b 100%);
  color: #fff;
  border-color: #7b2f98;
}

.page {
  padding: 14px 0 28px;
}

.banner {
  height: 470px;
  border: 1px solid var(--line);
  background: #dce7f4;
  position: relative;
  overflow: hidden;
}

.banner-slides {
  position: absolute;
  inset: 0;
}

.banner-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transition: opacity 0.55s ease;
}

.banner-slide.is-active {
  opacity: 1;
}

.banner-slide:first-child {
  object-position: center 42%;
}

.banner-slide:nth-child(2) {
  object-position: center 44%;
}

.banner-slide:nth-child(3) {
  object-position: center 45%;
}

.banner-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 24px 28px;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(180deg, rgba(8, 31, 54, 0.04), rgba(8, 31, 54, 0.14) 72%, rgba(8, 31, 54, 0.28));
}

.banner-control {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 34px;
  height: 46px;
  border: 0;
  border-radius: 2px;
  background: rgba(14, 31, 49, 0.34);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.18s ease, opacity 0.18s ease;
}

.banner-control:hover {
  background: rgba(14, 31, 49, 0.56);
}

.banner-control-prev {
  left: 16px;
}

.banner-control-next {
  right: 16px;
}

.banner-dots {
  position: absolute;
  right: 24px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  gap: 8px;
}

.banner-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.36);
  cursor: pointer;
}

.banner-dot.is-active {
  width: 24px;
  border-radius: 999px;
  background: #fff;
}

.banner-copy {
  max-width: 430px;
  color: #eef6ff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.24);
}

.banner-copy h2 {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.18;
}

.banner-copy p {
  margin: 10px 0 0;
  line-height: 1.8;
  font-size: 0.95rem;
  color: rgba(240, 247, 255, 0.9);
}

.home-section,
.page-section {
  margin-top: 18px;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.professor {
  padding: 20px 18px 18px;
}

.professor-grid {
  display: grid;
  grid-template-columns: 148px minmax(220px, 250px) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.professor-photo {
  width: 132px;
  height: 160px;
  border-radius: 14px;
  border: 2px solid #efb04a;
  object-fit: cover;
  object-position: center 12%;
  display: block;
  background: #fff;
  box-shadow: 0 10px 24px rgba(22, 49, 72, 0.12);
}

.professor-name {
  display: grid;
  gap: 10px;
  align-content: start;
}

.professor-name h3 {
  margin: 0;
  color: #172b40;
  font-size: 1.95rem;
  font-family: "Noto Serif SC", "Songti SC", serif;
}

.professor-meta {
  display: grid;
  gap: 5px;
}

.professor-name p {
  margin: 0;
  color: #6f8193;
  line-height: 1.45;
  font-size: 0.88rem;
}

.professor-bio {
  color: #596d83;
  line-height: 1.84;
  font-size: 0.94rem;
}

.profile-text-link,
.mentor-detail-link {
  display: block;
  color: #596d83;
  text-decoration: none;
  transition: color 0.2s ease;
}

.profile-text-link:hover,
.mentor-detail-link:hover {
  color: var(--primary-deep);
}

.person-title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.person-title-link:hover {
  color: var(--primary-deep);
}

.inline-name-link {
  color: var(--accent) !important;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 10px;
  border-bottom: 1px solid #e7edf3;
}

.section-head h2 {
  margin: 0;
  font-size: 1.28rem;
  color: var(--accent);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-weight: 700;
}

.section-head a,
.section-head .crumb {
  color: #7a7a7a;
  font-size: 0.9rem;
}

.section-body {
  padding: 14px 16px 12px;
  font-size: 0.95rem;
}

.breadcrumb {
  margin-top: 8px;
  color: #8a97a3;
  font-size: 0.95rem;
}

.research-list {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #5d7084;
  line-height: 1.95;
  font-size: 0.95rem;
}

.research-list li {
  margin-bottom: 3px;
}

.research-article {
  display: grid;
  gap: 18px;
}

.research-block + .research-block {
  border-top: 1px solid rgba(218, 227, 236, 0.9);
  padding-top: 16px;
}

.research-block h3 {
  margin: 0 0 8px;
  color: var(--primary-deep);
  font-size: 1.03rem;
}

.research-block p {
  margin: 0;
  color: #51667a;
  line-height: 1.92;
  font-size: 0.95rem;
}

.research-figure-inline {
  margin-top: 96px;
  padding-top: 14px;
}

.research-visuals {
  margin-top: 8px;
  display: grid;
  gap: 18px;
}

.research-figure {
  margin: 0;
  background: transparent;
  display: flex;
  justify-content: center;
}

.research-figure-image {
  display: block;
  width: auto;
  max-width: min(100%, 860px);
  height: auto;
  max-height: 400px;
  object-fit: contain;
  background: transparent;
}

.research-figure-image.is-diagram {
  max-width: min(100%, 760px);
  max-height: 350px;
}

.research-figure-image.is-strip {
  max-width: min(100%, 820px);
  max-height: 240px;
}

.research-figure-image.is-cover {
  max-width: min(100%, 780px);
  max-height: 360px;
}

.research-figure-image-inline.is-driving-inline {
  max-width: min(100%, 760px);
  max-height: 360px;
}

.research-figure-image-inline.is-uav-inline {
  max-width: min(100%, 760px);
  max-height: 360px;
}

.research-figure-image-inline.is-robot-inline {
  max-width: min(100%, 760px);
  max-height: 360px;
}

.research-figure-image-inline.is-quadruped-inline {
  max-width: min(100%, 760px);
  max-height: 360px;
}

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

.activity-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 420px));
  gap: 18px;
  align-items: start;
  justify-content: start;
}

.activity-card-real {
  background: #fff;
  width: 100%;
}

.activity-image-real {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.activity-caption-real {
  margin-top: 8px;
  color: #24374b;
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: center;
}

.thumb-card,
.feature-card,
.member-card,
.achievement-card {
  background: #fff;
}

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

.feature-card {
  border: 1px solid var(--line);
  padding: 16px;
}

.feature-card h3 {
  margin: 0 0 10px;
  color: var(--primary-deep);
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.82;
  font-size: 0.94rem;
}

.equipment-groups {
  display: grid;
  gap: 22px;
}

.equipment-group {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(245, 249, 253, 0.9), rgba(255, 255, 255, 1) 120px);
  padding: 18px;
}

.equipment-group-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 18px;
  align-items: end;
  margin-bottom: 16px;
}

.equipment-group h3 {
  margin: 0;
  color: var(--primary-deep);
  font-size: 1.15rem;
}

.equipment-meta {
  margin: 0;
  min-width: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}

.equipment-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.equipment-photo-grid-left {
  grid-template-columns: repeat(auto-fit, 220px);
  justify-content: start;
}

.equipment-photo-grid-ai {
  grid-template-columns: minmax(420px, 720px);
  justify-content: start;
}

.equipment-photo-grid-robots {
  grid-template-columns: repeat(3, 220px);
  justify-content: start;
}

.equipment-photo-grid-right {
  grid-template-columns: repeat(2, 220px);
  justify-content: end;
}

.equipment-photo-grid-hil {
  grid-template-columns: repeat(3, 220px);
  justify-content: start;
}

.equipment-photo-grid-hil > :nth-child(3) {
  grid-column: 1;
}

.equipment-photo-card {
  margin: 0;
  padding: 10px;
  background: #fff;
}

.equipment-photo-card-vehicle-size {
  width: 220px;
  overflow: hidden;
}

.equipment-photo-card-ai {
  width: min(100%, 720px);
}

.equipment-photo-grid-hil .equipment-photo-card,
.equipment-photo-grid-robots .equipment-photo-card {
  width: 220px;
}

.equipment-photo-real {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: #fff;
}

.equipment-photo-real-vehicle-size {
  width: 220px;
  height: 220px;
  object-fit: contain;
}

.equipment-photo-real-ai {
  width: 100%;
  height: auto;
  max-width: 720px;
  max-height: none;
  object-fit: contain;
}

.equipment-photo-real-tight {
  width: auto;
  max-width: 220px;
  height: auto;
  max-height: 220px;
  margin: 0 auto;
}

.equipment-caption {
  margin-top: 4px;
  color: #677a8d;
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: center;
}

.equipment-meta-nowrap {
  white-space: normal;
}

body[data-lang="zh"] .equipment-meta-nowrap {
  white-space: nowrap;
}

.thumb-media,
.media-box {
  height: 150px;
  border: 1px solid var(--line);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  position: relative;
}

.media-box.large {
  height: 190px;
}

.equipment-1 {
  background:
    linear-gradient(135deg, rgba(10, 62, 103, 0.18), rgba(10, 62, 103, 0)),
    linear-gradient(0deg, #dbe8f2, #f8fbfe);
}

.equipment-1::before,
.equipment-1::after {
  content: "";
  position: absolute;
  background: #51687d;
}

.equipment-1::before {
  width: 86px;
  height: 36px;
  left: 24px;
  top: 46px;
  border-radius: 6px;
  box-shadow: 108px 0 0 #7a8ea2;
}

.equipment-1::after {
  width: 160px;
  height: 8px;
  left: 18px;
  top: 96px;
  border-radius: 999px;
}

.equipment-2 {
  background:
    radial-gradient(circle at 50% 50%, #3f5f7f 0 18%, #dbe8f3 19% 34%, transparent 35%),
    linear-gradient(180deg, #edf4fa, #d7e3ee);
}

.equipment-3 {
  background:
    linear-gradient(90deg, #25384d 0 14%, transparent 14% 18%, #25384d 18% 32%, transparent 32% 36%, #25384d 36% 50%, transparent 50% 54%, #25384d 54% 68%, transparent 68% 72%, #25384d 72% 86%, transparent 86%),
    linear-gradient(180deg, #d8e3ec, #f3f8fb);
  background-size: 100% 72px, 100% 100%;
  background-repeat: no-repeat;
  background-position: center 46px, center;
}

.activity-1 {
  background:
    linear-gradient(135deg, rgba(255, 177, 91, 0.18), rgba(255, 177, 91, 0)),
    linear-gradient(180deg, #ede6dc, #faf8f4);
}

.activity-1::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  height: 62px;
  background:
    radial-gradient(circle at 8% 50%, #5a6f84 0 10px, transparent 11px),
    radial-gradient(circle at 20% 42%, #798ca0 0 10px, transparent 11px),
    radial-gradient(circle at 34% 56%, #65788d 0 10px, transparent 11px),
    radial-gradient(circle at 47% 44%, #8fa0b0 0 10px, transparent 11px),
    radial-gradient(circle at 61% 52%, #6f8398 0 10px, transparent 11px),
    radial-gradient(circle at 75% 46%, #94a5b4 0 10px, transparent 11px);
}

.activity-2 {
  background:
    linear-gradient(135deg, rgba(145, 116, 48, 0.16), rgba(145, 116, 48, 0)),
    linear-gradient(180deg, #d8c8a7, #f4efe4);
}

.activity-2::before,
.activity-2::after {
  content: "";
  position: absolute;
  background: #5f7390;
}

.activity-2::before {
  width: 96px;
  height: 56px;
  left: 50%;
  top: 26px;
  transform: translateX(-50%);
}

.activity-2::after {
  width: 110px;
  height: 30px;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  border-radius: 999px;
  box-shadow: -46px -6px 0 -10px #8ba0b4, 46px -6px 0 -10px #8ba0b4;
}

.activity-3 {
  background:
    linear-gradient(135deg, rgba(115, 118, 126, 0.16), rgba(115, 118, 126, 0)),
    linear-gradient(180deg, #eceef1, #fafbfd);
}

.activity-3::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 52px;
  background:
    linear-gradient(90deg, #515a66 0 8%, transparent 8% 11%, #515a66 11% 19%, transparent 19% 22%, #515a66 22% 30%, transparent 30% 33%, #515a66 33% 41%, transparent 41% 44%, #515a66 44% 52%, transparent 52% 55%, #515a66 55% 63%, transparent 63% 66%, #515a66 66% 74%, transparent 74% 77%, #515a66 77% 85%, transparent 85%);
}

.activity-3::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 12px;
  height: 44px;
  background:
    radial-gradient(circle at 6% 50%, #7a8794 0 8px, transparent 9px),
    radial-gradient(circle at 18% 50%, #6a7a88 0 8px, transparent 9px),
    radial-gradient(circle at 30% 50%, #8593a1 0 8px, transparent 9px),
    radial-gradient(circle at 42% 50%, #6d7987 0 8px, transparent 9px),
    radial-gradient(circle at 54% 50%, #8a97a3 0 8px, transparent 9px),
    radial-gradient(circle at 66% 50%, #73818f 0 8px, transparent 9px),
    radial-gradient(circle at 78% 50%, #87939f 0 8px, transparent 9px);
}

.cover-1 {
  background:
    linear-gradient(135deg, rgba(58, 158, 255, 0.18), rgba(58, 158, 255, 0)),
    linear-gradient(180deg, #f2f7fd, #e2edf7);
}

.cover-1::before,
.cover-2::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid #c8d7e4;
  background: #fff;
}

.cover-1::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 46%;
  width: 120px;
  height: 74px;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at 28% 46%, #8ab0d2 0 6px, transparent 7px),
    radial-gradient(circle at 72% 46%, #8ab0d2 0 6px, transparent 7px),
    linear-gradient(180deg, #f4d8b4 0 38%, #4f6d8e 38% 100%);
  border-radius: 10px;
}

.cover-2 {
  background:
    linear-gradient(135deg, rgba(178, 216, 255, 0.2), rgba(178, 216, 255, 0)),
    linear-gradient(180deg, #f3f8fd, #e7eff7);
}

.cover-2::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 48%;
  width: 126px;
  height: 82px;
  transform: translate(-50%, -50%);
  background:
    linear-gradient(180deg, #dce7f0 0 16%, #ffffff 16% 100%);
  box-shadow: 0 0 0 1px #d3deea;
}

.cover-3 {
  background: linear-gradient(180deg, #22466a, #5ea0d8);
}

.cover-3::before {
  content: "ADVANCED";
  position: absolute;
  left: 18px;
  top: 18px;
  color: #dce866;
  font-size: 1.7rem;
  font-weight: 700;
}

.cover-4 {
  background: linear-gradient(180deg, #b12b40, #ee7d92);
}

.cover-4::before {
  content: "Medicine";
  position: absolute;
  left: 18px;
  bottom: 18px;
  color: #fff;
  font-size: 1.55rem;
  font-style: italic;
}

.cover-5 {
  background: linear-gradient(180deg, #f1f3f5, #d4dbe1);
}

.cover-5::before {
  content: "small";
  position: absolute;
  left: 18px;
  top: 18px;
  color: #db342b;
  font-size: 2rem;
  font-weight: 700;
}

.thumb-copy,
.media-note {
  padding: 8px 2px 0;
  color: #495f76;
  font-size: 0.92rem;
  line-height: 1.7;
  text-align: center;
}

.thumb-copy strong {
  display: block;
  font-weight: 400;
  color: #364e68;
}

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

.member-card {
  text-align: center;
  padding: 10px 6px;
}

.member-avatar {
  width: 104px;
  height: 104px;
  margin: 0 auto 10px;
  border-radius: 50%;
  border: 2px solid #ec9e53;
  object-fit: cover;
  object-position: center 14%;
  display: block;
  background: #fff;
  box-shadow: 0 8px 20px rgba(22, 49, 72, 0.1);
}

.member-name {
  margin: 0 0 4px;
  font-size: 1rem;
  color: var(--accent);
  font-weight: 700;
}

.member-role,
.team-summary {
  margin: 0;
  color: #718396;
  line-height: 1.7;
  font-size: 0.95rem;
}

.member-note {
  margin: 1px 0 0;
  color: #718396;
  line-height: 1.35;
  font-size: 0.84rem;
}

.mentor-section {
  padding: 10px 0 4px;
}

.mentor-title {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 1.14rem;
  font-family: "Noto Serif SC", "Songti SC", serif;
}

.mentor-box {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 16px;
  padding: 12px 0 6px;
  border-top: 1px solid #eef3f7;
  align-items: start;
}

.mentor-photo {
  width: 118px;
  height: 146px;
  border-radius: 14px;
  border: 2px solid #efb04a;
  object-fit: cover;
  object-position: center 12%;
  display: block;
  background: #fff;
  box-shadow: 0 10px 24px rgba(22, 49, 72, 0.12);
}

.mentor-info h3 {
  margin: 0 0 6px;
  color: #172b40;
  font-size: 1.6rem;
  font-family: "Noto Serif SC", "Songti SC", serif;
}

.mentor-info p {
  margin: 0;
  color: var(--muted);
  line-height: 1.88;
  font-size: 0.95rem;
}

.mentor-detail-link {
  line-height: 1.88;
  font-size: 0.95rem;
}

.team-summary {
  margin-bottom: 14px;
}

.profile-detail-hero {
  padding: 14px 16px 18px;
}

.profile-detail-grid {
  display: grid;
  grid-template-columns: 160px 240px 1fr;
  gap: 22px;
  align-items: start;
}

.profile-detail-photo {
  width: 150px;
  height: 188px;
  border-radius: 16px;
  border: 2px solid #efb04a;
  object-fit: cover;
  object-position: center 12%;
  display: block;
  background: #fff;
  box-shadow: 0 10px 24px rgba(22, 49, 72, 0.12);
}

.profile-detail-name h3 {
  margin: 0 0 10px;
  color: #172b40;
  font-size: 2.1rem;
  font-family: "Noto Serif SC", "Songti SC", serif;
}

.profile-detail-name p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.84rem;
  white-space: nowrap;
}

.profile-detail-summary {
  color: #5f7387;
  line-height: 1.95;
  font-size: 0.95rem;
}

.profile-detail-section {
  margin-top: 18px;
}

.profile-detail-section h3 {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 1.12rem;
  font-family: "Noto Serif SC", "Songti SC", serif;
}

.profile-detail-subtitle {
  margin: 12px 0 10px;
  color: #17324b;
  font-size: 1rem;
  font-weight: 700;
}

.plain-list {
  margin: 0;
  padding-left: 22px;
  color: #495f76;
  line-height: 1.9;
  font-size: 0.95rem;
}

.plain-list li + li {
  margin-top: 6px;
}

.achievement-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 26px);
  margin-bottom: 28px;
  align-items: start;
}

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

.achievement-video-card {
  background: #fff;
}

.achievement-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #000;
}

.achievement-video-placeholder {
  min-height: 240px;
  display: grid;
  place-items: center;
  border: 2px dashed #c8d8e6;
  background:
    linear-gradient(135deg, rgba(11, 97, 168, 0.08), rgba(127, 47, 160, 0.05)),
    #f8fbfe;
  color: #56708a;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}

.achievement-video-note {
  margin: 10px 0 0;
  color: #5d7084;
  line-height: 1.65;
  font-size: 0.92rem;
}

.equipment-video-grid {
  display: grid;
  grid-template-columns: minmax(0, 560px);
  justify-content: start;
  gap: 18px;
}

.photo-card {
  overflow: hidden;
  background: transparent;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  padding: 0;
}

.achievement-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: transparent;
}

.result-section + .result-section {
  margin-top: 26px;
}

.result-head {
  padding-left: 0;
  padding-right: 0;
}

.result-subsections {
  padding-top: 14px;
}

.result-subsection + .result-subsection {
  margin-top: 22px;
}

.result-title {
  margin: 0 0 12px;
  color: #172b40;
  font-size: 1rem;
  font-weight: 700;
}

.result-list {
  margin: 0;
  padding-left: 24px;
  color: #374c62;
  line-height: 1.95;
  font-size: 0.95rem;
}

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

.paper-meta {
  margin: 0 0 10px;
  color: #172b40;
  font-size: 0.95rem;
  font-weight: 700;
}

.paper-list {
  margin: 0;
  padding-left: 18px;
  color: #495f76;
  line-height: 1.95;
  font-size: 0.95rem;
}

.paper-list li + li {
  margin-top: 12px;
}

.paper-list.refined {
  padding-left: 22px;
}

.refined-list {
  padding-left: 22px;
}

.patent-list {
  font-size: 0.95rem;
}

.paper-link,
.text-link {
  color: #1f5fa8;
}

.result-note,
.result-link-row {
  margin: 18px 0 0;
  color: #445a71;
  line-height: 1.8;
  font-size: 0.95rem;
}

.result-link-row {
  margin-top: 6px;
}

.contact-box {
  color: var(--muted);
  line-height: 1.9;
  font-size: 0.95rem;
}

.contact-box p,
.contact-box a {
  margin: 0;
  color: var(--muted);
}

.contact-box p + p {
  margin-top: 6px;
}

.join-block + .join-block {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #eef3f7;
}

.join-subtitle {
  margin-top: 12px !important;
  color: #17324b !important;
  font-weight: 700;
}

.join-intro {
  margin: 0 0 10px;
}

.join-highlight {
  display: inline-block;
  max-width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(127, 47, 160, 0.08), rgba(11, 97, 168, 0.06));
  color: #5a3b73;
}

.join-highlight a {
  color: var(--accent) !important;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.join-list {
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.75;
}

.join-list li + li {
  margin-top: 4px;
}

.join-contact-list {
  line-height: 1.9;
}

.footer {
  padding: 18px 6px 26px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

@media (max-width: 1024px) {
  .feature-grid,
  .thumb-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .equipment-group-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

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

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

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

}

@media (max-width: 900px) {
  .professor-grid,
  .mentor-box,
  .feature-grid,
  .thumb-grid {
    grid-template-columns: 1fr;
  }

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

  .activity-gallery {
    grid-template-columns: 1fr;
  }

  .equipment-group {
    padding: 14px;
  }

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

  .equipment-photo-grid-right {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
  }

  .equipment-photo-grid-ai {
    grid-template-columns: 1fr;
  }

  .equipment-photo-grid-hil > :nth-child(3) {
    grid-column: auto;
  }

  .professor-grid {
    gap: 14px;
    justify-items: start;
    align-items: start;
  }

  .professor-photo {
    width: 124px;
    height: 150px;
  }

  .mentor-photo {
    width: 112px;
    height: 138px;
  }

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

  .achievement-video-grid {
    grid-template-columns: 1fr;
  }

  .equipment-video-grid {
    grid-template-columns: 1fr;
  }

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

}

@media (max-width: 640px) {
  .equipment-photo-grid {
    grid-template-columns: 1fr;
  }

  .equipment-photo-grid-right {
    grid-template-columns: 1fr;
  }

  .equipment-photo-grid-ai {
    grid-template-columns: 1fr;
  }

  .equipment-photo-grid-robots {
    grid-template-columns: 1fr;
  }

  .equipment-photo-real {
    height: 240px;
  }

  .equipment-photo-grid-robots .equipment-photo-real {
    height: 240px;
  }
}

@media (max-width: 760px) {
  .page {
    padding: 10px 0 22px;
  }

  .home-section,
  .page-section {
    margin-top: 12px;
  }

  .site-top .container {
    flex-direction: column;
    align-items: start;
    gap: 8px;
  }

  .top-links {
    text-align: left;
    width: 100%;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
    width: auto;
    min-width: 60px;
    height: 38px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
  }

  .nav-wrap .container {
    min-height: 48px;
  }

  .nav {
    position: fixed;
    top: 48px;
    left: 8px;
    right: 8px;
    display: grid;
    gap: 8px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(9, 55, 95, 0.14);
    border-radius: 10px;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav a {
    width: auto;
    min-width: 0;
    padding: 11px 10px;
    border-bottom: 1px solid var(--line);
    clip-path: none;
    text-align: left;
  }

  .brand-text h1 {
    font-size: 1.28rem;
  }

  .brand-text {
    min-width: 0;
  }

  .brand-text p,
  .top-links,
  .professor-bio,
  .research-list,
  .thumb-copy,
  .contact-box,
  .mentor-info p,
  .plain-list,
  .paper-list,
  .result-list,
  .achievement-intro,
  .result-note,
  .result-link-row {
    font-size: 0.9rem;
  }

  .banner {
    height: 382px;
  }

  .banner-grid {
    padding: 18px;
  }

  .banner-control {
    width: 30px;
    height: 40px;
    font-size: 1.65rem;
  }

  .banner-control-prev {
    left: 10px;
  }

  .banner-control-next {
    right: 10px;
  }

  .banner-dots {
    right: 18px;
    bottom: 14px;
  }

  .professor {
    padding: 14px 12px;
  }

  .professor-grid {
    justify-items: center;
  }

  .professor-name {
    gap: 8px;
    justify-items: center;
  }

  .professor-name h3,
  .professor-name p {
    text-align: center;
  }

  .mentor-box {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .professor-bio {
    line-height: 1.72;
  }

  .mentor-info,
  .mentor-detail-link,
  .professor-bio,
  .research-block p,
  .contact-box,
  .join-list,
  .result-list,
  .paper-list {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .section-head {
    padding: 10px 12px 8px;
  }

  .section-head h2 {
    font-size: 1.08rem;
  }

  .section-body {
    padding: 12px;
  }

  .equipment-group {
    padding: 12px;
  }

  .equipment-group-head {
    gap: 10px;
    margin-bottom: 12px;
  }

  .equipment-photo-card {
    padding: 4px;
  }

  .equipment-photo-real {
    height: 200px;
  }

  .activity-gallery {
    gap: 12px;
  }

  .activity-caption-real {
    font-size: 0.9rem;
  }

  .profile-detail-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .profile-detail-photo {
    width: 120px;
    height: 150px;
  }

  .profile-detail-name h3 {
    font-size: 1.55rem;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(var(--shell-width), calc(100% - 12px));
  }

  .site-top .container {
    gap: 6px;
    padding: 8px 0;
  }

  .brand {
    gap: 10px;
    align-items: flex-start;
  }

  .brand-mark {
    width: 64px;
    height: 50px;
  }

  .brand-text h1 {
    font-size: 1.02rem;
    line-height: 1.25;
  }

  .brand-text p {
    font-size: 0.78rem;
  }

  .top-links {
    font-size: 0.8rem;
  }

  .nav a {
    width: auto;
    padding: 10px 8px;
    font-size: 0.88rem;
  }

  .banner {
    height: 332px;
  }

  .banner-grid {
    padding: 14px;
  }

  .banner-control {
    display: none;
  }

  .banner-copy h2 {
    font-size: 1.35rem;
  }

  .banner-copy p {
    font-size: 0.82rem;
    margin-top: 6px;
  }

  .professor-name h3,
  .mentor-info h3 {
    font-size: 1.35rem;
  }

  .professor-name p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .professor-bio {
    font-size: 0.89rem;
    text-align: left;
  }

  .profile-detail-name p {
    font-size: 0.9rem;
    white-space: normal;
  }

  .professor-photo {
    width: 108px;
    height: 132px;
  }

  .mentor-photo {
    width: 96px;
    height: 120px;
  }

  .member-avatar {
    width: 88px;
    height: 88px;
  }

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

  .member-card {
    padding: 6px 0;
  }

  .member-name {
    font-size: 0.96rem;
  }

  .member-role {
    font-size: 0.86rem;
    line-height: 1.45;
  }

  .member-note {
    font-size: 0.8rem;
    line-height: 1.3;
  }

  .mentor-info p,
  .mentor-detail-link,
  .research-block p,
  .equipment-meta,
  .equipment-caption {
    font-size: 0.88rem;
  }

  .mentor-info p,
  .mentor-detail-link {
    line-height: 1.75;
  }

  .research-block p {
    line-height: 1.82;
  }

  .research-figure-inline {
    margin-top: 58px;
    padding-top: 8px;
  }

  .research-figure-image-inline.is-driving-inline,
  .research-figure-image-inline.is-uav-inline,
  .research-figure-image-inline.is-robot-inline,
  .research-figure-image-inline.is-quadruped-inline {
    max-height: 260px;
  }

  .equipment-photo-real {
    height: 182px;
  }
}

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