/* ==========================================================================
   Charitable Giving: "The ripple". Warm and generous: sand, mint, deep green, circles and sprigs.
   Signature: pinned section where three rings grow outward from a centre drop (--pin drives every stage).
   ========================================================================== */

/* ---------- 1. Hero: two panels converge ------------------------------- */
.cg-hero { position: relative; overflow: hidden; min-height: min(88svh, 800px); display: flex; align-items: center; justify-content: center; padding-block: clamp(72px, 8vw, 120px); background: var(--sand); }
.cg-hero__panels { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; }
.cg-hero__p { position: relative; overflow: hidden; }
.cg-hero__p--l { background: var(--sand); }
.cg-hero__p--r { background: var(--mint-2); }
.cg-hero__p svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cg-hero__p .s { fill: none; stroke: var(--green-ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cg-hero__p .r { fill: none; stroke: var(--green); stroke-width: 1.5; opacity: .35; }
.cg-hero__p .n { fill: none; stroke: var(--green-ink); stroke-width: 2.2; }
.cg-hero__p .n1 { fill: var(--lime); stroke: none; }
.cg-hero__cap { position: absolute; bottom: clamp(24px, 3vw, 44px); padding: 8px 14px; background: #fff; border-radius: 99px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--green-ink); }
.cg-hero__p--l .cg-hero__cap { left: clamp(20px, 3vw, 48px); }
.cg-hero__p--r .cg-hero__cap { right: clamp(20px, 3vw, 48px); }
.cg-hero__rip { position: absolute; left: 50%; top: 50%; width: min(1000px, 96vw); aspect-ratio: 1; translate: -50% -50%; pointer-events: none; }
.cg-hero__rip circle { fill: none; stroke: var(--green); stroke-width: 2; opacity: 0; transform-origin: 500px 500px; animation: cg-rip 7.5s var(--ease) infinite; }
.cg-hero__rip circle:nth-child(2) { animation-delay: 2.5s; }
.cg-hero__rip circle:nth-child(3) { animation-delay: 5s; }
@keyframes cg-rip { 0% { transform: scale(.35); opacity: .0; } 12% { opacity: .5; } 100% { transform: scale(1.5); opacity: 0; } }
.cg-hero__in { position: relative; z-index: 2; width: 100%; max-width: var(--wrap); padding-inline: var(--gutter); display: flex; justify-content: center; }
.cg-hero__crumbs { position: absolute; left: var(--gutter); top: -44px; margin: 0; }
.cg-hero__card { width: min(580px, 100%); padding: clamp(28px, 3.4vw, 52px); border-radius: 10px; background: #fff; box-shadow: 0 40px 90px rgba(1, 53, 34, .22); }
.cg-hero__card .tag { margin-bottom: 20px; }
.cg-hero__h { font-size: clamp(2.5rem, 5.4vw, 4.6rem); line-height: .98; letter-spacing: -.045em; color: var(--text); }
.cg-hero__tag { margin-top: 20px; max-width: 22ch; color: var(--green-ink); font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1.22; }
.cg-hero__act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 899px) {
  .cg-hero { display: block; padding: 0; min-height: 0; }
  .cg-hero__panels { position: static; grid-template-columns: 1fr; grid-template-rows: 170px; }
  .cg-hero__p--r { display: none; }
  .cg-hero__rip { display: none; }
  .cg-hero__in { position: relative; margin-top: -40px; padding-bottom: 0; }
  .cg-hero__crumbs { display: none; }
  .cg-hero__card { box-shadow: 0 20px 50px rgba(1, 53, 34, .2); }
  .cg-hero::after { content: ""; display: block; height: 130px; margin-top: -60px; background: var(--mint-2); }
  .cg-hero__cap { bottom: 62px; }
}

/* ---------- 2. Intro ---------------------------------------------------- */
.cg-intro { overflow: hidden; padding-block: clamp(80px, 10vw, 150px); }
.cg-intro__ring { position: absolute; right: -8%; top: 50%; width: min(620px, 60vw); translate: 0 -50%; pointer-events: none; }
.cg-intro__ring circle { fill: none; stroke: var(--lime-hi); stroke-width: 1; opacity: .3; }
.cg-intro__in { position: relative; }
.cg-intro .tag { margin-bottom: 30px; }
.cg-intro__lead { max-width: 22em; font-size: clamp(1.7rem, 4vw, 3.3rem); font-weight: 500; line-height: 1.16; letter-spacing: -.035em; color: var(--on-dark); }
.cg-intro__lead > span { padding-bottom: .04em; }
.cg-intro__co { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: clamp(32px, 4vw, 56px); }
.cg-intro__co span { margin-right: 6px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); }
.cg-intro__co a { padding: 6px 14px; border: 1px solid var(--line-dark); border-radius: 99px; font-size: 14px; color: var(--on-dark); transition: background .3s var(--ease), color .3s var(--ease); }
.cg-intro__co a:hover { background: var(--lime-hi); border-color: var(--lime-hi); color: var(--ink); }

/* ---------- 3. Ripples (pinned) ----------------------------------------- */
.cg-rip { --r1: clamp(0, (var(--pin, 1) - .08) / .22, 1); --r2: clamp(0, (var(--pin, 1) - .36) / .22, 1); --r3: clamp(0, (var(--pin, 1) - .62) / .22, 1);
  --t1: clamp(0, (var(--pin, 1) - .2) / .1, 1); --t2: clamp(0, (var(--pin, 1) - .48) / .1, 1); --t3: clamp(0, (var(--pin, 1) - .74) / .1, 1); }
.cg-rip__stage { display: flex; align-items: center; }
.cg-rip__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 90px); align-items: center; }
.cg-rip__vis { position: relative; width: min(100%, calc(100vh - var(--nav-h) - 60px), 640px); aspect-ratio: 1; margin-inline: auto; }
.cg-rip__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cg-rip__svg .disc { fill: rgba(246, 248, 246, .06); }
.cg-rip__svg .ring { fill: none; stroke: var(--lime-hi); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1 2; }
.cg-rip__svg .rg { transform-origin: 300px 300px; }
.cg-rip__svg .rg1 { opacity: var(--r1); transform: scale(calc(.82 + .18 * var(--r1))); } .cg-rip__svg .rg1 .ring { stroke-dashoffset: calc(1 - var(--r1)); }
.cg-rip__svg .rg2 { opacity: var(--r2); transform: scale(calc(.86 + .14 * var(--r2))); } .cg-rip__svg .rg2 .ring { stroke-dashoffset: calc(1 - var(--r2)); }
.cg-rip__svg .rg3 { opacity: var(--r3); transform: scale(calc(.9 + .1 * var(--r3))); } .cg-rip__svg .rg3 .ring { stroke-dashoffset: calc(1 - var(--r3)); }
.cg-rip__svg .bdg circle { fill: var(--green-deep); stroke: var(--lime-hi); stroke-width: 2; }
.cg-rip__svg .bdg text { fill: var(--lime-hi); font: 600 16px Poppins, sans-serif; }
.cg-rip__svg .core { fill: #fff; filter: drop-shadow(0 0 24px rgba(123, 220, 134, .45)); }
.cg-rip__drop { position: absolute; left: 50%; top: 50%; width: 21%; aspect-ratio: 1; translate: -50% -50%; }
.cg-rip__tx .tag { margin-bottom: 16px; }
.cg-rip__list { display: grid; gap: clamp(14px, 2.4vh, 26px); margin-top: clamp(18px, 3vh, 34px); }
.cg-item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; padding-top: clamp(12px, 2vh, 20px); border-top: 1px solid var(--line-dark); }
.cg-item--1 { opacity: var(--t1); translate: 0 calc((1 - var(--t1)) * 22px); }
.cg-item--2 { opacity: var(--t2); translate: 0 calc((1 - var(--t2)) * 22px); }
.cg-item--3 { opacity: var(--t3); translate: 0 calc((1 - var(--t3)) * 22px); }
.cg-item__n { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--lime-hi); font-size: 15px; font-weight: 600; color: var(--lime-hi); }
.cg-item .d3 { font-size: clamp(1.2rem, 1.9vw, 1.6rem); }
.cg-item p { margin: 8px 0 10px; max-width: 46ch; font-size: 15.5px; line-height: 1.55; color: var(--on-dark-2); }
@media (max-width: 899px) {
  .cg-rip { padding-block: var(--sp-6); }
  .cg-rip__in { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .cg-rip__vis { width: min(100%, 360px); }
  .cg-item { opacity: 1 !important; translate: none !important; }
}
@media (max-height: 760px) and (min-width: 900px) { .cg-item p { font-size: 14.5px; line-height: 1.45; } }

/* ---------- 4. Leaf statement ------------------------------------------- */
.cg-leaf { overflow: hidden; padding-block: clamp(72px, 9vw, 140px); }
.cg-leaf__grid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(120px, 16vw, 220px); gap: clamp(16px, 4vw, 64px); align-items: center; }
.cg-leaf__stmt { font-size: clamp(2.5rem, 7vw, 6.4rem); line-height: .96; color: var(--green-deep); text-wrap: balance; }
.cg-leaf__sprig { width: 100%; height: auto; color: var(--green-ink); overflow: visible; }
.cg-leaf__sprig path { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 5. Who ------------------------------------------------------- */
.cg-who__head { max-width: 620px; margin-bottom: clamp(32px, 4vw, 56px); }
.cg-who__head .tag { margin-bottom: 18px; }
.cg-who__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 44px); align-items: end; }
.cg-who__c { display: block; }
.cg-who__art { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--mint-2); }
.cg-who__art--b { background: var(--sand-2); }
.cg-who__art svg { width: 100%; height: 100%; }
.cg-who__art path, .cg-who__art circle { fill: none; stroke: var(--green-ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cg-who__art .rr { stroke-width: 1.4; opacity: .5; }
.cg-who__art .f { fill: var(--lime); stroke: none; }
.cg-who__art .f2 { fill: var(--lime); stroke: none; }
.cg-who__name { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: clamp(1.1rem, 1.6vw, 1.4rem); font-weight: 600; letter-spacing: -.02em; color: var(--text); }
.cg-who__name svg { color: var(--green-ink); transition: transform .4s var(--ease); }
.cg-who__c:hover .cg-who__name svg { transform: translateX(6px); }
.cg-who__tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; min-height: 260px; padding: 28px; border-radius: 999px; aspect-ratio: 1; align-self: center; text-align: center; align-items: center; justify-content: center; background: var(--green-deep); color: var(--on-dark); transition: background .4s var(--ease); }
.cg-who__tile:hover { background: var(--green); }
.cg-who__q { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--lime-hi); }
.cg-who__tile:hover .cg-who__q { color: #fff; }
.cg-who__t { font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; max-width: 8ch; }
.cg-who__go { margin-top: 12px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--lime-hi); color: var(--ink); transition: transform .4s var(--ease); }
.cg-who__tile:hover .cg-who__go { transform: translateX(6px); }
@media (max-width: 800px) {
  .cg-who__grid { grid-template-columns: minmax(0, 1fr); max-width: 340px; margin-inline: auto; }
  .cg-who__tile { min-height: 0; width: 240px; margin-inline: auto; }
}

/* ---------- 6. FAQ ------------------------------------------------------- */
.cg-faq__in { max-width: 920px; }
.cg-faq .tag { margin-bottom: 18px; }
.cg-faq__list { margin-top: clamp(28px, 4vw, 48px); }
.cg-faq__list summary { justify-content: flex-start; gap: 20px; font-size: clamp(1.15rem, 2vw, 1.55rem); }
.cg-faq__list summary::after { margin-left: auto; }
.cg-faq__n { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--lime-hi); font-size: 15px; font-weight: 600; color: var(--lime-hi); }
.cg-faq__list .faq__a { padding-left: 60px; }
@media (max-width: 600px) { .cg-faq__list .faq__a { padding-left: 2px; } }

/* ---------- 7. CTA ------------------------------------------------------- */
.cg-cta { overflow: hidden; text-align: center; padding-block: clamp(88px, 11vw, 170px); }
.cg-cta__rip { position: absolute; left: 50%; top: 50%; width: min(1100px, 130vw); translate: -50% -50%; pointer-events: none; }
.cg-cta__rip circle { fill: none; stroke: var(--lime-hi); stroke-width: 1.2; opacity: .22; }
.cg-cta__in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.cg-cta .body-lg { margin: 20px auto 0; color: var(--on-dark-2); }
.cg-cta__act { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 32px; }
.cg-cta__fine { margin-top: 24px; font-size: 14px; color: var(--on-dark-2); }
.cg-cta__fine a { color: var(--on-dark); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 8. Tail ------------------------------------------------------ */
.cg-tail { padding-block: clamp(56px, 7vw, 110px); }
.cg-tail__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
.cg-tail__lbl { margin-bottom: 18px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark); }
.cg-tail__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.cg-tail__chips a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border: 1px solid rgba(246, 248, 246, .4); border-radius: 99px; font-size: clamp(1rem, 1.5vw, 1.2rem); font-weight: 500; color: var(--on-dark); transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.cg-tail__chips i { font-style: normal; font-size: 12px; letter-spacing: .1em; color: var(--on-dark-2); transition: color .3s var(--ease); }
.cg-tail__chips a:hover { background: var(--on-dark); color: var(--green-deep); border-color: var(--on-dark); }
.cg-tail__chips a:hover i { color: var(--green-ink); }
.cg-next { position: relative; display: grid; place-content: center; justify-items: center; gap: 6px; width: min(100%, 340px); aspect-ratio: 1; margin-inline: auto; padding: 36px; border-radius: 50%; text-align: center; background: var(--green-deep); color: var(--on-dark); box-shadow: 0 0 0 14px rgba(1, 53, 34, .35), 0 0 0 32px rgba(1, 53, 34, .18); transition: background .4s var(--ease), box-shadow .5s var(--ease); }
.cg-next:hover { background: var(--ink); box-shadow: 0 0 0 20px rgba(12, 19, 16, .35), 0 0 0 46px rgba(12, 19, 16, .16); }
.cg-next__lbl { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--lime-hi); }
.cg-next__name { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.08; max-width: 9ch; }
.cg-next__arw { margin-top: 8px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--lime-hi); color: var(--ink); transition: transform .5s var(--ease); }
.cg-next:hover .cg-next__arw { transform: translateX(8px); }
@media (max-width: 899px) { .cg-tail__grid { grid-template-columns: minmax(0, 1fr); } .cg-next { width: min(100%, 300px); margin-block: 20px; } }

@media (prefers-reduced-motion: reduce) {
  .cg-hero__rip circle { animation: none; opacity: .18; transform: scale(var(--s, 1)); }
  .cg-hero__rip circle:nth-child(1) { --s: .5; } .cg-hero__rip circle:nth-child(2) { --s: .85; } .cg-hero__rip circle:nth-child(3) { --s: 1.2; }
  .cg-next, .cg-next__arw, .cg-who__tile, .cg-who__go { transition: none; }
}

@media (max-width: 600px) {
  .cg-hero__act .btn, .cg-cta__act .btn { white-space: normal; justify-content: center; text-align: center; width: 100%; padding-inline: 20px; }
}
