/* eResonate — onboard.css · supply-side onboarding wizard */

.ob { max-width: 1120px; margin: 0 auto; padding: calc(var(--nav-h) + 2.4rem) 1.25rem 4rem; }

/* header */
.ob-head { text-align: center; margin-bottom: 2rem; }
.ob-eyebrow {
  display: inline-block; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
  background: rgba(168, 85, 247, 0.1); border: 1px solid var(--border-accent);
  padding: 0.35rem 0.8rem; border-radius: 999px; margin-bottom: 1rem;
}
.ob-title { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1.08; margin: 0 0 0.6rem; }
.ob-sub { color: var(--text-muted); font-size: 1.02rem; max-width: 44ch; margin: 0 auto; }
.ob-sub strong { color: var(--money); }

/* progress */
.ob-progress { height: 4px; border-radius: 999px; background: rgba(255,255,255,0.08); max-width: 560px; margin: 1.8rem auto 0.9rem; overflow: hidden; }
.ob-bar { height: 100%; width: 0%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent2)); transition: width 0.45s cubic-bezier(.4,0,.2,1); }
.ob-steps { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 0.35rem 1.1rem; padding: 0; margin: 0; }
.ob-steps li { font-family: 'Outfit', sans-serif; font-size: 0.76rem; font-weight: 600; color: var(--text-dim); position: relative; }
.ob-steps li.done { color: var(--text-muted); }
.ob-steps li.active { color: var(--text); }
.ob-steps li.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--accent); }

/* layout */
.ob-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.6rem; align-items: start; }
.ob-grid.solo { grid-template-columns: 1fr; max-width: 680px; margin: 0 auto; }
.ob-wizard {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.8rem; box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.ob-step { animation: obIn 0.35s ease; }
@keyframes obIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ob-h { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.32rem; margin: 0 0 0.45rem; }
.ob-p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.55; margin: 0 0 1.2rem; }
.ob-p strong { color: var(--money); }
.ob-fine { color: var(--text-dim); font-size: 0.8rem; margin-top: 1.1rem; }

/* role cards */
.ob-roles { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ob-role {
  text-align: left; background: rgba(255,255,255,0.02); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 1.3rem; cursor: pointer; color: var(--text);
  display: flex; flex-direction: column; gap: 0.4rem; transition: border-color 0.18s, transform 0.18s, background 0.18s;
}
.ob-role:hover { border-color: var(--border-accent); transform: translateY(-3px); background: rgba(168,85,247,0.06); }
.ob-role.sel { border-color: var(--accent); background: rgba(168,85,247,0.1); box-shadow: 0 0 0 3px var(--accent-glow); }
.ob-role-ico { font-size: 2rem; }
.ob-role-name { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.1rem; }
.ob-role-desc { color: var(--text-muted); font-size: 0.85rem; line-height: 1.45; }

/* form fields */
.ob-label { display: block; font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 0.82rem; margin: 0.9rem 0 0.35rem; color: var(--text); }
.ob-opt { color: var(--text-dim); font-weight: 400; }
.ob-input {
  width: 100%; background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: 10px; padding: 0.7rem 0.85rem; color: var(--text); font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem; transition: border-color 0.15s, box-shadow 0.15s;
}
.ob-input::placeholder { color: var(--text-dim); }
.ob-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
select.ob-input { appearance: none; 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 fill='%238D91B8' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; padding-right: 2.2rem; }
.ob-input.err { border-color: #ff6b6b; box-shadow: 0 0 0 3px rgba(255,107,107,0.18); }
.ob-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.ob-handle { display: flex; align-items: center; background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 10px; padding-left: 0.85rem; }
.ob-handle span { color: var(--text-dim); font-weight: 600; }
.ob-handle .ob-input { border: none; background: none; padding-left: 0.3rem; }
.ob-handle .ob-input:focus { box-shadow: none; }
.ob-handle:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.ob-count { text-align: right; font-size: 0.72rem; color: var(--text-dim); margin-top: 4px; }

/* swatches */
.ob-swatches { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ob-swatches button { width: 30px; height: 30px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; padding: 0; transition: transform 0.12s; }
.ob-swatches button:hover { transform: scale(1.12); }
.ob-swatches button.sel { border-color: #fff; box-shadow: 0 0 0 2px var(--accent); }
.ob-banners button { width: 52px; height: 30px; border-radius: 8px; }

/* split slider */
.ob-split { margin: 0.6rem 0 1rem; }
.ob-split-read { display: flex; justify-content: space-between; font-size: 0.85rem; margin-bottom: 8px; font-family: 'Outfit', sans-serif; }
.ob-split-a b { color: var(--accent); }
.ob-split-v b { color: var(--money); }
#splitRange {
  -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 999px; outline: none; cursor: pointer;
  background: linear-gradient(90deg, #A855F7 0%, #A855F7 var(--fill, 60%), #1FA05C var(--fill, 60%), #1FA05C 100%);
}
#splitRange::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); box-shadow: 0 2px 10px rgba(0,0,0,0.5); cursor: grab; }
#splitRange::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); cursor: grab; }
.ob-split-proj { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; margin-top: 10px; background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 10px; padding: 0.7rem 0.85rem; }
.ob-split-proj .proj-a { color: var(--accent); font-weight: 700; }
.ob-split-proj .proj-v { color: var(--money); font-weight: 700; }
.ob-note { font-size: 0.8rem; color: var(--text-muted); line-height: 1.55; background: rgba(62,224,140,0.06); border-left: 2px solid var(--money); border-radius: 6px; padding: 0.7rem 0.85rem; }
.ob-note strong { color: var(--text); }

/* checklist */
.ob-check { list-style: none; padding: 0; margin: 0 0 1.1rem; }
.ob-check li { position: relative; padding: 0.4rem 0 0.4rem 1.7rem; font-size: 0.9rem; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.ob-check li:last-child { border-bottom: none; }
.ob-check li::before { content: '✓'; position: absolute; left: 0; top: 0.4rem; color: var(--money); font-weight: 800; }
.ob-reach { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.9rem; min-height: 1.2em; }
.ob-reach b { color: var(--money); }

/* done */
.ob-done { text-align: center; padding: 0.8rem 0; }
.ob-done-check { width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 50%; background: linear-gradient(135deg, var(--money), var(--logo-blue)); color: #04120b; font-size: 2rem; font-weight: 900; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(62,224,140,0.35); }
.ob-recap { text-align: left; background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1.2rem; margin: 1.3rem 0; }
.ob-recap div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.4rem 0; font-size: 0.9rem; border-bottom: 1px solid var(--border); }
.ob-recap div:last-child { border-bottom: none; }
.ob-recap .rk { color: var(--text-muted); }
.ob-recap .rv { color: var(--text); font-weight: 600; text-align: right; }
.ob-done-cta { display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; margin-top: 0.4rem; }

/* actions */
.ob-actions { display: flex; justify-content: space-between; gap: 0.8rem; margin-top: 1.6rem; padding-top: 1.3rem; border-top: 1px solid var(--border); }
.ob-actions .btn { min-width: 120px; }
.ob-actions.hide-back #obBack { visibility: hidden; }

/* live preview */
.ob-preview { position: sticky; top: calc(var(--nav-h) + 1.2rem); }
.ob-preview-label { font-family: 'Outfit', sans-serif; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 0.6rem; text-align: center; }
.ob-preview-note { font-size: 0.72rem; color: var(--text-dim); text-align: center; margin-top: 0.7rem; }
.pv-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.pv-banner { height: 96px; background: linear-gradient(120deg, #A855F7, #D946EF); transition: background 0.3s; }
.pv-avatar { width: 68px; height: 68px; border-radius: 50%; margin: -34px auto 0; border: 4px solid var(--bg-card); background: #A855F7; color: #fff; font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.5rem; display: flex; align-items: center; justify-content: center; position: relative; transition: background 0.3s; }
.pv-body { padding: 0.6rem 1.1rem 1.2rem; text-align: center; }
.pv-nameline { display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
.pv-name { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.15rem; }
.pv-badge { font-size: 0.66rem; font-weight: 700; padding: 0.18rem 0.5rem; border-radius: 999px; background: rgba(168,85,247,0.15); color: var(--accent); border: 1px solid var(--border-accent); }
.pv-badge.venue { background: rgba(62,224,140,0.14); color: var(--money); border-color: rgba(62,224,140,0.4); }
.pv-handle { color: var(--text-dim); font-size: 0.85rem; margin-top: 2px; }
.pv-bio { color: var(--text-muted); font-size: 0.88rem; line-height: 1.5; margin: 0.7rem 0; min-height: 1.3em; }
.pv-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 0.9rem; font-size: 0.78rem; color: var(--text-dim); margin-bottom: 0.7rem; }
.pv-meta span b { color: var(--text-muted); font-weight: 600; }
.pv-split { font-size: 0.76rem; color: var(--text-muted); background: rgba(255,255,255,0.03); border-radius: 8px; padding: 0.45rem; margin-bottom: 0.7rem; }
.pv-split b.a { color: var(--accent); } .pv-split b.v { color: var(--money); }
.pv-cta { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.9rem; color: #fff; background: linear-gradient(92deg, var(--accent), var(--accent2)); border-radius: 999px; padding: 0.55rem; }

/* role-scoped field visibility (set on <main class="role-artist|role-venue">) */
.ob-only-artist, .ob-only-venue { display: none; }
.role-artist .ob-only-artist { display: block; }
.role-venue .ob-only-venue { display: block; }

/* responsive */
@media (max-width: 860px) {
  .ob-grid { grid-template-columns: 1fr; }
  .ob-preview { position: static; margin-top: 0.4rem; max-width: 420px; margin-left: auto; margin-right: auto; }
  .ob-steps li:not(.active):not(.adjacent) { display: none; }
}
@media (max-width: 520px) {
  .ob-roles { grid-template-columns: 1fr; }
  .ob-row { grid-template-columns: 1fr; }
  .ob-wizard { padding: 1.3rem; }
}

/* ---- "the machines can't play your room" — artist recruitment angle ---- */
.ob-machines {
  margin: 1.5rem auto 0;
  max-width: 62ch;
  text-align: left;
  background: rgba(168, 85, 247, 0.07);
  border: 1px solid rgba(168, 85, 247, 0.32);
  border-radius: 14px;
  padding: 1.1rem 1.3rem;
}
.ob-machines-k {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #C77DFF;
  margin-bottom: 0.55rem;
}
.ob-machines p { font-size: 0.94rem; line-height: 1.62; color: var(--text-muted); }
.ob-machines p strong { color: var(--text); }
.ob-machines-p { margin-top: 0.6rem; color: var(--text-dim) !important; font-size: 0.88rem !important; }
