/* =====================================================================
 * Fundraising campaign: the progress bar, the Donate page, the home band
 * ===================================================================== */
.site-nav a.nav-donate { color: var(--green); font-weight: 700; }
@media (min-width: 961px) {
  .nav-inner { align-items: center; }
  .site-nav a.nav-donate { margin-left: auto; padding: 6px 16px; border: 2px solid var(--flag-green); border-radius: 2px; color: var(--green); }
  .site-nav a.nav-donate:hover, .site-nav a.nav-donate[aria-current="page"] { background: var(--btn); border-color: var(--btn); color: #fff; }
}

.camp { --p: 0%; }
.camp-amounts { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 12px; }
.camp-raised { font-family: var(--serif-display); font-weight: 700; font-size: 2.2rem; line-height: 1; color: var(--green); }
.camp-of { color: var(--ink-soft); font-size: 1.02rem; }
.camp-bar { position: relative; height: 18px; border-radius: 99px; background: color-mix(in srgb, var(--ink) 9%, var(--surface)); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .12); }
.camp-fill { position: absolute; inset: 0 auto 0 0; width: max(var(--p), 18px); max-width: 100%; border-radius: inherit;
  background: linear-gradient(90deg, #066c26, var(--flag-green) 60%, #12a845);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .12), 0 0 0 2px color-mix(in srgb, var(--flag-yellow) 55%, transparent);
  animation: camp-grow 1.6s cubic-bezier(.2, .8, .2, 1) both; overflow: hidden; }
.camp-fill::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-100%); animation: camp-shine 3.2s ease-in-out 1.6s infinite; }
.camp-pct { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); color: #fff; font-size: .72rem; font-weight: 700; line-height: 1; }
.camp-tick { position: absolute; top: 3px; bottom: 3px; width: 2px; background: color-mix(in srgb, var(--surface) 75%, transparent); border-radius: 2px; }
@keyframes camp-grow { from { width: 18px; } }
@keyframes camp-shine { to { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .camp-fill, .camp-fill::after { animation: none; } }
.camp-stats { display: flex; flex-wrap: wrap; gap: 10px 32px; margin: 16px 0 0; }
.camp-stats div { min-width: 90px; }
.camp-stats dt { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
html[lang="am"] .camp-stats dt { letter-spacing: .03em; font-size: .82rem; }
.camp-stats dd { margin: 2px 0 0; font-family: var(--serif-display); font-weight: 700; font-size: 1.45rem; color: var(--ink); }
.camp-btn { margin-top: 18px; }

/* the big version at the top of /donate */
.camp-hero { background: var(--bg-2); border-bottom: 1px solid var(--line); padding: clamp(36px, 6vw, 72px) 0 clamp(28px, 4vw, 48px); position: relative; }
.camp-hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--flag-h); }
.camp-hero-inner { max-width: 980px; }
.camp-head h1 { margin-bottom: .25em; }
.camp-big { margin-top: 26px; padding: 26px 28px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 18px 40px -28px rgba(0, 0, 0, .45); }
.camp-big .camp-raised { font-size: clamp(2.6rem, 7vw, 4rem); }
.camp-big .camp-of { font-size: 1.15rem; }
.camp-big .camp-bar { height: 30px; }
.camp-big .camp-pct { font-size: .9rem; right: 12px; }
.camp-scale { position: relative; height: 20px; margin-top: 6px; font-size: .74rem; color: var(--muted); }
.camp-scale span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.camp-scale span:first-child { transform: none; }
.camp-scale span:last-child { transform: translateX(-100%); }
.camp-big .camp-stats { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 14px; }
.camp-big .camp-stats dd { font-size: 1.9rem; }
.camp-actions { margin-top: 22px; }
@media (max-width: 560px) { .camp-scale span:nth-child(2), .camp-scale span:nth-child(4) { display: none; } .camp-big { padding: 20px 18px; } }

.camp-body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.camp-body:not(:has(.camp-uses)) { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.camp-case p { font-size: 1.12rem; color: var(--ink-soft); max-width: 38em; }
.camp-uses { border-top: 3px solid var(--ink); padding-top: 14px; }
.camp-uses ul { list-style: none; margin: 0; padding: 0; }
.camp-uses li { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.camp-uses strong { font-family: var(--serif-display); font-size: 1.15rem; }
.use-bar { grid-column: 1 / -1; height: 6px; border-radius: 99px; background: color-mix(in srgb, var(--ink) 8%, transparent); position: relative; overflow: hidden; }
.use-bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--flag-yellow); border-radius: inherit; }
.camp-give { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 64px); align-items: start; scroll-margin-top: 120px; }
#give { scroll-margin-top: 110px; }
.ways { list-style: none; margin: 0; padding: 0; }
.ways li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.ways li:first-child { border-top: 3px solid var(--ink); }
.way-label { font-weight: 700; }
.way-value { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.way-value code { font-size: 1.1rem; font-weight: 600; letter-spacing: .03em; background: var(--surface); border: 1px solid var(--line); padding: 4px 10px; border-radius: 2px; word-break: break-all; }
.camp-end { text-align: center; max-width: 720px; }
.camp-end .share { justify-content: center; }
.camp-thanks { font-family: var(--serif-display); font-size: 1.5rem; color: var(--green); }
html[lang="am"] .camp-thanks { font-family: var(--ethiopic); font-size: 1.2rem; }
@media (max-width: 820px) { .camp-body, .camp-give { grid-template-columns: 1fr; } }

/* the home page band */
.camp-home { background: var(--surface); border-bottom: 1px solid var(--line); padding: 28px 0; position: relative; }
.camp-home-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 18px 48px; align-items: center; }
.camp-home h2 { margin: 0 0 6px; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.camp-home h2 a { color: var(--ink); text-decoration: none; }
.camp-home h2 a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.camp-home .camp-text p { margin: 0; }
.camp-home .camp-stats { gap: 6px 24px; margin-top: 10px; }
.camp-home .camp-stats dd { font-size: 1.15rem; }
.camp-home .camp-btn { margin-top: 14px; }
@media (max-width: 820px) { .camp-home-inner { grid-template-columns: 1fr; } .camp-home { padding: 22px 0; } .camp-raised { font-size: 1.9rem; } }
.way-text { color: var(--ink-soft); }
.camp-tick { z-index: 0; }
.camp-fill { z-index: 1; }
