:root {
  --bg: #f2f5ff;
  --bg-deep: #dfe7ff;
  --paper: rgba(255, 255, 255, 0.98);
  --paper-strong: #fffef9;
  --text: #0d0c22;
  --muted: #6b7287;
  --line: rgba(99, 117, 196, 0.14);
  --green: #0d0c22;
  --green-soft: #2a2740;
  --gold: #6b84ff;
  --gold-strong: #5874f1;
  --danger: #a73f2d;
  --shadow: 0 18px 40px rgba(73, 92, 174, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC",
    "Source Han Sans SC", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(120, 145, 255, 0.16), transparent 28%),
    radial-gradient(circle at bottom left, rgba(93, 114, 214, 0.1), transparent 26%),
    linear-gradient(180deg, #f6f8ff 0%, #eef3ff 42%, #dce6ff 100%);
}

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

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

button {
  font: inherit;
}

.page-glow {
  position: fixed;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  filter: blur(32px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

.page-glow-top {
  top: -4rem;
  left: -5rem;
  background: rgba(120, 145, 255, 0.42);
}

.page-glow-bottom {
  right: -5rem;
  bottom: 4rem;
  background: rgba(93, 114, 214, 0.16);
}

.app-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  margin: 0 auto;
  padding: calc(env(safe-area-inset-top) + 14px) 14px calc(env(safe-area-inset-bottom) + 98px);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(145deg, #eef3ff 0%, #cfd9ff 100%);
  color: var(--text);
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(73, 92, 174, 0.14);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand h1,
.hero-copy h2,
.section-heading h3,
.detail-hero-text h2,
.detail-section h3,
.donation-panel h3 {
  margin: 0;
  font-weight: 800;
}

.brand h1 {
  font-size: 1.08rem;
}

.eyebrow {
  margin: 0 0 2px;
  font-size: 0.72rem;
  color: var(--muted);
}

.ghost-link {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--green);
  font-weight: 700;
  white-space: nowrap;
}

.topbar-menu-shell {
  position: relative;
}

.topbar-menu-btn {
  display: grid;
  align-content: center;
  gap: 4px;
  width: 48px;
  height: 48px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.topbar-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.topbar-menu-btn.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.topbar-menu-btn.is-open span:nth-child(2),
.topbar-menu-btn.is-open span:nth-child(3) {
  opacity: 0;
}

.topbar-menu-btn.is-open span:nth-child(4) {
  transform: translateY(-6px) rotate(-45deg);
}

.topbar-menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(220px, calc(100vw - 28px));
  padding: 12px;
  border-radius: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.topbar-menu-shell.is-open .topbar-menu-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.topbar-menu-link {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  font-size: 0.76rem;
}

.hero,
.story-banner,
.home-category-strip,
.impact,
.campaigns,
.trust-strip,
.home-feed,
.home-feed-grid,
.footer-note,
.home-final-cta,
.detail-section,
.donation-panel {
  animation: rise 0.7s ease both;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 530px;
  border-radius: 32px;
  box-shadow: var(--shadow);
  background: #000;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(22, 30, 66, 0.05) 0%, rgba(22, 30, 66, 0.32) 34%, rgba(22, 30, 66, 0.9) 100%),
    linear-gradient(135deg, rgba(107, 132, 255, 0.18) 0%, rgba(22, 30, 66, 0.16) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 530px;
  padding: 22px;
  color: #fffef9;
}

.home-hero .hero-copy {
  justify-content: space-between;
}

.hero-badge,
.chip,
.section-heading span,
.detail-section .mini-label {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
}

.hero-badge {
  margin-bottom: 14px;
  background: rgba(107, 132, 255, 0.2);
  border: 1px solid rgba(107, 132, 255, 0.24);
  backdrop-filter: blur(12px);
}

.hero-copy h2 {
  font-size: 2rem;
  line-height: 1.18;
  margin-bottom: 12px;
}

.hero-copy p,
.impact-card p,
.story-panel p,
.trust-strip p,
.footer-note p,
.feature-card-summary,
.detail-summary,
.detail-story p,
.allocation-list p,
.needs-list li,
.updates-list p,
.donor-item p,
.quick-note,
.project-meta {
  margin: 0;
  color: var(--muted);
  line-height: 1.82;
}

.hero-copy p {
  color: rgba(255, 255, 255, 0.86);
}

.hero-metrics-wide {
  grid-template-columns: repeat(2, 1fr);
}

.hero-focus-card {
  margin-top: 22px;
  padding: 16px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(107, 132, 255, 0.22);
  backdrop-filter: blur(16px);
}

.hero-focus-head,
.urgent-card-top,
.urgent-card-foot,
.catalog-card-foot,
.support-feed-head,
.support-feed-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hero-focus-head span,
.catalog-chip {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(107, 132, 255, 0.16);
  border: 1px solid rgba(107, 132, 255, 0.18);
  font-size: 0.78rem;
  font-weight: 800;
}

.hero-focus-head strong,
.hero-focus-card h3 {
  margin: 0;
}

.hero-focus-card h3 {
  margin-top: 12px;
  font-size: 1.3rem;
}

.hero-focus-card p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.72;
}

.hero-focus-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.82rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.hero-metrics {
  margin-top: 20px;
}

.hero-metrics article {
  padding: 14px 12px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(107, 132, 255, 0.18);
  backdrop-filter: blur(14px);
}

.hero-metrics strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.08rem;
}

.hero-metrics span {
  display: block;
  font-size: 0.76rem;
  line-height: 1.5;
}

.hero-actions,
.action-row,
.detail-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.primary-btn,
.secondary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 800;
  border: 0;
}

.primary-btn {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-strong) 100%);
  color: #fff;
  box-shadow: 0 14px 28px rgba(88, 116, 241, 0.24);
  font-size: 1rem;
}

.secondary-btn,
.ghost-btn {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--green);
}

.impact,
.campaigns,
.story-banner,
.home-feed-grid,
.footer-note,
.home-feed,
.home-final-cta,
.detail-section,
.donation-panel {
  margin-top: 18px;
  padding: 22px 18px;
  border-radius: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.section-heading span,
.detail-section .mini-label {
  background: rgba(107, 132, 255, 0.16);
  color: var(--text);
}

.section-heading h3,
.detail-section h3,
.donation-panel h3 {
  margin-top: 12px;
  font-size: 1.46rem;
  line-height: 1.35;
}

.impact-cards,
.allocation-list,
.updates-list,
.donor-list,
.detail-story,
.story-banner-grid,
.home-donor-list,
.home-updates,
.feed-list,
.urgent-grid,
.catalog-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.impact-card,
.allocation-item,
.update-item,
.donor-item,
.story-banner-grid article,
.home-donor-item,
.home-update-item,
.support-feed-item,
.update-feed-item,
.urgent-card,
.catalog-card {
  padding: 16px;
  border-radius: 22px;
  background: var(--paper-strong);
  border: 1px solid var(--line);
}

.impact-card strong,
.feature-card h4,
.catalog-card h4,
.allocation-item-head strong,
.update-item-head strong,
.donor-item-head strong,
.story-banner-grid strong,
.home-donor-head strong,
.home-update-item strong {
  display: block;
  color: var(--green);
}

.impact-card strong {
  margin-bottom: 8px;
  font-size: 1.3rem;
}

.campaign-cover {
  position: relative;
  overflow: hidden;
  margin: 18px 0 0;
  height: 250px;
  border-radius: 26px;
  background: #1f1712;
  box-shadow: 0 18px 30px rgba(73, 50, 28, 0.12);
  pointer-events: none;
}

.campaign-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(28, 20, 15, 0.06) 0%, rgba(28, 20, 15, 0.24) 38%, rgba(28, 20, 15, 0.9) 100%);
}

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

.home-category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 248, 239, 0.86);
  border: 1px solid rgba(85, 59, 37, 0.08);
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.single-hero-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 30px;
  background: var(--paper);
  border: 1px solid rgba(85, 59, 37, 0.08);
  box-shadow: var(--shadow);
}

.single-hero-media img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center center;
}

.campaign-cover figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  margin: 0;
  padding: 18px 16px 16px;
  color: #fff4e7;
  line-height: 1.85;
  font-size: 0.92rem;
}

.single-campaign-shell {
  margin-top: 18px;
}

.feature-card {
  overflow: hidden;
  border-radius: 26px;
  background: var(--paper-strong);
  box-shadow: 0 18px 30px rgba(73, 50, 28, 0.12);
}

.feature-card-media {
  position: relative;
}

.feature-card-media img,
.detail-hero-media img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.feature-chip,
.detail-hero-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(37, 51, 112, 0.86);
  color: #fffef7;
  font-size: 0.78rem;
  font-weight: 800;
}

.feature-card-body {
  padding: 16px;
}

.feature-card-topline,
.summary-row,
.allocation-item-head,
.update-item-head,
.donor-item-head,
.donor-item-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.feature-location,
.project-meta,
.detail-progress-foot span,
.donor-item-foot span {
  color: var(--muted);
  font-size: 0.84rem;
}

.feature-days {
  color: var(--danger);
  font-size: 0.78rem;
  font-weight: 800;
}

.feature-card h4 {
  margin: 10px 0 8px;
  font-size: 1.28rem;
  line-height: 1.42;
}

.feature-card-summary {
  margin-bottom: 14px;
}

.progress-track {
  overflow: hidden;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(111, 90, 71, 0.12);
}

.progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #6b84ff 0%, #5874f1 100%);
}

.feature-figures,
.detail-progress-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  font-size: 0.84rem;
  color: var(--muted);
}

.feature-figures-secondary {
  margin-top: 8px;
}

.feature-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.feature-footer strong {
  font-size: 0.92rem;
}

.feature-cta {
  padding: 11px 14px;
  border-radius: 16px;
  background: rgba(107, 132, 255, 0.14);
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 800;
}

.urgent-card,
.catalog-card {
  overflow: hidden;
  padding: 0;
  background: var(--paper-strong);
}

.urgent-card img,
.catalog-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.urgent-card-body,
.catalog-card-body {
  padding: 14px;
}

.urgent-card-top strong,
.catalog-card h4 {
  font-size: 1rem;
}

.urgent-card-top span,
.catalog-card-meta,
.catalog-card-foot span,
.support-feed-foot span {
  color: var(--muted);
  font-size: 0.8rem;
}

.urgent-card-body p,
.catalog-card-summary,
.support-feed-item p,
.update-feed-item p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.urgent-card-foot,
.catalog-card-foot {
  margin-top: 10px;
}

.urgent-card-foot a,
.catalog-card-foot a,
.support-feed-foot a {
  color: var(--green);
  font-weight: 800;
  font-size: 0.82rem;
}

.catalog-card-media {
  position: relative;
}

.catalog-chip {
  position: absolute;
  top: 12px;
  left: 12px;
  color: #fff5ea;
  background: rgba(16, 35, 30, 0.82);
  border: 0;
}

.catalog-card h4 {
  margin: 8px 0 6px;
  line-height: 1.5;
}

.trust-strip {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.trust-strip article {
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 248, 239, 0.7);
  border: 1px solid rgba(85, 59, 37, 0.08);
  box-shadow: var(--shadow);
}

.trust-strip strong {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
  font-size: 1rem;
}

.story-banner {
  background:
    linear-gradient(180deg, rgba(255, 248, 239, 0.98), rgba(245, 236, 222, 0.95)),
    radial-gradient(circle at top right, rgba(212, 165, 79, 0.18), transparent 40%);
}

.story-banner-grid article p,
.home-update-item p {
  margin: 8px 0 0;
}

.home-feed,
.home-feed-grid,
.home-final-cta {
  position: relative;
  overflow: hidden;
}

.home-donor-item p {
  margin-top: 8px;
}

.home-donor-head,
.home-donor-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.home-donor-head span {
  color: var(--green);
  font-weight: 800;
}

.home-donor-foot {
  margin-top: 10px;
}

.home-donor-foot span {
  color: var(--muted);
  font-size: 0.82rem;
}

.home-update-item strong {
  font-size: 0.95rem;
}

.home-final-cta {
  margin: 18px 0 30px;
  background:
    linear-gradient(180deg, rgba(15, 91, 69, 0.1), rgba(255, 248, 239, 0.98)),
    var(--paper);
}

.home-final-cta p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.82;
}

.feed-panel {
  padding: 22px 18px;
  border-radius: 28px;
  background: var(--paper);
  border: 1px solid rgba(85, 59, 37, 0.08);
  box-shadow: var(--shadow);
}

.support-feed-head strong,
.support-feed-head span {
  font-size: 0.92rem;
}

.support-feed-head span {
  color: var(--green);
  font-weight: 800;
}

.support-feed-foot {
  margin-top: 10px;
}

.panel-more-row {
  display: flex;
  justify-content: center;
  padding: 0 18px 22px;
}

.panel-more-btn {
  min-width: 180px;
}

.section-more-row {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.section-more-btn {
  min-width: 180px;
}

.listing-hero {
  margin-top: 18px;
  padding: 22px 18px;
  border-radius: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-align: center;
}

.about-page-logo {
  width: 96px;
  height: 96px;
  margin: 0 auto 14px;
  object-fit: contain;
}

.listing-hero h2 {
  margin: 14px 0 10px;
  font-size: 1.8rem;
  line-height: 1.2;
}

.listing-hero p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.news-featured-hero {
  overflow: hidden;
  margin-top: 18px;
  border-radius: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.news-featured-hero img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.news-featured-body {
  padding: 18px 16px;
}

.news-featured-body span {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 91, 69, 0.08);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 800;
}

.news-featured-body h3 {
  margin: 12px 0 8px;
  font-size: 1.38rem;
  line-height: 1.4;
}

.news-featured-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.news-toolbar {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.news-filter-row,
.news-sort-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.news-filter-chip,
.news-sort-chip {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(85, 59, 37, 0.08);
  background: rgba(255, 248, 239, 0.86);
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
}

.news-filter-chip.is-active,
.news-sort-chip.is-active {
  background: linear-gradient(135deg, #efc470 0%, var(--gold-strong) 100%);
  color: #25170d;
  border-color: transparent;
}

.hope-story-list {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.hope-story-detail-card {
  overflow: hidden;
  border-radius: 26px;
  background: #fffdf9;
  border: 1px solid rgba(85, 59, 37, 0.08);
}

.hope-story-detail-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.hope-story-detail-body {
  padding: 18px 16px;
}

.hope-story-detail-body span {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 91, 69, 0.08);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 800;
}

.hope-story-detail-body h3 {
  margin: 12px 0 8px;
  font-size: 1.32rem;
  line-height: 1.42;
}

.hope-story-detail-meta,
.hope-story-detail-body p,
.hope-story-outcome p {
  margin: 0;
  color: var(--muted);
  line-height: 1.82;
}

.hope-story-detail-body p + p {
  margin-top: 12px;
}

.hope-story-detail-meta {
  margin-bottom: 14px;
  font-size: 0.84rem;
}

.hope-story-outcome {
  margin-top: 16px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(15, 91, 69, 0.08);
}

.hope-story-outcome strong {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
}

.sources {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.sources a,
.amount-chip {
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(15, 91, 69, 0.08);
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 800;
}

.detail-hero {
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.detail-hero-media {
  background: transparent;
}

.detail-hero-text {
  padding: 20px 18px 18px;
  margin-top: 16px;
  border-radius: 28px;
  background: var(--paper);
  border: 1px solid rgba(85, 59, 37, 0.08);
  box-shadow: var(--shadow);
}

.detail-hero-text h2 {
  font-size: 1.9rem;
  line-height: 1.2;
}

.detail-hero-text .quote-box {
  margin-top: 14px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(15, 91, 69, 0.08);
  color: var(--green);
  font-weight: 700;
  line-height: 1.82;
}

.summary-progress {
  margin-top: 16px;
}

.detail-hero-text .detail-actions {
  grid-template-columns: 220px;
  justify-content: center;
}

.summary-row {
  margin-bottom: 10px;
}

.summary-row strong {
  color: var(--green);
  font-size: 1.26rem;
}

.donation-panel h3 {
  margin-bottom: 2px;
}

.quick-note {
  margin-top: 10px;
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.amount-chip {
  display: inline-flex;
  justify-content: center;
  min-height: 48px;
  align-items: center;
}

.donor-item-head strong {
  color: var(--text);
  font-size: 0.98rem;
}

.donor-amount {
  color: var(--green);
  font-weight: 800;
}

.donor-item p {
  margin-top: 8px;
}

.donor-item-foot {
  margin-top: 10px;
}

.detail-section h3 {
  margin-top: 12px;
  font-size: 1.28rem;
}

.detail-summary {
  margin-top: 14px;
}

.needs-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.needs-list li {
  position: relative;
  padding: 14px 14px 14px 40px;
  border-radius: 18px;
  background: rgba(247, 239, 228, 0.9);
  border: 1px solid rgba(85, 59, 37, 0.08);
}

.needs-list li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 14px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-strong), var(--gold));
  transform: translateY(-50%);
}

.allocation-item-head span,
.update-item-head span {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--danger);
}

.directory-hero,
.directory-lead,
.directory-feature,
.patient-directory-section,
.directory-split-panels,
.hope-section,
.news-media-section,
.giving-process,
.directory-footer,
.directory-panel {
  margin-top: 18px;
  padding: 22px 18px;
  border-radius: 28px;
  background: rgba(255, 249, 241, 0.96);
  border: 1px solid rgba(85, 59, 37, 0.08);
  box-shadow: var(--shadow);
}

.home-opening {
  margin-top: 18px;
  padding: 22px 18px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(210, 155, 60, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 250, 243, 0.98), rgba(252, 244, 233, 0.96));
  border: 1px solid rgba(85, 59, 37, 0.08);
  box-shadow: var(--shadow);
}

.home-opening-copy {
  display: grid;
  gap: 10px;
}

.home-opening-eyebrow {
  margin: 0;
  color: var(--danger);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.home-opening h2 {
  margin: 0;
  font-size: 2.1rem;
  line-height: 1.12;
}

.home-opening-summary {
  margin: 0;
  color: var(--muted);
  line-height: 1.82;
}

.home-opening-story {
  display: block;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 28px;
  background: #fffdf9;
  border: 1px solid rgba(85, 59, 37, 0.08);
  color: inherit;
}

.home-opening-media {
  position: relative;
}

.home-opening-media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.home-opening-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(24, 18, 12, 0.78);
  color: #fff8ef;
  font-size: 0.78rem;
  font-weight: 800;
}

.home-opening-story-body {
  padding: 16px;
}

.home-opening-story-meta {
  margin: 0;
  color: var(--danger);
  font-size: 0.82rem;
  font-weight: 800;
}

.home-opening-story-body h3 {
  margin: 10px 0 8px;
  font-size: 1.32rem;
  line-height: 1.45;
}

.home-opening-story-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.78;
}

.home-opening-story-figures {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.home-opening-story-figures strong {
  color: var(--green);
  font-size: 1.42rem;
  line-height: 1;
}

.home-opening-story-figures span,
.home-opening-story-foot span {
  color: var(--muted);
  font-size: 0.82rem;
}

.home-opening-story-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}

.home-opening-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  grid-template-columns: 1fr 1fr;
}

.home-opening-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}

.home-opening-metrics article {
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 253, 249, 0.94);
  border: 1px solid rgba(85, 59, 37, 0.08);
}

.home-opening-metrics strong {
  display: block;
  color: var(--green);
  font-size: 1.18rem;
  margin-bottom: 6px;
}

.home-opening-metrics span {
  color: var(--muted);
  line-height: 1.66;
}

.home-opening-context {
  margin-top: 18px;
  padding: 18px 16px;
  border-radius: 24px;
  background: rgba(255, 248, 239, 0.78);
  border: 1px solid rgba(85, 59, 37, 0.08);
}

.home-opening-context-head span {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 91, 69, 0.08);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
}

.home-opening-context-head h3 {
  margin: 12px 0 0;
  font-size: 1.16rem;
  line-height: 1.5;
}

.home-opening-context-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.home-opening-context-card {
  padding: 14px;
  border-radius: 20px;
  background: #fffdf9;
  border: 1px solid rgba(85, 59, 37, 0.08);
}

.home-opening-context-card strong {
  display: block;
  color: var(--green);
  font-size: 1.14rem;
}

.home-opening-context-card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.68;
  font-size: 0.86rem;
}

.home-opening-context-card span {
  display: block;
  margin-top: 10px;
  color: var(--danger);
  font-size: 0.74rem;
  font-weight: 800;
}

.directory-kicker,
.directory-shortcuts a,
.home-link-btn,
.patient-card-chip,
.hope-story-body span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
}

.directory-kicker {
  padding: 7px 12px;
  background: rgba(15, 91, 69, 0.08);
  color: var(--green);
}

.directory-hero h2 {
  margin: 14px 0 10px;
  font-size: 2rem;
  line-height: 1.16;
}

.directory-hero p,
.directory-section-intro,
.patient-card-body p,
.hope-story-body p,
.news-section-intro,
.directory-footer-cta p,
.directory-footer-columns p {
  margin: 0;
  color: var(--muted);
  line-height: 1.82;
}

.directory-hero-actions,
.patient-card-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

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

.patient-card-actions {
  grid-template-columns: 220px;
  justify-content: center;
}

.home-link-btn {
  min-height: 52px;
  padding: 0 16px;
  background: rgba(15, 91, 69, 0.08);
  color: var(--green);
  border: 1px solid rgba(15, 91, 69, 0.12);
}

.directory-stat-grid,
.directory-lead-grid,
.patient-card-meta,
.directory-footer-columns {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.directory-stat-grid {
  grid-template-columns: 1fr 1fr;
}

.context-stat-shell {
  margin-top: 18px;
  padding: 18px 16px;
  border-radius: 24px;
  background: rgba(255, 248, 239, 0.76);
  border: 1px solid rgba(85, 59, 37, 0.08);
}

.context-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.context-stat-card {
  padding: 16px 14px;
  border-radius: 20px;
  background: #fffdf9;
  border: 1px solid rgba(85, 59, 37, 0.08);
}

.context-stat-card strong {
  display: block;
  color: var(--green);
  font-size: 1.18rem;
}

.context-stat-card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.68;
  font-size: 0.88rem;
}

.context-stat-card span {
  display: block;
  margin-top: 10px;
  color: var(--danger);
  font-size: 0.76rem;
  font-weight: 800;
}

.directory-stat-grid article,
.directory-lead-grid article {
  padding: 16px;
  border-radius: 22px;
  background: #fffdf9;
  border: 1px solid rgba(85, 59, 37, 0.08);
}

.directory-stat-grid strong,
.directory-lead-grid strong,
.directory-footer-columns strong {
  display: block;
  color: var(--green);
}

.directory-stat-grid strong {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.directory-stat-grid span,
.directory-lead-grid p {
  color: var(--muted);
  line-height: 1.72;
}

.directory-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.directory-shortcuts a {
  min-height: 40px;
  padding: 0 14px;
  background: rgba(255, 248, 239, 0.88);
  border: 1px solid rgba(85, 59, 37, 0.08);
  color: var(--green);
}

.patient-directory-grid,
.hope-story-grid,
.directory-footer-columns {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.news-highlight-list,
.news-article-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.patient-card,
.hope-story-card,
.news-highlight-item,
.news-article-card {
  overflow: hidden;
  border-radius: 26px;
  background: #fffdf9;
  border: 1px solid rgba(85, 59, 37, 0.08);
}

.patient-card-media,
.hope-story-card img {
  position: relative;
}

.patient-card-media-link,
.patient-card-copy-link,
.hope-story-link {
  display: block;
  color: inherit;
}

.update-feed-link {
  display: block;
  color: inherit;
}

.hope-story-detail-link {
  display: block;
  color: inherit;
}

.news-article-top,
.news-article-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.patient-card-media img,
.hope-story-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.patient-card-chip {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 12px;
  background: rgba(16, 35, 30, 0.86);
  color: #fff5ea;
}

.patient-card-body,
.hope-story-body {
  padding: 16px;
}

.news-highlight-item,
.news-article-card {
  padding: 16px;
}

.patient-card-topline,
.patient-card-progress-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.patient-card-topline span,
.patient-card-meta span {
  color: var(--muted);
  font-size: 0.82rem;
}

.patient-card-body h3,
.hope-story-body h4 {
  margin: 10px 0 8px;
  font-size: 1.24rem;
  line-height: 1.42;
}

.news-highlight-item strong,
.news-article-card h4,
.news-article-top strong {
  display: block;
  color: var(--green);
}

.news-highlight-item strong,
.news-article-card h4 {
  margin-bottom: 8px;
  line-height: 1.5;
}

.news-highlight-item p,
.news-article-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.patient-card-progress {
  margin-top: 14px;
}

.patient-card-progress-row strong {
  color: var(--green);
}

.patient-card-progress-row span {
  color: var(--muted);
  font-size: 0.82rem;
}

.patient-card-meta {
  grid-template-columns: 1fr 1fr;
}

.directory-split-panels {
  display: grid;
  gap: 18px;
}

.news-article-top span {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 91, 69, 0.08);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
}

.news-article-card h4 {
  margin-top: 12px;
  font-size: 1.14rem;
}

.news-article-foot {
  margin-top: 12px;
}

.news-article-foot span {
  color: var(--muted);
  font-size: 0.82rem;
}

.news-article-foot a {
  color: var(--green);
  font-weight: 800;
  font-size: 0.84rem;
}

.directory-panel {
  margin-top: 0;
  padding: 0;
  overflow: hidden;
  background: rgba(255, 249, 241, 0.96);
}

.directory-panel .section-heading,
.hope-section .section-heading,
.giving-process .section-heading,
.directory-feature .section-heading,
.patient-directory-section .section-heading,
.directory-lead .section-heading {
  margin-bottom: 0;
}

.directory-panel .section-heading,
.directory-panel .feed-list {
  padding: 22px 18px 0;
}

.directory-panel .feed-list {
  padding-bottom: 22px;
  margin-top: 0;
}

.hope-story-body span {
  padding: 6px 10px;
  background: rgba(107, 132, 255, 0.14);
  color: var(--text);
}

.directory-footer-columns a {
  margin-top: 12px;
  color: var(--green);
  font-weight: 800;
}

.directory-footer-cta {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(85, 59, 37, 0.08);
}

.site-footer-nav {
  margin-top: 18px;
  padding: 22px 18px;
  border-radius: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.site-footer-logo {
  width: 96px;
  height: 96px;
  margin: 0 auto 16px;
  object-fit: contain;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.site-footer-btn {
  width: 100%;
}

.site-footer-grid .site-footer-btn:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.directory-footer-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 18px;
}

.directory-footer-cta span {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(107, 132, 255, 0.14);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 800;
}

.directory-footer-cta h3 {
  margin: 14px 0 10px;
  font-size: 1.42rem;
  line-height: 1.35;
}

.directory-footer-columns article {
  display: grid;
  gap: 8px;
}

.hope-story-detail-cta {
  margin-top: 16px;
}

.hope-story-detail-card-single {
  margin-top: 18px;
}

.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field span {
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 800;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 15px;
  background: var(--paper-strong);
  color: var(--ink);
  font: inherit;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(95, 92, 112, 0.74);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(107, 132, 255, 0.46);
  box-shadow: 0 0 0 3px rgba(107, 132, 255, 0.16);
}

.form-submit {
  width: 100%;
  justify-content: center;
}

.form-submit:disabled {
  opacity: 0.72;
}

.contact-status {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
}

.privacy-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.privacy-item {
  padding: 16px;
  border-radius: 22px;
  background: #fffdf9;
  border: 1px solid rgba(85, 59, 37, 0.08);
}

.privacy-item strong {
  display: block;
  color: var(--green);
}

.privacy-item p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

@media (min-width: 380px) {
  .catalog-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 360px) {
  .hero-metrics,
  .amount-grid {
    grid-template-columns: 1fr 1fr;
  }

  .directory-hero-actions,
  .home-opening-actions,
  .patient-card-actions,
  .directory-stat-grid,
  .home-opening-metrics,
  .patient-card-meta,
  .context-stat-grid,
  .home-opening-context-grid {
    grid-template-columns: 1fr;
  }

  .single-hero-media img {
    height: 340px;
  }
}

.sticky-bar {
  position: fixed;
  right: 50%;
  bottom: 0;
  transform: translateX(50%);
  width: min(100%, 430px);
  padding: 12px 14px calc(env(safe-area-inset-bottom) + 14px);
  background: linear-gradient(180deg, rgba(245, 236, 222, 0.15), rgba(255, 249, 241, 0.96) 32%);
  z-index: 20;
}

.sticky-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 22px;
  background: rgba(255, 248, 239, 0.96);
  border: 1px solid rgba(85, 59, 37, 0.08);
  box-shadow: 0 16px 34px rgba(48, 25, 10, 0.14);
}

.sticky-card strong {
  display: block;
  font-size: 1rem;
}

.sticky-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.8rem;
}

.sticky-card .primary-btn {
  min-width: 128px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
