.brand-lockup {
  --brand-gold: #eac185;
  --brand-ink: #f8ecd5;
  --brand-rule: #cab08165;
  --brand-scale: 2.15rem;
  display: inline-flex;
  align-items: center;
  gap: .61rem;
  width: fit-content;
  min-height: 2.75rem;
  color: var(--brand-ink);
  white-space: nowrap;
  text-decoration: none;
}
.brand-lockup-light {
  --brand-gold: #78502b;
  --brand-ink: #514236;
  --brand-rule: #9d7e5b70;
}
.brand-lockup-small { --brand-scale: 1.68rem; min-height: 2.25rem; }
.brand-lockup .brand-emblem {
  flex: none;
  display: block;
  width: 2.9rem;
  height: 2.9rem;
  object-fit: contain;
}
.brand-lockup-small .brand-emblem { width: 2.28rem; height: 2.28rem; }
.brand-latin {
  color: var(--brand-gold);
  font: italic 700 var(--brand-scale)/.97 Georgia, Cambria, "Times New Roman", serif;
  letter-spacing: -.04em;
}
.brand-cjk {
  border-inline-start: 1px solid var(--brand-rule);
  padding-inline-start: .67rem;
  color: var(--brand-ink);
  font: 700 calc(var(--brand-scale) * .49)/1.17 "Noto Serif CJK SC", "Songti SC", "STSong", SimSun, serif;
  letter-spacing: .13em;
}
.portal-heading img { max-height: min(23svh, 14.2rem); }
.portal-brand-subtitle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  margin: .45rem 0 0;
  color: #56341e;
  font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  line-height: 1.25;
  letter-spacing: .19em;
  text-shadow: 0 1px 3px #fff9ed, 0 0 12px #fff0ca;
}
.portal-brand-subtitle::before, .portal-brand-subtitle::after {
  content: "";
  width: clamp(1.25rem, 3.1vw, 2.35rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, #986735af);
}
.portal-brand-subtitle::after { transform: rotate(180deg); }
@media (max-width: 650px) {
  .brand-lockup { --brand-scale: 1.87rem; }
  .brand-lockup-small { --brand-scale: 1.5rem; }
  .brand-lockup .brand-emblem { width: 2.45rem; height: 2.45rem; }
  .brand-lockup-small .brand-emblem { width: 2rem; height: 2rem; }
}
