/* /explore — EXPLORE-BRIEF 8a (candidate directory). White ground; centered header; 64px search pill; filter
   chip; profile cards on the shared .card frame. Tokens only; breakpoints 560/760/1040 only. */

/* canonical §2.14.4 header — no eyebrow (§2.13), no header spark (cards carry the mark); H1 → lede. 640 axis, 76/40. */
.explore-head{text-align:center;max-width:640px;margin:0 auto;padding:76px 0 40px}
body.mktg .explore-head .explore-h1{margin:0;font-family:var(--font-display);font-weight:600;font-size:clamp(34px,5.2vw,56px);line-height:1.04;letter-spacing:-.02em;color:var(--ink)}
.explore-lede{margin:20px auto 0;max-width:620px;font-size:17px;line-height:1.6;color:var(--muted)}
.explore-secondary{margin:14px 0 0;font-size:15px;line-height:1.6;color:var(--muted)}
.explore-secondary .link{color:var(--accent-strong);font-weight:var(--fw-medium);text-decoration:none}
.explore-secondary .link:hover{text-decoration:underline}

/* search bar — 640x64 pill with inset 48px primary submit */
.explore-search{display:flex;align-items:center;gap:8px;max-width:640px;margin:36px auto 0;padding:0 8px 0 26px;height:64px;border:1px solid var(--line-strong);border-radius:var(--r-pill);background:var(--surface);box-shadow:var(--shadow-soft-lg)}
.explore-search:focus-within{border-color:var(--accent)}
.explore-search input{flex:1 1 auto;min-width:0;border:0;background:transparent;font:inherit;font-size:15.5px;color:var(--ink)}
.explore-search input::placeholder{color:var(--muted)}
.explore-search input:focus-visible{outline:none}
.explore-search__btn{flex:none;height:48px;min-height:48px;padding:0 22px;border-radius:var(--r-pill);background:var(--accent);color:var(--on-accent);font-weight:600;font-size:15px;border:0;cursor:pointer}
.explore-search__btn:hover{background:var(--accent-strong)}
.explore-search__btn:focus-visible{outline:3px solid var(--accent);outline-offset:2px}

/* filter row — ward select · program toggle chip · results count */
.explore-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px;margin:20px 0 0}
.explore-ward{height:44px;padding:0 34px 0 16px;border:1px solid var(--line-strong);border-radius:var(--r-pill);background:var(--surface);font:inherit;font-size:14px;font-weight:var(--fw-medium);color:var(--ink);cursor:pointer}
.explore-ward:hover{border-color:var(--muted)}
.explore-ward:focus-visible{outline:3px solid var(--accent);outline-offset:2px;border-color:var(--accent)}
.explore-chip{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 18px;border:1px solid var(--line-strong);border-radius:var(--r-pill);font-size:14px;font-weight:var(--fw-medium);color:var(--ink);cursor:pointer}
.explore-chip:focus-within{outline:3px solid var(--accent);outline-offset:2px}
.explore-chip__check{width:12px;height:8px;display:none}
/* selected state: 1.5px --accent + --accent-wash + --accent-strong + a leading check stroke */
.explore-chip:has(input:checked){border:1.5px solid var(--accent);background:var(--accent-wash);color:var(--accent-strong);font-weight:600}
.explore-chip:has(input:checked) .explore-chip__check{display:inline-block;border-left:2px solid var(--accent-strong);border-bottom:2px solid var(--accent-strong);transform:rotate(-45deg);margin-top:-3px}
.explore-count{font-size:13.5px;font-weight:var(--fw-medium);color:var(--muted);font-variant-numeric:tabular-nums}

/* empty-state (8a §4) — flat cobalt band at --r-xl, left-aligned, spark + white text (the page's one callout) */
.explore-empty{display:flex;align-items:center;gap:14px;background:var(--accent);border-radius:var(--r-xl);padding:20px 26px;margin:24px 0 40px}
.explore-empty__spark{flex:none;width:26px;height:26px;background:url("../assets/spark-pride.svg") center/contain no-repeat}
.explore-empty__msg{margin:0;color:var(--on-accent);font-weight:var(--fw-medium);font-size:15.5px;line-height:1.5}

/* results grid + profile cards (8a §5) */
.explore-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:24px;margin:24px 0 84px}
.cand{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-xl);box-shadow:var(--shadow-soft);padding:24px}
.cand__head{display:flex;align-items:center;gap:16px}
.cand__avatar{position:relative;flex:none;width:72px;height:72px}
.cand__photo{width:72px;height:72px;border-radius:50%;border:1px solid var(--line);object-fit:cover;display:block;background:var(--accent-soft);box-sizing:border-box}
.cand__photo--empty{background:var(--accent-soft)}
/* program candidates ONLY — 22px spark corner-pinned top -6 / right -8 (pride-ring retired) */
.cand__spark{position:absolute;top:-6px;right:-8px;width:22px;height:22px;background:url("../assets/spark-pride.svg") center/contain no-repeat}
.cand__id{min-width:0}
.cand__name{margin:0;font-family:var(--font-display);font-weight:600;font-size:19px;line-height:1.2;color:var(--ink)}
.cand__pron{margin:3px 0 0;font-size:13px;color:var(--muted)}
.cand__seat{margin:8px 0 0;font-size:14.5px;font-weight:var(--fw-medium);color:var(--ink-2)}
.cand__foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}
.cand__foot--public{justify-content:flex-end}
.cand__badge{display:inline-flex;align-items:center;height:30px;padding:0 12px;border-radius:var(--r-pill);background:var(--accent-wash);color:var(--accent-strong);font-weight:600;font-size:12.5px}
.cand__foot-right{display:inline-flex;align-items:center;gap:14px;flex-wrap:wrap;justify-content:flex-end}
.cand__site,.cand__help,.cand__join{color:var(--accent-strong);font-weight:var(--fw-medium);font-size:14px;text-decoration:none;white-space:nowrap}
.cand__join{white-space:normal;font-size:13.5px}
.cand__site:hover,.cand__help:hover,.cand__join:hover{text-decoration:underline}

/* Bench View (PLAN_SPEC §8) — the consented "you're not alone" mirror; never a leaderboard. A3 cobalt callout. */
.bench{display:flex;align-items:center;gap:14px;border-radius:var(--r-xl);background:var(--accent);color:var(--on-accent);padding:18px 24px;margin:24px 0 4px;box-shadow:var(--shadow-soft)}
.bench .spark{width:24px;height:24px;flex:none}
.bench__msg{margin:0;font-size:16px;line-height:1.45}
.bench__msg b{font-weight:var(--fw-semibold)}
.explore-profile-nudge .link{color:var(--on-accent);text-decoration:underline;font-weight:var(--fw-semibold);white-space:nowrap}

/* canonical mobile tiers (560/760) — grid steps 3→2→1; card padding tightens ≤560 (Q508) */
@media (max-width:760px){ .explore-grid{grid-template-columns:1fr 1fr} }
@media (max-width:560px){ .explore-head{padding:56px 0 24px} }
@media (max-width:560px){ .explore-grid{grid-template-columns:1fr} }
@media (max-width:560px){
  .cand{padding:18px}
  /* search stacks: input pill + full-width primary pill (home hero rule) */
  .explore-search{flex-direction:column;height:auto;padding:8px;gap:8px;border-radius:var(--r-xl)}
  .explore-search input{width:100%;height:44px;padding:0 14px;border:1px solid var(--line-strong);border-radius:var(--r-pill)}
  .explore-search__btn{width:100%}
}
