/* Prosper case study */

.page-prosper {
  --prosper-gallery-gutter: clamp(40px, 6vw, 88px);
  --prosper-space-grey: #e6e7e3;
  --prosper-surface: #eeeeee;
  --prosper-spec-paper: #eeeeee;
  --prosper-color-copy: color-mix(in srgb, #000000 40%, #ffffff);
  --prosper-gap: 6px;
  --prosper-font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --prosper-voice-card-height: 754;
  --prosper-voice-card-width: 1814;
  --prosper-voice-copy-lift: 45px;
  --prosper-voice-title-gap: 40px;
  --prosper-voice-title-gap-prev: 14px;
}

.page-prosper .page-hero-sec,
.page-prosper .page-hero-sec :is(
  .project-client,
  .project-client-line,
  .project-title,
  .project-title-line,
  .project-desc,
  .project-desc-chunk,
  .project-desc-wrap,
  .project-scale,
  .project-role-label,
  .project-role-value
) {
  font-family: 'Montserrat', sans-serif;
}

.page-prosper .project-gallery {
  font-family: var(--prosper-font);
  gap: var(--prosper-gap);
  box-sizing: border-box;
}

/* Prosper — narrative story chapters */
.page-prosper .project-gallery > .prosper-story {
  display: flex;
  flex-direction: column;
  gap: var(--prosper-gap);
  width: 100%;
}

.prosper-define-copy,
.prosper-live-copy {
  --hero-lead: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: var(--story-chapter-pad-top) var(--page-inset) var(--story-chapter-pad-bottom);
  text-align: center;
  background: #fff;
  box-sizing: border-box;
}

.page-prosper .prosper-define-copy .project-title,
.page-prosper .prosper-live-copy .project-title {
  grid-column: auto;
  grid-row: auto;
  align-self: center;
  width: 100%;
  max-width: 100%;
  margin: 0 0 var(--hero-lead);
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  color: var(--black);
}

.page-prosper .prosper-define-copy .project-title-sep,
.page-prosper .prosper-live-copy .project-title-sep {
  font-weight: 300;
}

.page-prosper .prosper-define-copy .project-desc,
.page-prosper .prosper-live-copy .project-desc {
  margin-inline: auto;
  margin-bottom: 0;
  max-width: 52ch;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  color: var(--project-label-color);
}

.prosper-story__outro {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--story-chapter-pad-top) var(--page-inset) var(--story-chapter-pad-top);
  text-align: center;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
}

.page-prosper .prosper-story__outro .project-title {
  grid-column: auto;
  grid-row: auto;
  align-self: center;
  width: 100%;
  max-width: 100%;
  margin: 0;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  color: var(--black);
}

.page-prosper .project-next {
  margin-left: var(--page-inset);
  margin-right: var(--page-inset);
  padding-top: 72px;
  padding-bottom: 48px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.prosper-scroll-reveal {
  display: block;
  width: 100%;
  overflow: hidden;
}

.prosper-scroll-reveal__frame {
  width: 100%;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.1s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: clip-path;
}

.prosper-scroll-reveal.is-visible .prosper-scroll-reveal__frame {
  clip-path: inset(0 0 0 0);
}

.prosper-entrance img {
  display: block;
  width: 100%;
  height: auto;
}

/* Colors chapter — palette + specifications */
.prosper-logo-chapter,
.prosper-colors-chapter {
  display: flex;
  flex-direction: column;
  gap: var(--prosper-gap);
  width: 100%;
  background: transparent;
}

.prosper-color-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.82fr) minmax(0, 1.6fr);
  gap: var(--prosper-gap);
  width: 100%;
  min-height: clamp(360px, 51vw, 620px);
}

.prosper-color-intro {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: var(--prosper-surface);
  box-sizing: border-box;
  padding: clamp(28px, 4.2vw, 52px) clamp(22px, 3.4vw, 40px);
}

.page-case-study .prosper-color-intro__title {
  margin: 0 0 clamp(18px, 2.4vw, 28px);
  font-family: var(--prosper-font);
  font-size: clamp(42px, 5.4vw, 72px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--prosper-color-copy);
}

.page-case-study .prosper-color-intro__body {
  margin: 0;
  max-width: 22em;
  font-family: var(--prosper-font);
  font-size: clamp(11px, 0.9vw, 14px);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0;
  color: var(--prosper-color-copy);
}

.prosper-color-feature,
.prosper-color-stack {
  min-height: 0;
}

.prosper-color-feature .prosper-color-swatch {
  min-height: 100%;
}

.prosper-color-stack {
  display: grid;
  grid-template-rows: 1.28fr 0.92fr 1fr;
  gap: var(--prosper-gap);
}

.prosper-color-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--prosper-gap);
  min-height: 0;
}

.prosper-color-swatch {
  position: relative;
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
  padding: clamp(16px, 2vw, 24px);
}

.prosper-color-swatch__name {
  margin: 0;
  font-family: var(--prosper-font);
  font-size: clamp(11px, 0.9vw, 14px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.01em;
  opacity: 0.6;
}

.prosper-color-swatch__codes {
  list-style: none;
  margin: clamp(8px, 1vw, 12px) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(3px, 0.45vw, 5px);
}

.prosper-color-swatch__codes li {
  display: flex;
  align-items: baseline;
  gap: 0.45em;
  min-width: 0;
}

.prosper-color-swatch__code-label,
.prosper-color-swatch__code-value {
  font-family: var(--prosper-font);
  font-size: clamp(8px, 0.68vw, 10px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.prosper-color-swatch__code-label {
  flex: 0 0 auto;
  min-width: 4.8em;
}

.prosper-color-swatch__code-value {
  flex: 1 1 auto;
  text-transform: uppercase;
}

.prosper-color-swatch--rubine {
  background: #ff0078;
  color: #fff;
}

.prosper-color-swatch--rubine .prosper-color-swatch__code-label,
.prosper-color-swatch--rubine .prosper-color-swatch__code-value {
  color: rgba(255, 255, 255, 0.92);
}

.prosper-color-swatch--orange {
  background: #ed8031;
  color: #fff;
}

.prosper-color-swatch--orange .prosper-color-swatch__code-label,
.prosper-color-swatch--orange .prosper-color-swatch__code-value {
  color: rgba(255, 255, 255, 0.92);
}

.prosper-color-swatch--gray {
  background: #848484;
  color: #fff;
}

.prosper-color-swatch--gray .prosper-color-swatch__code-label,
.prosper-color-swatch--gray .prosper-color-swatch__code-value {
  color: rgba(255, 255, 255, 0.92);
}

.prosper-color-swatch--space-grey {
  background: #e6e7e3;
  color: var(--prosper-color-copy);
}

.prosper-color-swatch--space-grey .prosper-color-swatch__code-label,
.prosper-color-swatch--space-grey .prosper-color-swatch__code-value {
  color: var(--prosper-color-copy);
}

.prosper-color-swatch--white {
  background: #ffffff;
  color: var(--prosper-color-copy);
}

.prosper-color-swatch--white .prosper-color-swatch__code-label,
.prosper-color-swatch--white .prosper-color-swatch__code-value {
  color: var(--prosper-color-copy);
}

.prosper-color-spec-block {
  display: flex;
  flex-direction: column;
  gap: var(--prosper-gap);
  width: 100%;
  padding: clamp(18px, 2.4vw, 28px) clamp(18px, 2.8vw, 36px) clamp(18px, 2.4vw, 28px);
  background: var(--prosper-surface);
  box-sizing: border-box;
}

.prosper-logo-cycle {
  --prosper-logo-cycle-duration: 0.6s;
  width: 100%;
  background: transparent;
  box-sizing: border-box;
}

.prosper-logo-cycle__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 2352 / 1110;
  height: auto;
  max-height: none;
  overflow: hidden;
  padding: 0;
  box-sizing: border-box;
  background-color: #fafafa;
  container-type: size;
}

.prosper-logo-cycle__cell {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
}

.prosper-logo-cycle__cell--wordmark,
.prosper-logo-cycle__cell--outline,
.prosper-logo-cycle__cell--color {
  animation-duration: var(--prosper-logo-cycle-duration);
  animation-timing-function: steps(1, jump-end);
  animation-iteration-count: infinite;
}

.prosper-logo-cycle__cell--wordmark {
  animation-name: prosper-logo-cycle-wordmark;
}

.prosper-logo-cycle__cell--outline {
  animation-name: prosper-logo-cycle-outline;
}

.prosper-logo-cycle__cell--color {
  animation-name: prosper-logo-cycle-color;
}

.page-prosper .project-gallery .prosper-logo-cycle__asset {
  object-fit: contain;
}

.page-prosper .project-gallery .prosper-logo-cycle__asset--wordmark {
  width: min(67.2%, 724px);
  max-width: 100%;
  max-height: 62.4cqh;
  height: auto;
}

.page-prosper .project-gallery .prosper-logo-cycle__asset--mark {
  width: auto;
  height: min(62.4cqh, 298px);
  max-width: min(67.2%, 674px);
}

@keyframes prosper-logo-cycle-outline {
  0%,
  33% {
    opacity: 1;
    visibility: visible;
  }

  33.01%,
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes prosper-logo-cycle-color {
  0%,
  33% {
    opacity: 0;
    visibility: hidden;
  }

  33.01%,
  66% {
    opacity: 1;
    visibility: visible;
  }

  66.01%,
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes prosper-logo-cycle-wordmark {
  0%,
  66% {
    opacity: 0;
    visibility: hidden;
  }

  66.01%,
  99% {
    opacity: 1;
    visibility: visible;
  }

  99.01%,
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

.prosper-color-spec-section {
  display: flex;
  flex-direction: column;
  gap: var(--prosper-gap);
  width: 100%;
  background: var(--prosper-surface);
}

.prosper-color-spec-section__header {
  padding: clamp(16px, 2vw, 22px) clamp(18px, 2.8vw, 36px);
  background: var(--prosper-surface);
}

.prosper-color-spec-section__title {
  margin: 0;
  font-family: var(--prosper-font);
  font-size: clamp(10px, 0.82vw, 12px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.06em;
  color: var(--prosper-color-copy);
}

.prosper-color-spec-section__body {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2vw, 22px);
  padding: 0 clamp(18px, 2.8vw, 36px) clamp(18px, 2.4vw, 28px);
}

.prosper-color-spec-table {
  display: flex;
  flex-direction: column;
  gap: 0;
  font-family: var(--prosper-font);
  font-size: clamp(8px, 0.68vw, 10px);
  line-height: 1.35;
  color: var(--prosper-color-copy);
}

.prosper-color-spec-table__head,
.prosper-color-spec-table__row {
  display: grid;
  grid-template-columns: 1.4rem minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 0.7fr);
  gap: clamp(8px, 1vw, 14px);
  align-items: center;
  padding: clamp(6px, 0.7vw, 9px) 0;
}

.prosper-color-spec-table__head {
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid color-mix(in srgb, var(--prosper-color-copy) 18%, transparent);
}

.prosper-color-spec-table__row + .prosper-color-spec-table__row {
  border-top: 1px solid color-mix(in srgb, var(--prosper-color-copy) 10%, transparent);
}

.prosper-color-spec-table__swatch {
  display: block;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, #000000 10%, transparent);
}

.prosper-color-spec-table__row span:last-child {
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Branded merchandise — Halstead-style application grid */
.prosper-merch-grid {
  width: 100%;
  --prosper-merch-bg: #f2f2f2;
  background: #ffffff;
}

.prosper-merch-grid__layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: var(--prosper-gap);
  row-gap: 0;
  width: 100%;
  min-height: clamp(560px, 78vw, 900px);
  max-height: 900px;
  background: transparent;
}

.prosper-merch-panel {
  position: relative;
  overflow: hidden;
  min-height: 0;
  background: var(--prosper-merch-bg);
}

.prosper-merch-panel--tote {
  grid-row: 1 / -1;
  background: #ececec;
}

.prosper-merch-panel--book {
  background: var(--prosper-merch-bg);
}

.prosper-merch-panel--pens {
  background: var(--prosper-merch-bg);
}

.prosper-merch-tote {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  overflow: hidden;
}

.prosper-merch-tote__visual {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 112.125%;
  height: 112.125%;
  transform: translate(-50%, calc(-50% + 120px));
}

.prosper-merch-tote__photo-wrap {
  position: absolute;
  inset: 0;
  isolation: isolate;
  background: transparent;
}

.prosper-merch-tote__photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: contain;
  object-position: center center;
  mix-blend-mode: multiply;
}

.prosper-merch-tote__brand {
  position: absolute;
  top: 42%;
  left: 50%;
  width: 24%;
  transform: translate(-50%, -40px);
  pointer-events: none;
}

.prosper-merch-tote__logo {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.85;
}

.prosper-merch-book {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: clamp(240px, 34vw, 420px);
  padding: clamp(20px, 3.5vw, 40px);
  box-sizing: border-box;
}

.prosper-merch-book__photo-wrap {
  position: relative;
  width: min(134.5%, 598px);
  max-height: 100%;
  background: transparent;
  transform: translateY(-50px);
}

.prosper-merch-book__photo {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(72vh, 618px);
  object-fit: contain;
  background: transparent;
  mix-blend-mode: normal;
}

.prosper-merch-pens {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: clamp(240px, 34vw, 420px);
  padding: clamp(20px, 3.5vw, 40px);
  box-sizing: border-box;
}

.prosper-merch-pens__photo-wrap {
  position: relative;
  flex-shrink: 0;
  width: min(97%, 466px);
  background: transparent;
}

.prosper-merch-pens__photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
}

/* Override .project-gallery img { max-width: 100%; object-fit: cover } */
.page-prosper .project-gallery .prosper-merch-tote__photo,
.page-prosper .project-gallery .prosper-merch-book__photo,
.page-prosper .project-gallery .prosper-merch-pens__photo {
  max-width: none;
  object-fit: contain;
}

.page-prosper .project-gallery .prosper-merch-pens__photo {
  max-height: min(72vh, 466px);
}

.prosper-logo-chapter.cs-slide--scroll .cs-reveal,
.prosper-colors-chapter.cs-slide--scroll .cs-reveal,
.prosper-merch-grid.cs-slide--scroll .cs-reveal,
.prosper-color-spec-section.cs-slide--scroll .cs-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.65s ease,
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.prosper-logo-chapter.cs-slide--scroll .cs-reveal.is-visible,
.prosper-colors-chapter.cs-slide--scroll .cs-reveal.is-visible,
.prosper-merch-grid.cs-slide--scroll .cs-reveal.is-visible,
.prosper-color-spec-section.cs-slide--scroll .cs-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.prosper-color-spec-section__body .prosper-color-spec {
  background: transparent;
  padding: 0;
}

.prosper-color-spec {
  display: flex;
  flex-direction: column;
  gap: var(--prosper-gap);
  width: 100%;
  box-sizing: border-box;
}

.prosper-color-spec__heading {
  margin: 0;
  padding: 0 0 clamp(10px, 1.2vw, 14px);
  background: transparent;
  font-family: var(--prosper-font);
  font-size: clamp(10px, 0.82vw, 12px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.06em;
  color: var(--prosper-color-copy);
}

.prosper-color-spec__row {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.4vw, 16px);
  background: transparent;
  box-sizing: border-box;
  padding: 0;
}

.prosper-color-spec__row + .prosper-color-spec__row {
  padding-top: clamp(10px, 1.2vw, 14px);
  border-top: 1px solid color-mix(in srgb, var(--prosper-color-copy) 18%, transparent);
}

.prosper-color-spec__band {
  display: grid;
  grid-template-columns: minmax(0, 0.36fr) minmax(0, 0.64fr);
  grid-template-rows: minmax(clamp(72px, 9vw, 120px), 1fr);
  gap: 0;
}

.prosper-color-spec__tints {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 0;
}

.prosper-color-spec__tint {
  min-height: 0;
  background: var(--tint);
}

.prosper-color-spec__solid {
  grid-column: 2;
  grid-row: 1;
  min-height: 0;
}

.prosper-color-spec__solid--rubine {
  background: #ff0078;
}

.prosper-color-spec__solid--orange {
  background: #ed8031;
}

.prosper-color-spec__solid--black {
  background: #000000;
}

.prosper-color-spec__meta {
  display: grid;
  grid-template-columns: minmax(0, 0.36fr) minmax(0, 0.64fr);
  align-items: end;
  gap: clamp(12px, 2vw, 24px);
}

.prosper-color-spec__name {
  margin: 0;
  font-family: var(--prosper-font);
  font-size: clamp(10px, 0.82vw, 12px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: var(--prosper-color-copy);
  opacity: 0.6;
}

.prosper-color-secondary {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.8vw, 20px);
  width: 100%;
  padding-top: clamp(10px, 1.2vw, 14px);
  border-top: 1px solid color-mix(in srgb, var(--prosper-color-copy) 18%, transparent);
  box-sizing: border-box;
}

.prosper-color-secondary__intro {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.2vw, 14px);
  max-width: 42em;
}

.prosper-color-secondary__title {
  margin: 0;
  font-family: var(--prosper-font);
  font-size: clamp(10px, 0.82vw, 12px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.06em;
  color: var(--prosper-color-copy);
}

.prosper-color-secondary__body {
  margin: 0;
  font-family: var(--prosper-font);
  font-size: clamp(11px, 0.9vw, 14px);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0;
  color: var(--prosper-color-copy);
}

.prosper-color-secondary__grid {
  display: grid;
  grid-template-columns: repeat(var(--secondary-columns, 5), minmax(0, 1fr));
  gap: clamp(8px, 1vw, 12px) 0;
  width: 100%;
}

.prosper-color-secondary__item {
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 0.8vw, 10px);
  min-width: 0;
}

.prosper-color-secondary__swatch {
  display: block;
  width: 100%;
  min-height: clamp(48px, 9.5vw, 97px);
  background: var(--prosper-secondary);
}

.prosper-color-secondary__name {
  margin: 0;
  font-family: var(--prosper-font);
  font-size: clamp(9px, 0.72vw, 11px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-align: left;
  color: var(--prosper-color-copy);
  opacity: 0.6;
}

.prosper-colors-chapter.cs-slide--scroll .prosper-color-spec__row:nth-child(2).cs-reveal {
  transition-delay: 120ms;
}

.prosper-colors-chapter.cs-slide--scroll .prosper-color-spec__row:nth-child(3).cs-reveal {
  transition-delay: 240ms;
}

.prosper-colors-chapter.cs-slide--scroll .prosper-color-secondary.cs-reveal {
  transition-delay: 360ms;
}

/* Application chapters */
.prosper-chapter {
  display: flex;
  flex-direction: column;
  gap: var(--prosper-gap);
  width: 100%;
}

.prosper-chapter__label {
  margin: 0;
  padding: clamp(40px, 5vw, 56px) 0 clamp(10px, 1.2vw, 14px);
  font-family: var(--prosper-font);
  font-size: clamp(10px, 0.82vw, 12px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--prosper-color-copy);
}

.prosper-chapter:first-of-type .prosper-chapter__label {
  padding-top: clamp(28px, 4vw, 40px);
}

.prosper-chapter__gallery {
  display: flex;
  flex-direction: column;
  gap: var(--prosper-gap);
}

.prosper-chapter__gallery img {
  display: block;
  width: 100%;
  height: auto;
}

.prosper-chapter__gallery .prosper-kickoff__logo {
  width: 10%;
  height: auto;
}

/* Sales Kickoff — scrollable microsite in Chevron iPad frame */
.prosper-kickoff-ipad {
  --prosper-kickoff-surface: #f7f6f3;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: clamp(24px, 4vw, 48px) clamp(16px, 3vw, 32px);
  padding-bottom: calc(clamp(24px, 4vw, 48px) + 50px);
  background: var(--prosper-kickoff-surface);
  box-sizing: border-box;
}

.prosper-kickoff-ipad__stage {
  position: relative;
  width: min(1024px, 100%);
  max-width: 100%;
}

.prosper-kickoff-ipad .ch-ipad {
  width: 100%;
}

.prosper-kickoff-ipad .ch-ipad__frame {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  object-fit: contain !important;
}

.prosper-kickoff-ipad .ch-ipad__screen {
  isolation: isolate;
}

.prosper-kickoff-ipad__gesture {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.prosper-kickoff-ipad__gesture-dot {
  position: absolute;
  left: auto;
  right: 25px;
  top: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px) saturate(1.35);
  -webkit-backdrop-filter: blur(14px) saturate(1.35);
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -1px 0 rgba(255, 255, 255, 0.18);
  transform: translate(50%, -50%);
  will-change: top;
}

.prosper-kickoff-ipad.is-playing .prosper-kickoff-ipad__gesture-dot {
  opacity: 1;
}

.prosper-kickoff-ipad .prosper-kickoff {
  --prosper-kickoff-pink: #ff0078;
  --prosper-kickoff-teal: #2bb3b1;
  --prosper-kickoff-ink: rgba(0, 0, 0, 0.4);
  --prosper-kickoff-paper: #ffffff;
  --prosper-kickoff-surface: #f7f6f3;
  height: 100%;
  overflow-x: hidden;
  overflow-y: scroll;
  overscroll-behavior: none;
  scrollbar-width: none;
  pointer-events: none;
  background: var(--prosper-kickoff-surface);
  font-family: var(--prosper-font);
  font-size: 10px;
  line-height: 1.45;
  color: var(--prosper-kickoff-ink);
}

.prosper-kickoff-ipad .prosper-kickoff::-webkit-scrollbar {
  display: none;
}

.prosper-kickoff a,
.prosper-kickoff button {
  pointer-events: none;
  cursor: default;
}

.prosper-kickoff__nav {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: var(--prosper-kickoff-paper);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.prosper-kickoff__logo {
  display: block;
  margin: 0;
  width: 10%;
  height: auto;
  flex-shrink: 0;
}

.prosper-kickoff__nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.prosper-kickoff__nav-links--left {
  justify-content: flex-start;
}

.prosper-kickoff__nav-links--right {
  justify-content: flex-end;
}

.prosper-kickoff__nav-links a {
  font-size: 8.82px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--prosper-kickoff-ink);
}

.prosper-kickoff__hero {
  position: relative;
  min-height: 168px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.prosper-kickoff__hero-media {
  position: absolute;
  inset: 0;
  background-color: #d8d8d8;
  background-image:
    linear-gradient(rgba(255, 0, 120, 0.62), rgba(255, 0, 120, 0.62)),
    url("assets/case-studies/prosper/kickoff/hero.jpg?v=5");
  background-position: center top, center top;
  background-size: 100% 100%, 115% auto;
  background-repeat: no-repeat, no-repeat;
}

.prosper-kickoff__hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 28px 16px 22px;
  text-align: center;
}

.prosper-kickoff__hero-kicker {
  margin: 0;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
}

.prosper-kickoff__hero-title {
  margin: 0;
  font-size: 34px;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
}

.prosper-kickoff__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 7px 14px;
  background: var(--prosper-kickoff-teal);
  color: #ffffff;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.prosper-kickoff__quote {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-left: 150px;
  margin-right: 150px;
  padding: 22px 28px 18px;
  text-align: center;
}

.prosper-kickoff__quote-core {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
}

.prosper-kickoff__quote-mark {
  display: flex;
  justify-content: center;
  flex-shrink: 0;
  width: 100%;
  font-size: 88px;
  line-height: 1;
  color: rgba(0, 0, 0, 0.5);
}

.prosper-kickoff__quote-mark--open {
  height: 0.48em;
  align-items: flex-end;
  margin-top: 90px;
}

.prosper-kickoff__quote-mark--close {
  height: 0.48em;
  align-items: flex-start;
  margin-bottom: 30px;
}

.prosper-kickoff__quote-body {
  margin: -30px 0 0;
  font-size: 19px;
  line-height: 1.55;
  text-align: center;
  color: var(--prosper-kickoff-ink);
}

.prosper-kickoff__quote-body strong {
  color: rgba(0, 0, 0, 0.5);
  font-weight: 700;
}

.prosper-kickoff__section-title {
  margin: 0 0 12px;
  padding: 0 14px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--prosper-kickoff-ink);
}

.prosper-kickoff__speakers {
  margin-left: 60px;
  margin-right: 60px;
  padding: 18px 0 8px;
}

.prosper-kickoff__speakers .prosper-kickoff__section-title {
  padding-left: 0;
  padding-right: 0;
}

.prosper-kickoff__speaker-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 10px;
  padding: 0 0 10px;
}

.prosper-kickoff__speaker img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  background: #fff;
}

.prosper-kickoff__speaker-name {
  margin: 8px 0 2px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.7);
}

.prosper-kickoff__speaker-role {
  margin: 0 0 4px;
  font-size: 8px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.55);
}

.prosper-kickoff__speaker-bio {
  margin: 0;
  font-size: 7.5px;
  line-height: 1.45;
}

.prosper-kickoff__agenda {
  margin-left: 60px;
  margin-right: 60px;
  padding: 10px 0 16px;
}

.prosper-kickoff__agenda .prosper-kickoff__section-title {
  padding-left: 0;
  padding-right: 0;
}

.prosper-kickoff__agenda-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
}

.prosper-kickoff__agenda-day {
  background: var(--prosper-kickoff-paper);
  padding: 10px;
  box-sizing: border-box;
}

.prosper-kickoff__agenda-day-title {
  margin: 0 0 8px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.55);
}

.prosper-kickoff__agenda-block-title {
  margin: 0 0 4px;
  padding: 4px 6px;
  background: #E6E7E3;
  color: rgba(0, 0, 0, 0.7);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prosper-kickoff__agenda-list {
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}

.prosper-kickoff__agenda-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 6px;
  padding: 4px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 7px;
  line-height: 1.35;
}

.prosper-kickoff__agenda-list li span:first-child {
  font-weight: 600;
  color: rgba(0, 0, 0, 0.55);
}

.prosper-kickoff__travel {
  margin-left: 60px;
  margin-right: 60px;
  padding: 8px 0 16px;
}

.prosper-kickoff__travel .prosper-kickoff__section-title {
  padding-left: 0;
  padding-right: 0;
}

.prosper-kickoff__travel-photo {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

.prosper-kickoff__travel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
  padding: 0;
}

.prosper-kickoff__travel-label {
  margin: 0 0 4px;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.7);
}

.prosper-kickoff__travel-copy {
  margin: 0;
  font-size: 7.5px;
  line-height: 1.45;
}

.prosper-kickoff__contact {
  margin-left: 60px;
  margin-right: 60px;
  padding: 8px 0 16px;
}

.prosper-kickoff__contact .prosper-kickoff__section-title {
  padding-left: 0;
  padding-right: 0;
}

.prosper-kickoff__contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
}

.prosper-kickoff__contact-name {
  margin: 0 0 4px;
  font-size: 8px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.55);
}

.prosper-kickoff__contact-detail {
  margin: 0;
  font-size: 7.5px;
  line-height: 1.4;
}

.prosper-kickoff__footer {
  padding: 10px 14px 14px;
  background: #E6E7E3;
}

.prosper-kickoff__footer p {
  margin: 0;
  font-size: 6.5px;
  line-height: 1.45;
  text-align: center;
  color: var(--prosper-kickoff-ink);
}

/* Brand voice typography panels */
.prosper-type-panel {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  aspect-ratio: 1856 / 948;
  background: #f8f8f7;
  box-sizing: border-box;
  padding-left: 11.2%;
  padding-right: 8%;
}

.prosper-type-panel__copy {
  margin: 0;
  text-align: left;
  max-width: 100%;
  min-width: 0;
}

.page-case-study .prosper-type-panel__line {
  margin: 0;
  font-family: var(--prosper-font);
  color: var(--prosper-color-copy);
  font-size: clamp(39px, 5.6vw, 104px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 100%;
  overflow-wrap: break-word;
}

.prosper-who-you-are .prosper-type-panel__line--light,
.prosper-what-you-say .prosper-type-panel__line--light {
  color: var(--prosper-color-copy);
}

.prosper-who-you-are .prosper-type-panel__line--bold,
.prosper-what-you-say .prosper-type-panel__line--bold {
  color: #3f3f3f;
}

.prosper-type-panel__line--light {
  font-weight: 300;
}

.prosper-type-panel__line--bold {
  font-weight: 700;
  margin-top: clamp(13px, 2.44vw, 46px);
}

/* Brand voice pillars */
.prosper-voice-section {
  width: 100%;
  container-type: inline-size;
  --voice-spread-duration: 0.85s;
  --voice-spread-stagger: 80ms;
  --voice-spread-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.prosper-voice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr) auto;
  column-gap: var(--prosper-gap);
  row-gap: 0;
  width: 100%;
  height: calc(100cqw * var(--prosper-voice-card-height) / var(--prosper-voice-card-width));
  min-height: 0;
}

.prosper-voice-col {
  display: grid;
  grid-row: span 2;
  grid-template-rows: subgrid;
  min-height: 0;
  overflow: visible;
  background: var(--prosper-space-grey);
  box-sizing: border-box;
  padding: 0 clamp(16px, 2.2vw, 28px) clamp(24px, 3.6vw, 44px);
  opacity: 0;
  transform: translateX(calc((3 - 2 * var(--voice-spread-index, 0)) * 12.5cqi));
  transition:
    opacity var(--voice-spread-duration) var(--voice-spread-ease),
    transform var(--voice-spread-duration) var(--voice-spread-ease);
  transition-delay: calc(var(--voice-spread-index, 0) * var(--voice-spread-stagger));
  will-change: transform, opacity;
}

.prosper-voice-grid.cs-reveal.is-visible .prosper-voice-col {
  opacity: 1;
  transform: translateX(0);
}

.prosper-voice-col__copy {
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--prosper-voice-title-gap);
  align-self: start;
  transform: translateY(calc(-1 * var(--prosper-voice-copy-lift)));
}

.prosper-voice-col__title {
  flex-shrink: 0;
}

.prosper-voice-col__body {
  flex-shrink: 0;
  min-height: 0;
  overflow: hidden;
}

/* Reset h3 bold — weight lives on the prefix/word spans */
.page-case-study h3.prosper-voice-col__title {
  margin: calc(var(--prosper-voice-title-gap-prev) - var(--prosper-voice-title-gap)) 0 0;
  font-family: var(--prosper-font);
  font-weight: normal;
  color: #3f3f3f;
}

.prosper-voice-col__prefix,
.prosper-voice-col__word {
  display: block;
}

.page-case-study .prosper-voice-col__prefix {
  font-family: var(--prosper-font);
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #3f3f3f;
}

.page-case-study .prosper-voice-col__word {
  font-family: var(--prosper-font);
  font-size: clamp(34px, 3.6vw, 56px);
  font-weight: 200;
  font-synthesis: none;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #3f3f3f;
}

.page-case-study .prosper-voice-col__body {
  margin: 0;
  max-width: 22em;
  font-family: var(--prosper-font);
  font-size: clamp(12px, 0.95vw, 15px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  color: var(--prosper-color-copy);
}

/* Scroll reveals — type + voice */
.prosper-type-section {
  width: 100%;
}

.prosper-type-section.cs-slide--scroll .cs-reveal,
.prosper-voice-section.cs-slide--scroll .cs-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.65s ease,
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.prosper-type-section.cs-slide--scroll .cs-reveal.is-visible,
.prosper-voice-section.cs-slide--scroll .cs-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.prosper-voice-section.cs-slide--scroll .prosper-voice-grid.cs-reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.prosper-type-section.cs-slide--scroll .prosper-type-spec__rule.cs-reveal {
  opacity: 1;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.prosper-type-section.cs-slide--scroll .prosper-type-spec__rule.cs-reveal.is-visible {
  transform: scaleX(1);
}

/* Helvetica Neue specimen sheet */
.prosper-type-spec {
  --prosper-spec-font: var(--prosper-font);
  --prosper-spec-ink: #1a1a1a;
  --prosper-spec-rule: rgba(0, 0, 0, 0.14);
  --prosper-spec-ui: #2c2c2c;
  width: 100%;
  background: var(--prosper-spec-paper);
  color: var(--prosper-spec-ink);
  font-family: var(--prosper-spec-font);
  box-sizing: border-box;
  padding: clamp(28px, 4.2vw, 52px) clamp(24px, 5.8vw, 72px) clamp(32px, 4.8vw, 60px);
}

.prosper-type-spec__rule {
  height: 1px;
  background: var(--prosper-spec-rule);
}

.prosper-type-spec__rule--inset {
  width: 42%;
  margin: clamp(18px, 2.4vw, 28px) 0;
}

.page-case-study .prosper-type-spec__kicker {
  margin: clamp(14px, 1.8vw, 20px) 0;
  text-align: center;
  font-family: var(--prosper-spec-font);
  font-size: clamp(10px, 0.78vw, 12px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--prosper-spec-ink);
}

.prosper-type-spec__hero-block {
  padding: clamp(22px, 3vw, 36px) 0 clamp(8px, 1.2vw, 14px);
}

.prosper-type-spec__hero-row {
  padding: clamp(10px, 1.4vw, 16px) 0;
}

.page-case-study .prosper-type-spec__label {
  margin: 0 0 clamp(10px, 1.2vw, 14px);
  font-family: var(--prosper-spec-font);
  font-size: clamp(9px, 0.72vw, 11px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.06em;
  color: var(--prosper-spec-ink);
}

.page-case-study .prosper-type-spec__display {
  margin: 0;
  font-family: var(--prosper-spec-font);
  font-size: clamp(50.4px, 8.64vw, 110.4px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--prosper-spec-ink);
}

.prosper-type-spec__display--letters {
  display: block;
  perspective: 1200px;
}

.prosper-type-spec__letter {
  display: inline-block;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transform: rotateY(0deg);
}

.prosper-type-spec__hero-row.cs-reveal.is-visible .prosper-type-spec__letter {
  animation: prosper-type-letter-flip 0.62s cubic-bezier(0.33, 1, 0.45, 1) forwards;
  animation-delay: calc(var(--letter-index) * 88ms);
}

@keyframes prosper-type-letter-flip {
  from {
    transform: rotateY(0deg);
  }

  to {
    transform: rotateY(360deg);
  }
}

.prosper-type-spec__display--upper {
  text-transform: uppercase;
}

.prosper-type-spec__display--lower {
  text-transform: lowercase;
  font-weight: 700;
}

.page-case-study .prosper-type-spec__alpha {
  margin: clamp(18px, 2.4vw, 28px) 0;
  font-family: var(--prosper-spec-font);
  font-size: clamp(12px, 1.05vw, 16px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.14em;
  color: var(--prosper-spec-ink);
}

.prosper-type-spec__weights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: clamp(18px, 2.4vw, 28px) 0;
}

.prosper-type-spec__weights-col {
  padding: 0 clamp(16px, 2.4vw, 32px);
}

.prosper-type-spec__weights-col:first-child {
  padding-left: 0;
  border-right: 1px solid var(--prosper-spec-rule);
}

.prosper-type-spec__weights-col:last-child {
  padding-right: 0;
}

.prosper-type-spec__weight-row {
  padding: clamp(14px, 1.8vw, 22px) 0;
}

.prosper-type-spec__weight-row + .prosper-type-spec__weight-row {
  border-top: 1px solid var(--prosper-spec-rule);
}

.page-case-study .prosper-type-spec__weight-display {
  margin: 0;
  font-family: var(--prosper-spec-font);
  font-size: clamp(22px, 3.2vw, 42px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--prosper-spec-ink);
}

.prosper-type-spec__weight-display--bold-upper,
.prosper-type-spec__weight-display--bold-lower {
  font-weight: 700;
}

.prosper-type-spec__weight-display--light-upper,
.prosper-type-spec__weight-display--light-lower {
  font-weight: 300;
}

.prosper-type-spec__weight-display--oblique-upper,
.prosper-type-spec__weight-display--oblique-lower {
  font-style: oblique;
  font-weight: 400;
}

.prosper-type-spec__weight-display--bold-upper,
.prosper-type-spec__weight-display--light-upper,
.prosper-type-spec__weight-display--oblique-upper {
  text-transform: uppercase;
}

.prosper-type-spec__weight-display--bold-lower,
.prosper-type-spec__weight-display--light-lower,
.prosper-type-spec__weight-display--oblique-lower {
  text-transform: lowercase;
}

.page-case-study .prosper-type-spec__body {
  margin: clamp(18px, 2.4vw, 28px) 0;
  font-family: var(--prosper-spec-font);
  font-size: clamp(10px, 0.82vw, 13px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  text-align: justify;
  color: var(--prosper-spec-ink);
}

.prosper-type-spec__ui {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3.6vw, 44px);
  margin-top: clamp(18px, 2.4vw, 28px);
}

.prosper-type-spec__ui-col {
  min-width: 0;
}

.page-case-study .prosper-type-spec__symbols {
  margin: 0 0 clamp(10px, 1.2vw, 14px);
  font-family: var(--prosper-spec-font);
  font-size: clamp(22px, 1.9vw, 28px);
  line-height: 1.45;
  letter-spacing: 0.04em;
  color: var(--prosper-spec-ink);
}

.prosper-type-spec__symbols--bold {
  font-weight: 700;
}

.prosper-type-spec__symbols--light {
  font-weight: 300;
}

.prosper-type-spec__symbols--oblique {
  font-style: oblique;
  font-weight: 400;
}

.prosper-type-spec__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(10px, 1.2vw, 14px);
  margin-top: clamp(16px, 2vw, 24px);
}

.prosper-type-spec__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(108px, 12vw, 140px);
  padding: clamp(8px, 0.9vw, 11px) clamp(14px, 1.6vw, 20px);
  border-radius: 0;
  font-family: var(--prosper-spec-font);
  font-size: clamp(10px, 0.78vw, 12px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
}

.prosper-type-spec__btn--solid {
  background: var(--prosper-spec-ui);
  color: #fff;
}

.prosper-type-spec__btn--outline {
  border: 1px solid var(--prosper-spec-ui);
  color: var(--prosper-spec-ink);
  background: transparent;
}

.page-case-study .prosper-type-spec__pill {
  display: inline-block;
  margin: 0 0 clamp(16px, 2vw, 22px);
  padding: clamp(9px, 1vw, 12px) clamp(16px, 2vw, 24px);
  border-radius: 0;
  background: var(--prosper-spec-ui);
  color: #fff;
  font-family: var(--prosper-spec-font);
  font-size: clamp(10px, 0.78vw, 12px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.prosper-type-spec__traits {
  margin: 0;
  padding: 0;
  list-style: none;
}

.prosper-type-spec__traits li {
  position: relative;
  padding-left: 1.1em;
  font-family: var(--prosper-spec-font);
  font-size: clamp(10px, 0.82vw, 13px);
  font-weight: 400;
  line-height: 1.55;
  color: var(--prosper-spec-ink);
}

.prosper-type-spec__traits li::before {
  content: "•";
  position: absolute;
  left: 0;
}

.prosper-type-spec__traits li + li {
  margin-top: 0.35em;
}

@media (max-width: 991px) {
  .prosper-voice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    height: auto;
    gap: var(--prosper-gap);
  }

  .prosper-voice-section {
    overflow: visible;
  }

  .prosper-voice-col {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    grid-row: auto;
    grid-template-rows: none;
    height: auto;
    min-height: clamp(180px, 36vw, 240px);
    padding: clamp(24px, 4vw, 36px) clamp(20px, 3vw, 28px);
    transform: translateY(16px);
  }

  .prosper-voice-grid.cs-reveal.is-visible .prosper-voice-col {
    transform: translate(0, 0);
  }

  .prosper-voice-col__copy {
    display: flex;
    flex-direction: column;
    transform: none;
    gap: clamp(20px, 4vw, 32px);
  }

  .prosper-voice-col__title {
    grid-row: auto;
    transform: none;
  }

  .prosper-voice-col__body {
    grid-row: auto;
    transform: none;
  }

  .page-case-study h3.prosper-voice-col__title {
    margin: 0;
    min-height: 0;
  }

  .prosper-type-panel {
    aspect-ratio: auto;
    height: auto;
    min-height: 0;
    padding: clamp(40px, 8vw, 56px) clamp(24px, 5vw, 40px);
  }

  .page-case-study .prosper-type-panel__line {
    font-size: clamp(28px, 6.5vw, 44px);
    line-height: 1.15;
    text-wrap: balance;
  }

  .prosper-type-panel__line--bold {
    margin-top: clamp(10px, 2vw, 24px);
  }

  .prosper-what-you-say.prosper-scroll-reveal,
  .prosper-who-you-are.prosper-scroll-reveal {
    overflow: visible;
  }

  .prosper-logo-cycle {
    width: calc(100% + 2 * var(--page-inset));
    margin-inline: calc(-1 * var(--page-inset));
  }

  .prosper-logo-cycle__stage {
    aspect-ratio: auto;
    height: auto;
    padding: calc(clamp(20px, 3vw, 28px) + 50px) var(--page-inset);
  }

  .page-prosper .project-gallery .prosper-logo-cycle__asset--mark {
    height: min(156px, 36vw);
    width: auto;
    max-width: min(140px, 26vw);
  }

  .page-prosper .project-gallery .prosper-logo-cycle__asset--wordmark {
    width: min(140px, 26vw);
    max-width: 100%;
    max-height: min(87px, 20vw);
    height: auto;
  }
}

@media (max-width: 767px) {
  .page-prosper {
    --prosper-gallery-gutter: var(--page-inset);
  }

  .page-prosper .project-next {
    margin-left: var(--page-inset);
    margin-right: var(--page-inset);
    padding-top: 56px;
  }

  .prosper-type-spec {
    padding-left: 20px;
    padding-right: 20px;
  }

  .prosper-type-spec__weights,
  .prosper-type-spec__ui {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .prosper-type-spec__weights-col:first-child {
    border-right: none;
    border-bottom: 1px solid var(--prosper-spec-rule);
    padding-bottom: clamp(14px, 3vw, 22px);
    margin-bottom: clamp(14px, 3vw, 22px);
  }

  .prosper-type-spec__weights-col {
    padding-left: 0;
    padding-right: 0;
  }

  .prosper-type-spec__ui-col + .prosper-type-spec__ui-col {
    margin-top: clamp(24px, 5vw, 32px);
    padding-top: clamp(24px, 5vw, 32px);
    border-top: 1px solid var(--prosper-spec-rule);
  }

  .page-case-study .prosper-type-spec__display {
    font-size: clamp(40.8px, 13.2vw, 62.4px);
  }

  .page-case-study .prosper-type-spec__alpha {
    letter-spacing: 0.08em;
  }

  .prosper-voice-grid {
    grid-template-columns: 1fr;
    gap: var(--prosper-gap);
  }

  .prosper-voice-section {
    padding-inline: max(12px, var(--page-inset));
    box-sizing: border-box;
  }

  .prosper-voice-col {
    min-height: 0;
    height: auto;
    padding: clamp(28px, 7vw, 40px) clamp(20px, 5vw, 28px);
    transform: translateY(12px);
  }

  .prosper-voice-grid.cs-reveal.is-visible .prosper-voice-col {
    transform: translateY(0);
  }

  .prosper-voice-col__copy {
    gap: clamp(16px, 4vw, 24px);
    transform: none;
  }

  .page-case-study .prosper-voice-col__word {
    font-size: clamp(28px, 8vw, 40px);
  }

  .page-case-study .prosper-voice-col__body {
    max-width: none;
    font-size: clamp(14px, 3.8vw, 16px);
    line-height: 1.6;
  }

  .prosper-logo-cycle__stage {
    padding: 66px var(--page-inset) 74px;
  }

  .page-prosper .project-gallery .prosper-logo-cycle__asset--mark {
    height: min(112px, 32vw);
    max-width: min(100px, 27vw);
  }

  .page-prosper .project-gallery .prosper-logo-cycle__asset--wordmark {
    width: min(100px, 27vw);
    max-height: min(62px, 17vw);
  }

  .prosper-color-spec-table__head {
    display: none;
  }

  .prosper-color-spec-table__row {
    grid-template-columns: 1.1rem minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 0.2rem 0.65rem;
    padding: clamp(10px, 2vw, 14px) 0;
  }

  .prosper-color-spec-table__row span:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
    font-weight: 600;
  }

  .prosper-color-spec-table__row span:nth-child(3),
  .prosper-color-spec-table__row span:nth-child(4),
  .prosper-color-spec-table__row span:nth-child(5) {
    grid-column: 2;
    font-size: clamp(7px, 2vw, 9px);
  }

  .prosper-color-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .prosper-color-intro {
    min-height: clamp(220px, 52vw, 300px);
  }

  .prosper-color-feature {
    min-height: clamp(180px, 42vw, 260px);
  }

  .prosper-color-stack {
    grid-template-rows: none;
    grid-template-columns: 1fr;
  }

  .prosper-color-stack > .prosper-color-swatch {
    min-height: clamp(140px, 34vw, 200px);
  }

  .prosper-color-pair .prosper-color-swatch {
    min-height: clamp(120px, 30vw, 180px);
  }

  .prosper-merch-grid__layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: 0;
    max-height: none;
    gap: var(--prosper-gap);
  }

  .prosper-merch-panel {
    overflow: visible;
    height: auto;
  }

  .prosper-merch-panel--tote,
  .prosper-merch-panel--book,
  .prosper-merch-panel--pens {
    grid-row: auto;
    min-height: 0;
  }

  .prosper-merch-tote {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    min-height: 0;
    overflow: visible;
    padding: clamp(24px, 6vw, 40px);
    box-sizing: border-box;
  }

  .prosper-merch-tote__visual {
    position: relative;
    top: auto;
    left: auto;
    width: min(100%, 420px);
    height: auto;
    transform: none;
  }

  .prosper-merch-tote__photo-wrap {
    position: relative;
    inset: auto;
  }

  .prosper-merch-tote__photo {
    width: 100%;
    height: auto;
    min-height: 0;
  }

  .prosper-merch-book,
  .prosper-merch-pens {
    min-height: 0;
    height: auto;
    padding: clamp(24px, 6vw, 40px);
  }

  .prosper-merch-book__photo-wrap {
    width: min(100%, 480px);
    max-height: none;
    transform: none;
  }

  .prosper-merch-book__photo,
  .page-prosper .project-gallery .prosper-merch-book__photo,
  .page-prosper .project-gallery .prosper-merch-pens__photo {
    max-height: none;
  }

  .prosper-merch-pens__photo-wrap {
    width: min(100%, 420px);
  }
}

@media (max-width: 767px) {
  .prosper-type-panel {
    aspect-ratio: auto;
    min-height: 0;
    height: auto;
    padding: clamp(32px, 8vw, 48px) clamp(20px, 5vw, 28px);
    box-sizing: border-box;
  }

  .page-case-study .prosper-type-panel__line {
    font-size: clamp(24px, 6.8vw, 34px);
    line-height: 1.18;
  }

  .prosper-type-panel__line--bold {
    margin-top: clamp(8px, 2.5vw, 16px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .prosper-logo-cycle__cell {
    animation: none;
    opacity: 0;
    visibility: hidden;
  }

  .prosper-logo-cycle__cell--wordmark {
    opacity: 1;
    visibility: visible;
  }

  .prosper-scroll-reveal__frame {
    clip-path: none;
    transition: none;
  }

  .prosper-type-section.cs-slide--scroll .cs-reveal,
  .prosper-type-section.cs-slide--scroll .prosper-type-spec__rule.cs-reveal,
  .prosper-voice-section.cs-slide--scroll .cs-reveal,
  .prosper-logo-chapter.cs-slide--scroll .cs-reveal,
  .prosper-colors-chapter.cs-slide--scroll .cs-reveal,
  .prosper-merch-grid.cs-slide--scroll .cs-reveal,
  .prosper-color-spec-section.cs-slide--scroll .cs-reveal,
  .prosper-voice-col,
  .prosper-type-spec__letter {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }

  .prosper-voice-grid.cs-reveal.is-visible .prosper-voice-col {
    opacity: 1;
    transform: none;
  }

  .prosper-voice-col__copy {
    transform: none;
  }
}
