/* About Us — buyer/investor advisory refresh */

.about-page {
    --about-navy: #0c1f33;
    --about-charcoal: #141c28;
    --about-hero-min: clamp(420px, 72vh, 640px);
    --about-section-pad: clamp(3.75rem, 6vw, 5.5rem);
    --about-metrics-overlap: 3.5rem;
    overflow-x: hidden;
}

/* Consistent gap between sections (one unit each — avoids doubled top+bottom padding) */
.about-page > section {
    padding-top: 0;
    padding-bottom: var(--about-section-pad);
}

.about-page > section:last-child {
    padding-bottom: clamp(4rem, 6vw, 5.5rem);
}

/*
 * Heading scale + spacing (overrides global h2 55px / h3 48px and fixes margin-bottom: 0 bugs)
 */
.about-page h1,
.about-page h2,
.about-page h3,
.about-page h4 {
    font-family: "Archivo", serif;
    font-weight: 700;
    line-height: 1.25;
    color: var(--heading-text, #111116);
    position: static;
    top: auto;
    z-index: auto;
}

.about-page h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.about-page h3 {
    font-size: clamp(1.125rem, 2vw, 1.3125rem);
    line-height: 1.35;
    margin-top: 1.125rem;
    margin-bottom: 1rem;
}

/* First heading in a block — no extra top margin (section padding handles it) */
.about-page .about-manifesto__copy > h2:first-child,
.about-page .about-verification__copy > h2:first-child,
.about-hero .about-hero__title {
    margin-top: 0;
}

.about-page h4 {
    font-size: 0.9375rem;
    line-height: 1.4;
    margin-bottom: 0.625rem;
}

/* Icon → title → body rhythm inside cards */
.about-page .about-blueprint__icon + h3,
.about-page .about-pathway__icon + h3 {
    margin-top: 0;
}

.about-page h2 + p,
.about-page h3 + p {
    margin-top: 0;
}

.about-section-heading {
    text-align: center;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 720px;
}

.about-manifesto__copy h2 {
    font-size: clamp(1.5rem, 3vw, 2.125rem);
    margin-bottom: 1.5rem;
}

.about-verification__copy h2 {
    color: #fff !important;
    font-size: clamp(1.45rem, 3vw, 2rem);
    margin-bottom: 1.5rem;
}

.about-pathways__title {
    font-size: clamp(1.5rem, 3.5vw, 2.125rem);
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 36rem;
}

.about-social h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.about-portal-mock__card h4 {
    color: #fff;
    margin: 0 0 0.5rem;
}

/* --- Section 1: Hero --- */
.about-hero {
    position: relative;
    min-height: var(--about-hero-min);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding-top: calc(5.5rem + 72px);
    padding-bottom: calc(var(--about-section-pad) + var(--about-metrics-overlap) + 1rem);
    overflow: hidden;
}

.about-hero__media {
    position: absolute;
    inset: 0;
    background:
        url('../../images/hero-banner.png') center center / cover no-repeat;
    transform: scale(1.04);
    filter: contrast(1.12) saturate(0.88) sepia(0.18) brightness(0.92);
    background-position: center bottom;
}

.about-hero__media::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.45);
}

.about-hero__media::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(8, 18, 32, 0.55) 0%,
        rgba(8, 18, 32, 0.72) 45%,
        rgba(0, 40, 72, 0.88) 100%
    );
    z-index: 1;
}

.about-hero__grain {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0.35;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
}

.about-hero .container {
    position: relative;
    z-index: 3;
    max-width: 920px;
}

.about-hero__title {
    font-family: "Archivo", serif;
    font-weight: 700;
    font-size: clamp(1.65rem, 4.2vw, 2.75rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 1.25rem;
    color: #fff !important;
    text-shadow: 0 2px 28px rgba(0, 0, 0, 0.35);
}

.about-hero__lead {
    max-width: 780px;
    margin: 0 auto 1.75rem;
}

.about-hero__lead p {
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 1rem;
}

.about-hero__lead p:last-child {
    margin-bottom: 0;
}

.about-hero__cta.btnExplore {
    padding: 0.85rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    background-color: #fff;
    color: var(--blue-color, #005395);
    border-color: #fff;
}

.about-hero__cta.btnExplore:hover,
.about-hero__cta.btnExplore:focus {
    background-color: var(--orange-color, #de773e);
    border-color: var(--orange-color, #de773e);
    color: #fff;
}

/* --- Section 2: Trust metrics bar --- */
.about-metrics {
    position: relative;
    z-index: 5;
    margin-top: calc(-1 * var(--about-metrics-overlap));
    padding-top: 0;
    padding-bottom: var(--about-section-pad);
}

.about-metrics__inner {
    background: var(--white-color, #fff);
    border-radius: 16px;
    box-shadow: 0 18px 48px rgba(0, 40, 72, 0.12);
    border: 1px solid var(--border-color, #e8edf2);
    padding: 1.75rem 1.25rem;
}

.about-metrics__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
}

@media (min-width: 768px) {
    .about-metrics__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
}

.about-metric {
    text-align: center;
    padding: 0.5rem 0.35rem;
}

.about-metric__value {
    display: block;
    font-family: "Inter-Bold", "Archivo", sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--blue-color, #005395);
    line-height: 1.1;
    margin-bottom: 0.35rem;
}

.about-metric__label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-color, #5c6570);
    line-height: 1.35;
    max-width: 11rem;
    margin: 0 auto;
}

/* --- Section 3: Manifesto --- */
.about-manifesto {
    background: var(--white-color, #fff);
}

.about-manifesto__row {
    align-items: center;
}

.about-manifesto__copy p {
    font-size: 1.0625rem;
    line-height: 1.85;
    color: var(--gray-color, #5c6570);
    margin-bottom: 1rem;
}

.about-manifesto__copy p:last-child {
    margin-bottom: 0;
}

.about-manifesto__visual {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 40, 72, 0.14);
    aspect-ratio: 4 / 5;
    max-height: 520px;
    margin-top: 2rem;
}

@media (min-width: 992px) {
    .about-manifesto__visual {
        margin-top: 0;
    }
}

.about-manifesto__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.06) saturate(1.05) sepia(0.08);
}

.about-manifesto__visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, transparent 40%, rgba(0, 40, 72, 0.15) 100%);
    pointer-events: none;
}

/* --- Section 4: Blueprint grid --- */
.about-blueprint {
    background: var(--offwhite-color, #f6f8fa);
}

.about-blueprint__head {
    padding-top: 0.5rem;
    margin-bottom: 2.75rem;
}

.about-blueprint__card {
    background: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.about-blueprint__card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 83, 149, 0.35);
    box-shadow: 0 14px 36px rgba(0, 83, 149, 0.1);
}

.about-blueprint__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    background: var(--light-blue, #e8f4fc);
    color: var(--blue-color);
    font-size: 1.35rem;
}

.about-blueprint__card p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--gray-color);
    margin: 0;
}

.about-blueprint__card h3 {
    margin-bottom: 0.875rem;
}

/* --- Section 5: Verification (dark) --- */
.about-verification {
    background: linear-gradient(160deg, var(--about-navy) 0%, var(--about-charcoal) 55%, #0a2540 100%);
    color: #fff;
}

.about-verification__row {
    align-items: center;
}

.about-verification__copy p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 1.5rem;
}

.about-verification__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    padding: 0.75rem 1.35rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.about-verification__link:hover {
    color: #fff;
    background: var(--blue-color);
    border-color: var(--blue-color);
    transform: translateY(-2px);
}

/* Dashboard mockup */
.about-portal-mock {
    margin-top: 2.5rem;
    background: #1a2638;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}

@media (min-width: 992px) {
    .about-portal-mock {
        margin-top: 0;
    }
}

.about-portal-mock__chrome {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.65rem 1rem;
    background: rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.about-portal-mock__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.about-portal-mock__dot:nth-child(1) { background: #ff6b6b; }
.about-portal-mock__dot:nth-child(2) { background: #ffd93d; }
.about-portal-mock__dot:nth-child(3) { background: #6bcb77; }

.about-portal-mock__title {
    margin-left: 0.5rem;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.04em;
}

.about-portal-mock__body {
    padding: 1.25rem;
}

.about-portal-mock__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #7ee787;
    background: rgba(46, 160, 67, 0.18);
    border: 1px solid rgba(126, 231, 135, 0.35);
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.about-portal-mock__card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 0.75rem;
}

.about-portal-mock__card p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
    line-height: 1.5;
}

.about-portal-mock__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.about-portal-mock__pill {
    font-size: 0.65rem;
    padding: 0.3rem 0.55rem;
    border-radius: 6px;
    background: rgba(0, 131, 255, 0.15);
    color: #7ec8ff;
    border: 1px solid rgba(126, 200, 255, 0.25);
}

.about-portal-mock__pill--aws {
    background: rgba(255, 153, 0, 0.12);
    color: #ffb84d;
    border-color: rgba(255, 184, 77, 0.3);
}

.about-portal-mock__btn {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.65rem;
    border-radius: 8px;
    background: rgba(0, 83, 149, 0.45);
    color: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.about-portal-mock__btn--active {
    background: var(--blue-color);
    color: #fff;
    border-color: rgba(126, 200, 255, 0.45);
    box-shadow: 0 0 0 1px rgba(126, 200, 255, 0.25), 0 8px 20px rgba(0, 83, 149, 0.45);
}

/* --- Section 6: Split CTA --- */
.about-pathways {
    background: linear-gradient(180deg, var(--offwhite-color, #f6f8fa) 0%, var(--white-color) 28%);
}

.about-pathways__intro {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto;
    padding: 0.5rem 0.5rem 0;
}

.about-pathway {
    height: 100%;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem 1.75rem;
    background: linear-gradient(180deg, #fff 0%, var(--offwhite-color) 100%);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.about-pathway:hover {
    border-color: rgba(0, 83, 149, 0.4);
    box-shadow: 0 12px 32px rgba(0, 83, 149, 0.1);
}

.about-pathway--developer,
.about-pathway--buyer {
    border-top: 4px solid var(--blue-color);
}

.about-pathway__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.125rem;
    background: var(--light-blue);
    color: var(--blue-color);
}

.about-pathway__title {
    margin-bottom: 0.875rem;
}

.about-pathway p {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--gray-color);
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.about-pathway__cta.btnExplore {
    align-self: flex-start;
    width: 100%;
    min-width: 12.5rem;
    text-align: center;
    font-weight: 600;
    border-radius: 10px;
    padding: 0.85rem 1.5rem;
    color: var(--blue-color, #005395);
    background-color: transparent;
}

.about-pathway__cta.btnExplore:hover,
.about-pathway__cta.btnExplore:focus {
    color: var(--blue-color, #005395);
    background-color: #de773e1a;
    border-color: var(--orange-color, #de773e);
}

@media (min-width: 576px) {
    .about-pathway__cta.btnExplore {
        width: auto;
    }
}

/* Social strip (kept light) */
.about-social {
    background: var(--offwhite-color);
    text-align: center;
}

.about-social .container {
    padding-top: 0.5rem;
}


.about-social p {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
}

.about-social__links {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-social__links a {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    color: var(--blue-color);
    font-size: 1.15rem;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.about-social__links a:hover {
    background: var(--blue-color);
    color: #fff;
    border-color: var(--blue-color);
    transform: translateY(-3px);
}
