/* =========================================================================
   ep3-filter-chip — restrained chip-group primitive.
   Used on /people.html for category filtering. Per brief §5.4: Inter small,
   navy ink on bone, hairline border, NO Bootstrap pill. Active state: navy
   fill, bone text, gold-hairline underline removed (the fill carries the
   signal).

   All tokens from webshield-navy.css.
   ========================================================================= */

.ep3-chip-group {
  display: flex; flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 920px;
  margin: 0 auto;
}
.ep3-chip {
  appearance: none;
  font-family: var(--ws-font-body);
  font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ws-ink);
  background: var(--ws-surface);
  border: 1px solid var(--ws-rule);
  padding: 8px 14px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.ep3-chip:hover {
  border-color: var(--ws-ink-faint);
}
.ep3-chip[aria-pressed="true"] {
  background: var(--ws-ink);
  color: var(--ws-page);
  border-color: var(--ws-ink);
}
.ep3-chip[aria-pressed="true"]:hover {
  background: var(--ws-ink-deep);
  border-color: var(--ws-ink-deep);
}
.ep3-chip__count {
  font-family: var(--ws-font-mono);
  font-size: 10.5px;
  letter-spacing: var(--ws-tracking-mono);
  color: var(--ws-ink-faint);
  margin-left: 6px;
}
.ep3-chip[aria-pressed="true"] .ep3-chip__count {
  color: var(--ws-accent);
}

/* S·01 — Scroll-spy "you are here" state. Distinct from aria-pressed,
   which is the filter state. is-active is set by IntersectionObserver
   when the chip's section is currently most-visible. Light coral
   underline keeps it readable next to a filtered (navy-filled) chip. */
.ep3-chip.is-active:not([aria-pressed="true"]) {
  border-color: var(--ws-accent);
  box-shadow: inset 0 -2px 0 var(--ws-accent);
}

/* S·02 — Slim divider in the chip row separating governance and
   fellowship chips so the two-act structure is legible from the row
   alone. */
.ep3-chip-divider {
  display: inline-block;
  width: 1px;
  align-self: stretch;
  background: var(--ws-rule);
  margin: 4px 4px;
}
