/* Display the supplied PNG unchanged. Its transparent canvas is 1280 × 720;
   the complete visible mark occupies x=522..1225 and y=134..579.
   Crop only the empty canvas with CSS, keeping one uniform image scale. */
.brand .logo-frame {
  position: relative;
  display: block;
  overflow: hidden;
  width: 132px;
  height: auto;
  aspect-ratio: 703 / 445;
}
.brand .logo-frame img {
  position: absolute;
  display: block;
  width: calc(100% * 1280 / 703);
  height: auto;
  max-width: none;
  left: calc(-100% * 522 / 703);
  top: calc(-100% * 134 / 445);
  filter: none;
  opacity: 1;
}
.admin-branding, .builder-branding {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}
.admin-branding .brand .logo-frame,
.builder-branding .brand .logo-frame { width: 86px; }
@media (max-width: 900px) {
  .brand .logo-frame { width: 115px; }
}
@media (max-width: 600px) {
  .brand .logo-frame { width: 100px; }
  .admin-branding, .builder-branding { gap: 14px; }
  .admin-branding .brand .logo-frame,
  .builder-branding .brand .logo-frame { width: 70px; }
}
@media (max-width: 480px) {
  :is(body[data-design="gallery"],body[data-design="showroom"]) .site-header .brand {
    width: auto;
    overflow: visible;
  }
  :is(body[data-design="gallery"],body[data-design="showroom"]) .site-header .logo-frame {
    transform: none;
  }
}
@media (max-width: 380px) {
  .brand .logo-frame { width: 88px; }
}

/* accosto-logo-lockup-v1 */
.brand .logo-frame.accosto-wordmark {
  display: block;
  width: 170px;
  height: auto;
  aspect-ratio: 1200 / 323;
  position: relative;
  overflow: visible;
  transform: none;
}
.brand .logo-frame.accosto-wordmark img {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}
body .hh-header .hh-top .logo-frame.accosto-wordmark { width: clamp(154px, 16vw, 210px); }
@media (max-width: 700px) {
  body .hh-header .hh-top .logo-frame.accosto-wordmark { width: 117px; }
  .brand .logo-frame.accosto-wordmark { width: 145px; }
}
@media (max-width: 359px) {
  body .hh-header .hh-top .logo-frame.accosto-wordmark { width: 96px; }
  body .hh-header .hh-top .hh-project { font-size: 11px; padding-inline: 8px; white-space: nowrap; }
  body .hh-header .hh-top .hh-search { min-width: 34px; }
  body .hh-header .hh-top .menu-toggle { width: 36px; }
}
