/* The supplied UMAY mark is displayed unchanged in both visual versions. */
.wordmark.brand-lockup {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 9px;
  min-height: 44px;
  text-decoration: none;
  letter-spacing: 0;
}
.brand-lockup .brand-symbol {
  display: block;
  width: 40px;
  height: auto;
  flex: 0 0 auto;
  object-fit: contain;
}
.brand-type { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.brand-name { font-family: Manrope, sans-serif; font-size: 28px; line-height: 1; font-weight: 650; letter-spacing: -.045em; }
.brand-subtitle { font-size: 11px; font-weight: 500; line-height: 1.2; letter-spacing: .02em; white-space: nowrap; opacity: .9; }
html[lang="zh-CN"] .brand-subtitle { letter-spacing: .16em; }
.footer-signature { display: flex; align-items: center; gap: 12px; padding-top: 30px; font-size: 14px; line-height: 1.3; }
.footer-signature img { width: 38px; height: auto; flex: 0 0 auto; }
@media (max-width: 760px) {
  .topbar { flex-wrap: wrap; gap: 12px; }
  .topbar > .back { margin-left: auto; }
}
@media (max-width: 520px) {
  /* Two control rows keep the identity readable without reducing touch targets. */
  html[data-page] { --header: 104px; scroll-padding-top: 112px; }
  html[data-page] .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 132px;
    align-items: center;
    height: 104px;
    gap: 8px;
    padding: 8px 12px;
  }
  .site-header .wordmark.brand-lockup { gap: 9px; }
  html[data-page] .site-header .header-actions {
    display: grid;
    grid-template-columns: repeat(3, 44px);
    grid-template-rows: repeat(2, 44px);
    gap: 0;
    align-items: center;
  }
  .site-header .language-switch {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-content: center;
    padding: 0;
    gap: 0;
    border: 0;
    background: transparent;
  }
  .site-header .language-switch > span { display: none; }
  html[data-page] .site-header .language-link {
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    font-size: 12px;
  }
  html[data-page] .site-header :is(.theme-toggle,.motion-toggle,.menu-toggle) {
    grid-row: 2;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    justify-content: center;
  }
  .site-header .theme-toggle { grid-column: 1; }
  .site-header .motion-toggle { grid-column: 2; }
  .site-header .menu-toggle { grid-column: 3; }
  [data-page="journey"] .site-header .theme-toggle { grid-column: 2; }
  [data-page="journey"] .site-header .motion-toggle { grid-column: 3; }
  .site-header :is(.theme-toggle-label,.motion-label,.motion-toggle-label,.menu-toggle > span) { display: none; }
  html[data-page] .site-header :is(.header-contact,.header-cta) { display: none; }
  [data-page="journey"] .hero-content { padding-top: max(150px, 18svh); }
  .topbar { gap: 8px; }
  .topbar .language-switch { gap: 0; }
  .topbar .language-switch > span { display: none; }
  .topbar .language-link { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
}
