/* ============================================================
   Aventurine — components: buttons, focus rings
   ============================================================ */

/* ---------- buttons ----------
   Buttons never move on hover/active — color shifts only. */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .78rem 1.35rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex: none }

/* solid green — the one primary action.
   Gradients can't be CSS-transitioned directly, so the hover state is a
   pseudo-element overlay that fades in via opacity. */
.btn-primary { background: var(--accent-grad); color: var(--surface); position: relative; overflow: hidden; isolation: isolate }
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-grad-hover);
  opacity: 0;
  transition: opacity .2s ease;
  border-radius: inherit;
  z-index: -1;
}
.btn-primary:hover::before { opacity: 1 }

/* outlined — secondary action (the hero restyles this for use over imagery) */
.btn-secondary { border-color: var(--accent); color: var(--accent) }
.btn-secondary:hover { background: rgba(73,126,116,.09) }  /* accent-600 @ 9% */

/* ---------- keyboard focus ----------
   Gold ring so it reads on both the off-white and charcoal grounds. */
.btn:focus-visible {
  outline: 3px solid var(--accent-gold);
  outline-offset: 3px;
}
a:focus-visible {
  outline: 3px solid var(--accent-gold);
  outline-offset: 3px;
  border-radius: 4px;
}
