:root {
  --contrast: #222;
  --muted: #666;
  --border: #eceef1;
  --canvas: #f5f6f7;
  --surface: #fff;
  --accent: #1e73be;
  --max-width: 1200px;
}

.site-header {
  border: 0;
}

.header-inner {
  min-height: auto;
  padding: 22px 20px 20px;
  justify-content: center;
}

.brand-text {
  font-size: 1.55rem;
  font-weight: 600;
}

.site-nav-wrap {
  background: #e9edf3;
}

#site-nav {
  max-width: var(--max-width);
  min-height: 60px;
  margin: 0 auto;
  padding: 0 20px;
  justify-content: center;
  gap: 34px;
}

#site-nav a {
  font-weight: 400;
}

.page-shell {
  margin-top: 20px;
  gap: 20px;
  grid-template-columns: minmax(0, 2.15fr) minmax(280px, .95fr);
}

.entry,
.archive-header,
.sidebar {
  padding: 40px;
}

.entry h1,
.entry h2,
.archive-header h1 {
  font-weight: 400;
}

.entry h2 {
  font-size: clamp(1.8rem, 3vw, 2.25rem);
}

.byline {
  display: none;
}

.card {
  margin-bottom: 20px;
}

.card .featured {
  margin-top: 28px;
}

.card p {
  margin-bottom: 0;
}

.more {
  margin-top: 10px;
}

.sidebar {
  padding: 40px;
}

.sidebar-card h3 {
  font-weight: 400;
}

.sidebar-card p {
  display: none;
}

.site-footer {
  margin-top: 40px;
}

.footer-inner {
  text-align: center;
}

@media (max-width: 860px) {
  .header-inner {
    min-height: 76px;
    justify-content: space-between;
  }

  .site-nav-wrap {
    background: var(--surface);
  }

  #site-nav {
    max-width: none;
    min-height: 0;
    padding: 0 20px 12px;
  }

  #site-nav a {
    border-top-color: var(--border);
  }

  .page-shell {
    margin-top: 16px;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .brand-text {
    font-size: 1.2rem;
  }

  .entry,
  .archive-header,
  .sidebar {
    padding: 24px;
  }
}
