/**
 * About Page Styles - Minimalist Editorial
 * Font: Inter (Body) + IBM Plex Mono (Display)
 */

/* ============================================
   BASE & LAYOUT
   ============================================ */
.about-page {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

.main-content {
    padding-top: 156px;
    padding-bottom: 100px;
    z-index: 1;
    position: relative;
    max-width: 1160px;
    margin: 0 auto;
    width: 100%;
}

/* Content Layout */
.about-sections {
    display: flex;
    flex-direction: column;
    gap: 60px;
    width: 100%;
}

.about-section {
    scroll-margin-top: 156px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
    align-items: start;
    width: 100%;
}

.section-label {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 0.15em;
    color: var(--secondary-text);
    padding-top: 2px;
}

/* Profile Card (DNAP Reference Layout) */
.profile-card {
    display: grid;
    grid-template-columns: 310px 1fr;
    gap: 40px;
    align-items: stretch;
}

.profile-photo {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--border-color);
    border-radius: 2px;
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
    transition: filter 0.6s ease, transform 0.6s ease;
}

.profile-photo:hover img {
    filter: grayscale(0%);
    transform: scale(1.02);
}

.profile-info {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.profile-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-color);
    margin: 0 0 24px 0;
}

.profile-timeline {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.timeline-row {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 15px;
    font-size: 0.88rem;
    line-height: 1.6;
}

.timeline-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--secondary-text);
    letter-spacing: 0.05em;
}

.timeline-val {
    color: var(--text-color);
    font-weight: 400;
    white-space: nowrap;
}

.profile-bio {
    font-size: 0.9rem;
    line-height: 1.85;
    color: var(--desc-color);
    margin-top: auto;
    text-align: justify;
}

/* Awards Block (Clean Minimalist Style) */
.awards-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.award-row {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 20px;
    font-size: 0.88rem;
    line-height: 1.65;
}

.award-year {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--secondary-text);
    letter-spacing: 0.05em;
}

.award-title {
    color: var(--text-color);
    font-weight: 400;
    transition: opacity 0.3s ease;
}

.award-row:hover .award-title {
    opacity: 0.75;
}

/* Contact Block */
.contact-block {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-row {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 20px;
    font-size: 0.88rem;
    line-height: 1.6;
}

.contact-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--secondary-text);
    letter-spacing: 0.05em;
}

.contact-val {
    color: var(--text-color);
    font-weight: 400;
    transition: opacity 0.3s ease;
}

.contact-val-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

a.contact-val:hover {
    opacity: 0.65;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .main-content {
        padding: 140px 40px 100px;
    }

    .about-section {
        grid-template-columns: 200px 1fr;
        gap: 30px;
    }

    .profile-card {
        grid-template-columns: 260px 1fr;
        gap: 30px;
    }
}

/* Tablets: give the profile text the full content width before it becomes cramped. */
@media (max-width: 1100px) {
    .main-content {
        padding-left: 32px;
        padding-right: 32px;
    }

    .about-section {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .profile-card {
        grid-template-columns: 240px minmax(0, 1fr);
        gap: 28px;
    }

    .profile-info {
        min-width: 0;
    }

    .timeline-val {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .profile-bio {
        margin-top: 24px;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 140px 20px 100px;
    }
    
    .about-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-label {
        margin-bottom: 5px;
    }

    .profile-card {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .profile-photo {
        max-width: 280px;
    }

    .timeline-row, .award-row, .contact-row {
        grid-template-columns: 100px 1fr;
        gap: 15px;
        font-size: 0.82rem;
    }

    .timeline-val {
        white-space: normal;
    }

    .profile-bio {
        margin-top: 20px;
    }
}
