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

/* About card */
.about-card {
  background: var(--bg);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1.5rem;
  align-items: start;
}
.about-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 0.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  color: var(--text-muted);
}
.about-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-name {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 4px;
}
.about-tagline {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}
.about-bio {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-muted);
}
.about-meta {
  display: flex;
  gap: 8px;
  margin-top: 0.9rem;
  flex-wrap: wrap;
}
.meta-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--text-faint);
  background: var(--bg-soft);
  border: 0.5px solid var(--border);
  border-radius: 20px;
  padding: 3px 10px;
}

/* Section label */
.section-label {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.9rem;
}

/* Category grid */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 1.5rem;
}

.cat-card {
  background: var(--bg);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.12s;
}
.cat-card:hover {
  border-color: rgba(0,0,0,0.25);
  transform: translateY(-2px);
}
.cat-card.active {
  border-color: var(--green);
  border-width: 1.5px;
}
.cat-art {
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.birds-bg { background: #EAF3DE; }
.mammals-bg { background: #FAEEDA; }
.reptiles-bg { background: #E6F1FB; }
.amphibians-bg { background: #F1EFE8; }
.cat-foot { padding: 10px 12px 14px; }
.cat-name {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-style: italic;
  font-weight: 400;
  margin-bottom: 2px;
}
.cat-count { font-size: 11px; color: var(--text-faint); }

/* Filter panel */
.filter-panel {
  background: var(--bg);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.fp-header {
  padding: 1rem 1.25rem;
  border-bottom: 0.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.fp-title {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 400;
}
.fp-clear {
  font-size: 11px;
  color: var(--text-faint);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.fp-clear:hover { color: var(--text-muted); }
.fp-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.fp-group {
  padding: 1rem 1.25rem;
  border-right: 0.5px solid var(--border);
}
.fp-group:last-child { border-right: none; }
.fp-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.6rem;
}
.fp-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.ftag {
  font-size: 11.5px;
  padding: 4px 10px;
  border-radius: 20px;
  border: 0.5px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  background: var(--bg);
  transition: all 0.1s;
  user-select: none;
}
.ftag:hover { border-color: rgba(0,0,0,0.2); color: var(--text); }
.ftag.on { background: var(--green-light); border-color: var(--green-mid); color: var(--green-dark); }
.fp-footer {
  padding: 1rem 1.25rem;
  border-top: 0.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.fp-result-count { font-size: 13px; color: var(--text-muted); }
.fp-browse-btn {
  font-size: 13px;
  padding: 7px 18px;
  background: var(--green);
  color: #fff;
  border-radius: var(--radius);
  text-decoration: none;
  font-family: 'Source Serif 4', serif;
  transition: opacity 0.1s;
}
.fp-browse-btn:hover { opacity: 0.88; }