a.brand {
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  width: max-content;
  padding: 5px 8px 6px;
  border-radius: 9px;
  text-decoration: none;
  letter-spacing: -.045em;
  font-size: clamp(15px, 1.8vw, 20px);
  line-height: 1;
  white-space: nowrap;
  color: #f6f7fa;
  transition: background-color .18s ease, box-shadow .18s ease;
}
.brand img {
  display: block;
  width: clamp(78px, 12vw, 128px);
  height: clamp(43px, 6.5vw, 70px);
  object-fit: contain;
  flex: none;
  transition: filter .18s ease;
}
.brand-wordmark > span { color: #ff7895; }
a.brand:is(:hover, :focus-visible) {
  color: #fff;
  background: #30202e;
  box-shadow: inset 0 0 0 1px #a74e6b;
}
a.brand:is(:hover, :focus-visible) img {
  filter: brightness(1.15) drop-shadow(0 0 6px #f658875e);
}
a.brand:is(:hover, :focus-visible) .brand-wordmark {
  text-shadow: 0 0 8px #ff789580;
}
a.brand:focus-visible { outline: 2px solid #ff86a3; outline-offset: 3px; }
@media (max-width: 420px) {
  a.brand { padding-inline: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  a.brand, .brand img { transition: none; }
}
