@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&display=swap");

:root {
  --bg: #f7f4f1;
  --surface: #ffffff;
  --surface-soft: #fdf8f6;
  --text: #111111;
  --muted: #4f4f4f;
  --brand: #c03221;
  --brand-strong: #98281b;
  --brand-ink: #2a0e0b;
  --line: #ead9d6;
  --radius: 16px;
  --shadow: 0 20px 38px -28px rgba(17, 17, 17, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% -10%, rgba(192, 50, 33, 0.16), transparent 34%),
    radial-gradient(circle at 95% 0%, rgba(17, 17, 17, 0.07), transparent 28%),
    linear-gradient(180deg, #faf5f3 0%, #f6f1ef 100%);
}

a { color: inherit; }

h1,
h2,
h3 {
  margin: 0;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  letter-spacing: -0.01em;
  color: var(--brand-ink);
}

h2 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.2;
  font-weight: 800;
}

h3 {
  font-size: clamp(1.02rem, 1.5vw, 1.24rem);
  line-height: 1.3;
  font-weight: 700;
}

p {
  line-height: 1.65;
}

.container { width: min(1160px, 93vw); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 245, 243, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(234, 217, 214, 0.75);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.34rem;
  line-height: 1;
  letter-spacing: 0.01em;
}

.brand span {
  text-transform: none;
}

.brand-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  gap: 1.1rem;
}

.site-nav a {
  text-decoration: none;
  font-weight: 700;
  color: #2f2a29;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--brand-strong);
}

.hero {
  padding: clamp(2.3rem, 6vw, 5rem) 0 2rem;
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
  align-items: center;
  gap: clamp(1rem, 4vw, 3rem);
}

.hero-copy {
  min-width: 0;
}

.hero-art {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-logo-stack {
  width: min(416px, 33.6vw);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
  transform: translateY(0);
}

.hero-logo {
  display: block;
  width: 100%;
  height: auto;
}

.hero-logo-caption {
  position: absolute;
  left: 50%;
  bottom: clamp(-0.7rem, -0.4vw, -0.25rem);
  transform: translateX(-50%);
  margin: 0;
  font-weight: 800;
  color: #090909;
  letter-spacing: 0.01em;
  text-align: center;
  line-height: 1.08;
  z-index: 2;
  background: #f7f4f1;
  padding: 0.18rem 0.85rem 0.05rem;
}

.hero-logo-line1,
.hero-logo-line2 {
  display: block;
  text-transform: uppercase;
}

.hero-logo-line1 {
  font-size: clamp(1.42rem, 2.2vw, 1.98rem);
  letter-spacing: 0.015em;
  white-space: nowrap;
}

.hero-logo-line2 {
  margin-top: 0.08rem;
  font-size: clamp(1.42rem, 2.2vw, 1.98rem);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.hero h1 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(2.1rem, 4.6vw, 3.7rem);
  line-height: 1.08;
  font-weight: 800;
  max-width: 15ch;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--brand-strong);
  font-weight: 800;
}

.lead {
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.7;
  max-width: 70ch;
}

.cta-row {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  border-radius: 999px;
  padding: 0.72rem 1.15rem;
  font-weight: 800;
  display: inline-block;
}

.btn-primary { background: var(--brand); color: #fff; }
.btn-secondary { border: 1px solid var(--line); background: #fff; }

.section { margin-top: clamp(2rem, 5vw, 4rem); }

.donation-bar {
  margin-top: 0.5rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(192, 50, 33, 0.28);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(192, 50, 33, 0.12), transparent 34%),
    linear-gradient(180deg, #fff6f3 0%, #ffffff 100%);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.donation-copy {
  min-width: 0;
}

.donation-label {
  margin: 0 0 0.28rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-strong);
}

.donation-text {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.donation-link {
  flex: 0 0 auto;
  white-space: nowrap;
}

.news-panel {
  margin-top: 1rem;
  padding: clamp(1.2rem, 2.4vw, 1.9rem);
  border: 1px solid rgba(42, 14, 11, 0.16);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(42, 14, 11, 0.06), transparent 32%),
    linear-gradient(180deg, #faf7f5 0%, #ffffff 100%);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.45fr);
  gap: clamp(1rem, 2.6vw, 2rem);
}

.news-panel-intro {
  max-width: 18rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.news-label {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4a2b26;
}

.news-panel-intro h2 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
}

.news-intro-copy {
  margin: 0.8rem 0 1.15rem;
  color: var(--muted);
}

.news-archive-link {
  margin-top: auto;
}

.news-list {
  display: grid;
  gap: 0.8rem;
}

.news-item {
  padding: 0.95rem 1rem 1rem;
  border: 1px solid rgba(234, 217, 214, 0.88);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
}

.news-item-meta {
  margin: 0 0 0.42rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-strong);
}

.news-item h3 {
  margin: 0 0 0.38rem;
  font-size: 1.02rem;
}

.news-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.news-item-link {
  display: inline-block;
  margin-top: 0.72rem;
  font-weight: 800;
  color: var(--brand-strong);
  text-decoration: none;
}

.news-item-link:hover {
  text-decoration: underline;
}

.team-page .hero {
  padding-bottom: 0.4rem;
}

.team-page .section:first-of-type {
  margin-top: clamp(1rem, 2.2vw, 1.6rem);
}

.about-page .hero {
  padding-top: clamp(1.8rem, 4vw, 3.1rem);
  padding-bottom: 0.6rem;
}

.about-page .lead {
  max-width: 66ch;
}

.about-page .hero h1 {
  max-width: none;
  margin: 0.35rem 0 0.75rem;
}

.about-mission-panel {
  margin-top: 1rem;
  padding: clamp(1.25rem, 2.6vw, 2.2rem);
}

.about-mission-layout {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: clamp(1rem, 2.2vw, 1.6rem);
  align-items: stretch;
}

.about-mission-copy {
  min-width: 0;
}

.about-mission-copy .lead {
  margin-top: 1rem;
  margin-bottom: 0;
  max-width: 100%;
}

.about-mission-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.95rem;
}

.about-mission-btn {
  width: 100%;
  text-align: center;
  padding: 0.98rem 1.1rem;
  font-size: 1.03rem;
}

.health-literacy-panel {
  margin-top: 1.15rem;
}

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

.health-literacy-card {
  background: linear-gradient(180deg, #fff9f7 0%, #ffffff 100%);
  border: 1px solid rgba(192, 50, 33, 0.2);
  border-radius: 14px;
  padding: clamp(0.9rem, 2vw, 1.2rem);
}

.health-literacy-card h3 {
  margin: 0 0 0.45rem;
}

.health-literacy-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.panel.language-barrier-panel {
  margin-top: 1rem;
  border-color: rgba(49, 21, 122, 0.32);
  background: linear-gradient(180deg, rgba(49, 21, 122, 0.1) 0%, rgba(49, 21, 122, 0.05) 100%);
}

.panel.language-barrier-panel h2 {
  color: var(--brand-ink);
}

.language-barrier-body {
  margin-top: 0.95rem;
  max-width: none;
  display: block;
}

.language-barrier-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: clamp(1rem, 1.55vw, 1.13rem);
}

.language-barrier-body p + p { margin-top: 0.9rem; }

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.05rem;
  box-shadow: var(--shadow);
}

.card h3 { margin-top: 0.2rem; margin-bottom: 0.5rem; }
.card p { margin: 0; color: var(--muted); }

.newsletter-card {
  border-color: rgba(192, 50, 33, 0.25);
  background: linear-gradient(180deg, #fff9f7 0%, #ffffff 100%);
}

.newsletter-label {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-strong);
}

.newsletter-meta {
  margin-top: 0.6rem;
  font-size: 0.92rem;
}

.newsletter-link {
  margin-top: 0.8rem;
}

.stories-card {
  border-color: rgba(42, 14, 11, 0.22);
  background:
    radial-gradient(circle at 94% 8%, rgba(42, 14, 11, 0.08), transparent 34%),
    linear-gradient(180deg, #f9f6f4 0%, #ffffff 100%);
}

.stories-label {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4a2b26;
}

.stories-link {
  margin-top: 0.85rem;
}

.join-card {
  border-color: rgba(13, 122, 104, 0.32);
  background:
    radial-gradient(circle at 94% 8%, rgba(13, 122, 104, 0.15), transparent 34%),
    linear-gradient(180deg, #f4fbf9 0%, #ffffff 100%);
}

.join-label {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0a5d50;
}

.join-link {
  margin-top: 0.85rem;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  padding: clamp(1rem, 2.5vw, 2rem);
  box-shadow: var(--shadow);
}

.contact-page .contact-hero {
  padding-bottom: 0.8rem;
}

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

.contact-link-card {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid rgba(192, 50, 33, 0.22);
  background: linear-gradient(180deg, #fff9f7 0%, #ffffff 100%);
  border-radius: 14px;
  padding: 0.85rem 0.95rem;
  color: var(--brand-ink);
}

.contact-link-card strong {
  display: block;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.contact-link-card small {
  display: block;
  margin-top: 0.08rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(192, 50, 33, 0.1);
  color: var(--brand-strong);
  flex-shrink: 0;
}

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

.contact-join-panel {
  margin-top: 1rem;
  width: min(760px, 100%);
  margin-left: auto;
  margin-right: auto;
  border-color: rgba(192, 50, 33, 0.28);
  background:
    radial-gradient(circle at 92% 12%, rgba(192, 50, 33, 0.13), transparent 34%),
    linear-gradient(180deg, #fff7f4 0%, #ffffff 100%);
  text-align: center;
}

.contact-join-panel .lead {
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
}

.contact-join-panel .btn {
  padding: 0.88rem 1.25rem;
  font-size: 1.02rem;
}

.contact-join-panel .cta-row {
  justify-content: center;
}

.our-work-page .our-work-first-panel {
  margin-top: clamp(1rem, 2.1vw, 1.6rem) !important;
}

.our-work-inline-link {
  color: var(--brand-strong);
  font-weight: 700;
  text-decoration: none;
}

.our-work-inline-link:hover {
  text-decoration: underline;
}

/* ── Our Work: HFP topic rows ────────────────────────── */
.topic-table {
  margin-top: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px -18px rgba(17, 17, 17, 0.28);
}

.topic-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0.78rem 1.1rem;
  border-bottom: 1px solid var(--line);
}

.topic-row:last-child {
  border-bottom: none;
}

.topic-row:nth-child(odd) {
  background: var(--surface);
}

.topic-row:nth-child(even) {
  background: var(--surface-soft);
}

.topic-name {
  font-weight: 700;
  color: var(--brand-ink);
  font-size: 0.9rem;
  line-height: 1.3;
}

.topic-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
}

.lang-pill {
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-strong);
  background: rgba(192, 50, 33, 0.07);
  border: 1px solid rgba(192, 50, 33, 0.2);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.lang-pill:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

/* ── Our Work: additional materials ─────────────────── */
.add-list {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.add-list-item {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--brand-ink);
  font-size: 0.9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.62rem 0.85rem;
  transition: background 0.13s, border-color 0.13s, color 0.13s;
}

.add-list-item::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
  opacity: 0.65;
}

.add-list-item:hover {
  background: rgba(192, 50, 33, 0.05);
  border-color: rgba(192, 50, 33, 0.28);
  color: var(--brand-strong);
}

.our-work-collage-panel {
  margin-top: 1.35rem;
  background:
    radial-gradient(circle at 12% 12%, rgba(192, 50, 33, 0.08), transparent 34%),
    linear-gradient(180deg, #fffaf8 0%, #ffffff 100%);
}

.our-work-collage-panel .lead {
  max-width: 60ch;
}

.our-work-collage {
  margin-top: 1.35rem;
  columns: 3 220px;
  column-gap: 0.95rem;
}

.collage-item {
  margin: 0;
  display: inline-block;
  width: 100%;
  margin-bottom: 0.95rem;
  border-radius: 18px;
  border: 1px solid rgba(48, 24, 19, 0.08);
  box-shadow: 0 18px 38px -28px rgba(26, 16, 14, 0.42);
  background: #f7f2ef;
  overflow: hidden;
  break-inside: avoid;
  padding: 0.45rem;
}

.collage-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.22s ease;
  border-radius: 14px;
}

.collage-item:hover img {
  transform: scale(1.03);
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.person-card {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 0.9rem;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem;
  box-shadow: var(--shadow);
}

.person-card img {
  width: 116px;
  height: 116px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid #f0e1df;
}

.person-card h3 {
  margin: 0;
  font-size: 1.02rem;
  color: var(--brand-ink);
}

.person-card p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.45;
}

.section-title {
  margin: 0 0 0.85rem;
  font-size: 1.4rem;
  color: var(--brand-ink);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.story-card {
  border-radius: 18px;
}

.story-card-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 1rem;
  align-items: start;
}

.story-card-photo {
  width: 170px;
  height: 170px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.story-card h2 {
  margin: 0.35rem 0 0.65rem;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.story-card p {
  margin: 0;
  color: var(--muted);
}

.story-card .cta-row {
  margin-top: 0.95rem;
}

.story-meta {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--brand-strong);
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.quote-card {
  border-radius: 16px;
}

.quote-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.98rem;
}

.stories-stack {
  display: grid;
  gap: 1rem;
}

.story-featured {
  margin-top: 1.2rem;
}

.story-anon {
  margin-top: 1.35rem;
}

.story-full {
  border-radius: 18px;
  padding: clamp(1.1rem, 2.4vw, 1.7rem);
}

.story-full h2 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
}

.story-full p {
  margin: 0.72rem 0 0;
  color: var(--muted);
  max-width: 82ch;
  line-height: 1.78;
  font-size: 1rem;
}

.footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  padding: 1rem 0 2.2rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
}

@media (max-width: 980px) {
  .grid-3, .grid-2, .people-grid, .story-grid, .quote-grid { grid-template-columns: 1fr; }
  .contact-link-grid {
    grid-template-columns: 1fr;
  }
  .news-panel {
    grid-template-columns: 1fr;
  }
  .news-panel-intro {
    max-width: none;
  }
  .news-panel-intro h2 {
    max-width: none;
  }
  .news-list {
    grid-template-columns: 1fr;
  }
  .donation-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .about-mission-layout {
    grid-template-columns: 1fr;
  }
  .about-mission-actions {
    max-width: 360px;
  }
  .health-literacy-grid {
    grid-template-columns: 1fr;
  }
  .story-card-feature {
    grid-template-columns: 1fr;
  }
  .story-card-photo {
    width: 100%;
    max-width: 220px;
    height: auto;
    aspect-ratio: 1 / 1;
  }
  .hero-split {
    grid-template-columns: 1fr;
  }
  .hero-art {
    justify-content: flex-start;
  }
  .hero-logo-stack {
    width: min(288px, 59.2vw);
    align-items: center;
    transform: translateY(0);
  }
  .hero-logo {
    width: 100%;
    height: auto;
  }
  .our-work-collage {
    columns: 2 220px;
  }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    right: 1rem;
    top: 64px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 12px;
    padding: 0.7rem;
    min-width: 220px;
    flex-direction: column;
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .person-card { grid-template-columns: 1fr; }
  .person-card img { width: 100%; max-width: 250px; height: auto; aspect-ratio: 1 / 1; }
  .topic-row { grid-template-columns: 1fr; gap: 0.4rem; }
  .add-list { grid-template-columns: 1fr; }
  .our-work-collage {
    columns: 1;
  }
  .collage-item {
    margin-bottom: 0.8rem;
  }
}
