/* ===== Cara Kerja =====
   Dua mode dari markup yang SAMA:
   1) Daftar kartu (tanpa JS, prefers-reduced-motion, layar sangat pendek).
   2) .is-pinned (dipasang landing-journey-scroll): panggung sticky; posisi gulir di
      .journey-track memilih langkah aktif + --journey-scrub (0..1) per langkah yang
      menggerakkan detail ilustrasi dua arah. Semua langkah tetap ada di DOM. */
.lp .landing-journey {
  --journey-top: 90px;
  --journey-gold: var(--lp-accent);
  --journey-success: #9ae0b0;
  --journey-step-h: 64svh;
  overflow: clip;
}
html[data-theme="light"] .lp .landing-journey {
  --journey-gold: #79571b;
  --journey-success: #14633d;
}
.landing-journey .sec-head { margin-bottom: clamp(20px, 4vw, 44px); }
.landing-journey .lp-sub { margin-inline: auto; }

/* ---- Navigasi fase ---- */
.lp .journey-nav {
  position: sticky;
  z-index: 4;
  top: var(--journey-top);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: clamp(16px, 3vw, 28px);
  padding: 8px 14px 4px;
  background: var(--lp-ink-2);
  border: 1px solid var(--lp-line);
  border-radius: 8px;
}
.lp .journey-nav a {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 7px 2px 3px;
  color: var(--lp-dim);
  font-size: clamp(11px, 2vw, 14px);
  text-align: center;
  line-height: 1.25;
  font-weight: 500;
  transition: color .3s ease;
}
.journey-nav a::before, .journey-nav a::after {
  content: '';
  position: absolute;
  inset: 2px 0 auto;
  height: 2px;
  border-radius: 2px;
  background: var(--lp-line-2);
}
.journey-nav a::after {
  background: var(--journey-gold);
  transform: scaleX(var(--journey-fill, 0));
  transform-origin: left;
}
.lp .journey-nav a[aria-current], .lp .journey-nav a:hover { color: var(--journey-gold); }
.lp .journey-nav a:focus-visible, .journey-actions a:focus-visible {
  outline: 2px solid var(--journey-gold);
  outline-offset: 2px;
}

/* ---- Mode daftar (default) ---- */
.journey-timeline { display: grid; gap: clamp(14px, 2vw, 24px); list-style: none; margin: 0; padding: 0; }
.journey-step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: stretch;
  scroll-margin-top: calc(var(--journey-top) + 72px);
  border: 1px solid var(--lp-line-2);
  border-radius: 12px;
  background: var(--lp-ink);
}
.journey-step.is-current { border-color: var(--journey-gold); }
.journey-copy { align-self: center; padding: clamp(22px, 4vw, 48px); }
.journey-number { display: block; color: var(--journey-gold); font: italic 400 clamp(29px, 4vw, 46px)/1 'Cormorant Garamond', Georgia, serif; }
.journey-number small { font-size: .42em; font-style: normal; letter-spacing: .08em; color: var(--lp-mute); }
.journey-copy h3 { margin: 8px 0; font: 500 clamp(26px, 4vw, 41px)/1.06 'Cormorant Garamond', Georgia, serif; }
.journey-copy p { margin: 0; color: var(--lp-dim); font-size: clamp(14px, 2vw, 16px); line-height: 1.55; }
.journey-copy .journey-option {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 10px;
  border: 1px solid color-mix(in srgb, var(--journey-gold) 40%, transparent);
  border-radius: 99px;
  color: var(--journey-gold);
  font-size: 12px;
  font-weight: 500;
}
.journey-meter { display: none; }
.journey-art {
  --s: var(--journey-scrub, 1);
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  min-height: clamp(250px, 28vw, 340px);
  padding: 22px;
  overflow: hidden;
  border-radius: 0 11px 11px 0;
  border-inline-start: 1px solid var(--lp-line);
  background:
    radial-gradient(ellipse at 50% 72%, var(--lp-accent-soft), transparent 68%),
    radial-gradient(circle, var(--lp-line) 1px, transparent 1.4px) 0 0 / 18px 18px,
    var(--lp-ink-2);
  perspective: 1100px;
}

/* ---- Bahan bersama ilustrasi ---- */
.jx-dev, .jx-float, .jx-pill {
  border: 1px solid var(--lp-line-2);
  background: var(--lp-panel);
  color: var(--lp-cream);
  box-shadow: 0 22px 48px -18px #0007, 0 2px 6px #0002;
}
.jx-dev {
  position: relative;
  z-index: 1;
  border-radius: 16px;
  font-size: 12px;
  line-height: 1.35;
  transform-style: preserve-3d;
  transform: rotateY(calc(-16deg + 13deg * var(--s))) rotateX(calc(10deg - 5deg * var(--s)));
  will-change: transform;
}
.jx-float {
  position: absolute;
  z-index: 2;
  padding: 7px 12px;
  border-radius: 12px;
  background: var(--lp-ink);
  font-size: 11.5px;
  font-weight: 500;
  white-space: nowrap;
}
.journey-tick { color: var(--journey-success); margin-right: 3px; }
.jx-dot { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #27c77a; box-shadow: 0 0 0 3px #27c77a33; vertical-align: 1px; }
.jx-avatar { display: grid; place-items: center; flex: 0 0 26px; height: 26px; border-radius: 50%; background: var(--lp-accent-soft); color: var(--journey-gold); font-size: 9.5px; font-weight: 600; }
.jx-btn { margin-top: 10px; padding: 8px; border-radius: 9px; background: var(--journey-gold); color: var(--lp-ink); text-align: center; font-weight: 600; font-size: 11px; }
.jx-phone { width: 168px; min-height: 240px; padding: 22px 12px 14px; border-radius: 26px; border-width: 5px; border-color: color-mix(in srgb, var(--lp-cream) 22%, transparent); }
.jx-notch { position: absolute; top: 6px; left: 50%; width: 46px; height: 8px; border-radius: 8px; background: var(--lp-line-2); transform: translateX(-50%); }
.jx-tablet { display: flex; align-items: center; gap: 14px; width: min(100%, 290px); padding: 16px; border-radius: 18px; border-width: 5px; }
.jx-monitor { width: min(100%, 300px); padding: 22px 16px; border: 5px solid color-mix(in srgb, var(--lp-cream) 18%, var(--lp-ink)); border-radius: 10px; background: var(--lp-ink); color: var(--lp-cream); text-align: center; }
.jx-panel { width: min(100%, 310px); padding: 14px; border-radius: 14px; }
.jx-panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.jx-panel-head span { color: var(--lp-dim); font-size: 10.5px; }
.jx-panel-head strong, .jx-dev strong { font-weight: 600; }

/* Detail bertahap: tiap .jd-N masuk pada ambang scrub berbeda (maju & mundur). */
.jd-1 { --jd: clamp(0, (var(--s) - .04) * 5, 1); }
.jd-2 { --jd: clamp(0, (var(--s) - .24) * 5, 1); }
.jd-3 { --jd: clamp(0, (var(--s) - .44) * 5, 1); }
.jd-4 { --jd: clamp(0, (var(--s) - .62) * 5, 1); }
.jd-1, .jd-2, .jd-3, .jd-4 {
  opacity: var(--jd);
  translate: 0 calc((1 - var(--jd)) * 14px);
  scale: calc(.92 + .08 * var(--jd));
}

/* 01 Tema — tangkapan sampul tema asli dalam bingkai peramban */
.jx-fan { position: relative; width: 300px; height: 210px; }
.jx-theme { position: absolute; top: 18px; left: 50%; width: 190px; margin: 0 0 0 -95px; padding: 0 0 6px; border-radius: 10px; border: 1px solid var(--lp-line-2); background: var(--lp-panel); box-shadow: 0 18px 36px -16px #0008; overflow: hidden; }
.jx-theme img, .jx-theme-blank { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--lp-accent-soft); }
.jx-theme figcaption { padding: 5px 8px 0; color: var(--lp-cream); font: 500 13px/1 'Cormorant Garamond', Georgia, serif; text-align: center; }
.jx-browser { display: flex; gap: 4px; padding: 5px 7px; background: var(--lp-ink-2); }
.jx-browser i { width: 6px; height: 6px; border-radius: 50%; background: var(--lp-line-2); }
.jx-theme-a { transform: translateX(calc(-78px * var(--s))) rotate(calc(-10deg * var(--s))) scale(.88); }
.jx-theme-b { transform: translateX(calc(78px * var(--s))) rotate(calc(10deg * var(--s))) scale(.88); }
.jx-theme-c { z-index: 2; box-shadow: 0 0 0 2px var(--journey-gold), 0 26px 48px -18px #0009; }
.jx-tweaks { top: 10%; right: 2%; display: grid; gap: 7px; padding: 10px 12px; }
.jx-swatches { display: flex; gap: 5px; }
.jx-swatches i { width: 15px; height: 15px; border-radius: 50%; background: #c8a96a; }
.jx-swatches i:nth-child(2) { background: #6f9f78; box-shadow: 0 0 0 2px var(--lp-ink), 0 0 0 3.5px var(--journey-gold); }
.jx-swatches i:nth-child(3) { background: #b3475a; }
.jx-swatches i:nth-child(4) { background: #3b4f8a; }
.jx-slider { height: 4px; border-radius: 4px; background: var(--lp-line-2); }
.jx-slider span { display: block; width: calc(25% + 55% * var(--s)); height: 100%; border-radius: inherit; background: var(--journey-gold); }
.jx-pill { position: absolute; bottom: 7%; left: 50%; z-index: 3; margin-left: -118px; padding: 9px 9px 9px 16px; border-radius: 2px; border-color: var(--journey-gold); background: var(--journey-gold); color: var(--lp-ink); font: 500 10px/1 'Cinzel', Georgia, serif; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
html[data-theme="light"] .jx-pill { color: #fff; }
.jx-pill span { margin-left: 8px; }
.journey-feats { display: flex; flex-wrap: wrap; gap: 5px; margin: 12px 0 0 !important; padding: 0; list-style: none; }
.journey-feats li { padding: 4px 9px; border: 1px solid var(--lp-line-2); border-radius: 99px; background: var(--lp-ink-2); color: var(--lp-cream); font-size: 11.5px; line-height: 1.3; }

/* 02 Undangan */
.jx-field { padding: 7px 0; border-bottom: 1px solid var(--lp-line); }
.jx-field small { display: block; color: var(--lp-mute); font-size: 9.5px; text-transform: uppercase; letter-spacing: .08em; }
.jx-field span { font-weight: 500; }
.jx-type { display: inline-block; color: var(--journey-gold); font: 500 17px/1.2 'Cormorant Garamond', Georgia, serif !important; clip-path: inset(0 calc((1 - clamp(0, var(--s) * 3, 1)) * 100%) 0 0); }
.jx-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 8px; }
.jx-photos i { aspect-ratio: 1; border-radius: 6px; background: linear-gradient(135deg, var(--lp-accent-soft), var(--lp-line-2)); }
.jx-paid { top: 18%; right: 6%; }
.jx-live { bottom: 14%; left: 6%; }

/* 03 Panel tamu */
.jx-tabs { display: flex; gap: 4px; margin-bottom: 10px; overflow: hidden; }
.jx-tabs i { flex: none; padding: 3px 8px; border-radius: 99px; border: 1px solid var(--lp-line); font-style: normal; font-size: 9.5px; color: var(--lp-dim); }
.jx-tabs i.on { background: var(--lp-accent-soft); color: var(--journey-gold); border-color: transparent; }
.jx-tabs i.jd-1 { background: var(--journey-gold); color: var(--lp-ink); border-color: transparent; }
.jx-rows { display: grid; gap: 5px; }
.jx-row { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 7px; padding: 7px 9px; border: 1px solid var(--lp-line); border-radius: 9px; background: var(--lp-ink); }
.jx-row b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jx-row em { font-style: normal; font-size: 9.5px; color: var(--lp-dim); }
.jx-row small { color: var(--lp-mute); font-size: 9.5px; }
.jx-grip { color: var(--lp-mute); letter-spacing: -2px; font-size: 10px; }
.jx-vip { padding: 1px 6px; border-radius: 5px; background: #c8a96a; color: #1a1209 !important; font-weight: 700; }
.jx-vvip { padding: 1px 6px; border-radius: 5px; background: #7d5bd6; color: #fff !important; font-weight: 700; }
.jx-drag { position: relative; z-index: 2; border-color: var(--journey-gold); box-shadow: 0 12px 24px -10px #0008; transform: translateX(calc(14px * (1 - var(--s)))) rotate(calc(-2deg * (1 - var(--s)))); }
.jx-arsip .jx-row, .journey-art-arsip .jx-row { grid-template-columns: 1fr auto; }
.jx-share { bottom: 9%; right: 5%; display: flex; align-items: center; gap: 7px; }
.jx-avatars { display: flex; }
.jx-avatars i { display: grid; place-items: center; width: 20px; height: 20px; margin-left: -5px; border-radius: 50%; border: 2px solid var(--lp-ink); background: var(--journey-gold); color: var(--lp-ink); font-style: normal; font-size: 8px; font-weight: 700; }

/* 04 RSVP */
.jx-chat { display: grid; align-content: start; gap: 8px; }
.jx-chat-head { display: flex; align-items: center; gap: 7px; padding-bottom: 8px; border-bottom: 1px solid var(--lp-line); }
.jx-bubble { max-width: 92%; padding: 7px 9px; border-radius: 10px 10px 10px 3px; background: var(--lp-ink); border: 1px solid var(--lp-line); }
.jx-me { margin-left: auto; border-radius: 10px 10px 3px; background: #1f6b45; border-color: transparent; color: #eafff2; }
.jx-card-rsvp { padding: 9px; border-radius: 10px; border: 1px solid var(--lp-line-2); }
.jx-card-rsvp small { color: var(--lp-dim); }
.jx-choice { display: flex; gap: 4px; margin: 6px 0; }
.jx-choice span { flex: 1; padding: 4px; border-radius: 7px; border: 1px solid var(--lp-line); text-align: center; font-size: 10.5px; }
.jx-choice .on { background: var(--journey-gold); color: var(--lp-ink); border-color: transparent; font-weight: 600; }
.jx-count { display: flex; justify-content: space-between; color: var(--lp-dim); font-size: 10.5px; }
.jx-cal { top: 14%; right: 5%; display: flex; align-items: center; gap: 8px; }
.jx-cal b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 7px; background: #c63a4c; color: #fff; font-size: 14px; }
.jx-cal span { font-size: 10px; line-height: 1.25; color: var(--lp-dim); }
.jx-blast { bottom: 11%; left: 5%; }

/* 05 Kartu QR */
.jx-ticket { width: min(100%, 270px); padding: 15px; background: #fbf8f1; color: #2b2118; border-color: #e4d9c3; border-radius: 6px; }
.jx-ticket strong { display: block; font-size: 13px; }
.journey-ticket-codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; text-align: center; }
.journey-ticket-codes > div { padding: 8px 4px; border: 1px dashed #cbbd9f; border-radius: 6px; }
.journey-ticket-codes .journey-qr { margin: 0 auto 6px; }
.journey-ticket-codes span { font-weight: 600; font-size: 11px; }
.journey-ticket-codes small { display: block; margin-top: 3px; color: #7a6c58; font-size: 10px; }
.jx-a4 { top: 12%; left: 6%; }
.jx-eticket { bottom: 12%; right: 6%; }
.journey-qr {
  position: relative;
  flex: none;
  width: 58px;
  height: 58px;
  background: conic-gradient(#2b2118 0 25%, #fff 0 50%, #2b2118 0 75%, #fff 0) 0 0 / 7px 7px;
  border: 5px solid #fff;
  border-radius: 2px;
}
.journey-qr i { position: absolute; inset: 0 auto auto 0; width: 14px; height: 14px; border: 3px solid #2b2118; box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px #fff; background: #2b2118; }
.journey-qr i:nth-child(2) { inset: 0 0 auto auto; }
.journey-qr i:nth-child(3) { inset: auto auto 0 0; }

/* 06 Check-in */
.jx-scan { position: relative; padding: 7px; border: 2px solid var(--journey-gold); border-radius: 8px; overflow: hidden; }
.journey-scan-line { position: absolute; inset: 50% 0 auto; height: 2px; background: var(--journey-gold); box-shadow: 0 0 10px var(--journey-gold); transform: translateY(calc(-30px + 60px * var(--s))); }
.jx-scan-meta small { display: block; color: var(--lp-dim); font-size: 10px; }
.jx-scan-meta strong { display: block; margin: 4px 0 2px; font-size: 16px; }
.jx-scan-meta span { color: var(--lp-dim); font-size: 10.5px; }
.jx-search { top: 9%; left: 5%; display: grid; gap: 3px; padding: 9px 11px; }
.jx-search small { color: var(--lp-dim); font-size: 9.5px; }
.jx-search span { padding: 3px 7px; border-radius: 6px; border: 1px solid var(--journey-gold); font-weight: 400; }
.jx-search span i { font-style: normal; color: var(--journey-gold); }
.jx-search b { font-weight: 600; font-size: 11px; }
.jx-ok { bottom: 11%; right: 6%; }
.jx-walkin { bottom: 11%; left: 6%; background: var(--lp-accent-soft); color: var(--journey-gold); }

/* 07 VIP */
.jx-vipcard { display: grid; justify-items: center; align-content: center; gap: 6px; text-align: center; background: linear-gradient(160deg, #2c2140, #15111f); color: #f3ecff; }
html[data-theme="light"] .jx-vipcard { background: linear-gradient(160deg, #f6eefc, #e8d9f6); color: #3b1d57; border-color: #cdb2e6; }
html[data-theme="light"] .jx-vip-meta span { background: #8e44ad1a; }
html[data-theme="light"] .jx-vip-crest { color: #a7792b; }
html[data-theme="light"] .jx-vipcard .jx-btn { background: #8e44ad; color: #fff; }
.jx-vip-crown { font-size: 28px; color: #e6c983; }
.jx-vip-tag { padding: 2px 10px; border-radius: 99px; background: #7d5bd6; font-weight: 700; letter-spacing: .12em; font-size: 10px; }
.jx-vipcard strong { font: 500 21px/1.1 'Cormorant Garamond', Georgia, serif; }
.jx-vip-meta { display: flex; gap: 5px; }
.jx-vip-meta span { padding: 2px 7px; border-radius: 6px; background: #ffffff1a; font-size: 10px; }
.jx-vipcard .jx-btn { background: #e6c983; color: #2c2140; }
.jx-ring { inset: 50% auto auto 50%; width: 220px; height: 220px; margin: -110px 0 0 -110px; padding: 0; border-radius: 50%; background: transparent; border: 2px solid #7d5bd6; box-shadow: 0 0 40px #7d5bd655, inset 0 0 30px #7d5bd633; z-index: 0; }
.jx-gift { bottom: 10%; right: 6%; }

/* 08 Layar sambutan */
.journey-art-sambutan { align-content: center; gap: 0; }
.jx-monitor > span { color: var(--journey-gold); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; }
.jx-monitor > div { margin-top: 12px; color: var(--lp-dim); }
.jx-monitor strong { display: block; font: 400 30px/1.15 'Cormorant Garamond', Georgia, serif; color: var(--journey-gold); }
.jx-monitor small { color: var(--lp-dim); }
.jx-stand { width: 70px; height: 26px; margin-top: -2px; background: color-mix(in srgb, var(--lp-cream) 18%, var(--lp-ink)); clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%); }
.jx-queue { top: 10%; right: 5%; display: grid; gap: 3px; }
.jx-queue i { font-style: normal; color: var(--lp-dim); font-size: 10px; }
.jx-queue i::before { content: '● '; color: #27c77a; }

/* 09 Ucapan */
.jx-wishes { display: grid; align-content: start; gap: 7px; }
.jx-wish { display: flex; gap: 7px; align-items: flex-start; }
.jx-wish p { margin: 0; padding: 7px 9px; border-radius: 10px; background: var(--lp-ink); border: 1px solid var(--lp-line); font: italic 500 13px/1.25 'Cormorant Garamond', Georgia, serif; }
.jx-envelope { top: 14%; right: 4%; display: grid; gap: 2px; }
.jx-envelope span { color: var(--lp-dim); font-size: 10px; }

/* 10 Quiz */
.jx-quiz > div:not(.jx-answers) { font: 500 17px/1.25 'Cormorant Garamond', Georgia, serif; }
.jx-answers { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-top: 12px; }
.jx-answers i { padding: 6px; border-radius: 7px; background: var(--lp-line); font-style: normal; font-size: 11px; }
.jx-answers i.on { background: #27c77a; color: #06210f; font-weight: 600; opacity: 1; }
.jx-board { bottom: 9%; right: 5%; display: grid; gap: 2px; }
.jx-board span { color: var(--lp-dim); font-size: 10px; }

/* Pihak › kelompok › sub-kelompok */
.jx-tree { display: grid; gap: 4px; }
.jx-node { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 9px; border-radius: 8px; border: 1px solid var(--lp-line); background: var(--lp-ink); }
.jx-node b { font-weight: 600; }
.jx-node small { color: var(--lp-mute); font-size: 10px; }
.jx-l0 { border-color: color-mix(in srgb, var(--journey-gold) 45%, transparent); }
.jx-l0 b { color: var(--journey-gold); }
.jx-l1 { margin-left: 14px; }
.jx-l2 { margin-left: 28px; justify-content: flex-start; }
.jx-l2 small { margin-left: auto; }
.jx-l3 { margin-left: 42px; }
/* Personalisasi per tamu */
.jx-personal { display: grid; gap: 6px; }
.jx-toggle { display: flex; align-items: center; justify-content: space-between; padding: 6px 9px; border: 1px solid var(--lp-line); border-radius: 8px; background: var(--lp-ink); }
.jx-toggle i { position: relative; width: 30px; height: 17px; border-radius: 99px; background: var(--lp-line-2); }
.jx-toggle i::after { content: ''; position: absolute; top: 2px; left: 2px; width: 13px; height: 13px; border-radius: 50%; background: var(--lp-cream); }
.jx-toggle i.on { background: var(--journey-gold); }
.jx-toggle i.on::after { left: 15px; background: var(--lp-ink); }
.jx-stepper { display: flex; justify-content: space-between; padding: 6px 9px; color: var(--lp-dim); }
.jx-stepper b { color: var(--lp-cream); }
.jx-badge-row { display: flex; flex-wrap: wrap; gap: 4px; }
.jx-badge-row em { padding: 2px 8px; border-radius: 99px; background: var(--lp-accent-soft); color: var(--journey-gold); font-style: normal; font-size: 10px; font-weight: 600; }
.jx-badge-row em.jx-vvip { background: #7d5bd6; color: #fff; }
.jx-preview { bottom: 9%; right: 4%; }
/* Rombongan */
.jx-group-meter { display: flex; align-items: baseline; gap: 6px; margin-bottom: 8px; }
.jx-group-meter b { color: var(--journey-gold); font: 600 28px/1 'Cormorant Garamond', Georgia, serif; }
.jx-group-meter span { color: var(--lp-dim); }
.jx-group-meter .jx-progress { flex: 1; margin: 0 0 0 6px; }
.jx-group-meter .jx-progress span { width: calc(60% * var(--s)); background: var(--journey-gold); }
.jx-warn { color: var(--journey-gold) !important; font-weight: 700; }
.jx-group .jx-row { grid-template-columns: 1fr auto; }
.jx-cards { bottom: 9%; left: 4%; }
/* Denah mini */
.jx-plan { position: relative; width: min(100%, 320px); height: 230px; border-radius: 10px; background: #fffdf8; border-color: #d8ccb4; color: #3a2a14; }
.jx-plan::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(#e6dfd1 1px, transparent 1px) 0 0 / 20px 20px, linear-gradient(90deg, #e6dfd1 1px, transparent 1px) 0 0 / 20px 20px; opacity: .7; }
.jx-plan > * { position: absolute; }
.jx-plan-stage { top: 10px; left: 50%; width: 120px; margin-left: -60px; padding: 7px 0; border: 2px solid #b8842a; border-radius: 5px; background: #f3e3bd; color: #8a5f1c; font-size: 10px; font-weight: 700; text-align: center; }
.jx-plan-walk { top: 46px; left: 50%; width: 26px; height: 150px; margin-left: -13px; border: 2px dashed #c0708f; border-radius: 4px; background: #f6e6ef; }
.jx-plan-table { width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 2px solid #8a6a2c; border-radius: 50%; background: #f7efe0; display: grid; place-items: center; }
.jx-plan-table b { font: 700 12px Georgia, serif; color: #3a2a14; }
.jx-plan-table i { position: absolute; top: 50%; left: 50%; width: 9px; height: 9px; margin: -4.5px; border-radius: 50%; border: 1.5px solid #8a7f6c; background: #fff; transform: rotate(var(--a)) translateY(-25px); }
.jx-plan-table i.on { background: #c8a96a; border-color: #8a6a2c; }
.jx-plan-door { bottom: 6px; padding: 3px 8px; border-radius: 4px; font-size: 9px; font-weight: 700; }
.jx-plan-in { left: 22%; background: #dff3e6; border: 1.5px solid #2f8a57; color: #2f8a57; }
.jx-plan-out { right: 22%; background: #fbe3e1; border: 1.5px solid #b04a3a; color: #b04a3a; }
.jx-plan-buffet { top: 70px; right: 4px; padding: 26px 3px; border: 1.5px solid #c08a2b; border-radius: 4px; background: #fff1d6; color: #8a5f1c; font-size: 8px; font-weight: 700; writing-mode: vertical-rl; }
.jx-plan-booth { top: 10px; left: 8px; padding: 10px 6px; border: 1.5px solid #7a5cc7; border-radius: 4px; background: #e9e3fb; color: #5a3ea8; font-size: 8px; font-weight: 700; }
/* Walk-in */
.jx-walkin { display: grid; align-content: start; gap: 6px; }
.jx-walk-step { display: flex; align-items: center; gap: 5px; color: var(--lp-cream); font-size: 10px; font-weight: 700; }
.jx-walk-step b { display: grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: var(--journey-gold); color: var(--lp-ink); font-size: 9px; }
.jx-walk-input { padding: 6px 8px; border: 1px solid var(--journey-gold); border-radius: 7px; background: var(--lp-ink); font-weight: 500; }
.jx-walk-input i { font-style: normal; color: var(--journey-gold); }
.jx-walk-none { margin: 0; color: var(--lp-dim); font-size: 10.5px; }
/* Pembukuan */
.jx-ledger-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; margin-bottom: 8px; }
.jx-ledger-grid div { padding: 6px 2px; border: 1px solid var(--lp-line); border-radius: 7px; text-align: center; }
.jx-ledger-grid b { display: block; color: var(--journey-gold); font-size: 17px; }
.jx-ledger-grid span { color: var(--lp-dim); font-size: 9.5px; }
.jx-ledger .jx-row { grid-template-columns: 1fr auto; }

/* 11 Laporan */
.journey-report-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
.journey-report-grid div { padding: 7px 2px; border: 1px solid var(--lp-line); border-radius: 7px; text-align: center; font-size: 10px; color: var(--lp-dim); }
.journey-report-grid strong { display: block; color: var(--journey-gold); font-size: 19px; }
.jx-bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; margin-top: 10px; }
.jx-bars i { flex: 1; height: calc(var(--h) * (20% + 80% * var(--s))); border-radius: 4px 4px 0 0; background: linear-gradient(var(--journey-gold), color-mix(in srgb, var(--journey-gold) 35%, transparent)); }
.jx-donut { top: 10%; right: 4%; display: flex; align-items: center; gap: 8px; }
.jx-donut i { width: 34px; height: 34px; border-radius: 50%; background: conic-gradient(#c63a4c calc(var(--s) * 346deg), var(--lp-line-2) 0); -webkit-mask: radial-gradient(circle, transparent 46%, #000 48%); mask: radial-gradient(circle, transparent 46%, #000 48%); }
.jx-donut span { font-size: 10px; color: var(--lp-dim); line-height: 1.2; }
.jx-donut b { color: var(--lp-cream); font-size: 13px; }
.jx-files { bottom: 9%; left: 5%; display: flex; gap: 5px; }
.jx-files span { padding: 2px 9px; border-radius: 99px; background: var(--lp-accent-soft); color: var(--journey-gold); font-size: 10.5px; }

/* 12 Album */
.jx-album { display: grid; grid-template-columns: repeat(3, 64px); gap: 6px; padding: 10px; }
.jx-album i { height: 64px; border-radius: 9px; background: linear-gradient(135deg, #c8a96a55, #6f9f7855), var(--lp-ink); }
.jx-album i:nth-child(2n) { background: linear-gradient(160deg, #b3475a55, #c8a96a44), var(--lp-ink); }
.jx-upload { top: 12%; left: 5%; }
.jx-zip { bottom: 12%; right: 6%; background: var(--journey-gold); color: var(--lp-ink); font-weight: 600; border-color: transparent; }

/* 13 Arsip */
.jx-progress { height: 6px; margin-top: 10px; border-radius: 6px; background: var(--lp-line-2); overflow: hidden; }
.jx-progress span { display: block; width: calc(var(--s) * 100%); height: 100%; background: #27c77a; }
.jx-json { top: 12%; left: 5%; font-family: ui-monospace, monospace; font-size: 10.5px; }

.journey-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.lp #cara-kerja, .lp #paket-undangan { scroll-margin-top: 94px; }

@media (max-width: 760px) {
  .journey-step { grid-template-columns: minmax(0, 1fr); }
  .journey-art { min-height: 250px; padding: 16px; border-radius: 0 0 11px 11px; border-inline-start: 0; border-top: 1px solid var(--lp-line); }
  .journey-actions a { min-height: 44px; }
}
@media (max-width: 680px) {
  .lp .landing-journey { --journey-top: 74px; --journey-step-h: 58svh; }
  .lp #cara-kerja, .lp #paket-undangan { scroll-margin-top: 78px; }
}
@media (max-height: 450px) {
  .lp .journey-nav { position: static; }
  .journey-step { scroll-margin-top: var(--journey-top); }
}

/* ===== Mode panggung (JS + gerak diizinkan) ===== */
.landing-journey.is-pinned .journey-track {
  position: relative;
  height: calc(var(--journey-count) * var(--journey-step-h) + 100svh - var(--journey-top));
}
.landing-journey.is-pinned .journey-stage {
  position: sticky;
  top: var(--journey-top);
  height: calc(100svh - var(--journey-top));
  overflow: hidden;
}
.landing-journey.is-pinned .journey-stage-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-block: 10px 14px;
}
.landing-journey.is-pinned .journey-nav { position: relative; top: auto; flex: none; margin-bottom: 6px; }
.landing-journey.is-pinned .journey-timeline {
  position: relative;
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  gap: 0;
}
.landing-journey.is-pinned .journey-step {
  grid-area: 1 / 1;
  height: 100%;
  min-height: 0;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: center;
  border: 0;
  background: none;
  visibility: hidden;
  pointer-events: none;
  perspective: 1400px;
  transition: visibility 0s linear .6s;
}
.landing-journey.is-pinned .journey-step.is-current { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.landing-journey.is-pinned .journey-copy {
  padding: 0 clamp(8px, 3vw, 40px) 0 0;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .5s ease, transform .6s cubic-bezier(.2, .7, .2, 1);
}
.landing-journey.is-pinned .journey-step.is-before .journey-copy { transform: translateY(-32px); }
.landing-journey.is-pinned .journey-step.is-current .journey-copy { opacity: 1; transform: none; transition-delay: .08s; }
.landing-journey.is-pinned .journey-art {
  height: 100%;
  min-height: 0;
  border: 0;
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 50% 78%, var(--lp-accent-soft), transparent 62%),
    radial-gradient(circle, var(--lp-line) 1px, transparent 1.4px) 0 0 / 18px 18px;
  opacity: 0;
  transform: translate3d(9%, 0, 0) rotateY(-14deg) scale(.9);
  transition: opacity .5s ease, transform .75s cubic-bezier(.2, .7, .2, 1);
}
.landing-journey.is-pinned .journey-step.is-before .journey-art { transform: translate3d(-9%, 0, 0) rotateY(12deg) scale(.9); }
.landing-journey.is-pinned .journey-step.is-current .journey-art { opacity: 1; transform: none; }
.landing-journey.is-pinned .journey-art { --art-zoom: 1.32; }
@media (max-height: 760px) { .landing-journey.is-pinned .journey-art { --art-zoom: 1.14; } }
.landing-journey.is-pinned .journey-art > * { scale: var(--art-zoom); }
.landing-journey.is-pinned .journey-art > .jd-1,
.landing-journey.is-pinned .journey-art > .jd-2,
.landing-journey.is-pinned .journey-art > .jd-3,
.landing-journey.is-pinned .journey-art > .jd-4 { scale: calc((.92 + .08 * var(--jd)) * var(--art-zoom)); }
.landing-journey.is-pinned .journey-step.is-current .jx-float { animation: journey-bob 6s ease-in-out infinite; }
.landing-journey.is-pinned .journey-step.is-current .jx-float:nth-of-type(2n) { animation-delay: -3s; }
@keyframes journey-bob { 50% { transform: translateY(-5px); } }
.landing-journey.is-pinned .journey-meter {
  display: block;
  flex: none;
  height: 3px;
  margin-top: 10px;
  border-radius: 3px;
  background: var(--lp-line);
  overflow: hidden;
}
.landing-journey.is-pinned .journey-meter span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--journey-gold), #c63a4c);
  transform: scaleX(var(--journey-total, 0));
  transform-origin: left;
}
@media (max-width: 760px) {
  .landing-journey.is-pinned .journey-step {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: stretch;
  }
  .landing-journey.is-pinned .journey-stage-inner { padding-bottom: 66px; }
  .landing-journey.is-pinned .journey-art { --art-zoom: .96; grid-row: 1; border-radius: 18px; padding: 6px; }
  .landing-journey.is-pinned .journey-copy { grid-row: 2; padding: 10px 2px 0; }
  .landing-journey.is-pinned .journey-number { font-size: 28px; }
  .landing-journey.is-pinned .journey-copy h3 { margin: 4px 0 6px; font-size: 25px; }
  .landing-journey.is-pinned .journey-copy p { font-size: 13.5px; line-height: 1.5; }
  .landing-journey.is-pinned .journey-copy .journey-option { margin-top: 8px; font-size: 11px; }
}
/* Tablet & PC: blok langkah dipusatkan dan dibatasi lebar/tinggi, ilustrasi menjadi kartu
   berbingkai sehingga perangkat dan detailnya rapat (bukan tersebar di kanvas setinggi layar). */
@media (min-width: 761px) {
  .landing-journey.is-pinned .journey-timeline { align-items: center; }
  .landing-journey.is-pinned .journey-step {
    align-self: center;
    width: 100%;
    max-width: 1080px;
    height: auto;
    max-height: 100%;
    margin-inline: auto;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: clamp(28px, 4vw, 64px);
  }
  .landing-journey.is-pinned .journey-copy { justify-self: end; width: 100%; max-width: 470px; padding: 0; }
  .landing-journey.is-pinned .journey-number { font-size: clamp(38px, 3.6vw, 52px); }
  .landing-journey.is-pinned .journey-copy h3 { margin: 10px 0 14px; font-size: clamp(32px, 3.3vw, 48px); }
  .landing-journey.is-pinned .journey-copy p { font-size: clamp(15px, 1.25vw, 17px); line-height: 1.65; }
  .landing-journey.is-pinned .journey-copy .journey-option { margin-top: 18px; }
  .landing-journey.is-pinned .journey-art {
    justify-self: start;
    width: 100%;
    max-width: 560px;
    height: clamp(360px, 60vh, 520px);
    border: 1px solid var(--lp-line);
    background:
      radial-gradient(ellipse at 50% 80%, var(--lp-accent-soft), transparent 64%),
      radial-gradient(circle, var(--lp-line) 1px, transparent 1.4px) 0 0 / 18px 18px,
      var(--lp-ink-2);
    box-shadow: 0 30px 70px -40px #000c;
  }
}
@media (min-width: 761px) and (max-height: 720px) {
  .landing-journey.is-pinned .journey-art { height: clamp(300px, 56vh, 420px); --art-zoom: 1.02; }
  .landing-journey.is-pinned .journey-copy h3 { font-size: clamp(28px, 3vw, 38px); }
}
/* Tablet tegak: ilustrasi di atas, teks di bawah (seperti HP, dengan ukuran tablet). */
@media (min-width: 761px) and (max-width: 1100px) and (orientation: portrait) {
  .landing-journey.is-pinned .journey-step {
    max-width: 680px;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 22px;
  }
  .landing-journey.is-pinned .journey-art { grid-row: 1; justify-self: center; max-width: none; height: clamp(340px, 44vh, 520px); --art-zoom: 1.3; }
  .landing-journey.is-pinned .journey-copy { grid-row: 2; justify-self: stretch; max-width: none; }
  .landing-journey.is-pinned .journey-copy h3 { margin: 6px 0 10px; }
}
@media (max-width: 760px) and (max-height: 700px) {
  .landing-journey.is-pinned .journey-art { --art-zoom: .8; }
  .landing-journey.is-pinned .journey-copy p { font-size: 13px; }
  .landing-journey.is-pinned .journey-copy h3 { font-size: 22px; }
}
/* Selama panggung aktif di HP, notifikasi pembeli diistirahatkan agar teks langkah terbaca. */
@media (max-width: 760px) {
  html.lp-journey-on .lp-live-feed { opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s; }
}
@media (prefers-reduced-motion: reduce) {
  .jx-dev, .jx-theme-a, .jx-theme-b, .jx-drag { transform: none; }
  .jd-1, .jd-2, .jd-3, .jd-4 { opacity: 1; translate: none; scale: none; }
}
