/* ==========================================================================
   SUJASMIN ENTERPRISES — PARTNERSHIPS (partnerships.php)
   Redesigned page. Scoped to .partnerships-page, "px-" prefix, mobile-first.
   Uses the global font and tokens; heading sizes come from typography.css.
   ========================================================================== */

.partnerships-page {
    --px-forest: #172019;
    --px-forest-2: #223427;
    --px-green: var(--color-green, #415F45);
    --px-earth: var(--color-earth, #B8643F);
    --px-earth-text: var(--color-earth-text, #9B4E2D);
    --px-peach: #F0C3A8;
    --px-cream: #F7F5F0;
    --px-paper: #FFFFFF;
    --px-sand: #F1EBE1;
    --px-line: rgba(23, 32, 25, 0.12);
    --px-pad: clamp(3.5rem, 7vw, 6.5rem);
    --px-radius: 1.5rem;
    --px-shadow: 0 1.5rem 3.5rem rgba(23, 32, 25, 0.1);
    overflow-x: clip;
}
.partnerships-page .container { width: min(100% - 2.5rem, 78rem); }
.partnerships-page :is(ol, ul) { list-style: none; }
.partnerships-page p { color: var(--color-muted); max-width: none; }

.px-section { padding-block: var(--px-pad); position: relative; }
.px-cream { background: var(--px-cream); }
.px-paper { background: var(--px-paper); }
.px-sand { background: var(--px-sand); }
.px-dark { background: var(--px-forest); color: #fff; }
.px-dark h2, .px-dark h3 { color: #fff; }
.px-dark .eyebrow { color: var(--px-peach); }
.px-dark .px-head p { color: rgba(255, 255, 255, .75); }

.px-head { max-width: 46rem; margin: 0 auto clamp(2.25rem, 5vw, 3.75rem); text-align: center; }
.px-head .eyebrow { justify-content: center; }
.px-head p { margin: 1.1rem auto 0; max-width: 42rem; }
.px-head--left { margin: 0; text-align: left; max-width: 30rem; }
.px-head--left .eyebrow { justify-content: flex-start; }

.px-n {
    display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
    min-width: 2.5rem; height: 2.5rem; padding-inline: .5rem; border-radius: 999px;
    background: var(--color-green-soft); color: var(--color-green-dark); font-size: .8125rem; font-weight: 700; letter-spacing: .04em;
}
.px-tag { display: inline-block; font-size: .6875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--px-earth-text); }
.px-pill { display: inline-block; align-self: flex-start; padding: .35rem .85rem; border-radius: 999px; background: rgba(184, 100, 63, .12); color: var(--px-earth-text); font-size: .6875rem; font-weight: 700; letter-spacing: .12em; }
.px-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }

/* Shared card chrome */
.px-eco article, .px-cards article, .px-principles article, .px-models article, .px-steps li, .px-phases li, .px-who a {
    background: var(--px-paper); border: 1px solid var(--px-line); border-radius: var(--px-radius);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
}
@media (hover: hover) {
    .px-eco article:hover, .px-cards article:hover, .px-models article:hover, .px-steps li:hover, .px-who a:hover {
        transform: translateY(-.3rem); box-shadow: var(--px-shadow); border-color: rgba(65, 95, 69, .35);
    }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.px-hero {
    padding-top: calc(var(--header-height) + clamp(2.5rem, 6vw, 5rem));
    padding-bottom: clamp(3rem, 6vw, 5.5rem);
    background:
        radial-gradient(55rem 30rem at 92% -5%, rgba(65, 95, 69, .16), transparent 70%),
        radial-gradient(40rem 26rem at -5% 100%, rgba(184, 100, 63, .13), transparent 70%),
        var(--px-cream);
}
.px-hero-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
.px-hero h1 { margin-bottom: 1.5rem; }
.px-lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem) !important; line-height: 1.6; }
.px-principle { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.75rem; }
.px-principle li { padding: .5rem 1rem; border-radius: 999px; background: var(--px-paper); border: 1px solid var(--px-line); font-size: .8125rem; font-weight: 600; }
.px-principle li:last-child { background: var(--px-green); border-color: var(--px-green); color: #fff; }

.px-hero-visual { position: relative; padding-bottom: 3rem; }
.px-hero-main { margin: 0; border-radius: calc(var(--px-radius) + .5rem); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--px-shadow); background: var(--color-green-soft); }
.px-hero-main img, .px-hero-sub img { width: 100%; height: 100%; object-fit: cover; }
.px-hero-sub {
    position: absolute; left: -.5rem; bottom: 0; width: 42%; aspect-ratio: 4 / 3; margin: 0; background: var(--color-sand);
    border-radius: 1.25rem; overflow: hidden; border: 5px solid var(--px-cream); box-shadow: var(--px-shadow);
}
.px-hero-chip {
    position: absolute; right: -.25rem; bottom: .5rem; padding: .85rem 1.2rem; border-radius: 1rem; background: var(--px-forest); color: #fff;
    display: flex; align-items: center; gap: .75rem; box-shadow: var(--px-shadow);
}
.px-hero-chip strong { font-size: 2rem; font-weight: 600; line-height: 1; color: var(--px-peach); }
.px-hero-chip span { font-size: .75rem; line-height: 1.35; max-width: 8rem; color: rgba(255, 255, 255, .8); }
@media (min-width: 1000px) { .px-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }

/* ==========================================================================
   WHY PARTNERSHIPS (dark)
   ========================================================================== */
.px-triad { display: grid; gap: .75rem; align-items: center; justify-items: center; }
.px-triad-node { width: 100%; padding: 1.5rem; text-align: center; border-radius: var(--px-radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); }
.px-triad-node p { color: rgba(255, 255, 255, .7); font-size: .9375rem; margin-top: .35rem; }
.px-triad-node.is-core { background: var(--px-earth); border-color: var(--px-earth); box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, .3); }
.px-triad-node.is-core p { color: #fff; }
.px-triad-plus { font-size: 1.75rem; color: var(--px-peach); line-height: 1; }
.px-triad-result { margin: 2rem auto 0; max-width: 40rem; text-align: center; display: grid; gap: .5rem; }
.px-triad-result > span { font-size: 1.75rem; color: var(--px-peach); }
.px-triad-result h3 { font-size: clamp(1.35rem, 2.6vw, 1.8rem) !important; }
.px-triad-result p { color: rgba(255, 255, 255, .75); }
.px-pullquote { margin: clamp(2.5rem, 5vw, 4rem) auto 0; max-width: 44rem; text-align: center; font-size: clamp(1.2rem, 2.4vw, 1.75rem); font-weight: 500; line-height: 1.4; color: var(--px-peach); }
.px-pullquote--dark { color: var(--px-forest); }
@media (min-width: 800px) {
    .px-triad { grid-template-columns: 1fr auto 1.2fr auto 1fr; gap: 1.25rem; }
}

/* ==========================================================================
   ECOSYSTEM
   ========================================================================== */
.px-hubbar {
    margin: 0 auto 1.25rem; max-width: 30rem; padding: 1.25rem 1.5rem; text-align: center; border-radius: var(--px-radius);
    background: linear-gradient(135deg, var(--px-green), var(--px-forest-2)); color: #fff; box-shadow: var(--px-shadow);
}
.px-hubbar .px-tag { color: var(--px-peach); }
.px-hubbar h3 { color: #fff; margin-top: .25rem; }
.px-eco { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.px-eco article { padding: 1.5rem; display: flex; flex-direction: column; gap: .5rem; }
.px-eco p { font-size: .9375rem; }

/* ==========================================================================
   DOMAIN BLOCKS (split with pinned image)
   ========================================================================== */
.partner-split-grid { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.px-domain-copy h2 { margin-bottom: 1rem; }
.px-domain-copy .btn { margin-top: 1.5rem; }
.px-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.px-chips li { padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--px-line); background: var(--px-cream); font-size: .8125rem; font-weight: 500; color: var(--color-text); }
.px-sand .px-chips li { background: var(--px-paper); }
.px-checks { display: grid; gap: .65rem; margin-top: 1.5rem; }
.px-checks li { position: relative; padding: .85rem 1rem .85rem 3rem; border-radius: 1rem; background: var(--px-cream); border: 1px solid var(--px-line); font-weight: 500; color: var(--color-text); }
.px-sand .px-checks li { background: var(--px-paper); }
.px-checks li::before {
    content: '✓'; position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 1.5rem; height: 1.5rem; border-radius: 50%;
    display: grid; place-items: center; background: var(--px-green); color: #fff; font-size: .75rem; font-weight: 800;
}
.px-quote { margin-top: 1.5rem; padding: .35rem 0 .35rem 1.25rem; border-left: 3px solid var(--px-earth); font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.5; font-weight: 500; color: var(--px-forest); }
.px-media { position: relative; margin: 0; border-radius: calc(var(--px-radius) + .5rem); overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: var(--px-shadow); background: var(--color-green-soft); }
.px-media img { width: 100%; height: 100%; object-fit: cover; }
.px-media figcaption { position: absolute; left: 1rem; bottom: 1rem; }
.px-media figcaption span { display: inline-block; padding: .45rem 1rem; border-radius: 999px; background: rgba(255, 255, 255, .94); font-size: .8125rem; font-weight: 700; color: var(--px-forest); }
@media (min-width: 900px) {
    .partner-split-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
    .partner-split-grid.is-flipped .px-domain-copy { order: 2; }
    .px-media { aspect-ratio: 4 / 4.4; }
}

/* ==========================================================================
   PROCUREMENT + CARD GRIDS
   ========================================================================== */
.px-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin: -1rem 0 2.5rem; }
.px-cats li { padding: .6rem 1.4rem; border-radius: 999px; background: var(--px-green); color: #fff; font-weight: 600; font-size: .9375rem; }
.px-cats li:nth-child(2) { background: var(--px-earth); }
.px-cats li:nth-child(3) { background: var(--px-forest); }

.px-flow { display: grid; gap: .65rem; counter-reset: none; }
.px-flow li {
    position: relative; display: flex; align-items: center; gap: .9rem; padding: .9rem 1.1rem; border-radius: 1.1rem;
    background: var(--px-paper); border: 1px solid var(--px-line); font-weight: 600; line-height: 1.3;
}
.px-flow .px-n { background: var(--px-green); color: #fff; }
.px-flow li.is-final { background: var(--px-forest); border-color: var(--px-forest); color: #fff; }
.px-flow li.is-final .px-n { background: var(--px-earth); }
.px-paper .px-flow li { background: var(--px-cream); }
.px-paper .px-flow li.is-final { background: var(--px-forest); }
@media (min-width: 900px) {
    .px-flow { grid-template-columns: repeat(5, 1fr); gap: 1.1rem; }
    .px-flow--6 { grid-template-columns: repeat(6, 1fr); }
    .px-flow li { flex-direction: column; align-items: flex-start; padding: 1.25rem 1.1rem; min-height: 8.5rem; }
    .px-flow li:not(:last-child)::after {
        content: '→'; position: absolute; right: -.95rem; top: 1.65rem; z-index: 2; width: 1.4rem; text-align: center; color: var(--px-earth); font-weight: 700; font-size: 1.1rem;
    }
}
.px-subhead { text-align: center; margin: clamp(3rem, 6vw, 4.5rem) 0 1.75rem; }

.px-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); counter-reset: card; }
.px-cards article { padding: 1.5rem; display: flex; flex-direction: column; gap: .5rem; }
.px-cards p { font-size: .9375rem; }
.px-cream .px-cards article { background: var(--px-paper); }
.px-paper .px-cards article { background: var(--px-cream); }
.px-cards--numbered article { counter-increment: card; }
.px-cards--numbered article::before {
    content: counter(card, decimal-leading-zero); align-self: flex-start; display: inline-grid; place-items: center; min-width: 2.5rem; height: 2.5rem; padding-inline: .5rem;
    border-radius: 999px; background: var(--color-green-soft); color: var(--color-green-dark); font-size: .8125rem; font-weight: 700; margin-bottom: .35rem;
}

/* ==========================================================================
   WHAT SUJASMIN BRINGS
   ========================================================================== */
.px-brings { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.px-rows { border-top: 2px solid var(--px-forest); }
.px-rows li { display: flex; gap: clamp(1rem, 3vw, 2rem); align-items: center; padding: 1.35rem .25rem; border-bottom: 1px solid var(--px-line); transition: padding var(--transition-base), background var(--transition-base); }
.px-big { flex: 0 0 auto; width: 3.25rem; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; letter-spacing: -.03em; color: var(--px-earth); line-height: 1; }
.px-rows p { margin-top: .2rem; font-size: .9375rem; }
@media (hover: hover) { .px-rows li:hover { padding-left: 1rem; background: rgba(255, 255, 255, .6); } }
@media (min-width: 960px) {
    .px-brings { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
    .px-head--left { position: sticky; top: calc(var(--header-height-scrolled, 4.5rem) + 1.5rem); }
}

/* ==========================================================================
   PRINCIPLES (dark)
   ========================================================================== */
.px-principles { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.px-principles article { padding: 1.6rem; background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14); display: grid; gap: .6rem; align-content: start; }
.px-principles .px-tag { color: var(--px-peach); }
.px-principles p { color: rgba(255, 255, 255, .72); font-size: .9375rem; }

/* ==========================================================================
   JOURNEY STEPS / MODELS / PHASES
   ========================================================================== */
.px-steps { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.px-steps li { padding: 1.5rem 1.25rem; background: var(--px-cream); display: flex; flex-direction: column; gap: .5rem; }
.px-steps li.is-final { background: var(--px-forest); border-color: var(--px-forest); }
.px-steps li.is-final h3 { color: #fff; }
.px-steps li.is-final p { color: rgba(255, 255, 255, .75); }
.px-steps li.is-final .px-n { background: var(--px-earth); color: #fff; }
.px-steps .px-n { align-self: flex-start; background: var(--px-green); color: #fff; margin-bottom: .25rem; }
.px-steps p { font-size: .9rem; }

.px-models { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.px-models article { padding: 1.5rem 1.35rem; display: grid; gap: .65rem; align-content: start; justify-items: start; }
.px-models h3 { font-size: 1.15rem !important; line-height: 1.25 !important; }
.px-models p { font-size: .9375rem; }
.px-models article:first-child { background: var(--px-forest); border-color: var(--px-forest); }
.px-models article:first-child h3 { color: #fff; }
.px-models article:first-child p { color: rgba(255, 255, 255, .75); }
.px-models article:first-child .px-pill { background: rgba(255, 255, 255, .14); color: var(--px-peach); }

.px-phases { display: grid; gap: 1rem; }
.px-phases li { padding: clamp(1.4rem, 3vw, 2rem); display: grid; gap: .6rem; align-content: start; position: relative; }
.px-phases li:nth-child(2) { background: var(--color-green-subtle); }
.px-phases li.is-final { background: var(--px-forest); border-color: var(--px-forest); }
.px-phases li.is-final h3 { color: #fff; }
.px-phases li.is-final p { color: rgba(255, 255, 255, .75); }
.px-phases li.is-final .px-pill { background: rgba(255, 255, 255, .14); color: var(--px-peach); }
@media (min-width: 900px) {
    .px-phases { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
    .px-phases li:not(:last-child)::after { content: '→'; position: absolute; right: -1.6rem; top: 50%; transform: translateY(-50%); width: 1.5rem; text-align: center; color: var(--px-earth); font-weight: 700; font-size: 1.3rem; }
}

/* ==========================================================================
   WHO CAN PARTNER
   ========================================================================== */
.px-who { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.px-who a { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; background: var(--px-cream); color: var(--color-text); font-weight: 600; }
.px-who-name { flex: 1; line-height: 1.3; }
.px-who-arrow { color: var(--px-earth); font-size: 1.25rem; transition: transform var(--transition-fast); }
.px-who a:hover .px-who-arrow { transform: translateX(.3rem); }
.px-who a:hover { background: var(--px-green); color: #fff; }
.px-who a:hover .px-n { background: rgba(255, 255, 255, .2); color: #fff; }
.px-who a:hover .px-who-arrow { color: #fff; }

/* ==========================================================================
   CTA
   ========================================================================== */
.px-cta { position: relative; isolation: isolate; padding-block: clamp(4.5rem, 9vw, 8rem); background: var(--px-forest); color: #fff; overflow: hidden; }
.px-cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .4; }
.px-cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(14, 22, 16, .94) 0%, rgba(14, 22, 16, .78) 55%, rgba(14, 22, 16, .5) 100%); }
.px-cta-body { max-width: 46rem; }
.px-cta .eyebrow { color: var(--px-peach); }
.px-cta h2 { color: #fff; margin-bottom: 1.25rem; }
.px-cta p { color: rgba(255, 255, 255, .8); }

@media (max-width: 639px) {
    .partnerships-page .container { width: min(100% - 2rem, 78rem); }
    .px-actions .btn { width: 100%; }
    .px-hero-sub { width: 46%; left: 0; }
    .px-hero-chip { display: none; }
    .px-hero-visual { padding-bottom: 2.5rem; }
}
@media (prefers-reduced-motion: reduce) { .partnerships-page * { transition: none !important; } }
