:root {
  --ink: #000;
  --muted: #6b6b6b;
  --bg: #fff;
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 17px;
  line-height: 28px;
}

a {
  color: inherit;
  text-decoration: underline 1px;
  text-underline-position: from-font;
}

.page {
  display: flex;
  flex-direction: column;
  gap: 112px;
  max-width: calc(240px + 640px + 24px);
  padding: 96px 24px 96px 240px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 15px;
  line-height: 20px;
}

.wordmark {
  font-weight: 600;
  text-decoration: none;
}

.links {
  display: flex;
  gap: 28px;
}

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

.links a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline 1px;
}

.intro {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

h1 {
  font-size: 40px;
  line-height: 48px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.label {
  font-weight: 400;
  color: var(--muted);
  font-size: 15px;
  line-height: 20px;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.row {
  display: flex;
  gap: 24px;
  align-items: baseline;
  line-height: 26px;
}

.row .name {
  width: 120px;
  flex-shrink: 0;
}

.project .name {
  font-weight: 600;
}

.project .desc {
  flex: 1;
}

.project .year {
  width: 88px;
  flex-shrink: 0;
  text-align: right;
  color: var(--muted);
}

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

.elsewhere {
  gap: 12px;
}

@media (max-width: 900px) {
  .page {
    gap: 64px;
    padding: 40px 24px 64px;
  }

  .intro {
    gap: 16px;
  }

  h1 {
    font-size: 30px;
    line-height: 36px;
  }

  .project {
    flex-direction: column;
    gap: 4px;
  }

  .project .name,
  .project .year {
    width: auto;
    text-align: left;
  }

  .project .year {
    font-size: 15px;
    line-height: 20px;
  }

  .elsewhere .name {
    width: 96px;
  }
}