/* Slide base - shared styles for all Evolve slides.
   Each slide is 1920x1080, full-bleed, no chrome.
   It auto-scales to fit the viewport (so a card preview
   at 1280x720 shows the whole frame). */

@import url('../assets/colors_and_type.css');

html, body {
  margin: 0;
  padding: 0;
  background: #000;
  overflow: hidden;
  height: 100%;
}

.slide-stage {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  place-content: center;   /* centre the oversized 1920×1080 track within the viewport */
  overflow: hidden;
  background: #000;
}

.slide {
  /* Canonical slide dimensions */
  width: 1920px;
  height: 1080px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  transform-origin: center center;
  /* JS will set scale via inline style */
}

/* Layout helpers used across slides */
.slide .frame {
  position: absolute;
  inset: 0;
  padding: 96px 128px 220px;   /* bottom reserves the footer bar */
  display: flex;
  flex-direction: column;
  color: #fff;
}

.slide .frame.light {
  color: var(--ink-900);
  background: var(--paper);
}

.slide .frame.dark {
  background: var(--space-800);
}

.slide .frame.hero-bg {
  background: var(--grad-hero);
}

.slide .particle-overlay {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 0;
}
/* Keep slide content above the particle overlay so blend mode
   doesn't wash out solid-fill buttons / cards. */
.slide .frame > *:not(.particle-overlay):not(.meta-row) {
  position: relative;
  z-index: 1;
}
.slide .meta-row { z-index: 2; }

.slide .eyebrow {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--evolve-violet-400);
  margin-bottom: 36px;
}

.slide .eyebrow.violet { color: var(--evolve-violet); }
.slide .eyebrow.cyan   { color: var(--cyan-glow); }

.slide .h1 {
  font-family: var(--ff-display);
  font-weight: 300;
  font-size: 116px;
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0;
}

.slide .h2 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: 72px;
  line-height: 1.08;
  letter-spacing: -0.005em;
  margin: 0;
}

.slide .h3 {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 40px;
  line-height: 1.15;
  margin: 0;
}

.slide .lede {
  font-family: var(--ff-body);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  max-width: 1100px;
}
.slide .frame.light .lede { color: var(--fg-2); }

.slide .body {
  font-family: var(--ff-body);
  font-size: 22px;
  line-height: 1.6;
  color: rgba(255,255,255,0.72);
}
.slide .frame.light .body { color: var(--fg-2); }

.slide .meta-row {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 128px;
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.10);
  font-family: var(--ff-display);
  font-size: 18px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.70);
}
.slide .frame.light .meta-row {
  /* same black bar across all slides for consistency */
  color: rgba(255,255,255,0.70);
  border-top-color: rgba(255,255,255,0.10);
}

.slide .meta-row .brand-stamp {
  display: flex;
  align-items: center;
  gap: 14px;
}
.slide .meta-row .brand-stamp img {
  height: 78px;
  display: block;
}

.slide .stat-big {
  font-family: var(--ff-display);
  font-weight: 300;
  font-size: 220px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--evolve-violet-400);
}
.slide .frame.light .stat-big { color: var(--evolve-violet); }
