@layer components {
  :where(html) {
    scroll-padding-top: calc(var(--header-visible-height, 0px) + var(--sticky-header-height, 0px));
  }
  .sticky-header {
    display: flex;
    position: fixed;
    top: calc(var(--header-visible-height, 0px) - 1px);
    left: 0;
    right: 0;
    z-index: calc(20 - 1);
    background-color: var(--theme-surface-primary);
    transform: translateY(-100%);
    will-change: transform;
    visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), top 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
  }
  @media (prefers-reduced-motion: reduce) {
    .sticky-header {
      transition: none;
    }
  }
  .sticky-header--visible {
    transform: translateY(0);
    visibility: visible;
  }
  .sticky-header__inner {
    box-sizing: content-box;
    margin-inline: auto;
    max-width: 100%;
    padding-inline: 1.5rem;
  }
  @media (min-width: 768px) {
    .sticky-header__inner {
      padding-inline: 3rem;
    }
  }
  @media (min-width: 1024px) {
    .sticky-header__inner {
      max-width: 120rem;
      padding-inline: 5rem;
    }
  }
  .sticky-header__inner {
    display: flex;
    flex: 1;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1.5rem;
  }
  @media (min-width: 768px) {
    .sticky-header__inner {
      padding: 0.5rem 3rem;
    }
  }
  @media (min-width: 1024px) {
    .sticky-header__inner {
      padding: 0.75rem 5rem;
    }
  }
  .sticky-header__title {
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0;
    color: var(--theme-text-primary);
    margin: 0;
  }
  @media (min-width: 1024px) {
    .sticky-header__title {
      font-family: var(--font-primary);
      font-size: 1rem;
      font-weight: 600;
      line-height: 1.2;
      letter-spacing: 0;
    }
  }
}