/* Slide 10 (Figma 318:96) — fixed header + panel stack; scroll triggers GSAP only */
.story-slide--10 {
  --story-slide-10-panel-size: min(min(100rem, 100cqw), 70dvh);
  --story-slide-10-stack-offset: 20rem;
  --story-slide-10-font-features: "liga" off, "clig" off;
  /* Panel circle layout — tuned in viewport media block at end of file */
  --s10-panel-gap: 12rem;
  --s10-panel-pad-block: 10rem;
  --s10-panel-pad-inline: 10rem;
  --s10-globe-slot-width: 88%;
  --s10-stat-font-size: 8rem;
  --s10-desc-font-size: 2.8rem;
}

.story-slide-10__scroller {
  background: #000;
  overflow-x: hidden;
}

.story-slide-10__scroll-doc {
  min-height: 100%;
}

.story-slide-10__content {
  position: relative;
  width: 100%;
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem) clamp(6rem, 14vh, 12rem);
  box-sizing: border-box;
  isolation: isolate;
  overflow: visible;
}

/* Sticky header + panel stack; overlays share the same slot (full overlap) */
.story-slide-10__anchor {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding-top: var(--site-header-block-size);
  box-sizing: border-box;
  background: #000;
  gap: min(8rem, 3cqh);
}

.story-slide-10__intro {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(2rem, 4vh, 3.5rem) clamp(0.5rem, 3vw, 1.5rem) clamp(1rem, 2vh, 1.5rem);
  box-sizing: border-box;
  container-type: inline-size;
  container-name: story-slide-10__intro;
}

.story-slide--10:not(.is-story-active) .story-slide-10__title,
.story-slide--10:not(.is-story-active) .story-slide-10__panel--1 .story-slide-10__panel-inner {
  opacity: 0 !important;
  visibility: hidden;
  transition: none;
}

.story-slide--10 .story-slide-10__title {
  margin: 0;
  color: #fff;
  text-align: center;
  font-feature-settings: var(--story-slide-10-font-features);
  font-family: var(--muse-font-family-default);
  font-size: clamp(2.75rem, 4.5cqw, 8rem);
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
  opacity: 0;
  transform: translate3d(0, 28vh, 0);
  will-change: transform, opacity;
}

.story-slide-10__title.is-visible {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.story-slide-10__stack-stage {
  position: relative;
  width: 100%;
  padding-bottom: calc(var(--story-slide-10-stack-offset) * 2);
}

.story-slide-10__panel--1 {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0;
  pointer-events: none;
  container-type: inline-size;
}

.story-slide-10__panel--2,
.story-slide-10__panel--3 {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0;
  overflow: visible;
  pointer-events: none;
  visibility: hidden;
  will-change: transform, opacity;
  container-type: inline-size;
}

.story-slide-10__panel--2 {
  z-index: 2;
}

.story-slide-10__panel--3 {
  z-index: 3;
}

.story-slide-10__panel--2.is-revealed,
.story-slide-10__panel--3.is-revealed {
  visibility: visible;
}

.story-slide-10__panel.is-revealed {
  pointer-events: auto;
}

.story-slide-10__panel-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s10-panel-gap);
  width: var(--story-slide-10-panel-size);
  height: var(--story-slide-10-panel-size);
  padding: var(--s10-panel-pad-block) var(--s10-panel-pad-inline);
  box-sizing: border-box;
  border-radius: 120rem;
  overflow: hidden;
  background: linear-gradient(0deg, #02c8ff -9.25%, #0a60ff 85.21%);
  text-align: center;
  color: #fff;
}
.story-slide-10__panel--1 .story-slide-10__panel-inner {
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 28vh, 0);
  will-change: transform, opacity;
}

.story-slide-10__panel--1.is-revealed .story-slide-10__panel-inner {
  opacity: 1;
  visibility: visible;
}

.story-slide-10__panel--2 .story-slide-10__panel-inner,
.story-slide-10__panel--3 .story-slide-10__panel-inner {
  opacity: 1;
  visibility: visible;
  transform: none;
  box-shadow: -1rem  -1rem 10rem rgba(0, 0, 0, 0.5);
}

.story-slide-10__panel-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
  flex-shrink: 0;
  width: 100%;
}

.story-slide-10__panel-copy > .story-slide-10__stat,
.story-slide-10__panel-copy > .story-slide-10__desc {
  pointer-events: none;
}

.story-slide-10__stat {
  margin: 0;
  width: 100%;
  color: #fff;
  text-align: center;
  font-family: var(--muse-font-family-default);
  font-size: var(--s10-stat-font-size);
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
}

.story-slide-10__desc {
  margin: 0;
  width: 100%;
  color: #fff;
  text-align: center;
  font-feature-settings: var(--story-slide-10-font-features);
  font-family: var(--muse-font-family-default);
  font-size: var(--s10-desc-font-size);
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
}

.story-slide-10__globe-slot {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  width: var(--s10-globe-slot-width);
  min-height: 0;
  margin-inline: calc(-1 * clamp(2rem, 18vw, 28rem));
  margin-bottom: calc(-1 * clamp(4rem, 14vw, 16rem));
  overflow: hidden;
  pointer-events: none;
}

.story-slide-10__globe {
  width: 100%;
  margin: auto;
}

.story-slide-10__globe-image {
  display: block;
  max-width: 100%;
  object-fit: contain;
  pointer-events: none;
  object-position: center top;
}

/*
 * Viewport breakpoints for the panel circle (padding, gap, globe width).
 * Lives at the bottom of this file, before reduced-motion, so base layout stays
 * readable above and all breakpoint tweaks stay in one place.
 */
@media (max-width: 75rem) {
  .story-slide--10 {
    --s10-panel-gap: 5rem;
    --s10-panel-pad-block: 10rem;
    --s10-panel-pad-inline: 9rem;
    --s10-globe-slot-width: 82%;
  }
}

@media (max-width: 62.125rem) {
  .story-slide--10 {
    --s10-panel-gap: 5rem;
    --s10-panel-pad-block: 10rem;
    --s10-panel-pad-inline: 9rem;
    --s10-globe-slot-width: 78%;
  }
}

@media (max-width: 40rem) or (max-height: 800px){
  .story-slide--10 {
    --s10-panel-gap: 2rem;
    --s10-panel-pad-block: 12rem;
    --s10-panel-pad-inline: 4rem;
    --s10-globe-slot-width: 50%;
    --s10-stat-font-size: 7rem;
  }
}

@media (max-width: 35rem) {
  .story-slide--10 {
    --s10-stat-font-size: 5rem;
    --s10-panel-pad-block: 8rem;
  }
}
@media (max-width: 28rem)  {
  .story-slide--10 {
    --s10-stat-font-size: 4rem;
    --s10-panel-pad-block: 8rem;
    --s10-desc-font-size: 2rem;
  }
}
@media (orientation: landscape) and (max-height: 500px) {
  .story-slide--10 {
    --story-slide-10-stack-offset: 5rem;
    --s10-panel-gap: 1rem;
    --s10-panel-pad-block: 3.5rem;
    --s10-panel-pad-inline: 3rem;
    --s10-globe-slot-width: 50%;
    --s10-stat-font-size: 2.6rem;
    --s10-desc-font-size: 1.6rem;
  }

  .story-slide-10__stack-stage {
    padding-bottom: 0;
    padding-inline: calc(var(--story-slide-10-stack-offset) * 2);
  }
  .story-slide-10__panel-copy {
    gap: 0.5rem;
  }
  .story-slide--10 .story-slide-10__title {
    font-size: 3rem;
  }
  .story-slide-10__intro {
    padding-top: 1rem;
    padding-bottom: 0;
  }
  
}

@media (prefers-reduced-motion: reduce) {
  .story-slide--10 .story-slide-10__title {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .story-slide-10__panel--1 .story-slide-10__panel-inner,
  .story-slide-10__panel--2,
  .story-slide-10__panel--3 {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .story-slide-10__anchor {
    gap: 0;
  }
  .story-slide-10__intro {
    padding-top: 0.5rem;
  }
}
