  :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);
        }

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

        
        /* Hero - Heavy Typography */
        .hero {
            height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 0 4%;
            border-bottom: 1px solid var(--border-gray);
            
            position: relative; 
             overflow: hidden;
        }

        /* 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;
        }


        

        /* 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;
}
/* Container and 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: 40px;
            height: 450px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .grid-item h2 {
            font-size: 2rem;
            font-weight: 900;
        }

        .grid-item .code-snip {
            font-family: monospace;
            color: #666;
            font-size: 0.8rem;
            text-transform: none;
        }


.vacuum-seal-container {
    position: relative;
    overflow: hidden;
    cursor: crosshair;
}

/* The Plastic Layer */
.plastic-wrap {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px) brightness(1.2);
    -webkit-backdrop-filter: blur(15px) brightness(1.2);
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: backdrop-filter 0.5s ease, background 0.5s ease;
}

/* The Label */
.archive-label {
    background: #ffffff;
    color: #000;
    padding: 20px;
    width: 70%;
    transform: rotate(-2deg);
    z-index: 30;
    font-family: monospace;
    box-shadow: 8px 8px 0px rgba(228, 30, 129, 0.3);
    transition: transform 0.3s ease;
}

/* Glitch Animation for the text behind */
@keyframes glitch-text {
    0% { transform: translate(0); text-shadow: none; }
    20% { transform: translate(-2px, 2px); text-shadow: 2px 0 #e41e81, -2px 0 #00fffb; }
    40% { transform: translate(2px, -2px); }
    60% { transform: translate(-2px, -2px); text-shadow: -2px 0 #e41e81, 2px 0 #00fffb; }
    100% { transform: translate(0); }
}

/* Hover States: Reveal the content */
.vacuum-seal-container:hover .plastic-wrap {
    backdrop-filter: blur(2px) brightness(1);
    background: rgba(228, 30, 129, 0.1); /* Slight pink tint on hover */
}

.vacuum-seal-container:hover .grid-content-wrapper {
    opacity: 1;
    filter: none;
    animation: glitch-text 0.2s infinite; /* Rapid glitch on hover */
}

.vacuum-seal-container:hover .archive-label {
    transform: rotate(1deg) scale(0.9);
    opacity: 0.2; /* Fade the label so we can see the text */
}

/* Default state of the content behind the plastic */
.grid-content-wrapper {
    transition: all 0.4s ease;
    opacity: 0.3;
    filter: blur(2px);
}

.barcode {
    font-size: 1.5rem;
    letter-spacing: -2px;
    display: block;
    border-top: 1px solid #000;
    margin-top: 5px;
}
/* Shatter Overlay for the Active Item */
.shatter-container {
    position: relative;
    overflow: hidden;
}

.glass-shard-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(250, 206, 226, 0.2);
    backdrop-filter: blur(10px) contrast(1.5);
    -webkit-backdrop-filter: blur(10px) contrast(1.5);
    z-index: 25;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    pointer-events: none; /* Let clicks pass through to the link */
}

.shatter-text {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.5rem;
    color: #fff;
    text-shadow: 0 0 10px #e41e81;
}

/* The Shatter Action */
.shatter-container:hover .glass-shard-overlay {
    opacity: 0;
    transform: scale(1.5); /* Blows the "glass" toward the user */
    backdrop-filter: blur(0px);
}


.shatter-container:hover .grid-content-wrapper {
    animation: glitch-text 0.15s 3; /* Quick glitch burst */
    opacity: 1;
    filter: none;
}

/* The Link Button for ready curriculum */
.view-btn {
    margin-top: 20px;
    padding: 10px 20px;
    border: 1px solid #facee2;
    color: #facee2;
    text-decoration: none;
    font-size: 0.7rem;
    letter-spacing: 2px;
    display: inline-block;
    transition: all 0.3s ease;
    background: linear-gradient(90deg, #facee2 0%, #f3a6c9 50%, #e41e81 100%);
            background-size: 200% auto; 
            color: black;
           
}

.view-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);
}
#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Puts background behind text */
    pointer-events: none;
}
