body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: #111;
  line-height: 1.6;
  background: #fffdf8;
}

section {
  padding: 120px 60px;
  min-height: auto;
  max-width: 1200px;
  margin: auto;
  border-top: 1px solid #111;
}

section:first-of-type {
  border-top: none;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fffdf8;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  z-index: 1000;
  box-sizing: border-box;
}

header h1 {
  font-family: 'Playfair Display', serif;
  margin: 0;
  color: #111;
  font-size: 28px;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #111;
  font-weight: 500;
}

nav a:hover {
  text-decoration: underline;
}

#hero {
  padding-top: 180px;
  background: #f8f3ea;
  text-align: center;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#hero h2 {
  font-family: 'Playfair Display', serif;
  font-size: 56px;
  margin-bottom: 20px;
}

#hero p {
  font-size: 20px;
  color: #444;
  max-width: 800px;
  margin: 0 auto;
}

h3 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  margin-top: 0;
  margin-bottom: 24px;
}

.split-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.feature-image {
  width: 100%;
  max-width: 360px;
  border-radius: 16px;
  display: block;
  margin: 0 auto;
  object-fit: cover;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 24px;
}

.stat-card {
  padding: 24px;
  border-radius: 12px;
  background: #f7f1e8;
  text-align: center;
}

.stat-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  margin: 0 0 10px 0;
}

.stat-card p {
  margin: 0;
  color: #555;
}

.projects-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
}

.project-card {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.project-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  margin: 16px 16px 8px 16px;
}

.project-card p {
  margin: 0 16px 18px 16px;
  color: #555;
}

.pub-list {
  padding-left: 20px;
}

.pub-list li {
  margin-bottom: 16px;
}

.section-intro {
  max-width: 800px;
  color: #555;
  margin-bottom: 24px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  display: block;
}

a {
  color: #111;
}

a:hover {
  opacity: 0.75;
}

@media (max-width: 900px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    margin-top: 12px;
  }

  nav a {
    margin-left: 0;
    margin-right: 16px;
  }

  .split-layout,
  .stats-grid,
  .projects-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  #hero h2 {
    font-size: 40px;
  }

  section {
    padding: 110px 24px 80px 24px;
  }

  header {
    padding: 20px 24px;
  }
}

.pub-list {
  max-width: 800px;
  margin: auto;
}

.pub-list li {
  margin-bottom: 16px;
}


.cv-container {
  text-align: center;
  margin-top: 30px;
}

.cv-button {
  display: inline-block;
  padding: 14px 24px;
  background: #111;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
}

.cv-button:hover {
  background: #333;
}

#news .project-card p:last-child a {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 16px;
  background: #111;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
}

#news .project-card p:last-child a:hover {
  background: #333;
}