:root {
  --bg: #fafaf9;
  --text: #1c1c1c;
  --muted: #6b6b6b;
  --accent: #1c1c1c;
  --rule: #e4e4e0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111110;
    --text: #ededeb;
    --muted: #9a9a96;
    --accent: #ededeb;
    --rule: #2a2a28;
  }
}

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

html {
  height: 100%;
}

body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

main {
  flex: 1;
  width: 100%;
  max-width: 34rem;
  margin: 0 auto;
  padding: 22vh 1.5rem 4rem;
}

h1 {
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.tagline {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 1rem;
}

.links {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.15s ease;
}

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

.crumb {
  margin-bottom: 2rem;
}

.crumb a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.15s ease;
}

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

.projects {
  margin-top: 3rem;
}

.projects h2 {
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.projects ul {
  margin-top: 1rem;
  list-style: none;
}

.projects li + li {
  margin-top: 0.5rem;
}

.projects a {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  transition: border-color 0.15s ease;
}

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

footer {
  width: 100%;
  max-width: 34rem;
  margin: 0 auto;
  padding: 0 1.5rem 2rem;
}

footer p {
  color: var(--muted);
  font-size: 0.8125rem;
}
