body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background-color: #fafafa;
  color: #222;
}

.navbar {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e5e5;
}

.nav-container {
  max-width: 1000px;
  margin: auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-title {
  font-weight: 600;
  font-size: 1.1rem;
}

nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: #555;
  font-weight: 500;
}

nav a:hover {
  color: #000;
}

nav a.active {
  color: #000;
  border-bottom: 2px solid #000;
  padding-bottom: 2px;
}

.content {
  max-width: 800px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.hero {
  position: relative;
  height: 60vh;
  background-image: url("images/hero.jpg");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.35);
  color: white;
  text-align: center;
}

.hero-overlay h1 {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.2em;
  line-height: 1.05;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.45);
}

.hero-overlay p {
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  margin-top: 0;
  line-height: 1.15;
  opacity: 0.95;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

@media (max-width: 600px) {
  .hero {
    background-image: url("images/hero-mobile.jpg");
    background-position: center;
  }
  
  .hero-overlay h1 {
    font-size: clamp(2.6rem, 8vw, 3.4rem);
  }

  .hero-overlay p {
    font-size: clamp(1.05rem, 3.5vw, 1.3rem);
  }
}

.press-item {
  margin-bottom: 1.5rem;
}

.press-item h3 {
  margin: 0;
}

.press-item p {
  margin: 0.3rem 0;
  color: #444;
}

.press-item span {
  font-size: 0.9rem;
  color: #777;
}

.about-photo {
  float: right;
  width: 340px;
  margin: 0 0 1rem 1.5rem;
  border-radius: 5px;
}

@media (max-width: 800px) {
  .about-photo {
    float: none;
    display: block;
    margin: 0 auto 1.5rem auto;
    width: 60%;
  }
}

#about p {
  font-size: 1.25rem;
  line-height: 1.85;
}

.publications {
  padding-left: 0;
  list-style-position: inside;
}

.publication {
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 2.2rem;
  margin-bottom: 2rem;
  align-items: start;
  list-style-type: decimal;
}

.publication .altmetric-embed {
  width: 48px;
  min-height: 48px;
}

.publication h3 {
  margin: 0;
}

.pub-text {
  font-size: 1rem;
  line-height: 1.65;
}

.pub-text p {
  margin: 0.4rem 0 0;
  color: #444;
}

.publication::marker {
  font-size: 1rem;
  color: #777;
}

a {
  color: #6886b3;
  text-decoration: none;
}

a:hover {
  color: #4a6fa5;
  text-decoration: underline;
}

