/* Company projects, floating workflow examples and collaborator wordmarks. */
.collaborators {
  padding-block: 28px 36px;
  background: var(--bg);
}
.collaborators-inner {
  width: 100%;
}
.logo-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-header > p {
  font-size: 14px;
  text-align: center;
  color: #b5b3ce;
}
.logo-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.logo-marquee {
  width: 100%;
  margin: 20px auto 0;
  padding-block: 8px;
}
.logo-group[aria-hidden="true"] {
  display: none;
}
.collaborators[data-logo-ready="true"] .logo-marquee {
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.08) 10%,
    rgba(0, 0, 0, 0.42) 23%,
    #000 34%,
    #000 66%,
    rgba(0, 0, 0, 0.42) 77%,
    rgba(0, 0, 0, 0.08) 90%,
    transparent 100%
  );
}
.collaborators[data-logo-ready="true"] .logo-track {
  display: flex;
  width: max-content;
  animation: logos-scroll 54s linear infinite;
  animation-play-state: paused;
}
.collaborators[data-logo-ready="true"] .logo-group {
  display: flex;
  flex: none;
  min-width: 100vw;
  justify-content: space-around;
  gap: 64px;
  padding-right: 64px;
}
.collaborators[data-logo-ready="true"] .logo-group li {
  flex: 0 0 190px;
  width: 190px;
}
.collaborators[data-logo-in-view="true"]:not([data-logo-page-hidden="true"]) .logo-track {
  animation-play-state: running;
}
@keyframes logos-scroll {
  to {
    transform: translateX(-50%);
  }
}
.collaborators li {
  display: flex;
  justify-content: center;
  min-width: 0;
}
.client-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 48px;
  cursor: default;
}
.client-rightsized {
  font-family: Arial, sans-serif;
  font-size: clamp(19px, 1.8vw, 25px);
  font-weight: 700;
  white-space: nowrap;
}
.client-rightsized > span:first-child {
  color: #33ccff;
}
.client-rightsized > span:last-child {
  color: #00ffaa;
}
.client-millenium img {
  width: 148px;
  height: auto;
}
.client-rightsize-marketing img {
  width: 148px;
  height: auto;
}
.client-catzo img {
  width: 174px;
  height: auto;
}
.client-scalability img {
  width: 175px;
  height: auto;
}
.client-unified {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}
.client-unified img {
  width: 29px;
  height: 29px;
  border-radius: 5px;
}
.client-dot {
  color: #c4a468;
}

.workflow-label-short,
.workflow-pagination {
  display: none;
}
.workflow-page,
.workflow-page-list {
  display: contents;
  list-style: none;
}
.projects-section {
  position: relative;
  isolation: isolate;
  padding-block: clamp(32px, 5vh, 52px);
}
.projects-background {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent, black 20%, black 80%, transparent);
}
.projects-section .section-intro {
  align-items: center;
  gap: 24px;
  margin-bottom: 18px;
}
.projects-section .section-intro h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
  margin-bottom: 0;
}
.projects-section .section-intro > p {
  line-height: 1.6;
  margin-top: 0;
}
.projects-section .interactive-dots {
  opacity: 0.32;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.5), black);
}
.projects-wave {
  --warm-duration: 24s;
  --cool-duration: 30s;
  --warm-phase: -8s;
  --cool-phase: -17s;
  opacity: 0.42;
  inset: -20% -10%;
}
.projects-section[data-background-motion="running"] .projects-wave img {
  animation-play-state: running;
}
.section-kicker {
  font-size: 14px;
  color: #d0b9d6;
  font-weight: 600;
  margin-bottom: 18px;
}
@media (max-width: 1050px) {
  .logo-group {
    gap: 20px;
  }
  .client-rightsized {
    font-size: 19px;
  }
  .client-millenium img {
    width: 123px;
  }
  .client-scalability img {
    width: 140px;
  }
  .client-unified {
    font-size: 14px;
    gap: 6px;
    white-space: normal;
    line-height: 1.3;
  }
  .client-unified img {
    width: 25px;
    height: 25px;
  }

}
@media (max-width: 760px) {
  .hero-grid {
    min-height: 100svh;
    padding-block: 125px 65px;
  }
  .hero h1 {
    line-height: 1.14;
  }
  .collaborators {
    padding-block: 24px 32px;
  }
  .logo-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 24px;
  }
  .collaborators[data-logo-ready="true"] .logo-group {
    gap: 40px;
    padding-right: 40px;
  }
  .collaborators[data-logo-ready="true"] .logo-group li {
    flex-basis: 160px;
    width: 160px;
  }
  .client-rightsize-marketing img {
    width: 120px;
  }
  .client-catzo img {
    width: 124px;
  }
  .client-scalability img {
    width: 135px;
  }
  .client-rightsized {
    font-size: 18px;
    gap: 5px;
  }
  .client-millenium img {
    width: 120px;
  }
  .client-unified {
    font-size: 13px;
  }
  .client-unified img {
    width: 24px;
    height: 24px;
  }

}
@media (max-height: 600px) and (min-width: 761px) {
  .hero-grid {
    padding-block: 110px 45px;
  }
  .hero h1 {
    font-size: clamp(45px, 5vw, 65px);
    margin-bottom: 18px;
  }
  .hero-description {
    font-size: 16px;
    line-height: 1.7;
  }
  .hero-actions {
    margin-top: 23px;
  }
}
/* Keep the Flow action pair comfortably separated. */
.hero-actions {
  gap: 24px;
}
.workflow-stage {
  max-width: 1180px;
  margin-inline: auto;
}
.workflow-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 46px 42px;
  list-style: none;
  padding: 28px 22px 30px;
  margin: 0;
  --flow-travel: 20px;
  --wave-height: 17px;
}
.workflow-item {
  position: relative;
  max-width: 100%;
  animation: workflow-flow var(--flow-duration, 12s) ease-in-out infinite
    var(--flow-direction, alternate);
  animation-delay: var(--flow-delay, 0s);
  animation-play-state: var(--workflow-play-state, paused);
}
.workflow-item:nth-child(6n + 1) { --bubble-tilt: -1.7deg; }
.workflow-item:nth-child(6n + 2) { --bubble-tilt: 1.2deg; }
.workflow-item:nth-child(6n + 3) { --bubble-tilt: -0.8deg; }
.workflow-item:nth-child(6n + 4) { --bubble-tilt: 1.6deg; }
.workflow-item:nth-child(6n + 5) { --bubble-tilt: -1.1deg; }
.workflow-item:nth-child(6n + 6) { --bubble-tilt: 0.7deg; }
.workflow-drift {
  display: block;
  rotate: var(--bubble-tilt, 0deg);
  animation: workflow-wave 4.8s ease-in-out infinite alternate;
  animation-delay: var(--wave-delay, 0s);
  animation-play-state: var(--workflow-play-state, paused);
}
.workflow-item[data-held="true"] {
  z-index: 2;
}
.workflow-item[data-held="true"],
.workflow-drift[data-held="true"] {
  animation-play-state: paused;
}
.workflow-drift[data-held="true"] {
  /* Flatten before card measurement so expanded descriptions remain level. */
  rotate: 0deg;
}
.workflow-stage[data-in-view="true"]:not([data-page-hidden="true"]) {
  --workflow-play-state: running;
}
.workflow-bubble {
  --bubble-accent: #c1c5ff;
  --bubble-tint: #2b2852;
  --bubble-surface: #17162f;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 9px 14px 9px 10px;
  min-height: 48px;
  max-width: 100%;
  background: linear-gradient(135deg, var(--bubble-tint), var(--bubble-surface) 75%);
  border: 1px solid color-mix(in srgb, var(--bubble-accent) 36%, transparent);
  border-radius: 16px 30px 16px 30px;
  color: #eeebfa;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 600;
  box-shadow: 0 7px 20px #05041333, inset 0 1px 0 #ffffff0a;
  text-align: left;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}
.workflow-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  border: 1px solid color-mix(in srgb, var(--bubble-accent) 25%, transparent);
  border-radius: 8px 14px 8px 14px;
  background: var(--bubble-tint);
  color: var(--bubble-accent);
}
.workflow-icon .icon {
  width: 16px;
  height: 16px;
}
.workflow-title,
.workflow-detail-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.workflow-bubble[data-active="true"] > .workflow-title {
  visibility: hidden;
}
.workflow-tone-1 .workflow-bubble {
  --bubble-accent: #f7bad8;
  --bubble-tint: #42253e;
  --bubble-surface: #241629;
}
.workflow-tone-2 .workflow-bubble {
  --bubble-accent: #acd5ff;
  --bubble-tint: #223d56;
  --bubble-surface: #142336;
}
.workflow-tone-3 .workflow-bubble {
  --bubble-accent: #ffd0ad;
  --bubble-tint: #493037;
  --bubble-surface: #2b1e2b;
}
.workflow-bubble:hover,
.workflow-bubble:focus-visible,
.workflow-bubble[data-active="true"] {
  border-color: var(--bubble-accent);
  box-shadow: 0 10px 26px #05041355, inset 0 1px 0 #ffffff14;
}
.workflow-detail {
  position: absolute;
  z-index: 3;
  display: block;
  box-sizing: border-box;
  width: min(320px, calc(100vw - 32px));
  max-height: calc(100svh - 110px);
  overflow-y: auto;
  padding: 20px;
  border: 1px solid var(--bubble-accent);
  border-radius: 20px 32px 20px 32px;
  background: radial-gradient(ellipse at top left, var(--bubble-tint), var(--bubble-surface) 75%);
  box-shadow: 0 20px 48px #03020f80, inset 0 1px 0 #ffffff10;
  text-align: left;
}
.workflow-detail-title {
  color: #fff;
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
}
.workflow-detail-title .workflow-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px 16px 9px 16px;
}
.workflow-description {
  display: block;
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid color-mix(in srgb, var(--bubble-accent) 22%, transparent);
  color: #e0d8ec;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
}
.workflow-fallback {
  display: grid;
  gap: 20px;
}
.workflow-fallback dt {
  font-weight: 700;
}
.workflow-fallback dd {
  margin: 6px 0 0;
  color: #c8c3db;
}
@keyframes workflow-flow {
  from {
    transform: translate3d(calc(-1 * var(--flow-travel)), 0, 0);
  }
  to {
    transform: translate3d(var(--flow-travel), 0, 0);
  }
}
@keyframes workflow-wave {
  from {
    transform: translate3d(0, calc(-1 * var(--wave-height)), 0);
  }
  to {
    transform: translate3d(0, var(--wave-height), 0);
  }
}
@media (min-width: 1100px) and (max-height: 700px) {
  .projects-section {
    padding-block: 24px;
  }
  .projects-section .section-intro {
    margin-bottom: 14px;
  }
  .projects-section .section-intro h2 {
    font-size: 36px;
  }
  .workflow-cloud {
    --flow-travel: 16px;
    --wave-height: 12px;
    gap: 36px 40px;
    padding: 24px 18px;
  }
}
@media (max-width: 760px) {
  .hero-actions {
    gap: 18px;
  }
  .workflow-cloud {
    --flow-travel: 9px;
    --wave-height: 10px;
    gap: 28px 26px;
    padding: 20px 12px 22px;
  }
  .projects-section .section-intro > p {
    margin-top: 12px;
  }
}
@media (max-width: 900px) {
  .projects-section {
    padding-block: 32px;
  }

  .projects-section .section-intro {
    margin-bottom: 16px;
  }
  .projects-section .section-intro > p,
.workflow-label-full {
    display: none;
  }
  .projects-section .section-intro h2 {
    font-size: 28px;
    line-height: 1.25;
    margin-bottom: 0;
  }
  .workflow-label-short {
    display: block;
  }

  .workflow-cloud {
    --flow-travel: 4px;
    --wave-height: 5px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .workflow-cloud::-webkit-scrollbar {
    display: none;
  }
  .workflow-page {
    display: block;
    flex: 0 0 100%;
    min-width: 0;
    scroll-snap-align: start;
  }
  .workflow-page:not([data-page-visible="true"]) {
    --workflow-play-state: paused;
  }
  .workflow-page-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(60px, auto);
    align-items: center;
    gap: 16px 12px;
    list-style: none;
    margin: 0;
    padding: 18px 10px 22px;
  }
  .workflow-item {
    width: 100%;
    min-width: 0;
  }
  .workflow-drift {
    rotate: calc(var(--bubble-tilt, 0deg) * 0.3);
  }
  .workflow-bubble {
    width: 100%;
    min-height: 60px;
    padding: 8px;
    border-radius: 16px 28px 16px 28px;
    line-height: 1.3;
  }
  .workflow-title {
    justify-content: center;
    gap: 6px;
    text-align: center;
  }
  .workflow-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 4px;
  }
  .workflow-stage:not([data-pager-ready="true"]) .workflow-pagination {
    display: none;
  }
  .workflow-pagination button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid #504a70;
    border-radius: 50%;
    background: #1a1730;
    color: #e6def3;
    font: 600 14px/1 var(--font-body);
  }
  .workflow-pagination button[aria-current="page"] {
    background: #b4baff;
    border-color: #b4baff;
    color: #17152d;
  }
}
@media (min-width: 600px) and (max-width: 900px) {
  .workflow-page-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

}
@media (max-width: 360px) {
  .workflow-title > .workflow-icon {
    display: none;
  }

}
@media (prefers-reduced-motion: reduce) {
  .collaborators[data-logo-ready="true"] .logo-marquee {
    overflow: visible;
    mask-image: none;
  }
  .collaborators[data-logo-ready="true"] .logo-track {
    display: block;
    width: auto;
    transform: none;
    animation: none;
  }
  .collaborators[data-logo-ready="true"] .logo-group {
    display: grid;
    width: min(var(--wrap), calc(100% - var(--gutter) * 2));
    min-width: 0;
    margin-inline: auto;
    gap: 24px;
    padding: 0;
  }
  .collaborators[data-logo-ready="true"] .logo-group[aria-hidden="true"] {
    display: none;
  }
  .collaborators[data-logo-ready="true"] .logo-group li {
    width: auto;
    flex: auto;
  }
  .workflow-item,
  .workflow-drift {
    animation: none;
  }
  .workflow-drift {
    rotate: 0deg;
  }
}
