/* =========================
   Global
   ========================= */


body {
  margin: 0;
  font-family: "Afacad", sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #000000;
  background: #ffffff;
}

/* Centered page container */
.page {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem 2rem;
}

/* =========================
   Hero layout
   ========================= */

.hero {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

/* stack on mobile */
@media (max-width: 800px) {
  .hero {
    flex-direction: column;
  }
}

/* =========================
   Avatar
   ========================= */

.avatar {
  width: 180px;
  height: 180px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

/* =========================
   Typography
   ========================= */

h1 {
  font-size: 2.2rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-top: 3rem;
}

p {
  font-family: "Figtree", sans-serif;
  font-weight: 400;
  color: #000000;
}
/* =========================
   Links
   ========================= */

nav {
    margin-top: 1rem;
}

nav a {
    display: block;
    margin-bottom: 0.02rem;
    color: #2563eb;
    text-decoration: none;
}

nav a:hover {
  text-decoration: underline;
}

details {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 1rem;
}

summary {
  font-family: "Figtree", sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

summary:hover {
  color: #2563eb;
}

details[open] summary {
  margin-bottom: 1rem;
}