/* About subpages — masthead (shared) */
.about-page-masthead {
    position: relative;
    overflow: hidden;
    padding: 3rem 0 3.25rem;
    margin-bottom: 0;
    color: #fff;
}

@media (min-width: 992px) {
    .about-page-masthead {
        padding: 3.75rem 0 4rem;
    }
}

.about-page-masthead__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(128deg, rgba(15, 40, 71, 0.98) 0%, rgba(22, 33, 62, 0.96) 42%, rgba(30, 58, 95, 0.93) 100%),
        radial-gradient(ellipse 75% 50% at 100% 0%, rgba(214, 158, 46, 0.2), transparent 52%),
        radial-gradient(ellipse 45% 40% at 0% 100%, rgba(59, 130, 246, 0.12), transparent 50%);
}

.about-page-masthead__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 40h40V0H0v40zm1-1V1h38v38H1z' fill='%23fff' fill-opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
}

.about-page-masthead .container.position-relative {
    z-index: 1;
}

.about-page-masthead__crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.45rem;
    list-style: none;
    padding: 0;
    margin: 0 0 1.15rem;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
}

.about-page-masthead__crumb a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    transition: color 0.2s ease;
}

.about-page-masthead__crumb a:hover {
    color: #fff;
}

.about-page-masthead__crumb li:last-child {
    color: rgba(255, 255, 255, 0.52);
}

.about-page-masthead__sep {
    opacity: 0.45;
    user-select: none;
}

.about-page-masthead__badge {
    display: inline-block;
    margin: 0 0 0.65rem;
    padding: 0.32rem 0.85rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    backdrop-filter: blur(6px);
}

.about-page-masthead__title {
    margin: 0 0 0.85rem;
    font-size: clamp(1.85rem, 4vw, 2.65rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.about-page-masthead__lead {
    margin: 0;
    max-width: 38rem;
    font-size: 1.02rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.86);
}

main.sai-prose-justify .about-page-masthead__lead {
    text-align: left;
}

/* Shared body shell (overview, vision-mission, leadership) */
.about-subpage__body {
    padding: 2.5rem 0 4rem;
    background: linear-gradient(180deg, #eef2f7 0%, #f5f7fb 14rem, #fafbfc 100%);
}

main.sai-prose-justify .about-subpage__body p {
    text-align: left;
    text-justify: auto;
}

.about-subpage__body--leadership {
    padding-top: 2rem;
}

/* Leadership / shared intro card */
.vm-intro-card {
    position: relative;
    margin-bottom: 2.5rem;
    padding: 1.75rem 1.5rem 1.85rem;
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(15, 40, 71, 0.07);
    box-shadow:
        0 2px 4px rgba(15, 40, 71, 0.04),
        0 18px 44px rgba(15, 40, 71, 0.09);
    overflow: hidden;
}

.vm-intro-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1d4ed8 0%, #d69e2e 55%, #b45309 100%);
    border-radius: 20px 20px 0 0;
}

@media (min-width: 768px) {
    .vm-intro-card {
        padding: 2rem 2.25rem 2.1rem;
    }
}

.vm-intro-card .about-subnav {
    margin-bottom: 1.5rem;
    justify-content: flex-start;
}

.vm-intro-card__title.section-title span {
    margin-bottom: 0.35rem;
}

.vm-intro-card__title.section-title h2 {
    margin-bottom: 0;
    font-size: clamp(1.65rem, 3.5vw, 2.15rem);
    line-height: 1.18;
    letter-spacing: -0.03em;
}

.vm-intro-card__lead {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.65;
    color: #475569;
}

@media (min-width: 992px) {
    .vm-intro-card__lead {
        text-align: right;
        padding-left: 1rem;
    }
}

main.sai-prose-justify .vm-intro-card__lead {
    text-align: left;
}

@media (min-width: 992px) {
    main.sai-prose-justify .vm-intro-card__lead {
        text-align: right;
    }
}

/* About sub-page nav pills */
.about-subnav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.about-subnav__link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    border-radius: 999px;
    border: 1px solid rgba(15, 40, 71, 0.1);
    background: #fff;
    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.about-subnav__link:hover {
    color: #0f2847;
    border-color: rgba(214, 158, 46, 0.45);
    box-shadow: 0 4px 14px rgba(15, 40, 71, 0.08);
}

.about-subnav__link.is-active {
    color: #fff;
    background: linear-gradient(135deg, #0f2847 0%, #1e3a5f 100%);
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(15, 40, 71, 0.2);
}

/* —— Overview —— */
.overview-split {
    align-items: stretch;
}

.overview-media {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(165deg, #e2e8f0 0%, #f1f5f9 100%);
    border: 1px solid rgba(15, 40, 71, 0.08);
    box-shadow:
        0 4px 6px rgba(15, 40, 71, 0.05),
        0 18px 40px rgba(15, 40, 71, 0.1);
    min-height: 280px;
}

.overview-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 320px;
}

@media (min-width: 992px) {
    .overview-media img {
        min-height: 100%;
    }
}

.overview-content {
    position: relative;
    height: 100%;
    background: #fff;
    border-radius: 16px;
    padding: 2rem 1.85rem 2rem 1.9rem;
    border: 1px solid rgba(15, 40, 71, 0.07);
    box-shadow:
        0 2px 4px rgba(15, 40, 71, 0.04),
        0 14px 36px rgba(15, 40, 71, 0.08);
}

.overview-content::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    border-radius: 16px 0 0 16px;
    background: linear-gradient(180deg, #d69e2e 0%, #b45309 100%);
}

.overview-content__inner {
    position: relative;
    z-index: 1;
}

.overview-content .overview-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.overview-content h2 {
    margin: 0 0 1.25rem;
    font-size: clamp(1.5rem, 3vw, 1.85rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f2847;
    line-height: 1.2;
}

.overview-content p {
    margin: 0 0 1rem;
    font-size: 1.02rem;
    line-height: 1.7;
    color: #334155;
}

.overview-content p:last-of-type {
    margin-bottom: 1.5rem;
}

.overview-content a {
    color: #b45309;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(180, 83, 9, 0.35);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.overview-content a:hover {
    color: #92400e;
    border-bottom-color: rgba(146, 64, 14, 0.6);
}

/* —— Leadership / CEO message —— */
.leadership-ceo-card {
    position: relative;
    max-width: 52rem;
    margin: 0 auto;
    background: #fff;
    border-radius: 18px;
    padding: 2.25rem 1.75rem 2rem;
    border: 1px solid rgba(15, 40, 71, 0.08);
    box-shadow:
        0 4px 6px rgba(15, 40, 71, 0.04),
        0 22px 50px rgba(15, 40, 71, 0.1);
    overflow: hidden;
}

@media (min-width: 768px) {
    .leadership-ceo-card {
        padding: 2.75rem 2.5rem 2.25rem;
    }
}

.leadership-ceo-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #1d4ed8 0%, #d69e2e 50%, #b45309 100%);
}

.leadership-ceo-card__quote {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    line-height: 1;
    color: rgba(15, 40, 71, 0.06);
    font-family: Georgia, serif;
    pointer-events: none;
}

.leadership-ceo-card .ceo-message p {
    margin: 0 0 1.1rem;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #334155;
    position: relative;
    z-index: 1;
}

.leadership-ceo-card .ceo-message p.fw-semibold {
    margin-bottom: 0;
    font-size: 1.1rem;
    color: #0f2847;
}

.leadership-ceo-card .ceo-message footer {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(15, 40, 71, 0.1);
    position: relative;
    z-index: 1;
}

.leadership-ceo-card .ceo-message footer p {
    margin: 0 0 0.2rem;
    font-size: 1rem;
}

.leadership-ceo-card .ceo-message footer p.fw-semibold {
    font-size: 1.15rem;
    color: #0f2847;
    margin-bottom: 0.35rem;
}

.leadership-ceo-card .ceo-message footer .text-muted {
    color: #64748b !important;
    font-size: 0.95rem;
}
