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

html,
body {
  height: 100%;
  margin: 0;
}

body {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  background: #fafafa;
  color: #111;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  min-height: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: max(1.5rem, env(safe-area-inset-top))
    max(1.5rem, env(safe-area-inset-right))
    max(1.5rem, env(safe-area-inset-bottom))
    max(1.5rem, env(safe-area-inset-left));
  text-align: center;
  overflow-x: hidden;
}

.name {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(2.5rem, 11vw, 4.75rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  opacity: 0;
  transform: translateY(16px);
  animation: fade-up 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.08s forwards;
}

.social {
  display: flex;
  gap: 0.75rem;
  padding: 0.5rem;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 3px rgb(0 0 0 / 6%);
  opacity: 0;
  animation: fade-up 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
}

.social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: #f0f0f0;
  color: #111;
  text-decoration: none;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.social a:hover {
  background: #111;
  color: #fff;
  transform: scale(1.05);
}

.social svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: currentColor;
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
