:root {
  --bg: rgb(252, 255, 250);
  --fg: #000;
  --accent: #3d612c;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

.page {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem 1.5rem 5rem;
}

.sitenav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7e0;
}

.sitenav .brand {
  color: var(--fg);
  font-weight: 600;
  font-size: 1.4rem;
}

.sitenav .brand:hover {
  text-decoration: none;
}

.navlinks a {
  margin-left: 1.25rem;
}

.project-hero-image {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: 0 auto 1.5rem;
  border-radius: 16px;
}

.project-dates {
  color: #6b7166;
  font-size: 0.9rem;
  margin: -0.5rem 0 1.5rem;
}

.headshot {
  display: block;
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 16px;
  margin: 0 0 1.5rem;
}

h1 {
  font-weight: 400;
  font-size: 2rem;
  margin: 0 0 1rem;
}

h2 {
  font-weight: 600;
  font-size: 1.15rem;
  margin: 2.5rem 0 0.75rem;
}

a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

p {
  margin: 0 0 1rem;
}

.contact {
  margin-bottom: 1.5rem;
}

.contact a {
  display: inline-block;
}

.entry {
  margin-bottom: 1.25rem;
}

.entry-with-image {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.entry-with-image .entry-image {
  flex-shrink: 0;
  width: 108px;
  height: 108px;
  object-fit: cover;
  border-radius: 16px;
  margin: 0;
}

.entry-body {
  flex: 1;
}

.entry-body p:last-child {
  margin-bottom: 0;
}

.entry-body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.project-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: var(--fg);
  text-decoration: none;
  padding: 0.75rem;
  margin: 0 -0.75rem 0.5rem;
  border-radius: 12px;
  transition: background 0.15s ease;
}

.project-card:hover {
  background: #f0f2ec;
  text-decoration: none;
}

.project-card .entry-image {
  flex-shrink: 0;
  width: 108px;
  height: 108px;
  object-fit: cover;
  border-radius: 16px;
}

.project-card .entry-body p,
.project-card .entry-body h3 {
  color: var(--fg);
}

.project-card .award {
  color: #6b7166;
  font-size: 0.9rem;
  margin-top: 0.35rem;
}

/* Blog list */
.post-entry {
  margin-bottom: 1.5rem;
}

.post-entry .post-date {
  display: block;
  color: #6b7166;
  font-size: 0.85rem;
  margin-bottom: 0.15rem;
}

.post-entry .post-title {
  font-weight: 500;
  font-size: 1.05rem;
}

.post-entry .post-summary {
  margin: 0.35rem 0 0;
}

/* Blog post */
.post .post-date {
  color: #6b7166;
  font-size: 0.9rem;
  margin: -0.5rem 0 1.5rem;
}

.post h2 {
  margin: 2rem 0 0.75rem;
}

.post pre {
  background: #f0f2ec;
  padding: 1rem;
  border-radius: 8px;
  overflow-x: auto;
}

.post code {
  background: #f0f2ec;
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
  font-size: 0.9em;
}

.post pre code {
  background: none;
  padding: 0;
}

.post img {
  max-width: 100%;
  border-radius: 8px;
}
