/* =========================================
   MOKSH — THE GARDEN
   Entrance Gate v0.1
   ========================================= */

:root {
    --earth: #e8e1d4;
    --forest: #263d32;
    --forest-deep: #17291f;
    --mist: #f4f1ea;
    --gold: #c7a86b;
    --text-soft: #d9d5cc;

/* =====================================================
   MOKSH — GARDEN SKY SYSTEM
   Phase G-A1: Sky Color Palette Foundation
   ===================================================== */

    /* Clear sky */

    --moksh-sky-clear-top: #78b9df;
    --moksh-sky-clear-bottom: #c4e1e8;

    /* Cloudy sky */

    --moksh-sky-cloudy-top: #2e5268;
    --moksh-sky-cloudy-bottom: #9aaeb7;

    /* Monsoon sky */

    --moksh-sky-monsoon-top: #1e445f;
    --moksh-sky-monsoon-bottom: #233a3f;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    font-family: Georgia, "Times New Roman", serif;
    background: var(--forest-deep);
    color: var(--mist);
    overflow: hidden;
}

/* =========================================================
   02. ENTRANCE / SKY
   ========================================================= */

/* =========================================
   ENTRANCE
   ========================================= */

.entrance {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 650px;
    overflow: hidden;
}
.entrance-screen {
    position: absolute;

    left: 50%;
    top: 10%;

    width: 38%;
    height: 84%;

    border-radius:
        48% 52% 8% 8% /
        18% 20% 8% 8%;

    background:
        linear-gradient(
            to right,
            rgba(39, 57, 46, 0.96),
            rgba(55, 73, 57, 0.98) 52%,
            rgba(38, 56, 45, 0.97)
        );

    box-shadow:
        inset 18px 0 24px rgba(120, 130, 100, 0.08),
        inset -18px 0 24px rgba(20, 35, 27, 0.18);

    filter: blur(0.6px);

    opacity: 0.98;

    z-index: 5;

    pointer-events: none;
}

/* =========================================
   SKY
   ========================================= */

.sky {
    position: absolute;
    inset: 0;

    background: linear-gradient(
    to bottom,
    var(--moksh-sky-clear-top),
    var(--moksh-sky-clear-bottom)
    );
}
body:has(.garden.weather-cloudy) .sky {
    background: linear-gradient(
        to bottom,
        var(--moksh-sky-cloudy-top),
        var(--moksh-sky-cloudy-bottom)
    );
}
body:has(.garden.season-monsoon) .sky {
    background: linear-gradient(
        to bottom,
        var(--moksh-sky-monsoon-top),
        var(--moksh-sky-monsoon-bottom)
    );
}

/* =========================================================
   03. GARDEN BASE / 3D WORLD
   ========================================================= */

/* =========================================
   GARDEN
   ========================================= */

.garden {
    position: absolute;
    inset: 0;
    overflow: hidden;

    perspective: 1200px;
    perspective-origin: 50% 50%;
    transform-origin: 50% 58%;
    transform-style: preserve-3d;
   background:
   
      /* Base garden */
    linear-gradient(
            to bottom,
            transparent 0%,
            transparent 28%,
            #004d34 45%,
            #003b29 65%,
            #000503 85%,
            #000504 100%
        );
    
}
.garden::before {
    content: "";
display:none;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 48%;

    background:
radial-gradient(ellipse at 50% 60%, rgba(20, 83, 62, 0.4) 0%, 
   transparent 65%),
    radial-gradient(ellipse at 50% 30%, rgba(246, 207, 118, 0.12) 0%, 
    transparent 50%),
    /* overall vertical darkening */
    linear-gradient(
        to bottom,
        rgba(65, 81, 61, 0.03) 0%,
        rgba(31, 48, 37, 0.10) 38%,
        rgba(10, 24, 15, 0.28) 70%,
        rgba(2, 9, 6, 0.52) 100%
    );
animation: breatheFoliage 4s ease-in-out infinite alternate;
    pointer-events: none;

    z-index: 1;
}
.garden.camera-entering {
     
     perspective: 1000px;
}
/* =========================================
   MOKSH — 3D GARDEN WORLD
   ========================================= */

.garden-world {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    transform-style: preserve-3d;
}


/* =========================================================
   04. DISTANT GARDEN DEPTH
   ========================================================= */

/* =========================================
   MOKSH — DISTANT GARDEN DEPTH
   ========================================= */

.distant-trees {
    position: absolute;
   
    left: 50%;
    top: 28%;

    width: 120%;
    height: 34%;

    transform:
        translateX(-50%)
        translateZ(-350px)
        scale(1.12);

    background:
    radial-gradient(
        ellipse at 18% 55%,
        rgba(44, 70, 52, 0.18) 0%,
        rgba(35, 58, 43, 0.08) 38%,
        transparent 68%
    ),

    radial-gradient(
        ellipse at 82% 48%,
        rgba(44, 70, 52, 0.16) 0%,
        rgba(35, 58, 43, 0.07) 40%,
        transparent 70%
    ),

    linear-gradient(
        to bottom,
        rgba(30, 55, 40, 0.06),
        rgba(5, 18, 11, 0.16)
    );

    filter: blur(2px);

    opacity: 0;

    z-index: 1;

    pointer-events: none;
    animation:
    gardenDepthBreath 8s ease-in-out infinite;
    transition: opacity 3s ease;
}
@keyframes gardenDepthBreath {

    0%,
    100% {
        transform:
            translateX(-50%)
            translateZ(-350px)
            scale(1.12);
    }

    50% {
        transform:
            translateX(-50%)
            translateZ(-350px)
            scale(1.14);
    }
}
.garden.garden-awake .distant-trees {
    opacity: 0.72;
}
/* -----------------------------------------
   Left distant mass
   ----------------------------------------- */
.distant-trees::before {
    content: "";

    position: absolute;

    left: 2%;
    top: 0;

    width: 32%;
    height: 100%;

    background:

        /* faint distant trunks */
        radial-gradient(
            ellipse 2.2% 42% at 10% 66%,
            rgba(5, 20, 13, 0.55) 0%,
            rgba(5, 20, 13, 0.32) 58%,
            transparent 100%
        ),

        radial-gradient(
            ellipse 2.8% 48% at 29% 58%,
            rgba(5, 21, 14, 0.62) 0%,
            rgba(5, 21, 14, 0.34) 58%,
            transparent 100%
        ),

        radial-gradient(
            ellipse 2% 38% at 52% 68%,
            rgba(5, 20, 13, 0.48) 0%,
            rgba(5, 20, 13, 0.26) 60%,
            transparent 100%
        ),

        radial-gradient(
            ellipse 2.5% 42% at 73% 64%,
            rgba(5, 21, 14, 0.52) 0%,
            rgba(5, 21, 14, 0.28) 58%,
            transparent 100%
        ),

        /* irregular canopies */
        radial-gradient(
            ellipse 24% 31% at 9% 34%,
            rgba(8, 29, 19, 0.72) 0%,
            rgba(8, 29, 19, 0.45) 55%,
            transparent 82%
        ),

        radial-gradient(
            ellipse 28% 38% at 29% 27%,
            rgba(9, 31, 20, 0.76) 0%,
            rgba(8, 27, 18, 0.46) 55%,
            transparent 82%
        ),

        radial-gradient(
            ellipse 22% 29% at 52% 39%,
            rgba(9, 30, 20, 0.66) 0%,
            rgba(7, 25, 17, 0.40) 55%,
            transparent 82%
        ),

        radial-gradient(
            ellipse 25% 34% at 75% 31%,
            rgba(9, 30, 20, 0.68) 0%,
            rgba(7, 25, 17, 0.40) 55%,
            transparent 82%
        );

    filter: blur(2.8px);

    opacity: 0.65;

    animation:
        distantVegetationLeft 9s ease-in-out infinite;

    pointer-events: none;
}
.distant-trees::after {
    content: "";

    position: absolute;

    right: 2%;
    top: 0;

    width: 32%;
    height: 100%;

    background:

        /* faint distant trunks */
        radial-gradient(
            ellipse 2.4% 44% at 12% 64%,
            rgba(5, 20, 13, 0.52) 0%,
            rgba(5, 20, 13, 0.30) 58%,
            transparent 100%
        ),

        radial-gradient(
            ellipse 2% 36% at 34% 69%,
            rgba(5, 20, 13, 0.46) 0%,
            rgba(5, 20, 13, 0.25) 60%,
            transparent 100%
        ),

        radial-gradient(
            ellipse 2.7% 46% at 56% 60%,
            rgba(5, 21, 14, 0.60) 0%,
            rgba(5, 21, 14, 0.32) 58%,
            transparent 100%
        ),

        radial-gradient(
            ellipse 2.2% 40% at 82% 66%,
            rgba(5, 20, 13, 0.50) 0%,
            rgba(5, 20, 13, 0.27) 58%,
            transparent 100%
        ),

        /* irregular canopies */
        radial-gradient(
            ellipse 23% 30% at 10% 38%,
            rgba(9, 30, 20, 0.66) 0%,
            rgba(7, 25, 17, 0.40) 55%,
            transparent 82%
        ),

        radial-gradient(
            ellipse 27% 40% at 32% 25%,
            rgba(9, 31, 20, 0.74) 0%,
            rgba(8, 27, 18, 0.44) 55%,
            transparent 82%
        ),

        radial-gradient(
            ellipse 21% 31% at 56% 40%,
            rgba(8, 29, 19, 0.64) 0%,
            rgba(7, 25, 17, 0.38) 55%,
            transparent 82%
        ),

        radial-gradient(
            ellipse 28% 35% at 84% 30%,
            rgba(9, 30, 20, 0.70) 0%,
            rgba(7, 25, 17, 0.42) 55%,
            transparent 82%
        );

    filter: blur(2.8px);

    opacity: 0.65;

    animation:
        distantVegetationRight 10s ease-in-out infinite;

    pointer-events: none;
}
@keyframes distantVegetationLeft {

    0%,
    100% {
        transform: translateX(0) scaleY(1);
    }

    50% {
        transform: translateX(2px) scaleY(1.015);
    }
}

@keyframes distantVegetationRight {

    0%,
    100% {
        transform: translateX(0) scaleY(1);
    }

    50% {
        transform: translateX(-2px) scaleY(1.012);
    }
}
/* -----------------------------------------
   Gentle middle-distance atmosphere
   ----------------------------------------- */

.garden::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            ellipse at 50% 55%,
            rgba(190, 195, 158, 0.08),
            transparent 48%
        ),
        linear-gradient(
            to bottom,
            transparent 45%,
            rgba(31, 53, 42, 0.14) 100%
        );

    pointer-events: none;

    z-index: 2;
    transition:
    opacity 3.5s ease,
    transform 4s cubic-bezier(.45, 0, .2, 1);
}
.garden.atmosphere-deeper::after {
    opacity: 0.92;

    transform:
        translateY(-8px)
        scale(1.015);
}



/* =========================================================
   05. GATE / ENTRANCE ARCHITECTURE
   ========================================================= */

/* =================================================
   MOKSH — GATE AREA
   ================================================= */

.gate-area {
    position: absolute;

    left: 50%;
    bottom: 20%;

    width: 900px;
    height: 560px;

    transform:
        translateX(-50%)
        scale(1);

    transform-origin: center center;

    z-index: 5;

    transition:
        transform 2.8s cubic-bezier(.45, 0, .2, 1),
        opacity 2.4s ease,
        filter 2.4s ease;

    overflow: visible !important;
}


/* -----------------------------------------
   Gate recedes into depth
   ----------------------------------------- */

.gate-area.threshold-receding {
    transform:
        translateX(-50%)
        translateY(-15%)
        translateZ(1000px)
        scale(0.72);

    opacity: 0.9;

    filter: brightness(0.92);
}
/* =================================================
   ACTUAL WOODEN GATE — FRAME WITH REAL OPENING
   ================================================= */

.gate {
    position: relative;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 100%;

    z-index: 5;
    border-radius: 150px 150px 0 0;
    border: 2px solid rgba(18, 13, 9, 0.72);
    overflow: hidden;
}

/* Wooden grain */
.gate::before {
    content: "";

    position: absolute;
     inset: 0;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 100%;

    border: 2px solid #161614;
    border-bottom: none;
    

    border-radius: inherit;

    background:
        repeating-linear-gradient(
    90deg,
    rgba(28, 22, 16, 0.26) 0px,
    rgba(28, 22, 16, 0.26) 6px,

    rgba(105, 68, 36, 0.08) 7px,
    rgba(105, 68, 36, 0.08) 17px,

    rgba(38, 27, 17, 0.18) 18px,
    rgba(38, 27, 17, 0.18) 23px
),

        linear-gradient(
            90deg,
            rgba(35, 25, 17, 0.22),
            rgba(116, 73, 38, 0.10) 28%,
            rgba(125, 78, 40, 0.16) 50%,
            rgba(91, 55, 30, 0.10) 72%,
            rgba(30, 23, 17, 0.24)
        ),

        linear-gradient(
            to bottom,
            #5b3a22 0%,
            #694326 45%,
            #55351f 100%
        );

    box-shadow:
    /* subtle warm upper rim */
    inset 0 2px 4px rgba(255, 225, 170, 0.05),

    /* deep lower grounding */
    inset 0 -28px 35px rgba(8, 15, 10, 0.34),

    /* dark outer edges */
    inset 85px 0 75px rgba(2, 8, 5, 0.42),
    inset -85px 0 75px rgba(2, 8, 5, 0.42),

    /* outer architectural shadow */
    0 0 0 1px rgba(5, 7, 5, 0.55),
    0 8px 18px rgba(2, 7, 4, 0.28);

    /* Cut the real doorway out of the WOOD only */
    -webkit-mask:
        radial-gradient(
            ellipse 13% 27% at 50% 100%,
            transparent 0%,
            transparent 98%,
            #000 100%
        );

    mask:
        radial-gradient(
            ellipse 13% 27% at 50% 100%,
            transparent 0%,
            transparent 98%,
            #000 100%
        );

    z-index: 0;

    pointer-events: none;
}
.gate::after {
    content: "";
    position: absolute;

    inset: 0;

    pointer-events: none;

    background:

        /* left-side grounding */
        radial-gradient(
            ellipse at 5% 100%,
            rgba(12, 20, 15, 0.38) 0%,
            rgba(28, 35, 24, 0.22) 35%,
            transparent 68%
        ),

        /* right-side grounding */
        radial-gradient(
            ellipse at 95% 100%,
            rgba(12, 20, 15, 0.38) 0%,
            rgba(28, 35, 24, 0.22) 35%,
            transparent 68%
        ),

        /* very soft lower grounding */
        linear-gradient(
            to bottom,
            transparent 55%,
            rgba(18, 25, 18, 0.08) 76%,
            rgba(15, 22, 17, 0.22) 100%
        );

    z-index: 2;

    pointer-events: none;
}

/* =========================================
   STAGE 2 — GATE OPENING
   ========================================= */
.gate-leaf {
    position: absolute;

    bottom: 0;

    width: 16%;
    height: 55%;

    z-index: 4;

    background:
        repeating-linear-gradient(
            90deg,
            rgba(28, 22, 16, 0.26) 0px,
            rgba(28, 22, 16, 0.26) 6px,
            rgba(105, 68, 36, 0.08) 7px,
            rgba(105, 68, 36, 0.08) 17px,
            rgba(38, 27, 17, 0.18) 18px,
            rgba(38, 27, 17, 0.18) 23px
        ),
        linear-gradient(
            to bottom,
            #5b3a22 0%,
            #694326 45%,
            #55351f 100%
        );

    border-radius: 100% 0 0 0;

    box-shadow:
        inset 0 -28px 35px rgba(8, 15, 10, 0.34),
        inset 0 0 35px rgba(2, 8, 5, 0.35);

    transition:
        transform 3.2s cubic-bezier(.45, 0, .2, 1);
}

.gate-leaf-left {
    left: 34%;
    border-radius: 75% 0 0 0;
    border: 5px solid rgba(18, 13, 9, 0.52);
    transform-origin: left center;
}

.gate-leaf-right {
    right: 34%;
    border-radius: 0 75% 0 0;
    border: 5px solid rgba(18, 13, 9, 0.52);
    transform-origin: right center;
}

.gate.leaving .gate-leaf-left {
    transform:
        perspective(700px)
        rotateY(-72deg);
}

.gate.leaving .gate-leaf-right {
    transform:
        perspective(700px)
        rotateY(72deg);
}
.gate-leaf-right::before {
    content: "";

    position: absolute;

    top: 8%;
    left: 0;
    bottom: 0;

    width: 1px;

    background: rgba(10, 8, 5, 0.42);

    box-shadow:
        1px 0 3px rgba(0, 0, 0, 0.22);

    pointer-events: none;
}
/* =================================================
   GARDEN BEHIND THE GATE
   ================================================= */
.gate-opening {
    position: absolute;

    left: 50%;
    bottom: 0;

    width: 29%;
    height: 55%;

    transform: translateX(-50%);
    border: 5px solid rgba(18, 13, 9, 0.52);
    border-radius: 50% 50% 0 0;
    border-bottom: none;

   background:
    radial-gradient(
        ellipse at 50% 78%,
        #26372c 0%,
        #18291f 48%,
        #0b1711 100%
    );

    box-shadow:
    inset 0 -90px 80px rgba(8, 18, 12, 0.30),
    inset 70px 0 70px rgba(8, 18, 12, 0.12),
    inset -70px 0 70px rgba(8, 18, 12, 0.12);

    z-index: 0;

    pointer-events: none;
    
}

/* =========================================
   MOKSH ENTRANCE WALLS
   Quiet stone walls around the gate
   ========================================= */

.gate-wall {
    position: absolute;

    bottom: 0;

    width: 500px;
    height: 240px;

    background:
        
     linear-gradient(
        to right,
        rgba(2, 8, 5, 0.70) 0%,
        rgba(5, 12, 8, 0.42) 14%,
        rgba(5, 10, 7, 0.12) 30%,
        transparent 44%,
        transparent 56%,
        rgba(5, 10, 7, 0.12) 70%,
        rgba(5, 12, 8, 0.42) 86%,
        rgba(2, 8, 5, 0.70) 100%
    ),
/* Gate-facing area stays naturally brighter */
linear-gradient(
    to right,
    rgba(5, 12, 8, 0.58) 0%,
    rgba(8, 16, 10, 0.30) 18%,
    rgba(8, 12, 8, 0.04) 32%,
    rgba(8, 12, 8, 0.00) 50%,
    rgba(8, 12, 8, 0.04) 68%,
    rgba(8, 16, 10, 0.30) 82%,
    rgba(5, 12, 8, 0.58) 100%
),
linear-gradient(
    to right,
    rgba(3, 8, 5, 0.72) 0%,
    rgba(5, 12, 8, 0.42) 12%,
    rgba(5, 12, 8, 0.12) 28%,
    transparent 42%,
    transparent 58%,
    rgba(5, 12, 8, 0.12) 72%,
    rgba(5, 12, 8, 0.42) 88%,
    rgba(3, 8, 5, 0.72) 100%
),
    /* deep atmospheric side-wall shadows */
    /* organic moss / stone variation */
    radial-gradient(
        ellipse at 28% 18%,
        rgba(72, 76, 48, 0.12) 0%,
        rgba(42, 50, 34, 0.07) 28%,
        transparent 58%
    ),

    radial-gradient(
        ellipse at 72% 42%,
        rgba(35, 48, 32, 0.16) 0%,
        rgba(65, 67, 43, 0.08) 32%,
        transparent 62%
    ),

    repeating-linear-gradient(
        176deg,
        rgba(18, 28, 19, 0.025) 0px,
        rgba(18, 28, 19, 0.025) 7px,
        transparent 7px,
        transparent 23px
    ),
    radial-gradient(
        ellipse at 5% 88%,
        rgba(5, 14, 9, 0.42) 0%,
        rgba(10, 20, 13, 0.24) 38%,
        transparent 70%
    ),

    radial-gradient(
        ellipse at 95% 88%,
        rgba(5, 14, 9, 0.42) 0%,
        rgba(10, 20, 13, 0.24) 38%,
        transparent 70%
    ),
   radial-gradient(
        ellipse at 20% 35%,
        rgba(90, 96, 65, 0.16) 0%,
        transparent 55%
    ),

    radial-gradient(
        ellipse at 75% 65%,
        rgba(8, 18, 12, 0.20) 0%,
        transparent 60%
    ),

    linear-gradient(
        to bottom,
        rgba(75, 82, 58, 0.10),
        rgba(8, 18, 12, 0.18)
    ),
        /* subtle irregular stone surface */
    repeating-radial-gradient(
        ellipse at 30% 40%,
        rgba(25, 61, 9, 0.035) 0px,
        rgba(65, 54, 26, 0.035) 2px,
        transparent 3px,
        transparent 18px
    ),
    
      /* subtle natural stone / earth mottling */
    radial-gradient(
        ellipse at 12% 42%,
        rgba(185, 169, 125, 0.09) 0%,
        transparent 22%
    ),
    radial-gradient(
        ellipse at 38% 68%,
        rgba(38, 43, 34, 0.11) 0%,
        transparent 25%
    ),
    radial-gradient(
        ellipse at 67% 35%,
        rgba(160, 145, 108, 0.07) 0%,
        transparent 24%
    ),
    radial-gradient(
        ellipse at 88% 72%,
        rgba(35, 40, 32, 0.13) 0%,
        transparent 23%
    ), 
     /* surface variation */
    radial-gradient(
        ellipse at 18% 28%,
        rgba(170, 155, 112, 0.14) 0%,
        transparent 34%
    ),
    radial-gradient(
        ellipse at 78% 25%,
        rgba(55, 52, 42, 0.16) 0%,
        transparent 38%
    ),
    radial-gradient(
        ellipse at 45% 78%,
        rgba(35, 38, 30, 0.22) 0%,
        transparent 42%
    ),
linear-gradient(
    to bottom,
    transparent 0%,
    rgba(25, 29, 24, 0.04) 42%,
    rgba(25, 29, 24, 0.16) 72%,
    rgba(20, 25, 21, 0.30) 100%
),
linear-gradient(
    90deg,
    rgba(25, 28, 23, 0.16) 0%,
    transparent 18%,
    transparent 82%,
    rgba(25, 28, 23, 0.16) 100%
),
    /* stronger grounding gradient */
    linear-gradient(
        to bottom,
        rgba(118, 111, 83, 0.82) 0%,
        rgba(100, 96, 72, 0.86) 45%,
        rgba(70, 72, 57, 0.94) 78%,
        rgba(45, 53, 43, 0.98) 100%
    );

    border-top:
        3px solid rgba(14, 13, 12, 0.22);

  box-shadow:
    inset 0 3px 5px rgba(255, 235, 185, 0.06),
    inset 0 -28px 35px rgba(10, 18, 13, 0.34),

    /* deep shading toward the outer ends */
    inset 85px 0 75px rgba(2, 8, 5, 0.42),
    inset -85px 0 75px rgba(2, 8, 5, 0.42);

    opacity: 0.9;
    z-index: 2;


}


/* Organic wall texture */
.gate-wall::after {
    content: "";
    position: absolute;

    inset: 0;

    pointer-events: none;

    border-radius: inherit;

    background:
        /* dark grounding — left */
    radial-gradient(
        ellipse at 8% 100%,
        rgba(15, 25, 20, 0.42) 0%,
        rgba(30, 40, 28, 0.25) 38%,
        transparent 70%
    ),

    /* dark grounding — right */
    radial-gradient(
        ellipse at 92% 100%,
        rgba(15, 25, 20, 0.42) 0%,
        rgba(30, 40, 28, 0.25) 38%,
        transparent 70%
    ),

        /* large soft earth patches */
        radial-gradient(
            ellipse at 10% 35%,
            rgba(55, 58, 40, 0.20) 0%,
            transparent 24%
        ),

        radial-gradient(
            ellipse at 28% 72%,
            rgba(42, 48, 35, 0.22) 0%,
            transparent 27%
        ),

        radial-gradient(
            ellipse at 48% 28%,
            rgba(165, 150, 108, 0.12) 0%,
            transparent 22%
        ),

        radial-gradient(
            ellipse at 67% 62%,
            rgba(45, 50, 36, 0.21) 0%,
            transparent 28%
        ),

        radial-gradient(
            ellipse at 91% 34%,
            rgba(150, 140, 102, 0.11) 0%,
            transparent 23%
        ),

        /* darker lower earth */
        radial-gradient(
            ellipse at 50% 100%,
            rgba(25, 32, 26, 0.28) 0%,
            transparent 55%
        ),

        /* subtle vertical natural variation */
        linear-gradient(
            90deg,
            rgba(35, 40, 31, 0.10) 0%,
            transparent 16%,
            rgba(175, 160, 115, 0.06) 34%,
            transparent 52%,
            rgba(35, 40, 31, 0.09) 73%,
            transparent 100%
        );
    opacity: 1;

    z-index: 1;
}

/* -----------------------------------------
   Left wall
   ----------------------------------------- */
.gate-wall-left {
    left: 0;
    right: auto;

    transform:
        translateX(-100%);
}

/* -----------------------------------------
   Right wall
   ----------------------------------------- */
.gate-wall-right {
     right: 0;
    left: auto;

    transform:
        translateX(100%);
}
/* =========================================
   SIDE WALL — SUBTLE EARTH / STONE TEXTURE
   ========================================= */

.gate-wall-left::after,
.gate-wall-right::after {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        radial-gradient(
            ellipse at 18% 28%,
            rgba(150, 142, 95, 0.055) 0%,
            transparent 32%
        ),

        radial-gradient(
            ellipse at 72% 42%,
            rgba(76, 88, 58, 0.065) 0%,
            transparent 38%
        ),

        radial-gradient(
            ellipse at 38% 72%,
            rgba(18, 30, 21, 0.12) 0%,
            transparent 42%
        ),

        radial-gradient(
            ellipse at 84% 78%,
            rgba(4, 13, 8, 0.16) 0%,
            transparent 38%
        ),

        repeating-radial-gradient(
            ellipse at 42% 50%,
            rgba(105, 108, 72, 0.018) 0px,
            rgba(55, 67, 46, 0.022) 12px,
            transparent 25px,
            transparent 48px
        );

    opacity: 0.85;
}



/* =========================================================
   06. ENTRANCE TREES
   ========================================================= */

/* =========================================
   ENTRANCE TREES
   ========================================= */

.entrance-tree {
    position: absolute;

    bottom: -8px;

    width: 125px;
    height: 205px;

    z-index: 3;

    pointer-events: none;
}


/* -----------------------------------------
   Left tree
   ----------------------------------------- */

.entrance-tree-left {
    left: -390px;
}


/* -----------------------------------------
   Right tree
   ----------------------------------------- */

.entrance-tree-right {
    right: -390px;

    transform: scale(0.86);
    transform-origin: bottom center;
}


/* -----------------------------------------
   Trunk
   ----------------------------------------- */

.tree-trunk {
    position: absolute;

    left: 50%;
    bottom: 0;

    width: 7px;
    height: 82px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            to right,
            #252d23 0%,
            #394332 45%,
            #20271f 100%
        );

    border-radius: 5px;

    box-shadow:
        0 8px 14px rgba(0, 0, 0, 0.30);
}
.tree-trunk::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: -5px;

    width: 200px;
    height: 20px;

    transform: translateX(-50%);

    background: radial-gradient(
        ellipse,
        rgba(2, 9, 6, 0.48) 0%,
        rgba(3, 10, 7, 0.28) 42%,
        transparent 75%
    );

    border-radius: 50%;

    filter: blur(2px);

    pointer-events: none;
}
/* -----------------------------------------
   Canopy — final organic silhouette
   ----------------------------------------- */
.tree-canopy {
    position: absolute;

    left: 50%;
    top: 0;

    width: 118px;
    height: 145px;

    transform: translateX(-50%);

    border-radius:
        46% 54% 49% 51%
        / 43% 47% 53% 57%;

    background:
        /* very subtle upper light */
        radial-gradient(
            ellipse at 38% 25%,
            rgba(70, 85, 62, 0.18) 0%,
            rgba(18, 27, 17, 0.08) 34%,
            transparent 65%
        ),

        /* deep lower shading */
        radial-gradient(
            ellipse at 72% 72%,
            rgba(3, 12, 7, 0.48) 0%,
            rgba(6, 16, 10, 0.22) 45%,
            transparent 68%
        ),

        linear-gradient(
            to bottom,
            #394a36 0%,
            #314330 42%,
            #243428 72%,
            #17261d 100%
        );

    box-shadow:
        inset 7px 7px 16px rgba(82, 96, 70, 0.06),
        inset -12px -20px 28px rgba(3, 11, 7, 0.38),

        /* canopy cast shadow */
        0 12px 18px rgba(2, 9, 5, 0.38),
        0 22px 30px rgba(2, 9, 5, 0.24);
}
/* Left organic bulge */

.tree-canopy::before {
    width: 34px;
    height: 48px;

    left: -8px;
    top: 38px;

    opacity: 0.72;
}


/* Right organic bulge */

.tree-canopy::after {
    width: 30px;
    height: 44px;

    right: -7px;
    top: 58px;

    opacity: 0.62;
}


/* =========================================================
   07. WALL GROUND VEGETATION
   ========================================================= */

/* =========================================
   MOKSH — WALL GROUND VEGETATION
   Geometry pass
========================================= */
.wall-vegetation {
    position: absolute;
    display: none;

    bottom: 0;

    width: 500px;
    height: 32px;

    pointer-events: none;

    z-index: 6;

    background:
    radial-gradient(
        ellipse at 8% 100%,
        rgba(25, 43, 31, 0.82) 0%,
        rgba(25, 43, 31, 0.48) 28%,
        transparent 52%
    ),

    radial-gradient(
        ellipse at 28% 100%,
        rgba(34, 52, 36, 0.76) 0%,
        rgba(34, 52, 36, 0.38) 30%,
        transparent 54%
    ),

    radial-gradient(
        ellipse at 50% 100%,
        rgba(24, 42, 30, 0.82) 0%,
        rgba(24, 42, 30, 0.44) 28%,
        transparent 52%
    ),

    radial-gradient(
        ellipse at 72% 100%,
        rgba(38, 56, 38, 0.72) 0%,
        rgba(38, 56, 38, 0.34) 30%,
        transparent 54%
    ),

    radial-gradient(
        ellipse at 94% 100%,
        rgba(24, 42, 30, 0.82) 0%,
        rgba(24, 42, 30, 0.42) 28%,
        transparent 52%
    );

    box-shadow: none;
    opacity: 0.78;
    -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0,0,0,0.15) 12%,
    #000 42%,
    #000 100%
);

mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0,0,0,0.15) 12%,
    #000 42%,
    #000 100%
);
filter: blur(2px);
}

/* Left vegetation */

.wall-vegetation-left {
    left: -300px;
    
     
}

/* Right vegetation */

.wall-vegetation-right {
    right: -300px;
    
}

.wall-vegetation::before,
.wall-vegetation::after {
    content: "";
    position: absolute;
    bottom: 0;

    width: 90px;
    height: 24px;

    background:
        radial-gradient(
            ellipse at 20% 100%,
            rgba(27, 48, 32, 0.72) 0%,
            transparent 65%
        ),
        radial-gradient(
            ellipse at 50% 100%,
            rgba(36, 57, 38, 0.68) 0%,
            transparent 68%
        ),
        radial-gradient(
            ellipse at 80% 100%,
            rgba(25, 46, 31, 0.72) 0%,
            transparent 65%
        );

    pointer-events: none;
}

.wall-vegetation::before {
    left: 35px;
}

.wall-vegetation::after {
    right: 45px;
}


/* =========================================================
   08. TRAVELER — BASE / BODY / GLOW
   ========================================================= */

/* =========================================
   TRAVELER
   The symbolic traveler — not an identity
   ========================================= */
.traveler {
    position: absolute;

    left: 50%;
    bottom: calc(25% - 75px);

    width: 42px;
    height: 92px;

    transform: translateX(-15%);
    z-index: 200;

    opacity: 0.9;
    isolation: isolate;

    filter:
        drop-shadow(0 0 2px rgba(2, 7, 5, 0.78))
        drop-shadow(0 4px 7px rgba(0, 0, 0, 0.22));

    transition:
        transform 4.8s cubic-bezier(.45, 0, .2, 1),
        opacity 2.4s ease;
}

.traveler-body {
    position: absolute;

    left: 50%;
    bottom: 0;

    width: 25px;
    height: 57px;

    transform: translateX(-50%);
    z-index: 2;

    border-radius:
        48% 48% 42% 42%;

    background:
        linear-gradient(
        to right,
        rgba(186, 157, 96, 0.72) 0%,
        rgba(255, 246, 205, 0.96) 30%,
        rgba(255, 238, 181, 0.94) 55%,
        rgba(202, 171, 107, 0.76) 100%
    );

    box-shadow:
    0 0 0 1.5px rgba(7, 12, 9, 0.38),
    0 0 12px rgba(255, 224, 151, 0.32);
}

.traveler-body::before {
    content: "";

    position: absolute;

    left: 50%;
    top: -18px;

    width: 19px;
    height: 19px;

    transform: translateX(-50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 40% 35%,
            #fff8dc 0%,
            #f4dfa6 65%,
            #d7b967 100%
        );

    box-shadow:
        0 0 12px rgba(255, 226, 153, 0.5);
}
.traveler-body::after { 
    content: ""; 
    position: absolute; 
    left: 50%; 
    bottom: -12px; 
    width: 34px; 
    height: 9px; 
    transform: translateX(-50%); 
    border-radius: 50%; 
    background: rgba(22, 27, 22, 0.52); 
    filter: blur(1px); 
    pointer-events: none; 
}

.garden.reader-open .traveler {
    transition: none !important;
}
/* -----------------------------------------
   Traveler glow
   ----------------------------------------- */

.traveler-glow {
    position: absolute;

    left: 50%;
    top: 0;

    width: 3px;
    height: 3px;

    transform: translateX(-50%);

    border-radius: 50%;

    background: rgba(255, 238, 174, 0.42);

    filter: blur(5px);

    animation: travelerGlow 4s ease-in-out infinite;
    z-index: 1;
}

/* =========================================================
   MAIN TRAVELER — SUBTLE LOWER DEPTH
   ========================================================= */

.traveler:not(.traveler-reader) .traveler-body {

    background:
        radial-gradient(
            ellipse at 50% 28%,
            rgba(255, 246, 205, 0.96) 0%,
            rgba(242, 219, 161, 0.88) 48%,
            rgba(58, 50, 31, 0.68) 72%,
            rgba(43, 38, 23, 0.4) 100%
        );

    box-shadow:
        0 0 12px rgba(255, 224, 151, 0.28),
        inset 6px -5px 9px rgba(20, 20, 12, 0.16),
        inset -6px -5px 9px rgba(20, 20, 12, 0.16);
}


/* -----------------------------------------
   Gentle living glow
   ----------------------------------------- */

@keyframes travelerGlow {

    0%,
    100% {
        opacity: 0.55;
        transform: translateX(-50%) scale(0.9);
    }

    50% {
        opacity: 0.9;
        transform: translateX(-50%) scale(1.08);
    }
}



/* =========================================================
   09. GARDEN PATH — BASE / DEPTH STATES
   ========================================================= */

/* =========================================
   PATH
   ========================================= */
.garden-path {
  position: absolute;
  left: 50%;
  bottom: -2%;
  width: 40%;
  height: 200%;
  z-index: 2;
  
  /* Steepened 3D perspective to match the deep vanishing point */
  transform-origin: bottom center;
  transform: translateX(-50%) perspective(400px) rotateX(45deg);

  background: 
    /* Central atmospheric light reflection along the path */
    radial-gradient(ellipse at 50% 0%, rgba(246, 207, 118, 0.15) 0%, transparent 50%),
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 38px,
      rgba(2, 11, 8, 0.75) 39px,
      rgba(2, 11, 8, 0.75) 42px
    ),
     /* Base stone material gradient (darker at sides, slightly illuminated in center) */
    linear-gradient(
      to bottom,
      rgba(76, 92, 85, 0.4) 0%,
      rgba(51, 75, 65, 0.6) 60%,
      rgba(8, 22, 16, 0.85) 100%
    );

  /* Trapezoidal shape mask for sharp perspective tapering + top horizon fade */
  -webkit-mask-image: 
    linear-gradient(to bottom, transparent 0%, black 15%, black 100%),
    linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: 
    linear-gradient(to bottom, transparent 0%, black 15%, black 100%),
    linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
  mask-composite: intersect;

  transition:
    transform 2.8s cubic-bezier(.45, 0, .2, 1),
    height 2.8s cubic-bezier(.45, 0, .2, 1),
    opacity 2.4s ease;
  pointer-events: none;

  
}


.path-receding {
    transform:
        translateX(-50%)
        perspective(500px)
        rotateX(45deg);

    opacity: 1;
}

.garden-path.path-receding {
    transform:
        translateX(-50%)
        translateY(-25px)
        perspective(500px)
        rotateX(45deg)
        scale(0.90);

    opacity: 0.68;
}
.garden-path.path-deeper {
    
    transform:
        translateX(-50%)
        translateY(-45px)
        perspective(500px)
        rotateX(40deg)
        scale(0.82);

    opacity: 0.75;
}
.garden-path.path-extended {
    height: 160%;
}
/* =========================================================
   PATH — FINAL REVELATION FOLLOW
   ========================================================= */

.garden-path.path-revelation-follow {
    transform:
        translateX(-50%)
        translateY(-60px)
        perspective(500px)
        rotateX(40deg)
        scale(0.88);

    opacity: 0.75;
}
/* =========================================================
   10. ARRIVAL CLEARING
   ========================================================= */

/* =========================================
   MOKSH v0.5
   THE ARRIVAL CLEARING
   ========================================= */
.arrival-clearing {
    position: absolute;

    left: 50%;
    top: 27%;

    width: 62%;
    height: 38%;

    transform: translateX(-50%);

    pointer-events: none;

    z-index: 3;
    opacity: 0.9;

    transition:
        transform 3.5s cubic-bezier(.45, 0, .2, 1),
        opacity 3s ease;
}
.arrival-clearing.clearing-deeper {
    transform:
        translateX(-50%)
        translateZ(-100px)
        scale(1.03);

    opacity: 0.94;
}
.arrival-clearing::after {
    content: "";
    
    position: absolute;
    left: 50%;
    top: 18%;

    width: 150px;
    height: 85px;

    transform:
        translateX(-50%)
        scale(0.96);

    border-radius: 50%;

    background:
        radial-gradient(
            ellipse,
            rgba(205, 212, 174, 0.10),
            rgba(145, 160, 125, 0.045) 48%,
            transparent 75%
        );

    filter: blur(7px);

    opacity: 0;

    pointer-events: none;

    transition:
        opacity 4s ease,
        transform 4s cubic-bezier(.45, 0, .2, 1);
}

.arrival-clearing.clearing-reveal::after {
    opacity: 1;

    transform:
        translateX(-50%)
        scale(1.08);
}

.arrival-ground {
    position: absolute;

    left: 50%;
    bottom: -23%;

    width: 55%;
    height: 42%;

    transform: translateX(-50%);

    border-radius: 50%;

    background:
       linear-gradient(
            to bottom,
            rgba(0, 20, 13, 0) 35%,
            rgba(0, 12, 8, 0.18) 50%,
            rgba(0, 7, 4, 0.48) 66%,
            rgba(0, 3, 2, 0.78) 82%,
            rgba(0, 2, 1, 0.94) 100%
        );

    filter: blur(3px);
    opacity: 0;
    z-index: 2;
}
.arrival-clearing {
    
    transition:
        transform 3.5s cubic-bezier(.45, 0, .2, 1),
        opacity 3s ease,
        clip-path 3s cubic-bezier(.45, 0, .2, 1);
}
/* -----------------------------------------
   Soft light in the clearing
   ----------------------------------------- */

.arrival-light {
    position: absolute;
    display: none;

    left: 50%;
    top: 28%;

    width: 210px;
    height: 165px;

    transform: translateX(-50%);

    border-radius: 50%;

    background:
        radial-gradient(
            ellipse,
            rgba(214, 218, 172, 0.20),
            rgba(214, 218, 172, 0.05) 45%,
            transparent 75%
        );

    filter: blur(8px);

    opacity: 1;
    transition:
    opacity 2.8s ease,
    transform 3.2s cubic-bezier(.45, 0, .2, 1);
}

.arrival-light.clearing-awake {
    transform:
        translateX(-50%)
        scale(1.08);

    opacity: 1;
}
/* -----------------------------------------
   Organic arrival trees
   ----------------------------------------- */

.arrival-trees {
    position: absolute;
display:none;
    bottom: -8px;

    width: 145px;
    height: 170px;

    border-radius:
        48% 52% 45% 55%;

    background:
       linear-gradient(
        to bottom,
        #004d34 0%,
        #003b29 45%,
        #000503 72%,
        #000504 100%
    );

    box-shadow:
        inset 12px -10px 20px rgba(25, 43, 32, 0.28),
        0 8px 20px rgba(20, 35, 27, 0.12);

    opacity: 0.78;

    filter: blur(0.7px);
    transition:
    transform 3s cubic-bezier(.45, 0, .2, 1),
    opacity 2.6s ease;
}
.arrival-trees.garden-depth {
    opacity: 0.68;
}

/* -----------------------------------------
   Left tree
   ----------------------------------------- */

.arrival-trees-left {
    left: 40% !important;
display: none;
    transform:
        rotate(-4deg)
        scale(1.05);
}
.arrival-trees-left.garden-depth {
    transform:
        rotate(-4deg)
        scale(0.91)
        translateY(-14px);
}

/* -----------------------------------------
   Right tree
   ----------------------------------------- */

.arrival-trees-right {
    right: 8%;
display: none;
    width: 175px;
    height: 155px;

    transform:
        rotate(5deg)
        scale(0.95);
}
.arrival-trees-right.garden-depth {
    transform:
        rotate(5deg)
        scale(0.93)
        translateY(-12px);
}
/* -----------------------------------------
   World moves forward with Traveler
   ----------------------------------------- */

.garden.garden-entering {
    transform:
        scale(1.05)
        translateY(1%);
}


/* -----------------------------------------
   World remains at arrival position
   ----------------------------------------- */

.garden.garden-entered {
    transform:
        scale(1.05)
        translateY(1%);
}
/* -----------------------------------------
   Revelation — scene recedes
   ----------------------------------------- */

.garden.revelation-zoom {
    transform:
        scale(0.90)
        translateY(1%);

    transition:
        transform 5s cubic-bezier(.45, 0, .2, 1);
}

/* =========================================================
   11. GARDEN STONE / LEGACY GEOMETRY
   ========================================================= */

/* =========================================
   MOKSH — FIRST GARDEN STONE
   ========================================= */
.garden-stone {
    position: absolute;
display:none;
    left: 62%;
    top: 43%;

    width: 110px;
    height: 48px;

    border-radius:
        58% 42% 48% 52% / 
        55% 48% 52% 45%;

    background:
        radial-gradient(
            ellipse at 38% 22%,
            rgba(145, 140, 108, 0.78),
            rgba(91, 94, 73, 0.88) 52%,
            rgba(48, 62, 51, 0.94) 100%
        );

    box-shadow:
        inset 8px 5px 14px rgba(190, 185, 145, 0.10),
        inset -10px -8px 16px rgba(25, 39, 31, 0.22),
        0 10px 8px rgba(20, 35, 27, 0.18);

    opacity: 0.78;
    transition:
    transform 2.8s cubic-bezier(.45, 0, .2, 1),
    opacity 2.4s ease;

    filter: blur(0.5px);

    z-index: 2;

    pointer-events: none;
}
/* -----------------------------------------
   Stone responds as Traveler moves deeper
   ----------------------------------------- */

.garden-stone.stone-receding {
    transform:
        translateY(-10px)
        scale(0.94);

    opacity: 0.68;
}


/* =========================================================
   12. MYSTERY ENTRANCE / GATE STATE
   ========================================================= */

/* =================================================
   MOKSH — LARGE MYSTERY ENTRANCE
   Static geometry — first test
   ================================================= */

.entrance-screen {
    display: none;
}

/* -----------------------------------------
   Inner opening softens as Traveler enters
   ----------------------------------------- */

.gate.gate-entering::after {
    opacity: 0.45;

    background:
        radial-gradient(
            ellipse at 50% 80%,
            rgba(190, 200, 155, 0.18),
            rgba(65, 83, 66, 0.36) 58%,
            rgba(35, 52, 42, 0.48) 100%
        );

    transition:
        opacity 2s ease,
        background 2s ease;
}



/* =========================================================
   13. MID-GROUND GARDEN VEGETATION
   ========================================================= */

/* =========================================
   MOKSH — MID-GROUND GARDEN VEGETATION
   ========================================= */
.garden-shrubs {
    position: absolute;
    inset: 0;

    pointer-events: none;
    transform-style: preserve-3d;

    z-index: 2;

    opacity: 1;
}

/* =========================================
   MID-GROUND — ORGANIC SHRUB SILHOUETTES
   ========================================= */
.shrub-cluster {
    position: absolute;

    width: 150px;
    height: 120px;

    opacity: 0;

    pointer-events: none;

    filter: none;

    transition:
        opacity 4.5s ease,
        transform 5s cubic-bezier(.45, 0, .2, 1);

    background: none !important;

    border-radius:
    46% 54% 32% 38%
    /
    58% 42% 48% 52%;
}
/* =========================================
   LEFT VEGETATION
   ========================================= */

.shrub-left-1 {
   bottom: 12%;
  left:-1%;
  width: 380px;
  height: 350px;

    transform:
        translateZ(-120px)
        scale(0.95);
}

.shrub-left-2 {
    left: 8%;
    bottom: 22%;

    width: 350px;
    height: 255px;

    transform:
        translateZ(-165px)
        scale(0.82);
}
.shrub-left-2b {
    left: 16%;
    bottom: 15%;

    width: 355px;
    height: 250px;

    transform:
        translateZ(-165px)
        scale(0.78);
}

.shrub-left-3 {
    left: 18%;
    bottom: 25%;

    width: 325px;
    height: 410px;

    transform:
        translateZ(-210px)
        scale(0.68);
}
.shrub-left-3b {
    left: 20%;
    bottom: 19%;

    width: 355px;
    height: 500px;

    transform:
        translateZ(-210px)
        scale(0.68);
}
.shrub-left-3c {
    left: 17%;
    bottom: 32%;

    width: 425px;
    height: 270px;

    transform:
        translateZ(-210px)
        scale(0.68);
}
.shrub-left-3d {
    left: 16%;
    bottom: 28%;

    width: 255px;
    height: 310px;

    transform:
        translateZ(-210px)
        scale(0.68);
}
.shrub-left-3e {
    left: 15%;
    bottom: 11%;

    width: 465px;
    height: 700px;

    transform:
        translateZ(-235px)
        scale(0.62);
}

.shrub-left-4 {
    left: 15%;
    bottom: 25%;

    width: 350px;
    height: 220px;

    transform:
        translateZ(-245px)
        scale(0.58);
}
.shrub-left-5 {
    left: 26%;
    bottom: 27%;

    width: 235px;
    height: 255px;

    transform:
        translateZ(-180px)
        scale(0.78);
}
.shrub-left-5b {
    left: 0%;
    bottom: 25%;

    width: 275px;
    height: 255px;

    transform:
        translateZ(-180px)
        scale(0.78);
}
.shrub-left-6 {
    left: 2%;
    bottom: 25%;

    width: 390px;
    height: 265px;

    transform:
        translateZ(-180px)
        scale(0.70);
}
.shrub-left-6b {
    left: 22%;
    bottom: 22%;

    width: 310px;
    height: 200px;

    transform:
        translateZ(-180px)
        scale(0.70);
}


/* =========================================
   RIGHT VEGETATION
   ========================================= */

.shrub-right-1 {
    right: -3%;
    bottom: 10%;

    width: 550px;
    height: 350px;

    transform:
        translateZ(-125px)
        scale(0.92);
}

.shrub-right-2 {
    right: 5%;
    bottom: 15%;

    width: 350px;
    height: 510px;

    transform:
        translateZ(-165px)
        scale(0.82);
}
.shrub-right-2b {
    right: -6%;
    bottom: 10%;

    width: 565px;
    height: 610px;

    transform:
        translateZ(-170px)
        scale(0.80);
}

.shrub-right-3 {
    right: 16%;
    bottom: 20%;

    width: 700px;
    height: 505px;

    transform:
        translateZ(-215px)
        scale(0.68);
}
.shrub-right-3b {
    right: 6%;
    bottom: 14%;

    width: 625px;
    height: 615px;

    transform:
        translateZ(-215px)
        scale(0.68);
}
.shrub-right-3c {
    right: -5%;
    bottom: 14%;

    width: 825px;
    height: 505px;

    transform:
        translateZ(-215px)
        scale(0.68);
}
.shrub-right-3d {
    right: 23%;
    bottom: 29%;

    width: 355px;
    height: 220px;

    transform:
        translateZ(-215px)
        scale(0.68);
}
.shrub-right-3e {
    right: 28%;
    bottom: 28%;

    width: 315px;
    height: 350px;

    transform:
        translateZ(-235px)
        scale(0.62);
}
.shrub-right-4 {
    right: 25%;
    bottom: 30%;

    width: 350px;
    height: 258px;

    transform:
        translateZ(-250px)
        scale(0.56);
}
.shrub-right-5 {
    right: 19%;
    bottom: 15%;

    width: 365px;
    height: 300px;

    transform:
        translateZ(-180px)
        scale(0.78);
}
.shrub-right-5b {
    right: 12%;
    bottom: 25%;

    width: 365px;
    height: 250px;

    transform:
        translateZ(-180px)
        scale(0.78);
}
.shrub-right-6 {
    right: 17%;
    bottom: 20%;

    width: 335px;
    height: 410px;

    transform:
        translateZ(-210px)
        scale(0.68);
}
.shrub-right-6b {
    right: 20%;
    bottom: 26%;

    width: 335px;
    height: 220px;

    transform:
        translateZ(-210px)
        scale(0.68);
}
/* -----------------------------------------
   Garden wake
   ----------------------------------------- */
/* =========================================
   GARDEN AWAKENING
   ========================================= */

.garden.garden-awake .shrub-cluster {
    opacity: 0.72;
}
.garden.garden-awake .shrub-left-1,
.garden.garden-awake .shrub-right-1 {
    opacity: 0.82;
}

.garden.garden-awake .shrub-left-2,
.garden.garden-awake .shrub-right-2 {
    opacity: 0.68;
}

.garden.garden-awake .shrub-left-3,
.garden.garden-awake .shrub-right-3 {
    opacity: 0.54;
}

.garden.garden-awake .shrub-left-4,
.garden.garden-awake .shrub-right-4 {
    opacity: 0.42;
}

.garden.garden-awake .shrub-left-5,
.garden.garden-awake .shrub-right-5 {
    opacity: 0.62;
}

.garden.garden-awake .shrub-left-6,
.garden.garden-awake .shrub-right-6 {
    opacity: 0.48;
}


/* =========================================
   ORGANIC SHRUB SILHOUETTE
   ========================================= */
/* =========================================================
   MOKSH — SHRUB SILHOUETTE REFINEMENT
   Front cluster larger, receding clusters smaller
   ========================================================= */

.shrub-cluster::before {
    content: "";

    position: absolute;

    left: -4%;
    bottom: 2%;

    width: 108%;
    height: 86%;

    background:
    
        linear-gradient(
            to bottom,
            #0b3523 0%,
            #06291b 42%,
            #041b12 72%,
            #010503 100%
        );
box-shadow:
        inset 0 4px 6px rgba(30, 80, 55, 0.35),
        0 10px 25px rgba(0, 0, 0, 0.8);
    border-radius:
        42% 48% 38% 44%
        /
        58% 46% 52% 48%;

    clip-path: polygon(
    0% 68%,
    3% 59%,
    7% 53%,
    11% 49%,
    15% 51%,
    19% 45%,
    24% 42%,
    29% 45%,
    34% 39%,
    39% 42%,
    44% 36%,
    49% 39%,
    54% 35%,
    59% 40%,
    64% 37%,
    69% 42%,
    74% 39%,
    79% 44%,
    84% 41%,
    89% 47%,
    94% 44%,
    98% 52%,
    100% 58%,

    98% 70%,
    94% 80%,
    89% 87%,
    82% 89%,
    75% 86%,
    68% 91%,
    61% 88%,
    54% 92%,
    47% 89%,
    40% 93%,
    33% 89%,
    26% 92%,
    19% 87%,
    12% 90%,
    6% 84%,
    2% 76%
);
box-shadow:
        inset 0 4px 6px rgba(30, 80, 55, 0.25),
        0 10px 25px rgba(0, 0, 0, 0.8);
    pointer-events: none;
}
.shrub-cluster::after {
    content: "";

    position: absolute;
    left: -15%;
    right: -15%;
    bottom: -20%;

    width: 130%;
    height: 55%;

    background:
        radial-gradient(
            ellipse at 50% 100%,
            rgba(0, 6, 4, 0.95) 0%,
            rgba(0, 6, 4, 0.72) 35%,
            rgba(0, 6, 4, 0.30) 58%,
            transparent 78%
        );
    
    pointer-events: none;
}
/* =========================================
   SHRUB GROUNDING — SOFT / ORGANIC
   ========================================= */

.shrub-ground {
    position: absolute;

    width: 190px;
    height: 40px;

    border-radius: 50%;

    background:
        radial-gradient(
            ellipse at 50% 48%,
            rgba(0, 8, 5, 0.26) 0%,
            rgba(0, 10, 6, 0.14) 50%,
            rgba(0, 8, 5, 0.06) 100%,
            transparent 8%
        );

    

    opacity: 1;

    pointer-events: none;

    z-index: 1;

    transition:
        opacity 3.5s ease;
}

/* -----------------------------------------
   Left shrub grounding
   ----------------------------------------- */

.shrub-ground-left {
    left: 7%;
    bottom: 27%;
}


/* -----------------------------------------
   Right shrub grounding
   ----------------------------------------- */

.shrub-ground-right {
    right: 8%;
    bottom: 29%;
}


/* -----------------------------------------
   Reveal with garden vegetation
   ----------------------------------------- */

.garden.garden-awake .shrub-ground-left {
    opacity: 0.7;
}

.garden.garden-awake .shrub-ground-right {
    opacity: 0.55;
}

/* =========================================================
   MOKSH — FOREGROUND OVAL TREE MASSES
   Layer 3
   ========================================================= */
.garden-foreground {
    position: absolute;
    inset: 0;

    pointer-events: none;

    z-index: 4;

}


/* ---------------------------------------------------------
   FOREGROUND CLOUD CONTAINERS
   --------------------------------------------------------- */

.garden-foreground .shrub-cloud-cluster {
    bottom: -2%;

    width: 27%;
    height: 30%;

    pointer-events: none;
    z-index: 1;
}

/* LEFT FRONT */

.garden-foreground .foreground-left {
    left: -7%;
}


/* RIGHT FRONT */

.garden-foreground .foreground-right {
    right: -7%;

    transform: scaleX(-1);
}


/* LEFT SECONDARY */

.garden-foreground .foreground-left-secondary {
    left: 8%;
    bottom: 2%;

    width: 18%;
    height: 23%;
}

/* RIGHT SECONDARY */

.garden-foreground .foreground-right-secondary {
    right: 8%;
    bottom: 2%;

    width: 18%;
    height: 23%;

    transform: scaleX(-1);
}

/* =========================================================
   FOREGROUND CLOUD PUFF
   ========================================================= */

.garden-foreground .cloud-puff {
    position: absolute;

    border-radius:
        50% 50% 46% 46%
        /
        62% 62% 38% 38%;

    background:
        radial-gradient(
            ellipse at 50% 25%,
            #0b3321 0%,
            #062317 48%,
            #020d08 88%
        );

    box-shadow:
        inset 0 5px 8px rgba(30, 80, 55, 0.18),
        0 12px 28px rgba(0, 0, 0, 0.72);

    pointer-events: none;
}


/* =========================================================
   FRONT TREE — FOUR OVERLAPPING OVAL MASSES
   ========================================================= */

.garden-foreground .puff-1 {
    left: 4%;
    bottom: 2%;

    width: 52%;
    height: 58%;
}

.garden-foreground .puff-2 {
    left: 25%;
    bottom: 16%;

    width: 46%;
    height: 64%;
}

.garden-foreground .puff-3 {
    left: 48%;
    bottom: 7%;

    width: 50%;
    height: 60%;
}

.garden-foreground .puff-4 {
    left: 67%;
    bottom: 1%;

    width: 43%;
    height: 52%;

    background:
        radial-gradient(
            ellipse at 50% 20%,
            #08291b 0%,
            #041b12 55%,
            #020b07 90%
        );
}


/* =========================================================
   SECONDARY / RECEDING FOREGROUND TREE
   ========================================================= */

.garden-foreground .puff-5 {
    left: 2%;
    bottom: 2%;

    width: 52%;
    height: 55%;
}

.garden-foreground .puff-6 {
    left: 25%;
    bottom: 14%;

    width: 48%;
    height: 62%;
}

.garden-foreground .puff-7 {
    left: 49%;
    bottom: 5%;

    width: 52%;
    height: 56%;
}

.garden-foreground .puff-8 {
    left: 68%;
    bottom: 0%;

    width: 42%;
    height: 50%;
}

/* =========================================================
   14. GARDEN ATMOSPHERE / MIST / HORIZON
   ========================================================= */

/* =========================================
   MOKSH — DEEP GARDEN ATMOSPHERE
   ========================================= */

.garden-mist {
    position: absolute;

    left: 50%;
    top: 30%;

    width: 78%;
    height: 32%;

    transform: translateX(-50%);

    pointer-events: none;

    z-index: 1;

    opacity: 0;

    background:
        radial-gradient(
            ellipse at 50% 55%,
            rgba(92, 122, 96, 0.10) 0%,
            rgba(70, 103, 78, 0.065) 38%,
            transparent 72%
        ),

        radial-gradient(
            ellipse at 30% 60%,
            rgba(76, 105, 80, 0.045),
            transparent 68%
        ),

        radial-gradient(
            ellipse at 72% 48%,
            rgba(76, 105, 80, 0.04),
            transparent 70%
        );

    filter: blur(18px);

    transition:
        opacity 5s ease,
        transform 6s cubic-bezier(.45, 0, .2, 1);
}


/* -----------------------------------------
   Garden gradually breathes
   ----------------------------------------- */

.garden.garden-awake .garden-mist {
    opacity: 0.75;

    transform:
        translateX(-50%)
        scale(1.04);
}
/* -----------------------------------------
   Garden awakens — entrance message fades
   ----------------------------------------- */

.garden.garden-awake .entrance-message {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-18px);
    filter: blur(4px);
    transition:
        opacity 2.4s ease,
        transform 2.8s ease,
        filter 2.4s ease;
}
/* -----------------------------------------
   Garden awakens — entrance fades away
   ----------------------------------------- */

.garden.garden-awake .gate-area {
    opacity: 0;
    pointer-events: none;
    filter: brightness(0.65);
}
/* =========================================
   MOKSH — GARDEN ATMOSPHERE
   ========================================= */

.garden-atmosphere {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 50% 25%,
            rgba(0, 255, 170, 0.60) 0%,
            transparent 40%
        );

    pointer-events: none;

    z-index: 0;

    opacity: 1;

    transition:
        opacity 4.5s ease;
}


/* -----------------------------------------
   The garden becomes quieter
   ----------------------------------------- */

.garden.garden-deeper .garden-atmosphere {
    opacity: 0;
}
.garden.garden-deeper .gate-area {
    opacity: 0.18;
    filter: brightness(0.72);
}
/* =========================================
   MOKSH — GARDEN LANDING ATMOSPHERE
   ========================================= */

.garden-response-glow {
    position: absolute;
    inset: 0;

    pointer-events: none;

    z-index: 1;

    background:
        radial-gradient(
            ellipse at 50% 60%,
            rgba(9, 63, 45, 0.42) 0%,
            transparent 65%
        ),
        radial-gradient(
            ellipse at 50% 30%,
            rgba(0, 0, 0, 0.1) 0%,
            transparent 50%
        );

    opacity: 0;
}
.garden.garden-awake .garden-response-glow {
    opacity: 1;

    animation:
        gardenLandingBreath 12s ease-in-out infinite alternate;

    transition:
        opacity 3s ease;
}
@keyframes gardenLandingBreath {

    0% {
        transform: scale(0.995);
        opacity: 0.82;
    }

    100% {
        transform: scale(1.015);
        opacity: 1;
    }

}


/* =========================================================
   15. DISTANT PRESENCE
   ========================================================= */

/* =========================================
   MOKSH — DISTANT PRESENCE
   ========================================= */

.distant-presence {
    position: absolute;

    left: 50%;
    top: 31%;

    width: 140px;
    height: 180px;

    transform:
        translateX(-50%)
        translateZ(-500px)
        scale(0.72);

    pointer-events: none;

    z-index: 2;

    opacity: 0;

    transition:
        opacity 5s ease,
        transform 7s cubic-bezier(.45, 0, .2, 1);
}
/* =========================================
   MOKSH — DISTANT PRESENCE SILHOUETTE
   ========================================= */

/*.distant-presence::before {
    content: "";

    position: absolute;

    left: 50%;
    top: 38%;

    width: 76px;
    height: 95px;

    transform:
        translateX(-50%)
        scale(0.82);

    border-radius: 38px 38px 10px 10px;

    background:
        linear-gradient(
            to bottom,
            rgba(20, 38, 31, 0.18),
            rgba(10, 25, 20, 0.30)
        );

    opacity: 0;

    filter: blur(2px);

    transition:
        opacity 5s ease,
        transform 6s cubic-bezier(.45, 0, .2, 1);
}


/* -----------------------------------------
   Very subtle roof / crown
   ----------------------------------------- */

/*.distant-presence::after {
    content: "";

    position: absolute;

    left: 50%;
    top: 28%;

    width: 92px;
    height: 32px;

    transform:
        translateX(-50%)
        scale(0.78);

    clip-path: polygon(
        50% 0%,
        100% 100%,
        0% 100%
    );

    background:
        rgba(15, 34, 27, 0.22);

    opacity: 0;

    filter: blur(2px);

    transition:
        opacity 5s ease,
        transform 6s cubic-bezier(.45, 0, .2, 1);
}


/* -----------------------------------------
   Structure reveals AFTER the light
   ----------------------------------------- */

/*.garden.presence-revealing .distant-presence::before {
    opacity: 0.80;

    transform:
        translateX(-50%)
        scale(0.88);
}

.garden.presence-revealing .distant-presence::after {
    opacity: 0.75;

    transform:
        translateX(-50%)
        scale(0.84);
}

/* -----------------------------------------
   The distant warm presence
   ----------------------------------------- */

.presence-light {
    position: absolute;

    left: 50%;
    top: 43%;

    width: 18px;
    height: 28px;

    transform: translateX(-50%);

    border-radius: 50%;

    background:
        radial-gradient(
            ellipse,
            rgba(255, 231, 164, 0.95) 0%,
            rgba(224, 196, 122, 0.55) 35%,
            rgba(180, 157, 102, 0.16) 65%,
            transparent 100%
        );

    filter: blur(1px);

    box-shadow:
        0 0 14px rgba(255, 221, 150, 0.32),
        0 0 35px rgba(255, 211, 130, 0.14);

        transition:
        opacity 3s ease,
        filter 3s ease;
}
.garden.presence-awake .presence-light {
    opacity: 1;

    filter:
        blur(0.6px)
        drop-shadow(0 0 8px rgba(255, 226, 150, 0.35));
}

/* -----------------------------------------
   Reveal only after traveler moves deeper
   ----------------------------------------- */

.garden.garden-deeper .distant-presence {
    opacity: 0.72;

    transform:
        translateX(-50%)
        translateZ(-420px)
        scale(0.82);
}



/* =========================================================
   16. DEEP ENVIRONMENT
   ========================================================= */

/* =========================================
   MOKSH — DEEP ENVIRONMENT
   ========================================= */

.deep-environment {
    position: absolute;
    inset: 0;

    pointer-events: none;

    z-index: 0;
    transform:
        translateZ(0)
        scale(1);

    transform-origin: 50% 50%;
    opacity: 0;
}
/* Deep atmospheric depth */
.deep-environment::before {
    content: "";

    position: absolute;

    left: 50%;
    top: 30%;

    width: 46%;
    height: 24%;

    transform: translateX(-50%);

    background:
        radial-gradient(
            ellipse at 50% 55%,
            rgba(72, 104, 82, 0.16) 0%,
            rgba(54, 86, 68, 0.09) 38%,
            transparent 72%
        );

    filter: blur(18px);

    opacity: 0.55;
}
.garden.deep-environment-awake .deep-environment {
    opacity: 1;

    transition:
        opacity 6s ease;
}

/* =========================================
   MOKSH — DISTANT VEGETATION HORIZON
   ========================================= */
.deep-vegetation {
    position: absolute;

    left: 50%;
    top: 43%;

    width: 45%;
    height: 55px;

    transform:
        translateX(-50%)
        scaleX(1);

    background:
        radial-gradient(
            ellipse at 12% 100%,
            rgba(8, 31, 21, 0.30) 0%,
            transparent 48%
        ),
        radial-gradient(
            ellipse at 30% 100%,
            rgba(7, 29, 20, 0.34) 0%,
            transparent 52%
        ),
        radial-gradient(
            ellipse at 50% 100%,
            rgba(8, 32, 22, 0.28) 0%,
            transparent 50%
        ),
        radial-gradient(
            ellipse at 70% 100%,
            rgba(7, 29, 20, 0.34) 0%,
            transparent 52%
        ),
        radial-gradient(
            ellipse at 88% 100%,
            rgba(8, 31, 21, 0.30) 0%,
            transparent 48%
        );

    filter: blur(8px);
    opacity: 0;

    transition:
        opacity 6s ease,
        transform 7s cubic-bezier(.45, 0, .2, 1);
}
.garden.deep-environment-awake .deep-vegetation {
    opacity: 0.55;

    transform:
        translateX(-50%)
        scaleX(1);
}
.deep-vegetation::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            ellipse at 8% 100%,
            rgba(5, 25, 17, 0.34) 0%,
            transparent 42%
        ),
        radial-gradient(
            ellipse at 24% 92%,
            rgba(5, 27, 18, 0.28) 0%,
            transparent 38%
        ),
        radial-gradient(
            ellipse at 47% 100%,
            rgba(5, 25, 17, 0.30) 0%,
            transparent 44%
        ),
        radial-gradient(
            ellipse at 72% 94%,
            rgba(5, 27, 18, 0.28) 0%,
            transparent 40%
        ),
        radial-gradient(
            ellipse at 91% 100%,
            rgba(5, 25, 17, 0.34) 0%,
            transparent 42%
        );

    filter: blur(6px);

    pointer-events: none;
}

/* =========================================
   MOKSH — DISTANT ILLUMINATED GROUND
   ========================================= */

.presence-ground {
    position: absolute;

    left: 50%;
    top: 72%;

    width: 190px;
    height: 70px;

    transform:
        translateX(-50%)
        scaleX(0.72);

    border-radius: 50%;

    background:
        radial-gradient(
            ellipse,
            rgba(166, 145, 91, 0.12) 0%,
            rgba(120, 110, 78, 0.07) 38%,
            transparent 72%
        );

    filter: blur(8px);

    opacity: 0;

    pointer-events: none;

    transition:
        opacity 6s ease,
        transform 7s cubic-bezier(.45, 0, .2, 1);
}

.garden.deep-environment-awake .presence-ground {
    opacity: 0.72;

    transform:
        translateX(-50%)
        scaleX(1);
    animation:
        deepEnvironmentBreath 14s ease-in-out infinite;    
}
@keyframes deepEnvironmentBreath {
    0%,
    100% {
        transform:
            translateZ(0)
            scale(1);
    }

    50% {
        transform:
            translateZ(0)
            scale(1.012);
    }
}

/* =========================================================
   17. MOKSH REVELATION
   ========================================================= */

.moksh-revelation {
    position: absolute;

    left: 50%;
    top: 27%;

    width: 140px;
    height: 150px;

    transform:
        translateX(-50%)
        scale(0.72);

    opacity: 0;

    pointer-events: none;

    z-index: 1;

    transition:
    opacity 10s ease-in-out,
    transform 10s cubic-bezier(.45, 0, .2, 1);
}
.moksh-revelation::before {
    content: "";

    position: absolute;

    left: 50%;
    top: 18%;

    width: 84px;
    height: 108px;

    transform: translateX(-50%);

    background:
    linear-gradient(
        to bottom,
        rgba(16, 34, 25, 0.48),
        rgba(12, 28, 20, 0.42)
    );

    border-radius: 36px 36px 0 0;

    filter: blur(1.5px);

    opacity: 0.72;
    -webkit-mask-image:
    linear-gradient(
        to bottom,
        black 0%,
        black 55%,
        rgba(0,0,0,0.55) 78%,
        transparent 100%
    );

mask-image:
    linear-gradient(
        to bottom,
        black 0%,
        black 55%,
        rgba(0,0,0,0.55) 78%,
        transparent 100%
    );
    transition:
        opacity 6s ease-in-out,
        transform 6s cubic-bezier(.45, 0, .2, 1),
        filter 6s ease,
        background 6s ease,
        box-shadow 6s ease;
}
.garden.revelation-awake .moksh-revelation::before {
    opacity: 0.85;

    transform:
        translateX(-50%)
        scale(0.92);
}
.moksh-revelation::after {
    content: "";

    position: absolute;

    left: 50%;
    top: 28%;

    width: 28px;
    height: 72px;

    transform:
        translateX(-50%)
        scale(0.82);

    background:
        radial-gradient(
            ellipse at 50% 70%,
            rgba(246, 207, 118, 0.16) 0%,
            rgba(246, 207, 118, 0.06) 35%,
            transparent 72%
        );

    border-radius: 50% 50% 18px 18px;

    filter: blur(2x);

    opacity: 0;

    pointer-events: none;

    transition:
    opacity 8s ease-in-out,
    transform 8s cubic-bezier(.45, 0, .2, 1),
    filter 8s ease,
    background 8s ease;
}

.garden.threshold-awake .moksh-revelation {
    opacity: 0.10;

    transform:
        translateX(-50%)
        scale(0.74);
}
.garden.revelation-awake .moksh-revelation {
    opacity: 0.72;

    transform:
        translateX(-50%)
        scale(0.78);
}
.garden.revelation-zoom {
    transform:
        scale(0.86);
    
    transition:
        transform 5s cubic-bezier(.45, 0, .2, 1);
}

/* =========================================================
   MOKSH REVELATION — PHASE 2
   Presence becomes more defined
   ========================================================= */

.garden.revelation-deeper .moksh-revelation::before {
    opacity: 1;

    transform:
        translateX(-50%)
        scale(1);

    background:
        linear-gradient(
            to bottom,
            rgba(16, 34, 25, 0.58),
            rgba(12, 28, 20, 0.50)
        );

    filter: blur(1px);
}

/* =========================================================
   MOKSH REVELATION — PHASE 3
   Arch becomes defined
   ========================================================= */

.garden.revelation-deeper-2 .moksh-revelation::before {
    opacity: 1;

    transform:
        translateX(-50%)
        scale(1);

    background:
        linear-gradient(
            to bottom,
            rgba(12, 29, 21, 0.68) 0%,
            rgba(10, 26, 19, 0.58) 58%,
            rgba(7, 20, 14, 0.48) 100%
        );

    border-radius: 42px 42px 0 0;

    filter: blur(0.3px);

    box-shadow:
        inset 0 0 20px rgba(0, 0, 0, 0.25);
}
/* =========================================================
   MOKSH REVELATION — PHASE 4
   The presence responds
   ========================================================= */

.garden.revelation-response .moksh-revelation::after {
    opacity: 0.72;

    transform:
        translateX(-50%)
        scale(0.94);

    filter: blur(3px);

    background:
        radial-gradient(
            ellipse at 50% 68%,
            rgba(246, 207, 118, 0.16) 0%,
            rgba(246, 207, 118, 0.08) 38%,
            rgba(246, 207, 118, 0.02) 65%,
            transparent 78%
        );
}
/* =========================================================
   MOKSH REVELATION — PHASE 5
   Inner doorway begins to reveal
   ========================================================= */

.garden.revelation-opening .moksh-revelation::after {
    opacity: 0.68;

    transform:
        translateX(-50%)
        scaleX(0.82)
        scaleY(1.04);

    background:
        linear-gradient(
            to bottom,
            rgba(246, 207, 118, 0.05) 0%,
            rgba(246, 207, 118, 0.12) 48%,
            rgba(246, 207, 118, 0.18) 72%,
            rgba(246, 207, 118, 0.04) 100%
        );

    filter: blur(2.5px);
}

/* =========================================================
   MOKSH REVELATION — PHASE 6
   Inner Breath
   ========================================================= */

@keyframes mokshInnerBreath {
    0%,
    100% {
        opacity: 0.78;
        filter: blur(3px);
    }

    50% {
        opacity: 0.92;
        filter: blur(2px);
    }
}
.garden.revelation-breathing .moksh-revelation::after {
    animation:
        mokshInnerBreath 12s ease-in-out infinite;
}

/* =========================================================
   MOKSH — FINAL REVELATION
   The presence settles
   ========================================================= */

.garden.final-revelation .moksh-revelation::after {

    animation: none;

    opacity: 0.84;

    transform:
        translateX(-50%)
        scaleX(0.84)
        scaleY(1.02);

    filter: blur(2.5px);

    transition:
        opacity 8s ease-in-out,
        transform 8s cubic-bezier(.45, 0, .2, 1),
        filter 8s ease;
}
/* =========================================================
   MOKSH — FINAL GATE
   Revelation becomes the passage to Moksh World
   ========================================================= */

.garden.final-revelation .moksh-revelation {

    width: 360px;
    height: 430px;

    top: 20%;

    transform:
        translateX(-50%)
        scale(1.15);

    opacity: 0;

    transition:
        width 10s cubic-bezier(.45, 0, .2, 1),
        height 10s cubic-bezier(.45, 0, .2, 1),
        top 10s cubic-bezier(.45, 0, .2, 1),
        transform 10s cubic-bezier(.45, 0, .2, 1),
        opacity 6s ease-in-out;
}
.garden.final-revelation .moksh-revelation::before {

    width: 220px;
    height: 300px;

    top: 10%;

    border-radius: 90px 90px 0 0;

    opacity: 1;

    filter: blur(0.4px);

    transform:
        translateX(-50%)
        scale(1);

    transition:
        width 10s cubic-bezier(.45, 0, .2, 1),
        height 10s cubic-bezier(.45, 0, .2, 1),
        opacity 8s ease,
        transform 10s cubic-bezier(.45, 0, .2, 1),
        filter 8s ease;
}

.garden.final-revelation .moksh-revelation::after {

    width: 72px;
    height: 190px;

    top: 27%;

    opacity: 0.84;

    transform:
        translateX(-50%)
        scaleX(0.86)
        scaleY(1);

    filter: blur(2.5px);

    transition:
        width 10s cubic-bezier(.45, 0, .2, 1),
        height 10s cubic-bezier(.45, 0, .2, 1),
        opacity 8s ease,
        transform 10s cubic-bezier(.45, 0, .2, 1),
        filter 8s ease;
}
/* =========================================================
   MOKSH — FINAL REALIZATION
   The answer surfaces quietly
   ========================================================= */

.final-realization {
    position: absolute;

    left: 50%;
    top: 67%;

    width: min(520px, 70%);

    transform:
        translateX(-50%)
        translateY(12px);

    text-align: center;

    opacity: 0;

    pointer-events: none;

    z-index: 6;

    transition:
        opacity 5s ease-in-out,
        transform 5s cubic-bezier(.45, 0, .2, 1);
}

.final-realization-line {
    font-family: inherit;

    color: rgba(226, 204, 148, 0.96);

    font-size: clamp(15px, 1.35vw, 21px);

    line-height: 1.8;

    letter-spacing: 0.04em;

    text-shadow:
        0 0 14px rgba(246, 207, 118, 0.18);

    opacity: 0;

    transform: translateY(8px);

    transition:
        opacity 4s ease-in-out,
        transform 4s cubic-bezier(.45, 0, .2, 1);
}


/* First realization */
.garden.final-realization-state .final-realization {
    opacity: 1;

    transform:
        translateX(-50%)
        translateY(0);
}

.garden.final-realization-state .final-realization-first {
    opacity: 1;

    transform: translateY(0);
}

/* Second realization */
.garden.final-realization-second .final-realization-second {
    opacity: 1;

    transform: translateY(0);
}
/* =========================================================
   18. AWAKENING FIREFLIES
   ========================================================= */

/* =========================================
   MOKSH — AWAKENING FIREFLIES
   ========================================= */

.fireflies-layer {
    position: absolute;
    inset: 0;

    pointer-events: none;

    z-index: 4;

    opacity: 0;
}
.firefly {
    position: absolute;

    width: 4px;
    height: 4px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(246, 207, 118, 1) 0%,
            rgba(246, 207, 118, 0.55) 45%,
            transparent 100%
        );

    box-shadow:
    0 0 6px rgba(246, 207, 118, 0.9),
    0 0 14px rgba(246, 207, 118, 0.38);

    opacity: 0.5;
}
.firefly:nth-child(1) {
    top: 64%;
    left: 34%;
}

.firefly:nth-child(2) {
    top: 57%;
    left: 62%;
}

.firefly:nth-child(3) {
    top: 71%;
    left: 46%;
}

.firefly:nth-child(4) {
    top: 52%;
    left: 29%;
}

.firefly:nth-child(5) {
    top: 67%;
    left: 68%;
}
.garden.garden-awake .fireflies-layer {
    opacity: 1;
}
@keyframes fireflyAwaken {

    0% {
        opacity: 0;
        transform:
            translateY(10px)
            scale(0.6);
    }

    35% {
        opacity: 0.85;
        transform:
            translateY(0)
            scale(1);
    }

    70% {
        opacity: 0.55;
        transform:
            translateY(-8px)
            scale(1.05);
    }

    100% {
        opacity: 0.25;
        transform:
            translateY(-18px)
            scale(0.9);
    }
}
.garden.garden-awake .firefly:nth-child(1) {
    animation: fireflyAwaken 5.5s ease-in-out 0.2s forwards;
}

.garden.garden-awake .firefly:nth-child(2) {
    animation: fireflyAwaken 5.5s ease-in-out 0.8s forwards;
}

.garden.garden-awake .firefly:nth-child(3) {
    animation: fireflyAwaken 5.5s ease-in-out 1.4s forwards;
}

.garden.garden-awake .firefly:nth-child(4) {
    animation: fireflyAwaken 5.5s ease-in-out 0.5s forwards;
}

.garden.garden-awake .firefly:nth-child(5) {
    animation: fireflyAwaken 5.5s ease-in-out 1.1s forwards;
}

/* =========================================================
   19. JOURNEY / STATE TRANSITIONS
   ========================================================= */

/* =========================================
   MOKSH — DEEPER CAMERA PUSH
   ========================================= */
.garden.camera-deeper .garden-world {
    transform:
        translateZ(45px);

    transition:
        transform 4.5s cubic-bezier(.45, 0, .2, 1);
}
/* =========================================
   TRAVELER — FIRST STEP
   ========================================= */


.traveler-entering {
    transform:
        translateX(-50%)
        translateY(-155px)
        scale(1.02);

    opacity: 0.95;
}
/* -----------------------------------------
   Traveler — arrived inside the garden
   ----------------------------------------- */

.traveler-entered {
    transform:
        translateX(-50%)
        translateY(-180px)
        scale(1.02);

    opacity: 0.95;
}
.traveler-entering::after {
    transform:
        translateX(-50%)
        scale(0.9);

    opacity: 0.7;
}
/* =========================================
   MOKSH — TRAVELER
   First deeper step
========================================= */

.traveler-deeper {
    transform:
        translateX(-50%)
        translateY(-205px)
        scale(0.88);

    opacity: 0.92;
}

/* =========================================
   MOKSH — DEEPER JOURNEY / STEP 2
   ========================================= */

.traveler-further {
    transform:
        translateX(-50%)
        translateY(-220px)
        scale(0.76);

    opacity: 0.82;

    transition:
        transform 4.5s cubic-bezier(.45, 0, .2, 1),
        opacity 4s ease;
}

.garden.presence-approaching .distant-presence {
    opacity: 0.88;

    transform:
        translateX(-50%)
        translateZ(-360px)
        scale(0.90);
}
.garden.presence-approaching .presence-light {
    filter:
        blur(0.7px)
        drop-shadow(
            0 0 12px rgba(255, 226, 150, 0.42)
        );
}
.garden.garden-entering {
    transform:
        scale(1.05)
        translateY(1%);
}


/* -----------------------------------------
   World remains at arrival position
   ----------------------------------------- */

.garden.garden-entered {
    transform:
        scale(1.05)
        translateY(1%);
}


/* =========================================================
   20. MESSAGE / ENTER UI
   ========================================================= */

/* =========================================
   MESSAGE
   ========================================= */

.entrance-message {
    position: absolute;

    top: 8%;
    left: 50%;

    width: min(90%, 620px);

    transform: translateX(-50%);

    text-align: center;

    z-index: 10;

    transition:
        opacity 2s ease,
        transform 2s ease;
}
.entrance-message .eyebrow,
.entrance-message h1,
.entrance-message .title,
.entrance-message .message,
.entrance-message .enter-garden {

    transition:
        opacity 2.8s ease,
        transform 2.8s ease;
}

/* =========================================================
   MOKSH — ENTRANCE CONTENT RECEDING
   ========================================================= */

.entrance-message.content-receding .eyebrow,
.entrance-message.content-receding .title,
.entrance-message.content-receding .message,
.entrance-message.content-receding .manifesto-link,
.entrance-message.content-receding .enter-garden {

    opacity: 0 !important;

    transform:
        translateY(-20px) !important;

    pointer-events: none;
}
/* =========================================================
   COMMON READER — HIDE HOME ENTRANCE CONTENT
   ========================================================= */

.entrance-message.reader-content-hidden {
    display: none !important;
}
/* =========================================================
   ENTRANCE MESSAGE — RECeded INTERACTION
   ========================================================= */

.entrance-message.content-receding {
    pointer-events: none;
}

.eyebrow {
    margin-bottom: 20px;

    font-family:
        "Noto Sans Devanagari",
        sans-serif;

    font-size: 0.85rem;

    letter-spacing: 0.10em;

    opacity: 0.7;
}

h1 {
    font-size: clamp(4rem, 9vw, 7rem);

    font-weight: 600;

    letter-spacing: 0.04em;

    line-height: 1;

    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.55),
        0 0 14px rgba(0, 0, 0, 0.30);
}

.title {
    margin-top: 10px;

    font-size: 1rem;

    letter-spacing: 0.35em;

    text-transform: uppercase;

    opacity: 0.65;
}

.message {
    margin: 35px auto;

    max-width: 460px;

    font-family:
        "Noto Sans Devanagari",
        sans-serif;

    font-size: 1.15rem;

    line-height: 2;

    color: var(--text-soft);
}

.message p + p {
    margin-top: 8px;
}

/* =========================================================
   HOME — MANIFESTO LINK
   ========================================================= */

.manifesto-link {
    margin: 8px 0 20px;

    padding: 8px 16px;

    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;

    background: transparent;

    color: var(--mist);

    font-family:
        "Noto Sans Devanagari",
        sans-serif;

    font-size: 0.88rem;

    cursor: pointer;

    opacity: 0.72;

    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

.manifesto-link:hover {
    opacity: 1;

    transform:
        translateY(-1px);
}
/* =========================================
   ENTER BUTTON
   ========================================= */

.enter-garden {
    padding: 13px 28px;

    border: 1px solid rgba(255, 255, 255, 0.3);

    border-radius: 50px;

    background: rgba(255, 255, 255, 0.08);

    color: var(--mist);

    font-family:
        "Noto Sans Devanagari",
        sans-serif;

    font-size: 0.95rem;

    cursor: pointer;

    backdrop-filter: blur(8px);

    transition:
        background 0.6s ease,
        transform 0.6s ease,
        border-color 0.6s ease;
}

.enter-garden:hover {
    background: rgba(255, 255, 255, 0.14);

    border-color: rgba(255, 255, 255, 0.55);

    transform: translateY(-2px);
}



/* =========================================================
   21. RESPONSIVE
   ========================================================= */

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 600px) {

    .entrance {
        min-height: 600px;
    }

    .message {
        font-size: 0.95rem;

        margin-top: 28px;
    }

    .entrance-message {
        top: 7%;
    }

}

/* Container for shrub clusters framing the path */
.shrub-cloud-cluster {
  position: absolute;
  bottom: 0;
  width: 40%;
  height: 45%;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  --plant-color: rgba(72, 112, 62, 0.74);
  isolation: isolate;

}

.shrub-left {
  left: 0%;
}

.shrub-right {
  right: 0%;
  transform: scaleX(-1); /* Flips right side to vary the pattern naturally */
}

/* =========================================================
   MOKSH — UNIQUE FOREGROUND PLANT
   Fan-shaped lines inside every foreground puff
   ========================================================= */

.cloud-puff {
    position: absolute;
    border-radius: 50%;

    /* IMPORTANT:
       clips the plant cleanly inside the oval/circle */
    overflow: hidden;

    background: radial-gradient(
        circle at 50% 25%,
        #0c2a1e 0%,
        #061a12 50%,
        #020b08 90%
    );

    box-shadow:
        inset 0 4px 6px rgba(30, 80, 55, 0.25),
        0 10px 25px rgba(0, 0, 0, 0.8);

    --plant-line: rgba(70, 135, 70, 0.78);
}


/* ---------------------------------------------------------
   PLANT FAN
   --------------------------------------------------------- */

.cloud-puff::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 5%;

    width: 58%;
    height: 52%;

    transform: translateX(-50%);

    /* Thin rays spreading upward from one point */
    background:
        repeating-conic-gradient(
            from 250deg at 50% 100%,
            transparent 0deg 8deg,
            var(--plant-line) 8deg 10deg,
            transparent 10deg 18deg
        );

    /* Keep only the upper fan area */
    clip-path: polygon(
        0% 100%,
        50% 0%,
        100% 100%
    );

    pointer-events: none;
}

/* Cluster Composition (Overlapping circles to form the cloud volume) */
.cloud-puff.puff-1 {
  bottom: 20%;
  left: 10%;
  width: 260px;
  height: 290px;
}

.cloud-puff.puff-2 {
  bottom: 14%;
  left: 28%;
  width: 150px;
  height: 240px;
  background: radial-gradient(
    circle at 50% 20%,
    #082016 0%,
    #020b08 80%
  );
}

.cloud-puff.puff-3 {
  bottom: 4%;
  left: 29%;
  width: 280px;
  height: 360px;
}

.cloud-puff.puff-4 {
  bottom: 5%;
  left: 55%;
  width: 220px;
  height: 220px;
  background: radial-gradient(
    circle at 50% 20%,
    #082016 0%,
    #020b08 80%
  );
}
.cloud-puff.puff-5 {
  bottom: 2%;
  left: 20%;
  width: 280px;
  height: 350px;
}

.cloud-puff.puff-6 {
  bottom: 2%;
  left: 55%;
  width: 120px;
  height: 140px;
}

.cloud-puff.puff-7 {
  bottom: -5%;
  left: 30%;
  width: 230px;
  height: 320px;
}

.cloud-puff.puff-8 {
  bottom: -2%;
  left: 0%;
  width: 250px;
  height: 350px;
  background: radial-gradient(
    circle at 50% 20%,
    #082016 0%,
    #020b08 80%
  );
}
.garden.garden-awake .shrub-cloud-cluster {
    opacity: 1;
}
/* =========================================================
   MOKSH — SIMPLE FOREGROUND PLANT LINES
   ========================================================= */
.shrub-cloud-cluster::before {
    content: "";
display:none;
    position: absolute;

    left: 50%;
    bottom: 12%;

    width: 70px;
    height: 100px;

    transform: translateX(-50%);

    pointer-events: none;

    z-index: 20;

    background:
        linear-gradient(
            60deg,
            transparent 47%,
            rgba(72, 112, 58, 0.95) 48%,
            rgba(72, 112, 58, 0.95) 52%,
            transparent 53%
        ),
        linear-gradient(
            35deg,
            transparent 47%,
            rgba(72, 112, 58, 0.95) 48%,
            rgba(72, 112, 58, 0.95) 52%,
            transparent 53%
        ),
        linear-gradient(
            0deg,
            transparent 47%,
            rgba(82, 122, 67, 0.98) 48%,
            rgba(82, 122, 67, 0.98) 52%,
            transparent 53%
        ),
        linear-gradient(
            -35deg,
            transparent 47%,
            rgba(72, 112, 58, 0.95) 48%,
            rgba(72, 112, 58, 0.95) 52%,
            transparent 53%
        ),
        linear-gradient(
            -60deg,
            transparent 47%,
            rgba(72, 112, 58, 0.95) 48%,
            rgba(72, 112, 58, 0.95) 52%,
            transparent 53%
        );

    background-repeat: no-repeat;
}

/* =========================================================
   MOKSH SPECIAL PLANTS
   TYPE A — FAN PLANT
   ========================================================= */

.moksh-plant {
    position: absolute;
display:none;
    width: 90px;
    height: 125px;

    pointer-events: none;

    z-index: 4;
    opacity:0;
    overflow: visible;
}


/* ---------------------------------------------------------
   FIRST PLANT POSITION
   --------------------------------------------------------- */

.moksh-plant-a {
    left: 15%;
    bottom: 4%;
}


/* ---------------------------------------------------------
   CENTRAL STEM
   --------------------------------------------------------- */

.moksh-stem {
    position: absolute;

    left: 50%;
    bottom: 0;

    width: 4px;
    height: 55px;

    transform:
        translateX(-50%)
        rotate(2deg);

    transform-origin: bottom center;

    background: #244b31;

    border-radius: 50%;
}


/* ---------------------------------------------------------
   FAN FRONDS
   --------------------------------------------------------- */

.moksh-frond {
    position: absolute;

    left: 50%;
    bottom: 42px;

    width: 3px;
    height: 72px;

    transform-origin: bottom center;

    border-radius: 100%;

    background:
        linear-gradient(
            to top,
            #315c36 0%,
            #66833c 65%,
            #8a9b45 100%
        );

    opacity: 0.65;
}


/* ---------------------------------------------------------
   INDIVIDUAL FRONDS
   --------------------------------------------------------- */

.moksh-frond.f1 {
    transform: translateX(-50%) rotate(-55deg);
    height: 58px;
}

.moksh-frond.f2 {
    transform: translateX(-50%) rotate(-40deg);
    height: 70px;
}

.moksh-frond.f3 {
    transform: translateX(-50%) rotate(-24deg);
    height: 78px;
}

.moksh-frond.f4 {
    transform: translateX(-50%) rotate(-7deg);
    height: 82px;
}

.moksh-frond.f5 {
    transform: translateX(-50%) rotate(12deg);
    height: 76px;
}

.moksh-frond.f6 {
    transform: translateX(-50%) rotate(30deg);
    height: 68px;
}

.moksh-frond.f7 {
    transform: translateX(-50%) rotate(48deg);
    height: 56px;
}
.garden.garden-awake .moksh-plant {
    opacity: 1;
}
/* Plant stem */
.moksh-plant::before {
    content: "";
    position: absolute;

    left: 50%;
    bottom: 0;

    width: 3px;
    height: 58px;

    background: rgba(72, 112, 62, 0.75);

    transform: translateX(-50%);
    transform-origin: bottom center;

    border-radius: 50%;
}

/* =========================================================
   MOKSH SIGNATURE PLANT — ORGANIC FRONDS
   ========================================================= */

.moksh-plant span {
    position: absolute;
    width: 5px;
    height: 52px;

    background: rgba(82, 122, 67, 0.78);

    border-radius: 100% 100% 55% 55%;

    transform-origin: bottom center;
}


/* Individual fronds — slightly irregular */

.moksh-plant span:nth-child(1) {
    height: 42px;
    transform: translateX(-50%) rotate(-55deg);
}

.moksh-plant span:nth-child(2) {
    height: 51px;
    transform: translateX(-50%) rotate(-40deg);
}

.moksh-plant span:nth-child(3) {
    height: 59px;
    transform: translateX(-50%) rotate(-25deg);
}

.moksh-plant span:nth-child(4) {
    height: 65px;
    transform: translateX(-50%) rotate(-10deg);
}

.moksh-plant span:nth-child(5) {
    height: 67px;
    transform: translateX(-50%) rotate(7deg);
}

.moksh-plant span:nth-child(6) {
    height: 60px;
    transform: translateX(-50%) rotate(23deg);
}

.moksh-plant span:nth-child(7) {
    height: 50px;
    transform: translateX(-50%) rotate(39deg);
}

.moksh-plant span:nth-child(8) {
    height: 41px;
    transform: translateX(-50%) rotate(53deg);
}
/* =========================================================
   MOKSH PLANT 02
   CURVED THREE-BLADE FORM
   ========================================================= */

.moksh-plant-02 {
    position: absolute;
    left: 24%;
    bottom: 6%;
    width: 90px;
    height: 80px;

    opacity: 0;

    pointer-events: none;

    z-index: 4;
}

.garden.garden-awake .moksh-plant-02 {
    opacity: 1;
}

/* =========================================================
   MOKSH PLANT 02 — SOFT CURVED BLADES
   ========================================================= */

.moksh-plant-02 .blade {
    position: absolute;

    left: 50%;
    bottom: 0;

    width: 9px;
    height: 48px;

    background: rgba(76, 116, 62, 0.72);

    border-radius: 90% 45% 70% 30%;

    transform-origin: bottom center;
}


/* LEFT BLADE */

.moksh-plant-02 .b1 {
    width: 8px;
    height: 44px;

    transform:
        translateX(-50%)
        rotate(-52deg);
}


/* CENTER BLADE */

.moksh-plant-02 .b2 {
    width: 9px;
    height: 58px;

    border-radius: 70% 45% 80% 30%;

    transform:
        translateX(-50%)
        rotate(-5deg);
}


/* RIGHT BLADE */

.moksh-plant-02 .b3 {
    width: 8px;
    height: 48px;

    transform:
        translateX(-50%)
        rotate(46deg);
}

/* TEMPORARY — REMOVE AFTER TEST */

.moksh-reader-trigger {
    position: absolute;

    left: 50%;
    bottom: 38%;

    transform: translateX(-50%);

    z-index: 90;

    padding: 10px 22px;

    border: 1px solid rgba(210, 190, 135, 0.45);
    border-radius: 24px;

    background: rgba(5, 20, 13, 0.75);

    color: #d8cda9;

    cursor: pointer;
    opacity:0;
}
.garden.garden-awake .moksh-reader-trigger {
    opacity: 1;
}

/* =========================================================
   MOKSH — SEASONAL GARDEN
   VERSION 1.0 — MONSOON
   ========================================================= */

/* ---------------------------------------------------------
   MONSOON ATMOSPHERE
   --------------------------------------------------------- */

.garden.season-monsoon::before {
    content: "";

    position: absolute;
    inset: 0;

    display: block;

    z-index: 3;

    pointer-events: none;

    background:
 radial-gradient(
            ellipse at 50% 62%,
            rgba(32, 92, 70, 0.28) 0%,
            rgba(12, 54, 39, 0.16) 42%,
            transparent 74%
        ),

        linear-gradient(
            to bottom,
            rgba(5, 19, 15, 0.38) 0%,
            rgba(7, 29, 21, 0.18) 45%,
            transparent 75%
        );

    opacity: 0.42;

    transition:
        opacity 8s ease-in-out;
}


/* ---------------------------------------------------------
   MONSOON — FINE RAIN
   --------------------------------------------------------- */

/*.garden.season-monsoon::after {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 15;

    pointer-events: none;

    background:
        repeating-linear-gradient(
            112deg,
            transparent 0,
            transparent 88px,
            rgba(220, 235, 226, 0.055) 89px,
            rgba(220, 235, 226, 0.055) 90px,
            transparent 91px,
            transparent 150px
        );

    opacity: 0.20;

    animation:
        monsoonRain 12s linear infinite;
}


/* ---------------------------------------------------------
   RAIN MOVEMENT
   --------------------------------------------------------- */

@keyframes monsoonRain {

    0% {
        transform:
            translate3d(0, -70px, 0);
    }

    100% {
        transform:
            translate3d(-35px, 70px, 0);
    }
}


/* ---------------------------------------------------------
   MONSOON — DEEPER MIST
   --------------------------------------------------------- */

.garden.season-monsoon .garden-mist {
    opacity: 0.72;

    filter:
        blur(10px);

    transition:
        opacity 8s ease,
        filter 8s ease;
}


/* ---------------------------------------------------------
   MONSOON — SOFTER HORIZON
   --------------------------------------------------------- */

.garden.season-monsoon .garden-horizon {
    filter:
        blur(3px);

    opacity: 0.88;

    transition:
        opacity 8s ease,
        filter 8s ease;
}


/* ---------------------------------------------------------
   MONSOON — WET GROUND IMPRESSION
   --------------------------------------------------------- */

.garden.season-monsoon .garden-path {

    filter:
        saturate(0.92)
        brightness(0.92);

    transition:
        filter 8s ease;
}


/* ---------------------------------------------------------
   MONSOON — WARM LIGHT SURVIVES THE RAIN
   --------------------------------------------------------- */

.garden.season-monsoon .lantern-glow,
.garden.season-monsoon .garden-response-glow {

    filter:
        blur(1px);

    opacity: 0.95;

    transition:
        opacity 8s ease,
        filter 8s ease;
}


/* ---------------------------------------------------------
   MONSOON — VERY SUBTLE FOLIAGE RESPONSE
   --------------------------------------------------------- */

.garden.season-monsoon .garden-shrubs {
    animation:
        monsoonFoliageBreath 14s ease-in-out infinite alternate;
}


@keyframes monsoonFoliageBreath {

    0% {
        transform:
            translate3d(0, 0, 0);
    }

    100% {
        transform:
            translate3d(1px, 0, 0);
    }
}
/* =========================================================
   MOKSH — MONSOON RAIN
   Individual atmospheric rain drops
   ========================================================= */

.garden-monsoon-rain {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: block;
    visibility: visible;
    opacity: 0.5;
    pointer-events: none;
}


/* ---------------------------------------------------------
   Activate during actual rain
   --------------------------------------------------------- */

.garden.weather-rain .garden-monsoon-rain,
.garden.weather-heavy-rain .garden-monsoon-rain,
.garden.weather-storm .garden-monsoon-rain {
    opacity: 1;
}

.garden.weather-clear .garden-monsoon-rain,
.garden.weather-cloudy .garden-monsoon-rain {
    opacity: 0;
}


/* ---------------------------------------------------------
   Individual rain drop
   --------------------------------------------------------- */
.monsoon-drop {
    position: absolute;
    left: var(--rain-x);
    top: -12%;
    width: 1.5px;
    height: var(--rain-length);

    opacity: var(--rain-opacity);

    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(255, 255, 255, 0.95) 35%,
        rgba(225, 238, 230, 0.65) 100%
    );

    transform: rotate(14deg);

    /* Keep the rain crisp */
    filter: none;

    animation:
        monsoonDropFall var(--rain-duration) linear
        var(--rain-delay) infinite;
}
.garden-monsoon-rain .monsoon-drop {
    opacity: var(--rain-opacity);
    background: rgba(190, 205, 205, 0.55);
}

/* ---------------------------------------------------------
   Rain movement
   --------------------------------------------------------- */

@keyframes monsoonDropFall {

    0% {
        transform:
            translate3d(0, -10vh, 0)
            rotate(14deg);
    }

    100% {
        transform:
            translate3d(var(--rain-drift), 125vh, 0)
            rotate(14deg);
    }
}


/* ---------------------------------------------------------
   Keep rain behind entrance text
   --------------------------------------------------------- */

.entrance-message {
    z-index: 10;
}

/* =========================================================
   MOKSH — MONSOON WET STONE
   Localized highlights only
   ========================================================= */

.garden-monsoon-wetness {
    position: absolute;
    inset: 0;

    z-index: 7;

    pointer-events: none;

    opacity: 0;
}

.garden.season-monsoon .garden-monsoon-wetness {
    opacity: 1;
}

.garden-monsoon-wetness span {
    position: absolute;

    left: var(--wet-x);
    top: var(--wet-y);

    width: var(--wet-width);
    height: var(--wet-height);

    border-radius: 50%;

    background:
        radial-gradient(
            ellipse at 50% 50%,
            rgba(1, 16, 29, 0.12) 0%,
            rgba(1, 36, 75, 0.055) 42%,
            transparent 76%
        );

    filter: blur(1.5px);

    transform:
        rotate(var(--wet-rotation));

    opacity: var(--wet-opacity);
}

.garden.season-monsoon .garden-monsoon-wetness span:nth-child(1) {
    --wet-x: 43%;
    --wet-y: 58%;
    --wet-width: 38px;
    --wet-height: 8px;
    --wet-rotation: -7deg;
    --wet-opacity: 0.50;
}

.garden.season-monsoon .garden-monsoon-wetness span:nth-child(2) {
    --wet-x: 53%;
    --wet-y: 63%;
    --wet-width: 52px;
    --wet-height: 9px;
    --wet-rotation: 4deg;
    --wet-opacity: 0.42;
}

.garden.season-monsoon .garden-monsoon-wetness span:nth-child(3) {
    --wet-x: 38%;
    --wet-y: 69%;
    --wet-width: 44px;
    --wet-height: 7px;
    --wet-rotation: 8deg;
    --wet-opacity: 0.34;
}

.garden.season-monsoon .garden-monsoon-wetness span:nth-child(4) {
    --wet-x: 58%;
    --wet-y: 72%;
    --wet-width: 60px;
    --wet-height: 10px;
    --wet-rotation: -5deg;
    --wet-opacity: 0.40;
}

.garden.season-monsoon .garden-monsoon-wetness span:nth-child(5) {
    --wet-x: 47%;
    --wet-y: 77%;
    --wet-width: 34px;
    --wet-height: 7px;
    --wet-rotation: 6deg;
    --wet-opacity: 0.30;
}

.garden.season-monsoon .garden-monsoon-wetness span:nth-child(6) {
    --wet-x: 62%;
    --wet-y: 82%;
    --wet-width: 50px;
    --wet-height: 8px;
    --wet-rotation: -9deg;
    --wet-opacity: 0.34;
}

.garden.season-monsoon .garden-monsoon-wetness span:nth-child(7) {
    --wet-x: 34%;
    --wet-y: 84%;
    --wet-width: 56px;
    --wet-height: 9px;
    --wet-rotation: 3deg;
    --wet-opacity: 0.28;
}

.garden.season-monsoon .garden-monsoon-wetness span:nth-child(8) {
    --wet-x: 51%;
    --wet-y: 88%;
    --wet-width: 72px;
    --wet-height: 10px;
    --wet-rotation: -4deg;
    --wet-opacity: 0.26;
}

.garden.season-monsoon .garden-monsoon-wetness span:nth-child(9) {
    --wet-x: 67%;
    --wet-y: 91%;
    --wet-width: 44px;
    --wet-height: 7px;
    --wet-rotation: 7deg;
    --wet-opacity: 0.24;
}

/* =========================================================
   MOKSH — MONSOON LANTERN REFLECTIONS
   ========================================================= */

.monsoon-lantern-reflections {
    position: absolute;
    inset: 0;

    z-index: 4;

    pointer-events: none;

    opacity: 0;
}

.garden.season-monsoon .monsoon-lantern-reflections {
    opacity: 1;

    transition:
        opacity 6s ease;
}


/* ---------------------------------------------------------
   Individual reflection
   --------------------------------------------------------- */

.monsoon-lantern-reflections .reflection {
    position: absolute;

    border-radius: 50%;

    background:
        radial-gradient(
            ellipse at center,
            rgba(246, 207, 118, 0.16) 0%,
            rgba(246, 207, 118, 0.07) 38%,
            transparent 75%
        );

    filter: blur(2px);
}


/* Left lantern reflection */

.reflection-1 {
    left: 39%;
    top: 69%;

    width: 42px;
    height: 8px;

    transform:
        rotate(-5deg);

    opacity: 0.45;
}


/* Inner-left */

.reflection-2 {
    left: 44%;
    top: 75%;

    width: 30px;
    height: 7px;

    transform:
        rotate(4deg);

    opacity: 0.32;
}


/* Inner-right */

.reflection-3 {
    left: 55%;
    top: 75%;

    width: 36px;
    height: 8px;

    transform:
        rotate(-4deg);

    opacity: 0.34;
}


/* Right lantern reflection */

.reflection-4 {
    left: 61%;
    top: 69%;

    width: 46px;
    height: 8px;

    transform:
        rotate(6deg);

    opacity: 0.40;
}

/* =========================================================
   MOKSH — PHASE 2
   ACTUAL WEATHER — RAIN RESPONSE
   ========================================================= */


/* ---------------------------------------------------------
   RAIN — Slightly richer atmospheric rain
   --------------------------------------------------------- */

.garden.weather-rain .garden-monsoon-rain {
    opacity: 0.92;
}


/* ---------------------------------------------------------
   RAIN — Slight increase in ground mist
   --------------------------------------------------------- */

.garden.weather-rain .garden-mist {
    opacity: 0.78;
}


/* ---------------------------------------------------------
   RAIN — Slightly softer horizon
   --------------------------------------------------------- */

.garden.weather-rain .garden-horizon {
    opacity: 0.84;
}
/* =========================================================
   MOKSH — PHASE 2
   ACTUAL WEATHER — CLOUDY RESPONSE
   ========================================================= */

.garden.weather-cloudy .garden-mist {
    opacity: 0.74;
}

.garden.weather-cloudy .garden-horizon {
    opacity: 0.82;
}

/* =========================================================
   MOKSH — PHASE 2
   ACTUAL WEATHER — HEAVY RAIN RESPONSE
   ========================================================= */

.garden.season-monsoon.weather-heavy-rain .garden-monsoon-rain {
    opacity: 1;
}

.garden.season-monsoon.weather-heavy-rain .garden-mist {
    opacity: 0.86;
}

.garden.season-monsoon.weather-heavy-rain .garden-horizon {
    opacity: 0.78;
}

.garden.season-monsoon.weather-heavy-rain .monsoon-drop {
    opacity: calc(var(--rain-opacity) + 0.10);
}

/* =========================================================
   MOKSH — PHASE 2
   ACTUAL WEATHER — STORM RESPONSE
   ========================================================= */

.garden.season-monsoon.weather-storm .garden-monsoon-rain {
    opacity: 1;
}

.garden.season-monsoon.weather-storm::before {
    opacity: 0.52;
}


.garden.season-monsoon.weather-storm .garden-mist {
    opacity: 0.92;
}

.garden.season-monsoon.weather-storm .garden-horizon {
    opacity: 0.72;
}

.garden.season-monsoon.weather-storm .garden-response-glow {
    opacity: 0.82;
}

/* ---------------------------------------------------------
   Garden Weather Clouds
   --------------------------------------------------------- */

.garden-weather-clouds {
    position: absolute;
    inset: 0;

    z-index: 2;
    pointer-events: none;

    opacity: 0 !important;
    visibility: hidden !important;

    overflow: hidden;

    transition:
        opacity 2.5s ease,
        visibility 2.5s ease;
}

/* Only JavaScript can make clouds visible */

.garden-weather-clouds.is-visible {
    opacity: 1 !important;
    visibility: visible !important;
}

/* ---------------------------------------------------------
   Individual Cloud Layers
   --------------------------------------------------------- */
.garden-cloud {
    position: absolute;
    left: -10%;
    width: 120%;
    pointer-events: none;
    filter: blur(9px);
    transform: translateX(-4%);
    animation-name: gardenCloudDrift;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    border-radius: 48% 52% 35% 65%;
}

.garden-cloud::before,
.garden-cloud::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    background: inherit;
}

.garden-cloud::before {
    width: 38%;
    height: 115%;
    left: 10%;
    top: -35%;
}

.garden-cloud::after {
    width: 32%;
    height: 105%;
    right: 16%;
    top: -28%;
}

/* Distant cloud layer */

.garden-cloud-back {
    top: 0%;

    height: 18%;

    opacity: 0.22;

    background: rgba(0, 0, 0, 0.55);

    animation-duration: 90s;
}


/* Middle cloud layer */

.garden-cloud-middle {
    top: 4%;

    height: 20%;

    opacity: 0.30;

    background: rgba(9, 10, 10, 0.55);

    animation-duration: 120s;
}


/* Foreground cloud layer */

.garden-cloud-front {
    top: 8%;

    height: 16%;

    opacity: 0.20;

    background: rgba(11, 29, 29, 0.45);

    animation-duration: 150s;
}


/* ---------------------------------------------------------
   Gentle Cloud Movement
   --------------------------------------------------------- */

@keyframes gardenCloudDrift {

    from {
        transform: translateX(-4%);
    }

    to {
        transform: translateX(4%);
    }

}

