/* ==========================================================================
   SUJASMIN ENTERPRISES — OUR CLUSTERS (clusters.php)
   Redesigned page. Everything is scoped to .our-clusters-page and uses the
   "cx-" prefix. Mobile-first; breakpoints: 640 / 900 / 1180.
   ========================================================================== */

.our-clusters-page {
    --cx-serif: var(--font-primary);
    --cx-forest: #172019;
    --cx-forest-2: #223427;
    --cx-green: var(--color-green, #415F45);
    --cx-earth: var(--color-earth, #B8643F);
    --cx-earth-text: var(--color-earth-text, #9B4E2D);
    --cx-cream: #F7F5F0;
    --cx-paper: #FFFFFF;
    --cx-sand: #F1EBE1;
    --cx-line: rgba(23, 32, 25, 0.12);
    --cx-pad: clamp(3.5rem, 7vw, 7rem);
    --cx-radius: 1.5rem;
    --cx-shadow: 0 1.5rem 3.5rem rgba(23, 32, 25, 0.1);
    color: var(--color-text);
    overflow-x: clip;
}

.our-clusters-page .container { width: min(100% - 2.5rem, 78rem); }

/* ---------- Shared building blocks ---------- */
.our-clusters-page h1,
.our-clusters-page h2 {
    font-family: var(--font-primary);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.1;
    text-wrap: balance;
}
.our-clusters-page h2 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); }
.our-clusters-page h3, .our-clusters-page .h4-style { letter-spacing: -0.015em; }
.our-clusters-page p { color: var(--color-muted); max-width: none; }

.cx-section { padding-block: var(--cx-pad); position: relative; }
.cx-section:nth-of-type(odd) { background: var(--cx-cream); }

.cx-head { max-width: 46rem; margin: 0 auto clamp(2.25rem, 5vw, 4rem); text-align: center; }
.cx-head p { margin: 1.1rem auto 0; max-width: 40rem; font-size: var(--text-base); text-align: center; }
.cx-head .eyebrow { justify-content: center; }
.cx-head--left { margin: 0; text-align: left; max-width: 34rem; }
.cx-head--left p { margin-inline: 0; text-align: left; }
.cx-head--left .eyebrow { justify-content: flex-start; }
.cx-head--left .btn { margin-top: 1.75rem; }

.cx-n {
    display: inline-flex; align-items: center; justify-content: 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; letter-spacing: .04em; flex-shrink: 0;
}
.cx-tag, .cx-pill, .cx-kicker {
    display: inline-block; font-size: .75rem; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase; color: var(--cx-earth-text);
}
.cx-pill {
    padding: .4rem .85rem; border-radius: 999px; background: rgba(184, 100, 63, .12); letter-spacing: .1em;
}
.cx-kicker { margin-bottom: 1rem; }

.cx-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }

/* Cards used by several sections */
.cx-steps li, .cx-channels article, .cx-bento article, .cx-pillars article,
.cx-mature-grid article, .cx-matrix-col, .cx-compare-card, .cx-ssr article {
    background: var(--cx-paper);
    border: 1px solid var(--cx-line);
    border-radius: var(--cx-radius);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
@media (hover: hover) {
    .cx-steps li:hover, .cx-channels article:hover, .cx-bento article:hover,
    .cx-pillars article:hover, .cx-mature-grid article:hover {
        transform: translateY(-.3rem); box-shadow: var(--cx-shadow); border-color: rgba(65, 95, 69, .35);
    }
}
.our-clusters-page ol, .our-clusters-page ul, .our-clusters-page dl { list-style: none; }

/* ==========================================================================
   01. HERO
   ========================================================================== */
.cx-hero {
    padding-top: calc(var(--header-height) + clamp(2rem, 5vw, 4.5rem));
    padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
    background:
        radial-gradient(60rem 30rem at 85% -10%, rgba(65, 95, 69, .16), transparent 70%),
        radial-gradient(40rem 26rem at -10% 100%, rgba(184, 100, 63, .12), transparent 70%),
        var(--cx-cream);
}
.cx-hero-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
.our-clusters-page .cx-hero h1 {
    font-size: clamp(2.5rem, 5.6vw, 4.4rem);
    line-height: 1.02;
    margin-bottom: 1.5rem;
}
.our-clusters-page .cx-hero h1 em { font-style: italic; color: var(--cx-earth-text); }
.cx-lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--color-text) !important; line-height: 1.55; max-width: 36rem; }
.cx-sublead { margin-top: 1rem; max-width: 34rem; }

.cx-chain { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.cx-chain li {
    display: flex; align-items: center; gap: .5rem;
    padding: .55rem 1rem; border-radius: 999px; background: var(--cx-paper);
    border: 1px solid var(--cx-line); font-size: .875rem; font-weight: 600;
}
.cx-chain li + li::before { content: '→'; color: var(--cx-earth); font-weight: 700; margin-right: .1rem; }

/* Sector panels */
.cx-hero-panels { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.cx-panel {
    position: relative; display: block; overflow: hidden; border-radius: var(--cx-radius);
    aspect-ratio: 16 / 9; background: var(--cx-forest); color: #fff; isolation: isolate;
    box-shadow: var(--cx-shadow);
}
.cx-panel img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    transition: transform .9s var(--ease-out);
}
.cx-panel::after {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to top, rgba(12, 20, 14, .88) 0%, rgba(12, 20, 14, .15) 60%, transparent 100%);
}
.cx-panel-info { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 1.1rem 1.25rem; display: grid; gap: .15rem; }
.cx-panel-num { font-size: .7rem; letter-spacing: .16em; font-weight: 700; color: #F0C3A8; }
.cx-panel-title { font-family: var(--cx-serif); font-size: clamp(1.35rem, 2vw, 1.85rem); line-height: 1.1; }
.cx-panel-flow { font-size: .8125rem; color: rgba(255, 255, 255, .8); }
@media (hover: hover) { .cx-panel:hover img { transform: scale(1.06); } }

@media (min-width: 640px) {
    .cx-hero-panels { grid-template-columns: repeat(3, 1fr); }
    .cx-panel { aspect-ratio: 3 / 4.4; }
    .cx-panel:nth-child(2) { margin-top: 2.25rem; }
    .cx-panel:nth-child(3) { margin-top: 4.5rem; }
    .cx-panel-info { padding: 1rem; }
}
@media (min-width: 1000px) {
    .cx-hero-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
}
@media (min-width: 640px) and (max-width: 999px) {
    .cx-hero-panels { margin-bottom: 4rem; }
}

.our-clusters-page [id] { scroll-margin-top: calc(var(--header-height-scrolled) + 4rem); }

/* ==========================================================================
   02. WHY CLUSTERS
   ========================================================================== */
.cx-why { background: var(--cx-paper) !important; }
.cx-why-grid { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
.cx-why h2 { margin-bottom: 1.25rem; }
.cx-why p + p { margin-top: 1rem; }
.cx-quote {
    margin-top: 2rem; padding: 1.25rem 0 1.25rem 1.5rem; border-left: 3px solid var(--cx-earth);
    font-family: var(--cx-serif); font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.35; color: var(--cx-forest);
}
.cx-transform {
    background: var(--cx-forest); color: #fff; border-radius: var(--cx-radius);
    padding: clamp(1.5rem, 3.5vw, 2.75rem); box-shadow: var(--cx-shadow);
}
.cx-transform .cx-tag { color: #F0C3A8; }
.cx-transform h3 { color: #fff; font-family: var(--cx-serif); font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2rem); margin: .6rem 0 1.75rem; }
.cx-ladder { position: relative; display: grid; gap: 1.25rem; }
.cx-ladder::before {
    content: ''; position: absolute; left: 1.25rem; top: 1.5rem; bottom: 1.5rem; width: 2px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, .25), #D9926F);
}
.cx-ladder li { position: relative; display: flex; gap: 1rem; align-items: flex-start; }
.cx-ladder .cx-n { background: #2E4733; color: #fff; border: 2px solid var(--cx-forest); z-index: 1; width: 2.5rem; }
.cx-ladder li.is-final .cx-n { background: var(--cx-earth); }
.cx-ladder h4 { color: #fff; font-size: 1.05rem; margin-bottom: .2rem; }
.cx-ladder p { color: rgba(255, 255, 255, .72); font-size: .9375rem; }
@media (min-width: 960px) { .cx-why-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* ==========================================================================
   SECTORS (Agriculture / Handloom / Handicrafts)
   ========================================================================== */
.cx-sector { --tone: var(--cx-green); --tone-soft: var(--color-green-soft); }
.cx-sector--agri { --tone: #3F6B3C; --tone-soft: #E3EDDD; }
.cx-sector--loom { --tone: #7A4A8A; --tone-soft: #EEE4F1; background: var(--cx-paper) !important; }
.cx-sector--craft { --tone: #B8643F; --tone-soft: #F7E6DC; }
.cx-sector-grid { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.cx-sector-media {
    position: relative; margin: 0; border-radius: calc(var(--cx-radius) + .5rem); overflow: hidden;
    aspect-ratio: 4 / 3; box-shadow: var(--cx-shadow); background: var(--tone-soft);
}
.cx-sector-media img { width: 100%; height: 100%; object-fit: cover; }
.cx-sector-badge {
    position: absolute; left: 1rem; bottom: 1rem; display: flex; align-items: center; gap: .65rem;
    padding: .45rem 1.1rem .45rem .45rem; border-radius: 999px; background: rgba(255, 255, 255, .94);
    font-weight: 700; font-size: .9375rem; backdrop-filter: blur(6px);
}
.cx-sector-badge-num {
    display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%;
    background: var(--tone); color: #fff; font-size: .8125rem;
}
.cx-sector .cx-kicker { color: var(--tone); }
.cx-sector-body h2 { margin-bottom: 1.25rem; }
.cx-sector-body p + p { margin-top: 1rem; }

.cx-flow { display: flex; flex-wrap: wrap; gap: .5rem .35rem; margin-top: 1.75rem; align-items: center; }
.cx-flow li {
    padding: .55rem 1rem; border-radius: 999px; background: var(--tone); color: #fff;
    font-weight: 600; font-size: .875rem;
}
.cx-flow li + li { position: relative; margin-left: 1.15rem; }
.cx-flow li + li::before {
    content: '→'; position: absolute; left: -1.1rem; top: 50%; transform: translateY(-52%);
    color: var(--tone); font-weight: 700;
}
.cx-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.cx-chips li {
    padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--cx-line);
    background: var(--cx-paper); font-size: .8125rem; font-weight: 500; color: var(--color-text);
}
.cx-sector--loom .cx-chips li { background: var(--cx-cream); }

@media (min-width: 900px) {
    .cx-sector-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
    .cx-sector.is-flipped .cx-sector-media { order: 2; }
    .cx-sector-media { aspect-ratio: 5 / 5.2; }
}

/* ==========================================================================
   AGRICULTURE SHIFT (before / after)
   ========================================================================== */
.cx-shift { background: var(--cx-sand) !important; }
.cx-compare { display: grid; gap: 1rem; align-items: stretch; }
.cx-compare-card { padding: clamp(1.5rem, 3vw, 2.25rem); display: flex; flex-direction: column; gap: 1rem; }
.cx-compare-card h3 { font-family: var(--cx-serif); font-weight: 600; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.cx-compare-card ul { display: grid; gap: .75rem; }
.cx-compare-card li { position: relative; padding-left: 1.75rem; color: var(--color-text); }
.cx-compare-card li::before {
    position: absolute; left: 0; top: .1rem; width: 1.2rem; height: 1.2rem; border-radius: 50%;
    display: grid; place-items: center; font-size: .7rem; font-weight: 800; color: #fff;
}
.cx-compare-foot {
    margin-top: auto; padding-top: 1rem; border-top: 1px dashed var(--cx-line);
    font-weight: 600; font-size: .9375rem;
}
.cx-compare-card.is-before { background: #FBF4EF; }
.cx-compare-card.is-before li::before { content: '✕'; background: #C0603A; }
.cx-compare-card.is-before .cx-compare-foot { color: #9B4E2D; }
.cx-compare-card.is-after { background: var(--cx-forest); border-color: var(--cx-forest); color: #fff; box-shadow: var(--cx-shadow); }
.cx-compare-card.is-after h3, .cx-compare-card.is-after li { color: #fff; }
.cx-compare-card.is-after li::before { content: '✓'; background: #5E9B63; }
.cx-compare-card.is-after .cx-compare-foot { color: #BFE0BE; border-color: rgba(255, 255, 255, .2); }
.cx-compare-card.is-after .cx-pill { background: rgba(255, 255, 255, .14); color: #F0C3A8; }
.cx-compare-mid { display: flex; align-items: center; justify-content: center; gap: .75rem; flex-direction: column; text-align: center; }
.cx-compare-mid span {
    padding: .5rem 1rem; border-radius: 999px; background: var(--cx-earth); color: #fff;
    font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.cx-compare-mid b { font-size: 1.75rem; color: var(--cx-earth); transform: rotate(90deg); line-height: 1; }
@media (min-width: 960px) {
    .cx-compare { grid-template-columns: minmax(0, 1fr) 9rem minmax(0, 1fr); }
    .cx-compare-mid b { transform: none; }
    .cx-compare-mid span { max-width: 8rem; line-height: 1.35; }
}

/* ==========================================================================
   STEP CARDS (handloom pipeline, craft evolution, independence)
   ========================================================================== */
.cx-steps { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.5rem), 1fr)); counter-reset: none; }
.cx-steps li { padding: 1.5rem 1.35rem 1.6rem; position: relative; display: flex; flex-direction: column; gap: .6rem; }
.cx-steps h3 { font-size: 1.15rem; line-height: 1.25; font-weight: 600; }
.cx-steps p { font-size: .9375rem; }
.cx-steps .cx-n, .cx-ssr .cx-n, .cx-mature-grid .cx-n, .cx-channels .cx-n { margin-bottom: .35rem; align-self: flex-start; }
.cx-steps li.is-final { background: var(--cx-forest); border-color: var(--cx-forest); }
.cx-steps li.is-final h3 { color: #fff; }
.cx-steps li.is-final p { color: rgba(255, 255, 255, .75); }
.cx-steps li.is-final .cx-n { background: var(--cx-earth); color: #fff; }
.cx-steps--6 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 11.5rem), 1fr)); }
.cx-steps--6 h3 { font-size: 1.25rem; font-family: var(--cx-serif); font-weight: 600; }

.cx-pipeline { background: var(--cx-forest) !important; color: #fff; }
.cx-pipeline .eyebrow { color: #F0C3A8; }
.cx-pipeline h2 { color: #fff; }
.cx-pipeline .cx-head p { color: rgba(255, 255, 255, .75); }
.cx-pipeline .cx-steps li { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
.cx-pipeline .cx-steps h3 { color: #fff; }
.cx-pipeline .cx-steps p { color: rgba(255, 255, 255, .72); }
.cx-pipeline .cx-n { background: rgba(255, 255, 255, .14); color: #fff; }
.cx-pipeline .cx-steps li.is-final { background: var(--cx-earth); border-color: var(--cx-earth); }
.cx-pipeline .cx-steps li.is-final p { color: #fff; }
.cx-pipeline .cx-steps li.is-final .cx-n { background: #fff; color: var(--cx-earth-text); }
.cx-pullquote {
    margin: clamp(2.5rem, 5vw, 4rem) auto 0; max-width: 40rem; text-align: center;
    font-family: var(--cx-serif); font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.3; color: #F6E7DD !important;
}
.cx-craft { background: var(--cx-sand) !important; }

/* ==========================================================================
   ONE SYSTEM / THREE CONTEXTS
   ========================================================================== */
.cx-system { background: var(--cx-paper) !important; }
.cx-matrix { display: grid; gap: 1rem; }
.cx-matrix-col { padding: clamp(1.4rem, 3vw, 2rem); background: var(--cx-cream); }
.cx-matrix-col header { padding-bottom: 1.1rem; margin-bottom: .5rem; border-bottom: 2px solid var(--cx-forest); }
.cx-matrix-col h3 { font-family: var(--cx-serif); font-weight: 600; font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: .35rem; }
.cx-matrix-col dl > div { padding: .95rem 0; border-bottom: 1px solid var(--cx-line); display: grid; gap: .2rem; }
.cx-matrix-col dt { font-size: .6875rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: var(--color-muted-light); }
.cx-matrix-col dd { font-weight: 600; color: var(--color-text); }
.cx-matrix-col dl > div.is-final { border-bottom: 0; padding-bottom: 0; }
.cx-matrix-col dl > div.is-final dd { color: var(--cx-earth-text); }
@media (min-width: 900px) { .cx-matrix { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ==========================================================================
   WOMEN
   ========================================================================== */
.cx-women-grid { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.cx-women h2 { margin-bottom: 1.25rem; }
.cx-rows { margin-top: 1.75rem; border-top: 1px solid var(--cx-line); }
.cx-rows li { display: flex; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--cx-line); }
.cx-rows .h4-style { font-size: 1.05rem; margin-bottom: .25rem; }
.cx-rows p { font-size: .9375rem; }
.cx-women-media { position: relative; margin: 0; border-radius: calc(var(--cx-radius) + .5rem); overflow: hidden; aspect-ratio: 4 / 4.4; box-shadow: var(--cx-shadow); }
.cx-women-media img { width: 100%; height: 100%; object-fit: cover; }
.cx-women-media figcaption {
    position: absolute; left: 1rem; right: 1rem; bottom: 1rem; padding: 1rem 1.15rem; border-radius: 1rem;
    background: rgba(23, 32, 25, .82); backdrop-filter: blur(8px); color: rgba(255, 255, 255, .88); font-size: .875rem; line-height: 1.5;
}
.cx-women-media figcaption strong { color: #F0C3A8; }
@media (min-width: 900px) { .cx-women-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }

/* ==========================================================================
   INDIGENOUS KNOWLEDGE (bento)
   ========================================================================== */
.cx-knowledge { background: var(--cx-sand) !important; }
.cx-bento { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.cx-bento article { padding: 1.6rem; position: relative; overflow: hidden; }
.cx-bento article::before {
    content: ''; display: block; width: 2.25rem; height: 4px; border-radius: 4px; background: var(--cx-earth); margin-bottom: 1.1rem;
}
.cx-bento .h4-style { font-family: var(--cx-serif); font-weight: 600; font-size: 1.35rem; margin-bottom: .5rem; }
.cx-bento article.is-wide { background: var(--cx-forest); border-color: var(--cx-forest); }
.cx-bento article.is-wide .h4-style { color: #fff; }
.cx-bento article.is-wide p { color: rgba(255, 255, 255, .75); max-width: 36rem; }
@media (min-width: 640px) {
    .cx-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cx-bento article.is-wide { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
    .cx-bento { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ==========================================================================
   MARKET PATHWAYS
   ========================================================================== */
.cx-market { background: var(--cx-paper) !important; }
.cx-track { display: grid; gap: .75rem; margin-bottom: 1.25rem; }
.cx-track li {
    display: flex; align-items: center; gap: .9rem; padding: 1rem 1.25rem; border-radius: 999px;
    background: var(--color-green-subtle); font-weight: 700; color: var(--color-green-dark); position: relative;
}
.cx-track li .cx-n { background: var(--cx-green); color: #fff; }
.cx-track li:not(:last-child)::after {
    content: '↓'; position: absolute; left: 1.75rem; bottom: -1.05rem; z-index: 2;
    width: 1.6rem; height: 1.6rem; display: grid; place-items: center; border-radius: 50%;
    background: var(--cx-earth); color: #fff; font-size: 1rem; line-height: 1;
}
.cx-channels { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.cx-channels article { padding: 1.5rem; display: flex; flex-direction: column; gap: .6rem; background: var(--cx-cream); }
.cx-channels .h4-style { font-size: 1.1rem; }
.cx-channels p { font-size: .9375rem; }
@media (min-width: 800px) {
    .cx-track { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
    .cx-track li { justify-content: center; }
    .cx-track li:not(:last-child)::after { content: '→'; left: auto; right: -1.75rem; bottom: auto; top: 50%; transform: translate(50%, -50%); }
}

/* ==========================================================================
   SHARED GROWTH (timeline)
   ========================================================================== */
.cx-share { background: var(--cx-cream) !important; }
.cx-timeline { position: relative; display: grid; gap: 0; padding-left: 0; }
.cx-timeline::before {
    content: ''; position: absolute; left: 1.25rem; top: 1.25rem; bottom: 1.25rem; width: 2px; background: var(--cx-line);
}
.cx-timeline li { position: relative; padding: 0 0 1.75rem 4rem; }
.cx-timeline li:last-child { padding-bottom: 0; }
.cx-timeline .cx-n { position: absolute; left: 0; top: 0; background: var(--cx-green); color: #fff; box-shadow: 0 0 0 6px var(--cx-cream); }
.cx-timeline li.is-final .cx-n { background: var(--cx-earth); }
.cx-timeline .h4-style { font-family: var(--cx-serif); font-weight: 600; font-size: 1.4rem; margin-top: .25rem; }
.cx-timeline p { font-size: .9375rem; }
@media (min-width: 900px) {
    .cx-timeline { grid-template-columns: repeat(5, 1fr); gap: 1.25rem; text-align: center; }
    .cx-timeline::before { left: 10%; right: 10%; top: 1.25rem; bottom: auto; width: auto; height: 2px; }
    .cx-timeline li { padding: 0; }
    .cx-timeline .cx-n { position: relative; margin: 0 auto 1rem; }
}

/* ==========================================================================
   INDEPENDENCE
   ========================================================================== */
.cx-independence { background: var(--cx-paper) !important; }
.cx-independence .cx-steps li:not(.is-final) { background: var(--cx-cream); }
.cx-pillars { display: grid; gap: 1rem; margin-top: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.cx-pillars article { padding: 1.6rem; background: var(--color-green-subtle); border-color: rgba(65, 95, 69, .2); }
.cx-check {
    display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%;
    background: var(--cx-green); color: #fff; font-weight: 800; margin-bottom: 1rem;
}
.cx-pillars .h4-style { font-family: var(--cx-serif); font-weight: 600; font-size: 1.45rem; margin-bottom: .4rem; }
.cx-note { margin-top: 2rem; text-align: center; font-size: .9rem; font-style: italic; }

/* ==========================================================================
   DARK: SUSTAINABLE / SCALABLE / REPLICABLE
   ========================================================================== */
.cx-dark { background: var(--cx-forest) !important; color: #fff; }
.cx-dark .eyebrow { color: #F0C3A8; }
.cx-dark h2 { color: #fff; }
.cx-dark .cx-head p { color: rgba(255, 255, 255, .75); }
.cx-ssr { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.cx-ssr article { padding: clamp(1.5rem, 3vw, 2.25rem); background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14); }
.cx-ssr h3 { font-family: var(--cx-serif); font-weight: 600; color: #fff; font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin: 1rem 0 .6rem; }
.cx-ssr p { color: rgba(255, 255, 255, .72); }
.cx-ssr .cx-n { background: var(--cx-earth); color: #fff; }

/* ==========================================================================
   MATURE CLUSTER
   ========================================================================== */
.cx-mature { background: var(--cx-cream) !important; }
.cx-mature-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.cx-hub {
    padding: clamp(1.6rem, 3.5vw, 2.5rem); border-radius: var(--cx-radius); text-align: center;
    background: linear-gradient(135deg, var(--cx-green), var(--cx-forest-2)); color: #fff; box-shadow: var(--cx-shadow);
}
.cx-hub .cx-tag { color: #F0C3A8; }
.cx-hub h3 { color: #fff; font-family: var(--cx-serif); font-weight: 600; font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: .4rem 0; }
.cx-hub p { color: rgba(255, 255, 255, .8); }
.cx-mature-grid article { padding: 1.5rem; display: flex; flex-direction: column; gap: .55rem; }
.cx-mature-grid .h4-style { font-size: 1.1rem; }
.cx-mature-grid article p { font-size: .9375rem; }
@media (min-width: 640px) { .cx-mature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cx-hub { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .cx-mature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ==========================================================================
   PARTNERS
   ========================================================================== */
.cx-partners { background: var(--cx-paper) !important; }
.cx-partners-grid { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.cx-partner-list { border-top: 2px solid var(--cx-forest); }
.cx-partner-list li {
    padding: 1.4rem .25rem; border-bottom: 1px solid var(--cx-line); display: grid; gap: .35rem;
    transition: padding var(--transition-base), background var(--transition-base);
}
.cx-partner-list h3 { font-family: var(--cx-serif); font-weight: 600; font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
@media (hover: hover) { .cx-partner-list li:hover { padding-left: 1rem; background: var(--cx-cream); } }
@media (min-width: 960px) {
    .cx-partners-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
    .cx-head--left { position: sticky; top: calc(var(--header-height-scrolled) + 5rem); }
}

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.cx-cta { position: relative; isolation: isolate; padding-block: clamp(4.5rem, 9vw, 8rem); background: var(--cx-forest); color: #fff; overflow: hidden; }
.cx-cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .45; }
.cx-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%);
}
.cx-cta-body { max-width: 46rem; }
.cx-cta .eyebrow { color: #F0C3A8; }
.our-clusters-page .cx-cta h2 { color: #fff; font-size: clamp(1.9rem, 4.4vw, 3.2rem); margin-bottom: 1.25rem; }
.our-clusters-page .cx-cta p { color: rgba(255, 255, 255, .8); font-size: var(--text-base); }

/* ==========================================================================
   SMALL SCREENS
   ========================================================================== */
@media (max-width: 639px) {
    .our-clusters-page .container { width: min(100% - 2rem, 78rem); }
    .cx-actions .btn { width: 100%; }
    .cx-chain li { font-size: .8125rem; padding: .5rem .8rem; }
    .cx-sector-media { aspect-ratio: 4 / 3.4; }
    .cx-women-media { aspect-ratio: 4 / 4.6; }
    .cx-flow li { font-size: .8125rem; }
}

@media (prefers-reduced-motion: reduce) {
    .our-clusters-page * { transition: none !important; }
}
