/* One wordmark across public pages and workspaces. Keep page/body fonts separate.
   These brand-only declarations override the older individual page themes. */
:root {
  --rw-wordmark-size: 31px;
  --rw-emblem-size: 46px;
  --rw-brand-gap: 12px;
  --rw-tagline-size: 8px;
  --rw-tagline-tracking: 2.4px;
}

:is(.brand, .fr-brand, .entry-brand, .portal-brand, .crew-brand,
    .inquiry-brand, .tw-brand, .academy-slide-brand, .client-brand,
    .personal-care-brand) {
  display: inline-flex !important;
  align-items: center !important;
  gap: var(--rw-brand-gap) !important;
  flex-wrap: nowrap !important;
  text-decoration: none;
}

.brand-copy strong,
.fr-brand > span,
.entry-brand > span,
.portal-brand > span,
.crew-brand strong,
.inquiry-brand > span,
.tw-brand > span,
.academy-slide-brand > span,
.client-brand strong,
.personal-care-brand > div {
  font: 400 var(--rw-wordmark-size)/1.1 Georgia, "Times New Roman", serif !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  white-space: nowrap;
}

.brand-copy strong, .crew-brand strong, .client-brand strong {
  display: block;
}

:is(.brand-copy, .fr-brand, .entry-brand, .portal-brand, .crew-brand,
    .inquiry-brand, .tw-brand, .academy-slide-brand, .client-brand) small,
.personal-care-brand > div > span {
  margin-top: 0 !important;
  font: 400 var(--rw-tagline-size)/2 Arial, sans-serif !important;
  letter-spacing: var(--rw-tagline-tracking) !important;
  text-transform: uppercase !important;
  white-space: nowrap;
}

.brand-mark,
.brand > img.academy-emblem,
:is(.fr-brand, .entry-brand, .portal-brand, .crew-brand, .inquiry-brand,
    .tw-brand, .academy-slide-brand, .client-brand, .personal-care-brand) > img {
  width: var(--rw-emblem-size) !important;
  height: var(--rw-emblem-size) !important;
  flex: 0 0 var(--rw-emblem-size) !important;
  object-fit: contain;
}

@media (max-width: 850px) {
  :root {
    --rw-wordmark-size: 25px;
    --rw-emblem-size: 36px;
    --rw-brand-gap: 10px;
    --rw-tagline-size: 7px;
    --rw-tagline-tracking: 1.7px;
  }
}

/* Corporate colors on dark public mastheads and footers.
   Light private workspaces retain their accessible dark-ink wordmark. */
:root { --rw-brand-ivory: #f5f3ee; --rw-brand-gold: #d6bb83; }
body :is(.site-header,.site-footer,.application-header,.rw-store-detail-masthead) .brand-copy strong,
body .academy-shell:has(.academy-luxury) :is(.academy-site-header,.academy-site-footer) .brand-copy strong {
  color:var(--rw-brand-ivory)!important;
}
body :is(.site-header,.site-footer,.application-header,.rw-store-detail-masthead) .brand-copy small,
body .academy-shell:has(.academy-luxury) :is(.academy-site-header,.academy-site-footer) .brand-copy small {
  color:var(--rw-brand-gold)!important;
}
