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

body {
  font-family: "Inter", system-ui, sans-serif;
  background: #e9e5de;
  color: #171717;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  display: flex;
  justify-content: center;
  min-height: 100vh;
}

main {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  overflow: hidden;
  background: #faf8f4;
}

@media (min-width: 640px) {
  main {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  }
}

.hero {
  position: relative;
  height: 62vh;
  min-height: 420px;
  max-height: 640px;
  flex-shrink: 0;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1),
    transparent 45%,
    rgba(0, 0, 0, 0.6)
  );
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.status {
  position: absolute;
  top: 20px;
  left: 20px;
}

.dotwrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.3);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #34d399;
  animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
  }

  100% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
}

.name {
  position: absolute;
  right: 24px;
  bottom: 48px;
  left: 24px;
  color: #fff;
  animation: up 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

h1 {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 64px;
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.01em;
}

h1 em {
  font-style: italic;
}

.loc {
  margin-top: 16px;
}

.card {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  margin-top: -28px;
  padding: 28px 24px 24px;
  border-radius: 32px 32px 0 0;
  background: #faf8f4;
}

.bio {
  color: #525252;
  font-size: 17px;
  line-height: 1.65;
  animation: up 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  padding: 8px;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  background: #fff;
  color: #171717;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: all 0.2s;
}

.btn:hover {
  border-color: #d4d4d4;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn:active {
  transform: scale(0.98);
}

.circle {
  position: absolute;
  left: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border-radius: 999px;
  background: #171717;
  color: #fff;
  transition: transform 0.35s ease;
}

.btn:hover .circle {
  transform: scale(1.08) rotate(-8deg);
}

.circle svg {
  animation: nudge 2.6s ease-in-out infinite;
}

@keyframes nudge {
  0%, 55%, 100% {
    transform: translateX(0);
    opacity: 1;
  }

  70% {
    transform: translateX(18px);
    opacity: 0;
  }

  71% {
    transform: translateX(-18px);
    opacity: 0;
  }

  85% {
    transform: translateX(0);
    opacity: 1;
  }
}

.btn .t {
  padding: 14px 64px;
  font-size: 17px;
  font-weight: 500;
  text-align: center;
}

footer {
  margin-top: 8px;
  padding-top: 8px;
  color: #a3a3a3;
  font-size: 14px;
  text-align: center;
}

@keyframes up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}
