/* ---------- Get on the List (newsletter sign-up panel) ---------- */
.nl {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(10, 10, 10, 0.45);
  opacity: 0;
  transition: opacity 220ms ease;
}
.nl[hidden] { display: none; }
.nl.is-visible { opacity: 1; }

.nl-card {
  position: relative;
  width: min(100%, 460px);
  padding: 36px 32px 30px;
  background: var(--bg, #fff);
  color: var(--ink, #0a0a0a);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  font-family: var(--font);
  text-align: left;
  transform: translateY(14px) scale(0.97);
  transition: transform 380ms cubic-bezier(0.34, 1.4, 0.64, 1);
}
.nl.is-visible .nl-card { transform: none; }

.nl-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink, #0a0a0a);
  cursor: pointer;
  transition: background 140ms ease;
}
.nl-close:hover { background: rgba(0, 0, 0, 0.07); }
.nl-close:focus-visible { outline: 3px solid var(--ink, #0a0a0a); outline-offset: 2px; }

.nl-kicker {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--ink-2, #3a3a3a);
}
.nl-title {
  margin: 0;
  font-weight: 900;
  font-size: clamp(30px, 7vw, 40px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.nl-copy {
  margin: 14px 0 22px;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2, #3a3a3a);
}

.nl-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nl-row { display: flex; gap: 8px; }
.nl-input {
  flex: 1;
  min-width: 0;
  height: 50px;
  padding: 0 18px;
  border: 2px solid var(--ink, #0a0a0a);
  border-radius: 999px;
  background: #fff;
  color: var(--ink, #0a0a0a);
  font: 600 16px/1 var(--font);   /* 16px keeps iOS from zooming in */
}
.nl-input::placeholder { color: #8a8a8a; }
.nl-input:focus { outline: none; box-shadow: 0 0 0 4px rgba(10, 10, 10, 0.14); }
.nl-input[aria-invalid="true"] { border-color: #b00020; }
.nl-submit { height: 50px; padding: 0 22px; white-space: nowrap; }
.nl-submit[disabled] { opacity: 0.6; cursor: progress; transform: none; }

.nl-hp { position: absolute; left: -5000px; }

.nl-msg {
  min-height: 1.4em;
  margin: 12px 0 0;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
}
.nl-msg.is-error { color: #b00020; }
.nl-msg a { color: inherit; font-weight: 800; }

.nl-card.is-done .nl-form { display: none; }
.nl-card.is-done .nl-copy { color: var(--ink, #0a0a0a); font-weight: 600; font-size: 16px; margin-bottom: 0; }

@media (max-width: 420px) {
  .nl-card { padding: 32px 22px 24px; }
  .nl-row { flex-direction: column; }
  .nl-input { flex: none; }
  .nl-submit { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .nl, .nl-card { transition: none; }
}
