.lb-scroll-story,
.lb-scroll-story * {
  box-sizing: border-box;
}

.lb-scroll-story__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.lb-scroll-story-standalone {
  margin: 0;
  min-height: 100%;
  overflow-x: clip;
  background: #0c1011;
}

html:has(.lb-scroll-story) {
  scroll-behavior: auto !important;
}

.lb-scroll-story {
  --lb-story-progress: 0;
  position: relative;
  width: 100%;
  height: 400svh;
  margin-inline: 0;
  background: #0c1011;
  color: #f4f1e9;
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.lb-scroll-story__stage {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 540px;
  overflow: hidden;
  background: #0c1011;
  isolation: isolate;
  touch-action: none;
}

.lb-scroll-story[data-touch-release="after"] .lb-scroll-story__stage {
  touch-action: pan-y;
}

.lb-scroll-story__video {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  object-position: center;
  background: #0c1011;
  z-index: 0;
  opacity: 0;
  visibility: visible;
  pointer-events: none;
  backface-visibility: hidden;
  contain: paint;
  transform: translateZ(0);
  will-change: opacity;
}

.lb-scroll-story__video.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
}

.lb-scroll-story__park-frame {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  margin: 0;
  background: #0c1011;
  opacity: 0;
  visibility: visible;
  pointer-events: none;
  backface-visibility: hidden;
  contain: paint;
  transform: translateZ(0);
  transition: none;
  will-change: opacity;
}

.lb-scroll-story__park-frame.is-active {
  opacity: 1;
  visibility: visible;
}

.lb-scroll-story__park-frame img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: auto;
  max-width: none !important;
  object-fit: cover;
  object-position: center;
  backface-visibility: hidden;
  image-rendering: auto;
}

.lb-scroll-story__detail-loop {
  z-index: 2;
  transition: opacity 220ms ease;
}

.lb-scroll-story__detail-loop.is-active {
  z-index: 2;
  transition: opacity 220ms ease;
}

.lb-scroll-story__intro {
  position: absolute;
  z-index: 3;
  left: clamp(24px, 6vw, 96px);
  bottom: clamp(72px, 10vh, 128px);
  width: min(720px, calc(100vw - 48px));
  padding: clamp(18px, 2vw, 30px) clamp(22px, 2.5vw, 40px);
  isolation: isolate;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity 260ms ease, transform 320ms ease, visibility 0s linear 320ms;
  pointer-events: none;
  text-shadow:
    0 1px 1px rgba(0, 0, 0, 0.98),
    0 3px 20px rgba(0, 0, 0, 0.92);
}

.lb-scroll-story__intro::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  border-left: 1px solid rgba(223, 179, 109, 0.72);
  background: none;
  box-shadow: inset 18px 0 34px rgba(0, 0, 0, 0.16);
  content: "";
  pointer-events: none;
  -webkit-backdrop-filter: blur(7px) saturate(0.88) brightness(0.78);
  backdrop-filter: blur(7px) saturate(0.88) brightness(0.78);
  -webkit-mask-image: linear-gradient(90deg, #000 0 68%, rgba(0, 0, 0, 0.7) 82%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0 68%, rgba(0, 0, 0, 0.7) 82%, transparent 100%);
}

.lb-scroll-story__intro.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 80ms, 80ms, 0s;
}

.lb-scroll-story__intro[data-lb-phase-intro="0"] {
  bottom: clamp(28px, 5vh, 64px);
}

.lb-scroll-story__eyebrow {
  margin: 0 0 14px;
  color: #dfb36d;
  font-size: 0.78rem;
  font-weight: 760;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 1px 2px #000, 0 0 12px rgba(0, 0, 0, 0.9);
}

.lb-scroll-story__headline {
  max-width: 680px;
  margin: 0;
  color: #fffdf8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 6.5vw, 6.4rem);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: 0;
  paint-order: stroke fill;
  -webkit-text-stroke: 0.35px rgba(3, 6, 7, 0.84);
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.95),
    0 2px 3px rgba(0, 0, 0, 0.92),
    0 8px 30px rgba(0, 0, 0, 0.72);
}

.lb-scroll-story h2.lb-scroll-story__headline {
  font-size: clamp(2.4rem, 5.4vw, 5.6rem);
}

.lb-scroll-story__lede {
  max-width: 560px;
  margin: 24px 0 0;
  color: #f2eee5;
  font-size: clamp(1rem, 1.5vw, 1.28rem);
  font-weight: 520;
  line-height: 1.55;
  text-shadow: 0 1px 1px #000, 0 2px 12px rgba(0, 0, 0, 0.96);
}

.lb-scroll-story__xray {
  position: absolute;
  z-index: 2;
  inset: clamp(20px, 3.2vw, 52px);
  overflow: hidden;
  border: 1px solid rgba(93, 236, 122, 0.55);
  background:
    repeating-linear-gradient(0deg, rgba(93, 236, 122, 0.045) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(90deg, rgba(93, 236, 122, 0.045) 0 1px, transparent 1px 48px),
    linear-gradient(135deg, rgba(34, 126, 62, 0.08), transparent 46%);
  box-shadow: inset 0 0 80px rgba(64, 210, 98, 0.08), 0 0 28px rgba(64, 210, 98, 0.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 260ms ease, visibility 0s linear 260ms;
}

.lb-scroll-story[data-xray-active="true"] .lb-scroll-story__xray {
  opacity: 0.92;
  visibility: visible;
  transition-delay: 120ms, 0s;
}

.lb-scroll-story__xray-corner {
  position: absolute;
  width: 64px;
  height: 64px;
  border-color: #79f58d;
  filter: drop-shadow(0 0 8px rgba(121, 245, 141, 0.55));
}

.lb-scroll-story__xray-corner--tl {
  top: 12px;
  left: 12px;
  border-top: 2px solid;
  border-left: 2px solid;
}

.lb-scroll-story__xray-corner--tr {
  top: 12px;
  right: 12px;
  border-top: 2px solid;
  border-right: 2px solid;
}

.lb-scroll-story__xray-corner--bl {
  bottom: 12px;
  left: 12px;
  border-bottom: 2px solid;
  border-left: 2px solid;
}

.lb-scroll-story__xray-corner--br {
  right: 12px;
  bottom: 12px;
  border-right: 2px solid;
  border-bottom: 2px solid;
}

.lb-scroll-story__xray-scan {
  position: absolute;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(143, 255, 155, 0.9), transparent);
  box-shadow: 0 0 18px rgba(143, 255, 155, 0.68);
  animation: lb-xray-scan 3.2s linear infinite;
}

.lb-scroll-story__xray-reticle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 116px;
  height: 116px;
  border: 1px solid rgba(143, 255, 155, 0.7);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.lb-scroll-story__xray-reticle::before,
.lb-scroll-story__xray-reticle::after,
.lb-scroll-story__xray-reticle i::before,
.lb-scroll-story__xray-reticle i::after {
  position: absolute;
  content: "";
  background: rgba(143, 255, 155, 0.78);
}

.lb-scroll-story__xray-reticle::before {
  top: 50%;
  right: -28px;
  left: -28px;
  height: 1px;
}

.lb-scroll-story__xray-reticle::after {
  top: -28px;
  bottom: -28px;
  left: 50%;
  width: 1px;
}

.lb-scroll-story__xray-reticle i::before {
  inset: 36px;
  border: 1px solid rgba(143, 255, 155, 0.58);
  border-radius: 50%;
  background: transparent;
}

.lb-scroll-story__xray-reticle i::after {
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px rgba(143, 255, 155, 0.9);
}

@keyframes lb-xray-scan {
  from { top: 8%; }
  to { top: 92%; }
}

.lb-scroll-story__status {
  position: absolute;
  z-index: 4;
  top: clamp(22px, 4vw, 54px);
  right: clamp(22px, 4vw, 64px);
  display: grid;
  grid-template-columns: auto 42px minmax(112px, auto);
  align-items: center;
  gap: 12px;
  color: rgba(255, 253, 248, 0.88);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.92);
}

.lb-scroll-story__status-rule {
  display: block;
  height: 1px;
  background: #dfb36d;
}

.lb-scroll-story__timeline {
  --lb-timeline-panel-width: clamp(188px, 14vw, 224px);
  position: absolute;
  z-index: 7;
  top: clamp(94px, 13vh, 142px);
  right: clamp(12px, 2vw, 30px);
  bottom: clamp(48px, 8vh, 84px);
  width: 36px;
  min-height: 360px;
  color: #f4f1e9;
  pointer-events: auto;
  user-select: none;
  transition: width 220ms ease;
}

.lb-scroll-story__timeline::before {
  position: absolute;
  inset: -10px -6px -10px -12px;
  border: 1px solid rgba(255, 253, 248, 0.13);
  border-left-color: rgba(223, 179, 109, 0.66);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(7, 13, 15, 0.46), rgba(7, 13, 15, 0.24));
  box-shadow:
    inset 14px 0 28px rgba(0, 0, 0, 0.14),
    0 18px 48px rgba(0, 0, 0, 0.28);
  content: "";
  opacity: 0;
  transform: translateX(12px);
  transition: opacity 180ms ease, transform 220ms ease;
  pointer-events: none;
  -webkit-backdrop-filter: blur(7px) saturate(0.88) brightness(0.78);
  backdrop-filter: blur(7px) saturate(0.88) brightness(0.78);
}

.lb-scroll-story__timeline:hover,
.lb-scroll-story__timeline:focus-within,
.lb-scroll-story__timeline[data-dragging="true"] {
  width: var(--lb-timeline-panel-width);
}

.lb-scroll-story__timeline:hover::before,
.lb-scroll-story__timeline:focus-within::before,
.lb-scroll-story__timeline[data-dragging="true"]::before {
  opacity: 1;
  transform: translateX(0);
}

.lb-scroll-story__timeline-axis {
  position: absolute;
  z-index: 2;
  top: 28px;
  right: 1px;
  bottom: 28px;
  width: 26px;
  min-height: 260px;
  touch-action: none;
  cursor: ns-resize;
}

.lb-scroll-story__timeline-axis:focus-visible {
  border-radius: 4px;
  outline: 2px solid rgba(223, 179, 109, 0.72);
  outline-offset: 3px;
}

.lb-scroll-story__timeline-rail,
.lb-scroll-story__timeline-fill {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
  transform-origin: top center;
}

.lb-scroll-story__timeline-rail {
  background: rgba(255, 255, 255, 0.28);
}

.lb-scroll-story__timeline-fill {
  height: calc(var(--lb-story-progress) * 100%);
  background: #dfb36d;
  box-shadow: 0 0 10px rgba(223, 179, 109, 0.42);
}

.lb-scroll-story__timeline-thumb {
  position: absolute;
  top: calc(var(--lb-story-progress) * 100%);
  left: 50%;
  width: 14px;
  height: 14px;
  border: 2px solid #fffdf8;
  border-radius: 50%;
  background: #dfb36d;
  box-shadow: 0 0 0 3px rgba(10, 15, 16, 0.76), 0 0 14px rgba(223, 179, 109, 0.48);
  transform: translate(-50%, -50%);
  transition: width 160ms ease, height 160ms ease, opacity 160ms ease;
}

.lb-scroll-story__timeline[data-dragging="true"] .lb-scroll-story__timeline-thumb {
  width: 18px;
  height: 18px;
}

.lb-scroll-story__timeline[data-locked="true"] .lb-scroll-story__timeline-axis {
  cursor: progress;
}

.lb-scroll-story__timeline[data-locked="true"] .lb-scroll-story__timeline-thumb {
  opacity: 0.48;
}

.lb-scroll-story__timeline[data-denied="true"] .lb-scroll-story__timeline-thumb {
  box-shadow: 0 0 0 4px rgba(223, 179, 109, 0.24), 0 0 20px rgba(223, 179, 109, 0.72);
}

.lb-scroll-story__timeline-labels {
  position: absolute;
  z-index: 1;
  inset: 28px 36px 28px 0;
  margin: 0;
  padding: 0;
  list-style: none;
  opacity: 0;
  transform: translateX(12px);
  transition: opacity 150ms ease, transform 220ms ease;
  pointer-events: none;
}

.lb-scroll-story__timeline:hover .lb-scroll-story__timeline-labels,
.lb-scroll-story__timeline:focus-within .lb-scroll-story__timeline-labels,
.lb-scroll-story__timeline[data-dragging="true"] .lb-scroll-story__timeline-labels {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.lb-scroll-story__timeline-labels li {
  position: absolute;
  top: calc(var(--lb-stage-position) * 100%);
  right: 0;
  width: 100%;
  transform: translateY(-50%);
}

.lb-scroll-story__timeline-labels button {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 6px;
  width: 100%;
  min-height: 44px;
  padding: 5px 6px;
  border: 0;
  border-right: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 0;
  background: transparent;
  color: rgba(244, 241, 233, 0.62);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.lb-scroll-story__timeline-labels button::after {
  position: absolute;
  top: 50%;
  right: -11px;
  width: 10px;
  height: 1px;
  background: currentColor;
  content: "";
}

.lb-scroll-story__timeline-labels button:hover,
.lb-scroll-story__timeline-labels button:focus-visible {
  border-right-color: #dfb36d;
  background: rgba(255, 255, 255, 0.055);
  color: #fffdf8;
  outline: none;
}

.lb-scroll-story__timeline-labels button.is-active {
  border-right-color: #dfb36d;
  color: #fffdf8;
}

.lb-scroll-story__timeline-labels button.is-complete .lb-scroll-story__timeline-number {
  color: #dfb36d;
}

.lb-scroll-story__timeline-number {
  padding-top: 2px;
  color: rgba(223, 179, 109, 0.56);
  font-size: 0.68rem;
  font-weight: 760;
  line-height: 1.2;
}

.lb-scroll-story__timeline-copy {
  display: block;
  min-width: 0;
}

.lb-scroll-story__timeline-copy strong,
.lb-scroll-story__timeline-copy small {
  display: block;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.lb-scroll-story__timeline-copy strong {
  font-size: 0.78rem;
  font-weight: 740;
  line-height: 1.2;
  text-transform: uppercase;
}

.lb-scroll-story__timeline-copy small {
  margin-top: 3px;
  color: rgba(244, 241, 233, 0.58);
  font-size: 0.66rem;
  line-height: 1.25;
}

.lb-scroll-story__timeline-hint {
  position: absolute;
  right: 36px;
  bottom: 0;
  width: calc(100% - 36px);
  margin: 0;
  color: rgba(244, 241, 233, 0.62);
  font-size: 0.66rem;
  font-weight: 650;
  line-height: 1.2;
  text-align: right;
  opacity: 0;
  transform: translateX(12px);
  transition: opacity 150ms ease, transform 220ms ease;
  pointer-events: none;
}

.lb-scroll-story__timeline:hover .lb-scroll-story__timeline-hint,
.lb-scroll-story__timeline:focus-within .lb-scroll-story__timeline-hint,
.lb-scroll-story__timeline[data-dragging="true"] .lb-scroll-story__timeline-hint {
  opacity: 1;
  transform: translateX(0);
}

.lb-scroll-story__progress {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.16);
}

.lb-scroll-story__progress-fill {
  display: block;
  width: calc(var(--lb-story-progress) * 100%);
  height: 100%;
  background: #dfb36d;
  transform-origin: left center;
}

.lb-scroll-story__fallback {
  position: absolute;
  z-index: 3;
  inset: auto 24px 24px;
  margin: 0;
  color: #fffdf8;
  font-size: 0.9rem;
  text-align: center;
}

@media (max-height: 650px) and (min-width: 900px) {
  .lb-scroll-story__intro {
    top: 44px;
    bottom: auto;
    left: 56px;
    width: min(620px, calc(100vw - 112px));
  }

  .lb-scroll-story__headline,
  .lb-scroll-story h2.lb-scroll-story__headline {
    max-width: 600px;
    font-size: 2.85rem;
    line-height: 0.98;
  }

  .lb-scroll-story__eyebrow {
    margin-bottom: 8px;
  }

  .lb-scroll-story__lede {
    max-width: 520px;
    margin-top: 10px;
    font-size: 0.88rem;
    line-height: 1.35;
  }

  .lb-scroll-story__intro[data-lb-phase-intro="0"] {
    top: auto;
    bottom: 20px;
  }

  .lb-scroll-story__timeline {
    top: 76px;
    bottom: 28px;
    min-height: 300px;
  }

  .lb-scroll-story__timeline-labels button {
    min-height: 42px;
  }
}

@media (max-width: 720px) {
  .lb-scroll-story__stage {
    min-height: 480px;
  }

  .lb-scroll-story__video {
    object-fit: cover;
    object-position: center 58%;
    transform: none;
  }

  .lb-scroll-story__park-frame img {
    object-position: center 58%;
  }

  .lb-scroll-story__park-frame {
    transform: none;
  }

  .lb-scroll-story__status {
    right: auto;
    left: 20px;
    grid-template-columns: auto 28px minmax(96px, auto);
    gap: 8px;
  }

  .lb-scroll-story__intro {
    left: 16px;
    right: 42px;
    bottom: max(20px, env(safe-area-inset-bottom));
    width: auto;
    min-width: 0;
    max-width: none;
    padding: 14px 16px;
  }

  .lb-scroll-story__intro::before {
    -webkit-mask-image: linear-gradient(90deg, #000 0 78%, rgba(0, 0, 0, 0.76) 90%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 0 78%, rgba(0, 0, 0, 0.76) 90%, transparent 100%);
  }

  .lb-scroll-story__headline,
  .lb-scroll-story h2.lb-scroll-story__headline {
    font-size: clamp(2.15rem, 10.8vw, 3.55rem);
  }

  .lb-scroll-story__lede {
    width: 100%;
    max-width: 100%;
    margin-top: 13px;
    font-size: clamp(0.88rem, 4.1vw, 1rem);
    line-height: 1.42;
    overflow-wrap: break-word;
    white-space: normal;
  }

  .lb-scroll-story__eyebrow {
    margin-bottom: 9px;
    font-size: 0.68rem;
  }

  .lb-scroll-story__xray {
    inset: 16px;
  }

  .lb-scroll-story__timeline {
    --lb-timeline-panel-width: min(190px, calc(100vw - 20px));
    top: 92px;
    right: 10px;
    bottom: 50px;
    width: 34px;
    min-height: 330px;
  }

  .lb-scroll-story__timeline::before {
    left: -10px;
  }

  .lb-scroll-story__timeline-labels {
    right: 34px;
  }

  .lb-scroll-story__timeline-copy strong {
    font-size: 0.72rem;
  }

  .lb-scroll-story__timeline-copy small,
  .lb-scroll-story__timeline-hint {
    font-size: 0.62rem;
  }

}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .lb-scroll-story__intro::before {
    background: linear-gradient(90deg, rgba(6, 10, 10, 0.9), rgba(6, 10, 10, 0.58) 72%, transparent);
  }

  .lb-scroll-story__timeline::before {
    background: rgba(6, 10, 10, 0.72);
  }
}

@media (prefers-contrast: more) {
  .lb-scroll-story {
    --lb-copy-glass: rgba(0, 0, 0, 0.94);
    --lb-copy-glass-soft: rgba(0, 0, 0, 0.78);
  }

  .lb-scroll-story__intro::before {
    background:
      radial-gradient(ellipse at 16% 48%, var(--lb-copy-glass) 0 36%, var(--lb-copy-glass-soft) 64%, transparent 100%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.46) 72%, transparent);
    border-left-width: 2px;
    -webkit-mask-image: linear-gradient(90deg, #000 0 82%, rgba(0, 0, 0, 0.85) 94%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 0 82%, rgba(0, 0, 0, 0.85) 94%, transparent 100%);
  }
}

@media (forced-colors: active) {
  .lb-scroll-story__intro::before {
    border: 1px solid CanvasText;
    background: Canvas;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .lb-scroll-story__eyebrow,
  .lb-scroll-story__headline,
  .lb-scroll-story__lede {
    color: CanvasText;
    text-shadow: none;
    -webkit-text-stroke: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lb-scroll-story {
    height: 100svh;
  }

  .lb-scroll-story__intro {
    opacity: 1;
    transform: none;
  }

  .lb-scroll-story__intro:not(.is-active),
  .lb-scroll-story__xray {
    display: none;
  }

  .lb-scroll-story__status,
  .lb-scroll-story__progress,
  .lb-scroll-story__timeline {
    display: none;
  }
}
