/**
 * Presentation for the public Daystar About page.
 *
 * Extends the shared Bootstrap foundation with page-specific academy,
 * curriculum, pathway, and values sections.
 */

.about-section {
    padding-block: clamp(4.5rem, 8vw, 7rem);
}

.about-eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--daystar-blue-600);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.about-eyebrow--dark {
    color: var(--daystar-gold-500);
}

.about-hero {
    position: relative;
    overflow: hidden;
    color: var(--daystar-white);
    background:
        radial-gradient(
            circle at 85% 15%,
            rgb(41 152 212 / 28%),
            transparent 24rem
        ),
        linear-gradient(
            135deg,
            var(--daystar-navy-950),
            var(--daystar-navy-800)
        );
}

.about-hero__container {
    position: relative;
    z-index: 1;
    padding-block: clamp(5rem, 9vw, 8rem);
}

.about-hero__glow {
    position: absolute;
    bottom: -10rem;
    left: -8rem;
    width: 28rem;
    height: 28rem;
    border-radius: 50%;
    background: rgb(138 77 236 / 16%);
}

.about-hero h1 {
    margin-bottom: 1.5rem;
    color: var(--daystar-white);
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.about-hero h1 span {
    display: block;
    color: var(--daystar-gold-500);
}

.about-hero__lead {
    max-width: 39rem;
    color: rgb(255 255 255 / 70%);
    font-size: 1.18rem;
}

.about-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.about-hero__photo {
    width: min(100%, 24rem);
    margin-inline: auto;
    overflow: hidden;
    border: 0.4rem solid rgb(255 255 255 / 92%);
    border-radius: var(--daystar-radius-lg);
    background: var(--daystar-white);
    box-shadow: var(--daystar-shadow-lg);
    transform: rotate(2deg);
}

.about-hero__photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
}

.about-hero__photo figcaption {
    display: grid;
    gap: 0.2rem;
    padding: 1rem 1.2rem;
}

.about-hero__photo strong {
    color: var(--daystar-navy-900);
    font-family: var(--daystar-font-heading);
    font-size: 1.1rem;
}

.about-hero__photo span {
    color: var(--daystar-muted);
    font-size: 0.82rem;
}

.about-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 4rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgb(255 255 255 / 12%);
}

.about-facts article {
    display: grid;
    gap: 0.15rem;
}

.about-facts strong {
    color: var(--daystar-white);
    font-family: var(--daystar-font-heading);
}

.about-facts span {
    color: rgb(255 255 255 / 48%);
    font-size: 0.8rem;
}

.about-introduction {
    background: var(--daystar-white);
}

.about-introduction h2,
.about-curriculum h2,
.about-values h2,
.about-heading h2 {
    margin-bottom: 1.25rem;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.about-introduction h2 span,
.about-curriculum h2 span,
.about-values h2 span,
.about-heading h2 span {
    color: var(--daystar-blue-600);
}

.about-introduction__copy {
    padding-left: clamp(0rem, 4vw, 4rem);
    border-left: 0.2rem solid var(--daystar-gold-500);
}

.about-introduction__copy p {
    color: var(--daystar-muted);
    font-size: 1.08rem;
}

.about-introduction__copy p:last-child {
    margin-bottom: 0;
}

.about-approach {
    background: var(--daystar-surface);
}

.about-heading {
    max-width: 46rem;
    margin: 0 auto 3rem;
}

.about-heading p {
    color: var(--daystar-muted);
    font-size: 1.08rem;
}

.about-principle {
    height: 100%;
    padding: 1.75rem;
    border: 1px solid var(--daystar-border);
    border-radius: var(--daystar-radius-md);
    background: var(--daystar-white);
    box-shadow: var(--daystar-shadow-sm);
}

.about-principle__number {
    display: inline-block;
    margin-bottom: 1.5rem;
    color: var(--daystar-blue-600);
    font-family: var(--daystar-font-heading);
    font-size: 2rem;
    font-weight: 700;
}

.about-principle h3 {
    font-size: 1.4rem;
}

.about-principle p {
    margin: 0;
    color: var(--daystar-muted);
}

.about-curriculum {
    background: var(--daystar-white);
}

.about-curriculum__photo {
    width: min(100%, 28rem);
    margin-inline: auto;
    overflow: hidden;
    border-radius: var(--daystar-radius-lg);
    box-shadow: var(--daystar-shadow-md);
}

.about-curriculum__photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
}

.about-curriculum__lead {
    color: var(--daystar-muted);
    font-size: 1.08rem;
}

.curriculum-perspectives {
    display: grid;
    gap: 0.8rem;
    margin-top: 2rem;
}

.curriculum-perspectives article {
    padding: 1rem 1.2rem;
    border-left: 0.2rem solid var(--daystar-gold-500);
    border-radius: 0 var(--daystar-radius-sm)
        var(--daystar-radius-sm) 0;
    background: var(--daystar-surface);
}

.curriculum-perspectives strong {
    color: var(--daystar-navy-900);
    font-family: var(--daystar-font-heading);
}

.curriculum-perspectives p {
    margin: 0.2rem 0 0;
    color: var(--daystar-muted);
    font-size: 0.9rem;
}

.about-pathways {
    background:
        radial-gradient(
            circle at 10% 10%,
            rgb(138 77 236 / 20%),
            transparent 22rem
        ),
        var(--daystar-navy-950);
}

.about-pathways .about-heading h2 span {
    color: var(--daystar-gold-500);
}

.about-pathway {
    height: 100%;
    padding: 2rem;
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: var(--daystar-radius-md);
    background: rgb(255 255 255 / 6%);
}

.about-pathway > span {
    color: var(--daystar-gold-500);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-pathway h3 {
    margin-top: 0.6rem;
    color: var(--daystar-white);
    font-size: 1.8rem;
}

.about-pathway p {
    color: rgb(255 255 255 / 60%);
}

.about-pathway a {
    color: var(--daystar-gold-500);
    font-weight: 800;
    text-decoration: none;
}

.about-values {
    background: var(--daystar-surface);
}

.about-values__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.about-values__grid article {
    padding: 1.5rem;
    border: 1px solid var(--daystar-border);
    border-radius: var(--daystar-radius-md);
    background: var(--daystar-white);
}

.about-values__grid strong {
    color: var(--daystar-navy-900);
    font-family: var(--daystar-font-heading);
    font-size: 1.15rem;
}

.about-values__grid p {
    margin: 0.5rem 0 0;
    color: var(--daystar-muted);
}

.about-cta {
    padding-block: 0 clamp(4rem, 7vw, 6rem);
    background: var(--daystar-surface);
}

.about-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: clamp(2rem, 5vw, 4rem);
    border-radius: var(--daystar-radius-lg);
    color: var(--daystar-white);
    background:
        radial-gradient(
            circle at 90% 15%,
            rgb(78 205 196 / 30%),
            transparent 17rem
        ),
        linear-gradient(
            135deg,
            var(--daystar-purple-500),
            var(--daystar-blue-600)
        );
    box-shadow: var(--daystar-shadow-md);
}

.about-cta h2 {
    color: var(--daystar-white);
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.about-cta p {
    margin: 0;
    color: rgb(255 255 255 / 72%);
}

.about-cta__actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 0.75rem;
}

@media (max-width: 991.98px) {
    .about-introduction__copy {
        padding-left: 0;
        border-left: 0;
    }

    .about-cta__inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .about-hero__actions,
    .about-cta__actions {
        display: grid;
        width: 100%;
    }

    .about-facts,
    .about-values__grid {
        grid-template-columns: 1fr;
    }

    .about-hero__photo {
        transform: none;
    }
}
