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

/* Design tokens */
:root {
  --bg: #0a0e14;
  --surface: #10151f;
  --border: #1f2733;
  --text: #e4e7eb;
  --text-muted: #8b95a5;
  --accent: #5eead4;

  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
  --font-body: 'Inter', -apple-system, sans-serif;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 1.75rem;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.25rem;
}

p {
  font-family: var(--font-body);
  color: var(--text-muted);
}

nav a {
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-decoration: none;
  margin-right: 1.5rem;
}

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

#projects {
  position: relative;
  max-width: 700px;
  margin: 0 auto 0 0rem;
  padding: 2rem 0 2rem 0.5rem;   /* was 2rem, now 0.5rem */
}

#projects::before {
  content: '';
  position: absolute;
  left: 0.25rem;      /* was 0.5rem */
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.project-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  margin-left: 1rem;      /* was 1.5rem */
  margin-bottom: 2rem;
}

.project-card::before {
  content: '';
  position: absolute;
  left: -1.55rem;      /* recalculated to keep the dot centered on the line */
  top: 1.75rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
}

.resume-cta {
  max-width: 700px;
  margin: 0 auto 0 0rem;
  padding: 0 0 0 0.5rem;
}

.resume-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  transition: border-color 0.2s, color 0.2s;
}

.resume-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.download-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}