/* ============================================================
   ABOUT.CSS — page-about.php
   Depends on: components.css, hub.css, nav-footer.css
   ============================================================ */


/* ── HERO ────────────────────────────────────────────────────── */

/* About hero reuses .hub-hero from hub.css.
   If no ACF hero image is set, fall back to a solid blue. */
.about-page .hub-hero {
    background-color: var(--blue-deep);
    background-size: cover;
    background-position: center 40%;
}


/* ── JOHN BIO SECTION ────────────────────────────────────────── */

.about-bio {
    padding: var(--spacing-xl) 0;
}

.about-bio__inner {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 64px;
    align-items: start;
}

.about-bio__label {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--lime-dark);
    margin-bottom: 12px;
}

.about-bio__content h2 {
    font-family: var(--body);
    font-size: 36px;
    font-weight: 500;
    color: var(--blue-deep);
    letter-spacing: -0.8px;
    margin-bottom: 20px;
    line-height: 1.15;
}

.about-bio__content p {
    font-size: 15px;
    color: var(--text-mid);
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 16px;
}

.about-bio__credentials {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.about-bio__credentials li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-mid);
    font-weight: 300;
}

.about-bio__credentials li::before {
    content: '';
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    background: var(--lime);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 10px;
    background-position: center;
    background-repeat: no-repeat;
}

/* Photo column */
.about-bio__image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: var(--blue-pale);
    position: sticky;
    top: 88px;
}

.about-bio__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.about-bio__image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--blue-pale);
}


/* ── THE BUSINESS SECTION ────────────────────────────────────── */

.about-business {
    padding: var(--spacing-xl) 0;
}

.about-business__inner {
    display: grid;
    grid-template-columns: 480px 1fr;
    gap: 64px;
    align-items: start;
}

.about-business__label {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--lime-dark);
    margin-bottom: 12px;
}

.about-business__content h2 {
    font-family: var(--body);
    font-size: 32px;
    font-weight: 500;
    color: var(--blue-deep);
    letter-spacing: -0.7px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-business__content p {
    font-size: 15px;
    color: var(--text-mid);
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 16px;
}

.about-business__cta {
    display: flex;
    gap: 12px;
    margin-top: 28px;
    flex-wrap: wrap;
}

/* Photo column */
.about-business__image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--blue-pale);
}

.about-business__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.about-business__image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--blue-pale);
}


/* ── CREDENTIALS GRID ────────────────────────────────────────── */

.about-credentials {
    padding: var(--spacing-xl) 0;
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 8px;
}

.credential-card {
    background: var(--white);
    border: 1px solid var(--light);
    border-radius: var(--radius-lg);
    padding: 28px 26px;
}

.credential-card__icon {
    width: 48px;
    height: 48px;
    background: var(--blue-pale);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.credential-card__icon svg {
    stroke: var(--blue);
}

.credential-card h3 {
    font-family: var(--body);
    font-size: 16px;
    font-weight: 500;
    color: var(--blue-deep);
    margin-bottom: 8px;
    letter-spacing: -0.2px;
}

.credential-card p {
    font-size: 13px;
    color: var(--text-mid);
    line-height: 1.75;
    font-weight: 300;
    margin: 0;
}


/* ── SECTION HEADER ──────────────────────────────────────────── */

.about-page .section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 40px;
}

.about-page .section-header h2 {
    font-family: var(--body);
    font-size: 34px;
    font-weight: 500;
    color: var(--blue-deep);
    letter-spacing: -0.7px;
    margin-bottom: 12px;
}

.about-page .section-header--light h2 {
    color: white;
}

.about-page .section-header--light p {
    color: rgba(255, 255, 255, 0.8);
}

.about-page .section-header p {
    font-size: 15px;
    color: var(--text-mid);
    line-height: 1.75;
    font-weight: 300;
    margin: 0;
}


/* ── RESPONSIVE ──────────────────────────────────────────────── */

@media (max-width: 1024px) {

    .about-bio__inner {
        grid-template-columns: 1fr 340px;
        gap: 40px;
    }

    .about-business__inner {
        grid-template-columns: 380px 1fr;
        gap: 40px;
    }

    .credentials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .about-bio__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Move image above content on mobile */
    .about-bio__image {
        order: -1;
        aspect-ratio: 4 / 3;
        position: static;
    }

    .about-business__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-business__image {
        order: -1;
    }

    .credentials-grid {
        grid-template-columns: 1fr;
    }

    .about-bio__content h2 {
        font-size: 28px;
    }

    .about-business__content h2 {
        font-size: 26px;
    }

    .about-page .section-header h2 {
        font-size: 26px;
    }

    .about-business__cta {
        flex-direction: column;
    }

    .about-business__cta .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {

    .credentials-grid {
        grid-template-columns: 1fr;
    }
}
