/* DARK P15, Figma 1759:938. Uses the existing fixed-board scaler. */
#main #cq-reuse > .cq12-stage { display: none; }

html[data-theme="dark"] #main #cq-reuse.portfolio-sheet {
  position: relative;
  display: block;
  width: 100%;
  max-width: 1920px;
  min-height: 0;
  height: calc(1400px * var(--zk592-scale, 1) + 4px);
  padding: 0;
  border: 2px solid #372942;
  border-radius: 22px;
  overflow: clip;
  background: #060713;
  box-shadow: 0 14px 45px #07030c36;
}

html[data-theme="dark"] #main #cq-reuse::before,
html[data-theme="dark"] #main #cq-reuse::after { display: none; }

html[data-theme="dark"] #main #cq-reuse > .u-running {
  display: flex;
  position: absolute;
  inset-inline: 0;
  z-index: 5;
}

html[data-theme="dark"] #main #cq-reuse > .u-header { top: 0; }
html[data-theme="dark"] #main #cq-reuse > .u-footer {
  bottom: 0;
  height: calc(60px * var(--zk592-scale, 1));
  min-height: 0;
}
#main #cq-reuse > .u-header .cq12-header-topics { display: none; }

@media (min-width: 1201px) {
  html[data-theme="dark"] #main #cq-reuse > .u-header .u-identity {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
  }

  html[data-theme="dark"] #main #cq-reuse > .u-header .cq12-header-topics {
    display: flex;
    gap: 12px;
    align-items: center;
    font: 400 15px/1 'Portfolio Inter', 'PingFang SC', sans-serif;
    color: #ffffffbf;
  }
}

html[data-theme="dark"] #main #cq-reuse > .cq12-stage {
  --cq12-title: 'ZK08 Title', 'LogoSC Unbounded Sans', sans-serif;
  --cq12-text: 'Portfolio Inter', 'PingFang SC', sans-serif;
  --cq12-noto: 'CQ03 Noto', 'Noto Sans SC', 'PingFang SC', sans-serif;
  --cq12-skew: matrix(1, 0, -.115457259, .993312418, 0, 0);
  display: block;
  position: absolute;
  inset: 0 auto auto 0;
  width: 1920px;
  height: 1400px;
  margin: 0;
  padding: 0;
  isolation: isolate;
  transform: scale(var(--zk592-scale, 1));
  transform-origin: top left;
  color: #fff;
  font-family: var(--cq12-text);
}

#main #cq-reuse .cq12-stage :where(h2, h3, h4, p, ol, ul, figure) { margin: 0; padding: 0; letter-spacing: 0; }
#main #cq-reuse .cq12-stage img { display: block; max-width: none; }

.cq12-background,
.cq12-background::after { position: absolute; inset: 0; }

.cq12-background {
  z-index: -4;
  overflow: hidden;
  background: linear-gradient(180deg, #060713, #0a0e24 56.747%, #090517 89.503%, #21003c 103.18%);
}

.cq12-background::after {
  content: '';
  background: linear-gradient(180deg, #060713 20.804%, #0a0e2480 66.335%, #090517);
}

.cq12-trails { position: absolute; top: 291.62px; left: 0; width: 1920px; height: 1271.9px; }
.cq12-checker { position: absolute; top: 1075px; left: 0; z-index: -3; }

#main #cq-reuse .cq12-stage .cq12-number {
  position: absolute;
  left: 920px;
  top: -97px;
  z-index: -1;
  pointer-events: none;
  color: transparent;
  font: 700 820px/normal 'Portfolio Trash', sans-serif;
  letter-spacing: -57.4px;
  white-space: nowrap;
  background: linear-gradient(-29.472233deg, #9d59ff0a 20.981%, #7424ff30 62.234%);
  background-clip: text;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}

.cq12-heading { position: absolute; left: 80px; top: 140px; width: 1760px; }
.cq12-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 42px;
  font: 700 32px/1.3 var(--cq12-text);
  white-space: nowrap;
}

#main #cq-reuse .cq12-eyebrow b {
  display: grid;
  place-items: center;
  width: 175.348px;
  height: 36px;
  border: 1px solid #fff;
  border-radius: 24px;
  font: 700 24px/1.2 'Portfolio Trash', sans-serif;
}

#main #cq-reuse .cq12-heading h2 {
  position: absolute;
  top: 50px;
  left: 0;
  width: 1493.784px;
  height: 102.311px;
  font: 400 86px/1.2 var(--cq12-title);
  letter-spacing: 0;
  color: #fff;
  white-space: nowrap;
}

.cq12-heading h2 span {
  position: absolute;
  left: 11.892px;
  width: 774px;
  height: 103px;
  transform: var(--cq12-skew);
  transform-origin: top left;
}

.cq12-heading h2 span + span {
  left: 805.784px;
  width: 688px;
  color: transparent;
  background: linear-gradient(263.582425deg, #e2caff 19.95%, #964dff 75.058%, #2429ff 121.1%, #3d22b6 137.16%);
  background-clip: text;
}

.cq12-eyebrow b span { transform: var(--cq12-skew); }

#main #cq-reuse .cq12-heading > p {
  position: absolute;
  left: 4.618px;
  top: 160.311px;
  width: 1409.448px;
  color: #f4f0fa;
  font: 700 32px/1.26 'ZK08 Noto', 'Noto Sans SC', 'PingFang SC', sans-serif;
  white-space: nowrap;
  transform: var(--cq12-skew);
  transform-origin: top left;
}

.cq12-section-heading {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 47.679px;
}

.cq12-section-heading img { flex: none; width: 35px; height: 35px; }
.cq12-section-heading img:first-child { transform: rotate(180deg); }
.cq12-section-heading img:last-child { transform: scaleY(-1); }

#main #cq-reuse .cq12-section-heading h3 {
  box-sizing: border-box;
  width: var(--cq12-heading-width);
  padding-left: 5.542px;
  color: #fff;
  font: 900 40px/1.2 var(--cq12-text);
  white-space: nowrap;
  transform: var(--cq12-skew);
  transform-origin: top left;
}

.cq12-section-heading--results { --cq12-heading-width: 285.542px; }
.cq12-section-heading--platform { --cq12-heading-width: 425.542px; }
.cq12-section-heading--capabilities { --cq12-heading-width: 365.542px; }

.cq12-results { position: absolute; top: 431.027px; left: 80px; width: 420px; }

#main #cq-reuse .cq12-outcomes {
  display: grid;
  gap: 22px;
  margin-top: 32px;
  list-style: none;
}

.cq12-outcomes li {
  --cq12-card-edge: linear-gradient(180deg, #fbf8fe, #7b4cd4 55.06%);
  --cq12-card-shadow: inset 0 0 13px #681ee7;
  position: relative;
  box-sizing: border-box;
  height: 146.2px;
  padding: 33.6px 25.6px 0;
  border-radius: 30px;
  overflow: clip;
  backdrop-filter: blur(5.6px);
  box-shadow: var(--cq12-card-shadow);
}

.cq12-outcomes li:nth-child(2) {
  --cq12-card-edge: linear-gradient(180deg, #7b4cd4, #272e6e);
  --cq12-card-shadow: inset 0 0 13px #6925f2;
}
.cq12-outcomes li:last-child {
  --cq12-card-shadow: inset 0 0 13px #681ee7, inset 0 0 13px #681ee7;
}

.cq12-outcomes li::before,
.cq12-summary::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1.6px;
  border-radius: inherit;
  pointer-events: none;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.cq12-outcomes li::before { background: var(--cq12-card-edge); }
.cq12-outcomes li > div { display: flex; align-items: center; gap: 10px; }
.cq12-outcomes li img { width: 44px; height: 44px; object-fit: contain; }

#main #cq-reuse .cq12-outcomes h4 {
  color: #fff;
  font: 800 32px/37.7px var(--cq12-text);
  white-space: nowrap;
}

#main #cq-reuse .cq12-outcomes p {
  margin-top: 8px;
  color: #c5c5eb;
  font: 700 22px/26.1px 'ZK08 Noto', 'Noto Sans SC', 'PingFang SC', sans-serif;
  white-space: nowrap;
}

.cq12-platform {
  position: absolute;
  left: 560px;
  top: 400.043px;
  width: 1280px;
  height: 624.246px;
}

.cq12-platform-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 36px;
  box-shadow: 0 0 42.7px #480fcc;
}

.cq12-platform-art img {
  position: absolute;
  top: -1.87%;
  left: 50%;
  height: 105.14%;
  width: auto;
  transform: translateX(-50%);
}

.cq12-platform .cq12-section-heading { position: absolute; left: 71px; top: 29.957px; }

#main #cq-reuse .cq12-platform > p {
  position: absolute;
  left: 71px;
  top: 90.636px;
  width: 982px;
  color: #fffc;
  font: 600 22px/1.44 var(--cq12-text);
  white-space: nowrap;
}

.cq12-capabilities { position: absolute; left: 80px; top: 1067px; width: 1760px; }

#main #cq-reuse .cq12-summary {
  position: absolute;
  left: 0;
  top: 79.68px;
  display: grid;
  grid-template-columns: repeat(4, 379.2px);
  gap: 48px;
  align-items: center;
  width: 1760px;
  height: 142.2px;
  box-sizing: border-box;
  padding: 0 49.6px;
  list-style: none;
  border-radius: 30px;
  background: url('../assets/cq-assets-summary-1759/summary-glow-1.svg'),
    url('../assets/cq-assets-summary-1759/summary-glow-2.svg'),
    url('../assets/cq-assets-summary-1759/summary-base.png') center / cover;
  backdrop-filter: blur(5.6px);
}

.cq12-summary::before { background: linear-gradient(90deg,#7b4cd400,#7b4cd4,#7b4cd400); }

.cq12-capability { position: relative; display: flex; align-items: center; gap: 16px; height: 99px; }
.cq12-capability img { flex: none; width: 88px; height: 88px; object-fit: contain; }
.cq12-capability > div { width: 275.2px; }

.cq12-capability:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  left: calc(100% + 24px);
  width: 40px;
  height: 2px;
  background: url('../assets/cq-team-delivery-1754/summary-divider.svg');
  transform: translate(-50%, -50%) rotate(90deg);
}

#main #cq-reuse .cq12-capability h4 {
  color: transparent;
  font: 800 28px/37.7px var(--cq12-text);
  background: linear-gradient(262.873807deg,#e7d4ff 11.025%,#f08ffd 69.881%,#2429ff 110.09%,#2c22b6 153.07%);
  background-clip: text;
  white-space: nowrap;
}

#main #cq-reuse .cq12-capability p {
  margin-top: 8px;
  color: #ffffffbf;
  font: 500 20px/26.1px var(--cq12-noto);
  text-align: justify;
}

.cq12-outcomes li:nth-child(1) { background-image: url('../assets/cq-assets-summary-1759/outcome-glow-1-1.svg'), linear-gradient(180deg, rgba(70, 35, 159, 0.25) 0%, rgba(38, 15, 92, 0.25) 100%); }
.cq12-outcomes li:nth-child(2) { background-image: url('../assets/cq-assets-summary-1759/outcome-glow-2-1.svg'), linear-gradient(169.6298584201242deg, rgba(47, 77, 237, 0.25) 17.228%, rgba(21, 30, 148, 0.25) 96.795%); }
.cq12-outcomes li:nth-child(3) { background-image: url('../assets/cq-assets-summary-1759/outcome-glow-3-1.svg'), linear-gradient(180deg, rgba(70, 35, 159, 0.25) 0%, rgba(38, 15, 92, 0.25) 100%); }

@media screen and (max-width: 768px) {
  html[data-theme="dark"] body:not(.canvas-mode) #main #cq-reuse.portfolio-sheet {
    height: calc(1400px * var(--zk592-scale, 1) + 92px);
  }
  html[data-theme="dark"] body:not(.canvas-mode) #main #cq-reuse > .cq12-stage { top: 44px; }
  html[data-theme="dark"] body:not(.canvas-mode) #main #cq-reuse > .u-footer { height: 44px; }
}
