:root {
  --sidebar-width: 31rem;
  --layout-gap: 4rem;
  --wp--style--block-gap: clamp(3.5rem, 2.737rem + 1.404vw, 4rem);
}

@media (min-width: 1300px) {
  :root {
    --sidebar-width: 34rem;
    --layout-gap: 6rem;
  }
}
.story-lottie {
  --gap: clamp(30px, 4vw, 50px);
  --sticky-top: 0px;
  --progress-col: 60px;
  --progress-track-width: 4px;
  --progress-dot-size: 15px;
  --progress-track-color: rgba(255, 255, 255, 0.14);
  position: relative;
  /* Fade settings for elements entering view */
}
.story-lottie__inner {
  display: grid;
  grid-template-columns: 0.49fr 0.51fr;
  gap: var(--gap);
  align-items: start;
}
.story-lottie__left {
  min-width: 0;
}
.story-lottie__point--hero {
  height: 70vh;
  max-height: 700px;
  display: flex;
  align-items: center;
}
.story-lottie__point--hero h2 {
  font-size: var(--wp--preset--font-size--font-72);
  line-height: 1.25;
  margin-bottom: 0.7ch;
  color: #FFF;
}
.story-lottie__point--hero p {
  width: 85%;
  max-width: 55rem;
  font-size: var(--wp--preset--font-size--font-24);
  font-weight: 200;
  line-height: 1.5;
  color: #61A1FF;
}
.story-lottie__buttons {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin-top: 5ch;
  margin-bottom: 5ch;
  padding: 0;
}
.story-lottie__buttons li {
  margin: 0;
}
.story-lottie__buttons li + li {
  position: relative;
}
.story-lottie__buttons li + li:before {
  content: "";
  width: 17px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='18' fill='none'%3E%3Cpath fill='%2386F1A7' d='M11.295 17.669h-.034c0-2.44-2.528-4.417-5.647-4.417-2.91 0-5.305 1.72-5.614 3.932V.295c.194 2.302 2.643 4.122 5.635 4.122 3.07 0 5.583-1.916 5.66-4.303L11.282 0h.013v17.669Z'/%3E%3C/svg%3E");
  background-position: center;
  background-size: 100%;
  position: absolute;
  top: calc(50% - 9px);
  left: -13px;
}
.story-lottie__buttons .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--wp--preset--font-family--primary);
  font-size: var(--wp--preset--font-size--font-17);
  font-weight: 500;
  line-height: 1.025;
  text-align: center;
  text-decoration: none;
  padding: 1.4rem 3rem;
  color: #02061A;
  border-radius: 5rem;
  cursor: pointer;
  position: relative;
  transition: color 0.45s cubic-bezier(0.4, 0, 0.2, 1), background 0.45s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  background: #86F1A7;
  border: 1px solid #86F1A7;
}
.story-lottie__buttons .btn:hover, .story-lottie__buttons .btn:active, .story-lottie__buttons .btn:focus {
  color: #86F1A7;
  background: #000A24;
}
.story-lottie__intro-row {
  width: 90vw;
  max-width: var(--wp--style--global--content-size);
  padding: calc(var(--wp--preset--spacing--xl) * 2.5) 0;
  opacity: 1;
  will-change: opacity;
}
.story-lottie__intro-row .ticker-container {
  margin-bottom: var(--wp--preset--spacing--xl);
}
.story-lottie__intro-row h2 {
  text-align: center;
}
@media ((min-width: 1024px)) {
  .story-lottie__intro-row h2 {
    padding-left: 15%;
    padding-right: 15%;
  }
}
.story-lottie__intro-row p {
  width: 96%;
  max-width: 75rem;
  font-size: var(--wp--preset--font-size--font-26);
  font-weight: 200;
  line-height: 1.5;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.story-lottie__slides-area, .story-lottie__right {
  opacity: 0;
  will-change: opacity, transform;
}
.story-lottie__slides-area {
  display: grid;
  grid-template-columns: var(--progress-col) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  position: relative;
}
.story-lottie__progress {
  position: sticky;
  top: calc(50vh - 200px); /* Stays centered relative to the slide card heights */
  align-self: start;
  height: 400px;
}
.story-lottie__slides {
  min-width: 0;
}
.story-lottie__card {
  height: 90vh;
  min-height: 600px;
  max-height: 900px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.story-lottie__card h3 {
  font-size: var(--wp--preset--font-size--font-44);
  line-height: 1.15;
  margin-bottom: 0.85ch;
  color: #FFF;
}
.story-lottie__card p {
  font-size: var(--wp--preset--font-size--font-20);
  font-weight: 200;
}
@media (min-width: 782px) {
  .story-lottie__card p {
    max-width: 40rem;
  }
}
.story-lottie__card .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--wp--preset--font-family--primary);
  font-size: var(--wp--preset--font-size--font-17);
  font-weight: 500;
  line-height: 1.025;
  text-align: center;
  text-decoration: none;
  padding: 1.4rem 3rem;
  color: #02061A;
  border-radius: 5rem;
  cursor: pointer;
  position: relative;
  transition: color 0.45s cubic-bezier(0.4, 0, 0.2, 1), background 0.45s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  padding-left: 4.6rem;
  padding-right: 0;
  color: #AEB6C6;
  background: transparent;
  border: transparent;
  margin: var(--wp--preset--spacing--m) auto 0 0;
}
.story-lottie__card .btn:hover, .story-lottie__card .btn:active, .story-lottie__card .btn:focus {
  color: #86F1A7;
  background: #000A24;
}
.story-lottie__card .btn:before {
  content: "";
  display: block;
  width: 33px;
  height: 33px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19' fill='none'%3E%3Cpath stroke='%2386F1A7' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m14.088 14.559.095-9.709-9.751.053'/%3E%3Cpath stroke='%2386F1A7' stroke-linecap='round' stroke-width='1.5' d='m13.889 5.149-9.037 9.037'/%3E%3C/svg%3E");
  background-size: 19px;
  background-repeat: no-repeat;
  background-position: center;
  border: 1px solid rgba(174, 182, 198, 0.5);
  border-radius: 100%;
  transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
  top: calc(50% - 17px);
  left: 0;
}
.story-lottie__card .btn:hover, .story-lottie__card .btn:active, .story-lottie__card .btn:focus {
  color: #FFF;
}
.story-lottie__card .btn:hover:before, .story-lottie__card .btn:active:before, .story-lottie__card .btn:focus:before {
  border-color: #FFF;
  background-size: 24px;
}
.story-lottie__image {
  width: 70px;
  margin-bottom: 2.5rem;
}
.story-lottie__image img {
  display: block;
  width: 100%;
  height: auto;
}
.story-lottie__intro {
  margin-top: 1rem;
}
.story-lottie__right {
  position: sticky;
  top: 0;
  height: 100vh; /* Lock structural canvas panel to window size */
  display: flex;
  align-items: center; /* True Vertical alignment on desktop monitors */
  justify-content: center;
}
.story-lottie__sticky {
  width: 100%;
}
.story-lottie__visuals {
  position: relative;
  width: 100%;
  max-width: 600px; /* Protect sizes on oversized systems */
  margin: 0 auto;
  aspect-ratio: 1/1;
}
.story-lottie__visual {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.story-lottie__visual.is-active {
  opacity: 1;
  visibility: visible;
}
.story-lottie__visual svg,
.story-lottie__visual canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.story-progress {
  position: relative;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
.story-progress__track, .story-progress__fill {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: var(--progress-track-width);
  border-radius: 999px;
}
.story-progress__track {
  top: 0;
  bottom: 0;
  background: var(--progress-track-color);
}
.story-progress__fill {
  top: 0;
  height: 0;
  background: linear-gradient(to bottom, #61A1FF 0%, #86F1A7 100%);
  z-index: 1;
}
.story-progress__dot {
  position: relative;
  z-index: 2;
  width: var(--progress-dot-size);
  height: var(--progress-dot-size);
  border-radius: 50%;
  border: 3px solid #000A24;
  padding: 0;
  cursor: pointer;
  background: #7d869d;
  transition: transform 0.2s ease, background 0.2s ease;
}
.story-progress__dot.is-active {
  background: #ffffff;
  transform: scale(1.12);
}

@media (min-width: 901px) {
  .story-lottie__mobile {
    display: none;
  }
}
@media (max-width: 900px) {
  .story-lottie {
    margin-top: calc(var(--wp--preset--spacing--xl) * -1) !important;
  }
  .story-lottie__mobile {
    display: none;
  }
  .story-lottie__slides-area, .story-lottie__right {
    opacity: 1 !important; /* Always display on mobile layout */
  }
  .story-lottie__point--hero {
    height: auto;
    max-height: 100%;
    text-align: center;
    padding-top: 0;
  }
  .story-lottie__point--hero p {
    margin-left: auto;
    margin-right: auto;
  }
  .story-lottie__point--hero #scrolldown {
    display: none;
  }
  .story-lottie__hero {
    width: 100%;
  }
  .story-lottie__mobile {
    padding-bottom: var(--wp--preset--spacing--l);
  }
  .story-lottie__buttons {
    justify-content: center;
  }
  .story-lottie__intro-row {
    padding: 0 0 var(--wp--preset--spacing--xl) 0 !important;
    opacity: 1 !important;
  }
  .story-lottie__card {
    height: auto;
    padding: 3rem 0 6.5rem 0 !important;
  }
  .story-lottie__card:last-child {
    padding-bottom: 3rem !important;
  }
  .story-lottie__card p {
    max-width: 100%;
  }
  .story-lottie__inner {
    grid-template-columns: 1fr;
  }
  .story-lottie__right {
    order: -1;
    height: auto;
    position: relative;
    top: auto;
    opacity: 1;
  }
  .story-lottie__sticky {
    position: relative;
    top: auto;
  }
  .story-lottie__visuals {
    display: none;
  }
  .story-lottie__slides-area {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 1rem;
    opacity: 1;
  }
  .story-lottie__point--hero, .story-lottie__card {
    min-height: auto;
    padding: 4rem 0;
  }
  .story-lottie__progress {
    height: 100%;
    top: auto;
  }
}
.fade-on-scroll {
  opacity: 1;
  will-change: opacity;
}

.ticker-container {
  width: 100%;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid rgba(174, 182, 198, 0.2);
  border-bottom: 1px solid rgba(174, 182, 198, 0.2);
  overflow: hidden;
  position: relative;
}
.ticker-container:before, .ticker-container:after {
  content: "";
  display: block;
  width: 7%;
  height: 100%;
  background: #ccc;
  position: absolute;
  top: 0;
  z-index: 5;
}
.ticker-container:before {
  background: linear-gradient(90deg, rgba(2, 6, 26, 0.65) 0%, rgba(2, 6, 26, 0) 100%);
  left: -1%;
}
.ticker-container:after {
  background: linear-gradient(270deg, rgba(2, 6, 26, 0.65) 0%, rgba(2, 6, 26, 0) 100%);
  right: -1%;
}
.ticker-container .ticker-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 5%;
  will-change: transform;
  padding: 0 5%;
  position: relative;
  z-index: 1;
}
.ticker-container .ticker-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
}
.ticker-container .ticker-slide img {
  display: block;
  width: auto;
  max-height: 50px;
  transition: transform 0.45s ease-in-out;
}
.ticker-container .ticker-slide a {
  display: block;
}
.ticker-container .ticker-slide a:hover img {
  transform: scale(1.1);
}

#scrolldown {
  margin-top: 50px;
  cursor: pointer;
}
#scrolldown .button {
  stroke-dasharray: 2 6;
  stroke-dashoffset: 2;
  opacity: 0;
  animation: scrolldownTick 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  will-change: stroke-dashoffset, opacity;
}

.floating-circle {
  position: absolute;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  z-index: -1;
}
.floating-circle.circle-banner {
  width: 80%;
  background: radial-gradient(circle, rgba(0, 77, 188, 0.35) 0%, rgba(0, 77, 188, 0) 60%);
  top: -5%;
  right: -12%;
  opacity: 1;
  animation: moveCircle3 15s ease-in-out infinite alternate, colorShift 5s ease-in-out infinite alternate;
}
