/* =====================================================================
   HEADER FIX: hero ke layers (video, heading) header ke upar na aayein.
   Neeche apne header ki class/id daalo (jo layout me hai).
   ===================================================================== */
header,
.site-header,
.main-header,
#header,
.header {
    z-index: 1000;                    /* position: fixed / absolute / sticky wale header par kaam karta hai */
}

/* =====================================================================
   HERO BANNER  (prefix: mh-)
   Video full-width background; text/buttons sirf container ke andar.
   ===================================================================== */
.mh-hero {
    --mh-pink: #e6007e;
    --mh-navy: #002e5d;
    --mh-offset: 0px;               
    --mh-cloud-h: clamp(120px, 14vw, 200px);  
    --mh-bar-lift: clamp(56px, 6vw, 100px);   
    --mh-cloud-overlap: calc(var(--mh-cloud-h) * .67); 
    --mh-scroll-bottom: calc(var(--mh-cloud-h) * .85);  

    position: relative;
    z-index: 0;                       /* hero header ke neeche rahe */
    color: #fff;
    font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
}

/* Video + heading + buttons wala hissa */
.mh-stage {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    min-height: clamp(580px, 100vh, 900px);
    background: #1b1b1b;              /* poster aane se pehle ka fallback */
}

.mh-hero *, .mh-hero *::before, .mh-hero *::after { box-sizing: border-box; }
.mh-hero a { text-decoration: none; color: inherit; }
.mh-hero :focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

.mh-container {
    position: relative;
    z-index: 4;
    width: 100%;
    max-width: 1560px;
    margin-inline: auto;
    padding-inline: clamp(16px, 2.5vw, 48px);
    padding-top: calc(var(--mh-offset) + clamp(80px, 14vw, 220px));
    padding-bottom: calc(var(--mh-cloud-overlap) + var(--mh-bar-lift));   /* buttons upar */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
}

/* ---------------- Film (full width) ---------------- */
.mh-media {
    position: absolute;
    inset: -12% 0;                    /* parallax ke liye extra jagah */
    z-index: 0;
    will-change: transform;
}

.mh-video { width: 100%; height: 100%; object-fit: cover; display: block; }

.mh-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .2) 50%, rgba(0, 0, 0, 0) 75%),
        linear-gradient(0deg, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, 0) 35%);
}

/* ---------------- Hearts ---------------- */
.mh-heart {
    position: absolute;
    z-index: 2;
    color: rgba(255, 255, 255, .85);
    pointer-events: none;
    animation: mh-float 6s ease-in-out infinite alternate;
}
.mh-heart--1 { top: 20%;  left: 48%;  width: clamp(34px, 4vw, 64px); }
.mh-heart--2 { top: 28%;  right: 18%; width: clamp(60px, 7.5vw, 120px); animation-delay: -2s; }
.mh-heart--3 { bottom: 24%; left: 58%; width: clamp(40px, 5vw, 90px); animation-delay: -4s; }

@keyframes mh-float {
    from { transform: translateY(0) rotate(-4deg); }
    to   { transform: translateY(-14px) rotate(4deg); }
}

/* ---------------- Cloud image: video ke BAAD, reveal (bottom -> top) + slide ---------------- */
.mh-cloud {
    position: relative;
    z-index: 3;
    height: var(--mh-cloud-h);
    margin-top: calc(var(--mh-cloud-overlap) * -1);
    margin-bottom: -1px;                               /* agle section se seam na dikhe */
    overflow: hidden;                                  /* slide / reveal bahar na dikhe */
    line-height: 0;
    pointer-events: none;
}

.mh-cloud img {
    display: block;
    width: 112%;                                       /* extra width => slide me gap nahi */
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: center top;                       /* wavy upar ka edge dikhta rahe */
    margin-left: -6%;
    translate: 0 101%;                                 /* start: neeche chhupi hui */
    transition: translate 1.6s cubic-bezier(.22, 1, .36, 1) .25s;
    will-change: transform, translate;
    animation: mh-cloud-slide 18s ease-in-out 1.4s infinite alternate both;
}
.mh-hero.is-ready .mh-cloud img { translate: 0 0; }    /* neeche se upar reveal */

@keyframes mh-cloud-slide {
    from { transform: translate3d(-5%, 0, 0); }
    to   { transform: translate3d(5%, 0, 0); }
}

/* ---------------- Headline ---------------- */
.mh-content { will-change: transform; }

.mh-title {
    margin: 0;
    font-size: clamp(38px, 6.4vw, 70px);
    font-weight: 700;
    line-height: 0.8;
    letter-spacing: 0;
    text-transform: uppercase;
    text-shadow: 0 4px 24px rgba(0, 0, 0, .25);
}

/* word-by-word reveal */
.mh-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.mh-word > span {
    display: inline-block;
    transform: translateY(110%);
    transition: transform .9s cubic-bezier(.22, 1, .36, 1);
    transition-delay: calc(var(--i, 0) * 110ms + 200ms);
}
.mh-title.is-in .mh-word > span { transform: none; }

.mh-underline {
    display: block;
    width: clamp(150px, 25vw, 400px);
    height: clamp(10px, 1.1vw, 16px);
    margin-top: clamp(14px, 1.8vw, 26px);
    overflow: visible;
}
.mh-underline path {
    fill: none;
    stroke: var(--mh-pink);
    stroke-width: 4;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;                              /* hand-draw jaisa likhta hai */
    transition: stroke-dashoffset 1.1s cubic-bezier(.65, 0, .35, 1) .9s;
}
.mh-title.is-in ~ .mh-underline path { stroke-dashoffset: 0; }

/* ---------------- Bottom bar: left button / right watch film ---------------- */
.mh-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px 32px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .8s ease 1.1s, transform .8s cubic-bezier(.22, 1, .36, 1) 1.1s;
}
.mh-hero.is-ready .mh-bar { opacity: 1; transform: none; }

.mh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px;
    border: 2px solid #fff;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background-color .25s ease, color .25s ease, transform .25s cubic-bezier(.22, 1, .36, 1);
}
.mh-hero a.mh-btn:hover { background: #fff; color: var(--mh-navy); transform: translateY(-2px); }

.mh-play {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 0;
    border: 0;
    background: none;
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.mh-play__icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 50%;
    transition: background-color .25s ease, color .25s ease, transform .25s cubic-bezier(.22, 1, .36, 1);
}
.mh-play__icon svg { width: 22px; height: 22px; }
.mh-play__text { border-bottom: 2px solid #fff; padding-bottom: 2px; }
.mh-play:hover .mh-play__icon { background: #fff; color: var(--mh-pink); transform: scale(1.08); }

/* ---------------- Scroll cue ---------------- */
.mh-scroll {
    position: absolute;
    left: 50%;
    bottom: var(--mh-scroll-bottom);          /* cloud ke top edge par baitha */
    z-index: 5;
    width: 34px;
    height: 58px;
    display: grid;
    justify-items: center;
    padding-top: 10px;
    border: 3px solid #e6007e;
    border-radius: 999px;
    background: transparent;
    transform: translateX(-50%);
}
.mh-scroll__dot { width: 14px; height: 14px; border-radius: 50%; background: #fff; animation: mh-scroll 1.8s ease-in-out infinite; }

@keyframes mh-scroll {
    0%   { transform: translateY(0);    opacity: 1; }
    70%  { transform: translateY(20px); opacity: .2; }
    100% { transform: translateY(0);    opacity: 1; }
}

/* ---------------- Film popup ---------------- */
.mh-modal {
    width: min(1100px, 92vw);
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: #000;
    overflow: visible;
}
.mh-modal::backdrop { background: rgba(0, 20, 40, .82); backdrop-filter: blur(3px); }
.mh-modal[open] { animation: mh-pop .35s cubic-bezier(.22, 1, .36, 1); }
@keyframes mh-pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }

.mh-modal__frame { aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; }
.mh-modal__frame video { width: 100%; height: 100%; display: block; background: #000; }

.mh-modal__close {
    position: absolute;
    top: -16px;
    right: -16px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--mh-navy);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

html.mh-lock { overflow: hidden; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
    .mh-title { max-width: 11ch; }
    .mh-heart--1 { display: none; }
}

@media (max-width: 768px) {
    .mh-stage { min-height: clamp(560px, 86vh, 780px); }
    .mh-shade {
        background: linear-gradient(0deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, .15) 55%, rgba(0, 0, 0, .25) 100%);
    }
    .mh-container { padding-top: calc(var(--mh-offset) + 64px); padding-bottom: calc(var(--mh-cloud-overlap) + 48px); }
    .mh-title { max-width: none; font-size: clamp(36px, 10vw, 64px); }
    .mh-heart--2 { top: 12%; right: 8%; }
    .mh-heart--3 { display: none; }
    .mh-hero { --mh-cloud-h: clamp(90px, 26vw, 160px); }
}

@media (max-width: 640px) {
    .mh-bar { flex-direction: column; align-items: flex-start; gap: 18px; }
    .mh-btn { min-height: 48px; padding: 0 22px; font-size: 12px; }
    .mh-play__icon { width: 46px; height: 46px; }
    .mh-play { font-size: 14px; }
    .mh-scroll { display: none; }
    .mh-modal__close { top: 8px; right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
    .mh-hero *, .mh-hero *::before, .mh-hero *::after {
        animation: none !important;
        transition-duration: .01ms !important;
        transition-delay: 0s !important;
    }
    .mh-word > span, .mh-bar { transform: none !important; opacity: 1 !important; }
    .mh-cloud img { translate: none !important; }
    .mh-underline path { stroke-dashoffset: 0 !important; }
}


/* =====================================================================
   1) CLOUD FIX (hero CSS ke NEECHE rakho)
   Height ab JS se image ke asli ratio se set hoti hai => kisi bhi screen/zoom par crop nahi.
   Reveal ab page load par nahi, scroll karke cloud tak aane par hota hai.
   ===================================================================== */
.mh-hero { --mh-cloud-h: calc(112vw * .14); }          /* sirf fallback, JS exact value set karta hai */
.mh-hero .mh-cloud img {
    width: var(--mh-cloud-w, 112%);
    margin-left: calc((100% - var(--mh-cloud-w, 112%)) / 2);
    object-fit: fill;
}
.mh-hero.is-ready .mh-cloud img { translate: 0 101%; }  /* purani "load par reveal" ko band karta hai */
.mh-hero.is-ready .mh-cloud.is-in img { translate: 0 0; }

/* =====================================================================
   2) WONDER SECTION (prefix: wd-)
   ===================================================================== */
.wd {
    --wd-pink: #e6007e;
    --wd-teal: #14b8c4;
    --wd-ease: cubic-bezier(.22, 1, .36, 1);
    position: relative;
    z-index: 1;                       /* hero ke upar: mascot cloud par dikhe */
    overflow-x: clip;                 /* y visible: mascot upar cloud tak ja sake */
    background: var(--wd-pink);
    color: #fff;
    padding: clamp(44px, 5vw, 90px) clamp(16px, 2.5vw, 48px) clamp(56px, 7vw, 110px);
    font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
}
.wd *, .wd *::before, .wd *::after { box-sizing: border-box; }
.wd :focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

.wd-inner {
    position: relative;
    z-index: 2;
    max-width: 1500px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    align-items: center;
    gap: clamp(28px, 5vw, 90px);
}

/* ---------- Mascot + plane ---------- */
.wd-girl {
    position: absolute;
    z-index: 3;
    top: calc(var(--mh-cloud-h, 140px) * -.5);   /* cloud ke upar se utarti hui */
    right: clamp(8px, 2.5vw, 60px);
    width: clamp(100px, 11vw, 230px);
    pointer-events: none;
    filter: drop-shadow(0 14px 14px rgba(0, 0, 0, .18));
    animation: wd-bob 4s ease-in-out infinite alternate;
    opacity: 0; translate: 0 50px; scale: .9;
    transition: opacity .8s ease .5s, translate 1s var(--wd-ease) .5s, scale 1s var(--wd-ease) .5s;
}
.wd-plane {
    position: absolute;
    z-index: 3;
    top: clamp(10px, 1.5vw, 28px);
    left: clamp(10px, 4vw, 80px);
    width: clamp(60px, 6.5vw, 120px);
    pointer-events: none;
    animation: wd-fly 7s ease-in-out infinite alternate;
    opacity: 0; translate: -80px 30px;
    transition: opacity .8s ease .3s, translate 1.4s var(--wd-ease) .3s;
}
.wd.is-in .wd-girl  { opacity: 1; translate: none; scale: 1; }
.wd.is-in .wd-plane { opacity: 1; translate: none; }
@keyframes wd-fly { from { transform: translate(0, 0) rotate(-3deg); } to { transform: translate(14px, -10px) rotate(3deg); } }
@keyframes wd-bob { from { transform: translateY(0); } to { transform: translateY(-8px); } }

/* ---------- Left: thumbnail (seedha, tilt nahi) ---------- */
.wd-media { position: relative; }

.wd-thumb {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}
.wd-thumb img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 16px 22px rgba(0, 0, 0, .18));
    transition: transform .7s var(--wd-ease), filter .7s ease;
}
.wd-thumb:hover img { transform: scale(1.03); filter: drop-shadow(0 22px 30px rgba(0, 0, 0, .28)) brightness(1.04); }

.wd-thumb__btn {
    position: absolute;
    left: 50%;
    bottom: 12%;
    width: clamp(56px, 5.5vw, 84px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--wd-teal);
    color: #fff;
    translate: -50% 0;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .3);
    transition: transform .35s var(--wd-ease);
}
.wd-thumb__btn::after {                       /* hover par ring pulse */
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid var(--wd-teal);
    opacity: 0;
}
.wd-thumb__btn svg { width: 40%; margin-left: 4%; }
.wd-thumb:hover .wd-thumb__btn { transform: scale(1.12); }
.wd-thumb:hover .wd-thumb__btn::after { animation: wd-ping 1.1s ease-out infinite; }
@keyframes wd-ping { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }

/* YouTube isi frame ke andar chalega */
.wd-yt {
    position: absolute;
    z-index: 4;
    inset: 7% 4% 10% 4%;
    width: 92%;
    height: 83%;
    border: 0;
    background: #000;
}
.wd-media.is-playing .wd-thumb { pointer-events: none; }
.wd-media.is-playing .wd-thumb__btn { opacity: 0; }

/* Zig-zag scribbles */
.wd-zig { position: absolute; z-index: 3; pointer-events: none; overflow: visible; }
.wd-zig path {
    fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    stroke-dasharray: 1; stroke-dashoffset: 1;
    transition: stroke-dashoffset 1.2s cubic-bezier(.65, 0, .35, 1) .6s;
}
.wd-zig--top    { top: -9%;    left: -3%;  width: 62%; height: 9%; }
.wd-zig--bottom { bottom: -6%; right: -4%; width: 34%; height: 8%; }
.wd.is-in .wd-zig path { stroke-dashoffset: 0; }

/* ---------- Right: copy ---------- */
.wd-title {
    margin: 0;
    font-size: clamp(28px, 2.9vw, 52px);
    font-weight: 800;
    line-height: .95;
    text-transform: uppercase;
}
.wd-mask { display: block; overflow: hidden; padding-bottom: .1em; }
.wd-mask > span {
    display: block;
    translate: 0 110%;
    transition: translate .9s var(--wd-ease);
    transition-delay: calc(var(--i, 0) * 120ms + 200ms);
}
.wd.is-in .wd-mask > span { translate: 0 0; }

.wd-line { display: block; width: min(100%, 340px); height: 10px; margin: 12px 0 22px; overflow: visible; }
.wd-line path {
    fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; vector-effect: non-scaling-stroke;
    stroke-dasharray: 1; stroke-dashoffset: 1;
    transition: stroke-dashoffset 1s cubic-bezier(.65, 0, .35, 1) .55s;
}
.wd.is-in .wd-line path { stroke-dashoffset: 0; }

.wd-copy p { margin: 0 0 14px; max-width: 46ch; font-size: clamp(14px, 1.15vw, 18px); line-height: 1.4; font-weight: 500; }

.wd-btn {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    margin-top: 14px;
    padding: 0 26px;
    border: 2px solid #fff;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

/* Fade-up reveal (data-r) */
.wd [data-r] {
    opacity: 0;
    translate: 0 32px;
    transition: opacity .8s ease, translate .9s var(--wd-ease), background-color .25s ease, color .25s ease;
    transition-delay: var(--d, 0ms);
}
.wd.is-in [data-r] { opacity: 1; translate: none; }
.wd .wd-btn:hover { background: #fff; color: var(--wd-pink); }

/* Smiley doodle */
.wd-smile {
    position: absolute;
    z-index: 1;
    left: 54%;
    bottom: clamp(6px, 1.5vw, 28px);
    width: clamp(56px, 6vw, 110px);
    color: rgba(255, 255, 255, .5);
    pointer-events: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .wd { padding-top: clamp(90px, 22vw, 130px); }
    .wd-inner { grid-template-columns: 1fr; }
    .wd-girl { width: clamp(84px, 22vw, 140px); top: calc(var(--mh-cloud-h, 90px) * -.6); }
    .wd-smile { display: none; }
}
@media (max-width: 560px) {
    .wd-plane { width: 52px; }
    .wd-title { font-size: clamp(28px, 8.5vw, 40px); }
}

@media (prefers-reduced-motion: reduce) {
    .wd-plane, .wd-girl, .wd-thumb__btn::after { animation: none !important; }
    .wd *, .wd *::before, .wd *::after { transition-duration: .01ms !important; transition-delay: 0s !important; }
    .wd [data-r], .wd-girl, .wd-plane { opacity: 1 !important; translate: none !important; scale: 1 !important; }
    .wd-mask > span { translate: none !important; }
    .wd-zig path, .wd-line path { stroke-dashoffset: 0 !important; }
}