/* Purpose: Shared component styles (buttons, eyebrows, section headings) used across
   pages. One-off section styles live in /assets/css/components/<name>.css and are
   imported here as the library grows. Page-only styles go in /assets/css/pages/. */

/* ── Eyebrow / label (mono) ── */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--accent-fg);
}
.label {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Section heading ── */
.sec-h2 {
  font-family: var(--font-display);
  font-weight: var(--weight-regular);
  font-size: var(--sec-h2);
  line-height: 1.05;
  letter-spacing: -0.022em;
  padding-bottom: 0.08em;   /* protect italic descenders */
  text-wrap: balance;
  color: var(--ink);
}
.sec-h2 em { font-style: italic; color: var(--serif-em-color); }

.sec-h3 {
  font-family: var(--font-display);
  font-weight: var(--weight-regular);
  font-size: var(--sec-h3);
  line-height: 1.18;
  letter-spacing: -0.015em;
}

/* ── UNIFIED CTA SYSTEM ──
   One pill design for every primary action across the site (ported from the WV
   reference). Light sections: emerald pill, white label. Dark sections (.is-dark):
   cream pill, emerald label. Secondary (.btn-B): outline. */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;                 /* one consistent height for every button */
  padding: 0 26px;
  border: 0;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: none;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--dur-default), color var(--dur-default),
              transform var(--dur-default), box-shadow var(--dur-default);
}

/* Primary — emerald on light, cream on dark. */
.btn-A { background: var(--emerald); color: #FFFFFF; }
.btn-A:hover {
  background: var(--bg-dark-2);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 14px 24px -12px rgba(55, 96, 84, 0.45);
}
.is-dark .btn-A, .bg-dark .btn-A { background: var(--cream); color: var(--emerald); }
.is-dark .btn-A:hover, .bg-dark .btn-A:hover { background: #FFFFFF; color: var(--emerald); }

/* Secondary — outline. */
.btn-B {
  background: transparent;
  color: var(--emerald);
  box-shadow: inset 0 0 0 1px rgba(55, 96, 84, 0.30);
}
.btn-B:hover {
  background: rgba(55, 96, 84, 0.04);
  color: var(--emerald);
  box-shadow: inset 0 0 0 1px var(--emerald);
}
.is-dark .btn-B { color: var(--cream); box-shadow: inset 0 0 0 1px rgba(245, 239, 224, 0.40); }
.is-dark .btn-B:hover { background: rgba(245, 239, 224, 0.08); color: var(--cream); box-shadow: inset 0 0 0 1px var(--cream); }

/* Buttons with the arrow circle get tighter right padding so it sits inside the pill. */
.btn:has(.arrow) { padding-right: 13px; }
/* Arrow badge — WHITE circle + emerald diagonal (↗) arrow, identical to the About Us button. */
.btn .arrow {
  display: inline-grid; place-items: center; flex: 0 0 auto;
  width: 32px; height: 32px; border-radius: 50%;
  background: #FFFFFF; color: var(--emerald);
  transition: transform var(--dur-default) var(--ease);
}
.btn .arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* Outline (secondary) buttons: filled emerald circle so the arrow stays visible. */
.btn-B .arrow { background: var(--emerald); color: #FFFFFF; }
.is-dark .btn-B .arrow { background: var(--cream); color: var(--emerald); }

/* Component partials (uncomment as files are added):
@import url("components/header.css");
@import url("components/footer.css");
*/
