/* ===========================================================================
   BLAST SHIELD — PARTNER FEDERATION LAYOUT
   Added 2026-10-23. Layout-only for the partners page: a logo plate, a one
   line, and a principal row (real headshot where one exists, a clean initial
   avatar where one does not). Colour comes from the tokens in theme.css and the
   red signal in bs-red.css; nothing new is invented here. Loaded only by
   partners.html. External file, so the page carries zero inline style/script.
   =========================================================================== */

/* Each partner is a .card (keeps the gold top hairline) + accent-red-left
   (adds the red signal rule) from bs-red.css, laid out as a column so the
   principal row always sits on the bottom edge. */
.partner-card { display: flex; flex-direction: column; height: 100%; }

/* ---- logo plate: one fixed frame, every mark centred inside it ----------- */
/* The marks ship with mixed baked grounds (QF on navy, QT on white, the dome
   and the UIP seal on dark discs). A light plate lets every one of them read
   without recolouring anybody's artwork. */
/* The plate is now a LINK: clicking any logo opens that brand's site. It keeps
   the exact plate geometry; only link affordances (no underline, a quiet hover
   lift of the border, a visible keyboard focus ring) are added. */
.partner-logo {
  height: 92px;
  display: flex; align-items: center; justify-content: center;
  background-color: var(--qf-surface);
  border: 1px solid var(--qf-line-soft);
  border-radius: var(--qf-radius);
  padding: 12px 16px;
  margin-bottom: 18px;
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
a.partner-logo:hover { border-color: var(--bs-red); }
a.partner-logo:focus-visible {
  outline: 3px solid var(--bs-red);
  outline-offset: 2px;
}
.partner-logo img {
  max-height: 60px; max-width: 100%; width: auto; height: auto;
  object-fit: contain; display: block;
}

/* TrueGround has no raster logo yet: its own survey-disc mark, inline, tinted
   in ink with a red centre dot so it carries the signal too. */
.partner-logo .disc { width: 62px; height: 62px; color: var(--qf-ink); }
.partner-logo .disc .accent { fill: var(--bs-red); }

/* Deep Blue Krypto logo is pending: a clean serif wordmark stands in, flagged
   in the card with a RELEASE-PENDING tag so it is never mistaken for final. */
.partner-logo .wordmark-ph {
  font-family: var(--qf-wordmark-font);
  text-transform: uppercase; letter-spacing: .06em; font-weight: 700;
  font-size: 1.04rem; line-height: 1.16; text-align: center;
  color: var(--qf-ink);
}

/* ---- body -------------------------------------------------------------- */
.partner-card h3 { margin: 0 0 6px; }
.partner-line { color: var(--qf-fg-muted); margin: 0 0 18px; font-size: .96rem; }

/* ---- principal row: headshot or initial avatar, pinned to the base ------- */
.partner-principal {
  display: flex; align-items: center; gap: 13px;
  margin-top: auto; padding-top: 15px;
  border-top: 1px solid var(--qf-line-soft);
}
.avatar {
  width: 48px; height: 48px; flex: 0 0 48px;
  border-radius: 50%; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background-color: var(--qf-dark);
  color: var(--qf-signal-dark);
  font-weight: 700; font-size: 1.02rem; letter-spacing: .01em;
  border: 2px solid var(--bs-red);           /* the red signal, on every seat */
}
/* The real portraits are square head-and-shoulders crops (320x320). A gentle
   zoom toward the face fills the round seat without cutting the chin or crown. */
.avatar img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1.3); transform-origin: 50% 26%;
}
.partner-person { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.partner-person .pname { font-weight: 700; color: var(--qf-fg); }
.partner-person .prole {
  font-size: .72rem; color: var(--qf-fg-muted);
  text-transform: uppercase; letter-spacing: .09em; margin-top: 2px;
}

/* ---- strengths strip: the positive framing, as three plain keylines ------ */
.fed-strengths { list-style: none; margin: 0; padding: 0; }
.fed-strengths li { padding: 0 0 0 18px; position: relative; margin: 0 0 14px; }
.fed-strengths li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 9px; height: 3px; background-color: var(--bs-red);
}
.fed-strengths strong { display: block; }

/* a small inline note that a real headshot is still needed, kept quiet */
.needs-shot { font-size: .72rem; color: var(--qf-fg-muted); margin: 10px 0 0; font-style: italic; }

/* ---- fact-sheet link: the per-partner link UNDER each card -------------- */
/* Sits at the base of the card, separated by a soft rule, carrying the red
   signal arrow. Each one resolves to factsheets/<partner>.html on THIS host. */
.partner-fact {
  margin: 14px 0 0; padding-top: 13px;
  border-top: 1px solid var(--qf-line-soft);
  font-size: .9rem;
}
.partner-fact a {
  font-weight: 700; letter-spacing: .01em;
  text-decoration: none;
}
.partner-fact a .arr { color: var(--bs-red-text); font-weight: 700; }
.partner-fact a:hover { text-decoration: underline; }
