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

:root {
  --bg: #f8f6f1;
  --ink: #1a1917;
  --muted: #8c8880;
  --rule: #d4d0c8;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Lora', Georgia, serif;
  font-weight: 400;
  line-height: 1.85;
  padding: 80px 48px;
  animation: fadeUp 0.7s ease both;
}

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

.container {
  max-width: 580px;
  margin: 0 auto;
}

/* Header */

header {
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-placeholder {
  width: 100%;
  height: 100%;
  background: var(--rule);
  color: var(--muted);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 300;
  display: none;
  align-items: center;
  justify-content: center;
}

.name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.75rem;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.tagline {
  font-size: 0.8125rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

/* Bio */

.bio p {
  font-size: 0.9375rem;
  line-height: 1.85;
  color: #2a2825;
  margin-bottom: 1.5em;
}

.bio p:last-child {
  margin-bottom: 0;
}

/* Footer */

footer {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  display: flex;
  align-items: center;
  gap: 12px;
}

footer a {
  font-size: 0.875rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1px;
  transition: border-color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

footer a:hover {
  border-color: var(--ink);
}

.sep {
  font-size: 0.75rem;
  color: var(--rule);
}

/* Mobile */

@media (max-width: 540px) {
  body {
    padding: 52px 24px;
  }

  .name {
    font-size: 2rem;
  }
}
