        :root {
            --navy: #002b43;
            --cream: #faf3e7;
        }

        /* Smooth fade-in animations */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        * { box-sizing: border-box; }

        /* Keyboard Accessibility: Visible Focus State */
        *:focus-visible {
            outline: 2px solid var(--navy);
            outline-offset: 4px;
            border-radius: 2px;
        }

        html {
            scroll-behavior: smooth;
            max-width: 100vw;
            overflow-x: hidden;
        }

        img {
            -webkit-user-drag: none;
            pointer-events: none;
        }

        body {
            background-color: var(--cream);
            color: var(--navy);
            font-family: 'Aptos', 'Inter', -apple-system, sans-serif;
            margin: 0;
            padding: 0;
            line-height: 1.6;
            max-width: 100vw;
            overflow-x: hidden;
        }

        /* Sticky Header Navigation */
        .site-header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background-color: rgba(250, 243, 231, 0.85);
            backdrop-filter: blur(12px) saturate(180%);
            -webkit-backdrop-filter: blur(12px) saturate(180%);
            z-index: 9999;
            border-bottom: 1px solid rgba(0, 43, 69, 0.05);
        }

        .nav-container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 15px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .nav-wordmark {
            font-family: 'Inter', sans-serif;
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--navy);
            text-decoration: none;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        .nav-links {
            display: flex;
            gap: 2rem;
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--navy);
            font-size: 0.8rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            opacity: 0.7;
            transition: opacity 0.2s ease;
        }

        .nav-links a:hover {
            opacity: 1;
        }

        .nav-links a.active,
        .nav-links a[aria-current="true"] {
            opacity: 1;
            text-decoration: underline;
            text-underline-offset: 4px;
        }

        /* Update container for scrollable layout */
        .container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Hero Section */
        .hero {
            min-height: 90vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            animation: fadeIn 1s ease-out;
            padding: 120px 20px 40px 20px; /* Added top padding for fixed header */
        }

        .logo-wrapper {
            margin-bottom: 2rem;
        }

        .logo-wrapper img {
            width: 140px;
            height: auto;
            filter: drop-shadow(0px 10px 20px rgba(0, 43, 69, 0.08));
        }

        h1 {
            font-family: 'Inter', sans-serif;
            font-style: normal;
            font-size: 2.75rem;
            font-weight: 700;
            margin: 0;
            letter-spacing: -1px;
            text-transform: uppercase;
            line-height: 1.1;
        }

        .tagline {
            font-size: 0.95rem;
            margin-top: 12px;
            opacity: 0.7;
            letter-spacing: 4px;
            font-weight: 400;
            text-transform: uppercase;
        }

        .divider {
            width: 40px;
            height: 2px;
            background-color: var(--navy);
            margin: 1.5rem auto;
            opacity: 0.2;
        }

        /* The New "Secondary Info" Blurb */
        .description {
            font-size: 1rem;
            line-height: 1.7;
            opacity: 0.85;
            max-width: 500px;
            margin: 0 auto 2rem auto;
            font-weight: 300;
        }

        .hero-buttons {
            display: flex;
            justify-content: center;
            gap: 16px;
            flex-wrap: wrap;
            margin-bottom: 2rem;
            width: 100%;
        }

        /* Updated Button with Flexbox for the Icon */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 12px; /* Space between icon and text */
            padding: 16px 40px;
            background-color: var(--navy);
            color: var(--cream);
            text-decoration: none;
            border-radius: 4px;
            font-weight: 700;
            font-size: 0.85rem;
            letter-spacing: 2px;
            transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
            box-shadow: 0 10px 30px rgba(0, 43, 69, 0.15);
            text-transform: uppercase;
        }

        .btn:hover {
            transform: translateY(-5px) scale(1.02);
            box-shadow: 0 15px 35px rgba(0, 43, 69, 0.25);
            background-color: #003a5d;
        }

        .btn-outline {
            background-color: transparent;
            color: var(--navy);
            border: 2px solid var(--navy);
            box-shadow: none;
            padding: 14px 38px; /* Adjusted for border width */
        }

        .btn-outline:hover {
            background-color: rgba(0, 43, 69, 0.05);
            box-shadow: 0 10px 20px rgba(0, 43, 69, 0.1);
        }

        .btn svg {
            /* Makes sure the icon scales nicely */
            width: 18px;
            height: 18px;
            margin-bottom: 2px;
            transition: transform 0.3s ease;
        }

        .btn:hover svg {
            transform: translateX(4px);
        }

        .location-tag {
            font-size: 0.85rem;
            margin-top: 4px;
            opacity: 0.7;
            font-weight: 400;
        }

        /* Experience Banner */
        .experience-banner {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-top: 3rem;
            border: 1px solid rgba(0, 43, 69, 0.1);
            background-color: rgba(250, 243, 231, 0.4);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            border-radius: 6px;
            width: 100%;
            max-width: 800px;
            box-shadow: 0 4px 20px rgba(0, 43, 69, 0.02);
        }

        .exp-item {
            flex: 1;
            padding: 1.5rem 1rem;
            text-align: center;
            border-right: 1px solid rgba(0, 43, 69, 0.1);
        }

        .exp-item:last-child {
            border-right: none;
        }

        .exp-number {
            font-family: 'Inter', sans-serif;
            font-size: 2rem;
            font-weight: 700;
            color: var(--navy);
            line-height: 1.1;
            margin-bottom: 0.5rem;
            white-space: nowrap;
        }

        .exp-label {
            font-size: 0.75rem;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            color: var(--navy);
            opacity: 0.7;
            font-weight: 400;
        }


        /* Tech Stack Display */
        .tech-stack {
            margin-top: 2rem;
            opacity: 0;
            animation: fadeIn 1s ease-out 0.6s forwards;
        }

        .tech-title {
            display: block;
            font-size: 0.65rem;
            letter-spacing: 3px;
            opacity: 0.5;
            margin-bottom: 8px;
            text-transform: uppercase;
        }

        .tech-list {
            font-size: 0.8rem;
            font-weight: 700;
            letter-spacing: 1px;
            opacity: 0.85;
        }

        .bullet {
            margin: 0 8px;
            opacity: 0.4;
            font-weight: 300;
        }

        /* Section Headers */
        .section-header {
            text-align: center;
            margin-bottom: 3rem;
        }

        .section-header h2 {
            font-size: 2rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 0.5rem;
            font-weight: 700;
        }

        .section-header .divider {
            margin: 1rem auto;
        }

        /* Services Section */
        .services {
            padding: 100px 20px;
            background-color: transparent; /* Ensure uniform background */
            color: var(--navy);
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
            max-width: 1000px;
            margin: 0 auto;
        }

        .service-card {
            padding: 2.5rem;
            background: var(--cream);
            border-radius: 4px;
            border: 0.5px solid rgba(0, 43, 69, 0.15);
            text-align: left;
            box-shadow: 0 4px 6px rgba(0, 43, 69, 0.03);
            transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.6s ease-out;
            opacity: 0;
            transform: translateY(20px);
        }

        .service-card:hover {
            transform: translateY(-5px) scale(1.01);
            box-shadow: 0 15px 35px rgba(0, 43, 69, 0.08);
        }

        .service-card h3 {
            font-size: 1.15rem;
            margin-top: 0;
            margin-bottom: 1rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: 700;
        }

        .service-card p {
            font-size: 0.95rem;
            opacity: 0.85;
            margin: 0;
            line-height: 1.7;
            font-weight: 300;
        }

        .service-card svg {
            width: 44px;
            height: 44px;
            padding: 8px;
            background-color: rgba(0, 43, 69, 0.05);
            border-radius: 12px;
            margin-bottom: 1.5rem;
            opacity: 0.8;
            color: var(--navy);
        }

        .service-quote {
            display: block;
            margin-top: 1.5rem;
            font-size: 0.8rem;
            font-weight: 700;
            letter-spacing: 1px;
            text-transform: uppercase;
            opacity: 0.9;
            text-decoration: none;
            color: var(--navy);
            transition: opacity 0.3s ease, transform 0.3s ease;
        }

        .service-quote:hover {
            opacity: 1;
            transform: translateX(5px);
        }

        .service-quote::after {
            content: " →";
            transition: transform 0.3s ease;
            display: inline-block;
        }

        .service-quote:hover::after {
            transform: translateX(4px);
        }

        /* Portfolio Section */
        .portfolio {
            padding: 100px 20px;
            background-color: transparent; /* Ensure uniform background */
        }

        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            max-width: 1000px;
            margin: 0 auto;
        }

        .portfolio-item {
            background-color: transparent;
            transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.6s ease-out;
            opacity: 0;
            transform: translateY(20px);
        }

        .portfolio-item:hover {
            transform: translateY(-5px) scale(1.01);
        }

        .portfolio-item:hover .portfolio-image {
            box-shadow: 0 15px 35px rgba(0, 43, 69, 0.12);
        }

        .portfolio-item:hover .portfolio-image-placeholder {
            transform: scale(1.05);
        }

        .portfolio-item:hover .portfolio-type {
            background-color: var(--navy);
            color: var(--cream);
        }

        .portfolio-image {
            width: 100%;
            height: 220px;
            background-color: #e5dfd5; /* Placeholder color matching cream tone */
            position: relative;
            border-radius: 4px;
            overflow: hidden;
            box-shadow: 0 4px 10px rgba(0, 43, 69, 0.03);
            transition: box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        }

        .portfolio-image-placeholder {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--navy);
            opacity: 0.6;
            font-size: 0.8rem;
            letter-spacing: 1px;
            text-transform: uppercase;
            transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
        }

        /* If user adds actual img tag later, this ensures it fits */
        .portfolio-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            position: absolute;
            top: 0;
            left: 0;
            filter: none; /* Removes the drop shadow applied to the logo */
            transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
        }

        .portfolio-item:hover .portfolio-image img {
            transform: scale(1.05);
        }

        .portfolio-content {
            padding: 1.25rem 0.5rem 0 0.5rem;
            text-align: center;
        }

        .portfolio-type {
            display: inline-block;
            font-size: 0.75rem;
            font-weight: 700;
            margin: 0 0 0.5rem 0;
            padding: 4px 12px;
            background-color: rgba(0, 43, 69, 0.05);
            border: 1px solid rgba(0, 43, 69, 0.1);
            border-radius: 20px;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            color: var(--navy);
            transition: all 0.3s ease;
        }

        .portfolio-scope {
            font-size: 0.75rem;
            opacity: 0.85;
            margin: 0 0 0.4rem 0;
            font-weight: 300;
            color: var(--navy);
            line-height: 1.3;
        }

        .portfolio-location {
            font-size: 0.7rem;
            opacity: 0.7;
            margin: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }

        .portfolio-location svg {
            width: 11px;
            height: 11px;
        }

        /* CTA Section */
        .cta-section {
            padding: 80px 20px;
            text-align: center;
            background-color: transparent;
            color: var(--navy);
        }

        .cta-section h2 {
            font-size: 2rem;
            margin-bottom: 0.5rem;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        .cta-section p {
            font-size: 1rem;
            opacity: 0.85;
            margin-bottom: 2rem;
            max-width: 500px;
            margin-left: auto;
            margin-right: auto;
            font-weight: 300;
        }

        .cta-buttons {
            display: flex;
            justify-content: center;
            gap: 16px;
            flex-wrap: wrap;
        }

        footer {
            padding: 60px 20px 40px 20px;
            background-color: transparent; /* Ensure uniform background */
            width: 100%;
            text-align: center;
        }

        .footer-content {
            margin-bottom: 30px;
            font-size: 0.9rem;
            opacity: 0.8;
            color: var(--navy);
        }

        .footer-content p {
            margin: 5px 0;
        }

        .footer-email {
            color: var(--navy);
            text-decoration: none;
            font-weight: 700;
        }

        .footer-email:hover {
            text-decoration: underline;
        }

        .copyright {
            font-size: 0.7rem;
            opacity: 0.4;
            letter-spacing: 1px;
            text-transform: uppercase;
        }


        /* Scroll Animations */
        .fade-in-section {
            opacity: 0;
            transform: translateY(20px);
            visibility: hidden;
            transition: opacity 0.6s ease-out, transform 0.6s ease-out;
            will-change: opacity, transform;
        }
        .fade-in-section.is-visible {
            opacity: 1;
            transform: none;
            visibility: visible;
        }

/* Responsive Design */
        @media (max-width: 768px) {
            .experience-banner {
                flex-direction: column;
                margin-top: 2.5rem;
            }
            .exp-item {
                width: 100%;
                border-right: none;
                border-bottom: 1px solid rgba(0, 43, 69, 0.1);
                padding: 1.5rem 1rem;
            }
            .exp-item:last-child {
                border-bottom: none;
            }
            .nav-container {
                flex-direction: column;
                justify-content: center;
                gap: 6px;
                padding: 10px 15px;
            }
            .nav-wordmark {
                font-size: 1rem;
            }
            .nav-links {
                gap: 1.2rem;
            }
            .nav-links a {
                font-size: 0.7rem;
            }
            h1 {
                font-size: 2rem;
            }
            .hero-buttons {
                flex-direction: column;
                align-items: center;
                gap: 12px;
            }
            .hero-buttons .btn {
                width: 100%;
                max-width: 320px;
            }
            .hero {
                padding: 100px 20px 60px 20px;
                min-height: auto;
            }
            .services {
                padding: 60px 20px;
            }
            .services-grid {
                grid-template-columns: 1fr;
            }
            .portfolio {
                padding: 60px 20px;
            }
            .portfolio-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 480px) {
            .portfolio-grid {
                grid-template-columns: 1fr;
            }
            .nav-container {
                gap: 4px;
                padding: 8px 12px;
            }
            .nav-wordmark {
                font-size: 0.95rem;
            }
            .nav-links {
                gap: 1rem;
                flex-wrap: wrap;
                justify-content: center;
            }
            .nav-links a {
                font-size: 0.65rem;
            }
            .cta-buttons {
                flex-direction: column;
                align-items: center;
            }
            .cta-buttons .btn {
                width: 100%;
                max-width: 320px;
            }
        }


.noscript-msg {
    font-size: 0.8rem;
    margin-top: 1rem;
    opacity: 0.8;
}
