/*
 * Tianyuan temporary brand identity.
 *
 * Source: design-experiments v0.1 wordmark.
 * Status: fixed temporary logo until a formal brand identity replaces it.
 * Product surfaces must use these classes instead of drawing their own mark.
 */

.ty-brand-lockup {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: var(--ty-brand-wordmark-gap);
  color: var(--ty-text);
  white-space: nowrap;
}

.ty-brand-symbol {
  position: relative;
  display: inline-block;
  width: var(--ty-brand-symbol-size);
  height: var(--ty-brand-symbol-size);
  flex: 0 0 auto;
  border: 1px solid var(--ty-border-water);
  border-radius: var(--ty-radius-pill);
  background: radial-gradient(
    circle,
    var(--ty-water-light) 0 3px,
    rgba(141, 199, 209, 0.12) 4px 12px,
    transparent 13px
  );
}

.ty-brand-symbol::after {
  position: absolute;
  inset: var(--ty-brand-symbol-inner-inset);
  content: "";
  border: 1px solid rgba(141, 199, 209, 0.26);
  border-radius: inherit;
}

.ty-brand-name {
  font-size: var(--ty-brand-name-size);
  font-weight: 560;
  line-height: 1;
}

.ty-brand-latin {
  color: var(--ty-text-soft);
  font-size: var(--ty-brand-latin-size);
  font-weight: 650;
  letter-spacing: 0.16em;
  line-height: 1;
}

.ty-brand-lockup--symbol-only {
  gap: 0;
}

.ty-brand-lockup--symbol-only .ty-brand-name,
.ty-brand-lockup--symbol-only .ty-brand-latin {
  display: none;
}
