/* Lead capture modal — matches the site's dark, mono-labelled system. */
.lead-modal[hidden] { display: none; }
.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.lead-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: lead-fade 0.25s var(--ease-out, ease) both;
}
.lead-modal__panel {
  position: relative;
  width: min(34rem, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-2, #202020);
  border: 1px solid var(--line, rgba(223, 219, 213, 0.15));
  border-radius: 18px;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  animation: lead-rise 0.32s var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1)) both;
}
.lead-modal__close {
  position: absolute;
  top: 0.9rem;
  right: 1.1rem;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--ink-soft, #98938a);
  background: none;
  border: 0;
  cursor: pointer;
  transition: color 0.2s;
}
.lead-modal__close:hover { color: var(--ink, #dfdbd5); }
.lead-modal__eyebrow { margin-bottom: 0.5rem; }
.lead-modal__title {
  font-family: var(--display, sans-serif);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  line-height: 1.05;
  color: var(--accent-ink, #f3ece4);
  margin-bottom: 1.4rem;
}

.lead-form { display: flex; flex-direction: column; gap: 0.9rem; }
.lead-form__hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.lead-form__field { display: flex; flex-direction: column; gap: 0.4rem; }
.lead-form__field span {
  font-family: var(--mono, monospace);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft, #98938a);
}
.lead-form input,
.lead-form textarea {
  font-family: var(--font, sans-serif);
  font-size: 1rem;
  color: var(--ink, #dfdbd5);
  background: var(--bg, #181818);
  border: 1px solid var(--line, rgba(223, 219, 213, 0.15));
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  transition: border-color 0.2s;
}
.lead-form input:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--accent, #c94927);
}
.lead-form textarea { resize: vertical; }
.lead-form__submit {
  margin-top: 0.4rem;
  font-family: var(--mono, monospace);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bg, #181818);
  background: var(--ink, #dfdbd5);
  border: 0;
  border-radius: 99px;
  padding: 0.85rem 1.6rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.lead-form__submit:hover { background: var(--accent, #c94927); color: var(--accent-ink, #f3ece4); }
.lead-form__status { min-height: 1.2rem; font-size: 0.9rem; }
.lead-form__status.is-success { color: #6cc36c; }
.lead-form__status.is-error { color: #e0744f; }

@keyframes lead-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lead-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .lead-modal__backdrop, .lead-modal__panel { animation: none; }
}
