/* Home "ecology of support" circle, impact numbers and the Our Work dashboard. Palette matches header.css. */
:root {
    --stp-green: #0F392B;
    --stp-gold: #C88A2D;
    --stp-rust: #B85032;
    --stp-cream: #FDFBF7;
    --stp-sand: #F4EEE2;
    --stp-muted: #5A6E65;
}

.stp-eyebrow {
    margin: 0 0 8px;
    font-family: "JetBrains Mono", Menlo, monospace;
    font-size: 11px;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--stp-rust);
}

.stp-display {
    margin: 0 0 14px;
    font-family: "Fraunces", Georgia, serif;
    font-size: 34px;
    line-height: 1.15;
    color: var(--stp-green);
}

html[lang="bn"] .stp-display {
    font-family: "Hind Siliguri", sans-serif;
    font-weight: 600;
}

/* Intro under the slider */
.home-intro {
    padding: 40px 15px 20px;
    background: var(--stp-cream);
}

.home-intro .lead {
    max-width: 760px;
    margin: 0 auto 22px;
    color: var(--stp-muted);
    font-size: 19px;
}

.home-intro .btn-lg {
    margin: 0 5px 10px;
    border-radius: 999px;
    padding: 11px 26px;
}

.home-intro .btn-danger {
    background: var(--stp-gold);
    background-image: none;
    border: 0;
    text-shadow: none;
}

.home-intro .btn-danger:hover,
.home-intro .btn-danger:focus {
    background: var(--stp-rust);
}

.home-intro .btn-work {
    background: var(--stp-green);
    color: #fff;
    border: 0;
    text-shadow: none;
    background-image: none;
}

.home-intro .btn-work:hover,
.home-intro .btn-work:focus {
    background: #16503d;
    color: #fff;
}

/* Ecology of support */
.eco {
    padding: 60px 0;
    background: var(--stp-cream);
    border-top: 1px solid rgba(15, 57, 43, .08);
}

.eco-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.eco-lead {
    color: var(--stp-muted);
    font-size: 16px;
    max-width: 520px;
}

.eco-steps {
    list-style: none;
    padding: 0;
    margin: 22px 0 0;
}

.eco-step {
    display: flex;
    gap: 14px;
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 8px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: none;
    text-align: left;
    color: inherit;
    cursor: pointer;
    transition: background-color .25s, border-color .25s;
}

.eco-step:hover,
.eco-step:focus-visible,
.eco-step.is-active {
    background: #fff;
    border-color: rgba(15, 57, 43, .12);
    box-shadow: 0 6px 18px rgba(15, 57, 43, .06);
}

.eco-step-num {
    flex: 0 0 auto;
    font-family: "JetBrains Mono", Menlo, monospace;
    font-size: 13px;
    color: var(--stp-gold);
    padding-top: 2px;
}

.eco-step.is-active .eco-step-num {
    color: var(--stp-rust);
}

.eco-step-title {
    display: block;
    font-weight: 600;
    font-size: 16px;
    color: var(--stp-green);
}

.eco-step-text {
    display: block;
    margin-top: 2px;
    font-size: 14px;
    color: var(--stp-muted);
}

.eco-circle {
    position: relative;
    width: min(400px, 86vw);
    aspect-ratio: 1;
    margin: 0 auto;
}

.eco-ring {
    position: absolute;
    inset: 12%;
    border: 2px dashed rgba(15, 57, 43, .25);
    border-radius: 50%;
    animation: eco-spin 40s linear infinite;
}

.eco-center {
    position: absolute;
    inset: 31%;
    display: grid;
    place-items: center;
    padding: 10px;
    border-radius: 50%;
    background: var(--stp-green);
    color: #fff;
    text-align: center;
    box-shadow: 0 18px 40px rgba(15, 57, 43, .25);
}

.eco-center .glyphicon {
    display: block;
    margin-bottom: 6px;
    font-size: 26px;
    color: var(--stp-gold);
}

.eco-center-label {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
}

.eco-node {
    position: absolute;
    display: grid;
    place-items: center;
    width: 23%;
    aspect-ratio: 1;
    padding: 0;
    border: 3px solid var(--stp-cream);
    border-radius: 50%;
    background: var(--stp-sand);
    color: var(--stp-green);
    font-size: 22px;
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: background-color .3s, color .3s, transform .3s;
}

.eco-node:nth-of-type(1) { left: 50%; top: 12%; }
.eco-node:nth-of-type(2) { left: 88%; top: 50%; }
.eco-node:nth-of-type(3) { left: 50%; top: 88%; }
.eco-node:nth-of-type(4) { left: 12%; top: 50%; }

.eco-node.is-active,
.eco-node:hover,
.eco-node:focus-visible {
    background: var(--stp-gold);
    color: #fff;
    transform: translate(-50%, -50%) scale(1.08);
}

@keyframes eco-spin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .eco-ring { animation: none; }
}

@media (min-width: 900px) {
    .eco-grid { grid-template-columns: 1.1fr 1fr; }
}

/* Impact numbers */
.impact {
    padding: 44px 15px 30px;
    background: var(--stp-green);
    color: #fff;
}

.impact .stp-eyebrow {
    color: var(--stp-gold);
    text-align: center;
}

.impact-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.impact-item {
    flex: 1 1 180px;
    padding: 0 10px;
    margin-bottom: 15px;
}

.impact-number {
    font-family: "Fraunces", Georgia, serif;
    font-size: 46px;
    line-height: 1.1;
    color: #fff;
}

.impact-label {
    color: rgba(255, 255, 255, .7);
    text-transform: uppercase;
    letter-spacing: .5px;
    font-size: 12px;
}

/* Our Work dashboard */
.work-page {
    padding-bottom: 60px;
}

.work-section {
    margin: 10px 0 46px;
}

.work-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 18px;
}

.work-section-head h2 {
    margin: 0;
    font-family: "Fraunces", Georgia, serif;
    color: var(--stp-green);
}

.work-section-head a {
    color: var(--stp-rust);
    font-weight: 600;
}

.work-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 18px;
}

.work-card {
    padding: 20px 22px;
    border-radius: 14px;
    background: var(--stp-cream);
    border: 1px solid rgba(15, 57, 43, .1);
    border-top: 4px solid var(--stp-gold);
}

.work-card .glyphicon {
    font-size: 20px;
    color: var(--stp-gold);
}

.work-card h3 {
    margin: 10px 0 12px;
    font-size: 18px;
    font-weight: 600;
    color: var(--stp-green);
}

.work-figure {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 4px 0;
}

.work-figure strong {
    font-family: "Fraunces", Georgia, serif;
    font-size: 30px;
    line-height: 1;
    color: var(--stp-green);
}

.work-figure span {
    color: var(--stp-muted);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.work-note {
    margin-top: 12px;
    color: var(--stp-muted);
    font-size: 14px;
}

.work-bars {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    max-width: 640px;
}

.work-bars li {
    display: grid;
    grid-template-columns: 110px 1fr 40px;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 14px;
}

.work-bar {
    height: 10px;
    border-radius: 999px;
    background: var(--stp-sand);
    overflow: hidden;
}

.work-bar span {
    display: block;
    height: 100%;
    background: var(--stp-green);
    border-radius: inherit;
}

.work-cta {
    padding: 34px;
    border-radius: 18px;
    background: var(--stp-green);
    color: #fff;
    text-align: center;
}

.work-cta h2 {
    margin: 0 0 16px;
    font-family: "Fraunces", Georgia, serif;
}

.work-cta .btn {
    margin: 4px;
    border-radius: 999px;
}
