:root {
  --bg: #f6f8fc;
  --bg-elev: #ffffff;
  --text: #1f2a44;
  --muted: #66738f;
  --line: #dbe2ef;
  --primary: #8b95c9;
  --secondary: #78aab6;
  --card-shadow: 0 14px 30px rgba(25, 42, 73, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top right, #eef3fb, var(--bg) 45%);
  color: var(--text);
  line-height: 1.75;
}

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

.container {
  width: min(1100px, calc(100% - 2rem));
  margin-inline: auto;
}

.bg-orb {
  position: fixed;
  z-index: -1;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.14;
}

.orb-1 {
  background: var(--primary);
  top: -120px;
  left: -120px;
}

.orb-2 {
  background: var(--secondary);
  right: -120px;
  bottom: -120px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(246, 248, 252, 0.88);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  gap: 1.2rem;
}

.nav a {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.94rem;
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.lang-toggle {
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: var(--text);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.lang-toggle:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(110, 132, 177, 0.18);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: var(--text);
}

.hero {
  min-height: calc(100vh - 80px);
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  padding-top: 2rem;
}

.kicker {
  color: var(--secondary);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

h1 {
  font-size: clamp(2.05rem, 4.6vw, 4rem);
  line-height: 1.12;
  margin: 0 0 0.9rem;
}

.gradient-text {
  background: linear-gradient(96deg, #8f98c7, #75a8b4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  color: var(--muted);
  max-width: 64ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.6rem 0;
}

.btn {
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  font-weight: 600;
  font-size: 0.94rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(110deg, var(--primary), #7f96bd);
  box-shadow: 0 10px 22px rgba(110, 132, 177, 0.2);
}

.btn-ghost {
  border-color: var(--line);
  background: #f3f6fb;
}

.quick-links {
  display: flex;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.quick-links a {
  color: var(--muted);
  font-size: 0.95rem;
}

.quick-links a:hover {
  color: var(--text);
}

.portrait-card {
  background: linear-gradient(170deg, #ffffff, #f7f9fd);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.portrait-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
  background: #e7edf8;
}

.portrait-meta {
  padding: 1rem 1.1rem 1.2rem;
}

.location {
  font-weight: 600;
  margin: 0;
}

.role {
  color: var(--muted);
  margin: 0.25rem 0 0;
}

.section {
  padding: 4.8rem 0 0.6rem;
}

.section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 2.7vw, 2rem);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.text-link {
  color: var(--secondary);
  font-size: 0.92rem;
}

.news-toggle {
  border: 0;
  background: transparent;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
}

.news-toggle:hover {
  text-decoration: underline;
}

.card,
.timeline,
.pub-card,
.list-card,
.contact-card {
  background: linear-gradient(160deg, #ffffff, #f7f9fd);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
}

.card,
.contact-card {
  padding: 1.2rem 1.2rem;
}

.card p {
  margin: 0 0 0.9rem;
}

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

.timeline {
  padding: 0.2rem 1.1rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  padding: 0.95rem 0.2rem;
  border-bottom: 1px dashed #d9e1ef;
}

.timeline-item:last-child {
  border-bottom: 0;
}

.timeline-date {
  color: var(--secondary);
  font-weight: 600;
  margin: 0;
}

.timeline-item p:last-child {
  margin: 0;
}

.timeline-item a,
.card a {
  color: var(--secondary);
  font-weight: 500;
}

.timeline-item a:hover,
.card a:hover {
  text-decoration: underline;
}

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

.pub-card {
  padding: 1.1rem;
}

.pub-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.06rem;
}

.authors,
.venue {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.venue {
  margin-top: 0.2rem;
}

.pub-links {
  margin-top: 0.85rem;
  display: flex;
  gap: 0.8rem;
  font-size: 0.9rem;
}

.pub-links a {
  color: var(--secondary);
}

.list-card {
  overflow: hidden;
}

.list-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border-bottom: 1px dashed #d9e1ef;
}

.list-row:last-child {
  border-bottom: 0;
}

.list-row h3 {
  margin: 0;
  font-size: 1.02rem;
}

.list-row p {
  margin: 0.18rem 0 0;
  color: var(--muted);
}

.list-row .date {
  margin: 0;
  color: #44537a;
  font-weight: 500;
  white-space: nowrap;
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
}

.footer-wrap {
  min-height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
}

.footer-wrap p {
  color: var(--muted);
}

.footer-wrap a {
  color: var(--secondary);
}

@media (max-width: 930px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 1.6rem;
    min-height: auto;
  }

  .hero-right {
    max-width: 420px;
  }

  .pub-grid {
    grid-template-columns: 1fr;
  }
}

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

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    background: rgba(246, 248, 252, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.9rem 1rem;
    display: none;
    flex-direction: column;
    gap: 0.65rem;
  }

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

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.22rem;
  }

  .list-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
