/* ForMoviegoersScene — phone-in-parking-lot vignette
   --------------------------------------------------------- */

/* Lighting matches the AudienceIntelligence section on platform — a
   soft warm radial glow from the upper-right, plus faint horizontal
   guide lines that fade toward the bottom. Calm, calligraphic, no
   moving cones. */
.mmx-mg {
  position: relative;
  padding: clamp(90px, 12vw, 160px) 0 clamp(80px, 10vw, 140px);
  background:
    radial-gradient(ellipse at 75% 20%, rgba(226, 192, 107, 0.06), transparent 55%),
    var(--mm-ink);
  color: var(--mm-fg1);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.mmx-mg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 100% 88px;
  opacity: 0.18;
  pointer-events: none;
  mask: linear-gradient(to bottom, black, transparent 85%);
  -webkit-mask: linear-gradient(to bottom, black, transparent 85%);
}

.mmx-mg-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 64px);
  z-index: 1;
}

/* --- HEAD ---------------------------------------------------- */

.mmx-mg-head {
  text-align: center;
  max-width: 880px;
  margin: 0 auto clamp(48px, 6vw, 80px);
}
.mmx-mg-head .mmx-eyebrow { display: inline-block; margin-bottom: 20px; }

/* Split header: headline on the left, lead + closer on the right.
   Pulls the content out of a single vertical stream and into two
   columns so the section uses the horizontal space. */
.mmx-mg-head--split {
  text-align: left;
  max-width: 1240px;
  margin: 0 auto clamp(56px, 7vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}
@media (min-width: 900px) {
  .mmx-mg-head--split {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
    gap: clamp(56px, 7vw, 96px);
    align-items: end;
  }
}
.mmx-mg-head-l { display: flex; flex-direction: column; gap: 18px; }
.mmx-mg-head-r { display: flex; flex-direction: column; gap: 22px; }

.mmx-mg-headline {
  font-family: var(--mm-font-display, var(--mm-font-body, serif));
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0;
  text-wrap: balance;
  color: var(--mm-fg1);
}
.mmx-mg-headline-em {
  display: block;
  font-style: italic;
  background: linear-gradient(92deg, var(--mm-gold-bright, #f5dc94), var(--mm-gold, #e2c06b) 55%, var(--mm-gold-deep, #a97b1e));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-top: 6px;
  padding-bottom: 0.12em;
}

/* --- BODY GRID ---------------------------------------------- */

.mmx-mg-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.mmx-mg-body--solo {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
}
.mmx-mg-body--solo .mmx-mg-copy {
  max-width: 720px;
  text-align: left;
}
@media (max-width: 1020px) {
  .mmx-mg-body { grid-template-columns: 1fr; gap: 48px; }
  .mmx-mg-stage { order: -1; max-width: 420px; margin: 0 auto; }
}

/* --- STAGE: phone in half-light ----------------------------- */

.mmx-mg-stage {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: 520px;
  justify-self: end;
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 68%, #1a1410 0%, #0a0608 52%, #040406 100%);
  box-shadow: 0 60px 120px -50px rgba(0,0,0,0.9), inset 0 0 200px rgba(0,0,0,0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
@media (max-width: 1020px) {
  .mmx-mg-stage { justify-self: center; }
}

/* Ambient horizon */
.mmx-mg-ambient {
  position: absolute;
  left: -20%; right: -20%;
  top: 45%;
  height: 8%;
  background: radial-gradient(ellipse at 50% 50%, rgba(226, 192, 107, 0.22), transparent 65%);
  filter: blur(12px);
  pointer-events: none;
}
/* Distant headlight pair */
.mmx-mg-headlights {
  position: absolute;
  bottom: 14%;
  left: 8%;
  width: 18%;
  height: 3%;
  background:
    radial-gradient(circle at 25% 50%, rgba(255,236,200,0.45), transparent 60%),
    radial-gradient(circle at 75% 50%, rgba(255,236,200,0.45), transparent 60%);
  filter: blur(4px);
  opacity: 0.7;
  animation: mmx-mg-headlights 8s ease-in-out infinite;
}
@keyframes mmx-mg-headlights {
  0%, 100% { opacity: 0.35; transform: translateX(0); }
  50%      { opacity: 0.7;  transform: translateX(6px); }
}

/* The phone */
.mmx-mg-phone {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-4deg);
  width: 58%;
  aspect-ratio: 9 / 19;
  border-radius: 30px;
  background: #0b0a0e;
  padding: 10px;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,255,255,0.06),
    0 0 60px rgba(226, 192, 107, 0.1);
}
.mmx-mg-phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 28%;
  height: 14px;
  border-radius: 0 0 10px 10px;
  background: #000;
  z-index: 3;
}
.mmx-mg-phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 22px;
  background: linear-gradient(180deg, #0e0d10 0%, #070609 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-family: var(--mm-font-body, system-ui);
}

/* Screenshot-filled variant: fit the uploaded engagement-screen image
   edge-to-edge inside the phone's screen. No synthetic UI around it. */
.mmx-mg-phone-screen--shot {
  padding: 0;
  display: block;
  background: #000;
}
.mmx-mg-phone-shot-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.mmx-mg-phone--shot {
  /* Slightly larger phone for the real screenshot so it reads as the hero */
  width: 62%;
}

.mmx-mg-phone-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 14px 6px;
  font-size: 9px;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
  letter-spacing: 0.05em;
  font-feature-settings: "tnum";
}
.mmx-mg-phone-topbar-dots { font-size: 6px; letter-spacing: 0.2em; color: var(--mm-gold); opacity: 0.7; }

.mmx-mg-phone-sender {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mmx-mg-phone-sender-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e2c06b, #a97b1e);
  color: #0a0a0e;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.02em;
  box-shadow: 0 0 12px rgba(226, 192, 107, 0.3);
}
.mmx-mg-phone-sender-name { font-size: 10.5px; font-weight: 700; color: var(--mm-fg1); line-height: 1.1; }
.mmx-mg-phone-sender-meta { font-size: 8.5px; color: var(--mm-fg4); letter-spacing: 0.06em; margin-top: 2px; }

.mmx-mg-phone-bubble {
  position: relative;
  margin: 10px 14px 6px 14px;
  padding: 8px 10px 9px;
  background: rgba(255,255,255,0.065);
  color: var(--mm-fg1);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px 10px 10px 2px;
  font-size: 9.5px;
  line-height: 1.45;
  letter-spacing: 0.005em;
  min-height: 72px;
}
.mmx-mg-phone-caret {
  display: inline-block;
  width: 1ch;
  color: var(--mm-gold);
  animation: mmx-mg-blink 1s steps(2) infinite;
  vertical-align: baseline;
  margin-left: 1px;
}
@keyframes mmx-mg-blink { 50% { opacity: 0; } }

.mmx-mg-phone-reels {
  margin: 4px 14px 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.mmx-mg-phone-reel {
  display: flex;
  gap: 8px;
  padding: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 400ms ease, transform 400ms var(--mm-ease-smooth, ease);
  transition-delay: calc(var(--i, 0) * 110ms);
}
.mmx-mg-phone-reels.is-in .mmx-mg-phone-reel {
  opacity: 1;
  transform: translateY(0);
}
.mmx-mg-phone-reel-thumb {
  position: relative;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 5px;
  background: linear-gradient(135deg, #2a1e14, #0e0a08);
  border: 1px solid rgba(226, 192, 107, 0.22);
  overflow: hidden;
}
.mmx-mg-phone-reel-sprocket {
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 2px;
  width: 2px;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(226, 192, 107, 0.55) 0 2px,
      transparent 2px 4px
    );
}
.mmx-mg-phone-reel-sprocket--r { left: auto; right: 2px; }
.mmx-mg-phone-reel-copy { min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.mmx-mg-phone-reel-title {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--mm-fg1);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mmx-mg-phone-reel-cta {
  font-size: 8px;
  color: var(--mm-gold);
  letter-spacing: 0.04em;
}

.mmx-mg-phone-foot {
  margin-top: auto;
  padding: 10px 14px 14px;
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mm-fg5, rgba(255,255,255,0.3));
  text-align: center;
  opacity: 0;
  transition: opacity 400ms ease 500ms;
}
.mmx-mg-phone-foot.is-in { opacity: 1; }

/* Grain over the whole vignette */
.mmx-mg-grain {
  position: absolute;
  inset: -6%;
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0.18;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0.4 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: mmx-mg-grain 2.4s steps(6) infinite;
}
@keyframes mmx-mg-grain {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-2%, 3%); }
  50%  { transform: translate(3%, -2%); }
  75%  { transform: translate(-3%, -3%); }
  100% { transform: translate(0, 0); }
}

/* --- COPY SIDE ---------------------------------------------- */

.mmx-mg-copy { max-width: 560px; }

.mmx-mg-lead {
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.6;
  color: var(--mm-fg2);
  margin: 0;
  max-width: 64ch;
  text-wrap: pretty;
}
.mmx-mg-lead i { color: var(--mm-fg4); font-style: italic; }

.mmx-mg-closer {
  font-family: var(--mm-font-display, var(--mm-font-body));
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.01em;
  background: linear-gradient(92deg, var(--mm-gold-bright, #f5dc94), var(--mm-gold, #e2c06b) 55%, var(--mm-gold-deep, #a97b1e));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
  padding-bottom: 0.12em;
  max-width: 30ch;
  text-wrap: balance;
}

/* 3-column benefit grid — horizontal cards instead of a vertical
   stack. Subtle border + gold number eyebrow read as cards without
   feeling boxy. */
.mmx-mg-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mmx-mg-benefits--grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}
@media (min-width: 760px) {
  .mmx-mg-benefits--grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 2.4vw, 32px);
  }
}
.mmx-mg-benefits--grid .mmx-mg-benefit {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(22px, 2.4vw, 30px) clamp(22px, 2.4vw, 28px);
  background: linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  transition: border-color 240ms ease, transform 240ms ease, background 240ms ease;
}
.mmx-mg-benefits--grid .mmx-mg-benefit:hover {
  border-color: rgba(226, 192, 107, 0.32);
  transform: translateY(-3px);
  background: linear-gradient(180deg, rgba(226,192,107,0.05) 0%, rgba(255,255,255,0) 100%);
}

.mmx-mg-benefit-n {
  font-family: var(--mm-font-mono, ui-monospace, monospace);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--mm-gold);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}
.mmx-mg-benefit-k {
  font-family: var(--mm-font-display, var(--mm-font-body));
  font-size: clamp(17px, 1.5vw, 19px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--mm-fg1);
  margin: 0;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.mmx-mg-benefit-v {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--mm-fg3);
  margin: 0;
}

/* @bp <md — enforce the 24px mobile outer gutter rule. */
@media (max-width: 767.98px) {
  .mm-marketing .mmx-mg-inner {
    padding-left: 24px;
    padding-right: 24px;
  }
}
/* @bp tablet — 48px gutters. */
@media (min-width: 768px) and (max-width: 1023.98px) {
  .mm-marketing .mmx-mg-inner {
    padding-left: 48px;
    padding-right: 48px;
  }
}
