/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', 'Inter', system-ui, -apple-system, sans-serif;
    font-weight: 300;
    line-height: 1.4;
    letter-spacing: -0.01em;
    background: white;
    color: black;
    cursor: none;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    body {
        cursor: auto;
    }
}

/* Custom Cursor */
.cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background: black;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: all 0.1s ease;
}

@media (max-width: 768px) {
    .cursor {
        display: none;
    }
}

.cursor-hover {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid black;
    mix-blend-mode: difference;
}

/* Grid System */
.swiss-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .swiss-grid {
        gap: 2rem;
        padding: 0 3rem;
    }
}

/* Typography */
.helvetica-neue {
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    font-weight: 300;
    letter-spacing: -0.02em;
}

.display-font {
    font-family: 'Manrope', 'Inter', sans-serif;
    font-weight: 200;
    letter-spacing: -0.03em;
    line-height: 0.9;
}

/* Animations */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes line-draw {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

@keyframes glitch-1 {
    0% {
        clip: rect(42px, 9999px, 44px, 0);
    }

    5% {
        clip: rect(12px, 9999px, 59px, 0);
    }

    10% {
        clip: rect(48px, 9999px, 29px, 0);
    }

    15% {
        clip: rect(42px, 9999px, 73px, 0);
    }

    20% {
        clip: rect(63px, 9999px, 27px, 0);
    }

    25% {
        clip: rect(34px, 9999px, 55px, 0);
    }

    30% {
        clip: rect(86px, 9999px, 73px, 0);
    }

    35% {
        clip: rect(20px, 9999px, 20px, 0);
    }

    40% {
        clip: rect(26px, 9999px, 60px, 0);
    }

    45% {
        clip: rect(25px, 9999px, 66px, 0);
    }

    50% {
        clip: rect(57px, 9999px, 98px, 0);
    }

    55% {
        clip: rect(5px, 9999px, 46px, 0);
    }

    60% {
        clip: rect(82px, 9999px, 31px, 0);
    }

    65% {
        clip: rect(54px, 9999px, 27px, 0);
    }

    70% {
        clip: rect(28px, 9999px, 99px, 0);
    }

    75% {
        clip: rect(45px, 9999px, 69px, 0);
    }

    80% {
        clip: rect(23px, 9999px, 85px, 0);
    }

    85% {
        clip: rect(54px, 9999px, 84px, 0);
    }

    90% {
        clip: rect(45px, 9999px, 47px, 0);
    }

    95% {
        clip: rect(37px, 9999px, 20px, 0);
    }

    100% {
        clip: rect(4px, 9999px, 91px, 0);
    }
}

.text-fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fade-in-up 0.8s ease-out forwards;
}

.line-reveal {
    width: 64px;
    height: 1px;
    background: black;
    margin: 2rem auto;
    position: relative;
    overflow: hidden;
}

.line-reveal::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: black;
    transform: scaleX(0);
    transform-origin: left;
    animation: line-draw 1.5s ease-out forwards;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.5s ease;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-container {
    padding: 1rem 2rem;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: -0.02em;
    width: 60px;
    object-fit: contain;
    height: auto;
}

.logo img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

@media (min-width: 768px) {
    .logo {
        font-size: 2rem;
    }
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 3rem;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-size: 0.875rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: black;
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: black;
    padding: 0.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn:hover {
    color: #666;
}

.nav-mobile {
    display: none;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1.5rem 0;
}

.nav-mobile.active {
    display: block;
}

.nav-mobile-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nav-mobile-link {
    text-decoration: none;
    color: #666;
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav-mobile-link:hover {
    color: black;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    overflow: hidden;
}

.grid-background {
    position: absolute;
    inset: 0;
    opacity: 0.02;
    background-image:
        linear-gradient(black 1px, transparent 1px),
        linear-gradient(90deg, black 1px, transparent 1px);
    background-size: 40px 40px;
}

.hero-content {
    grid-column: 1 / -1;
    text-align: center;
    padding: 9rem 1rem;
}

.hero-title {
    font-size: 20vw;
    font-weight: 200;
    letter-spacing: -0.05em;
    margin-bottom: 2rem;
    line-height: 0.8;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 15vw;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 12vw;
        margin-bottom: 2rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 8rem;
    }
}

@media (min-width: 1280px) {
    .hero-title {
        font-size: 10rem;
    }
}

.glitch-text {
    position: relative;
    display: inline-block;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch-text::before {
    animation: glitch-1 0.3s ease-in-out infinite alternate-reverse;
    clip: rect(0, 900px, 0, 0);
}

.hero-subtitle {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 2rem;
    animation: fade-in-up 0.8s ease-out 0.5s forwards;
    opacity: 0;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 640px) {
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.5rem;
        margin-bottom: 4rem;
    }
}

.hero-description {
    font-size: 0.875rem;
    color: #999;
    max-width: 36rem;
    margin: 0 auto 3rem;
    line-height: 1.6;
    font-weight: 300;
    animation: fade-in-up 0.8s ease-out 0.8s forwards;
    opacity: 0;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1rem;
        margin-bottom: 5rem;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 3.5rem;
    left: 48%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: fade-in-up 0.8s ease-out 1.5s forwards;
    opacity: 0;
}

@media (min-width: 768px) {
    .scroll-indicator {
        bottom: 3rem;
        gap: 1rem;
    }
}

.scroll-line {
    width: 1px;
    height: 2rem;
    background: #ccc;
}

@media (min-width: 768px) {
    .scroll-line {
        height: 4rem;
    }
}

.scroll-arrow {
    width: 0.75rem;
    height: 0.75rem;
    color: #999;
    animation: bounce 2s infinite;
}

@media (min-width: 768px) {
    .scroll-arrow {
        width: 1rem;
        height: 1rem;
    }
}

@keyframes bounce {

    0%,
    20%,
    53%,
    80%,
    100% {
        transform: translateY(0);
    }

    40%,
    43% {
        transform: translateY(-10px);
    }

    70% {
        transform: translateY(-5px);
    }

    90% {
        transform: translateY(-2px);
    }
}

.scroll-text {
    font-size: 0.75rem;
    color: #999;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transform: rotate(90deg);
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .scroll-text {
        margin-top: 2rem;
    }
}

/* Swiss Button */
.swiss-button {
    position: relative;
    padding: 0.75rem 1.5rem;
    border: 1px solid black;
    background: white;
    color: black;
    font-weight: 300;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    overflow: hidden;
    cursor: pointer;
    animation: fade-in-up 0.8s ease-out 1.1s forwards;
    opacity: 0;
}

@media (min-width: 768px) {
    .swiss-button {
        padding: 1rem 2rem;
    }
}

.swiss-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: black;
    transition: left 0.3s ease;
    z-index: 1;
}

.swiss-button:hover::before {
    left: 0;
}

.swiss-button:hover {
    color: white;
}

.swiss-button span {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Section Styles */
.section-header {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .section-header {
        margin-bottom: 2rem;
    }
}

.section-title {
    font-family: 'Manrope', 'Inter', sans-serif;
    font-size: 2.5rem;
    font-weight: 200;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    animation: fade-in-up 0.8s ease-out forwards;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 3rem;
    }
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3.75rem;
        margin-bottom: 2rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 4.5rem;
    }
}

.section-description {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 1rem;
    color: #666;
    max-width: 62rem;
    margin: 0 auto;
    animation: fade-in-up 0.8s ease-out 0.3s forwards;
    opacity: 0;
}

@media (min-width: 768px) {
    .section-description {
        font-size: 1.125rem;
    }
}

/* About Section */
.about-section {
    padding: 4rem 0;
    background: white;
    position: relative;
}

@media (min-width: 768px) {
    .about-section {
        padding: 3rem 0 !important;
    }
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' 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");
}

.about-content {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 6rem;
}

@media (min-width: 768px) {
    .about-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 6rem;
    }

    .about-section {
        padding: 3rem 0;
    }
}

.about-stats .about-subtitle {
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
}

.about-subtitle {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .about-subtitle {
        font-size: 1.75rem;
    }
}

.about-line {
    width: 64px;
    height: 1px;
    background: black;
    margin-bottom: 2rem;
}

.about-description {
    color: #666;
    line-height: 1.6;
    font-size: 0.875rem;
    margin-bottom: 3rem;
}

.team-grid .about-description {
    font-size: 1rem;
    grid-column: 1 / -1 !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: center;
}

@media (min-width: 768px) {
    .about-description {
        font-size: 1rem;
    }
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .about-stats {
        gap: 2rem;
    }
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: black;
}

.stat-number {
    font-family: 'Manrope', 'Inter', sans-serif;
    font-size: 2.5rem;
    font-weight: 200;
    letter-spacing: -0.05em;
    margin-bottom: 0.5rem;
    line-height: 1;
}

@media (min-width: 768px) {
    .stat-number {
        font-size: 3rem;
    }
}

.stat-label {
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Team Grid */
.team-grid {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 640px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.team-member {
    animation: fade-in-up 0.8s ease-out forwards;
    opacity: 0;
}

.team-member:nth-child(1) {
    animation-delay: 0s;
}

.team-member:nth-child(2) {
    animation-delay: 0.2s;
}

.team-member:nth-child(3) {
    animation-delay: 0.4s;
}

.member-image {
    aspect-ratio: 3/4;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.7s ease;
}

.team-member:hover .member-image img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.member-info {
    text-align: center;
}

.member-name {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.25rem;
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

.member-role {
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.member-social a {
    color: #999;
    transition: color 0.3s ease;
}

.member-social a:hover {
    color: black;
}

.member-social i {
    width: 1rem;
    height: 1rem;
}

/* Services Section */
.services-section {
    padding: 4rem 0;
    background: #fafafa;
    position: relative;
}

@media (min-width: 768px) {
    .services-section {
        padding: 6rem 0;
    }
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' 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");
}

.services-grid {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 4rem;
    }
}

.service-item {
    text-align: left;
    transition: transform 0.3s ease;
    animation: fade-in-up 0.8s ease-out forwards;
    opacity: 0;
}

.service-item:nth-child(1) {
    animation-delay: 0s;
}

.service-item:nth-child(2) {
    animation-delay: 0.2s;
}

.service-item:nth-child(3) {
    animation-delay: 0.4s;
}

.service-item:hover {
    transform: translateY(-4px);
}

.service-number {
    font-size: 2.5rem;
    font-weight: 300;
    color: #e5e5e5;
    margin-bottom: 1.5rem;
    transition: color 0.5s ease;
}

@media (min-width: 768px) {
    .service-number {
        font-size: 3.75rem;
        margin-bottom: 2rem;
    }
}

.service-item:hover .service-number {
    color: black;
}

.service-icon {
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .service-icon {
        margin-bottom: 2rem;
    }
}

.service-icon i {
    width: 1.5rem;
    height: 1.5rem;
    color: #999;
    transition: color 0.3s ease;
}

@media (min-width: 768px) {
    .service-icon i {
        width: 2rem;
        height: 2rem;
    }
}

.service-item:hover .service-icon i {
    color: black;
}

.service-title {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: black;
}

@media (min-width: 768px) {
    .service-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

.service-description {
    color: #666;
    line-height: 1.6;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .service-description {
        margin-bottom: 2rem;
    }
}

.service-line {
    width: 100%;
    height: 1px;
    background: #e5e5e5;
    transition: background 0.5s ease;
}

.service-item:hover .service-line {
    background: black;
}

/* Gallery Section */
.gallery-section {
    padding: 4rem 0;
    background: white;
    position: relative;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' 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");
}

.filter-tabs {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
    overflow-x: auto;
    padding-bottom: 1rem;
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 2rem;
    color: #999;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.filter-label i {
    width: 1rem;
    height: 1rem;
}

.filter-btn {
    background: none;
    border: none;
    font-size: 0.875rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #999;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid transparent;
}

.filter-btn:hover,
.filter-btn.active {
    color: black;
    border-bottom-color: black;
}

.gallery-grid {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gallery-item {
    cursor: pointer;
    animation: fade-in-up 0.8s ease-out forwards;
    opacity: 0;
}

.gallery-item-media {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f5f5f5;
    margin-bottom: 1rem;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.7s ease;
}

.gallery-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    background: rgba(0, 0, 0, 0.2);
}

.gallery-item-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.gallery-item-info h3 {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.125rem;
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.gallery-item:hover .gallery-item-info h3 {
    color: #666;
}

.gallery-item-info p {
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Projects Section */
.projects-section {
    padding: 4rem 0;
    background: white;
}

.projects-section .projects-cta {
    margin-top: 0rem;
}

@media (min-width: 768px) {
    .projects-section {
        padding: 8rem 0;
    }
}

.projects-container {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media (min-width: 768px) {
    .projects-container {
        gap: 0rem;
    }
}

.project-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: center;
    cursor: pointer;
    animation: fade-in-up 0.8s ease-out forwards;
    opacity: 0;
}

@media (min-width: 768px) {
    .project-item {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

.project-item:nth-child(even) {
    margin-left: 0;
}

@media (min-width: 1024px) {
    .project-item:nth-child(even) {
        margin-left: 12rem;
    }
}

.project-item:nth-child(even) .project-content {
    order: 1;
}

@media (min-width: 768px) {
    .project-item:nth-child(even) .project-content {
        order: 1;
    }

    .project-item:nth-child(even) .project-image {
        order: 2;
    }
}

.project-image {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.7s ease;
}

.project-item:hover .project-image img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.project-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .project-content {
        gap: 1.5rem;
    }
}

.project-meta {
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media (min-width: 768px) {
    .project-meta {
        font-size: 0.875rem;
    }
}

.project-title {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: -0.02em;
}

@media (min-width: 640px) {
    .project-title {
        font-size: 1.875rem;
    }
}

@media (min-width: 768px) {
    .project-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .project-title {
        font-size: 3rem;
    }
}

.project-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .project-link {
        font-size: 0.875rem;
    }
}

.project-item:hover .project-link {
    transform: translateX(0.5rem);
}

.project-link i {
    width: 0.75rem;
    height: 0.75rem;
    color: #999;
    transition: color 0.3s ease;
}

@media (min-width: 768px) {
    .project-link i {
        width: 1rem;
        height: 1rem;
    }
}

.project-item:hover .project-link i {
    color: black;
}

.projects-cta {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .projects-cta {
        margin-top: 6rem;
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 8rem 0;
    background: black;
    color: white;
}

.testimonials-container {
    grid-column: 1 / -1;
    text-align: center;
}

.testimonial-content {
    margin-bottom: 4rem;
}

.testimonial-quote {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.6;
    max-width: 64rem;
    margin: 0 auto 4rem;
    animation: fade-in-up 0.8s ease-out forwards;
}

@media (min-width: 768px) {
    .testimonial-quote {
        font-size: 1.875rem;
    }
}

.testimonial-author {
    font-size: 0.875rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.testimonial-position {
    font-size: 0.75rem;
    color: #666;
}

.testimonial-indicators {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.testimonial-indicator {
    width: 3rem;
    height: 4px;
    background: #666;
    cursor: pointer;
    transition: all 0.5s ease;
    border-radius: 20px;
}

.testimonial-indicator.active {
    background: white;
}

.testimonial-indicator:hover {
    background: #999;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background: #fafafa;
}

@media (min-width: 768px) {
    .contact-section {
        padding: 8rem 0;
    }
}

.contact-grid {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6rem;
    }
}

.contact-form-container {
    animation: fade-in-up 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .contact-form {
        gap: 2rem;
    }
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .form-group label {
        margin-bottom: 1rem;
    }
}

.form-group input,
.form-group textarea {
    padding: 0.75rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid #ccc;
    font-weight: 300;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

@media (min-width: 768px) {

    .form-group input,
    .form-group textarea {
        padding: 1rem 0;
        font-size: 1.125rem;
    }
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: black;
}

.form-group textarea {
    resize: none;
    rows: 4;
}

.form-submit {
    padding-top: 1.5rem;
}

@media (min-width: 768px) {
    .form-submit {
        padding-top: 2rem;
    }
}

.contact-info {
    animation: fade-in-up 0.8s ease-out 0.6s forwards;
    opacity: 0;
}

.contact-info h3 {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .contact-info h3 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .contact-item {
        margin-bottom: 2rem;
    }
}

.contact-item i {
    width: 1rem;
    height: 1rem;
    color: #999;
    margin-top: 0.25rem;
}

@media (min-width: 768px) {
    .contact-item i {
        width: 1.25rem;
        height: 1.25rem;
    }
}

.contact-label {
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}

.contact-value {
    color: black;
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .contact-value {
        font-size: 1rem;
    }
}

.social-links h4 {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .social-links h4 {
        font-size: 1.125rem;
        margin-bottom: 1.5rem;
    }
}

.social-links-container {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    text-decoration: none;
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

@media (min-width: 768px) {
    .social-link {
        font-size: 0.875rem;
    }
}

.social-link:hover {
    color: black;
}

/* Footer */
.footer {
    border-top: 1px solid #f0f0f0;
    padding: 2rem 0 4rem;
    background: white;
}

@media (min-width: 768px) {
    .footer {
        padding: 4rem 0;
    }
}

.footer-content {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 0;
        margin-bottom: 3rem;
    }
}

.footer-brand {
    max-width: 28rem;
}

.footer-logo {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .footer-logo {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
}

.footer-description {
    font-size: 0.75rem;
    color: #666;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .footer-description {
        font-size: 0.875rem;
    }
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .footer-links {
        flex-direction: row;
        gap: 2rem;
    }
}

@media (min-width: 768px) {
    .footer-links {
        gap: 3rem;
    }
}

.footer-column h4 {
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .footer-column h4 {
        margin-bottom: 1rem;
    }
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-column a {
    text-decoration: none;
    font-size: 0.75rem;
    color: #666;
    transition: color 0.3s ease;
}

@media (min-width: 768px) {
    .footer-column a {
        font-size: 0.875rem;
    }
}

.footer-column a:hover {
    color: black;
}

.footer-bottom {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f0f0f0;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        gap: 0;
        padding-top: 2rem;
    }
}

.footer-bottom p {
    font-size: 0.75rem;
    color: #999;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .footer-bottom-links {
        gap: 2rem;
    }
}

.footer-bottom-links a {
    text-decoration: none;
    font-size: 0.75rem;
    color: #999;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: black;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 50;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-close i {
    width: 1.25rem;
    height: 1.25rem;
}

.lightbox-media {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox-media img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.lightbox-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem;
    color: white;
}

.lightbox-info h3 {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.lightbox-info p {
    color: #ccc;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.lightbox-info span {
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.lightbox iframe {
    width: 600px;
    height: 500px;
    object-fit: cover;
}

/* Responsive Design */
@media (max-width: 767px) {
    .nav-desktop {
        display: none;
    }

    .hero-title {
        font-size: 20vw;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .project-item {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation delays for staggered effects */
.gallery-item:nth-child(1) {
    animation-delay: 0s;
}

.gallery-item:nth-child(2) {
    animation-delay: 0.1s;
}

.gallery-item:nth-child(3) {
    animation-delay: 0.2s;
}

.gallery-item:nth-child(4) {
    animation-delay: 0.3s;
}

.gallery-item:nth-child(5) {
    animation-delay: 0.4s;
}

.gallery-item:nth-child(6) {
    animation-delay: 0.5s;
}

.gallery-item:nth-child(7) {
    animation-delay: 0.6s;
}

.gallery-item:nth-child(8) {
    animation-delay: 0.7s;
}

.project-item:nth-child(1) {
    animation-delay: 0s;
}

.project-item:nth-child(2) {
    animation-delay: 0.1s;
}

.project-item:nth-child(3) {
    animation-delay: 0.2s;
}

.project-item:nth-child(4) {
    animation-delay: 0.3s;
}

.project-item:nth-child(5) {
    animation-delay: 0.4s;
}

.project-item:nth-child(6) {
    animation-delay: 0.5s;
}