/* ─── Self-hosted fonts (latin subset of Google Fonts: Playfair Display, Poppins, Urbanist; SIL OFL) ─── */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/playfair-display-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/playfair-display.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/poppins-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/poppins-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/poppins-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/poppins-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../assets/fonts/urbanist.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ─── Design Tokens ─── */
:root {
  --brown:         #603916;
  --cream:         #FFF3EA;
  --gold:          #F59F00;
  --text-on-brown: #FFF3EA;
  --text-on-cream: #603916;
  --radius-sm:     8px;
  --radius-md:     16px;
  --radius-lg:     24px;
  --radius-pill:   999px;

  /* Type scale — mirrors Framer presets exactly (desktop >=1200px) */
  --fs-hero:   91px;   /* hero display   */
  --fs-h1:     85px;   /* section H1     */
  --fs-h2:     62px;   /* section H2     */
  --fs-h3:     51px;   /* newsletter H2  */
  --fs-h4:     32px;   /* card titles    */
  --fs-h5:     21px;
  --fs-body:   16px;
  --fs-btn:    18px;
  --fs-small:  14px;
}

/* Tablet: 810–1199px — Framer overrides ONLY these; h2/h3/h4 stay at desktop size */
@media (max-width: 1199px) and (min-width: 810px) {
  :root {
    --fs-hero: 75px;   /* inferred: follows h1 ratio (hero is inline-styled in Framer) */
    --fs-h1:   70px;   /* verified */
    --fs-btn:  18px;   /* verified */
    --fs-small: 14px;  /* verified */
  }
}

/* Mobile: <=809px */
@media (max-width: 809px) {
  :root {
    --fs-hero: 43px;   /* inferred: follows h1 ratio */
    --fs-h1:   40px;   /* verified */
    --fs-btn:  16px;   /* verified */
    --fs-small: 13px;  /* verified */
    /* Framer leaves h2/h3/h4 at desktop px here; clamped to avoid overflow on
       narrow screens since our container padding differs slightly. */
    --fs-h2:   clamp(34px, 11vw, 62px);
    --fs-h3:   clamp(30px, 9vw, 51px);
    --fs-h4:   clamp(24px, 7vw, 32px);
  }
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { font-family: 'Poppins', sans-serif; background: var(--brown); color: var(--text-on-brown); overflow-x: hidden; }
img   { max-width: 100%; display: block; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }

/* ─── Typography base ─── */
/* Framer preset: 700 weight, -.06em tracking, .9em leading */
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 0.9; font-weight: 700; letter-spacing: -0.06em; }
p               { line-height: 1.625; letter-spacing: 0.04em; }

/* ─── Layout ─── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;   /* top-align text with image, matching Framer */
}

/* ─── Per-section content widths (mirrors Framer) ─────────────────
   Framer sizes each section's content as a % of viewport rather than
   using one shared container. Ratios below are measured from the live
   site; max-width caps stop them growing indefinitely on ultrawide.
   Applies at desktop only — tablet/mobile fall back to the fluid
   container in the responsive block at the end of this file.        */
@media (min-width: 1200px) {
  .hero-section      > .container { width: 80%;   max-width: 1420px; padding: 0; }
  .about-section     > .container { width: 69%;   max-width: 1180px; padding: 0; }
  .founder-section   > .container { width: 56%;   max-width: 952px;  padding: 0; }
  .impact-section    > .container { width: 62%;   max-width: 1056px; padding: 0; }
  .volunteer-section > .container { width: 72%;   max-width: 1225px; padding: 0; }

  /* Full-bleed sections: 100% minus Framer's 40px side padding */
  .causes-section    > .container,
  .support-section   > .container,
  .blogs-section     > .container { width: 100%; max-width: none; padding: 0 40px; }
}

/* ─── Section bases ─── */
.section-brown { background: var(--brown); color: var(--text-on-brown); padding: 72px 0; }
.section-cream  { background: var(--cream);  color: var(--text-on-cream); padding: 72px 0; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 35px;
  font-family: 'Poppins', sans-serif;
  font-size: var(--fs-btn);
  font-weight: 700;
  line-height: 1.444;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
              background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.btn-gold {
  background: var(--gold);
  color: #FFFFFF;
  border-color: var(--gold);
}

.btn-gold:hover {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

/* ─── Arrow slide-out / slide-in animation ─── */
.btn-arrow {
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}

.btn:hover .btn-arrow {
  animation: arrow-loop 0.45s ease forwards;
}

@keyframes arrow-loop {
  0%   { transform: translate(0, 0);       opacity: 1; }
  45%  { transform: translate(10px, -10px); opacity: 0; }
  46%  { transform: translate(-10px, 10px); opacity: 0; }
  100% { transform: translate(0, 0);       opacity: 1; }
}

/* ─── Inline gold highlight (reusable) ─── */
.hl { color: var(--gold); font-weight: 600; }

/* ─── Section Images ─── */
.section-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}

/* ─── Image Placeholders ─── */
.img-placeholder {
  background: rgba(255, 243, 234, 0.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 243, 234, 0.3);
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.img-placeholder.cream-ctx {
  background: rgba(96, 57, 22, 0.1);
  color: rgba(96, 57, 22, 0.3);
}

/* ─── NAVBAR ─── */
.navbar {
  background: var(--brown);
  height: 74px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 243, 234, 0.08);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
}

.nav-logo-img {
  height: 37px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 54px;
}

.nav-links a {
  font-family: 'Urbanist', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #FFFFFF;
}

/* Roll-up hover: two stacked copies, block slides up one line on hover */
.nav-roll-link {
  display: inline-block;
  overflow: hidden;
  height: 1.5em;
  line-height: 1.5;
  vertical-align: middle;
}

.nav-roll {
  display: flex;
  flex-direction: column;
  transition: transform 0.45s cubic-bezier(0.44, 0, 0.56, 1);
}

.nav-roll span {
  display: block;
  height: 1.5em;
}

.nav-roll-link:hover .nav-roll,
.nav-roll-link:focus-visible .nav-roll { transform: translateY(-1.5em); }

.nav-roll-link.active { opacity: 0.75; }

.nav-cta {
  background: var(--gold);
  color: #FFFFFF;
  padding: 8px 27px;
  border-radius: 24px;
  font-size: 1rem;
  font-weight: 500;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  color: #FFFFFF;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-on-brown);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--brown);
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  border-top: 1px solid rgba(255, 243, 234, 0.1);
  padding: 12px 0 20px;
  z-index: 999;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  padding: 12px 48px;
  font-size: 0.95rem;
  color: var(--text-on-brown);
  transition: color 0.2s;
}

.nav-mobile a:hover { color: var(--gold); }
.nav-mobile .nav-cta { margin: 12px 48px 0; text-align: center; display: block; }

/* ─── HERO ─── */
.hero-section { padding: 173px 0 0; }

.hero-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 76px;
  text-align: left;
}

.hero-logo-icon {
  width: 187px;
  height: auto;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
}

.hero-heading {
  font-size: var(--fs-hero);
  font-weight: 600;
  color: var(--text-on-brown);
  line-height: 0.86;
  letter-spacing: -0.077em;
}

.hero-heading em {
  font-style: italic;
  font-weight: 600;
}

.hero-cta-wrap {
  text-align: center;
  margin-bottom: 76px;
}

.hero-img {
  width: 100%;
  aspect-ratio: 1062 / 523;
  border-radius: 13px;
}

/* ─── ABOUT US ─── */
.about-section { padding: 62px 0; }

.about-heading {
  font-size: var(--fs-h1);
  margin-bottom: 20px;
}

.about-text {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.625;
  color: var(--text-on-brown);
  margin-bottom: 28px;
}

.about-img {
  aspect-ratio: 7 / 10;
  min-height: 320px;
}

/* ─── FOUNDER'S NOTE ─── */
.founder-section { padding: 33px 0; }

.founder-heading {
  font-size: var(--fs-h1);
  margin-bottom: 20px;
}

.founder-text {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.625;
  color: rgb(23, 7, 34);
  margin-bottom: 24px;
}

.founder-attribution {
  margin-top: 18px;
  font-size: 0.8rem;
  color: rgba(96, 57, 22, 0.5);
  font-weight: 500;
}

.founder-img {
  width: 75%;
  margin-left: auto;
  aspect-ratio: 7 / 10;    /* Framer founder photo is portrait (~0.69) */
  height: auto;            /* override .section-img height:100% */
}

/* ─── CREATING LASTING IMPACT ─── */
.impact-section { padding: 83px 0 82px; }

.impact-heading {
  font-size: var(--fs-h1);
  margin-bottom: 20px;
}

.impact-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 243, 234, 0.9);
  border-left: 3px solid var(--gold);
  padding-left: 18px;
  margin-bottom: 28px;
}

.impact-attribution {
  margin-top: 18px;
  font-size: 0.8rem;
  color: rgba(255, 243, 234, 0.52);
  line-height: 1.6;
}

.impact-img {
  aspect-ratio: 3 / 4;
  max-height: 360px;
}

/* ─── BECOME A VOLUNTEER ─── */
.volunteer-section { padding: 54px 0; }

.volunteer-heading {
  font-size: var(--fs-h1);
  margin-bottom: 20px;
}

.volunteer-text {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.625;
  color: rgb(23, 7, 34);
  margin-bottom: 28px;
}

.volunteer-text .highlight {
  color: var(--brown);
  font-weight: 600;
}

.volunteer-img {
  aspect-ratio: 21 / 20;
  min-height: 260px;
}

/* ─── OUR KEY CAUSES ─── */
.causes-section { text-align: center; padding: 104px 0; }

.causes-heading {
  font-size: var(--fs-h1);
  margin-bottom: 52px;
}

.causes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: left;
}

/* Cards use the shared .cp-cause-card styles (Causes page section) */

/* ─── WE ARE HERE FOR YOUR SUPPORT ─── */
.support-section { padding: 55px 0 32px; }

.support-heading {
  font-size: var(--fs-h1);
  text-align: center;
  margin-bottom: 40px;
}

.support-img {
  width: 100%;
  aspect-ratio: 16 / 6.5;
}

/* ─── BLOGS ─── */
.blogs-section { text-align: center; padding: 40px 0; }

.blogs-heading {
  font-size: var(--fs-h1);
  margin-bottom: 48px;
}

.blogs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  text-align: left;
  align-items: start;
  margin-bottom: 43px;
}

.blog-card {
  display: flex;
  flex-direction: column;
}

.blog-img {
  width: 100%;
  height: auto;            /* override .section-img height:100% so aspect-ratio governs */
  aspect-ratio: 4 / 3;
  margin-bottom: 14px;
}

.blog-date {
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 8px;
}

.blog-title {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
}

/* ─── QUOTE ─── */
.quote-section { padding: 72px 0; text-align: center; }

.quote-logo {
  width: 68px;
  height: 68px;
  margin: 0 auto 32px;
  border-radius: 50%;
  object-fit: cover;
}

.quote-text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: var(--fs-h5);
  color: var(--text-on-brown);
  max-width: 680px;
  margin: 0 auto 16px;
  line-height: 1.65;
}

.quote-attribution {
  font-size: 0.82rem;
  color: rgba(255, 243, 234, 0.6);
}

/* ─── GALLERY MARQUEE ─── */
.gallery-section { padding: 0 0 80px; overflow: hidden; }

.gallery-marquee {
  width: 100%;
  overflow: hidden;
}

.gallery-track {
  display: flex;
  width: max-content;
  animation: gallery-scroll 55s linear infinite;
}

/* pause on hover */
.gallery-marquee:hover .gallery-track { animation-play-state: paused; }

.gallery-img {
  height: 420px;
  width: auto;
  flex-shrink: 0;
  margin-right: 20px;        /* margin (not gap) so -50% lands exactly on the loop seam */
  object-fit: cover;
  border-radius: 17px;
  display: block;
}

/* moves left → right; second (duplicate) half makes the loop seamless */
@keyframes gallery-scroll {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-track { animation: none; }
}

/* ─── NEWSLETTER ─── */
.newsletter-section { padding: 49px 0; }

.newsletter-card {
  background: var(--brown);
  border-radius: 18px;
  padding: 64px;
  max-width: 890px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-heading {
  font-size: var(--fs-h3);
  color: var(--text-on-brown);
  margin-bottom: 10px;
}

.newsletter-sub {
  font-size: 0.84rem;
  color: var(--gold);
  margin-bottom: 28px;
}

.newsletter-form {
  display: flex;
  max-width: 440px;
  margin: 0 auto;
}

.newsletter-input {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: var(--radius-pill) 0 0 var(--radius-pill);
  background: rgba(255, 243, 234, 0.12);
  color: var(--text-on-brown);
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  outline: none;
  transition: background 0.2s;
}

.newsletter-input::placeholder { color: rgba(255, 243, 234, 0.4); }
.newsletter-input:focus { background: rgba(255, 243, 234, 0.18); }

.newsletter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
  background: var(--gold);
  color: var(--brown);
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  transition: filter 0.2s;
}

.newsletter-btn:hover { filter: brightness(1.08); }

/* ─── FOOTER ─── */
.footer {
  background: var(--brown);
  color: var(--text-on-brown);
  padding: 64px 48px 28px;
  border-top: 1px solid rgba(255, 243, 234, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.6fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto 40px;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.footer-logo-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  margin-right: 14px;
  flex-shrink: 0;
}

.footer-logo-img {
  height: 68px;
  width: auto;
  display: block;
}

.footer-tagline {
  font-size: 0.8rem;
  color: rgba(255, 243, 234, 0.6);
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 210px;
}

.footer-socials { display: flex; gap: 10px; }

.footer-socials a {
  width: 36px;
  height: 36px;
  background: rgba(255, 243, 234, 0.12);
  border: 1px solid rgba(255, 243, 234, 0.25);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 600;
  transition: border-color 0.2s, color 0.2s;
}

.footer-socials a:hover { border-color: var(--gold); color: var(--gold); }

.footer-col h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

.footer-col ul { display: flex; flex-direction: column; gap: 11px; }

.footer-col ul a {
  font-size: 0.8rem;
  color: rgba(255, 243, 234, 0.6);
  transition: color 0.2s;
}

.footer-col ul a:hover { color: var(--gold); }

.footer-addr-items { display: flex; flex-direction: column; gap: 12px; }

.footer-addr-item {
  display: flex;
  gap: 10px;
  font-size: 0.8rem;
  color: rgba(255, 243, 234, 0.6);
  line-height: 1.5;
}

.footer-addr-item .ico { flex-shrink: 0; display: flex; color: var(--text-on-brown); }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 243, 234, 0.1);
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 243, 234, 0.36);
}

/* ════════════════════════════════════════════════════
   ABOUT US PAGE
   ════════════════════════════════════════════════════ */

/* ─── Hero ─── */
.aup-hero-section { padding: 88px 0; }

.aup-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
}

.aup-hero-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: var(--fs-h1);
  line-height: 0.9;
  color: var(--brown);
}

.aup-hero-title span { display: block; }

.aup-hero-subheading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4.5vw, 3.125rem);   /* 50px desktop */
  font-style: normal;                         /* upright, matching Framer */
  font-weight: 700;
  letter-spacing: -0.06em;
  color: var(--brown);
  margin-bottom: 18px;
}

.aup-hero-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;                            /* 16px */
  font-weight: 500;
  line-height: 1.625;
  letter-spacing: 0.04em;
  color: rgb(23, 7, 34);
  margin-bottom: 32px;
}

.aup-hero-text strong { font-weight: 700; color: rgb(23, 7, 34); }

.aup-stats {
  display: flex;
  gap: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(96, 57, 22, 0.15);
}

.aup-stat-number {
  font-family: 'Poppins', sans-serif;         /* Framer uses sans-serif, not serif */
  font-size: 2.625rem;                         /* 42px */
  font-weight: 700;
  color: rgb(29, 15, 2);
}

.aup-stat-label {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;                             /* 16px */
  font-weight: 500;
  color: rgb(23, 7, 34);
  margin-top: 4px;
}

/* ─── Creating Lasting Impact ─── */
.aup-impact-section { padding: 80px 0; }

.aup-impact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.aup-impact-image {
  aspect-ratio: 3 / 4;
  min-height: 320px;
}

.aup-impact-heading {
  font-size: var(--fs-h4);
  color: var(--text-on-brown);
  margin-bottom: 28px;
}

.aup-impact-subheading {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 14px;
}

.aup-impact-text {
  font-size: 0.875rem;
  line-height: 1.8;
  color: rgba(255, 243, 234, 0.78);
  margin-bottom: 28px;
}

/* ─── Join Us (overlapping card) — full-bleed photo, card floats over left ─── */
.aup-join-section { padding: 60px 0; }

/* break out of the container to span the full viewport width, like Framer */
.aup-join-wrap {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.aup-join-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1319 / 875;   /* Framer's ratio */
  object-fit: cover;
  border-radius: 0;
  opacity: 0.65;               /* muted/tinted against the brown section bg, per your screenshot */
  display: block;
}

.aup-join-card {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  background: var(--cream);
  color: var(--text-on-cream);
  border-radius: 12px;
  padding: 64px;
  width: 640px;
  max-width: calc(90% - 40px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
}

.aup-join-heading {
  font-size: 1.75rem;
  margin-bottom: 14px;
}

.aup-join-text {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(96, 57, 22, 0.78);
  margin-bottom: 22px;
}

/* ─── Quote ─── */
.aup-quote-section { padding: 80px 0; text-align: center; }

.aup-quote-text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: var(--fs-h4);
  color: var(--brown);
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ─── Fact / Myth two column ─── */
.aup-factmyth-section { padding: 80px 0; }

.aup-factmyth-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.aup-factmyth-image {
  aspect-ratio: 4 / 3;
  min-height: 280px;
}

.aup-factmyth-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.aup-factmyth-block {
  display: flex;
  gap: 18px;
}

.aup-factmyth-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--brown);
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aup-factmyth-text {
  font-size: 0.875rem;
  line-height: 1.8;
  color: rgba(96, 57, 22, 0.78);
}

/* ─── Dedicated Volunteers ─── */
.aup-volunteers-section { text-align: center; padding: 80px 0; }

.aup-volunteers-heading {
  font-size: var(--fs-h2);
  color: var(--brown);
  margin-bottom: 52px;
}

.aup-volunteers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}

.aup-volunteer-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(96, 57, 22, 0.06);
  border: 1px solid rgba(96, 57, 22, 0.12);
}

.aup-volunteer-img {
  aspect-ratio: 1 / 1.06;
  height: auto;
  width: 100%;
  border-radius: 0;
}

.aup-volunteer-info {
  background: var(--gold);
  padding: 16px 18px;
  text-align: left;
}

.aup-volunteer-name {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brown);
}

.aup-volunteer-role {
  font-size: 0.75rem;
  color: rgba(96, 57, 22, 0.75);
  margin-top: 2px;
}

/* ─── Vision marquee ─── */
.aup-vision-section {
  padding: 60px 0;
  text-align: center;
  overflow: hidden;
}

.aup-vision-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-bottom: 12px;
}

.aup-vision-decor {
  color: var(--gold);
  font-size: 1.6rem;
  flex-shrink: 0;
}

.aup-vision-marquee {
  overflow: hidden;
  width: 100%;
}

.aup-vision-track {
  display: flex;
  width: max-content;
  animation: aup-marquee 22s linear infinite;
}

.aup-vision-track span {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: var(--fs-h2);
  color: var(--brown);
  white-space: nowrap;
  padding: 0 28px;
}

@keyframes aup-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .aup-vision-track { animation: none; }
}

/* ════════════════════════════════════════════════════
   VOLUNTEERS PAGE
   ════════════════════════════════════════════════════ */

/* ─── Hero ─── */
.vp-hero-section { padding: 88px 0; }

.vp-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.vp-hero-heading {
  font-size: var(--fs-h1);
  color: var(--brown);
  margin-bottom: 18px;
}

.vp-hero-text {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(96, 57, 22, 0.78);
  max-width: 380px;
}

.vp-hero-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(96, 57, 22, 0.06);
  position: relative;
}

.vp-hero-img {
  aspect-ratio: 3 / 4;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;    /* flat edges — card's overflow:hidden rounds the outer corners */
}

.vp-hero-info {
  background: var(--gold);
  padding: 16px 20px;
  text-align: left;
}

.vp-hero-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--brown);
}

.vp-hero-role {
  font-size: 0.78rem;
  color: rgba(96, 57, 22, 0.75);
  margin-top: 2px;
}

/* ─── Dedicated Volunteers ─── */
.vp-dedicated-section { text-align: center; padding: 80px 0; }

.vp-dedicated-heading {
  font-size: var(--fs-h2);
  color: var(--brown);
  margin-bottom: 52px;
}

.vp-volunteers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: left;
  align-items: start;
}

.vp-volunteer-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(96, 57, 22, 0.06);
  border: 1px solid rgba(96, 57, 22, 0.12);
  position: relative;
}

.vp-volunteer-img {
  aspect-ratio: 1 / 1.06;
  height: auto;             /* override .section-img height:100% so aspect-ratio governs */
  display: block;
  width: 100%;
  border-radius: 0;         /* flat edges — card's overflow:hidden rounds the outer corners */
}

/* Resting band — name + role at the bottom */
.vp-volunteer-info {
  background: var(--gold);
  padding: 16px 18px;
  text-align: center;
}

.vp-volunteer-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brown);
}

.vp-volunteer-role {
  font-size: 0.8rem;
  color: rgba(96, 57, 22, 0.8);
  margin-top: 2px;
}

/* Full-card overlay — slides up on hover to reveal bio + socials */
.vp-volunteer-overlay {
  position: absolute;
  inset: 0;
  background: var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px 26px;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.44, 0, 0.56, 1);
}

.vp-volunteer-card:hover .vp-volunteer-overlay,
.vp-volunteer-card:focus-within .vp-volunteer-overlay {
  transform: translateY(0);
}

.vp-volunteer-overlay .vp-volunteer-role { margin-bottom: 22px; }

.vp-volunteer-bio {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--brown);
  margin-bottom: 26px;
}

.vp-volunteer-socials {
  display: flex;
  gap: 14px;
}

.vp-volunteer-socials a {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgb(85, 82, 79);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
}

.vp-volunteer-socials a:hover {
  transform: translateY(-2px);
  background: rgb(64, 62, 60);
}

.vp-volunteer-socials svg { width: 18px; height: 18px; display: block; }

/* ─── Be Part of the Change ─── */
.vp-change-section { padding: 80px 0; }

.vp-change-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: center;
}

.vp-change-heading {
  font-size: var(--fs-h1);
  color: var(--brown);
  margin-bottom: 28px;
}

.vp-change-img {
  aspect-ratio: 3 / 4;
  margin-bottom: 16px;
}

.vp-change-text {
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(96, 57, 22, 0.75);
}

/* ════════════════════════════════════════════════════
   CAUSES PAGE
   ════════════════════════════════════════════════════ */

/* ─── Hero ─── */
.cp-hero-section { padding: 96px 0; text-align: center; }

.cp-hero-heading {
  font-size: var(--fs-h1);
  color: var(--text-on-brown);
  margin-bottom: 56px;
}

.cp-hero-image {
  width: 100%;
  aspect-ratio: 16 / 7;
}

/* ─── Three Causes ─── */
.cp-causes-section { padding: 80px 0; }

/* Extended descriptions: single readable column */
.cp-causes-container { max-width: 820px; }

.cp-cause-detail {
  padding: 56px 0;
  border-bottom: 1px solid rgba(96, 57, 22, 0.15);
  scroll-margin-top: 90px;   /* clear the sticky navbar on #anchor jumps */
}

.cp-cause-detail:first-child { padding-top: 0; }

.cp-cause-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: #FFFFFF;
  font-family: 'Urbanist', sans-serif;
  font-weight: 600;
  margin-bottom: 18px;
}

.cp-cause-heading {
  font-size: clamp(36px, 6vw, var(--fs-h2));
  color: var(--brown);
  margin-bottom: 20px;
}

.cp-cause-lead {
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--brown);
  margin-bottom: 32px;
}

.cp-cause-sub {
  font-size: 1.6rem;
  color: var(--brown);
  margin: 28px 0 14px;
}

.cp-cause-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cp-cause-list li {
  position: relative;
  padding-left: 26px;
  font-size: 1rem;
  line-height: 1.7;
  color: rgb(23, 7, 34);
}

.cp-cause-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.65em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

.cp-cause-list a,
.cp-cause-detail .cp-cause-text a { color: var(--brown); font-weight: 600; text-decoration: underline; }

.cp-cause-detail .cp-cause-text { padding: 0; font-size: 1rem; }

.cp-causes-cta { padding-top: 56px; text-align: center; }
.cp-causes-cta .cp-cause-lead { margin-bottom: 24px; }
.cp-causes-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Card: inset photo on top, title, then description (homepage Key Causes) */
.cp-cause-card {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  color: var(--text-on-cream);
  border-radius: var(--radius-lg);
  padding: 16px 16px 28px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cp-cause-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
}

.cp-cause-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 22px;
}

.cp-cause-title {
  font-family: 'Playfair Display', serif;
  font-size: var(--fs-h4);
  font-weight: 700;
  color: var(--brown);
  padding: 0 8px;
  margin-bottom: 12px;
}

.cp-cause-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgb(23, 7, 34);
  padding: 0 8px;
}

/* ════════════════════════════════════════════════════
   JOIN US PAGE
   ════════════════════════════════════════════════════ */

/* ─── Hero ─── */
.ju-hero-section { padding: 0; position: relative; }

.ju-hero-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0;
}

.ju-hero-card {
  position: absolute;
  left: 48px;
  bottom: -56px;
  background: var(--cream);
  color: var(--text-on-cream);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 280px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.ju-hero-heading {
  font-size: var(--fs-h1);
  margin-bottom: 14px;
}

.ju-hero-heading .hl-italic {
  color: var(--gold);
  font-style: italic;
}

.ju-hero-text {
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(96, 57, 22, 0.78);
}

/* ─── Application Form ─── */
.ju-form-section { padding: 132px 0 80px; }

.ju-form-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(96, 57, 22, 0.12);
  max-width: 720px;
  margin: 0 auto;
  padding: 48px;
}

.ju-form-heading {
  font-size: var(--fs-h4);
  color: var(--brown);
  margin-bottom: 10px;
}

.ju-form-subtext {
  font-size: 0.85rem;
  color: rgba(96, 57, 22, 0.65);
  margin-bottom: 32px;
}

.ju-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 20px;
}

.ju-form-group { display: flex; flex-direction: column; }
.ju-form-group.full { grid-column: 1 / -1; }

.ju-form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 8px;
}

.ju-form-input,
.ju-form-select,
.ju-form-textarea {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  color: var(--brown);
  background: var(--cream);
  border: 1.5px solid rgba(96, 57, 22, 0.25);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s;
}

.ju-form-input::placeholder,
.ju-form-textarea::placeholder { color: rgba(96, 57, 22, 0.4); }

.ju-form-input:focus,
.ju-form-select:focus,
.ju-form-textarea:focus { border-color: var(--gold); }

.ju-form-textarea { resize: vertical; min-height: 110px; }

.ju-form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

/* ════════════════════════════════════════════════════
   CONTACT PAGE
   ════════════════════════════════════════════════════ */

.cn-section { padding: 80px 0; }

.cn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Left column */
.cn-heading {
  font-size: var(--fs-h1);
  color: var(--brown);
  margin-bottom: 18px;
}

.cn-subtext {
  font-size: 0.85rem;
  line-height: 1.75;
  color: rgba(96, 57, 22, 0.78);
  margin-bottom: 28px;
  max-width: 380px;
}

.cn-photo {
  aspect-ratio: 4 / 3;
  max-width: 340px;
  margin-bottom: 24px;
}

.cn-info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cn-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brown);
}

.cn-info-item .ico { font-size: 0.95rem; flex-shrink: 0; }

/* Right column — form card */
.cn-card {
  background: var(--brown);
  color: var(--text-on-brown);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.cn-card-heading {
  font-size: var(--fs-h4);
  margin-bottom: 14px;
}

.cn-card-subtext {
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(255, 243, 234, 0.75);
  margin-bottom: 32px;
}

.cn-form-group { margin-bottom: 22px; }

.cn-form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-on-brown);
  margin-bottom: 8px;
}

.cn-form-input,
.cn-form-select,
.cn-form-textarea {
  width: 100%;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  color: var(--text-on-brown);
  background: rgba(255, 243, 234, 0.08);
  border: 1.5px solid rgba(255, 243, 234, 0.2);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s;
}

.cn-form-input::placeholder,
.cn-form-textarea::placeholder { color: rgba(255, 243, 234, 0.4); }

.cn-form-input:focus,
.cn-form-select:focus,
.cn-form-textarea:focus { border-color: var(--gold); }

.cn-form-textarea { resize: vertical; min-height: 110px; }

.cn-form-select option { background: var(--brown); color: var(--text-on-brown); }

.cn-form-submit { width: 100%; justify-content: center; }

/* ─── Visit Our Locations ─── */
.cn-map-section { padding: 0 0 80px; text-align: center; }

.cn-map-heading {
  font-size: var(--fs-h2);
  color: var(--brown);
  margin-bottom: 32px;
}

.cn-map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 400px;
}

.cn-map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ════════════════════════════════════════════════════
   DONATION PAGE
   ════════════════════════════════════════════════════ */

/* ─── Hero ─── */
.dp-hero-section { padding: 88px 0; }

.dp-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.dp-hero-title {
  font-size: var(--fs-h1);
  color: var(--brown);
  margin-bottom: 20px;
}

.dp-hero-text {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(96, 57, 22, 0.78);
  margin-bottom: 28px;
  max-width: 420px;
}

.dp-hero-img { aspect-ratio: 4 / 3; min-height: 320px; }

/* ─── How your donation helps ─── */
.dp-tiers-section { padding: 80px 0; }

.dp-tiers-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.dp-tiers-img { aspect-ratio: 4 / 3; min-height: 300px; }

.dp-tiers-heading {
  font-size: var(--fs-h2);
  color: var(--brown);
  margin-bottom: 14px;
}

.dp-tiers-text {
  font-size: 0.875rem;
  line-height: 1.8;
  color: rgba(96, 57, 22, 0.78);
  margin-bottom: 28px;
}

.dp-tiers-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.dp-tier {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.dp-tier-amount {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--gold);
  flex-shrink: 0;
}

.dp-tier-text {
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(96, 57, 22, 0.75);
}

/* ─── Donate today, lasting impact ─── */
.dp-impact-section { padding: 80px 0; }

.dp-impact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.dp-impact-img { aspect-ratio: 4 / 3; min-height: 320px; }

.dp-impact-heading {
  font-size: var(--fs-h2);
  color: var(--brown);
  margin-bottom: 20px;
}

.dp-impact-text {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(96, 57, 22, 0.78);
  margin-bottom: 28px;
}

/* ─── Give Support Change / Donation Form ─── */
.dp-form-section { padding: 80px 0; text-align: center; }

.dp-form-heading {
  font-size: var(--fs-h2);
  color: var(--brown);
  margin-bottom: 48px;
}

.dp-card {
  background: var(--brown);
  color: var(--text-on-brown);
  border-radius: var(--radius-lg);
  padding: 56px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

.dp-card-heading {
  font-size: var(--fs-h4);
  margin-bottom: 14px;
}

.dp-card-subtext {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255, 243, 234, 0.75);
  margin-bottom: 32px;
}

.dp-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.dp-form-group { margin-bottom: 22px; }

.dp-form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-on-brown);
  margin-bottom: 8px;
}

.dp-form-input,
.dp-form-select,
.dp-form-textarea {
  width: 100%;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  color: var(--text-on-brown);
  background: rgba(255, 243, 234, 0.08);
  border: 1.5px solid rgba(255, 243, 234, 0.2);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s;
}

.dp-form-input::placeholder,
.dp-form-textarea::placeholder { color: rgba(255, 243, 234, 0.4); }

.dp-form-input:focus,
.dp-form-select:focus,
.dp-form-textarea:focus { border-color: var(--gold); }

.dp-form-textarea { resize: vertical; min-height: 110px; }

.dp-form-select option { background: var(--brown); color: var(--text-on-brown); }

.dp-form-submit { width: 100%; justify-content: center; }

/* ════════════════════════════════════════════════════
   404 PAGE
   ════════════════════════════════════════════════════ */

.nf-section {
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 0;
}

.nf-illustration {
  width: 100%;
  max-width: 480px;
  margin: 0 auto 32px;
}

.nf-illustration svg { width: 100%; height: auto; display: block; }

.nf-heading {
  font-size: var(--fs-h3);
  color: var(--brown);
  line-height: 1.3;
  margin-bottom: 36px;
}

/* ════════════════════════════════════════════════════
   BLOG PAGE
   ════════════════════════════════════════════════════ */

.bp-section { padding: 80px 0; text-align: center; }

.bp-heading {
  font-size: var(--fs-h1);
  color: var(--brown);
  margin-bottom: 48px;
}

.bp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px 32px;
  text-align: left;
  align-items: start;
}

.bp-card {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border-radius: var(--radius-md);
}

.bp-card-img {
  width: 100%;
  height: auto;          /* override .section-img height:100% so aspect-ratio governs */
  aspect-ratio: 16 / 9;
  margin-bottom: 14px;
}

.bp-card-date {
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 8px;
}

.bp-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brown);
  line-height: 1.4;
}

.bp-card:hover .bp-card-title { text-decoration: underline; }

/* ════════════════════════════════════════════════════
   BLOG POST PAGES (pages/blog-*.html)
   ════════════════════════════════════════════════════ */
.post-section { padding: 64px 0 96px; }

.post-container { max-width: 820px; }

.post-back {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--brown);
  margin-bottom: 32px;
}

.post-back:hover { color: var(--gold); }

.post-title {
  font-size: clamp(36px, 6vw, var(--fs-h2));
  color: var(--brown);
  text-align: center;
  margin-bottom: 16px;
}

.post-date {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 32px;
}

.post-img {
  height: auto;
  aspect-ratio: 4 / 3;
  margin-bottom: 40px;
}

.post-body p {
  font-size: 1rem;
  line-height: 1.75;
  letter-spacing: 0.02em;
  color: rgb(23, 7, 34);
  margin-bottom: 20px;
}

.post-next {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(96, 57, 22, 0.15);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.post-next-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brown);
}

.post-next .btn { white-space: normal; text-align: left; }

/* Homepage blog cards are links */
.blog-card { color: inherit; }
.blog-card:hover .blog-title { text-decoration: underline; }

/* ─── Responsive ─── */
@media (max-width: 1280px) {
  .container       { max-width: 1080px; padding: 0 32px; }
  .section-brown,
  .section-cream   { padding: 64px 0; }
  .hero-section    { padding: 52px 0 60px; }
  .hero-logo-icon  { width: 84px; height: 84px; }
  .two-col         { gap: 44px; }
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .bp-grid     { grid-template-columns: repeat(2, 1fr); }
}

/* Collapses at Framer's phone breakpoint (<=809px) */
@media (max-width: 809px) {
  .nav-links, .navbar > .nav-cta { display: none; }
  .nav-hamburger  { display: flex; }
  .navbar         { padding: 0 20px; }   /* stays sticky, like Framer */
  .nav-mobile     { position: fixed; top: 74px; }
  .section-brown,
  .section-cream  { padding: 56px 0; }
  .container      { padding: 0 20px; }
  .two-col        { grid-template-columns: 1fr; gap: 32px; }
  .causes-grid    { grid-template-columns: 1fr; gap: 36px; justify-items: center; }
  .blogs-grid     { grid-template-columns: 1fr; gap: 36px; }
  .gallery-img    { height: 280px; }
  .hero-brand     { flex-direction: column; text-align: center; }
  .hero-section   { padding: 48px 0 56px; }
  .newsletter-card { padding: 40px 24px; }
  .newsletter-form { flex-direction: column; gap: 10px; }
  .newsletter-input { border-radius: var(--radius-pill); }
  .newsletter-btn   { border-radius: var(--radius-pill); }
  .footer         { padding: 48px 20px 24px; }

  /* About Us page */
  .aup-hero-grid,
  .aup-impact-grid,
  .aup-factmyth-grid   { grid-template-columns: 1fr; gap: 32px; }
  .aup-stats           { gap: 28px; flex-wrap: wrap; }
  .aup-volunteers-grid { grid-template-columns: 1fr; gap: 24px; }
  .aup-join-image      { width: 100%; }
  .aup-join-card       {
    position: static;
    transform: none;
    width: auto;
    max-width: 100%;
    padding: 32px 24px;
    margin-top: -40px;
    margin-left: 16px;
    margin-right: 16px;
  }
  .aup-vision-row { gap: 12px; }

  /* Volunteers page */
  .vp-hero-grid,
  .vp-change-grid     { grid-template-columns: 1fr; gap: 32px; }
  .vp-volunteers-grid { grid-template-columns: 1fr; gap: 24px; }

  /* Causes page */
  .cp-cause-card  { max-width: 440px; }

  /* Blog page */
  .bp-grid { grid-template-columns: 1fr; gap: 24px; }

  /* Contact page */
  .cn-grid   { grid-template-columns: 1fr; gap: 32px; }
  .cn-card   { padding: 32px; }

  /* Join Us page */
  .ju-form-card { padding: 32px 24px; }
  .ju-form-grid { grid-template-columns: minmax(0, 1fr); }

  /* Donation page */
  .dp-hero-grid,
  .dp-tiers-grid,
  .dp-impact-grid { grid-template-columns: 1fr; gap: 32px; }
  .dp-tiers-list  { grid-template-columns: 1fr; }
  .dp-card        { padding: 32px; }
  .dp-form-row    { grid-template-columns: 1fr; gap: 0; }
}
/* ─── Homepage at Framer's phone breakpoint (<=809px) ───
   Matches the Framer "Phone" frame: inline hero brand, inset
   centred images, larger quotes/attributions, inline newsletter form. */
@media (max-width: 809px) {
  .hero-section    { padding: 96px 0 56px; }
  .hero-brand      { flex-direction: row; text-align: left; gap: 14px; margin-bottom: 64px; }
  .hero-logo-icon  { width: 72px; height: 72px; }
  .hero-heading    { font-size: clamp(32px, 8vw, var(--fs-hero)); }
  .hero-cta-wrap   { margin-bottom: 48px; }
  .hero-img        { width: 84%; margin: 0 auto; }

  .about-img,
  .founder-img,
  .impact-img,
  .volunteer-img   { width: min(100%, 400px); margin: 0 auto; height: auto; min-height: 0; max-height: none; }
  .about-img       { aspect-ratio: 3 / 4; }
  .founder-img     { aspect-ratio: 7 / 10; }
  .impact-img      { aspect-ratio: 4 / 5; }
  .volunteer-img   { aspect-ratio: 1 / 1; }

  .impact-section .two-col > div { max-width: 420px; margin: 0 auto; }
  .impact-quote {
    font-style: normal;
    font-size: clamp(24px, 6vw, 30px);
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-on-brown);
    border-left: none;
    padding-left: 0;
    margin: 28px 0 32px;
  }
  /* Founder credit sits above the Donate button on phones */
  .impact-cta-row  { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 20px; }
  .impact-attribution {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-on-brown);
  }
  .impact-attribution span { display: block; font-size: 0.75rem; font-weight: 500; }

  .volunteer-section .two-col > div { text-align: center; }

  .blogs-grid      { justify-items: start; }
  .blog-card       { width: min(100%, 400px); }
  .blog-date       { font-size: 1rem; }
  .blog-title      { font-family: 'Poppins', sans-serif; font-size: 1.25rem; font-weight: 500; line-height: 1.35; letter-spacing: 0; color: #FFFFFF; }

  .quote-logo      { width: 150px; height: 150px; margin-bottom: 40px; }
  .quote-text      { font-style: normal; font-weight: 700; font-size: 1.375rem; line-height: 1.3; letter-spacing: -0.03em; }
  .quote-attribution { font-size: 1rem; font-weight: 600; color: var(--text-on-brown); margin-top: 24px; }

  .gallery-section { padding-bottom: 56px; }
  .gallery-img     { height: 200px; margin-right: 16px; }

  /* Newsletter: full-bleed brown band, pill input with the button inside */
  .newsletter-section { padding: 0 0 49px; }
  .newsletter-section > .container { padding: 0; }
  .newsletter-card { border-radius: 0; max-width: none; padding: 32px 20px 48px; }
  .newsletter-sub  { font-size: 1rem; }
  .newsletter-form {
    flex-direction: row;
    gap: 0;
    background: #FFFFFF;
    border-radius: var(--radius-pill);
    padding: 6px;
    max-width: 520px;
  }
  .newsletter-input { background: transparent; color: var(--brown); border-radius: var(--radius-pill); font-size: 1rem; min-width: 0; }
  .newsletter-input::placeholder { color: rgba(96, 57, 22, 0.6); }
  .newsletter-input:focus { background: transparent; }
  .newsletter-btn {
    border-radius: var(--radius-pill);
    color: #FFFFFF;
    font-size: 1rem;
    padding: 12px 22px;
  }

  .footer-grid     { grid-template-columns: 1fr; gap: 36px; }
  .footer-logo-icon,
  .footer-logo-img { height: 84px; }
  .footer-logo-icon { width: 84px; }
  .footer-tagline  { font-size: 1rem; color: var(--text-on-brown); max-width: 360px; }
  .footer-col h4   { font-size: 1rem; }
  .footer-col ul a,
  .footer-addr-item { font-size: 1rem; color: var(--text-on-brown); }
  .footer-bottom   { font-size: 1rem; color: var(--text-on-brown); }
}

/* ─── Form feedback + honeypot (js/forms.js, src/worker.js) ─── */
.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 16px auto 0;
  max-width: 520px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(96, 57, 22, 0.25);
  border-left-width: 5px;
  background: var(--cream);
  color: var(--brown);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
  text-align: left;
}
.form-status[hidden] { display: none; }
.form-status[data-kind="success"] { border-left-color: #2e7d32; }
.form-status[data-kind="error"]   { border-left-color: #b3261e; }

.btn[disabled], .newsletter-btn[disabled] { opacity: 0.65; cursor: progress; }

/* ─── Fade-up on scroll ─── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children — parent triggers, children animate in sequence */
.fade-up-children > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-up-children.visible > *:nth-child(1) { transition-delay: 0s;    }
.fade-up-children.visible > *:nth-child(2) { transition-delay: 0.12s; }
.fade-up-children.visible > *:nth-child(3) { transition-delay: 0.24s; }
.fade-up-children.visible > *:nth-child(4) { transition-delay: 0.36s; }

.fade-up-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Honour reduced-motion preference ─── */
@media (prefers-reduced-motion: reduce) {
  .fade-up,
  .fade-up-children > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Above-the-fold content animates from CSS alone, so the hero image (the page's largest
   paint) never waits for JavaScript to reveal it. Everything lower down still reveals on scroll. */
main > section:first-child .fade-up {
  opacity: 1;
  transform: none;
  transition: none;
  animation: fade-up-in 0.6s ease both;
}

@keyframes fade-up-in {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  main > section:first-child .fade-up { animation: none; }
}
