/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: var(--tap-min);
  padding: var(--sp-3) var(--sp-6);
  font-weight: var(--fw-medium);
  font-size: var(--fs-400);
  line-height: 1;
  border-radius: var(--r-pill);
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease),
              background-color var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease);
  will-change: transform;
}
.btn:active { transform: translateY(1px) scale(0.99); }

/* Primary — orange, the brand "action" colour */
.btn--primary {
  background: var(--brand-accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: #e06d10; box-shadow: var(--shadow-md); }

/* Secondary — green outline */
.btn--secondary {
  background: transparent;
  color: var(--brand);
  box-shadow: inset 0 0 0 2px var(--brand);
}
.btn--secondary:hover { background: var(--brand); color: #fff; }

/* Ghost on dark backgrounds */
.btn--ghost-light {
  background: rgba(255,255,255,0.12);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4);
}
.btn--ghost-light:hover { background: rgba(255,255,255,0.22); }

.btn--solid-light { background: #fff; color: var(--brand); }
.btn--solid-light:hover { background: var(--green-050); }

.btn--lg { font-size: var(--fs-500); padding: var(--sp-4) var(--sp-7); }
.btn--block { width: 100%; }

.btn .btn__icon { width: 1.1em; height: 1.1em; }
