:root {
  --bg: #f3efe6;
  --ink: #111111;
  --ink-soft: #2c2c2c;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html,
body {
  height: 100%;
}

body {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg);
  color: var(--ink);
  font-family: "Outfit", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: min(100%, 44rem);
  padding: 2rem 1.5rem;
  transform: translateY(-2vh);
}

.name {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-weight: 600;
  font-size: clamp(1.85rem, 6.2vw, 4.5rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  color: var(--ink);
  animation: fade-up 0.8s var(--ease) both;
}

.tagline {
  margin-top: 1rem;
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(0.68rem, 1.35vw, 0.82rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
  animation: fade-up 0.8s var(--ease) 0.1s both;
}

.social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
  margin-top: 2rem;
  animation: fade-up 0.8s var(--ease) 0.2s both;
}

.social-link {
  display: grid;
  place-items: center;
  width: 2.55rem;
  height: 2.55rem;
  border: 1px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  text-decoration: none;
  transition:
    background-color 0.3s var(--ease),
    color 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.social-link svg {
  width: 0.95rem;
  height: 0.95rem;
  fill: currentColor;
}

.social-link svg[fill="none"] {
  fill: none;
}

.social-link:hover {
  background-color: var(--ink);
  color: var(--bg);
  transform: translateY(-1px);
}

.social-link:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

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

@media (prefers-reduced-motion: reduce) {
  .name,
  .tagline,
  .social {
    animation: none;
  }

  .social-link {
    transition: none;
  }
}
