.lab-hero .genai-color-text {
  background-image: linear-gradient(90deg, #e51620, #ff8b0b 28%, #078c82 62%, #0872d4 82%, #e93379);
}

.lab-projects {
  padding-block: clamp(104px, 11vw, 150px);
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #06245c;
}

.lab-projects::before {
  content: "";
  width: 100%;
  height: 5px;
  position: absolute;
  inset: 0 0 auto;
  background: linear-gradient(90deg, #e51620 0 16.6%, #ff8b0b 16.6% 33.2%, #15964a 33.2% 49.8%, #078c82 49.8% 66.4%, #0872d4 66.4% 83%, #e93379 83%);
}

.lab-project {
  margin-top: 76px;
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, .24);
}

.lab-project + .lab-project {
  margin-top: 104px;
}

.lab-project--tuber { --lab-accent: #ff6c75; }
.lab-project--racing { --lab-accent: #70e6e9; }

.lab-project__header {
  display: grid;
  grid-template-columns: 98px minmax(0, 1fr);
  gap: 32px;
}

.lab-project__number {
  color: var(--lab-accent);
  font: 800 clamp(54px, 6vw, 82px)/.9 Arial, sans-serif;
  letter-spacing: -.08em;
}

.lab-project__header p {
  margin: 0 0 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
}

.lab-project__header p span,
.lab-project__header p strong {
  font: 800 10px/1.3 Arial, sans-serif;
  letter-spacing: .15em;
}

.lab-project__header p span {
  color: var(--lab-accent);
}

.lab-project__header p strong {
  padding: 6px 9px;
  border: 1px solid currentColor;
  color: #fff;
  letter-spacing: .1em;
}

.lab-project__header h3 {
  margin: 0;
  font-size: clamp(54px, 7vw, 92px);
  line-height: .95;
  letter-spacing: -.055em;
}

.lab-project__header h4 {
  margin: 25px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(20px, 2.2vw, 29px);
  line-height: 1.55;
}

.lab-project__body {
  margin-top: 54px;
  display: grid;
  grid-template-columns: minmax(330px, .8fr) minmax(480px, 1.2fr);
  align-items: start;
  gap: clamp(52px, 7vw, 92px);
}

.lab-project__copy > p {
  margin: 0;
  color: rgba(255, 255, 255, .75);
  font-size: 15px;
  line-height: 2;
  font-weight: 650;
}

.lab-feature-flow {
  margin: 38px 0 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, .2);
  list-style: none;
}

.lab-feature-flow li {
  min-height: 78px;
  padding: 16px 0;
  display: grid;
  grid-template-columns: 36px minmax(100px, .85fr) minmax(130px, 1.15fr);
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.lab-feature-flow span {
  color: var(--lab-accent);
  font: 800 11px/1 Arial, sans-serif;
}

.lab-feature-flow strong {
  font-size: 15px;
  line-height: 1.5;
}

.lab-feature-flow small {
  color: rgba(255, 255, 255, .6);
  font-size: 12px;
  line-height: 1.65;
  font-weight: 650;
}

.lab-project__notice {
  margin-top: 28px !important;
  padding: 18px 0 0 24px;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, .2);
  color: rgba(255, 255, 255, .62) !important;
  font-size: 12px !important;
  line-height: 1.8 !important;
}

.lab-project__notice::before {
  content: "!";
  width: 16px;
  height: 16px;
  position: absolute;
  left: 0;
  top: 20px;
  display: grid;
  place-items: center;
  border: 1px solid var(--lab-accent);
  border-radius: 50%;
  color: var(--lab-accent);
  font: 800 9px/1 Arial, sans-serif;
}

.lab-prototype-figure {
  margin: 0;
}

.lab-prototype-figure > div {
  min-height: 432px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .34);
  background: #fff;
  box-shadow: 0 24px 55px rgba(0, 11, 42, .25);
}

.lab-prototype-figure figcaption {
  margin-top: 14px;
  color: rgba(255, 255, 255, .58);
  font-size: 11px;
  line-height: 1.7;
  font-weight: 600;
}

.lab-prototype-figure figcaption span {
  margin-right: 11px;
  color: var(--lab-accent);
  font: 800 10px/1 Arial, sans-serif;
  letter-spacing: .12em;
}

.lab-demo__bar {
  min-height: 44px;
  padding: 12px 17px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #dce5f1;
  color: #60728c;
  background: #f5f8fc;
  font: 800 9px/1 Arial, sans-serif;
  letter-spacing: .13em;
}

.lab-demo__bar span {
  margin-right: auto;
}

.lab-demo__bar i {
  width: 7px;
  height: 7px;
  margin-left: 6px;
  border-radius: 50%;
  background: #d1dbe8;
}

.lab-demo__bar i:nth-of-type(1) { background: #ff6971; }
.lab-demo__bar i:nth-of-type(2) { background: #ffad42; }
.lab-demo__bar i:nth-of-type(3) { background: #43bf70; }

.lab-tuber-demo__stage {
  min-height: 300px;
  padding: 33px clamp(22px, 4vw, 48px);
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
  gap: clamp(24px, 4vw, 52px);
  background:
    linear-gradient(rgba(6, 36, 92, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 36, 92, .045) 1px, transparent 1px),
    linear-gradient(135deg, #f8faff, #edf5ff);
  background-size: 28px 28px, 28px 28px, auto;
}

.lab-avatar {
  width: 168px;
  height: 224px;
  position: relative;
  overflow: hidden;
  border: 1px solid #dce5f1;
  border-bottom: 5px solid #e93379;
  background: linear-gradient(145deg, #e7f8f5, #dce9ff 72%);
}

.lab-avatar::before,
.lab-avatar::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: .5;
}

.lab-avatar::before {
  width: 74px;
  height: 74px;
  right: -24px;
  top: -22px;
  border: 10px solid #ffad42;
}

.lab-avatar::after {
  width: 50px;
  height: 50px;
  left: -18px;
  bottom: 25px;
  background: #70e6e9;
}

.lab-avatar__face {
  width: 91px;
  height: 104px;
  position: absolute;
  z-index: 2;
  left: 39px;
  top: 42px;
  border-radius: 49% 49% 46% 46%;
  background: #ffe3cb;
}

.lab-avatar__hair {
  width: 114px;
  height: 126px;
  position: absolute;
  z-index: 1;
  left: 27px;
  top: 26px;
  border-radius: 52% 52% 32% 32%;
  background: #193f76;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 84% 100%, 76% 51%, 65% 69%, 55% 48%, 40% 66%, 29% 47%, 19% 100%, 0 100%);
}

.lab-avatar__face i,
.lab-avatar__face b {
  width: 9px;
  height: 6px;
  position: absolute;
  top: 48px;
  border-bottom: 3px solid #193f76;
  border-radius: 0 0 12px 12px;
}

.lab-avatar__face i { left: 22px; }
.lab-avatar__face b { right: 22px; }

.lab-avatar__face em {
  width: 20px;
  height: 10px;
  position: absolute;
  left: 36px;
  top: 69px;
  border: 3px solid #e36b71;
  border-top: 0;
  border-radius: 0 0 14px 14px;
}

.lab-avatar__body {
  width: 128px;
  height: 91px;
  position: absolute;
  left: 20px;
  bottom: -25px;
  border-radius: 55% 55% 0 0;
  background: linear-gradient(135deg, #e93379, #9b3eca 53%, #0872d4);
}

.lab-speech {
  color: #06245c;
}

.lab-speech > span {
  display: block;
  margin-bottom: 18px;
  color: #e93379;
  font: 800 9px/1 Arial, sans-serif;
  letter-spacing: .14em;
}

.lab-speech > strong {
  font-size: clamp(20px, 2.3vw, 30px);
  line-height: 1.55;
}

.lab-wave {
  height: 44px;
  margin-top: 27px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.lab-wave i {
  width: 4px;
  height: var(--wave-height);
  border-radius: 999px;
  background: var(--wave-color);
  animation: lab-wave 1.6s ease-in-out infinite alternate;
}

.lab-wave i:nth-child(1) { --wave-height: 14px; --wave-color: #e51620; }
.lab-wave i:nth-child(2) { --wave-height: 30px; --wave-color: #ff8b0b; animation-delay: -.4s; }
.lab-wave i:nth-child(3) { --wave-height: 22px; --wave-color: #15964a; animation-delay: -.8s; }
.lab-wave i:nth-child(4) { --wave-height: 40px; --wave-color: #078c82; animation-delay: -.2s; }
.lab-wave i:nth-child(5) { --wave-height: 25px; --wave-color: #0872d4; animation-delay: -.6s; }
.lab-wave i:nth-child(6) { --wave-height: 35px; --wave-color: #e93379; animation-delay: -1s; }
.lab-wave i:nth-child(7) { --wave-height: 17px; --wave-color: #e51620; animation-delay: -.5s; }

@keyframes lab-wave {
  to { transform: scaleY(.45); opacity: .58; }
}

.lab-demo__input {
  min-height: 88px;
  padding: 16px 20px;
  display: grid;
  grid-template-columns: 82px 1fr 32px;
  align-items: center;
  gap: 15px;
  border-top: 1px solid #dce5f1;
  color: #06245c;
}

.lab-demo__input span {
  color: #0872d4;
  font: 800 9px/1 Arial, sans-serif;
  letter-spacing: .12em;
}

.lab-demo__input p {
  margin: 0;
  padding: 11px 13px;
  border: 1px solid #dce5f1;
  color: #71819a;
  font-size: 11px;
  font-weight: 650;
}

.lab-demo__input i {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #e93379;
  font-style: normal;
}

.lab-race-demo {
  background: #f7faff !important;
}

.lab-race-demo__flow {
  min-height: 305px;
  padding: 52px clamp(25px, 4vw, 54px);
  display: grid;
  grid-template-columns: minmax(150px, 1fr) 38px minmax(150px, 1fr);
  align-items: center;
  gap: 14px;
  background:
    radial-gradient(circle at 76% 22%, rgba(8, 114, 212, .11), transparent 26%),
    radial-gradient(circle at 18% 84%, rgba(7, 140, 130, .11), transparent 28%);
}

.lab-race-demo__flow > b {
  color: #0872d4;
  font-size: 26px;
  text-align: center;
}

.lab-race-input,
.lab-race-output {
  min-height: 178px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  border: 1px solid #d7e2ef;
  color: #06245c;
  background: rgba(255, 255, 255, .9);
}

.lab-race-input { border-top: 5px solid #ff8b0b; }
.lab-race-output { border-top: 5px solid #078c82; }

.lab-race-input span,
.lab-race-output span {
  display: block;
  margin-bottom: 23px;
  color: #667b98;
  font: 800 9px/1 Arial, sans-serif;
  letter-spacing: .13em;
}

.lab-race-input strong,
.lab-race-output strong {
  display: block;
  margin-bottom: 22px;
  font-size: 16px;
  line-height: 1.55;
}

.lab-race-input i,
.lab-race-output i {
  height: 5px;
  margin-top: 8px;
  display: block;
  background: #dce5f1;
}

.lab-race-input i:nth-of-type(1) { width: 76%; }
.lab-race-input i:nth-of-type(2) { width: 93%; }
.lab-race-input i:nth-of-type(3) { width: 48%; }
.lab-race-output i:nth-of-type(1) { width: 88%; background: #c4e8e4; }
.lab-race-output i:nth-of-type(2) { width: 66%; background: #c4e8e4; }
.lab-race-output i:nth-of-type(3) { width: 94%; background: #c4e8e4; }
.lab-race-output i:nth-of-type(4) { width: 51%; background: #c4e8e4; }

.lab-race-demo__footer {
  min-height: 82px;
  padding: 17px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border-top: 1px solid #dce5f1;
  color: #60728c;
  background: #fff;
  font: 800 9px/1 Arial, sans-serif;
  letter-spacing: .12em;
}

.lab-race-demo__footer i {
  width: min(75px, 11vw);
  height: 1px;
  background: #c8d5e5;
}

.lab-principles {
  margin: 74px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--page-line);
  border-bottom: 1px solid var(--page-line);
  list-style: none;
}

.lab-principles li {
  min-height: 300px;
  padding: 34px 32px;
  border-top: 5px solid var(--principle-accent);
  border-right: 1px solid var(--page-line);
}

.lab-principles li:last-child { border-right: 0; }
.lab-principles li:nth-child(1) { --principle-accent: #e51620; }
.lab-principles li:nth-child(2) { --principle-accent: #078c82; }
.lab-principles li:nth-child(3) { --principle-accent: #0872d4; }

.lab-principles span {
  display: block;
  margin-bottom: 70px;
  color: var(--principle-accent);
  font: 800 10px/1 Arial, sans-serif;
  letter-spacing: .13em;
}

.lab-principles h3 {
  margin: 0 0 14px;
  color: var(--page-navy);
  font-size: 23px;
  line-height: 1.5;
}

.lab-principles p {
  margin: 0;
  color: var(--page-muted);
  font-size: 13px;
  line-height: 1.85;
  font-weight: 600;
}

.lab-process .genai-process__list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lab-next__links a:nth-child(1) { border-top-color: #0872d4; }
.lab-next__links a:nth-child(2) { border-top-color: #e93379; }
.lab-next__links a:nth-child(2) i { color: #e93379; }

@media (max-width: 980px) {
  .lab-project__body {
    grid-template-columns: 1fr;
  }

  .lab-project__copy {
    max-width: 720px;
  }

  .lab-process .genai-process__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lab-process .genai-process__list li:nth-child(2) {
    border-right: 0;
  }

  .lab-process .genai-process__list li:nth-child(3) {
    border-right: 1px solid var(--page-line);
  }
}

@media (max-width: 680px) {
  .lab-projects {
    padding-block: 88px;
  }

  .lab-project {
    margin-top: 53px;
    padding-top: 31px;
  }

  .lab-project + .lab-project {
    margin-top: 76px;
  }

  .lab-project__header {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 16px;
  }

  .lab-project__number {
    font-size: 49px;
  }

  .lab-project__header h3 {
    font-size: clamp(42px, 13vw, 56px);
    line-height: 1.04;
  }

  .lab-project__header h4 {
    margin-top: 18px;
    font-size: 18px;
  }

  .lab-project__body {
    margin-top: 38px;
    gap: 39px;
  }

  .lab-feature-flow li {
    min-height: 0;
    grid-template-columns: 34px 1fr;
  }

  .lab-feature-flow small {
    grid-column: 2;
  }

  .lab-prototype-figure > div {
    min-height: 0;
  }

  .lab-tuber-demo__stage {
    min-height: 390px;
    padding: 28px 20px;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 23px;
  }

  .lab-avatar {
    width: 151px;
    height: 190px;
  }

  .lab-avatar__face {
    left: 30px;
    top: 33px;
  }

  .lab-avatar__hair {
    left: 18px;
    top: 17px;
  }

  .lab-avatar__body {
    left: 12px;
  }

  .lab-speech {
    width: 100%;
    text-align: center;
  }

  .lab-speech > strong {
    font-size: 20px;
  }

  .lab-wave {
    margin-top: 17px;
    justify-content: center;
  }

  .lab-demo__input {
    padding: 15px;
    grid-template-columns: 1fr 32px;
  }

  .lab-demo__input span {
    grid-column: 1 / -1;
  }

  .lab-race-demo__flow {
    min-height: 0;
    padding: 30px 20px;
    grid-template-columns: 1fr;
  }

  .lab-race-demo__flow > b {
    transform: rotate(90deg);
  }

  .lab-race-demo__footer {
    padding-inline: 15px;
    gap: 8px;
    letter-spacing: .06em;
  }

  .lab-race-demo__footer i {
    width: 24px;
  }

  .lab-principles {
    margin-top: 50px;
    grid-template-columns: 1fr;
  }

  .lab-principles li {
    min-height: 0;
    padding: 27px 0 31px;
    border-top-width: 4px;
    border-right: 0;
    border-bottom: 1px solid var(--page-line);
  }

  .lab-principles li:last-child {
    border-bottom: 0;
  }

  .lab-principles span {
    margin-bottom: 34px;
  }

  .lab-process .genai-process__list {
    grid-template-columns: 1fr;
  }

  .lab-process .genai-process__list li:nth-child(3) {
    border-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lab-wave i {
    animation: none;
  }
}
