/* Our Partners (our-partners.php) — 2026 redesign. Text unchanged.
   Loads after the home page's common CSS (assets/css/common.min.css + home-fonts + home-icons);
   the old css/common.css and css/2021-New/our-partners.css are no longer used.
   Hero: charcoal, condensed "OUR PARTNERS" + line + buttons left, team photo right.
   List: paper band, 3/2/1-column white cards (logo strip + name + text).
   our-partners-2026.js: header offset + reveals. */
@font-face {
    font-family: "Anton";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/anton/anton-latin.woff2") format("woff2");
}

.opx-page {
    --opx-head: 128px;
    --opx-gut: clamp(16px, 4.5vw, 88px);
    --opx-font: Inter, "Inter Regular", system-ui, -apple-system, "Segoe UI", sans-serif;
    --opx-orange: #ff9f0a;
}

/* ---------- hero ---------- */
.opx-page .opx-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 50%);
    margin: 0;
    padding-top: var(--opx-head);
    overflow: hidden;
    background: #111114;
    color: #fff;
}

.opx-page .opx-hero::before,
.opx-page .opx-hero::after {
    content: none;
}

.opx-page .opx-hero-copy {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: clamp(56px, 6vw, 104px) clamp(32px, 4vw, 72px) clamp(56px, 6vw, 104px) var(--opx-gut);
}

.opx-page .opx-hero h1 {
    margin: 0 0 clamp(28px, 3vw, 44px);
    color: #fff;
    font-family: "Anton", "Impact", "Arial Narrow", sans-serif;
    font-weight: 400;
    font-size: clamp(64px, 8vw, 150px);
    line-height: .9;
    letter-spacing: 0;
    text-transform: uppercase;
    text-align: left;
    font-synthesis: none;
}

.opx-page .opx-hero h1 span {
    display: block;
    color: var(--opx-orange);
    -webkit-text-fill-color: var(--opx-orange);
    font: inherit;
}

.opx-page .opx-hero-copy > p {
    max-width: 40ch;
    margin: 0 0 34px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .2);
    color: rgba(255, 255, 255, .82);
    font-family: var(--opx-font);
    font-size: clamp(18px, 1.4vw, 22px);
    line-height: 1.55;
}

.opx-page .opx-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.opx-page .opx-hero-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: auto;
    margin: 0;
    padding: 18px 28px;
    border: 1px solid var(--opx-orange);
    border-radius: 0;
    background: var(--opx-orange);
    box-shadow: none;
    color: #141414;
    font-family: var(--opx-font);
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    text-transform: none;
    text-decoration: none;
    transition: background .3s ease, color .3s ease, border-color .3s ease;
}

.opx-page .opx-hero-actions .btn::before,
.opx-page .opx-hero-actions .btn::after {
    content: none;
}

.opx-page .opx-hero-actions .btn-pink {
    border-color: rgba(255, 255, 255, .4);
    background: transparent;
    color: #fff;
}

.opx-page .opx-hero-actions .btn:hover,
.opx-page .opx-hero-actions .btn:focus {
    border-color: #fff;
    background: #fff;
    color: #141414;
}

.opx-page .opx-hero-photo {
    grid-column: 2;
    grid-row: 1;
    position: relative;
    min-height: clamp(460px, 40vw, 720px);
    margin: 0;
    overflow: hidden;
    background: #1b1b1f;
}

.opx-page .opx-hero-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 45% 60%;
}

/* ---------- partner cards ---------- */
.opx-page .opx-list {
    margin: 0;
    padding: clamp(88px, 9vw, 140px) 0 clamp(96px, 10vw, 150px);
    background: #f4f1ec;
    color: #141414;
}

.opx-page .opx-list > .container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 var(--opx-gut);
}

.opx-page .opx-list .tab-endow-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 1.6vw, 28px);
    margin: 0;
}

.opx-page .opx-list .tab-endow-list::before,
.opx-page .opx-list .tab-endow-list::after {
    content: none;
}

.opx-page .opx-list .tab-endow-list .col-md-4 {
    display: flex;
    width: auto;
    max-width: none;
    flex: none;
    margin: 0;
    padding: 0;
}

.opx-page .opx-list .awards-content-bx {
    position: relative;
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(20, 20, 20, .1);
    background: #fff;
    text-align: left;
    transition: border-color .4s ease, transform .5s cubic-bezier(.22, 1, .36, 1), box-shadow .5s ease;
}

/* orange rule draws across the top on hover */
.opx-page .opx-list .awards-content-bx::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    height: 3px;
    background: var(--opx-orange);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .5s cubic-bezier(.65, 0, .35, 1);
}

.opx-page .opx-list .awards-content-bx:hover {
    border-color: rgba(20, 20, 20, .2);
    transform: translateY(-4px);
    box-shadow: 0 18px 40px -24px rgba(20, 20, 20, .35);
}

.opx-page .opx-list .awards-content-bx:hover::before {
    transform: scaleX(1);
}

.opx-page .opx-list .awards-content-bx a {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
    cursor: default;
}

/* logo strip: logo at its own small size (never upscaled) on white */
.opx-page .opx-list .awards-content-bx figure {
    display: flex;
    align-items: center;
    justify-content: center;
    height: clamp(150px, 12vw, 190px);
    margin: 0;
    border-bottom: 1px solid rgba(20, 20, 20, .08);
    background: #fff;
}

.opx-page .opx-list .awards-content-bx figure img {
    width: auto;
    max-width: 70%;
    height: auto;
    max-height: 100px;
    object-fit: contain;
    transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}

.opx-page .opx-list .awards-content-bx:hover figure img {
    transform: scale(1.06);
}

.opx-page .opx-list .awards-content-bx figcaption {
    padding: clamp(26px, 2.4vw, 36px) clamp(24px, 2.4vw, 36px) clamp(30px, 2.8vw, 40px);
}

.opx-page .opx-list .awards-content-bx figcaption h5 {
    margin: 0 0 12px;
    color: #141414;
    font-family: var(--opx-font);
    font-weight: 600;
    font-size: clamp(21px, 1.7vw, 27px);
    line-height: 1.2;
    letter-spacing: -.025em;
}

.opx-page .opx-list .awards-content-bx figcaption p {
    margin: 0;
    color: #4a453f;
    font-family: var(--opx-font);
    font-size: clamp(16px, 1.15vw, 18px);
    line-height: 1.7;
}

/* ---------- reveal ---------- */
.opx-page .opx-hero.opx-anim h1 {
    clip-path: inset(0 0 100% 0);
    transform: translateY(56px);
    transition: clip-path 1.1s cubic-bezier(.77, 0, .175, 1), transform 1.2s cubic-bezier(.22, 1, .36, 1);
}

.opx-page .opx-hero.opx-anim .opx-hero-copy > p,
.opx-page .opx-hero.opx-anim .opx-hero-actions {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .9s ease .45s, transform 1s cubic-bezier(.22, 1, .36, 1) .45s;
}

.opx-page .opx-hero.opx-anim .opx-hero-actions {
    transition-delay: .6s;
}

.opx-page .opx-hero.opx-anim .opx-hero-photo {
    clip-path: inset(0 0 0 100%);
    transition: clip-path 1.3s cubic-bezier(.77, 0, .175, 1) .2s;
}

.opx-page .opx-hero.opx-anim .opx-hero-photo img {
    transform: scale(1.12);
    transition: transform 1.9s cubic-bezier(.22, 1, .36, 1) .2s;
}

.opx-page .opx-hero.opx-anim.opx-in h1 {
    clip-path: inset(-10% 0 -10% 0);
    transform: none;
}

.opx-page .opx-hero.opx-anim.opx-in .opx-hero-copy > p,
.opx-page .opx-hero.opx-anim.opx-in .opx-hero-actions,
.opx-page .opx-hero.opx-anim.opx-in .opx-hero-photo img {
    opacity: 1;
    transform: none;
}

.opx-page .opx-hero.opx-anim.opx-in .opx-hero-photo {
    clip-path: inset(0 0 0 0);
}

.opx-page .opx-list.opx-anim .col-md-4 {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity .9s cubic-bezier(.22, 1, .36, 1), transform 1s cubic-bezier(.22, 1, .36, 1);
    transition-delay: calc(var(--opx-i, 0) * 90ms);
}

.opx-page .opx-list.opx-anim .col-md-4.opx-in {
    opacity: 1;
    transform: none;
}

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
    .opx-page .opx-list .tab-endow-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .opx-page .opx-hero {
        grid-template-columns: 1fr;
    }

    .opx-page .opx-hero-copy {
        grid-column: 1;
        grid-row: 2;
        padding: 48px 20px 56px;
    }

    .opx-page .opx-hero-photo {
        grid-column: 1;
        grid-row: 1;
        min-height: 0;
        aspect-ratio: 3 / 2;
    }

    .opx-page .opx-list {
        padding: 64px 0 80px;
    }

    .opx-page .opx-list > .container {
        padding: 0 20px;
    }
}

@media (max-width: 767px) {
    .opx-page .opx-hero-copy {
        padding: 40px 16px 48px;
    }

    .opx-page .opx-hero h1 {
        max-width: calc(100% - 72px);
        font-size: clamp(52px, 16vw, 84px);
    }

    .opx-page .opx-hero-actions {
        flex-direction: column;
    }

    .opx-page .opx-hero-actions .btn {
        width: 100%;
    }

    .opx-page .opx-list {
        padding: 48px 0 64px;
    }

    .opx-page .opx-list > .container {
        padding: 0 16px;
    }

    .opx-page .opx-list .tab-endow-list {
        grid-template-columns: 1fr;
    }

    .opx-page .opx-list .awards-content-bx figure {
        height: 130px;
    }

    .opx-page .opx-list .awards-content-bx figcaption {
        padding: 24px 20px 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .opx-page .opx-anim,
    .opx-page .opx-anim * {
        transition: none !important;
    }
}

/* ---------- header: solid charcoal on every width, stays dark on scroll (same as About) ---------- */
body.opx-body.dark-hero-page header,
body.opx-body.dark-hero-page.fixed header {
    background: #111114 !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
}

body.opx-body.dark-hero-page .brand-box .white-logo {
    display: block !important;
}

body.opx-body.dark-hero-page .brand-box .black-logo {
    display: none !important;
}

body.opx-body.dark-hero-page #dtHeaderNav > li > a,
body.opx-body.dark-hero-page #dtHeaderNav > li > .dropdown-toggel,
body.opx-body.dark-hero-page .header-mega > .dropdown-toggel,
body.opx-body.dark-hero-page .ai-mega-trigger,
body.opx-body.dark-hero-page .ai-mega-trigger-label {
    color: rgba(255, 255, 255, .92) !important;
}

body.opx-body.dark-hero-page #dtHeaderNav > li > a:hover,
body.opx-body.dark-hero-page #dtHeaderNav > li > .dropdown-toggel:hover,
body.opx-body.dark-hero-page .header-mega > .dropdown-toggel:hover {
    color: var(--primary-colors-orange, #ff9f0a) !important;
}

body.opx-body.dark-hero-page .ai-mega-chevron,
body.opx-body.dark-hero-page #dtHeaderNav > li > .dropdown-toggel .ti-chevron-down,
body.opx-body.dark-hero-page .header-mega > .dropdown-toggel .ti-chevron-down {
    color: rgba(255, 255, 255, .82) !important;
}

body.opx-body.dark-hero-page .header-right .btn.btn-blur,
body.opx-body.dark-hero-page .header-right .btn.btn-blur .ti {
    color: #fff !important;
}

body.opx-body.dark-hero-page .header-right .btn.btn-blur {
    border-color: rgba(255, 255, 255, .24) !important;
    background: rgba(255, 255, 255, .08) !important;
}

/* common.min.css pads .page-warper for the fixed header; the hero handles that itself
   (--opx-head from JS), so drop it to avoid a white strip under the header */
body.opx-body .page-warper {
    padding-top: 0 !important;
}
