/* ── Insights cinematic discovery rail ── */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.insights-intro {
  max-width: 820px;
  margin: 0 auto;
  padding: 20px 24px 12px;
  text-align: center;
}
#insights {
  --insight-accent: var(--accent);
  padding-bottom: 48px;
  scroll-margin-top: 88px;
}
.insights-intro .section-kicker { margin-bottom: 8px; }
.insights-intro h2 {
  margin: 0 0 10px;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  letter-spacing: -0.02em;
  line-height: 1.18;
}
.insights-intro p {
  margin: 0 auto;
  max-width: 58ch;
  color: rgba(210, 228, 255, 0.78);
  font-size: 0.98rem;
  line-height: 1.55;
}

.insights-filter-status {
  text-align: center;
  margin: 0 24px 8px;
  min-height: 1.2em;
  font-size: 0.82rem;
  color: rgba(170, 190, 220, 0.7);
}

.insight-rail-shell {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px 40px;
  --insight-accent: #8fd3ff;
}

.insight-rail {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  min-height: clamp(280px, 36vw, 420px);
  perspective: 1400px;
}

.insight-rail-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(143, 211, 255, 0.28);
  background: rgba(8, 14, 26, 0.72);
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  transition: border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}
.insight-rail-nav:hover,
.insight-rail-nav:focus-visible {
  border-color: var(--insight-accent);
  background: rgba(20, 36, 58, 0.9);
  outline: none;
}
.insight-rail-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.insight-rail-stage {
  position: relative;
  height: clamp(260px, 34vw, 400px);
  outline: none;
  touch-action: pan-y;
}

.insight-rail-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(42%, 460px);
  aspect-ratio: 16 / 10;
  border: 0;
  padding: 0;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  color: inherit;
  text-align: left;
  background: #0a1220;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transform-origin: center center;
  transition:
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.55s ease,
    filter 0.55s ease,
    box-shadow 0.55s ease,
    border-color 0.35s ease;
  border: 1px solid rgba(143, 180, 230, 0.12);
  z-index: 1;
}
.insight-rail-card.is-prev {
  transform: translate(-118%, -46%) scale(0.88) rotate(-1.6deg);
  opacity: 0.72;
  filter: brightness(0.72) saturate(0.85);
  z-index: 2;
}
.insight-rail-card.is-next {
  transform: translate(18%, -46%) scale(0.88) rotate(1.6deg);
  opacity: 0.72;
  filter: brightness(0.72) saturate(0.85);
  z-index: 2;
}
.insight-rail-card.is-active {
  transform: translate(-50%, -52%) scale(1.14);
  opacity: 1;
  filter: none;
  z-index: 4;
  border-color: color-mix(in srgb, var(--insight-accent) 55%, transparent);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.42),
    0 0 0 1px color-mix(in srgb, var(--insight-accent) 35%, transparent),
    0 0 28px color-mix(in srgb, var(--insight-accent) 18%, transparent);
}
.insight-rail-card.is-hidden {
  transform: translate(-50%, -50%) scale(0.72);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}
.insight-rail-card:focus-visible {
  outline: 2px solid var(--insight-accent);
  outline-offset: 3px;
}

.insight-rail-card-media {
  position: absolute;
  inset: 0;
}
.insight-rail-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.insight-rail-card-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 28%, rgba(5, 10, 20, 0.82) 78%, rgba(5, 10, 20, 0.94) 100%);
  pointer-events: none;
}
.insight-rail-card.is-active .insight-rail-card-scrim {
  background:
    linear-gradient(180deg, transparent 34%, rgba(5, 10, 20, 0.55) 72%, rgba(5, 10, 20, 0.88) 100%);
}
.insight-rail-card-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 18px 18px;
  z-index: 2;
}
.insight-rail-card-cat {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--insight-accent) 85%, #fff);
  font-weight: 600;
  margin-bottom: 6px;
}
.insight-rail-card-copy h3 {
  margin: 0;
  font-size: clamp(0.92rem, 1.5vw, 1.15rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: #f2f6fb;
}
.insight-rail-card-deck {
  margin: 8px 0 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(220, 232, 248, 0.82);
  display: none;
}
.insight-rail-card.is-active .insight-rail-card-deck {
  display: block;
}

.insight-rail-progress {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 18px 0 8px;
  min-height: 18px;
}
.insight-rail-progress::before {
  content: "";
  position: absolute;
  left: max(12%, 40px);
  right: max(12%, 40px);
  top: 50%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    color-mix(in srgb, var(--insight-accent) 35%, rgba(148, 170, 200, 0.25)),
    transparent
  );
  pointer-events: none;
}
.insight-rail-dot {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.insight-rail-dot::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(148, 170, 200, 0.35);
  transition: width 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}
.insight-rail-dot.is-active::after {
  width: 28px;
  background: var(--insight-accent);
  box-shadow: 0 0 12px color-mix(in srgb, var(--insight-accent) 40%, transparent);
}
.insight-rail-dot.is-traversed::after {
  background: color-mix(in srgb, var(--insight-accent) 55%, rgba(148, 170, 200, 0.35));
}
.insight-rail-dot:focus-visible {
  outline: 2px solid var(--insight-accent);
  outline-offset: 3px;
}

.insight-rail-auto {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}
.insight-rail-auto-btn {
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(143, 211, 255, 0.22);
  background: rgba(8, 14, 26, 0.55);
  color: rgba(210, 228, 255, 0.85);
  font-size: 0.78rem;
  cursor: pointer;
}
.insight-rail-auto-btn[hidden] { display: none !important; }

.insight-feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 0;
  margin-top: -18px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(143, 180, 230, 0.14);
  background:
    linear-gradient(135deg, rgba(10, 16, 28, 0.92), rgba(8, 12, 22, 0.88));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  z-index: 1;
}
.insight-feature-media {
  position: relative;
  min-height: 320px;
  aspect-ratio: 16 / 11;
  background: #0a1220;
}
.insight-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 320px;
}
.insight-feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 55%, rgba(8, 12, 22, 0.55) 100%);
  pointer-events: none;
}
.insight-feature-body {
  padding: 36px 34px 34px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.insight-feature-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
}
.insight-feature-cat {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--insight-accent);
  font-weight: 600;
}
.insight-feature-num {
  font-size: 0.78rem;
  color: rgba(170, 190, 220, 0.75);
  font-variant-numeric: tabular-nums;
}
.insight-feature-body h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
}
.insight-feature-deck {
  margin: 0;
  color: rgba(210, 228, 255, 0.82);
  line-height: 1.55;
  font-size: 1.02rem;
}
.insight-feature-why {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid rgba(143, 180, 230, 0.12);
}
.insight-feature-why-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(170, 190, 220, 0.7);
  margin-bottom: 6px;
}
.insight-feature-why p {
  margin: 0;
  color: rgba(220, 232, 248, 0.88);
  line-height: 1.55;
  font-size: 0.95rem;
}
.insight-feature-time {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(170, 190, 220, 0.7);
}
.insight-feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

@media (max-width: 980px) {
  .insight-feature {
    grid-template-columns: 1fr;
    margin-top: 12px;
  }
  .insight-feature-media::after {
    background: linear-gradient(180deg, transparent 40%, rgba(8, 12, 22, 0.72) 100%);
  }
  .insight-feature-body { padding: 24px 22px 26px; }
  .insight-rail-card {
    width: min(68%, 420px);
  }
  .insight-rail-card.is-prev {
    transform: translate(-96%, -48%) scale(0.86) rotate(-1deg);
  }
  .insight-rail-card.is-next {
    transform: translate(0%, -48%) scale(0.86) rotate(1deg);
  }
  .insight-rail-card.is-active {
    transform: translate(-50%, -52%) scale(1.08);
  }
}

@media (max-width: 720px) {
  .insights-intro { padding: 22px 16px 12px; }
  .insight-filters { padding: 0 12px 12px; }
  .insight-rail-shell { padding: 0 8px 28px; }
  .insight-rail {
    min-height: 300px;
    gap: 4px;
  }
  .insight-rail-stage { height: 280px; }
  .insight-rail-card {
    width: min(78%, 360px);
  }
  .insight-rail-card.is-prev {
    transform: translate(-78%, -48%) scale(0.9) rotate(-0.8deg);
    opacity: 0.55;
  }
  .insight-rail-card.is-next {
    transform: translate(-18%, -48%) scale(0.9) rotate(0.8deg);
    opacity: 0.55;
  }
  .insight-rail-card.is-active {
    transform: translate(-50%, -50%) scale(1.05);
  }
  .insight-rail-card-deck { display: none !important; }
  .insight-feature-media,
  .insight-feature-media img { min-height: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  .insight-rail-card {
    transition: opacity 0.35s ease, filter 0.35s ease !important;
  }
  .insight-rail-card.is-prev,
  .insight-rail-card.is-next,
  .insight-rail-card.is-active,
  .insight-rail-card.is-hidden {
    transform: translate(-50%, -50%) scale(1) !important;
  }
  .insight-rail-card.is-prev,
  .insight-rail-card.is-next,
  .insight-rail-card.is-hidden {
    opacity: 0;
    pointer-events: none;
  }
  .insight-rail-card.is-active {
    opacity: 1;
  }
}
