/* =============================================
   WAITLIST — SPLIT-SCREEN LAYOUT
   Form left · Photo right · Sticky panel
   ============================================= */

/* =============================================
   SPLIT CONTAINER
   ============================================= */
.wl-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

/* =============================================
   LEFT — FORM PANEL
   ============================================= */
.wl-left {
  background: var(--bone);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 120px 64px 80px;
  min-height: 100vh;
}

.wl-content {
  width: 100%;
  max-width: 460px;
}

.wl-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 20px;
  opacity: 0;
  animation: slowReveal var(--duration-reveal) 100ms var(--ease-reveal) forwards;
}

.wl-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: var(--tracking-tight);
  line-height: var(--line-height-display);
  margin-bottom: 20px;
  opacity: 0;
  animation: slowReveal var(--duration-reveal) 220ms var(--ease-reveal) forwards;
}

.wl-subtitle {
  font-size: 15px;
  color: var(--ink-70);
  line-height: var(--line-height-text);
  margin-bottom: 28px;
  opacity: 0;
  animation: slowReveal var(--duration-reveal) 340ms var(--ease-reveal) forwards;
}

/* =============================================
   LIVE COUNTER
   ============================================= */
.wl-counter {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--ink-40);
  margin-bottom: 32px;
  opacity: 0;
  animation: slowReveal var(--duration-reveal) 440ms var(--ease-reveal) forwards;
}

.wl-counter #wlCount {
  color: var(--ink-70);
  font-weight: 600;
}

/* =============================================
   FORM
   ============================================= */
.wl-form-wrap {
  background: white;
  border: 1px solid var(--hairline);
  padding: 36px;
  opacity: 0;
  animation: slowReveal var(--duration-reveal) 520ms var(--ease-reveal) forwards;
}

.wl-form-wrap .form-textarea {
  resize: none;
  min-height: 72px;
}

.wl-form-wrap .form-input {
  background: var(--bone);
  border: 1px solid var(--hairline);
}

.wl-form-wrap .form-input:focus {
  border-color: var(--ink-30);
  background: white;
}

.wl-optional {
  font-weight: 400;
  color: var(--ink-30);
  text-transform: none;
  letter-spacing: normal;
  font-family: var(--font-sans);
  font-size: 11px;
}

/* =============================================
   SUCCESS STATE
   ============================================= */
.wl-success {
  background: white;
  border: 1px solid var(--hairline);
  padding: 48px 36px;
  text-align: center;
  animation: fadeInUp var(--duration-slow) var(--ease-reveal) forwards;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.wl-success-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #059669, #10B981);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 22px;
  color: white;
  font-weight: bold;
}

.wl-success-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: var(--tracking-tight);
  margin-bottom: 8px;
}

.wl-success-pos {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 20px;
}

.wl-success-text {
  font-size: 14px;
  color: var(--ink-70);
  line-height: var(--line-height-text);
  margin-bottom: 24px;
  text-align: left;
}

.wl-brief-link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding: 14px 24px;
  border: 1px solid var(--hairline);
  transition: all var(--duration-normal) var(--ease-smooth);
}

.wl-brief-link:hover {
  border-color: var(--ink-30);
  background: var(--ink-04);
}

/* =============================================
   RIGHT — PHOTO PANEL
   Sticky, full-height, edge-to-edge
   ============================================= */
.wl-photo {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.wl-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

/* Caption overlay at bottom-left */
.wl-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 40px 36px;
  background: linear-gradient(to top, rgba(8,8,8,0.72) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wl-photo-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.wl-photo-loc {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 600;
  color: white;
  letter-spacing: var(--tracking-tight);
}

/* =============================================
   RESPONSIVE
   ============================================= */

/* Tablet — stack vertically, photo becomes banner */
@media (max-width: 900px) {
  .wl-split {
    grid-template-columns: 1fr;
    grid-template-rows: 52vh auto;
  }

  /* Photo moves first (top) on mobile */
  .wl-photo {
    order: -1;
    position: relative;
    height: 52vh;
  }

  .wl-photo img {
    object-position: center 25%;
  }

  .wl-left {
    padding: 60px 32px 64px;
    min-height: auto;
    align-items: flex-start;
  }

  .wl-content {
    max-width: 100%;
  }

  .wl-title {
    font-size: clamp(26px, 6vw, 36px);
  }
}

@media (max-width: 480px) {
  .wl-split {
    grid-template-rows: 44vh auto;
  }

  .wl-photo {
    height: 44vh;
  }

  .wl-left {
    padding: 48px 20px 56px;
  }

  .wl-form-wrap {
    padding: 24px 20px;
  }

  .wl-form-wrap .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .wl-title {
    font-size: 26px;
  }

  .wl-photo-caption {
    padding: 28px 24px;
  }
}
