/*
=========================================================
MistroAstro Personalized Learning Platform

File:
css/about.css

Purpose:
Provides the page-specific visual design for the
MistroAstro About page.

The design emphasizes readability, emotional pacing,
beginner-friendly messaging, and clear visual hierarchy.

Global layout, typography, buttons, cards, grids, and
root variables remain in css/style.css.

Author:
Mitch Dimler

Version:
3.0

Last Updated:
2026-07-15
=========================================================
*/


/* =====================================================
   About Page Foundation
===================================================== */

.about-page {
    overflow-x: hidden;
    background: var(--bg-dark);
    color: var(--text-light);
}

.about-page .section {
    padding-top: 7rem;
    padding-bottom: 7rem;
}

.about-page .section-header {
    max-width: 980px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.about-page .section-header h2 {
    max-width: 900px;
    margin-right: auto;
    margin-left: auto;

    font-size: clamp(2.2rem, 3vw, 2.8rem);

    line-height: 1.18;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.about-page .section-header .lead {
    max-width: 880px;
    margin: 1.5rem auto 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(1.18rem, 2vw, 1.38rem);
    line-height: 1.85;
}

.about-page .eyebrow {
    font-size: 0.86rem;
    letter-spacing: 0.16em;
}

/* =====================================================
   Welcome Scene Layout
===================================================== */

.about-hero-scene {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 3fr)
        minmax(0, 1fr);

    align-items: center;
    gap: 1.5rem;

    min-height: 85vh;
    padding-top: 5rem;
    padding-bottom: 3rem;
}


/* =====================================================
   Welcome Scene Characters
===================================================== */

.about-hero-beginner,
.about-hero-mentor {
    align-self: end;
    pointer-events: none;
}

.about-hero-beginner {
    justify-self: start;
}

.about-hero-mentor {
    justify-self: end;
}

.about-hero-beginner img,
.about-hero-mentor img {
    display: block;
    width: 100%;
    height: auto;
}

.about-hero-beginner img {
    max-width: 380px;
}

.about-hero-mentor img {
    max-width: 420px;
}


/* =====================================================
   Welcome Scene Content
===================================================== */

.about-hero-content {
    position: relative;
    z-index: 3;

    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: center;

    width: 100%;
    max-width: 1100px;
    margin-inline: auto;

    padding-top: 3rem;
    padding-bottom: 5rem;

    text-align: center;

    animation: aboutHeroReveal 900ms ease-out both;
}

/* =====================================================
   Hero Heading
===================================================== */

.about-hero-content h1 {
    color: var(--astro-blue);
    max-width: 1200px;
    margin: 0 0 2rem;
    font-size: clamp(2.5rem, 3.5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    text-align: center;
    text-wrap: balance;
    text-shadow:
        0 3px 12px rgba(0, 0, 0, 0.35);
}

/* =====================================================
   Welcome Branding
===================================================== */

.about-hero-branding {
    margin-bottom: 2rem;
}

.about-hero-signature {
    display: block;
    width: min(650px, 92%);
    height: auto;
    margin: 0 auto;
    filter:
        drop-shadow(0 8px 18px rgba(0,0,0,.28));
}

.about-hero-kicker {
    margin: 0 0 0.35rem;

    color: var(--astro-blue);

    font-size: clamp(1.15rem, 1.7vw, 1.45rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.about-hero-brand {
    margin: 0;

    color: var(--astro-gold);

    font-family:
        "Segoe Script",
        "Brush Script MT",
        cursive;

    font-size: clamp(4rem, 7.5vw, 6.75rem);
    font-weight: 600;
    line-height: 0.95;
    letter-spacing: -0.045em;

    text-shadow:
        0 4px 18px rgba(0, 0, 0, 0.52),
        0 0 30px rgba(200, 169, 107, 0.16);
}


/* =====================================================
   Hero Message
===================================================== */

.about-hero-content .hero-subtitle {

   max-width: 900px;

    margin: 0 auto 3rem;

    color: rgba(255,255,255,.92);

    font-size: clamp(1.45rem, 2vw, 1.7rem);

    font-weight: 400;

    line-height: 1.8;

    text-align: center;

    text-wrap: balance;

}


/* =====================================================
   Hero Actions
===================================================== */

.about-hero-content .hero-actions {
    display: flex;
    justify-content: center;

    width: 100%;
    margin-bottom: 1.5rem;
}

.about-hero-content .btn {

    min-height: 4.25rem;

    padding: 1.15rem 2.5rem;

    font-size: 1.2rem;

    font-weight: 700;

    letter-spacing: 0.02em;

    border-radius: 999px;

}


/* =====================================================
   Continue the Journey
===================================================== */

.about-hero-explore {

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: .5rem;

    margin-top: 2.5rem;

    opacity: .92;

}


/* -----------------------------------------
   Your Journey Begins Below
------------------------------------------ */

.about-hero-explore-title {

    display: block;

    color: rgba(255,255,255,.98);

    font-size: 2rem;

    font-weight: 700;

    line-height: 1.1;

    letter-spacing: -0.02em;

    text-align: center;

    text-transform: none;

    white-space: nowrap;

    margin-bottom: .5rem;

}


/* -----------------------------------------
   Keep Scrolling
------------------------------------------ */

.about-hero-explore-text {
    display: block;

    margin-top: 0.35rem;

    color: var(--astro-blue);

    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.2;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}


/* -----------------------------------------
   Arrow
------------------------------------------ */

.about-hero-explore-arrow {
    display: block;

    margin-top: 0.2rem;

    color: var(--astro-blue);

    font-size: 1.45rem;
    line-height: 1;

    animation: aboutExploreBounce 1.8s ease-in-out infinite;
}


/* =====================================================
   Arrow Animation
===================================================== */

@keyframes aboutExploreBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }

}

/* =====================================================
   Hero Animation
===================================================== */

@keyframes aboutHeroReveal {

    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =====================================================
   Story Content
===================================================== */

.about-story {
    max-width: 980px;
    margin: 4.5rem auto;
    text-align: center;
}

.about-page .about-story > p {
    max-width: 900px;
    margin: 0 auto 3rem;

    color: rgba(255, 255, 255, 0.96);

    font-size: clamp(1.6rem, 2vw, 1.75rem);
    font-weight: 450;
    line-height: 1.9;

    text-wrap: pretty;
}

.about-page .about-story > p:last-of-type {
    margin-bottom: 0;
}

.about-story blockquote {
    position: relative;
    max-width: 880px;
    margin: 4rem auto 0;
    padding: 2.5rem 2.75rem;

    border: 1px solid rgba(200, 169, 107, 0.28);
    border-radius: 1.5rem;

    background:
        linear-gradient(
            145deg,
            rgba(200, 169, 107, 0.09),
            rgba(7, 20, 38, 0.7)
        );

    color: var(--astro-gold);

    font-size: clamp(1.85rem, 3vw, 2.45rem);
    font-weight: 700;
    font-style: normal;
    line-height: 1.45;

    text-wrap: balance;

    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}


/* =====================================================
   General Cards
===================================================== */

.about-page .grid {
    margin-top: 4rem;
}

.about-page .card {
    padding: 2.75rem;
}

.about-page .card h3 {
    margin-bottom: 1.25rem;

    font-size: clamp(1.65rem, 2.1vw, 1.95rem);
    font-weight: 700;
    line-height: 1.3;

    text-wrap: balance;
}

.about-page .card p {
    color: rgba(255, 255, 255, 0.92);

    font-size: clamp(1.3rem, 1.7vw, 1.45rem);
    line-height: 1.72;
}


/* =====================================================
   Journey Sections
===================================================== */

.about-journey-section {
    position: relative;
}

.journey-timeline {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 4.5rem;
}

.journey-step {
    position: relative;
    padding: 2.4rem 2rem;
    border: 1px solid rgba(200, 169, 107, 0.25);
    border-radius: 1.4rem;
    background: rgba(7, 20, 38, 0.76);
    text-align: center;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.journey-step:hover {
    transform: translateY(-6px);
    border-color: rgba(200, 169, 107, 0.55);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}

.journey-number {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin: 0 auto 1.4rem;
    border: 1px solid rgba(200, 169, 107, 0.45);
    border-radius: 50%;
    background: rgba(200, 169, 107, 0.08);
    color: var(--astro-gold);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.journey-step h3 {
    margin-bottom: 1rem;
    font-size: clamp(1.4rem, 2vw, 1.7rem);
}

.journey-step p {
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.08rem;
    line-height: 1.8;
}


/* =====================================================
   Platform and Learning Path Cards
===================================================== */

.about-platform-section {
    position: relative;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 4.5rem;
}

.platform-card {
    min-height: 330px;
    padding: 2.5rem;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.platform-card:hover {
    transform: translateY(-6px);
    border-color: rgba(200, 169, 107, 0.55);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.35);
}

.platform-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(200, 169, 107, 0.35);
    border-radius: 1.1rem;
    background: rgba(200, 169, 107, 0.08);
    font-size: 2rem;
}

.platform-card h3 {
    margin-bottom: 1rem;
    font-size: clamp(1.45rem, 2vw, 1.75rem);
}

.platform-card p {
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.08rem;
    line-height: 1.82;
}


/* =====================================================
   Vision and Observatory Sections
===================================================== */

.about-vision-section {
    position: relative;
    overflow: hidden;
}

.about-vision-content {
    max-width: 980px;
    margin: 4.5rem auto 0;
    text-align: center;
}

.about-vision-content p {
    max-width: 900px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.87);
    font-size: clamp(1.16rem, 1.8vw, 1.32rem);
    line-height: 1.95;
}

.about-vision-content .vision-intro {
    max-width: 840px;
    color: var(--astro-gold);
    font-size: clamp(1.55rem, 2.8vw, 2rem);
    font-weight: 700;
    line-height: 1.55;
}

.vision-quote {
    max-width: 860px;
    margin: 4rem auto 0;
    padding: 2.25rem 2.5rem;
    border: 1px solid rgba(200, 169, 107, 0.28);
    border-radius: 1.5rem;

    background:
        linear-gradient(
            145deg,
            rgba(200, 169, 107, 0.09),
            rgba(7, 20, 38, 0.7)
        );

    color: var(--astro-gold);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 700;
    font-style: normal;
    line-height: 1.5;
    text-wrap: balance;

    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}


/* =====================================================
   Final Call to Action
===================================================== */

.about-cta-section {
    position: relative;
    padding-top: 9rem;
    padding-bottom: 9rem;

    background:
        radial-gradient(
            circle at center,
            rgba(200, 169, 107, 0.14),
            transparent 40%
        );
}

.about-cta-content {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.about-cta-content h2 {
    max-width: 850px;
    margin: 0 auto 1.75rem;
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    line-height: 1.14;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.about-cta-content p {
    max-width: 780px;
    margin: 0 auto 2.75rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1.18rem, 2vw, 1.38rem);
    line-height: 1.9;
}

.about-cta-content .btn {
    min-height: 3.8rem;
    padding: 1rem 1.85rem;
    font-size: 1.04rem;
}


/* =====================================================
   Responsive Layout
===================================================== */

@media (max-width: 1100px) {

    .about-page .section {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }

    .journey-timeline,
    .platform-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 980px) {

    .about-hero {
        background-position: 62% center;
    }

    .about-hero-content {
        max-width: 760px;
    }

}


@media (max-width: 768px) {

    .about-page .section {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .journey-timeline,
    .platform-grid {
        grid-template-columns: 1fr;
    }

    .journey-step {
        text-align: left;
    }

    .journey-number {
        margin-left: 0;
    }

    .platform-card {
        min-height: auto;
    }

    .about-story,
    .about-vision-content {
        margin-top: 3.5rem;
        margin-bottom: 3.5rem;
    }

    .about-story blockquote,
    .vision-quote {
        padding: 1.8rem;
    }

}


@media (max-width: 720px) {

    .about-hero {
        min-height: 92vh;

        background-image:
            linear-gradient(
                90deg,
                rgba(2, 6, 23, 0.97) 0%,
                rgba(2, 6, 23, 0.87) 58%,
                rgba(2, 6, 23, 0.5) 100%
            ),
            linear-gradient(
                180deg,
                rgba(2, 6, 23, 0.18) 0%,
                rgba(2, 6, 23, 0.2) 50%,
                rgba(2, 6, 23, 0.94) 100%
            ),
            url("../images/about/about-hero.jpg");

        background-position: 68% center;
    }

    .about-hero-content {
        padding-top: 7.5rem;
        padding-bottom: 5.5rem;
    }

    .about-hero-content h1 {
        letter-spacing: -0.04em;
    }

    .about-hero-content .hero-subtitle {
        max-width: 95%;
    }

    .about-page .card,
    .journey-step,
    .platform-card {
        padding: 1.8rem;
    }

}


@media (max-width: 480px) {

    .about-hero {
        min-height: 88vh;
        background-position: 72% center;
    }

    .about-hero-content {
        padding-top: 6.5rem;
    }

    .about-hero-content .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .about-hero-content .btn,
    .about-cta-content .btn {
        width: 100%;
    }

    .about-page .section {
        padding-top: 4.25rem;
        padding-bottom: 4.25rem;
    }

    .about-story blockquote,
    .vision-quote {
        padding: 1.5rem;
        border-radius: 1.15rem;
    }

}


/* =====================================================
   Reduced Motion
===================================================== */

@media (prefers-reduced-motion: reduce) {

    .about-hero-content {
        animation: none;
    }

    .journey-step,
    .platform-card {
        transition: none;
    }

    .journey-step:hover,
    .platform-card:hover {
        transform: none;
    }

}

/* =====================================================
   We Understand — MistroAstro Mascot
===================================================== */

.about-beginning-intro {
    display: grid;
    grid-template-columns: minmax(400px, 520px) minmax(0, 1fr);
    gap: 4rem;
    align-items: center;
    margin-bottom: 3rem;
}


/* Mascot Image */

.about-beginning-mascot {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-beginning-mascot img {
    display: block;
    width: 100%;
    max-width: 520px;
    height: auto;
    border-radius: 1.25rem;

    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.45),
        0 0 40px rgba(65, 165, 255, 0.08);
}


/* Section Heading */

.about-beginning-heading {
    margin: 0;
    text-align: left;
}

.about-beginning-heading .lead {
    max-width: 760px;
}


/* =====================================================
   We Understand — Mobile
===================================================== */

@media (max-width: 800px) {

    .about-beginning-intro {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-beginning-mascot img {
        max-width: 500px;
    }

    .about-beginning-heading {
        text-align: center;
    }

}

/* =====================================================
   About Page — Hero Layout Refinement
===================================================== */

/* Give the central introduction more horizontal space */
.about-page .about-hero-scene {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: auto;
    padding-top: 5rem;
    padding-bottom: 2rem;
}

/* Expand the introduction */
.about-page .about-hero-content {
    width: 100%;
    max-width: 1100px;
    padding-top: 1rem;
    padding-bottom: 1.5rem;
}

/* Wider, balanced heading */
.about-page .about-hero-content h1 {
    width: 100%;
    max-width: 1050px;
    margin-bottom: 1.5rem;

    font-size: clamp(2.5rem, 3.5vw, 3.25rem);
    line-height: 1.2;
}

/* Give the introductory paragraph more room */
.about-page .about-hero-content .hero-subtitle {
    max-width: 850px;
    margin-bottom: 1.5rem;
    line-height: 1.65;
}

/* Reduce space above and below scrolling invitation */
.about-page .about-hero-explore {
    margin-top: 1rem;
    margin-bottom: 0;
}

/* Reduce the gap before the next section */
.about-page .about-hero {
    min-height: auto;
    padding-bottom: 0;
}

.about-page #why-mistroastro {
    padding-top: 3rem;
}

/* =====================================================
   About Page — Continue Exploring Button
===================================================== */

.about-page .about-continue-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    padding: 2rem 1rem 4rem;
}

/* Hide additional content until the button is clicked */
.about-page #about-extra-content[hidden],
.about-page #about-extra-content-2[hidden],
.about-page #about-extra-content-3[hidden],
.about-page .about-continue-container[hidden] {
    display: none;
}