/* Product Journey — white cinematic · compact editorial */

:root {
  --pj-bg: #eef1f6;
  --pj-bg-2: #f8fafc;
  --pj-surface: #ffffff;
  --pj-surface-2: #f1f5f9;
  --pj-border: rgba(15, 23, 42, 0.09);
  --pj-border-strong: rgba(15, 23, 42, 0.14);
  --pj-ink: #0f172a;
  --pj-muted: #475569;
  --pj-faint: #64748b;
  --pj-accent: #2563eb;
  --pj-accent-warm: #d97706;
  --pj-glow: rgba(37, 99, 235, 0.12);
  --pj-font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --pj-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --pj-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pj-scene-pad: clamp(16px, 2.5vh, 28px);
  --pj-scene-gap: clamp(10px, 1.8vh, 18px);
  --pj-frame-radius: 20px;
  --pj-site-header: 72px;
  --pj-cinema-header-h: 0px;
  --pj-rail-w: 40px;
  --pj-rail-w-open: 168px;
  --pj-dock-context-w: 0px;
  --pj-dock-context-w-open: 272px;
}

html.pj-active,
html.pj-active body {
  background:
    radial-gradient(1100px 520px at 8% -8%, rgba(37, 99, 235, 0.07), transparent 58%),
    radial-gradient(900px 480px at 92% 4%, rgba(217, 119, 6, 0.05), transparent 55%),
    linear-gradient(180deg, #f8fafc 0%, var(--pj-bg) 100%) !important;
  color: var(--pj-ink) !important;
}

html.pj-active body::before,
html.pj-active body::after {
  display: none !important;
}

html.pj-active #right-main {
  background: transparent !important;
  max-width: none !important;
}

html.pj-active #home_update.pj-home {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 0 16px !important;
  width: 100% !important;
}

html.pj-active #right-middle.zk-middle {
  margin-bottom: 0.35rem !important;
}

/* Breadcrumb uses site-wide .zk-breadcrumb styles from zktek-layout.css */

html.pj-active .right_title.zk-page-title,
html.pj-active .page_tool { display: none !important; }

.pjourney {
  position: relative;
  width: 100%;
  font-family: var(--pj-font);
  color: var(--pj-ink);
  -webkit-font-smoothing: antialiased;
  padding-top: 0;
}

.pjourney * { box-sizing: border-box; }

/* Right hover dock — step rail + context panel on hover */
.pj-hover-dock {
  position: fixed;
  top: calc(var(--pj-site-header) + 18px);
  right: max(56px, calc(env(safe-area-inset-right, 0px) + 56px));
  z-index: 10000000;
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 8px;
  max-height: calc(100vh - var(--pj-site-header) - 120px);
}

.pj-hover-dock__context,
.pj-cinema-header.pj-hover-dock__context {
  position: static;
  top: auto;
  width: var(--pj-dock-context-w);
  margin: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  flex-shrink: 0;
  transform: translateX(10px);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--pj-border);
  backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.1);
  transition:
    width 0.32s var(--pj-ease),
    opacity 0.28s var(--pj-ease),
    transform 0.32s var(--pj-ease);
}

.pj-hover-dock:hover .pj-hover-dock__context,
.pj-hover-dock:focus-within .pj-hover-dock__context,
.pj-hover-dock.is-expanded .pj-hover-dock__context {
  width: var(--pj-dock-context-w-open);
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.pj-journey-bar {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 14px;
  align-items: center;
  padding: 10px 14px 8px;
  border-bottom: none;
  min-width: var(--pj-dock-context-w-open);
}

.pj-journey-bar__step {
  font: 600 12px/1 var(--pj-mono);
  color: var(--pj-accent);
}

.pj-journey-bar__num { font-size: 17px; }
.pj-journey-bar__total { color: var(--pj-faint); font-weight: 500; }

.pj-journey-bar__meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.pj-journey-bar__meta strong {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pj-journey-bar__meta span {
  font-size: 10px;
  color: var(--pj-faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pj-journey-bar__track {
  grid-column: 1 / -1;
  height: 2px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.pj-journey-bar__track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2563eb, #0ea5e9);
  transition: width 0.45s var(--pj-ease);
}

/* Right hover rail — compact step numbers, expands labels on hover */
.pj-progress--rail {
  position: static;
  top: auto;
  right: auto;
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: var(--pj-rail-w);
  padding: 8px 6px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--pj-border);
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(14px) saturate(1.15);
  max-height: calc(100vh - var(--pj-site-header) - 120px);
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  flex-shrink: 0;
  transition: width 0.32s var(--pj-ease), padding 0.32s var(--pj-ease), box-shadow 0.32s var(--pj-ease);
}

.pj-hover-dock:hover .pj-progress--rail,
.pj-hover-dock:focus-within .pj-progress--rail,
.pj-hover-dock.is-expanded .pj-progress--rail {
  width: var(--pj-rail-w-open);
  padding: 10px 10px 10px 8px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.14);
}

.pj-progress--rail::-webkit-scrollbar { display: none; }

.pj-progress__item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 5px 6px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--pj-faint);
  font: 600 10px/1 var(--pj-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  text-align: left;
  white-space: nowrap;
  transition: background 0.25s var(--pj-ease), color 0.25s var(--pj-ease), border-color 0.25s var(--pj-ease);
}

.pj-progress__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: #e2e8f0;
  font-size: 9px;
  color: var(--pj-muted);
  flex-shrink: 0;
}

.pj-progress__label {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-width 0.32s var(--pj-ease), opacity 0.22s var(--pj-ease);
}

.pj-progress--rail:hover .pj-progress__label,
.pj-progress--rail:focus-within .pj-progress__label,
.pj-progress--rail.is-expanded .pj-progress__label,
.pj-hover-dock:hover .pj-progress__label,
.pj-hover-dock:focus-within .pj-progress__label,
.pj-hover-dock.is-expanded .pj-progress__label {
  max-width: 120px;
  opacity: 1;
}

.pj-progress__item.is-active,
.pj-progress__item:hover {
  color: var(--pj-ink);
  background: #f1f5f9;
  border-color: var(--pj-border);
}

.pj-progress__item.is-active .pj-progress__num,
.pj-progress__item:hover .pj-progress__num {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
}

.pj-progress__dot { display: none; }

/* Scenes — compact white film frames (content-driven height) */
.pj-scene {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  padding: var(--pj-scene-pad) 16px;
  margin-bottom: var(--pj-scene-gap);
  scroll-margin-top: calc(var(--pj-site-header) + 12px);
}

.pj-scene::after {
  content: attr(data-scene-index);
  position: absolute;
  right: clamp(12px, 4vw, 48px);
  top: 50%;
  transform: translateY(-50%);
  font: 700 clamp(3.5rem, 11vw, 7rem)/1 var(--pj-font);
  color: rgba(15, 23, 42, 0.035);
  pointer-events: none;
  z-index: 0;
  letter-spacing: -0.04em;
}

.pj-scene__backdrop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.07;
  filter: saturate(1.15) blur(1px);
  transform: scale(1.03);
  pointer-events: none;
}

.pj-scene__backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.4) 0%, rgba(238, 241, 246, 0.92) 100%);
}

.pj-scene__inner {
  position: relative;
  width: min(1040px, 100%);
  margin: 0 auto;
  z-index: 2;
}

.pj-scene__frame {
  background: var(--pj-surface);
  border: 1px solid var(--pj-border);
  border-radius: var(--pj-frame-radius);
  padding: clamp(20px, 3vw, 32px);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 12px 40px rgba(15, 23, 42, 0.06);
}

.pj-scene:nth-child(even) .pj-scene__frame {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
}

.pj-scene__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 3vw, 36px);
  align-items: center;
}

.pj-scene__copy { max-width: 480px; }

.pj-eyebrow {
  margin: 0 0 8px;
  font: 600 10px/1 var(--pj-mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pj-accent);
}

.pj-headline {
  margin: 0 0 10px;
  font-size: clamp(1.65rem, 4vw, 2.65rem);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--pj-ink);
}

.pj-lead {
  margin: 0;
  font-size: clamp(0.92rem, 1.6vw, 1.05rem);
  line-height: 1.5;
  color: var(--pj-muted);
  max-width: 44ch;
}

.pj-hero-intro {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--pj-faint);
  max-width: 48ch;
}

.pj-question {
  margin: 0 0 6px;
  font: 600 10px/1 var(--pj-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pj-accent);
}

/* Product stage — white studio pedestal */
.pj-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: min(44vw, 400px);
  margin: 0 auto;
  touch-action: none;
  user-select: none;
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 50% 88%, rgba(37, 99, 235, 0.06), transparent 62%),
    linear-gradient(180deg, #fafbfc 0%, #f1f5f9 100%);
  border: 1px solid var(--pj-border);
  box-shadow:
    inset 0 1px 0 #fff,
    0 16px 48px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.pj-stage__rim {
  position: absolute;
  inset: 10px;
  border-radius: 14px;
  border: 1px dashed rgba(15, 23, 42, 0.06);
  pointer-events: none;
  z-index: 1;
}

.pj-stage__pedestal { display: none; }

.pj-stage__glow {
  position: absolute;
  inset: 12% 8%;
  background: radial-gradient(ellipse at 50% 65%, var(--pj-glow), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.pj-stage__floor {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: scaleX(var(--pj-floor-scale, 0.6));
  opacity: 0.5;
}

.pj-stage__product {
  position: absolute;
  inset: 8% 10% 14%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  will-change: transform;
  cursor: grab;
  z-index: 2;
}

.pj-stage__product.is-dragging {
  cursor: grabbing;
}

.pj-stage__product img {
  max-width: 90%;
  max-height: 90%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  filter: drop-shadow(0 16px 32px rgba(15, 23, 42, 0.12));
  pointer-events: none;
  transition: filter 0.4s var(--pj-ease);
}

.pj-stage__hint {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  font: 600 9px/1 var(--pj-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pj-faint);
  opacity: 0.85;
  white-space: nowrap;
}

.pj-stage__zoom button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--pj-border-strong);
  background: #fff;
  color: var(--pj-ink);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  transition: background 0.25s var(--pj-ease);
}

.pj-stage__zoom button:hover { background: #f1f5f9; }

/* Hotspots */
.pj-hotspot {
  position: absolute;
  z-index: 5;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s var(--pj-ease), transform 0.5s var(--pj-ease);
  pointer-events: none;
}

.pj-hotspot.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.pj-hotspot__pin {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--pj-accent);
  box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.18);
  animation: pj-pulse 2.4s ease infinite;
}

@keyframes pj-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15); }
  50% { box-shadow: 0 0 0 9px rgba(37, 99, 235, 0.06); }
}

.pj-hotspot__card {
  position: absolute;
  left: 18px;
  top: -6px;
  min-width: 140px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--pj-border-strong);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
}

.pj-hotspot__card strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 2px;
}

.pj-hotspot__card span {
  font-size: 11px;
  color: var(--pj-muted);
  line-height: 1.4;
}

.pj-hero-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.9fr;
  gap: clamp(16px, 2.5vw, 28px);
  align-items: center;
}

.pj-hero-layout--compact { gap: clamp(14px, 2vw, 22px); }

.pj-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.pj-badge {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--pj-border);
  background: var(--pj-surface-2);
  font: 600 10px/1 var(--pj-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pj-muted);
}

.pj-badge--accent {
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-color: transparent;
}

.pj-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.pj-trust-strip--compact .pj-trust-strip__item {
  padding: 8px 6px;
}

.pj-trust-strip__item {
  padding: 10px 8px;
  border-radius: 10px;
  border: 1px solid var(--pj-border);
  background: var(--pj-surface-2);
  text-align: center;
}

.pj-trust-strip__item strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--pj-ink);
}

.pj-trust-strip__item span {
  display: block;
  font-size: 9px;
  color: var(--pj-faint);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pj-chip {
  padding: 5px 10px;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  font-size: 11px;
  color: #1d4ed8;
}

.pj-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.pj-hero-actions__primary {
  display: inline-flex;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  transition: transform 0.2s var(--pj-ease);
}

.pj-hero-actions__ghost {
  display: inline-flex;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--pj-border-strong);
  color: var(--pj-muted);
  background: #fff;
}

.pj-hero-actions__primary:hover,
.pj-hero-actions__ghost:hover { transform: translateY(-1px); }

/* Filmstrip validation path */
.pj-filmstrip-path {
  display: flex;
  gap: 4px;
  margin-top: 14px;
  padding: 4px;
  border-radius: 12px;
  background: #f1f5f9;
  border: 1px solid var(--pj-border);
  overflow-x: auto;
}

.pj-filmstrip-path__cell {
  flex: 1;
  min-width: 0;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 10px;
  color: var(--pj-faint);
  text-align: center;
  white-space: nowrap;
}

.pj-filmstrip-path__cell em {
  display: block;
  font: 700 9px/1 var(--pj-mono);
  font-style: normal;
  color: var(--pj-accent);
  margin-bottom: 2px;
}

.pj-filmstrip-path__cell.is-active {
  background: #fff;
  color: var(--pj-ink);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.pj-hero-visual--compact { gap: 10px; }

.pj-hero-cards--inline {
  display: flex;
  gap: 8px;
}

.pj-hero-cards--inline .pj-hero-card {
  flex: 1;
  flex-direction: column;
  text-align: center;
  padding: 8px 6px;
}

.pj-hero-cards--inline .pj-hero-card img {
  width: 100%;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  margin: 0 auto 4px;
}

.pj-hero-cards--inline .pj-hero-card strong {
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pj-hero-card {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid var(--pj-border);
  background: var(--pj-surface-2);
}

.pj-hero-card img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.pj-hero-card strong {
  display: block;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 2px;
}

.pj-hero-card span {
  display: block;
  font-size: 10px;
  color: var(--pj-faint);
  line-height: 1.35;
}

.pj-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  font: 500 10px/1 var(--pj-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pj-faint);
  animation: pj-bounce 2.4s ease infinite;
}

.pj-scroll-cue::after {
  content: "↓";
  display: block;
  text-align: center;
  margin-top: 6px;
  font-size: 14px;
}

@keyframes pj-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* Applications with imagery */
.pj-app-card img {
  width: 100%;
  height: 88px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}

.pj-app-card__desc {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: var(--pj-faint);
  line-height: 1.4;
}

/* Manufacturing split layout */
.pj-mfg-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 40px);
  align-items: center;
}

.pj-mfg-caption {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--pj-muted);
  line-height: 1.5;
  min-height: 2.8em;
}

.pj-mfg-visual {
  position: relative;
  min-height: 320px;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  border: 1px solid var(--pj-border);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(37, 99, 235, 0.12), transparent 55%),
    linear-gradient(160deg, #e2e8f0 0%, #f8fafc 45%, #eef2ff 100%);
}

.pj-mfg-visual__placeholder {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
  pointer-events: none;
}

.pj-mfg-visual__placeholder-num {
  font: 700 clamp(3rem, 8vw, 5rem)/1 var(--pj-mono);
  letter-spacing: -0.04em;
  color: rgba(15, 23, 42, 0.12);
}

.pj-mfg-visual__placeholder-title {
  font: 650 1.05rem/1.2 var(--pj-font);
  color: var(--pj-ink);
}

.pj-mfg-visual__placeholder-hint {
  font: 500 11px/1.4 var(--pj-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pj-faint);
}

.pj-mfg-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
  background: transparent;
}

.pj-mfg-visual img.is-broken {
  opacity: 0;
}

.pj-mfg-visual__label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 3;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--pj-border);
  font: 600 10px/1 var(--pj-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pj-ink);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

/* Quality visual column */
.pj-quality-visual {
  position: relative;
  border-radius: 18px;
  border: 1px solid var(--pj-border);
  overflow: hidden;
  background: var(--pj-surface);
}

.pj-quality-visual > img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.pj-quality-visual__stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px;
}

.pj-quality-visual__stack img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
}

.pj-quality-visual__list {
  list-style: none;
  margin: 0;
  padding: 12px 14px 16px;
  border-top: 1px solid var(--pj-border);
}

.pj-quality-visual__list li {
  font-size: 12px;
  color: var(--pj-muted);
  padding: 6px 0;
  border-bottom: 1px solid var(--pj-border);
}

.pj-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.pj-hero-visual {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pj-scene--rfq .pj-scene__grid { align-items: start; }

.pj-stage__zoom {
  position: absolute;
  right: 8px;
  bottom: 10%;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 4;
}

.pj-quality-visual__list li:last-child {
  border-bottom: none;
}

/* Delivery gallery */
.pj-delivery-layout {
  margin-top: 8px;
}

.pj-delivery-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.pj-delivery-gallery figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--pj-border);
  background: var(--pj-surface);
}

.pj-delivery-gallery img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.pj-delivery-gallery figcaption {
  padding: 10px 12px;
  font-size: 11px;
  color: var(--pj-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pj-delivery-points {
  list-style: none;
  margin: 18px 0 0;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--pj-border);
  background: var(--pj-surface);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px;
}

.pj-delivery-points li {
  font-size: 13px;
  color: var(--pj-muted);
  padding-left: 14px;
  position: relative;
}

.pj-delivery-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #93c5fd;
  font-size: 11px;
}

.pj-scene--identity .pj-headline {
  font-size: clamp(1.75rem, 4.2vw, 2.75rem);
}

.pj-model-tag {
  display: inline-block;
  margin-top: 20px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--pj-border);
  font: 500 12px/1 var(--pj-mono);
  letter-spacing: 0.12em;
  color: var(--pj-muted);
}

/* Scene 2 — Advantages */
.pj-scene--advantages {
  background: var(--pj-bg);
}

.pj-advantage-list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pj-advantage {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  opacity: 0.35;
  transform: translateX(-8px);
  transition: opacity 0.5s var(--pj-ease), transform 0.5s var(--pj-ease), border-color 0.3s, background 0.3s;
}

.pj-advantage.is-revealed {
  opacity: 1;
  transform: translateX(0);
  border-color: var(--pj-border);
  background: var(--pj-surface-2);
}

.pj-advantage__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--pj-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pj-advantage__icon img {
  max-width: 22px;
  max-height: 22px;
}

.pj-advantage__text strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.pj-advantage__text span {
  font-size: 13px;
  color: var(--pj-muted);
  line-height: 1.45;
}

/* Scene 3 — Engineering */
.pj-scene--engineering { min-height: auto; }

.pj-scene--engineering .pj-stage {
  position: sticky;
  top: 18vh;
}

/* Scene 4 — Applications */
.pj-app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.pj-app-card {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--pj-border);
  background: var(--pj-surface-2);
  text-align: left;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s var(--pj-ease), transform 0.45s var(--pj-ease);
}

.pj-app-card img {
  width: 100%;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 8px;
}

.pj-app-card.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.pj-app-card__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Scene 5 — Manufacturing scroll track */
.pj-scene--manufacturing {
  min-height: auto;
  height: 240vh;
  padding: var(--pj-scene-pad) 16px;
  margin-bottom: var(--pj-scene-gap);
  display: block;
}

.pj-mfg-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pj-mfg-pin__inner {
  width: min(1180px, 100%);
  padding: 0 clamp(20px, 5vw, 64px);
}

.pj-mfg-steps {
  display: flex;
  gap: 8px;
  margin-top: 32px;
  overflow: hidden;
}

.pj-mfg-step {
  flex: 0 0 auto;
  min-width: 120px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--pj-border);
  background: #fff;
  opacity: 0.45;
  transform: scale(0.97);
  transition: opacity 0.35s var(--pj-ease), transform 0.35s var(--pj-ease), background 0.35s;
}

.pj-mfg-step.is-active {
  opacity: 1;
  transform: scale(1);
  background: #eff6ff;
  border-color: #93c5fd;
}

.pj-mfg-step__num {
  font: 500 10px/1 var(--pj-mono);
  color: var(--pj-faint);
  letter-spacing: 0.14em;
}

.pj-mfg-step__name {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
}

.pj-mfg-visual__beam {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(37, 99, 235, 0.08) 50%, transparent 100%);
  transform: translateX(-100%);
  pointer-events: none;
  z-index: 2;
}

.pj-mfg-visual.is-active .pj-mfg-visual__beam {
  animation: pj-sweep 2.8s var(--pj-ease) infinite;
}

@keyframes pj-sweep {
  to { transform: translateX(100%); }
}

/* Scene 6 — Configuration */
.pj-config-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.pj-config-btn {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--pj-border);
  background: #fff;
  color: var(--pj-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s var(--pj-ease);
}

.pj-config-btn.is-active,
.pj-config-btn:hover {
  color: #1d4ed8;
  border-color: #93c5fd;
  background: #eff6ff;
}

.pj-config-preview {
  margin-top: 16px;
  font-size: 13px;
  color: var(--pj-muted);
  min-height: 1.4em;
}

/* Scene 7 — Quality evidence */
.pj-evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.pj-evidence-card {
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--pj-border);
  background: var(--pj-surface);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--pj-ease), transform 0.5s var(--pj-ease);
}

.pj-evidence-card.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.pj-evidence-card strong {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
}

.pj-evidence-card span {
  font-size: 12px;
  color: var(--pj-muted);
  line-height: 1.45;
}

.pj-evidence-card a {
  color: var(--pj-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Scene 8 — Delivery */
.pj-stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.pj-stat {
  padding: 20px 14px;
  border-radius: 14px;
  border: 1px solid var(--pj-border);
  text-align: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--pj-ease), transform 0.5s var(--pj-ease);
}

.pj-stat.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.pj-stat__value {
  display: block;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.pj-stat__label {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: var(--pj-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Scene 9 — Support */
.pj-support-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.pj-support-list li {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--pj-border);
  font-size: 13px;
}

.pj-support-list a {
  color: var(--pj-ink);
  text-decoration: none;
}

.pj-support-list a:hover {
  text-decoration: underline;
}

/* Scene 10 — Contact (live chat + email only) */
.pj-scene--rfq,
.pj-scene--contact {
  background: var(--pj-bg-2);
}

.pj-contact-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.pj-contact-cta__primary,
.pj-contact-cta__ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font: 700 11px/1 var(--pj-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.2s var(--pj-ease), box-shadow 0.2s var(--pj-ease);
}

.pj-contact-cta__primary {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  border: none;
}

.pj-contact-cta__ghost {
  background: #fff;
  color: var(--pj-ink);
  border: 1px solid var(--pj-border-strong);
}

.pj-contact-cta__primary:hover,
.pj-contact-cta__ghost:hover {
  transform: translateY(-1px);
}

.pj-contact-note {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--pj-faint);
}

.pj-contact-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Product pages: hide WhatsApp only (WeChat restored) */
html.pj-active #sticky-sidebar .whatsapp-wrap {
  display: none !important;
}

.pj-rfq-form-wrap {
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--pj-border);
  background: #fff;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.pj-rfq-form input[type="text"],
.pj-rfq-form input[type="email"],
.pj-rfq-form input[type="tel"],
.pj-rfq-form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--pj-border-strong);
  background: #f8fafc;
  color: var(--pj-ink);
  font: inherit;
  font-size: 14px;
}

.pj-rfq-form__submit {
  width: 100%;
  padding: 12px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.pj-committee {
  padding: clamp(20px, 3vh, 32px) 16px;
  background: #fff;
  border-top: 1px solid var(--pj-border);
}

.pj-committee__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--pj-border);
  background: var(--pj-surface-2);
  color: var(--pj-ink);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.pj-committee__panel {
  display: none;
  margin-top: 12px;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--pj-border);
  background: #f8fafc;
}

.pj-rfq-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.pj-rfq-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pj-rfq-form__field--full {
  margin-bottom: 12px;
}

.pj-rfq-form__label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pj-faint);
}

.pj-rfq-form input[type="text"],
.pj-rfq-form input[type="email"],
.pj-rfq-form input[type="tel"],
.pj-rfq-form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--pj-border-strong);
  background: #f8fafc;
  color: var(--pj-ink);
  font: inherit;
  font-size: 14px;
}

.pj-rfq-form textarea {
  resize: vertical;
  min-height: 88px;
}

.pj-rfq-form__captcha {
  display: flex;
  gap: 8px;
}

.pj-rfq-form__code {
  width: 72px !important;
  flex-shrink: 0;
  text-align: center;
  cursor: pointer;
}

.pj-rfq-form__checks {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 10px 0 14px;
  font-size: 12px;
  color: var(--pj-muted);
}

.pj-rfq-form__checks a { color: var(--pj-accent); }

.pj-rfq-form__submit {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
}

/* Committee — merged above; legacy block removed */

.pj-committee__panel.is-open {
  display: block;
}

.pj-committee__panel h3 {
  font-size: 16px;
  margin: 24px 0 12px;
}

.pj-committee__panel h3:first-child {
  margin-top: 0;
}

.pj-committee__panel table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.pj-committee__panel td,
.pj-committee__panel th {
  padding: 8px 12px;
  border-bottom: 1px solid var(--pj-border);
  color: var(--pj-muted);
}

.pj-committee__panel a {
  color: var(--pj-ink);
}

.pj-committee__downloads {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pj-committee__downloads li {
  padding: 8px 0;
  border-bottom: 1px solid var(--pj-border);
  font-size: 13px;
}

/* SEO schema — visually hidden intro */
.pj-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .pj-advantage,
  .pj-app-card,
  .pj-evidence-card,
  .pj-stat,
  .pj-hotspot,
  .pj-stage__product {
    transition: none !important;
    animation: none !important;
  }

  .pj-scene--manufacturing {
    height: auto !important;
  }

  .pj-mfg-pin {
    position: relative !important;
    height: auto !important;
    min-height: 100vh;
  }
}

/* Right-rail quick contact — bottom-right, never pushed by chat panel */
@media (min-width: 901px) {
  html.pj-active #sticky-sidebar.sticky-sidebar,
  html.pj-active #sticky-sidebar.cin-sidebar-anchored {
    position: fixed !important;
    top: auto !important;
    bottom: 96px !important;
    left: auto !important;
    right: 10px !important;
    right: max(10px, env(safe-area-inset-right, 0px)) !important;
    transform: none !important;
    z-index: 10000001 !important;
    margin: 0 !important;
    width: auto !important;
    max-width: none !important;
    max-height: calc(100vh - 120px) !important;
    overflow-y: auto !important;
    scrollbar-width: none !important;
    flex-direction: column !important;
    border-left: 1px solid var(--color-border, rgba(255, 255, 255, 0.2)) !important;
  }

  html.pj-active #sticky-sidebar.sticky-sidebar::-webkit-scrollbar {
    display: none;
  }

  html.pj-active #sticky-sidebar .sidebar-item,
  html.pj-active #sticky-sidebar a,
  html.pj-active #sticky-sidebar .sidebar-label {
    color: #fff !important;
  }

  /* Keep sticky bar fixed at bottom-right even when chat/email panel is open */
  html.pj-active.cin-chat-open #sticky-sidebar.sticky-sidebar,
  html.pj-active.cin-chat-open #sticky-sidebar.cin-sidebar-anchored {
    top: auto !important;
    bottom: 96px !important;
    transform: none !important;
  }

  /* Chat launcher sits below the sticky bar */
  html.pj-active #zk-chat-btn {
    right: max(16px, env(safe-area-inset-right, 0px)) !important;
    bottom: 16px !important;
    z-index: 999999 !important;
  }

  /*
   * Live chat / email panels must clear the sticky contact rail (~72px)
   * and stack above it so the send button is never covered.
   */
  html.pj-active #zk-chat-box {
    right: calc(72px + max(16px, env(safe-area-inset-right, 0px))) !important;
    z-index: 10000002 !important;
  }

  html.pj-active #emailFloatBox {
    z-index: 10000002 !important;
  }
}

/* Responsive */
@media (max-width: 960px) {
  .pj-hover-dock {
    display: none !important;
  }

  .pjourney { padding-top: 0; padding-bottom: 16px; }

  .pj-hero-layout,
  .pj-mfg-layout,
  .pj-scene__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pj-trust-strip { grid-template-columns: repeat(2, 1fr); }

  .pj-hero-cards--inline { flex-wrap: wrap; }

  .pj-filmstrip-path__cell { font-size: 9px; }

  .pj-stage { max-width: 100%; }

  .pj-app-grid { grid-template-columns: repeat(2, 1fr); }

  .pj-evidence-grid,
  .pj-stat-row,
  .pj-support-list,
  .pj-rfq-form__row,
  .pj-delivery-points {
    grid-template-columns: 1fr;
  }

  .pj-scene::after { display: none; }
}

@media (max-width: 640px) {
  .pj-app-grid {
    grid-template-columns: 1fr;
  }

  .pj-mfg-steps {
    flex-wrap: wrap;
  }
}
