/* =========================================================================
   NOBP 504 — first-press email capture
   Shown once, over the music, never instead of it.
   ========================================================================= */

.nobp-capture {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  padding: 20px;
  background: rgba(5, 5, 5, 0.72);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 260ms cubic-bezier(.2,.8,.2,1);
}
.nobp-capture[data-open="1"] { opacity: 1; }
.nobp-capture[hidden] { display: none; }

.nobp-capture__card {
  position: relative;
  width: min(440px, 100%);
  padding: 34px 30px 28px;
  border-radius: 20px;
  border: 1px solid rgba(217, 166, 46, 0.34);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(217, 166, 46, 0.16), transparent 62%),
    #0d0d0d;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  text-align: center;
  transform: translateY(14px) scale(.98);
  transition: transform 300ms cubic-bezier(.2,.8,.2,1);
}
.nobp-capture[data-open="1"] .nobp-capture__card { transform: none; }

.nobp-capture__eyebrow {
  margin: 0 0 8px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold, #d9a62e);
}
.nobp-capture__title {
  margin: 0 0 10px;
  font-family: var(--font-display, inherit);
  font-size: clamp(24px, 5vw, 30px);
  line-height: 1.15;
  color: var(--cream, #f7f0df);
}
.nobp-capture__body {
  margin: 0 0 20px;
  font-size: 15px; line-height: 1.55;
  color: var(--muted, #bdb7aa);
}

.nobp-capture__row { display: flex; gap: 10px; flex-wrap: wrap; }
.nobp-capture__row input {
  flex: 1 1 190px; min-width: 0;
  padding: 13px 15px;
  border-radius: 11px;
  border: 1px solid rgba(247, 240, 223, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: var(--cream, #f7f0df);
  font-size: 16px;                 /* 16px or iOS zooms the page on focus */
}
.nobp-capture__row input::placeholder { color: rgba(189, 183, 170, 0.66); }
.nobp-capture__row input:focus-visible {
  outline: 3px solid var(--gold-bright, #f4ca62); outline-offset: 2px;
}
.nobp-capture__row button {
  /* When the button wraps onto its own line — which it does at every width
     this card is used at, because "Keep me posted" is wide — a fixed-width
     button hangs off to the left under centred text and reads like a
     mistake. Letting it grow makes it fill the row instead. */
  flex: 1 1 auto;
}

.nobp-capture__note {
  margin: 14px 0 0; min-height: 20px;
  font-size: 13.5px; line-height: 1.5;
  color: var(--muted, #bdb7aa);
}
.nobp-capture__note a { color: var(--gold-bright, #f4ca62); }

.nobp-capture__skip {
  margin-top: 16px;
  background: none; border: 0; padding: 6px 10px;
  font: inherit; font-size: 13.5px;
  color: rgba(189, 183, 170, 0.8);
  text-decoration: underline; text-underline-offset: 3px;
  cursor: pointer;
}
.nobp-capture__skip:hover { color: var(--cream, #f7f0df); }
.nobp-capture__skip:focus-visible {
  outline: 3px solid var(--gold-bright, #f4ca62); outline-offset: 3px; border-radius: 6px;
}

.nobp-capture__close {
  position: absolute; top: 10px; right: 10px;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: none; border: 0; border-radius: 50%;
  color: rgba(189, 183, 170, 0.8);
  font-size: 22px; line-height: 1; cursor: pointer;
}
.nobp-capture__close:hover { color: var(--cream, #f7f0df); background: rgba(255,255,255,.07); }
.nobp-capture__close:focus-visible { outline: 3px solid var(--gold-bright, #f4ca62); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  .nobp-capture, .nobp-capture__card { transition: none; }
  .nobp-capture__card { transform: none; }
}
