/* Better Together Foundation — styles
   Palette and type follow bettertogetherinvestment.com and the foundation logo */
:root {
  --pink: #DE1D92;
  --pink-hot: #F72FAB;
  --pink-light: #FE65C3;
  --pink-soft: #FFD9EE;
  --blush: #FFF2F9;
  --plum: #3B1F5E;
  --plum-deep: #2A1446;
  --purple: #5D368D;
  --lavender: #E2CFED;
  --cream: #FFF7F0;
  --ink: #2B2233;
  --muted: #6A5F73;
  --line: rgba(59, 31, 94, .12);
  --white: #fff;

  --f-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --f-head: "Montserrat", system-ui, sans-serif;
  --f-script: "Kaushan Script", cursive;

  --radius: 22px;
  --shadow: 0 20px 50px -20px rgba(59, 31, 94, .35);
  --shadow-sm: 0 8px 24px -12px rgba(59, 31, 94, .3);
  --header-h: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--f-head); color: var(--plum); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.script { font-family: var(--f-script); font-weight: 400; color: var(--pink); letter-spacing: 0; display: inline-block; transform: rotate(-2deg); }

/* Language switch: only the active language is shown */
html[data-lang="en"] [data-l="es"],
html[data-lang="es"] [data-l="en"] { display: none !important; }

.ic { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(860px, 100% - 32px); }
.center { text-align: center; }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-head { margin-bottom: clamp(36px, 5vw, 60px); }
.muted { color: var(--muted); }

.kicker {
  font-family: var(--f-head); font-weight: 700; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--pink); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 10px;
}
.kicker::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.center .kicker::after { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.kicker.light { color: var(--pink-soft); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--plum); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--f-head); font-weight: 700; font-size: 14.5px; text-decoration: none;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  cursor: pointer; white-space: nowrap;
}
.btn-lg { padding: 15px 28px; font-size: 15.5px; }
.btn-pink { background: var(--pink); color: #fff; box-shadow: 0 10px 24px -10px rgba(222, 29, 146, .7); }
.btn-pink:hover { background: var(--plum); transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(59, 31, 94, .7); }
.btn-ghost { border-color: var(--plum); color: var(--plum); background: transparent; }
.btn-ghost:hover { background: var(--plum); color: #fff; transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--plum); }
.btn-white:hover { background: var(--pink-soft); transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--pink-light); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s ease, box-shadow .3s ease, height .3s ease;
}
.site-header.scrolled { background: rgba(255, 255, 255, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 6px 30px -18px rgba(59, 31, 94, .5); }
.header-inner { display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { width: 52px; height: 52px; filter: drop-shadow(0 4px 10px rgba(222, 29, 146, .25)); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--f-head); font-size: 15px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--plum); }
.brand-text em { font-family: var(--f-script); font-style: normal; font-size: 21px; color: var(--pink); margin-top: 2px; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a:not(.btn) {
  font-family: var(--f-head); font-weight: 600; font-size: 14px; color: var(--plum); text-decoration: none;
  padding: 8px 12px; border-radius: 999px; transition: background .2s, color .2s;
}
.nav a:not(.btn):hover, .nav a.active { background: var(--pink-soft); color: var(--pink); }
.nav-donate { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }

.lang {
  display: inline-flex; padding: 3px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  font-family: var(--f-head); font-weight: 700; font-size: 12px; cursor: pointer;
}
.lang-opt { padding: 5px 9px; border-radius: 999px; color: var(--muted); transition: background .2s, color .2s; }
html[data-lang="en"] .lang-opt[data-set="en"], html[data-lang="es"] .lang-opt[data-set="es"] { background: var(--plum); color: #fff; }

.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--plum); cursor: pointer; padding: 0; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + clamp(30px, 6vw, 70px)) 0 clamp(60px, 8vw, 100px);
  background: linear-gradient(160deg, var(--blush) 0%, #FFE6F3 45%, #F6EAFB 100%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; pointer-events: none; }
.b1 { width: 460px; height: 460px; background: var(--pink-light); top: -120px; right: -80px; }
.b2 { width: 380px; height: 380px; background: var(--lavender); bottom: -140px; left: -100px; animation-delay: -6s; }
.b3 { width: 260px; height: 260px; background: #FFC7E6; top: 40%; left: 42%; animation-delay: -12s; opacity: .45; }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.12); } }

.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px;
  background: #fff; color: var(--plum); font-family: var(--f-head); font-weight: 700; font-size: 13px; box-shadow: var(--shadow-sm);
}
.eyebrow .ic { color: var(--pink); }
.hero h1 { margin-top: 22px; }
.hero h1 .script { font-size: 1.12em; padding-right: .1em; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 34px; }
.hero-tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-tags li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--plum); font-size: 15px; }
.hero-tags .ic { color: var(--pink); width: 20px; height: 20px; }

.hero-art { position: relative; height: clamp(440px, 46vw, 600px); }
.arch { margin: 0; overflow: hidden; border-radius: 999px 999px 26px 26px; background: var(--pink-soft); box-shadow: var(--shadow); position: relative; }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.hero-art .arch { position: absolute; border: 6px solid #fff; }
.arch-a { width: 50%; height: 72%; left: 0; bottom: 4%; }
.arch-b { width: 50%; height: 76%; right: 2%; top: 0; }
.arch-b img { object-position: center 10%; }
.arch figcaption {
  position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 9px 14px; border-radius: 16px;
  background: rgba(255, 255, 255, .92); font-family: var(--f-head); font-weight: 700; font-size: 14px; color: var(--plum); line-height: 1.25;
}
.arch figcaption small { display: block; font-weight: 600; font-size: 11.5px; color: var(--pink); letter-spacing: .06em; text-transform: uppercase; }
.hero-logo {
  position: absolute; width: clamp(110px, 12vw, 150px); height: auto; left: 40%; top: 6%;
  border-radius: 50%; border: 5px solid #fff; box-shadow: var(--shadow); animation: float 6s ease-in-out infinite; z-index: 3;
}
.float-card {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 16px; border-radius: 16px; background: #fff; box-shadow: var(--shadow);
  font-family: var(--f-head); font-weight: 700; font-size: 13.5px; color: var(--plum);
  animation: float 7s ease-in-out infinite;
}
.float-card .ic { color: #fff; background: var(--pink); width: 30px; height: 30px; padding: 7px; border-radius: 50%; }
.fc-1 { left: -4%; top: 14%; animation-delay: -2s; }
.fc-2 { right: -2%; bottom: 6%; animation-delay: -4s; }
.fc-2 .ic { background: var(--purple); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.petal { position: absolute; width: 34px; height: 34px; color: var(--pink-hot); opacity: .8; animation: spin 16s linear infinite; }
.p1 { left: 46%; bottom: 0; width: 26px; height: 26px; }
.p2 { right: 50%; top: 52%; width: 18px; height: 18px; color: var(--purple); animation-duration: 22s; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Ribbon ---------- */
.ribbon { background: var(--plum); color: #fff; overflow: hidden; padding: 18px 0; }
.ribbon-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 50s linear infinite; }
.ribbon span { font-family: var(--f-script); font-size: 26px; white-space: nowrap; }
.ribbon span:nth-child(4n+1) { color: var(--pink-light); }
.ribbon i { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Why ---------- */
.why { background: var(--white); }
.statement {
  font-family: var(--f-head); font-weight: 700; font-size: clamp(1.35rem, 2.6vw, 2rem); line-height: 1.45; color: var(--plum); margin-bottom: 26px;
}
.statement mark { background: linear-gradient(transparent 58%, var(--pink-soft) 58%); color: inherit; padding: 0 2px; }
.why .muted { font-size: 1.05rem; max-width: 720px; margin-inline: auto; }

/* ---------- About / Journey ---------- */
.about { background: var(--cream); overflow: hidden; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.serve { margin-top: 30px; padding: 24px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.serve-title { font-family: var(--f-head); font-weight: 700; color: var(--plum); margin-bottom: 12px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 14px; border-radius: 999px; background: var(--blush); color: var(--pink); font-weight: 600; font-size: 14px; border: 1px solid #FFD0EA; }

.journey { position: relative; padding: 20px; border-radius: 30px; background: radial-gradient(circle at 70% 20%, #FFE3F2, #fff 60%); box-shadow: var(--shadow); }
.journey-svg { width: 100%; height: auto; overflow: visible; }
.jpath { fill: none; stroke: url(#jg); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; }
.journey.in .jpath { animation: draw 2.2s ease forwards; }
.journey.in .jpath:nth-child(3) { animation-delay: .5s; }
.journey.in .jpath:nth-child(4) { animation-delay: .3s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.jnode { opacity: 0; transform: scale(.6); transform-box: fill-box; transform-origin: center; transition: opacity .5s var(--d), transform .5s var(--d); }
.journey.in .jnode { opacity: 1; transform: none; }
.jnode circle { fill: #fff; stroke: var(--pink); stroke-width: 4; }
.jnode text { font-family: var(--f-head); font-weight: 700; font-size: 17px; fill: var(--plum); }
.jdest circle { fill: var(--pink); stroke: #fff; }
.jdest text { font-size: 20px; fill: var(--pink); }
.jdest .pulse { fill: none; stroke: var(--pink); stroke-width: 2; animation: pulse 2.2s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(2.6); opacity: 0; } }
.journey-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; font-size: 13.5px; font-weight: 600; color: var(--muted); margin-top: 6px; }
.journey-legend span { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot-a { background: var(--purple); } .dot-b { background: var(--pink); }

/* ---------- Mission / Vision ---------- */
.mv { background: linear-gradient(135deg, var(--plum) 0%, var(--purple) 100%); color: #fff; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.mv-card {
  padding: clamp(28px, 4vw, 46px); border-radius: var(--radius); background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(6px); transition: transform .35s ease, background .35s;
}
.mv-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .11); }
.mv-card h3 { color: #fff; font-size: 1.6rem; }
.mv-card p { color: rgba(255, 255, 255, .86); margin: 0; }
.mv-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--pink); margin-bottom: 20px; box-shadow: 0 10px 24px -8px rgba(222, 29, 146, .8); }
.mv-icon .ic { width: 26px; height: 26px; color: #fff; }

/* ---------- Programs ---------- */
.programs { background: var(--white); }
.prog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.prog {
  position: relative; padding: 34px 30px 32px; border-radius: var(--radius); background: var(--blush); overflow: hidden;
  border: 1px solid #FFE0F0; transition: transform .35s ease, box-shadow .35s ease, background .35s;
}
.prog::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; background: var(--pink-soft); right: -70px; bottom: -70px; transition: transform .5s ease; }
.prog:hover { transform: translateY(-8px); box-shadow: var(--shadow); background: #fff; }
.prog:hover::after { transform: scale(1.4); }
.prog > * { position: relative; z-index: 1; }
.prog-num { position: absolute; top: 22px; right: 26px; font-family: var(--f-script); font-size: 42px; color: var(--pink); opacity: .35; }
.prog-icon { display: inline-grid; place-items: center; width: 62px; height: 62px; border-radius: 20px; background: var(--pink); color: #fff; margin-bottom: 22px; transition: transform .35s ease; }
.prog:hover .prog-icon { transform: rotate(-8deg) scale(1.06); }
.prog-icon .ic { width: 28px; height: 28px; }
.prog p { color: var(--muted); margin: 0; }

/* ---------- Values ---------- */
.values { background: linear-gradient(180deg, #fff 0%, var(--blush) 100%); }
.val-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.val { padding: clamp(28px, 3.5vw, 44px); border-right: 1px solid var(--line); transition: background .3s; }
.val:last-child { border-right: 0; }
.val:hover { background: var(--blush); }
.val-ic { width: 38px; height: 38px; color: var(--pink); margin-bottom: 16px; }
.val p { color: var(--muted); margin: 0; font-size: 15.5px; }

/* ---------- Founders ---------- */
.founders { background: var(--white); }
.founder { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.founder + .founder { margin-top: clamp(70px, 9vw, 120px); }
.founder-rev { grid-template-columns: 1.2fr .8fr; }
.founder-rev .founder-photo { order: 2; }
.founder-photo { position: sticky; top: calc(var(--header-h) + 24px); }
.arch-lg { aspect-ratio: 3 / 4; border: 8px solid #fff; outline: 2px solid var(--pink-soft); }
.founder-photo::before {
  content: ""; position: absolute; inset: 24px -18px -18px 24px; border-radius: 999px 999px 26px 26px;
  background: linear-gradient(135deg, var(--pink-light), var(--lavender)); z-index: -1;
}
.founder-rev .founder-photo::before { inset: 24px 24px -18px -18px; }
.origin {
  position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%); white-space: nowrap;
  padding: 9px 18px; border-radius: 999px; background: var(--plum); color: #fff; font-family: var(--f-head); font-weight: 700; font-size: 13px; box-shadow: var(--shadow-sm);
}
.founder-body h3 { font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 800; margin-bottom: 6px; }
.role { font-family: var(--f-head); font-weight: 700; font-size: 13.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--pink); margin-bottom: 20px; }
.tags { list-style: none; padding: 0; margin: 22px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 7px 14px; border-radius: 12px; background: var(--cream); border: 1px solid #F3E2D3; font-size: 13.5px; font-weight: 600; color: var(--plum); }

.story { border-top: 1px solid var(--line); margin-top: 10px; }
.story summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; padding: 18px 0;
  font-family: var(--f-head); font-weight: 700; color: var(--plum);
}
.story summary::-webkit-details-marker { display: none; }
.story summary::after {
  content: "+"; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--pink); color: #fff; font-size: 20px; line-height: 1; transition: transform .3s;
}
.story[open] summary::after { transform: rotate(45deg); }
.story summary:hover { color: var(--pink); }
.story-body { animation: open .45s ease; }
.story-body h4 { font-size: 1.1rem; margin-top: 1.4em; color: var(--pink); }
@keyframes open { from { opacity: 0; transform: translateY(-8px); } }
.verse {
  margin: 26px 0; padding: 26px 28px; border-radius: var(--radius); background: var(--blush); border-left: 5px solid var(--pink);
}
.verse p { font-size: 1.12rem; font-style: italic; color: var(--plum); margin-bottom: 10px; }
.verse cite { font-style: normal; font-family: var(--f-head); font-weight: 700; font-size: 13px; color: var(--pink); letter-spacing: .05em; text-transform: uppercase; }

/* ---------- Quote band ---------- */
.quote-band {
  position: relative; padding: clamp(80px, 11vw, 140px) 0; overflow: hidden; color: #fff;
  background: radial-gradient(circle at 20% 20%, var(--pink-light) 0%, transparent 45%), radial-gradient(circle at 85% 80%, var(--purple) 0%, transparent 50%), var(--pink);
}
.quote-band blockquote { margin: 0; }
.quote-band p { font-family: var(--f-head); font-weight: 800; font-size: clamp(1.6rem, 3.6vw, 2.7rem); line-height: 1.3; color: #fff; }
.quote-band .script { color: #fff; font-size: 1.1em; }
.quote-band cite { font-family: var(--f-script); font-style: normal; font-size: 30px; color: var(--pink-soft); }
.q-petal { position: static; display: block; margin: 0 auto 18px; width: 48px; height: 48px; color: #fff; opacity: .9; }

/* ---------- Stories ---------- */
.stories { background: var(--cream); }
.story-card {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 44px); align-items: start;
  max-width: 900px; margin-inline: auto; padding: clamp(28px, 4.5vw, 52px); border-radius: 30px; background: #fff; box-shadow: var(--shadow);
  position: relative;
}
.story-card::before { content: "“"; position: absolute; right: 30px; top: -10px; font-family: Georgia, serif; font-size: 160px; line-height: 1; color: var(--pink-soft); }
.avatar {
  width: 150px; height: 150px; border-radius: 50%; object-fit: cover; object-position: center 20%;
  border: 6px solid var(--pink-soft); box-shadow: var(--shadow-sm);
}
.story-card h3 { font-size: 1.6rem; margin-bottom: 4px; }
.story-card > div > p:not(.role) { color: var(--muted); }
.dreams { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.dreams > span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; background: var(--blush); color: var(--plum); font-weight: 600; font-size: 14px; }
.dreams .ic { color: var(--pink); }

/* ---------- Impact ---------- */
.impact { background: var(--white); }
.impact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.goal {
  padding: clamp(32px, 4.5vw, 52px); border-radius: 30px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--plum-deep) 0%, var(--purple) 100%); box-shadow: var(--shadow);
}
.goal::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: var(--pink); filter: blur(70px); opacity: .45; right: -120px; top: -120px; }
.goal > * { position: relative; z-index: 1; }
.goal-amount { font-family: var(--f-head); font-weight: 800; font-size: clamp(3rem, 7vw, 5rem); line-height: 1; margin: 6px 0 8px; letter-spacing: -.03em; }
.goal-label { color: rgba(255, 255, 255, .8); margin-bottom: 24px; }
.goal-items { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 10px; }
.goal-items li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .08); font-weight: 600; }
.goal-items .ic { color: var(--pink-light); }
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.steps li { display: flex; gap: 18px; align-items: flex-start; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s, transform .3s; }
.steps li:hover { border-color: var(--pink-soft); box-shadow: var(--shadow-sm); transform: translateX(6px); }
.steps h3 { font-size: 1.08rem; margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted); font-size: 15.5px; }
.step-ic { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 15px; background: var(--pink-soft); color: var(--pink); }
.step-ic .ic { width: 22px; height: 22px; }

/* ---------- Gallery ---------- */
.gallery { background: var(--blush); }
.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.gal-grid:empty { display: none; }
.gal-grid figure { margin: 0; border-radius: 18px; overflow: hidden; position: relative; cursor: zoom-in; }
.gal-grid figure:nth-child(5n+1) { grid-row: span 2; }
.gal-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gal-grid figure:hover img { transform: scale(1.06); }
.gal-empty {
  max-width: 760px; margin-inline: auto; text-align: center; padding: clamp(32px, 5vw, 56px); border-radius: 30px;
  background: #fff; border: 2px dashed #FFC2E3;
}
.gal-empty > .ic { width: 46px; height: 46px; color: var(--pink); margin-bottom: 12px; }
.gal-empty p { color: var(--muted); font-size: 1.05rem; }
.gal-social { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 18px; }
.gal-grid:not(:empty) + .gal-empty { margin-top: 40px; border-style: solid; }

.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(42, 20, 70, .92); display: grid; place-items: center; padding: 24px; opacity: 0; pointer-events: none; transition: opacity .3s; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-height: 86vh; width: auto; border-radius: 16px; }
.lightbox button { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--plum); font-size: 26px; cursor: pointer; }

/* ---------- Donate ---------- */
.donate { background: var(--white); }
.donate-box {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 60px); align-items: center;
  padding: clamp(32px, 5.5vw, 70px); border-radius: 36px; color: #fff;
  background: radial-gradient(circle at 0% 100%, var(--purple) 0%, transparent 55%), linear-gradient(135deg, var(--pink) 0%, var(--pink-hot) 100%);
  box-shadow: 0 30px 70px -30px rgba(222, 29, 146, .75);
}
.donate-box h2 { color: #fff; }
.donate-box .script { color: #fff; }
.donate-copy p { color: rgba(255, 255, 255, .92); font-size: 1.05rem; margin: 0; }
.d-petal { right: -30px; top: -30px; width: 180px; height: 180px; color: #fff; opacity: .12; animation-duration: 40s; }
.donate-actions { display: grid; gap: 12px; position: relative; }
.donate-opt {
  display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 18px; text-decoration: none;
  background: #fff; color: var(--plum); transition: transform .25s, box-shadow .25s;
}
.donate-opt:hover { transform: translateY(-3px) scale(1.01); box-shadow: 0 16px 30px -14px rgba(42, 20, 70, .6); }
.donate-opt > .ic { width: 44px; height: 44px; padding: 11px; border-radius: 14px; background: var(--pink-soft); color: var(--pink); }
.donate-opt strong { display: block; font-family: var(--f-head); font-size: 15.5px; }
.donate-opt small { display: block; color: var(--muted); font-size: 14px; word-break: break-all; }

/* ---------- Contact ---------- */
.contact { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 20px; }
.person { display: flex; gap: 18px; align-items: center; padding: 22px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); transition: transform .3s; }
.person:hover { transform: translateY(-4px); }
.person > img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: center 15%; border: 4px solid var(--pink-soft); flex: none; }
.person h3 { margin-bottom: 2px; font-size: 1.2rem; }
.person .role { font-size: 11.5px; margin-bottom: 8px; }
.person a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--plum); }
.person a:hover { color: var(--pink); }
.person a .ic { color: var(--pink); }
.person-info ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; min-width: 0; }
.person-info li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; min-width: 0; }
.person-info li .ic { color: var(--pink); }
.person-info li a { font-weight: 600; word-break: break-all; }

/* ---------- Footer ---------- */
.footer { background: var(--plum-deep); color: rgba(255, 255, 255, .78); padding: 56px 0 26px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.brand-foot img { width: 64px; height: 64px; }
.brand-foot .brand-text strong { color: #fff; }
.brand-foot .brand-text em { color: var(--pink-light); }
.foot-tag { font-family: var(--f-script); font-size: 28px; color: var(--pink-light); margin: 0; }
.foot-social { display: flex; gap: 10px; }
.foot-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; transition: background .25s, transform .25s; }
.foot-social a:hover { background: var(--pink); transform: translateY(-3px); }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; font-size: 14px; }
.foot-legal p { margin: 0; }
.foot-legal { padding-right: 76px; }
.foot-legal a { color: var(--pink-light); }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 12px 28px -10px rgba(37, 211, 102, .9);
  transition: transform .25s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float .ic { width: 30px; height: 30px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav a:not(.btn) { padding: 8px 9px; font-size: 13.5px; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .person-info { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .burger { display: block; }
  .header-donate { display: none; }
  .header-actions { margin-left: auto; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 16px 16px 24px; background: #fff; box-shadow: 0 24px 40px -20px rgba(59, 31, 94, .4);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
  }
  .menu-open .nav { transform: none; opacity: 1; pointer-events: auto; box-shadow: 0 24px 40px -20px rgba(59, 31, 94, .4), 0 0 0 100vmax rgba(42, 20, 70, .45); }
  body.menu-open { overflow: hidden; }
  .menu-open .wa-float { opacity: 0; pointer-events: none; }
  .hero h1 .script { margin-left: .06em; }
  .menu-open .site-header { background: #fff; }
  .nav a:not(.btn) { padding: 13px 14px; font-size: 16px; }
  .nav-donate { display: flex; margin-top: 8px; }

  .hero-grid, .about-grid, .impact-grid, .donate-box { grid-template-columns: 1fr; }
  .hero-art { height: 480px; max-width: 520px; margin-inline: auto; width: 100%; }
  .mv-grid, .prog-grid { grid-template-columns: 1fr; }
  .prog-grid { max-width: 560px; margin-inline: auto; }
  .val-grid { grid-template-columns: 1fr; }
  .val { border-right: 0; border-bottom: 1px solid var(--line); }
  .val:last-child { border-bottom: 0; }
  .founder, .founder-rev { grid-template-columns: 1fr; }
  .founder-rev .founder-photo { order: 0; }
  .founder-photo { position: relative; top: 0; max-width: 340px; margin: 0 auto 30px; width: 100%; }
  .gal-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand img { width: 44px; height: 44px; }
  .brand-text strong { font-size: 12.5px; }
  .brand-text em { font-size: 18px; }
  .header-inner { gap: 10px; }
  .hero-art { height: 400px; }
  .arch-a { width: 54%; height: 70%; }
  .arch-b { width: 52%; height: 74%; right: 0; }
  .hero-logo { width: 92px; left: 38%; }
  .fc-1 { left: 0; top: 4%; }
  .fc-2 { right: 0; bottom: 2%; }
  .float-card { font-size: 12px; padding: 8px 12px; }
  .float-card .ic { width: 26px; height: 26px; padding: 6px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .story-card { grid-template-columns: 1fr; }
  .avatar { width: 120px; height: 120px; }
  .contact-grid { grid-template-columns: 1fr; }
  .origin { font-size: 12px; padding: 8px 14px; }
  .ribbon span { font-size: 22px; }
  .foot-legal { flex-direction: column; padding-bottom: 60px; padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .jpath { stroke-dashoffset: 0; }
  .jnode { opacity: 1; transform: none; }
}
