/*.ats-scroll-text {
  position: relative;
height: 220vh;
}

.ats-scroll-text__sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 6vw;
}

.ats-scroll-text__text {
  margin: 0;
  width: min(1200px, 100%);
  max-width: 100%;
  font-size: clamp(3rem, 4vw + 1rem, 6.8rem);
  line-height: 1.05;
  word-break: break-word;
}

.ats-scroll-text__word {
  display: inline-block;
  will-change: color, opacity, transform;
}

.ats-scroll-text__space {
  white-space: pre;
}*/


/*
.ats-scroll-text {
  position: relative;
  width: 100%;
}

.ats-scroll-text__sticky {
  min-height: 100vh;
  display: flex;
  align-items: center;
   padding: 6vw; 
  box-sizing: border-box;
}

.ats-scroll-text__text {
  margin: 0;
  width: min(1200px, 100%);
  max-width: 100%;
   font-size: clamp(3rem, 4vw + 1rem, 6.8rem); 
  line-height: 1.05; 
  word-break: break-word;
}

.ats-scroll-text__word {
  display: inline-block;
  will-change: color, opacity, transform;
}

.ats-scroll-text__space {
  white-space: pre;
}

.ats-scroll-layout {
  align-items: flex-start;
}

.ats-scroll-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  align-self: flex-start;
}

.ats-scroll-track {
  position: relative;
}
*/



.ats-scroll-text {
  position: relative;
  width: 100%;
}

/* default = full layout */
.ats-scroll-text__sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  background: transparent;
}

.ats-scroll-text__text {
  margin: 0;
  /*width: min(1200px, 100%);*/
  width: 100%;
  max-width: 100%;
  word-break: break-word;
}

.ats-scroll-text__word {
  display: inline-block;
  will-change: color;
}

.ats-scroll-text__space {
  white-space: pre;
}

/* ---------- SPLIT LAYOUT HELPERS ---------- */
.ats-scroll-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: flex-start;
  gap: clamp(20px, 3vw, 48px);
}

.ats-scroll-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  align-self: flex-start;
}

.ats-scroll-track {
  position: relative;
}

/* In split mode, parent column handles stickiness */
.ats-scroll-layout .ats-scroll-sticky .ats-scroll-text {
  min-height: auto;
}

.ats-scroll-layout .ats-scroll-sticky .ats-scroll-text .ats-scroll-text__sticky {
  position: relative;
  top: auto;
  min-height: 100vh;
  background: transparent;
}

/* Mobile */
@media (max-width: 900px) {
  .ats-scroll-text {
    min-height: auto !important;
  }

  .ats-scroll-text__sticky {
    position: relative !important;
    top: auto !important;
    min-height: auto !important;
    display: block !important;
    background: transparent !important;
  }

  .ats-scroll-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ats-scroll-sticky {
    position: relative;
    top: auto;
    height: auto;
  }
}