.topbar .brand {
  gap: 13px;
  min-width: 0;
}

.topbar .brand-seal {
  flex: 0 0 46px;
  height: 48px;
  border-radius: 7px;
  background: linear-gradient(145deg, #26434a7d, #0e222d5c);
  box-shadow: inset 0 0 0 3px #d9b87812, 0 4px 15px #020f1852;
}

.topbar .brand-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.topbar .brand-text {
  display: block;
  font: 700 28px/1.1 var(--display);
  letter-spacing: .15em;
  white-space: nowrap;
  text-shadow: 0 2px 9px #06161a99;
}

.topbar .brand-sub {
  display: flex;
  align-items: center;
  margin-top: 7px;
  color: #d7bc83;
  font: 600 11px/1 Georgia, serif;
  letter-spacing: .23em;
  white-space: nowrap;
}

.topbar .brand-sub::after {
  content: "";
  width: 24px;
  height: 1px;
  margin-left: 9px;
  background: linear-gradient(90deg, #caa86b, transparent);
}

@media (max-width: 1360px) {
  .topbar .brand-seal { flex-basis: 40px; width: 40px; height: 44px; }
  .topbar .brand-text { font-size: 25px; }
  .topbar .brand-sub { margin-top: 5px; }
}

@media (max-width: 480px) {
  .topbar { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; min-height: 0; row-gap: 9px; }
  .topbar .brand { gap: 8px; }
  .topbar .brand-seal { flex-basis: 35px; width: 35px; height: 40px; }
  .topbar .brand-text { font-size: 22px; }
  .topbar .brand-sub { display: flex; margin-top: 3px; font-size: 9px; letter-spacing: .17em; }
  .topbar .brand-sub::after { display: none; }
  .topbar .brand { grid-column: 1; grid-row: 1; }
  .topbar .header-actions { grid-column: 1; grid-row: 2; justify-content: space-between; }
  .topbar .resources { grid-column: 1; grid-row: 3; scrollbar-width: none; }
  .topbar .resources::-webkit-scrollbar { display: none; }
}
