.hm-brand-lockup {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .48em;
  max-width: 100%;
  color: #282620;
  font: 750 14px/1 Inter, Arial, sans-serif;
  letter-spacing: .025em;
  white-space: nowrap;
  vertical-align: middle;
}

.hm-brand-name {
  display: block;
}

.hm-brand-symbol {
  position: relative;
  display: inline-block;
  flex: none;
  width: 1.64em;
  height: 1.64em;
  color: inherit;
  pointer-events: none;
}

.hm-brand-tile {
  position: absolute;
  inset: 0;
  background: currentColor;
}

.hm-brand-tile--upper-left {
  clip-path: polygon(12% 9%, 34% 9%, 34% 46%, 12% 53%);
  --hm-x: -18%;
  --hm-y: -15%;
  --hm-angle: -12deg;
}

.hm-brand-tile--lower-left {
  clip-path: polygon(12% 57%, 34% 50%, 34% 91%, 12% 91%);
  --hm-x: -16%;
  --hm-y: 16%;
  --hm-angle: 10deg;
}

.hm-brand-tile--upper-right {
  clip-path: polygon(66% 9%, 88% 9%, 88% 53%, 66% 46%);
  --hm-x: 18%;
  --hm-y: -15%;
  --hm-angle: 12deg;
}

.hm-brand-tile--lower-right {
  clip-path: polygon(66% 50%, 88% 57%, 88% 91%, 66% 91%);
  --hm-x: 16%;
  --hm-y: 16%;
  --hm-angle: -10deg;
}

.hm-brand-tile--bridge {
  clip-path: polygon(36% 42%, 64% 42%, 64% 58%, 36% 58%);
  --hm-x: 0%;
  --hm-y: -17%;
  --hm-angle: -16deg;
  opacity: .76;
}

.section-header-logo .hm-brand-lockup {
  display: flex;
  width: 100%;
  min-height: 36px;
  height: 100%;
  font-size: clamp(11px, 1.12vw, 19px);
}

body.home header.section-header:not(.active-h):not(.active-ht):not(.h-white) .section-header-logo .hm-brand-lockup {
  color: #fff;
  filter: drop-shadow(0 1px 2px rgb(24 24 20 / 35%));
}

.section-header-menu-logo .hm-brand-lockup {
  min-height: 40px;
  font-size: clamp(12px, 1.2vw, 18px);
}

.section-footer-logo .hm-brand-lockup {
  justify-content: flex-start;
  min-height: 46px;
  color: #fff;
  font-size: clamp(13px, 1.13vw, 20px);
}

@media (min-width: 992px) {
  body:not(.home) .section-header-logo .hm-brand-lockup {
    font-size: clamp(11px, .99vw, 19px);
  }
}

.contact-widget-toggle > .hm-brand-symbol {
  width: 100%;
  height: 100%;
  color: #302d27;
}

@media (max-width: 991px) {
  .section-header-logo .hm-brand-lockup {
    font-size: clamp(10px, 3vw, 16px);
  }
}

@media (max-width: 767px) {
  .section-footer-logo .hm-brand-lockup {
    justify-content: center;
  }
}

@supports not (clip-path: polygon(0 0, 100% 0, 100% 100%)) {
  .hm-brand-symbol {
    background: url("/assets/hm-brand/hm-icon.png") center / contain no-repeat;
  }

  .hm-brand-tile {
    display: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .section-header-logo .hm-brand-tile,
  .contact-widget-toggle > .hm-brand-symbol .hm-brand-tile {
    animation: hm-tile-assembly 5.6s infinite;
  }

  .contact-widget-toggle > .hm-brand-symbol .hm-brand-tile {
    animation-delay: -1.4s;
  }

  @keyframes hm-tile-assembly {
    0%, 17%, 65%, 100% {
      transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
      animation-timing-function: cubic-bezier(.45, 0, .32, 1);
    }
    36% {
      transform: translate3d(var(--hm-x), var(--hm-y), 0) rotate(var(--hm-angle)) scale(.88);
      animation-timing-function: cubic-bezier(.2, .66, .38, 1);
    }
    56% {
      transform: translate3d(calc(var(--hm-x) * -.10), calc(var(--hm-y) * -.10), 0)
                 rotate(calc(var(--hm-angle) * -.10)) scale(1);
      animation-timing-function: ease-out;
    }
  }
}
