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

:root {
  --black: #000;
  --white: #fff;
  --gray: #666;
  --gray-soft: #333;
  --border-light: #eee;
  --max-width: 640px;
  --font-mono: 'Roboto Mono', 'Courier New', monospace;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html {
  font-size: 16px;
}

body {
  background: var(--white);
  color: var(--black);
  font-family: var(--font-sans);
  line-height: 1.6;
  padding: 3rem 1.5rem;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
}

h1 {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

h2 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

p {
  color: var(--gray-soft);
  margin-bottom: 1rem;
}

a {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--gray);
}

section {
  margin-bottom: 3rem;
}

.subtitle {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--gray);
  margin-bottom: 1.25rem;
}

.hero-row {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.social {
  display: flex;
  gap: 1rem;
  list-style: none;
}

.social a {
  color: var(--black);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.social a:hover {
  color: var(--gray);
}

.job {
  margin-bottom: 2rem;
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.1rem;
}

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

.job-company a {
  text-decoration: none;
  color: var(--black);
}

.job-company a:hover {
  color: var(--gray);
}

.job-dates {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gray);
  white-space: nowrap;
}

.job-title {
  font-size: 0.875rem;
  color: var(--gray);
  margin-bottom: 0.4rem;
}

footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.4rem;
  }

  .job-header {
    flex-direction: column;
    gap: 0.1rem;
  }
}

.muted {
  color: var(--gray);
}
