/* Figma 1893:619. The shared fixed-board observer supplies --zk592-scale. */
html[data-theme="dark"] #main #brand-illustration.portfolio-sheet {
  --illustration-scale: var(--zk592-scale, 1);
  --illustration-row-extra: max(0px, calc(var(--portfolio-row-height) - 60px * var(--illustration-scale)));
  position: relative;
  display: block;
  width: 100%;
  max-width: 1920px;
  height: calc(var(--artboard-height) * var(--illustration-scale) + 2 * var(--illustration-row-extra));
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: calc(22px * var(--illustration-scale));
  overflow: clip;
  isolation: isolate;
  background: linear-gradient(#060713 calc(100% - var(--illustration-row-extra)), #090517 0);
  box-shadow: 0 14px 45px rgb(7 3 12 / 21%);
}

html[data-theme="dark"] #main #brand-illustration::after {
  position: absolute;
  inset: 0;
  z-index: 6;
  border-radius: inherit;
  box-shadow: inset 0 0 0 calc(2px * var(--illustration-scale)) #372942;
  content: "";
  pointer-events: none;
}

#main #brand-illustration > .illustration-stage {
  position: absolute;
  top: var(--illustration-row-extra);
  left: 0;
  width: 1920px;
  height: var(--artboard-height);
  transform: scale(var(--illustration-scale));
  transform-origin: top left;
  background:
    linear-gradient(180deg, #060713 20.804%, rgb(10 14 36 / 50%) 66.335%, #090517 100%),
    url('../assets/cq-overview-1606/5e873.png') 0 291.595px / 1920px 1271.91px no-repeat,
    linear-gradient(180deg, #060713 0%, #0a0e24 56.747%, #090517 89.503%, #21003c 103.18%);
  color: #fff;
}

#main #brand-illustration :where(.illustration-stage h2, .illustration-stage h3, .illustration-stage p,
                                   .illustration-stage figure, .illustration-stage ul) {
  margin: 0;
  padding: 0;
}

#main #brand-illustration .illustration-stage img {
  display: block;
  max-width: none;
}

#main #brand-illustration .illustration-checker {
  position: absolute;
  inset: 1075px 0 auto;
  height: 590.769px;
  background: url('../assets/brand-illustration-1893/checker.svg') 0 0 no-repeat;
}

#main #brand-illustration .illustration-number {
  position: absolute;
  inset: -97px auto auto 590px;
  color: transparent;
  background: linear-gradient(-22.7792deg, rgb(157 89 255 / 3.8%) 20.981%, rgb(116 36 255 / 18.8%) 62.234%);
  background-clip: text;
  font: 700 820px/normal 'Portfolio Trash';
  letter-spacing: -57.4px;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
  white-space: nowrap;
}

#main #brand-illustration .illustration-heading {
  position: absolute;
  inset: 120px 80px auto;
  white-space: nowrap;
}

#main #brand-illustration .illustration-kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 42px;
  font: 700 32px/1.3 'Portfolio Inter', 'PingFang SC';
  font-optical-sizing: none;
}

#main #brand-illustration .illustration-kicker-label {
  box-sizing: border-box;
  display: grid;
  width: 237.348px;
  height: 36px;
  place-items: center;
  border: 1px solid #fff;
  border-radius: 24px;
  font: italic 700 24px/1.2 'Portfolio Trash', 'PingFang SC';
}

#main #brand-illustration :is(.illustration-kicker-label > span, .illustration-tags span,
                               .illustration-role-copy, .illustration-role-en) {
  transform: skewX(-6.63deg) scaleY(.993312);
}

#main #brand-illustration .illustration-title {
  display: grid;
  grid-template-columns: 613.892px 527.892px;
  align-items: center;
  gap: 8px;
  width: max-content;
  height: 102.311px;
  margin-top: 8px;
  color: #fff;
  font: 400 86px/1.2 'ZK08 Title';
  letter-spacing: 0;
}

#main #brand-illustration .illustration-title span {
  width: max-content;
  transform: matrix(1, 0, -.115457259, .993312418, 11.892, 0);
  transform-origin: top left;
}

#main #brand-illustration .illustration-title-accent {
  color: transparent;
  background: linear-gradient(265.178deg, #e2caff -19.95%, #964dff 75.058%, #2429ff 121.1%, #3d22b6 137.16%);
  background-clip: text;
}

#main #brand-illustration .illustration-tags {
  display: grid;
  grid-template-columns: 225.182px 225.182px 289.182px 254.182px;
  gap: 32px;
  width: max-content;
  margin-top: 8px;
  list-style: none;
}

#main #brand-illustration .illustration-tags li {
  --tag-fill: linear-gradient(180deg, rgb(70 35 159 / 25%), rgb(38 15 92 / 25%));
  --tag-stroke: #7b4cd4;
  --tag-glow: url('../assets/brand-illustration-1893/tag-illustration.svg');
  --tag-left: url('../assets/brand-market-1877/tag-bracket-left.svg');
  --tag-right: url('../assets/brand-market-1877/tag-bracket-right.svg');
  box-sizing: border-box;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.33px;
  height: 63.384px;
  border-radius: 19.981px;
  background: var(--tag-glow) 0 0 / 100% 100% no-repeat, var(--tag-fill);
  backdrop-filter: blur(4.662px);
  font: 700 32px/1.3 'Portfolio Inter', 'PingFang SC';
  font-optical-sizing: none;
}

#main #brand-illustration .illustration-tags .illustration-tag-indigo {
  --tag-fill: linear-gradient(var(--tag-angle, 171.583deg), rgb(47 77 237 / 25%) 17.228%, rgb(21 30 148 / 25%) 96.795%);
  --tag-stroke: linear-gradient(#7b4cd4, #272e6e);
  --tag-glow: url('../assets/brand-market-1877/tag-indigo.svg');
}

#main #brand-illustration .illustration-tags .illustration-tag-indigo:nth-child(2) {
  --tag-left: url('../assets/brand-market-1877/tag-bracket-indigo-left.svg');
  --tag-right: url('../assets/brand-market-1877/tag-bracket-indigo-right.svg');
}

#main #brand-illustration .illustration-tags li:nth-child(3) {
  --tag-glow: url('../assets/brand-communication-1883/tag-media.svg');
  --tag-text-width: 196.849px;
}

#main #brand-illustration .illustration-tags .illustration-tag-indigo:nth-child(4) {
  --tag-angle: 172.532deg;
  --tag-glow: url('../assets/brand-communication-1883/tag-management.svg');
  --tag-text-width: 161.849px;
}

#main #brand-illustration .illustration-tag-rim {
  position: absolute;
  inset: 0;
  padding: var(--rim-width);
  border-radius: inherit;
  background: var(--rim-paint);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

#main #brand-illustration .illustration-tag-rim {
  --rim-width: .833px;
  --rim-paint: var(--tag-stroke);
}

#main #brand-illustration .illustration-tags li::before,
#main #brand-illustration .illustration-tags li::after {
  flex: none;
  width: 26.004px;
  height: 26px;
  background-size: 100% 100%;
  content: "";
}

#main #brand-illustration .illustration-tags li::before {
  background-image: var(--tag-left);
  transform: rotate(180deg);
}

#main #brand-illustration .illustration-tags li::after {
  background-image: var(--tag-right);
  transform: scaleY(-1);
}

#main #brand-illustration .illustration-tags span {
  width: var(--tag-text-width, 132.849px);
  text-align: center;
}

#main #brand-illustration .illustration-role {
  position: absolute;
  inset: 170.16px 76.02px auto auto;
  width: 337.98px;
  white-space: nowrap;
}

#main #brand-illustration .illustration-role-top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 19px;
  height: 64px;
}

#main #brand-illustration .illustration-role-words {
  display: grid;
  grid-template-columns: 14.008px 220.965px 14.008px;
  align-items: center;
  gap: 3px;
}

#main #brand-illustration .illustration-role-copy {
  font: italic 600 36px/1.2 'Brand Market Inter', 'PingFang SC';
  text-align: center;
}

#main #brand-illustration .illustration-role-slash {
  width: 6px;
  height: 40px;
  margin: 0 auto;
  background: #fff;
  transform: rotate(11.73deg);
}

#main #brand-illustration .illustration-role-slash-accent {
  background: linear-gradient(#a96cfe 6px, #fff 6px);
}

#main #brand-illustration .illustration-role-icon {
  flex: none;
  width: 64px;
  height: 64px;
  background: url('../assets/brand-market-1877/role-icon.svg') -8px -10.664px no-repeat;
  mask: url('../assets/brand-market-1877/role-icon-mask.svg') 0 0 no-repeat;
}

#main #brand-illustration .illustration-role .illustration-role-en {
  margin-top: 32px;
  color: rgb(255 255 255 / 50%);
  font: italic 400 20px/1.2 'Portfolio Trash';
  display: flex;
  justify-content: flex-end;
  text-align: right;
}

/* Five artwork slots retain the source board's full-bleed crops. */
#main #brand-illustration .illustration-gallery {
  position: absolute;
  top: 404px;
  left: -347px;
  width: 2613.035px;
  display: grid;
  justify-items: center;
  gap: 30.589px;
}

#main #brand-illustration .illustration-row {
  position: relative;
  display: flex;
  gap: 30.589px;
}

#main #brand-illustration .illustration-tile {
  position: relative;
  flex: none;
  width: 850.619px;
  height: 506.2285px;
}

#main #brand-illustration .illustration-print-row .illustration-tile {
  width: 1014px;
  height: 514px;
}

#main #brand-illustration .illustration-tile::before {
  position: absolute;
  top: 66.676px;
  left: 39.488px;
  width: 772.29px;
  height: 455.735px;
  background: rgb(41 1 72 / 40%);
  filter: blur(74.114px);
  content: "";
  pointer-events: none;
}

#main #brand-illustration .illustration-print-row .illustration-tile::before {
  top: 70.502px;
  left: 121.094px;
}

#main #brand-illustration .illustration-shadow,
#main #brand-illustration .illustration-frame {
  position: absolute;
  pointer-events: none;
}

#main #brand-illustration .illustration-shadow {
  inset: 450.113px auto auto -4.98px;
  width: 860.579px;
  height: 116.615px;
  background: url('../assets/brand-illustration-1893/tile-shadow.svg') 0 0 no-repeat;
}

#main #brand-illustration .illustration-print-row .illustration-shadow {
  inset: 453.936px auto auto 76.625px;
}

#main #brand-illustration .illustration-frame {
  inset: -3.886px auto auto -3.23px;
  width: 857.093px;
  height: 513.997px;
  background: url('../assets/brand-illustration-1893/poster-frame.svg') 0 0 no-repeat;
}

#main #brand-illustration .illustration-print-row .illustration-frame {
  inset: 7.453px auto auto 6.262px;
  width: 1001.3px;
  height: 500.305px;
  background-image: url('../assets/brand-illustration-1893/composition-stroke.svg');
}

#main #brand-illustration .illustration-tile > img {
  position: absolute;
  top: var(--art-y, 2.588px);
  left: var(--art-x, 3.249px);
  width: var(--art-width, 844.146px);
  height: auto;
}

#main #brand-illustration .illustration-tile-featured {
  --art-y: 2.941px;
  --art-x: 3.481px;
  --art-width: 843.805px;
}

#main #brand-illustration .illustration-print-row .illustration-tile {
  --art-y: -.02px;
  --art-x: -.212px;
  --art-width: 1014.252px;
}

#main #brand-illustration .illustration-light {
  position: absolute;
  width: 776.978px;
  height: 113.359px;
  background: url('../assets/brand-market-1877/frame-highlight.png') center / cover no-repeat;
  mix-blend-mode: plus-lighter;
  pointer-events: none;
}

#main #brand-illustration .illustration-light-top {
  inset: -56.68px auto auto 89.32px;
}

#main #brand-illustration .illustration-light-base {
  inset: 474.125px auto auto 82.125px;
  width: 443.763px;
  height: 64.744px;
}

#main #brand-illustration .illustration-light-side {
  inset: 449.834px auto auto 98.105px;
}

#main #brand-illustration .illustration-shade {
  position: absolute;
  width: 370px;
  height: 1164px;
  pointer-events: none;
}

#main #brand-illustration .illustration-shade-left {
  inset: -57.068px auto auto 339px;
  background: linear-gradient(to left, transparent 24%, rgb(25 5 87 / 45%));
}

#main #brand-illustration .illustration-shade-right {
  inset: 0 339.035px auto auto;
  background: linear-gradient(to right, transparent 24%, rgb(25 5 87 / 45%));
}

#main #brand-illustration .illustration-edge-glow {
  position: absolute;
  inset: 929px 0 auto auto;
  width: 139px;
  height: 372px;
  background: linear-gradient(to left, rgb(25 5 87 / 35%) 24%, transparent);
  pointer-events: none;
}

#main #brand-illustration > .portfolio-running {
  position: absolute;
  inset-inline: 0;
}

#main #brand-illustration > .portfolio-running-header {
  inset-block: 0 auto;
}

#main #brand-illustration > .portfolio-running-footer {
  inset-block: auto 0;
}
