body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #0d1117;
  color: #c9d1d9;
}

/* ── Header ── */
.site-header {
  background: #161b22;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-name {
  color: #39d353;
  font-weight: bold;
  font-size: 16px;
  font-family: 'Courier New', Courier, monospace;
}

.site-nav a {
  color: #39d353;
  text-decoration: none;
  margin-left: 24px;
  font-size: 15px;
  font-family: 'Courier New', Courier, monospace;
}

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

/* ── Page layout ── */
.page {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 24px;
}

/* ── Hero ── */
.hero {
  background: #161b22;
  padding: 40px;
  border-radius: 24px;
  text-align: center;
  border-left: 4px solid #39d353;
}

.headshot {
  display: block;
  margin: 16px auto;
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
}

h1 {
  font-size: 48px;
  margin-bottom: 12px;
  text-align: center;
  font-family: 'Courier New', Courier, monospace;
  text-transform: uppercase;
  color: #ffffff;
}

.tagline {
  font-size: 13px;
  color: #39d353;
  font-family: 'Courier New', Courier, monospace;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

/* ── Cards ── */
.card {
  margin-top: 24px;
  background: #161b22;
  padding: 28px;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border-left: 4px solid #39d353;
}

h2 {
  color: #ffffff;
  margin-top: 0;
}

#education h3 {
  color: #ffffff;
  font-size: 16px;
  margin: 0 0 8px 0;
}

#education ul {
  margin-top: 0;
}

/* ── Projects ── */
.project-grid {
  display: flex;
  gap: 20px;
  margin-top: 16px;
}

.project-card {
  flex: 1;
  background: #161b22;
  padding: 24px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border-top: 3px solid #39d353;
  transition: transform 0.2s, box-shadow 0.2s;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.5);
}

.project-tag {
  display: inline-block;
  background: #0d1117;
  color: #39d353;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  border: 1px solid #39d353;
}

.project-card h3 {
  margin: 0 0 8px 0;
  font-size: 18px;
  color: #ffffff;
}

.project-card p {
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* ── Skills ── */
.skill-group {
  margin-top: 20px;
}

.skill-group:first-of-type {
  margin-top: 16px;
}

.skill-label {
  display: block;
  font-family: 'Courier New', Courier, monospace;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8b949e;
  margin: 20px 0 10px 0;
}

.skill-label:first-of-type {
  margin-top: 0;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-badge {
  background: transparent;
  color: #39d353;
  font-size: 14px;
  font-weight: bold;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid #39d353;
  font-family: 'Courier New', Courier, monospace;
}

/* ── Contact ── */
#contact {
  text-align: center;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0 0;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-list a {
  display: inline-block;
  padding: 10px 20px;
  background: #39d353;
  color: #0d1117;
  text-decoration: none;
  border-radius: 999px;
  font-size: 15px;
  font-weight: bold;
}

.contact-list a:hover {
  background: #2ea844;
}

/* ── Footer ── */
.site-footer {
  text-align: center;
  padding: 20px 24px;
  font-size: 13px;
  font-family: 'Courier New', Courier, monospace;
  color: #888;
}

.back-to-top {
  display: inline-block;
  margin-top: 8px;
  color: #39d353;
  text-decoration: none;
}

.back-to-top:hover {
  text-decoration: underline;
}

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

  .site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 12px;
  }

  .site-nav a {
    margin-left: 0;
    padding: 6px 4px;
  }

  .page {
    padding: 32px 16px;
  }

  .hero {
    padding: 28px 20px;
  }

  .card {
    padding: 20px;
  }

  .project-grid {
    flex-direction: column;
  }

  h1 {
    font-size: 32px;
  }
}
