/* Here4U — site styles */
:root {
  --coral: #BF5CA0;
  --coral-dark: #9E4183;
  --sun: #F2B4AE;
  --teal: #8C5AB8;
  --navy: #4A2343;
  --lav: #E07AA6;
  --cream: #FFF7FA;
  --sand: #FCEAF1;
  --ink: #3A2A36;
  --muted: #7A6474;
  --line: #F0DCE6;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(74, 35, 67, .08);
  --shadow-lg: 0 20px 50px rgba(74, 35, 67, .14);
  --max: 1160px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--coral-dark); }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.container { width: min(var(--max), 92%); margin: 0 auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 10px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 247, 250, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(74,35,67,.06); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 52px; width: auto; border-radius: 12px; box-shadow: 0 4px 12px rgba(191,92,160,.25); }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.55rem; color: var(--navy); letter-spacing: -.01em; }
.brand-name b { color: var(--coral); }
@media (max-width: 400px) { .brand-name { display: none; } }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--navy); font-weight: 700; font-size: .95rem; padding: 8px 12px; border-radius: 999px; transition: background .15s; }
.nav-links a:hover { background: var(--sand); }
.nav-links a.active { color: var(--coral-dark); }
.nav-links .btn { margin-left: 8px; color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--navy); border-radius: 3px; margin: 5px 0; transition: transform .2s, opacity .2s; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 78px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 10px 4% 20px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 10px; border-radius: 10px; }
  .nav-links .btn { margin: 10px 0 0; text-align: center; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--coral); color: #fff; text-decoration: none;
  font-weight: 800; font-size: .98rem; letter-spacing: .01em;
  padding: 13px 26px; border-radius: 999px; border: 2px solid var(--coral);
  cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s;
  box-shadow: 0 6px 18px rgba(191, 92, 160, .3);
  font-family: var(--sans);
}
.btn:hover { background: var(--coral-dark); border-color: var(--coral-dark); color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); box-shadow: none; }
.btn-outline:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; box-shadow: none; }
.btn-light:hover { background: var(--sun); border-color: var(--sun); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Sections ---------- */
section { padding: 90px 0; }
.section-sand { background: var(--sand); }
.section-white { background: #fff; }
.eyebrow { display: inline-block; font-weight: 800; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.section-head { max-width: 680px; margin: 0 auto 50px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.lead { font-size: 1.2rem; color: var(--muted); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 80px 0 100px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.hero h1 span { color: var(--coral); }
.hero .lead { max-width: 540px; margin-bottom: 30px; }
.hero-art { position: relative; aspect-ratio: 1 / 1; max-width: 480px; justify-self: center; width: 100%; }
.hero-blob { position: absolute; inset: 6%; background: linear-gradient(170deg, #BF5CA0, #F0B4B4); border-radius: 46% 54% 58% 42% / 48% 42% 58% 52%; animation: morph 12s ease-in-out infinite; box-shadow: var(--shadow-lg); }
.hero-photo { position: absolute; inset: 12%; border-radius: 42% 58% 50% 50% / 50% 46% 54% 50%; overflow: hidden; display: grid; place-items: center; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo .hero-logo { width: 62%; height: auto; object-fit: contain; filter: drop-shadow(0 6px 14px rgba(74,35,67,.18)); }
.hero-heart { width: 46%; filter: drop-shadow(0 10px 20px rgba(0,0,0,.15)); animation: beat 2.4s ease-in-out infinite; }
.balloon { position: absolute; width: 58px; height: 72px; border-radius: 50% 50% 48% 48%; animation: float 6s ease-in-out infinite; }
.balloon::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 50px; background: rgba(74,35,67,.25); }
.balloon.b1 { background: var(--teal); top: 2%; left: 4%; }
.balloon.b2 { background: var(--lav); top: 8%; right: 2%; width: 46px; height: 58px; animation-delay: -2s; }
.balloon.b3 { background: var(--sun); bottom: 14%; right: -2%; width: 40px; height: 50px; animation-delay: -4s; }
.confetti { position: absolute; border-radius: 3px; opacity: .8; }
.hero-bg-dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(74,35,67,.07) 1.5px, transparent 1.5px); background-size: 26px 26px; mask-image: linear-gradient(to bottom, #000, transparent 85%); pointer-events: none; }
@keyframes morph { 50% { border-radius: 58% 42% 44% 56% / 40% 58% 42% 60%; } }
@keyframes float { 50% { transform: translateY(-16px); } }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.08); } 30% { transform: scale(1); } 45% { transform: scale(1.05); } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

.trust-bar { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 34px; color: var(--muted); font-weight: 700; font-size: .92rem; }
.trust-bar div { display: flex; align-items: center; gap: 8px; }
.trust-bar svg { width: 22px; height: 22px; color: var(--teal); flex: none; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 340px; order: -1; }
  section { padding: 70px 0; }
}

/* ---------- Page hero ---------- */
.page-hero { padding: 70px 0 60px; text-align: center; background: linear-gradient(180deg, var(--sand), var(--cream)); position: relative; overflow: hidden; }
.page-hero p { max-width: 640px; margin: 0 auto; color: var(--muted); font-size: 1.15rem; }
.page-hero::before, .page-hero::after { content: ""; position: absolute; border-radius: 50%; opacity: .5; }
.page-hero::before { width: 180px; height: 180px; background: var(--sun); left: -60px; top: -40px; opacity: .25; }
.page-hero::after { width: 120px; height: 120px; background: var(--teal); right: -30px; bottom: -40px; opacity: .18; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 28px; }
.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: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
a.card { text-decoration: none; color: inherit; }
a.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); color: inherit; }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
a.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.card-body p { color: var(--muted); }
.card-meta { font-size: .85rem; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.card-link { margin-top: auto; font-weight: 800; color: var(--coral-dark); }

.program-card .tag { display: inline-block; font-size: .78rem; font-weight: 800; padding: 4px 12px; border-radius: 999px; background: var(--sand); color: var(--navy); margin-bottom: 10px; }

.benefit { background: #fff; border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); }
.benefit .icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; }
.benefit .icon svg { width: 28px; height: 28px; }
.benefit p { color: var(--muted); margin: 0; font-size: .98rem; }
.i-coral { background: #FBE1EF; color: var(--coral-dark); }
.i-teal { background: #EEE4F7; color: var(--teal); }
.i-sun { background: #FDE8E6; color: #C0605A; }
.i-lav { background: #FBE3EE; color: var(--lav); }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-img { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 5 / 4; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.check-list { list-style: none; padding: 0; margin: 20px 0 28px; }
.check-list li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* ---------- Quote band ---------- */
.quote-band { background: var(--navy); color: #fff; text-align: center; padding: 80px 0; position: relative; overflow: hidden; }
.quote-band blockquote { font-family: var(--serif); font-size: clamp(1.6rem, 3.4vw, 2.5rem); line-height: 1.3; max-width: 860px; margin: 0 auto; font-weight: 600; }
.quote-band blockquote::before { content: "“"; display: block; font-size: 5rem; line-height: .6; color: var(--sun); margin-bottom: 10px; }
.quote-band cite { display: block; margin-top: 20px; font-style: normal; color: var(--sun); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .85rem; }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(120deg, #BF5CA0, #EFAFB0); color: #fff; border-radius: 32px; padding: 60px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.cta h2 { color: #fff; }
.cta p { opacity: .95; font-size: 1.1rem; margin: 0; }
.cta .btn-row { justify-content: flex-end; }
.cta::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.1); right: -80px; top: -100px; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; padding: 40px 28px; } .cta .btn-row { justify-content: flex-start; } }

/* ---------- Ways to help ---------- */
.way { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); border-top: 5px solid var(--coral); }
.way:nth-child(2) { border-color: var(--teal); }
.way:nth-child(3) { border-color: var(--sun); }
.way:nth-child(4) { border-color: var(--lav); }
.way p { color: var(--muted); }

/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: 24px; padding: 40px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 28px 22px; } }
label { display: block; font-weight: 700; font-size: .9rem; color: var(--navy); margin-bottom: 6px; }
input, textarea, select { width: 100%; font: inherit; font-size: 1rem; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--cream); color: var(--ink); transition: border-color .15s, box-shadow .15s; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(140,90,184,.15); background: #fff; }
textarea { min-height: 140px; resize: vertical; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; background: var(--cream); border: 1.5px solid var(--line); padding: 8px 14px; border-radius: 999px; cursor: pointer; margin: 0; }
.checks input { width: auto; accent-color: var(--coral); }
.form-note { font-size: .88rem; color: var(--muted); margin-top: 14px; }
.form-status { margin-top: 16px; padding: 14px 18px; border-radius: 12px; display: none; font-weight: 700; }
.form-status.ok { display: block; background: #EEE4F7; color: #5E3A80; }
.form-status.err { display: block; background: #FBE1EF; color: var(--coral-dark); }
.hp { position: absolute; left: -9999px; }

.contact-info { display: grid; gap: 18px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item .icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.contact-item .icon svg { width: 22px; height: 22px; }
.contact-item strong { display: block; color: var(--navy); }

/* ---------- Blog ---------- */
.post-header { padding: 70px 0 30px; text-align: center; }
.post-header .meta { color: var(--muted); font-weight: 700; }
.post-cover { width: min(980px, 92%); margin: 0 auto 50px; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 8; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.prose { width: min(720px, 92%); margin: 0 auto; font-size: 1.1rem; }
.prose h2 { font-size: 1.8rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose img { border-radius: 16px; margin: 1.6em 0; box-shadow: var(--shadow); }
.prose blockquote { border-left: 5px solid var(--sun); margin: 1.6em 0; padding: 4px 0 4px 22px; font-family: var(--serif); font-size: 1.3rem; color: var(--navy); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.post-footer { width: min(720px, 92%); margin: 50px auto 0; padding-top: 30px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; align-items: center; }
.share a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sand); color: var(--navy); margin-left: 6px; }
.share a:hover { background: var(--coral); color: #fff; }
.share svg { width: 18px; height: 18px; }

/* ---------- Events ---------- */
.event { display: grid; grid-template-columns: 110px 1fr auto; gap: 28px; align-items: center; background: #fff; border-radius: var(--radius); padding: 26px 30px; box-shadow: var(--shadow); margin-bottom: 20px; }
.event-date { background: var(--coral); color: #fff; border-radius: 16px; text-align: center; padding: 14px 6px; font-weight: 800; line-height: 1.1; }
.event-date .m { text-transform: uppercase; font-size: .85rem; letter-spacing: .1em; }
.event-date .d { font-family: var(--serif); font-size: 2.3rem; display: block; }
.event-date .y { font-size: .8rem; opacity: .85; }
.event.past .event-date { background: var(--muted); }
.event h3 { margin-bottom: 6px; }
.event .where { color: var(--muted); font-weight: 600; font-size: .95rem; margin-bottom: 8px; }
.event .desc p:last-child { margin: 0; }
@media (max-width: 720px) { .event { grid-template-columns: 80px 1fr; } .event .btn { grid-column: 1 / -1; justify-content: center; } }

.empty { text-align: center; background: #fff; border-radius: 24px; padding: 60px 30px; box-shadow: var(--shadow); max-width: 720px; margin: 0 auto; }
.empty .icon { width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; }
.empty .icon svg { width: 32px; height: 32px; }

/* ---------- Gallery ---------- */
.masonry { columns: 3 280px; column-gap: 18px; }
.masonry figure { break-inside: avoid; margin: 0 0 18px; border-radius: 16px; overflow: hidden; position: relative; cursor: zoom-in; background: var(--sand); box-shadow: var(--shadow); }
.masonry img { width: 100%; height: auto; transition: transform .4s; }
.masonry figure:hover img { transform: scale(1.03); }
.masonry figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; color: #fff; font-weight: 700; font-size: .92rem; background: linear-gradient(transparent, rgba(0,0,0,.55)); opacity: 0; transition: opacity .2s; }
.masonry figure:hover figcaption { opacity: 1; }
.lightbox { position: fixed; inset: 0; background: rgba(40, 18, 36, .94); z-index: 200; display: none; align-items: center; justify-content: center; flex-direction: column; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 80vh; border-radius: 10px; object-fit: contain; }
.lightbox .cap { color: #fff; margin-top: 16px; font-weight: 600; text-align: center; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); border: 0; color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- Donate ---------- */
.donate-box { background: #fff; border-radius: 24px; padding: 40px; box-shadow: var(--shadow); text-align: center; border: 2px dashed var(--sun); }
.badge { display: inline-block; background: var(--sun); color: var(--navy); font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; margin-bottom: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #EBD3E2; padding: 70px 0 30px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer a { color: #EBD3E2; text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.footer-brand img { height: 70px; width: auto; margin-bottom: 16px; border-radius: 14px; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; }
.socials a:hover { background: var(--coral); color: #fff; }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .9rem; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

.center { text-align: center; }
.mt-40 { margin-top: 40px; }

/* Cards that center nicely when there are only one or two */
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(280px, 360px)); justify-content: center; }
@media (max-width: 640px) { .grid-auto { grid-template-columns: 1fr; } }
