/**
 * About — scoped to body.page-about
 */

.page-about {
    --ab-ink: #1c1917;
    --ab-copy: #3f3a36;
    --ab-muted: #6b645c;
    --ab-rule: #e6e1da;
    --ab-mist: #eef2f0;
    --ab-deep: #20383b;
    --ab-deep-text: #f4f7f6;
    --ab-deep-muted: rgba(244, 247, 246, 0.82);
    --ab-pad: clamp(1.25rem, 4vw, 2rem);
    --ab-space: clamp(3.25rem, 6vw, 5rem);
    background: #fff;
    color: var(--ab-ink);
}

body.page-about main.content-doc {
    background: #fff;
}

body.page-about main.content-doc > section {
    padding: var(--ab-space) 0;
    background: #fff;
    scroll-margin-top: 0.75rem;
}

body.page-about main.content-doc > section.ab-section--mist {
    background: var(--ab-mist);
}

body.page-about main.content-doc > section.ab-cta {
    background: var(--ab-deep);
    color: var(--ab-deep-text);
}

.page-about .ab-wrap {
    width: min(1400px, 100%);
    margin: 0 auto;
    padding-left: var(--ab-pad);
    padding-right: var(--ab-pad);
}

.page-about .content-doc__section {
    margin-bottom: 0;
    padding-bottom: var(--ab-space);
    border-bottom: none;
}

.page-about .content-doc__section:last-child {
    margin-bottom: 0;
    padding-bottom: var(--ab-space);
}

.page-about h1,
.page-about h2,
.page-about h3 {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: -0.02em;
    color: inherit;
}

.page-about .ab-chapter {
    margin: 0 0 1.5rem;
}

.page-about .ab-chapter h2 {
    margin: 0;
    font-style: italic;
    font-size: clamp(2.15rem, 4vw, 3.25rem);
    line-height: 1.08;
    color: var(--ab-ink);
}

.page-about .ab-chapter h2::after {
    display: none;
}

.page-about h3 {
    margin: 0 0 0.5rem;
    font-style: normal;
    font-size: clamp(1.35rem, 2vw, 1.65rem);
    line-height: 1.2;
    color: var(--ab-ink);
}

.page-about .ab-feature h3 {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
}

.page-about p {
    margin: 0 0 0.85rem;
    max-width: 40rem;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--ab-copy);
}

.page-about .ab-kicker {
    margin: 0 0 0.4rem;
    max-width: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ab-copy);
}

.page-about figure {
    margin: 0;
}

.page-about img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    transform: none;
}

/* Hero */
body.page-about .about-hero {
    display: block;
    position: relative;
    isolation: isolate;
    width: 100%;
    margin-top: var(--header-height);
    min-height: 0 !important;
    height: auto;
    max-height: none;
    overflow: hidden;
    padding: 0 !important;
    color: #fff;
    background: #10181c;
    border-bottom: none;
}

.page-about .about-hero__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(90deg, rgba(16, 24, 28, 0.82) 0%, rgba(16, 24, 28, 0.55) 48%, rgba(16, 24, 28, 0.28) 100%),
        url("../../assets/img/about-hero-consultation.jpg") center / cover no-repeat;
}

.page-about .about-hero > .container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    width: min(1400px, 100%);
    max-width: 1400px;
    min-height: 22rem;
    height: auto;
    margin: 0 auto;
    padding: clamp(1.5rem, 4vw, 2.5rem) var(--ab-pad);
}

.page-about .about-hero__copy.reveal {
    opacity: 1;
    transform: none;
}
    display: grid;
    grid-template-columns: minmax(0, 38rem);
}

.page-about .about-hero .section-label {
    color: rgba(255, 255, 255, 0.82);
}

.page-about .about-hero__copy h1 {
    max-width: 22rem;
    margin: 0 0 0.85rem;
    font-style: italic;
    font-size: clamp(2.15rem, 4.4vw, 3.5rem);
    line-height: 1.08;
    color: #fff;
}

.page-about .about-hero__lead {
    max-width: 36rem;
    margin: 0 0 1rem;
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.page-about .about-hero__meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem 1.25rem;
    margin: 0;
    padding: 1rem 0 0;
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.page-about .about-hero__meta li {
    margin: 0;
    font-size: 16px;
    color: #fff;
}

.page-about .about-hero__meta-label {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
}

/* Mission feature */
.page-about .ab-feature {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(1.5rem, 4vw, 3.25rem);
    align-items: center;
    margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
}

.page-about .ab-feature--flip {
    margin-bottom: 0;
}

.page-about .ab-feature--flip .ab-feature__media {
    order: -1;
}

.page-about .ab-feature__copy,
.page-about .ab-feature__media {
    min-width: 0;
}

.page-about .ab-feature__media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #1c1917;
    border-radius: 0;
}

.page-about .ab-feature__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-about .ab-feature p:last-of-type {
    margin-bottom: 0;
}

.page-about .ab-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem 1.25rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--ab-rule);
}

.page-about .ab-stats__value {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 2.6rem);
    line-height: 1.05;
    color: var(--ab-ink);
}

.page-about .ab-stats__label {
    margin: 0.3rem 0 0;
    font-size: 16px;
    color: var(--ab-copy);
}

/* What we do */
.page-about .ab-rows {
    margin: 0;
    padding: 0;
    list-style: none;
}

.page-about .ab-rows > li {
    display: grid;
    grid-template-columns: minmax(10rem, 14rem) minmax(0, 1fr);
    gap: 1rem 1.75rem;
    align-items: center;
    padding: 1.05rem 0;
    border-top: 1px solid var(--ab-rule);
}

.page-about .ab-rows > li:last-child {
    border-bottom: 1px solid var(--ab-rule);
}

.page-about .ab-rows figure {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #1c1917;
}

.page-about .ab-rows img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-about .ab-rows p:last-child {
    margin-bottom: 0;
}

/* Leadership */
.page-about .ab-people {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.page-about .ab-people li {
    min-width: 0;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.page-about .ab-people figure {
    margin-bottom: 0.9rem;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #1c1917;
}

.page-about .ab-people img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
}

.page-about .ab-people p:last-child {
    margin-bottom: 0;
}

/* Journey */
.page-about .ab-journey {
    margin: 0;
    padding: 0;
    list-style: none;
}

.page-about .ab-journey > li {
    display: grid;
    grid-template-columns: 5.5rem minmax(0, 1fr) minmax(11rem, 16rem);
    gap: 0.85rem 1.75rem;
    align-items: start;
    padding: 1.15rem 0;
    border-top: 1px solid var(--ab-rule);
}

.page-about .ab-journey > li:last-child {
    border-bottom: 1px solid var(--ab-rule);
}

.page-about .ab-journey__year {
    margin: 0;
    max-width: none;
    font-family: var(--font-display);
    font-size: 1.35rem;
    line-height: 1.2;
    color: var(--ab-ink);
}

.page-about .ab-journey figure {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #1c1917;
}

.page-about .ab-journey img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-about .ab-journey p:last-child {
    margin-bottom: 0;
}

/* Partnerships */
.page-about .ab-partner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
}

.page-about .ab-partner__copy,
.page-about .ab-partner__media {
    min-width: 0;
}

.page-about .ab-partner__copy p {
    max-width: none;
}

.page-about .ab-partner__media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #1c1917;
}

.page-about .ab-partner__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CTA */
.page-about .ab-cta p {
    max-width: 36rem;
    margin: 0 0 1.35rem;
    color: var(--ab-deep-muted);
}

.page-about .about-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
}

.page-about .ab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.7rem 1.35rem;
    border: 1px solid var(--ab-deep-text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-decoration: none;
    border-radius: 0;
    box-shadow: none;
}

.page-about .ab-btn--light {
    background: var(--ab-deep-text);
    color: var(--ab-deep);
}

.page-about .ab-btn--ghost {
    background: transparent;
    color: var(--ab-deep-text);
}

.page-about .ab-btn--light:hover,
.page-about .ab-btn--light:focus-visible {
    background: #fff;
    border-color: #fff;
    color: var(--ab-deep);
}

.page-about .ab-btn--ghost:hover,
.page-about .ab-btn--ghost:focus-visible {
    background: rgba(244, 247, 246, 0.12);
}

.page-about a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

@media (max-width: 992px) {
    body.page-about .about-hero {
        display: flex;
        flex-direction: column;
        height: auto;
        max-height: none;
        overflow: visible;
    }

    .page-about .about-hero__photo {
        position: relative;
        inset: auto;
        flex: 0 0 auto;
        height: min(42vh, 18rem);
        background:
            linear-gradient(180deg, rgba(16, 24, 28, 0.12) 0%, rgba(16, 24, 28, 0.2) 100%),
            url("../../assets/img/about-hero-consultation.jpg") center / cover no-repeat;
    }

    .page-about .about-hero > .container {
        flex: 1 1 auto;
        height: auto;
        padding: 1.5rem var(--ab-pad) 2rem;
    }

    .page-about .about-hero__copy h1 {
        max-width: none;
    }

    .page-about .about-hero__meta {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1100px) {
    .page-about .ab-people {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .page-about .ab-feature,
    .page-about .ab-feature--flip,
    .page-about .ab-rows > li,
    .page-about .ab-people,
    .page-about .ab-journey > li,
    .page-about .ab-partner {
        grid-template-columns: minmax(0, 1fr);
    }

    .page-about .ab-feature--flip .ab-feature__media {
        order: 0;
    }

    .page-about .ab-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .page-about .ab-rows figure,
    .page-about .ab-journey figure {
        max-width: 22rem;
    }
}

@media (max-width: 576px) {
    .page-about .ab-stats {
        grid-template-columns: 1fr;
    }

    .page-about .about-cta__actions {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 768px) {
    body.page-about main.content-doc > section {
        padding: clamp(2.5rem, 8vw, 3.25rem) 0;
    }
}
