.knox-brand-mark {
  position: relative;
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 0.5rem;
  overflow: hidden;
  flex-shrink: 0;
  background: #09090b;
}

/* Video only: smaller box so object-fit:cover shows more of the portrait frame. */
.knox-brand-mark video.knox-brand-video {
  position: absolute;
  width: calc(100% * 0.80);
  height: calc(100% * 0.80);
  max-width: none;
  max-height: none;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: inherit;
  z-index: 1;
}

/* Static fallback: full-bleed cover, no de-zoom (reduced-motion only). */
.knox-brand-mark img.knox-brand-static {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  display: none;
  z-index: 0;
}

@media (prefers-reduced-motion: reduce) {
  .knox-brand-mark .knox-brand-video {
    display: none;
  }

  .knox-brand-mark img.knox-brand-static {
    display: block;
  }
}
