/* ---------- Scroll-controlled Solutions story ---------- */
.solutions-story {
  position: relative;
  overflow: clip;
  color: var(--color-white);
  background: #244958;
}

.section-eyebrow{
    margin-bottom: 16px;
}

.solutions-story__stage {
  position: relative;
  min-block-size: 900px;
  overflow: hidden;
  background: #5e9abe url("../images/solutions-transformation-poster.webp")
    center / cover no-repeat;
}

.solutions-story__video,
.solutions-story__scrim {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
}

.solutions-story__video {
  max-inline-size: none;
  object-fit: cover;
  object-position: center;
}

.solutions-story__scrim {
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgb(13 29 37 / 62%) 0%,
    rgb(13 29 37 / 34%) 34%,
    rgb(13 29 37 / 4%) 68%,
    transparent 100%
  );
  pointer-events: none;
}

.solutions-story__content-layer {
  position: relative;
  z-index: 2;
  padding-block: 120px;
}

.solutions-story__phase-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.solutions-story__phase {
  max-inline-size: 852px;
}

.solutions-phase-card,
.solutions-phase-card__copy,
.solutions-phase-card__focus,
.solutions-phase-card__description-stack {
  display: flex;
  flex-direction: column;
}

.solutions-phase-card {
  gap: 16px;
  padding: 32px;
  background: rgb(19 58 72 / 88%);
  border-radius: var(--radius-card);
}

.solutions-phase-card__copy {
  gap: 16px;
}

.solutions-phase-card h1,
.solutions-phase-card__copy h2 {
  color: var(--color-teal);
  font-size: 36px;
  line-height: 1.2;
}

.solutions-phase-card__description,
.solutions-phase-card__focus li {
  color: var(--color-white);
  font-size: 22px;
  line-height: 1.5;
}

.solutions-phase-card__description--narrow {
  max-inline-size: 701px;
}

.solutions-phase-card__description-stack {
  gap: 12px;
}

.solutions-phase-card__focus {
  gap: 8px;
  max-inline-size: 800px;
}

.solutions-phase-card__focus h2,
.solutions-phase-card__focus h3 {
  color: var(--color-teal);
  font-size: 26px;
  line-height: 1.2;
}

.solutions-phase-card__focus ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-inline-start: 33px;
  list-style: disc;
}

.solutions-motion-ready .solutions-story {
  /* Figma places the six copy panels on one 4,336px vertical track. The
     viewport-height term keeps the scroll travel at 3,436px on taller screens. */
  block-size: calc(100svh + 3436px);
  min-block-size: 4336px;
}

.solutions-motion-ready .solutions-story__stage {
  position: sticky;
  inset-block-start: 0;
  block-size: 100svh;
  min-block-size: 600px;
}

.solutions-motion-ready .solutions-story__content-layer {
  position: relative;
  block-size: 4336px;
  min-block-size: 4336px;
  margin-block-start: -100svh;
  padding-block: 258px 299px;
  pointer-events: auto;
}

.solutions-motion-ready .solutions-story__phase-list {
  position: relative;
  display: block;
  block-size: 3779px;
}

.solutions-motion-ready .solutions-story__phase {
  position: absolute;
  inset-inline: 0;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  transition: none;
}

.solutions-motion-ready .solutions-story__phase:nth-child(1) {
  inset-block-start: 0;
}

.solutions-motion-ready .solutions-story__phase:nth-child(2) {
  inset-block-start: 679px;
}

.solutions-motion-ready .solutions-story__phase:nth-child(3) {
  inset-block-start: 1343px;
}

.solutions-motion-ready .solutions-story__phase:nth-child(4) {
  inset-block-start: 2002px;
}

.solutions-motion-ready .solutions-story__phase:nth-child(5) {
  inset-block-start: 2661px;
}

.solutions-motion-ready .solutions-story__phase:nth-child(6) {
  inset-block-start: 3418px;
}

.solutions-motion-ready .solutions-phase-card {
  padding: 0;
  background: transparent;
  border-radius: 0;
}

/* Media fallback: keep the poster visible and return every phase to the
   document flow when the video cannot be loaded or decoded. */
.solutions-story.has-media-error {
  block-size: auto;
  min-block-size: 0;
  overflow: visible;
}

.solutions-story.has-media-error .solutions-story__stage {
  position: relative;
  inset-block-start: auto;
  block-size: min(900px, 100svh);
  min-block-size: 600px;
}

.solutions-story.has-media-error .solutions-story__content-layer {
  position: relative;
  inset-block-start: auto;
  block-size: auto;
  min-block-size: 0;
  margin-block-start: 0;
  padding-block: 64px 120px;
  pointer-events: auto;
}

.solutions-story.has-media-error .solutions-story__phase-list {
  display: flex;
  block-size: auto;
}

.solutions-story.has-media-error .solutions-story__phase:nth-child(n) {
  position: relative;
  inset: auto;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  transition: none;
}

.solutions-story.has-media-error .solutions-phase-card {
  padding: 32px;
  background: rgb(19 58 72 / 92%);
  border-radius: var(--radius-card);
}

/* ---------- Transformation System Model ---------- */
.solutions-system {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-block-size: 854px;
  padding-block: 120px;
  background-color: #12a0ae;
  background: linear-gradient(90deg, #12A0AE -15.86%, #D2EEF0 116.3%);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.solutions-system::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image: var(--solutions-perspective-background-left, url("../images/home-perspective-network-left.webp"));
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  opacity: 1;
}

.solutions-system__inner {
  position: relative;
  z-index: 1;
  display: grid;
  max-inline-size: 1680px;
  grid-template-columns: 649.619px 690px;
  align-items: start;
  justify-content: center;
  gap: 140px;
/* 	align-items: center; */
}

.solutions-system__media,
.solutions-system__visual,
.solutions-system__content,
.solutions-system__intro,
.solutions-system__copy,
.solutions-system__body {
  min-inline-size: 0;
}

.solutions-system__media img {
  inline-size: 649.619px;
  block-size: 614px;
  display: block;
  object-fit: fill;
  /* JP-376: the Figma model asset contains its own transparent geometry. */
}

.solutions-system__content,
.solutions-system__visual,
.solutions-system__intro,
.solutions-system__copy,
.solutions-system__body {
  display: flex;
  flex-direction: column;
}

.solutions-system__content {
  gap: 24px;
}

.solutions-system__visual {
  position: relative;
  align-items: center;
}

.solutions-system__visual > .section-eyebrow {
/*   position: absolute;
  inset-block-start: -64px; */
  inset-inline-start: 0;
  color: var(--color-teal);
  background: var(--color-white);
  border-radius: 10px;
	margin-bottom: 30px;
}

.solutions-system__visual > .section-eyebrow > span {
  background: var(--color-teal);
}

.solutions-system__intro {
  align-items: flex-start;
  gap: 20px;
}

.solutions-system__copy {
  gap: 16px;
}

.solutions-system__title {
  color: var(--color-dark-teal);
  font-size: 40px;
}

.solutions-system__body {
  gap: 16px;
  color: var(--color-grey-dark);
  font-size: 22px;
  line-height: 1.6;
}

@media only screen and (max-width: 1750px) {
  .solutions-system__inner {
    grid-template-columns: minmax(0, 0.94148fr) minmax(0, 1fr);
    gap: clamp(64px, 7vw, 120px);
  }

  .solutions-system__media img {
    inline-size: 100%;
    block-size: auto;
  }
}

/* ---------- Approach CTA ---------- */
.solutions-approach-cta {
  position: relative;
  min-block-size: 468px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-grey-dark);
}

.solutions-approach-cta__background,
.solutions-approach-cta__scrim {
  position: absolute;
  inset: 0;
}

.solutions-approach-cta__background {
  inline-size: 100%;
  block-size: 100%;
  max-inline-size: none;
  object-fit: cover;
}

.solutions-approach-cta__scrim {
  background: rgb(0 0 0 / 40%);
}

.solutions-approach-cta__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.solutions-approach-cta h2 {
  color: var(--color-white);
  font-size: 48px;
  line-height: 1.1;
}

.solutions-cta__link {
  align-self: center;
}

@media only screen and (max-width: 1599px) {
  .solutions-system {
    min-block-size: 0;
  }

  .solutions-system__title,
  .solutions-approach-cta h2 {
    font-size: 36px;
  }
}

@media only screen and (max-width: 1366px) {
  .solutions-phase-card h1,
  .solutions-phase-card__copy h2,
  .solutions-system__title,
  .solutions-approach-cta h2 {
    font-size: 34px;
  }
}

@media only screen and (max-width: 1199px) {
  .solutions-system__title,
  .solutions-approach-cta h2 {
    font-size: 32px;
  }

  .solutions-system__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
    gap: 64px;
  }

  .solutions-system__visual {
    gap: 24px;
  }
}

@media only screen and (max-width: 1024px) {
  .solutions-system {
    --solutions-system-stack-pad: 88px;
    padding-block: 88px;
  }

  .solutions-system::before {
    /* Preserve the wide network artwork's natural ratio in the tall stacked layout. */
    background-position: center top;
    background-size: cover;
  }

  .solutions-system__inner {
    max-inline-size: 690px;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .solutions-system__media {
    align-self: center;
    max-inline-size: 650px;
    margin-inline: auto;
  }

  .solutions-system__visual {
    inline-size: 100%;
    max-inline-size: 650px;
    align-items: flex-start;
    gap: 24px;
    margin-inline: auto;
  }

  .solutions-system__visual > .section-eyebrow {
    position: static;
  }

  .solutions-system__content {
    position: relative;
    z-index: 1;
    padding-block: 40px;
    background: transparent;
  }

  .solutions-system__content::before {
    display: none;
    content: none;
  }
}

@media only screen and (max-width: 767px), only screen and (max-height: 600px) {
  /* Keep the fixed site header visually pinned while mobile browser chrome
     expands or collapses. An opaque surface prevents scrolling phase copy from
     showing through the header and appearing to overlap the logo/actions. */
  .solutions-motion-ready .site-header__inner {
    background: rgb(132 146 155 / 97%);
    box-shadow: 0 8px 24px rgb(13 29 37 / 20%);
  }

  .solutions-motion-ready .solutions-story {
    block-size: auto;
    min-block-size: var(--solutions-stable-viewport-height, 100svh);
    overflow: visible;
  }

  .solutions-motion-ready .solutions-story__stage {
    position: sticky;
    inset-block-start: 0;
    z-index: 0;
    block-size: var(--solutions-stable-viewport-height, 100svh);
    min-block-size: var(--solutions-stable-viewport-height, 100svh);
    /* The scroll mapping intentionally keeps a fixed small-viewport height so
       Safari's moving browser chrome cannot shake the animation. Allow the
       media itself to overscan that stable stage and cover Safari's largest
       viewport as well, otherwise the story background is exposed below it
       after the browser controls collapse. */
    overflow: visible;
  }

  .solutions-motion-ready .solutions-story__video,
  .solutions-motion-ready .solutions-story__scrim {
    block-size: max(var(--solutions-stable-viewport-height, 100svh), 100lvh);
  }

  .solutions-motion-ready .solutions-story__video {
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
  }

  .solutions-motion-ready .solutions-story__scrim {
    background: linear-gradient(
      90deg,
      rgb(13 29 37 / 72%) 0%,
      rgb(13 29 37 / 48%) 72%,
      rgb(13 29 37 / 30%) 100%
    );
  }

  .solutions-motion-ready .solutions-story__content-layer {
    position: relative;
    inset-block-start: auto;
    block-size: auto;
    min-block-size: 0;
    margin-block-start: calc(-1 * var(--solutions-stable-viewport-height, 100svh));
    padding-block: clamp(128px, 22svh, 192px) clamp(96px, 16svh, 160px);
    pointer-events: auto;
  }

  .solutions-motion-ready .solutions-story__phase-list {
    display: flex;
    block-size: auto;
    gap: clamp(128px, 28svh, 240px);
  }

  .solutions-motion-ready .solutions-story__phase:nth-child(n) {
    position: relative;
    inset: auto;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition: none;
    will-change: auto;
  }

  .solutions-motion-ready .solutions-phase-card {
    padding: 0;
    background: transparent;
    border-radius: 0;
  }

  .solutions-story.has-media-error {
    block-size: auto;
    min-block-size: 0;
    overflow: visible;
  }

  .solutions-story.has-media-error .solutions-story__stage {
    position: relative;
    inset-block-start: auto;
    block-size: min(520px, 60svh);
    min-block-size: 220px;
  }

  .solutions-story.has-media-error .solutions-story__content-layer {
    margin-block-start: 0;
    padding-block: 40px 64px;
  }

  .solutions-story.has-media-error .solutions-story__phase-list {
    display: flex;
    block-size: auto;
    gap: 24px;
  }

  .solutions-story.has-media-error .solutions-story__phase:nth-child(n) {
    position: relative;
    inset: auto;
  }

  .solutions-story.has-media-error .solutions-phase-card {
    padding: 28px;
    background: rgb(19 58 72 / 92%);
    border-radius: var(--radius-card);
  }

  .solutions-phase-card h1,
  .solutions-phase-card__copy h2 {
    font-size: 32px;
  }

  .solutions-phase-card__description,
  .solutions-phase-card__focus li {
    font-size: 20px;
  }

  .solutions-phase-card__focus h2,
  .solutions-phase-card__focus h3 {
    font-size: 24px;
  }

  .solutions-approach-cta {
    min-block-size: 400px;
  }
}

@media only screen and (max-width: 479px) {
  .solutions-motion-ready .solutions-story__content-layer {
    padding-block-start: clamp(120px, 19svh, 164px);
    padding-block-end: 80px;
  }

  .solutions-story.has-media-error .solutions-phase-card,
  html:not(.solutions-motion-ready) .solutions-phase-card {
    padding: 24px 20px;
  }

  .solutions-phase-card h1,
  .solutions-phase-card__copy h2 {
    font-size: 28px;
  }

  .solutions-phase-card__description,
  .solutions-phase-card__focus li {
    font-size: 18px;
  }

  .solutions-phase-card__focus h2,
  .solutions-phase-card__focus h3 {
    font-size: 22px;
  }

  .solutions-phase-card__focus ul {
    padding-inline-start: 24px;
  }

  .solutions-system {
    --solutions-system-stack-pad: 48px;
    padding-block: 48px;
  }

  .solutions-system__inner {
    gap: 0;
  }

  .solutions-system__content,
  .solutions-system__intro {
    gap: 16px;
  }

  .solutions-system__content {
    padding-block: 32px;
  }

  .solutions-system__title {
    font-size: 28px;
  }

  .solutions-system__body {
    font-size: 18px;
  }

  .solutions-system__link {
    align-self: stretch;
  }

  .solutions-approach-cta {
    min-block-size: 340px;
  }

  .solutions-approach-cta__inner {
    gap: 24px;
  }

  .solutions-approach-cta h2 {
    font-size: 28px;
  }
}

@media only screen and (max-width: 750px) {
  .solutions-system__body {
    color: #334f59;
  }
}

/* Responsive type scale for the main story and section headings. */
@media only screen and (max-width: 1024px) {
  .solutions-phase-card h1,
  .solutions-phase-card__copy h2,
  .solutions-system__title,
  .solutions-approach-cta h2 {
    font-size: 32px;
  }
}

@media only screen and (max-width: 767px) {
  .solutions-phase-card h1,
  .solutions-phase-card__copy h2,
  .solutions-system__title,
  .solutions-approach-cta h2 {
    font-size: 30px;
  }
}

@media only screen and (max-width: 479px) {
  .solutions-phase-card h1,
  .solutions-phase-card__copy h2,
  .solutions-system__title,
  .solutions-approach-cta h2 {
    font-size: 28px;
  }
}

@media only screen and (max-width: 374px) {
  .solutions-system .section-eyebrow {
    max-inline-size: 100%;
    white-space: normal;
  }

  .solutions-phase-card h1,
  .solutions-phase-card__copy h2,
  .solutions-system__title,
  .solutions-approach-cta h2 {
    font-size: 26px;
  }
}
