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

:root {
  --bg: #fafafa;
  --text: #111;
  --accent: #166534;
  --muted: #6b7280;
  --border: #e5e7eb;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
}

.site-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  text-decoration: none;
}

nav a {
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
}

nav a:hover {
  color: var(--text);
}

/* Hero */
.hero {
  margin-bottom: 3.5rem;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.hero .tagline {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.hero .bio {
  font-size: 0.975rem;
  color: var(--text);
  margin-bottom: 1.5rem;
  max-width: 560px;
}

.social-links {
  display: flex;
  gap: 1.25rem;
}

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

a:hover {
  text-decoration: underline;
}

.social-links a {
  font-size: 0.9rem;
  font-weight: 500;
}

/* Sections */
section {
  margin-bottom: 3rem;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-variant: small-caps;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

/* Project cards */
.project-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 0.875rem;
}

.project-card h3 {
  font-size: 0.975rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.project-card p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  margin-top: 3rem;
  font-size: 0.8rem;
  color: var(--muted);
}
