/* SNELL logo marks — wordmark + PRO chip side-by-side (slogan slot) */

.brand-lockup {
  --brand-logo-h: 40px;
  --brand-logo-ratio: 934 / 235;
  display: inline-flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 6px;
  text-decoration: none;
  color: inherit;
}

.brand-lockup:hover {
  text-decoration: none;
}

.brand-lockup img {
  display: block;
  width: min(calc(var(--brand-logo-h) * var(--brand-logo-ratio)), 100%);
  height: auto;
  max-height: var(--brand-logo-h);
  object-fit: contain;
  object-position: left bottom;
}

/* PRO occupies the old slogan slot — height ≤ ~½ of the wordmark */
.brand-lockup .pro-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  font-family: var(--body);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  border: none;
  box-shadow: none;
  border-radius: 999px;
  line-height: 1;
  font-size: 9px;
  height: calc(var(--brand-logo-h) * 0.4);
  padding: 0 7px;
}

.brand-lockup--nav {
  --brand-logo-h: 36px;
}

.brand-lockup--nav .pro-chip {
  font-size: 8px;
  padding: 0 6px;
}

.brand-lockup--nav-light {
  --brand-logo-h: 40px;
}

.brand-lockup--nav-light .pro-chip {
  font-size: 9px;
  padding: 0 7px;
}

.brand-lockup--side {
  --brand-logo-h: 34px;
  align-items: flex-end;
  gap: 6px;
}

.brand-lockup--side img {
  width: min(calc(var(--brand-logo-h) * var(--brand-logo-ratio)), 148px);
  max-height: var(--brand-logo-h);
}

.brand-lockup--side .pro-chip {
  font-size: 8px;
  padding: 0 6px;
  background: var(--accent);
  color: #fff;
}

.brand-lockup--hero {
  --brand-logo-h: clamp(56px, 10vw, 88px);
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 8px;
}

.brand-lockup--hero img {
  width: min(calc(var(--brand-logo-h) * var(--brand-logo-ratio)), min(360px, 78vw));
  max-height: var(--brand-logo-h);
}

/* ~⅓ of logo height */
.brand-lockup--hero .pro-chip {
  height: calc(var(--brand-logo-h) * 0.34);
  font-size: clamp(9px, 1.6vw, 12px);
  padding: 0 clamp(8px, 1.4vw, 11px);
}

.brand-lockup--admin {
  --brand-logo-h: 44px;
}

.brand-lockup--admin .pro-chip {
  font-size: 9px;
  padding: 0 8px;
}
