.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  border: none;
  border-radius: 0;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1;
  transition: color 0.35s ease;
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn__content {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn__label {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn__icon svg {
  display: block;
}

.btn__fill-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.btn__fill {
  position: absolute;
  inset: 0;
  top: auto;
  bottom: -2px;
  height: calc(100% + 2px);
  transform: translateY(100%);
  transition: transform 0.35s ease;
  will-change: transform;
}

.btn:hover .btn__fill,
.btn:focus-visible .btn__fill {
  transform: translateY(0%);
}

.btn--sm {
  padding: 10px 24px;
  font-size: 12px;
}

.btn--md {
  padding: 16px 32px;
  font-size: 13px;
}

.btn--lg {
  padding: 20px 40px;
  font-size: 14px;
}

.btn--gold-dark {
  background: var(--gold);
  color: var(--white);
}

.btn--gold-dark .btn__fill {
  background: #000000;
}

.btn--gold-dark:hover,
.btn--gold-dark:focus-visible {
  color: var(--gold);
}

.btn--gold-light {
  background: var(--gold);
  color: var(--white);
}

.btn--gold-light .btn__fill {
  background: var(--white);
}

.btn--gold-light:hover,
.btn--gold-light:focus-visible {
  color: #000000;
}

.btn--icon-only .btn__content {
  gap: 0;
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .btn__fill {
    transition: none;
  }
}