:root {
    --color-bg: #0a0a0a;
    --color-text: #ffffff;
    --color-red: #edfa7a;
    /* Neon Yellow Accent */
    --color-gray: #888888;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
    --container-width: 90%;
    --header-height: 80px;
}

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

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Utilities */
.text-red {
    color: var(--color-red);
}

.text-outline {
    -webkit-text-stroke: 2px var(--color-text);
    color: transparent;
}

.text-outline-light {
    -webkit-text-stroke: 1px var(--color-text);
    color: transparent;
}

.section-padding {
    padding: 100px 5%;
}

.container {
    width: var(--container-width);
    margin: 0 auto;
    max-width: 1400px;
}

/* Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    /* Reduced padding for image logo fit */
    z-index: 100;
    mix-blend-mode: difference;
}

.logo-link img {
    height: 50px;
    width: auto;
    display: block;
}

/* Removed .logo-text since it's now an image */
.logo-text-removed {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    letter-spacing: 2px;
}

.menu-toggle {
    background: none;
    border: none;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--color-red);
    z-index: 200;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.7, 0, 0.3, 1);
}

.nav-overlay.active {
    transform: translateY(0);
}

.nav-links {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 20px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: #000;
    /* Black text on yellow bg */
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    transition: letter-spacing 0.3s;
}

.nav-link:hover {
    letter-spacing: 5px;
    color: #000;
}

.menu-close {
    position: absolute;
    top: 30px;
    right: 5%;
    background: none;
    border: none;
    color: #000;
    /* Black close button on yellow bg */
    font-size: 2rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 0 5%;
}

.hero-content {
    max-width: 1200px;
    z-index: 2;
}

.hero-logo {
    width: 150px;
    margin-bottom: 30px;
    display: block;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 0.9;
    font-weight: 700;
    text-transform: uppercase;
}

.hero-tagline span {
    display: block;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    right: 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background: var(--color-red);
}

/* Marquee */
.marquee-container {
    background: var(--color-red);
    color: #000;
    /* Black text on yellow bg */
    padding: 20px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 5;
    transform: rotate(-2deg) scale(1.05);
    margin: 50px 0;
}

.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2rem;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* About Section */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-transform: uppercase;
    margin-bottom: 30px;
    line-height: 1.1;
}

.lead {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: #ddd;
}

.image-block img {
    width: 100%;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.5s;
}

.image-block:hover img {
    filter: grayscale(0%);
}

/* Horizontal Scroll Work Section */
.work-scroll-container {
    position: relative;
    /* Height will be set by JS or approx 400vh for long scroll */
    min-height: 400vh;
}

.sticky-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background: #111;
}

.vertical-title {
    position: absolute;
    top: 10%;
    left: 5%;
    font-family: var(--font-heading);
    font-size: 14vw;
    color: rgba(255, 255, 255, 0.05);
    z-index: 0;
    pointer-events: none;
}

.horizontal-scroll-track {
    display: flex;
    gap: 80px;
    padding-left: 20%;
    /* Offset start */
    /* Width will be calculated based on children to ensure full scroll */
    width: max-content;
    will-change: transform;
}

.work-card {
    width: 50vw;
    /* Desktop width */
    max-width: 600px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.work-img {
    overflow: hidden;
    margin-bottom: 20px;
}

.work-img img {
    width: 100%;
    height: auto;
    transition: transform 0.6s ease;
}

.work-card:hover .work-img img {
    transform: scale(1.05);
}

.work-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    text-transform: uppercase;
}

.work-info p {
    color: var(--color-gray);
}

/* Services */
.services-list {
    margin-top: 60px;
    border-top: 1px solid #333;
}

.service-item {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #333;
    padding: 30px 0;
    transition: background 0.3s;
    cursor: pointer;
    position: relative;
}

.service-item:hover {
    background: #111;
}

.service-item:hover .service-name {
    color: var(--color-red);
    padding-left: 20px;
}

.service-num {
    font-family: var(--font-heading);
    color: var(--color-gray);
    width: 60px;
    font-size: 1.2rem;
}

.service-name {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-transform: uppercase;
    flex-grow: 1;
    transition: all 0.3s ease;
}

.service-arrow {
    font-size: 2rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
    color: var(--color-red);
}

.service-item:hover .service-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Footer Reveal */
.footer-reveal {
    /* Important: The content before this needs margin-bottom equal to footer height
       or we make this sticky at bottom z-index -1 */
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--color-red);
    color: #000;
    /* Black text for footer on yellow bg */
    padding: 80px 5% 40px;
    z-index: 0;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* We need to ensure the main content sits on top of the footer */
main {
    position: relative;
    z-index: 10;
    background: var(--color-bg);
    margin-bottom: 80vh;
    /* matches footer height */
}

.footer-cta {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 10vw, 8rem);
    line-height: 0.9;
    margin-bottom: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    font-size: 1.2rem;
}

.footer-grid a {
    color: #000;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    width: 80px;
    filter: brightness(0);
    /* Make black */
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-link {
        font-size: 2.5rem;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .work-card {
        width: 85vw;
    }

    .service-name {
        font-size: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    /* On mobile, horizontal scroll can be tricky. 
       Maybe switch to vertical for better UX or keep minimal horizontal */
    .sticky-wrapper {
        height: auto;
        position: relative;
        overflow-x: auto;
        padding: 50px 0;
    }

    .work-scroll-container {
        min-height: auto;
        margin-bottom: 0;
    }

    .horizontal-scroll-track {
        flex-direction: column;
        padding-left: 5%;
        width: 100%;
    }

    .work-card {
        width: 100%;
        max-width: 100%;
        margin-bottom: 40px;
    }

    /* Footer reveal logic tweak for tiny screens if needed */
}