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

:root {
  --bg: #0f0f0f;
  --fg: #e8e8e8;
  --muted: #888;
  --accent: #c8ff00;
  --link: #e8e8e8;
  --link-hover: #c8ff00;
  --max-width: 640px;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Courier New', Courier, monospace;
  font-size: 15px;
  line-height: 1.7;
  padding: 48px 24px 96px;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

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

a:hover {
  color: var(--link-hover);
}

/* Header */

header h1 {
  font-size: 1.1rem;
  font-weight: normal;
  color: var(--accent);
  margin-bottom: 8px;
}

.tagline {
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.3;
  margin-bottom: 16px;
}

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

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

.current a:hover {
  color: var(--link-hover);
}

/* Sections */

section h2 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 20px;
}

/* Projects */

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

.projects li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}

.projects li a {
  font-weight: bold;
  font-size: 1rem;
}

.projects li p {
  color: var(--muted);
  font-size: 0.9rem;
}

.tag {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bg);
  background: var(--accent);
  padding: 1px 6px;
  border-radius: 2px;
  vertical-align: middle;
  margin-left: 6px;
  position: relative;
  top: -1px;
}

/* Contact */

.contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact li {
  display: flex;
  gap: 16px;
}

.contact li span {
  color: var(--muted);
  min-width: 64px;
  font-size: 0.85rem;
}

@media (max-width: 480px) {
  body {
    padding: 32px 16px 64px;
  }

  .tagline {
    font-size: 1.25rem;
  }
}
