/* 360Preventa official landing — premium product site */

:root {
  --lp-bg: #050505;
  --lp-bg-elevated: #0a0a0a;
  --lp-fg: rgba(255, 255, 255, 0.88);
  --lp-fg-muted: rgba(255, 255, 255, 0.42);
  --lp-fg-faint: rgba(255, 255, 255, 0.22);
  --lp-line: rgba(255, 255, 255, 0.06);
  --lp-font: "Outfit", "Segoe UI", sans-serif;
  --lp-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --lp-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --lp-space: clamp(6rem, 18vh, 12rem);
  --lp-max: 42rem;
  --lp-max-wide: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  /* Helps proximity resolve more decisively toward scene centers */
  scroll-padding-block: 0;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--lp-font);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--lp-fg);
  background: var(--lp-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.lp-ambient {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background: var(--lp-bg);
}

main,
.lp-top,
.lp-menu,
.lp-footer {
  position: relative;
  z-index: 1;
}

.lp-story {
  position: relative;
  z-index: 1;
}

/* ——— Narrative scenes (scroll snap + chapter height) ——— */
.lp-scene {
  position: relative;
  isolation: isolate;
  scroll-snap-align: center;
  /* Prefer stopping on each chapter without skipping past in one gesture */
  scroll-snap-stop: always;
  /* Exact viewport height = stronger, more predictable proximity snap */
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  overflow: hidden;
}

/* Experiences / servicio may exceed one viewport on small screens */
.lp-scene#demos,
.lp-scene#servicio {
  height: auto;
  max-height: none;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: visible;
}

.lp-scene#demos {
  scroll-snap-stop: normal;
}

.lp-scene#servicio {
  scroll-snap-stop: always;
}

.lp-scene.lp-footer {
  height: auto;
  max-height: none;
  min-height: auto;
  overflow: visible;
  scroll-snap-stop: normal;
}

.lp-scene::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(
    ellipse 70% 50% at 50% 20%,
    rgba(255, 255, 255, 0.035),
    transparent 70%
  );
}

.lp-scene > * {
  position: relative;
  z-index: 1;
}

.lp-scene[data-lp-light="hero"]::before {
  background:
    radial-gradient(ellipse 65% 48% at 50% 18%, rgba(255, 255, 255, 0.055), transparent 68%),
    radial-gradient(ellipse 40% 30% at 50% 70%, rgba(255, 255, 255, 0.015), transparent 70%);
}

.lp-scene[data-lp-light="mensaje"]::before {
  background:
    radial-gradient(ellipse 60% 45% at 50% 45%, rgba(255, 255, 255, 0.04), transparent 68%),
    radial-gradient(ellipse 35% 30% at 70% 25%, rgba(255, 255, 255, 0.016), transparent 70%);
}

.lp-scene[data-lp-light="servicio"]::before {
  background:
    radial-gradient(ellipse 55% 45% at 22% 40%, rgba(255, 255, 255, 0.04), transparent 65%),
    radial-gradient(ellipse 40% 35% at 78% 70%, rgba(255, 255, 255, 0.018), transparent 70%);
}

.lp-scene[data-lp-light="demos"]::before {
  background:
    radial-gradient(ellipse 70% 40% at 50% 28%, rgba(255, 255, 255, 0.032), transparent 70%),
    radial-gradient(ellipse 50% 40% at 50% 85%, rgba(255, 255, 255, 0.02), transparent 72%);
}

.lp-scene[data-lp-light="footer"]::before {
  background: radial-gradient(ellipse 50% 40% at 50% 80%, rgba(255, 255, 255, 0.02), transparent 70%);
}

/* ——— Top menu button ——— */
.lp-top {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 40;
  padding: max(1.1rem, env(safe-area-inset-top)) max(1.1rem, env(safe-area-inset-right)) 1rem 1rem;
}

.lp-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--lp-line);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  cursor: pointer;
  color: var(--lp-fg);
  transition: border-color 0.35s var(--lp-ease), background 0.35s var(--lp-ease);
}

.lp-menu-btn:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(12, 12, 12, 0.72);
}

.lp-menu-btn__lines,
.lp-menu-btn__lines::before,
.lp-menu-btn__lines::after {
  display: block;
  width: 14px;
  height: 1px;
  background: rgba(255, 255, 255, 0.72);
  transition: transform 0.35s var(--lp-ease), opacity 0.25s ease;
}

.lp-menu-btn__lines { position: relative; }

.lp-menu-btn__lines::before,
.lp-menu-btn__lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.lp-menu-btn__lines::before { top: -5px; }
.lp-menu-btn__lines::after { top: 5px; }

.lp-menu-btn[aria-expanded="true"] .lp-menu-btn__lines {
  background: transparent;
}

.lp-menu-btn[aria-expanded="true"] .lp-menu-btn__lines::before {
  top: 0;
  transform: rotate(45deg);
}

.lp-menu-btn[aria-expanded="true"] .lp-menu-btn__lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.lp-menu__backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.3s var(--lp-ease);
}

.lp-menu__backdrop.is-open { opacity: 1; }

.lp-menu {
  position: fixed;
  top: max(4.5rem, calc(env(safe-area-inset-top) + 3.5rem));
  right: max(1.1rem, env(safe-area-inset-right));
  z-index: 35;
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  filter: blur(4px);
  transition:
    opacity 0.35s var(--lp-ease),
    transform 0.35s var(--lp-ease),
    filter 0.35s var(--lp-ease);
  pointer-events: none;
}

.lp-menu.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  pointer-events: auto;
}

.lp-menu__panel {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 11.5rem;
  padding: 0.55rem;
  border: 1px solid var(--lp-line);
  border-radius: 16px;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(24px) saturate(120%);
  -webkit-backdrop-filter: blur(24px) saturate(120%);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.lp-menu__panel a,
.lp-menu__action {
  display: block;
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--lp-fg-muted);
  text-align: left;
  text-decoration: none;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease;
}

.lp-menu__panel a:hover,
.lp-menu__action:hover {
  color: var(--lp-fg);
  background: rgba(255, 255, 255, 0.04);
}

/* ——— Hero ——— */
.lp-hero {
  position: relative;
  padding: 6rem 1.5rem 4rem;
  text-align: center;
}

.lp-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 28rem;
  padding: 2rem 0 3rem;
}

.lp-hero__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3.5rem;
  background: transparent;
  border: none;
  box-shadow: none;
}

.lp-hero__logo {
  display: block;
  width: clamp(124px, 26vw, 168px);
  height: auto;
  background: transparent !important;
  border: none;
  box-shadow: none;
  transform: none;
  animation: lp-glow-breathe 3.5s ease-in-out infinite;
  will-change: filter;
}

@keyframes lp-glow-breathe {
  0%, 100% {
    filter:
      drop-shadow(0 0 0 rgba(255, 255, 255, 0))
      drop-shadow(0 0 10px rgba(255, 255, 255, 0.04));
  }
  50% {
    filter:
      drop-shadow(0 0 0.5px rgba(255, 255, 255, 0.22))
      drop-shadow(0 0 22px rgba(255, 255, 255, 0.12));
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-hero__logo {
    animation: none;
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.07));
  }
  html {
    scroll-behavior: auto;
    scroll-snap-type: none;
  }
}

/* Desktop narrative lock during menu jumps — prevents snap fighting scrollIntoView */
html.lp-nav-lock {
  scroll-snap-type: none !important;
}

html.lp-nav-lock .lp-scene {
  scroll-snap-align: none;
  scroll-snap-stop: normal;
}

/* Mobile: natural page scroll — no snap interference with menu navigation */
@media (max-width: 900px) {
  html {
    scroll-snap-type: none;
  }

  .lp-scene {
    scroll-snap-align: none;
    scroll-snap-stop: normal;
    height: auto;
    max-height: none;
    min-height: min(100dvh, 100vh);
    overflow: visible;
  }

  .lp-scene#demos,
  .lp-scene#servicio,
  .lp-scene.lp-footer {
    min-height: 0;
  }

  .lp-chapter {
    padding-top: clamp(4.5rem, 10vh, 7rem);
    padding-bottom: clamp(4.5rem, 10vh, 7rem);
  }
}

.lp-hero__headline {
  margin: 0 0 0.85rem;
  font-size: clamp(1.55rem, 4.2vw, 2.15rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--lp-fg);
}

.lp-hero__sub {
  margin: 0;
  font-size: clamp(0.78rem, 1.6vw, 0.92rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.45;
  color: var(--lp-fg-faint);
}

.lp-hero__lede {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--lp-fg-muted);
  max-width: 26rem;
}

.lp-hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.28));
  transform: translateX(-50%);
  opacity: 0.6;
  animation: lp-scroll-hint 2.8s var(--lp-ease) infinite;
}

@keyframes lp-scroll-hint {
  0%, 100% { opacity: 0.25; transform: translateX(-50%) scaleY(0.85); }
  50% { opacity: 0.55; transform: translateX(-50%) scaleY(1); }
}

/* ——— Sections as chapters ——— */
.lp-section {
  padding: clamp(5rem, 12vh, 9rem) 1.5rem;
}

.lp-chapter {
  /* Snap scenes are exactly one viewport; keep padding inside that height */
  padding-top: clamp(4rem, 12vh, 8rem);
  padding-bottom: clamp(4rem, 12vh, 8rem);
}

.lp-section__inner {
  max-width: var(--lp-max);
  margin: 0 auto;
  text-align: center;
  width: 100%;
}

.lp-section__inner--wide {
  max-width: var(--lp-max-wide);
}

.lp-kicker {
  margin: 0 0 1.5rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lp-fg-faint);
}

.lp-section__title {
  margin: 0 0 2.75rem;
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--lp-fg);
}

.lp-section__title--demos {
  margin-bottom: 0.85rem;
}

.lp-section__lede {
  margin: 0 auto 2.75rem;
  max-width: 32rem;
  font-size: clamp(0.92rem, 1.8vw, 1.05rem);
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.48);
}

.lp-statement {
  margin: 0 auto 3.75rem;
  max-width: 28rem;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: -0.015em;
  color: rgba(255, 255, 255, 0.72);
}

/* Same typographic system as Servicio statement — no extra hierarchy */
.lp-statement--solo {
  margin-bottom: 0;
}

/* Service feature blocks — airy, not heavy cards */
.lp-features {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.75rem 2.5rem;
  max-width: 34rem;
  text-align: left;
}

.lp-feature {
  display: flex;
  gap: 0.95rem;
  align-items: flex-start;
}

.lp-feature__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-top: 0.1rem;
  color: rgba(255, 255, 255, 0.45);
}

.lp-feature__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.lp-feature__title {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.88);
}

.lp-feature__desc {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--lp-fg-muted);
}

@media (max-width: 560px) {
  .lp-features {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 22rem;
  }
}

/* ——— Pricing (used inside modal) ——— */
.lp-pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--lp-line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--lp-line);
}

.lp-modal .lp-pricing {
  margin-top: 0.5rem;
}

.lp-plan {
  padding: 2rem 1.25rem;
  background: var(--lp-bg-elevated);
  text-align: center;
}

.lp-plan--featured {
  background: #0d0d0d;
}

.lp-plan__name {
  margin: 0 0 1.25rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.lp-plan__price {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--lp-fg);
}

.lp-plan__note {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lp-fg-faint);
}

@media (max-width: 720px) {
  .lp-pricing { grid-template-columns: 1fr; }
}

/* ——— Projects (premium experiences) ——— */
.lp-projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.lp-projects__loading,
.lp-projects__empty {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--lp-fg-muted);
  font-size: 0.9rem;
  font-weight: 300;
}

.lp-project {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  overflow: hidden;
  background: #080808;
  text-align: left;
  transition:
    border-color 0.55s var(--lp-ease),
    transform 0.55s var(--lp-ease),
    box-shadow 0.55s var(--lp-ease);
}

.lp-project:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 28px 56px rgba(0, 0, 0, 0.45);
}

.lp-project__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0c0c0c;
}

.lp-project__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.35), transparent 45%);
  pointer-events: none;
  opacity: 0.7;
}

.lp-project__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.92;
  transform: scale(1);
  transition: transform 0.9s var(--lp-ease), opacity 0.6s ease;
}

.lp-project:hover .lp-project__media img {
  transform: scale(1.035);
  opacity: 1;
}

.lp-project__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.45rem 1.4rem 1.55rem;
}

.lp-project__name {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 450;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.94);
}

.lp-project__desc {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--lp-fg-muted);
  max-width: 28ch;
}

.lp-project__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.35rem;
  padding: 0.65rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.82);
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    color 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease,
    transform 0.35s var(--lp-ease);
}

.lp-project__cta span[aria-hidden] {
  font-size: 0.95rem;
  line-height: 1;
  opacity: 0.7;
  transition: transform 0.35s var(--lp-ease), opacity 0.35s ease;
}

.lp-project:hover .lp-project__cta {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.06);
}

.lp-project:hover .lp-project__cta span[aria-hidden] {
  transform: translateX(2px);
  opacity: 1;
}

@media (max-width: 960px) {
  .lp-projects {
    grid-template-columns: 1fr;
    max-width: 26rem;
    margin-inline: auto;
  }
}

/* ——— Chat (styles moved to /css/platform/product-assistant.css) ——— */

.lp-advisor {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 0.7rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.lp-advisor:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.03);
}

.lp-advisor.is-noted {
  color: var(--lp-fg-muted);
  border-color: var(--lp-line);
  cursor: default;
}

/* ——— Prices modal ——— */
body.lp-modal-open {
  overflow: hidden;
}

.lp-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--lp-ease-out);
}

.lp-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lp-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lp-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  padding: 1.75rem 1.5rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(12, 12, 12, 0.94);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.5);
  text-align: center;
  transform: scale(0.96);
  transition: transform 0.32s var(--lp-ease-out);
}

.lp-modal.is-open .lp-modal__dialog {
  transform: scale(1);
}

.lp-modal__title {
  margin: 0 0 1.5rem;
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--lp-fg);
}

.lp-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.9rem;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.45);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease;
}

.lp-modal__close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 640px) {
  .lp-modal .lp-pricing {
    grid-template-columns: 1fr;
  }
}

/* ——— Footer ——— */
.lp-footer {
  min-height: auto;
  padding: clamp(5rem, 14vh, 9rem) 1.5rem 3rem;
  border-top: 1px solid var(--lp-line);
}

.lp-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem 0.65rem;
  max-width: var(--lp-max);
  margin: 0 auto;
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--lp-fg-faint);
}

.lp-footer__brand {
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.38);
}

.lp-footer__copy {
  width: 100%;
  text-align: center;
  margin-top: 0.35rem;
  letter-spacing: 0.04em;
}

/* ——— Reveal: staged scene entrance ——— */
.lp-scene [data-lp-stage] {
  opacity: 0;
  transform: translateY(40px) scale(0.987);
  filter: blur(8px);
  transition:
    opacity 0.8s var(--lp-ease-out),
    transform 0.8s var(--lp-ease-out),
    filter 0.8s var(--lp-ease-out);
  will-change: opacity, transform, filter;
}

.lp-scene.is-in [data-lp-stage="1"] { transition-delay: 0ms; }
.lp-scene.is-in [data-lp-stage="2"] { transition-delay: 100ms; }
.lp-scene.is-in [data-lp-stage="3"] { transition-delay: 200ms; }
.lp-scene.is-in [data-lp-stage="4"] { transition-delay: 300ms; }
.lp-scene.is-in [data-lp-stage="5"] { transition-delay: 400ms; }

.lp-scene.is-in [data-lp-stage] {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Project cards stagger inside stage 3 once scene is live */
.lp-project.lp-reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.987);
  filter: blur(8px);
  transition:
    opacity 0.75s var(--lp-ease-out),
    transform 0.75s var(--lp-ease-out),
    filter 0.75s var(--lp-ease-out);
  transition-delay: var(--lp-stagger, 0ms);
  will-change: opacity, transform, filter;
}

.lp-project.lp-reveal.is-in {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  .lp-scene [data-lp-stage],
  .lp-project.lp-reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
  .lp-hero__scroll,
  .lp-project:hover {
    animation: none;
    transform: none;
  }
}
