/* ============================================================
   SOCIAL SOMEONE — BOOKING ONBOARDING
   Layered on top of styles.css design tokens (colors/fonts/buttons)
   ============================================================ */

body.ob-body {
  background: var(--cream);
  min-height: 100vh;
}

.ob-shell {
  max-width: 560px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* ---------- header: logo + progress + back ---------- */

.ob-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--edge) 8px;
  position: relative;
}

.ob-back {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  visibility: hidden;
  flex-shrink: 0;
}
.ob-back.show { visibility: visible; }
.ob-back svg { width: 18px; height: 18px; }

.ob-logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ob-logo-mark svg { width: 17px; height: 17px; }

.ob-header-spacer { width: 38px; flex-shrink: 0; }

.ob-progress {
  display: flex;
  gap: 6px;
  padding: 4px var(--edge) 18px;
}
.ob-dot {
  height: 5px;
  flex: 1;
  border-radius: 3px;
  background: var(--hairline);
  transition: background 0.3s ease;
}
.ob-dot.filled { background: var(--black); }
.ob-dot.current { background: var(--red); }

/* ---------- screen container ---------- */

.ob-screens {
  flex: 1;
  position: relative;
  padding-bottom: 40px;
}

.ob-screen {
  display: none;
  padding: 8px var(--edge) 30px;
  animation: obFadeIn 0.35s ease both;
}
.ob-screen.active { display: block; }

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

@media (prefers-reduced-motion: reduce) {
  .ob-screen { animation: none; }
}

.ob-eyebrow {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.ob-h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 6vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.ob-sub {
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 4px;
  line-height: 1.5;
}

.ob-hint {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.ob-note {
  font-size: 12.5px;
  color: var(--ink-faint);
  line-height: 1.5;
  margin-top: 16px;
}
.ob-note a { color: var(--ink-soft); text-decoration: underline; }

/* ---------- primary button ---------- */

.ob-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 18px 26px;
  border-radius: var(--radius-pill);
  background: var(--black);
  color: var(--white);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  margin-top: 26px;
  transition: transform 0.15s ease, background 0.15s ease;
}
.ob-btn:hover { background: var(--red); transform: translateY(-1px); }
.ob-btn:disabled { opacity: 0.35; cursor: not-allowed; transform: none; background: var(--black); }

.ob-btn.ob-btn-red { background: var(--red); }
.ob-btn.ob-btn-red:hover { background: var(--red-dark); }

/* ---------- photo placeholder blocks ---------- */

.ob-photo-wrap {
  position: relative;
  margin-bottom: 26px;
}

.ob-photo-border {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  transform: rotate(-3deg);
  z-index: 0;
}

.ob-photo-placeholder {
  position: relative;
  z-index: 1;
  transform: rotate(1.5deg);
  border-radius: 20px;
  min-height: 220px;
  background: repeating-linear-gradient(135deg, #eee, #eee 10px, #f6f6f6 10px, #f6f6f6 20px);
  border: 2px dashed var(--ink-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

.ob-photo-placeholder p {
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 600;
  line-height: 1.5;
  max-width: 380px;
}
.ob-photo-placeholder .ob-ph-label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}

.ob-photo-real {
  position: relative;
  z-index: 1;
  transform: rotate(1.5deg);
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 20px;
  border: 6px solid var(--white);
  box-shadow: 0 20px 40px -16px rgba(0,0,0,0.25);
  display: block;
}

/* bubble reuses .bubble from styles.css but needs static (non-animated) variant here */
.ob-bubble {
  position: absolute;
  font-weight: 800;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--black);
  z-index: 2;
}

/* ---------- selection cards / chips ---------- */

.ob-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.ob-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 20px;
  border-radius: 16px;
  background: var(--white);
  border: 5px solid var(--hairline);
  font-weight: 700;
  font-size: 15.5px;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
  text-align: left;
}
.ob-option:active { transform: scale(0.98); }
.ob-option.selected {
  border-color: var(--black);
  box-shadow: 3px 3px 0 var(--black);
}
.ob-option .ob-opt-emoji { font-size: 19px; flex-shrink: 0; }

/* card-style options with photo + subtitle (screen 7) — thicker border,
   pink highlight on selection to match the site's neon language */
.ob-option-card {
  padding: 0;
  overflow: hidden;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  border-width: 5px;
}
.ob-option-card.selected {
  border-color: var(--neon-pink);
  box-shadow: 3px 3px 0 var(--neon-pink);
}
.ob-option-card .ob-oc-photo {
  height: 130px;
  background: repeating-linear-gradient(135deg, #eee, #eee 10px, #f6f6f6 10px, #f6f6f6 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.ob-option-card .ob-oc-photo p {
  font-size: 10.5px;
  color: var(--ink-faint);
  font-weight: 600;
  text-align: center;
}
.ob-option-card .ob-oc-body { padding: 16px 18px 18px; }
.ob-option-card .ob-oc-title { font-size: 16px; font-weight: 800; margin-bottom: 3px; }
.ob-option-card .ob-oc-sub { font-size: 13.5px; color: var(--ink-soft); font-weight: 500; }

/* chip grid (interests) */
.ob-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.ob-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 2px solid var(--hairline);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.ob-chip.selected {
  border-color: var(--black);
  color: var(--white);
}
.ob-chip.selected.c-yellow { background: var(--neon-yellow); color: var(--black); border-color: var(--black); }
.ob-chip.selected.c-pink { background: var(--neon-pink); border-color: var(--neon-pink); }
.ob-chip.selected.c-orange { background: var(--neon-orange); border-color: var(--neon-orange); }
.ob-chip.selected.c-purple { background: var(--neon-purple); border-color: var(--neon-purple); }

.ob-chip-other-input {
  width: 100%;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 2px solid var(--hairline);
  font-family: var(--font-sans);
  font-size: 14.5px;
  display: none;
}
.ob-chip-other-input.show { display: block; }

/* ---------- question cards (screen 5) ---------- */

.ob-qcard {
  background: var(--white);
  border-radius: 18px;
  padding: 22px 20px;
  margin-bottom: 16px;
  border: 3px solid var(--black);
}
.ob-qcard:nth-child(3n+1) { border-color: var(--neon-yellow); transform: rotate(-0.6deg); }
.ob-qcard:nth-child(3n+2) { border-color: var(--neon-orange); transform: rotate(0.6deg); }
.ob-qcard:nth-child(3n+3) { border-color: var(--neon-purple); transform: rotate(-0.5deg); }

.ob-qcard-q {
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 12px;
  line-height: 1.35;
}

.ob-textarea {
  width: 100%;
  min-height: 76px;
  border-radius: 12px;
  border: 1.5px solid var(--hairline);
  background: var(--cream);
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  resize: vertical;
}
.ob-textarea:disabled { opacity: 0.5; background: var(--hairline); }

.ob-skip {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
  user-select: none;
}
.ob-skip input { accent-color: var(--black); width: 15px; height: 15px; }

/* ---------- consent / accommodations ---------- */

.ob-accordion-trigger {
  width: 100%;
  text-align: left;
  background: var(--white);
  border: 1.5px solid var(--hairline);
  border-radius: 14px;
  padding: 16px 18px;
  font-weight: 700;
  font-size: 14.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  margin-top: 18px;
}
.ob-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.ob-accordion-body.open { max-height: 220px; }
.ob-accordion-body textarea {
  width: 100%;
  min-height: 70px;
  margin-top: 10px;
  border-radius: 12px;
  border: 1.5px solid var(--hairline);
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 14px;
}

.ob-consent-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--ink-soft);
  cursor: pointer;
  line-height: 1.5;
}
.ob-consent-check input { margin-top: 3px; accent-color: var(--black); width: 16px; height: 16px; flex-shrink: 0; }
.ob-consent-check .ob-optional-tag {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 2px;
}

/* ---------- envelope interstitial ---------- */

.ob-envelope-stage {
  background: var(--black);
  border-radius: 26px;
  padding: 34px 24px 30px;
  text-align: center;
  margin: 6px 0 20px;
}
.ob-envelope-img-wrap { position: relative; display: inline-block; }
.ob-envelope-img-wrap img {
  width: 240px;
  border-radius: 14px;
  box-shadow: 0 24px 50px -14px rgba(0,0,0,0.6);
}
.ob-envelope-name {
  position: absolute;
  top: 27%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-4deg);
  transform-origin: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: var(--white);
  text-shadow: 0 1px 3px rgba(0,0,0,0.55), 0 0 14px rgba(0,0,0,0.35);
  text-transform: uppercase;
  white-space: nowrap;
  max-width: 210px;
  pointer-events: none;
}

/* ---------- payment summary screen ---------- */

.ob-summary-card {
  background: var(--white);
  border-radius: 20px;
  border: 2px solid var(--hairline);
  padding: 26px 22px;
  margin-bottom: 8px;
}
.ob-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 14.5px;
}
.ob-summary-row:last-child { border-bottom: none; }
.ob-summary-row .lbl { color: var(--ink-soft); font-weight: 600; }
.ob-summary-row .val { font-weight: 800; }

.ob-summary-list {
  margin: 22px 0 4px;
  font-size: 14.5px;
  line-height: 2;
  font-weight: 700;
}

/* ---------- success screen ---------- */

.ob-success-shell {
  background: var(--black);
  min-height: 100vh;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px var(--edge);
  text-align: center;
}
.ob-success-shell .ob-logo-mark { margin-bottom: 26px; background: var(--red); }
.ob-success-shell h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 8vw, 50px);
  color: var(--white);
  margin-bottom: 10px;
}
.ob-success-shell .ob-cash-line {
  font-size: 17px;
  color: var(--neon-yellow);
  font-weight: 700;
  margin-bottom: 34px;
}
.ob-success-event {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 18px;
  padding: 22px 26px;
  margin-bottom: 30px;
}
.ob-success-event .name { font-weight: 800; font-size: 19px; margin-bottom: 6px; }
.ob-success-event .meta { color: rgba(255,255,255,0.65); font-size: 14px; }
.ob-success-shell .ob-secret-line {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  margin: 22px 0 30px;
}
.ob-success-shell .ob-inbox-note {
  font-size: 12.5px;
  color: rgba(255,255,255,0.5);
  margin-top: 18px;
}

/* ---------- responsive ---------- */

@media (max-width: 420px) {
  .ob-h1 { font-size: 25px; }
  .ob-photo-real, .ob-photo-placeholder { height: 190px; min-height: 190px; }
  .ob-envelope-img-wrap img { width: 200px; }
  .ob-envelope-name { font-size: 18px; }
}
