 :root {
            --bg-black: #000000;
            --text-white: #ffffff;
            --border-gray: #333333;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            background-color: var(--bg-black);
            color: #facee2;
            font-family: 'Inter', sans-serif;
            text-transform: uppercase;
        }

        /* Navigation - Minimal & Wide */
        nav {
            width: 100%;
            display: flex;
            justify-content: space-between;
            padding: 20px 4%;
            border-bottom: 1px solid var(--border-gray);
            position: fixed;
            top: 0;
            background: rgba(0,0,0,0.8);
            z-index: 100;
            backdrop-filter: blur(5px);
        }

        .logo {
            font-family: 'Archivo Black', sans-serif;
            font-size: 1.2rem;
            letter-spacing: -1px;
        }

        /* Navbar Links & Hovers */
        .nav-links a {
            color: #facee2;
            text-decoration: none;
            font-size: 0.7rem;
            margin-left: 30px;
            letter-spacing: 2px;
            font-weight: 900;
            transition: all 0.4s ease;
            display: inline-block;
        }

      
        .nav-links a:hover {
            background: linear-gradient(90deg, #facee2 0%, #f3a6c9 50%, #e41e81 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            transform: translateY(-1px);
            text-shadow: 0 0 10px rgba(228, 30, 129, 0.2);
        }

        /* The "Active" State for Manifesto */
        .nav-links a.active {
            background: linear-gradient(90deg, #facee2 0%, #f3a6c9 50%, #e41e81 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

.hero {
            height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 0 4%;
            border-bottom: 1px solid var(--border-gray);
            
        }

        /* Logic to disable animation on Safari */
        body.is-safari .hero {
            animation: none !important;
        }

        body.is-safari .hero h1 {
            text-shadow: none !important;
        }

        .hero h1 {
            font-family: 'Archivo Black', sans-serif;
            font-size: clamp(4rem, 15vw, 12rem);
            line-height: 0.85;
            letter-spacing: -4px;
            margin-bottom: 20px;
        }

       

        .hero-sub {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
        }

        /* Mission Grid */
        .grid-section {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            width: 100%;
        }

        .grid-item {
            border-right: 1px solid var(--border-gray);
            border-bottom: 1px solid var(--border-gray);
            padding: 60px 40px;
            min-height: 400px;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            gap: 20px;
        }

        .grid-item h2 {
            font-size: 1.5rem;
            font-weight: 900;
            letter-spacing: 2px;
        }

        .grid-item p {
            text-transform: none; /* Reading long lorem ipsum is easier in normal case */
            font-size: 1rem;
            line-height: 1.6;
            color: #ffffff;
            opacity: 0.8;
        }

        /* Original Copyright Footer Style */
        .copyright-footer {
            display: flex;
            justify-content: space-between;
            padding: 20px 4% 80px 4%;
            font-size: 0.6rem;
            letter-spacing: 2px;
            color: var(--border-gray);
            border-top: 1px solid var(--border-gray);
            background-color: var(--bg-black);
        }

        /*  Original Ticker Style */
        .ticker {
            width: 100%;
            background: white;
            color: black;
            padding: 10px 0;
            overflow: hidden;
            white-space: nowrap;
            display: flex;
            position: fixed;
            bottom: 0;
            z-index: 101;
        }

        .ticker-wrap {
            display: inline-block;
            animation: ticker 30s linear infinite;
        }

        @keyframes ticker {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }

        @media (max-width: 768px) {
    .copyright-footer { flex-direction: column; gap: 10px; text-align: center; }
    
    .manifesto-hero h1 { 
        font-size: clamp(2.5rem, 12vw, 4rem);  */
        line-height: 1.1; 
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}
         /* Mobile Toggle Styles */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1002;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #facee2;
    transition: 0.3s cubic-bezier(0.85, 0, 0.15, 1);
}

/* Overlay Styles */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.85, 0, 0.15, 1);
}

.mobile-overlay.active {
    transform: translateY(0);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 25px;
    text-align: center;
}

.mobile-nav-links a {
    font-family: 'Archivo Black', sans-serif;
    font-size: 3rem;
    color: #facee2;
    text-decoration: none;
    letter-spacing: -2px;
}

/* Gradient Effect on Hover */
.mobile-nav-links a:hover {
    background: linear-gradient(90deg, #facee2 0%, #f3a6c9 50%, #e41e81 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Animation to 'X' */
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); background: #e41e81; }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -7px); background: #e41e81; }

/* Show toggle on mobile */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .menu-toggle { display: flex; }
}
 
.menu-toggle {
    position: relative;
    z-index: 2000; /* Higher than the overlay */
}

/
.menu-toggle.active span:nth-child(1) { 
    transform: rotate(45deg) translate(5px, 6px); 
    background: #e41e81; 
}

.menu-toggle.active span:nth-child(2) { 
    opacity: 0; 
}

.menu-toggle.active span:nth-child(3) { 
    transform: rotate(-45deg) translate(5px, -7px); 
    background: #e41e81; 
}
.close-menu {
    position: absolute;
    top: 25px;
    right: 4%;
    font-family: 'Archivo Black', sans-serif;
    font-size: 1rem;
    letter-spacing: 2px;
    color: #facee2;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-menu:hover {
    color: #e41e81;
    transform: scale(1.1);
}


.menu-toggle.active {
    opacity: 0;
    pointer-events: none;
}

.mobile-nav-links a.active {
    background: linear-gradient(90deg, #facee2 0%, #f3a6c9 50%, #e41e81 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
 .cta-btn {
            background: linear-gradient(90deg, #facee2 0%, #f3a6c9 50%, #e41e81 100%);
            background-size: 200% auto; /* For the hover shimmer effect */
            color: black;
            padding: 20px 40px;
            text-decoration: none;
            font-weight: 900;
            font-size: 1rem;
            transition: 0.5s ease;
            border: none;
            display: inline-block;
            width:200px;
            height:70px;
        }

        .cta-btn:hover {
            background-position: right center; /* Moves the gradient on hover */
            color: white;
            box-shadow: 0 0 20px rgba(228, 30, 129, 0.4);
            transform: scale(1.02);
        }
        /* FILM GRAIN */
    body::after {
        content: "";
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100%;
        background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3%3Cfilter id='noiseFilter'%3%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3%3C/filter%3%3%3Crect width='100%' height='100%' filter='url(%23noiseFilter)'/%3%3C/svg%3%3E");
        opacity: 0.05;
        pointer-events: none;
        z-index: 9999;
    }
    /* GRID SYSTEM - HOT PINK OUTLINE  */
    .grid-section {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        width: 100%;
        padding-bottom: 150px;
        position: relative;
    }

    .grid-item {
        /* This is the Hot Pink Outline */
        border: 2px solid #e41e81; 
        padding: 100px 40px 60px 40px;
        background: rgba(0,0,0,0.95);
        backdrop-filter: blur(10px);
        position: relative;
        transition: 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        height: auto;
    }

    .grid-item:hover { 
        z-index: 50 !important; 
        transform: scale(1.02); 
        background: rgba(20, 20, 20, 1);
        box-shadow: 0 0 20px rgba(228, 30, 129, 0.4);
    }

    /* Label in the corner */
    .grid-item::before {
        content: attr(data-meta);
        position: absolute;
        top: 30px; left: 30px;
        font-size: 10px;
        color: #e41e81;
        letter-spacing: 4px;
        font-weight: 900;
    }

    .grid-item h2 {
        font-family: 'Archivo Black', sans-serif;
        font-size: clamp(1.8rem, 4vw, 3.5rem);
        line-height: 0.9;
        margin-bottom: 25px;
        letter-spacing: -2px;
        color: #facee2; /* Subtle pink text */
    }

    .grid-item p {
        text-transform: none;
        font-size: 1rem;
        line-height: 1.7;
        color: #ffffff;
        opacity: 0.9;
    }

    /* PLACEMENT - Subtle overlapping for the edge */
    .grid-item:nth-child(1) { grid-column: 1 / 3; margin: 60px 0 0 4%; z-index: 1; }
    .grid-item:nth-child(2) { grid-column: 2 / 5; margin: -40px 4% 0 0; z-index: 2; }
     /* MOBILE FIX */
    @media (max-width: 768px) {
        .grid-section { display: flex; flex-direction: column; padding: 40px 0 100px 0; }
        .grid-item { margin: 0 !important; border-left: none; border-right: none; padding: 80px 6% 40px 6%; }
        .grid-item h2 { font-size: 2.2rem; }
    }

 /*  PREPARE GRID ITEM FOR OVERLAYS */
.grid-item {
    overflow: hidden; /* This clips the scanner and burst so they stay inside the box */
}


/* This creates a moving horizontal beam */
.grid-item::after {
    content: "";
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(228, 30, 129, 0.15), /* Subtle pink tint */
        #e41e81,                 /* The bright "scanner" edge */
        transparent
    );
    opacity: 0.3;
    pointer-events: none;
    animation: scanLine 6s linear infinite;
    z-index: 1;
}

@keyframes scanLine {
    0% { top: -150px; }
    100% { top: 100%; }
}


.burst {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0px;
    height: 0px;
    background: radial-gradient(circle, rgba(228, 30, 129, 0.7) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.8s ease-out, height 0.8s ease-out, opacity 0.8s ease-out;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}

/*  TRIGGER THE BURST ON HOVER */
.grid-item:hover .burst {
    width: 150%; /* Expands the glow bigger than the box */
    height: 600px;
    opacity: 1;
}


.grid-item h2, 
.grid-item p, 
.grid-item::before {
    position: relative;
    z-index: 5;
}


.grid-item:nth-child(4)::after {
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(255, 255, 255, 0.3),
        #ffffff,
        transparent
    );
    opacity: 0.4;
}
.grid-item:nth-child(4) .burst {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
}
#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; 
    opacity: 0.4; /* Keep it subtle  */
    pointer-events: none;
}
