/* Separate the demos into chapters without reducing the phone previews. */
.solutions .project-row {
  --chapter-ink: #63374d;
  --chapter-end: #885a6b;
  --chapter-border: #d9c6ce;
  --panel-inset: 24px;
  position: relative;
  isolation: isolate;
  border: 0;
  padding-block: 0 34px;
  margin-block: 0 96px;
  column-gap: clamp(30px, 4vw, 50px);
  row-gap: 36px;
  scroll-margin-top: 118px;
  animation: none;
}
.solutions .project-row::before {
  content: "";
  position: absolute;
  inset: 0 calc(-1 * var(--panel-inset));
  z-index: -1;
  border: 1px solid var(--chapter-border);
  border-radius: 30px;
  background: #fffdfb;
  box-shadow: 0 20px 55px -30px #23354d32, 0 3px 8px #23354d05;
  pointer-events: none;
}
.solutions #example-team {
  --chapter-ink: #304b66;
  --chapter-end: #607b94;
  --chapter-border: #c4d1df;
}
.solutions #example-orders {
  --chapter-ink: #3c4e43;
  --chapter-end: #75816c;
  --chapter-border: #cad1c4;
}
.project-chapter {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 25px;
  min-width: 0;
  min-height: 150px;
  margin-inline: calc(-1 * var(--panel-inset));
  padding: 25px 32px;
  border-radius: 30px 30px 0 0;
  color: #fffdfb;
  background: linear-gradient(110deg, var(--chapter-ink), var(--chapter-end));
}
.project-chapter-number {
  flex-shrink: 0;
  font-size: clamp(64px, 6.2vw, 82px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -5px;
  color: #ffffff78;
  font-variant-numeric: tabular-nums;
}
.project-chapter-title { min-width: 0; }
.project-chapter-eyebrow {
  display: block;
  margin-bottom: 7px;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .85px;
  text-transform: uppercase;
  color: #ffffffc9;
}
.project-chapter-title p {
  margin: 0 0 4px;
  font-size: 33px;
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -.8px;
}
.project-chapter-category {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: #ffffffe0;
}
.project-chapter-scope {
  margin-left: auto;
  padding-left: 22px;
  border-left: 1px solid #ffffff4d;
  max-width: 270px;
  font-size: 13px;
  line-height: 1.65;
  color: #ffffffe0;
}
.solutions .project-row .lumi-case-meta,
.solutions .project-row .atrium-case-meta,
.solutions .project-row .project-meta,
.solutions .project-row .lumi-case-category,
.solutions .project-row .atrium-case-category { display: none; }
.solutions #example-team > .project-chapter { margin-bottom: 36px; }
.solutions .project-row > .project-copy { align-self: start; }
.solutions .project-row:last-child { margin-bottom: 70px; }

@media (max-width: 1100px) {
  .solutions .project-row { --panel-inset: 16px; }
  .project-chapter { padding-inline: 24px; }
}
@media (max-width: 800px) {
  .solutions .project-row {
    --panel-inset: 10px;
    margin-bottom: 64px;
    row-gap: 28px;
    padding-bottom: 25px;
  }
  .solutions .project-row::before { border-radius: 25px; }
  .project-chapter {
    border-radius: 25px 25px 0 0;
    min-height: 134px;
    gap: 20px;
    padding: 23px 24px;
  }
  .project-chapter-scope { display: none; }
  .solutions #example-team > .project-chapter { margin-bottom: 28px; }
}
@media (max-width: 600px) {
  .solutions .project-row { --panel-inset: 6px; scroll-margin-top: 104px; }
  .solutions .project-row > .project-copy { padding-inline: 10px; }
  .project-chapter { gap: 18px; padding: 21px 18px; }
  .project-chapter-number { font-size: 59px; letter-spacing: -4px; }
  .project-chapter-title p { font-size: 28px; }
  .project-chapter-eyebrow { font-size: 10px; letter-spacing: .45px; max-width: 235px; }
  .project-chapter-category { font-size: 13px; }
}
@media (max-width: 360px) {
  .project-chapter { gap: 14px; padding-inline: 15px; }
  .project-chapter-number { font-size: 50px; }
  .project-chapter-title p { font-size: 26px; }
  .project-chapter-category { font-size: 12px; }
  .project-chapter-eyebrow { font-size: 9px; }
}
