:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: #000;
  background: #fff;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html {
  overflow-x: hidden;
  overflow-x: clip;
  overscroll-behavior-x: none;
}
body { margin: 0; font-size: 16px; line-height: 1.5; touch-action: pan-y pinch-zoom; }
main { width: min(700px, calc(100% - 48px)); margin: 88px auto 64px; }
h1 { margin: 0; font-size: 30px; line-height: 1.2; font-weight: 600; letter-spacing: -0.035em; }
.intro { margin: 12px 0 0; }
nav { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 20px; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid #000; outline-offset: 5px; }
section { margin-top: 72px; }
h2 { margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid #000; font-size: 16px; font-weight: 600; }
ul { list-style: none; margin: 0; padding: 0; }
.row { display: grid; grid-template-columns: 1fr 1.7fr auto; align-items: baseline; column-gap: 24px; padding: 10px 0; }
.year { font-variant-numeric: tabular-nums; }
.project-list a { text-decoration: none; }
.project-list a:hover .name, .project-list a:focus-visible .name { text-decoration: underline; text-underline-offset: 4px; }
.external-arrow { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.25; vertical-align: baseline; }
.arrow { justify-self: end; align-self: center; }
footer { margin-top: 72px; font-size: 14px; }

@media (max-width: 600px) {
  main { margin-top: 48px; margin-bottom: 40px; }
  h1 { font-size: 28px; }
  section { margin-top: 48px; }
  .row { grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; padding: 12px 0; }
  .name { grid-column: 1; grid-row: 1; }
  .year, .arrow { grid-column: 2; grid-row: 1; }
  .role, .description { grid-column: 1 / -1; grid-row: 2; margin-top: 2px; font-size: 14px; }
  footer { margin-top: 48px; }
}
