html, body {
  background: #f0ece5 !important;
  color: #4c3926;
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.7;
}

body .site-content .ast-container {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
}

/* === WRAPPER === */
.projects-page-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 2rem 6rem;
}

/* === INTRO === */
.projects-intro { margin-bottom: 3rem; }
.back-link {
  display: inline-block;
  margin-bottom: 1.2rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #4c3926;
  text-decoration: none;
  opacity: 0.8;
  transition: color 0.3s, opacity 0.3s;
}
.back-link::before { content: "←"; margin-right: 6px; }
.back-link:hover { color: #bfa17a; opacity: 1; }

.projects-title {
  font-size: clamp(2.6rem, 5vw, 3.2rem);
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 1.2rem 0;
}
.projects-desc {
  font-size: 1.05rem;
  color: rgba(76,57,38,0.75);
  max-width: 760px;
  margin-bottom: 2.5rem;
}

/* === FILTER HEADER === */
.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(76,57,38,0.15);
  padding-bottom: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* DESKTOP RADIO FILTERS */
.filter-bar {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.filter-bar input[type="radio"] { display: none; }
.filter-bar label {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  font-size: .95rem;
  color: rgba(76,57,38,0.55);
  transition: color .25s;
}
.filter-bar label span::before {
  content: "";
  width: 10px; height: 10px;
  border: 2px solid rgba(76,57,38,0.4);
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
  transition: all .25s;
}
.filter-bar input[type="radio"]:checked + span {
  color: #4c3926;
  font-weight: 600;
}
.filter-bar input[type="radio"]:checked + span::before {
  background: #4c3926;
  border-color: #4c3926;
}

/* MOBILE DROPDOWN */
.filter-mobile { display: none; position: relative; }
.filter-mobile select {
  width: 100%;
  padding: .6rem 2rem .6rem .5rem;
  border: none;
  border-bottom: 1px solid rgba(76,57,38,.35);
  background: transparent;
  color: #4c3926;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #4c3926 50%),
    linear-gradient(135deg, #4c3926 50%, transparent 50%);
  background-position: right 1rem center, right .6rem center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.filter-mobile select:focus { outline: 0; border-bottom-color: #bfa17a; }

.post-count { color: rgba(76,57,38,0.7); font-size: .9rem; }

/* === GRID === */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2.5rem;
}

/* === CARD === */
.project-card {
  border-radius: 6px;
  overflow: hidden;
  background: rgba(240,236,229,0.25);
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 22px rgba(0,0,0,0.15);
  background: rgba(240,236,229,0.5);
}
.project-card-img img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  border-radius: 6px 6px 0 0;
  transition: transform 1.1s ease, filter 0.6s ease;
}
.project-card:hover img {
  transform: scale(1.05);
  filter: brightness(1.05);
}
.project-card-info { padding: 1rem 1.2rem 1.5rem; }
.project-card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 1rem;
}
.project-card-title {
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  margin: 0;
  color: #4c3926;
  flex-shrink: 0;
}
.project-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}
.project-card-title a:hover { color: #bfa17a; }
.project-card-meta {
  font-size: 0.9rem;
  color: rgba(76,57,38,0.6);
  white-space: nowrap;
  margin-left: auto;
}
.project-card-meta::before {
  content: "—";
  margin: 0 6px;
  color: #bfa17a;
  font-weight: 300;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .filter-bar { display: none; }
  .filter-mobile { display: inline-block; width: 60%; }
  .filter-header { flex-direction: column; align-items: flex-start; border: none; gap: .75rem; }
  .projects-grid { gap: 1.8rem; }
  .project-card-img img { height: 240px; }
  .project-card-header { flex-direction: column; align-items: flex-start; gap: .3rem; }
  .project-card-meta::before { content: none; }
  .post-count {display:none;}
}
