/* 点火计划 · Apple-inspired 浅色极简 */

:root {
  --bg: #f5f5f7;
  --bg-elevated: #ffffff;
  --bg-dark: #000000;
  --text: #1d1d1f;
  --text-dim: #86868b;
  --text-link: #0066cc;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --line: #d2d2d7;
  --line-soft: #e8e8ed;
  --warn: #bf4800;
  --ok: #008009;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Helvetica Neue", "Noto Sans SC", "PingFang SC", "Microsoft YaHei",
    sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --max: 980px;
  --pad: clamp(1.25rem, 5vw, 2.5rem);
  --radius: 18px;
  --radius-pill: 980px;
  --nav-h: 48px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47059;
  font-weight: 400;
  letter-spacing: -0.022em;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--text-link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

.site {
  max-width: none;
  margin: 0;
  padding: 0 0 0;
}

.site > .site-footer,
.site > .page-wrap {
  max-width: calc(var(--max) + 2 * var(--pad));
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* —— Global Nav —— */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(251, 251, 253, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0;
  margin: 0;
}

.header-inner {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--nav-h);
}

.brand {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.brand:hover {
  color: var(--text);
  text-decoration: none;
  opacity: 0.65;
}

.brand small {
  display: none;
}

.nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.15rem 1.1rem;
  font-size: 12px;
  font-weight: 400;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  opacity: 0.8;
  border: 0;
  white-space: nowrap;
  transition: opacity 0.2s var(--ease);
}

.nav a:hover,
.nav a[aria-current="page"] {
  opacity: 1;
  text-decoration: none;
  color: var(--text);
}

/* 始终展示导航，不再使用折叠菜单 */
.nav-toggle {
  display: none !important;
}

@media (max-width: 760px) {
  .site-header {
    height: auto;
    min-height: var(--nav-h);
  }

  .header-inner {
    flex-wrap: nowrap;
    gap: 0.75rem;
  }

  .nav {
    display: flex;
    flex: 1;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
    row-gap: 0.35rem;
    padding: 0.35rem 0;
  }

  .nav a {
    font-size: 11px;
  }
}

/* —— Type —— */

.kicker {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--text-dim);
  margin: 0 0 0.5rem;
  font-family: var(--font);
}

h1,
h2,
h3 {
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin: 0 0 0.6rem;
}

h1 {
  font-size: clamp(40px, 8vw, 56px);
  font-weight: 700;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(28px, 5vw, 40px);
}

h3 {
  font-size: 21px;
  letter-spacing: -0.01em;
}

.lead {
  color: var(--text-dim);
  font-size: 19px;
  line-height: 1.42;
  font-weight: 400;
  letter-spacing: -0.01em;
  max-width: 28em;
  margin: 0 auto 1.25rem;
}

.meta {
  font-size: 12px;
  color: var(--text-dim);
  font-family: var(--font);
  letter-spacing: 0;
}

/* —— Hero (Apple unit) —— */

.hero {
  padding: 0;
  text-align: center;
}

.hero-stage {
  background: var(--bg);
  border: 0;
  box-shadow: none;
  padding: clamp(3.5rem, 10vw, 5.5rem) var(--pad) clamp(2.5rem, 6vw, 4rem);
  overflow: visible;
  animation: fadeUp 0.8s var(--ease) both;
}

.hero-home .hero-stage {
  padding: clamp(2rem, 5vw, 3rem) var(--pad) clamp(1.5rem, 4vw, 2.25rem);
}

.hero-home h1 {
  font-size: clamp(40px, 7vw, 56px);
}

.hero-home .lead {
  font-size: 17px;
  margin-bottom: 0.85rem;
}

.section-projects {
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
}

.draw-grid-home {
  max-width: 1200px;
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 700px) {
  .draw-grid-home {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1100px) {
  .draw-grid-home {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }

  .draw-grid-home .draw-body h3 {
    font-size: 17px;
  }

  .draw-grid-home .draw-body p {
    -webkit-line-clamp: 2;
  }
}

.hero-stage::after {
  display: none;
}

.hero .lead {
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-top: 1.35rem;
}

.glitch-text {
  position: relative;
}

/* —— Buttons —— */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-decoration: none;
  padding: 0.7rem 1.35rem;
  border: 0;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    opacity 0.2s var(--ease);
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: none;
  opacity: 0.85;
}

.btn-primary {
  background: var(--blue);
  color: #ffffff;
  box-shadow: none;
}

.btn-primary:hover {
  background: var(--blue-hover);
  color: #ffffff;
  border-color: transparent;
}

.btn-ghost {
  background: transparent;
  color: var(--text-link);
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}

.btn-ghost::after {
  content: " ›";
  font-weight: 500;
}

.btn-ghost:hover {
  background: transparent;
  color: var(--text-link);
  text-decoration: underline;
  box-shadow: none;
}

.btn-orange {
  background: transparent;
  border: 0;
  color: var(--text-link);
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}

.btn-orange::after {
  content: " ›";
}

.btn-orange:hover {
  background: transparent;
  color: var(--text-link);
  text-decoration: underline;
  box-shadow: none;
}

.btn[aria-disabled="true"] {
  opacity: 0.4;
  pointer-events: none;
}

/* —— Units / sections —— */

.section {
  margin: 0;
  padding: clamp(2.5rem, 6vw, 4rem) var(--pad);
  text-align: center;
  animation: fadeUp 0.7s var(--ease) both;
}

.section:nth-of-type(even) {
  background: var(--bg-elevated);
}

.section-head {
  display: block;
  margin-bottom: 1.5rem;
  text-align: center;
}

.section-head .meta {
  display: block;
  margin-top: 0.35rem;
}

.section > .lead,
.section-head + .lead {
  margin-left: auto;
  margin-right: auto;
}

.page-wrap {
  padding-top: 0.5rem;
  padding-bottom: 3rem;
}

.page-wrap .hero,
.page-wrap .section {
  text-align: left;
  padding-left: 0;
  padding-right: 0;
}

.page-wrap .hero-stage {
  text-align: left;
  padding: 2.75rem 0 1.5rem;
  background: transparent;
}

.page-wrap .hero .lead,
.page-wrap .section .lead {
  margin-left: 0;
}

.page-wrap .hero-actions {
  justify-content: flex-start;
}

.page-wrap .section:nth-of-type(even) {
  background: transparent;
}

.card {
  background: var(--bg);
  border: 0;
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: none;
  text-align: left;
  transition: transform 0.25s var(--ease);
}

.page-wrap .card {
  background: var(--bg);
}

.card:hover {
  border-color: transparent;
  box-shadow: none;
}

.card-static:hover {
  transform: none;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 12px;
  text-align: left;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .grid-2,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* —— Stats —— */

.stat-card {
  text-align: center;
  padding: 1.75rem 1rem;
  background: var(--bg-elevated);
  border: 0;
  border-radius: var(--radius);
  box-shadow: none;
}

.section .stat-card {
  background: #ffffff;
}

.section:nth-of-type(even) .stat-card {
  background: var(--bg);
}

.stat-card .num {
  font-family: var(--font);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.1;
  text-shadow: none;
}

.stat-card .label {
  margin-top: 0.45rem;
  font-size: 14px;
  color: var(--text-dim);
}

/* —— Drawing cards —— */

.draw-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  text-align: left;
  max-width: 1200px;
  margin: 0 auto;
}

.draw-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #ffffff;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: none;
  transition: transform 0.3s var(--ease);
}

.section:nth-of-type(even) .draw-card {
  background: var(--bg);
}

.draw-card:hover {
  border: 0;
  box-shadow: none;
  transform: scale(1.01);
  color: inherit;
  text-decoration: none;
}

.draw-preview {
  aspect-ratio: 16 / 10;
  background: linear-gradient(180deg, #e8e8ed 0%, #f5f5f7 100%);
  border-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  text-transform: uppercase;
  overflow: hidden;
}

.draw-preview.has-image {
  background: #f5f5f7;
}

.draw-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.part-hero-image {
  margin: 1.25rem 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
}

.part-hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.draw-body {
  padding: 1.25rem 1.35rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.draw-body h3 {
  margin-bottom: 0.4rem;
  font-size: 21px;
}

.draw-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.42859;
  color: var(--text-dim);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.draw-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  margin-top: 0.9rem;
  font-family: var(--font);
  font-size: 12px;
  color: var(--text-dim);
}

.status {
  display: inline-block;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  padding: 0.15rem 0.55rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--line-soft);
  color: var(--text);
}

.status-open {
  background: #e4f5e7;
  color: var(--ok);
}

.status-wip {
  background: #fff2e8;
  color: var(--warn);
}

.status-queue {
  background: var(--line-soft);
  color: var(--text-dim);
}

/* —— Flow —— */

.flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align: left;
  max-width: 980px;
  margin: 0 auto;
}

@media (max-width: 700px) {
  .flow {
    grid-template-columns: 1fr;
  }
}

.flow-step {
  background: #ffffff;
  border: 0;
  border-left: 0;
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  box-shadow: none;
}

.section:nth-of-type(even) .flow-step {
  background: var(--bg);
}

.flow-step .step-num {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

.flow-step h3 {
  margin-bottom: 0.4rem;
}

.flow-step .lead {
  font-size: 14px;
  margin: 0;
  max-width: none;
}

/* —— Donate / legal —— */

.alloc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 560px) {
  .alloc-grid {
    grid-template-columns: 1fr;
  }
}

.alloc-cell {
  text-align: center;
  padding: 1.75rem 1rem;
  background: #ffffff;
  border: 0;
  border-radius: var(--radius);
  box-shadow: none;
}

.section:nth-of-type(even) .alloc-cell,
.page-wrap .alloc-cell {
  background: var(--bg);
}

.alloc-cell .pct {
  font-family: var(--font);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  text-shadow: none;
  line-height: 1;
}

.alloc-cell .label {
  margin-top: 0.55rem;
  font-size: 14px;
  color: var(--text-dim);
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 640px;
  margin: 0 auto;
}

@media (max-width: 560px) {
  .qr-grid {
    grid-template-columns: 1fr;
  }
}

.qr-box {
  text-align: center;
  padding: 1.75rem 1.25rem;
  border: 0;
  border-radius: var(--radius);
  background: #ffffff;
}

.page-wrap .qr-box {
  background: var(--bg);
}

.qr-placeholder {
  width: min(180px, 100%);
  aspect-ratio: 1;
  margin: 0.75rem auto;
  border: 0;
  border-radius: 12px;
  background: var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0;
}

.qr-box img {
  width: min(180px, 100%);
  margin: 0.75rem auto;
  border: 0;
  border-radius: 12px;
}

.legal-banner {
  border: 0;
  background: var(--bg);
  color: var(--text);
  padding: 1.15rem 1.25rem;
  font-size: 14px;
  border-radius: var(--radius);
  margin: 1.25rem auto;
  max-width: 640px;
  text-align: left;
}

.page-wrap .legal-banner {
  margin-left: 0;
  background: var(--bg);
}

.legal-banner strong {
  color: var(--text);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  display: block;
  margin-bottom: 0.35rem;
  text-transform: none;
}

.disclaimer {
  border-left: 0;
  padding: 1.1rem 1.2rem;
  background: var(--bg);
  font-size: 14px;
  color: var(--text-dim);
  margin-top: 1rem;
  border-radius: var(--radius);
  text-align: left;
}

.disclaimer strong {
  display: block;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
  margin-bottom: 0.35rem;
}

/* —— Tables —— */

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 0.75rem 0.4rem;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}

.data-table th {
  font-family: var(--font);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-dim);
  font-weight: 600;
}

.data-table td.num {
  font-family: var(--font);
  text-align: right;
  white-space: nowrap;
}

.hours-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  font-weight: 600;
  color: var(--text);
  font-size: 21px;
  letter-spacing: -0.01em;
}

.hours-total span {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0;
}

/* —— FAQ / Form —— */

.faq-item {
  border-bottom: 1px solid var(--line-soft);
  padding: 1rem 0;
  text-align: left;
  max-width: 680px;
  margin: 0 auto;
}

.page-wrap .faq-item {
  margin: 0;
  max-width: none;
}

.faq-item:first-child {
  border-top: 1px solid var(--line-soft);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  font-size: 17px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: "+";
  font-family: var(--font);
  color: var(--text-dim);
  margin-right: 0.55rem;
  font-weight: 400;
}

.faq-item[open] summary::before {
  content: "−";
}

.faq-item p {
  margin: 0.55rem 0 0.25rem 1.2rem;
  color: var(--text-dim);
  font-size: 14px;
}

.form-grid {
  display: grid;
  gap: 1rem;
  text-align: left;
}

.form-grid label {
  display: grid;
  gap: 0.4rem;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--text-dim);
  text-transform: none;
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  font-family: var(--font);
  font-size: 17px;
  color: var(--text);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  letter-spacing: -0.01em;
}

.form-grid input:focus,
.form-grid textarea:focus,
.form-grid select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.2);
  background: #ffffff;
}

.form-grid textarea {
  min-height: 120px;
  resize: vertical;
}

.donor-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 480px;
  text-align: left;
}

.page-wrap .donor-list {
  margin: 0;
  max-width: none;
}

.donor-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
}

.donor-list .amount {
  font-family: var(--font);
  font-weight: 600;
  color: var(--text);
}

/* —— Footer —— */

.site-footer {
  margin-top: 0;
  padding: 1.5rem var(--pad) 2.5rem;
  border-top: 1px solid var(--line-soft);
  background: var(--bg);
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-dim);
  max-width: none;
}

.site > .site-footer {
  max-width: none;
  padding-left: max(var(--pad), calc((100% - var(--max)) / 2));
  padding-right: max(var(--pad), calc((100% - var(--max)) / 2));
}

.site-footer a {
  color: var(--text-dim);
}

.site-footer a:hover {
  color: var(--text);
  text-decoration: underline;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin-bottom: 1rem;
  font-family: var(--font);
  font-size: 12px;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line-soft);
}

.footer-legal {
  font-size: 12px;
  line-height: 1.5;
  max-width: 52em;
}

.easter {
  margin-top: 1.25rem;
  font-family: var(--font);
  font-size: 11px;
  color: #d2d2d7;
  letter-spacing: 0.04em;
  text-transform: none;
  user-select: none;
}

.easter:hover {
  color: var(--text-dim);
}

/* —— Production projects —— */

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.project-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.page-wrap .project-card {
  background: var(--bg);
}

.project-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
  color: inherit;
  text-decoration: none;
}

.project-cover {
  aspect-ratio: 16 / 10;
  background: linear-gradient(180deg, #e8e8ed 0%, #f5f5f7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  overflow: hidden;
}

.project-cover.has-image {
  background: #f5f5f7;
}

.project-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-body {
  padding: 1.2rem 1.3rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.65rem;
}

.project-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
}

.project-tag {
  margin: 0 0 0.2rem;
  font-size: 12px;
  color: var(--text-dim);
}

.project-body h3 {
  margin: 0;
  font-size: 21px;
}

.project-body > p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
  font-size: 12px;
  color: var(--text-dim);
}

.progress {
  height: 6px;
  border-radius: 999px;
  background: var(--line-soft);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
  transition: width 0.4s var(--ease);
}

.fund-panel {
  margin-top: 1.5rem;
  padding: 1.25rem 1.35rem;
  background: var(--bg);
  border-radius: var(--radius);
  text-align: left;
  max-width: 640px;
}

.fund-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.fund-raised {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.fund-unit {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dim);
  margin-left: 0.15rem;
}

.scheme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.scheme-card {
  background: #ffffff;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.page-wrap .scheme-card {
  background: var(--bg);
}

.scheme-card.is-voted {
  outline: 2px solid var(--blue);
  outline-offset: -2px;
}

.scheme-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f5f5f7;
}

.scheme-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scheme-body {
  padding: 1.1rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.scheme-head {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: baseline;
}

.scheme-body h3 {
  margin: 0;
  font-size: 18px;
}

.scheme-votes {
  font-size: 12px;
  color: var(--text-dim);
  white-space: nowrap;
}

.scheme-body > p {
  margin: 0;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.45;
  flex: 1;
}

.scheme-vote-btn {
  margin-top: 0.25rem;
  width: 100%;
}

.scheme-vote-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* —— Motion —— */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal,
.reveal-d1,
.reveal-d2 {
  animation: fadeUp 0.7s var(--ease) both;
}

.reveal-d1 {
  animation-delay: 0.08s;
}

.reveal-d2 {
  animation-delay: 0.16s;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
