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

:root {
    --rich-blue: #2563eb;
    --blue-dark: #1e40af;
    --blue-light: #3b82f6;
    --text-black: #000000;
    --text-white: #ffffff;
    --text-gray: #8892b0;
    
    /* Parallax image 2 left offset - adjust this single value to move the second photo left/right */
    --parallax-image-2-left-offset: 21rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Now Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: var(--rich-blue);
    color: var(--text-black);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.1s ease-out;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 3rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
    background-color: transparent;
}

body:has(nav.mobile-open) header {
    z-index: 10012;
}

.header-container {
    max-width: 1400px;
    width: 100%;
    padding: 0 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    min-height: 62px;
    height: 62px;
}

.menu-toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 1025px) {
    .menu-toggle-wrapper {
        display: none !important;
    }
}

header.scrolled {
    background-color: transparent;
    backdrop-filter: none;
}

.logo {
    display: flex;
    align-items: center;
    height: 62px;
    flex-shrink: 0;
    margin-left: 0.3rem;
    transition: opacity 0.3s ease;
}

@media (min-width: 1025px) {
    header .logo {
        opacity: 0;
        pointer-events: none;
    }
    
    header .logo.show-on-large {
        opacity: 1;
        pointer-events: auto;
    }
}

.logo img {
    height: 62px;
    width: auto;
    transition: filter 0.3s ease;
    display: block;
}

header.scrolled .logo img {
    filter: brightness(0) invert(1);
}

/* Mobile menu - hidden by default, shown as overlay */
nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 100vh;
    background-color: #000000;
    padding: 0;
    gap: 0;
    z-index: 10010;
    justify-content: flex-start;
    align-items: flex-start;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Desktop menu - show horizontally on large screens */
@media (min-width: 1025px) {
    nav {
        position: static;
        flex-direction: row;
        width: auto;
        height: 62px;
        min-height: auto;
        background-color: transparent;
        gap: 2.5rem;
        align-items: center;
        transform: none;
        opacity: 1;
        pointer-events: auto;
        transition: none;
    }
    
    nav .menu-header {
        display: none;
    }
    
    nav .menu-items {
        display: flex;
        flex-direction: row;
        gap: 2.5rem;
        padding: 0;
        margin: 0;
        max-width: none;
        width: auto;
        align-items: center;
    }
}

nav a {
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-black);
    transition: color 0.3s ease;
    position: relative;
    line-height: 1;
    display: flex;
    align-items: center;
    height: 62px;
    text-transform: uppercase;
}

.menu-label {
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--text-black);
    transition: color 0.3s ease;
    line-height: 1;
}

@media (min-width: 1025px) {
    .menu-label {
        display: none;
    }
}

header.scrolled nav a {
    color: var(--text-white);
}

header.scrolled .menu-label {
    color: var(--text-white);
}

nav a:hover {
    opacity: 0.7;
}

nav.mobile-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

nav.mobile-open .menu-header {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 3rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    width: 100%;
}

nav.mobile-open .menu-header .header-container {
    max-width: 1400px;
    width: 100%;
    padding: 0 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    min-height: 62px;
    height: 62px;
}

nav.mobile-open .menu-header .logo {
    display: flex;
    align-items: center;
    height: 62px;
    flex-shrink: 0;
    margin-left: 0.3rem;
}

nav.mobile-open .menu-header .logo img {
    height: 62px;
    width: auto;
    transition: filter 0.3s ease;
    display: block;
    filter: brightness(0) invert(1);
}

nav.mobile-open .menu-items {
    display: flex;
    flex-direction: column;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 3rem 4rem;
    gap: 3rem;
}

nav.mobile-open .menu-items a {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 400;
    color: #ffffff !important;
    height: auto;
    padding: 0;
    line-height: 0.5;
    position: relative;
    z-index: 10003;
    text-align: left;
}

/* Desktop menu items styling */
@media (min-width: 1025px) {
    nav .menu-items a {
        font-size: 1rem;
        height: 62px;
        line-height: 1;
        color: var(--text-black);
    }
    
    header.scrolled nav .menu-items a {
        color: var(--text-white);
    }
}


:root {
    --bar-bg: #212529;
}

.menu-icon {
    position: relative;
    width: 65px;
    height: 65px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10013;
}

@media (min-width: 1025px) {
    .menu-icon {
        display: none;
    }
}

body:has(nav.mobile-open) .menu-icon,
.menu-open .menu-icon {
    z-index: 10015 !important;
    position: relative;
}

body:has(nav.mobile-open) .menu-open,
.menu-open {
    z-index: 10015 !important;
    position: relative;
}

.menu-icon__cheeckbox {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    cursor: pointer;
    z-index: 2;
    -webkit-touch-callout: none;
    opacity: 0;
}

.menu-icon > div {
    margin: auto;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 22px;
    height: 12px;
}

.menu-icon span {
    position: absolute;
    display: block;
    width: 100%;
    height: 2px;
    background-color: #000000;
    border-radius: 1px;
    transition: all 0.2s cubic-bezier(0.1, 0.82, 0.76, 0.965);
}

.menu-icon span:first-of-type {
    top: 0;
}

.menu-icon span:last-of-type {
    bottom: 0;
}

.menu-icon.active span,
.menu-icon .menu-icon__cheeckbox:checked ~ div span,
body:has(nav.mobile-open) .menu-icon span,
body:has(nav.mobile-open) .menu-icon.active span,
body:has(nav.mobile-open) .menu-icon .menu-icon__cheeckbox:checked ~ div span,
.menu-open .menu-icon span,
.menu-open .menu-icon.active span,
.menu-open .menu-icon .menu-icon__cheeckbox:checked ~ div span {
    background-color: #ffffff !important;
}

.menu-icon.active .menu-icon__cheeckbox:checked + div span:first-of-type,
.menu-icon .menu-icon__cheeckbox:checked + div span:first-of-type {
    transform: rotate(45deg);
    top: 5px;
}

.menu-icon.active .menu-icon__cheeckbox:checked + div span:last-of-type,
.menu-icon .menu-icon__cheeckbox:checked + div span:last-of-type {
    transform: rotate(-45deg);
    bottom: 5px;
}

.menu-icon.active:hover span:first-of-type,
.menu-icon.active:hover span:last-of-type,
.menu-icon:hover .menu-icon__cheeckbox:checked + div span:first-of-type,
.menu-icon:hover .menu-icon__cheeckbox:checked + div span:last-of-type {
    width: 22px;
}

@media (min-width: 1024px) {
    .menu-icon:hover span:first-of-type {
        width: 26px;
    }
    
    .menu-icon:hover span:last-of-type {
        width: 12px;
    }
}

header:not(.scrolled) .logo img {
    filter: brightness(0);
}

/* Header divider line */
.header-divider {
    position: relative;
    width: 100%;
    height: 1px;
    background-color: transparent;
    z-index: 999;
    transition: background-color 0.3s ease;
    margin-top: 12rem; /* Position just above hero text - adjust this */
    margin-bottom: 0;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 4rem;
    padding-right: 4rem;
    box-sizing: border-box;
}

.header-divider::before {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background-color: var(--text-black);
}

header.scrolled ~ .header-divider::before,
.header-divider.scrolled::before {
    background-color: var(--text-white);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin-top: 0rem;
    padding-top: 4rem;
    padding-left: 4rem;
    padding-right: 4rem;
    padding-bottom: 4rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 15rem;
    width: 100%;
}

.hero-logo {
    height: clamp(80px, 12vw, 140px);
    width: auto;
    flex-shrink: 0;
    transition: filter 0.3s ease;
    filter: brightness(0);
    display: none;
}

@media (min-width: 1025px) {
    .hero-logo {
        display: block;
        height: 250px;
    }
}

.hero h1 {
    font-size: clamp(1.5rem, 3.5vw, 3.5rem);
    font-weight: 400;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 0;
    color: var(--text-black);
    letter-spacing: -0.02em;
    text-transform: uppercase;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.hero h1 .hero-line {
    display: inline;
    overflow: visible;
    position: relative;
}

.hero h1 .hero-line-inner {
    display: inline;
}

.photo-anchor {
    position: absolute;
    visibility: hidden;
    pointer-events: none;
}

.hero-tagline {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 400;
    margin-bottom: 3rem;
    color: var(--text-black);
    max-width: 600px;
}

.hero-description {
    padding: 4rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-description-content {
    display: flex;
    flex-direction: column;
    will-change: transform;
    transition: transform 0.1s ease-out;
}

.hero-description-content p {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-weight: 400;
    color: var(--text-black);
    line-height: 1.6;
    margin: 0;
}

.hero-description-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    will-change: transform;
    transition: transform 0.1s ease-out;
}

.hero-description-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.hero-link {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-black);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-link:hover {
    opacity: 0.7;
}

/* Proven Experience Section */
.experience {
    padding: 8rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    overflow: visible;
    position: relative;
    display: flex;
    justify-content: center;
}

.experience-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4rem;
    width: 100%;
    overflow: visible;
}

.experience-text {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 400;
    color: var(--text-white);
    position: relative;
    z-index: 2;
}

.experience-stats {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    width: 100%;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    overflow: visible;
}

.stat-item:first-child {
    width: 100%;
    overflow: visible;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 0;
    z-index: 1;
}

.stat-number {
    font-size: clamp(4rem, 8vw, 8rem);
    font-weight: 900;
    line-height: 1;
    color: var(--text-white);
    letter-spacing: -0.02em;
}

.stat-item:first-child .stat-number {
    font-size: 30vw; /* Will be updated dynamically by JavaScript */
    font-weight: 300;
    text-align: center;
    transition: font-size 0.1s ease-out;
    display: block;
    overflow: visible;
    position: relative;
    left: 50vw;
    transform: translateX(-50%);
    box-sizing: border-box;
    width: 100vw;
    max-width: 100vw;
    margin-left: 0;
    z-index: 1;
    letter-spacing: 0;
    text-indent: 0;
}

.stat-label {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-weight: 400;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Featured Services Section */
.services {
    padding: 8rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.services-header {
    margin-bottom: 4rem;
    text-align: center;
}

.services-header h2 {
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 400;
    line-height: 0.75;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 4rem;
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 4rem 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.service-image-wrapper {
    width: 100vw;
    height: 500px;
    overflow: hidden;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-image-wrapper.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.service-content {
    padding: 2rem 0;
    position: relative;
    z-index: 10;
    margin: 0;
    padding-left: max(calc(50vw - 700px + 4rem), 4rem);
    padding-right: 4rem;
}

.service-content h3 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-content p {
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.service-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-white);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.3s ease;
}

.service-link:hover {
    opacity: 0.7;
}

/* About Section */
.about {
    padding: 8rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.about-content {
    max-width: 800px;
}

.about-content p {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 400;
    color: var(--text-white);
    margin-bottom: 2rem;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-content p.visible {
    opacity: 1;
    transform: translateY(0);
}

.ldg-link {
    color: inherit;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.ldg-link:hover {
    text-decoration: underline;
    text-underline-offset: 0.3em;
}

.ldg-logo {
    width: 200px;
    height: auto;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease, filter 400ms cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: 0.5rem;
    transform: scale(1) translateY(60px);
}

.ldg-logo.visible {
    opacity: 0.9;
    transform: scale(1) translateY(0);
}

.ldg-logo:hover {
    opacity: 1;
    transform: scale(1.05) translateY(0);
}




/* Clients Section */
.clients {
    padding: 8rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.clients-header {
    margin-bottom: 4rem;
    max-width: 100%;
}

.clients-header h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    color: var(--text-white);
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.clients-header h2.visible {
    opacity: 1;
    transform: translateY(0);
}

.clients-header a {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-weight: 500;
    color: var(--text-white);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.3s ease;
}

.clients-header a:hover {
    opacity: 0.7;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 3rem 2rem;
    align-items: center;
    margin-top: 6rem;
    max-width: 100%;
    width: 100%;
    transform: scale(1.05);
    transform-origin: center top;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%) brightness(0);
    opacity: 0;
    transition: opacity 0.3s ease, filter 0.3s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    height: 60px;
    transform: scale(0.7) translateY(60px);
}

.client-logo.visible {
    opacity: 0.6;
    transform: scale(0.7) translateY(0);
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.client-logo:hover {
    opacity: 1;
    filter: grayscale(0%) brightness(0);
    transform: scale(0.7) translateY(0);
}

/* Footer */
footer {
    padding: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1400px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    font-size: 1rem;
    color: var(--text-white);
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    opacity: 0.7;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-gray);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header-container {
        padding: 0 2rem;
        min-height: 62px;
        height: 62px;
    }
    
    nav.mobile-open .menu-header .header-container {
        padding: 0 2rem;
    }
    
    nav.mobile-open .menu-items {
        padding: 3rem 2rem;
    }

    .header-divider {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .hero {
        padding-top: 4rem;
        padding-left: 2rem;
        padding-right: 2rem;
        padding-bottom: 4rem;
    }

    .hero-content {
        flex-direction: column;
        gap: 2rem;
    }

    .hero-description {
        padding: 4rem 2rem;
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-description-image {
        order: -1;
    }

    .experience,
    .services,
    .clients,
    .about {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .service-content {
        padding-left: max(calc(50vw - 700px + 2rem), 2rem);
    }
    
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .experience-content {
        align-items: center;
        text-align: center;
    }

    .stat-item:first-child .stat-number {
        font-size: 30vw;
        width: 100vw;
        max-width: 100vw;
        left: 50vw;
        transform: translateX(-50%);
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 1.5rem;
        min-height: 62px;
        height: 62px;
    }
    
    nav.mobile-open .menu-header .header-container {
        padding: 0 1.5rem;
    }
    
    nav.mobile-open .menu-items {
        padding: 3rem 1.5rem;
    }

    .header-divider {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .hero {
        padding-top: 4rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        padding-bottom: 4rem;
    }

    .hero-content {
        flex-direction: column;
        gap: 2rem;
    }

    .hero h1 {
        font-size: clamp(1.2rem, 5vw, 3.5rem);
    }

    .hero-description {
        padding: 4rem 1.5rem;
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-description-image {
        order: -1;
    }

    .experience,
    .services,
    .clients,
    .about {
        padding: 4rem 1.5rem;
    }
    
    .service-content {
        padding-left: max(calc(50vw - 700px + 1.5rem), 1.5rem);
    }
    
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .stat-item:first-child .stat-number {
        font-size: 30vw;
        width: 100vw;
        max-width: 100vw;
        left: 50vw;
        transform: translateX(-50%);
        margin-left: 0;
    }

    footer {
        padding: 3rem 1.5rem;
    }
}
