:root {
  color-scheme: light;
  --ink: #111111;
  --muted: #626262;
  --paper: #fbfaf7;
  --line: #d9d2c4;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100svh;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", Avenir, "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
}

.nameplate {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 1rem;
}

.identity {
  display: grid;
  justify-items: center;
  gap: 1rem;
  text-align: center;
}

h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.subtitle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 540;
  line-height: 1.2;
}

.subtitle-mark {
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.profile-link {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 50%;
  text-decoration: none;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.profile-link:hover,
.profile-link:focus-visible {
  color: #0969da;
  border-color: currentColor;
  transform: translateY(-1px);
}

.profile-link:focus-visible {
  outline: 3px solid rgba(9, 105, 218, 0.24);
  outline-offset: 4px;
}

.profile-link svg {
  display: block;
  fill: currentColor;
}

.profile-logo {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  object-fit: contain;
}

.projects {
  display: grid;
  justify-items: center;
  gap: 1.15rem;
  margin-top: 0.35rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  text-underline-offset: 0.25rem;
  transition: color 160ms ease, transform 160ms ease;
}

.project-link:hover,
.project-link:focus-visible {
  color: #0969da;
  text-decoration: underline;
  transform: translateY(-1px);
}

.project-link:focus-visible {
  outline: 3px solid rgba(9, 105, 218, 0.24);
  outline-offset: 4px;
}

.project-logo {
  display: block;
  width: 1.375rem;
  height: 1.375rem;
  border-radius: 0.3rem;
  box-shadow: 0 0.25rem 0.9rem rgba(17, 17, 17, 0.1);
  flex: 0 0 auto;
}

.project-link svg {
  display: block;
  fill: currentColor;
  flex: 0 0 auto;
}

@media (min-width: 24rem) {
  .nameplate {
    padding: 1.5rem;
  }

  h1 {
    font-size: 2rem;
  }
}

@media (min-width: 40rem) {
  .identity {
    gap: 1.125rem;
  }

  h1 {
    font-size: 3.75rem;
  }

  .subtitle {
    font-size: 1.05rem;
  }

  .project-link {
    font-size: 1rem;
  }
}
