body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #111827;
  background-color: #f9fafb;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  background: #111827;
  color: #f9fafb;
  padding: 1.5rem 0;
  border-bottom: 1px solid #1f2933;
}

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

.header-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.profile-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #374151;
}

.header-text {
  display: flex;
  flex-direction: column;
}

.site-title {
  margin: 0;
  font-size: 1.9rem;
}

.site-subtitle {
  margin: 0.1rem 0;
  font-weight: 500;
  opacity: 0.95;
}

.site-affiliation {
  margin: 0.2rem 0;
  font-size: 0.95rem;
}

.site-affiliation a {
  color: #93c5fd;
  text-decoration: none;
}

.site-affiliation a:hover {
  text-decoration: underline;
}

.site-tags {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: #d1d5db;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.site-nav a {
  color: #e5e7eb;
  text-decoration: none;
  padding-bottom: 0.1rem;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover {
  border-color: #60a5fa;
}

.section {
  margin: 2rem 0;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.section:last-of-type {
  border-bottom: none;
}

h2 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #111827;
}

a {
  color: #2563eb;
}

a:hover {
  text-decoration: underline;
}

ul {
  padding-left: 1.1rem;
}

.coming-soon {
  font-size: 0.95rem;
  color: #6b7280;
  font-style: italic;
}

.site-footer {
  border-top: 1px solid #e5e7eb;
  padding: 1.5rem 0 2rem;
  font-size: 0.9rem;
  color: #6b7280;
  text-align: center;
}

/* Layout tweaks for larger screens */
@media (min-width: 720px) {
  .header-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* Smaller screens: photo above text */
@media (max-width: 500px) {
  .header-left {
    flex-direction: column;
    text-align: center;
  }
  
  .site-nav {
    justify-content: center;
  }
}
