/* Keep the supplied artwork intact; crop only its surrounding white space. */
@layer header-logo {
  .app-header .brand-name {
    margin-inline-start: 4px;
  }

  .app-header .brand-mark {
    position: relative;
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border: 0;
    border-radius: 0;
    overflow: hidden;
    background: transparent;
    box-shadow: none;
  }

  .app-header .brand-mark img {
    position: absolute;
    left: -15%;
    top: -20%;
    width: 130%;
    height: 130%;
    max-width: none;
    border-radius: 0;
    object-fit: contain;
    transform: none;
  }

  @media (max-width: 800px) {
    .app-header {
      padding-block: 10px;
    }

    .app-header .brand {
      flex: 1;
      min-width: 0;
      gap: 8px;
    }

    .app-header .brand-mark {
      flex-basis: 46px;
      width: 46px;
      height: 46px;
    }

    .app-header .brand-name {
      flex: 0 1 auto;
      min-width: 0;
      padding-inline-end: 0;
      font-size: clamp(1.4rem, 7vw, 1.8rem);
      letter-spacing: .025em;
      text-align: left;
      white-space: nowrap;
    }
  }
}
