/* ===========================
   ABOUT PAGE STYLES
   =========================== */

/* HERO */

.about-hero {
    max-width: 800px;
    margin: 180px auto 80px;
    padding: 0 20px;
    text-align: center;
}

.about-hero h1 {
    margin-top: 18px;
    font-family: 'Alan Sans', sans-serif;
    font-size: clamp(48px, 8vw, 88px);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -3px;
    color: var(--text);
}

.about-hero h1 span {
    color: var(--green-dark);
}

.about-hero p {
    margin-top: 24px;
    color: var(--muted);
    font-family: 'Alan Sans', sans-serif;
    font-size: 17px;
    line-height: 1.7;
}


/* PROFILE SECTION */

.profile-section {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto 120px;
}

.profile-card {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 60px;
    align-items: start;

    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.05);
}

/* LEFT COLUMN */

.profile-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
}

.profile-img-wrap {
    position: relative;
    width: 220px;
    height: 220px;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 20px;
    border: 2px solid var(--border);
    position: relative;
    z-index: 1;
}

.profile-img-glow {
    position: absolute;
    inset: -10px;
    border-radius: 28px;
    background: radial-gradient(circle, rgba(26,255,110,0.18), transparent 70%);
    z-index: 0;
}

.profile-name-block h2 {
    font-family: 'Alan Sans', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -1px;
}

.profile-role {
    display: inline-block;
    margin-top: 6px;
    padding: 5px 14px;
    border-radius: 100px;
    background: var(--green-dim);
    border: 1.5px solid var(--green-border);
    color: var(--green-dark);
    font-family: 'Alan Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.profile-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.profile-tags span {
    padding: 7px 13px;
    border-radius: 8px;
    background: var(--bg-section);
    border: 1.5px solid var(--border);
    color: var(--muted);
    font-family: 'Alan Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
}


/* RIGHT COLUMN */

.profile-right {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.story-block {
    padding-bottom: 36px;
    border-bottom: 1.5px solid var(--border);
}

.story-block:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.story-label {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--green-dark);
    font-family: 'Alan Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.story-block p {
    color: var(--muted);
    font-family: 'Alan Sans', sans-serif;
    font-size: 15px;
    line-height: 1.8;
}

.story-block p em {
    color: var(--text);
    font-style: normal;
    font-weight: 700;
}


/* ABOUT STATS */

.about-stats {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto 120px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    background: var(--bg-section);
    border: 1.5px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}

.about-stat {
    text-align: center;
    padding: 32px 10px;
    border-right: 1.5px solid var(--border);
}

.about-stat:last-child {
    border-right: none;
}

.about-stat strong {
    display: block;
    font-family: 'Alan Sans', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--green-dark);
}

.about-stat span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-family: 'Alan Sans', sans-serif;
    font-size: 12px;
}


/* ACTIVE NAV LINK */

.nav-link.active {
    color: var(--green-dark);
}

.nav-link.active::after {
    width: 100%;
}


/* MOBILE */

@media (max-width: 820px) {

    .about-hero {
        margin-top: 120px;
    }

    .about-hero h1 {
        letter-spacing: -2px;
    }

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

    .profile-img-wrap {
        width: 180px;
        height: 180px;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-stat:nth-child(2) {
        border-right: none;
    }

    .about-stat:nth-child(3) {
        border-top: 1.5px solid var(--border);
    }

    .about-stat:nth-child(4) {
        border-top: 1.5px solid var(--border);
        border-right: none;
    }
}

@media (max-width: 480px) {
    .about-stats {
        grid-template-columns: 1fr;
    }

    .about-stat {
        border-right: none;
        border-bottom: 1.5px solid var(--border);
    }

    .about-stat:last-child {
        border-bottom: none;
    }

    .about-stat:nth-child(2),
    .about-stat:nth-child(3),
    .about-stat:nth-child(4) {
        border-top: none;
    }
}
