/* The Zentaro Studio bar on every concept study: says the brand is fictional
   and leads back to the studio. It sits above the study, in its own row, so it
   never covers the design; studies subtract --studio-bar-h from their first screen. */

:root:has(.studio-bar) { --studio-bar-h: 40px; }

.studio-bar {
  height: var(--studio-bar-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  background: #11161c;
  border-bottom: 1px solid rgba(201, 166, 121, 0.3);
  color: #f4efe8;
  font: 400 12.5px/1 "Jost", system-ui, sans-serif;
  letter-spacing: 0.03em;
}
.studio-bar a { color: inherit; text-decoration: none; }
.studio-bar a:focus-visible { outline: 2px solid #c9a679; outline-offset: 3px; border-radius: 2px; }

.studio-bar__back { display: inline-flex; align-items: center; gap: 10px; justify-self: start; white-space: nowrap; }
.studio-bar__back svg { flex: none; width: 20px; height: 20px; }
.studio-bar__back span { display: inline-block; transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.1, 1); }
.studio-bar__back:hover span { transform: translateX(-3px); }

.studio-bar__note { margin: 0; color: rgba(244, 239, 232, 0.62); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.studio-bar__note b { font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; font-size: 10px; color: #c9a679; margin-right: 10px; }

.studio-bar .studio-bar__cta { justify-self: end; white-space: nowrap; color: #e3c6a0; }
.studio-bar .studio-bar__cta:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 760px) {
  .studio-bar { grid-template-columns: 1fr auto; padding: 0 16px; }
  .studio-bar__note { display: none; }
}

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