/* ===== About Section ===== */
.about {
    padding: var(--section-space-desktop) 0;
}

.about__grid {
    display: grid;
    grid-template-columns: 40fr 60fr;
    gap: 32px;
    margin-bottom: 32px;
}

.about__title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 1.05;
    text-transform: uppercase;
    color: var(--color-text);
}

.about__desc {
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

/* ===== About Cards — Horizontal Carousel ===== */
.about__cards {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 0 16px 0;
}

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

.about__card {
    position: relative;
    overflow: hidden;
    border-radius: var(--card-radius-sm);
    aspect-ratio: 3 / 4;
    flex: 0 0 calc((100% - 60px) / 3.5);
    scroll-snap-align: start;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform: scale(0.92);
    opacity: 0.7;
}

.about__card.active {
    transform: scale(1);
    opacity: 1;
}

.about__card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Clickable card link reset */
.about-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.about-card__image img {
    transition: transform 0.3s ease;
}

.about-card:hover .about-card__image img {
    transform: scale(1.03);
}

/* Card label — frosted glass, right-aligned */
.about__card-label {
    position: absolute;
    bottom: 16px;
    right: 12px;
    left: auto;
    transform: none;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    white-space: nowrap;
    z-index: 1;
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
    .about {
        padding: var(--section-space-mobile) 0;
    }

    .about__grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 24px;
    }

    .about__title {
        font-size: clamp(28px, 8vw, 32px);
    }

    .about__desc {
        font-size: 16px;
    }

    .about__cards {
        gap: 12px;
        padding: 0 12vw 16px;
    }

    .about__card {
        flex: 0 0 76vw;
        scroll-snap-align: center;
        transform: scale(0.78);
        opacity: 0.5;
    }

    .about__card.active {
        transform: scale(1.08);
        opacity: 1;
    }

    .about__card-label {
        font-size: 12px;
        padding: 6px 12px;
        bottom: 12px;
        right: 8px;
    }
}
