/* ============================================================
   Carousel — Rachit pattern, Unify-skinned
   1080×1350 portrait · deep dark + purple accent
   PP Neue Montreal throughout (matches the brief)
   ============================================================ */

.cx-wrap {
  background: #0d0d0d;
  border: 1px solid #404040;
  padding: 36px;
  margin: 32px 0 12px;
  display: flex; flex-direction: column; align-items: center;
  border-radius: 8px;
}

.cx-bar {
  width: 100%; max-width: 540px;
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px;
  padding: 12px 18px;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 6px;
  font-family: "PP Neue Montreal", Verdana, sans-serif;
}
.cx-bar .ctr {
  font-size: 11px; letter-spacing: 0.16em;
  color: #888; font-weight: 500;
}
.cx-bar .btns { display: flex; gap: 6px; }
.cx-bar button {
  width: 30px; height: 30px;
  background: #0d0d0d; border: 1px solid #444;
  color: #dcdcdc; cursor: pointer;
  font-family: inherit; font-size: 14px;
  border-radius: 4px;
  transition: all .15s;
}
.cx-bar button:hover { border-color: #ffffff; color: #ffffff; }

.cx-stage {
  width: 540px;
  height: 675px;
  overflow: hidden;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  position: relative;
}
.cx-stage::after {
  content: ""; position: absolute; inset: 0;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 4px;
  pointer-events: none;
}
.cx-track {
  display: flex;
  transition: transform .4s cubic-bezier(.22,1,.36,1);
  height: 100%;
}

/* Each slide is rendered at 1080×1350 then scaled to 540×675 (0.5x) */
.cx-slide {
  width: 1080px; height: 1350px;
  flex-shrink: 0;
  transform: scale(0.5);
  transform-origin: top left;
  margin-right: -540px; /* compensate for scale */
  position: relative;
  overflow: hidden;
  font-family: "PP Neue Montreal", Verdana, sans-serif;
  --cx-dark:    #1a1a1a;
  --cx-darker:  #0d0d0d;
  --cx-accent:  #ffffff;
  --cx-accent-deep: #6b69d8;
  --cx-paper:   #f5f4ee;
  --cx-white:   #ffffff;
  --cx-ink:     #141414;
  --cx-body:    #2a2a2a;
  --cx-muted:   #6b6864;
  --cx-rule:    #e4e2dc;
  --cx-danger:  #c84a3e;
}

/* Top accent bar */
.cx-slide::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: var(--cx-accent);
  z-index: 10;
}

/* === Cover slide === */
.cx-cover {
  background: var(--cx-dark);
  display: flex; flex-direction: column;
  padding: 80px 88px 76px;
  color: #fff;
}
.cx-cover-eyebrow {
  font-size: 13px; letter-spacing: 0.22em; font-weight: 500;
  text-transform: uppercase; color: rgba(255,255,255,0.4);
  display: flex; align-items: center; gap: 18px;
  margin-bottom: auto;
}
.cx-cover-eyebrow::after {
  content: ""; flex: 1; height: 1px; background: rgba(255,255,255,0.1);
}
.cx-cover-num {
  font-weight: 500;
  font-size: 240px; line-height: 0.85; letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.08);
  position: absolute; top: 140px; right: 60px;
}
.cx-cover-main { margin-top: auto; }
.cx-cover-h {
  display: block;
  font-weight: 500;
  font-size: 92px; line-height: 1.0; letter-spacing: -0.035em;
  color: #fff; margin: 0 0 40px; max-width: 820px;
}
.cx-cover-h em {
  font-style: normal;
  color: var(--cx-accent);
}
.cx-cover-sub {
  display: block;
  font-size: 24px; font-weight: 400;
  color: rgba(255,255,255,0.62); line-height: 1.55;
  max-width: 640px; margin: 0 0 64px;
}
.cx-cover-author {
  display: flex; align-items: center; gap: 18px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.cx-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: url('assets/austin-hughes.jpeg') center 18% / cover;
  border: 2px solid rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}
.cx-cover-author .name {
  font-size: 18px; font-weight: 600;
  color: rgba(255,255,255,0.95); margin-bottom: 3px;
  letter-spacing: -0.01em;
}
.cx-cover-author .role {
  font-size: 15px; font-weight: 400;
  color: rgba(255,255,255,0.42);
  letter-spacing: 0.01em;
}

/* === Play slides === */
.cx-play {
  background: var(--cx-white);
  display: flex; flex-direction: column;
  padding: 64px 80px 60px;
  color: var(--cx-ink);
}
.cx-play-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 36px;
}
.cx-play-num-block { display: flex; flex-direction: column; }
.cx-play-label {
  font-size: 12px; letter-spacing: 0.18em; font-weight: 500;
  text-transform: uppercase; color: var(--cx-accent-deep);
  margin-bottom: 8px;
}
.cx-play-num {
  font-weight: 500;
  font-size: 144px; line-height: 0.85; letter-spacing: -0.05em;
  color: rgba(107, 105, 216, 0.18);
}
.cx-progress {
  display: flex; gap: 8px; align-items: center; padding-top: 10px;
}
.cx-prog-dot {
  width: 11px; height: 11px; border-radius: 50%;
  background: rgba(0,0,0,0.1);
}
.cx-prog-dot.active { background: var(--cx-accent-deep); }
.cx-prog-dot.done   { background: var(--cx-dark); }

.cx-play-body {
  flex: 1;
  display: flex; flex-direction: column;
}
.cx-play-h {
  font-weight: 500;
  font-size: 76px; line-height: 1.02; letter-spacing: -0.035em;
  color: var(--cx-ink); margin: 0 0 30px;
  max-width: 920px;
}
.cx-play-h em {
  font-style: normal;
  color: var(--cx-accent-deep);
}

.cx-trigger {
  font-size: 11px; letter-spacing: 0.18em; font-weight: 500;
  text-transform: uppercase; color: var(--cx-muted);
  margin-bottom: 12px;
}
.cx-trigger-text {
  font-size: 24px; font-weight: 400; line-height: 1.5;
  color: var(--cx-body); margin: 0 0 32px;
  max-width: 880px;
  letter-spacing: -0.005em;
}

.cx-msg {
  background: var(--cx-paper);
  border-left: 4px solid var(--cx-accent-deep);
  padding: 28px 36px;
  margin-bottom: 36px;
}
.cx-msg-label {
  font-size: 11px; letter-spacing: 0.16em; font-weight: 500;
  text-transform: uppercase; color: var(--cx-accent-deep);
  margin-bottom: 14px;
}
.cx-msg-text {
  font-size: 24px; font-weight: 400; line-height: 1.42;
  color: var(--cx-ink);
  letter-spacing: -0.005em;
}

.cx-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--cx-rule);
  border: 1px solid var(--cx-rule);
  margin-bottom: 36px;
}
.cx-stat-cell {
  background: var(--cx-white);
  padding: 26px 30px;
}
.cx-stat-num {
  font-size: 40px; font-weight: 600;
  color: var(--cx-dark); line-height: 1; margin-bottom: 8px;
  letter-spacing: -0.025em;
}
.cx-stat-num.accent { color: var(--cx-accent-deep); }
.cx-stat-num.danger { color: var(--cx-danger); }
.cx-stat-label {
  font-size: 11px; letter-spacing: 0.14em; font-weight: 500;
  text-transform: uppercase; color: var(--cx-muted); line-height: 1.5;
}

.cx-do {
  background: var(--cx-dark);
  padding: 30px 36px;
}
.cx-do-label {
  font-size: 11px; letter-spacing: 0.16em; font-weight: 500;
  text-transform: uppercase; color: var(--cx-accent);
  margin-bottom: 14px;
}
.cx-do p {
  font-size: 21px; font-weight: 400; line-height: 1.55;
  color: rgba(255,255,255,0.85);
  margin: 0;
}
.cx-do p strong { color: #fff; font-weight: 600; }

.cx-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--cx-rule);
  margin-top: auto;
}
.cx-foot-l { display: flex; align-items: center; gap: 14px; }
.cx-foot-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: url('assets/austin-hughes.jpeg') center 18% / cover;
  border: 1.5px solid var(--cx-rule);
  flex-shrink: 0;
}
.cx-foot-name {
  font-size: 15px; font-weight: 600;
  color: var(--cx-ink);
  letter-spacing: -0.005em;
}
.cx-foot-co {
  font-size: 11px; letter-spacing: 0.14em; font-weight: 500;
  color: var(--cx-accent-deep);
  text-transform: uppercase; margin-top: 3px;
}
.cx-foot-r {
  font-size: 11px; letter-spacing: 0.14em; font-weight: 500;
  text-transform: uppercase; color: var(--cx-muted); text-align: right;
  line-height: 2;
}

/* === Close slide === */
.cx-close {
  background: var(--cx-darker);
  display: flex; flex-direction: column;
  padding: 92px 96px 80px;
  color: #fff;
}
.cx-close-top {
  display: flex; align-items: center; gap: 18px;
  margin-bottom: auto;
}
.cx-close-logo {
  font-size: 13px; letter-spacing: 0.22em; font-weight: 500;
  text-transform: uppercase; color: rgba(255,255,255,0.4);
}
.cx-close-pill {
  font-size: 10px; letter-spacing: 0.16em; font-weight: 500;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.15); color: var(--cx-accent);
  padding: 5px 12px; border: 1px solid rgba(255, 255, 255, 0.3);
}
.cx-close-pre {
  font-size: 12px; letter-spacing: 0.22em; font-weight: 500;
  text-transform: uppercase; color: var(--cx-accent);
  margin-bottom: 26px; margin-top: auto;
}
.cx-close-h {
  font-weight: 500;
  font-size: 72px; line-height: 1.02; letter-spacing: -0.035em;
  color: #fff; margin: 0 0 36px; max-width: 880px;
}
.cx-close-h em {
  font-style: normal;
  color: var(--cx-accent);
}
.cx-close-body {
  font-size: 21px; font-weight: 400; line-height: 1.6;
  color: rgba(255,255,255,0.66);
  max-width: 660px; margin: 0 0 56px;
  letter-spacing: -0.005em;
}
.cx-checks {
  display: flex; flex-direction: column; gap: 16px;
  margin-bottom: 60px;
}
.cx-check-item {
  display: flex; align-items: flex-start; gap: 16px;
}
.cx-check-mark {
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 3px;
  color: var(--cx-accent); font-size: 11px;
}
.cx-check-text {
  font-size: 19px; font-weight: 400; line-height: 1.5;
  color: rgba(255,255,255,0.78);
  letter-spacing: -0.005em;
}
.cx-check-text strong { color: #fff; font-weight: 600; }

.cx-cta {
  display: flex; align-items: center; gap: 22px;
  padding-top: 34px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.cx-cta-name {
  font-size: 16px; font-weight: 600;
  color: rgba(255,255,255,0.94); margin-bottom: 4px;
  letter-spacing: -0.005em;
}
.cx-cta-sub {
  font-size: 14px; font-weight: 400;
  color: rgba(255,255,255,0.42);
}
