/* Shared original Peptiqo / Vialtek symbol, paired with distinct wordmarks.
   The mark is the unchanged Peptiqo blue site icon from September 5, 2026. */
.family-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  max-width: 100%;
  color: var(--accent, #2855d9);
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0;
}

.family-brand__mark {
  display: block;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  object-fit: contain;
}

.family-brand__type {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.family-brand__name {
  display: block;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 29px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: -.055em;
  white-space: nowrap;
}

.family-brand--peptiqo .family-brand__name {
  font-size: 27px;
  font-weight: 750;
  letter-spacing: -.05em;
}

.family-brand__descriptor {
  display: block;
  color: var(--muted, #466a99);
  font-size: 8px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.family-brand:hover {
  color: #193ba8;
}

.footer .family-brand__mark {
  width: 44px;
  height: 44px;
}

.footer .family-brand__name {
  font-size: 28px;
}

/* A compact, accessible switch between the two sibling storefronts. */
.brand-switch.family-switch {
  gap: 6px;
  padding: 0 20px;
  background: #f3f7ff;
}

.brand-switch.family-switch .family-switch__link {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 58px;
  padding: 9px 22px;
  border-bottom: 2px solid transparent;
}

.family-switch__mark {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex: 0 0 auto;
}

.family-switch__type {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-switch.family-switch strong {
  color: var(--ink, #10243d);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.025em;
  white-space: nowrap;
}

.brand-switch.family-switch .family-switch__descriptor {
  color: var(--muted, #466a99);
  font-size: 9px;
  line-height: 1.3;
  letter-spacing: .01em;
}

.brand-switch.family-switch .family-switch__link[aria-current="page"] {
  background: #fff;
  border-bottom-color: var(--accent, #2855d9);
}

.brand-switch.family-switch .family-switch__link[aria-current="page"] strong {
  color: var(--accent, #2855d9);
}

.brand-switch.family-switch .family-switch__link:hover {
  background: #fff;
}

/* Optional paired lockups within the existing sibling-brand section. */
.family-pair {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 26px;
  margin: 0 0 24px;
}

.family-pair .family-brand {
  gap: 9px;
}

.family-pair .family-brand__mark {
  width: 42px;
  height: 42px;
}

.family-pair .family-brand__name {
  font-size: 24px;
}

.family-pair .family-brand--peptiqo .family-brand__name {
  font-size: 23px;
}

.family-pair .family-brand + .family-brand {
  padding-left: 26px;
  border-left: 1px solid #c4d8f5;
}

@media (max-width: 1000px) {
  .nav > .family-brand { gap: 9px; }
  .nav .family-brand__mark { width: 41px; height: 41px; }
  .nav .family-brand__name { font-size: 26px; }
}

@media (max-width: 600px) {
  .nav > .family-brand { gap: 8px; }
  .nav .family-brand__mark { width: 38px; height: 38px; }
  .nav .family-brand__name { font-size: 25px; }
  .nav .family-brand__descriptor { font-size: 7px; letter-spacing: .09em; }
  .brand-switch.family-switch { gap: 0; padding: 0; }
  .brand-switch.family-switch .family-switch__link {
    flex: 1 1 0;
    justify-content: center;
    min-width: 0;
    min-height: 55px;
    gap: 8px;
    padding: 9px 10px;
  }
  .family-switch__mark { width: 28px; height: 28px; }
  .brand-switch.family-switch strong { font-size: 11px; }
  .brand-switch.family-switch .family-switch__descriptor { font-size: 8px; }
  .family-pair { gap: 17px; margin-bottom: 22px; }
  .family-pair .family-brand + .family-brand { padding-left: 0; border-left: 0; }
  .family-pair .family-brand__mark { width: 37px; height: 37px; }
  .family-pair .family-brand__name { font-size: 23px; }
  .family-pair .family-brand--peptiqo .family-brand__name { font-size: 22px; }
}

@media (max-width: 360px) {
  .family-brand__descriptor { letter-spacing: .06em; }
  .brand-switch.family-switch .family-switch__link { gap: 6px; padding-inline: 7px; }
  .family-switch__mark { width: 26px; height: 26px; }
}
