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

:root {
  --bg: #0f0f0f;
  --surface: #181818;
  --border: #2a2a2a;
  --text: #e8e8e8;
  --muted: #888;
  --accent: #7aa2f7;
  --accent-hover: #a5c0ff;
  --font: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', 'Fira Mono', monospace;
}

html {
  font-size: 16px;
  background: var(--bg);
  color: var(--text);
}

body {
  font-family: var(--font);
  line-height: 1.6;
  min-height: 100vh;
}

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

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

.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

/* ── Header ── */
.header {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.header__name {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.header__title {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.header__tagline {
  font-size: 0.875rem;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 0.75rem;
}

.header__links {
  display: flex;
  gap: 1.25rem;
  font-size: 0.875rem;
  font-family: var(--mono);
}

/* ── Summary ── */
.summary {
  margin-bottom: 2.5rem;
  color: #b0b0b0;
  font-size: 0.95rem;
  line-height: 1.75;
}

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

.section__title {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

/* ── Jobs ── */
.job {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.job:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.job__header {
  margin-bottom: 0.75rem;
}

.job__company {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.job__role {
  display: block;
  font-size: 0.9rem;
  color: #c0c0c0;
  margin-top: 0.1rem;
}

.job__meta {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.15rem;
  font-family: var(--mono);
}

.job__bullets {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.job__bullets li {
  font-size: 0.9rem;
  color: #c0c0c0;
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.6;
}

.job__bullets li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--muted);
}

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

.skills__row {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 1rem;
  align-items: baseline;
}

.skills__row dt {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  text-align: right;
  padding-top: 0.05rem;
}

.skills__row dd {
  font-size: 0.875rem;
  color: #c0c0c0;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .page {
    padding: 2.5rem 1.25rem 4rem;
  }

  .skills__row {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .skills__row dt {
    text-align: left;
    color: var(--accent);
    font-size: 0.75rem;
  }
}
