/* Same Latin Bricolage Grotesque face as the homepage, scoped to the wordmark. */
@font-face {
  font-family: "Regalo Afinado Brand";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/bricolagegrotesque/v9/3y9H6as8bTXq_nANBjzKo3IeZx8z6up5BeSl5jBNz_19PpbpMXuECpwUxJBOm_OJWiawA1XphjhQYg.woff2") format("woff2");
}

:root {
  --brand-header-offset: 16px;
}

.brand-frame {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  min-height: 69.7px;
  padding: 12px 14px 12px 18px;
  border: 1px solid transparent;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #231b2d;
  font: 800 1.16rem/1.55 "Regalo Afinado Brand", sans-serif;
  text-decoration: none;
}

.site-brand-logo {
  display: block;
  width: 43px;
  height: 43px;
  max-width: none;
  flex: 0 0 43px;
  filter: drop-shadow(0 7px 7px rgba(111, 75, 232, 0.2));
}

@media (max-width: 680px) {
  :root {
    --brand-header-offset: 10px;
  }

  .brand-frame {
    width: calc(100% - 20px);
  }
}

/* Match the original two-line wordmark on narrow phones, regardless of nav links. */
@media (max-width: 433px) {
  .site-brand {
    align-self: flex-start;
  }

  .site-brand > span {
    inline-size: min-content;
  }
}
