* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background-color: #000;
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 20px;
    position: relative;
    overflow-x: hidden;
}



main {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
    z-index: 1;
    animation: fadeIn 1s ease-out;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}

.logo {
    max-width: min(80vw, 700px);
    height: auto;
    border-radius: 4px;
    image-rendering: -webkit-optimize-contrast;
}

.tagline {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    width: 100%;
}

.project-card {
    text-decoration: none;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    min-height: 280px;
}

.project-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 255, 255, 0.05);
}

.project-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.project-logo {
    max-width: 100%;
    height: auto;
    transition: transform 0.4s ease;
    margin-bottom: 10px;
}

.dusty-logo-crop {
    width: 100%;
    height: 80px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5px;
}

.dusty-logo {
    height: 80px;
    width: auto;
    max-width: none; /* override max-width from project-logo */
    opacity: 0.95;
}

.sell-logo {
    max-height: 70px;
    border-radius: 4px; /* match the jpg */
    mix-blend-mode: screen; /* hides any non-pure-black background the jpg might have */
}

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

.card-title {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.card-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 280px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    body {
        padding: 50px 20px;
    }
    main {
        gap: 60px;
    }
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .project-card {
        padding: 40px 30px;
        min-height: 240px;
    }
}
