.brand-mark {
  position: relative;
  display: block;
  overflow: hidden;
  background: #00d9ff;
}

.brand-emblem {
  position: absolute;
  inset: 3px 4px 5px;
  display: block;
  background-image: url("assets/brand.webp");
  background-repeat: no-repeat;
  background-size: 212% auto;
  background-position: 50% 2%;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(6,17,31,.32);
  backdrop-filter: blur(8px);
}

.lang-switch button {
  min-width: 34px;
  min-height: 34px;
  padding: 0 .45rem;
  border: 0;
  border-right: 1px solid rgba(255,255,255,.18);
  background: transparent;
  color: rgba(255,255,255,.72);
  font-size: .68rem;
  font-weight: 700;
}

.lang-switch button:last-child { border-right: 0; }
.lang-switch button.active { background: #00d9ff; color: #06111f; }

@media (max-width: 980px) {
  .header { grid-template-columns: 1fr auto auto; column-gap: .75rem; }
  .header-actions { grid-column: 2; grid-row: 1; }
  .menu { grid-column: 3; grid-row: 1; }
  .lang-switch button { min-width: 31px; padding: 0 .32rem; }
}

@media (max-width: 640px) {
  .brand > span:last-child small { display: none; }
  .brand strong { font-size: .85rem; }
  .brand { gap: .55rem; }
  .brand-mark { width: 34px; height: 34px; }
  .header { column-gap: .45rem; }
  .lang-switch button { min-width: 27px; min-height: 30px; padding: 0 .25rem; font-size: .62rem; }
}
