/* ==========================================================================
   ABOUT PAGE
   Aaron J Scott Portfolio
   ========================================================================== */

.about-page {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto 140px;
}

.about-section {
    padding: 80px 0;
}

.section-label {
    display: inline-block;
    margin-bottom: 12px;

    color: var(--primary-colour);

    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.6px;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 40px;
}

.section-heading h2 {
    margin: 0;

    color: var(--text-main);

    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.section-heading > p {
    margin-top: 16px;

    color: var(--text-muted);

    font-size: 17px;
    line-height: 1.7;
}


/* ==========================================================================
   HERO
   ========================================================================== */

.about-hero {
    padding: 50px 0 80px;
}

.about-hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.7fr);
    align-items: center;
    gap: 80px;
}

.about-hero-text h1 {
    margin: 0 0 24px;

    color: var(--text-main);

    font-size: clamp(44px, 7vw, 76px);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.about-hero-text p {
    max-width: 720px;
    margin: 0 0 18px;

    color: var(--text-muted);

    font-size: 18px;
    line-height: 1.75;
}

.about-hero-actions,
.about-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 30px;
}

.about-hero-image {
    display: flex;
    justify-content: center;
}

.about-hero-image img {
    display: block;

    width: min(100%, 340px);
    aspect-ratio: 1 / 1;

    object-fit: cover;

    border: 5px solid var(--primary-colour);
    border-radius: 50%;

    box-shadow: var(--box-shadow);
}


/* ==========================================================================
   BACKGROUND / STORY
   ========================================================================== */

.about-background {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.background-content {
    max-width: 820px;
}

.background-content p {
    margin: 0;

    color: var(--text-main);

    font-size: 18px;
    line-height: 1.8;
}

.background-content p + p {
    margin-top: 22px;
}


/* ==========================================================================
   WHAT I DO / VALUES
   ========================================================================== */

.about-work {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.about-work-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 80px;
}

.about-work-section h2 {
    margin: 0 0 24px;

    color: var(--text-main);

    font-size: 32px;
    line-height: 1.2;
}

.about-work-section > p {
    margin: 0;

    color: var(--text-muted);

    font-size: 17px;
    line-height: 1.75;
}

.about-work-section > p + p {
    margin-top: 18px;
}

.value-item {
    padding: 22px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.value-item:first-of-type {
    margin-top: 8px;
}

.value-item h3 {
    margin: 0 0 8px;

    color: var(--primary-colour);

    font-size: 18px;
}

.value-item p {
    margin: 0;

    color: var(--text-muted);

    font-size: 16px;
    line-height: 1.65;
}


/* ==========================================================================
   EDUCATION TIMELINE
   ========================================================================== */

.education-section {
    position: relative;
}

.education-timeline {
    position: relative;

    max-width: 900px;
    margin-top: 50px;
    padding-left: 36px;
}

.education-timeline::before {
    content: "";

    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 8px;

    width: 2px;

    background: rgba(50, 129, 206, 0.25);
}

.timeline-item {
    position: relative;

    padding: 0 0 44px 34px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    top: 6px;
    left: -35px;

    width: 16px;
    height: 16px;

    background: var(--bg-colour);

    border: 4px solid var(--primary-colour);
    border-radius: 50%;
}

.timeline-stage {
    display: block;
    margin-bottom: 8px;

    color: var(--primary-colour);

    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.timeline-content h3 {
    margin: 0 0 8px;

    color: var(--text-main);

    font-size: 22px;
    line-height: 1.3;
}

.timeline-content p {
    max-width: 700px;
    margin: 0;

    color: var(--text-muted);

    font-size: 16px;
    line-height: 1.65;
}


/* ==========================================================================
   TOOLKIT
   ========================================================================== */

.toolkit-section {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.toolkit-groups {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.toolkit-group {
    padding: 28px;

    background: var(--card-white);

    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 24px;

    box-shadow: var(--box-shadow);
}

.toolkit-group h3 {
    margin: 0 0 18px;

    color: var(--text-main);

    font-size: 18px;
}

.tool-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tool-list span {
    display: inline-flex;
    align-items: center;

    padding: 9px 13px;

    background: rgba(50, 129, 206, 0.08);
    color: var(--text-main);

    border: 1px solid rgba(50, 129, 206, 0.15);
    border-radius: 999px;

    font-size: 14px;
    font-weight: 600;
}


/* ==========================================================================
   PERSONAL INTERESTS
   ========================================================================== */

.personal-section {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.personal-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.personal-item {
    padding: 30px;

    background: var(--card-white);

    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 24px;

    box-shadow: var(--box-shadow);
}

.personal-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    color: var(--primary-colour);

    border: 2px solid var(--primary-colour);
    border-radius: 14px;

    font-size: 19px;
}

.personal-item h3 {
    margin: 0 0 10px;

    color: var(--text-main);

    font-size: 22px;
}

.personal-item p {
    margin: 0;

    color: var(--text-muted);

    font-size: 15px;
    line-height: 1.65;
}

.interest-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin-top: 20px;
}

.interest-tags span {
    padding: 7px 11px;

    background: rgba(50, 129, 206, 0.08);
    color: var(--text-main);

    border-radius: 999px;

    font-size: 13px;
    font-weight: 600;
}


/* ==========================================================================
   FINAL CTA
   ========================================================================== */

.about-cta {
    padding: 60px;

    background: var(--primary-colour);
    color: #ffffff;

    border-radius: 30px;

    box-shadow: var(--box-shadow);
}

.about-cta-content {
    max-width: 760px;
}

.about-cta .section-label {
    color: rgba(255, 255, 255, 0.75);
}

.about-cta h2 {
    margin: 0;

    color: #ffffff;

    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.15;
}

.about-cta p {
    margin: 18px 0 0;

    color: rgba(255, 255, 255, 0.88);

    font-size: 17px;
    line-height: 1.7;
}

.about-cta .btn-primary {
    background: #ffffff;
    color: var(--primary-colour);
    box-shadow: none;
}

.about-cta .btn-secondary {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.about-cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
}


/* ==========================================================================
   ACCESSIBILITY MODE
   ========================================================================== */

body.accessible .about-work,
body.accessible .about-background,
body.accessible .toolkit-section,
body.accessible .personal-section {
    border-color: #000000;
}

body.accessible .toolkit-group,
body.accessible .personal-item {
    border: 1px solid #000000;
    box-shadow: none;
}

body.accessible .tool-list span,
body.accessible .interest-tags span {
    border: 1px solid #000000;
}

body.accessible .about-cta {
    border: 2px solid #000000;
}


/* ==========================================================================
   TABLET
   ========================================================================== */

@media (max-width: 1000px) {
    .about-page {
        margin-top: 25px;
    }

    .about-hero-content {
        grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
        gap: 45px;
    }

    .about-work-grid {
        gap: 45px;
    }

    .toolkit-groups,
    .personal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .personal-item:last-child {
        grid-column: 1 / -1;
    }
}


/* ==========================================================================
   MOBILE
   ========================================================================== */

@media (max-width: 768px) {
    .about-page {
        margin: 20px auto 110px;
    }

    .about-section {
        padding: 55px 0;
    }

    .about-hero {
        padding: 30px 0 55px;
    }

    .about-hero-content {
        display: flex;
        flex-direction: column-reverse;
        gap: 30px;
    }

    .about-hero-text {
        width: 100%;
    }

    .about-hero-image img {
        width: 180px;
        height: 180px;
    }

    .about-hero-text h1 {
        font-size: 46px;
    }

    .about-hero-text p,
    .background-content p {
        font-size: 16px;
    }

    .about-work-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .toolkit-groups,
    .personal-grid {
        grid-template-columns: 1fr;
    }

    .personal-item:last-child {
        grid-column: auto;
    }

    .education-timeline {
        padding-left: 26px;
    }

    .timeline-item {
        padding-left: 26px;
    }

    .timeline-marker {
        left: -27px;
    }

    .about-cta {
        padding: 36px 28px;
        border-radius: 24px;
    }
}


/* ==========================================================================
   SMALL MOBILE
   ========================================================================== */

@media (max-width: 480px) {
    .about-hero-actions,
    .about-cta-actions {
        flex-direction: column;
    }

    .about-hero-actions .btn-primary,
    .about-hero-actions .btn-secondary,
    .about-cta-actions .btn-primary,
    .about-cta-actions .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .toolkit-group,
    .personal-item {
        padding: 24px;
    }
}
