/* ── Reset & Base ── */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── Nav ── */

nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e5e5;
  z-index: 100;
}

.nav-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-name {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
}

.nav-links a {
  font-size: 0.875rem;
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #1a1a1a;
}

/* ── Layout ── */

main {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0 3rem;
}

.section:first-child {
  padding-top: 7rem;
}

h2 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 2.5rem;
  color: #1a1a1a;
}

/* ── About ── */

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

.photo {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
}

.about-text h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.about-text p {
  color: #444;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.about-links {
  display: flex;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.about-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #2563eb;
  text-decoration: none;
  transition: color 0.2s;
}

.about-links a:hover {
  color: #1d4ed8;
}

/* ── Timeline ── */

.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: #d4d4d4;
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -2rem;
  top: 6px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #2563eb;
}

.timeline-item:first-child .timeline-marker {
  background: #2563eb;
}

.timeline-date {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  color: #888;
  letter-spacing: 0.02em;
  margin-bottom: 0.25rem;
}

.timeline-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.timeline-content p {
  font-size: 0.925rem;
  color: #555;
  line-height: 1.6;
}

/* ── Writings ── */

.empty-state {
  color: #999;
  font-size: 0.925rem;
  font-style: italic;
}

/* ── Footer ── */

footer {
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  border-top: 1px solid #e5e5e5;
}

footer p {
  font-size: 0.8rem;
  color: #aaa;
}

/* ── Responsive ── */

@media (max-width: 640px) {
  .about-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-links {
    justify-content: center;
  }

  .photo {
    width: 160px;
    height: 160px;
  }

  .about-text h1 {
    font-size: 1.625rem;
  }

  .section:first-child {
    padding-top: 6rem;
  }
}
