/* Native CSS loaded after Tailwind. No separate CSS compilation is required.
   Responsive sections use these rules without a separate CSS build. */
.desktop-page { min-width: 0; }
.mobile-menu-toggle, .mobile-menu-panel { display: none; }
.footer-bottom { display: contents; }

.hero-carousel {
    --hero-near-transform: translate(155px, 23px) scale(.92);
    --hero-far-transform: translate(294px, 56px) scale(.8);
    --hero-hidden-transform: translate(330px, 70px) scale(.74);
    --hero-exit-lift: translate(245px, -26px) scale(.91) rotate(7deg);
    --hero-exit-turn: translate(276px, -8px) scale(.87) rotate(5deg);
    --hero-exit-land: translate(340px, 65px) scale(.76) rotate(-2deg);
}
.hero-back-near { transform: var(--hero-near-transform); }
.hero-back-far { transform: var(--hero-far-transform); }
.hero-back-hidden { transform: var(--hero-hidden-transform); }

@media (width < 1440px) {
    .desktop-page { --page-gutter: clamp(16px, 3vw, 40px); padding-top: clamp(20px, 3vw, 44px); }
    .site-header, .hero-section, .site-footer { width: calc(100% - 2 * var(--page-gutter)); }
    .site-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; height: auto; gap: 20px 24px; }
    .site-header .brand { width: auto; min-width: 0; }
    .site-header .brand > span { min-width: 0; }
    .header-nav { grid-row: 2; grid-column: 1 / -1; margin-left: 0; justify-content: center; flex-wrap: wrap; gap: 8px 32px; }
    .header-nav a { display: inline-flex; align-items: center; min-height: 44px; }
    .header-actions { grid-column: 2; grid-row: 1; margin-left: 0; gap: 20px; }
    .hotline { border: 0; padding-left: 0; }
    .page-sections { margin-top: clamp(36px, 5vw, 67px); gap: 56px; }

    .hero-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 32px; min-height: 0; padding-bottom: 20px; }
    .hero-copy { width: auto; min-width: 0; padding-top: 20px; }
    .hero-eyebrow { margin-left: 0; font-size: 12px; line-height: 1.5; }
    .hero-copy h1 { font-size: clamp(36px, 4vw, 56px); line-height: 1.16; margin-top: 16px; }
    .hero-description { width: auto; max-width: 554px; font-size: clamp(20px, 2vw, 26px); line-height: 1.35; margin-top: 20px; }
    .hero-buttons { flex-wrap: wrap; gap: 12px; }
    .hero-buttons .button { width: auto; flex: 1 1 190px; min-height: 49px; padding-inline: 16px; font-size: 15px; }
    .hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); height: auto; margin-top: 36px; }
    .hero-stats > div, .hero-stats > div:first-child, .hero-stats > div:nth-child(2), .hero-stats > div:nth-child(3) { width: auto; min-width: 0; padding-left: 12px; }
    .hero-stats > div:first-child { padding-left: 0; }
    .hero-stats dt { font-size: clamp(20px, 2vw, 27px); line-height: 1.25; white-space: nowrap; }
    .hero-stats dd { font-size: 12px; line-height: 1.4; }

    .hero-carousel {
        position: relative; left: auto; top: auto; width: 100%; min-width: 0;
        --hero-near-transform: translate(40px, 18px) scale(.94);
        --hero-far-transform: translate(74px, 38px) scale(.86);
        --hero-hidden-transform: translate(90px, 48px) scale(.8);
        --hero-exit-lift: translate(66px, -16px) scale(.94) rotate(5deg);
        --hero-exit-turn: translate(80px, 0px) scale(.9) rotate(3deg);
        --hero-exit-land: translate(96px, 46px) scale(.8) rotate(-2deg);
    }
    .hero-stack { display: grid; height: auto; isolation: isolate; padding-bottom: 10px; }
    .hero-card { position: relative; left: auto; top: auto; grid-area: 1 / 1; width: calc(100% - 64px); min-width: 0; }
    .hero-stack .fund-card, .hero-back .fund-card { width: 100%; height: 100%; min-height: 0; padding: 18px; border-radius: 30px; }
    .hero-stack .fund-image { height: auto; aspect-ratio: 418 / 245; border-radius: 22px; }
    .hero-stack .fund-label { margin-top: 16px; font-size: 14px; line-height: 1.4; }
    .hero-stack .fund-card h3 { width: auto; max-width: none; min-height: 0; margin-top: 6px; font-size: clamp(21px, 2vw, 27px); line-height: 1.25; }
    .hero-stack .fund-amount { margin-top: 14px; font-size: 17px; line-height: 1.4; }
    .hero-stack .fund-progress-row { height: 36px; margin-top: 4px; gap: 10px; }
    .hero-stack .fund-heart { width: 36px; min-height: 44px; align-items: center; }
    .hero-stack .fund-heart img { width: 30px; height: 27px; }
    .hero-stack .fund-description { width: auto; max-width: none; margin-top: 8px; font-size: 14px; line-height: 1.45; }
    .hero-controls { flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; padding-right: 16px; }
    .hero-controls .help-pill { width: auto; min-height: 53px; padding-inline: 20px; font-size: 16px; }
    .hero-handwriting { display: none; }

    .site-footer { min-height: 0; margin-top: 56px; padding-bottom: max(32px, env(safe-area-inset-bottom)); }
    .footer-main { display: grid; grid-template-columns: 1.2fr 1.15fr .8fr 1.15fr; gap: 32px 24px; padding-top: 0; }
    .footer-brand, .footer-information, .footer-help, .footer-contacts { width: auto; min-width: 0; margin: 0; }
    .footer-brand .brand { width: auto; margin: 0; gap: 10px; align-items: flex-start; }
    .footer-brand .brand > span { min-width: 0; }
    .footer-brand .brand-logo { width: 52px; height: 52px; }
    .footer-brand .brand strong { font-size: 18px; line-height: 1.3; }
    .footer-brand .brand span span { font-size: 14px; line-height: 1.4; }
    .footer-motto { margin-top: 20px; line-height: 1.4; }
    .footer-column { gap: 14px; font-size: 15px; line-height: 1.5; }
    .footer-column h3 { font-size: 17px; line-height: 1.4; }
    .footer-column a, .footer-column button, .footer-contacts p { overflow-wrap: anywhere; }
    .footer-contacts br { display: none; }
    .social-links { justify-content: flex-start; gap: 8px; margin-top: 16px; }
    .social-links a { display: grid; align-items: center; justify-items: start; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; background: transparent; }
    .footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-top: 40px; padding-top: 24px; border-top: 1px solid #dedfe5; }
    .copyright, .studio-credit { position: static; font-size: 14px; line-height: 1.5; }
    .studio-credit { min-height: 44px; }
}

@media (width < 1100px) and (width >= 768px) {
    .site-header .brand-logo { width: 56px; height: 56px; }
    .site-header .brand strong { font-size: 19px; }
    .site-header .brand span span { font-size: 15px; }
    .header-actions { gap: 16px; }
    .header-donate { width: 160px; }
    .hotline { gap: 8px; }
    .hotline strong { font-size: 17px; }
    .phone-icon { width: 42px; height: 42px; }
}

@media (width < 1024px) {
    .hero-section { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .hero-copy { padding-top: 0; width: 100%; max-width: 680px; margin-inline: auto; }
    .hero-copy h1 { font-size: clamp(38px, 6vw, 54px); }
    .hero-description { max-width: 620px; font-size: 23px; }
    .hero-buttons { max-width: 540px; }
    .hero-stats { max-width: 625px; }
    .hero-stats dt { font-size: 27px; }
    .hero-stats dd { font-size: 14px; }
    .hero-carousel { max-width: 560px; margin-inline: auto; }
    .hero-stack .fund-card h3 { font-size: 26px; }
    .hero-controls { padding-right: 0; }
    .hero-controls .help-pill { flex: 0 1 auto; }
    .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 40px; }
    .footer-brand .brand { max-width: 348px; align-items: center; }
    .footer-column { gap: 6px; font-size: 16px; }
    .footer-column h3 { margin-bottom: 8px; }
    .footer-column a, .footer-column button { display: flex; align-items: center; min-height: 44px; }
}

@media (width < 768px) {
    .footer-main { grid-template-columns: minmax(0, 1fr); }
    .desktop-page { padding-top: max(16px, env(safe-area-inset-top)); }
    .site-header { grid-template-columns: minmax(0, 1fr) 48px; gap: 0 12px; }
    .site-header .brand { gap: 10px; }
    .site-header .brand-logo { width: 52px; height: 52px; }
    .site-header .brand strong { font-size: 18px; line-height: 1.25; }
    .site-header .brand span span { font-size: 13px; line-height: 1.35; }
    .header-nav, .header-actions { display: none; }
    .mobile-menu-toggle { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid #dfe1e8; border-radius: 16px; background: #fff; color: var(--color-ink); }
    .page-sections { margin-top: 36px; gap: 44px; }
    .hero-section { gap: 32px; padding-bottom: 8px; }
    .hero-copy h1 { font-size: clamp(26px, 7.5vw, 48px); line-height: 1.15; }
    .hero-description { font-size: clamp(18px, 3.5vw, 23px); line-height: 1.45; margin-top: 16px; }
    .hero-eyebrow { font-size: 11px; letter-spacing: .025em; }
    .hero-stats { margin-top: 28px; }
    .hero-stats dt { font-size: 24px; }
    .hero-stats dd { font-size: 12px; }
    .site-footer { margin-top: 44px; }
    .footer-bottom { margin-top: 28px; gap: 12px; }
    .info-dialog { padding: 28px 20px; }
    .info-dialog h2 { font-size: 26px; line-height: 1.25; }
    .dialog-content { font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
}

@media (width < 600px) {
    .hero-carousel {
        max-width: 440px;
        --hero-near-transform: translate(24px, 14px) scale(.94);
        --hero-far-transform: translate(44px, 28px) scale(.88);
        --hero-hidden-transform: translate(56px, 38px) scale(.82);
        --hero-exit-lift: translate(26px, -12px) scale(.94) rotate(3deg);
        --hero-exit-turn: translate(42px, 0px) scale(.9) rotate(2deg);
        --hero-exit-land: translate(56px, 36px) scale(.82) rotate(-1deg);
    }
    .hero-card { width: calc(100% - 32px); }
    .hero-stack .fund-card, .hero-back .fund-card { padding: 16px; border-radius: 26px; }
    .hero-front .fund-card { box-shadow: 0 8px 30px #00000024; }
    .hero-stack .fund-image { border-radius: 18px; }
    .hero-stack .fund-card h3 { font-size: clamp(21px, 5vw, 25px); }
    .hero-stack .fund-description { font-size: 14px; }
    .hero-controls { flex-direction: column; gap: 12px; margin-top: 24px; }
    .hero-controls .help-pill { min-width: 220px; height: 49px; min-height: 49px; }
    .carousel-pagination { width: 216px; height: 56px; gap: 14px; }
    .carousel-next { position: relative; flex-basis: 32px; width: 32px; height: 32px; }
    .carousel-next::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; }
    .carousel-next svg { width: 14px; height: 14px; }
    .carousel-dot::after { top: -16px; bottom: -16px; left: -6px; right: -6px; }
    .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
    .hero-stats > div, .hero-stats > div:first-child, .hero-stats > div:nth-child(2), .hero-stats > div:nth-child(3) { padding-left: 16px; border-left: 1px solid #c9c9c9; }
    .hero-stats > div:nth-child(odd) { border-left: 0; padding-left: 0; }
    .hero-stats dt { font-size: 27px; }
    .hero-stats dd { font-size: 13px; }
    .hero-buttons { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .hero-buttons .button { width: 100%; height: auto; min-height: 49px; padding: 13px 16px; white-space: normal; text-align: center; }
    .footer-main { gap: 28px; }
    .footer-brand, .footer-contacts { grid-column: 1 / -1; }
    .footer-brand .brand { max-width: 100%; }
    .footer-brand .brand-logo { width: 56px; height: 56px; }
    .footer-brand .brand strong { font-size: 19px; }
    .footer-brand .brand span span { font-size: 14px; }
    .footer-motto { margin-top: 16px; }
    .footer-column { font-size: 16px; line-height: 1.5; }
    .footer-contacts p { max-width: 340px; margin-top: 6px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (width < 360px) {
    .site-header .brand { gap: 8px; }
    .site-header .brand-logo { width: 44px; height: 44px; }
    .site-header .brand strong { font-size: 16px; }
    .site-header .brand span span { font-size: 11px; }
    .site-header { grid-template-columns: minmax(0, 1fr) 44px; gap: 8px; }
    .mobile-menu-toggle { width: 44px; height: 44px; border-radius: 14px; }
    .hero-stack .fund-card, .hero-back .fund-card { padding: 14px; }
    .hero-stack .fund-amount { font-size: 15px; }
    .footer-main { gap: 24px 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .help-pill img { animation: none; }
}

/* Only the final value participates in layout. */
.hero-counter { position: relative; display: inline-block; vertical-align: baseline; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hero-counter-sizing { display: block; visibility: hidden; }
.hero-counter-value { position: absolute; inset: 0 0 auto auto; }
.animated-money { white-space: nowrap; }

/* Responsive news layout. */
@media (width < 1440px) {
    .news-section {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
        column-gap: 20px;
        width: calc(100% - 2 * var(--page-gutter));
        min-width: 0;
        min-height: 0;
    }
    .news-section h2 { font-size: clamp(36px, 4vw, 54px); line-height: 1.2; }
    .news-description { grid-column: 1 / -1; font-size: 22px; line-height: 1.4; margin-top: 12px; }
    .all-news {
        position: static; grid-column: 2; grid-row: 1; align-self: center;
        width: auto; min-height: 44px; height: auto; padding: 12px 24px;
    }
    .news-grid {
        grid-column: 1 / -1; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
        gap: 24px; margin: 28px 0 0; min-width: 0;
    }
    .news-list { min-width: 0; gap: 16px; }
    .news-card {
        display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 0 16px;
        align-items: start; height: auto; min-width: 0; padding: 16px;
        border-radius: 24px; box-shadow: 0 6px 28px rgb(0 0 0 / 7%);
    }
    .news-image { grid-column: 1; grid-row: 1 / 3; width: 96px; height: 96px; border-radius: 16px; }
    .news-card-copy { grid-column: 2; min-width: 0; width: auto; margin: 0; }
    .news-card time { font-size: 13px; line-height: 1.4; margin-bottom: 6px; }
    .news-card h3 { font-size: 20px; line-height: 1.3; overflow-wrap: anywhere; }
    .news-read {
        grid-column: 2; justify-self: end; justify-content: center;
        min-height: 44px; min-width: 44px; margin: 4px 0 -6px; gap: 10px;
        font-size: 14px; line-height: 1.4;
    }
    .news-read span { font-size: 30px; line-height: 1; }
    .quote-card { height: auto; min-width: 0; padding: 24px 24px 64px; border-radius: 24px; }
    .quote-label { position: static; font-size: 14px; line-height: 1.5; }
    .quote-mark { position: static; width: 48px; height: auto; margin-top: 16px; }
    .quote-card blockquote { position: relative; left: auto; top: auto; margin-top: 12px; font-size: 24px; line-height: 1.3; }
    .quote-card cite { font-size: 15px; line-height: 1.5; margin-top: 12px; }
    .quote-hands {
        position: relative; left: auto; top: auto; width: min(100%, 300px); height: auto;
        aspect-ratio: 433 / 358; margin: 0 -24px -20px auto; pointer-events: none;
    }
    .quote-date { right: 24px; bottom: 20px; font-size: 14px; line-height: 1.5; }
    .newsletter-banner {
        grid-column: 1 / -1; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto;
        align-items: center; gap: 20px; width: 100%; height: auto; margin-top: 28px;
        padding: 24px; border-radius: 24px;
    }
    .banner-icon { width: 48px; height: auto; margin: 0; }
    .newsletter-banner > div { min-width: 0; }
    .newsletter-banner strong { display: block; font-size: 19px; line-height: 1.4; }
    .newsletter-banner p { font-size: 17px; line-height: 1.45; margin-top: 6px; }
    .newsletter-banner .button { width: auto; min-height: 49px; height: auto; margin: 0; padding: 14px 24px; }
}

@media (width < 1024px) {
    .news-section { max-width: 680px; }
    .news-grid { grid-template-columns: minmax(0, 1fr); }
    .quote-hands { width: min(75%, 340px); margin-top: -16px; }
    .newsletter-banner { grid-template-columns: 48px minmax(0, 1fr); }
    .newsletter-banner .button { grid-column: 1 / -1; justify-self: start; min-width: 196px; }
}

@media (width < 600px) {
    .news-section { column-gap: 12px; }
    .news-section h2 { font-size: clamp(30px, 7.5vw, 38px); }
    .news-description { font-size: 18px; line-height: 1.45; }
    .all-news { padding: 10px 14px; font-size: 13px; line-height: 1.4; }
    .news-grid { margin-top: 24px; gap: 24px; }
    .news-list { gap: 14px; }
    .news-card { grid-template-columns: 80px minmax(0, 1fr); column-gap: 12px; padding: 14px; border-radius: 22px; }
    .news-image { width: 80px; height: 88px; border-radius: 14px; }
    .news-card time { font-size: 12px; }
    .news-card h3 { font-size: 17px; line-height: 1.35; }
    .quote-card { padding: 22px 20px 64px; }
    .quote-label { font-size: 12px; }
    .quote-mark { width: 44px; margin-top: 14px; }
    .quote-card blockquote { font-size: clamp(20px, 5vw, 24px); line-height: 1.35; }
    .quote-card cite { font-size: 14px; }
    .quote-hands { width: min(90%, 300px); margin: 8px -20px -20px auto; }
    .quote-date { right: 20px; font-size: 13px; }
    .newsletter-banner { grid-template-columns: 40px minmax(0, 1fr); gap: 16px 12px; padding: 20px; margin-top: 24px; }
    .banner-icon { align-self: start; width: 40px; margin-top: 2px; }
    .newsletter-banner strong { font-size: 17px; line-height: 1.4; }
    .newsletter-banner p { font-size: 16px; }
    .newsletter-banner .button { justify-self: stretch; width: 100%; min-width: 0; font-size: 16px; }
}

@media (width < 360px) {
    .news-card { grid-template-columns: 68px minmax(0, 1fr); padding: 12px; }
    .news-image { width: 68px; height: 80px; }
    .news-card h3 { font-size: 16px; }
    .all-news { padding-inline: 12px; }
}

/* The native modal lives above the page, with its own scroll and focus boundary. */
.menu-burger { display: grid; gap: 5px; width: 22px; }
.menu-burger > span { display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transform-origin: center; transition: transform .32s ease, opacity .2s ease; }
.mobile-menu-toggle[aria-expanded="true"] .menu-burger > span:nth-child(1),
.mobile-menu-panel.is-visible .menu-burger > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle[aria-expanded="true"] .menu-burger > span:nth-child(2),
.mobile-menu-panel.is-visible .menu-burger > span:nth-child(2) { transform: scaleX(0); opacity: 0; }
.mobile-menu-toggle[aria-expanded="true"] .menu-burger > span:nth-child(3),
.mobile-menu-panel.is-visible .menu-burger > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (width < 1440px) {
    .mobile-menu-panel {
        position: fixed; inset: 0; width: 100%; max-width: none;
        height: 100vh; height: 100dvh; max-height: none;
        margin: 0; padding: 0; border: 0; border-radius: 0;
        background: var(--color-page); color: var(--color-ink);
        overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
        opacity: 0; transform: translateY(-18px);
        transition: opacity .32s ease, transform .36s cubic-bezier(.22, 1, .36, 1);
    }
    .mobile-menu-panel[open] { display: block; }
    .mobile-menu-panel.is-visible { opacity: 1; transform: translateY(0); }
    .mobile-menu-panel::backdrop { background: rgb(30 40 63 / .2); opacity: 0; transition: opacity .32s ease; }
    .mobile-menu-panel.is-visible::backdrop { opacity: 1; }
    .mobile-menu-surface {
        display: flex; flex-direction: column; min-height: 100%; box-sizing: border-box;
        padding: max(16px, env(safe-area-inset-top)) max(16px, 3vw, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(16px, 3vw, env(safe-area-inset-left));
    }
    .mobile-menu-heading, .mobile-menu-links, .mobile-menu-bottom { width: 100%; max-width: 680px; margin-inline: auto; }
    .mobile-menu-heading { display: grid; grid-template-columns: minmax(0, 1fr) 48px; align-items: center; gap: 12px; }
    .mobile-menu-heading .brand { min-width: 0; }
    .mobile-menu-close { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid #dfe1e8; border-radius: 16px; background: white; color: var(--color-ink); }
    .mobile-menu-links { display: grid; gap: 4px; padding-block: clamp(24px, 6dvh, 56px); }
    .mobile-menu-links a {
        display: flex; align-items: center; min-height: 52px; padding-block: 10px;
        font-size: clamp(26px, 6vw, 38px); font-weight: 700; line-height: 1.25;
        opacity: 0; transform: translateY(14px);
        transition: opacity .28s ease, transform .36s cubic-bezier(.22, 1, .36, 1), color .18s ease;
    }
    .mobile-menu-panel.is-visible .mobile-menu-links a { opacity: 1; transform: translateY(0); }
    .mobile-menu-panel.is-visible .mobile-menu-links a:nth-child(1) { transition-delay: 50ms; }
    .mobile-menu-panel.is-visible .mobile-menu-links a:nth-child(2) { transition-delay: 80ms; }
    .mobile-menu-panel.is-visible .mobile-menu-links a:nth-child(3) { transition-delay: 110ms; }
    .mobile-menu-panel.is-visible .mobile-menu-links a:nth-child(4) { transition-delay: 140ms; }
    .mobile-menu-panel.is-visible .mobile-menu-links a:nth-child(5) { transition-delay: 170ms; }
    .mobile-menu-links a:hover { color: var(--color-brand); }
    .mobile-menu-bottom { display: grid; gap: 20px; margin-top: auto; padding-top: 24px; border-top: 1px solid #dfe1e8; }
    .mobile-menu-phone { display: flex; flex-direction: column; justify-content: center; min-height: 52px; width: fit-content; }
    .mobile-menu-phone span { font-size: 14px; line-height: 1.5; color: var(--color-muted); }
    .mobile-menu-phone strong { font-size: 24px; line-height: 1.4; }
    .mobile-menu-bottom .button { width: 100%; min-height: 52px; }
}

@media (width < 360px) {
    .mobile-menu-heading { grid-template-columns: minmax(0, 1fr) 44px; gap: 8px; }
    .mobile-menu-close { width: 44px; height: 44px; border-radius: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    .mobile-menu-panel, .mobile-menu-panel::backdrop, .mobile-menu-links a, .menu-burger > span { transition: none; }
}

/* Remaining home sections follow the viewport instead of a fixed desktop canvas. */
@media (width < 1440px) {
    .trust-section, .fundraising-section, .donation-section, .subscribe-section {
        width: calc(100% - 2 * var(--page-gutter)); min-width: 0; min-height: 0;
    }
    .trust-section h2, .fundraising-section h2, .donation-section h2, .subscribe-section h2 {
        font-size: clamp(36px, 4vw, 54px); line-height: 1.2;
    }
    .trust-section .section-description, .fundraising-section .section-description,
    .donation-section .section-description, .subscribe-section .section-description {
        width: auto; font-size: 22px; line-height: 1.45; margin: 0;
    }
    .trust-section h2 br, .fundraising-heading br, .donation-copy h2 br { display: none; }
    .trust-section {
        display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas: 'title art' 'description art' 'stats art' 'church reports' 'button button';
        gap: 24px 32px; align-items: start;
    }
    .trust-section > h2 { grid-area: title; }
    .trust-description { grid-area: description; }
    .trust-stats { grid-area: stats; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 8px 0 0; }
    .trust-stats > div + div { margin: 0; }
    .trust-stats dt { font-size: 34px; line-height: 1.25; }
    .trust-stats dd { font-size: 17px; line-height: 1.4; margin-top: 8px; }
    .trust-art { grid-area: art; position: relative; inset: auto; width: 100%; max-width: 560px; height: auto; aspect-ratio: 841 / 637; align-self: center; justify-self: center; }
    .trust-bubble { left: 5.71%; top: 16.17%; width: 83.83%; height: 83.83%; }
    .trust-hand-mask { mask-size: 100% 100%; }
    .trust-hand-mask img { left: 14.15%; top: 12.4%; width: 87.63%; height: 87.6%; }
    .trust-handwriting { display: none; }
    .trust-card { position: relative; inset: auto; width: 100%; height: auto; min-width: 0; border-radius: 24px; padding: 22px; }
    .church-card { grid-area: church; gap: 16px; align-self: stretch; }
    .trust-icon { width: 60px; height: 60px; }
    .trust-icon img { max-width: 32px; max-height: 32px; }
    .trust-card h3 { font-size: 18px; line-height: 1.35; margin: 0 0 8px; }
    .trust-card p { font-size: 17px; line-height: 1.4; }
    .since-pill { margin-top: 12px; }
    .reports-card { grid-area: reports; display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 16px; align-self: stretch; }
    .report-icon { position: static; }
    .reports-copy { margin: 0; min-width: 0; }
    .report-updated { position: static; grid-column: 1 / -1; padding-right: 40px; min-height: 24px; font-size: 13px; line-height: 1.4; }
    .report-updated > span { flex-shrink: 0; }
    .report-arrow { right: 22px; bottom: 18px; font-size: 32px; }
    .trust-button { grid-area: button; position: static; justify-self: start; width: auto; min-height: 49px; padding-inline: 24px; }

    .fundraising-section { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 24px; }
    .fundraising-heading { margin: 0; min-width: 0; }
    .fundraising-heading .section-description { margin-top: 16px; max-width: 680px; }
    .all-funds { position: static; width: auto; align-self: center; min-height: 49px; padding-inline: 24px; }
    .fundraising-grid { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; margin: 0; gap: 24px; }
    .fundraising-grid .fund-card { height: auto; min-width: 0; padding: 18px; border-radius: 28px; }
    .fundraising-grid .fund-image { height: auto; aspect-ratio: 418 / 245; border-radius: 20px; }
    .fundraising-grid .fund-body { padding: 0; }
    .fundraising-grid .fund-label { margin-top: 16px; font-size: 13px; line-height: 1.4; }
    .fundraising-grid .fund-card h3 { max-width: none; min-height: 0; font-size: 23px; line-height: 1.3; margin-top: 6px; }
    .fundraising-grid .fund-amount { margin-top: 16px; font-size: 17px; line-height: 1.4; }
    .fundraising-grid .fund-progress-row { height: 44px; gap: 8px; }
    .fundraising-grid .fund-heart { width: 44px; min-height: 44px; align-items: center; }
    .fundraising-grid .fund-description { max-width: none; margin-top: 4px; font-size: 14px; line-height: 1.45; }

    .donation-section { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); grid-template-areas: 'copy qr' 'benefits qr' 'buttons qr' 'art qr'; gap: 24px 32px; align-items: start; }
    .donation-copy { grid-area: copy; width: auto; margin: 0; }
    .donation-copy .section-description { margin-top: 16px; }
    .donation-benefits { grid-area: benefits; display: flex; flex-wrap: wrap; gap: 16px 20px; margin: 0; }
    .donation-benefits li, .donation-benefits li:first-child, .donation-benefits li:nth-child(2) { width: auto; gap: 10px; }
    .donation-benefits img { width: 48px; height: 48px; flex-shrink: 0; }
    .donation-benefits span { font-size: 15px; line-height: 1.4; }
    .donation-buttons { grid-area: buttons; display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
    .donation-buttons .button { flex: 1 1 180px; width: auto; min-height: 49px; padding-inline: 16px; }
    .donation-art { grid-area: art; position: relative; width: 100%; max-width: 440px; justify-self: center; pointer-events: none; }
    .donation-hands-top { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 535 / 236; }
    .donation-hands-bottom { position: relative; inset: auto; width: 50.65%; height: auto; aspect-ratio: 271 / 121; }
    .donation-handwriting { left: auto; right: 0; top: 66%; width: 34%; height: auto; aspect-ratio: 181 / 170; }
    .qr-card { grid-area: qr; position: static; width: 100%; max-width: 418px; height: auto; justify-self: center; padding: 20px 20px 32px; border-radius: 28px; }
    .qr-card > img { width: 100%; height: auto; }
    .qr-card p { font-size: 16px; line-height: 1.45; margin: 16px 4px 0; }

    .subscribe-section { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); grid-template-areas: 'title art' 'description art' 'form art'; gap: 20px 24px; align-items: start; }
    .subscribe-section h2 { grid-area: title; }
    .subscribe-description { grid-area: description; }
    .subscribe-form { grid-area: form; width: 100%; min-width: 0; margin: 4px 0 0; }
    .email-field { width: 100%; min-width: 0; }
    .email-field .button { width: auto; padding-inline: 20px; }
    .consent { min-height: 44px; align-items: flex-start; font-size: 14px; line-height: 1.5; gap: 12px; }
    .consent > span { min-width: 0; overflow-wrap: anywhere; }
    .consent input { width: 26px; height: 26px; margin-top: 2px; }
    .consent input:checked::after { font-size: 20px; line-height: 24px; }
    .consent br { display: none; }
    .form-status { overflow-wrap: anywhere; }
    .subscribe-art { grid-area: art; position: static; width: 100%; height: auto; max-width: 540px; align-self: center; justify-self: center; }
    .dialog-content > img { max-width: 100%; height: auto; }
    .dialog-content .button { max-width: 100%; height: auto; min-height: 49px; padding: 12px 16px; white-space: normal; text-align: center; }
}

@media (width < 1024px) {
    .trust-section, .fundraising-section, .donation-section, .subscribe-section { max-width: 680px; }
    .trust-section { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'title' 'description' 'stats' 'art' 'church' 'reports' 'button'; gap: 24px; }
    .trust-art { max-width: 480px; }
    .trust-button { justify-self: stretch; }
    .fundraising-section { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .all-funds { justify-self: start; }
    .fundraising-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
    .donation-section { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'copy' 'benefits' 'buttons' 'art' 'qr'; }
    .subscribe-section { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'title' 'description' 'form' 'art'; }
    .subscribe-art { max-width: 440px; }
}

@media (width < 600px) {
    .trust-section h2, .fundraising-section h2, .donation-section h2, .subscribe-section h2 { font-size: clamp(28px, 7.5vw, 38px); line-height: 1.2; }
    .trust-section .section-description, .fundraising-section .section-description,
    .donation-section .section-description, .subscribe-section .section-description { font-size: 18px; line-height: 1.45; }
    .trust-section { gap: 20px; }
    .trust-stats { gap: 16px; }
    .trust-stats dt { font-size: clamp(27px, 7vw, 34px); }
    .trust-stats dd { font-size: 14px; }
    .trust-art { max-width: 380px; }
    .trust-card { padding: 18px; border-radius: 22px; }
    .church-card { gap: 12px; }
    .trust-icon { width: 48px; height: 48px; }
    .trust-icon img { max-width: 26px; max-height: 26px; }
    .trust-card h3 { font-size: 17px; }
    .trust-card p { font-size: 16px; }
    .reports-card { grid-template-columns: 48px minmax(0, 1fr); gap: 12px; }
    .report-arrow { right: 18px; bottom: 14px; }
    .report-updated { font-size: 12px; }
    .fundraising-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .all-funds { justify-self: stretch; }
    .fundraising-grid .fund-card { padding: 16px; border-radius: 26px; }
    .fundraising-grid .fund-card h3 { font-size: clamp(21px, 5vw, 25px); }
    .donation-benefits { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .donation-benefits li { gap: 12px; }
    .donation-benefits br { display: none; }
    .donation-benefits span { font-size: 16px; }
    .donation-buttons { display: grid; grid-template-columns: minmax(0, 1fr); }
    .donation-buttons .button { width: 100%; }
    .donation-art { max-width: 340px; }
    .qr-card { max-width: 380px; padding: 16px 16px 28px; border-radius: 24px; }
    .qr-card p { font-size: 14px; margin: 12px 4px 2px; }
    .subscribe-section { gap: 20px; }
    .email-field { display: grid; grid-template-columns: 56px minmax(0, 1fr); grid-template-rows: minmax(52px, auto) auto; gap: 12px 0; height: auto; border: 0; border-radius: 0; padding: 0; }
    .email-field::before { content: ''; grid-area: 1 / 1 / 2 / -1; align-self: stretch; border: 1px solid #c9c9c9; border-radius: 100px; pointer-events: none; }
    .email-field > img { grid-area: 1 / 1; width: 24px; height: 24px; margin-left: 18px; }
    .email-field input { grid-area: 1 / 2; width: 100%; min-height: 52px; padding: 12px 18px 12px 0; font-size: 16px; line-height: 1.4; border-radius: 0 100px 100px 0; }
    .email-field .button { grid-column: 1 / -1; grid-row: 2; width: 100%; min-height: 49px; }
    .consent { margin-top: 20px; padding-block: 4px; }
    .consent + .consent { margin-top: 8px; }
    .subscribe-art { max-width: 360px; }
}

/* Shared arrow from the supplied SVG; colors follow each control's text. */
.arrow-icon { display: inline-block; width: 25px; height: 21px; flex: 0 0 auto; vertical-align: middle; color: inherit; }
.button:has(> .arrow-icon) { gap: 8px; }
.button > .arrow-icon { width: 16px; height: 13.44px; }
.news-read > .arrow-icon { color: var(--color-ink); }
.news-read:hover > .arrow-icon { color: var(--color-brand); }
.carousel-next > .arrow-icon { width: 16px; height: 13.44px; }
@media (width < 600px) {
    .carousel-next > .arrow-icon { width: 14px; height: 11.76px; }
}

/* Shared interaction styling. */
*, *::before, *::after { -webkit-user-select: none; user-select: none; }
.header-nav a, .studio-credit { transition: color .25s ease; }
.mobile-menu-links a { transition-duration: .28s, .36s, .25s; }
.studio-credit:hover, .studio-credit:focus-visible { color: var(--color-brand); }
.studio-logo {
    display: inline-block; flex: 0 0 auto; width: 21.95px; height: 25.6px;
    background-color: currentColor;
    -webkit-mask: url('icons/studio.svg') center / contain no-repeat;
    mask: url('icons/studio.svg') center / contain no-repeat;
}
input, input:hover, input:focus, input:focus-visible,
textarea, textarea:hover, textarea:focus, textarea:focus-visible,
.hero-copy h1, .hero-copy h1:hover, .hero-copy h1:focus, .hero-copy h1:focus-visible {
    outline: none; box-shadow: none;
}
.consent input { position: relative; }
.consent input:checked::after {
    content: ''; position: absolute; inset: 0; display: block;
    width: 20px; height: 20px; margin: auto;
    background: url('icons/check.svg') center / contain no-repeat;
}

@media (hover: hover) and (pointer: fine) {
    .news-card, .fundraising-grid .fund-card {
        position: relative;
        transition: transform .28s ease, box-shadow .28s ease;
    }
    .hero-stack .fund-card {
        transition: height .9s, transform .28s ease, box-shadow .28s ease;
    }
    .news-card:hover, .fundraising-grid .fund-card:hover {
        z-index: 1;
        transform: scale(1.02);
        box-shadow: 0 12px 48px rgb(0 0 0 / 18%);
    }
    /* Enlarge the card itself so the carousel's outer transforms stay intact. */
    .hero-carousel:not(.is-switching) .hero-front .fund-card:hover {
        transform: scale(1.02);
        box-shadow: 0 12px 64px rgb(0 0 0 / 32%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .news-card, .fundraising-grid .fund-card, .hero-stack .fund-card { transition: none; }
    .news-card:hover, .fundraising-grid .fund-card:hover,
    .hero-carousel:not(.is-switching) .hero-front .fund-card:hover { transform: none; }
}
