:root {
            --navy: #07111f;
            --navy-2: #0d1a2c;
            --blue: #3da8ff;
            --light: #f4f7fb;
            --white: #ffffff;
            --text: #1f2937;
            --muted: #697586;
        }

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

        body {
            font-family: Arial, Helvetica, sans-serif;
            background: var(--white);
            color: var(--text);
            line-height: 1.6;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        header {
            background: var(--navy);
            padding: 20px 6%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .logo {
            font-size: 1.45rem;
            font-weight: 800;
            letter-spacing: 1px;
            text-transform: uppercase;
            color: white;
        }

            .logo span {
                color: var(--blue);
            }

        nav {
            display: flex;
            gap: 28px;
            align-items: center;
        }

            nav a {
                color: #d2dae5;
                font-weight: 600;
                transition: 0.2s ease;
            }

                nav a:hover {
                    color: var(--white);
                }

        .nav-button {
            background: var(--blue);
            color: var(--white);
            padding: 12px 18px;
            border-radius: 4px;
            font-weight: 700;
        }

        .hero {
            background: linear-gradient(90deg, rgba(7,17,31,0.92), rgba(7,17,31,0.78)), url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1800&q=80');
            background-size: cover;
            background-position: center;
            color: var(--white);
            padding: 120px 6% 100px;
        }

            .hero h1 {
                font-size: clamp(2.8rem, 6vw, 5rem);
                line-height: 1.05;
                margin-bottom: 20px;
                max-width: 900px;
            }

            .hero p {
                color: #c5d0dc;
                font-size: 1.15rem;
                max-width: 760px;
            }

        .portfolio-section {
            padding: 90px 6%;
            background: var(--light);
        }

        .section-title {
            margin-bottom: 50px;
        }

            .section-title span {
                color: var(--blue);
                font-weight: 800;
                letter-spacing: 2px;
                text-transform: uppercase;
                display: inline-block;
                margin-bottom: 10px;
            }

            .section-title h2 {
                font-size: clamp(2rem, 4vw, 3.4rem);
                color: var(--navy);
                margin-bottom: 16px;
            }

            .section-title p {
                max-width: 760px;
                color: var(--muted);
                font-size: 1.05rem;
            }

        .portfolio-grid {
            display: grid;
            gap: 50px;
        }

        .project-card {
            background: var(--white);
            box-shadow: 0 18px 45px rgba(7,17,31,0.08);
            overflow: hidden;
            border: 1px solid #e6ecf3;
        }

        .project-image {
            width: 100%;
            height: 520px;
            object-fit: cover;
            object-position: center 65%;
            display: block;
            background: #dce4ee;
        }

        .ellsworthProject-container {
            position: relative;
            overflow: hidden;
        }

            .ellsworthProject-container::after {
                content: "";
                position: absolute;
                inset: 0;
                background: linear-gradient( 90deg, rgba(7,17,31,0.65) 0%, rgba(7,17,31,0.35) 45%, rgba(7,17,31,0.10) 100% );
                pointer-events: none;
            }

        .ellsworthProject-image {
            width: 100%;
            height: 520px;
            object-fit: cover;
            /* Move the visible center downward */
            object-position: center 65%;
            display: block;
        }

        .brighton-image {
            width: 100%;
            height: 520px;
            object-fit: cover;
            display: block;
            background: #dce4ee;
        }

        .project-content {
            padding: 40px;
        }

        .project-category {
            color: var(--blue);
            text-transform: uppercase;
            letter-spacing: 1px;
            font-size: 0.9rem;
            font-weight: 800;
            margin-bottom: 12px;
        }

        .project-title {
            font-size: 2rem;
            color: var(--navy);
            margin-bottom: 18px;
        }

        .project-description {
            color: var(--muted);
            margin-bottom: 28px;
            font-size: 1.02rem;
        }

        .project-details {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            border-top: 1px solid #e5ebf2;
            padding-top: 24px;
        }

        .detail-box h4 {
            color: var(--navy);
            margin-bottom: 6px;
            font-size: 0.95rem;
        }

        .detail-box p {
            color: var(--muted);
            font-size: 0.95rem;
        }

        .cta {
            background: var(--navy);
            color: var(--white);
            text-align: center;
            padding: 100px 6%;
        }

            .cta h2 {
                font-size: clamp(2rem, 4vw, 3.4rem);
                margin-bottom: 18px;
            }

            .cta p {
                color: #c7d2df;
                max-width: 760px;
                margin: 0 auto 30px;
            }

        .cta-button {
            display: inline-block;
            background: var(--blue);
            color: var(--white);
            padding: 15px 24px;
            font-weight: 800;
            border-radius: 4px;
        }

        footer {
            background: #050b14;
            color: #98a6b8;
            padding: 40px 6%;
            text-align: center;
        }

        @media (max-width: 950px) {
            nav {
                display: none;
            }

            .project-details {
                grid-template-columns: repeat(2, 1fr);
            }

            .project-image {
                height: 320px;
            }
        }

        @media (max-width: 600px) {
            .project-details {
                grid-template-columns: 1fr;
            }

            .project-content {
                padding: 28px;
            }
        }
