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

:root {
  --white: #ffffff;
  --black: #0d0d0d;
  --orange: #e85d04;
  --grey: #6b6b6b;
  --font: 'Space Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html, body {
  height: 100%;
}

body {
  background-color: var(--white);
  color: var(--black);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 675px;
  margin: 0 auto;
  padding: 96px 32px 80px;
}

/* Header */
header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 38px;
}

.avatar-wrap {
  width: 120px;
  height: 100px;
  overflow: hidden;
  flex-shrink: 0;
  margin-left: -26px;
}

.avatar {
  width: 120px;
  height: 120px;
  object-fit: contain;
  display: block;
  margin-top: -10px;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.header-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.descriptor {
  font-size: 1rem;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.01em;
}

/* Bio */
.bio {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.bio p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--grey);
}

/* Inline bio links */
.bio .inline-link {
  color: var(--black);
  font-weight: 500;
  text-decoration: none;
  position: relative;
}

.bio .inline-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1.5px;
  background-color: var(--orange);
  transition: width 0.2s ease;
}

.bio .inline-link:hover::after {
  width: 100%;
}

.bio .inline-link:hover {
  color: var(--orange);
  transition: color 0.2s ease;
}

/* Links */
.links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--black);
  text-decoration: none;
  letter-spacing: 0.01em;
  position: relative;
}

.links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1.5px;
  background-color: var(--orange);
  transition: width 0.2s ease;
}

.links a:hover::after {
  width: 100%;
}

.links a:hover {
  color: var(--orange);
  transition: color 0.2s ease;
}

/* Responsive */
@media (max-width: 480px) {
  main {
    padding: 64px 24px 60px;
  }

  h1 {
    font-size: 1.625rem;
  }
}
