:root {
  --bg: #0b0f14;
  --surface: #121821;

  --text: #f3f4f6;
  --muted: #9ca3af;
  --line: #26303d;

  --accent: #60a5fa;
  --accent2: #2dd4bf;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

.container {
  max-width: 980px;
  margin: auto;
  padding: 0 24px;
}

/* HEADER */

.site-header {
  padding: 70px 0 50px;
  border-bottom: 3px solid var(--line);
}

.hero {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 32px;
  align-items: center;
}

.profile-photo {
  width: 170px;
  height: 170px;
  object-fit: cover;
  border-radius: 50%;
}

h1 {
  font-size: 2.7rem;
  margin: 0;
}

/* NAV */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 15, 20, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--line);

  display: flex;
  gap: 22px;
  padding: 16px 24px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

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

/* SECTIONS */

main section {
  padding: 52px 0;
  border-bottom: 3px solid var(--line);
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--text);
}

p {
  color: #d1d5db;
}

ul {
  padding-left: 20px;
}

li {
  margin-bottom: 10px;
  color: #d1d5db;
}

/* CARDS */
/* currently not in use */

.cards {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
}

/* LINKS */

a {
  color: var(--accent);
}

/* FOOTER */

.footer {
  padding: 30px 0;
  color: var(--muted);
}

/* MOBILE */

@media (max-width: 720px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .profile-photo {
    margin: auto;
  }

  .nav {
    flex-wrap: wrap;
  }
}

/* =========================
   Publications
========================= */

.pub-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pub-item {
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.pub-item:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.pub-item p {
  margin: 0 0 8px;
}

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

.pub-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.45;
}

.pub-authors {
  color: #d1d5db;
  font-size: 0.95rem;
}

.pub-venue {
  color: var(--muted);
  font-size: 0.92rem;
}

.pub-links {
  margin-top: 10px;
  font-size: 0.92rem;
}

.pub-links a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

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

.pub-links span {
  color: var(--muted);
  margin: 0 8px;
}

.pub-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.pub-card-link:hover {
  text-decoration: none;
  color: inherit;
}