        :root {
            --bg: #ffffff;
            --fg: #000000;
            --grey: #767676;
            --soft-grey: #f5f5f5;
            --font-main: 'Inter', sans-serif;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            -webkit-font-smoothing: antialiased;
        }

        body {
            background-color: var(--bg);
            color: var(--fg);
            font-family: var(--font-main);
            line-height: 1.4;
            padding: 0 5%;
            background-image: radial-gradient(#e5e5e5 1px, transparent 1px);
            background-size: 20px 20px;
        }

        /* --- NAVIGATION (REVERTED TO ORIGINAL) --- */
        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 40px 0;
        }

        .logo {
            font-weight: 900;
            font-size: 1.5rem;
            letter-spacing: -1px;
        }

        .nav-right {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .btn-pill {
            background: var(--fg);
            color: var(--bg);
            padding: 12px 28px;
            border-radius: 999px;
            text-decoration: none;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            transition: opacity 0.2s;
            font-size: 0.95rem;
        }

        .btn-pill:hover {
            opacity: 0.8;
        }

        .btn-outline {
            border: 1px solid #ddd;
            background: transparent;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: background 0.2s;
        }

        /* --- MOBILE MENU --- */
        .mobile-menu {
            position: fixed;
            top: 0;
            right: 0;
            width: 100vw;
            height: 100vh;
            background: #fff;
            z-index: 1000;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 40px;
            transform: translateX(100%);
            /* Hidden by default */
        }

        .dropdown-link {
            font-size: 3rem;
            font-weight: 900;
            text-transform: uppercase;
            text-decoration: none;
            color: #000;
            position: relative;
            overflow: hidden;
        }

        .dropdown-link:hover {
            -webkit-text-stroke: 1px #000;
            color: transparent;
        }

        .menu-close-btn {
            position: absolute;
            top: 40px;
            right: 40px;
            background: none;
            border: none;
            cursor: pointer;
        }

        /* --- HERO SECTION --- */
        .hero {
            padding: 40px 0 60px;
            max-width: 1100px;
        }

        .hero-intro {
            font-size: 1.25rem;
            font-weight: 500;
            margin-bottom: 15px;
        }

        .hero-title {
            font-size: clamp(3.5rem, 10vw, 8rem);
            font-weight: 900;
            line-height: 0.95;
            letter-spacing: -0.04em;
            margin-bottom: 30px;
        }

        .hero-footer {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 30px;
        }

        .hero-desc {
            font-size: 1.25rem;
            color: var(--fg);
            max-width: 450px;
            font-weight: 500;
        }

        /* --- REDESIGNED SECTIONS (REFERENCE HERO STYLE) --- */
        .section-header {
            font-size: 2.5rem;
            font-weight: 900;
            letter-spacing: -1.5px;
            margin-bottom: 50px;
            margin-top: 100px;
            text-transform: uppercase;
        }

        /* Bento Grid Style */
        .bento-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 24px;
        }

        .card {
            background: #ffffff;
            border: 2px solid #000;
            padding: 40px;
            border-radius: 16px;
            text-decoration: none;
            color: inherit;
            box-shadow: 4px 4px 0px rgba(0, 0, 0, 1);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            display: flex;
            flex-direction: column;
            position: relative;
            overflow: hidden;
        }

        .card:hover {
            transform: translate(-4px, -4px);
            box-shadow: 8px 8px 0px rgba(0, 0, 0, 1);
        }

        .card.large {
            grid-column: span 2;
        }

        /* Incident Report Details */
        .status-badge {
            font-size: 0.7rem;
            font-weight: 900;
            padding: 4px 10px;
            border: 2px solid #000;
            width: fit-content;
            margin-bottom: 20px;
            text-transform: uppercase;
        }

        .card h3 {
            font-size: 2.2rem;
            font-weight: 900;
            margin-bottom: 15px;
            letter-spacing: -1px;
        }

        .card p {
            font-weight: 500;
            color: #444;
            margin-bottom: 20px;
            font-size: 1.05rem;
        }

        .card-footer {
            margin-top: auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-family: monospace;
            font-weight: 700;
            font-size: 0.85rem;
            border-top: 1px dashed #000;
            padding-top: 20px;
        }

        /* Tools Section Redesign */
        .tech-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 20px;
        }

        .tech-card {
            border: 2px solid #000;
            border-radius: 16px;
            padding: 30px;
            background: #fff;
            box-shadow: 4px 4px 0px #000;
            transition: all 0.2s;
        }

        .tech-card:hover {
            background: #f0f0f0;
            transform: translateY(-2px);
        }

        .tech-header {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 15px;
        }

        .tech-title {
            font-weight: 900;
            font-size: 1.3rem;
        }

        .tech-truth {
            font-size: 0.85rem;
            font-weight: 600;
            font-style: italic;
            color: #666;
            margin-bottom: 15px;
            display: block;
        }

        .tag-container {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .tag {
            background: #000;
            color: #fff;
            padding: 4px 10px;
            border-radius: 6px;
            font-size: 0.75rem;
            font-weight: 700;
        }

        /* Timeline / Logs Redesign */
        .logs-container {
            border: 2px solid #000;
            border-radius: 16px;
            background: #fff;
            overflow: hidden;
            box-shadow: 4px 4px 0px #000;
        }

        .log-entry {
            display: flex;
            padding: 20px 30px;
            border-bottom: 1px solid #eee;
            align-items: center;
            gap: 40px;
        }

        .log-entry:last-child {
            border-bottom: none;
        }

        .log-time {
            font-family: monospace;
            font-weight: 800;
            color: var(--grey);
            min-width: 100px;
        }

        .log-msg {
            font-weight: 600;
            font-size: 1.1rem;
        }

        /* Glitch Effect Re-applied */
        .glitch {
            position: relative;
            color: var(--fg);
        }

        .glitch::before,
        .glitch::after {
            content: attr(data-text);
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--bg);
        }

        .glitch::before {
            left: 2px;
            text-shadow: -1px 0 #ff00c1;
            clip: rect(44px, 450px, 56px, 0);
            animation: glitch-anim 5s infinite linear alternate-reverse;
        }

        .glitch::after {
            left: -2px;
            text-shadow: -1px 0 #00fff9;
            clip: rect(44px, 450px, 56px, 0);
            animation: glitch-anim2 5s infinite linear alternate-reverse;
        }

        @keyframes glitch-anim {
            0% {
                clip: rect(31px, 9999px, 94px, 0);
            }

            100% {
                clip: rect(71px, 9999px, 80px, 0);
            }
        }

        @keyframes glitch-anim2 {
            0% {
                clip: rect(65px, 9999px, 100px, 0);
            }

            100% {
                clip: rect(15px, 9999px, 58px, 0);
            }
        }

        /* --- FOOTER --- */
        footer {
            padding: 100px 0 60px;
        }

        @media (max-width: 768px) {
            .hero-footer {
                grid-template-columns: 1fr;
            }

            .card.large {
                grid-column: span 1;
            }

            .log-entry {
                flex-direction: column;
                align-items: flex-start;
                gap: 5px;
            }
        }

/* --- PROJECT CARDS CREATIVE UPDATE --- */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    width: 100%;
}

.project-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    border: 2px solid #000;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    background: #fff;
    object-fit: contain;
}

.card:hover .project-logo {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 4px 4px 0px #000;
}

.card .status-badge {
    margin-bottom: 0;
    align-self: flex-start;
}
