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

:root {
  --accent: #c0392b;
  --text: #1a1a1a;
  --muted: #777777;
  --border: #e8e8e8;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: #ffffff;
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 680px;
  margin: 0 auto;
  padding: 72px 24px 96px;
}

/* ── Header ── */

h1 {
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.socials {
  display: flex;
  gap: 18px;
  margin-bottom: 40px;
}

.socials a {
  color: var(--text);
  display: flex;
  align-items: center;
  transition: color 0.15s;
}

.socials a:hover {
  color: var(--accent);
  text-decoration: none;
}

.socials svg {
  width: 18px;
  height: 18px;
}

/* ── Bio ── */

.bio p {
  margin-bottom: 12px;
}

.bio p:last-child {
  margin-bottom: 0;
}

/* ── Sections ── */

section {
  margin-top: 52px;
}

h2 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

/* ── Links ── */

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

a:hover {
  text-decoration: underline;
}

/* ── Experience ── */

.job {
  margin-bottom: 32px;
}

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

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}

.job-title {
  font-weight: 600;
  font-size: 0.9375rem;
}

.job-date {
  font-size: 0.8125rem;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.job-meta {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 2px;
  margin-bottom: 8px;
}

.job ul {
  padding-left: 18px;
}

.job li {
  margin-bottom: 5px;
  font-size: 0.9rem;
  color: #3a3a3a;
}

.job li:last-child {
  margin-bottom: 0;
}

/* ── Projects ── */

.project {
  margin-bottom: 22px;
}

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

.project-title {
  font-weight: 500;
  font-size: 0.9375rem;
}

.project-desc {
  font-size: 0.875rem;
  color: #555;
  margin-top: 2px;
}

.project-tags {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 3px;
}

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

/* ── Lectures ── */

.lecture {
  margin-bottom: 16px;
}

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

.lecture-title {
  font-weight: 500;
  font-size: 0.9375rem;
}

.lecture-meta {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 2px;
}

/* ── Responsive ── */

@media (max-width: 600px) {
  main {
    padding: 48px 20px 72px;
  }

  h1 {
    font-size: 1.375rem;
  }

  .job-header {
    flex-direction: column;
    gap: 2px;
  }
}
