/**
 * About Us section
 */

@keyframes aboutFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes aboutImageReveal {
    from {
        opacity: 0;
        transform: scale(1.04);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.about {
    padding-block: var(--space-3xl);
    background-color: var(--color-cream);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: radial-gradient(ellipse at 100% 0%, rgba(201, 169, 98, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: var(--space-3xl);
    align-items: center;
}

/* ─── Image column ─── */
.about__media {
    position: relative;
}

.about__image-wrap {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about__image {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
}

.about.is-visible .about__image {
    animation: aboutImageReveal 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.about__image-accent {
    position: absolute;
    bottom: -12px;
    left: -12px;
    width: 60%;
    height: 60%;
    border: 2px solid var(--color-gold);
    border-radius: var(--radius-md);
    z-index: -1;
    opacity: 0.5;
}

.about__badge {
    position: absolute;
    bottom: var(--space-xl);
    right: calc(-1 * var(--space-lg));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    padding: var(--space-md);
    background-color: var(--color-primary);
    color: var(--color-text-on-dark);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 3px solid var(--color-gold);
}

.about__badge-number {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--color-gold-light);
    line-height: 1;
}

.about__badge-text {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-on-dark-muted);
    margin-top: var(--space-xs);
    line-height: 1.3;
}

/* ─── Content column ─── */
.about__content {
    position: relative;
}

.about__eyebrow {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: var(--space-md);
}

.about__eyebrow::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background-color: var(--color-gold);
    margin-top: var(--space-sm);
}

.about__title {
    font-family: var(--font-display);
    font-size: clamp(var(--text-2xl), 3.5vw, var(--text-3xl));
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.25;
    letter-spacing: 0.02em;
    margin-bottom: var(--space-lg);
}

.about__lead {
    font-size: var(--text-lg);
    font-weight: 400;
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.about__text {
    font-size: var(--text-base);
    font-weight: 300;
    color: var(--color-text-muted);
    line-height: 1.75;
    margin-bottom: var(--space-xl);
}

/* ─── Features ─── */
.about__features {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
    padding: var(--space-lg) 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.about-feature__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--color-primary);
    background-color: rgba(89, 3, 3, 0.06);
    border: 1px solid rgba(89, 3, 3, 0.12);
    border-radius: 50%;
}

.about-feature__icon svg {
    width: 20px;
    height: 20px;
}

.about-feature__title {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
    letter-spacing: 0.02em;
}

.about-feature__text {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* ─── Actions ─── */
.about__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

/* ─── Animations ─── */
.about-anim {
    opacity: 0;
}

.about.is-visible .about-anim {
    animation: aboutFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(0.1s * var(--anim-order, 0));
}

@media (prefers-reduced-motion: reduce) {
    .about-anim {
        opacity: 1;
    }

    .about.is-visible .about-anim,
    .about.is-visible .about__image {
        animation: none;
    }
}

/* ─── Responsive ─── */
@media (max-width: 992px) {
    .about__grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .about__media {
        max-width: 480px;
        margin-inline: auto;
        width: 100%;
    }

    .about__badge {
        right: var(--space-md);
        bottom: var(--space-md);
        width: 100px;
        height: 100px;
    }

    .about__badge-number {
        font-size: var(--text-xl);
    }
}

@media (max-width: 480px) {
    .about {
        padding-block: var(--space-2xl);
    }

    .about__actions {
        flex-direction: column;
    }

    .about__actions .btn {
        width: 100%;
    }
}
