/* ============================================================
   COMPONENTS — buttons, nav links, badges, forms, cards
   Sharp shape language, copper accents, tabular rhythm.
   ============================================================ */

/* ---- Inline contextual nav links (Seed E=7) ---- */
.navlink {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-sm);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--dur) var(--ease);
}
.navlink::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--brand-primary);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.navlink:hover { color: var(--text-primary); }
.navlink:hover::after { transform: scaleX(1); }
.navlink--active { color: var(--brand-primary); }

/* ---- Buttons: sharp, copper, with a moving glint ---- */
.btn {
  --btn-bg: var(--brand-primary);
  --btn-fg: var(--text-on-copper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: var(--rule) solid var(--brand-primary);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 15px 28px;
  cursor: pointer;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.btn__arrow { transition: transform var(--dur) var(--ease); }
.btn:hover .btn__arrow { transform: translateX(5px); }
.btn::before {
  /* diagonal glint sweep */
  content: "";
  position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transition: left 600ms var(--ease);
}
.btn:hover::before { left: 130%; }
.btn:hover { box-shadow: var(--glow-copper); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text-primary);
  border-color: var(--border-strong);
}
.btn--ghost:hover { border-color: var(--brand-primary); color: var(--brand-primary); box-shadow: none; }

.btn--block { width: 100%; }

/* On copper bands, invert the primary button to charcoal */
.cta-band .btn {
  --btn-bg: var(--surface-base);
  --btn-fg: var(--text-primary);
  border-color: var(--surface-base);
}

/* ---- Badge (hero key line) ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: var(--rule) solid var(--border-copper);
  background: var(--surface-raised);
  padding: 12px 16px;
  font-size: var(--text-sm);
  color: var(--text-primary);
  line-height: 1.4;
}
.badge::before {
  content: "";
  width: 9px; height: 9px; flex: 0 0 auto;
  background: var(--brand-accent);
  box-shadow: 0 0 12px var(--brand-accent);
}

/* ---- Offer / benefit list (checked, tabular) ---- */
.spec-list { list-style: none; margin: 0; padding: 0; }
.spec-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-3);
  align-items: baseline;
  padding: var(--space-3) 0;
  border-bottom: var(--rule) solid var(--border-subtle);
  color: var(--text-primary);
}
.spec-list li::before {
  content: "→";
  color: var(--brand-primary);
  font-family: var(--font-display);
  font-weight: 600;
}

/* ---- Newsletter form ---- */
.subscribe { display: flex; flex-direction: column; gap: var(--space-3); }
.subscribe .field {
  display: flex;
  border: var(--rule) solid var(--text-on-copper);
  background: rgba(255, 255, 255, 0.9);
}
.subscribe input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 16px 18px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--surface-base);
}
.subscribe input[type="email"]::placeholder { color: #6b5a49; }
.subscribe input[type="email"]:focus { outline: none; }
.subscribe .field:focus-within { box-shadow: inset 0 0 0 2px var(--surface-base); }
.subscribe .note { font-size: var(--text-sm); color: var(--text-inverse); }
.subscribe .note a { text-decoration: underline; }
.subscribe .success {
  display: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-on-copper);
}
.cta-band.done .subscribe .field,
.cta-band.done .subscribe .note,
.cta-band.done .cta-band__head .sub { display: none; }
.cta-band.done .subscribe .success { display: block; }

/* ---- Footer components ---- */
.footer-contact p { margin: 4px 0; font-size: var(--text-sm); color: var(--text-secondary); }
.footer-contact a { color: var(--brand-accent); }
.footer-nav__list { display: flex; flex-direction: column; gap: var(--space-2); }
.footer-nav__list a {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color var(--dur) var(--ease);
  width: max-content;
}
.footer-nav__list a:hover { color: var(--brand-primary); }
.footer-disclosures p { margin: 8px 0; font-size: var(--text-xs); line-height: 1.6; color: var(--text-muted); }
.footer-disclosures strong { color: var(--text-secondary); }
.footer-bottom { font-size: var(--text-xs); color: var(--text-muted); display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; }

/* ---- Ledger (legal) list micro-styling ---- */
.ledger__body strong { color: var(--text-primary); }
