/* ==========================================================================
   Shiba Humanity Hub · "The places we're here for" band (who SHH helps)
   Scope: everything lives under .shh-partners so it can't leak into the page.
   Matches live site: near-black ground, zinc text, amber primary, emerald
   accent, rounded-3xl cards, Space Grotesk headings, Inter body.
   Chip classes mirror /workspace/shh-site-ux/hero-four-doors/doors-chips.css
   (.shh-chip--progress / --live). If that file is already on the page, the
   duplicated chip rules below are harmless.
   ========================================================================== */

.shh-partners {
  --p-ink: #fafafa;
  --p-body: #d4d4d8;
  --p-quiet: #a1a1aa;
  --p-faint: #c9c4ba;
  --p-amber: #fbbf24;
  --p-amber-soft: #fde68a;
  --p-emerald: #34d399;
  --p-card: rgba(24, 24, 27, 0.62);
  --p-line: rgba(255, 255, 255, 0.09);
  position: relative;
  padding: 4.5rem 1.25rem 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(60rem 22rem at 50% 0%, rgba(251, 191, 36, 0.07), transparent 70%),
    radial-gradient(40rem 20rem at 85% 100%, rgba(52, 211, 153, 0.05), transparent 70%);
  font-family: var(--font-body);
  color: var(--p-body);
}
.shh-partners *, .shh-partners *::before, .shh-partners *::after { box-sizing: border-box; }

.shh-partners__inner { max-width: 72rem; margin: 0 auto; }

/* ---------- Header ---------- */
.shh-partners__head { max-width: 42rem; margin: 0 auto 2.75rem; text-align: center; }
.shh-partners__eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .875rem; font-weight: 600; letter-spacing: .04em; text-transform: none;
  color: var(--p-emerald);
}
.shh-partners__eyebrow::before,
.shh-partners__eyebrow::after {
  content: ""; width: 1.75rem; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(52, 211, 153, .6));
}
.shh-partners__eyebrow::after { transform: scaleX(-1); }
.shh-partners__title {
  margin: 1rem 0 0;
  font-family: var(--font-head);
  font-weight: 600; font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  line-height: 1.15; letter-spacing: -0.01em; color: var(--p-ink);
}
.shh-partners__lede {
  margin: 1rem auto 0; max-width: 36rem;
  font-size: 1rem; line-height: 1.7; color: var(--p-body);
}
.shh-partners__lede em { font-style: normal; color: var(--p-amber-soft); }

/* ---------- Tiles ---------- */
.shh-partners__grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: .9rem;
  grid-template-columns: 1fr;
}
@media (min-width: 560px)  { .shh-partners__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .shh-partners__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.shh-ptile {
  position: relative; display: flex; flex-direction: column; height: 100%;
  padding: 1.35rem 1.2rem 1.15rem;
  border-radius: 1.5rem;
  background: var(--p-card);
  border: 1px solid var(--p-line);
  box-shadow: 0 0 40px -24px rgba(251, 191, 36, .35);
  transition: border-color .25s ease, transform .25s ease, background-color .25s ease;
}
.shh-ptile:hover { border-color: rgba(251, 191, 36, .32); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .shh-ptile, .shh-ptile:hover { transition: none; transform: none; } }

.shh-ptile__icon {
  width: 2.6rem; height: 2.6rem; border-radius: 999px;
  display: grid; place-items: center;
  color: var(--p-amber);
  background: rgba(251, 191, 36, .08);
  border: 1px solid rgba(251, 191, 36, .22);
}
.shh-ptile__icon svg { width: 1.3rem; height: 1.3rem; }
.shh-ptile__name {
  margin: 1rem 0 0;
  font-family: var(--font-body);
  font-size: 1.02rem; font-weight: 600; line-height: 1.3; color: var(--p-ink);
}
.shh-ptile__line {
  margin: .5rem 0 0; flex-grow: 1;
  font-size: .875rem; line-height: 1.6; color: var(--p-quiet);
}

/* The empty chair: a dashed seat where a real logo will one day sit */
.shh-ptile__seat {
  margin-top: 1.1rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem .5rem;
  min-height: 2.6rem; padding: .45rem .55rem .45rem .75rem;
  border-radius: .9rem;
  border: 1px dashed rgba(255, 255, 255, .16);
  background: rgba(0, 0, 0, .25);
}
.shh-ptile__seat-label { white-space: nowrap; font-size: .875rem; line-height: 1.3; color: var(--p-faint); }

/* ---------- Chips (exact labels; tooltip via title="") ---------- */
.shh-partners .shh-chip {
  display: inline-flex; align-items: center; white-space: nowrap;
  font-size: .875rem; font-weight: 600; letter-spacing: .02em; line-height: 1;
  padding: .3rem .5rem; border-radius: 999px; border: 1px solid transparent; cursor: help;
}
.shh-partners .shh-chip--progress { color: #fde68a; background: rgba(69, 26, 3, .55); border-color: rgba(251, 191, 36, .35); }
.shh-partners .shh-chip--live     { color: #bbf7d0; background: rgba(6, 78, 59, .55);  border-color: rgba(52, 211, 153, .35); }
.shh-partners .shh-chip--planned  { color: #e4e4e7; background: rgba(39, 39, 42, .75); border-color: rgba(161, 161, 170, .35); }

/* ---------- Ask line, actions + honesty note ---------- */
.shh-partners__ask {
  margin: 2.5rem auto 0; text-align: center;
  font-family: var(--font-head);
  font-size: 1.1rem; font-weight: 500; color: var(--p-ink);
}
.shh-partners__actions {
  margin-top: 1rem;
  display: flex; flex-direction: column; align-items: center; gap: .9rem;
}
@media (min-width: 640px) { .shh-partners__actions { flex-direction: row; justify-content: center; } }
.shh-partners__cta {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3rem; padding: .85rem 1.6rem; border-radius: 1.5rem;
  font-weight: 700; font-size: .98rem; text-decoration: none; color: #0f172a;
  background: linear-gradient(145deg, #f59e0b, #fbbf24, #f59e0b);
  box-shadow: 0 10px 30px -12px rgba(251, 191, 36, .6);
  transition: filter .2s ease, transform .2s ease;
}
.shh-partners__cta:hover { filter: brightness(1.06); transform: translateY(-1px); }
.shh-partners__ghost {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: .8rem 1.4rem; border-radius: 1.5rem;
  font-size: .9rem; font-weight: 500; text-decoration: none; color: #d1fae5;
  border: 1px solid rgba(52, 211, 153, .35);
  transition: background-color .2s ease;
}
.shh-partners__ghost:hover { background: rgba(52, 211, 153, .08); }
.shh-partners__cta:focus-visible,
.shh-partners__ghost:focus-visible { outline: 2px solid var(--p-amber); outline-offset: 3px; }

.shh-partners__note {
  max-width: 40rem; margin: 1.6rem auto 0; text-align: center;
  font-size: .875rem; line-height: 1.6; color: var(--p-faint);
}
.shh-partners__note a { color: var(--p-quiet); text-underline-offset: 3px; }

/* ==========================================================================
   LATER STATE: real places we help. Only render a .shh-plogo when the place
   has passed every rule in 4-partners-sponsors.md §3.5 (signed letter,
   written OK to show name/logo, verification logged in the register).
   ========================================================================== */
.shh-partners__wall {
  list-style: none; margin: 0 0 2.5rem; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem;
}
.shh-plogo {
  flex: 0 1 calc(50% - .45rem);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 1.1rem .9rem 1rem; border-radius: 1.25rem;
  background: rgba(250, 250, 250, .04); border: 1px solid var(--p-line);
}
@media (min-width: 768px) { .shh-plogo { flex-basis: 11rem; } }
.shh-plogo__mark {
  height: 3rem; width: 100%; display: grid; place-items: center;
}
.shh-plogo__mark img {
  max-height: 3rem; max-width: 100%; object-fit: contain;
  filter: grayscale(1) brightness(1.6) contrast(.9); opacity: .85;
  transition: filter .25s ease, opacity .25s ease;
}
.shh-plogo:hover .shh-plogo__mark img { filter: none; opacity: 1; }
.shh-plogo__meta { margin-top: .7rem; font-size: .875rem; line-height: 1.4; color: var(--p-quiet); }
.shh-plogo__chips { margin-top: .5rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem; }
