﻿/* ============================================
   RESET & BASE
   ============================================ */

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

:root {
    --black: #050505;
    --white: #ffffff;
    --gray-light: rgba(255, 255, 255, 0.1);
    --gray-medium: rgba(255, 255, 255, 0.3);
    --gray-dark: rgba(255, 255, 255, 0.05);
    --accent: #ffffff;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Space Grotesk', monospace;
}

html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

body {
    font-family: var(--font-body);
    background-color: var(--black);
    color: var(--white);
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

/* ============================================
   FILM GRAIN TEXTURE
   ============================================ */

.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    animation: grain 8s steps(10) infinite;
}

@keyframes grain {

    0%,
    100% {
        transform: translate(0, 0);
    }

    10% {
        transform: translate(-5%, -10%);
    }

    20% {
        transform: translate(-15%, 5%);
    }

    30% {
        transform: translate(7%, -25%);
    }

    40% {
        transform: translate(-5%, 25%);
    }

    50% {
        transform: translate(-15%, 10%);
    }

    60% {
        transform: translate(15%, 0%);
    }

    70% {
        transform: translate(0%, 15%);
    }

    80% {
        transform: translate(3%, 35%);
    }

    90% {
        transform: translate(-10%, 10%);
    }
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
    position: fixed;
    top: 24px;
    left: 24px;
    right: 24px;
    width: auto;
    z-index: 1000;
    padding: 16px 32px;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav.scrolled {
    background: rgba(5, 5, 5, 0.85);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 2px;
}

.logo-img {
    height: 56px;
    /* Increased from 40px */
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
    transition: opacity 0.3s ease;
}

.logo-img:hover {
    opacity: 0.8;
}

.hero-logo {
    height: 120px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-logo-img {
    height: 32px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.logo-text {
    font-weight: 600;
    font-size: 13px;
    /* Decreased from default (which was inherited or 18px in .logo) */
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-left: 4px;
    /* Adjust spacing */
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--white);
    transition: width 0.3s ease;
}

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

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

.nav-cta {
    padding: 10px 24px;
    border: 1px solid var(--white);
    border-radius: 0;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--white);
    color: var(--black);
}

.nav-cta::after {
    display: none;
}

/* Fix for Portfolio Navigation */
.nav-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 2px;
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
}

.back-link {
    font-family: var(--font-mono);
    font-size: 14px;
    letter-spacing: 1px;
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

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

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.4;
    filter: grayscale(100%) contrast(1.2);
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
}

.hero-arches {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
    opacity: 0.4;
    background-image:
        repeating-linear-gradient(90deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.02) 2px,
            rgba(255, 255, 255, 0.02) 4px);
    mask-image: radial-gradient(ellipse 80% 100% at center, black 40%, transparent 70%);
}

.hero-geometry {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    opacity: 0.3;
}

.hero-geometry::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.light-streak {
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0.3;
    animation: streakMove 8s ease-in-out infinite;
}

.light-streak-1 {
    left: 20%;
    animation-delay: 0s;
}

.light-streak-2 {
    right: 25%;
    animation-delay: 2s;
}

@keyframes streakMove {

    0%,
    100% {
        transform: translateY(-100%) scaleY(0.5);
        opacity: 0;
    }

    50% {
        transform: translateY(0) scaleY(1);
        opacity: 0.3;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    max-width: none;
    padding: 120px 40px 40px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: 1fr auto;
    align-items: end;
    gap: 20px;
}

.hero-logo-glow {
    position: absolute;
    top: 32%;
    /* Moved up from 50% to avoid overlap */
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0.8;
    /* Increased visibility */
    mix-blend-mode: screen;
}

.hero-logo {
    height: 450px;
    /* Massive increase as requested */
    width: auto;
    filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.4));
}

@keyframes glowPulse {

    0%,
    100% {
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
    }

    50% {
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.4));
    }
}

.hero-headline {
    grid-column: 1 / -1;
    grid-row: 2;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(80px, 16vw, 300px);
    line-height: 0.8;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    color: var(--white);
    margin: 0;
    z-index: 2;
}

.hero-wrapper {
    display: contents;
}

.hero-headline .line-1 {
    display: block;
    margin-left: -0.02em;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

.hero-headline .line-2 {
    display: block;
    text-indent: 2vw;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.8);
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.hero-subheadline {
    position: absolute;
    bottom: 10%;
    left: 5%;
    right: auto;
    top: auto;
    text-align: left;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    max-width: 300px;
    line-height: 1.5;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    padding-left: 20px;
    padding-right: 0;
    border-right: none;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.9s forwards;
    z-index: 10;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 40px;
    transform: none;
    display: flex;
    align-items: center;
    gap: 16px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.2s forwards;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 2px;
}

.scroll-circle {
    width: 24px;
    height: 24px;
    border: 1px solid var(--white);
    border-radius: 50%;
    position: relative;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-circle::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--white);
    border-radius: 50%;
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0);
    }

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

@keyframes scrollDot {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    50% {
        opacity: 0.3;
        transform: translateX(-50%) translateY(8px);
    }

    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ============================================
   VALUE PROPOSITION
   ============================================ */

.value-prop {
    padding: 120px 0;
    position: relative;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 equal columns */
    gap: 40px;
}

.value-card {
    position: relative;
    text-align: left;
}

/* Symmetric Layout - Resetting individual overrides */
.value-card:nth-child(1),
.value-card:nth-child(2),
.value-card:nth-child(3) {
    grid-column: auto;
    transform: none;
    margin-top: 0;
    text-align: left;
}

.value-image {
    width: 100%;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    height: 600px;
    /* Increased from 400px to make it significantly larger as requested */
}

.value-image-1,
.value-image-2,
.value-image-3 {
    height: 100%;
    /* Ensure all take the container height */
}

.value-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
    filter: grayscale(100%) contrast(1.1);
}

.value-card:hover .value-img {
    transform: scale(1.03);
    filter: grayscale(0%) contrast(1.1);
}

.value-title {
    font-family: var(--font-heading);
    font-size: clamp(24px, 3vw, 40px);
    font-weight: 500;
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.value-description {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.6;
    max-width: 400px;
}

.value-card:nth-child(3) .value-description {
    margin: 0 auto;
}

/* ============================================
   STATEMENT SECTION
   ============================================ */

.statement {
    padding: 200px 0;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.statement-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.statement-light-streaks {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.streak {
    position: absolute;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0.2;
    animation: streakFloat 12s ease-in-out infinite;
}

.streak-1 {
    left: 15%;
    animation-delay: 0s;
}

.streak-2 {
    left: 50%;
    animation-delay: 4s;
}

.streak-3 {
    right: 20%;
    animation-delay: 8s;
}

@keyframes streakFloat {

    0%,
    100% {
        transform: translateY(-20px) scaleY(0.8);
        opacity: 0.1;
    }

    50% {
        transform: translateY(20px) scaleY(1.2);
        opacity: 0.3;
    }
}

.statement-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.statement-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(36px, 5vw, 72px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 30px;
}

.statement-subtext {
    font-size: 14px;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0.5;
    font-weight: 300;
}

/* ============================================
   BENTO GRID SHOWCASE
   ============================================ */

.showcase {
    padding: 120px 0;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 400px);
    gap: 20px;
}

.bento-item {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-dark);
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.bento-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.bento-large {
    grid-column: span 2;
}

.bento-tall {
    grid-row: span 2;
}

.bento-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.bento-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(100%) contrast(1.1) brightness(0.85);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
}

.bento-item:hover .bento-img {
    filter: grayscale(70%) contrast(1.2) brightness(0.95);
}

.bento-fog,
.bento-metal,
.bento-blueprint,
.bento-silhouette {
    background: #000000;
}

.bento-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
    z-index: 2;
    pointer-events: none;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.bento-title-overlay::after {
    content: 'Click para ver más →';
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.5;
    font-weight: 300;
    transition: opacity 0.3s ease;
}

.bento-item:hover .bento-title-overlay::after {
    opacity: 0.8;
}

.bento-item.active .bento-title-overlay::after,
.bento-item.unlocked .bento-title-overlay::after {
    content: 'Click para cerrar ×';
    opacity: 0.7;
}

.bento-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--white);
    margin: 0;
    transition: all 0.3s ease;
    transform: translateY(10px);
    /* Initially slight offset for animation */
}

.bento-item:hover .bento-title {
    transform: translateY(0);
}

.bento-cta {
    margin-top: 15px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.bento-cta .arrow {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.bento-item:hover .bento-cta {
    opacity: 1;
    transform: translateY(0);
}

.bento-item:hover .bento-cta .arrow {
    transform: translateX(3px) translateY(-3px);
}

.bento-item:hover .bento-title {
    opacity: 0.9;
}

/* Main Overlay Container - Alwaus visible at bottom */
.bento-content {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 30px;
    opacity: 1;
    visibility: visible;
    z-index: 3;
    pointer-events: none;
    /* Let clicks pass through to link if needed, but here div is clickable */
}

/* Ensure content stays visible */
.bento-item.active .bento-content,
.bento-item.unlocked .bento-content {
    opacity: 1;
    visibility: visible;
}

/* Title Styling */
.bento-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--white);
    margin: 0;
    margin-bottom: 5px;
    transform: translateY(0);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Description Styling */
.bento-text {
    font-family: var(--font-body);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    margin-bottom: 15px;
    max-width: 90%;
    line-height: 1.4;
}

/* CTA Styling - Always visible or subtle */
.bento-cta {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    /* Use accent color for CTA */
    opacity: 1;
    transform: translateY(0);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
}

/* Hover Effects on Container */
.bento-item:hover .bento-content {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 60%, transparent 100%);
}

.bento-item:hover .arrow {
    transform: translateX(5px);
}

.bento-item.active .bento-content,
.bento-item.unlocked .bento-content {
    opacity: 1;
    visibility: visible;
}

.bento-description {
    max-width: 500px;
    text-align: center;
}

.bento-description p {
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: 0.5px;
    color: var(--white);
    opacity: 0.9;
    margin: 0;
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.bento-item.active .bento-description p,
.bento-item.unlocked .bento-description p {
    transform: translateY(0);
}

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

.bento-item.active .bento-img,
.bento-item.unlocked .bento-img {
    transform: scale(1.1);
    filter: grayscale(50%) contrast(1.3) brightness(1);
}

/* ============================================
   NUMBERS SECTION
   ============================================ */

.numbers {
    padding: 120px 0;
    border-top: 1px solid var(--gray-dark);
    border-bottom: 1px solid var(--gray-dark);
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    text-align: center;
}

.number-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(48px, 6vw, 80px);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.number-label {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.5;
    font-weight: 300;
}

/* ============================================
   CALL TO ACTION
   ============================================ */

.cta {
    padding: 200px 0;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.cta-geometry {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    opacity: 0.3;
}

.cta-geometry::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
}

.cta-headline {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 50px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 18px 40px;
    border: 1px solid var(--white);
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--white);
    transition: left 0.3s ease;
    z-index: -1;
}

.cta-button:hover::before {
    left: 0;
}

.cta-button:hover {
    color: var(--black);
}

.cta-arrow {
    transition: transform 0.3s ease;
}

.cta-button:hover .cta-arrow {
    transform: translateX(5px);
}

/* ============================================
   FOOTER
   ============================================ */

/* ============================================
   FOOTER
   ============================================ */

.footer {
    padding: 0;
    border-top: 1px solid var(--gray-dark);
    position: relative;
    overflow: hidden;
    background: var(--black);
}

.footer-stack-container {
    padding: 100px 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 0.8;
    pointer-events: none;
    mix-blend-mode: exclusion;
}

.footer-stack-item {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(60px, 15vw, 200px);
    color: var(--white);
    letter-spacing: -0.05em;
    text-transform: uppercase;
    transition: transform 0.1s ease-out, opacity 0.1s ease-out;
    opacity: 0.1;
}

.footer-stack-item:nth-child(1) {
    opacity: 1;
    z-index: 5;
}

.footer-stack-item:nth-child(2) {
    opacity: 0.6;
    z-index: 4;
}

.footer-stack-item:nth-child(3) {
    opacity: 0.3;
    z-index: 3;
}

.footer-stack-item:nth-child(4) {
    opacity: 0.1;
    z-index: 2;
}

.footer-stack-item:nth-child(5) {
    opacity: 0.05;
    z-index: 1;
}

.container-footer {
    padding: 40px;
    background: var(--black);
    position: relative;
    z-index: 10;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 2px;
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--gray-dark);
}

.footer-bottom p {
    font-size: 12px;
    opacity: 0.4;
    letter-spacing: 1px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .value-grid {
        grid-template-columns: 1fr;
        gap: 80px;
    }

    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 300px);
    }

    .bento-large {
        grid-column: span 2;
    }

    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .nav {
        padding: 20px;
    }

    .nav-links {
        gap: 20px;
        font-size: 12px;
    }

    .nav-cta {
        padding: 8px 16px;
    }

    .hero-content {
        padding: 0 20px;
    }

    .value-prop,
    .showcase,
    .numbers,
    .statement,
    .cta {
        padding: 80px 0;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 250px);
    }

    .bento-large,
    .bento-tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .numbers-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav {
        top: 10px;
        left: 10px;
        right: 10px;
        padding: 12px 20px;
    }

    .hero-content {
        padding: 100px 20px 20px;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 40px;
    }

    .hero-headline {
        font-size: clamp(40px, 15vw, 100px);
        grid-row: 1;
    }

    .hero-subheadline {
        grid-column: 1;
        grid-row: 2;
        text-align: left;
        justify-self: start;
        border-left: 1px solid rgba(255, 255, 255, 0.3);
        padding-left: 16px;
        margin-bottom: 0;
    }

    .scroll-indicator {
        position: relative;
        bottom: 0;
        left: 0;
        grid-row: 3;
        margin-top: 20px;
    }

    .value-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .value-card:nth-child(1),
    .value-card:nth-child(2),
    .value-card:nth-child(3) {
        grid-column: 1;
        transform: none;
        margin-top: 0;
    }

    .value-image-1,
    .value-image-2,
    .value-image-3 {
        height: 400px;
    }
}

.hero-logo-glow {
    top: 15%;
    opacity: 0.2;
}

.hero-logo {
    height: 60px;
}

.hero-headline {
    font-size: clamp(40px, 15vw, 100px);
    grid-row: 1;
    margin-top: 40px;
    /* Slight push down */
}

@media (max-width: 768px) {
    .hero-logo-glow {
        top: 20%;
        opacity: 0.4;
    }

    .hero-logo {
        height: 100px;
        /* Increased from 60px on mobile too, but proportional */
    }
}

@import 'services.css';

/* ============================================
   PRELOADER
   ============================================ */

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.loader.loaded {
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s ease-out 0.5s;
}

.loader-content {
    position: relative;
    z-index: 10;
}

.loader-text-wrapper {
    position: relative;
    overflow: hidden;
}

.loader-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: clamp(40px, 10vw, 120px);
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: -0.05em;
    opacity: 0;
    animation: revealText 0s forwards 0.4s;
    display: block;
}

.loader-block {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--white);
    animation: revealBlock 1.2s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.loader.loaded .loader-block {
    left: auto;
    right: 0;
    width: 0%;
    transition: width 0.4s ease-out;
}

@keyframes revealBlock {
    0% {
        width: 0%;
        left: 0;
    }

    50% {
        width: 100%;
        left: 0;
    }

    100% {
        width: 0%;
        left: 100%;
    }
}

@keyframes revealText {
    to {
        opacity: 1;
    }
}

/* Geometric Decoration */
.loader-shape {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    animation: fadeInShape 1s ease-out forwards;
}

.shape-1 {
    top: 15%;
    left: 10%;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    animation: spinSlow 20s linear infinite, fadeInShape 1s ease-out forwards;
}

.shape-2 {
    bottom: 20%;
    right: 15%;
    width: 80px;
    height: 80px;
    transform: rotate(45deg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.shape-3 {
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.loader-grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 200px 200px;
    pointer-events: none;
    opacity: 0.5;
}

@keyframes spinSlow {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeInShape {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .hero-logo-glow {
        top: 25%;
        /* Adjusted for better mobile centering */
        opacity: 0.5;
    }

    .hero-logo {
        height: 200px;
        /* Significantly larger on mobile too, but manageable */
    }
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */

.portfolio {
    padding: 120px 0 0;
    position: relative;
    background: var(--black);
    overflow: visible;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(40px, 5vw, 60px);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 60px;
    letter-spacing: -2px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 80px;
    max-width: 100%;
    /* Default justification is stretch, which works better for grid cells */
    justify-content: center;
}

@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.project-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 12px;
    padding-bottom: 0;
    transition: transform 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
}

.project-info {
    order: 0;
    /* Text on TOP */
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.project-title {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
    margin: 0;
    text-transform: uppercase;
}

.project-desc {
    font-family: var(--font-body);
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-image {
    order: 1;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 2px;
    margin-top: auto;
    position: relative;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    /* Fade out bottom like reference slightly */
}

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

.project-link {
    display: none;
    /* Hide button for minimalist look */
}

margin: 0;
}

.project-link {
    font-family: var(--font-mono);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.project-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: grayscale(100%);
}

.project-card:hover .project-img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

/* ============================================
   MARQUEE
   ============================================ */

.marquee-container {
    width: 100%;
    padding: 60px 0;
    background: var(--black);
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.marquee-track {
    display: flex;
    gap: 60px;
    animation: marqueeScroll 30s linear infinite;
    width: max-content;
    /* Ensure container fits content */
}

.marquee-item {
    font-family: var(--font-heading);
    font-size: clamp(40px, 4vw, 80px);
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: -2px;
    transition: color 0.3s ease, -webkit-text-stroke 0.3s ease;
}

.marquee-container:hover .marquee-item {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.8);
}

.marquee-item:hover {
    color: var(--white);
}

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

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

    /* Move half way assuming content is doubled */
}

/* Responsive Portfolio */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .project-card {
        padding: 20px;
    }

    .project-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* Updated Portfolio Styles */
.project-info {
    align-items: flex-start;
}

.project-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 5px 0 0;
    max-width: 300px;
}

.project-link {
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--white);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 2px;
    transition: opacity 0.3s ease;
}

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

.project-img-placeholder {
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

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

/* Contact Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px;
    width: 90%;
    max-width: 600px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.modal-close:hover {
    opacity: 1;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--white);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.6;
}

.form-input,
.form-textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--white);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background: var(--white);
    color: var(--black);
    border: none;
    padding: 15px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    background: #ccc;
}

/* ============================================
   HERO SERVICES BAR
   ============================================ */

.hero-services-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 60px;
    background: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.8) 50%, transparent 100%);
    z-index: 20;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-service-link {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.hero-service-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--white);
    transition: width 0.3s ease;
}

.hero-service-link:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.hero-service-link:hover::after {
    width: 100%;
}

.hero-service-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
}

.hero-service-cta:hover {
    background: var(--white);
    color: var(--black);
    transform: rotate(-45deg);
}

@media (max-width: 768px) {
    .hero-services-bar {
        padding: 20px;
        flex-direction: column;
        gap: 15px;
        background: #000;
        position: relative;
        /* Stack on mobile */
    }

    .hero-service-link {
        font-size: 12px;
    }
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process-section {
    padding: 150px 0;
    background: var(--black);
    position: relative;
    overflow: hidden;
}

.process-header {
    margin-bottom: 120px;
    position: relative;
    z-index: 2;
}

.section-subtitle {
    font-family: var(--font-mono);
    font-size: 14px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
}

.process-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

.text-center {
    text-align: center;
}

.process-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.process-step {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 150px;
    position: relative;
    z-index: 2;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-visual,
.process-content {
    width: 45%;
}

.process-step.reverse {
    flex-direction: row-reverse;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #333;
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.step-title {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
}

.step-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .process-timeline::before {
        left: 20px;
    }

    .process-step {
        flex-direction: column;
        align-items: flex-start;
        margin-left: 50px;
        gap: 30px;
    }

    .process-step.reverse {
        flex-direction: column;
    }

    .process-visual,
    .process-content {
        width: 100%;
    }

    .step-number {
        position: absolute;
        left: -50px;
        top: 0;
    }
}

/* FIX: Hero Logo Size & Layout Overlap */

/* 1. Increase Logo Container & Image Size */
.hero-logo-glow {
    width: 600px;
    /* Increased from default */
    max-width: 90vw;
    height: auto;
    filter: drop-shadow(0 0 50px rgba(255, 255, 255, 0.15));
    /* Enhanced glow */
}

.hero-logo {
    width: 100%;
    height: auto;
    max-height: 600px;
    /* Allow it to grow significantly */
    object-fit: contain;
}

/* 2. Fix Text Overlap with Services Bar */
.hero-content {
    padding-bottom: 120px;
    /* Add padding to push content above the bar */
    justify-content: center;
    /* Ensure content is centered vertically but respects padding */
}

.hero-subheadline {
    margin-bottom: 40px;
    /* Ensure space between text and indicator/bar */
}

/* 3. Mobile Adjustments for the new Logo & Bar */
@media (max-width: 768px) {
    .hero-logo-glow {
        width: 300px;
        margin-bottom: 20px;
    }

    .hero-logo {
        max-height: 300px;
    }

    .hero-content {
        padding-bottom: 180px;
        /* More padding on mobile due to stacked services bar */
        padding-top: 100px;
    }
}

/* FIX: Logo Positioning - Center & Lower */
.hero-logo-glow {
    margin-top: 50px;
    /* Push logo down explicitly */
    transform: translateY(20px);
    /* Fine-tune vertical position */
}

/* Ensure container allows full visibility */
.hero-content {
    padding-top: 150px;
    /* Increase top padding to prevent top cutoff */
    justify-content: flex-start;
    /* Stop centering from overriding margins */
}

/* FIX: Spacing for new "OUR CLIENTS EXPERIENCE" title */
.showcase .section-title {
    margin-bottom: 60px;
    /* Add space between title and grid */
    font-size: clamp(32px, 5vw, 60px);
    /* Responsive font size */
}

/* Ensure Numbers Section (which was used as anchor in my replacement, but actually I replaced the whole block) */
/* Wait, I replaced the block ending with .bento-grid start. let's check structure. */
/* The structure in HTML after my edit will be: ... Process ... Numbers(id=experience) ... Bento Grid. */
/* I need to make sure styling is correct for .numbers section interacting with bento grid if I merged them or swapped them. */
/* Actually, I replaced the Value Prop + Statement + Start of Bento Grid with a new Numbers Section Start? No, that was a mistake in my thought process if I mixed sections. */
/* Let's look at the replacement content again. */
/* I replaced from line 263 (Value Prop start) to 317 (Bento Grid start div). */
/* And I inserted: Numbers Section start ... OUR CLIENTS EXPERIENCE title ... Bento Grid start. */
/* This effectively REMOVES the Statement Section and the original Bento Grid Section wrapper, and merges Bento Grid INTO the Numbers Section? Or rather, it creates a new section structure. */
/* I need to be careful. The user wanted to remove Capabilities. And rename title of "second image" (Bento Grid) to "OUR CLIENTS EXPERIENCE". */
/* The "Statement" section was in between. I removed it in my replacement block. Use wanted to remove "Capabilities". Did they want to remove "Statement" too? purely "Capabilities" was asked. */
/* However, "Statement" is just text. I'll assume removing the whole block between Process and Bento Grid is cleaner if "Capabilities" was the main bulk. */
/* BUT, I named the new section class="numbers" id="experience". The original Numbers section comes AFTER Bento Grid (lines 383+). */
/* This might cause duplicate class="numbers" sections. */
/* I will fix this in the CSS to ensure the new section looks right, or arguably I should have used class="showcase" for the bento grid section. */

/* Let's just style the new .section-title within the context I created. */
#experience {
    padding: 100px 0;
    background: var(--black);
}

/* FIX: Raise Logo & Content to avoid bottom overlap */
.hero-content {
    padding-top: 100px;
    /* Reduced from 150px to lift content */
    justify-content: flex-start;
}

.hero-logo-glow {
    margin-top: 0;
    /* Removed extra top margin */
    transform: none;
    /* Removed downward shift */
}

/* PROCESS IMAGE STYLES */
.process-img-container {
    width: 100%;
    aspect-ratio: 16/10;
    /* Cinematic aspect ratio */
    overflow: hidden;
    border-radius: 4px;
    /* Minimal radius */
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.process-img-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.process-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
    filter: grayscale(100%) contrast(110%);
    /* Cinematic B&W by default */
}

.process-img-container:hover .process-img {
    transform: scale(1.05);
    filter: grayscale(0%) contrast(100%);
    /* Color reveal on hover */
}

/* SCROLL ANIMATIONS */
.process-step {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.process-step.animated {
    opacity: 1;
    transform: translateY(0);
}

.process-step:nth-child(even) .process-visual {
    transition-delay: 0.2s;
}

/* FIX: Ensure Images Fill Containers */

/* Portfolio Images */
.project-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
    /* Remove inline-block spacing */
}

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

/* Updated Process Images - Ensuring uniformity */
.process-img-container {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    background: #000;
    /* Fallback */
}

.process-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%) contrast(120%);
    transition: all 0.5s ease;
}

.process-img-container:hover .process-img {
    filter: grayscale(0%) contrast(100%);
    transform: scale(1.05);
}

/* LANGUAGE TOGGLE */
.lang-toggle {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
    margin-left: 20px;
}

.lang-toggle:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

.lang-option {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.lang-option.active {
    opacity: 1;
    font-weight: 700;
}

.lang-separator {
    opacity: 0.3;
}

/* TYPOGRAPHY REPLACEMENT FOR HERO IMAGE */
.hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(40px, 8vw, 100px);
    line-height: 0.9;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.d-block {
    display: block;
}

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

/* Make outline text glow slightly to match old image vibe */
.outline-text::after {
    content: attr(data-content);
    /* requires JS to set this if we want duplication, or just simple shadow */
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    color: transparent;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    z-index: -1;
}

/* Adjust navigation for toggle */
.nav-links {
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .hero-headline {
        font-size: 48px;
    }

    .lang-toggle {
        margin-left: 0;
        margin-top: 20px;
    }
}

/* ============================================
   PROJECT MODAL
   ============================================ */

.project-modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px;
    width: 90%;
    max-width: 600px;
    position: relative;
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.project-modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    color: #aaa;
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--white);
    text-decoration: none;
    cursor: pointer;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.modal-desc {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   NUMBERS SECTION (RESTORED)
   ============================================ */
.numbers-section {
    padding: 100px 0;
    background: var(--black);
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.number-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.number-item.animated {
    opacity: 1;
    transform: translateY(0);
}

.number-value {
    font-family: var(--font-heading);
    font-size: 60px;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.8);
    line-height: 1;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.number-suffix {
    font-family: var(--font-heading);
    font-size: 30px;
    color: var(--accent);
    vertical-align: top;
    margin-left: 2px;
}

.number-label {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 60px 20px;
    }
}

@media (max-width: 480px) {
    .numbers-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   NUMBERS SECTION (RESTORED)
   ============================================ */
.numbers-section {
    padding: 100px 0;
    background: var(--black);
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.number-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.number-item.animated {
    opacity: 1;
    transform: translateY(0);
}

.number-value {
    font-family: var(--font-heading);
    font-size: 60px;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.8);
    line-height: 1;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.number-suffix {
    font-family: var(--font-heading);
    font-size: 30px;
    color: var(--accent);
    vertical-align: top;
    margin-left: 2px;
}

.number-label {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 60px 20px;
    }
}

@media (max-width: 480px) {
    .numbers-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   FORM SUCCESS NOTIFICATION
   ============================================ */
.form-success-message {
    display: none;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
    animation: slideInSuccess 0.5s ease;
}

.form-success-message.show {
    display: block;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    margin: 0 auto 20px;
    font-weight: bold;
}

.form-success-message h3 {
    font-family: var(--font-heading);
    color: white;
    font-size: 24px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.form-success-message p {
    font-family: var(--font-body);
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin: 0;
}

@keyframes slideInSuccess {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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