/* PeptideScope: logo + wordmark + tagline lockup (header, footer; the intro may reuse it).
   v4: a violet rounded-square mark with a white vial, "Peptide" in ink and "Scope" in violet (Nunito
   900), the tagline under it in DM Sans. The tagline is never truncated; on phones it may wrap. */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
  border-radius: var(--radius-s);
}
.brand-mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--primary);
  color: var(--on-primary);
  --mark-liquid: color-mix(in srgb, var(--on-primary) 30%, var(--primary));
}
.brand-mark svg { width: 26px; height: 26px; }
.brand-text { display: inline-flex; flex-direction: column; justify-content: center; gap: 2px; min-width: 0; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.25rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--text);
  white-space: nowrap;
}
.brand-accent { color: var(--primary); }
.brand-tagline {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  line-height: 1.3;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}
@media (max-width: 719.98px) {
  .site-header .brand { gap: 10px; }
  .site-header .brand-mark { width: 36px; height: 36px; border-radius: 11px; }
  .site-header .brand-mark svg { width: 23px; height: 23px; }
  .site-header .brand-word { font-size: 1.125rem; }
  .site-header .brand-tagline { white-space: normal; font-size: 0.75rem; max-width: 26ch; }
}
.brand--footer .brand-mark { width: 48px; height: 48px; border-radius: 14px; }
.brand--footer .brand-mark svg { width: 30px; height: 30px; }
.brand--footer .brand-word { font-size: 1.5rem; }
.brand--footer .brand-tagline { font-size: 0.9375rem; white-space: normal; color: var(--text-2); }
.intro-tagline.brand-tagline { display: block; white-space: normal; font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem); margin: 0.5rem 0 0; }
