* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #3d3d3d;
  background: #e8e6e1;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #3d3d3d;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 2.5rem;
}

.nav a {
  color: #6b6b6b;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: #3d3d3d;
}

/* Hero */
.hero {
  padding: 8rem 2.5rem 10rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #7a7a7a;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: #3d3d3d;
}

.hero-desc {
  font-size: 1.2rem;
  color: #5c5c5c;
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.cta {
  display: inline-block;
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1rem;
  color: #3d3d3d;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid #5c5c5c;
  transition: opacity 0.2s;
}

.cta:hover {
  opacity: 0.7;
}

/* Sections */
.section {
  padding: 5rem 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section h2 {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #7a7a7a;
  margin-bottom: 2rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.about-grid p {
  color: #5c5c5c;
  font-size: 1.05rem;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.skills span {
  font-size: 0.9rem;
  color: #6b6b6b;
  padding: 0.4rem 0.85rem;
  background: #d8d6d1;
  border-radius: 4px;
}

/* Projects */
.project-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid #c9c7c2;
}

.project {
  display: block;
  padding: 1.75rem 0;
  border-bottom: 1px solid #c9c7c2;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
}

.project:hover {
  background: rgba(0, 0, 0, 0.03);
}

.project-inactive {
  cursor: default;
  opacity: 0.85;
}

.project-inactive:hover {
  background: transparent;
}

.project-title {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #3d3d3d;
  margin-bottom: 0.25rem;
}

.project-desc {
  font-size: 0.95rem;
  color: #6b6b6b;
}

/* Contact */
.contact p {
  color: #5c5c5c;
  margin-bottom: 1.5rem;
}

.contact-links {
  display: flex;
  gap: 2rem;
}

.contact-links a {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  color: #3d3d3d;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid #6b6b6b;
  transition: opacity 0.2s;
}

.contact-links a:hover {
  opacity: 0.6;
}

/* Footer */
.footer {
  padding: 3rem 2.5rem;
  border-top: 1px solid #c9c7c2;
  max-width: 1200px;
  margin: 0 auto;
}

.footer p {
  font-size: 0.9rem;
  color: #7a7a7a;
}

/* Mobile */
@media (max-width: 768px) {
  .header {
    padding: 1.5rem 1.5rem;
  }

  .hero {
    padding: 5rem 1.5rem 6rem;
  }

  .section {
    padding: 4rem 1.5rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
