/* =============================================================
   MECHLEAN About Page — Custom Styles
   Loaded AFTER home.css. Reuses shared design tokens, header,
   footer, why-choose cards, section heads, buttons.
   Scope: .mechlean-page.about-page
   ============================================================= */

/* ---------- INTRO BAND ---------- */
.mechlean-page .about-intro {
    background: #ffffff;
    padding-top: 64px;
    padding-bottom: 56px;
}

.mechlean-page .about-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
}

.mechlean-page .about-intro-h {
    font-size: 44px;
    margin: 0 0 6px;
    letter-spacing: -0.4px;
}

.mechlean-page .about-intro .ml-hero-rule {
    margin: 22px 0 26px;
}

.mechlean-page .about-intro-text p {
    margin: 0 0 18px;
    text-align: justify;
}

.mechlean-page .about-intro-text p:last-child { margin-bottom: 0; }

/* At-a-glance panel */
.mechlean-page .about-glance {
    background: var(--ml-bg);
    border-left: 3px solid var(--ml-navy);
    padding: 28px 28px 14px;
    position: sticky;
    top: 130px; /* below sticky header */
}

.mechlean-page .about-glance .ml-eyebrow {
    margin-bottom: 22px;
}

.mechlean-page .about-glance-list {
    margin: 0;
}

.mechlean-page .about-glance-row {
    padding: 14px 0;
    border-bottom: 1px solid var(--ml-border);
}

.mechlean-page .about-glance-row:last-child {
    border-bottom: none;
}

.mechlean-page .about-glance dt {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--ml-muted);
    margin: 0 0 4px;
}

.mechlean-page .about-glance dd {
    font-family: Georgia, serif;
    font-size: 16px;
    color: var(--ml-ink);
    line-height: 1.4;
    margin: 0;
}

@media (max-width: 991px) {
    .mechlean-page .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .mechlean-page .about-glance {
        position: static;
    }
}

@media (max-width: 767px) {
    .mechlean-page .about-intro-h { font-size: 30px; }
    .mechlean-page .about-intro-text p { text-align: left; }
    .mechlean-page .about-glance { padding: 22px 22px 10px; }
}

/* ---------- ACHIEVEMENTS — YEAR-LED LIST ---------- */
.mechlean-page .about-achievements {
    background: var(--ml-bg);
}

.mechlean-page .about-milestones {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 920px;
}

.mechlean-page .about-milestone {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    align-items: start;
    padding: 32px 0;
    border-bottom: 1px solid var(--ml-border);
}

.mechlean-page .about-milestone:first-child {
    border-top: 1px solid var(--ml-border);
}

.mechlean-page .about-milestone-year {
    font-family: Georgia, serif;
    font-size: 64px;
    font-weight: 400;
    color: var(--ml-navy);
    line-height: 1;
    letter-spacing: -1px;
    position: relative;
    padding-left: 18px;
}

.mechlean-page .about-milestone-year:before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 38px;
    background: var(--ml-navy);
}

.mechlean-page .about-milestone-body h3 {
    font-family: Georgia, serif;
    font-size: 22px;
    font-weight: 500;
    color: var(--ml-ink);
    margin: 6px 0 10px;
    letter-spacing: 0.1px;
}

.mechlean-page .about-milestone-body p {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--ml-text);
    margin: 0;
}

/* Hidden milestones (collapsed by default) */
.mechlean-page .about-milestone-hidden {
    display: none;
}

.mechlean-page .about-milestones-expanded .about-milestone-hidden {
    display: grid;
}

/* Toggle button (shared with year list) */
.mechlean-page .about-timeline-toggle-wrap {
    text-align: center;
    margin-top: 32px;
}

.mechlean-page .ml-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--ml-navy);
    border: 1px solid var(--ml-navy);
    padding: 10px 20px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.mechlean-page .ml-btn-outline:hover {
    background: var(--ml-navy);
    color: #ffffff;
    transform: translateY(-1px);
}

.mechlean-page .ml-btn-outline .toggle-label-less { display: none; }
.mechlean-page #about-timeline-toggle[aria-expanded="true"] .toggle-label-more { display: none; }
.mechlean-page #about-timeline-toggle[aria-expanded="true"] .toggle-label-less { display: inline; }
.mechlean-page #about-timeline-toggle[aria-expanded="true"] .fa-angle-down { transform: rotate(180deg); }
.mechlean-page .ml-btn-outline .fa-angle-down { transition: transform 0.2s ease; }

/* Mobile: stack year above body */
@media (max-width: 767px) {
    .mechlean-page .about-milestone {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 24px 0;
    }
    .mechlean-page .about-milestone-year { font-size: 48px; }
    .mechlean-page .about-milestone-year:before { height: 30px; top: 6px; }
    .mechlean-page .about-milestone-body h3 { font-size: 19px; margin-top: 0; }
}

/* ---------- DIRECTORS ---------- */
.mechlean-page .about-directors {
    background: #ffffff;
}

.mechlean-page .about-director {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 48px;
    padding: 48px 0;
    border-bottom: 1px solid var(--ml-border);
}

.mechlean-page .about-director:last-child {
    border-bottom: none;
}

.mechlean-page .about-director-photo {
    flex: 0 0 280px;
    max-width: 280px;
}

.mechlean-page .about-director-body {
    flex: 1 1 auto;
    min-width: 0;
}

/* Reverse variant: photo on right, body on left, text right-aligned */
.mechlean-page .about-director-reverse {
    flex-direction: row-reverse;
}

.mechlean-page .about-director-reverse .about-director-body {
    text-align: right;
}

.mechlean-page .about-director-reverse .about-director-social {
    justify-content: flex-end;
}

.mechlean-page .about-director-photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: var(--ml-bg);
}

.mechlean-page .about-director-body h3 {
    font-family: Georgia, serif;
    font-size: 32px;
    color: var(--ml-ink);
    font-weight: 500;
    margin: 6px 0 8px;
    letter-spacing: -0.2px;
}

.mechlean-page .about-director-body > p {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--ml-text);
    margin: 0 0 16px;
}

.mechlean-page .about-director-creds {
    font-family: 'Roboto', sans-serif;
    font-style: italic;
    font-size: 13px;
    color: var(--ml-navy);
    margin: 0;
    padding-top: 14px;
    border-top: 1px solid var(--ml-border);
}

.mechlean-page .about-director-social {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    display: flex;
    gap: 8px;
}

.mechlean-page .about-director-social a {
    width: 34px;
    height: 34px;
    border: 1px solid var(--ml-border);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ml-navy);
    text-decoration: none;
    font-size: 15px;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.mechlean-page .about-director-social a:hover {
    background: var(--ml-navy);
    color: #ffffff;
    border-color: var(--ml-navy);
}

/* Director responsive */
@media (max-width: 767px) {
    .mechlean-page .about-director,
    .mechlean-page .about-director-reverse {
        flex-direction: column;
        gap: 20px;
        padding: 32px 0;
    }
    .mechlean-page .about-director-photo {
        flex: 0 0 auto;
        max-width: 220px;
        margin: 0 auto;
    }
    .mechlean-page .about-director-reverse .about-director-body {
        text-align: left;
    }
    .mechlean-page .about-director-reverse .about-director-social {
        justify-content: flex-start;
    }
    .mechlean-page .about-director-body h3 { font-size: 26px; }
}

/* ---------- Page-level tweaks ---------- */
.mechlean-page.about-page .ml-final-cta {
    margin-top: 0;
}
