:root {
  --cream: #fffaf4;
  --blush: #f8dfe7;
  --lavender: #e9e0f7;
  --blue: #dfeef8;
  --sage: #dfeadd;
  --peach: #f9e4d4;
  --text: #3d3b46;
  --muted: #6c6876;
  --white: #ffffff;
  --border: rgba(61, 59, 70, 0.12);
  --accent: #8f7fb0;
  --accent-dark: #6f6190;
  --shadow: 0 16px 40px rgba(83, 73, 95, 0.10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
}

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

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 250, 244, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blush), var(--lavender));
  border: 1px solid var(--border);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  font-size: 0.96rem;
}

.main-nav a:hover { color: var(--accent-dark); }

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 14px;
  font: inherit;
}

.hero {
  padding: 90px 0 70px;
  background:
    radial-gradient(circle at 15% 20%, rgba(248,223,231,.65), transparent 30%),
    radial-gradient(circle at 85% 25%, rgba(223,238,248,.75), transparent 28%),
    radial-gradient(circle at 50% 90%, rgba(223,234,221,.70), transparent 28%),
    var(--cream);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 52px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 12px;
}

h1, h2, h3 {
  line-height: 1.15;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.7rem, 6vw, 5.4rem);
  max-width: 900px;
  letter-spacing: -0.045em;
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  letter-spacing: -0.03em;
}

h3 { font-size: 1.25rem; }

.lead {
  font-size: 1.18rem;
  max-width: 720px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px 0 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover { background: var(--accent-dark); }

.btn-secondary {
  background: var(--white);
  border-color: var(--border);
}

.hero-card {
  background: rgba(255,255,255,.72);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.hero-card .heart {
  font-size: 4rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 18px;
}

.section { padding: 88px 0; }

.soft-section {
  background: linear-gradient(135deg, rgba(233,224,247,.5), rgba(223,238,248,.45), rgba(249,228,212,.42));
}

.two-col {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 50px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.info-card,
.support-panel {
  background: rgba(255,255,255,.78);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 26px;
}

.info-card .icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blush);
  margin-bottom: 16px;
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 30px;
}

.support-panel ul {
  padding-left: 20px;
  margin-bottom: 0;
}

.accent-panel {
  background: linear-gradient(135deg, var(--lavender), var(--blue));
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 30px;
}

blockquote {
  margin: 0;
  background: rgba(255,255,255,.78);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 30px;
  font-size: 1.08rem;
}

blockquote cite {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-style: normal;
  font-size: .92rem;
}

.donate-box {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 36px;
  padding: 42px;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--peach), var(--blush), var(--lavender));
  border: 1px solid var(--border);
}

.donate-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.contact-form {
  background: rgba(255,255,255,.82);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 26px;
}

.contact-form label {
  display: block;
  margin-bottom: 16px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 7px;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  font: inherit;
}

.contact-form textarea { resize: vertical; }

.small-note {
  color: var(--muted);
  font-size: .9rem;
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--border);
  background: var(--cream);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 28px;
  align-items: center;
}

.footer-grid p { margin: 6px 0 0; color: var(--muted); }
.footer-links { display: flex; gap: 16px; }
.copyright { font-size: .88rem; }

@media (max-width: 900px) {
  .hero-grid,
  .two-col,
  .support-grid,
  .story-grid,
  .donate-box {
    grid-template-columns: 1fr;
  }

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

  .main-nav {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 68px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
  }

  .main-nav.open { display: flex; }
  .menu-toggle { display: inline-block; }

  .footer-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, 1120px); }
  .hero { padding-top: 64px; }
  .section { padding: 64px 0; }
  .card-grid { grid-template-columns: 1fr; }
  .hero-card,
  .donate-box { padding: 26px; }
  .brand-text { display: none; }
}


.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.public-posts-grid {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}

.public-post-card {
  background: rgba(255,255,255,.84);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 24px;
}

.public-post-card h3 {
  margin: 14px 0 10px;
  font-size: 1.45rem;
}

.public-post-body {
  white-space: pre-wrap;
}

.public-post-media img,
.public-post-media video {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 18px;
  background: #eee;
}

.public-post-controls {
  display: flex;
  gap: 10px;
  margin: 16px 0;
}

.public-like-btn {
  border: 1px solid var(--border);
  background: var(--blush);
  color: var(--text);
  border-radius: 999px;
  padding: 9px 13px;
  cursor: pointer;
  font: inherit;
}

.public-comments {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.public-comments h4 {
  margin: 0 0 12px;
}

.public-comment-list {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.public-comment {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
}

.public-comment p {
  margin: 4px 0 0;
}

.public-comment-form {
  display: grid;
  gap: 12px;
}

.public-comment-form label {
  font-weight: 650;
}

.public-comment-form input,
.public-comment-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font: inherit;
}

.public-empty {
  border: 1px dashed var(--border);
  border-radius: 18px;
  padding: 24px;
  text-align: center;
  color: var(--muted);
}


/* V19 — header/logo stability */
.site-header .brand {
  min-width: 0;
  flex: 0 1 auto;
}

.brand-mark {
  flex: 0 0 42px;
  overflow: hidden;
  line-height: 1;
  font-size: .78rem;
  text-align: center;
}

.brand-mark img[hidden],
.brand-mark span[hidden] {
  display: none !important;
}

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

.brand-text {
  display: block;
  max-width: 250px;
  white-space: normal;
  line-height: 1.15;
}

@media (min-width: 901px) {
  .brand-text {
    white-space: nowrap;
  }
}

@media (max-width: 900px) {
  .site-header .container {
    align-items: flex-start;
  }
}
