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

html,
body {
  height: 100%;
}

body {
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
  padding-bottom: 3vh;
}

.container {
  width: 100%;
  max-width: 640px;
  text-align: center;
}

.header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.avatar {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 9999px;
  object-fit: cover;
}

.name {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
  color: #18181b;
  letter-spacing: -0.025em;
  margin-top: 1rem;
}

.subtitle {
  font-size: 0.875rem;
  line-height: 1.375;
  color: #71717a;
  margin-top: 0.375rem;
}

.subtitle.italic {
  font-style: italic;
  margin-top: 0.125rem;
}

.email {
  display: inline-block;
  margin-top: 0.75rem;
  color: #71717a;
  text-decoration: none;
  transition: color 0.15s ease;
}

.email:hover {
  color: #18181b;
}

.link-blue {
  color: #3b82f6;
  text-decoration: none;
}

.link-blue:hover {
  text-decoration: underline;
}

.divider {
  border-top: 1px solid #f4f4f5;
  margin: 1.5rem 0;
}

.links {
  display: inline-flex;
  flex-direction: column;
  gap: 2.5rem;
  text-align: left;
}

.col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.link {
  display: block;
  font-size: 1rem;
  line-height: 1.5rem;
  color: #18181b;
  text-decoration: none;
  transition: color 0.15s ease;
}

.link:hover {
  color: #71717a;
}

.sublink {
  margin-left: 1.25rem;
  font-size: 0.8125rem;
  color: #52525b;
}

.sublink + .sublink {
  margin-top: -0.5rem;
}

@media (min-width: 640px) {
  .links {
    flex-direction: row;
    align-items: flex-start;
    gap: 7rem;
  }
}

/* ---------- My Story page ---------- */

.story {
  min-height: 100vh;
  background: #ffffff;
}

.story-inner {
  max-width: 42rem;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  color: #a1a1aa;
  text-decoration: none;
  margin-bottom: 3rem;
  transition: color 0.15s ease;
}

.back-link:hover {
  color: #18181b;
}

.story-title {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  color: #18181b;
  letter-spacing: -0.025em;
  margin-bottom: 3rem;
}

.story-intro {
  font-size: 0.875rem;
  line-height: 1.625;
  color: #71717a;
  margin-bottom: 3rem;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.entry {
  border-bottom: 1px solid #f4f4f5;
  padding-bottom: 1.5rem;
}

.entry-year {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.year {
  font-size: 0.875rem;
  font-weight: 700;
  color: #18181b;
  flex-shrink: 0;
}

.entry-body {
  font-size: 0.875rem;
  line-height: 1.625;
  color: #71717a;
}

.entry-body strong {
  color: #18181b;
  font-weight: 600;
}

.inline-link {
  color: #18181b;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: #d4d4d8;
  transition: text-decoration-color 0.15s ease;
}

.inline-link:hover {
  text-decoration-color: #18181b;
}

.other-things {
  margin-top: 3.5rem;
  border-top: 1px solid #f4f4f5;
  padding-top: 2rem;
}

.other-title {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 700;
  color: #18181b;
  margin-bottom: 1rem;
}

.other-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #71717a;
}

@media (min-width: 768px) {
  .story-inner {
    padding: 6rem 1.5rem;
  }
  .story-title {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}
