/* ── WAITLIST PAGE & HOMEPAGE CAPTURE CARD ─────────────────────── */
/* Owns: /waitlist, /waitlist/thanks, .capture-section on homepage. */
/* Does NOT own: .bg-nav, .site-footer, global theme variables.     */

/* ── WAITLIST PAGE BODY ── */
.waitlist-page {
  min-height: 100vh;
  background: var(--cream);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
}

/* ── HERO (mahogany — matches /story) ── */
.wl-hero {
  background: var(--mahogany);
  padding: 110px 40px 88px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.wl-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(196,149,106,0.1) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 80% 20%, rgba(196,149,106,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.wl-hero-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }

.wl-eyebrow {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
  margin-bottom: 20px;
}

.wl-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 20px;
}

.wl-hero-lede {
  font-size: 16px;
  color: rgba(245,239,230,0.72);
  line-height: 1.7;
  font-weight: 300;
  max-width: 440px;
  margin: 0 auto;
}

/* ── BRASS RAIL DIVIDER ── */
.wl-rail-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 480px;
  margin: 0 auto;
  padding: 36px 40px;
}

.rail-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(196,149,106,0.5), transparent);
}

/* ── FORM SECTION (cream) ── */
.wl-form-section {
  background: var(--cream);
  padding: 56px 40px 80px;
}

.wl-form-inner {
  max-width: 480px;
  margin: 0 auto;
}

.wl-error {
  background: rgba(44,24,16,0.06);
  border: 1px solid rgba(196,149,106,0.5);
  border-radius: 4px;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--mahogany);
  margin-bottom: 24px;
}

.wl-form { display: flex; flex-direction: column; gap: 20px; }

.wl-field { display: flex; flex-direction: column; gap: 6px; }

.wl-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wl-optional {
  font-weight: 300;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(92,61,46,0.5);
}

.wl-input,
.wl-select {
  width: 100%;
  padding: 12px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(196,149,106,0.4);
  border-radius: 4px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.wl-input:focus,
.wl-select:focus { border-color: var(--brass); }

.wl-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C4956A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.wl-submit {
  padding: 14px 32px;
  background: var(--mahogany);
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
  align-self: flex-start;
}

.wl-submit:hover { background: var(--mahogany-light); }

.wl-promise {
  margin-top: 16px;
  font-size: 12px;
  color: rgba(92,61,46,0.5);
  font-weight: 300;
}

/* ── INLINE SUCCESS STATE ── */
.wl-success {
  text-align: center;
  padding: 40px 0 20px;
}

.wl-success-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--mahogany);
  margin-bottom: 12px;
}

.wl-success-sub {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.7;
  font-weight: 300;
}

/* ── THANKS PAGE ── */
.wl-thanks-section {
  min-height: calc(100vh - 72px - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
  background: var(--cream);
  text-align: center;
}

.wl-thanks-inner { max-width: 520px; margin: 0 auto; }

.wl-thanks-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 700;
  color: var(--mahogany);
  margin-bottom: 16px;
  line-height: 1.1;
}

.wl-thanks-sub {
  font-size: 16px;
  color: var(--ink-muted);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 28px;
}

.wl-thanks-address {
  font-size: 12px;
  color: var(--brass);
  letter-spacing: 0.06em;
  font-weight: 500;
  margin-bottom: 40px;
}

.wl-thanks-actions {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.wl-thanks-btn {
  padding: 12px 28px;
  background: var(--mahogany);
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s;
}

.wl-thanks-btn:hover { background: var(--mahogany-light); }

.wl-thanks-link {
  font-size: 13px;
  color: var(--ink-muted);
  text-decoration: underline;
  text-decoration-color: rgba(92,61,46,0.3);
  text-underline-offset: 3px;
}

/* ── HOMEPAGE CAPTURE CARD ── */
.capture-section {
  background: var(--cream-deep);
  padding: 56px 32px;
  border-top: 1px solid rgba(196,149,106,0.15);
}

.capture-inner {
  max-width: 600px;
  margin: 0 auto;
}

.capture-card {
  border: 1px solid rgba(196,149,106,0.45);
  border-radius: 6px;
  padding: 36px 40px;
  background: var(--cream);
  /* Subtle brass shadow */
  box-shadow: 0 1px 16px rgba(196,149,106,0.08);
}

.capture-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--mahogany);
  margin-bottom: 8px;
  line-height: 1.2;
}

.capture-sub {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 24px;
  max-width: 380px;
}

.capture-form { display: flex; flex-direction: column; gap: 12px; }

.capture-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.capture-input {
  flex: 1;
  min-width: 180px;
  padding: 11px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(196,149,106,0.4);
  border-radius: 4px;
  outline: none;
  transition: border-color 0.2s;
}

.capture-input:focus { border-color: var(--brass); }

.capture-btn {
  padding: 11px 24px;
  background: var(--mahogany);
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.capture-btn:hover { background: var(--mahogany-light); }

.capture-promise {
  font-size: 11px;
  color: rgba(92,61,46,0.45);
  font-weight: 300;
}

.capture-success-text {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-style: italic;
  color: var(--mahogany);
  font-weight: 400;
}

/* Nav waitlist link — slight brass accent */
.nav-waitlist-link { color: var(--brass) !important; }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .wl-hero { padding: 80px 24px 64px; }
  .wl-form-section { padding: 40px 24px 64px; }
  .wl-thanks-section { padding: 56px 24px; }
  .capture-card { padding: 28px 24px; }
  .capture-row { flex-direction: column; }
  .capture-btn { width: 100%; }
  .capture-input { min-width: 0; }
}
