.mm-cinematic {
  position: relative;
  z-index: 0;
  display: flow-root;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  clip-path: inset(0);
  isolation: isolate;
  contain: paint;
  background: #dbeaf2;
}

.mm-cinematic.is-pinned {
  z-index: 20;
}

.mm-cinematic__city,
.mm-cinematic__sky,
.mm-cinematic__mist,
.mm-cinematic__whiteout {
  position: absolute;
  inset: 0;
}

.mm-cinematic__city {
  z-index: 0;
  background:
    linear-gradient(to top, rgba(9, 35, 49, 0.18), transparent 50%),
    url("/assets/img/city-cinematic.png") center / cover no-repeat;
  transform: scale(1.12);
  transform-origin: center;
  will-change: transform, opacity;
}

.mm-cinematic__cloud {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  opacity: 0;
  transform: scale(1.28);
  transform-origin: center;
  will-change: transform, opacity;
}

.mm-cinematic__mist {
  inset: -15%;
  pointer-events: none;
  opacity: 0;
  filter: blur(28px);
  background:
    radial-gradient(
      ellipse 38% 28% at 18% 55%,
      rgba(255, 255, 255, 0.92) 15%,
      transparent 82%
    ),
    radial-gradient(
      ellipse 45% 25% at 78% 45%,
      rgba(255, 255, 255, 0.84) 18%,
      transparent 84%
    ),
    radial-gradient(
      ellipse 50% 35% at 47% 80%,
      rgba(244, 250, 252, 0.92) 18%,
      transparent 88%
    );
  transform: translateX(9%);
  will-change: opacity, transform;
}

.mm-cinematic__flight {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.mm-cinematic__whiteout {
  z-index: 1;
  background:
    radial-gradient(
      circle at 23% 50%,
      rgba(243, 107, 17, 0.07),
      transparent 23%
    ),
    linear-gradient(115deg, #fff 18%, #fff0e4 59%, #f6c9a7 100%);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.mm-cinematic__whiteout::after {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(25, 57, 80, 0.16) 0.65px,
    transparent 0.7px
  );
  background-position: 0 0;
  background-size: 18px 18px;
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.35), transparent 48%);
  opacity: 0.27;
  content: "";
}

.mm-cinematic__plane {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: clamp(24px, 5vw, 96px);
  left: auto;
  width: clamp(784px, 98vw, 1668px);
  height: auto;
  max-height: 100%;
  max-width: none;
  object-fit: cover;
  opacity: 1;
  transform: translateY(-50%);
  filter: drop-shadow(0 20px 20px rgba(22, 42, 54, 0.2));
  will-change: transform, opacity;
}

.mm-cinematic__title {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: clamp(8%, 12vw, 28%);
  width: min(49%, 790px);
  padding-left: clamp(18px, 2.2vw, 38px);
  color: #1c2934;
  opacity: 0;
  transform: translateY(-40%);
}

.mm-cinematic__title::before {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 5px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(
    to bottom,
    #f58634 0 33%,
    #fff 33% 39%,
    #1d7a45 39% 72%,
    #172f44 72%
  );
  box-shadow: 5px 0 16px rgba(243, 107, 17, 0.12);
  content: "";
}

.mm-cinematic__kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #df7629;
  font-size: clamp(12px, 1.1vw, 17px);
  font-weight: 800;
  letter-spacing: 0.035em;
}
.mm-cinematic__line {
  width: 54px;
  height: 4px;
  flex: 0 0 54px;
  background: #ec781c;
}
.mm-cinematic__mission {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 11px;
  padding: 2px 0;
  color: #356047;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.055em;
}
.mm-cinematic__mission-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #168348;
  box-shadow: 0 0 0 0 rgba(22, 131, 72, 0.38);
  animation: mm-cinematic-pulse 2s infinite;
}
.mm-cinematic__name {
  margin: 16px 0 7px;
  font-size: clamp(48px, 6.6vw, 108px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.06em;
}
.mm-cinematic__word {
  display: inline-block;
  margin-right: 0.18em;
  text-shadow: 0 8px 20px rgba(21, 45, 62, 0.09);
}
.mm-cinematic__word--accent {
  color: #24394a;
}
.mm-cinematic__subtitle {
  color: #718291;
  font-size: clamp(15px, 1.45vw, 21px);
  font-weight: 600;
    line-height: 1.4;  
    margin-bottom: 6px;
    margin-top: 20px;
}
.mm-cinematic__description {
  max-width: 600px;
  margin: 22px 0 21px;
  color: #4e5e6b;
  font-size: clamp(15px, 1.35vw, 20px);
  line-height: 1.55;
}
.mm-cinematic__focus {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding-top: 9px;
}
.mm-cinematic__focus-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 8px;
  border-bottom: 1px solid rgba(43, 61, 73, 0.22);
  color: #394b57;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.mm-cinematic__focus-item::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, #f58634, #e77728, #1d7a45);
  transform: scaleX(0);
  transform-origin: left;
  animation: mm-cinematic-underline 4.8s ease-in-out infinite;
  content: "";
}
.mm-cinematic__focus-item:nth-child(2)::after {
  animation-delay: 1.1s;
}
.mm-cinematic__focus-item:nth-child(3)::after {
  animation-delay: 2.2s;
}
.mm-cinematic__focus-number {
  color: #e77728;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.mm-cinematic__scroll-hint {
  position: absolute;
  z-index: 2;
  bottom: 30px;
  left: 50%;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-shadow: 0 1px 5px #0009;
  transform: translateX(-50%);
}

/* Devanagari glyphs join through the headline bar; letter spacing and the
   Latin display tracking make those joins look broken. */
.locale-deva .mm-cinematic__kicker,
.locale-deva .mm-cinematic__mission,
.locale-deva .mm-cinematic__name,
.locale-deva .mm-cinematic__focus-item {
  letter-spacing: 0;
}

.locale-deva .mm-cinematic__name {
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.locale-deva .mm-cinematic__word {
  margin-right: 0.1em;
}

@keyframes mm-cinematic-pulse {
  70%,
  100% {
    box-shadow: 0 0 0 7px rgba(22, 131, 72, 0);
  }
}

@keyframes mm-cinematic-underline {
  0%,
  62%,
  100% {
    transform: scaleX(0);
  }
  18%,
  48% {
    transform: scaleX(1);
  }
}

@media (max-width: 900px) {
  .mm-cinematic {
    display: block;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    min-height: 0;
    background: #eef6fa;
  }

  .mm-cinematic__city {
    opacity: 0.55;
    transform: scale(1.06);
  }

  .mm-cinematic__mist {
    display: none;
  }

  .mm-cinematic__cloud {
    display: block;
    opacity: 0.28;
    transform: scale(1.1);
  }

  .mm-cinematic__whiteout {
    transform: scaleX(1);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(243, 249, 252, 0.7));
  }

  .mm-cinematic__flight {
    transform: none;
  }

  .mm-cinematic__plane {
    top: 50%;
    right: auto;
    left: 50%;
    width: min(122vw, 676px);
    height: auto;
    max-height: none;
    object-fit: contain;
    transform: translate(-50%, -50%) rotate(-4deg);
  }

  .mm-cinematic__title {
    z-index: 2;
    top: 50%;
    right: 20px;
    bottom: auto;
    left: 20px;
    width: auto;
    padding: 0;
    opacity: 1;
    background: transparent;
    box-shadow: none;
    text-align: center;
    transform: translateY(-50%);
  }

  .mm-cinematic__title::before {
    display: none;
  }

  .mm-cinematic__kicker,
  .mm-cinematic__focus {
    justify-content: center;
  }

  .mm-cinematic__description {
    margin-right: auto;
    margin-left: auto;
  }

  .mm-cinematic__name {
    margin-top: 12px;
    font-size: clamp(42px, 13vw, 62px);
  }

  .mm-cinematic__description {
    margin: 14px auto 16px;
    font-size: 15px;
  }

  .mm-cinematic__focus {
    gap: 12px;
  }

  .mm-cinematic__focus-item {
    font-size: 12px;
  }

  .mm-cinematic__scroll-hint {
    display: none;
  }
}

/* DevTools and short landscape viewports can cross the mobile breakpoint
   while having limited height. Keep the complete composition inside the
   viewport instead of exposing clipped text or the following section. */
@media (max-width: 900px) and (max-height: 620px) {
  .mm-cinematic__title {
    top: 48%;
  }

  .mm-cinematic__mission {
    margin-top: 6px;
  }

  .mm-cinematic__name {
    margin: 8px 0 4px;
    font-size: clamp(36px, 9vw, 52px);
  }

  .mm-cinematic__subtitle {
    margin-top: 8px;
  }

  .mm-cinematic__description {
    margin: 8px auto 10px;
    font-size: 13px;
    line-height: 1.4;
  }

  .mm-cinematic__focus {
    gap: 8px;
    padding-top: 2px;
  }

  .mm-cinematic__focus-item {
    padding-bottom: 4px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mm-cinematic__city {
    transform: scale(1);
  }
  .mm-cinematic__cloud {
    opacity: 0.65;
    transform: scale(1);
  }
  .mm-cinematic__sky {
    opacity: 0.72;
  }
  .mm-cinematic__flight {
    transform: translate3d(-4vw, 0, 0);
  }
  .mm-cinematic__whiteout {
    transform: scaleX(1);
  }
  .mm-cinematic__title {
    opacity: 1;
    transform: translateY(-50%);
  }
  .mm-cinematic__mission-pulse,
  .mm-cinematic__focus-item::after {
    animation: none;
  }
  .mm-cinematic__scroll-hint {
    display: none;
  }
}
