.joinery-mark {
  display: inline-block;
  position: relative;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
}

/* Render the mask at a larger surface before compositing at its display size. */
.joinery-mark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 400%;
  height: 400%;
  background: currentColor;
  -webkit-mask: url('brand/relay-logos/joinery-refined.png') center / 134% no-repeat;
  mask: url('brand/relay-logos/joinery-refined.png') center / 134% no-repeat;
  transform: scale(.25);
  transform-origin: top left;
  will-change: transform;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
}

.workspace-brand .joinery-mark {
  width: 20px;
  height: 20px;
  color: #425939;
}

@media (max-width: 800px) {
  .wordmark { gap: 9px; font-size: 25px; }
  .wordmark .joinery-mark { width: 30px; height: 30px; }
  .workspace-brand .joinery-mark { width: 17px; height: 17px; }
}

@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .wordmark { gap: 7px; font-size: 22px; }
  .wordmark .joinery-mark { width: 26px; height: 26px; }
  .workspace-brand .joinery-mark { width: 14px; height: 14px; }
}
