/* =========================================================
   BASE
========================================================= */

:root {
    --ink: #222050;
    --night: #272351;
    --purple: #5b45ee;
    --pink: #f05ad7;
    --yellow: #ffd85e;
    --cream: #fffaf0;
    --coral: #ff796d;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background: var(--night);
    color: var(--ink);

    font-family:
        Arial,
        Helvetica,
        sans-serif;
}

button,
a {
    font: inherit;
}

button {
    cursor: pointer;
}

main {
    overflow-x: hidden;
}

.sky-noise {
    position: fixed;
    inset: 0;
    z-index: 50;

    pointer-events: none;
    opacity: 0.12;

    background-image: url(
        "data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E"
    );
}


/* =========================================================
   NAVIGATION
========================================================= */

.nav {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;

    width: 100%;
    padding: 40px 6.8vw;

    display: flex;
    align-items: center;
    justify-content: space-between;

    color: white;
}

.wordmark {
    display: inline-flex;
    align-items: center;

    color: inherit;
    text-decoration: none;
}

.wordmark-logo {
    display: block;

    width: 350px;
    height: auto;

    object-fit: contain;
}

.nav button {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 12px 18px;

    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.1);
    color: white;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.nav button:hover {
    background: rgba(255, 255, 255, 0.2);

    transform: translateY(-2px);
}

.nav button span {
    margin-left: 20px;
}


/* =========================================================
   SCREEN 1 — HERO
========================================================= */

.hero {
    position: relative;

    min-height: 100svh;
    padding: 160px 8vw 130px;

    overflow: hidden;
    color: white;

    background:
        linear-gradient(
            180deg,
            #5042b2 0%,
            #7055d4 45%,
            #f195be 76%,
            #ffc898 100%
        );
}

.hero::before {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        radial-gradient(
            circle at 70% 32%,
            rgba(255, 255, 255, 0.2),
            transparent 25%
        );
}


/* =========================================================
   HERO COPY
========================================================= */

.hero-copy {
    position: relative;
    z-index: 4;

    width: min(690px, 58vw);
}

.hero h1 {
    margin: 25px 0 30px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(54px, 7vw, 108px);
    font-weight: 700;

    line-height: 0.86;
    letter-spacing: -0.055em;
}

.hero h1 i {
    color: var(--yellow);
    font-weight: 400;
}


/* =========================================================
   PRIMARY BUTTON
========================================================= */

.primary {
    position: relative;
    z-index: 5;

    margin-top: 25px;
    padding: 17px 24px;

    border: 0;
    border-radius: 999px;

    background: var(--yellow);
    color: var(--ink);

    font-weight: 800;

    box-shadow:
        0 8px 0
        rgba(36, 32, 80, 0.18);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.primary:hover {
    transform: translateY(-3px);

    box-shadow:
        0 11px 0
        rgba(36, 32, 80, 0.18);
}

.primary:active {
    transform: translateY(4px);

    box-shadow:
        0 4px 0
        rgba(36, 32, 80, 0.18);
}

.primary span {
    margin-left: 30px;
}


/* =========================================================
   MOWE
========================================================= */

.hero-mowe {
    position: absolute;
    right: 18vw;
    bottom: 3vw;
    z-index: 6;

    width: clamp(250px, 27vw, 410px);
}

.mowe-animation {
    position: relative;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    width: 100%;
}

.mowe-frame {
    display: block;

    width: 100%;
    height: auto;

    object-fit: contain;

    opacity: 1;

    transform:
        translateY(18px)
        translateZ(0);

    transition:
        opacity 70ms ease-in-out,
        transform 180ms ease-out;

    user-select: none;
    pointer-events: none;
}

.mowe-animation--wave {
    transform-origin: center bottom;

    animation:
        mowe-gentle-breathe
        3.2s
        ease-in-out
        infinite;
}

@keyframes mowe-gentle-breathe {

    0%,
    100% {
        transform:
            translateY(0)
            scale(1);
    }

    50% {
        transform:
            translateY(-3px)
            scale(1.008);
    }
}


/* =========================================================
   SPEECH BUBBLE
========================================================= */

.speech-wrapper {
    position: absolute;
    top: -58px;
    left: 50%;
    z-index: 8;

    width: max-content;
    max-width: 310px;

    transform: translateX(-10%);
}

.speech {
    position: relative;

    display: block;

    width: max-content;
    max-width: 310px;

    padding: 17px 24px;

    border-radius: 999px;

    background: white;
    color: var(--ink);

    font-size: clamp(13px, 1.15vw, 17px);
    font-weight: 800;

    line-height: 1.35;
    text-align: center;
    white-space: normal;

    box-shadow:
        0 10px 30px
        rgba(39, 35, 81, 0.16);

    transform: rotate(-3deg);
}

.speech::after {
    content: "";

    position: absolute;
    left: 24%;
    bottom: -9px;

    width: 22px;
    height: 18px;

    background: white;

    clip-path:
        polygon(
            0 0,
            100% 0,
            35% 100%
        );
}


/* =========================================================
   MOON
========================================================= */

.moon {
    position: fixed;
    top: 18%;
    right: 11%;
    z-index: 2;

    width: 150px;
    height: 150px;

    border-radius: 50%;
    pointer-events: none;

    background:
        radial-gradient(
            circle at 38% 34%,
            #fffbdc 0%,
            #fff4cf 55%,
            #f1d99c 100%
        );

    box-shadow:
        0 0 60px rgba(255, 244, 207, 0.75),
        0 0 110px rgba(255, 244, 207, 0.25);

    transform:
        translate3d(
            0,
            var(--story-moon-drop, 0vh),
            0
        );

    transition:
        transform 1.2s
        cubic-bezier(0.22, 0.75, 0.28, 1);

    will-change: transform;
}


/* =========================================================
   CLOUDS
========================================================= */

.cloud {
    position: absolute;

    width: 190px;
    height: 45px;

    border-radius: 999px;

    background:
        rgba(255, 255, 255, 0.45);

    filter: blur(1px);
}

.cloud::before,
.cloud::after {
    content: "";

    position: absolute;

    border-radius: 50%;

    background: inherit;
}

.cloud::before {
    left: 28px;
    bottom: 0;

    width: 80px;
    height: 80px;
}

.cloud::after {
    right: 12px;
    bottom: 0;

    width: 105px;
    height: 105px;
}

.cloud-a {
    top: 52%;
    right: 6%;
}

.cloud-b {
    top: 18%;
    left: 45%;

    transform: scale(0.65);
}


/* =========================================================
   NORMAL HERO HILLS
========================================================= */

.hill {
    position: absolute;
    bottom: -1px;
    left: -10%;

    width: 120%;
    height: 23%;

    border-radius:
        50% 50% 0 0;

    pointer-events: none;
}

.hill-back {
    z-index: 2;

    background: #473b8f;

    transform:
        translate(-12%, 20%)
        rotate(4deg);
}

.hill-front {
    z-index: 3;

    background: var(--night);

    transform:
        translate(18%, 45%)
        rotate(-4deg);
}
/* =========================================================
   CORRECCIÓN: TRANSICIÓN CONTINUA ENTRE PARTES 1 Y 2
========================================================= */

:root {
    --hill-back-rise: 0px;
    --hill-front-rise: 0px;
    --mowe-scroll-shift: 0px;
}

/* Mantiene las dos partes visualmente conectadas */

.hero {
    overflow: hidden;
}

.journey {
    position: relative;

    min-height: 100svh;
    margin-top: -2px;
    padding: 130px 8vw 110px;

    display: grid;
    place-items: center;

    overflow: hidden;

    color: white;

    background:
        radial-gradient(
            circle at 50% -15%,
            rgba(87, 72, 174, 0.65),
            transparent 45%
        ),
        linear-gradient(
            180deg,
            #272351 0%,
            #211d45 55%,
            #17142f 100%
        );
}

/* =========================================================
   PRADERAS DE TRANSICIÓN
========================================================= */

/*
Ahora son mucho menos altas.

Al principio solo se ve la parte curva.
Mientras bajas, suben ligeramente y pasan
por delante de Mowe.
*/

.transition-hill {
    position: absolute;

    left: -15%;
    bottom: -30vh;

    width: 130%;
    height: 40vh;

    pointer-events: none;
    will-change: transform;

    border-radius:
        50% 50% 0 0 /
        35% 42% 0 0;
}

/* Pradera lejana */

.transition-hill-back {
    z-index: 20;

    background:
        radial-gradient(
            ellipse at 30% 8%,
            rgba(255, 255, 255, 0.15),
            transparent 25%
        ),
        linear-gradient(
            150deg,
            #6659ca 0%,
            #4c43a1 50%,
            #373170 100%
        );

    transform:
        translate3d(
            -6%,
            var(--hill-back-rise),
            0
        )
        rotate(2deg)
        scale(1.04);

    box-shadow:
        inset 0 15px 25px
        rgba(255, 255, 255, 0.08);
}

/* Pradera cercana */

.transition-hill-front {
    z-index: 21;

    bottom: -33vh;

    background:
        radial-gradient(
            ellipse at 68% 7%,
            rgba(255, 255, 255, 0.06),
            transparent 24%
        ),
        linear-gradient(
            150deg,
            #353069 0%,
            #272351 52%,
            #18152f 100%
        );

    transform:
        translate3d(
            7%,
            var(--hill-front-rise),
            0
        )
        rotate(-2deg)
        scale(1.05);

    box-shadow:
        0 -18px 45px
        rgba(22, 18, 56, 0.18);
}

/*
Eliminamos las rayas que estaban haciendo
que la pradera se viera demasiado artificial.
*/

.transition-hill::after {
    display: none;
}

/* Mowe se hunde ligeramente detrás de las praderas */

.hero-mowe {
    transform:
        translate3d(
            0,
            var(--mowe-scroll-shift),
            0
        );
}

/* =========================================================
   FONDO DE ESTRELLAS
========================================================= */

.journey::before {
    content: "";

    position: absolute;
    inset: 0;

    opacity: 0.18;
    pointer-events: none;

    background-image:
        radial-gradient(
            circle,
            white 1px,
            transparent 1.5px
        );

    background-size: 72px 72px;
}

.journey-stars span {
    position: absolute;
    z-index: 1;

    color: var(--yellow);
    font-size: 30px;

    animation:
        journey-star-float
        3s
        ease-in-out
        infinite;
}

.journey-stars span:nth-child(1) {
    top: 18%;
    left: 9%;
}

.journey-stars span:nth-child(2) {
    top: 24%;
    right: 11%;

    font-size: 19px;
    animation-delay: 0.7s;
}

.journey-stars span:nth-child(3) {
    bottom: 14%;
    left: 17%;

    font-size: 17px;
    animation-delay: 1.2s;
}

@keyframes journey-star-float {
    50% {
        transform:
            translateY(-8px)
            rotate(7deg);
    }
}

/* =========================================================
   ONE CONTINUOUS STORY BACKGROUND
========================================================= */

/*
El fondo ahora pertenece a todo main.

La parte superior es el atardecer.
La parte inferior se convierte gradualmente en noche.
*/

main {
    position: relative;

    background:
        linear-gradient(
            180deg,
            #5042b2 0%,
            #7055d4 22%,
            #f195be 38%,
            #ffc898 46%,
            #3b3478 52%,
            #272351 62%,
            #17142f 100%
        );
}

/*
Las secciones dejan de tener fondos rectangulares
independientes.
*/

.hero,
.journey {
    background: transparent;
}

/*
La iluminación del hero se conserva.
*/

.hero::before {
    z-index: 0;
}

/*
El borde entre ambas secciones desaparece.
*/

.journey {
    margin-top: -2px;
}


/* =========================================================
   SCREEN 2
========================================================= */

.journey {
    position: relative;

    min-height: 100svh;
    padding:
        clamp(45px, 6vh, 80px)
        6vw;

    display: flex;
    align-items: center;

    overflow: hidden;

    color: white;
}

/* Oscurecimiento suave, no rectangular */

.journey::after {
    content: "";

    position: absolute;
    inset: -25% 0 0;

    z-index: 0;
    pointer-events: none;

    background:
        radial-gradient(
            circle at 70% 20%,
            rgba(89, 69, 181, 0.22),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            transparent 0%,
            rgba(23, 20, 47, 0.22) 100%
        );
}


/* =========================================================
   STARS
========================================================= */

.journey-stars span {
    position: absolute;
    z-index: 2;

    color: var(--yellow);

    animation:
        journey-star-float
        3s
        ease-in-out
        infinite;
}

.journey-stars span:nth-child(1) {
    top: 18%;
    left: 7%;

    font-size: 34px;
}

.journey-stars span:nth-child(2) {
    top: 14%;
    right: 7%;

    font-size: 24px;
    animation-delay: 0.7s;
}

.journey-stars span:nth-child(3) {
    bottom: 10%;
    left: 10%;

    font-size: 18px;
    animation-delay: 1.2s;
}

@keyframes journey-star-float {

    0%,
    100% {
        transform:
            translateY(0)
            rotate(0);
    }

    50% {
        transform:
            translateY(-8px)
            rotate(8deg);
    }
}


/* =========================================================
   CURVED STORY PATH
========================================================= */

.journey-path {
    position: absolute;

    left: 23%;
    bottom: -32%;

    z-index: 1;

    width: 35%;
    height: 95%;

    border:
        2px dashed
        rgba(255, 255, 255, 0.14);

    border-left: 0;
    border-bottom: 0;

    border-radius:
        0 100% 0 0;

    transform: rotate(-7deg);
}


/* =========================================================
   TWO-COLUMN LAYOUT
========================================================= */

.journey-stage {
    position: relative;
    z-index: 3;

    width: 100%;
    max-width: 1500px;
    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(390px, 0.9fr)
        minmax(580px, 1.1fr);

    gap: clamp(35px, 6vw, 100px);

    align-items: center;
}


/* =========================================================
   QUESTION
========================================================= */

.journey-copy {
    position: relative;
}

.journey-number {
    width: 54px;
    height: 54px;

    display: grid;
    place-items: center;

    margin-bottom: 28px;

    border:
        1px solid
        rgba(255, 255, 255, 0.65);

    border-radius: 50%;

    color: white;

    font-size: 13px;
    font-weight: 800;
}

.journey-step {
    margin: 0 0 25px;

    color: #d2cdf7;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.journey h2 {
    margin: 0;

    color: white;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(58px, 6vw, 96px);

    font-weight: 700;

    line-height: 0.87;
    letter-spacing: -0.055em;
}

.journey h2 i {
    color: var(--pink);
    font-weight: 400;
}

.journey-intro {
    margin: 26px 0 0;

    color: #d4cfee;

    font-size: 17px;
}


/* =========================================================
   MOWE + CHOICES
========================================================= */

.journey-choices {
    position: relative;

    padding-top:
        clamp(155px, 19vh, 195px);
}

/*
La imagen original tiene mucho espacio transparente.

El contenedor actúa como una ventana para mostrar
solamente a Mowe.
*/

.journey-mowe-window {
    position: absolute;

    top: -20px;
    right: 5%;

    width: 340px;
    height: 230px;

    overflow: hidden;

    pointer-events: none;
}

.journey-mowe {
    position: absolute;

    left: 50%;
    top: 50%;

    display: block;

    width: 690px;
    height: auto;

    transform:
        translate(-50%, -48%);

    object-fit: contain;

    filter:
        drop-shadow(
            0 22px 32px
            rgba(14, 11, 40, 0.2)
        );
}

.thinking-dots {
    position: absolute;

    top: 52px;
    right: 2%;

    color: var(--yellow);

    font-size: 30px;
    font-weight: 900;

    letter-spacing: 7px;

    animation:
        thinking-dots-float
        2s
        ease-in-out
        infinite;
}

@keyframes thinking-dots-float {

    50% {
        transform: translateY(-7px);
    }
}


/* =========================================================
   SIX OPTIONS — ALL VISIBLE
========================================================= */

.people-options {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    grid-template-rows:
        repeat(3, minmax(72px, 1fr));

    gap: 12px;

    width: 100%;
}

.people-options button {
    min-height: 76px;
    padding: 18px 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border:
        1px solid
        rgba(255, 255, 255, 0.26);

    border-radius: 20px;

    background:
        rgba(255, 255, 255, 0.065);

    color: white;

    appearance: none;
    -webkit-appearance: none;

    font-size:
        clamp(14px, 1.15vw, 17px);

    font-weight: 700;
    text-align: left;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    transition:
        transform 0.22s ease,
        background 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}

.people-options button:hover {
    transform: translateY(-3px);

    background:
        rgba(255, 255, 255, 0.13);
}

.people-options button.is-selected {
    transform: translateY(-3px);

    border-color: var(--pink);
    background: var(--pink);

    box-shadow:
        0 14px 30px
        rgba(240, 90, 215, 0.2);
}

.people-options button span {
    font-size: 20px;
}


/* =========================================================
   SOMEONE ELSE PANEL
========================================================= */

[hidden] {
    display: none !important;
}

.other-person-panel {
    min-height: 252px;
    padding: 28px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    border:
        1px solid
        rgba(255, 255, 255, 0.25);

    border-radius: 24px;

    background:
        rgba(255, 255, 255, 0.07);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.other-back {
    align-self: flex-start;

    margin-bottom: 22px;
    padding: 0;

    border: 0;

    background: transparent;
    color: #d7d1f4;

    font-size: 13px;
    font-weight: 700;
}

.other-person-panel label {
    margin-bottom: 10px;

    color: white;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 28px;
}

.other-person-panel input {
    width: 100%;
    padding: 15px 0;

    border: 0;
    border-bottom:
        2px solid
        var(--pink);

    outline: none;

    background: transparent;
    color: white;

    font-size: 24px;
}

.other-person-panel input::placeholder {
    color:
        rgba(255, 255, 255, 0.42);
}

.other-person-panel p {
    margin: 14px 0 0;

    color: #c9c3e8;

    font-size: 13px;
}


/* =========================================================
   CONTINUE BUTTON
========================================================= */

.person-continue {
    width: 100%;

    margin-top: 14px;
    padding: 17px 24px;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 22px;

    border: 0;
    border-radius: 999px;

    background: var(--yellow);
    color: var(--ink);

    font-size: 16px;
    font-weight: 800;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.person-continue:disabled {
    opacity: 0.34;
    cursor: not-allowed;
}

.person-continue:not(:disabled):hover {
    transform: translateY(-3px);
}

.journey-response {
    min-height: 20px;
    margin: 12px 0 0;

    color: var(--yellow);

    font-size: 14px;
    font-weight: 800;
    text-align: center;
}


/* =========================================================
   DESKTOP HEIGHT ADJUSTMENTS
========================================================= */

@media (max-height: 800px) and (min-width: 901px) {

    .journey {
        padding-top: 35px;
        padding-bottom: 35px;
    }

    .journey-choices {
        padding-top: 135px;
    }

    .journey-mowe-window {
        width: 300px;
        height: 190px;
    }

    .journey-mowe {
        width: 600px;
    }

    .people-options button {
        min-height: 64px;
        padding-top: 13px;
        padding-bottom: 13px;
    }

    .person-continue {
        padding-top: 14px;
        padding-bottom: 14px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .journey {
        min-height: 100svh;

        padding:
            65px
            20px
            45px;
    }

    .journey-stage {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .journey-number,
    .journey-intro {
        display: none;
    }

    .journey-step {
        margin-bottom: 15px;
    }

    .journey h2 {
        font-size:
            clamp(46px, 12vw, 68px);
    }

    .journey-choices {
        padding-top: 120px;
    }

    .journey-mowe-window {
        top: -25px;
        right: 50%;

        width: 280px;
        height: 155px;

        transform: translateX(50%);
    }

    .journey-mowe {
        width: 550px;
    }

    .thinking-dots {
        top: 20px;
        right: 5%;
    }

    .people-options {
        gap: 9px;
    }

    .people-options button {
        min-height: 60px;
        padding: 12px 14px;

        border-radius: 15px;

        font-size: 13px;
    }

    .person-continue {
        margin-top: 10px;
        padding: 14px;
    }
}
/* =========================================================
   FINAL CORRECTIONS — PARTS 1 AND 2
========================================================= */

/*
El hero termina en exactamente el mismo color
con el que comienza journey.
*/

.hero {
    background:
        linear-gradient(
            180deg,
            #5042b2 0%,
            #7055d4 42%,
            #f195be 72%,
            #ffc898 88%,
            #272351 100%
        );
}

/*
Journey empieza con el mismo #272351.
Ya no existe una diferencia de color.
*/

.journey {
    position: relative;

    min-height: 100svh;
    margin-top: -2px;

    padding:
        clamp(40px, 5vh, 70px)
        6vw;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: #272351;
    color: white;
}

/*
Elimina la línea luminosa que aparecía
debajo de las praderas.
*/

.transition-hill,
.transition-hill-back,
.transition-hill-front {
    box-shadow: none !important;
}

/*
La pradera frontal utiliza exactamente
el mismo color del fondo de journey.
*/

.transition-hill-front {
    background: #272351 !important;
}

/*
Evita una línea causada por subpíxeles.
*/

.hero,
.journey {
    outline: 0;
    border: 0;
}


/* =========================================================
   JOURNEY BACKGROUND DETAILS
========================================================= */

.journey::before {
    content: "";

    position: absolute;
    inset: 0;

    opacity: 0.17;
    pointer-events: none;

    background-image:
        radial-gradient(
            circle,
            white 1px,
            transparent 1.5px
        );

    background-size: 72px 72px;
}

.journey::after {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        radial-gradient(
            circle at 75% 20%,
            rgba(91, 69, 238, 0.22),
            transparent 36%
        ),
        radial-gradient(
            circle at 20% 85%,
            rgba(240, 90, 215, 0.08),
            transparent 35%
        );
}


/* =========================================================
   JOURNEY LAYOUT
========================================================= */

.journey-stage {
    position: relative;
    z-index: 3;

    width: 100%;
    max-width: 1500px;
    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(390px, 0.86fr)
        minmax(600px, 1.14fr);

    gap: clamp(40px, 6vw, 100px);

    align-items: center;
}


/* =========================================================
   QUESTION
========================================================= */

.journey-copy {
    position: relative;
}

.journey-number {
    width: 54px;
    height: 54px;

    margin-bottom: 26px;

    display: grid;
    place-items: center;

    border:
        1px solid
        rgba(255, 255, 255, 0.65);

    border-radius: 50%;

    color: white;

    font-size: 13px;
    font-weight: 800;
}

.journey-step {
    margin: 0 0 24px;

    color: #d3cef6;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.journey h2 {
    margin: 0;

    color: white;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(56px, 5.8vw, 94px);

    font-weight: 700;

    line-height: 0.88;
    letter-spacing: -0.055em;
}

.journey h2 i {
    color: var(--pink);
    font-weight: 400;
}

.journey-intro {
    margin: 25px 0 0;

    color: #d6d1ee;

    font-size: 17px;
}


/* =========================================================
   CHOICES COLUMN
========================================================= */

.journey-choices {
    position: relative;

    padding-top:
        clamp(135px, 17vh, 175px);
}


/* =========================================================
   NEW RECLINING MOWE
========================================================= */

/*
La imagen tiene mucho espacio transparente.

Esta ventana recorta ese espacio y coloca a Mowe
medio recostada encima y entre las opciones.
*/

.journey-mowe-window {
    position: absolute;

    top: -52px;
    left: 50%;

    z-index: 5;

    width: 470px;
    height: 220px;

    overflow: hidden;

    transform: translateX(-50%);

    pointer-events: none;
}

.journey-mowe {
    position: absolute;

    top: 50%;
    left: 50%;

    display: block;

    width: 720px;
    max-width: none;
    height: auto;

    transform:
        translate(-50%, -49%);

    object-fit: contain;

    filter:
        drop-shadow(
            0 20px 25px
            rgba(15, 11, 45, 0.2)
        );
}

.thinking-dots {
    position: absolute;

    top: 52px;
    right: 16px;

    z-index: 6;

    color: var(--yellow);

    font-size: 27px;
    font-weight: 900;

    letter-spacing: 7px;

    animation:
        mowe-thinking-dots
        2s
        ease-in-out
        infinite;
}

@keyframes mowe-thinking-dots {

    50% {
        transform: translateY(-7px);
    }
}


/* =========================================================
   OPTIONS
========================================================= */

.people-options {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;

    width: 100%;
}

.people-options button {
    min-height: 76px;
    padding: 17px 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border:
        1px solid
        rgba(255, 255, 255, 0.27);

    border-radius: 20px;

    background:
        rgba(255, 255, 255, 0.065);

    color: white;

    appearance: none;
    -webkit-appearance: none;

    font-size:
        clamp(14px, 1.1vw, 17px);

    font-weight: 700;
    text-align: left;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.people-options button:hover {
    background:
        rgba(255, 255, 255, 0.14);

    transform: translateY(-3px);
}

.people-options button.is-selected {
    border-color: var(--pink);
    background: var(--pink);

    transform: translateY(-3px);

    box-shadow:
        0 13px 30px
        rgba(240, 90, 215, 0.22);
}

.people-options button span {
    font-size: 20px;
}


/* =========================================================
   SOMEONE ELSE FIELD
========================================================= */

[hidden] {
    display: none !important;
}

.other-person-panel {
    margin-top: 16px;

    animation:
        other-person-appear
        0.35s
        ease
        both;
}

@keyframes other-person-appear {

    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.other-person-panel label {
    display: block;

    margin-bottom: 8px;

    color: #d6d0f0;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.other-person-panel input {
    display: block;

    width: 100%;
    padding: 12px 2px 14px;

    border: 0;
    border-bottom:
        2px solid
        var(--pink);

    outline: none;

    background: transparent;
    color: white;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size:
        clamp(20px, 2vw, 29px);
}

.other-person-panel input::placeholder {
    color:
        rgba(255, 255, 255, 0.48);
}


/* =========================================================
   CONTINUE BUTTON
========================================================= */

.person-continue {
    width: 100%;

    margin-top: 16px;
    padding: 17px 24px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;

    border: 0;
    border-radius: 999px;

    background: var(--yellow);
    color: var(--ink);

    font-size: 15px;
    font-weight: 800;

    transition:
        opacity 0.22s ease,
        transform 0.22s ease,
        background 0.22s ease;
}

.person-continue:disabled {
    opacity: 0.34;
    cursor: not-allowed;
}

.person-continue:not(:disabled) {
    opacity: 1;
    cursor: pointer;
}

.person-continue:not(:disabled):hover {
    transform: translateY(-3px);

    background: #ffe47f;
}

.journey-response {
    min-height: 20px;
    margin: 12px 0 0;

    color: var(--yellow);

    font-size: 14px;
    font-weight: 800;
    text-align: center;
}


/* =========================================================
   SHORT DESKTOPS
========================================================= */

@media (max-height: 820px) and (min-width: 901px) {

    .journey {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .journey-choices {
        padding-top: 120px;
    }

    .journey-mowe-window {
        top: -45px;

        width: 410px;
        height: 185px;
    }

    .journey-mowe {
        width: 640px;
    }

    .people-options button {
        min-height: 63px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .person-continue {
        padding-top: 13px;
        padding-bottom: 13px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .journey {
        min-height: 100svh;

        padding:
            55px
            20px
            40px;
    }

    .journey-stage {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .journey-number,
    .journey-intro {
        display: none;
    }

    .journey-step {
        margin-bottom: 13px;
    }

    .journey h2 {
        font-size:
            clamp(45px, 12vw, 66px);
    }

    .journey-choices {
        padding-top: 105px;
    }

    .journey-mowe-window {
        top: -42px;

        width: 340px;
        height: 145px;
    }

    .journey-mowe {
        width: 560px;
    }

    .thinking-dots {
        top: 15px;
        right: 3px;
    }

    .people-options {
        gap: 8px;
    }

    .people-options button {
        min-height: 57px;
        padding: 11px 13px;

        border-radius: 14px;

        font-size: 12px;
    }

    .other-person-panel {
        margin-top: 10px;
    }

    .person-continue {
        margin-top: 10px;
        padding: 13px;

        font-size: 13px;
    }
}
/* =========================================================
   FINAL VISUAL FIX
========================================================= */

/* Fondo base infinito */

main {
    background: #272351 !important;
}

/* El hero termina exactamente en #272351 */

.hero {
    background:
        radial-gradient(
            circle at 74% 27%,
            rgba(113, 94, 210, 0.3),
            transparent 27%
        ),
        linear-gradient(
            180deg,
            #35306f 0%,
            #2e295f 45%,
            #272351 78%,
            #272351 100%
        ) !important;
}

/* Journey utiliza exactamente el mismo color */

.journey {
    margin-top: -3px !important;

    background: #272351 !important;

    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

/*
Eliminamos el layer que crea el rectángulo
más claro al comienzo de journey.
*/

.journey::after {
    display: none !important;
}

/* Conservamos las estrellas sin cambiar el color */

.journey::before {
    background-color: transparent !important;

    background-image:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.7) 1px,
            transparent 1.5px
        ) !important;

    background-size: 72px 72px !important;

    opacity: 0.16 !important;
}

/* Eliminamos luces y sombras de las praderas */

.transition-hill,
.transition-hill-back,
.transition-hill-front {
    box-shadow: none !important;
    filter: none !important;
}

/* La pradera frontal se mezcla con journey */

.transition-hill-front {
    background: #272351 !important;
}


/* =========================================================
   RECLINING MOWE
========================================================= */

.journey-choices {
    padding-top: 145px !important;
}

.journey-mowe-window {
    position: absolute !important;

    top: -65px !important;
    left: 40% !important;

    z-index: 10 !important;

    width: 500px !important;
    height: 250px !important;

    overflow: hidden !important;

    transform:
        translateX(-50%) !important;

    pointer-events: none !important;
}

.journey-mowe {
    position: absolute !important;

    top: 50% !important;
    left: 50% !important;

    display: block !important;

    width: 720px !important;
    max-width: none !important;
    height: auto !important;

    opacity: 1 !important;
    visibility: visible !important;

    transform:
        translate(-50%, -49%) !important;

    object-fit: contain !important;

    filter:
        drop-shadow(
            0 18px 25px
            rgba(14, 10, 40, 0.2)
        ) !important;
}

.thinking-dots {
    position: absolute !important;

    top: 65px !important;
    right: 18px !important;

    z-index: 11 !important;

    color: var(--yellow) !important;
}


/* =========================================================
   SOMEONE ELSE
========================================================= */

.other-person-panel {
    position: relative !important;

    min-height: auto !important;

    margin-top: 15px !important;
    padding: 22px 24px !important;

    border:
        1px solid
        rgba(255, 255, 255, 0.22) !important;

    border-radius: 20px !important;

    background:
        rgba(255, 255, 255, 0.055) !important;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/*
Convierte el botón blanco gigante en
un pequeño enlace ubicado arriba a la derecha.
*/

.other-back {
    position: absolute !important;

    top: 14px !important;
    right: 18px !important;

    width: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 7px 10px !important;

    border: 0 !important;
    border-radius: 999px !important;

    background:
        rgba(255, 255, 255, 0.08) !important;

    color:
        rgba(255, 255, 255, 0.76) !important;

    font-family:
        Arial,
        Helvetica,
        sans-serif !important;

    font-size: 12px !important;
    font-weight: 700 !important;

    line-height: 1 !important;
}

.other-back:hover {
    background:
        rgba(255, 255, 255, 0.15) !important;

    color: white !important;
}

.other-person-panel label {
    display: block !important;

    margin-bottom: 10px !important;

    color: #d7d1ef !important;

    font-family:
        Arial,
        Helvetica,
        sans-serif !important;

    font-size: 12px !important;
    font-weight: 800 !important;

    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
}

.other-person-panel input {
    width: 100% !important;

    padding:
        12px
        130px
        13px
        0 !important;

    border: 0 !important;
    border-bottom:
        2px solid
        var(--pink) !important;

    border-radius: 0 !important;

    outline: 0 !important;

    background: transparent !important;
    color: white !important;

    font-family:
        Arial,
        Helvetica,
        sans-serif !important;

    font-size:
        clamp(19px, 2vw, 27px) !important;
}

.other-person-panel input::placeholder {
    color:
        rgba(255, 255, 255, 0.42) !important;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .journey-choices {
        padding-top: 120px !important;
    }

    .journey-mowe-window {
        top: -45px !important;

        width: 360px !important;
        height: 170px !important;
    }

    .journey-mowe {
        width: 570px !important;
    }
}
/* =========================================================
   SCREEN 3 — FEELING
========================================================= */

/*
Continúa exactamente con el mismo color
de la sección anterior.
*/

.feeling {
    position: relative;

    min-height: 100svh;
    margin-top: -3px;

    padding:
        clamp(38px, 5vh, 65px)
        7vw;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: #272351;
    color: white;

    border: 0;
    outline: 0;
    box-shadow: none;
}

/*
Este resplandor aparece solamente abajo,
sin crear una división entre pantallas.
*/

.feeling::after {
    content: "";

    position: absolute;

    left: -15%;
    right: -15%;
    bottom: -55%;

    height: 75%;

    pointer-events: none;

    background:
        radial-gradient(
            ellipse at center,
            rgba(240, 90, 215, 0.22),
            transparent 68%
        );
}


/* =========================================================
   BACKGROUND STARS
========================================================= */

.feeling::before {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    opacity: 0.15;

    background-image:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.7) 1px,
            transparent 1.5px
        );

    background-size: 72px 72px;
}

.feeling-stars span {
    position: absolute;
    z-index: 2;

    color: var(--yellow);

    animation:
        feeling-star-float
        3s
        ease-in-out
        infinite;
}

.feeling-stars span:nth-child(1) {
    top: 15%;
    left: 5%;

    font-size: 22px;
}

.feeling-stars span:nth-child(2) {
    bottom: 14%;
    left: 8%;

    font-size: 34px;
    animation-delay: 0.8s;
}

.feeling-stars span:nth-child(3) {
    bottom: 20%;
    right: 8%;

    font-size: 18px;
    animation-delay: 1.3s;
}

@keyframes feeling-star-float {

    50% {
        transform:
            translateY(-8px)
            rotate(8deg);
    }
}


/* =========================================================
   MOON AND CLOUD
========================================================= */


.feeling-cloud {
    position: absolute;

    top: 20%;
    right: 14%;

    z-index: 1;

    width: 190px;
    height: 48px;

    border-radius: 999px;

    background:
        rgba(220, 208, 255, 0.24);
}

.feeling-cloud::before,
.feeling-cloud::after {
    content: "";

    position: absolute;

    bottom: 0;

    border-radius: 50%;

    background: inherit;
}

.feeling-cloud::before {
    left: 25px;

    width: 82px;
    height: 82px;
}

.feeling-cloud::after {
    right: 15px;

    width: 105px;
    height: 105px;
}


/* =========================================================
   LAYOUT
========================================================= */

.feeling-stage {
    position: relative;
    z-index: 3;

    width: 100%;
    max-width: 1500px;
    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(650px, 1.2fr)
        minmax(310px, 0.8fr);

    grid-template-areas:
        "heading heading"
        "options mowe"
        "continue mowe"
        "response response";

    column-gap:
        clamp(40px, 7vw, 120px);

    row-gap: 20px;
}


/* =========================================================
   HEADING
========================================================= */

.feeling-heading {
    grid-area: heading;

    max-width: 1100px;
}

.feeling-number {
    width: 52px;
    height: 52px;

    margin-bottom: 24px;

    display: grid;
    place-items: center;

    border:
        1px solid
        rgba(255, 255, 255, 0.65);

    border-radius: 50%;

    color: white;

    font-size: 13px;
    font-weight: 800;
}

.feeling-eyebrow {
    margin: 0 0 22px;

    color: #d3cef6;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.feeling-heading h2 {
    margin: 0;

    color: white;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(58px, 5.8vw, 94px);

    font-weight: 700;

    line-height: 0.86;
    letter-spacing: -0.055em;
}

.feeling-heading h2 i {
    color: var(--yellow);
    font-weight: 400;
}


/* =========================================================
   OPTIONS
========================================================= */

.feeling-options {
    grid-area: options;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;
}

.feeling-options button {
    min-height: 105px;
    padding: 20px 24px;

    display: flex;
    align-items: center;
    gap: 20px;

    border:
        1px solid
        rgba(255, 255, 255, 0.27);

    border-radius: 999px;

    background:
        rgba(255, 255, 255, 0.06);

    color: white;

    appearance: none;
    -webkit-appearance: none;

    text-align: left;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    transition:
        transform 0.22s ease,
        background 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}

.feeling-options button small {
    flex: 0 0 auto;

    font-size: 11px;
    font-weight: 900;
}

.feeling-options button span {
    flex: 1;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(18px, 1.65vw, 27px);

    line-height: 1.05;
}

.feeling-options button b {
    flex: 0 0 auto;

    font-size: 20px;
    font-weight: 400;
}

.feeling-options button:hover {
    transform: translateY(-4px);

    background:
        rgba(255, 255, 255, 0.13);
}

.feeling-options button.is-selected {
    transform:
        translateY(-4px)
        rotate(-1deg);

    border-color: var(--coral);

    background:
        linear-gradient(
            135deg,
            var(--coral),
            #ff9f79
        );

    box-shadow:
        0 16px 35px
        rgba(255, 121, 109, 0.22);
}


/* =========================================================
   MOWE WITH GIFT
========================================================= */

.feeling-mowe {
    grid-area: mowe;

    position: relative;
    top: -68px;

    min-height: 390px;

    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.feeling-mowe-image {
    position: relative;
    z-index: 2;

    display: block;

    width:
        min(100%, 430px);

    height: auto;

    object-fit: contain;

    filter:
        drop-shadow(
            0 24px 32px
            rgba(15, 11, 45, 0.2)
        );
}

.feeling-speech {
    position: absolute;

    top: 15px;
    left: -20px;

    z-index: 3;

    padding: 14px 22px;

    border-radius: 999px;

    background: #211d45;
    color: white;

    font-size: 17px;
    font-weight: 800;

    transform: rotate(-5deg);

    box-shadow:
        0 14px 30px
        rgba(13, 10, 35, 0.2);
}


/* =========================================================
   CONFIRM BUTTON
========================================================= */

.feeling-continue {
    grid-area: continue;

    justify-self: start;

    min-width: 260px;

    padding: 17px 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;

    border: 0;
    border-radius: 999px;

    background: var(--coral);
    color: white;

    font-size: 16px;
    font-weight: 800;

    transition:
        opacity 0.22s ease,
        transform 0.22s ease,
        background 0.22s ease;
}

.feeling-continue:disabled {
    opacity: 0.34;
    cursor: not-allowed;
}

.feeling-continue:not(:disabled):hover {
    transform: translateY(-3px);

    background: #ff8d81;
}

.feeling-response {
    grid-area: response;

    min-height: 20px;
    margin: 0;

    color: var(--yellow);

    font-size: 14px;
    font-weight: 800;
}


/* =========================================================
   SHORT DESKTOPS
========================================================= */

@media (max-height: 820px) and (min-width: 901px) {

    .feeling {
        padding-top: 28px;
        padding-bottom: 28px;
    }

    .feeling-number {
        width: 43px;
        height: 43px;

        margin-bottom: 16px;
    }

    .feeling-eyebrow {
        margin-bottom: 15px;
    }

    .feeling-heading h2 {
        font-size:
            clamp(50px, 5vw, 76px);
    }

    .feeling-options button {
        min-height: 82px;
    }

    .feeling-mowe {
        min-height: 310px;
    }

    .feeling-mowe-image {
        width: 340px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .feeling {
        min-height: 100svh;

        padding:
            55px
            20px
            40px;
    }

    .feeling-stage {
        grid-template-columns: 1fr;

        grid-template-areas:
            "heading"
            "options"
            "mowe"
            "continue"
            "response";

        gap: 18px;
    }

    .feeling-number {
        display: none;
    }

    .feeling-eyebrow {
        margin-bottom: 14px;
    }

    .feeling-heading h2 {
        font-size:
            clamp(44px, 12vw, 65px);
    }

    .feeling-options {
        gap: 9px;
    }

    .feeling-options button {
        min-height: 67px;
        padding: 12px 15px;

        border-radius: 18px;
    }

    .feeling-options button span {
        font-family:
            Arial,
            Helvetica,
            sans-serif;

        font-size: 13px;
        font-weight: 700;
    }

    .feeling-mowe {
        min-height: 180px;
    }

    .feeling-mowe-image {
        width: 210px;
    }

    .feeling-speech {
        top: 5px;
        left: 5%;

        font-size: 13px;
    }

    .feeling-continue {
        width: 100%;

        justify-self: stretch;
    }
}

/* =========================================================
   MATCH BOTH INFORMATION CARDS
========================================================= */

.other-person-panel,
.person-name-panel {
    position: relative;

    width: 100% !important;
    max-width: none !important;

    margin-top: 20px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;

    padding:
        38px
        48px
        32px !important;

    display: block;

    border:
        1px solid
        rgba(255, 255, 255, 0.27) !important;

    border-radius: 28px !important;

    background:
        rgba(255, 255, 255, 0.055) !important;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}


/* SAME LABEL */

.other-person-panel label,
.person-name-panel label {
    display: block;

    padding: 0;
    padding-right: 150px;

    color: #d6d1f6;

    font-size: 12px;
    font-weight: 900;

    letter-spacing: 0.15em;
    text-transform: uppercase;
}


/* SAME INPUT */

.other-person-panel input,
.person-name-panel input {
    display: block;

    width: 100% !important;
    max-width: none !important;

    margin-top: 24px;
    padding: 10px 2px 14px;

    border: 0;
    border-bottom:
        2px solid
        var(--pink);

    outline: 0;

    background: transparent;
    color: white;

    font-size:
        clamp(22px, 2.2vw, 34px);
}


/* SAME PLACEHOLDER */

.other-person-panel input::placeholder,
.person-name-panel input::placeholder {
    color:
        rgba(255, 255, 255, 0.44);
}


/* SAME HELPER TEXT */

.other-person-panel p,
.person-name-panel p {
    margin: 22px 0 0;

    color: #cec9ef;

    font-size: 15px;
    line-height: 1.4;
}


/* OPTIONAL BADGE */

.person-name-panel label span {
    position: absolute;

    top: 28px;
    right: 38px;

    padding: 8px 14px;

    border:
        1px solid
        rgba(255, 255, 255, 0.18);

    border-radius: 999px;

    background:
        rgba(255, 255, 255, 0.12);

    color: var(--yellow);

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 0.1em;
}


/* FOCUS */

.other-person-panel input:focus,
.person-name-panel input:focus {
    border-bottom-color:
        var(--yellow);
}


/* MOBILE */

@media (max-width: 700px) {

    .other-person-panel,
    .person-name-panel {
        padding:
            28px
            22px
            24px !important;
    }

    .person-name-panel label span {
        top: 20px;
        right: 20px;
    }
}


/* =========================================================
   REQUESTED INTERACTION POLISH
========================================================= */

/* Keep HTML's hidden state authoritative over card styling. */
[hidden] {
    display: none !important;
}

/* Slow, gentle cloud movement across the first and last sky. */
.cloud-a {
    animation: cloud-drift-a 18s ease-in-out infinite alternate;
}

.cloud-b {
    animation: cloud-drift-b 23s ease-in-out infinite alternate;
}

.feeling-cloud {
    animation: feeling-cloud-drift 20s ease-in-out infinite alternate;
}

@keyframes cloud-drift-a {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-90px, 8px, 0);
    }
}

@keyframes cloud-drift-b {
    from {
        transform: translate3d(0, 0, 0) scale(0.65);
    }

    to {
        transform: translate3d(110px, -7px, 0) scale(0.65);
    }
}

@keyframes feeling-cloud-drift {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-75px, 6px, 0);
    }
}

/* The optional label is a small yellow pill in the upper corner. */
.person-name-panel label span {
    border-color: var(--yellow) !important;
    background: var(--yellow) !important;
    color: var(--ink) !important;
    box-shadow: 0 7px 18px rgba(255, 216, 94, 0.2);
}

/* Leave a calm beat between questions 01 and 02. */
.feeling {
    margin-top: clamp(72px, 10vh, 120px) !important;
    min-height: calc(100svh - 24px);
    padding-top: clamp(24px, 3.5vh, 42px);
    padding-bottom: clamp(24px, 3.5vh, 42px);
    scroll-margin-top: 34px;
}

/* Fit the complete final choice comfortably in a desktop viewport. */
.feeling-stage {
    row-gap: 14px;
}

.feeling-heading {
    margin-bottom: clamp(24px, 3vh, 38px);
}

.feeling-number {
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
}

.feeling-eyebrow {
    margin-bottom: 13px;
}

.feeling-heading h2 {
    font-size: clamp(48px, 4.7vw, 76px);
}

.feeling-options {
    gap: 10px;
}

.feeling-options button {
    min-height: 72px;
    padding: 12px 22px;
    border-radius: 30px;
}

.feeling-options button:hover {
    border-color: rgba(255, 216, 94, 0.78);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 28px rgba(14, 10, 40, 0.2);
    transform: translateY(-3px) scale(1.012);
}

.feeling-options button.is-selected:hover {
    border-color: var(--coral);
    background: linear-gradient(135deg, var(--coral), #ff9f79);
}

.feeling-mowe {
    min-height: 290px;
}

.feeling-mowe-image {
    width: min(100%, 340px);
}

.feeling-speech {
    top: 70px;
    left: 10%;
}

.feeling-continue {
    align-self: start;
    width: calc((100% - 10px) / 2);
    min-width: 0;
    min-height: 72px;
    height: 72px;
    padding: 13px 25px;
    border-radius: 30px;
}

/* Keep the confirmation directly below its button instead of
   waiting for the full height of the Mowe illustration. */
.feeling-response {
    grid-area: continue;
    align-self: start;
    justify-self: start;
    margin: 86px 0 0;
}

@media (max-height: 760px) and (min-width: 901px) {
    .feeling-heading h2 {
        font-size: clamp(42px, 4.2vw, 66px);
    }

    .feeling-options button {
        min-height: 62px;
        padding-top: 9px;
        padding-bottom: 9px;
    }

    .feeling-continue {
        min-height: 62px;
        height: 62px;
    }

    .feeling-response {
        margin-top: 74px;
    }

    .feeling-mowe {
        min-height: 245px;
    }

    .feeling-mowe-image {
        width: 285px;
    }
}

@media (max-width: 900px) {
    .feeling {
        margin-top: 60px !important;
        padding-top: 34px;
    }

    .feeling-options button {
        min-height: 58px;
        padding: 9px 14px;
    }

    .feeling-mowe {
        min-height: 150px;
    }

    .feeling-mowe-image {
        width: 175px;
    }

    .feeling-continue {
        width: 100%;
        min-width: 0;
        min-height: 58px;
        height: 58px;
        padding: 12px 22px;
    }

    .feeling-heading {
        margin-bottom: 14px;
    }

    .feeling-speech {
        top: 24px;
        left: 14%;
    }

    .feeling-response {
        grid-area: response;
        margin: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .cloud-a,
    .cloud-b,
    .feeling-cloud {
        animation: none;
    }
}


/* =========================================================
   THREE NIGHT PRAIRIES — HERO GROUNDING
========================================================= */

/* Far hill: the lightest and highest layer. */
.hero .hill-back {
    z-index: 2;
    left: -12%;
    bottom: -10svh;
    width: 128%;
    height: 30svh;
    border-radius: 50% 54% 0 0 / 42% 48% 0 0;
    background: #514a9c;
    transform: rotate(2deg);
}

/* Middle hill: darker and slightly lower. */
.hero .hill-front {
    z-index: 3;
    left: -10%;
    bottom: -11svh;
    width: 125%;
    height: 25svh;
    border-radius: 54% 48% 0 0 / 46% 40% 0 0;
    background: #37316f;
    transform: translateX(8%) rotate(-2deg);
}

/* The old extra transition layer is hidden so there are exactly three. */
.hero .transition-hill-back {
    display: none !important;
}

/* Foreground hill reaches Mowe's feet and anchors her to the ground. */
.hero .transition-hill-front {
    display: block !important;
    z-index: 7 !important;
    left: -12% !important;
    bottom: -9svh !important;
    width: 126% !important;
    height: 18svh !important;
    border-radius: 48% 55% 0 0 / 44% 52% 0 0 !important;
    background: #211d45 !important;
    transform:
        translate3d(
            5%,
            var(--hill-front-rise),
            0
        )
        rotate(-1.2deg) !important;
}

/* Mowe stays between the middle and foreground hills. */
.hero .hero-mowe {
    z-index: 6;
    bottom: 4.5vw;
}

@media (max-width: 900px) {
    .hero .hill-back {
        bottom: -8svh;
        height: 24svh;
    }

    .hero .hill-front {
        bottom: -9svh;
        height: 20svh;
    }

    .hero .transition-hill-front {
        bottom: -7svh !important;
        height: 14svh !important;
    }

    .hero .hero-mowe {
        bottom: 6svh;
    }
}
/*
 * Moments We Dream — paste this block at the very end of trial.css.
 * It removes the visible seam and prevents Mowe from being cropped.
 */

/* Match the foreground prairie to the Journey background. */
.hero .transition-hill-front {
    background: #272351 !important;
    box-shadow: none !important;
}

/* Pull Journey over the subpixel boundary and allow Mowe to extend upward. */
.journey {
    margin-top: -4px !important;
    background: #272351 !important;
    overflow: visible !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

/* The illustration PNG already has a transparent canvas. */
.journey-mowe-window {
    overflow: visible !important;
}

@media (max-width: 900px) {
    .journey,
    .journey-mowe-window {
        overflow: visible !important;
    }
}

/* =========================================================
   FINAL CLICK-LAYER FIX
   Decorative layers never intercept option clicks.
========================================================= */

.journey::before,
.journey::after,
.journey-stars,
.journey-stars *,
.journey-path,
.journey-mowe-window,
.journey-mowe,
.thinking-dots {
    pointer-events: none !important;
}

.people-options,
.people-options button,
.other-person-panel,
.other-person-panel input,
.person-name-panel,
.person-name-panel input,
.person-continue {
    pointer-events: auto !important;
}

/* =========================================================
   FINAL MOWE CANVAS FIX
   Keep the PNG canvas cropped while adding room above her head.
========================================================= */

.journey-mowe-window {
    top: -145px !important;
    height: 330px !important;
    overflow: hidden !important;
}

.journey-mowe {
    top: calc(50% + 40px) !important;
}

@media (max-width: 900px) {
    .journey-mowe-window {
        top: -105px !important;
        height: 230px !important;
        overflow: hidden !important;
    }

    .journey-mowe {
        top: calc(50% + 30px) !important;
    }
}

/* =========================================================
   FINAL FEELING MOWE POSITION
   Move Mowe and her speech bubble together so her feet stay visible.
========================================================= */

.feeling-mowe {
    top: -48px !important;
    transform: none !important;
}

@media (max-width: 900px) {
    .feeling-mowe {
        top: -24px !important;
        transform: none !important;
    }
}

/* =========================================================
   PERSISTENT MOON + THIRD-FRAME PRAIRIES
   These rules are intentionally appended so the original
   transitions and responsive layout remain untouched.
========================================================= */

.feeling-landscape {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3;

    height: clamp(190px, 29vh, 350px);

    overflow: hidden;
    pointer-events: none;
}

.feeling-hill {
    position: absolute;
    border-radius: 50% 50% 0 0;
}

.feeling-hill-back {
    right: -10%;
    bottom: -43%;

    width: 85%;
    height: 105%;

    background:
        linear-gradient(
            180deg,
            #a1709a 0%,
            #75547f 55%,
            #574568 100%
        );

    transform: rotate(2deg);
}

.feeling-hill-front {
    left: -12%;
    bottom: -58%;

    width: 125%;
    height: 125%;

    background:
        linear-gradient(
            180deg,
            #674762 0%,
            #49374f 58%,
            #302a40 100%
        );

    transform: rotate(-3deg);
}

.feeling-stage {
    position: relative;
    z-index: 4;
}

@media (max-width: 700px) {
    .moon {
        top: 16%;
        right: 7%;

        width: 105px;
        height: 105px;
    }

    .feeling-landscape {
        height: clamp(150px, 23vh, 230px);
    }

    .feeling-hill-back {
        right: -28%;
        width: 120%;
    }

    .feeling-hill-front {
        left: -25%;
        width: 150%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .moon {
        transition-duration: 0.01ms;
    }
}

/* =========================================================
   OPTIONAL OCCASION
   Compact extra question inside the existing feeling screen.
========================================================= */

.feeling-stage {
    grid-template-areas:
        "heading heading"
        "options mowe"
        "occasion mowe"
        "continue mowe"
        "response response";
}

.occasion-question {
    grid-area: occasion;
    display: grid;
    grid-template-columns: auto minmax(180px, 220px);
    align-items: center;
    gap: 12px;
}

.occasion-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.occasion-heading > span {
    color: white;
    font-size: 12px;
    font-weight: 800;
}

.occasion-heading small {
    padding: 4px 8px;
    border: 1px solid rgba(255, 216, 94, 0.72);
    border-radius: 999px;
    color: var(--yellow);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.occasion-select-wrap {
    position: relative;
    width: min(220px, 100%);
}

.occasion-select-wrap select {
    width: 100%;
    min-height: 40px;
    padding: 8px 38px 8px 15px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    color: white;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.occasion-select-wrap select:hover,
.occasion-select-wrap select:focus {
    border-color: rgba(255, 216, 94, 0.72);
    background: rgba(255, 255, 255, 0.14);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 216, 94, 0.1);
}

.occasion-select-wrap > span {
    position: absolute;
    top: 50%;
    right: 15px;
    color: var(--yellow);
    font-size: 16px;
    transform: translateY(-58%);
    pointer-events: none;
}

.occasion-other {
    position: relative;
    grid-column: 1 / -1;
    margin-top: 2px;
    animation: occasion-reveal 0.28s ease both;
}

.occasion-other[hidden] {
    display: none;
}

.occasion-other label {
    position: absolute;
    top: 50%;
    left: 14px;
    z-index: 1;
    color: #d9d4f7;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transform: translateY(-50%);
    pointer-events: none;
}

.occasion-other input {
    width: 100%;
    min-height: 48px;
    padding: 10px 16px 10px 205px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 18px;
    outline: none;
    background: rgba(255, 255, 255, 0.09);
    color: white;
    font: inherit;
    font-size: 12px;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.occasion-other input::placeholder {
    color: rgba(255, 255, 255, 0.48);
}

.occasion-other input:focus {
    border-color: var(--yellow);
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 0 0 3px rgba(255, 216, 94, 0.12);
}

@keyframes occasion-reveal {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-height: 760px) and (min-width: 901px) {
    .occasion-question {
        gap: 6px;
    }

    .occasion-select-wrap select {
        min-height: 36px;
    }

    .occasion-other input {
        min-height: 42px;
    }
}

@media (max-width: 900px) {
    .feeling-stage {
        grid-template-areas:
            "heading"
            "options"
            "occasion"
            "mowe"
            "continue"
            "response";
    }

    .occasion-question {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .occasion-select-wrap {
        width: 100%;
    }

    .occasion-other label {
        position: static;
        display: block;
        margin: 0 0 6px 2px;
        transform: none;
    }

    .occasion-other input {
        min-height: 44px;
        padding: 10px 13px;
    }
}

/* =========================================================
   THREE-QUESTION JOURNEY — QUESTION 02: OCCASION
========================================================= */

.celebration {
    position: relative;
    min-height: 100svh;
    margin-top: clamp(72px, 10vh, 120px);
    padding: clamp(42px, 6vh, 76px) clamp(24px, 6vw, 110px);
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 76% 20%, rgba(143, 126, 255, 0.2), transparent 28%),
        radial-gradient(circle at 16% 82%, rgba(240, 90, 215, 0.1), transparent 28%),
        linear-gradient(155deg, #2c285d 0%, #272351 56%, #211d45 100%);
}

.celebration::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.16;
    background-image: radial-gradient(circle, white 1px, transparent 1.4px);
    background-size: 78px 78px;
    pointer-events: none;
}

.celebration-stars span {
    position: absolute;
    z-index: 1;
    color: var(--yellow);
    pointer-events: none;
}

.celebration-stars span:nth-child(1) {
    top: 18%;
    left: 5%;
    font-size: 20px;
}

.celebration-stars span:nth-child(2) {
    top: 13%;
    right: 18%;
    font-size: 13px;
}

.celebration-stars span:nth-child(3) {
    right: 7%;
    bottom: 12%;
    font-size: 18px;
}

.celebration-stage {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(620px, 1.15fr) minmax(320px, 0.85fr);
    grid-template-areas:
        "heading mowe"
        "options mowe"
        "other mowe"
        "continue mowe"
        "response mowe";
    column-gap: clamp(42px, 7vw, 115px);
    row-gap: 14px;
}

.celebration-heading {
    grid-area: heading;
    margin-bottom: clamp(18px, 2.5vh, 30px);
}

.celebration-number {
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 50%;
    color: white;
    font-size: 12px;
    font-weight: 800;
}

.celebration-eyebrow {
    margin: 0 0 13px;
    color: #d3cef6;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.celebration-heading h2 {
    margin: 0;
    color: white;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(52px, 5.2vw, 84px);
    line-height: 0.9;
    letter-spacing: -0.055em;
}

.celebration-heading h2 i {
    color: var(--yellow);
    font-weight: 400;
}

.celebration-options {
    grid-area: options;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.celebration-options button {
    min-height: 72px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 11px;
    border: 1px solid rgba(255, 255, 255, 0.27);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.06);
    color: white;
    text-align: left;
    appearance: none;
    -webkit-appearance: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition:
        transform 0.22s ease,
        background 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}

.celebration-options button small {
    color: #d3cef6;
    font-size: 9px;
    font-weight: 900;
}

.celebration-options button span {
    flex: 1;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(15px, 1.25vw, 20px);
    line-height: 1;
}

.celebration-options button b {
    color: var(--yellow);
    font-size: 15px;
    font-weight: 400;
}

.celebration-options button:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 216, 94, 0.75);
    background: rgba(255, 255, 255, 0.13);
}

.celebration-options button.is-selected {
    transform: translateY(-3px);
    border-color: var(--yellow);
    background: var(--yellow);
    color: var(--ink);
    box-shadow: 0 14px 30px rgba(255, 216, 94, 0.18);
}

.celebration-options button.is-selected small,
.celebration-options button.is-selected b {
    color: var(--ink);
}

.celebration-other {
    grid-area: other;
    position: relative;
    animation: celebration-reveal 0.28s ease both;
}

.celebration-other[hidden] {
    display: none;
}

.celebration-other label {
    position: absolute;
    top: 50%;
    left: 16px;
    z-index: 1;
    color: #d9d4f7;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transform: translateY(-50%);
    pointer-events: none;
}

.celebration-other input {
    width: 100%;
    min-height: 48px;
    padding: 10px 16px 10px 205px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 18px;
    outline: none;
    background: rgba(255, 255, 255, 0.09);
    color: white;
    font: inherit;
    font-size: 12px;
}

.celebration-other input::placeholder {
    color: rgba(255, 255, 255, 0.48);
}

.celebration-other input:focus {
    border-color: var(--yellow);
    box-shadow: 0 0 0 3px rgba(255, 216, 94, 0.12);
}

.celebration-mowe {
    grid-area: mowe;
    position: relative;
    min-height: 590px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.celebration-mowe-image {
    width: min(100%, 395px);
    max-height: 650px;
    object-fit: contain;
    filter: drop-shadow(0 24px 32px rgba(15, 11, 45, 0.22));
}

.celebration-speech {
    position: absolute;
    top: 15%;
    left: -5%;
    z-index: 2;
    padding: 13px 20px;
    border-radius: 999px;
    background: #15122f;
    color: white;
    font-size: 14px;
    font-weight: 800;
    transform: rotate(-5deg);
    box-shadow: 0 14px 30px rgba(13, 10, 35, 0.22);
}

.celebration-continue {
    grid-area: continue;
    width: calc((100% - 20px) / 3 * 2 + 10px);
    min-height: 62px;
    padding: 14px 23px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 0;
    border-radius: 26px;
    background: var(--coral);
    color: white;
    font-size: 14px;
    font-weight: 800;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.celebration-continue:disabled {
    opacity: 0.34;
    cursor: not-allowed;
}

.celebration-continue:not(:disabled):hover {
    transform: translateY(-3px);
}

.celebration-response {
    grid-area: response;
    min-height: 18px;
    margin: 0;
    color: var(--yellow);
    font-size: 13px;
    font-weight: 800;
}

@keyframes celebration-reveal {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Remove the former occasion row from the final question. */
.feeling-stage {
    grid-template-areas:
        "heading heading"
        "options mowe"
        "continue mowe"
        "response response";
}

@media (max-height: 760px) and (min-width: 901px) {
    .celebration {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .celebration-heading h2 {
        font-size: clamp(46px, 4.6vw, 70px);
    }

    .celebration-options button {
        min-height: 60px;
    }

    .celebration-mowe {
        min-height: 490px;
    }

    .celebration-mowe-image {
        width: 330px;
        max-height: 520px;
    }
}

@media (max-width: 900px) {
    .celebration {
        min-height: 100svh;
        margin-top: 60px;
        padding: 42px 20px 36px;
    }

    .celebration-stage {
        grid-template-columns: 1fr;
        grid-template-areas:
            "heading"
            "options"
            "other"
            "mowe"
            "continue"
            "response";
        gap: 14px;
    }

    .celebration-number {
        display: none;
    }

    .celebration-heading {
        margin-bottom: 8px;
    }

    .celebration-heading h2 {
        font-size: clamp(44px, 12vw, 65px);
    }

    .celebration-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .celebration-options button {
        min-height: 58px;
        padding: 9px 12px;
        border-radius: 20px;
    }

    .celebration-options button span {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 12px;
        font-weight: 700;
    }

    .celebration-other label {
        position: static;
        display: block;
        margin: 0 0 6px 2px;
        transform: none;
    }

    .celebration-other input {
        min-height: 44px;
        padding: 10px 13px;
    }

    .celebration-mowe {
        min-height: 190px;
    }

    .celebration-mowe-image {
        width: 190px;
        max-height: 230px;
    }

    .celebration-speech {
        top: 8%;
        left: 8%;
        font-size: 11px;
    }

    .celebration-continue {
        width: 100%;
        min-height: 58px;
    }

    .feeling-stage {
        grid-template-areas:
            "heading"
            "options"
            "mowe"
            "continue"
            "response";
    }
}

/* =========================================================
   FINAL FRAME & LAYOUT CORRECTIONS
   Keep expanded fields below the prairie, remove section gaps,
   and alternate the occasion screen composition.
========================================================= */

/* Expanded recipient fields now grow downward instead of
   recentering the whole scene upward beneath the prairie. */
.journey {
    margin-top: -2px !important;
    padding-top: clamp(72px, 9vh, 110px) !important;
    align-items: flex-start !important;
    overflow: visible !important;
    background: #272351 !important;
}

.journey-stage {
    align-items: start !important;
}

.journey-choices {
    padding-top: clamp(205px, 23vh, 245px) !important;
}

/* Mowe stays completely inside the journey frame and above
   every decorative landscape layer. */
.journey-mowe-window {
    top: 0 !important;
    left: 50% !important;
    z-index: 30 !important;
    width: min(540px, 92%) !important;
    height: 285px !important;
    overflow: visible !important;
    transform: translateX(-50%) !important;
}

.journey-mowe {
    top: 50% !important;
    left: 50% !important;
    width: min(650px, 118%) !important;
    transform: translate(-50%, -50%) !important;
}

.thinking-dots {
    z-index: 31 !important;
}

/* No exposed body color between story frames. */
.celebration,
.feeling {
    margin-top: 0 !important;
}

.celebration {
    min-height: 100svh !important;
    padding: clamp(34px, 4.5vh, 58px) clamp(28px, 5.5vw, 100px) !important;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 24% 28%, rgba(143, 126, 255, 0.22), transparent 30%),
        radial-gradient(circle at 82% 78%, rgba(240, 90, 215, 0.11), transparent 28%),
        linear-gradient(180deg, #272351 0%, #2b2759 22%, #211d45 100%) !important;
}

/* Alternating composition: Mowe left, question right. */
.celebration-stage {
    max-width: 1660px !important;
    min-height: calc(100svh - clamp(68px, 9vh, 116px));
    grid-template-columns: minmax(410px, 0.88fr) minmax(680px, 1.12fr) !important;
    grid-template-areas:
        "mowe heading"
        "mowe options"
        "mowe other"
        "mowe continue"
        "mowe response" !important;
    column-gap: clamp(58px, 7vw, 125px) !important;
    row-gap: 16px !important;
    align-items: center;
}

.celebration-heading {
    align-self: end;
    margin-bottom: clamp(22px, 3vh, 38px) !important;
}

.celebration-number {
    width: 52px !important;
    height: 52px !important;
    margin-bottom: 20px !important;
    font-size: 13px !important;
}

.celebration-eyebrow {
    margin-bottom: 17px !important;
    font-size: 13px !important;
}

.celebration-heading h2 {
    font-size: clamp(64px, 5.8vw, 100px) !important;
    line-height: 0.88 !important;
}

.celebration-options {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
}

.celebration-options button {
    min-height: 86px !important;
    padding: 15px 20px !important;
    border-radius: 32px !important;
}

.celebration-options button span {
    font-size: clamp(18px, 1.5vw, 25px) !important;
}

.celebration-other input {
    min-height: 56px !important;
}

.celebration-mowe {
    min-height: min(82vh, 760px) !important;
    align-self: center;
}

.celebration-mowe-image {
    width: min(100%, 550px) !important;
    max-height: min(82vh, 760px) !important;
}

.celebration-speech {
    top: 10% !important;
    left: auto !important;
    right: -4% !important;
    padding: 15px 23px !important;
    font-size: 16px !important;
}

.celebration-continue {
    width: 100% !important;
    min-height: 70px !important;
    padding: 16px 26px !important;
    border-radius: 30px !important;
    font-size: 16px !important;
}

.celebration-response {
    font-size: 14px !important;
}

@media (max-height: 780px) and (min-width: 901px) {
    .celebration {
        padding-top: 24px !important;
        padding-bottom: 24px !important;
    }

    .celebration-stage {
        min-height: calc(100svh - 48px);
    }

    .celebration-heading {
        margin-bottom: 14px !important;
    }

    .celebration-number {
        width: 42px !important;
        height: 42px !important;
        margin-bottom: 12px !important;
    }

    .celebration-eyebrow {
        margin-bottom: 10px !important;
    }

    .celebration-heading h2 {
        font-size: clamp(54px, 5vw, 78px) !important;
    }

    .celebration-options button {
        min-height: 68px !important;
    }

    .celebration-mowe,
    .celebration-mowe-image {
        max-height: 680px !important;
    }
}

@media (max-width: 1100px) and (min-width: 901px) {
    .celebration-stage {
        grid-template-columns: minmax(330px, 0.8fr) minmax(520px, 1.2fr) !important;
        column-gap: 42px !important;
    }

    .celebration-mowe-image {
        width: min(100%, 450px) !important;
    }
}

@media (max-width: 900px) {
    .journey {
        padding-top: 52px !important;
    }

    .journey-choices {
        padding-top: 190px !important;
    }

    .journey-mowe-window {
        top: 0 !important;
        width: min(430px, 96%) !important;
        height: 215px !important;
        overflow: visible !important;
    }

    .journey-mowe {
        width: min(520px, 125%) !important;
    }

    .celebration {
        padding: 42px 20px 38px !important;
    }

    .celebration-stage {
        min-height: auto;
        grid-template-columns: 1fr !important;
        grid-template-areas:
            "heading"
            "options"
            "other"
            "mowe"
            "continue"
            "response" !important;
        gap: 14px !important;
    }

    .celebration-heading {
        margin-bottom: 10px !important;
    }

    .celebration-heading h2 {
        font-size: clamp(48px, 13vw, 70px) !important;
    }

    .celebration-options button {
        min-height: 64px !important;
        padding: 10px 13px !important;
        border-radius: 22px !important;
    }

    .celebration-options button span {
        font-family: Arial, Helvetica, sans-serif !important;
        font-size: 12px !important;
        font-weight: 700 !important;
    }

    .celebration-mowe {
        min-height: 260px !important;
    }

    .celebration-mowe-image {
        width: 240px !important;
        max-height: 310px !important;
    }

    .celebration-speech {
        top: 7% !important;
        right: 6% !important;
        font-size: 12px !important;
    }
}

/* =========================================================
   CLEAN TRANSPARENCY + MOON LAYER
========================================================= */

/* The thinking illustration contains a faint translucent canvas.
   A soft mask removes its straight rectangular edges without
   cropping Mowe's head, hands or feet. */
.journey-mowe {
    -webkit-mask-image:
        radial-gradient(
            ellipse 42% 48% at 52% 50%,
            #000 60%,
            rgba(0, 0, 0, 0.96) 72%,
            transparent 100%
        ) !important;
    mask-image:
        radial-gradient(
            ellipse 42% 48% at 52% 50%,
            #000 60%,
            rgba(0, 0, 0, 0.96) 72%,
            transparent 100%
        ) !important;
}

/* The fixed moon remains visible in the sky, but the content
   layers now paint above it throughout the occasion frame. */
.celebration {
    isolation: auto !important;
}

.celebration::before {
    z-index: 0 !important;
}

.moon {
    z-index: 2 !important;
}

.journey-stage,
.celebration-stage,
.feeling-stage {
    z-index: 4 !important;
}

.journey-mowe-window,
.thinking-dots,
.celebration-mowe,
.celebration-speech,
.feeling-mowe,
.feeling-speech {
    z-index: 5 !important;
}

/* =========================================================
   DEFINITIVE MOBILE HERO
   Desktop remains unchanged.
========================================================= */

@media (max-width: 700px) {
    .nav {
        padding: 34px 22px 24px;
    }

    .wordmark-logo {
        width: min(72vw, 260px);
        transform: translateX(-14px);
    }

    .nav > button {
        display: none;
    }

    .hero {
        min-height: 100svh;
        padding: 116px 22px 190px;
        display: block;
    }

    .hero-copy {
        position: static;
        width: 100%;
        max-width: none;
    }

    .hero h1 {
        position: relative;
        z-index: 4;
        max-width: 540px;
        margin: 28px 0 22px;
        font-size: clamp(44px, 13vw, 62px);
        line-height: 0.92;
        letter-spacing: -0.048em;
    }

    .hero h1 br {
        display: none;
    }

    .hero .primary {
        position: absolute;
        bottom: 25svh;
        left: 22px;
        width: min(100%, 238px);
        min-height: 50px;
        margin-top: 0;
        padding: 12px 18px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 14px;
    }

    .hero .primary span {
        margin-left: 18px;
    }

    .hero .hero-mowe {
        right: -10vw;
        bottom: 2.5svh;
        z-index: 6;
        width: clamp(290px, 82vw, 370px);
    }

    .hero .speech-wrapper {
        top: -58px;
        right: 40%;
        left: auto;
        width: 190px;
        max-width: 52vw;
        transform: none;
    }

    .hero .speech {
        width: 100%;
        max-width: none;
        padding: 13px 16px;
        border-radius: 30px;
        font-size: clamp(11px, 3.15vw, 13px);
        line-height: 1.35;
    }

    .hero .speech::after {
        left: 52%;
    }

    .hero .cloud-a {
        top: 12%;
        right: -24%;
        transform: scale(0.62);
    }

    .hero .cloud-b {
        top: auto;
        right: auto;
        bottom: 14svh;
        left: 2%;
        transform: scale(0.46);
    }

    .moon {
        top: 5%;
        right: 4%;
        width: 104px;
        height: 104px;
        opacity: 0.92;
        box-shadow:
            0 0 32px rgba(255, 244, 207, 0.55),
            0 0 58px rgba(255, 244, 207, 0.18);
    }

    html[data-moon-stage="questions"] .moon {
        right: -10%;
        width: 88px;
        height: 88px;
        opacity: 0.78;
        box-shadow:
            0 0 24px rgba(255, 244, 207, 0.4),
            0 0 42px rgba(255, 244, 207, 0.12);
    }

    .hero .hill-back {
        bottom: -6svh;
        height: 18svh;
    }

    .hero .hill-front {
        bottom: -7svh;
        height: 15svh;
    }

    .hero .transition-hill-front {
        bottom: -5svh !important;
        height: 11svh !important;
    }
}

@media (max-width: 390px) {
    .hero {
        padding-right: 18px;
        padding-left: 18px;
    }

    .hero h1 {
        font-size: clamp(40px, 12.5vw, 50px);
    }

    .hero .primary {
        left: 18px;
        width: 218px;
    }

    .hero .hero-mowe {
        right: -13vw;
        width: clamp(280px, 84vw, 330px);
    }

    .hero .speech-wrapper {
        top: -54px;
        right: 38%;
        max-width: 53vw;
    }
}

@media (max-width: 700px) and (max-height: 740px) {
    .hero {
        padding-top: 96px;
        padding-bottom: 145px;
    }

    .hero h1 {
        margin-top: 18px;
        font-size: clamp(38px, 11.5vw, 50px);
    }

    .hero .hero-mowe {
        bottom: 2svh;
        width: clamp(250px, 72vw, 300px);
    }

    .hero .primary {
        bottom: 23svh;
    }

    .hero .speech-wrapper {
        top: -48px;
        right: 37%;
        width: 180px;
    }

    .hero .speech {
        padding: 10px 13px;
        font-size: 11px;
    }
}

@media (max-width: 700px) {
    .other-person-panel input,
    .person-name-panel input {
        padding-right: 0 !important;
        font-size: 18px !important;
    }

    .hero .mowe-animation {
        position: relative;
        z-index: 9;
    }

    .feeling {
        margin-top: -3px !important;
    }

    .feeling-stars span:nth-child(1) {
        top: 4%;
        right: 7%;
        left: auto;
    }

    .feeling-stars span:nth-child(2) {
        bottom: 33%;
        left: 5%;
        font-size: 25px;
    }

    .feeling-hill-front {
        bottom: -84%;
    }

    /* Keep the final action and its confirmation away from the
       lower prairie and the browser's bottom controls. */
    .feeling-continue,
    .feeling-response {
        position: relative;
        top: -58px;
    }

    .feeling-response {
        padding-bottom: 18px;
    }
}

/* Brand-pink selection and confirmation on the final question. */
.feeling-options button.is-selected,
.feeling-options button.is-selected:hover {
    border-color: var(--pink) !important;
    background: linear-gradient(135deg, var(--pink), #df6ee8) !important;
    box-shadow: 0 16px 35px rgba(240, 90, 215, 0.24) !important;
}

.feeling-continue {
    background: var(--pink) !important;
}

.feeling-continue:not(:disabled):hover {
    background: #df6ee8 !important;
}

.celebration-continue {
    background: var(--pink) !important;
}

.celebration-continue:not(:disabled):hover {
    background: #df6ee8 !important;
}
