/* Shared CyberUnion wordmark: English first, Chinese translation second */
.cu-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1.05;
  text-decoration: none;
  color: inherit;
}
.cu-brand--center { align-items: center; text-align: center; }
.cu-brand__en {
  font-family: var(--cu-font-sans, system-ui, sans-serif);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cu-accent, #e5b453);
}
.cu-brand__zh {
  font-family: var(--cu-font-display, "Songti SC", serif);
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--cu-muted, #8a8578);
  font-size: 0.72em;
}
.cu-brand--hero .cu-brand__en {
  font-size: clamp(1.8rem, 5vw, 2.75rem);
  letter-spacing: 0.28em;
  text-shadow: 0 0 12px var(--cu-accent-glow, rgba(229,180,83,.45));
}
.cu-brand--hero .cu-brand__zh {
  font-size: clamp(0.95rem, 2.4vw, 1.15rem);
  letter-spacing: 0.42em;
}
.cu-brand--inline {
  flex-direction: row;
  align-items: baseline;
  gap: 0.55em;
}
.cu-brand--inline .cu-brand__zh {
  font-size: 0.85em;
  letter-spacing: 0.18em;
}

/* Portal topbar lockup: CyberUnion primary */
.portal-shell .brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  text-decoration: none !important;
}
.portal-shell .brand > img {
  width: clamp(148px, 22vw, 210px) !important;
  height: auto !important;
  max-height: 52px !important;
  object-fit: contain !important;
  object-position: left center !important;
}
/* Full lockup lives in the SVG; hide duplicate text label */
.portal-shell .brand__word {
  display: none !important;
}
.portal-shell .brand__product {
  font-size: 11px !important;
  letter-spacing: 0.18em !important;
  color: var(--cu-faint) !important;
  margin-left: 2px !important;
  align-self: flex-end;
  margin-bottom: 4px;
}

/* Login / SSO lockup with leaf mark */
.cu-logo-mark {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}
.cu-logo-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
