@font-face {
  font-family: "Cabinet Grotesk";
  src: url("./fonts/CabinetGrotesk-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Geist";
  src: url("./fonts/Geist-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #fafafa;
  --text-primary: #18181b;
  --text-secondary: #71717a;
  --icon-default: #a1a1aa;
  --icon-hover: #18181b;
}

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

html {
  background: var(--bg);
  color: var(--text-primary);
  font-family: "Geist", system-ui, sans-serif;
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  z-index: 50;
  filter: url(#grain);
}

.blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.blob-1 {
  width: 500px;
  height: 500px;
  top: -10%;
  left: -5%;
  background: radial-gradient(circle, rgba(148, 163, 184, 0.18), transparent 70%);
  animation: drift-1 25s ease-in-out infinite alternate;
}

.blob-2 {
  width: 450px;
  height: 450px;
  bottom: -5%;
  right: -10%;
  background: radial-gradient(circle, rgba(244, 184, 175, 0.15), transparent 70%);
  animation: drift-2 25s ease-in-out infinite alternate;
}

@keyframes drift-1 {
  from { transform: translate(0, 0); }
  to { transform: translate(30px, 20px); }
}

@keyframes drift-2 {
  from { transform: translate(0, 0); }
  to { transform: translate(-25px, -15px); }
}

.card {
  max-width: 600px;
  width: 100%;
  padding: 3rem 2.5rem;
  position: relative;
  box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.06);
}

h1 {
  font-family: "Cabinet Grotesk", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(2.8rem, 8vw, 4.5rem);
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 0;
  color: var(--text-primary);
}

.bio {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 1.25rem 0 0;
  max-width: 45ch;
}

.social {
  display: flex;
  gap: 1.25rem;
  margin-top: 2rem;
  list-style: none;
  padding: 0;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--icon-default);
  transition: color 0.25s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.social-link:hover {
  color: var(--icon-hover);
}

.social-link:active {
  transform: translateY(-1px) scale(0.96) !important;
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.reveal-name {
  animation: reveal 600ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.reveal-bio {
  animation: reveal 600ms cubic-bezier(0.16, 1, 0.3, 1) 150ms both;
}

.reveal-icon-1 { animation: reveal 600ms cubic-bezier(0.16, 1, 0.3, 1) 230ms both; }
.reveal-icon-2 { animation: reveal 600ms cubic-bezier(0.16, 1, 0.3, 1) 310ms both; }
.reveal-icon-3 { animation: reveal 600ms cubic-bezier(0.16, 1, 0.3, 1) 390ms both; }

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-name,
  .reveal-bio,
  .reveal-icon-1,
  .reveal-icon-2,
  .reveal-icon-3 {
    animation: none;
  }
  .blob-1,
  .blob-2 {
    animation: none;
  }
}

@media (max-width: 640px) {
  body {
    padding: 0 1rem;
  }
  .card {
    padding: 2rem 1.5rem;
    box-shadow: none;
  }
  .social-link svg {
    width: 24px;
    height: 24px;
  }
  .social-link:active {
    transform: scale(0.95) !important;
  }
}
