/*
Theme Name: Stella Cares
Theme URI: https://stellacares.org
Author: Stella Cares
Author URI: https://stellacares.org
Description: A one-page, animation-rich nonprofit landing page theme built for Stella Cares — Empowering Abilities. Inspiring Futures. Includes an animated hero, cause cards, live impact counters, donation tiers linked to PayPal, and a scroll-reactive ribbon motif drawn from the Stella Cares emblem.
Version: 1.5.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stella-cares
*/

  :root{
    --navy:#001C5F;
    --navy-soft:#41507F;
    --cream:#FBF8F1;
    --cream-deep:#F1EAD8;
    --gold:#F1A601;
    --gold-deep:#C88600;
    --sky:#00A7E3;
    --sky-deep:#0682AC;
    --purple:#642489;
    --purple-deep:#4B1A67;
    --red:#E12B2C;
    --line:#E7DFC9;
    --shadow: 0 24px 55px -28px rgba(0,28,95,0.4);
  }

  *{margin:0;padding:0;box-sizing:border-box;}
  html{scroll-behavior:smooth;}

  body{
    background:var(--cream);
    color:var(--navy);
    font-family:'Manrope', sans-serif;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
  }

  @media (prefers-reduced-motion: reduce){
    *{animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important;}
  }

  h1,h2,h3,.display{
    font-family:'Fraunces', serif;
    font-weight:600;
    line-height:1.05;
    letter-spacing:-0.01em;
    color:var(--navy);
  }

  .eyebrow{
    font-family:'Manrope', sans-serif;
    font-weight:700;
    font-size:0.72rem;
    letter-spacing:0.32em;
    text-transform:uppercase;
  }

  a{color:inherit; text-decoration:none;}
  img{max-width:100%; display:block;}

  :focus-visible{ outline:3px solid var(--sky); outline-offset:3px; }

  .wrap{ max-width:1180px; margin:0 auto; padding:0 32px; position:relative; }

  /* ---------- PRELOADER ---------- */
  #preloader{
    position:fixed; inset:0; z-index:999;
    background:var(--navy);
    display:flex; align-items:center; justify-content:center;
    transition:opacity .7s ease, visibility .7s ease;
  }
  #preloader.hide{opacity:0; visibility:hidden; pointer-events:none;}
  .pre-mark{ width:104px; height:104px; position:relative; }
  .pre-mark svg{width:100%; height:100%;}
  .pre-ring{
    fill:none; stroke-width:3.5; stroke-linecap:round;
    stroke-dasharray:264; stroke-dashoffset:264;
    animation:draw-ring 1.3s ease forwards, spin-ring 2.2s linear infinite 1.3s;
    transform-origin:50% 50%;
  }
  @keyframes draw-ring{ to{ stroke-dashoffset:0; } }
  @keyframes spin-ring{ to{ transform:rotate(360deg); } }
  .pre-label{
    position:absolute; bottom:-36px; left:50%; transform:translateX(-50%);
    font-family:'Fraunces',serif; font-style:italic; color:#fff; font-size:0.98rem;
    letter-spacing:0.04em; white-space:nowrap; opacity:0.9;
  }

  /* ---------- SCROLL PROGRESS ---------- */
  #progress-bar{
    position:fixed; top:0; left:0; height:3px; width:0%;
    background:linear-gradient(90deg, var(--purple), var(--sky), var(--gold), var(--red));
    z-index:200; transition:width .08s linear;
  }

  /* ---------- SIDE RIBBON (desktop signature element) ---------- */
  #ribbon-rail{
    position:fixed; left:22px; top:50%; transform:translateY(-50%);
    width:8px; height:min(56vh,520px); z-index:60;
    border-radius:100px; overflow:hidden;
    background:rgba(0,28,95,0.08);
    display:none;
  }
  #ribbon-fill{
    position:absolute; left:0; bottom:0; width:100%; height:0%;
    border-radius:100px;
    background:linear-gradient(180deg, var(--red), var(--gold), var(--sky), var(--purple));
    box-shadow:0 0 18px rgba(0,167,227,0.55);
    transition:height .12s linear;
  }
  @media (min-width:1480px){ #ribbon-rail{ display:block; } }

  /* ---------- BACK TO TOP ---------- */
  #to-top{
    position:fixed; right:24px; bottom:24px; z-index:80;
    width:50px; height:50px; border-radius:50%;
    background:var(--navy); color:#fff; border:none; cursor:pointer;
    display:flex; align-items:center; justify-content:center;
    font-size:1.1rem;
    opacity:0; transform:translateY(16px) scale(.8); pointer-events:none;
    transition:opacity .3s ease, transform .3s ease, background .3s ease;
    box-shadow:0 14px 26px -8px rgba(0,28,95,0.55);
  }
  #to-top.show{opacity:1; transform:translateY(0) scale(1); pointer-events:auto;}
  #to-top:hover{background:var(--sky-deep);}

  /* ---------- NAV ---------- */
  header{
    position:sticky; top:0; z-index:50;
    background:rgba(251,248,241,0.9);
    backdrop-filter:blur(10px);
    border-bottom:1px solid var(--line);
    transition:padding .3s ease, box-shadow .3s ease;
  }
  header.shrink{box-shadow:0 8px 24px -16px rgba(0,28,95,0.4);}
  nav.wrap{
    display:flex; align-items:center; justify-content:space-between;
    padding-top:14px; padding-bottom:14px; transition:padding .3s ease;
  }
  header.shrink nav.wrap{padding-top:8px; padding-bottom:8px;}
  .brand{display:flex; align-items:center; gap:12px;}
  .brand img{height:88px; width:auto; transition:height .3s ease, transform .4s ease;}
  header.shrink .brand img{height:64px;}
  .brand:hover img{transform:rotate(-5deg) scale(1.05);}
  .nav-links{ display:flex; align-items:center; gap:34px; font-weight:600; font-size:0.92rem; }
  .nav-links a{position:relative; padding:4px 0; color:var(--navy);}
  .nav-links a::after{
    content:''; position:absolute; left:0; bottom:0; height:2px; width:0;
    background:linear-gradient(90deg, var(--sky), var(--purple)); transition:width .25s ease;
  }
  .nav-links a:hover::after{width:100%;}
  .btn{
    position:relative; display:inline-flex; align-items:center; gap:8px;
    padding:12px 24px; border-radius:100px; font-weight:700; font-size:0.92rem;
    cursor:pointer; border:none; overflow:hidden;
    transition:transform .15s ease, box-shadow .2s ease, background .2s ease;
  }
  .btn-primary{ background:var(--red); color:#fff; box-shadow:0 12px 24px -10px rgba(225,43,44,0.55); }
  .btn-primary:hover{ box-shadow:0 16px 30px -10px rgba(225,43,44,0.6); }
  .btn-ghost{ background:transparent; border:1.5px solid var(--navy); color:var(--navy); }
  .btn-ghost:hover{background:var(--navy); color:#fff;}
  .ripple{
    position:absolute; border-radius:50%; background:rgba(255,255,255,0.55);
    transform:scale(0); animation:ripple-anim .6s ease-out forwards; pointer-events:none;
  }
  @keyframes ripple-anim{ to{ transform:scale(2.6); opacity:0; } }

  .nav-cta{display:flex; align-items:center; gap:14px;}
  .menu-toggle{ display:none; background:none; border:none; cursor:pointer; width:32px; height:22px; position:relative; }
  .menu-toggle span{
    position:absolute; left:0; width:100%; height:2px; background:var(--navy);
    transition:transform .3s ease, opacity .3s ease, top .3s ease;
  }
  .menu-toggle span:nth-child(1){top:0;}
  .menu-toggle span:nth-child(2){top:10px;}
  .menu-toggle span:nth-child(3){top:20px;}
  .menu-toggle.open span:nth-child(1){top:10px; transform:rotate(45deg);}
  .menu-toggle.open span:nth-child(2){opacity:0;}
  .menu-toggle.open span:nth-child(3){top:10px; transform:rotate(-45deg);}

  .mobile-drawer{
    position:fixed; inset:0 0 0 auto; width:min(320px,80vw); height:100vh;
    background:var(--navy); z-index:150; transform:translateX(100%);
    transition:transform .4s cubic-bezier(.65,0,.35,1);
    display:flex; flex-direction:column; padding:100px 36px 40px; gap:24px;
  }
  .mobile-drawer.open{transform:translateX(0);}
  .mobile-drawer a{color:#fff; font-family:'Fraunces',serif; font-size:1.4rem; font-weight:500;}
  .drawer-backdrop{
    position:fixed; inset:0; background:rgba(0,28,95,0.5); z-index:140;
    opacity:0; pointer-events:none; transition:opacity .4s ease;
  }
  .drawer-backdrop.open{opacity:1; pointer-events:auto;}

  /* ---------- REVEAL ---------- */
  .reveal{
    opacity:0; transform:translateY(28px);
    transition:opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
    transition-delay:var(--d, 0ms);
  }
  .reveal.in-view{opacity:1; transform:translateY(0);}

  .reveal-clip{
    clip-path:inset(0 100% 0 0);
    transition:clip-path .9s cubic-bezier(.2,.7,.2,1);
    transition-delay:var(--d, 0ms);
  }
  .reveal-clip.in-view{ clip-path:inset(0 0 0 0); }

  /* ---------- HERO ---------- */
  .hero{
    position:relative; padding:80px 0 0; overflow:hidden;
    background:#ffffff;
  }
  .hero .mesh-bg, .hero .blob{ display:none; }
  .mesh-bg{
    position:absolute; inset:-10% -10% 0 -10%; height:120%; z-index:0;
    background:
      radial-gradient(circle at 15% 20%, rgba(100,36,137,0.38), transparent 45%),
      radial-gradient(circle at 85% 15%, rgba(241,166,1,0.38), transparent 42%),
      radial-gradient(circle at 75% 75%, rgba(0,167,227,0.36), transparent 48%),
      radial-gradient(circle at 20% 85%, rgba(225,43,44,0.30), transparent 42%);
    background-size:180% 180%;
    animation:mesh-drift 18s ease-in-out infinite;
  }
  @keyframes mesh-drift{
    0%,100%{ background-position:0% 0%, 100% 0%, 100% 100%, 0% 100%; }
    50%{ background-position:20% 15%, 80% 20%, 78% 82%, 18% 85%; }
  }
  .blob{ position:absolute; opacity:0.7; z-index:0; filter:blur(1px); animation:blob-morph 12s ease-in-out infinite; }
  .blob-1{ width:220px; height:220px; background:var(--sky); top:-40px; left:-50px; animation-delay:0s; }
  .blob-2{ width:170px; height:170px; background:var(--gold); top:140px; right:-50px; animation-delay:-4s; }
  .blob-3{ width:150px; height:150px; background:var(--purple); bottom:0px; left:38%; animation-delay:-8s; }
  @keyframes blob-morph{
    0%,100%{ border-radius:42% 58% 65% 35% / 45% 45% 55% 55%; transform:translate(0,0) rotate(0deg) scale(1); }
    33%{ border-radius:65% 35% 42% 58% / 55% 40% 60% 45%; transform:translate(24px,-22px) rotate(20deg) scale(1.08); }
    66%{ border-radius:35% 65% 55% 45% / 42% 60% 40% 58%; transform:translate(-18px,16px) rotate(-14deg) scale(0.94); }
  }

  .hero-grid{
    display:grid; grid-template-columns:1.15fr 0.85fr; gap:56px; align-items:center;
    position:relative; z-index:1; padding-bottom:60px;
  }
  .hero-eyebrow{color:var(--sky-deep); margin-bottom:14px; display:flex; align-items:center; gap:10px;}
  .hero-eyebrow::before{content:''; width:26px; height:2px; background:var(--gold);}

  .hero-tagline{
    font-family:'Fraunces',serif; font-style:italic; font-weight:500; font-size:1.05rem;
    margin-bottom:18px;
  }
  .hero-tagline span{ display:inline-block; }
  .hero-tagline .t1{color:var(--purple);}
  .hero-tagline .t2{color:var(--sky);}
  .hero-tagline .t3{color:var(--red);}
  .hero-tagline .t4{color:var(--gold-deep);}

  .hero h1{font-size:clamp(2.4rem, 4.6vw, 3.9rem); max-width:640px;}
  .hero h1 .word{display:inline-block; opacity:0; transform:translateY(24px) rotate(2deg); animation:word-in .7s cubic-bezier(.2,.7,.2,1) forwards;}
  .hero h1 em{ font-style:italic; background:linear-gradient(90deg, var(--purple), var(--sky)); -webkit-background-clip:text; background-clip:text; color:transparent; }
  @keyframes word-in{ to{ opacity:1; transform:translateY(0) rotate(0);} }
  .hero p.lede{ margin-top:22px; font-size:1.15rem; line-height:1.65; color:var(--navy-soft); max-width:520px; }
  .hero-actions{ margin-top:34px; display:flex; gap:16px; flex-wrap:wrap; }
  .hero-trust{ margin-top:42px; display:flex; gap:32px; flex-wrap:wrap; }
  .hero-trust div{border-left:2px solid var(--gold); padding-left:14px;}
  .hero-trust strong{display:block; font-family:'Fraunces',serif; font-size:1.6rem; color:var(--navy);}
  .hero-trust span{font-size:0.82rem; color:var(--navy-soft);}

  .hero-art{ position:relative; aspect-ratio:1/1.05; display:flex; align-items:center; justify-content:center; perspective:900px; }
  .hero-art .halo{
    position:absolute; inset:0;
    background:radial-gradient(circle at 55% 40%, rgba(0,167,227,0.22), transparent 60%);
    filter:blur(10px);
  }
  .hero-art .tilt-wrap{ position:relative; width:82%; transition:transform .15s ease-out; will-change:transform; }
  .hero-art img{ width:100%; filter:drop-shadow(0 30px 45px rgba(0,28,95,0.22)); animation:float 7s ease-in-out infinite; }
  @keyframes float{ 0%,100%{transform:translateY(0px);} 50%{transform:translateY(-14px);} }
  .orbit-dot{ position:absolute; border-radius:50%; animation:orbit 10s linear infinite; }
  .orbit-dot.od1{width:14px; height:14px; background:var(--red); top:8%; left:-4%; animation-duration:9s;}
  .orbit-dot.od2{width:10px; height:10px; background:var(--gold); bottom:14%; right:0%; animation-duration:12s; animation-direction:reverse;}
  .orbit-dot.od3{width:8px; height:8px; background:var(--purple); top:48%; right:-12px; animation-duration:7s;}
  @keyframes orbit{
    from{ transform:rotate(0deg) translateX(20px) rotate(0deg); }
    to{ transform:rotate(360deg) translateX(20px) rotate(-360deg); }
  }

  .ribbon-divider{ display:block; width:100%; height:auto; margin-top:10px; position:relative; z-index:1; }
  .ribbon-path{ stroke-dasharray:2000; stroke-dashoffset:2000; transition:stroke-dashoffset 1.4s ease; }
  .ribbon-path.in-view{ stroke-dashoffset:0; }

  /* ---------- MARQUEE ---------- */
  .marquee{ background:var(--navy); overflow:hidden; padding:16px 0; white-space:nowrap; position:relative; z-index:1; }
  .marquee-track{ display:inline-flex; animation:marquee 24s linear infinite; }
  .marquee:hover .marquee-track{ animation-play-state:paused; }
  .marquee-track span{
    font-family:'Fraunces',serif; font-style:italic; font-size:1.15rem; color:#fff;
    padding:0 28px; display:inline-flex; align-items:center; gap:28px;
  }
  .marquee-track span:nth-child(4n+1)::before{content:'●'; color:var(--purple); font-size:0.6rem;}
  .marquee-track span:nth-child(4n+2)::before{content:'●'; color:var(--sky); font-size:0.6rem;}
  .marquee-track span:nth-child(4n+3)::before{content:'●'; color:var(--gold); font-size:0.6rem;}
  .marquee-track span:nth-child(4n+4)::before{content:'●'; color:var(--red); font-size:0.6rem;}
  @keyframes marquee{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

  /* ---------- MISSION STRIP ---------- */
  .mission{ background:var(--navy); color:#fff; padding:56px 0; position:relative; overflow:hidden; }
  .mission .wrap{ display:grid; grid-template-columns:0.9fr 1.6fr; gap:48px; align-items:center; }
  .mission h2{color:#fff; font-size:1.9rem; font-weight:500;}
  .mission p{ color:#C9CEE0; font-size:1.05rem; line-height:1.7; }
  .mission .accent{color:var(--gold); font-style:italic;}

  /* ---------- CAUSES ---------- */
  .section{padding:100px 0; position:relative;}
  .section-head{ max-width:640px; margin-bottom:56px; }
  .section-head .eyebrow{color:var(--red); margin-bottom:14px;}
  .section-head h2{font-size:clamp(1.9rem, 3vw, 2.6rem); display:inline-block;}
  .section-head p{margin-top:16px; color:var(--navy-soft); font-size:1.05rem; line-height:1.6;}

  .causes-track{ position:relative; }
  .causes-thread{ position:absolute; top:64px; left:0; right:0; height:20px; z-index:0; overflow:visible; }
  .causes-grid{ display:grid; grid-template-columns:repeat(4, 1fr); gap:24px; position:relative; z-index:1; }
  .cause-card{
    position:relative;
    background:#fff; border-radius:20px; padding:30px 24px 26px;
    border:1px solid var(--line); box-shadow:var(--shadow);
    transition:transform .25s ease, box-shadow .25s ease;
    transform-style:preserve-3d; will-change:transform; overflow:hidden;
  }
  .cause-card::before{
    content:''; position:absolute; inset:0; opacity:0; pointer-events:none;
    background:radial-gradient(220px circle at var(--mx,50%) var(--my,50%), rgba(0,167,227,0.16), transparent 60%);
    transition:opacity .3s ease;
  }
  .cause-card:hover::before{opacity:1;}
  .cause-dot{
    width:52px; height:52px; border-radius:16px; display:flex; align-items:center; justify-content:center;
    margin-bottom:20px; font-family:'Fraunces',serif; font-size:1.3rem; color:#fff;
    transition:transform .35s cubic-bezier(.3,1.6,.5,1);
  }
  .cause-card:hover .cause-dot{ transform:rotate(-10deg) scale(1.12); }
  .cause-card h3{font-size:1.18rem; margin-bottom:10px; font-weight:600; position:relative;}
  .cause-card p{font-size:0.92rem; line-height:1.6; color:var(--navy-soft); position:relative;}
  .c-purple .cause-dot{background:var(--purple);}
  .c-gold .cause-dot{background:var(--gold);}
  .c-sky .cause-dot{background:var(--sky);}
  .c-red .cause-dot{background:var(--red);}

  /* ---------- IMPACT ---------- */
  .impact{ background:var(--cream-deep); padding:90px 0; position:relative; overflow:hidden; }
  .impact-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; text-align:center; }
  .impact-item strong{ display:block; font-family:'Fraunces',serif; font-size:clamp(2.2rem,4vw,3.1rem); font-weight:600; }
  .impact-item:nth-child(1) strong{color:var(--purple);}
  .impact-item:nth-child(2) strong{color:var(--sky-deep);}
  .impact-item:nth-child(3) strong{color:var(--gold-deep);}
  .impact-item:nth-child(4) strong{color:var(--red);}
  .impact-item span{ display:block; margin-top:8px; font-size:0.92rem; color:var(--navy-soft); }

  /* ---------- STATUS BANNER ---------- */
  .status-banner{
    display:flex; align-items:center; gap:14px;
    background:#fff; border:1px dashed var(--gold-deep); border-radius:16px;
    padding:18px 22px; margin-bottom:48px; max-width:760px;
  }
  .status-banner .dot{
    flex:none; width:10px; height:10px; border-radius:50%; background:var(--gold);
    box-shadow:0 0 0 0 rgba(241,166,1,0.6); animation:pulse-dot 2s ease-out infinite;
  }
  @keyframes pulse-dot{
    0%{ box-shadow:0 0 0 0 rgba(241,166,1,0.55);}
    70%{ box-shadow:0 0 0 10px rgba(241,166,1,0);}
    100%{ box-shadow:0 0 0 0 rgba(241,166,1,0);}
  }
  .status-banner p{ font-size:0.9rem; color:var(--navy-soft); line-height:1.5; }
  .status-banner strong{ color:var(--navy); }

  /* ---------- DONATION TIERS ---------- */
  .give{ padding:100px 0; }
  .give-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
  .tier{
    position:relative; border-radius:20px; padding:28px 22px;
    border:1px solid var(--line); background:#fff;
    display:flex; flex-direction:column; overflow:hidden;
    transition:border-color .25s ease, transform .25s ease, box-shadow .25s ease;
  }
  .tier:hover{transform:translateY(-6px); border-color:var(--sky); box-shadow:var(--shadow);}
  .tier .amount{ font-family:'Fraunces',serif; font-size:2rem; font-weight:600; }
  .tier .amount span{font-size:1rem; font-weight:500; color:var(--navy-soft);}
  .tier p{margin-top:12px; font-size:0.9rem; line-height:1.55; color:var(--navy-soft); flex-grow:1;}
  .tier .give-btn{
    position:relative; overflow:hidden; margin-top:20px; width:100%; padding:11px 0;
    border-radius:100px; border:1.5px solid var(--navy); background:transparent;
    font-weight:700; font-size:0.86rem; cursor:pointer;
    display:block; text-align:center; text-decoration:none; color:var(--navy);
    transition:background .2s ease, color .2s ease;
  }
  .tier .give-btn:hover{background:var(--navy); color:#fff;}
  .tier.featured{ background:var(--navy); border-color:var(--navy); }
  .tier.featured .amount, .tier.featured .amount span, .tier.featured p{color:#fff;}
  .tier.featured p{color:#C9CEE0;}
  .tier.featured .give-btn{ border-color:var(--gold); background:var(--gold); color:var(--navy); }
  .tier.featured .give-btn:hover{background:transparent; color:var(--gold);}
  .give-note{ text-align:center; margin-top:36px; color:var(--navy-soft); font-size:0.9rem; }
  .confetti-piece{ position:fixed; width:7px; height:7px; z-index:300; pointer-events:none; border-radius:2px; top:0; left:0; }

  /* ---------- STORY / QUOTE ---------- */
  .story{ background:var(--purple); color:#fff; padding:96px 0; position:relative; overflow:hidden; }
  .story .blob{ opacity:0.55; }
  .story .sblob-1{ width:380px; height:380px; background:var(--gold); top:-140px; right:-120px; }
  .story .sblob-2{ width:300px; height:300px; background:var(--sky); bottom:-140px; left:-100px; animation-direction:reverse; }
  .story-inner{ max-width:760px; position:relative; z-index:1; }
  .story-mark{ font-family:'Fraunces',serif; font-size:5rem; color:rgba(255,255,255,0.28); line-height:1; margin-bottom:-24px; }
  .story blockquote{
    font-family:'Fraunces',serif; font-size:clamp(1.5rem,2.6vw,2.15rem); font-weight:500; font-style:italic; line-height:1.4;
  }
  .story cite{ display:block; margin-top:26px; font-style:normal; font-family:'Manrope',sans-serif; font-weight:700; font-size:0.95rem; color:#F0DCF9; }
  .story cite span{ display:block; font-weight:500; color:#D7AEE7; margin-top:2px; font-size:0.85rem; }

  /* ---------- GET INVOLVED ---------- */
  .involve{padding:100px 0;}
  .involve-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
  .involve-card{
    padding:34px 28px; border-radius:20px; background:var(--cream-deep);
    border-top:4px solid var(--sky); transition:transform .3s ease, box-shadow .3s ease;
  }
  .involve-card:hover{ transform:translateY(-8px) rotate(-0.6deg); box-shadow:var(--shadow); }
  .involve-card:nth-child(2){border-top-color:var(--gold);}
  .involve-card:nth-child(3){border-top-color:var(--red);}
  .involve-card h3{font-size:1.2rem; margin-bottom:12px;}
  .involve-card p{color:var(--navy-soft); font-size:0.94rem; line-height:1.6; margin-bottom:18px;}
  .involve-card a{
    font-weight:700; font-size:0.88rem; color:var(--navy);
    display:inline-flex; align-items:center; gap:6px;
    border-bottom:2px solid var(--navy); padding-bottom:2px; transition:gap .2s ease;
  }
  .involve-card a:hover{ gap:12px; }

  /* ---------- NEWSLETTER / CTA ---------- */
  .cta-band{
    background:linear-gradient(120deg, var(--sky), var(--purple), var(--sky-deep));
    background-size:220% 220%; animation:gradient-shift 9s ease infinite;
    padding:64px 0; color:#fff; position:relative;
  }
  @keyframes gradient-shift{
    0%{background-position:0% 50%;} 50%{background-position:100% 50%;} 100%{background-position:0% 50%;}
  }
  .cta-band .wrap{ display:flex; align-items:center; justify-content:space-between; gap:30px; flex-wrap:wrap; }
  .cta-band h2{color:#fff; font-size:1.7rem; max-width:480px;}
  .cta-band form{ display:flex; gap:10px; flex-wrap:wrap; }
  .cta-band input[type="email"]{
    padding:13px 18px; border-radius:100px; border:none; min-width:260px;
    font-family:'Manrope',sans-serif; font-size:0.92rem;
  }
  .cta-band .btn-primary{background:var(--navy); box-shadow:none;}

  /* ---------- FOOTER ---------- */
  footer{ background:var(--navy); color:#C9CEE0; padding:70px 0 30px; }
  .footer-grid{
    display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px;
    padding-bottom:44px; border-bottom:2px solid transparent;
    border-image:linear-gradient(90deg, var(--purple), var(--sky), var(--gold), var(--red)) 1;
  }
  .footer-brand{
    display:flex; align-items:center; width:fit-content;
    background:#ffffff; border-radius:18px; padding:14px 22px;
    margin-bottom:20px;
  }
  .footer-brand img{height:108px; width:auto; display:block;}
  .footer-grid p.desc{font-size:0.9rem; line-height:1.6; max-width:290px;}
  .footer-col h4{ font-size:0.78rem; letter-spacing:0.14em; text-transform:uppercase; color:#fff; margin-bottom:16px; font-weight:700; }
  .footer-col a{
    display:block; font-size:0.9rem; margin-bottom:11px; color:#C9CEE0;
    transition:color .2s ease, transform .2s ease; transform-origin:left;
  }
  .footer-col a:hover{color:var(--gold); transform:translateX(4px);}
  .footer-bottom{
    padding-top:26px; display:flex; justify-content:space-between; align-items:center;
    flex-wrap:wrap; gap:14px; font-size:0.82rem; color:rgba(255,255,255,0.75);
  }
  .socials{display:flex; gap:14px;}
  .socials a{
    width:36px; height:36px; border-radius:50%; border:1px solid rgba(255,255,255,0.2);
    display:flex; align-items:center; justify-content:center; color:#fff; font-size:0.8rem;
    transition:transform .25s cubic-bezier(.3,1.6,.5,1), background .2s ease, border-color .2s ease;
  }
  .socials a:hover{background:var(--gold); border-color:var(--gold); color:var(--navy); transform:translateY(-4px) scale(1.08);}
  .footer-credit{
    text-align:center; margin-top:22px; padding-top:18px;
    border-top:2px solid transparent;
    border-image:linear-gradient(90deg, var(--purple), var(--sky), var(--gold), var(--red)) 1;
    font-size:0.78rem; color:rgba(255,255,255,0.7);
  }
  .footer-credit a{ color:var(--gold); font-weight:700; transition:color .2s ease; }
  .footer-credit a:hover{ color:var(--sky); }

  /* ---------- RESPONSIVE ---------- */
  @media (max-width:980px){
    .nav-links{display:none;}
    .menu-toggle{display:block;}
    .brand img{height:64px;}
    header.shrink .brand img{height:52px;}

    .hero{padding-top:56px;}
    .hero-grid{grid-template-columns:1fr; text-align:left; gap:32px; padding-bottom:40px;}
    .hero-art{order:-1; max-width:300px; margin:0 auto 12px;}
    .hero-actions{gap:12px;}

    .mission{padding:44px 0;}
    .mission .wrap{grid-template-columns:1fr; gap:18px;}

    .section{padding:64px 0;}
    .section-head{margin-bottom:36px;}

    .causes-grid{grid-template-columns:1fr 1fr; gap:18px;}
    .causes-thread{display:none;}

    .impact{padding:56px 0;}
    .impact-grid{grid-template-columns:1fr 1fr; gap:26px 18px;}

    .give{padding:64px 0;}
    .give-grid{grid-template-columns:1fr 1fr; gap:16px;}

    .story{padding:64px 0;}
    .involve{padding:64px 0;}
    .involve-grid{grid-template-columns:1fr; gap:18px;}

    .footer-grid{grid-template-columns:1fr 1fr; gap:32px 24px;}

    .cta-band{padding:48px 0;}
    .cta-band .wrap{flex-direction:column; align-items:flex-start; gap:20px;}
    .cta-band form{width:100%;}
    .cta-band input[type="email"]{flex:1 1 auto; min-width:0;}
  }

  @media (max-width:640px){
    .wrap{padding:0 20px;}
    nav.wrap{padding-top:12px; padding-bottom:12px;}
    .brand img{height:50px;}
    header.shrink .brand img{height:42px;}
    .nav-cta .btn{padding:10px 18px; font-size:0.84rem;}

    .hero{padding-top:44px;}
    .hero-eyebrow{font-size:0.64rem; letter-spacing:0.22em;}
    .hero-tagline{font-size:0.92rem;}
    .hero p.lede{font-size:1rem; margin-top:18px;}
    .hero-actions{flex-direction:column;}
    .hero-actions .btn{width:100%; justify-content:center;}
    .hero-trust{gap:16px 26px; margin-top:32px;}
    .hero-trust strong{font-size:1.35rem;}

    .marquee{padding:12px 0;}
    .marquee-track span{font-size:0.95rem; padding:0 18px;}

    .mission h2{font-size:1.5rem;}
    .mission p{font-size:0.96rem;}

    .causes-grid{grid-template-columns:1fr; gap:16px;}

    .impact-grid{grid-template-columns:1fr 1fr; gap:22px 14px;}
    .impact-item strong{font-size:clamp(1.8rem,8vw,2.3rem);}

    .give-grid{grid-template-columns:1fr; gap:14px;}
    .status-banner{flex-direction:column; align-items:flex-start; gap:10px; padding:16px 18px;}

    .story blockquote{font-size:clamp(1.25rem,6vw,1.6rem);}
    .story-mark{font-size:3.6rem;}

    .involve-grid{grid-template-columns:1fr;}

    .footer-grid{grid-template-columns:1fr; gap:32px; text-align:center;}
    .footer-brand{margin-left:auto; margin-right:auto;}
    .footer-grid p.desc{max-width:none; margin-left:auto; margin-right:auto;}
    .footer-col a{transform-origin:center;}
    .footer-col a:hover{transform:none;}
    .footer-bottom{flex-direction:column; text-align:center; gap:16px;}
    .socials{justify-content:center;}

    .cta-band h2{font-size:1.35rem;}
    .cta-band form{flex-direction:column; align-items:stretch;}
    .cta-band input[type="email"]{width:100%;}
  }

  @media (max-width:380px){
    .hero h1{font-size:1.7rem;}
    .brand img{height:44px;}
    .footer-brand img{height:82px;}
    .footer-brand{padding:12px 16px;}
    .impact-grid{grid-template-columns:1fr;}
  }
