:root {
  --radius: 12px;
  --muted: #666;
  --text: #111;
  --bg: #fafafa;
  --accent: #0057b8;
  --accent-hover: #004399;
  --container: 720px;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.container {
  width: min(90%, var(--container));
  margin-inline: auto;
  padding: 1.5rem 0;
}

.site-header {
  background: white;
  border-bottom: 1px solid #ddd;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.brand img {
  border-radius: 50%;
}

.brand .title span {
  display: block;
  font-size: .9rem;
  color: var(--muted);
}

.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.primary-nav a {
  text-decoration: none;
  color: var(--accent);
  font-weight: 600;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--accent-hover);
  text-decoration: underline;
}

.site-footer {
  border-top: 1px solid #ddd;
  text-align: center;
  padding: 1rem 0;
  color: var(--muted);
  font-size: .9rem;
}

h1, h2 {
  margin-top: 1rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.project-figure {
  overflow: hidden;
  border-radius: var(--radius);
}

.site-header .profile-pic {
  width: 72px !important;
  height: 72px !important;
  flex: 0 0 72px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.site-header img {
  max-height: 64px;
  height: auto;
}
