/* =====================================================
   AALIMNET ABOUT PAGE
===================================================== */

.about-page {
    --about-ink: #152250;
    --about-muted: #56627D;
    --about-blue: #2454FF;
    --about-orange: #C43F0C;
    --about-yellow: #FFC02E;
    --about-teal: #008F89;
    --about-border: #E4E9F4;
    --about-light: #F5F7FF;

    width: 100%;
    margin: 0;
    overflow: clip;
    background: #fff;
    color: var(--about-ink);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.about-page *,
.about-page *::before,
.about-page *::after {
    box-sizing: border-box;
}

.about-page img {
    display: block;
    max-width: 100%;
    height: auto;
}

.about-page h1,
.about-page h2,
.about-page h3,
.about-page p {
    overflow-wrap: anywhere;
}

.about-page h1,
.about-page h2,
.about-page h3 {
    color: var(--about-ink);
}

.about-page a {
    text-decoration: none;
}

.about-container {
    width: calc(100% - 48px);
    max-width: 1240px;
    margin-right: auto;
    margin-left: auto;
}

.about-section {
    position: relative;
    padding-top: clamp(58px, 7vw, 96px);
    padding-bottom: clamp(58px, 7vw, 96px);
}

.about-eyebrow {
    display: inline-block;
    margin: 0 0 14px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.6;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.about-section-heading {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.about-section-title {
    margin: 0;
    font-size: clamp(30px, 4vw, 49px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.035em;
}

.about-section-description {
    max-width: 680px;
    margin: 16px auto 0;
    color: var(--about-muted);
    font-size: 16px;
    line-height: 1.85;
}

/* HERO */

.about-hero {
    position: relative;
    display: flex;
    min-height: clamp(450px, 64vh, 700px);
    align-items: center;
    isolation: isolate;
    overflow: hidden;
    background: #0A102D;
}

.about-hero-image {
    position: absolute;
    z-index: -2;
    inset: 0;
    background-color: #0A102D;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.about-hero-overlay {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(5, 10, 34, .94) 0%,
        rgba(5, 10, 34, .79) 48%,
        rgba(5, 10, 34, .40) 100%
    );
}

.about-hero-inner {
    width: 100%;
    padding-top: clamp(70px, 9vw, 118px);
    padding-bottom: clamp(70px, 9vw, 118px);
}

.about-hero-copy {
    max-width: 790px;
}

.about-hero .about-eyebrow {
    color: var(--about-yellow);
}

.about-hero-title {
    margin: 0;
    color: #fff !important;
    font-size: clamp(40px, 6vw, 74px);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -.045em;
}

.about-hero-highlight {
    display: block;
    margin-top: 8px;
    color: var(--about-yellow);
    font-style: italic;
}

.about-hero-description {
    max-width: 660px;
    margin-top: 23px;
    color: rgba(255, 255, 255, .88);
    font-size: 16px;
    line-height: 1.9;
}

.about-hero-description p {
    margin: 0 0 12px;
    color: inherit;
}

.about-hero-description p:last-child {
    margin-bottom: 0;
}

/* MISSION / VISION / VALUES */

.about-purpose-section {
    background:
        radial-gradient(circle at 4% 0%, rgba(36,84,255,.07), transparent 34%),
        #F5F7FF;
    border-bottom: 1px solid var(--about-border);
}

.about-purpose-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.about-purpose-card {
    position: relative;
    min-width: 0;
    padding: 31px 27px;
    overflow: hidden;
    border: 1px solid var(--about-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(21,34,80,.045);
    transition: transform .2s ease, box-shadow .2s ease;
}

.about-purpose-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: var(--about-blue);
    content: "";
}

.about-purpose-card.mission::before {
    background: #F4511E;
}

.about-purpose-card.vision::before {
    background: var(--about-blue);
}

.about-purpose-card.values::before {
    background: var(--about-teal);
}

.about-purpose-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 17px 36px rgba(21,34,80,.085);
}

.about-purpose-tag {
    margin: 0 0 13px;
    color: var(--about-orange);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.about-purpose-card.vision .about-purpose-tag {
    color: var(--about-blue);
}

.about-purpose-card.values .about-purpose-tag {
    color: var(--about-teal);
}

.about-purpose-title {
    margin: 0 0 13px;
    font-size: clamp(23px, 2.2vw, 29px);
    font-weight: 800;
    line-height: 1.25;
}

.about-purpose-text {
    color: var(--about-muted);
    font-size: 15px;
    line-height: 1.85;
}

.about-purpose-text p {
    margin: 0 0 12px;
}

.about-purpose-text p:last-child {
    margin-bottom: 0;
}

/* LEGACY */

.about-legacy-section {
    background: #fff;
    border-bottom: 1px solid var(--about-border);
}

.about-legacy-heading {
    margin-bottom: 38px;
}

.about-legacy-heading .about-eyebrow {
    color: var(--about-orange);
}

.about-legacy-list {
    border-bottom: 1px solid var(--about-border);
}

.about-legacy-item {
    display: grid;
    grid-template-columns: minmax(110px, 165px) minmax(0, 1fr);
    gap: clamp(24px, 5vw, 65px);
    padding: 29px 0;
    border-top: 1px solid var(--about-border);
}

.about-legacy-year {
    color: var(--about-orange);
    font-size: clamp(29px, 3.5vw, 40px);
    font-weight: 800;
    line-height: 1.15;
}

.about-legacy-content {
    min-width: 0;
}

.about-legacy-title {
    margin: 0 0 9px;
    font-size: clamp(20px, 2.2vw, 26px);
    line-height: 1.3;
}

.about-legacy-description {
    max-width: 760px;
    margin: 0;
    color: var(--about-muted);
    font-size: 15px;
    line-height: 1.85;
}

/* SCHOOLS / CLIENTS */

.about-schools-section {
    background: #F7F9FF;
    border-bottom: 1px solid var(--about-border);
}

.about-schools-heading .about-eyebrow {
    color: var(--about-orange);
}

.about-schools-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.about-school-card {
    display: flex;
    min-width: 0;
    min-height: 100px;
    align-items: center;
    justify-content: center;
    padding: 22px 17px;
    border: 1px solid var(--about-border);
    border-radius: 14px;
    background: #fff;
    color: #33406B;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.55;
    text-align: center;
    overflow-wrap: anywhere;
    transition: transform .2s ease, box-shadow .2s ease;
}

.about-school-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(36,84,255,.07);
}

/* CALL TO ACTION */

.about-cta-section {
    background: #fff;
}

.about-cta-panel {
    position: relative;
    isolation: isolate;
    display: grid;
    justify-items: center;
    gap: 17px;
    overflow: hidden;
    padding: clamp(40px, 6vw, 72px) clamp(22px, 5vw, 65px);
    border-radius: 24px;
    background: linear-gradient(135deg, #F4511E, #D93D24 55%, #BD321E);
    box-shadow: 0 18px 45px rgba(196,63,12,.14);
    text-align: center;
}

.about-cta-panel::before {
    position: absolute;
    z-index: -1;
    top: -130px;
    right: -80px;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
    box-shadow: 0 0 0 35px rgba(255,255,255,.045),
                0 0 0 70px rgba(255,255,255,.025);
    content: "";
}

.about-cta-tag {
    margin: 0;
    color: rgba(255,255,255,.85);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.about-cta-title {
    max-width: 820px;
    margin: 0;
    color: #fff !important;
    font-size: clamp(30px, 4.5vw, 49px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.035em;
}

.about-cta-description {
    max-width: 650px;
    margin: 0;
    color: rgba(255,255,255,.91);
    font-size: 15.5px;
    line-height: 1.85;
}

.about-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 13px;
    margin-top: 8px;
}

.about-cta-button {
    display: inline-flex;
    min-height: 49px;
    align-items: center;
    justify-content: center;
    padding: 13px 24px;
    border: 1.5px solid transparent;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: .06em;
    text-align: center;
    text-transform: uppercase;
    transition: transform .2s ease, background .2s ease;
}

.about-cta-button:hover {
    transform: translateY(-2px);
}

.about-cta-button.primary {
    background: #fff;
    color: #C43F0C;
}

.about-cta-button.primary:hover {
    background: #FFF1DF;
    color: #152250;
}

.about-cta-button.secondary {
    border-color: rgba(255,255,255,.75);
    background: transparent;
    color: #fff;
}

.about-cta-button.secondary:hover {
    background: rgba(255,255,255,.12);
    color: #fff;
}

/* FOCUS */

.about-page a:focus-visible {
    outline: 3px solid var(--about-yellow);
    outline-offset: 4px;
}

/* TABLET */

@media (max-width: 1000px) {
    .about-purpose-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-purpose-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    .about-schools-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* MOBILE */

@media (max-width: 680px) {
    .about-container {
        width: calc(100% - 36px);
    }

    .about-section {
        padding-top: 53px;
        padding-bottom: 53px;
    }

    .about-section-heading {
        margin-bottom: 29px;
        text-align: left;
    }

    .about-section-description {
        margin-right: 0;
        margin-left: 0;
        font-size: 14.5px;
    }

    .about-hero {
        min-height: 470px;
    }

    .about-hero-overlay {
        background: linear-gradient(
            90deg,
            rgba(5,10,34,.93),
            rgba(5,10,34,.75)
        );
    }

    .about-hero-inner {
        padding-top: 66px;
        padding-bottom: 66px;
    }

    .about-hero-title {
        font-size: clamp(36px, 10vw, 51px);
    }

    .about-hero-description {
        margin-top: 19px;
        font-size: 15px;
    }

    .about-purpose-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .about-purpose-card:last-child:nth-child(odd) {
        grid-column: auto;
    }

    .about-purpose-card {
        padding: 26px 22px;
    }

    .about-purpose-title {
        font-size: 25px;
    }

    .about-legacy-item {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 23px 0;
    }

    .about-legacy-year {
        font-size: 31px;
    }

    .about-legacy-title {
        font-size: 21px;
    }

    .about-schools-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .about-school-card {
        min-height: 85px;
        padding: 17px 10px;
        font-size: 14px;
    }

    .about-cta-panel {
        gap: 15px;
        padding: 36px 20px;
        border-radius: 18px;
    }

    .about-cta-title {
        font-size: clamp(28px, 7.5vw, 37px);
    }

    .about-cta-description {
        font-size: 14.5px;
    }

    .about-cta-buttons {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .about-cta-button {
        width: 100%;
    }
}

@media (max-width: 380px) {
    .about-container {
        width: calc(100% - 28px);
    }

    .about-schools-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-page *,
    .about-page *::before,
    .about-page *::after {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important;
    }
}