/* Final isolated About hero. Loaded after the shared theme to avoid legacy collisions. */
body.about-page .about-profile-hero {
    position: relative;
    display: flex;
    min-height: 560px;
    padding: 88px 0;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    border-bottom: 1px solid #cbdff7;
    color: #183457;
    background:
        radial-gradient(circle at 82% 12%, rgba(34, 211, 238, .1), transparent 24%),
        radial-gradient(circle at 62% 100%, rgba(59, 130, 246, .13), transparent 36%),
        linear-gradient(122deg, #fbfdff 0%, #edf5ff 58%, #dcecff 100%);
}

body.about-page .about-profile-hero::before,
body.about-page .about-profile-hero::after {
    display: none;
    content: none;
}

body.about-page .about-profile-hero > .about-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    width: min(calc(100% - 40px), 1200px);
    max-width: 1200px;
    margin: 0 auto;
    grid-template-columns: minmax(0, .92fr) minmax(460px, 1.08fr);
    align-items: center;
    gap: clamp(54px, 7vw, 104px);
    text-align: left;
}

body.about-page .about-hero-copy {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 520px;
    margin: 0;
}

body.about-page .about-hero-copy::before {
    position: absolute;
    top: -30px;
    left: 0;
    display: block;
    width: 42px;
    height: 3px;
    margin: 0;
    border-radius: 99px;
    background: linear-gradient(90deg, #42a4e7, #60cee5);
    box-shadow: 52px 0 0 rgba(96, 206, 229, .32);
    content: "";
}

body.about-page .about-profile-hero .about-hero-label {
    display: inline-flex;
    width: auto;
    margin: 0 0 22px;
    padding: 0;
    align-items: center;
    gap: 10px;
    border: 0;
    color: #1767c9;
    background: transparent;
    box-shadow: none;
    font-size: 11px;
    font-weight: 850;
    line-height: 1.3;
    letter-spacing: .16em;
    text-transform: uppercase;
}

body.about-page .about-profile-hero .about-hero-label::before {
    display: block;
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border: 2px solid #1689c8;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(22, 137, 200, .1);
    content: "";
}

body.about-page .about-profile-hero h1 {
    display: block;
    max-width: none;
    margin: 0 0 24px;
    color: #102b57;
    font-size: clamp(3.7rem, 5.6vw, 5.25rem);
    font-weight: 720;
    line-height: .9;
    letter-spacing: -.07em;
    text-align: left;
    text-wrap: nowrap;
    white-space: nowrap;
}

body.about-page .about-profile-hero .about-hero-copy > p {
    max-width: 570px;
    margin: 0;
    padding: 2px 0 2px 20px;
    border-left: 2px solid #63a7ed;
    color: #526b8d;
    font-size: clamp(1rem, 1.6vw, 1.18rem);
    line-height: 1.72;
    text-align: left;
}

body.about-page .about-hero-visual {
    position: relative;
    justify-self: end;
    width: min(100%, 540px);
    height: 350px;
    min-height: 350px;
    isolation: isolate;
}

body.about-page .about-hero-visual::before {
    position: absolute;
    z-index: -2;
    inset: -40px -30px;
    display: block;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(89, 182, 246, .19), rgba(190, 226, 255, .07) 54%, transparent 75%);
    content: "";
}

body.about-page .about-hero-visual::after {
    position: absolute;
    z-index: -1;
    top: -18px;
    right: 20px;
    display: block;
    width: 350px;
    height: 350px;
    border: 1px solid rgba(74, 166, 232, .2);
    border-radius: 50%;
    content: "";
}

body.about-page .about-team-backdrop {
    width: 310px;
    height: 310px;
}

body.about-page .about-team-people {
    bottom: 16px;
    transform: translateX(-50%) scale(.88);
    transform-origin: 50% 100%;
}

body.about-page .about-team-outcome {
    top: 2px;
    right: 0;
}

body.about-page .about-chip-one {
    top: 28px;
    left: 0;
}

body.about-page .about-chip-two {
    right: 0;
    bottom: 2px;
}

body.about-page .about-team-chart {
    animation: aboutRouteReveal 1.1s ease-out both;
}

body.about-page .about-team-people {
    animation: aboutTeamFloat 8s ease-in-out 1.1s infinite;
}

@keyframes aboutRouteReveal {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes aboutTeamFloat {
    0%, 100% { transform: translateX(-50%) scale(.88) translateY(0); }
    50% { transform: translateX(-50%) scale(.88) translateY(-5px); }
}

@media (max-width: 1024px) {
    body.about-page .about-profile-hero {
        min-height: 0;
        padding: 66px 0;
    }

    body.about-page .about-profile-hero > .about-hero-grid {
        display: block;
        width: min(calc(100% - 64px), 760px);
    }

    body.about-page .about-hero-copy {
        max-width: 680px;
        margin: 0 auto;
        text-align: center;
    }

    body.about-page .about-hero-copy::before {
        left: 50%;
        transform: translateX(-48px);
    }

    body.about-page .about-profile-hero .about-hero-label {
        justify-content: center;
    }

    body.about-page .about-profile-hero h1 {
        text-align: center;
    }

    body.about-page .about-profile-hero .about-hero-copy > p {
        max-width: 38ch;
        margin-right: auto;
        margin-left: auto;
        padding-left: 0;
        border-left: 0;
        text-align: center;
    }

    body.about-page .about-hero-visual {
        display: none;
    }
}

@media (max-width: 600px) {
    body.about-page .about-profile-hero {
        padding: 54px 0 48px;
    }

    body.about-page .about-profile-hero > .about-hero-grid {
        width: min(calc(100% - 34px), 560px);
    }

    body.about-page .about-profile-hero .about-hero-label {
        margin-bottom: 18px;
        font-size: .64rem;
    }

    body.about-page .about-profile-hero h1 {
        margin-bottom: 20px;
        font-size: clamp(3.1rem, 16vw, 4rem);
    }

    body.about-page .about-profile-hero .about-hero-copy > p {
        font-size: .98rem;
        line-height: 1.65;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.about-page .about-team-chart,
    body.about-page .about-team-people {
        animation: none;
    }
}
