* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: #1f1f1f;
  -webkit-font-smoothing: antialiased;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
}

.logo {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.35px;
  color: #1f1f1f;
}

.nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav a {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  letter-spacing: -0.35px;
  color: #1f1f1f;
  text-decoration: none;
}

.nav a:hover {
  opacity: 0.7;
}

/* Hero */
.hero {
  padding: 118px 20px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-inner {
  display: flex;
  gap: 71px;
  max-width: 832px;
}

.hero-name {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-name h1 {
  font-family: 'Merriweather', serif;
  font-weight: 400;
  font-size: 30px;
  letter-spacing: -0.75px;
  line-height: 1;
  white-space: nowrap;
}

.subtitle {
  font-family: 'Merriweather', serif;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: -0.375px;
  color: #737373;
  line-height: 1;
}

.hero-bio {
  display: flex;
  flex-direction: column;
  gap: 22px;
  flex: 1;
  min-width: 0;
}

.hero-bio p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: -0.4px;
  line-height: 20px;
  color: #1f1f1f;
}

.highlight {
  color: #737373;
  text-decoration: underline;
  text-underline-offset: 7.5%;
}

.links {
  display: flex;
  gap: 12px;
}

.links a {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  letter-spacing: -0.375px;
  color: #737373;
  text-decoration: underline;
  text-underline-offset: 7.5%;
  line-height: 17px;
}

.links a:hover {
  color: #1f1f1f;
}

/* Projects Grid — Masonry with CSS columns */
.projects {
  padding: 0 20px 150px;
  column-count: 4;
  column-gap: 12px;
}

.project-card {
  break-inside: avoid;
  margin-bottom: 20px;
  width: 100%;
}

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

.card-info {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 12px;
}

.category {
  font-family: 'Merriweather', serif;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: -0.3px;
  color: #737373;
  line-height: 17px;
}

.card-info h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: -0.35px;
  line-height: 17px;
  color: #1f1f1f;
}

.description {
  font-family: 'Merriweather', serif;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: -0.3px;
  line-height: 13px;
  color: #1f1f1f;
}

/* Responsive */
@media (max-width: 1024px) {
  .projects {
    column-count: 3;
  }
}

@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column;
    gap: 32px;
  }

  .projects {
    column-count: 2;
  }
}

@media (max-width: 480px) {
  .projects {
    column-count: 1;
  }

  .hero {
    padding-top: 60px;
  }
}
