        @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
        @import url('https://fonts.googleapis.com/css2?family=Anton&family=League+Spartan:wght@100..900&display=swap');
        @import url('https://fonts.googleapis.com/css2?family=Cantarell&family=Tinos:wght@700&display=swap');
        @import url('https://fonts.googleapis.com/css2?family=Assistant:wght@200..800&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

        :root {
            --off-white: #faf5e9;
            --yellow: #c9b037;
            --inky-navy: #031F28;
            --links: #1A4F77;
            --sage: #1B4D3E;
            --light-grey: #E5E7EB;
        }

        /* Loader container */
        #loader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: var(--inky-navy);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            opacity: 1;
            transition: opacity 0.8s ease; /* smooth fade-out */
        }

        #loader.hidden {
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.8s ease; /* smooth fade-out */
        }

        /* Logo styling */
        #loader img {
            max-width: 250px;
            height: auto;
            opacity: 0;
            animation: fadeIn 1.2s forwards; /* fade-in effect */
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

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

        body {
            font-family: 'Inter', sans-serif;
            line-height: 1.6;
            color: var(--inky-navy);
            overflow-x: hidden;
            background-color: var(--inky-navy);
        }

        /* Smooth scrolling */
        html {
            scroll-behavior: smooth;
        }

        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1000;
            background: var(--inky-navy);
            backdrop-filter: blur(20px);
            transition: all 0.3s ease;
            border-bottom: 1px solid var(--off-white);
        }

        nav.scrolled {
            background: var(--inky-navy);
            /* height: 8vh; */
            transition: all 0.3s ease;
        }

        nav .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            max-width: 1600px;
            margin: 0 auto;
        }

        .logo-container {
            align-items: flex-start;
            margin: 10px;
        }

        .logo {
            font-size: 25px;
            font-family: "Anton", sans-serif;
            font-weight: 300;
            color: var(--off-white);
            text-decoration: none;
            padding-left: 10px;
            /* border: 2px solid var(--yellow); */
        }

        .logo:hover {
            color: #c9b037;
        }

        .logo-header {
            font-size: 300px;
            font-family: "Anton", sans-serif;
            font-weight: 400;
            color: var(--off-white);
            text-decoration: none;
        }

        .logo-period {
            font-family: "League Spartan", sans-serif;
            color: var(--off-white);
            font-optical-sizing: auto;
            font-weight: 300px;
            font-style: normal;
        }

        .logo-period:hover {
            color: #c9b037;
        }

        .links-container {
            align-items: flex-end;
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 40px;
        }

        .nav-links a {
            color: var(--off-white);
            text-decoration: none;
            font-family: 'Raleway', sans-serif;
            font-weight: 10;
            transition: color 0.3s ease;
            position: relative;
        }

        .nav-links a:hover {
            color: #c9b037;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: #c9b037;
            transition: width 0.3s ease;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
            gap: 5px;
        }

        .hamburger span {
            width: 25px;
            height: 3px;
            background: var(--off-white);
            border-radius: 2px;
        }

        .copyright-text {
            background-color: var(--inky-navy);
            color: var(--off-white);
            font-family: 'Raleway', sans-serif;
            text-align: center;
            padding: 10px;
        }

        /*new hero section*/
        .hero {
            position: relative;
            width: 100%;
            height: 100vh; /* full screen */
            overflow: hidden;
        }

        .hero-video {
            position: absolute;
            top: 50%;
            left: 50%;
            min-width: 100%;
            min-height: 100%;
            width: 100%;
            height: 100%;
            transform: translate(-50%, -50%) scale(1.05);
            object-fit: cover; /* ensures video covers section */
            z-index: 0;
        }

        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                rgba(0, 0, 0, 0.18),
                rgba(0, 0, 0, 0.18)
            );
            z-index: 1;
        }

        .hero-content {
            position: relative;
            z-index: 2; /* sits above video + overlay */
            color: var(--off-white);
            text-align: center;
            top: 50%;
            transform: translateY(-50%);
        }

        .hero h1 {
            font-size: 270px;
            font-weight: 300;
            margin-bottom: 20px;
            letter-spacing: -15px;
        }

        .hero .tagline {
            font-size: 1.3rem;
            margin-bottom: 40px;
            opacity: 0.9;
            font-weight: 300;
        }

        .cta-button {
            display: inline-block;
            padding: 15px 4px;
            background: linear-gradient(135deg, #c9b037, #e6d074);
            border-radius: 8px;
            color: var(--inky-navy);
            text-decoration: none;
            font-family: 'Raleway', sans-serif;
            font-weight: 400;
            transition: all 0.3s ease;
            box-shadow: 0 10px 30px rgba(201, 176, 55, 0.3);
            margin: 5px;
            width: 250px;
        }

        .cta-button:hover {
            transform: translateY(-3px);
            color: var(--inky-navy);
            box-shadow: 0 40px 100px rgba(201, 176, 55, 0.4);
        }

        /* About Section */
        .about {
            padding: 120px 50px;
            background: var(--inky-navy);
            text-align: center;
        }

        /* Back Button */
        .back-button {
            position: fixed;
            bottom: 40px;
            right: 40px;
            background: var(--sage);
            color: var(--light-grey);
            padding: 15px 30px;
            border-radius: 50px;
            text-decoration: none;
            font-family: "Raleway", sans-serif;
            font-weight: 500;
            transition: all 0.3s ease;
            z-index: 100;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }

        .back-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .section-title {
            font-family: "Playfair Display", serif;
            font-weight: 400;
            font-style: normal;
            font-size: 55px;
            margin-bottom: 30px;
            color: var(--off-white);
        }

        .about-section-title {
            font-family: "Playfair Display", serif;
            font-weight: 400;
            font-style: normal;
            font-size: 55px;
            margin-bottom: 30px;
            color: var(--dark-bg);
        }

        .industries-section-title {
            font-family: "Playfair Display", serif;
            font-weight: 400;
            font-style: normal;
            font-size: 55px;
            margin-bottom: 30px;
            color: var(--inky-navy);
        }

        .section-subtitle {
            font-family: "Assistant", sans-serif;
            font-size: 25px;
            font-weight: 200;
            color: #b7b7b7;
            margin: 0 auto 60px;
            justify-content: space-between;
        }

        .industries-section-subtitle {
            font-family: "Assistant", sans-serif;
            font-size: 25px;
            font-weight: 200;
            color: var(--inky-navy);
            margin: 0 auto 60px;
            justify-content: space-between;
        }

        .stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 50px;
            margin-top: 60px;
        }

        .stats-header {
            width: 100%;
            justify-content: space-evenly;
            display: flex;
            flex-direction: row;
            padding: 0 15px;
        }

        .stat-item {
            /* background: #043646; */
            padding: 20px;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 16px;
            border-bottom: 2px solid var(--yellow);
            border-left: 2px solid var(--yellow);
            transition: border 0.8s ease;
            /* box-shadow: 0 10px 20px rgba(0,0,0,0.2); */
        }

        .stat-icon {
            width: 48px;
            height: 48px;
            color: #c9b037;
            flex-shrink: 0;
            align-self: center;
        }

        .stat-number {
            font-size: 2rem;
            font-weight: 4000;
            color: #c9b037;
            line-height: 1;
            align-self: center;
        }

        .stat-description {
            color: #a1a1a1;
            font-family: "Assistant", sans-serif;
            font-weight: 100;
            font-size: 1.1rem;
            line-height: 1.6;
            opacity: 0.8;
            text-align: justify;
        }

        .stat-item.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .stat-label {
            font-size: 1.1rem;
            color: #666;
            margin-top: 10px;
        }

        /* Industries Section */
        .industries {
            padding: 150px 50px;
            color: var(--inky-navy);
            background: #faf5e9;
            text-align: center;
        }

        .industries-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
            gap: 40px;
            margin-top: 80px;
        }

        .industry-card {
            background-color: rgba(4, 54, 70, 0.98);
            border-radius: 20px;
            padding: 40px;
            text-align: center;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: var(--off-white);
            transition: all 0.4s ease;
            cursor: default;
            position: relative;
            overflow: hidden;
        }

        .industry-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(201, 176, 55, 0.1), transparent);
            transition: left 0.6s ease;
        }

        .industry-card:hover::before {
            left: 100%;
        }

        .industry-card:hover {
            transform: translateY(-10px);
            background: #043646;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        }

        .industry-icon {
            font-family: "Phosphor", sans-serif;
            font-size: 50px;
            font-style: normal;
            color: #c9b037;
            font-weight: 50;
            display: inline-block;
        }

        .industry-icon svg {
            font-size: inherit;
            /* Inherits from parent */
        }

        .industry-title {
            font-family: 'Raleway', sans-serif;
            font-size: 1.5rem;
            font-weight: 200;
            margin-bottom: 15px;
            color: #c9b037;
        }

        .industry-description {
            font-family: "Assistant", sans-serif;
            font-weight: 100;
            font-size: 1.1rem;
            line-height: 1.6;
            opacity: 0.8;
            text-align: justify;
        }

        .team {
            padding: 150px 50px;
            background: var(--off-white);
        }

        .team-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 50px;
            margin-top: 80px;
        }

        .team-member {
            text-align: center;
            opacity: 0;
            transform: scale(0.9);
            transition: all 0.6s ease;
        }

        .team-member.visible {
            opacity: 1;
            transform: scale(1);
        }

        .member-photo {
            width: 350px;
            height: 350px;
            border-radius: 8%;
            background: linear-gradient(rgba(3, 31, 40, 0.2), rgba(3, 31, 40, 0.2)),
                        url('mason_headshot.jpg');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            margin: 0 auto 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 4rem;
            color: var(--off-white);
            font-weight: 300;
        }

        .info-icon {
            width: 40px;
            height: 40px;
            background-color: var(--dark-bg);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            margin-top: 20px;
            flex-shrink: 0;
        }

        .member-name {
            font-size: 1.8rem;
            font-weight: 600;
            margin-bottom: 10px;
            color: #1a1a1a;
        }

        .member-role {
            font-size: 1.1rem;
            color: var(--sage);
            margin-bottom: 15px;
        }

        .member-bio {
            font-size: 1rem;
            color: #666;
            line-height: 1.6;
            text-align: justify;
        }

        /* Commercial Development Projects Section */
        .developments {
            padding: 150px 50px;
            background: var(--inky-navy);
            position: relative;
        }

        .developments .container {
            max-width: 1400px;
            margin: 0 auto;
        }

        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
            gap: 40px;
            margin-top: 80px;
        }

        .project-card {
            position: relative;
            height: 400px;
            border-radius: 20px;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.4s ease;
            opacity: 0;
            transform: translateY(50px);
            animation: fadeInUp 0.8s forwards;
        }

        .project-card:nth-child(1) { animation-delay: 0.1s; }
        .project-card:nth-child(2) { animation-delay: 0.2s; }
        .project-card:nth-child(3) { animation-delay: 0.3s; }
        .project-card:nth-child(4) { animation-delay: 0.4s; }
        .project-card:nth-child(5) { animation-delay: 0.5s; }

        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .project-image {
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            position: relative;
            transition: transform 0.6s ease;
            display: flex;
            align-items: flex-end;
        }

        .project-card:hover .project-image {
            transform: scale(1.05);
        }

        .project-content {
            padding: 40px;
            background: linear-gradient(to top, rgba(3, 31, 40, 0.95), rgba(3, 31, 40, 0.7));
            width: 100%;
            transform: translateY(60%);
            transition: transform 0.4s ease;
        }

        .project-card:hover .project-content {
            transform: translateY(0);
        }

        .project-name {
            font-family: "Playfair Display", serif;
            font-size: 1.8rem;
            color: var(--off-white);
            margin-bottom: 100px;
            font-weight: 400;
        }

        .project-description {
            font-family: "Assistant", sans-serif;
            font-size: 1rem;
            color: #b7b7b7;
            line-height: 1.6;
            margin-bottom: 25px;
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.4s ease 0.1s;
        }

        .project-card:hover .project-description {
            opacity: 1;
            transform: translateY(0);
        }

        .project-cta {
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.4s ease 0.2s;
            display: inline-block;
            padding: 12px 30px;
            font-size: 0.95rem;
        }

        .project-card:hover .project-cta {
            opacity: 1;
            transform: translateY(0);
        }

        /* Premium glass effect on hover */
        .project-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(201, 176, 55, 0.1), transparent);
            transition: left 0.8s ease;
            z-index: 1;
        }

        .project-card:hover::before {
            left: 100%;
        }

        .project-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 100px rgba(201, 176, 55, 0.1);
        }

        /* Contact Section */
        .contact {
            padding: 150px 50px;
            background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
                url('./andreas-brucker-C2Dyr5FhGPQ-unsplash.jpg');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            color: var(--off-white);
            text-align: center;
        }

        .contact-content {
            max-width: 900px;
            margin: 0 auto;
        }

        .contact-info {
            display: grid;
            grid-template-columns: repeat(2, minmax(300px, 1fr));
            gap: 40px;
            margin-top: 60px;
        }

        .contact-item {
            padding: 30px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 15px;
            backdrop-filter: blur(10px);
        }

        .contact-item h4 {
            color: #c9b037;
            font-family: 'Raleway', sans-serif;
            font-weight: 400;
            margin-bottom: 10px;
            font-size: 1.2rem;
        }

        .contact-item p {
            color: var(--off-white);
            font-family: 'Raleway', sans-serif;
            font-weight: 100;
            margin-bottom: 10px;
            font-size: 0.9rem;
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(50px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Scroll indicator */
        .scroll-indicator {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            color: var(--off-white);
            opacity: 0.7;
            animation: bounce 2s infinite;
        }

        @keyframes bounce {

            0%,
            20%,
            50%,
            80%,
            100% {
                transform: translateX(-50%) translateY(0);
            }

            40% {
                transform: translateX(-50%) translateY(-10px);
            }

            60% {
                transform: translateX(-50%) translateY(-5px);
            }
        }

        /* Responsive */
        @media (max-width: 768px) {
            nav {
                padding: 15px 20px;
                height: 13vh;
            }

            nav.scrolled {
                height: 13vh;
            }

            .hero,
            .contact {
                background-attachment: scroll !important;
                background-size: cover !important;
            }

            .hamburger {
                display: flex;
            }

            /* slide-out menu */
            .nav-links {
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                flex-direction: column;
                background: var(--inky-navy);
                transform: translateX(100%);
                transition: transform 0.3s ease-in-out;
                padding: 20px 0;
                gap: 20px;
            }

            /* when “open” class is toggled */
            .nav-links.open {
                transform: translateX(0);
            }

            .nav-links {
                gap: 20px;
            }

            .hero h1 {
                font-size: 6rem;
                letter-spacing: -5px;
            }

            .hero .tagline {
                font-size: 1.1rem;
            }

            .section-title {
                font-size: 2.2rem;
            }

            .about,
            .industries,
            .team,
            .developments,
            .contact {
                padding: 100px 20px;
            }

            .member-photo {
                background-position: top center;
                background-attachment: scroll; /* instead of fixed */
            }

            .stats {
                grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
                gap: 30px;
            }


            .stats-header {
                padding: 0 75px;
            }

            .industries-grid,
            .team-grid {
                grid-template-columns: 1fr;
            }

            .contact-info {
                grid-template-columns: repeat(1, minmax(300px, 1fr));
            }

            /* Developments section mobile styles */
            .projects-grid {
                grid-template-columns: 1fr;
                gap: 30px;
                margin-top: 50px;
            }

            .project-card {
                height: 400px;
                cursor: pointer;
            }

            .project-content {
                padding: 30px 20px;
                transform: translateY(0) !important;
                background: linear-gradient(to top, rgba(3, 31, 40, 0.98), rgba(3, 31, 40, 0.85));
            }

            .project-name {
                font-size: 1.5rem;
                margin-bottom: 15px !important;
            }

            .project-description {
                font-size: 0.95rem;
                margin-bottom: 20px;
                opacity: 1 !important;
                transform: translateY(0) !important;
            }

            .project-cta {
                padding: 10px 25px;
                font-size: 0.9rem;
                opacity: 1 !important;
                transform: translateY(0) !important;
            }
        }

        /* Tablet styles */
        @media (min-width: 769px) and (max-width: 1024px) {
            .projects-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 30px;
            }
        }

        /* Touch device detection - ensures buttons are accessible on all touch devices */
        @media (hover: none) and (pointer: coarse) {
            .project-content {
                transform: translateY(0) !important;
                background: linear-gradient(to top, rgba(3, 31, 40, 0.98), rgba(3, 31, 40, 0.9));
            }
            
            .project-description {
                opacity: 1 !important;
                transform: translateY(0) !important;
            }
            
            .project-cta {
                opacity: 1 !important;
                transform: translateY(0) !important;
            }
            
            .project-name {
                margin-bottom: 15px !important;
            }

            .project-card {
                cursor: pointer;
            }

            /* Disable hover effects on touch devices */
            .project-card:hover {
                transform: none;
            }

            .project-card:hover .project-image {
                transform: none;
            }
        }