@media (max-width: 768px) {
    #animated-btn {
        padding: 8px 16px !important;
        letter-spacing: 0.1em !important;
        font-size: 8px !important;
    }

    #contact-btn-wrapper {
        top: 24px !important;
        right: 4% !important;
    }

    h1.serif {
        max-width: 50vw;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #branding-inner {
        scale: 1.1 !important;
        width: 90%;
        justify-content: center;
    }

    .logo-img {
        height: 1.4em;
        margin-right: 8px;
    }

    h1.serif {
        font-size: 14px !important;
        letter-spacing: 0.1em !important;
    }

    #main-header {
        padding: 1.5rem 1rem;
    }

    #contact-btn-wrapper {
        top: 22px;
        right: 20px;
    }

    .materials-container {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        justify-content: flex-start !important;
        -webkit-overflow-scrolling: touch;
    }

    .textile-card {
        min-width: 85vw !important;
    }
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #050505;
    color: #fff;
    margin: 0;
    overflow-x: hidden;
}

.serif {
    font-family: 'Playfair Display', serif;
}

.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

section,
footer {
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.textile-card img {
    transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1), filter 0.8s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.textile-card:hover img {
    transform: scale(1.08);
    filter: grayscale(0);
}

.process-step {
    opacity: 0.1;
    transition: opacity 0.8s ease, transform 0.8s ease;
    transform: translateY(20px);
}

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

.logo-img {
    height: 2.2em;
    width: auto;
    object-fit: contain;
    display: block;
}

#branding-container {
    position: fixed;
    top: 10%;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 100;
    pointer-events: none;
    width: 100%;
}

#contact-btn-wrapper {
    position: fixed;
    top: 10%;
    right: 4%;
    z-index: 101;
    height: 2.2em;
    display: flex;
    align-items: center;
}

.no-snap {
    scroll-snap-align: none !important;
}
