/* Shared primary action: a balanced label and a directional arrow within its own circle. */
.button.primary-cta {
  gap: 16px;
  min-height: 56px;
  padding: 8px 8px 8px 22px;
  background: var(--brand-yellow);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.3;
  box-shadow: 0 5px 12px -7px rgb(var(--ink-rgb) / .24);
  transform: none;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.button.primary-cta::before { display: none; }
.button.primary-cta .cta-label { transform: none; white-space: nowrap; }
.button.primary-cta .cta-arrow {
  --arrow-x: 25px;
  --arrow-y: -25px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  overflow: hidden;
  border-radius: 50%;
  background: rgb(var(--ink-rgb) / .07);
  color: var(--ink);
  transform: none;
  transition: background-color .25s ease, color .25s ease;
}
.button.primary-cta .cta-arrow-down { --arrow-x: 0px; --arrow-y: 30px; }
.cta-arrow-icon { display: block; width: 20px; height: 20px; }
.button.primary-cta:hover { background: var(--brand-yellow); color: var(--ink); transform: none; }
.button.primary-cta:focus-visible { outline: 2px solid var(--brand-blue); outline-offset: 4px; }
.site-header .button.primary-cta:focus-visible,
.hero-showcase .button.primary-cta:focus-visible { outline-color: var(--brand-cream); }
.button.primary-cta:focus-visible .cta-arrow { background: var(--brand-blue); color: var(--brand-cream); }

/* A single arrow pass follows the destination: down the page, or out to booking. */
@keyframes cta-arrow-pass {
  0% { transform: translate(0, 0); opacity: 1; }
  42% { transform: translate(var(--arrow-x), var(--arrow-y)); opacity: 0; }
  43% { transform: translate(calc(-1 * var(--arrow-x)), calc(-1 * var(--arrow-y))); opacity: 0; }
  100% { transform: translate(0, 0); opacity: 1; }
}
@media (hover: hover) and (pointer: fine) {
  .button.primary-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 9px 20px -9px rgb(var(--ink-rgb) / .3);
  }
  .button.primary-cta:hover .cta-arrow { background: var(--brand-blue); color: var(--brand-cream); }
  .button.primary-cta:hover .cta-arrow-icon { animation: cta-arrow-pass .52s cubic-bezier(.22, 1, .36, 1) both; }
}
.button.primary-cta:active { transform: translateY(0); box-shadow: 0 2px 5px -3px rgb(var(--ink-rgb) / .2); }

/* The header uses the same proportions at a compact size. */
.button.primary-cta.nav-cta { min-height: 48px; padding: 7px 7px 7px 18px; gap: 12px; }
.button.primary-cta.nav-cta .cta-arrow { width: 34px; height: 34px; }
.button.primary-cta.nav-cta .cta-arrow-icon { width: 18px; height: 18px; }
@media (max-width: 760px) {
  .button.primary-cta.nav-cta { min-height: 44px; padding: 6px 6px 6px 14px; gap: 8px; font-size: 12px; }
  .button.primary-cta.nav-cta .cta-arrow { width: 32px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .button.primary-cta,
  .button.primary-cta .cta-arrow { transition: none; }
  .button.primary-cta:hover,
  .button.primary-cta:active { transform: none; }
  .button.primary-cta:hover .cta-arrow-icon { animation: none; }
}
