

:root{
    --bg: #E9F0E6;           /* soft sage wash */
    --sage: #9DB89F;         /* mid sage */
    --deep-sage: #6E8F73;    /* muted evergreen */
    --ribbon: #E25555;       /* soft red (not harsh) */
    --ribbon-deep: #C94444;  /* deeper accent */
    --cream: #F7F3EC;        /* soft warm neutral */
    --ink: #1E1E1E;
    --evergreen: #0E2A20;
    --evergreen-2: #143628;
    --gold: #D9B46C;
    --gold-2: #CFA65A;
    --muted: rgba(255,255,255,.70);
    --border: rgba(255,255,255,.08);
  
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow: 0 18px 60px rgba(0,0,0,.10);

  --max: 1180px;
  --pad: clamp(18px, 2.8vw, 28px);
  --section: clamp(36px, 4vw, 64px);
}

*{ box-sizing: border-box; }
html, body{ height:100%; }
body{
  margin:0;
  background: #0F1A16;   /* deep pine-black */
  color: #F5F5F5;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x:hidden;
}

a{ color: inherit; text-decoration: none; }
.wrap{ max-width: var(--max); margin:0 auto; padding: 0 var(--pad); }

h1, h2, h3, .brand .name{
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  letter-spacing: -0.5px;
}

h2{
  font-size:.7rem;
}

/* top bar */
.topbar{
  position: sticky;
  top:0;
  z-index: 50;
  backdrop-filter: blur(10px);
    background: rgba(84, 144, 95, 0.548);
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  padding: 14px 0;
}
.brand{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width: 240px;
}
.brand .name{
  font-family: Fraunces, serif;
  font-weight: 650;
  letter-spacing: .2px;
  font-size: 16px;
  line-height: 1.15;
}
.brand .tag{
  font-size: 12px;
  color: var(--muted);
}

.site-logo{
  height: 150px;
  width: auto;
  display:block;
}

.brand{
  display:flex;
  flex-direction:column;
  gap:6px;
}

/* =========================
   HEADER LOGO
========================= */

.brand{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
}


.brand-text{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}

.brand .name{
  font-family:'Playfair Display', serif;
  font-weight:800;
  font-size:16px;
}

.brand .tag{
  font-size:12px;
  color:var(--muted);
}

/* mobile adjustment */
@media (max-width:820px){
  .site-logo{
    height:60px;
  }

  .brand .tag{
    display:none; /* keeps header tight on mobile */
  }
}
.nav{
  display:flex;
  align-items:center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content:flex-end;
}
.nav a{
  font-size: 13px;
  color: var(--gold);
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  border: 1px solid var(--gold);
}
.nav a:hover{
  border-color: var(--gold);
  background: var(--gold);
  color:#1E1E1E;
}

.mobile-toggle{
  display:none;
  width:44px;
  height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.1);
  background:#182C25;
  cursor:pointer;
  position:relative;
}

.mobile-toggle span{
  position:absolute;
  width:20px;
  height:2px;
  background: linear-gradient(90deg,#E25555,#C94444);
  left:50%;
  transform:translateX(-50%);
  transition:.3s ease;
}

.mobile-toggle span:nth-child(1){
  top:16px;
}

.mobile-toggle span:nth-child(2){
  bottom:16px;
}

.mobile-toggle.is-open span:nth-child(1){
  top:50%;
  transform:translate(-50%,-50%) rotate(45deg);
}

.mobile-toggle.is-open span:nth-child(2){
  bottom:auto;
  top:50%;
  transform:translate(-50%,-50%) rotate(-45deg);
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.7);
  font-weight: 600;
  font-size: 14px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-1px); box-shadow: 0 14px 38px rgba(0,0,0,.10); }
.btn.primary{
  background: linear-gradient(180deg, #E25555, #C94444);
  color: white;
  border: none;
  box-shadow: 0 12px 40px rgba(226,85,85,.35);
}

.btn.primary{
  animation: pulse 2.8s infinite;
}

@keyframes pulse{
  0%{ box-shadow: 0 12px 40px rgba(226,85,85,.35);}
  50%{ box-shadow: 0 18px 60px rgba(226,85,85,.55);}
  100%{ box-shadow: 0 12px 40px rgba(226,85,85,.35);}
}

.btn.primary:hover{ box-shadow: 0 22px 55px rgba(14,42,32,.30); }
.btn.gold{
  background: linear-gradient(180deg, var(--gold), var(--gold-2));
  border-color: #f8d291 1px solid;
  color: #292215da;
  box-shadow: 0 18px 44px rgba(217,180,108,.22);
}

/* =========================
   MOBILE NAV (IN HEADER)
========================= */

.header-actions{
  display:flex;
  align-items:center;
  gap:10px;
}

/* toggle button */
.mobile-toggle{
  display:none;
  width:44px;
  height:44px;
  border-radius:999px;
  border:1px solid var(--border);
  background:#182C25;
  cursor:pointer;
  padding:10px;
  position:relative;
}

.mobile-toggle span{
  display:block;
  height:3px;
  width:100%;
  border-radius:2px;
  background: linear-gradient(90deg, #E25555, #C94444);
  transition: transform .25s ease, opacity .2s ease;
}
.mobile-toggle span + span{ margin-top:6px; }

/* open -> X */
.mobile-toggle.is-open span:nth-child(1){ transform: translateY(9px) rotate(45deg); }
.mobile-toggle.is-open span:nth-child(2){ opacity:0; }
.mobile-toggle.is-open span:nth-child(3){ transform: translateY(-9px) rotate(-45deg); }

/* mobile menu panel (inside header) */
.mobile-menu{
  margin-top:12px;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.08);
  background: #14231E;
  box-shadow: 0 25px 80px rgba(0,0,0,.55);
  overflow:hidden;

  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height .35s ease, opacity .25s ease, transform .25s ease;
}

.mobile-menu.is-open{
  max-height: 520px;
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-nav{
  display:flex;
  flex-direction:column;
  padding: 16px;
  gap: 12px;
}

.mobile-menu-nav a{
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 22px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.03);
}

.mobile-menu-nav a:hover{
  border-color: rgba(226,85,85,.35);
  box-shadow: 0 10px 30px rgba(226,85,85,.12);
}

.mobile-menu-cta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  padding: 0 16px 16px 16px;
}

/* show toggle only on mobile, hide desktop nav */
@media (max-width: 820px){
  .nav{ display:none; }
  .mobile-toggle{ display:inline-flex; align-items:center; justify-content:center; }
}

/* hero */
.hero{
  position: relative;
  padding: calc(var(--section) * .8) 0 var(--section);
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(18px, 3vw, 34px);
  align-items: stretch;
}
.hero-card{
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,.08);
  min-height: 460px;
  background: #0b1a14;
}
.hero-card .media{
  position:absolute; inset:0;
  background: url("/assets/gift2.jpg") center/cover no-repeat;
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.02);
}


.hero-card .overlay{
  position:absolute; inset:0;
  background:
    linear-gradient(120deg, rgba(14, 42, 32, 0), rgba(14, 42, 32, 0.596) 55%, rgba(14,42,32,.45));
}
.hero-card .content{
  position:relative;
  padding: clamp(22px, 3.2vw, 34px);
  height: 100%;
  display:flex;
  flex-direction:column;
  justify-content: flex-end;
  gap: 12px;
  color: #fff;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing:.2px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  width: fit-content;
  backdrop-filter: blur(8px);
}
.hero h1{
  margin: 0;
  font-family: Fraunces, serif;
  font-weight: 700;
  letter-spacing: .2px;
  line-height: 1.05;
    font-size: clamp(40px, 5vw, 45px);
}
.hero p.lede{
  margin: 0;
  color: rgba(255,255,255,.88);
  font-size: clamp(14.5px, 1.5vw, 17px);
  max-width: 52ch;
}
.hero-actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hero-side{
  display:flex;
  flex-direction:column;
  gap: 14px;
}
.side-card{
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(0,0,0,.06);
  padding: 18px 18px;
}
.side-card{
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(14,42,32,.92), rgba(14,42,32,.86));
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 22px 60px rgba(14,42,32,.22);
  padding: 18px;
  color:#fff;
  position: relative;
  overflow:hidden;
}
.side-card:before{
  content:"";
  position:absolute; inset:-40px -60px auto auto;
  width: 220px; height: 100px;
  background: radial-gradient(circle at 50% 20%, rgba(217,180,108,.55), transparent 60%);
  transform: rotate(12deg);
  opacity:.75;
  pointer-events:none;
}

.side-card h3{
  margin: 0 0 6px;
  font-family: Fraunces, serif;
  font-weight: 650;
  font-size: 18px;
  letter-spacing:.2px;
}
.side-card p{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.donate-box{
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(14,42,32,.92), rgba(14,42,32,.86));
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 22px 60px rgba(14,42,32,.22);
  padding: 18px;
  color:#fff;
  position: relative;
  overflow:hidden;
}
.donate-box:before{
  content:"";
  position:absolute; inset:-40px -60px auto auto;
  width: 220px; height: 220px;
  background: radial-gradient(circle at 50% 30%, rgba(217,180,108,.55), transparent 60%);
  transform: rotate(12deg);
  opacity:.75;
  pointer-events:none;
}
.donate-box h3{
  margin: 0 0 6px;
  font-family: Fraunces, serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing:.2px;
  position: relative;
}
.donate-box p{
  margin: 0 0 12px;
  color: rgba(255,255,255,.84);
  font-size: 13.5px;
  position: relative;
}
.donate-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
}
.btn.light{
  background: rgba(255,255,255,.12);
  color:#fff;
  border-color: rgba(255,255,255,.18);
  box-shadow: none;
}
.btn.light:hover{ background: rgba(255,255,255,.16); }

/* sections */
section{
  border-top: 1px solid rgba(110,143,115,.2);
  padding: 40px 0;
}
.section-head{
  display:flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 18px;
}
h2{
  margin: 0;
  font-family: Fraunces, serif;
  font-weight: 700;
  letter-spacing: .2px;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.12;
}
.sub{
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
  font-size: 14.5px;
}

.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.card{
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(0,0,0,.05);
  padding: 18px;
  min-height: 170px;
  background: linear-gradient(180deg, rgba(14,42,32,.92), rgba(14,42,32,.86));
}
.card h3{
  margin: 0 0 8px;
  font-family: Fraunces, serif;
  font-weight: 650;
  font-size: 18px;
  letter-spacing:.2px;
}
.card p{
  margin:0;
  color: var(--muted);
  font-size: 14px;
}

.impact{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: stretch;
}
.stat{
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(0,0,0,.05);
  padding: 18px;
  display:flex;
  align-items:flex-end;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(180deg, rgba(14,42,32,.92), rgba(14,42,32,.86));
}
.stat strong{
  display:block;
  font-family: Fraunces, serif;
  font-size: 28px;
  letter-spacing:.2px;
  line-height:1;
}
.stat span{
  display:block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px;
}

.donate-section{
  border-radius: calc(var(--radius-lg) + 8px);

  padding: clamp(18px, 3vw, 28px);
  overflow:hidden;
  position: relative;
}

.donate-section{
  background: #14231E;
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 25px 80px rgba(0,0,0,.5);
}
.donate-section .row{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items: start;
}
.donate-section .note{
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 10px;
}
.handles{
  display:flex;
  flex-direction:column;
  gap: 10px;
  margin-top: 10px;
}
.handle{
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 12px 14px;
  font-size: 14px;
  display:flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.handle code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  background: rgba(0,0,0,.06);
  padding: 3px 8px;
  border-radius: 999px;
}

/* gallery */
.gallery{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}
.ph{
  border-radius: var(--radius-lg);
  overflow:hidden;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 16px 50px rgba(0,0,0,.08);
  background: #e9e2d6;
  position: relative;
  min-height: 220px;
}
.ph img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
  transform: scale(1.01);
}
.ph:after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.18));
  pointer-events:none;
  opacity:.65;
}
.ph.one{ grid-column: span 7; }
.ph.two{ grid-column: span 5; }
.ph.three{ grid-column: span 4; }
.ph.four{ grid-column: span 4; }
.ph.five{ grid-column: span 4; }

/* footer */
footer{
  padding: calc(var(--section) * .8) 0;
}

footer{
  background: #0F1A16;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-inner{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 16px;
  align-items: start;
}
.footer-inner h3{
  margin:0 0 10px;
  font-family: Fraunces, serif;
  font-weight: 700;
  letter-spacing:.2px;
  font-size: 22px;
}
.footer-inner p{
  margin:0;
  color: var(--muted);
  max-width: 64ch;
  font-size: 14.5px;
}
.fineprint{
  margin-top: 14px;
  font-size: 12.5px;
  color: rgba(18,18,18,.62);
}

/* =========================
   FOOTER REBUILD
========================= */

.site-footer{
  background:#0F1A16;
  border-top:1px solid rgba(255,255,255,.08);
  padding:60px 0 30px;
}

.footer-grid{
  display:grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap:40px;
  align-items:start;
}

.footer-about h3{
  margin:0 0 12px;
  font-size:18px;
}

.footer-about p{
  color:rgba(255,255,255,.70);
  max-width:420px;
  font-size:14px;
}

.footer-buttons{
  margin-top:18px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.footer-nav h4,
.footer-social h4{
  margin-bottom:12px;
  font-size:14px;
  text-transform:uppercase;
  letter-spacing:1px;
  color:rgba(255,255,255,.60);
}

.footer-nav nav{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.footer-nav a{
  color:#fff;
  font-size:14px;
  opacity:.85;
  transition:.2s;
}

.footer-nav a:hover{
  opacity:1;
  transform:translateX(3px);
}

.social-icons{
  display:flex;
  gap:14px;
}

.social-icons a{
  width:36px;
  height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#182C25;
  border:1px solid rgba(255,255,255,.08);
  transition:.2s ease;
}

.social-icons a:hover{
  background:#E25555;
  transform:translateY(-3px);
}

.social-icons svg{
  width:16px;
  height:16px;
}

.footer-bottom{
  margin-top:40px;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.06);
  text-align:center;
  font-size:12px;
  color:rgba(255,255,255,.50);
}

/* =========================
   FOOTER SIGNUP
========================= */

.footer-signup p{
  font-size:14px;
  color:rgba(255,255,255,.65);
  margin-bottom:14px;
}

.signup-form{
  display:flex;
  gap:10px;
}

.signup-form input{
  flex:1;
  padding:12px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:#182C25;
  color:#fff;
  font-size:14px;
  outline:none;
  transition:.2s ease;
}

.signup-form input:focus{
  border-color:#E25555;
  box-shadow:0 0 0 2px rgba(226,85,85,.2);
}

@media (max-width:900px){
  .footer-grid{
    grid-template-columns:1fr;
    gap:30px;
  }

  .signup-form{
    flex-direction:column;
  }

  .signup-form .btn{
    width:100%;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

h2 {
    font-size:.8rem;
}
  .hero-card .content{
    justify-content: start;

  }
}

/* Responsive */

@media (max-width:900px){
  .footer-grid{
    grid-template-columns:1fr;
    gap:30px;
  }

  .footer-buttons{
    justify-content:flex-start;
  }
}

/* fade-in on scroll */
.reveal{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* snow canvas (subtle) */
#snow{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 5;
    opacity: .55;
    mix-blend-mode: normal;
  }


  


/* responsive */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-card{ min-height: 350px; }
  .donate-section .row{ grid-template-columns: 1fr; }
  .footer-inner{ grid-template-columns: 1fr; }
}
@media (max-width: 820px){
  .grid-3{ grid-template-columns: 1fr; }
  .impact{ grid-template-columns: 1fr; }
  .ph.one, .ph.two, .ph.three, .ph.four, .ph.five{ grid-column: span 12; }
  .brand{ min-width: unset; }
  .nav{ display:none; } /* keep simple; can add mobile menu later */
}

.site-logo{
  height:100px;
  filter: drop-shadow(0 4px 12px rgba(217,180,108,.35));
}

section{
  position: relative;
  overflow: hidden;
}

section::before{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(circle at 50% 0%, rgba(226,85,85,.08), transparent 60%);
  opacity:0;
  transition: opacity .6s ease;
}

section.is-visible::before{
  opacity:1;
}
/* =========================
   HEADING RIBBON POP
========================= */

.ribbon-title{
  position: relative;
  display:inline-block;
}

.ribbon-title::before{
  content:"";
  position:absolute;
  left:-12px;
  bottom:6px;
  width:110%;
  height:12px;
  background: linear-gradient(90deg,#E25555,#C94444);
  z-index:-1;
  border-radius:4px;
  opacity:.35;
}

