:root {
    --home-primary: #153a5b;
    --home-primary-dark: #0d2940;
    --home-accent: #d5a72f;
    --home-green: #2b7657;
    --home-text: #24313d;
    --home-muted: #6b7782;
    --home-border: #e3e8ec;
    --home-soft: #f6f8f9;
    --home-warm: #faf7ef;
    --home-white: #ffffff;
    --home-container: 1180px;
    --home-radius: 12px;
    --home-shadow: 0 10px 30px rgba(21, 44, 63, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--home-text);
    background: var(--home-white);
    font-family: "Poppins", "Noto Sans Devanagari", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

.container {
    width: min(calc(100% - 40px), var(--home-container));
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: -60px;
    left: 16px;
    z-index: 1000;
    padding: 9px 13px;
    color: #fff;
    background: var(--home-primary-dark);
    border-radius: 7px;
    text-decoration: none;
}

.skip-link:focus {
    top: 16px;
}

.public-notice-bar {
    color: rgba(255, 255, 255, 0.9);
    background: #0a2235;
    font-size: 11px;
}

.public-notice-bar .container {
    min-height: 32px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.public-notice-bar strong {
    color: #ead17f;
    font-weight: 500;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--home-border);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
}

.header-main {
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    text-decoration: none;
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--home-primary);
    border-radius: 8px;
}

.brand-mark span {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.brand-copy strong {
    display: block;
    color: var(--home-primary-dark);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
}

.primary-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1px;
}

.primary-nav > a {
    padding: 8px 9px;
    color: #53606b;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

.primary-nav > a:hover,
.primary-nav > a.active {
    color: var(--home-primary);
    background: #f0f4f6;
}

.language-switcher {
    margin-left: 7px;
    padding: 2px;
    display: flex;
    gap: 1px;
    border: 1px solid var(--home-border);
    border-radius: 8px;
    background: #fff;
}

.language-switcher a {
    min-width: 30px;
    padding: 5px 7px;
    color: var(--home-muted);
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

.language-switcher a.active {
    color: #fff;
    background: var(--home-primary);
}

.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    padding: 8px;
    border: 1px solid var(--home-border);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
    display: block;
    width: 100%;
    height: 2px;
    margin: 4px 0;
    background: var(--home-primary);
    border-radius: 99px;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--home-text);
    font-weight: 600;
    letter-spacing: -0.015em;
}

p {
    margin-top: 0;
}

.home-section {
    padding: 72px 0;
}

.section-label {
    display: block;
    margin-bottom: 7px;
    color: var(--home-green);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 28px;
}

.section-heading-compact {
    align-items: center;
    margin-bottom: 22px;
}

.section-heading h2,
.community-intro h2,
.progress-intro h2 {
    font-size: clamp(25px, 2.8vw, 32px);
    font-weight: 500;
    line-height: 1.28;
}

.text-link {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--home-primary);
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-light {
    color: var(--home-primary-dark);
    background: #fff;
}

.button-light:hover {
    background: #f4f6f7;
}

.button-outline-light {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.05);
}

.button-outline-light:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

/* Full-width hero carousel */
.home-hero {
    position: relative;
    background: #172735;
}

.home-hero-stage {
    position: relative;
    min-height: clamp(520px, 63vw, 650px);
    overflow: hidden;
}

.home-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.55s ease, visibility 0.55s ease;
}

.home-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.home-hero-image,
.home-hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.home-hero-image {
    object-fit: cover;
    object-position: center;
    transform: scale(1.015);
}

.home-hero-overlay {
    background:
        linear-gradient(180deg, rgba(6, 15, 23, 0.24) 0%, rgba(6, 15, 23, 0.38) 55%, rgba(6, 15, 23, 0.62) 100%),
        linear-gradient(90deg, rgba(6, 15, 23, 0.28), transparent 32%, transparent 68%, rgba(6, 15, 23, 0.22));
}

.home-hero-content {
    position: relative;
    z-index: 2;
    min-height: clamp(520px, 63vw, 650px);
    display: grid;
    place-items: center;
    padding-top: 55px;
    padding-bottom: 78px;
    text-align: center;
}

.home-hero-copy {
    max-width: 800px;
    margin-inline: auto;
    color: #fff;
}

.home-hero-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 14px;
    padding: 6px 11px;
    color: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 99px;
    background: rgba(10, 24, 34, 0.2);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.home-hero h1 {
    max-width: 780px;
    margin-inline: auto;
    color: #fff;
    font-size: clamp(34px, 4.8vw, 52px);
    font-weight: 500;
    line-height: 1.16;
    letter-spacing: -0.025em;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.25);
}

.home-hero-copy > p {
    max-width: 650px;
    margin: 17px auto 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    line-height: 1.7;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.hero-actions {
    margin-top: 25px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.home-hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.09);
    transform: translateY(-50%);
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(8px);
}

.home-hero-arrow:hover {
    background: rgba(255, 255, 255, 0.18);
}

.home-hero-prev {
    left: 24px;
}

.home-hero-next {
    right: 24px;
}

.home-hero-dots {
    position: absolute;
    right: 0;
    bottom: 34px;
    left: 0;
    z-index: 4;
    display: flex;
    justify-content: center;
    gap: 7px;
}

.home-hero-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.48);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.home-hero-dot.is-active {
    width: 24px;
    background: var(--home-accent);
}

/* Recent support */
.home-supporters-section {
    padding-top: 78px;
}

.supporters-showcase {
    display: grid;
    grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.38fr);
    gap: 24px;
}

.support-total-card {
    position: relative;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    padding: 28px;
    color: #fff;
    border-radius: var(--home-radius);
    background:
        radial-gradient(circle at 85% 15%, rgba(213, 167, 47, 0.42), transparent 34%),
        linear-gradient(145deg, #153a5b, #0e2b43);
}

.support-total-card::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -50px;
    width: 170px;
    height: 170px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
}

.support-total-card > * {
    position: relative;
    z-index: 1;
}

.support-total-card > span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
}

.support-total-card strong {
    display: block;
    margin-top: 7px;
    color: #fff;
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 500;
    line-height: 1.25;
}

.support-total-card a {
    margin-top: 23px;
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    text-decoration: none;
}

.supporter-list {
    overflow: hidden;
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
    background: #fff;
}

.supporter-row {
    min-height: 60px;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 11px 16px;
    border-bottom: 1px solid #edf1f3;
}

.supporter-row:last-child {
    border-bottom: 0;
}

.supporter-avatar {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: var(--home-primary);
    border-radius: 50%;
    background: #edf3f6;
    font-size: 12px;
    font-weight: 600;
}

.supporter-copy strong,
.supporter-copy span,
.supporter-amount strong,
.supporter-amount span {
    display: block;
}

.supporter-copy strong {
    font-size: 12px;
    font-weight: 500;
}

.supporter-copy span,
.supporter-amount span {
    margin-top: 2px;
    color: var(--home-muted);
    font-size: 10px;
}

.supporter-amount {
    max-width: 210px;
    text-align: right;
}

.supporter-amount strong {
    color: var(--home-primary);
    font-size: 11px;
    font-weight: 600;
}

/* Gallery: one large item plus two stacked items */
.home-stories-section {
    background: var(--home-soft);
}

.story-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 16px;
    min-height: 520px;
}

.story-card {
    min-width: 0;
    overflow: hidden;
    border-radius: var(--home-radius);
    text-decoration: none;
}

.story-card-featured {
    grid-row: 1 / 3;
}

.story-media {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 250px;
    overflow: hidden;
    background: #dfe6ea;
}

.story-media img,
.story-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.story-card:hover .story-media img {
    transform: scale(1.035);
}

.story-placeholder {
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--home-primary);
    font-weight: 600;
}

.story-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 42%, rgba(6, 20, 30, 0.78) 100%);
}

.story-content {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: 22px;
    color: #fff;
}

.story-content small {
    color: rgba(255, 255, 255, 0.72);
    font-size: 10px;
}

.story-content h3 {
    margin-top: 5px;
    color: #fff;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.35;
}

.story-card-featured .story-content h3 {
    font-size: clamp(22px, 3vw, 29px);
}

.story-content > span {
    display: block;
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 10px;
}

/* Community */
.home-community-section {
    background: #fff;
}

.community-layout {
    display: grid;
    grid-template-columns: minmax(190px, 0.38fr) minmax(0, 1.62fr);
    gap: 34px;
    align-items: start;
}

.community-intro {
    position: sticky;
    top: 92px;
    padding-top: 4px;
}

.community-intro .text-link,
.progress-intro .text-link {
    margin-top: 20px;
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.community-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--home-border);
    border-radius: 11px;
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.community-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(21, 44, 63, 0.08);
}

.community-card-photo {
    position: relative;
    height: 138px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #eaf0f3;
    text-decoration: none;
}

.community-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.community-card-initials {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    color: #fff;
    border-radius: 50%;
    background: var(--home-primary);
    font-size: 16px;
    font-weight: 500;
}

.community-card-type {
    position: absolute;
    left: 9px;
    bottom: 9px;
    padding: 4px 7px;
    color: var(--home-primary-dark);
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.92);
    font-size: 9px;
    font-weight: 500;
}

.community-card-body {
    padding: 13px;
}

.community-card-code {
    display: none;
}

.community-card h3 {
    font-size: 13px;
    font-weight: 500;
}

.community-card h3 a,
.community-card-link {
    text-decoration: none;
}

.community-card-location {
    margin: 5px 0 0;
    color: var(--home-muted);
    font-size: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.community-card-footer {
    margin-top: 10px;
    padding-top: 9px;
    border-top: 1px solid #edf1f3;
}

.community-card-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 9px;
    color: var(--home-muted);
    font-size: 9px;
}

.community-card-stats strong {
    color: var(--home-primary);
    font-weight: 600;
}

.community-card-link {
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--home-primary);
    font-size: 10px;
    font-weight: 500;
}

/* Progress */
.home-progress-section {
    background: var(--home-warm);
}

.progress-layout {
    display: grid;
    grid-template-columns: minmax(190px, 0.38fr) minmax(0, 1.62fr);
    gap: 38px;
    align-items: start;
}

.progress-intro {
    position: sticky;
    top: 92px;
}

.progress-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.progress-item {
    min-width: 0;
    padding: 19px;
    border: 1px solid #e5e1d7;
    border-radius: 11px;
    background: #fff;
}

.progress-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.progress-topline time,
.progress-topline span {
    color: var(--home-muted);
    font-size: 9px;
}

.progress-topline span {
    color: var(--home-green);
    font-weight: 600;
}

.progress-item > small a {
    color: var(--home-green);
    font-size: 9px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.progress-item h3 {
    margin-top: 5px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.42;
}

.progress-item p {
    margin: 7px 0 0;
    color: var(--home-muted);
    font-size: 11px;
}

.progress-track {
    height: 4px;
    margin-top: 15px;
    overflow: hidden;
    border-radius: 99px;
    background: #edf0ec;
}

.progress-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--home-green);
}

/* Video: one wide plus two compact */
.home-video-section {
    background: #fff;
}

.video-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.home-video-card {
    min-width: 0;
    overflow: hidden;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
    background: #fff;
}

.home-video-featured {
    grid-row: 1 / 3;
    display: block;
}

.home-video-cover {
    position: relative;
    display: block;
    min-height: 140px;
    overflow: hidden;
    background: #e8eef1;
}

.home-video-featured .home-video-cover {
    aspect-ratio: 16 / 9;
}

.home-video-cover img,
.video-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-placeholder {
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--home-primary);
    font-weight: 600;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    color: var(--home-primary);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    transform: translate(-50%, -50%);
    font-size: 11px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.home-video-content {
    padding: 15px;
}

.home-video-featured .home-video-content {
    padding: 18px 20px 20px;
}

.home-video-content small {
    color: var(--home-green);
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.home-video-content h3 {
    margin-top: 5px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.home-video-featured .home-video-content h3 {
    font-size: 18px;
}

.home-video-content h3 a {
    text-decoration: none;
}

.home-video-content p {
    margin: 7px 0 0;
    color: var(--home-muted);
    font-size: 11px;
}

.home-empty-state {
    min-height: 130px;
    display: grid;
    place-items: center;
    padding: 22px;
    color: var(--home-muted);
    border: 1px dashed #cbd5dc;
    border-radius: var(--home-radius);
    background: #fff;
    text-align: center;
    font-size: 12px;
}

/* Footer */
.site-footer {
    color: #c8d2da;
    background: var(--home-primary-dark);
}

.footer-clean-grid {
    display: grid;
    grid-template-columns: 1.3fr repeat(3, 0.65fr) 1fr;
    gap: 28px;
    padding-top: 46px;
    padding-bottom: 34px;
}

.footer-brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
}

.footer-brand-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: var(--home-primary-dark);
    border-radius: 8px;
    background: #e3c061;
    font-size: 10px;
    font-weight: 600;
}

.footer-brand-lockup strong,
.footer-brand-lockup small {
    display: block;
}

.footer-brand-lockup strong {
    font-size: 13px;
    font-weight: 500;
}

.footer-brand-lockup small {
    margin-top: 2px;
    color: #9eacb7;
    font-size: 9px;
}

.footer-clean-brand p {
    max-width: 260px;
    margin: 13px 0 0;
    color: #9eacb7;
    font-size: 11px;
}

.footer-clean-navigation h2,
.footer-clean-contact h2 {
    color: #fff;
    font-size: 11px;
    font-weight: 500;
}

.footer-clean-links,
.footer-clean-contact-list {
    margin-top: 11px;
    display: grid;
    gap: 7px;
}

.footer-clean-links a,
.footer-clean-contact-list a,
.footer-clean-contact-list > span {
    color: #aeb9c1;
    font-size: 10px;
    text-decoration: none;
}

.footer-clean-links a:hover,
.footer-clean-contact-list a:hover {
    color: #fff;
}

.footer-clean-contact-list a,
.footer-clean-contact-list > span {
    display: flex;
    align-items: flex-start;
    gap: 7px;
}

.footer-contact-icon {
    flex: 0 0 15px;
    color: #e3c061;
}

.footer-clean-social {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-clean-social a {
    color: #fff;
    font-size: 10px;
    text-decoration: none;
}

.footer-clean-bottom {
    min-height: 52px;
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #8f9ca6;
    font-size: 10px;
}

/* Shared lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.86);
}

.lightbox.open {
    display: flex;
}

.lightbox figure {
    max-width: min(1000px, 90vw);
    max-height: 88vh;
    margin: 0;
    text-align: center;
}

.lightbox img {
    max-height: 80vh;
    margin-inline: auto;
}

.lightbox figcaption {
    margin-top: 9px;
    color: #fff;
    font-size: 11px;
}

.lightbox-close,
.lightbox-nav {
    position: absolute;
    display: grid;
    place-items: center;
    color: #fff;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
}

.lightbox-close {
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
}

.lightbox-nav {
    top: 50%;
    width: 40px;
    height: 48px;
    transform: translateY(-50%);
}

.lightbox-prev {
    left: 18px;
}

.lightbox-next {
    right: 18px;
}

[data-reveal] {
    opacity: 1;
    transform: none;
}

@media (max-width: 1080px) {
    .primary-nav > a {
        padding-inline: 7px;
        font-size: 11px;
    }

    .community-layout,
    .progress-layout {
        grid-template-columns: 180px minmax(0, 1fr);
        gap: 26px;
    }

    .community-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-clean-grid {
        grid-template-columns: 1.25fr repeat(2, 0.75fr);
    }

    .footer-clean-contact {
        grid-column: span 2;
    }
}

@media (max-width: 900px) {
    .menu-toggle {
        display: block;
    }

    .primary-nav {
        position: fixed;
        top: 66px;
        right: 0;
        bottom: 0;
        width: min(320px, 88vw);
        padding: 18px;
        display: block;
        overflow-y: auto;
        border-left: 1px solid var(--home-border);
        background: #fff;
        transform: translateX(100%);
        transition: transform 0.25s ease;
        box-shadow: -12px 0 30px rgba(24, 46, 64, 0.08);
    }

    .public-notice-bar + .skip-link + .site-header .primary-nav {
        top: 98px;
    }

    .primary-nav.open {
        transform: translateX(0);
    }

    .primary-nav > a {
        display: block;
        margin-bottom: 3px;
        padding: 11px 12px;
        font-size: 12px;
    }

    .language-switcher {
        width: max-content;
        margin: 14px 0 0;
    }

    .home-hero-stage,
    .home-hero-content {
        min-height: 560px;
    }

    .home-hero-arrow {
        width: 40px;
        height: 40px;
    }

    .home-hero-prev {
        left: 16px;
    }

    .home-hero-next {
        right: 16px;
    }

    .supporters-showcase {
        grid-template-columns: 1fr;
    }

    .support-total-card {
        min-height: 220px;
    }

    .story-showcase,
    .video-showcase {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        min-height: auto;
    }

    .story-card-featured,
    .home-video-featured {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .story-card-featured .story-media {
        min-height: 390px;
    }

    .story-card:not(.story-card-featured) .story-media {
        min-height: 230px;
    }

    .home-video-card {
        display: block;
    }

    .home-video-cover {
        aspect-ratio: 16 / 9;
    }

    .community-layout,
    .progress-layout {
        grid-template-columns: 1fr;
    }

    .community-intro,
    .progress-intro {
        position: static;
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 18px;
    }

    .community-intro .section-label,
    .progress-intro .section-label {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

    .community-intro .text-link,
    .progress-intro .text-link {
        margin-top: 0;
    }
}

@media (max-width: 680px) {
    .container {
        width: min(calc(100% - 28px), var(--home-container));
    }

    .home-section {
        padding: 54px 0;
    }

    .header-main {
        min-height: 62px;
    }

    .primary-nav {
        top: 62px;
    }

    .public-notice-bar + .skip-link + .site-header .primary-nav {
        top: 94px;
    }

    .brand-mark {
        width: 36px;
        height: 36px;
    }

    .brand-copy strong {
        font-size: 13px;
    }

    .home-hero-stage,
    .home-hero-content {
        min-height: 520px;
    }

    .home-hero-content {
        padding: 55px 42px 76px;
    }

    .home-hero h1 {
        font-size: 31px;
    }

    .home-hero-copy > p {
        font-size: 12px;
    }

    .home-hero-arrow {
        width: 36px;
        height: 36px;
        font-size: 24px;
    }

    .home-hero-prev {
        left: 10px;
    }

    .home-hero-next {
        right: 10px;
    }

    .section-heading,
    .section-heading-compact,
    .community-intro,
    .progress-intro {
        display: block;
        margin-bottom: 22px;
    }

    .section-heading h2,
    .community-intro h2,
    .progress-intro h2 {
        font-size: 25px;
    }

    .section-heading .text-link,
    .community-intro .text-link,
    .progress-intro .text-link {
        margin-top: 13px;
    }

    .support-total-card {
        min-height: 200px;
        padding: 23px;
    }

    .supporter-row {
        grid-template-columns: 34px minmax(0, 1fr);
        padding: 11px 13px;
    }

    .supporter-amount {
        grid-column: 2;
        max-width: none;
        text-align: left;
    }

    .story-showcase,
    .video-showcase,
    .community-grid,
    .progress-list {
        grid-template-columns: 1fr;
    }

    .story-card-featured {
        grid-column: auto;
    }

    .story-card-featured .story-media,
    .story-card:not(.story-card-featured) .story-media {
        min-height: 260px;
    }

    .story-card-featured .story-content h3 {
        font-size: 21px;
    }

    .community-card-photo {
        height: 190px;
    }

    .footer-clean-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px 18px;
        padding-top: 38px;
    }

    .footer-clean-brand,
    .footer-clean-contact {
        grid-column: 1 / -1;
    }
}

@media (max-width: 430px) {
    .public-notice-bar .container {
        min-height: 38px;
        align-items: flex-start;
        padding-block: 7px;
    }

    .home-hero-stage,
    .home-hero-content {
        min-height: 500px;
    }

    .home-hero-content {
        padding-inline: 34px;
    }

    .home-hero h1 {
        font-size: 27px;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .button {
        width: 100%;
    }

    .home-hero-kicker {
        font-size: 9px;
    }

    .footer-clean-grid {
        grid-template-columns: 1fr;
    }

    .footer-clean-brand,
    .footer-clean-contact {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* --------------------------------------------------------------------------
   Homepage refinements V4 — stronger section hierarchy and balanced layouts
   -------------------------------------------------------------------------- */
.section-heading-large {
    align-items: flex-end;
    margin-bottom: 34px;
}

.section-heading-large h2 {
    max-width: 760px;
    font-size: clamp(32px, 3.8vw, 44px);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.section-heading-large .section-label {
    margin-bottom: 9px;
    font-size: 12px;
    letter-spacing: 0.075em;
}

.section-heading-large .text-link {
    margin-bottom: 5px;
    font-size: 13px;
}

/* Community: render only when profiles exist and give the cards more presence. */
.home-community-section {
    background: #fff;
}

.home-community-section .community-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.home-community-section .community-card {
    border-radius: 14px;
}

.home-community-section .community-card-photo {
    height: 215px;
}

.home-community-section .community-card-body {
    padding: 18px;
}

.home-community-section .community-card h3 {
    font-size: 17px;
    line-height: 1.35;
}

.home-community-section .community-card-location {
    margin-top: 7px;
    font-size: 12px;
}

.home-community-section .community-card-stats {
    font-size: 11px;
}

.home-community-section .community-card-link {
    margin-top: 11px;
    font-size: 12px;
}

/* Progress: single-project summary with a clean milestone timeline. */
.home-progress-section {
    padding: 88px 0 94px;
    background: #f7f3e9;
}

.project-progress-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
    gap: 22px;
    align-items: stretch;
}

.project-progress-summary,
.project-milestones {
    border: 1px solid #e2ddd1;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(44, 49, 45, 0.035);
}

.project-progress-summary {
    display: flex;
    min-height: 330px;
    padding: 34px 36px;
    flex-direction: column;
}

.project-progress-summary-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.project-progress-summary-top > div {
    display: flex;
    align-items: baseline;
    gap: 13px;
}

.project-progress-kicker {
    color: #297a5a;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.project-progress-summary strong {
    color: #173c5b;
    font-size: clamp(38px, 4vw, 54px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.045em;
}

.project-progress-summary time {
    padding-top: 5px;
    color: #6a7480;
    font-size: 12px;
    white-space: nowrap;
}

.project-progress-meter {
    height: 8px;
    margin-top: 28px;
    overflow: hidden;
    border-radius: 999px;
    background: #e8eee9;
}

.project-progress-meter span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #2f805f;
}

.project-progress-summary h3 {
    max-width: 680px;
    margin: auto 0 0;
    color: #152f45;
    font-size: clamp(27px, 3vw, 38px);
    font-weight: 500;
    line-height: 1.18;
    letter-spacing: -0.03em;
}

.project-progress-summary p {
    max-width: 680px;
    margin: 14px 0 0;
    color: #5f6974;
    font-size: 15px;
    line-height: 1.68;
}

.project-milestones {
    padding: 28px 30px 16px;
}

.project-milestones-heading {
    padding-bottom: 18px;
    border-bottom: 1px solid #ece8df;
}

.project-milestones-heading span {
    color: #173c5b;
    font-size: 18px;
    font-weight: 500;
}

.project-milestone {
    position: relative;
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 15px;
    padding: 24px 0;
}

.project-milestone + .project-milestone {
    border-top: 1px solid #ece8df;
}

.project-milestone-marker {
    position: relative;
    width: 12px;
    height: 12px;
    margin-top: 6px;
    border: 3px solid #d9eee4;
    border-radius: 50%;
    background: #2f805f;
    box-shadow: 0 0 0 4px #f2f8f5;
}

.project-milestone-content time {
    color: #7a838c;
    font-size: 11px;
}

.project-milestone-content h3 {
    margin: 7px 0 0;
    color: #172f43;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.35;
}

.project-milestone-content p {
    margin: 8px 0 0;
    color: #68727c;
    font-size: 13px;
    line-height: 1.6;
}

.project-milestones-empty {
    display: grid;
    min-height: 220px;
    place-items: center;
    color: #7b848c;
    font-size: 14px;
    text-align: center;
}

/* Videos: controlled aspect ratios, stronger titles, no duplicate description. */
.home-video-section {
    padding: 92px 0 100px;
}

.home-video-section .video-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(330px, 0.78fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.home-video-section .home-video-card {
    min-width: 0;
    overflow: hidden;
    display: block;
    border-radius: 15px;
    box-shadow: 0 12px 32px rgba(21, 44, 63, 0.06);
}

.home-video-section .home-video-featured {
    grid-row: 1 / 3;
}

.home-video-section .home-video-cover,
.home-video-section .home-video-featured .home-video-cover {
    min-height: 0;
    aspect-ratio: 16 / 9;
    background: #dfe8ed;
}

.home-video-section .home-video-card:not(.home-video-featured) .home-video-cover {
    aspect-ratio: 16 / 7.4;
}

.home-video-section .home-video-cover img {
    object-fit: cover;
    object-position: center;
    transition: transform 0.35s ease;
}

.home-video-section .home-video-card:hover .home-video-cover img {
    transform: scale(1.025);
}

.home-video-section .play-button {
    width: 52px;
    height: 52px;
    font-size: 14px;
}

.home-video-section .home-video-featured .play-button {
    width: 66px;
    height: 66px;
    font-size: 16px;
}

.home-video-section .home-video-content,
.home-video-section .home-video-featured .home-video-content {
    padding: 20px 22px 22px;
}

.home-video-section .home-video-content small {
    font-size: 10px;
    letter-spacing: 0.065em;
}

.home-video-section .home-video-content h3 {
    margin-top: 7px;
    font-size: 18px;
    line-height: 1.35;
}

.home-video-section .home-video-featured .home-video-content h3 {
    max-width: 680px;
    font-size: clamp(23px, 2.6vw, 31px);
    line-height: 1.25;
}

.video-watch-link {
    margin-top: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--home-primary);
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
}

.video-watch-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.home-video-section .video-count-1 {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
}

.home-video-section .video-count-1 .home-video-featured {
    grid-row: auto;
}

.home-video-section .video-count-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
}

.home-video-section .video-count-2 .home-video-featured {
    grid-row: auto;
}

@media (max-width: 980px) {
    .home-community-section .community-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .project-progress-layout {
        grid-template-columns: 1fr;
    }

    .project-progress-summary {
        min-height: 300px;
    }

    .home-video-section .video-showcase {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
    }

    .home-video-section .home-video-featured {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .home-video-section .home-video-card:not(.home-video-featured) .home-video-cover {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 680px) {
    .section-heading-large {
        display: block;
        margin-bottom: 25px;
    }

    .section-heading-large h2 {
        font-size: 31px;
    }

    .section-heading-large .text-link {
        margin-top: 13px;
    }

    .home-progress-section,
    .home-video-section {
        padding: 64px 0;
    }

    .home-community-section .community-grid,
    .home-video-section .video-showcase,
    .home-video-section .video-count-2 {
        grid-template-columns: 1fr;
    }

    .home-community-section .community-card-photo {
        height: 230px;
    }

    .project-progress-summary,
    .project-milestones {
        padding: 24px;
    }

    .project-progress-summary {
        min-height: 290px;
    }

    .project-progress-summary-top {
        display: block;
    }

    .project-progress-summary-top > div {
        display: block;
    }

    .project-progress-summary strong {
        display: block;
        margin-top: 8px;
        font-size: 42px;
    }

    .project-progress-summary time {
        display: block;
        margin-top: 12px;
        padding-top: 0;
    }

    .project-progress-summary h3 {
        font-size: 27px;
    }

    .project-milestone-content h3 {
        font-size: 18px;
    }

    .home-video-section .home-video-content,
    .home-video-section .home-video-featured .home-video-content {
        padding: 17px 18px 19px;
    }

    .home-video-section .home-video-featured .home-video-content h3 {
        font-size: 23px;
    }
}

/* Progress V8: professional image-led progress feature. */
.home-progress-section {
    padding: 88px 0 94px;
    background: #f7f3e9;
}

.progress-feature {
    display: grid;
    grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
    min-height: 540px;
    overflow: hidden;
    border: 1px solid #e2ddd1;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(27, 45, 37, 0.07);
}

.progress-feature-media {
    position: relative;
    min-height: 540px;
    overflow: hidden;
    background: #173c5b;
}

.progress-feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 500ms ease;
}

.progress-feature:hover .progress-feature-media img {
    transform: scale(1.025);
}

.progress-feature-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 25, 36, 0.08) 38%, rgba(10, 25, 36, 0.76) 100%);
}

.progress-image-caption {
    position: absolute;
    right: 30px;
    bottom: 28px;
    left: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: #fff;
}

.progress-image-caption span {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.progress-image-caption time {
    color: rgba(255, 255, 255, 0.84);
    font-size: 13px;
    white-space: nowrap;
}

.progress-feature-content {
    display: flex;
    min-width: 0;
    padding: 44px 46px 40px;
    flex-direction: column;
}

.progress-feature-topline {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 22px;
}

.progress-feature-topline span {
    color: #2b785a;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.progress-feature-topline strong {
    color: #173c5b;
    font-size: clamp(38px, 4vw, 54px);
    font-weight: 500;
    line-height: 0.9;
    letter-spacing: -0.05em;
}

.progress-feature-meter {
    height: 8px;
    margin-top: 18px;
    overflow: hidden;
    border-radius: 999px;
    background: #e7eee9;
}

.progress-feature-meter span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #2f805f;
}

.progress-feature-copy {
    padding: 34px 0 32px;
    border-bottom: 1px solid #ebe6dc;
}

.progress-feature-copy h3 {
    max-width: 650px;
    margin: 0;
    color: #132f47;
    font-size: clamp(29px, 3vw, 40px);
    font-weight: 500;
    line-height: 1.18;
    letter-spacing: -0.035em;
}

.progress-feature-copy p {
    max-width: 660px;
    margin: 15px 0 0;
    color: #5f6a75;
    font-size: 15px;
    line-height: 1.72;
}

.progress-milestones {
    padding-top: 27px;
}

.progress-milestones-label {
    display: block;
    margin-bottom: 6px;
    color: #173c5b;
    font-size: 13px;
    font-weight: 600;
}

.progress-milestone-row {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: start;
    padding: 17px 0;
}

.progress-milestone-row + .progress-milestone-row {
    border-top: 1px solid #eee9df;
}

.progress-milestone-row time {
    padding-top: 3px;
    color: #77808a;
    font-size: 12px;
    line-height: 1.45;
    white-space: nowrap;
}

.progress-milestone-row h4 {
    margin: 0;
    color: #19364e;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.4;
}

.progress-milestone-row p {
    margin: 5px 0 0;
    color: #66717b;
    font-size: 13px;
    line-height: 1.55;
}

.progress-milestone-row > strong {
    display: inline-flex;
    min-width: 48px;
    min-height: 30px;
    padding: 5px 9px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #ebf5ef;
    color: #217052;
    font-size: 12px;
    font-weight: 600;
}

.progress-feature-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    margin-top: auto;
    padding-top: 18px;
    color: #173c5b;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.progress-feature-link span {
    transition: transform 180ms ease;
}

.progress-feature-link:hover span {
    transform: translateX(3px);
}

@media (max-width: 1020px) {
    .progress-feature {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    }

    .progress-feature-content {
        padding: 36px 34px 32px;
    }

    .progress-milestone-row {
        grid-template-columns: 82px minmax(0, 1fr) auto;
        gap: 14px;
    }
}

@media (max-width: 820px) {
    .progress-feature {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .progress-feature-media {
        min-height: 390px;
    }

    .progress-feature-content {
        min-height: 510px;
    }
}

@media (max-width: 680px) {
    .home-progress-section {
        padding: 64px 0 70px;
    }

    .progress-feature {
        border-radius: 15px;
    }

    .progress-feature-media {
        min-height: 300px;
    }

    .progress-image-caption {
        right: 20px;
        bottom: 20px;
        left: 20px;
    }

    .progress-feature-content {
        min-height: auto;
        padding: 28px 22px 27px;
    }

    .progress-feature-topline strong {
        font-size: 38px;
    }

    .progress-feature-copy {
        padding: 27px 0 23px;
    }

    .progress-feature-copy h3 {
        font-size: 27px;
    }

    .progress-feature-copy p {
        font-size: 14px;
        line-height: 1.65;
    }

    .progress-milestone-row {
        grid-template-columns: 1fr auto;
        gap: 8px 14px;
    }

    .progress-milestone-row time {
        grid-column: 1 / -1;
        padding-top: 0;
    }

    .progress-milestone-row p {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .progress-feature-media img,
    .progress-feature-link span {
        transition: none;
    }
}

/* Progress V9: separate image card with open, unboxed content. */
.home-progress-section {
    padding: 92px 0 100px;
    background: #f7f3e9;
}

.progress-feature {
    display: grid;
    grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(42px, 5vw, 76px);
    min-height: 0;
    overflow: visible;
    align-items: start;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.progress-feature-media {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    border: 1px solid rgba(23, 60, 91, 0.10);
    border-radius: 22px;
    background: #173c5b;
    box-shadow: 0 20px 50px rgba(26, 48, 40, 0.11);
}

.progress-feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.progress-feature-content {
    display: flex;
    min-width: 0;
    min-height: 520px;
    padding: 18px 0 4px;
    flex-direction: column;
    background: transparent;
}

.progress-feature-topline {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid #ddd7cb;
}

.progress-feature-topline span {
    color: #2b785a;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.progress-feature-topline strong {
    color: #173c5b;
    font-size: clamp(42px, 4vw, 60px);
    font-weight: 500;
    line-height: 0.9;
    letter-spacing: -0.055em;
}

.progress-feature-meter {
    height: 7px;
    margin-top: 18px;
    overflow: hidden;
    border-radius: 999px;
    background: #e1e8e3;
}

.progress-feature-copy {
    padding: 34px 0 30px;
    border-bottom: 1px solid #ddd7cb;
}

.progress-feature-copy h3 {
    max-width: 720px;
    margin: 0;
    color: #132f47;
    font-size: clamp(32px, 3.25vw, 46px);
    font-weight: 500;
    line-height: 1.14;
    letter-spacing: -0.04em;
}

.progress-feature-copy p {
    max-width: 690px;
    margin: 17px 0 0;
    color: #5f6a75;
    font-size: 16px;
    line-height: 1.72;
}

.progress-milestones {
    position: relative;
    padding: 29px 0 0 28px;
}

.progress-milestones::before {
    position: absolute;
    top: 67px;
    bottom: 24px;
    left: 5px;
    width: 1px;
    background: #cfd8d2;
    content: "";
}

.progress-milestones-label {
    display: block;
    margin: 0 0 10px -28px;
    color: #173c5b;
    font-size: 14px;
    font-weight: 650;
}

.progress-milestone-row {
    position: relative;
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: start;
    padding: 18px 0 20px;
}

.progress-milestone-row::before {
    position: absolute;
    top: 24px;
    left: -28px;
    width: 11px;
    height: 11px;
    border: 3px solid #e7f1eb;
    border-radius: 50%;
    background: #2f805f;
    box-sizing: border-box;
    content: "";
}

.progress-milestone-row + .progress-milestone-row {
    border-top: 1px solid #e0dbd0;
}

.progress-milestone-row time {
    padding-top: 3px;
    color: #75808a;
    font-size: 12px;
    line-height: 1.45;
    white-space: nowrap;
}

.progress-milestone-row h4 {
    margin: 0;
    color: #173c5b;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
}

.progress-milestone-row p {
    margin: 6px 0 0;
    color: #65717b;
    font-size: 14px;
    line-height: 1.58;
}

.progress-milestone-row > strong {
    display: inline-flex;
    min-width: 50px;
    min-height: 31px;
    padding: 5px 10px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #e8f2ec;
    color: #217052;
    font-size: 12px;
    font-weight: 650;
}

.progress-feature-link {
    margin-top: auto;
    padding-top: 22px;
}

@media (max-width: 1020px) {
    .progress-feature {
        grid-template-columns: minmax(310px, 0.84fr) minmax(0, 1.16fr);
        gap: 38px;
    }

    .progress-feature-media,
    .progress-feature-content {
        min-height: 500px;
    }

    .progress-milestone-row {
        grid-template-columns: 84px minmax(0, 1fr) auto;
        gap: 14px;
    }
}

@media (max-width: 820px) {
    .progress-feature {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .progress-feature-media {
        min-height: 420px;
    }

    .progress-feature-content {
        min-height: 0;
        padding-top: 0;
    }
}

@media (max-width: 680px) {
    .home-progress-section {
        padding: 64px 0 72px;
    }

    .progress-feature {
        gap: 28px;
    }

    .progress-feature-media {
        min-height: 310px;
        border-radius: 16px;
    }

    .progress-image-caption {
        right: 20px;
        bottom: 20px;
        left: 20px;
    }

    .progress-feature-topline strong {
        font-size: 40px;
    }

    .progress-feature-copy {
        padding: 27px 0 24px;
    }

    .progress-feature-copy h3 {
        font-size: 29px;
    }

    .progress-feature-copy p {
        font-size: 14px;
        line-height: 1.65;
    }

    .progress-milestones {
        padding-left: 22px;
    }

    .progress-milestones-label {
        margin-left: -22px;
    }

    .progress-milestones::before {
        left: 4px;
    }

    .progress-milestone-row {
        grid-template-columns: 1fr auto;
        gap: 8px 14px;
        padding: 16px 0 18px;
    }

    .progress-milestone-row::before {
        left: -22px;
    }

    .progress-milestone-row time {
        grid-column: 1 / -1;
        padding-top: 0;
    }

    .progress-milestone-row p {
        display: block;
        font-size: 13px;
    }
}

/* Progress V10: lighter typography and only essential content. */
.home-progress-section .section-heading-large h2 {
    max-width: 680px;
    font-size: clamp(30px, 3vw, 42px);
    font-weight: 500;
    line-height: 1.16;
    letter-spacing: -0.035em;
}

.progress-feature-topline {
    justify-content: flex-end;
    padding-bottom: 0;
    border-bottom: 0;
}

.progress-feature-topline strong {
    font-size: clamp(34px, 3.4vw, 48px);
    line-height: 1;
    letter-spacing: -0.045em;
}

.progress-feature-meter {
    margin-top: 12px;
}

.progress-feature-copy {
    padding: 28px 0 26px;
}

.progress-feature-copy h3 {
    max-width: 650px;
    font-size: clamp(26px, 2.7vw, 38px);
    line-height: 1.18;
    letter-spacing: -0.03em;
}

.progress-feature-copy p {
    max-width: 640px;
    margin-top: 13px;
    font-size: 15px;
    line-height: 1.65;
}

.progress-milestones {
    padding-top: 12px;
}

.progress-milestones::before {
    top: 30px;
}

.progress-milestone-row {
    padding: 17px 0 18px;
}

.progress-milestone-row h4 {
    font-size: 17px;
    line-height: 1.4;
}

@media (max-width: 680px) {
    .home-progress-section .section-heading-large h2 {
        font-size: 29px;
    }

    .progress-feature-topline strong {
        font-size: 36px;
    }

    .progress-feature-copy h3 {
        font-size: 26px;
    }
}


/* Homepage demo-image reliability and support visuals */
.support-total-card {
    min-height: 330px;
    justify-content: flex-end;
    isolation: isolate;
    background-color: #153a5b;
    background-image:
        linear-gradient(180deg, rgba(9, 31, 48, 0.06) 10%, rgba(9, 31, 48, 0.92) 82%),
        var(--support-demo-image),
        url('../images/home-hero-background.jpg');
    background-position: center;
    background-size: cover;
    box-shadow: 0 18px 42px rgba(20, 48, 69, 0.16);
}

.support-total-card::before {
    inset: 0;
    width: auto;
    height: auto;
    border: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(16, 54, 82, 0.12), rgba(17, 45, 68, 0.28));
    pointer-events: none;
}

.support-total-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.support-total-content > span {
    display: block;
    color: rgba(255, 255, 255, 0.76);
    font-size: 11px;
}

.support-total-content > strong {
    display: block;
    margin-top: 7px;
    color: #fff;
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 500;
    line-height: 1.25;
}

.support-total-content > a {
    display: inline-flex;
    margin-top: 23px;
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    text-decoration: none;
}

.supporter-avatar {
    position: relative;
    overflow: hidden;
    background: #edf3f6;
}

.supporter-avatar img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.supporter-avatar > span {
    position: relative;
    z-index: -1;
}

.progress-feature-media {
    min-height: 520px;
    background-color: #153a5b;
    background-image:
        linear-gradient(180deg, rgba(12, 42, 63, 0.03), rgba(12, 42, 63, 0.2)),
        var(--progress-demo-image),
        url('../images/home-hero-background.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.progress-feature-media img {
    display: none;
}

@media (max-width: 900px) {
    .support-total-card {
        min-height: 280px;
    }

    .progress-feature-media {
        min-height: 390px;
    }
}

@media (max-width: 640px) {
    .support-total-card {
        min-height: 250px;
    }

    .progress-feature-media {
        min-height: 300px;
    }
}
