.blog-filters {
  display: flex;
  gap: 8px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.filter {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 13px;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: all 0.15s ease;
  background: var(--bone);
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.active { background: var(--ink); color: var(--bone); border-color: var(--ink); }

.featured-post {
  padding: 48px 0 56px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 56px;
}
.featured-meta,
.post-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
}
.featured-meta .cat,
.post-meta .cat { color: var(--ember); font-weight: 600; }
.featured-meta .dot { color: var(--line); }
.featured-post h2 {
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: 1.04;
  margin-bottom: 18px;
  max-width: 22ch;
}
.featured-post .dek {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 56ch;
  margin-bottom: 24px;
}
.read-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  transition: color 0.15s ease;
}
.read-link:hover { color: var(--ember); border-bottom-color: var(--ember); }

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}
.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  transition: transform 0.2s ease;
}
.post-card:hover { transform: translateY(-3px); }
.post-card:hover h3 { color: var(--ember); }
/* The card already animates as one unit, so let the title link cover it. */
.post-card h3 a::after {
  content: '';
  position: absolute;
  inset: 0;
}
.post-card .post-meta { margin-bottom: 14px; }
.post-card h3 {
  font-size: 26px;
  line-height: 1.15;
  margin-bottom: 12px;
  transition: color 0.15s ease;
  min-height: 60px;
}
.post-card .dek {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 20px;
  flex: 1;
}
.post-foot {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}
.arrow-small { color: var(--ember); }

.blog-footer {
  text-align: center;
  padding: 64px 0 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}
.blog-footer a { color: var(--ember); border-bottom: 1px solid var(--ember); }

@media (max-width: 960px) {
  .post-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .post-grid { grid-template-columns: 1fr; }
  .post-card h3 { min-height: 0; }
}
