:root {
    --black: #090909;
    --ink: #171717;
    --muted: #6b6b6b;
    --line: #e5e5e5;
    --soft: #f6f6f6;
    --white: #ffffff;
    --danger: #b42318;
    --success: #176b3a;
    --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 12px 34px rgba(0, 0, 0, 0.13);
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--ink);
    background: var(--white);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.55;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
}

button,
input,
textarea,
select {
    font: inherit;
    letter-spacing: 0;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

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

svg {
    width: 1.15em;
    height: 1.15em;
    flex: 0 0 auto;
    stroke-width: 2;
}

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

.container--narrow {
    width: min(calc(100% - 40px), 800px);
}

.text-right {
    text-align: right;
}

.mobile-only {
    display: none !important;
}

.site-header {
    position: relative;
    z-index: 50;
    height: 82px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #f0f0f0;
}

.nav-shell {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 32px;
}

.brand {
    display: inline-flex;
    align-items: center;
    height: 66px;
}

.brand img {
    width: 58px;
    height: 62px;
    object-fit: contain;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.desktop-nav a,
.nav-link {
    position: relative;
    font-size: 15px;
    font-weight: 650;
}

.desktop-nav a::after {
    position: absolute;
    right: 0;
    bottom: -10px;
    left: 0;
    height: 2px;
    background: var(--black);
    content: "";
    opacity: 0;
    transform: scaleX(0.3);
    transition: 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    opacity: 1;
    transform: scaleX(1);
}

.header-search,
.listing-search,
.mobile-search {
    display: flex;
    align-items: center;
    height: 46px;
    padding: 0 15px;
    background: #f5f6f7;
    border: 1px solid #dfe1e4;
    border-radius: 8px;
}

.header-search {
    width: min(330px, 30vw);
    margin-left: auto;
}

.header-search svg,
.listing-search svg,
.mobile-search svg {
    color: #555;
}

.header-search input,
.listing-search input,
.mobile-search input {
    width: 100%;
    min-width: 0;
    height: 100%;
    padding: 0 0 0 11px;
    color: var(--ink);
    background: transparent;
    border: 0;
    outline: 0;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    gap: 9px;
    color: var(--white);
    background: var(--black);
    border: 1px solid var(--black);
    border-radius: 7px;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.2;
    cursor: pointer;
    transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover {
    color: var(--white);
    background: #333;
    border-color: #333;
    transform: translateY(-1px);
}

.button--sm {
    min-height: 40px;
    padding-inline: 22px;
}

.button--light {
    color: var(--black);
    background: var(--white);
    border-color: var(--white);
}

.button--light:hover {
    color: var(--white);
    background: #262626;
    border-color: #262626;
}

.button--outline {
    color: var(--black);
    background: var(--white);
}

.button--outline:hover {
    color: var(--white);
    background: var(--black);
    border-color: var(--black);
}

.button--outline-light {
    color: var(--white);
    background: transparent;
    border-color: rgba(255, 255, 255, 0.5);
}

.button--full {
    width: 100%;
}

.icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    color: var(--ink);
    background: var(--soft);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.icon-button:hover {
    color: var(--white);
    background: var(--black);
}

.icon-button--light {
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
}

.mobile-search-button,
.mobile-search-panel,
.mobile-bottom-nav {
    display: none;
}

.hero {
    padding-top: 20px;
    overflow: hidden;
}

.hero-track {
    position: relative;
    width: min(calc(100% - 64px), 1320px);
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 0;
    background: #ededed;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: translateX(40px);
    transition: opacity 500ms ease, transform 500ms ease;
}

.hero-slide.is-active {
    z-index: 1;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 15px;
    color: #404040;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.carousel-arrow {
    position: absolute;
    z-index: 4;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    color: var(--white);
    background: var(--black);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transform: translateY(-50%);
}

.carousel-arrow--prev {
    left: 18px;
}

.carousel-arrow--next {
    right: 18px;
}

.carousel-arrow svg {
    width: 21px;
    height: 21px;
}

.carousel-dots {
    position: absolute;
    z-index: 5;
    right: 0;
    bottom: 16px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.carousel-dots button {
    width: 7px;
    height: 7px;
    padding: 0;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(0, 0, 0, 0.35);
    border-radius: 50%;
    cursor: pointer;
    transition: width 160ms ease, background-color 160ms ease;
}

.carousel-dots button.is-active {
    width: 24px;
    background: var(--white);
    border-radius: 999px;
}

.overview {
    position: relative;
    z-index: 5;
    margin-top: -30px;
}

.overview-card {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    min-height: 102px;
    background: var(--white);
    border: 1px solid #ededed;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.overview-item {
    display: flex;
    align-items: center;
    padding: 24px 34px;
    gap: 17px;
}

.overview-item:not(:last-child) {
    border-right: 1px solid var(--line);
}

.overview-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    color: var(--white);
    background: var(--black);
    border-radius: 50%;
}

.overview-icon svg {
    width: 23px;
    height: 23px;
}

.overview-item div {
    display: flex;
    flex-direction: column;
}

.overview-item strong {
    font-size: 20px;
    line-height: 1.25;
}

.overview-item span:last-child {
    color: var(--muted);
    font-size: 12px;
}

.section {
    padding: 88px 0;
}

.section--tight {
    padding-top: 72px;
}

.section-heading {
    margin-bottom: 36px;
    text-align: center;
}

.section-heading h2 {
    margin: 0 0 6px;
    font-size: 28px;
    line-height: 1.2;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.program-band {
    position: relative;
    padding: 0 32px 38px;
}

.program-band::after {
    position: absolute;
    z-index: -1;
    right: 0;
    bottom: 0;
    left: 0;
    height: 48%;
    background: var(--black);
    border-radius: 8px;
    content: "";
}

.program-grid {
    display: grid;
    gap: 24px;
}

.program-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.program-grid > div {
    min-width: 0;
}

.horizontal-slider {
    position: relative;
}

.horizontal-slider__track {
    display: grid;
    grid-auto-columns: calc((100% - 48px) / 3);
    grid-auto-flow: column;
    gap: 24px;
    padding: 8px 2px 16px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
}

.horizontal-slider__track::-webkit-scrollbar {
    display: none;
}

.horizontal-slider__item {
    min-width: 0;
    scroll-snap-align: start;
}

.horizontal-slider__item > * {
    height: 100%;
}

.horizontal-slider__control {
    position: absolute;
    z-index: 6;
    top: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    color: var(--white);
    background: var(--black);
    border: 1px solid var(--black);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transform: translateY(-50%);
    transition: opacity 160ms ease, background-color 160ms ease;
}

.horizontal-slider__control--prev {
    left: -20px;
}

.horizontal-slider__control--next {
    right: -20px;
}

.horizontal-slider__control:disabled {
    opacity: 0;
    pointer-events: none;
}

.horizontal-slider__control svg {
    width: 20px;
    height: 20px;
}

.program-card {
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    background: var(--white);
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 180ms ease, transform 180ms ease;
}

.program-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.program-card__image {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #ededed;
}

.program-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.program-card:hover .program-card__image img {
    transform: none;
}

.program-card__body {
    display: flex;
    min-height: 194px;
    padding: 20px;
    flex: 1;
    flex-direction: column;
}

.category-label {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 10px;
    padding: 5px 9px;
    color: #353535;
    background: var(--white);
    border: 1px solid #999;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 750;
}

.program-card h3 {
    min-height: 50px;
    margin: 0 0 22px;
    font-size: 18px;
    line-height: 1.35;
}

.program-card h3 a:hover,
.article-card h3 a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.program-card__meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: auto;
    gap: 12px;
}

.program-card__meta div {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.program-card__meta span,
.donation-values span,
.remaining-row span {
    color: var(--muted);
    font-size: 12px;
}

.program-card__meta strong {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    margin-top: 2px;
    color: var(--ink);
    font-size: 13px;
    gap: 4px;
}

.program-card__meta .text-right strong {
    justify-content: flex-end;
}

.progress {
    position: relative;
    height: 5px;
    margin-top: 14px;
    overflow: hidden;
    background: #e9e9e9;
    border-radius: 0;
}

.progress span {
    position: relative;
    display: block;
    height: 100%;
    background: var(--black);
}

.progress span::after {
    position: absolute;
    top: 50%;
    right: 0;
    width: 10px;
    height: 10px;
    background: var(--white);
    border: 2px solid var(--black);
    border-radius: 50%;
    content: "";
    transform: translate(30%, -50%);
}

.category-chips {
    display: flex;
    margin-bottom: 34px;
    padding-bottom: 6px;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.category-chip {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 15px;
    flex: 0 0 auto;
    gap: 7px;
    color: #333;
    background: var(--soft);
    border: 1px solid #e7e7e7;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.category-chip:hover,
.category-chip.is-active {
    color: var(--white);
    background: var(--black);
    border-color: var(--black);
}

.section-action {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.inspiration-section {
    padding-top: 96px;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.article-card {
    overflow: hidden;
    background: var(--white);
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.article-card__image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #ededed;
}

.article-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 250ms ease;
}

.article-card:hover .article-card__image img {
    transform: scale(1.025);
}

.article-card__body {
    min-height: 116px;
    padding: 17px 18px;
}

.article-card h3 {
    margin: 0 0 12px;
    font-size: 16px;
    line-height: 1.4;
}

.article-card time {
    color: var(--muted);
    font-size: 12px;
}

.donation-cta {
    padding: 70px 0 90px;
}

.donation-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 240px;
    padding: 48px 56px;
    gap: 40px;
    color: var(--white);
    background: var(--black);
    border-radius: 8px;
}

.donation-cta h2 {
    margin: 0 0 14px;
    font-size: 35px;
    line-height: 1.17;
}

.donation-cta p {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

.site-footer {
    padding: 76px 0 46px;
    border-top: 1px solid var(--line);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.15fr) minmax(130px, 0.75fr) minmax(150px, 0.9fr) minmax(240px, 1.4fr);
    align-items: start;
    gap: 54px;
}

.footer-brand img {
    width: 74px;
    height: 79px;
    margin-bottom: 9px;
    object-fit: contain;
}

.footer-brand > strong {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
}

.footer-brand p {
    max-width: 450px;
    margin: 0;
    color: #3f3f3f;
    font-size: 13px;
    line-height: 1.62;
}

.site-footer h2 {
    margin: 8px 0 20px;
    font-size: 17px;
}

.footer-links > a {
    display: block;
    margin-bottom: 13px;
    color: #4d4d4d;
    font-size: 14px;
}

.site-footer a:hover {
    color: var(--black);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.social-links {
    display: flex;
    margin-top: 30px;
    gap: 10px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: var(--ink);
    background: var(--soft);
    border-radius: 50%;
    transition: color 150ms ease, background-color 150ms ease;
}

.social-links a:hover {
    color: var(--white);
    background: var(--black);
    text-decoration: none;
}

.social-links svg {
    width: 17px;
    height: 17px;
}

.footer-legal {
    display: flex;
    align-items: flex-start;
    margin-top: 30px;
    gap: 7px;
    color: #626262;
    flex-direction: column;
    font-size: 12px;
}

.footer-legal a {
    color: inherit;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    margin: 0 0 15px;
    gap: 12px;
    color: #4d4d4d;
    font-size: 14px;
    line-height: 1.5;
}

.footer-contact svg {
    width: 19px;
    height: 19px;
    margin-top: 1px;
    flex: 0 0 auto;
}

.footer-contact a {
    min-width: 0;
    color: inherit;
    overflow-wrap: anywhere;
}

.toast {
    position: fixed;
    z-index: 100;
    top: 96px;
    right: 24px;
    display: flex;
    align-items: center;
    max-width: min(420px, calc(100% - 40px));
    padding: 14px 17px;
    gap: 10px;
    color: var(--white);
    background: var(--success);
    border-radius: 7px;
    box-shadow: var(--shadow-md);
    font-size: 14px;
    transition: opacity 200ms ease, transform 200ms ease;
}

.toast.is-hidden {
    opacity: 0;
    transform: translateY(-12px);
}

.listing-page {
    min-height: 70vh;
}

.listing-head {
    padding: 56px 0 4px;
}

.listing-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 34px;
}

.listing-title-row p {
    margin: 0;
    color: #535353;
}

.filter-bar {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.select-field {
    position: relative;
    display: flex;
    min-width: 220px;
    flex-direction: column;
}

.select-field > span {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.select-field select {
    width: 100%;
    height: 48px;
    padding: 0 43px 0 16px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid #d7dae0;
    border-radius: 8px;
    outline: none;
}

.listing-content {
    padding-top: 38px;
}

.listing-content .program-grid {
    row-gap: 32px;
}

.listing-content .program-card__body {
    min-height: 220px;
}

.content-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.content-toolbar p {
    margin: 0;
}

.listing-search {
    width: 330px;
}

.empty-state {
    display: flex;
    align-items: center;
    min-height: 360px;
    padding: 50px 20px;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.empty-state > svg {
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
}

.empty-state h1,
.empty-state h2 {
    margin: 0 0 8px;
}

.empty-state p {
    max-width: 560px;
    margin: 0 0 22px;
    color: var(--muted);
}

.empty-state--large {
    min-height: 560px;
}

.program-detail__hero {
    padding: 42px 0 0;
}

.program-detail__media {
    width: min(100%, 995px);
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    overflow: hidden;
    background: #ededed;
}

.program-detail__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.program-detail__body {
    padding: 0 0 110px;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    align-items: start;
    gap: 42px;
}

.detail-main {
    min-width: 0;
    padding-top: 64px;
}

.detail-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 48px;
    padding: 6px;
    gap: 6px;
    background: var(--soft);
    border-radius: 8px;
}

.detail-tabs button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 14px;
    gap: 8px;
    color: #3b3b3b;
    background: transparent;
    border: 0;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
}

.detail-tabs button.is-active {
    color: var(--white);
    background: var(--black);
}

.tab-panel {
    display: none;
}

.tab-panel.is-active {
    display: block;
}

.tab-panel > h1 {
    margin: 0 0 28px;
    font-size: 32px;
    line-height: 1.25;
}

.prose {
    color: #404040;
    font-size: 16px;
    line-height: 1.85;
}

.prose h1 {
    color: var(--ink);
    font-size: 39px;
    line-height: 1.2;
}

.prose h2 {
    color: var(--ink);
    font-size: 27px;
}

.prose--large {
    font-size: 17px;
}

.donation-summary {
    position: sticky;
    top: 26px;
    z-index: 6;
    margin-top: -64px;
    padding: 28px;
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.donation-summary h2 {
    min-height: 52px;
    margin: 0 0 34px;
    font-size: 19px;
    line-height: 1.35;
}

.donation-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.donation-values > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.donation-values strong {
    display: block;
    margin-top: 4px;
    font-size: 15px;
}

.progress--large {
    margin: 18px 0 20px;
}

.remaining-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.remaining-row strong {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

.share-panel {
    margin-top: 22px;
    padding: 22px;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.share-panel > span {
    display: block;
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 12px;
}

.share-panel > div {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.empty-inline {
    display: flex;
    align-items: center;
    min-height: 280px;
    padding: 40px 20px;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.empty-inline > svg {
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
}

.empty-inline h2 {
    margin: 0 0 6px;
    font-size: 21px;
}

.empty-inline p {
    margin: 0;
    color: var(--muted);
}

.update-item {
    padding: 0 0 30px;
    border-bottom: 1px solid var(--line);
}

.update-item > img {
    width: 100%;
    max-height: 420px;
    margin-bottom: 20px;
    object-fit: cover;
}

.update-item:not(:first-child) {
    padding-top: 30px;
}

.update-item time {
    color: var(--muted);
    font-size: 12px;
}

.update-item h2 {
    margin: 7px 0 12px;
}

.support-page {
    min-height: 72vh;
}

.support-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    align-items: center;
    gap: 80px;
}

.support-copy h1 {
    max-width: 720px;
    margin: 0 0 18px;
    font-size: 45px;
    line-height: 1.15;
}

.support-copy > p {
    max-width: 680px;
    margin-bottom: 30px;
    color: var(--muted);
    font-size: 18px;
}

.support-contact {
    display: flex;
    max-width: 680px;
    margin-bottom: 28px;
    padding: 18px 0;
    gap: 16px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.support-contact > svg {
    width: 28px;
    height: 28px;
}

.support-contact div {
    display: flex;
    flex-direction: column;
}

.support-contact span {
    color: var(--muted);
}

.support-program-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.support-program-card > img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.support-program-card > div {
    padding: 22px;
}

.support-program-card h2 {
    margin: 7px 0 18px;
    font-size: 21px;
}

.support-program-card span,
.support-program-card p {
    color: var(--muted);
    font-size: 13px;
}

.donation-flow-page,
.payment-instruction-page {
    min-height: 72vh;
    background: #f7f7f7;
}

.donation-back-link {
    margin-bottom: 28px;
}

.donation-form-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    align-items: start;
    gap: 34px;
}

.donation-form-card,
.donation-program-preview,
.payment-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.donation-form-card {
    padding: 32px;
}

.donation-form-head {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
}

.donation-form-head .eyebrow {
    margin-bottom: 8px;
}

.donation-form-head h1 {
    margin: 0 0 8px;
    font-size: 32px;
    line-height: 1.2;
}

.donation-form-head p {
    max-width: 590px;
    margin: 0;
    color: var(--muted);
}

.donation-amount-field {
    min-width: 0;
    margin: 0 0 22px;
    padding: 0;
    border: 0;
}

.donation-amount-field legend,
.donation-field > span {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 750;
}

.donation-presets {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 12px;
    gap: 8px;
}

.donation-presets button {
    min-height: 40px;
    padding: 0 8px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid #cfcfcf;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
}

.donation-presets button:hover,
.donation-presets button.is-selected {
    color: var(--white);
    background: var(--black);
    border-color: var(--black);
}

.donation-amount-input {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid #bdbdbd;
    border-radius: 6px;
}

.donation-amount-input:focus-within {
    border-color: var(--black);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.07);
}

.donation-amount-input > span {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--soft);
    border-right: 1px solid var(--line);
    font-weight: 800;
}

.donation-amount-input input,
.donation-field input {
    width: 100%;
    height: 52px;
    padding: 0 14px;
    color: var(--ink);
    background: var(--white);
    border: 0;
    outline: 0;
}

.donation-amount-input input {
    font-size: 20px;
    font-weight: 800;
}

.donation-amount-field > small {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-size: 11px;
}

.donation-field {
    display: block;
    margin-bottom: 20px;
}

.donation-field input {
    border: 1px solid #bdbdbd;
    border-radius: 6px;
}

.donation-field input:focus {
    border-color: var(--black);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.07);
}

.donation-anonymous {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: start;
    margin-bottom: 22px;
    gap: 11px;
    cursor: pointer;
}

.donation-anonymous input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--black);
}

.donation-anonymous span {
    display: flex;
    flex-direction: column;
}

.donation-anonymous strong {
    font-size: 13px;
}

.donation-anonymous small {
    color: var(--muted);
    font-size: 11px;
}

.donation-form-note,
.payment-security-note {
    display: flex;
    align-items: flex-start;
    margin-bottom: 22px;
    padding: 14px;
    gap: 10px;
    color: #3f3f3f;
    background: #f3f3f3;
    border: 1px solid #dfdfdf;
    border-radius: 6px;
}

.donation-form-note p,
.payment-security-note p {
    margin: 0;
    font-size: 12px;
}

.donation-program-preview {
    position: sticky;
    top: 24px;
    overflow: hidden;
}

.donation-program-preview > img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.donation-program-preview > div {
    padding: 22px;
}

.donation-program-preview > div > span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
}

.donation-program-preview h2 {
    margin: 6px 0 10px;
    font-size: 21px;
    line-height: 1.3;
}

.donation-program-preview p {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 13px;
}

.donation-preview-values {
    display: flex;
    justify-content: space-between;
    margin-top: 13px;
    gap: 18px;
}

.donation-preview-values div {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.donation-preview-values div:last-child {
    text-align: right;
}

.donation-preview-values small {
    color: var(--muted);
    font-size: 10px;
}

.donation-preview-values strong {
    font-size: 13px;
}

.payment-status {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
    padding: 17px 18px;
    gap: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-left: 4px solid #777;
    border-radius: 6px;
}

.payment-status--confirmed {
    color: var(--success);
    background: #f1faf4;
    border-color: #b9dfc5;
}

.payment-status--pending {
    border-left-color: #8a5700;
}

.payment-status--rejected,
.payment-status--expired {
    color: var(--danger);
    background: #fff4f2;
    border-color: #f0c3bc;
}

.payment-status > svg {
    width: 24px;
    height: 24px;
}

.payment-status > div {
    display: flex;
    flex-direction: column;
}

.payment-status strong {
    font-size: 14px;
}

.payment-status span {
    color: #555;
    font-size: 12px;
}

.payment-card {
    overflow: hidden;
}

.payment-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 20px 24px;
    gap: 22px;
    border-bottom: 1px solid var(--line);
}

.payment-card__head div,
.payment-donor-row,
.bank-account-holder {
    display: flex;
    flex-direction: column;
}

.payment-card__head span,
.payment-donor-row span,
.bank-account-holder span,
.bank-account-row span {
    color: var(--muted);
    font-size: 10px;
}

.payment-card__head strong {
    font-size: 14px;
}

.payment-program-name {
    max-width: 48%;
    text-align: right;
}

.payment-exact-amount {
    display: flex;
    align-items: center;
    padding: 30px 24px;
    flex-direction: column;
    text-align: center;
}

.payment-exact-amount > span {
    color: var(--muted);
    font-size: 12px;
}

.payment-exact-amount > strong {
    margin: 5px 0 14px;
    font-size: 38px;
    line-height: 1.15;
}

.payment-exact-amount button,
.bank-account-row button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 12px;
    gap: 7px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid #cfcfcf;
    border-radius: 5px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 750;
}

.payment-exact-amount button:hover,
.bank-account-row button:hover,
.payment-exact-amount button.is-copied,
.bank-account-row button.is-copied {
    color: var(--white);
    background: var(--black);
    border-color: var(--black);
}

.payment-breakdown {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 24px;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 6px;
}

.payment-breakdown div {
    display: flex;
    min-width: 0;
    padding: 15px;
    flex-direction: column;
}

.payment-breakdown div:not(:last-child) {
    border-right: 1px solid var(--line);
}

.payment-breakdown span {
    color: var(--muted);
    font-size: 10px;
}

.payment-breakdown strong {
    overflow-wrap: anywhere;
    font-size: 13px;
}

.bank-transfer-card {
    margin: 24px;
    overflow: hidden;
    border: 1px solid #bdbdbd;
    border-radius: 7px;
}

.bank-transfer-card__label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px;
    background: var(--black);
    color: var(--white);
}

.bank-transfer-card__label span {
    font-size: 11px;
}

.bank-account-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 16px;
    gap: 20px;
}

.bank-account-row > div {
    display: flex;
    flex-direction: column;
}

.bank-account-row strong {
    font-size: 24px;
    line-height: 1.2;
}

.bank-account-row button {
    width: 38px;
    padding: 0;
}

.bank-account-holder {
    padding: 14px 16px;
    background: var(--soft);
    border-top: 1px solid var(--line);
}

.bank-account-holder strong {
    font-size: 13px;
}

.payment-donor-row {
    margin: 0 24px 24px;
    padding: 15px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.payment-donor-row strong {
    font-size: 14px;
}

.payment-actions {
    padding: 0 24px 24px;
    text-align: center;
}

.payment-actions p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 11px;
}

.payment-card > .button {
    width: calc(100% - 48px);
    margin: 0 24px 24px;
}

.payment-security-note {
    margin-top: 16px;
    margin-bottom: 0;
}

.donor-list {
    border-top: 1px solid var(--line);
}

.donor-list article {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    padding: 17px 0;
    gap: 13px;
    border-bottom: 1px solid var(--line);
}

.donor-list article > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: var(--white);
    background: var(--black);
    border-radius: 50%;
}

.donor-list article > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.donor-list small {
    color: var(--muted);
    font-size: 11px;
}

.donor-list b {
    font-size: 13px;
}

.page-banner {
    padding: 92px 0;
}

.page-banner--black {
    color: var(--white);
    background: var(--black);
}

.page-banner h1 {
    max-width: 780px;
    margin: 0 0 14px;
    font-size: 48px;
    line-height: 1.14;
}

.page-banner p {
    max-width: 660px;
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 17px;
}

.eyebrow--light {
    color: rgba(255, 255, 255, 0.7);
}

.article-grid--listing {
    row-gap: 32px;
}

.article-detail__head {
    padding: 74px 0 46px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    margin-bottom: 42px;
    gap: 7px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.article-detail__head time {
    display: block;
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 13px;
}

.article-detail__head h1 {
    margin: 0 0 18px;
    font-size: 47px;
    line-height: 1.14;
}

.article-detail__head p {
    margin: 0;
    color: var(--muted);
    font-size: 19px;
}

.article-detail__image img {
    width: 100%;
    max-height: 660px;
    object-fit: cover;
}

.article-detail__content {
    padding-top: 54px;
    padding-bottom: 100px;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 76px;
}

.about-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.static-page {
    min-height: 70vh;
    padding-top: 40px;
}

.static-page h1 {
    margin: 0 0 36px;
    color: var(--ink);
    font-size: 43px;
    line-height: 1.15;
}

.faq-list {
    margin-top: 36px;
    border-top: 1px solid var(--line);
}

.faq-list details {
    padding: 23px 0;
    border-bottom: 1px solid var(--line);
}

.faq-list summary {
    font-weight: 750;
    cursor: pointer;
}

.faq-list p {
    margin: 14px 0 0;
    color: var(--muted);
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.75fr 1.4fr;
    align-items: start;
    gap: 70px;
}

.contact-info {
    display: grid;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.contact-info > div {
    display: grid;
    grid-template-columns: 30px 1fr;
    padding: 22px;
    background: var(--white);
}

.contact-info svg {
    grid-row: 1 / 3;
    margin-top: 2px;
}

.contact-info span {
    color: var(--muted);
    font-size: 12px;
}

.contact-info strong {
    overflow-wrap: anywhere;
    font-size: 14px;
}

.contact-form > label,
.form-grid label {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.contact-form label > span {
    font-size: 13px;
    font-weight: 700;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 18px;
    gap: 18px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid #cfcfcf;
    border-radius: 6px;
    outline: none;
}

.contact-form input {
    height: 47px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--black);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08);
}

.contact-form > .button {
    margin-top: 20px;
}

.form-alert {
    margin-bottom: 20px;
    padding: 14px;
    color: var(--danger);
    background: #fff2f0;
    border: 1px solid #ffd0ca;
    border-radius: 6px;
}

@media (max-width: 1024px) {
    .nav-shell {
        gap: 22px;
    }

    .header-search {
        width: min(270px, 27vw);
    }

    .hero-track {
        width: calc(100% - 32px);
    }

    .overview-item {
        padding-inline: 22px;
    }

    .program-band {
        padding-inline: 22px;
    }

    .detail-layout {
        grid-template-columns: minmax(0, 1fr) 340px;
        gap: 28px;
    }

    .footer-grid {
        grid-template-columns: 1.65fr 0.75fr 0.9fr 1.3fr;
        gap: 34px;
    }
}

@media (max-width: 900px) {
    body {
        padding-bottom: 66px;
    }

    .site-header {
        height: 70px;
    }

    .nav-shell {
        justify-content: space-between;
    }

    .brand {
        height: 58px;
    }

    .brand img {
        width: 48px;
        height: 52px;
    }

    .desktop-nav,
    .header-search,
    .nav-actions {
        display: none;
    }

    .mobile-search-button {
        display: inline-flex;
    }

    .mobile-search-panel {
        position: absolute;
        z-index: 60;
        top: 100%;
        right: 0;
        left: 0;
        display: block;
        padding: 12px 16px;
        background: var(--white);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.07);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity 160ms ease, transform 160ms ease;
    }

    .mobile-search-panel.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .mobile-search-panel .mobile-search {
        width: min(100%, var(--container));
        margin: 0 auto;
    }

    .mobile-search button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        margin-right: -7px;
        padding: 0;
        color: var(--white);
        background: var(--black);
        border: 0;
        border-radius: 4px;
        cursor: pointer;
    }

    .mobile-search button svg {
        width: 16px;
        height: 16px;
        color: currentColor;
    }

    .mobile-bottom-nav {
        position: fixed;
        z-index: 45;
        right: 0;
        bottom: 0;
        left: 0;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        height: 66px;
        padding: 5px max(8px, env(safe-area-inset-right)) max(5px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
        background: rgba(255, 255, 255, 0.98);
        border-top: 1px solid var(--line);
        box-shadow: 0 -5px 18px rgba(0, 0, 0, 0.05);
    }

    .mobile-bottom-nav a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 3px;
        color: #858585;
        flex-direction: column;
        font-size: 10px;
        transition: color 140ms ease;
    }

    .mobile-bottom-nav a.active {
        color: var(--black);
        font-weight: 800;
    }

    .mobile-bottom-nav svg {
        width: 21px;
        height: 21px;
        transition: color 140ms ease;
    }
}

@media (max-width: 820px) {
    body {
        padding-bottom: 66px;
    }

    .container {
        width: min(calc(100% - 32px), var(--container));
    }

    .site-header {
        height: 70px;
    }

    .nav-shell {
        justify-content: space-between;
    }

    .brand {
        height: 58px;
    }

    .brand img {
        width: 48px;
        height: 52px;
    }

    .desktop-nav,
    .header-search,
    .nav-actions {
        display: none;
    }

    .hero {
        padding-top: 10px;
    }

    .hero-track {
        width: calc(100% - 20px);
    }

    .carousel-arrow {
        width: 36px;
        height: 36px;
    }

    .carousel-arrow--prev {
        left: 10px;
    }

    .carousel-arrow--next {
        right: 10px;
    }

    .overview {
        margin-top: 12px;
    }

    .overview-card {
        min-height: 0;
        grid-template-columns: repeat(3, 1fr);
        box-shadow: none;
    }

    .overview-item {
        min-width: 0;
        padding: 18px 8px;
        gap: 8px;
        flex-direction: column;
        text-align: center;
    }

    .overview-item:not(:last-child) {
        border-right: 1px solid var(--line);
    }

    .overview-icon {
        width: 38px;
        height: 38px;
    }

    .overview-icon svg {
        width: 19px;
        height: 19px;
    }

    .overview-item strong {
        font-size: 14px;
    }

    .overview-item span:last-child {
        font-size: 10px;
    }

    .section {
        padding: 68px 0;
    }

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

    .horizontal-slider__track {
        grid-auto-columns: calc((100% - 20px) / 2);
        gap: 20px;
    }

    .program-band {
        padding-inline: 16px;
    }

    .program-card__body {
        padding: 16px;
    }

    .donation-cta__inner {
        align-items: flex-start;
        padding: 38px;
        flex-direction: column;
    }

    .donation-cta h2 {
        font-size: 30px;
    }

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

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

    .detail-layout,
    .support-layout,
    .donation-form-layout,
    .contact-layout,
    .about-layout {
        grid-template-columns: 1fr;
    }

    .donation-summary {
        position: static;
        grid-row: 1;
        margin-top: -34px;
    }

    .detail-main {
        padding-top: 28px;
    }

    .support-layout {
        gap: 42px;
    }

    .support-program-card {
        max-width: 540px;
    }

    .donation-program-preview {
        position: static;
        display: grid;
        max-width: none;
        grid-template-columns: 260px minmax(0, 1fr);
    }

    .donation-program-preview > img {
        height: 100%;
        aspect-ratio: auto;
    }

    .page-banner {
        padding: 70px 0;
    }

    .page-banner h1,
    .article-detail__head h1 {
        font-size: 39px;
    }

    .about-layout {
        gap: 40px;
    }

    .contact-layout {
        gap: 36px;
    }
}

@media (max-width: 560px) {
    .mobile-only {
        display: flex !important;
    }

    .carousel-arrow {
        display: none;
    }

    .carousel-dots {
        bottom: 9px;
    }

    .overview-card {
        border-radius: 6px;
    }

    .overview-item {
        padding-inline: 5px;
    }

    .section {
        padding: 60px 0;
    }

    .section-heading {
        margin-bottom: 28px;
    }

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

    .section-heading p {
        padding-inline: 10px;
    }

    .program-grid--three,
    .article-grid {
        grid-template-columns: 1fr;
    }

    .horizontal-slider {
        margin-right: -16px;
    }

    .horizontal-slider__track {
        grid-auto-columns: min(82vw, 320px);
        gap: 14px;
        padding-right: 16px;
    }

    .horizontal-slider__control {
        display: none;
    }

    .program-band {
        margin-inline: -16px;
        padding: 0 16px 28px;
    }

    .program-band::after {
        height: 32%;
        border-radius: 0;
    }

    .program-card h3 {
        min-height: 0;
    }

    .category-chips {
        margin-right: -16px;
    }

    .donation-cta {
        padding: 36px 0 68px;
    }

    .donation-cta__inner {
        min-height: 0;
        padding: 30px 24px;
    }

    .donation-cta h2 {
        font-size: 26px;
    }

    .site-footer {
        padding-top: 56px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px 22px;
    }

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

    .listing-head {
        padding-top: 34px;
    }

    .listing-title-row {
        align-items: stretch;
        margin-bottom: 24px;
        flex-direction: column;
        gap: 18px;
    }

    .listing-search {
        width: 100%;
    }

    .filter-bar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .select-field {
        min-width: 0;
    }

    .select-field select {
        padding-left: 12px;
        font-size: 13px;
    }

    .detail-tabs {
        gap: 3px;
    }

    .detail-tabs button {
        min-width: 0;
        padding-inline: 6px;
        gap: 4px;
        font-size: 11px;
    }

    .tab-panel > h1 {
        font-size: 27px;
    }

    .donation-summary {
        padding: 22px;
    }

    .support-copy h1 {
        font-size: 35px;
    }

    .support-copy > p {
        font-size: 16px;
    }

    .donation-form-card {
        padding: 24px;
    }

    .donation-presets {
        grid-template-columns: 1fr 1fr;
    }

    .donation-program-preview {
        grid-template-columns: 1fr;
    }

    .donation-program-preview > img {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .payment-card__head {
        flex-direction: column;
        gap: 8px;
    }

    .payment-program-name {
        max-width: none;
        text-align: left;
    }

    .payment-exact-amount > strong {
        font-size: 31px;
    }

    .payment-breakdown {
        grid-template-columns: 1fr;
    }

    .payment-breakdown div:not(:last-child) {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .bank-account-row strong {
        font-size: 21px;
    }

    .donor-list article {
        grid-template-columns: 38px minmax(0, 1fr);
    }

    .donor-list article > span {
        width: 38px;
        height: 38px;
    }

    .donor-list b {
        grid-column: 2;
    }

    .page-banner {
        padding: 58px 0;
    }

    .page-banner h1,
    .article-detail__head h1,
    .static-page h1 {
        font-size: 34px;
    }

    .article-detail__head {
        padding-top: 50px;
    }

    .back-link {
        margin-bottom: 28px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}

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