:root {
  --bg: #0b0f14;
  --bg-soft: #111822;
  --text: #d8dde4;
  --muted: #acb2bb;
  --heading: #f3f5f8;
  --icon: #cfd5dd;
  --icon-hover: #f4f7fb;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100vh;
}

body {
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(65rem 65rem at -25% 110%, rgba(56, 182, 255, 0.06), transparent 50%),
    radial-gradient(42rem 42rem at 115% -10%, rgba(137, 87, 255, 0.06), transparent 50%),
    linear-gradient(160deg, var(--bg-soft) 0%, var(--bg) 40%, #090d12 100%);
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1.5rem;
}

.profile {
  width: min(38rem, 100%);
  text-align: center;
  animation: fade-up 500ms ease-out both;
}

.avatar {
  display: block;
  width: clamp(6.75rem, 16vw, 8rem);
  height: clamp(6.75rem, 16vw, 8rem);
  margin: 0 auto;
  border-radius: 0.65rem;
  object-fit: cover;
  box-shadow: 0 18px 44px -28px rgba(0, 0, 0, 0.85);
}

.nameplate {
  margin-top: 1.8rem;
  display: block;
}

h1 {
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(2rem, 4.8vw, 2.7rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--heading);
}

.blurb {
  margin: 1.85rem auto 0;
  width: min(32rem, 100%);
  font-size: clamp(1.22rem, 2.55vw, 1.6rem);
  line-height: 1.44;
  color: var(--muted);
}

.social-links {
  margin: 2.2rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-links a {
  width: 2.65rem;
  height: 2.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--icon);
  border-radius: 999px;
  text-decoration: none;
  transition:
    color 150ms ease,
    transform 150ms ease,
    background-color 150ms ease;
}

.social-links a svg {
  width: 1.32rem;
  height: 1.32rem;
  fill: currentColor;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: var(--icon-hover);
  background: rgba(244, 247, 251, 0.06);
  transform: translateY(-1px);
}

.social-links a:focus-visible {
  outline: 2px solid rgba(117, 208, 255, 0.55);
  outline-offset: 1px;
}

@keyframes fade-up {
  from {
    transform: translateY(8px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 30rem) {
  .nameplate {
    margin-top: 1.4rem;
  }

  .social-links {
    margin-top: 1.8rem;
    gap: 0.7rem;
  }

  .social-links a {
    width: 2.35rem;
    height: 2.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .profile {
    animation: none;
  }

  .social-links a {
    transition: none;
  }
}
