/* ============================================================
   THE AUTHORITY CODE: PREVIEW-only styles (Go A)
   Everything else is the arena design system, copied byte-identical
   (style.css / motion.css / player.css / moment.css). This file holds
   ONLY the few surfaces that exist only in the preview: the access gate,
   the velvet-rope modal close, the qualification screens, and the CTA.
   Dark / champagne gold, mobile-first, 44px tap targets. No new colours.
   ============================================================ */

/* ---------- View switching ---------- */
.pv-view { display: none; }
.pv-view.is-active { display: block; }

/* ---------- Access gate ---------- */
.pv-gate-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 0 80px;
}
.pv-gate { max-width: 440px; width: 100%; }
.pv-gate__head { margin-bottom: 26px; }
.pv-gate__logo { height: 52px; width: auto; margin: 0 auto 16px; display: block; }

/* Honeypot: visually and programmatically hidden, but a bot will fill it. */
.pv-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
}

/* Consent row: a real 44px tap target, label visible (no placeholder-only). */
.pv-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 4px 0 22px;
  cursor: pointer;
  min-height: 44px;
}
.pv-consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  width: 22px; height: 22px;
  margin-top: 2px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg-2);
  display: grid;
  place-items: center;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.pv-consent input[type="checkbox"]:checked {
  border-color: var(--gold);
  background: rgba(201, 165, 92, 0.16);
}
.pv-consent input[type="checkbox"]:checked::after {
  content: "";
  width: 6px; height: 11px;
  border: solid var(--gold-bright);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translateY(-1px);
}
.pv-consent__text { font-size: 0.86rem; color: var(--ink-mute); line-height: 1.5; }
.pv-gate.field-error .pv-consent input { border-color: var(--red); }

/* ---------- Preview hub: rank ladder (visible, only INITIATE reachable) ---------- */
.pv-ranks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
}
.pv-rank {
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-faint);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 5px 12px;
}
.pv-rank.is-current { color: var(--gold); border-color: var(--line); }

/* The locked "Calls" surface, so the visitor sees the platform's breadth. */
.pv-locked-strip {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--bg-1);
  opacity: 0.78;
  cursor: pointer;
}
.pv-locked-strip__ic { color: var(--ink-mute); flex: 0 0 auto; }
.pv-locked-strip__body { flex: 1; min-width: 0; }
.pv-locked-strip__title { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }
.pv-locked-strip__desc { color: var(--ink-mute); font-size: 0.9rem; margin-top: 2px; }

/* ---------- Velvet-rope modal (always has a visible close) ---------- */
.pv-velvet__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: var(--bg-2);
  color: var(--ink-mute);
  font-size: 1.2rem; line-height: 1;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.pv-velvet__close:hover { color: var(--ink); border-color: var(--line); }
#pv-velvet .modal { position: relative; padding-top: 30px; }

/* ---------- Qualification (one question per screen) ---------- */
.qual {
  max-width: 600px;
  margin: 0 auto;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.qual__eyebrow { margin-bottom: 14px; }
.qual__q {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 4.2vw, 2.3rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin-bottom: 26px;
}
.qual__options { display: flex; flex-direction: column; gap: 12px; }
.qual__opt {
  width: 100%;
  text-align: left;
  min-height: 56px;
  padding: 16px 20px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--bg-1);
  color: var(--ink-soft);
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.qual__opt:hover { border-color: var(--line); color: var(--ink); }
.qual__opt:active { transform: scale(0.99); }
.qual__opt-dot {
  flex: 0 0 auto;
  width: 18px; height: 18px;
  border-radius: 999px;
  border: 1px solid var(--ink-faint);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.qual__opt.is-active {
  border-color: var(--gold);
  background: rgba(201, 165, 92, 0.08);
  color: var(--ink);
}
.qual__opt.is-active .qual__opt-dot {
  border-color: var(--gold);
  box-shadow: inset 0 0 0 4px var(--gold);
}

/* Warm acknowledgment between questions */
.qual__ack {
  margin-top: 22px;
  min-height: 1.4em;
  font-family: var(--serif);
  font-size: 1.06rem;
  color: var(--gold);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease);
}
.qual__ack.is-show { opacity: 1; transform: none; }

.qual__foot {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.qual__count {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.qual__next { opacity: 0.5; pointer-events: none; transition: opacity var(--t) var(--ease); }
.qual__next.is-ready { opacity: 1; pointer-events: auto; }

/* The thin progress rail at the very top of the qualification */
.qual-rail {
  height: 2px;
  background: var(--line-soft);
  border-radius: 2px;
  margin-bottom: 34px;
  overflow: hidden;
}
.qual-rail__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  transform-origin: left;
  transform: scaleX(0);
  transition: transform var(--t) var(--ease);
}

/* ---------- CTA (mirror their own words) ---------- */
.cta {
  max-width: 620px;
  margin: 0 auto;
  padding: 30px 0 40px;
  text-align: center;
}
.cta__eyebrow { margin-bottom: 18px; }
.cta__lead { color: var(--ink-soft); font-size: 1.1rem; }
.cta__mirror {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 4.2vw, 2.1rem);
  line-height: 1.3;
  color: var(--gold-bright);
  margin: 22px auto;
  padding: 22px 26px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  max-width: 540px;
}
.cta__body { color: var(--ink-soft); font-size: 1.12rem; line-height: 1.6; }
.cta__close {
  font-family: var(--serif);
  font-size: 1.18rem;
  color: var(--ink);
  margin: 26px auto 6px;
  max-width: 520px;
  line-height: 1.45;
}
.cta__math { color: var(--ink-mute); font-size: 1rem; }
.cta__btn { margin-top: 34px; }
.cta__hold { margin-top: 26px; color: var(--ink-mute); font-size: 0.92rem; }

@media (max-width: 640px) {
  .qual { min-height: 64vh; }
  .cta__mirror { padding: 18px 18px; }
}
