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

a {
  text-decoration: none;
}

html {
  color-scheme: light;
}

body {
  font-family: "CMU Serif", "EB Garamond", Georgia, serif;
  background: #f5f5f5;
  color: #1a1a1a;
  min-height: 100vh;
}

/* ── Navigation (vertical sidebar) ── */

nav {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2.5rem 2rem;
}

nav .nav-link {
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.3px;
  text-decoration: none;
  color: #1a1a1a;
  cursor: pointer;
}

nav .nav-link:hover {
  color: #555;
}

nav .nav-link.active {
  font-weight: 500;
}

/* ── Main content ── */

.content {
  width: 380px;
  margin-left: auto;
  margin-right: 2rem;
  padding: 4.25rem 0 4rem;
  line-height: 1.75;
}

.content h1 {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.content p {
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.2px;
  margin-bottom: 0.25rem;
  color: #2a2a2a;
}

.content img {
  width: 100%;
  margin-bottom: 1.5rem;
}

.content a {
  color: #1a1a1a;
  text-decoration: none;
}

.content a:hover {
  color: #555;
}

/* ── About expandable bio ── */

.about-more {
  margin-top: 0.75rem;
}

.about-more summary {
  list-style: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.2px;
  color: #2a2a2a;
  user-select: none;
}

.about-more summary::-webkit-details-marker {
  display: none;
}

.about-more summary:hover {
  color: #555;
}

.about-more[open] .about-more-label-closed {
  display: none;
}

.about-more:not([open]) .about-more-label-open {
  display: none;
}

.about-more > p {
  margin-top: 0.65rem;
  margin-bottom: 0;
}

.about-email {
  margin-top: 1rem;
}

details.about-more[open] + .about-email {
  margin-top: 0.25rem;
}

/* ── Works list ── */

.works-list {
  list-style: none;
  padding: 0;
}

.works-list li {
  margin-bottom: 2rem;
}

.works-list li h2 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.works-list li p {
  font-size: 1rem;
  color: #555;
}

/* ── Agenda entries ── */

.agenda-heading {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.85rem;
  color: #1a1a1a;
  letter-spacing: 0.3px;
}

.agenda-entry {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #2a2a2a;
}

.agenda-date {
  color: #888;
  margin-right: 0.4rem;
}

/* ── Responsive ── */

@media (max-width: 600px) {
  nav {
    position: static;
    flex-direction: row;
    gap: 2rem;
    padding: 1.5rem 1.2rem 1.2rem;
  }

  .content {
    width: 100%;
    margin-left: 0;
    padding: 1rem 1.2rem 3rem;
  }
}
