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

:root {
  --text: #1a1a1a;
  --text-secondary: #555;
  --text-tertiary: #888;
  --bg: #fafaf8;
  --accent: #2a2a2a;
  --border: #e0ddd8;
  --quote-bg: #f4f3f0;
}

body {
  font-family: 'EB Garamond', Georgia, serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 640px;
  margin: 0 auto;
  padding: 80px 24px 120px;
}

/* Animations */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Links */
a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}

a:hover {
  text-decoration-color: var(--text);
}

/* Header */
.header {
  margin-bottom: 56px;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 0.8s ease forwards;
}

.header h1 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 0;
}

/* Bio */
.bio {
  font-size: 19px;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 64px;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 0.8s ease 0.15s forwards;
}

/* Interests */
.interests-header {
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 0.8s ease 0.3s forwards;
}

.interest {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateY(16px);
}

.interest:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.interest.visible {
  animation: fadeUp 0.6s ease forwards;
}

.interest-title {
  font-size: 21px;
  font-weight: 500;
  margin-bottom: 12px;
  cursor: default;
  transition: color 0.2s ease;
}

.interest-quote {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-secondary);
  font-style: normal;
}

/* Section labels (shared between pages) */
.section-label {
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  margin-bottom: 24px;
}

/* Back link */
.back {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--text-tertiary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

.back:hover {
  color: var(--text-secondary);
  border-bottom-color: var(--text-tertiary);
}

/* Talks */
.talk-list {
  margin-bottom: 56px;
}

.talk {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateY(16px);
}

.talk:last-child {
  border-bottom: none;
}

.talk.visible {
  animation: fadeUp 0.5s ease forwards;
}

.talk-title a {
  font-size: 19px;
  font-weight: 500;
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}

.talk-title a:hover {
  text-decoration-color: var(--text);
}

.talk-meta {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: 4px;
}

.talk-desc {
  font-size: 16px;
  color: var(--text-secondary);
  margin-top: 6px;
  line-height: 1.65;
}

/* Footer */
.footer {
  margin-top: 80px;
  padding-top: 32px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--text-tertiary);
  opacity: 0;
  transform: translateY(12px);
}

.footer.visible {
  animation: fadeUp 0.6s ease forwards;
}

.footer a {
  color: var(--text-tertiary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.footer a:hover {
  color: var(--text-secondary);
  border-bottom-color: var(--text-tertiary);
}

/* Mobile */
@media (max-width: 640px) {
  .container {
    padding: 48px 20px 80px;
  }

  .header h1 {
    font-size: 24px;
  }

  .bio {
    font-size: 18px;
    margin-bottom: 48px;
  }

  .interest-title {
    font-size: 19px;
  }

  .interest-quote {
    font-size: 16px;
  }

  .talk-title a {
    font-size: 18px;
  }
}
