:root {
  --contrast: #222;
  --muted: #575760;
  --border: #eceff1;
  --canvas: #f4f6f8;
  --surface: #fff;
  --accent: #2d5368;
  --max-width: 1200px;
}

.header-inner { min-height: 100px; }
.brand { display: flex; align-items: center; gap: 16px; color: var(--contrast); text-decoration: none; }
.brand img { width: 60px; height: 60px; object-fit: contain; }
.brand span { font-size: 1.5rem; font-weight: 600; }
#site-nav { gap: 0; }
#site-nav a { padding: 20px 24px; font-weight: 400; }
.home-featured { max-width: var(--max-width); margin: 20px auto; padding: 0 20px; }
.home-featured img { width: 100%; max-height: 800px; object-fit: cover; }
.page-shell { display: block; margin-top: 20px; }
.entry, .archive-header { margin-bottom: 20px; }
.entry h1, .entry h2, .archive-header h1 { font-weight: 400; }
.entry h1 { font-size: clamp(2rem, 4vw, 2.55rem); }
.home-intro { padding: 40px; }
.home-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.home-posts .entry { padding: 24px; }
.home-posts .entry h2 { font-size: 1.2rem; }
.home-posts .featured { aspect-ratio: 16 / 10; object-fit: cover; }
.home-posts .byline { display: none; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; }
.footer-inner a { color: var(--muted); }

@media (max-width: 860px) {
  .header-inner { min-height: 90px; }
  #site-nav a { padding: 12px 0; }
  .home-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .brand { gap: 10px; }
  .brand img { width: 48px; height: 48px; }
  .brand span { font-size: 1.25rem; }
  .home-featured { margin-top: 12px; padding: 0 16px; }
  .home-intro { padding: 24px; }
  .home-posts { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 8px; }
}
