.brand-showcase {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 3.5rem;
  color: #fff;
  background: #18181b;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.brand-showcase__heading {
  position: relative;
  z-index: 2;
  max-width: 80rem;
  margin: 0 auto 2.75rem;
  padding: 0 1.5rem;
  text-align: center;
}

.brand-showcase__heading p {
  margin: 0 0 0.5rem;
  color: #a1a1aa;
  font: 500 0.75rem/1.5 Geist, Arial, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-showcase__heading h2 {
  margin: 0;
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 500;
  line-height: 1.35;
}

.brand-showcase__viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.brand-showcase__track {
  display: flex;
  width: max-content;
  animation: oma-ida-brand-scroll 40s linear infinite;
}

.brand-showcase__viewport:hover .brand-showcase__track,
.brand-showcase__viewport:focus-within .brand-showcase__track {
  animation-play-state: paused;
}

.brand-showcase__set {
  display: flex;
  flex: 0 0 100vw;
  align-items: center;
  justify-content: space-around;
  min-width: 100vw;
  height: 10.5rem;
  padding: 0 clamp(1.5rem, 3vw, 3rem);
  gap: clamp(1.5rem, 4vw, 4rem);
}

.brand-showcase__set a,
.brand-showcase__set span {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 6rem;
  height: 100%;
}

.brand-showcase__set a {
  border-radius: 0.4rem;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.brand-showcase__set a:hover,
.brand-showcase__set a:focus-visible {
  opacity: 1;
  transform: scale(1.04);
}

.brand-showcase__set a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 0.35rem;
}

.brand-showcase__logo {
  display: block;
  width: auto;
  max-width: 16rem;
  object-fit: contain;
  opacity: 0.82;
  filter: grayscale(1) brightness(0) invert(1);
}

.brand-showcase__logo--auberge { height: 11rem; }
.brand-showcase__logo--ursprung { height: 11rem; }
.brand-showcase__logo--gin { height: 8rem; }
.brand-showcase__logo--strandberg { height: 4.5rem; }
.brand-showcase__logo--viktoria { height: 2.75rem; }

.brand-showcase__fade {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  width: clamp(2.5rem, 8vw, 8rem);
  pointer-events: none;
}

.brand-showcase__fade--left {
  left: 0;
  background: linear-gradient(90deg, #18181b, rgba(24, 24, 27, 0));
}

.brand-showcase__fade--right {
  right: 0;
  background: linear-gradient(270deg, #18181b, rgba(24, 24, 27, 0));
}

@keyframes oma-ida-brand-scroll {
  to { transform: translateX(-50%); }
}

@media (max-width: 767px) {
  .brand-showcase { padding: 3.5rem 0 2.75rem; }
  .brand-showcase__heading { margin-bottom: 2rem; }
  .brand-showcase__set {
    flex-basis: auto;
    min-width: max-content;
    height: 5rem;
    padding: 0 2rem;
    gap: 3rem;
  }
  .brand-showcase__set a,
  .brand-showcase__set span { min-width: 5.5rem; }
  .brand-showcase__logo--auberge { height: 4rem; }
  .brand-showcase__logo--ursprung { height: 3.5rem; }
  .brand-showcase__logo--gin { height: 3.75rem; }
  .brand-showcase__logo--strandberg { height: 2.5rem; }
  .brand-showcase__logo--viktoria { height: 1.65rem; }
}

@media (prefers-reduced-motion: reduce) {
  .brand-showcase__track {
    width: 100%;
    animation: none;
  }
  .brand-showcase__set {
    flex: 1 1 100%;
    min-width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
  }
  .brand-showcase__set[aria-hidden="true"] { display: none; }
}
