/* ── Full-screen story sections ── */
.mkt-story-screen {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  background: var(--ylux-bg);
}

/* Hero — one screen below nav, copy dead center */
#mkt-hero.mkt-hero-text {
  min-height: calc(100svh - 5.5rem);
  min-height: calc(100dvh - 5.5rem);
  display: grid;
  place-items: center;
  padding: 0 var(--mkt-gutter);
  text-align: center;
}
.mkt-hero-text-inner {
  width: min(720px, 100%);
  margin: 0;
  text-align: center;
}
#mkt-hero .mkt-hero-luxe-headline {
  margin: 0 auto 20px !important;
  padding: 0;
  max-width: 100% !important;
  width: 100%;
  font-family: var(--ylux-font-editorial);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: 0.01em;
  color: var(--ylux-text);
  text-align: center !important;
}
#mkt-hero .mkt-hero-subline {
  margin: 0 auto 32px !important;
  padding: 0;
  max-width: 36ch !important;
  width: 100%;
  font-size: clamp(0.82rem, 1.5vw, 0.94rem);
  line-height: 1.75;
  letter-spacing: 0.05em;
  color: var(--ylux-text-s);
  text-align: center !important;
}
#mkt-hero .mkt-hero-luxe-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 0 auto !important;
  text-align: center;
}

/* Line rise — visible by default; animate only when JS enables motion (Safari-safe) */
.mkt-hero-line {
  display: block;
  opacity: 1;
  transform: none;
}
#mkt-hero .mkt-hero-subline .mkt-hero-line { display: inline-block; }
#mkt-hero .mkt-hero-subline .mkt-hero-line + .mkt-hero-line { margin-left: 0.28em; }

@keyframes mkt-hero-line-in {
  from { opacity: 0; transform: translateY(0.35em); }
  to { opacity: 1; transform: none; }
}
html.mkt-js.mkt-animate:not(.mkt-fallback) #mkt-hero .mkt-hero-line {
  animation: mkt-hero-line-in 0.75s var(--ylux-ease) forwards;
  animation-delay: calc(0.08s + (var(--mkt-line-i, 0) * 0.14s));
}
html.mkt-js.mkt-animate:not(.mkt-fallback) #mkt-hero .mkt-hero-luxe-ctas {
  animation: mkt-hero-line-in 0.7s var(--ylux-ease) forwards;
  animation-delay: 0.85s;
}

/* ── Act II: full screen — grid split video left, copy right ── */
#mkt-hero-cinema.mkt-story-video {
  min-height: calc(100svh - 5.5rem);
  min-height: calc(100dvh - 5.5rem);
  display: flex;
  align-items: center;
  padding: clamp(24px, 4vw, 48px) var(--mkt-gutter) clamp(56px, 10vw, 96px);
  background: var(--ylux-bg-subtle);
  box-sizing: border-box;
}
#mkt-hero-cinema .mkt-story-video-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  grid-template-areas: "stage copy";
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  box-sizing: border-box;
}
#mkt-hero-cinema .mkt-story-video-stage {
  grid-area: stage;
  min-width: 0;
}
#mkt-hero-cinema .mkt-story-video-copy {
  grid-area: copy;
  min-width: 0;
  text-align: center;
}
.mkt-story-video-lead {
  margin: 0 0 clamp(18px, 2.5vw, 24px);
  font-family: var(--ylux-font-editorial);
  font-size: clamp(1.5rem, 4.5vw, 2.55rem);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: 0.01em;
  color: var(--ylux-text);
}
.mkt-story-video-support {
  margin: 0 0 clamp(20px, 3vw, 28px);
  font-size: clamp(0.82rem, 1.35vw, 0.94rem);
  line-height: 1.75;
  letter-spacing: 0.04em;
  color: var(--ylux-text-s);
}
#mkt-hero-cinema .mkt-story-video-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0;
}

/* Desktop — center copy within the right column */
@media (min-width: 541px) {
  #mkt-hero-cinema .mkt-story-video-layout {
    align-items: stretch;
    min-height: calc(100dvh - 5.5rem - clamp(48px, 8vw, 96px));
  }
  #mkt-hero-cinema .mkt-story-video-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: clamp(16px, 3vw, 40px);
  }
  #mkt-hero-cinema .mkt-story-video-lead,
  #mkt-hero-cinema .mkt-story-video-support {
    text-align: center;
    max-width: 26em;
    width: 100%;
  }
  #mkt-hero-cinema .mkt-story-video-stage {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}
#mkt-hero-cinema .mkt-story-video-stage .mkt-hero-cinema-device {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
#mkt-hero-cinema .mkt-hero-device-bar {
  background: transparent;
  padding: 0 0 10px;
}
#mkt-hero-cinema .mkt-hero-device-title {
  color: var(--ylux-text-m);
}
#mkt-hero-cinema .mkt-hero-device-screen {
  padding: 0;
  background: transparent;
}
#mkt-hero-cinema .mkt-hero-device-screen .mkt-hero-frame {
  border-radius: 10px;
  box-shadow: var(--ylux-shadow);
  background: var(--ylux-bg2);
}
#mkt-hero-cinema .mkt-story-video-stage .mkt-hero-preview { width: 100%; }
#mkt-hero-cinema .mkt-story-video-stage .mkt-hero-frame {
  min-height: 200px;
  background: var(--ylux-bg2);
}
#mkt-hero-cinema .mkt-story-video-stage .mkt-hero-poster-layer {
  opacity: 1 !important;
  visibility: visible !important;
}
#mkt-hero-cinema .mkt-hero-luxe-device .mkt-hero-vid-footnote,
#mkt-hero-cinema .mkt-story-video-stage .mkt-hero-vid-footnote {
  margin: 12px auto 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  text-align: center !important;
  font-size: 0.68rem;
  line-height: 1.55;
  color: var(--ylux-text-m);
}
#mkt-hero-cinema .mkt-story-video-stage .mkt-hero-preview {
  width: 100%;
}

/* Social proof — ~¾ screen, content centered in section */
article.mkt-story > .mkt-proof {
  min-height: calc((100svh - 5.5rem) * 0.75);
  min-height: calc((100dvh - 5.5rem) * 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(56px, 8vw, 96px) var(--mkt-gutter);
  box-sizing: border-box;
}
article.mkt-story > .mkt-proof .mkt-wrap {
  width: min(var(--mkt-max), 100%);
  margin: 0 auto;
}

/* Small phones only — stack video then copy */
@media (max-width: 540px) {
  #mkt-hero-cinema .mkt-story-video-layout {
    grid-template-columns: 1fr;
    grid-template-areas: "stage" "copy";
  }
  #mkt-hero-cinema .mkt-story-video-copy,
  #mkt-hero-cinema .mkt-story-video-lead,
  #mkt-hero-cinema .mkt-story-video-support {
    text-align: center;
  }
  #mkt-hero-cinema .mkt-story-video-actions {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  #mkt-hero .mkt-hero-line,
  #mkt-hero .mkt-hero-luxe-ctas {
    animation: none;
    transform: none;
  }
  .mkt-story-video-stage .mkt-hero-cinema-device {
    transform: none !important;
    opacity: 1 !important;
  }
}
