.brand-link {
  display: inline-block;
  width: max-content;
  line-height: 0;
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
}

.brand-logo-header { width: min(210px, 45vw); }

.about-brand {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 390px;
  padding: 36px;
  overflow: hidden;
  border: 1px solid var(--ink);
  background:
    linear-gradient(rgba(49, 85, 255, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 85, 255, 0.22) 1px, transparent 1px),
    var(--ink);
  background-size: 25% 25%;
}

.about-brand::before {
  content: "";
  position: absolute;
  top: -18%;
  right: -18%;
  width: 74%;
  aspect-ratio: 1;
  border: clamp(28px, 3vw, 48px) solid var(--lime);
  border-left-color: rgba(216, 255, 69, 0.08);
  border-radius: 50%;
  transform: rotate(-17deg);
}

.about-brand::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 24%;
  height: 26%;
  background: var(--blue);
}

.brand-logo-about {
  position: relative;
  z-index: 1;
  width: 88%;
  padding: 24px;
  background: var(--paper-strong);
  box-shadow: 12px 12px 0 rgba(49, 85, 255, 0.9);
}

.footer-logo-link {
  display: inline-block;
  padding: 0;
  background: transparent;
}

.brand-logo-footer { width: min(320px, 65vw); }

@media (max-width: 1050px) {
  .about-brand { width: min(520px, 100%); }
}

@media (max-width: 700px) {
  .brand-logo-header { width: min(168px, 43vw); }
  .about-brand { min-height: 270px; padding: 22px; }
  .brand-logo-about { width: 94%; padding: 16px; }
}
