:root {
  --ink: #101820;
  --ink-soft: #2c3a45;
  --slate: #5a6b76;
  --line: rgba(16, 24, 32, 0.12);
  --mist: #e7eef1;
  --paper: #f3f7f8;
  --surface: #ffffffcc;
  --teal: #0b6f6c;
  --teal-deep: #085250;
  --signal: #b77a18;
  --hero-ink: #f4f8f9;
  --shadow-soft: 0 24px 60px rgba(16, 24, 32, 0.12);
  --font-display: "Songti SC", "STSong", "SimSun", "Noto Serif SC", Georgia, serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-en: Georgia, "Times New Roman", "Songti SC", serif;
  --max: 1120px;
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.65;
  background: var(--paper);
  overflow-x: hidden;
}

h1,
h2,
h3 {
  text-wrap: balance;
  line-break: strict;
  word-break: keep-all;
}

.nowrap {
  white-space: nowrap;
}

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

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

button {
  font: inherit;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(11, 111, 108, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(183, 122, 24, 0.08), transparent 50%),
    linear-gradient(180deg, #eef4f6 0%, var(--paper) 35%, #e9f0f2 100%);
}

.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(16, 24, 32, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 24, 32, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 70%);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.75rem clamp(1.2rem, 4vw, 2.5rem);
  background: linear-gradient(180deg, rgba(8, 18, 24, 0.72) 0%, rgba(8, 18, 24, 0.28) 70%, transparent 100%);
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(243, 247, 248, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
}

.brand-mark {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--teal) 0%, #14918d 55%, var(--signal) 100%);
  box-shadow: 0 0 0 4px rgba(11, 111, 108, 0.12);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-zh {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: #f4f8f9;
}

.brand-en {
  font-family: var(--font-en);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: rgba(244, 248, 249, 0.78);
}

.brand-org {
  display: block;
  margin-top: 0.08rem;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: rgba(244, 248, 249, 0.72);
}

.site-header.is-scrolled .brand-zh {
  color: var(--ink);
}

.site-header.is-scrolled .brand-en,
.site-header.is-scrolled .brand-org {
  color: var(--slate);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.site-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: #f4f8f9;
  text-shadow: 0 1px 8px rgba(8, 18, 24, 0.55);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.site-nav a:hover {
  color: #ffffff;
}

.nav-cta {
  padding: 0.55rem 1rem;
  border: 1px solid rgba(244, 248, 249, 0.55);
  color: #f4f8f9 !important;
  background: rgba(255, 255, 255, 0.14);
  text-shadow: none;
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: #fff;
}

.site-header.is-scrolled .site-nav a {
  color: var(--ink-soft);
  text-shadow: none;
}

.site-header.is-scrolled .site-nav a:hover {
  color: var(--teal-deep);
}

.site-header.is-scrolled .nav-cta {
  border: 1px solid rgba(11, 111, 108, 0.35);
  color: var(--teal-deep) !important;
  background: rgba(255, 255, 255, 0.7);
}

.site-header.is-scrolled .nav-cta:hover {
  background: rgba(11, 111, 108, 0.08);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  z-index: 2;
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 2px;
  margin: 0.35rem auto;
  background: #f4f8f9;
  transition: transform 0.25s var(--ease), opacity 0.25s ease, background 0.2s ease;
}

.site-header.is-scrolled .nav-toggle span {
  background: var(--ink);
}

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

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

.hero {
  position: relative;
  min-height: min(62vh, 580px);
  min-height: min(62dvh, 580px);
  display: grid;
  align-items: end;
  color: var(--hero-ink);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: hero-drift 18s var(--ease) infinite alternate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 18, 24, 0.78) 0%, rgba(8, 18, 24, 0.48) 42%, rgba(8, 18, 24, 0.22) 100%),
    linear-gradient(180deg, rgba(8, 18, 24, 0.28) 0%, rgba(8, 18, 24, 0.12) 38%, rgba(8, 18, 24, 0.72) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.4rem, var(--max));
  margin: 0 auto;
  padding: calc(var(--header-h) + 1.75rem) 0 2rem;
}

.hero-kicker {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  opacity: 0;
  transform: translateY(1.2rem);
  animation: rise 0.9s var(--ease) 0.15s forwards;
}

.hero-title {
  margin: 0;
  max-width: 12em;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(1.2rem);
  animation: rise 0.9s var(--ease) 0.32s forwards;
}

.hero-lead {
  margin: 0.9rem 0 0;
  max-width: 40rem;
  color: rgba(244, 248, 249, 0.86);
  font-size: 1rem;
  line-height: 1.65;
  opacity: 0;
  transform: translateY(1.2rem);
  animation: rise 0.9s var(--ease) 0.48s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
  opacity: 0;
  transform: translateY(1.2rem);
  animation: rise 0.9s var(--ease) 0.62s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.7rem 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--signal);
  color: #fff8eb;
}

.btn-primary:hover {
  background: #c8891f;
}

.btn-ghost {
  border: 1px solid rgba(244, 248, 249, 0.45);
  color: var(--hero-ink);
  background: rgba(255, 255, 255, 0.06);
}

.btn-ghost:hover {
  border-color: rgba(244, 248, 249, 0.8);
  background: rgba(255, 255, 255, 0.12);
}

.section {
  width: min(100% - 2.4rem, var(--max));
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3rem) 0;
}

.section + .section {
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
}

.section-head {
  max-width: none;
  margin-bottom: 1.1rem;
}

.eyebrow {
  margin: 0 0 0.45rem;
  color: var(--teal);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.section-head h2,
.contact-panel h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.section-lead,
.hero-lead,
.tech-card p,
.project-body p,
.contact-panel p {
  text-wrap: pretty;
  line-break: strict;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.section-lead {
  margin: 0.55rem 0 0;
  color: var(--slate);
  line-height: 1.6;
  max-width: 52rem;
}

.about-grid {
  display: grid;
  gap: 1.5rem;
}

.about-professor {
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr;
  gap: clamp(1.1rem, 3vw, 2rem);
  align-items: start;
}

.portrait {
  margin: 0;
  overflow: hidden;
  background: var(--mist);
}

.portrait img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 40% 18%;
  filter: saturate(0.92) contrast(1.02);
}

.about-copy h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}

.role {
  margin: 0.25rem 0 0.7rem;
  color: var(--teal-deep);
  font-weight: 600;
}

.about-copy > p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.65;
  text-wrap: wrap;
  line-break: auto;
  word-break: normal;
  overflow-wrap: anywhere;
}

.about-copy > p + p {
  margin-top: 0.65rem;
}

.meta-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.meta-list li {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

.meta-list span {
  color: var(--slate);
  font-size: 0.92rem;
}

.meta-list a {
  color: var(--teal-deep);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.focus-block {
  padding: 1.15rem 0 0;
  border-top: 1px solid var(--line);
}

.focus-block h3 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.focus-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1.5rem;
}

.focus-list li {
  display: grid;
  gap: 0.35rem;
  padding-left: 1rem;
  border-left: 2px solid var(--teal);
}

.focus-list strong {
  font-size: 1.02rem;
}

.focus-list span {
  color: var(--slate);
  font-size: 0.95rem;
}

.research-line {
  margin-top: 1rem;
  padding: 0.95rem 1rem 0.85rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
}

.research-line:first-of-type {
  margin-top: 0.35rem;
}

.research-line-head {
  margin: 0 0 0.75rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line);
}

.research-line-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--teal-deep);
}

.research-line-head p {
  margin: 0.22rem 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

.research-echo {
  margin: 0.7rem 0 0;
  padding-top: 0.55rem;
  border-top: 1px solid var(--line);
  color: var(--slate);
  font-size: 0.86rem;
  line-height: 1.5;
}

.projects .project-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 0.8rem;
}

.projects .project-row {
  display: block;
  padding: 0.7rem 0.8rem 0.75rem;
  border: 1px solid var(--line);
  background: #fff;
}

.projects .project-row:last-child {
  border-bottom: 1px solid var(--line);
}

.projects .project-meta {
  flex-direction: row;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.35rem;
}

.projects .project-body h3 {
  font-size: 0.98rem;
}

.projects .project-body p {
  font-size: 0.9rem;
  line-height: 1.45;
}

.project-list {
  display: grid;
  gap: 0;
}

.project-row {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1rem 1.25rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.project-row:last-child {
  border-bottom: 1px solid var(--line);
}

.project-meta {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  color: var(--slate);
  font-size: 0.92rem;
}

.tag {
  display: inline-flex;
  width: fit-content;
  padding: 0.2rem 0.55rem;
  background: rgba(11, 111, 108, 0.12);
  color: var(--teal-deep);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.tag-soft {
  background: rgba(16, 24, 32, 0.06);
  color: var(--ink-soft);
}

.project-body h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.4;
}

.project-body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}

.project-body p + p:not(.source) {
  margin-top: 0.28rem;
}

.project-body .source {
  margin-top: 0.45rem;
  color: var(--slate);
  font-size: 0.88rem;
}

.btn-on-light {
  margin-top: 1rem;
  width: fit-content;
  background: var(--teal);
  color: #f4f8f9;
}

.btn-on-light:hover {
  background: var(--teal-deep);
}

.section-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.capability-group {
  margin-top: 1.35rem;
}

.capability-group:first-of-type {
  margin-top: 0.35rem;
}

.capability-group-head {
  margin: 0 0 0.85rem;
}

.capability-group-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--teal-deep);
}

.capability-group-head p {
  margin: 0.35rem 0 0;
  color: var(--slate);
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 48rem;
}

.tech-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem 1.25rem;
}

.tech-card {
  padding: 0.85rem 0 0.85rem;
  border-top: 2px solid rgba(11, 111, 108, 0.35);
}

.cap-media {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.cap-media .media-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f172a;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
}

.cap-media .media-video,
.cap-media .media-image {
  cursor: zoom-in;
}

.cap-media .media-demo-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.cap-media .media-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 0.85rem;
  background: #0f172a;
  z-index: 1;
  transition: opacity 0.25s;
}

.cap-media .media-frame.is-ready .media-loading {
  opacity: 0;
  pointer-events: none;
}

.cap-media .media-frame video,
.cap-media .media-frame img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  display: block;
  border: 0;
  background: #000;
}

.cap-media .zoom-hint {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.65);
  color: #fff;
  font-size: 0.75rem;
  pointer-events: none;
  opacity: 0.85;
  z-index: 2;
}

.cap-media .media-demo-link:hover .zoom-hint,
.cap-media .media-video:hover .zoom-hint,
.cap-media .media-image:hover .zoom-hint {
  opacity: 1;
}

.cap-caption {
  margin: 0;
  color: var(--slate);
  font-size: 0.78rem;
  line-height: 1.4;
}

.cap-media video::-webkit-media-controls-mute-button,
.cap-media video::-webkit-media-controls-volume-slider,
.cap-media video::-webkit-media-controls-volume-control-container {
  display: none !important;
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.88);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.active {
  display: flex;
}

.lightbox-inner {
  position: relative;
  width: min(96vw, 1200px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lightbox-inner video,
.lightbox-inner img.lightbox-image {
  width: 100%;
  max-height: calc(90vh - 56px);
  border-radius: 12px;
  background: #000;
  display: none;
  object-fit: contain;
}

.lightbox-inner.mode-video video {
  display: block;
}

.lightbox-inner.mode-image img.lightbox-image {
  display: block;
  max-height: 90vh;
  background: transparent;
}

.lightbox-inner.mode-image .lightbox-progress {
  display: none;
}

.lightbox-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 4px 2px;
  color: #e2e8f0;
  font-size: 0.85em;
  user-select: none;
}

.lightbox-progress input[type="range"] {
  flex: 1;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

.lightbox-progress input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-progress input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  margin-top: -4px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.lightbox-progress input[type="range"]::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-progress input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: none;
  border-radius: 50%;
  background: #fff;
}

.lightbox-time {
  min-width: 92px;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: #cbd5e1;
}

.lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 1.4em;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.lightbox-close:hover {
  background: #e2e8f0;
}

.tech-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}

.tech-card p,
.tech-spec {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.55;
}

.tech-spec {
  margin-top: 0.35rem;
  color: var(--slate);
}

.tech-spec strong {
  color: var(--ink-soft);
  font-weight: 600;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.55rem;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem 1rem;
  margin-bottom: 1.25rem;
}

.stat {
  padding: 0.7rem 0;
  border-top: 2px solid rgba(183, 122, 24, 0.45);
}

.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.2;
}

.stat span {
  color: var(--slate);
  font-size: 0.88rem;
}

.output-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.25rem 2rem;
  align-items: start;
}

.output-follow {
  margin-top: 1.75rem;
}

.output-patents {
  margin-top: 0;
}

.output-patents h3 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
}

.patent-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 2rem;
}

.patent-row li:nth-child(2) {
  border-top: 0;
}

.output-col h3,
.list-kicker {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
}

.paper-list,
.award-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.paper-list li,
.award-list li {
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}

.paper-list li:last-child,
.award-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.paper-list .paper-title,
.paper-list a {
  color: var(--ink-soft);
  font-weight: 550;
  text-decoration: none;
}

.paper-more {
  margin: 0.85rem 0 0;
}

.outputs .paper-more {
  text-align: right;
}

.paper-more a,
.paper-group h2 span {
  color: var(--teal-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.paper-group {
  margin-top: 1.75rem;
}

.paper-group h2 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}

.paper-group h2 span {
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
}

.paper-list a:hover,
.paper-list a:focus-visible {
  color: var(--teal-deep);
}

.paper-list cite {
  display: block;
  margin-top: 0.2rem;
  color: var(--slate);
  font-style: normal;
  font-size: 0.86rem;
}

.note {
  margin: 0.7rem 0 0;
  color: var(--slate);
  font-size: 0.86rem;
}

.list-kicker {
  margin: 1.25rem 0 0.15rem;
  color: var(--teal-deep);
}

.project-list + .list-kicker,
.list-kicker + .project-list {
  margin-top: 0.35rem;
}

.expert-panel {
  display: grid;
  grid-template-columns: minmax(14rem, 20rem) 1fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
  padding: clamp(1.25rem, 3vw, 1.85rem) 0;
  border-top: 2px solid rgba(11, 111, 108, 0.35);
  border-bottom: 1px solid var(--line);
}

.expert-identity h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 600;
}

.expert-identity .role {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
}

.expert-focus {
  margin: 0.95rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.5rem;
}

.expert-focus span {
  display: inline-block;
  padding: 0.28rem 0.62rem;
  background: #e3ebed;
  color: var(--teal-deep);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.expert-bio p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.7;
  text-wrap: pretty;
  line-break: strict;
  word-break: keep-all;
  overflow-wrap: break-word;
  max-width: 48rem;
}

.org-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
}

.org-links a {
  color: var(--teal-deep);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.resource-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem 1.5rem;
}

.resource-groups .list-kicker {
  margin: 0 0 0.15rem;
}

.venue-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.venue-list li {
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  line-height: 1.45;
}

.venue-list a {
  color: var(--teal-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.venue-list span {
  display: block;
  color: var(--slate);
  font-size: 0.84rem;
  margin-top: 0.12rem;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 50;
  padding: 0.4rem 0.7rem;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  top: 0.75rem;
}

.tech-tags span {
  padding: 0.18rem 0.5rem;
  background: rgba(11, 111, 108, 0.1);
  color: var(--teal-deep);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.contact {
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.contact-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 2rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.contact-panel > div > p:last-child {
  margin: 0.45rem 0 0;
  color: var(--ink-soft);
  max-width: 36rem;
  line-height: 1.5;
}

.contact-details {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  align-items: center;
}

.contact-details div {
  display: grid;
  gap: 0.08rem;
}

.contact-details dt {
  color: var(--slate);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

.contact-details dd {
  margin: 0;
  font-weight: 550;
  line-height: 1.35;
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

.contact-details a {
  color: var(--teal-deep);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  align-items: flex-start;
  width: min(100% - 2.4rem, var(--max));
  margin: 0 auto;
  padding: 1.1rem 0 1.75rem;
  border-top: 1px solid var(--line);
  color: var(--slate);
  font-size: 0.88rem;
}

.footer-meta p {
  margin: 0;
  line-height: 1.45;
}

.beian {
  margin-top: 0.28rem;
}

.beian a {
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.beian span {
  display: inline;
  margin-left: 0.35rem;
  font-size: 0.8rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
}

.footer-brand span {
  display: block;
}

.site-domain {
  color: var(--teal-deep);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.footer-brand .site-domain {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.86rem;
}

.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.5%, -1%, 0);
  }
}

@media (max-width: 1100px) {
  .tech-board,
  .stats-row,
  .output-grid,
  .resource-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .about-professor,
  .contact-panel,
  .expert-panel,
  .tech-board,
  .stats-row,
  .output-grid,
  .resource-groups,
  .patent-row {
    grid-template-columns: 1fr;
  }

  .patent-row li:nth-child(2) {
    border-top: 1px solid var(--line);
  }

  .output-books {
    order: 2;
  }

  .output-awards {
    order: 3;
  }

  .output-patents {
    order: 4;
  }

  .project-row,
  .projects .project-list {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

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

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.4rem;
    padding: 2rem;
    background: rgba(243, 247, 248, 0.97);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s var(--ease), opacity 0.35s ease;
  }

  .site-nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a,
  .site-nav.is-open a {
    font-size: 1.25rem;
    color: var(--ink-soft);
    text-shadow: none;
  }

  .site-nav .nav-cta {
    color: var(--teal-deep) !important;
    border-color: rgba(11, 111, 108, 0.35);
    background: rgba(255, 255, 255, 0.7);
  }

  .nav-cta {
    width: fit-content;
  }

  .hero-title {
    max-width: none;
  }
}

@media (max-width: 600px) {
  .meta-list li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .hero-content {
    padding-bottom: 2rem;
  }

  .hero-title {
    max-width: 11em;
  }

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

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

  .hero-media img,
  .hero-kicker,
  .hero-title,
  .hero-lead,
  .hero-actions,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
