/*
  Compact Vital Few Studio lockup for workspace navigation.
  Keep the public white/gold wordmark inside the dark teal badge so it
  remains legible in the Studio sidebar.
*/
.studio-brand-lockup {
  --studio-brand-teal: #001d2a;
  --studio-brand-gold: #ffb703;

  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  max-width: 100%;
  margin-inline-start: auto;
  padding: 0.3rem 0.75rem 0.3rem 0.3rem;
  border: 1px solid rgba(0, 29, 42, 0.18);
  border-radius: 999px;
  color: #fff;
  background: var(--studio-brand-teal);
  box-shadow: 0 6px 18px rgba(23, 52, 59, 0.12);
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

/* The sidebar shells have legacy anchor rules; keep the real lockup horizontal. */
.studio-brand a.studio-brand-lockup,
.studio-admin-sidebar-brand a.studio-brand-lockup {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  width: max-content;
  max-width: 100%;
  margin-inline-start: 0;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1;
  text-decoration: none;
}

.studio-brand a.studio-brand-lockup .studio-brand-lockup__wordmark,
.studio-admin-sidebar-brand a.studio-brand-lockup .studio-brand-lockup__wordmark {
  display: grid;
  width: max-content;
  gap: 3px;
  color: #fff;
  font-family: var(--font-display, Impact), Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.78;
  text-transform: uppercase;
  white-space: nowrap;
}

.studio-brand a.studio-brand-lockup .studio-brand-lockup__wordmark > span,
.studio-admin-sidebar-brand a.studio-brand-lockup .studio-brand-lockup__wordmark > span {
  color: #fff;
  font-size: 1em;
  font-weight: 400;
  letter-spacing: inherit;
  line-height: inherit;
}

.studio-brand-lockup:hover {
  color: #fff;
  background: #0b3444;
  box-shadow: 0 8px 22px rgba(23, 52, 59, 0.16);
  transform: translateY(-1px);
}

.studio-brand-lockup:focus-visible {
  outline: 3px solid var(--studio-brand-gold);
  outline-offset: 3px;
}

.studio-brand-lockup__icon {
  display: block;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.studio-brand-lockup__wordmark {
  display: grid;
  width: max-content;
  gap: 3px;
  color: #fff;
  font-family: var(--font-display, Impact), Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.78;
  text-transform: uppercase;
  white-space: nowrap;
}

.studio-brand-lockup__wordmark > span {
  color: #fff;
}

.studio-brand-lockup__wordmark > strong {
  color: var(--studio-brand-gold);
  font-size: 0.67em;
  letter-spacing: 0.16em;
}

/* Keep the supplied performance photo decorative and safely behind the UI. */
.studio-content-shell,
.studio-admin-stage {
  position: relative;
  isolation: isolate;
}

.studio-content-shell::before,
.studio-admin-stage::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  content: "";
  pointer-events: none;
  background: url("./sting.2c1039b59ff0.webp") center top / cover no-repeat;
  opacity: 0.40;
}

.studio-content-shell > *,
.studio-admin-stage > * {
  position: relative;
  z-index: 1;
}

/* Glass is the approved default for light workspace/admin surfaces. */
.studio-stat-card,
.studio-panel,
.studio-form-card,
.studio-action-panel,
.studio-preview-card,
.studio-filterbar,
.studio-notice,
.studio-board-column,
.studio-board-card,
.studio-table-panel,
.studio-admin-stage .module,
.studio-admin-stage .inline-group,
.studio-admin-stage .submit-row,
.studio-admin-stage .form-row,
.studio-admin-stage #changelist-filter {
  background: rgba(255, 254, 250, 0.58);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.studio-control,
.studio-table th,
.studio-table td,
.studio-admin-stage input[type="text"],
.studio-admin-stage input[type="password"],
.studio-admin-stage input[type="email"],
.studio-admin-stage input[type="url"],
.studio-admin-stage input[type="number"],
.studio-admin-stage input[type="date"],
.studio-admin-stage input[type="datetime-local"],
.studio-admin-stage input[type="file"],
.studio-admin-stage select,
.studio-admin-stage textarea {
  background: #fff;
}

/* Demo-only comparison escape hatch; normal and production sessions stay glass. */
.studio-cards-opaque .studio-stat-card,
.studio-cards-opaque .studio-panel,
.studio-cards-opaque .studio-form-card,
.studio-cards-opaque .studio-action-panel,
.studio-cards-opaque .studio-preview-card,
.studio-cards-opaque .studio-filterbar,
.studio-cards-opaque .studio-notice,
.studio-cards-opaque .studio-board-column,
.studio-cards-opaque .studio-board-card,
.studio-cards-opaque .studio-table-panel,
.studio-cards-opaque .studio-admin-stage .module,
.studio-cards-opaque .studio-admin-stage .inline-group,
.studio-cards-opaque .studio-admin-stage .submit-row,
.studio-cards-opaque .studio-admin-stage .form-row,
.studio-cards-opaque .studio-admin-stage #changelist-filter {
  background: #fffefa;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

@media (max-width: 560px) {
  .studio-brand-lockup {
    gap: 0.45rem;
    padding-right: 0.6rem;
  }

  .studio-brand-lockup__icon {
    flex-basis: 27px;
    width: 27px;
    height: 27px;
    border-radius: 7px;
  }

  .studio-brand-lockup__wordmark {
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .studio-brand-lockup {
    transition: none;
  }
}
