.site-header.color-studio-header {
  position: sticky;
  z-index: 10;
  top: 0;
  gap: 0.25rem clamp(0.75rem, 2vw, 1.5rem);
  padding-block: 0.55rem;
  border-bottom: 1px solid var(--border, #d8d7d4);
  background: var(--bg, #f4f1e8);
}

.color-studio-header .wordmark {
  display: inline-flex;
  align-items: center;
  gap: clamp(0.75rem, 1.4vw, 1.35rem);
}

.color-studio-header .studio-return {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 2.75rem;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 550;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: underline;
  text-underline-offset: 0.22em;
  white-space: nowrap;
}

.color-studio-header .studio-return:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

html {
  scroll-padding-top: 5rem;
}

@media (max-width: 1080px) {
  .color-studio-header .header-discipline {
    display: none;
  }
}

@media (max-width: 799px) {
  .site-header.color-studio-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 0.4rem;
    row-gap: 0;
  }

  .color-studio-header .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .color-studio-header .site-nav ul {
    justify-content: flex-start;
    flex-wrap: wrap;
    column-gap: clamp(0.55rem, 3vw, 1rem);
  }

  .color-studio-header .color-lang {
    grid-column: 2;
    grid-row: 1;
  }

  html {
    scroll-padding-top: 6.75rem;
  }
}
