:root {
  --bg: #ffffff;
  --text: #1f2933;
  --muted: #64748b;

  --deep-blue: #01356b;
  --dark-blue: #012f60;
  --orange: #d97706;;
  --link: #0F4D92;

  --border: #e5e7eb;
  --card: #f8fafc;
  --max-width: 980px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

.link-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--deep-blue);
  border-bottom: 1px solid var(--deep-blue);
  backdrop-filter: blur(10px);
}

.nav {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-weight: 800;
  color: white;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0;
  margin: 0;
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  color: white;
  background: var(--orange);
  border: 1px solid var(--orange);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.nav-links a:hover {
  background: white;
  color: var(--deep-blue);
  border-color: white;
  text-decoration: none;
}

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

a:hover {
  text-decoration: underline;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.5rem;
  cursor: pointer;
}

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3.4rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.hero {
  padding-top: 4.5rem;
}

.intro {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  align-items: start;
}

.profile-pic {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--border);
}

h1 {
  font-size: 2.4rem;
  line-height: 1.15;
  margin: 0 0 0.3rem;
}

h2 {
  font-size: 1.65rem;
  margin: 0 0 1.2rem;
}

h3 {
  margin: 0 0 0.35rem;
}

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

.news-list {
  padding-left: 1.2rem;
}

.news-list time {
  color: var(--muted);
  font-weight: 600;
  margin-right: 0.55rem;
}

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

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.15rem;
}

.card ul {
  margin-bottom: 0;
  padding-left: 1.2rem;
}

.small-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.publication {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1.4rem;
  margin-bottom: 2rem;
  align-items: start;
}

.publication img {
  width: 145px;
  height: 145px;
  object-fit: contain;
  border-radius: 50%;
  border: 1px solid var(--deep-blue);
  background: white;
  padding: 2px;
}

.authors,
.venue,
.pub-links {
  margin: 0.15rem 0;
}

.venue {
  color: var(--muted);
  font-style: italic;
}

.footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 58px;
    flex-direction: column;
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.25rem;
  }

  .nav-links.open {
    display: flex;
  }

  .intro,
  .publication,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .profile-pic {
    width: 170px;
    height: 170px;
  }

  h1 {
    font-size: 2rem;
  }
}

.profile-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.profile-link-row {
  max-width: 220px;
}

.profile-link-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.9rem;
  white-space: nowrap;
}

.profile-link-row img {
  width: 20px;
  height: 20px;
  max-width: 20px;
  max-height: 20px;
  object-fit: contain;
  display: block;
}

.profile-name {
  font-size: 1.6rem;
  font-weight: 800;
  text-align: center;
  margin: 1rem 0 0.25rem;
  color: var(--deep-blue);
}

.profile-subtitle {
  text-align: center;
  color: var(--orange);
  font-weight: 200;
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0;
  max-width: 240px;
}

h2 {
  color: var(--deep-blue);
}

.project-year {
  margin-top: 3rem;
  margin-bottom: 1.2rem;
  color: var(--accent);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.5rem;
}

