/* ========================================
   ABOUT PAGE — MFA Group
   ======================================== */

/* ========================================
   ABOUT HERO
   ======================================== */
.about-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding-top: var(--nav-h);
}

.about-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.about-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(14, 23, 126, 0.85) 0%,
        rgba(14, 23, 126, 0.7) 40%,
        rgba(28, 24, 23, 0.8) 100%
    );
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    margin: 0 auto;
    padding: 100px 40px 80px;
    width: 100%;
}

.about-hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 1;
    color: var(--white);
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.about-hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    max-width: 560px;
}

/* ========================================
   TIMELINE SECTION
   ======================================== */
.timeline-section {
    background: var(--white);
    padding: 120px 0;
}

.timeline-header {
    text-align: center;
    margin-bottom: 80px;
}

.timeline-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-600);
    margin-bottom: 16px;
    display: block;
}

.timeline-heading {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-100);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 60px;
    padding-right: calc(50% + 48px);
    text-align: right;
}

.timeline-item--right {
    padding-right: 0;
    padding-left: calc(50% + 48px);
    text-align: left;
    flex-direction: row-reverse;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 6px;
    width: 16px;
    height: 16px;
    background: var(--accent);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 0 4px var(--white), 0 0 0 6px var(--gray-100);
}

.timeline-year {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.timeline-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.timeline-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.65;
}

/* ========================================
   THE ALLIANCE SECTION
   ======================================== */
.alliance-section {
    position: relative;
    background: var(--dark);
    padding: 120px 0;
    overflow: hidden;
}

.alliance-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.alliance-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(14, 23, 126, 0.15) 0%,
        rgba(28, 24, 23, 0.98) 50%,
        rgba(28, 24, 23, 1) 100%
    );
}

.alliance-inner {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px;
}

.alliance-header {
    text-align: center;
    margin-bottom: 80px;
}

.alliance-heading {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 16px;
}

.alliance-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    max-width: 540px;
    margin: 0 auto;
}

.alliance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.alliance-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px 32px;
    transition: transform 0.3s, border-color 0.3s, background 0.3s;
    text-decoration: none;
    color: inherit;
}

.alliance-card:hover {
    transform: translateY(-4px) scale(1.03);
    border-color: rgba(91, 122, 255, 0.3);
    background: rgba(255, 255, 255, 0.06);
}

.alliance-card-logo {
    height: 56px;
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.alliance-card-logo > img {
    height: 48px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.alliance-mfa-logo {
    height: 44px !important;
}

.alliance-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}

.alliance-card-location {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--accent-bright);
    text-transform: uppercase;
    display: block;
    margin-bottom: 16px;
}

.alliance-card p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.65;
}

/* Hub card in last row */
.alliance-card--hub {
}

/* Last row: 2 cards in first row positions, hub centered below */
.alliance-grid {
    justify-items: center;
}

.alliance-card {
    width: 100%;
}

/* ========================================
   TEAM / CULTURE SECTION
   ======================================== */
.team-section {
    background: var(--off-white);
    padding: 120px 0;
}

.team-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.team-image {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 24px;
}

.team-text {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 20px;
}

.team-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--gray-100);
}

.team-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.team-stat-number {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.03em;
    line-height: 1;
}

.team-stat-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--gray-600);
    text-transform: uppercase;
}

/* ========================================
   NAV ACTIVE STATE
   ======================================== */
.nav-active {
    color: var(--white) !important;
    background: var(--accent) !important;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .alliance-grid {
        grid-template-columns: 1fr 1fr;
    }

    .alliance-card--hub {
        grid-column: 1 / -1;
        max-width: 480px;
        justify-self: center;
    }
}

@media (max-width: 768px) {
    .about-hero {
        min-height: 420px;
    }

    .about-hero-content {
        padding: 80px 24px 60px;
    }

    .timeline-section {
        padding: 80px 0;
    }

    .timeline-header {
        margin-bottom: 60px;
    }

    .timeline {
        padding: 0 24px;
    }

    .timeline-line {
        left: 24px;
    }

    .timeline-item {
        padding-right: 0;
        padding-left: 56px;
        text-align: left;
    }

    .timeline-item--right {
        padding-left: 56px;
        padding-right: 0;
        text-align: left;
        flex-direction: row;
    }

    .timeline-dot {
        left: 24px;
    }

    .alliance-section {
        padding: 80px 0;
    }

    .alliance-inner {
        padding: 0 24px;
    }

    .alliance-header {
        margin-bottom: 48px;
    }

    .alliance-grid {
        grid-template-columns: 1fr;
    }

    .alliance-card--hub {
        grid-column: auto;
        max-width: none;
    }

    .team-section {
        padding: 80px 0;
    }

    .team-inner {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 0 24px;
    }

    .team-stats {
        flex-direction: row;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .about-hero-content {
        padding: 60px 20px 48px;
    }

    .timeline {
        padding: 0 20px;
    }

    .timeline-line {
        left: 20px;
    }

    .timeline-dot {
        left: 20px;
    }

    .timeline-item,
    .timeline-item--right {
        padding-left: 48px;
    }

    .team-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .alliance-card {
        padding: 32px 24px;
    }
}