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

:root {
  --bg: #0a0a0a;
  --text: #e5e5e5;
  --text-muted: #888;
  --text-dim: #555;
  --accent: #a3a3a3;
}

html {
  font-size: 18px;
}

body {
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 680px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

/* Header */
header {
  margin-bottom: 4rem;
}

h1 {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.tagline {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.summary {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 480px;
  line-height: 1.7;
}

.links {
  margin-top: 1.5rem;
  display: flex;
  gap: 1.5rem;
}

.links a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

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

h2 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #1a1a1a;
}

/* Items */
.item {
  margin-bottom: 1.5rem;
}

.item:last-child {
  margin-bottom: 0;
}

.item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.company {
  font-weight: 500;
  font-size: 0.95rem;
}

a.company {
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--text-dim);
  transition: border-color 0.2s;
}

a.company:hover {
  border-color: var(--text);
}

.period {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-dim);
}

.role {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.desc a {
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--text-dim);
  transition: border-color 0.2s, color 0.2s;
}

.desc a:hover {
  color: var(--text);
  border-color: var(--text);
}

/* Compact items */
.item.compact {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.degree {
  font-size: 0.9rem;
}

.note {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 1rem;
}

/* Skills */
.skills {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.skill-group {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
}

.skill-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-dim);
  min-width: 80px;
}

.skill-items {
  color: var(--text-muted);
}

/* Footer */
footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #1a1a1a;
}

footer p {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-dim);
}

/* Responsive */
@media (max-width: 480px) {
  .container {
    padding: 2.5rem 1.25rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  .item-header {
    flex-direction: column;
    gap: 0.15rem;
  }

  .item.compact {
    flex-direction: column;
    gap: 0.15rem;
    align-items: flex-start;
  }

  .skill-group {
    flex-direction: column;
    gap: 0.25rem;
  }

  .skill-label {
    min-width: auto;
  }
}

