:root {
  --bg: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --accent: #0f4c81;
  --accent-soft: #eff6ff;
  --max-width: 960px;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.7;
}

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

a:hover {
  text-decoration: underline;
}

.site-shell {
  min-height: 100vh;
}

.site-main,
.site-footer {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.site-main {
  padding: 2.25rem 0 3.5rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(220px, 300px);
  gap: 1.9rem;
  align-items: center;
  margin-bottom: 2.1rem;
}

.hero-copy p {
  max-width: 43rem;
  margin: 0 0 0.8rem;
}

.hero-name {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  line-height: 1.05;
}

.hero-role {
  margin: 0.4rem 0 0.85rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-career {
  max-width: 43rem;
  margin: 0 0 0.8rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.hero-links-inline {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.hero-links-inline a {
  color: var(--accent);
}

.hero-portrait {
  display: flex;
  justify-content: center;
}

.profile-avatar {
  width: min(100%, 260px);
  aspect-ratio: 4 / 5;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: #f2f4f8;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 2rem;
}

.profile-image {
  width: min(100%, 260px);
  aspect-ratio: 4 / 5;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 999px;
  object-fit: cover;
  object-position: center center;
  border: 0;
}

.hero-links,
.meta-list,
.interest-list,
.news-list,
.publication-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-links li + li,
.interest-list li + li,
.news-list li + li,
.publication-list li + li {
  margin-top: 0.65rem;
}

.section {
  margin-top: 1.8rem;
}

.section h2 {
  margin-bottom: 0.55rem;
  font-size: 1.22rem;
}

.section-intro {
  color: var(--muted);
  margin-top: -0.3rem;
}

.meta-list li + li {
  margin-top: 0.35rem;
}

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

.publication-title {
  font-weight: 600;
}

.publication-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.publication-badge {
  flex-shrink: 0;
  padding: 0.14rem 0.5rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.76rem;
  line-height: 1.4;
}

.publication-badge-muted {
  background: #f3f4f6;
  color: var(--muted);
}

.publication-meta {
  color: var(--muted);
  font-size: 0.96rem;
}

.publication-featured li {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.95rem;
  background: #fcfdff;
  box-shadow: 0 6px 18px rgba(15, 76, 129, 0.06);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.publication-featured li:hover {
  border-color: #cbd5e1;
  box-shadow: 0 10px 26px rgba(15, 76, 129, 0.1);
  transform: translateY(-1px);
}

.publication-featured li + li {
  margin-top: 0.8rem;
}

.publication-item-with-media {
  display: grid;
  grid-template-columns: minmax(220px, 34%) minmax(0, 1fr);
  gap: 1.05rem;
  align-items: center;
}

.publication-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.publication-media-element {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #ffffff;
}

.publication-media-video {
  object-fit: cover;
}

.publication-media-image {
  object-fit: contain;
}

.publication-content {
  min-width: 0;
}

.publication-item-with-media .publication-title {
  font-size: 1.02rem;
  line-height: 1.45;
}

.publication-media-caption {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.research-theme {
  margin-top: 1.55rem;
}

.research-theme:first-of-type {
  margin-top: 1rem;
}

.research-theme-header {
  margin-bottom: 0.75rem;
}

.research-theme-heading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.55rem 0.75rem;
  margin-bottom: 0.35rem;
}

.research-theme-slot {
  flex-shrink: 0;
  padding: 0.12rem 0.48rem;
  border-radius: 999px;
  background: #f3f4f6;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.research-theme-title {
  margin: 0;
  font-size: 1.05rem;
  color: var(--accent);
  font-weight: 600;
  line-height: 1.45;
}

.research-theme-summary {
  margin: 0;
  max-width: 44rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.research-theme-footer {
  margin: 1.2rem 0 0;
}

.publication-year-groups {
  margin-top: 0.5rem;
}

.publication-year {
  margin: 1.4rem 0 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.05rem;
}

.publication-year:first-child {
  margin-top: 0;
}

.publication-entry {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.publication-entry:last-child {
  border-bottom: 0;
}

.card-list li {
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.9rem;
}

.card-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-title {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.9rem;
}

.page-subtitle {
  color: var(--muted);
  margin-top: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  padding: 1.25rem 0 2rem;
}

.site-stats {
  margin-top: 1rem;
  overflow-x: auto;
}

@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-portrait {
    justify-content: flex-start;
  }

  .publication-item-with-media {
    grid-template-columns: 1fr;
  }
}
