/* ==========================================
   MODERN ABOUT PAGE
   Story-focused page shell for GetPrompting
   ========================================== */

.gp-about-modern {
    --about-max: 1120px;
    color: var(--gp-text);
    box-sizing: border-box;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: none !important;
    overflow: hidden;
    width: 100vw;
}

.gp-about-hero,
.gp-about-story,
.gp-about-section,
.gp-about-goal,
.gp-about-final {
    box-sizing: border-box;
    padding-left: max(1.25rem, calc((100vw - var(--about-max)) / 2));
    padding-right: max(1.25rem, calc((100vw - var(--about-max)) / 2));
}

.gp-about-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
    padding-top: clamp(3rem, 7vw, 5.5rem);
    padding-bottom: clamp(3rem, 7vw, 5.5rem);
    background:
        linear-gradient(135deg, rgba(245, 242, 255, 0.96) 0%, rgba(255, 255, 255, 0.98) 50%, rgba(236, 249, 255, 0.78) 100%);
    border-bottom: 1px solid rgba(45, 43, 95, 0.12);
}

.gp-about-hero h1 {
    color: var(--gp-primary) !important;
    font-size: clamp(2.75rem, 5.6vw, 5.2rem) !important;
    font-weight: 850 !important;
    letter-spacing: 0 !important;
    line-height: 0.98 !important;
    margin: 0 0 1rem !important;
    max-width: 780px;
    text-wrap: balance;
}

.gp-about-lead {
    color: var(--gp-text-muted) !important;
    font-size: clamp(1.12rem, 1vw + 0.95rem, 1.34rem) !important;
    line-height: 1.68 !important;
    margin: 0 !important;
    max-width: 670px;
}

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

.gp-about-avatar-card {
    align-self: stretch;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 247, 255, 0.96) 100%);
    border: 1px solid rgba(45, 43, 95, 0.14);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(30, 30, 63, 0.14);
    display: grid;
    align-content: center;
    gap: 1.25rem;
    justify-items: center;
    padding: clamp(1.5rem, 4vw, 2.25rem);
    text-align: center;
}

.gp-about-avatar {
    border-radius: 999px;
    box-shadow: 0 18px 45px rgba(30, 30, 63, 0.16);
    height: clamp(128px, 18vw, 180px);
    overflow: hidden;
    width: clamp(128px, 18vw, 180px);
}

.gp-about-avatar__image {
    display: block;
    height: 100% !important;
    object-fit: cover;
    width: 100% !important;
}

.gp-about-avatar-card__eyebrow {
    color: var(--gp-secondary) !important;
    font-size: 0.78rem !important;
    font-weight: 850 !important;
    letter-spacing: 0.08em;
    line-height: 1.2 !important;
    margin: 0 0 0.5rem !important;
    text-transform: uppercase;
}

.gp-about-avatar-card p:not(.gp-about-avatar-card__eyebrow) {
    color: var(--gp-text-muted) !important;
    font-size: 1rem !important;
    line-height: 1.55 !important;
    margin: 0 !important;
    max-width: 18rem;
}

.gp-about-story,
.gp-about-section,
.gp-about-goal,
.gp-about-final {
    padding-top: clamp(3rem, 6vw, 5rem);
    padding-bottom: clamp(3rem, 6vw, 5rem);
}

.gp-about-story,
.gp-about-goal {
    display: grid;
    grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: start;
}

.gp-about-section,
.gp-about-goal,
.gp-about-final {
    border-top: 1px solid rgba(45, 43, 95, 0.1);
}

.gp-about-section-header {
    max-width: 760px;
    margin-bottom: 1.5rem;
}

.gp-about-section-header h2,
.gp-about-goal h2,
.gp-about-final h2 {
    color: var(--gp-primary) !important;
    font-size: clamp(2rem, 4vw, 3.45rem) !important;
    font-weight: 850 !important;
    letter-spacing: 0 !important;
    line-height: 1.04 !important;
    margin: 0 !important;
    text-wrap: balance;
}

.gp-about-copy {
    display: grid;
    gap: 1rem;
}

.gp-about-copy p,
.gp-about-goal p,
.gp-about-final p {
    color: var(--gp-text-muted) !important;
    font-size: 1.06rem !important;
    line-height: 1.72 !important;
    margin: 0 !important;
}

.gp-about-copy p:first-child {
    color: var(--gp-text) !important;
    font-size: 1.12rem !important;
}

.gp-about-card-grid,
.gp-about-faq-grid {
    display: grid;
    gap: 1rem;
}

.gp-about-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gp-about-card,
.gp-about-faq-grid article,
.gp-about-note {
    background: var(--gp-white);
    border: 1px solid rgba(45, 43, 95, 0.12);
    border-radius: 8px;
    box-shadow: var(--gp-shadow);
    min-width: 0;
    padding: 1.2rem;
}

.gp-about-card span {
    color: var(--gp-secondary);
    display: block;
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    margin-bottom: 0.9rem;
}

.gp-about-card h3,
.gp-about-faq-grid h3,
.gp-about-note strong {
    color: var(--gp-primary) !important;
    font-size: 1.08rem !important;
    font-weight: 850 !important;
    line-height: 1.22 !important;
    margin: 0 0 0.55rem !important;
}

.gp-about-card p,
.gp-about-faq-grid p,
.gp-about-note span,
.gp-about-note p {
    color: var(--gp-text-muted) !important;
    font-size: 0.98rem !important;
    line-height: 1.62 !important;
    margin: 0 !important;
}

.gp-about-goal {
    background: linear-gradient(180deg, #ffffff 0%, #faf9ff 100%);
}

.gp-about-goal > div:first-child {
    display: grid;
    gap: 1rem;
}

.gp-about-note {
    align-self: center;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 242, 255, 0.94) 100%);
}

.gp-about-note strong {
    display: block;
    font-size: clamp(1.35rem, 2vw, 1.65rem) !important;
    margin: 0.25rem 0 !important;
}

.gp-about-faq-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gp-about-final {
    align-items: center;
    background: #17142f;
    color: var(--gp-white);
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
}

.gp-about-final .gp-home-eyebrow,
.gp-about-final h2,
.gp-about-final p {
    color: var(--gp-white) !important;
}

.gp-about-final p {
    color: rgba(244, 246, 255, 0.82) !important;
    max-width: 46rem;
}

.gp-about-final .gp-home-btn {
    flex: 0 0 auto;
}

@media (max-width: 980px) {
    .gp-about-hero,
    .gp-about-story,
    .gp-about-goal {
        grid-template-columns: 1fr;
    }

    .gp-about-card-grid,
    .gp-about-faq-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .gp-about-hero,
    .gp-about-story,
    .gp-about-section,
    .gp-about-goal,
    .gp-about-final {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .gp-about-hero {
        gap: 1.25rem;
        padding-top: 2rem;
        padding-bottom: 2.2rem;
    }

    .gp-about-hero h1 {
        font-size: clamp(2.05rem, 10vw, 2.9rem) !important;
        margin-bottom: 0.8rem !important;
    }

    .gp-about-lead {
        font-size: 1.02rem !important;
        line-height: 1.58 !important;
    }

    .gp-about-avatar-card {
        gap: 0.9rem;
        padding: 1rem;
    }

    .gp-about-avatar {
        height: 108px;
        width: 108px;
    }

    .gp-about-hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .gp-about-hero__actions .gp-home-btn,
    .gp-about-final .gp-home-btn {
        width: 100%;
    }

    .gp-about-card-grid,
    .gp-about-faq-grid {
        grid-template-columns: 1fr;
    }

    .gp-about-final {
        align-items: stretch;
        flex-direction: column;
    }
}
