:root {
  color-scheme: light;
  --bg: #ffffff;
  --fg: #111111;
  --muted: #555555;
  --line: #e5e5e5;
  --max: 720px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
}

body {
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.5;
}

a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover,
a:focus-visible {
  text-decoration-thickness: 2px;
}

.wrap {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 48px 0 80px;
}

.site-header {
  margin-bottom: 48px;
}

.site-header h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

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

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

.project-list li {
  border-bottom: 1px solid var(--line);
}

.project-list a {
  display: block;
  padding: 16px 0;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
}

.project-list a:hover,
.project-list a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 480px) {
  .wrap {
    width: min(calc(100% - 32px), var(--max));
    padding-top: 36px;
  }

  .site-header h1 {
    font-size: 24px;
  }

  .project-list a {
    font-size: 17px;
  }
}
