        :root {
            --bg: #F9F7F2;
            --text: #1A1A1A;
            --accent: #E63946;
            --border: rgba(26, 26, 26, 0.1);
            --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        }

        [data-theme="dark"] {
            --bg: #121212;
            --text: #F9F7F2;
            --border: rgba(249, 247, 242, 0.1);
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }

        body {
            background-color: var(--bg);
            color: var(--text);
            font-family: 'Lora', serif;
            transition: var(--transition);
            line-height: 1.6;
            overflow-x: hidden;
        }

        h1, h2, h3, .nav-link {
            font-family: 'Bebas Neue', sans-serif;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        /* ----------------- Layout Containers ----------------- */
        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 4vw;
        }

        section { padding: 100px 0; border-bottom: 1px solid var(--border); }

        /* ----------------- Navigation ----------------- */
        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 30px 4vw;
            position: sticky;
            top: 0;
            background: var(--bg);
            z-index: 1000;
        }

        .logo { font-size: 2rem; font-weight: bold; }

        .nav-items { display: flex; gap: 40px; align-items: center; }

        .nav-items a { 
            text-decoration: none; 
            color: var(--text); 
            font-size: 1.2rem;
            position: relative;
        }

        .theme-toggle {
            cursor: pointer;
            background: none;
            border: 1px solid var(--text);
            color: var(--text);
            padding: 5px 12px;
            font-family: 'Bebas Neue';
        }

        /* ----------------- Hero Section ----------------- */
        .hero {
            height: 80vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: flex-start;
        }

        .hero h1 {
            font-size: clamp(5rem, 15vw, 12rem);
            line-height: 0.85;
            margin-bottom: 20px;
        }

        .hero-sub {
            font-size: 1.5rem;
            max-width: 600px;
            margin-bottom: 40px;
            font-style: italic;
        }

        .cta-group { display: flex; gap: 20px; }


        /* ----------------- Buttons ----------------- */
        .btn {
            padding: 18px 35px;
            font-family: 'Bebas Neue';
            font-size: 1.2rem;
            text-decoration: none;
            transition: var(--transition);
        }

        .btn-primary { 
            background: var(--text); 
            color: var(--bg) !important; /* Force contrast */
            border: 1px solid var(--text);
        }

        .btn-secondary { border: 1px solid var(--text); color: var(--text); }

        .btn:hover { opacity: 0.8; transform: translateY(-3px); }

        /* --- Responsive Hamburger --- */
        .menu-btn { display: none; font-size: 2rem; cursor: pointer; }


/*  ----------------- Full-Screen Overlay Menu -----------------  */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--text); /* Solid dark background for contrast */
    display: flex; 
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    
    /* The Reveal Animation */
    clip-path: circle(0% at 95% 5%);
    transition: clip-path 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    pointer-events: none;
}

.mobile-overlay.active {
    clip-path: circle(150% at 95% 5%);
    pointer-events: all;
}

.overlay-link {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 12vw, 8rem);
    text-decoration: none;
    color: var(--bg); /* Inverted text color */
    line-height: 0.9;
    margin: 10px 0;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.mobile-overlay.active .overlay-link {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger the links for a premium feel */
.mobile-overlay.active .overlay-link:nth-child(2) { transition-delay: 0.1s; }
.mobile-overlay.active .overlay-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-overlay.active .overlay-link:nth-child(4) { transition-delay: 0.3s; }
.mobile-overlay.active .overlay-link:nth-child(5) { transition-delay: 0.4s; }

.overlay-link:hover {
    color: var(--accent);
    font-style: italic;
    transform: translateX(20px);
}

.close-menu {
    position: absolute;
    top: 30px;
    right: 4vw;
    color: var(--bg);
    background: none;
    border: 1px solid rgba(249, 247, 242, 0.3);
    padding: 8px 20px;
    font-family: 'Bebas Neue';
    font-size: 1.2rem;
    cursor: pointer;
}


/*  ----------------- About Section Styles  ----------------- */
    .about-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8vw;
        align-items: start;
    }

    .drop-cap {
        font-size: 5rem;
        float: left;
        line-height: 0.8;
        padding-right: 15px;
        font-family: 'Bebas Neue';
        color: var(--accent);
    }

    /* ----------------- Pricing Grid Update - Spaced & Aligned  ----------------- */
    .pricing-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px; /* Adds space between cards */
        width: 100%;
    }

    .price-card {
        padding: 40px;
        border: 1px solid var(--border);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .price-card.featured {
        background-color: var(--text);
        color: var(--bg);
    }



/* ----------------- Portfolio Specific Styles ----------------- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 40px 20px;
    margin-top: 60px;
}

.case-study-card {
    grid-column: span 6; /* Default: 2 columns */
    text-decoration: none;
    color: var(--text);
    transition: var(--transition);
    border-bottom: 1px solid var(--border);
    padding-bottom: 40px;
}

/* Featured item takes more space like a magazine spread */
.case-study-card.featured {
    grid-column: span 12;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.project-image-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #e0e0e0; /* Placeholder for imagery */
    overflow: hidden;
    margin-bottom: 20px;
}

.project-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: var(--transition);
}

.case-study-card:hover .project-image-wrapper img {
    filter: grayscale(0%);
    transform: scale(1.02);
}

.project-meta {
    font-family: 'Bebas Neue';
    font-size: 0.9rem;
    display: flex;
    gap: 20px;
    opacity: 0.6;
    margin-bottom: 10px;
}

.project-title {
    font-family: 'Bebas Neue';
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1;
    margin-bottom: 15px;
}



/* ----------------- Footer ----------------- */
.site-footer {
    background-color: var(--bg);
    color: var(--text);
    padding: 100px 0 40px 0;
    border-top: 1px solid var(--border);
    transition: var(--transition);
}

.footer-cta {
    margin-bottom: 80px;
}

.footer-display {
    font-size: clamp(3.5rem, 8vw, 7rem);
    line-height: 0.9;
    margin-bottom: 30px;
}

.footer-contact-link {
    font-family: 'Bebas Neue';
    font-size: 1.5rem;
    text-decoration: none;
    color: var(--accent);
    transition: var(--transition);
}

.footer-contact-link:hover {
    letter-spacing: 2px;
}

.footer-divider {
    border: 0;
    border-top: 1px solid var(--border);
    margin-bottom: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-brand p {
    max-width: 300px;
    margin-top: 20px;
    opacity: 0.7;
}

.footer-socials {
    margin-top: 30px;
    display: flex;
    gap: 20px;
}

.footer-socials a {
    text-decoration: none;
    color: var(--text);
    font-family: 'Bebas Neue';
    font-size: 0.9rem;
    opacity: 0.6;
    transition: var(--transition);
}

.footer-socials a:hover { opacity: 1; color: var(--accent); }

.footer-nav h3, .footer-location h3 {
    font-family: 'Bebas Neue';
    font-size: 1.2rem;
    margin-bottom: 25px;
    opacity: 0.4;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    text-decoration: none;
    color: var(--text);
    transition: var(--transition);
}

.footer-nav a:hover { color: var(--accent); transform: translateX(5px); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    font-family: 'Bebas Neue';
    font-size: 0.8rem;
    opacity: 0.4;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-display {
        font-size: 3.5rem;
    }
}





/* ----------------- Responsive Styles ----------------- */

@media (max-width: 768px) {
    .nav-items { 
        display: none !important; 
    }

    .menu-btn { 
        display: block !important; 
        cursor: pointer;
        z-index: 1001;
    }

    .hero h1 { 
        font-size: 4.5rem; 
    }

    .case-study-card, .case-study-card.featured {
        grid-column: span 12;
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
}
