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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: #1e1e1e;
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  min-height: 100vh;
}

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

.name {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 32px;
  color: #ffffff;
}

.section-title {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
  margin: 24px 0 12px 0;
}

.bio p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 24px;
  color: #ffffff;
}

a {
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.3);
  transition: border-bottom 0.15s ease;
}

a:hover {
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
}

.essay-list {
  list-style: none;
  margin: 24px 0;
}

.essay-list li {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.7;
}

.essay-list li::before {
  content: "· ";
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb {
  margin-bottom: 24px;
}

.page-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 16px;
}

.subtitle {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
}

.content p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.nf-image {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 32px;
}

.img-row { display: flex; gap: 16px; margin: 24px 0; }
.img-item { flex: 1 1 0; border-radius: 8px; overflow: hidden; }
.img-item img { display: block; width: 100%; height: auto; }

@media (max-width: 768px) {
  .container { padding: 60px 20px; }
  .name { font-size: 28px; margin-bottom: 24px; }
  .section-title, .page-title { font-size: 26px; }
  .bio p, .essay-list li, .content p { font-size: 17px; }
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: flex-start;
  justify-content: center;
  background: #1e1e1e;
  overflow-y: auto;
  z-index: 1000;
}

.modal.open { display: flex; }

.modal-card { max-width: 650px; width: 100%; margin: 48px 0; padding: 0 24px; color: #ffffff; }
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.modal-close { color: #ffffff; border-bottom: 1px dotted rgba(255,255,255,0.3); }
.divider { border: none; border-top: 1px solid rgba(255, 255, 255, 0.15); margin: 24px 0; }
.img-row.stack { flex-direction: column; }
.img-xl img { width: 100%; }
