.quote-action {
  --quote-shadow: rgb(0 0 0 / 38%);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  justify-content: space-between;
  gap: .9rem;
  padding: .57rem .61rem .57rem .97rem;
  border: 1px solid var(--accent);
  background: linear-gradient(112deg, var(--gold-pale), var(--gold-vivid) 64%, var(--gold));
  box-shadow: 0 .45rem 1.3rem var(--quote-shadow);
  color: var(--ink);
  text-align: left;
  transition: box-shadow .26s var(--ease), border-color .26s ease, transform .26s var(--ease);
}

.quote-action::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(105deg, transparent 20%, rgb(255 255 255 / 24%) 49%, transparent 75%);
  content: '';
  pointer-events: none;
  animation: quote-reflection 3.4s .45s ease 2 both;
}

html[data-opening] .quote-action::before { animation-play-state: paused; }

.quote-action:is(:hover, :focus-visible) {
  border-color: var(--accent);
  background: linear-gradient(112deg, var(--gold-pale), var(--gold-vivid) 55%, var(--gold-hover));
  box-shadow: 0 .6rem 1.65rem var(--quote-shadow), 0 0 0 3px rgb(201 162 94 / 22%);
  transform: translateY(-2px);
}

.quote-action:active { transform: translateY(1px); }
.quote-action:disabled { cursor: wait; opacity: .72; transform: none; }
.quote-action:disabled::before { animation: none; }

.quote-action .quote-label {
  font-size: 1em;
  font-weight: 740;
  line-height: 1.22;
  transform: none;
}

.quote-label small {
  display: block;
  margin-top: .12rem;
  font-size: .7rem;
  font-weight: 550;
}

.quote-action .quote-arrow {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2.08rem;
  aspect-ratio: 1;
  border: 1px solid rgb(42 42 42 / 32%);
  border-radius: 50%;
  background: rgb(255 255 255 / 22%);
  font-size: 1.05rem;
  line-height: 1;
  transition: transform .32s var(--ease), background-color .28s ease;
}

.quote-action:is(:hover, :focus-visible) .quote-arrow {
  background: rgb(255 255 255 / 44%);
  transform: translate(2px,-2px) rotate(8deg);
}

.button-header.quote-action {
  --quote-shadow: rgb(0 0 0 / 40%);
  gap: .65rem;
  min-height: 2.85rem;
  padding: .34rem .4rem .34rem .7rem;
  border-color: var(--gold);
  background: linear-gradient(110deg, var(--gold-pale), var(--gold));
  color: var(--ink);
  animation-fill-mode: backwards;
}

.button-header.quote-action:is(:hover, :focus-visible) {
  background: linear-gradient(110deg, var(--gold-pale), var(--gold-vivid));
}

.button-header.quote-action .quote-arrow {
  width: 1.65rem;
  border-color: rgb(42 42 42 / 32%);
  background: rgb(255 255 255 / 25%);
  font-size: .92rem;
}

.button-header.quote-action:is(:hover, :focus-visible) .quote-arrow { background: rgb(255 255 255 / 50%); }
.button-header.quote-action:is(:hover, :focus-visible) .quote-label { transform: none; }
.button-header.quote-action .quote-label small { font-size: .65rem; }
.gallery-callout .quote-action { --quote-shadow: rgb(0 0 0 / 18%); }

@keyframes quote-reflection {
  0%, 48% { transform: translateX(-105%); }
  82%, 100% { transform: translateX(105%); }
}

@media (max-width: 700px) {
  .menu-toggle { order: 1; margin-inline-start: auto; }
  .header-inner > .button-header.quote-action {
    display: inline-flex;
    order: 2;
    margin-inline-start: .65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quote-action::before { display: none; }
  .quote-action:is(:hover, :focus-visible, :active),
  .quote-action:is(:hover, :focus-visible) .quote-arrow { transform: none; }
}
