/* Shared by the marketing pages, QR menu and standalone product documents. */
:root {
  --us-header-height: 76px;
  --us-header-inset: 56px;
  --us-mark-height: 28px;
}

.us-header-frame {
  box-sizing: border-box;
  width: 100%;
  height: var(--us-header-height);
  padding-inline: var(--us-header-inset);
}

.us-header-frame .wordmark,
.us-header-frame .qr-logo,
.footer-wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* Scale and align the painted US letters inside each original, uncropped PNG. */
.brand-logo {
  --art-width: 1.784;
  --left-padding: .080;
  display: block;
  flex: none;
  width: calc(var(--us-mark-height) * var(--art-width));
  height: auto;
  margin-inline-start: calc(-1 * var(--us-mark-height) * var(--left-padding));
}

.us-header-frame img.brand-logo {
  /* The optical inset must not let a global responsive-image rule shrink the mark. */
  max-width: none;
}

.brand-logo-fitness {
  --art-width: 4.085;
  --left-padding: .085;
}

.brand-logo-kitchen {
  --art-width: 4.712;
  --left-padding: .135;
  /* The Kitchen utensils extend further above the letters than below. */
  transform: translateY(calc(-.055 * var(--us-mark-height)));
}

.brand-logo-performance {
  --art-width: 5.721;
  --left-padding: .084;
}

@media (min-width: 1600px) {
  :root { --us-header-inset: max(56px, calc((100% - 1280px) / 2)); }
}

@media (max-width: 1100px) {
  :root { --us-header-inset: 36px; }
}

@media (max-width: 760px) {
  :root {
    --us-header-inset: 20px;
    --us-header-height: 68px;
    --us-mark-height: 24px;
  }
}

@media (max-width: 350px) {
  :root { --us-mark-height: 22px; }
  .header.us-header-frame { gap: 6px; }
  .header.us-header-frame .header-cta { gap: 6px; padding-inline: 8px; white-space: nowrap; }
}
