:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #202020;
  background: #fcfcfc;
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
}

* { box-sizing: border-box; }

body { margin: 0; }

.column {
  width: min(31rem, calc(100% - 3rem));
  margin-inline: auto;
  padding-block: clamp(2rem, 10vh, 6rem) 4rem;
}

.mast {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -.025em;
}

.mast img { image-rendering: pixelated; }

main { margin-top: clamp(3.5rem, 10vh, 6.5rem); }

h1, h2, p { margin: 0; }

h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.055em;
}

p {
  font-size: 1.125rem;
  line-height: 1.57;
  letter-spacing: -.016em;
}

p + p { margin-top: 1rem; }

section {
  margin-top: 2.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e0e0e0;
}

h2 {
  margin-bottom: .875rem;
  font-size: .9375rem;
  font-weight: 500;
  letter-spacing: -.01em;
}

.project {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: 1rem;
  color: inherit;
  text-decoration: none;
  background: white;
  border-radius: 8px;
  box-shadow: 0 0 0 1px #0000000f, 0 1px 2px -1px #0000000f, 0 2px 4px #0000000a;
}

.project img { flex: none; }

.project strong {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -.025em;
  text-decoration: underline;
  text-decoration-color: #b9b9b9;
  text-underline-offset: .17em;
}

.description {
  display: block;
  margin-top: .15rem;
  color: #696969;
  font-size: .875rem;
  line-height: 1.45;
}

@media (hover: hover) {
  .project:hover { background: #f4f4f4; }
  .project:hover strong { text-decoration-color: currentColor; }
}

.project:focus-visible {
  outline: 2px solid #202020;
  outline-offset: 3px;
}
