/* Shared metallic finish: decoration only, never a text fill. */
:root {
  --gold-foil: linear-gradient(120deg, #8c6834 0%, #c4a05a 24%, #ead6a2 46%, #b68c48 70%, #8c6834 100%);
  --gold-foil-bronze: #8c6834;
  --gold-foil-light: #ead6a2;
}

/* Explicit marketing actions retain the existing black ground and ivory type. */
.button.button-gold,
.button.button-gold:hover:not(:disabled):not([aria-disabled="true"]) {
  position: relative;
  isolation: isolate;
  border-color: transparent;
  background: linear-gradient(var(--ink), var(--ink)) padding-box,
    var(--gold-foil) border-box;
  color: var(--paper);
}

.button-gold::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  pointer-events: none;
  background: var(--gold-foil);
  opacity: 0;
  transform: scaleX(.92);
  transform-origin: center;
  transition: opacity var(--motion-change) var(--motion-ease-out),
    transform var(--motion-enter) var(--motion-ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .button-gold:hover:not(:disabled):not([disabled]):not([aria-disabled="true"]):not([aria-busy="true"])::before {
    opacity: .1;
    transform: scaleX(1);
  }
}

.button-gold:is(:disabled, [disabled], [aria-disabled="true"], [aria-busy="true"])::before {
  opacity: 0;
  transform: none;
  transition: none;
}

@media (prefers-reduced-motion: reduce), print {
  .button-gold::before {
    opacity: 0 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media print {
  .button.button-gold,
  .button.button-gold:hover:not(:disabled):not([aria-disabled="true"]) {
    border-color: var(--gold-foil-bronze);
    background: transparent;
    color: var(--ink);
  }
}

@media (forced-colors: active) {
  .button.button-gold,
  .button.button-gold:hover:not(:disabled):not([aria-disabled="true"]) {
    border-color: ButtonText;
    background: Canvas;
    color: ButtonText;
  }
  .button-gold::before { display: none; }
}
