/* About page (Hakkimizda) — v2. All classes prefixed .ab-* to avoid collisions. */

/* Page-head stat row, sits on the dark hero under the lead paragraph. */
.ab-head-stats {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-16);
    margin-top: var(--space-10);
    padding-top: var(--space-8);
    border-top: 1px solid var(--border-on-dark);
}

/* Story paragraphs column. */
.about-story {
    display: flex;
    flex-direction: column;
    gap: 18px;
    color: var(--text-muted);
    line-height: 1.65;
    font-size: var(--text-base);
}
.about-story p { margin: 0; }

/* Horizontal 4-column timeline. */
.ab-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-12);
}
.ab-step {
    position: relative;
    padding-top: var(--space-5);
}
.ab-step__line {
    position: absolute;
    top: 0;
    left: 0;
    right: calc(-1 * var(--space-6));
    height: 2px;
    background: var(--ink-200);
}
.ab-step:last-child .ab-step__line {
    right: 0;
    background: var(--brand-primary);
}
.ab-step__dot {
    position: absolute;
    top: -4px;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background: var(--brand-primary);
}
.ab-step__year {
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-primary);
}
.ab-step__title {
    display: block;
    margin: 8px 0 6px;
    font-family: var(--font-display);
    font-size: 16.5px;
    color: var(--text-heading);
}
.ab-step__desc {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.55;
}

/* Two-photo placeholder grid. */
.ab-photos {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: var(--space-4);
    margin-top: var(--space-12);
}

@media (max-width: 860px) {
    .ab-timeline { grid-template-columns: repeat(2, 1fr); row-gap: var(--space-10); }
    /* On the 2-col layout the 3rd step becomes a "last in row"; keep its line neutral. */
    .ab-step:last-child .ab-step__line { right: calc(-1 * var(--space-6)); }
    .ab-timeline .ab-step:nth-child(2) .ab-step__line,
    .ab-timeline .ab-step:last-child .ab-step__line { right: 0; }
    .ab-timeline .ab-step:nth-child(2) .ab-step__line { background: var(--ink-200); }
    .ab-timeline .ab-step:last-child .ab-step__line { background: var(--brand-primary); }
    .ab-photos { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .ab-timeline { grid-template-columns: 1fr; }
    .ab-step__line { right: 0 !important; }
    .ab-head-stats { gap: var(--space-8); }
}
