:root {
  --background: #151210;
  --foreground: #ebe2da;
  --muted: rgb(235 226 218 / 0.6);
  --faint: rgb(235 226 218 / 0.4);
  --line: rgb(235 226 218 / 0.1);
  --tag-border: rgb(235 226 218 / 0.15);
  --tag-text: rgb(235 226 218 / 0.7);
  --accent: #f59e0b;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--background);
  color: var(--foreground);
  font-family: "Fira Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--background);
  color: var(--foreground);
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  display: flex;
  min-height: 100vh;
  align-items: center;
  padding: 2.5rem 0;
}

.shell {
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.shell > * + * {
  margin-top: 2rem;
}

.profile {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.avatar {
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  border-radius: 9999px;
  object-fit: cover;
}

.intro > * {
  margin: 0;
}

.intro h1 {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
}

.intro p {
  margin-top: 0.25rem;
  color: var(--muted);
  font-weight: 600;
}

hr {
  height: 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.bio {
  line-height: 1.625;
  text-wrap: pretty;
}

.bio > * {
  margin: 0;
}

.bio > * + * {
  margin-top: 1.5rem;
}

.section-title {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  opacity: 0.5;
}

.skill-groups > * + * {
  margin-top: 1rem;
}

.skill-group > span {
  display: block;
  margin-bottom: 0.375rem;
  color: var(--faint);
  font-size: 0.75rem;
  line-height: 1rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tags span {
  display: inline-flex;
  align-items: center;
  min-height: 1.625rem;
  border: 1px solid var(--tag-border);
  border-radius: 9999px;
  padding: 0.25rem 0.625rem;
  color: var(--tag-text);
  font-size: 0.75rem;
  line-height: 1rem;
}

.projects {
  margin: 0;
  padding: 0;
  list-style: none;
}

.projects > * + * {
  margin-top: 0.75rem;
}

.projects a {
  display: flex;
  flex-direction: column;
}

.project-name {
  color: var(--accent);
  font-weight: 500;
}

.project-name span {
  display: inline-block;
  margin-left: 0.25rem;
  opacity: 0.5;
  transition: opacity 160ms ease;
}

.projects a:hover .project-name {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.projects a:hover .project-name span {
  opacity: 1;
}

.project-description {
  margin-top: 0.125rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  opacity: 0.6;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 1.5rem;
  row-gap: 0.75rem;
}

.footer a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  transition: color 160ms ease;
}

.footer a:hover {
  color: var(--accent);
}

.footer svg {
  flex: 0 0 auto;
}

@media (min-width: 640px) {
  .intro h1 {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}
