/* ── Cinematic Trading Scene ────────────────────────────────────────────── */

.cinematic-wrapper {
  height: 320vh;
  position: relative;
}

.cinematic-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  /* background removed — canvas is now position:fixed behind all content */
}

/* #trade-canvas position rule removed — handled by cinematic-fullpage.css */

/* ── Overlay ────────────────────────────────────────────────────────────── */

.cinematic-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 10;
}

.cinematic-stage {
  position: absolute;
  text-align: center;
  padding: 2rem;
  max-width: 700px;
  width: 100%;
  will-change: opacity, transform;
}

.cinematic-stage--3 {
  pointer-events: auto;
}

/* ── Typography inside stages ───────────────────────────────────────────── */

.cinematic-eyebrow {
  font-family: var(--font-body-face), sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #3db87a;
  margin: 0 0 1.1rem;
}

.cinematic-headline {
  font-family: var(--font-display-face), Georgia, serif;
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  font-weight: 700;
  color: #edf8f3;
  line-height: 1.12;
  margin: 0;
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.6);
}

.cinematic-headline span {
  color: #3db87a;
}

/* ── Stats grid — act 2 ─────────────────────────────────────────────────── */

.cinematic-stat-grid {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cinematic-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.cinematic-stat-num {
  font-family: var(--font-display-face), serif;
  font-size: clamp(2.2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  color: #3db87a;
  line-height: 1;
  text-shadow: 0 0 20px rgba(61, 184, 122, 0.4);
}

.cinematic-stat-label {
  font-family: var(--font-body-face), sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7ab89a;
}

/* ── CTA — act 3 ────────────────────────────────────────────────────────── */

.cinematic-cta-text {
  font-family: var(--font-display-face), serif;
  font-size: clamp(1.6rem, 3.5vw, 2.75rem);
  color: #edf8f3;
  margin: 0 0 1.75rem;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

/* ── Scroll hint ────────────────────────────────────────────────────────── */

.cinematic-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: cine-float 2.4s ease-in-out infinite;
}

.cinematic-scroll-hint-text {
  font-family: var(--font-body-face), sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5a9478;
}

.cinematic-scroll-hint-line {
  width: 1px;
  height: 2.25rem;
  background: linear-gradient(to bottom, transparent, #228b5e);
}

@keyframes cine-float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(7px); }
}

/* ── Label chip on section entry ────────────────────────────────────────── */

.cinematic-section-label {
  position: absolute;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  font-family: var(--font-body-face), sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3db87a;
  background: rgba(10, 31, 23, 0.7);
  border: 1px solid rgba(34, 139, 94, 0.3);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  backdrop-filter: blur(8px);
  white-space: nowrap;
}

/* ── Reduced motion fallback ────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .cinematic-scroll-hint { animation: none; }
  .cinematic-wrapper     { height: auto; }
  .cinematic-sticky {
    position: relative;
    height: 80vh;
    min-height: 520px;
  }
}
