/* Shared identity: original symbol + live type. Sizes scale as one lockup. */
:root {
  --brand-blue-deep: #06245c;
  --brand-cyan: #007b9e;
  --brand-line: #00a9d5;
  --brand-paper: #fff;
}
.brand-lockup {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: .65em;
  width: max-content;
  max-width: 100%;
  padding: .6em .75em;
  border: 1px solid #dbeaf2;
  border-radius: 6px;
  background: var(--brand-paper);
  color: var(--brand-blue-deep);
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  box-sizing: border-box;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.brand-lockup:hover, .brand-full:hover { border-color: var(--brand-line); box-shadow: 0 3px 16px rgb(0 169 213 / 16%); }
.brand-lockup:focus-visible, .brand-full:focus-visible, .brand-symbol-link:focus-visible {
  outline: 3px solid var(--brand-line);
  outline-offset: 4px;
}
.brand-mark { display: block; width: 5.4em; height: auto; flex: 0 0 auto; object-fit: contain; }
.brand-divider { align-self: stretch; width: 1px; flex: 0 0 1px; background: var(--brand-line); margin-block: .1em; }
.brand-wordmark { display: grid; gap: .38em; min-width: 0; white-space: nowrap; }
.brand-primary { font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 1.24em; line-height: 1; letter-spacing: -.025em; }
.brand-secondary { display: flex; align-items: center; gap: .55em; color: var(--brand-cyan); font-family: Inter, Arial, sans-serif; font-size: .55em; font-weight: 600; line-height: 1.2; letter-spacing: .14em; }
.brand-secondary::before, .brand-secondary::after { content: ""; flex: 1; height: 1px; min-width: .8em; background: var(--brand-line); }
.brand-full {
  display: inline-block;
  width: min(100%, 340px);
  padding: 17px 18px;
  border: 1px solid #dbeaf2;
  border-radius: 6px;
  background: var(--brand-paper);
  box-sizing: border-box;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.brand-full img { display: block; width: 100%; height: auto; }
.footer-grid > div { min-width: 0; }
.site-header .nav { gap: 18px; }
.site-header .nav-links { gap: clamp(14px, 1.35vw, 26px); white-space: nowrap; }
.site-header .header-actions { flex: 0 0 auto; }
.mobile-panel > .brand-lockup { font-size: 13px; }
.mobile-panel { visibility: hidden; }
.mobile-panel.open { visibility: visible; }
.pre-logo { display: grid; place-items: center; width: 84px; height: 84px; padding: 8px; border-radius: 50%; background: var(--brand-paper); }
.pre-logo img { width: 100%; height: auto; }
.brand-symbol-link { display: inline-block; margin-bottom: 22px; }
.brand-symbol-link img { display: block; width: 100px; height: auto; }
.admin-brand > .admin-brand-mark, .admin-brand.compact > .admin-brand-mark { display: block; width: 76px; height: auto; padding: 7px; background: var(--brand-paper); border-radius: 6px; }
.admin-brand.compact > .admin-brand-mark { width: 64px; }
.admin-brand.compact b { font-size: 10px; letter-spacing: .08em; }

/* Change to the existing mobile navigation before the wider brand crowds links. */
@media (max-width: 1279px) {
  .site-header .nav-links, .site-header .header-actions > .btn { display: none; }
  .site-header .menu-btn { display: grid; }
}
@media (min-width: 1280px) and (max-width: 1399px) {
  .site-header .brand-lockup { font-size: 14px; }
  .site-header .nav { gap: 14px; }
  .site-header .header-actions > .btn { padding-inline: 14px; font-size: 13px; }
}
@media (max-width: 700px) {
  .site-header .nav { height: 76px; gap: 4px; }
  .site-header .brand-lockup { font-size: 12px; }
  .brand-secondary { font-size: .65em; letter-spacing: .1em; }
  .site-header .header-actions { gap: 2px; }
  .site-header .icon-btn { width: 36px; height: 40px; }
  .mobile-panel { padding: 22px 16px; }
  .mobile-close { right: 12px; }
}
@media (max-width: 374px) {
  .site-header .container { padding-inline: 10px; }
  .site-header .brand-lockup { font-size: 10.5px; padding-inline: .55em; gap: .45em; }
  .site-header .icon-btn { width: 32px; }
  .site-header .header-actions { gap: 0; }
  .mobile-panel > .brand-lockup { font-size: 11.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-lockup, .brand-full { transition: none; }
}
