/* ---------- Global ---------- */

:root {
  --text: #20252b;
  --muted: #687078;
  --accent: #173b5e;
  --line: #e6e8eb;
  --background: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Helvetica,
    Arial,
    sans-serif;

  color: var(--text);
  background: var(--background);
  font-size: 17px;
  line-height: 1.65;
}


/* ---------- Main page width ---------- */

main.content {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  padding: 4.5rem 2rem 6rem 2rem;
}


/* ---------- Navigation ---------- */

.navbar {
  background: white !important;
  border-bottom: 1px solid var(--line);
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.navbar-brand {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text) !important;
}

.navbar-nav .nav-link {
  color: #40464c !important;
  font-size: 0.95rem;
}

.navbar-nav .nav-link:hover {
  color: var(--accent) !important;
}


/* ---------- Hero ---------- */

.hero {
  max-width: 830px;
  margin-bottom: 5rem;
}

.hero h1 {
  font-size: 3.4rem;
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.045em;
  margin-bottom: 1rem;
}

.position {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 0.1rem;
}

.institution {
  font-size: 1.08rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.hero p {
  max-width: 790px;
  font-size: 1.12rem;
  line-height: 1.7;
}


/* ---------- Hero links ---------- */

.hero-links {
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
  margin-top: 1.7rem;
}

.hero-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
}

.hero-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}


/* ---------- Section headings ---------- */

h2 {
  font-size: 1.15rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;

  color: var(--muted);

  margin-top: 5rem;
  margin-bottom: 2rem;

  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
}


/* ---------- Papers ---------- */

.paper {
  max-width: 850px;
  margin-bottom: 3.2rem;
}

.paper h3 {
  font-size: 1.55rem;
  line-height: 1.28;
  font-weight: 600;
  letter-spacing: -0.015em;

  color: var(--text);

  margin-bottom: 0.4rem;
}

.paper-meta {
  color: var(--muted);
  font-size: 0.96rem;
  margin-bottom: 0.9rem;
}

.paper p {
  max-width: 780px;
  margin-bottom: 0.7rem;
}

.paper-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.96rem;
}

.paper-link:hover {
  text-decoration: underline;
}


/* ---------- Footer ---------- */

.nav-footer {
  border-top: 1px solid var(--line);
  background: white;
  color: var(--muted);
  font-size: 0.85rem;
}


/* ---------- Mobile ---------- */

@media (max-width: 700px) {

  main.content {
    padding: 3rem 1.3rem 4rem 1.3rem;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .hero {
    margin-bottom: 3.5rem;
  }

  .position {
    font-size: 1.1rem;
  }

  .hero p {
    font-size: 1.03rem;
  }

  .paper h3 {
    font-size: 1.35rem;
  }

}


/* ---------- Research interests ---------- */

.research-interests {
  margin-top: 1.7rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.8;
}

.research-interests strong {
  color: var(--text);
  font-weight: 500;
}