/*!
 * LiteSlider styles
 * All motion runs on transform/opacity only — cheap on mobile GPUs.
 * Respects prefers-reduced-motion.
 */
.ls {
  --ls-speed: 700ms;
  --ls-ease: cubic-bezier(.4, 0, .2, 1);
  --ls-accent: #F4B942;
  --ls-arrow-size: 44px;
  --ls-gutter: clamp(20px, 5vw, 72px);

  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0b1120;
  outline: none;
  isolation: isolate;
}
.ls * { box-sizing: border-box; }

.ls-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.ls-effect-slide .ls-track { display: flex; width: 100%; height: 100%; will-change: transform; }
.ls-effect-slide .ls-slide { flex: 0 0 100%; position: relative; height: 100%; }
.ls-effect-slide .ls-slide:not(.ls-effect-slide) {}

.ls-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--ls-speed) var(--ls-ease), visibility 0s linear var(--ls-speed);
}
.ls-effect-slide .ls-slide { position: relative; opacity: 1; visibility: visible; pointer-events: auto; transition: none; }

.ls-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity var(--ls-speed) var(--ls-ease), visibility 0s linear 0s;
  z-index: 2;
}

.ls-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #10182b;
}
.ls-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform calc(var(--ls-speed) * 1.6) var(--ls-ease);
}
.ls-slide.is-active .ls-img { transform: scale(1); }

/* Zoom effect: image starts slightly zoomed OUT and settles in on activation */
.ls-effect-zoom .ls-img { transform: scale(1); opacity: 0; }
.ls-effect-zoom .ls-slide.is-active .ls-img { transform: scale(1.08); opacity: 1; transition: transform calc(var(--ls-speed) * 2.2) var(--ls-ease), opacity var(--ls-speed) ease; }

/* Ken Burns: slow continuous drift while a slide is active */
.ls-effect-kenburns .ls-img { transform: scale(1.02); transition: none; }
.ls-effect-kenburns .ls-slide.is-active .ls-img {
  animation: ls-kenburns 9s ease-out forwards;
}
@keyframes ls-kenburns {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to   { transform: scale(1.16) translate3d(-1.5%, -1.5%, 0); }
}

.ls-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.ls-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .6em;
  padding: var(--ls-gutter);
  max-width: min(640px, 86%);
  color: #fff;
}
.ls-align-center { align-items: center; text-align: center; margin-inline: auto; }
.ls-align-right { align-items: flex-end; text-align: right; margin-left: auto; }
.ls-align-left { align-items: flex-start; text-align: left; }

.ls-block {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms var(--ls-ease), transform 600ms var(--ls-ease);
}
.ls-slide.is-active .ls-block {
  opacity: 1;
  transform: translateY(0);
}

.ls-block-eyebrow {
  font-size: .8rem;
  letter-spacing: .04em;
  color: var(--ls-accent);
}
.ls-block-heading {
  font-size: clamp(1.7rem, 4.5vw, 3.2rem);
  line-height: 1.08;
  margin: 0;
  font-weight: 600;
}
.ls-block-text {
  font-size: clamp(.95rem, 1.6vw, 1.15rem);
  line-height: 1.5;
  opacity: .92;
  max-width: 46ch;
}
.ls-block-button {
  display: inline-flex;
  align-items: center;
  margin-top: .3em;
  padding: .8em 1.6em;
  border-radius: 999px;
  background: var(--ls-accent);
  color: #14213d;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  transition: transform 200ms ease, background 200ms ease;
}
.ls-block-button:hover { transform: translateY(-2px); }

/* Arrows */
.ls-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: var(--ls-arrow-size);
  height: var(--ls-arrow-size);
  border: none;
  border-radius: 50%;
  background: rgba(10, 12, 20, .38);
  color: #fff;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 180ms ease;
}
.ls-arrow:hover { background: rgba(10, 12, 20, .6); }
.ls-arrow-prev { left: 16px; }
.ls-arrow-next { right: 16px; }
.ls-arrow-prev::before, .ls-arrow-next::before {
  content: '';
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}
.ls-arrow-prev::before { transform: rotate(-135deg) translate(1px, -1px); }
.ls-arrow-next::before { transform: rotate(45deg) translate(-1px, -1px); }

/* Dots */
.ls-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.ls-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .4);
  cursor: pointer;
  padding: 0;
  transition: background 180ms ease, transform 180ms ease;
}
.ls-dot.is-active { background: #fff; transform: scale(1.3); }

/* Mobile optimization */
@media (max-width: 640px) {
  .ls { aspect-ratio: 3 / 4; }
  .ls-content { max-width: 100%; padding: 20px 22px; }
  .ls-block-text { max-width: 32ch; }
  .ls-arrow { display: none; } /* swipe replaces arrows on touch widths */
}

@media (prefers-reduced-motion: reduce) {
  .ls-img, .ls-block, .ls-slide, .ls-track { transition: none !important; animation: none !important; }
}
