:root {
  --bg: #140d0a;
  --bg-alt: #201510;
  --text: #e8dcc8;
  --muted: #a68a63;
  --accent: #d9a441;
  --border: #33241a;
  --max-width: 680px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "SF Mono", "JetBrains Mono", Consolas, Menlo, monospace;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 6rem 1.5rem 4rem;
}

/* Intro */

.intro {
  margin-bottom: 4rem;
}

.avatar {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--accent);
  flex-shrink: 0;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: 2.25rem;
  margin: 0;
  letter-spacing: -0.02em;
}

.name-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.lede {
  color: var(--muted);
  max-width: 52ch;
  margin: 0 0 1.75rem;
}

.btn {
  display: inline-block;
  color: var(--bg);
  background: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.65rem 1.1rem;
  border-radius: 4px;
  transition: opacity 0.15s ease;
}

.btn:hover {
  opacity: 0.85;
}

/* Projects */

.projects h2 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 1.5rem;
  font-weight: 600;
}

.project-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
}

.project {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.project-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.4rem;
}

.project-head a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
}

.project-head a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.project .lang {
  flex-shrink: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.project .meta {
  color: var(--muted);
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
}

.project p {
  color: var(--muted);
  margin: 0;
  font-size: 0.92rem;
}

/* Footer */

.footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

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

.footer .dot {
  margin: 0 0.5rem;
}

@media (max-width: 480px) {
  .wrap {
    padding: 3.5rem 1.25rem 3rem;
  }

  h1 {
    font-size: 1.85rem;
  }

  .project-head {
    flex-direction: column;
    gap: 0.15rem;
  }
}
