/* DARK P06, Figma frame 1656:7188. Uses the existing fixed-board scaler. */
@font-face {
  font-family: 'CQ03 Noto';
  src: local('NotoSansSC-Medium'), local('NotoSansHans-Medium'),url('../assets/fonts/NotoSansHans-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

#main #cq-pc > .cq03-stage { display: none; }

html[data-theme="dark"] #main #cq-pc.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-pc > :not(.cq03-stage, .u-header, .u-footer, .anchor-alias),
html[data-theme="dark"] #main #cq-pc::before,
html[data-theme="dark"] #main #cq-pc::after { display: none; }

/* The legacy mobile layout forces .sheet-content visible at 760px and below. */
html[data-theme="dark"] #main #cq-pc > .sheet-content { display: none !important; }

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

html[data-theme="dark"] #main #cq-pc > .u-header { top: 0; }
html[data-theme="dark"] #main #cq-pc > .u-footer { bottom: 0; }

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

#main #cq-pc .cq03-stage :is(h2, h3, p, figure) { margin: 0; padding: 0; }
#main #cq-pc .cq03-stage img { display: block; max-width: none; }

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

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

.cq03-trails {
  position: absolute;
  left: 0;
  top: 291.62px;
  width: 1920px;
  height: 1271.9px;
}

.cq03-checker { position: absolute; left: 0; top: 1075px; z-index: -2; }

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

.cq03-heading { position: absolute; left: 80px; top: 140px; width: 1760px; height: 200.044px; }

.cq03-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 42px;
  font: 700 32px/1.3 var(--cq03-text);
  white-space: nowrap;
}

.cq03-eyebrow b {
  display: grid;
  place-items: center;
  width: 191.348px;
  height: 36px;
  border: 1px solid white;
  border-radius: 24px;
  font: 700 24px/1.2 'Portfolio Trash', sans-serif;
  transform: skewX(-6.63deg) scaleY(.993312418);
}

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

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

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

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

.cq03-emblem-ring, .cq03-emblem-star, .cq03-emblem-dot { position: absolute; }
.cq03-emblem-ring { left: 733px; top: -21.282px; }
.cq03-emblem-star { left: 804.457px; top: -38px; }
.cq03-emblem-dot { left: 651px; top: 13.904px; }

#main #cq-pc .cq03-stage .cq03-emblem-text {
  position: absolute;
  left: 673.972px;
  top: -3px;
  width: 272px;
  height: 49px;
  color: #f6f7ff;
  -webkit-text-fill-color: currentColor;
  font: 400 34px/49px var(--cq03-title);
  white-space: nowrap;
  transform: matrix(1, 0, -.121869348, .992546141, 0, 0);
  transform-origin: top left;
}

.cq03-workbenches {
  position: absolute;
  left: 77px;
  top: 384px;
  width: 1765px;
  display: grid;
  grid-template-columns: repeat(2, 852px);
  align-items: start;
  gap: 61px;
  --cq03-role-top: 30px;
  --cq03-role-height: 60.176px;
}

.cq03-workbench { position: relative; height: 760px; }
.cq03-shadow-soft, .cq03-shadow-tight { position: absolute; pointer-events: none; }
.cq03-shadow-soft { left: -77.243px; top: 338.47px; }
.cq03-shadow-tight { left: -20.62px; top: 484.452px; }

.cq03-frame {
  position: absolute;
  inset: -16.124px;
  border-radius: 40.751px;
  background: linear-gradient(180deg, #4900be4d, #560e8240 10.4419%, #a96aff 44.2547%, #4233ff59 87.0192%), #d1d1d1;
}

.cq03-frame::after {
  content: '';
  position: absolute;
  inset: 4.031px;
  border-radius: 36.093px;
  background: #000614;
}

.cq03-workbench-president .cq03-frame::after {
  background: linear-gradient(#000614 65%, #00061400);
}

.cq03-screen {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  overflow: hidden;
  background: #000614;
}

.cq03-screen img { position: absolute; left: 0; top: -4px; width: 100%; height: auto; }
.cq03-workbench-president .cq03-screen img { left: .394px; top: .354px; width: 99.9233%; }

.cq03-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, #140e3000 73.205%, #3f2c9673);
}

.cq03-role {
  position: absolute;
  top: var(--cq03-role-top);
  left: -31px;
  width: 293.831px;
  height: var(--cq03-role-height);
  padding: 0 10px 0 22.037px;
  display: flex;
  align-items: center;
  gap: 3px;
  border-radius: 14.442px;
  color: white;
  font: 600 28.884px/1.2 var(--cq03-text);
  white-space: nowrap;
  background: url("data:image/svg+xml,%3Csvg%20viewBox%3D'0%200%20293.83%2060.176'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20preserveAspectRatio%3D'none'%3E%3Crect%20x%3D'0'%20y%3D'0'%20height%3D'100%25'%20width%3D'100%25'%20fill%3D'url%28%23grad%29'%20opacity%3D'1'%2F%3E%3Cdefs%3E%3CradialGradient%20id%3D'grad'%20gradientUnits%3D'userSpaceOnUse'%20cx%3D'0'%20cy%3D'0'%20r%3D'10'%20gradientTransform%3D'matrix%28-1.1955%20-5.7668%2018.643%20-5.0099%20240.66%2060.176%29'%3E%3Cstop%20stop-color%3D'rgba%28141%2C75%2C203%2C1%29'%20offset%3D'0'%2F%3E%3Cstop%20stop-color%3D'rgba%28106%2C56%2C152%2C0.5%29'%20offset%3D'0.5'%2F%3E%3Cstop%20stop-color%3D'rgba%2870%2C37%2C101%2C0%29'%20offset%3D'1'%2F%3E%3C%2FradialGradient%3E%3C%2Fdefs%3E%3C%2Fsvg%3E"),
    url("data:image/svg+xml,%3Csvg%20viewBox%3D'0%200%20293.83%2060.176'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20preserveAspectRatio%3D'none'%3E%3Crect%20x%3D'0'%20y%3D'0'%20height%3D'100%25'%20width%3D'100%25'%20fill%3D'url%28%23grad%29'%20opacity%3D'1'%2F%3E%3Cdefs%3E%3CradialGradient%20id%3D'grad'%20gradientUnits%3D'userSpaceOnUse'%20cx%3D'0'%20cy%3D'0'%20r%3D'10'%20gradientTransform%3D'matrix%280.03146%203.2237%20-10.421%200.13184%2041.526%20-8.9547%29'%3E%3Cstop%20stop-color%3D'rgba%28141%2C75%2C203%2C1%29'%20offset%3D'0'%2F%3E%3Cstop%20stop-color%3D'rgba%28106%2C56%2C152%2C0.5%29'%20offset%3D'0.5'%2F%3E%3Cstop%20stop-color%3D'rgba%2870%2C37%2C101%2C0%29'%20offset%3D'1'%2F%3E%3C%2FradialGradient%3E%3C%2Fdefs%3E%3C%2Fsvg%3E"),
    linear-gradient(265.299508deg, #e2caff99 19.95%, #964dff99 75.058%, #2429ff99 121.1%, #3d22b699 137.16%),
    linear-gradient(180deg, #0c00b5db, #3b007bdb 50%, #7d00e0db);
  box-shadow: inset 0 0 26.445px #592387;
}

.cq03-role::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1.836px solid transparent;
  border-radius: inherit;
  background: linear-gradient(270deg, white, #ffffff1a) border-box;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.cq03-role-name {
  width: 178.041px;
  flex: none;
  transform: var(--cq03-skew);
}

.cq03-role-slash {
  position: relative;
  flex: 0 0 11.264px;
  height: 32.476px;
}

.cq03-role-slash::before {
  content: '';
  position: absolute;
  left: 3.22px;
  width: 4.825px;
  height: 32.167px;
  background: white;
  transform: rotate(11.73deg);
}

.cq03-role-slash-accent::after {
  content: '';
  position: absolute;
  top: 0;
  left: 6px;
  width: 4.825px;
  height: 4.825px;
  background: #a96cfe;
  transform: rotate(11.73deg);
}

.cq03-role-pointer {
  position: relative;
  flex: 0 0 49.703px;
  height: 38.138px;
  margin-left: 4px;
}

.cq03-role-pointer img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scaleX(-1) matrix(1, 0, .258819, .965926, 0, 0);
  mask: url('../assets/cq-core-business-1656/8ae28.svg') 7.361px 6.356px / 49.703px 38.138px no-repeat;
}

.cq03-values {
  position: absolute;
  left: 73px;
  top: 1183px;
  width: 1774px;
  height: 134px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 24px;
  border: 1px solid #7b4cd4;
  border-radius: 30px;
  background: url("data:image/svg+xml,%3Csvg%20viewBox%3D'0%200%201774%20134'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20preserveAspectRatio%3D'none'%3E%3Crect%20x%3D'0'%20y%3D'0'%20height%3D'100%25'%20width%3D'100%25'%20fill%3D'url%28%23grad%29'%20opacity%3D'1'%2F%3E%3Cdefs%3E%3CradialGradient%20id%3D'grad'%20gradientUnits%3D'userSpaceOnUse'%20cx%3D'0'%20cy%3D'0'%20r%3D'10'%20gradientTransform%3D'matrix%28-131.2%20-8.8%203.4076%20-50.804%201507.5%20-139.5%29'%3E%3Cstop%20stop-color%3D'rgba%28115%2C21%2C195%2C1%29'%20offset%3D'0'%2F%3E%3Cstop%20stop-color%3D'rgba%2885%2C16%2C144%2C0.5%29'%20offset%3D'0.5'%2F%3E%3Cstop%20stop-color%3D'rgba%2855%2C10%2C93%2C0%29'%20offset%3D'1'%2F%3E%3C%2FradialGradient%3E%3C%2Fdefs%3E%3C%2Fsvg%3E"),
    url("data:image/svg+xml,%3Csvg%20viewBox%3D'0%200%201774%20134'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20preserveAspectRatio%3D'none'%3E%3Crect%20x%3D'0'%20y%3D'0'%20height%3D'100%25'%20width%3D'100%25'%20fill%3D'url%28%23grad%29'%20opacity%3D'1'%2F%3E%3Cdefs%3E%3CradialGradient%20id%3D'grad'%20gradientUnits%3D'userSpaceOnUse'%20cx%3D'0'%20cy%3D'0'%20r%3D'10'%20gradientTransform%3D'matrix%2827.59%20-5.092%2067.412%2010.961%20134.08%20144.51%29'%3E%3Cstop%20stop-color%3D'rgba%28115%2C21%2C195%2C1%29'%20offset%3D'0'%2F%3E%3Cstop%20stop-color%3D'rgba%2885%2C16%2C144%2C0.5%29'%20offset%3D'0.5'%2F%3E%3Cstop%20stop-color%3D'rgba%2855%2C10%2C93%2C0%29'%20offset%3D'1'%2F%3E%3C%2FradialGradient%3E%3C%2Fdefs%3E%3C%2Fsvg%3E"),
    linear-gradient(180deg, #46239f40, #260f5c40);
}

.cq03-value {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1 1 0;
  min-width: 0;
  height: 108px;
  padding: 10px 24px;
  isolation: isolate;
  border-radius: 28px;
  background: #ffffff04;
}

.cq03-value-texture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  object-fit: cover;
  opacity: .02;
  z-index: -1;
}

.cq03-value-icon {
  width: 98px;
  height: 88px;
  flex: none;
  object-fit: fill;
}
.cq03-value-copy { display: grid; gap: 8px; }
.cq03-value-divider { position: relative; width: 0; height: 33px; flex: none; }
.cq03-value-divider img { position: absolute; top: 16px; left: -16px; transform: rotate(90deg); }

#main #cq-pc .cq03-value h3 {
  width: max-content;
  color: #b18bff;
  font: 800 28px/37.7px var(--cq03-text);
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
  #main #cq-pc .cq03-value h3 {
    background-image: linear-gradient(267.769342deg, #e2caff -46.847%, #964dff var(--cq03-value-violet, 76.835%), #2429ff var(--cq03-value-blue, 114.19%), #3d22b6 136.24%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.cq03-value:first-child { --cq03-value-violet: 63.868%; --cq03-value-blue: 117.53%; }

#main #cq-pc .cq03-value p {
  color: #ffffffbf;
  font: 500 20px/26.1px 'CQ03 Noto', 'Noto Sans SC', 'PingFang SC', sans-serif;
  white-space: nowrap;
}

@media screen and (min-width: 769px) {
  body:not(.canvas-mode) #main #cq-pc > .cq03-stage {
    /* The original 83 design-pixel footer gap is scaled, but the running row is not. */
    --cq03-clearance: max(0px, calc((var(--portfolio-row-height) + 8px) / var(--zk592-scale, 1) - 83px));
    --cq03-pad-reduction: clamp(0px, calc(var(--cq03-clearance) - 26px), 16px);
    --cq03-card-rise: calc(var(--cq03-clearance) - var(--cq03-pad-reduction));
  }
  body:not(.canvas-mode) #main #cq-pc .cq03-workbenches {
    top: calc(384px - max(0px, var(--cq03-card-rise, 0px) - 22px));
  }
  body:not(.canvas-mode) #main #cq-pc .cq03-values {
    top: calc(1183px - var(--cq03-card-rise, 0px));
    height: calc(134px - var(--cq03-pad-reduction, 0px));
    padding-block: calc(12px - var(--cq03-pad-reduction, 0px) / 2);
  }
}

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