/* assets/css/about.css */

/* About page: builds on main.css tokens and layout */
.about-hero {
    padding: 1.6rem 0 1.2rem;
    border-bottom: 1px solid var(--border);
}

.about-hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 1.5rem;
    align-items: start;
}

.lede {
    margin-top: 0.75rem;
    max-width: 760px;
}

.quick-links {
    margin-top: 0.9rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pill {
    display: inline-block;
    padding: 0.35rem 0.6rem;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    text-decoration: none;
    color: var(--text);
    font-weight: 550;
    font-size: 0.9rem;
    background: #fff;
}

.pill:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.about-card {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.95rem;
    background: #fff;
}

.about-card-top {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 0.75rem;
    align-items: center;
}

.about-photo {
    width: 88px;
    height: 88px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.about-card-meta .name {
    font-weight: 700;
    color: var(--text);
    line-height: 1.15;
}

.about-card-meta .role,
.about-card-meta .location {
    margin-top: 0.2rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.facts {
    margin-top: 0.85rem;
    display: grid;
    gap: 0.55rem;
}

.facts dt {
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--muted);
}

.facts dd {
    margin: 0.12rem 0 0;
    color: var(--text);
    font-weight: 550;
}

.facts a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.card-actions {
    margin-top: 0.85rem;
}

.about-section {
    padding: 1.35rem 0 1.55rem;
}

.about-section.alt {
    background: linear-gradient(to right,
            rgba(31, 79, 216, 0.04),
            rgba(107, 79, 216, 0.04));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.prose p {
    max-width: 900px;
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.9rem;
}

.focus-card {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.85rem;
    background: #fff;
}

.focus-card h3 {
    margin: 0;
    font-size: 1rem;
    color: var(--text);
}

.focus-card p {
    margin-top: 0.5rem;
    color: var(--muted);
}

.tag-row {
    margin-top: 0.85rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.tag {
    font-size: 0.82rem;
    color: var(--muted);
}

.timeline {
    display: grid;
    gap: 1.1rem;
}

.timeline-block {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.95rem;
    background: #fff;
}

.timeline-block h3 {
    margin: 0;
    font-size: 1.05rem;
    color: var(--text);
}

.timeline-list {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0;
    display: grid;
    gap: 0.65rem;
}

.timeline-list li {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 0.8rem;
    align-items: start;
}

.when {
    font-weight: 700;
    color: var(--text);
}

.what {
    color: var(--muted);
}

.what strong {
    color: var(--text);
    font-weight: 700;
}

.what a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 980px) {
    .about-hero-grid {
        grid-template-columns: 1fr;
    }

    .focus-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .focus-grid {
        grid-template-columns: 1fr;
    }

    .timeline-list li {
        grid-template-columns: 1fr;
    }

    .when {
        color: var(--text);
    }
}