/* Homepage responsive composition; shared navigation and footer rules are in responsive.css. */
@media (max-width: 1440px) {
.page-home {
        --container-max: 80rem;
    }
}

@media (max-width: 1024px) {
.page-home .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-top: 40px;
    }
.page-home .hero-content {
        max-width: 760px;
    }
.page-home .hero-visual {
        min-height: 680px;
    }
.page-home .main-image-wrap {
        width: 78%;
        right: 3%;
    }
.page-home .secondary-image {
        width: 42%;
        left: 10%;
    }
.page-home .goal-header-grid {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }
.page-home .matters-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
.page-home .what-cards {
        grid-template-columns: 1fr;
    }
.page-home .steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
.page-home .journey-line {
        display: none;
    }
.page-home .step {
        margin-bottom: 1.5rem;
    }
.page-home .partnership-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
.page-home .partnership-image-wrap {
        max-width: 38rem;
        margin-inline: auto;
    }
}

@media (max-width: 780px) {
.page-home .section {
        padding-block: clamp(3.5rem, 6vh, 5rem);
    }
.page-home .what-we-do {
        padding: 3.5rem 1.25rem 4rem;
    }
.page-home .what-card-item {
        display: flex;
        flex-direction: column;
        min-height: unset;
    }
.page-home .what-card-content {
        padding: 1.75rem 1.5rem 1.25rem;
    }
.page-home .what-card-item h3,
.page-home .what-card-item p {
        max-width: 100%;
    }
.page-home .methodology {
        padding: 3.5rem 1.25rem 4.5rem;
    }
.page-home .hero-container {
        width: min(92%, 650px);
        padding: 30px 0 60px;
    }
.page-home .hero-title {
        font-size: clamp(32px, 8.5vw, 42px);
        line-height: 1.1;
    }
.page-home .hero-copy {
        font-size: 16px;
    }
.page-home .hero-actions {
        flex-direction: column;
    }
.page-home .hero-actions .btn {
        width: 100%;
    }
.page-home .micro-values {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
.page-home .hero-visual {
        min-height: 560px;
    }
.page-home .main-image-wrap {
        width: 88%;
        height: 70%;
        top: 55px;
    }
.page-home .secondary-image {
        width: 58%;
        height: 35%;
        left: 0;
    }
.page-home .info-card {
        left: 0;
        top: 10px;
        width: 235px;
    }
.page-home .info-copy {
        font-size: 17px;
    }
.page-home .visual-blob {
        width: 480px;
        height: 480px;
    }
.page-home .matters-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
.page-home .steps {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }
.page-home .step {
        padding-top: 2.25rem;
        margin-bottom: 0;
    }
.page-home .step-number {
        left: 2.25rem;
        transform: none;
        width: 4.125rem;
        height: 4.125rem;
        font-size: 1.35rem;
    }
.page-home .step:hover .step-number {
        transform: scale(1.04);
    }
.page-home .step-card {
        min-height: 20.5rem;
        padding: 3.5rem 1.6rem 0;
    }
.page-home .impact-pillar-card {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
}

@media (max-width: 430px) {
.page-home .btn {
        width: 100%;
    }
.page-home .btn-group {
        flex-direction: column;
        width: 100%;
    }
.page-home .matters-step-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
.page-home .impact-closing-banner {
        padding: 1.25rem 1.5rem;
        font-size: var(--text-base);
    }
}

@media (max-width: 1024px) {
.page-home .what-cards.what-cards-three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.page-home .what-cards.what-cards-three > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
.page-home .what-cards.what-cards-three { grid-template-columns: minmax(0, 1fr); }
.page-home .what-cards.what-cards-three > :last-child:nth-child(odd) { grid-column: auto; }
}

@media (max-width: 1024px) {
.page-home .impact-pillar-img-slot .img-placeholder-slot { aspect-ratio: 16 / 9; min-height: 12rem; }
.page-home .independence-visual-wrap .img-placeholder-slot { aspect-ratio: 16 / 9; min-height: 14rem; height: auto !important; }
.page-home .final-cta-bg img { object-position: center; }
}

@media (max-width: 640px) {
.page-home .img-placeholder-slot { min-height: 11rem; }
.page-home .impact-pillar-img-slot .img-placeholder-slot { aspect-ratio: 16 / 10; min-height: 11rem; }
}

@media (max-width: 480px) {
.page-home .hero-visual { min-height: 440px; }
.page-home .main-image-wrap { width: 92%; height: 66%; top: 30px; }
.page-home .secondary-image { width: 56%; height: 34%; }
.page-home .info-card { width: min(215px, 60%); }
.page-home .visual-blob { width: 340px; height: 340px; right: -90px; }
}

@media (max-width: 768px) {
.page-home .eyebrow,
.page-home .section-label,
.page-home .cluster-tag { font-size: .875rem; }
}


/* Homepage layout fixes */
.page-home .impact-closing-banner { color: #fff; padding: 1.4rem 2rem; border-radius: 1rem; text-align: center; font-size: var(--text-lg); font-weight: 600; line-height: 1.4; }
@media (max-width: 1024px) { .page-home .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 780px) { .page-home .steps { grid-template-columns: minmax(0, 1fr); } }
.page-home .partnership-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 780px) { .page-home .step::after { content: none !important; } }

/* Model step cards no longer carry a photo: keep text clear of the decorative landscape */
.page-home .step-card { padding-bottom: 5rem; }
