html,
body {
  font-family: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
  max-width: 100%;
  overflow-x: hidden;
}

/* Header: never leak a sub-pixel overflow */
#unique-main-header {
  overflow-x: clip;
  box-sizing: border-box;
}

/* Clip x-overflow on common animated wrappers to prevent page-wide overflow */
.content-container,
.founding-text,
.rooted-in-japan-text,
.rooted-in-japan-img,
.mission-text,
.vision-text,
.values-text,
.business-strategists-text,
.business-strategists-img,
.case-study-card,
.thought-leadership-left,
.thought-leadership-right,
.strategy-sprint-text,
.strategy-sprint-img {
  overflow-x: clip;
}


.no-scroll {
  height: 100%;
  overflow: hidden;
  position: relative;
  /* helps on iOS */
}

/* Animated Text (fade-in effect) */
.animated-text {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animated-text.show {
  opacity: 1;
  transform: translateY(0);
}

.clip-text {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1s ease-out;
}

/* Our Strategy */
.swiper {
  overflow: visible !important;
}

.swiper-slide {
  width: auto !important;
}

.swiper-wrapper {
  transition-timing-function: linear !important;
}

@media (max-width: 1024px) {
  #our-strategy .swiper {
    overflow: hidden !important;
  }
}

/* Strategic Lever */
.tier {
  transition: all 0.4s ease;
  font-size: 1.25rem;
  font-weight: 400;
  opacity: 0.4;
}

.tier.active {
  font-size: 1.5rem;
  font-weight: 600;
  opacity: 1;
}

.tier.entering {
  transform: rotateX(90deg);
}

/* Continuous scroll (no fade), full-height viewport */
.info-wrapper {
  position: relative;
  overflow: hidden;
  height: 100%;
}

.info-tape {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.info-panel img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* .infoPanelImg {
  max-height: 100% !important;
} */
@media (max-width: 1024px) {
  .tier {
    font-size: 1rem;
  }

  .tier.active {
    font-size: 1.125rem;
  }
}

@media (max-width: 1024px) {
  #strategic-lever .info-wrapper {
    position: static;
    overflow: visible;
    height: auto;
  }

  #strategic-lever .info-tape {
    position: static;
    will-change: auto;
  }
}

#strategic-lever #info-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 1024px) {

  #strategic-lever .tier,
  #strategic-lever .tier.active {
    font-size: 1.125rem;
    /* font-weight: 100;       */
    color: #fff;
    opacity: 1;
  }
}

/* Footer */
.soft-vignette {
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 45%, rgba(0, 0, 0, 0) 75%);
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 45%, rgba(0, 0, 0, 0) 75%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

/* .info-panel {
  margin-bottom: 3rem !important;
} */

/* Add this new class to instantly stop the transition animation */
.swiper-wrapper.swiper-paused {
  transition-duration: 0ms !important;
}

.swiper-wrapper {
  transition-timing-function: linear !important;
}

/* Continuous scroll (no fade), full-height viewport */
.info-wrapper {
  position: relative;
  overflow: hidden;
  height: 100%;
  /* Important: Make sure this is honored by parent elements */
  display: flex;
  /* Make it a flex container */
  flex-direction: column;
  /* Stack children vertically */
  /* Ensure no padding on info-wrapper itself that would shrink its inner content */
}

.info-tape {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  will-change: transform;
  height: 100%;
  /* The tape itself needs to stretch to allow panels to take height */
  /* Remove any margin-bottom from .info-panel in your CSS */
  margin-bottom: 0 !important;
  /* Explicitly remove if it's there */
}

.info-panel {
  flex-shrink: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.info-panel img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top;
}

.info-panel>div:last-child {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.marquee {
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 30px;
  margin-left: 100px;
  animation: scroll 30s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}