body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #1a1a1a;
  background: #fff;
}

main {
  max-width: 34rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 8vh, 5rem) 1.5rem 4rem;
}

.photo {
  display: block;
  width: 5rem;
  height: 5rem;
  margin-bottom: 1rem;
  border-radius: 50%;
}

h1 {
  margin: 0;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.tagline {
  margin: 0.5rem 0 0;
  color: #666;
}

.tagline .role {
  display: block;
  color: #1a1a1a;
}

section {
  margin-top: 3rem;
}

h2 {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
}

p {
  margin: 0 0 1rem;
}

section p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
}

ul.stack {
  flex-direction: column;
  gap: 0.75rem;
}

.detail {
  font-size: 0.9375rem;
  color: #666;
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: #bbb;
  text-underline-offset: 0.2em;
}

li.socials {
  display: flex;
  align-items: center;
  flex-basis: 100%;
  gap: 1.25rem;
  margin-top: 0.25rem;
}

a.icon {
  display: inline-flex;
  padding: 0.625rem;
  margin: -0.625rem;
  color: #555;
}

a.icon:hover {
  color: #1a1a1a;
}

a.icon svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

a.icon svg.wide {
  width: 2.1rem;
  height: 0.875rem;
}

u {
  text-underline-offset: 0.2em;
  white-space: nowrap;
}

a.flouest {
  color: #7797f2;
  text-decoration-color: #7797f2;
}

a:hover {
  text-decoration-color: currentColor;
}

@media (min-width: 42rem) {
  main {
    max-width: 42rem;
    padding-top: 18vh;
  }

  header,
  section {
    display: grid;
    grid-template-columns: 6.5rem 1fr;
    column-gap: 1.5rem;
    align-items: baseline;
  }

  header {
    align-items: center;
  }

  .photo {
    width: 6.5rem;
    height: 6.5rem;
    margin: 0;
  }

  h2 {
    margin: 0;
  }
}
