:root {
  --bg: #0f1115;
  --bg-alt: #161922;
  --text: #e7e9ee;
  --text-muted: #a3a8b4;
  --accent: #6ee7b7;
  --max-width: 960px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header */
.site-header {
  border-bottom: 1px solid #232734;
  padding: 16px 0;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.25rem;
}

.site-header nav a {
  margin-left: 24px;
  color: var(--text);
  font-weight: 500;
}

/* Hero */
.hero {
  padding: 80px 0;
  text-align: center;
}

.hero h2 {
  font-size: 2.25rem;
  margin-bottom: 16px;
}

.hero .tagline {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

/* About */
.about {
  padding: 60px 0;
  background: var(--bg-alt);
}

.about h2,
.projects h2,
.contact h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.about p {
  color: var(--text-muted);
  max-width: 720px;
}

/* Projects */
.projects {
  padding: 60px 0;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.project-card {
  background: var(--bg-alt);
  border: 1px solid #232734;
  border-radius: 8px;
  padding: 24px;
}

.project-thumb {
  width: 100%;
  height: 120px;
  object-fit: contain;
  background: var(--bg);
  border-radius: 4px;
  margin-bottom: 16px;
  padding: 12px;
}

.project-card h3 {
  margin-bottom: 8px;
}

.project-card p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* Contact */
.contact {
  padding: 60px 0;
  background: var(--bg-alt);
}

/* Footer */
.site-footer {
  padding: 24px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Mobile */
@media (max-width: 600px) {
  .site-header .container {
    flex-direction: column;
    gap: 8px;
  }

  .site-header nav a {
    margin: 0 12px;
  }

  .hero {
    padding: 48px 0;
  }

  .hero h2 {
    font-size: 1.75rem;
  }
}
