/*
 * UPOA SACCO human design pass.
 * Content, typography and institutional structure lead the visual system.
 */

.hero-human {
    padding: 0;
    background: #071f3f;
}

.hero-human::before {
    background:
        linear-gradient(90deg, rgba(7, 31, 63, .98), rgba(7, 31, 63, .92)),
        url(../images/knowledge-weave.svg) right center / 420px auto no-repeat;
}

.hero-human .hero-pattern {
    display: none;
}

.hero-human-inner {
    position: relative;
    z-index: 1;
    min-height: 440px;
    display: grid;
    place-items: center;
    padding: 66px 0 72px;
    text-align: center;
}

.hero-human .hero-copy {
    width: min(100%, 880px);
}

.hero-human .eyebrow,
.section-head-centered .eyebrow,
.intro-human .eyebrow,
.partner-heading .eyebrow {
    margin-inline: auto;
}

.hero-human h1 {
    max-width: 900px;
    margin-inline: auto;
    font-size: clamp(48px, 6vw, 78px);
    line-height: 1.02;
}

.hero-human .hero-lead {
    max-width: 740px;
    margin: 22px auto 0;
    font-size: 18px;
}

.hero-human .button-row {
    justify-content: center;
    margin-top: 28px;
}

.clean-link,
.hero-human .text-link {
    display: inline-block;
    padding-bottom: 3px;
    border-bottom: 1px solid currentColor;
    font-size: 13px;
    font-weight: 750;
}

.clean-link:hover,
.hero-human .text-link:hover {
    color: var(--green);
}

.hero-human .text-link.light:hover,
.flagships .clean-link:hover {
    color: var(--gold);
}

.hero-principles {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    color: var(--navy);
    border-bottom: 4px solid var(--green);
    box-shadow: 0 12px 35px rgba(7, 31, 63, .13);
}

.hero-principles > div {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 20px;
    border-right: 1px solid var(--line);
    text-align: center;
}

.hero-principles > div:last-child {
    border-right: 0;
}

.hero-principles svg,
.sample-logos svg {
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    fill: none;
    stroke: var(--green);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-principles span {
    font-size: 12px;
    font-weight: 750;
}

.section-head-centered,
.partner-heading.section-head-centered {
    display: block;
    max-width: 900px;
    margin: 0 auto 44px;
    text-align: center;
}

.section-head-centered > div,
.section-head-centered h2,
.partner-heading.section-head-centered h2 {
    max-width: none;
}

.section-head-centered .text-link {
    margin-top: 20px;
}

.intro {
    padding: 92px 0;
}

.intro-human {
    max-width: 970px;
    text-align: center;
}

.intro-human h2 {
    max-width: 830px;
    margin-inline: auto;
}

.intro-human .lead {
    max-width: 790px;
    margin: 25px auto 24px;
    font-size: 18px;
}

.pathway-icons {
    grid-template-columns: repeat(7, 1fr);
    border: 0;
    background: transparent;
    gap: 1px;
}

.pathway-icons li {
    min-height: 145px;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 22px 13px;
    background: #fff;
    border: 1px solid var(--line);
    text-align: center;
}

.pathway-icons li::after {
    display: none;
}

.pathway-icons li:last-child {
    background: var(--navy);
}

.pathway-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: var(--green);
}

.pathway-icon svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pathway-icons li:last-child .pathway-icon {
    color: var(--gold);
}

.pathway-icons li > span:last-child {
    font-size: 16px;
}

.pillar-grid-human .pillar-card,
.pillar-directory-card,
.knowledge-card,
.archive-card,
.update-card {
    text-align: center;
}

.pillar-grid-human .pillar-card {
    min-height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 26px;
    border-top: 4px solid var(--green);
}

.pillar-grid-human .pillar-card:nth-child(2) { border-top-color: #7a8b30; }
.pillar-grid-human .pillar-card:nth-child(3) { border-top-color: #c18425; }
.pillar-grid-human .pillar-card:nth-child(4) { border-top-color: #b94850; }
.pillar-grid-human .pillar-card:nth-child(5) { border-top-color: #27668d; }

.pillar-grid-human .pillar-icon {
    margin: 0 auto 25px;
}

.pillar-grid-human .pillar-card h3 {
    margin: 0 0 14px;
}

.pillar-grid-human .pillar-card p {
    margin: 0;
}

.pillar-grid-human .card-link {
    margin-top: auto;
}

.flagship-card {
    min-height: 0;
    padding: 0;
    background: #0d3158;
    text-align: center;
}

.flagship-card::after {
    display: none;
}

.flagship-image {
    display: block;
    aspect-ratio: 16 / 7;
    overflow: hidden;
}

.flagship-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flagship-card-body {
    padding: 34px;
}

.flagship-card .content-type {
    color: var(--gold);
}

.flagship-card h3 {
    max-width: 600px;
    margin: 10px auto 16px;
}

.flagship-card > a,
.flagship-card-body > a {
    position: static;
}

.flagship-card-body .card-link {
    margin-top: 20px;
}

.hubs-copy {
    text-align: center;
}

.hubs-copy .eyebrow,
.hubs-copy .lead {
    margin-inline: auto;
}

.map-zoom-label {
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.map-zoom:hover .map-zoom-label {
    transform: translateX(-50%);
}

.update-card {
    display: flex;
    flex-direction: column;
    min-height: 315px;
}

.update-card h3 {
    margin: 15px auto;
}

.update-card > div {
    justify-content: center;
    gap: 22px;
    margin-top: auto;
}

.partner-heading h2 {
    white-space: normal;
}

.sample-logos > div {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    filter: none;
    opacity: 1;
}

.sample-logos span {
    max-width: 130px;
}

.closing-cta .wrap {
    max-width: 900px;
}

.site-footer::before {
    opacity: .18;
}

.footer-primary-link {
    justify-content: center;
    min-width: 200px;
    padding: 15px 22px;
    border: 1px solid rgba(255, 255, 255, .28);
}

.footer-primary-link b,
.footer-link-list b,
.footer-detail b,
.site-footer .footer-column li > a::after {
    display: none !important;
}

.site-footer .footer-column li > a,
.footer-detail {
    justify-content: flex-start;
}

.site-footer .footer-column li > a:hover,
.footer-detail:hover {
    color: #fff;
}

.page-hero > .wrap {
    text-align: center;
}

.page-hero h1,
.page-hero > div > p:last-child {
    margin-inline: auto;
}

.content-layout .post-grid {
    align-items: stretch;
}

.archive-card {
    display: flex;
    flex-direction: column;
}

.archive-card .card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
}

.archive-card .text-link {
    margin-top: auto;
}

.pillar-directory-top {
    justify-content: center;
}

.pillar-directory-number {
    display: none;
}

.pillar-directory-icon {
    margin-inline: auto;
}

.pillar-directory-link {
    justify-content: center;
}

.pillar-directory-link b {
    display: none;
}

.knowledge-directory-head {
    display: block;
    max-width: 850px;
    margin-inline: auto;
    text-align: center;
}

.knowledge-directory-head h2 {
    margin: 8px auto 0;
    text-align: center;
}

.knowledge-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.knowledge-card-icon {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    margin: 0 auto 20px;
    background: #e8f1e4;
    border: 1px solid #c9dec1;
    color: var(--green);
}

.knowledge-card-icon svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.knowledge-card::before {
    left: 50%;
    top: -1px;
    width: 70px;
    height: 4px;
    transform: translateX(-50%);
}

.knowledge-card:hover::before {
    height: 4px;
}

.knowledge-card-copy > span {
    margin-inline: auto;
}

.knowledge-card-meta {
    width: 100%;
    grid-column: auto;
    justify-content: center;
}

.knowledge-card-meta b {
    display: none;
}

@media (max-width: 900px) {
    .hero-human-inner {
        min-height: 400px;
        padding: 54px 0 60px;
    }

    .hero-principles {
        grid-template-columns: 1fr 1fr;
    }

    .hero-principles > div:nth-child(2) {
        border-right: 0;
    }

    .hero-principles > div:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }

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

    .pathway-icons li:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 780px) {
    .hero-human h1 {
        font-size: clamp(42px, 12vw, 58px);
    }

    .hero-human .button-row {
        align-items: center;
    }

    .section-head-centered {
        margin-bottom: 34px;
    }

    .map-zoom-label {
        left: 50%;
    }
}

@media (max-width: 520px) {
    .hero-human-inner {
        min-height: auto;
        padding: 46px 0 50px;
    }

    .hero-human .hero-lead {
        font-size: 16px;
    }

    .hero-principles {
        grid-template-columns: 1fr;
    }

    .hero-principles > div {
        min-height: 64px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .hero-principles > div:last-child {
        border-bottom: 0;
    }

    .pathway-icons {
        grid-template-columns: 1fr;
    }

    .pathway-icons li:last-child {
        grid-column: auto;
    }

    .flagship-card-body {
        padding: 27px 22px;
    }

    .map-zoom-label {
        width: max-content;
        max-width: calc(100% - 28px);
        white-space: normal;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pillar-card,
    .flagship-card,
    .archive-card,
    .knowledge-card {
        transform: none !important;
    }
}

/* Homepage editorial refinement, version 2.0.1. */
.nav-cta {
    flex: 0 0 auto;
    white-space: nowrap;
}

.upoa-front .section h2,
.upoa-front .closing-cta h2,
.upoa-front .partner-heading h2 {
    font-size: clamp(34px, 3.3vw, 40px);
    line-height: 1.1;
}

.hero-editorial {
    padding: 0;
    background: var(--navy);
}

.hero-editorial::before,
.hero-editorial::after {
    display: none;
}

.hero-editorial-grid {
    width: min(100%, 1440px);
    min-height: 430px;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(480px, 1.1fr);
    align-items: stretch;
}

.hero-editorial .hero-copy {
    position: relative;
    z-index: 2;
    align-self: center;
    max-width: 610px;
    padding: 62px 52px 66px max(24px, calc((100vw - var(--wrap)) / 2));
}

.hero-editorial h1 {
    max-width: 600px;
    font-size: clamp(46px, 5vw, 64px);
}

.hero-editorial .hero-lead {
    max-width: 570px;
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.7;
}

.hero-editorial .button-row {
    justify-content: flex-start;
    margin-top: 27px;
}

.hero-editorial-media {
    position: relative;
    min-height: 430px;
    overflow: hidden;
}

.hero-editorial-media::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0 auto 0 0;
    width: 24%;
    background: linear-gradient(90deg, var(--navy), transparent);
}

.hero-editorial-media picture {
    display: block;
    height: 100%;
}

.hero-editorial-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
    object-position: center;
}

.home-intro-model {
    padding: 78px 0 72px;
    background: #fff;
}

.home-intro-model::after {
    display: none;
}

.home-intro-model-grid {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: 74px;
    align-items: start;
}

.home-intro-copy,
.home-model-copy {
    text-align: left;
}

.home-intro-copy {
    max-width: 510px;
}

.home-intro-copy .lead {
    margin: 21px 0 18px;
    font-size: 17px;
    line-height: 1.75;
}

.home-model-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 23px 0 0;
    padding: 0;
    list-style: none;
}

.home-model-grid li {
    min-height: 116px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 17px 13px;
    border-top: 3px solid var(--green);
    background: #edf4eb;
    text-align: center;
}

.home-model-icon {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    color: var(--green);
}

.home-model-icon svg {
    width: 29px;
    height: 29px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-model-grid strong {
    color: var(--navy);
    font-family: Antonio, Georgia, serif;
    font-size: 17px;
    line-height: 1.2;
}

.home-model-note {
    margin: 15px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.pillar-grid-human {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.home-pillars {
    padding: 70px 0 78px;
    background: var(--mist);
    border-top: 1px solid var(--line);
}

.home-pillars .section-head-centered {
    margin-bottom: 34px;
}

.pillar-grid-human .pillar-card:nth-child(n) {
    grid-column: auto;
}

.pillar-grid-human .pillar-card {
    min-height: 300px;
    padding: 28px 18px 24px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(7, 31, 63, .07);
}

.pillar-grid-human .pillar-card h3 {
    max-width: 220px;
    font-size: 21px;
}

.flagship-card,
.flagship-card-body {
    text-align: left;
}

.flagships .flagship-card {
    background: #fff;
    color: var(--ink);
    box-shadow: 0 14px 36px rgba(0, 0, 0, .2);
}

.flagships .flagship-card h3,
.flagships .flagship-card h3 a {
    color: var(--navy);
}

.flagships .flagship-card-body > div {
    color: var(--muted);
}

.flagships .flagship-card .content-type {
    color: var(--green);
}

.flagships .flagship-card .clean-link.light {
    color: var(--navy);
}

.flagships .flagship-card .clean-link.light:hover {
    color: var(--green);
}

.flagship-card-body {
    padding: 34px;
}

.flagship-card h3 {
    margin: 10px 0 16px;
    font-size: 30px;
}

.hubs-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: 64px;
}

.hubs-copy {
    text-align: left;
}

.hubs-copy .eyebrow,
.hubs-copy .lead {
    margin-inline: 0;
}

.hubs-copy .lead {
    font-size: 17px;
}

.map-zoom-label {
    left: 24px;
    transform: none;
}

.map-zoom:hover .map-zoom-label {
    transform: none;
}

.update-card h3 {
    font-size: 23px;
}

.partner-band {
    padding: 62px 0;
}

@media (max-width: 1120px) {
    .hero-editorial-grid {
        grid-template-columns: minmax(0, 1fr) minmax(420px, .9fr);
    }

    .hero-editorial .hero-copy {
        padding-left: 34px;
    }

    .pillar-grid-human {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pillar-grid-human .pillar-card:last-child {
        grid-column: 1 / -1;
        max-width: 580px;
        width: 100%;
        justify-self: center;
    }
}

@media (max-width: 900px) {
    .hero-editorial-grid {
        width: 100%;
        grid-template-columns: 1fr;
    }

    .hero-editorial .hero-copy {
        max-width: none;
        padding: 56px max(24px, calc((100vw - var(--wrap)) / 2));
        text-align: center;
    }

    .hero-editorial h1,
    .hero-editorial .hero-lead {
        margin-inline: auto;
    }

    .hero-editorial .button-row {
        justify-content: center;
    }

    .hero-editorial-media {
        min-height: 330px;
    }

    .hero-editorial-media::before {
        inset: 0;
        width: auto;
        height: 24%;
        background: linear-gradient(180deg, var(--navy), transparent);
    }

    .hero-editorial-image {
        min-height: 330px;
        max-height: 440px;
    }

    .home-intro-model-grid,
    .hubs-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .home-intro-copy {
        max-width: 720px;
    }

    .hubs-copy {
        order: -1;
    }
}

@media (max-width: 780px) {
    .hero-editorial .button-row {
        width: 100%;
    }

    .hero-editorial .button {
        width: min(100%, 320px);
    }

    .home-intro-model {
        padding: 58px 0 54px;
    }

    .home-model-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pillar-grid-human {
        grid-template-columns: 1fr;
    }

    .pillar-grid-human .pillar-card:last-child {
        grid-column: auto;
        max-width: none;
    }

    .map-zoom-label {
        left: 50%;
        transform: translateX(-50%);
    }

    .map-zoom:hover .map-zoom-label {
        transform: translateX(-50%);
    }
}

@media (max-width: 520px) {
    .hero-editorial .hero-copy {
        padding-top: 46px;
        padding-bottom: 48px;
    }

    .hero-editorial h1 {
        font-size: 42px;
    }

    .hero-editorial-media,
    .hero-editorial-image {
        min-height: 260px;
    }

    .home-model-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .home-model-grid li {
        min-height: 96px;
        padding: 14px 8px;
    }

    .home-model-grid strong {
        font-size: 15px;
    }
}
