:root {
  --bg: #090f2e;
  --bg-soft: #10184a;
  --panel: rgba(14, 22, 68, 0.82);
  --panel-soft: rgba(255, 255, 255, 0.08);
  --text: #f7f8ff;
  --muted: #c7cef8;
  --pink: #ff4eb6;
  --cyan: #45f3ee;
  --yellow: #ffe86c;
  --green: #4af96f;
  --purple: #8e63ff;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
  --radius: 26px;
  --radius-small: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 78, 182, 0.25), transparent 30%),
    radial-gradient(circle at bottom right, rgba(69, 243, 238, 0.18), transparent 35%),
    linear-gradient(180deg, #07102f 0%, #0d1641 42%, #081130 100%);
  color: var(--text);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; }
.section { padding: 5.5rem 0; }
.section-dark { background: rgba(3, 8, 24, 0.38); }
.section-soft { background: rgba(255, 255, 255, 0.04); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(7, 12, 36, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: 'Baloo 2', cursive;
  font-size: 1.6rem;
  font-weight: 700;
}
.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}
.site-nav {
  display: flex;
  gap: 1.15rem;
  color: var(--muted);
  font-weight: 600;
}
.site-nav a:hover,
.site-nav a:focus-visible { color: var(--text); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink), #ff7c69);
  color: white;
  font-weight: 800;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, opacity 0.2s ease;
  border: 0;
}
.button:hover,
.button:focus-visible { transform: translateY(-2px); opacity: 0.96; }
.button-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.button-ghost {
  background: rgba(255, 255, 255, 0.04);
}
.button-small { padding: 0.7rem 1.05rem; }
.button-inline { padding: 0.8rem 1.05rem; width: 100%; }

.hero { padding: 2rem 0 4rem; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.75rem;
  align-items: start;
}
.eyebrow {
  margin: 0 0 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--cyan);
}
.hero h1,
.section-heading h2,
.why-panel h2,
.donate-panel h2,
.hero-art h2,
.story-panel h2 {
  margin: 0;
  font-family: 'Baloo 2', cursive;
  line-height: 0.95;
}
.hero h1 { font-size: clamp(2.8rem, 6vw, 5rem); max-width: 11ch; }
.lead {
  font-size: 1.08rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 60ch;
  margin: 1rem 0 1.5rem;
}
.hero-actions,
.donate-actions,
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.hero-actions { margin-bottom: 0.75rem; }
.trust-inline {
  margin: 0 0 1.4rem;
  color: var(--yellow);
  font-weight: 700;
}
.trust-inline.strong { margin: 1rem 0 0; }
.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.story-panel {
  margin-top: 1rem;
  padding: 1.2rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
  align-items: center;
}
.story-kicker,
.story-label {
  display: inline-block;
  color: var(--cyan);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.story-panel h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}
.story-panel p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}
.story-stats {
  display: grid;
  gap: 0.85rem;
}
.story-stats div,
.donate-mini-card {
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.story-stats strong,
.donate-mini-card strong {
  display: block;
  margin-top: 0.4rem;
  font-size: 1.45rem;
}
.trust-row {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.trust-row span {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.glow-card {
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(18, 28, 83, 0.92), rgba(10, 16, 50, 0.86));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}
.stat-card {
  position: relative;
  padding: 1.1rem;
  min-height: 138px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.stat-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 0.7rem;
}
.stat-icon,
.panel-icon,
.action-icon,
.inline-icon {
  width: 22px;
  height: 22px;
}
.panel-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
}
.accent-team { box-shadow: 0 20px 50px rgba(255, 78, 182, 0.18); }
.accent-goal { box-shadow: 0 20px 50px rgba(255, 232, 108, 0.16); }
.accent-member { box-shadow: 0 20px 50px rgba(142, 99, 255, 0.16); }
.accent-hospital { box-shadow: 0 20px 50px rgba(69, 243, 238, 0.16); }
.stat-label,
.stat-note,
.card-label,
.identity-line,
.progress-caption { color: var(--muted); }
.stat-value {
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  font-weight: 800;
}
.hero-art {
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
}
.hero-art-copy p { margin-top: 0; }
.hero-art h2 { font-size: clamp(2rem, 4vw, 3.3rem); }
.hero-art-copy p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}
.hero-visuals {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero-logo {
  width: min(100%, 180px);
  max-height: 110px;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.28));
}
.hero-mascot {
  width: min(100%, 150px);
  max-height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.28));
}
.hero-note {
  display: flex;
  align-items: start;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  line-height: 1.6;
}

.section-heading {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 2rem;
}
.section-heading.narrow { max-width: 70ch; }
.section-heading h2,
.why-panel h2,
.donate-panel h2 { font-size: clamp(2.3rem, 5vw, 4rem); }
.section-heading p,
.why-panel p,
.donate-panel p,
.site-footer p,
.card p,
.impact-panel p { line-height: 1.7; color: var(--muted); }

.impact-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.9fr 0.9fr;
  gap: 1rem;
}
.impact-panel { padding: 1.5rem; }
.impact-panel h3,
.site-footer h3,
.action-card h3,
.card h3 {
  margin: 0 0 0.9rem;
  font-family: 'Baloo 2', cursive;
  color: var(--text);
}
.impact-panel h3,
.action-card h3 { font-size: 1.8rem; }
.impact-topline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
}
.kicker {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.9rem;
}
.impact-big {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--yellow);
}
.meter {
  width: 100%;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin: 1.1rem 0 1.25rem;
}
.meter-bar {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--pink), var(--yellow), var(--green), var(--cyan));
  transition: width 0.6s ease;
}
.impact-row-group,
.snapshot-list,
.activity-list { display: grid; gap: 0.35rem; }
.impact-row,
.snapshot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.impact-row:first-child,
.snapshot-row:first-child { border-top: 0; }
.activity-item {
  padding: 0.95rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.activity-item:first-child { border-top: 0; }
.activity-item p { margin: 0.75rem 0 0; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.card {
  padding: 1.25rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20, 28, 88, 0.9), rgba(10, 16, 50, 0.86));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: var(--shadow);
}
.card h3 { font-size: 2rem; line-height: 1; }
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.card-top.compact { justify-content: flex-start; flex-wrap: wrap; }
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(69, 243, 238, 0.12);
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 800;
}
.participant-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.85rem;
}
.avatar,

.avatar {
  overflow: hidden;
  position: relative;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.avatar span { display: none; }
.avatar.avatar-fallback span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}
.avatar.avatar-fallback img { display: none; }

.hospital-mark {
  width: 112px;
  height: 72px;
  margin-bottom: 1rem;
  border-radius: 18px;
  display: grid;
  place-items: center;
  padding: 0.75rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(9, 15, 46, 0.06);
}
.hospital-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.hospital-mark span {
  display: none;
  color: #0b1747;
  font-weight: 800;
  font-size: 1rem;
  text-align: center;
  line-height: 1.1;
}
.hospital-mark.hospital-mark-fallback {
  background: linear-gradient(135deg, rgba(74, 249, 111, 0.18), rgba(69, 243, 238, 0.18));
}
.hospital-mark.hospital-mark-fallback span {
  display: block;
}
.hospital-mark.hospital-mark-fallback img {
  display: none;
}
.identity-line { margin: 0; }

.hospital-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hospital-card h3 {
  margin-top: 0;
  max-width: 24ch;
}
.hospital-card .text-link {
  word-break: break-word;
}
.supporting-line {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted);
  margin: 1rem 0;
}
.card-meta {
  display: grid;
  gap: 0.45rem;
  margin: 1rem 0;
}
.card-meta.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem 1rem;
}
.card-meta strong,
.snapshot-row strong,
.impact-row strong { color: var(--text); }
.mini-progress {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-top: 0.8rem;
}
.mini-progress > span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--purple), var(--pink), var(--yellow));
}
.progress-caption { margin-top: 0.6rem; font-size: 0.95rem; }
.text-link {
  color: var(--yellow);
  font-weight: 700;
}

.why-panel,
.donate-panel {
  padding: 1.75rem;
  display: grid;
  grid-template-columns: 1fr 1fr 0.9fr;
  gap: 1.5rem;
  align-items: start;
}
.why-panel {
  grid-template-columns: 0.95fr 1.05fr;
}
.action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.card-grid,
.action-grid,
.hero-stat-grid,
.impact-layout {
  align-items: stretch;
}
.card,
.action-card,
.impact-panel,
.stat-card,
.donate-mini-card,
.causey-status-card,
.causey-mini {
  min-width: 0;
}
.card {
  height: 100%;
}
.causey-section {
  padding-top: 0;
}
.causey-guide {
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 220px minmax(0, 1.1fr) minmax(220px, 0.8fr);
  gap: 1.35rem;
  align-items: center;
}
.causey-guide-media {
  display: grid;
  place-items: center;
}
.causey-guide-image {
  width: min(100%, 180px);
  max-height: 220px;
  object-fit: contain;
}
.causey-guide-copy h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.7rem;
}
.causey-guide-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.causey-point-list {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.causey-point-list span {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text);
  font-weight: 600;
}
.causey-guide-status {
  display: grid;
  gap: 0.9rem;
}
.causey-status-card,
.causey-mini {
  padding: 1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.causey-status-card strong,
.causey-mini strong {
  display: block;
  margin-top: 0.45rem;
  font-size: 1.1rem;
  line-height: 1.35;
}
.causey-mini {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.9rem;
  align-items: center;
}
.causey-mini-image {
  width: 72px;
  height: 72px;
  object-fit: contain;
}
.participant-card,
.hospital-card {
  overflow: hidden;
}
.participant-head {
  align-items: center;
}
.avatar {
  flex: 0 0 auto;
}
.hospital-mark {
  flex: 0 0 auto;
  align-self: flex-start;
}
.hospital-card p,
.participant-card p,
.card-meta span,
.identity-line,
.progress-caption {
  overflow-wrap: anywhere;
}
.action-card { padding: 1.3rem; }
.action-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 0.8rem;
}
.donate-actions {
  align-content: start;
}
.donate-side {
  display: grid;
  gap: 0.85rem;
}

.site-footer {
  padding: 3rem 0;
  background: rgba(3, 8, 24, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.8fr;
  gap: 1.5rem;
}
.footer-grid a {
  display: block;
  margin: 0.45rem 0;
  color: var(--muted);
}
.footer-logo {
  width: 88px;
  margin-bottom: 0.9rem;
}

@media (max-width: 1100px) {
  .hero-grid,
  .impact-layout,
  .why-panel,
  .donate-panel,
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
  .impact-layout { gap: 1rem; }
}

@media (max-width: 980px) {
  .site-nav { display: none; }
  .hero-stat-grid,
  .card-grid,
  .action-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-panel { grid-template-columns: 1fr; }
  .hero-logo { width: min(100%, 210px); }
  .hero-mascot { width: min(100%, 120px); }
}

@media (max-width: 640px) {
  .section,
  .hero { padding: 4rem 0; }
  .brand span { display: none; }
  .hero-stat-grid,
  .card-grid,
  .action-grid,
  .card-meta.two-col { grid-template-columns: 1fr; }
  .button,
  .button-secondary,
  .button-inline { width: 100%; }
  .hero-actions,
  .donate-actions,
  .link-row { flex-direction: column; }
  .site-header .button-small {
    width: auto;
    padding: 0.7rem 0.95rem;
  }
  .hero-art,
  .story-panel { padding: 1rem; }
  .hero-visuals { gap: 0.6rem; }
  .hero-logo { width: min(62vw, 180px); }
  .hero-mascot { width: min(30vw, 92px); }
  .card h3 { font-size: 1.75rem; }
}

@media (max-width: 420px) {
  .nav-wrap {
    min-height: 72px;
    gap: 0.75rem;
  }
  .brand img {
    width: 46px;
    height: 46px;
  }
  .hero {
    padding: 1.4rem 0 3rem;
  }
  .hero h1 {
    font-size: clamp(2.15rem, 11vw, 2.8rem);
  }
  .lead { font-size: 1rem; }
  .stat-card {
    min-height: 118px;
    padding: 1rem;
  }
  .participant-head {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}


/* v8 balance refinements */
.brand img { width: 48px; height: 48px; }
.hero-logo { width: min(100%, 180px); max-height: 110px; object-fit: contain; margin-inline: auto; }
.hero-mascot { width: min(100%, 108px); max-height: 108px; object-fit: contain; margin-inline: auto; }
.hero-visuals { align-items: center; justify-items: center; gap: 0.9rem; }
.hero-art { overflow: hidden; }
.avatar { width: 76px; height: 76px; font-size: 1.25rem; }
.hospital-mark { width: 112px; height: 72px; }
.panel-icon, .stat-icon, .action-icon, .inline-icon { width: 20px; height: 20px; }
@media (max-width: 900px) { .hero-logo { width: min(100%, 150px); max-height: 96px; } .hero-mascot { width: min(100%, 92px); max-height: 92px; } }
@media (max-width: 640px) { .brand img { width: 40px; height: 40px; } .hero-logo { width: min(58vw, 132px); max-height: 82px; } .hero-mascot { width: min(28vw, 78px); max-height: 78px; } .avatar { width: 68px; height: 68px; } .hospital-mark { width: 96px; height: 64px; } }

/* v11 Causey and responsive refinements */
.hero-art-causey {
  overflow: hidden;
}
@media (max-width: 1100px) {
  .causey-guide,
  .donate-panel {
    grid-template-columns: 1fr;
  }
  .causey-guide-media {
    order: -1;
  }
  .causey-guide-image {
    width: min(100%, 160px);
    max-height: 180px;
  }
}
@media (max-width: 980px) {
  .hero-logo {
    width: min(100%, 150px);
    max-height: 90px;
  }
  .hero-mascot {
    width: min(100%, 118px);
    max-height: 118px;
  }
}
@media (max-width: 640px) {
  .causey-guide,
  .causey-mini {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .causey-guide {
    padding: 1rem;
  }
  .causey-guide-image {
    width: min(48vw, 138px);
    max-height: 148px;
  }
  .causey-mini-image {
    width: 64px;
    height: 64px;
  }
  .hero-visuals {
    justify-content: center;
  }
  .hero-logo {
    width: min(58vw, 126px);
    max-height: 80px;
  }
  .hero-mascot {
    width: min(34vw, 92px);
    max-height: 92px;
  }
  .hospital-mark {
    width: 100%;
    max-width: 120px;
  }
}
@media (max-width: 420px) {
  .causey-point-list span {
    width: 100%;
  }
}


.hero-visuals-combo {
  min-height: 240px;
}
.hero-combo {
  width: min(100%, 360px);
  max-height: 280px;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(0,0,0,0.28));
}
.causey-guide-image-combo {
  width: min(100%, 300px);
  max-height: 260px;
  object-fit: contain;
}
.causey-mini-image-combo {
  width: min(100%, 150px);
  max-height: 110px;
  object-fit: contain;
}
.footer-causey {
  width: min(100%, 190px);
  max-height: 120px;
  object-fit: contain;
}
@media (max-width: 1100px) {
  .hero-combo {
    width: min(100%, 320px);
    max-height: 240px;
  }
  .causey-guide-image-combo {
    width: min(100%, 260px);
    max-height: 220px;
  }
}
@media (max-width: 980px) {
  .hero-visuals-combo {
    min-height: 0;
  }
  .hero-combo {
    width: min(72vw, 300px);
    max-height: 220px;
  }
}
@media (max-width: 640px) {
  .hero-combo {
    width: min(82vw, 260px);
    max-height: 180px;
  }
  .causey-guide-image-combo {
    width: min(78vw, 240px);
    max-height: 180px;
  }
  .causey-mini-image-combo {
    width: min(56vw, 140px);
    max-height: 96px;
  }
  .footer-causey {
    width: min(60vw, 150px);
    max-height: 96px;
  }
}
@media (max-width: 420px) {
  .hero-combo {
    width: min(84vw, 220px);
    max-height: 150px;
  }
  .causey-guide-image-combo {
    width: min(74vw, 200px);
    max-height: 150px;
  }
}


/* v13 hospital logo refinements */
.hospital-card { min-height: 100%; }
.hospital-mark {
  width: 100%;
  max-width: 196px;
  height: clamp(78px, 10vw, 112px);
  padding: 0.85rem 1rem;
  align-self: center;
  margin-inline: auto;
}
.hospital-mark img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.hospital-card h3,
.hospital-card .card-top,
.hospital-card p,
.hospital-card .card-meta,
.hospital-card .link-row { width: 100%; }
@media (max-width: 980px) {
  .hospital-mark { max-width: 180px; height: 96px; }
}
@media (max-width: 640px) {
  .hospital-mark { max-width: 160px; height: 88px; padding: 0.75rem; }
}
@media (max-width: 420px) {
  .hospital-mark { max-width: 148px; height: 82px; }
}


.hero-mini-points,
.mission-strip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.hero-mini-points {
  margin: 0 0 1.2rem;
}
.hero-mini-points span,
.mission-card,
.sticky-join-button {
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-mini-points span {
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 700;
}
.mission-strip {
  padding-top: 0;
}
.mission-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.mission-card {
  padding: 1.25rem;
}
.mission-card h3 {
  margin: 0.4rem 0 0.7rem;
  font-family: 'Baloo 2', cursive;
  font-size: 1.7rem;
}
.mission-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.sticky-join-button {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 45;
  padding: 0.95rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: #081130;
  font-weight: 900;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}
.join-hero {
  min-height: calc(100vh - 82px);
  display: flex;
  align-items: center;
}
.join-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
}
.join-cta-panel {
  grid-template-columns: 0.9fr 1fr 0.9fr;
}
.join-page-actions {
  align-content: center;
}
@media (max-width: 1100px) {
  .mission-strip-grid,
  .join-grid,
  .join-cta-panel {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .sticky-join-button {
    left: 1rem;
    right: 1rem;
    bottom: 0.85rem;
    text-align: center;
  }
}


.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.about-card {
  padding: 1.6rem;
  height: 100%;
}

.about-card h3 {
  margin: 0 0 0.85rem;
  font-family: 'Baloo 2', cursive;
  font-size: 1.8rem;
  line-height: 1;
}

.about-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.founder-card {
  background: linear-gradient(180deg, rgba(14, 22, 68, 0.92), rgba(255, 255, 255, 0.06));
}

.about-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}


.about-founded {
  margin: 0.35rem 0 1rem;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.6;
}

.featured-spotlight {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem;
}

.featured-spotlight-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 22px;
}

.featured-spotlight-copy h3 {
  margin: 0.75rem 0 0.85rem;
  font-family: 'Baloo 2', cursive;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.95;
}

.featured-spotlight-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.featured-meta {
  margin: 1rem 0 1.15rem;
}

@media (max-width: 900px) {
  .featured-spotlight {
    grid-template-columns: 1fr;
  }
}


.contact-strip .text-link,
.join-community-strip .text-link {
  word-break: break-word;
}

@media (max-width: 980px) {
  .site-nav a[href="https://discord.gg/PHqMRNvNd8"] {
    display: none;
  }
}


/* belonging and momentum refinements */
.hero-copy { position: relative; }
.hero-copy .lead { max-width: 58ch; }
.hero h1 { max-width: 12ch; text-wrap: balance; }
.hero-copy .button { min-width: 210px; }
.hero-copy .button-secondary { backdrop-filter: blur(8px); }
.live-note {
  margin: 1rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(69, 243, 238, 0.08);
  border: 1px solid rgba(69, 243, 238, 0.18);
  color: var(--text);
  font-weight: 700;
  line-height: 1.6;
  box-shadow: 0 14px 32px rgba(69, 243, 238, 0.08);
}
.hero-stat-grid .stat-card {
  background: linear-gradient(180deg, rgba(22, 33, 96, 0.96), rgba(10, 16, 50, 0.92));
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.hero-stat-grid .stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.16);
}
.hero-stat-grid .stat-value {
  text-shadow: 0 0 18px rgba(255,255,255,0.08);
}
.story-panel {
  background: linear-gradient(180deg, rgba(20, 31, 88, 0.98), rgba(10, 16, 50, 0.94));
}
.hero-mini-points span:first-child,
.hero-mini-points span:last-child {
  box-shadow: 0 10px 24px rgba(0,0,0,0.14);
}
.section-heading.narrow h2,
.featured-spotlight-copy h3,
.donate-copy h2 {
  text-wrap: balance;
}
.action-card,
.about-card,
.impact-panel,
.featured-spotlight {
  background: linear-gradient(180deg, rgba(20, 28, 88, 0.92), rgba(10, 16, 50, 0.88));
}
.sticky-join-button {
  letter-spacing: 0.01em;
}
@media (max-width: 640px) {
  .hero-copy .button { min-width: 0; }
  .live-note { padding: 0.85rem 0.95rem; }
}


/* v14 professional layout cleanup */
.section {
  padding: 5rem 0;
}

.section + .section {
  margin-top: 0;
}

.section-heading {
  gap: 0.8rem;
  margin-bottom: 2.25rem;
}

.section-heading p,
.about-card p,
.action-card p,
.card p,
.featured-spotlight-copy p,
.founder-spotlight p,
.join-proof-grid span {
  line-height: 1.72;
}

.section-heading h2,
.hero-art h2,
.story-panel h2,
.featured-spotlight-copy h3,
.founder-spotlight h3,
.merch-banner h3 {
  text-wrap: balance;
}

.card-grid,
.about-grid,
.action-grid {
  align-items: stretch;
}

.card,
.about-card,
.action-card,
.impact-panel,
.participant-card,
.featured-spotlight,
.merch-banner,
.founder-spotlight,
.join-proof {
  height: 100%;
}

.card,
.about-card,
.action-card,
.participant-card,
.impact-panel {
  display: flex;
  flex-direction: column;
}

.card h3,
.about-card h3,
.action-card h3 {
  margin-bottom: 0.85rem;
}

.about-grid,
.action-grid,
.card-grid {
  gap: 1.25rem;
}

.founder-spotlight,
.join-proof,
.merch-banner {
  padding: 1.6rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20, 28, 88, 0.92), rgba(10, 16, 50, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: var(--shadow);
}

.founder-spotlight {
  margin-top: 1.5rem;
}

.founder-spotlight h3,
.join-proof h3,
.merch-banner h3 {
  margin: 0.45rem 0 0.9rem;
  font-family: 'Baloo 2', cursive;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 0.98;
}

.founder-close {
  margin-top: 1rem;
}

.about-bridge {
  margin-top: -0.25rem;
}

.join-proof {
  margin: 0 0 1.5rem;
}

.join-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.join-proof-grid span {
  display: block;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.merch-banner-copy {
  max-width: 60ch;
}

.merch-banner .hero-actions {
  margin-top: 1rem;
  margin-bottom: 0;
}

.featured-spotlight {
  gap: 1.75rem;
  align-items: stretch;
}

.featured-spotlight-media {
  display: flex;
  align-items: stretch;
}

.featured-spotlight-media img,
.featured-spotlight-media .hospital-mark {
  width: 100%;
  height: 100%;
  min-height: 320px;
}

.featured-spotlight-media img {
  object-fit: cover;
}

.featured-spotlight-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-meta {
  margin-bottom: 1.25rem;
}

.impact-layout {
  gap: 1.25rem;
}

.impact-panel {
  padding: 1.45rem;
}

.impact-row-group,
.snapshot-list,
.activity-list {
  margin-top: auto;
}

.participant-card {
  padding: 1.35rem;
}

.participant-card > p {
  margin: 0.2rem 0 0.9rem;
}

.participant-head {
  align-items: start;
}

.participant-card .card-meta {
  margin: 0.9rem 0 0.95rem;
}

.participant-card .mini-progress {
  margin-top: auto;
}

.participant-card .progress-caption {
  margin-bottom: 0.95rem;
}

.participant-card .link-row {
  margin-top: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
}

.participant-card .button-inline {
  width: 100%;
}

.participant-trust-note {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.hospital-link-button {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text);
  box-shadow: none;
}

.hospital-link-button:hover,
.hospital-link-button:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.action-card .text-link,
.hospital-card .text-link {
  margin-top: auto;
}

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

@media (max-width: 980px) {
  .section {
    padding: 4.5rem 0;
  }

  .featured-spotlight-media img,
  .featured-spotlight-media .hospital-mark {
    min-height: 260px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 4rem 0;
  }

  .section-heading {
    margin-bottom: 1.75rem;
  }

  .join-proof-grid {
    grid-template-columns: 1fr;
  }

  .featured-spotlight {
    padding: 1.2rem;
  }

  .featured-spotlight-media img,
  .featured-spotlight-media .hospital-mark {
    min-height: 220px;
  }

  .participant-card,
  .about-card,
  .action-card,
  .impact-panel,
  .merch-banner,
  .founder-spotlight,
  .join-proof {
    padding: 1.15rem;
  }
}


.support-inline-note {
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.support-inline-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.support-card-actions {
  justify-content: flex-start;
}
