/*
Theme Name: Edidem E. J. Iyawot Foundation
Theme URI: https://iyawotfoundation.org
Author: Edidem E. J. Iyawot Foundation
Author URI: https://iyawotfoundation.org
Description: Custom WordPress theme for the Edidem E. J. Iyawot Foundation — a nonprofit dedicated to youth empowerment, education, technology training and community development in Nsit Ibom, Akwa Ibom State, Nigeria. Converted from a bespoke static HTML/CSS design.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: edidem-foundation
*/


/* =========================================================
   Edidem E. J. Iyawot Foundation — Core Stylesheet
   Heritage · Leadership · Youth Empowerment · Community
   Palette derived from the official foundation emblem.
   ========================================================= */

:root {
  /* Brand */
  --palm-green: #1E5B3A;
  --forest-green: #2F6B45;
  --deep-canopy: #0F3D26;
  --gold: #B88A3B;
  --gold-soft: #D6AE63;
  --ivory: #F7F5EE;
  --ivory-deep: #EFEBDD;
  --charcoal: #1A1A1A;
  --gray: #6B7280;
  --gray-soft: #9CA3AF;
  --white: #FFFFFF;
  --line: rgba(30, 91, 58, 0.14);

  /* Gradients */
  --grad-canopy: linear-gradient(135deg, #0F3D26 0%, #1E5B3A 55%, #2F6B45 100%);
  --grad-gold: linear-gradient(135deg, #B88A3B 0%, #D6AE63 100%);
  --grad-overlay: linear-gradient(180deg, rgba(15,61,38,.30) 0%, rgba(15,61,38,.72) 100%);

  /* Type */
  --display: 'Playfair Display', Georgia, serif;
  --sans: 'Montserrat', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;

  /* Shape & depth */
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(15,61,38,.08);
  --shadow: 0 14px 40px rgba(15,61,38,.12);
  --shadow-lg: 0 30px 70px rgba(15,61,38,.20);
  --ring: 0 0 0 3px rgba(184,138,59,.4);

  --container: 1200px;
  --header-h: 86px;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  color: var(--charcoal);
  background: var(--ivory);
  line-height: 1.65;
  overflow-x: hidden;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.14; color: var(--deep-canopy); letter-spacing: -0.01em; }
.eyebrow {
  font-family: var(--sans); font-weight: 700; font-size: .78rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
  display: inline-flex; align-items: center; gap: .6rem;
}
.eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--gold); display: inline-block; }
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { content: ""; width: 30px; height: 2px; background: var(--gold); display: inline-block; }

/* ---------- Layout ---------- */
.container { width: min(100% - 3rem, var(--container)); margin-inline: auto; }
.section { padding: clamp(4rem, 8vw, 7.5rem) 0; }
.section.tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-head { max-width: 720px; margin-bottom: 3.2rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); margin: 1rem 0 .9rem; }
.section-head p { color: var(--gray); font-size: 1.05rem; }
.bg-ivory-deep { background: var(--ivory-deep); }
.bg-canopy { background: var(--grad-canopy); color: var(--ivory); }
.bg-canopy h1, .bg-canopy h2, .bg-canopy h3 { color: var(--white); }
.bg-canopy .section-head p { color: rgba(247,245,238,.8); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--palm-green); --fg: var(--white);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--sans); font-weight: 600; font-size: .95rem;
  padding: .95rem 1.9rem; border-radius: 100px; background: var(--bg); color: var(--fg);
  letter-spacing: .01em; overflow: hidden; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, color .35s;
  isolation: isolate;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad-gold);
  transform: translateY(101%); transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(184,138,59,.34); color: var(--deep-canopy); }
.btn:hover::before { transform: translateY(0); }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }
.btn.gold { --bg: var(--grad-gold); --fg: var(--deep-canopy); }
.btn.gold::before { background: var(--grad-canopy); }
.btn.gold:hover { color: var(--ivory); box-shadow: 0 16px 34px rgba(15,61,38,.34); }
.btn.ghost { --bg: transparent; --fg: var(--white); box-shadow: inset 0 0 0 1.5px rgba(247,245,238,.55); }
.btn.ghost::before { background: var(--ivory); }
.btn.ghost:hover { color: var(--deep-canopy); box-shadow: inset 0 0 0 1.5px transparent, 0 16px 34px rgba(0,0,0,.2); }
.btn.ghost-green { --bg: transparent; --fg: var(--palm-green); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost-green:hover { color: var(--deep-canopy); }
.btn.sm { padding: .7rem 1.4rem; font-size: .85rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }

.text-link {
  font-family: var(--sans); font-weight: 600; color: var(--palm-green); font-size: .92rem;
  display: inline-flex; align-items: center; gap: .45rem; transition: gap .3s, color .3s;
}
.text-link svg { width: 16px; height: 16px; transition: transform .3s; }
.text-link:hover { color: var(--gold); gap: .75rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--header-h);
  display: flex; align-items: center; transition: background .4s, box-shadow .4s, height .4s;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.site-header.scrolled {
  background: rgba(247,245,238,.85); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: var(--shadow-sm); height: 72px; border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: .8rem; }
.brand img { width: 52px; height: 52px; transition: width .4s, height .4s; filter: drop-shadow(0 2px 6px rgba(0,0,0,.18)); }
.site-header.scrolled .brand img { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text .b-name { font-family: var(--display); font-weight: 700; font-size: 1.04rem; color: var(--white); transition: color .4s; }
.brand-text .b-sub { font-family: var(--sans); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); transition: color .4s; }
.site-header.scrolled .brand-text .b-name { color: var(--deep-canopy); }
.site-header.scrolled .brand-text .b-sub { color: var(--gold); }

.nav { display: flex; align-items: center; gap: .3rem; }
.nav .nav-donate { display: none; }
.nav a {
  font-family: var(--sans); font-weight: 500; font-size: .92rem; color: rgba(247,245,238,.92);
  padding: .55rem .9rem; border-radius: 100px; position: relative; transition: color .3s, background .3s;
}
.nav a::after {
  content: ""; position: absolute; left: 50%; bottom: .3rem; width: 0; height: 2px;
  background: var(--gold); transform: translateX(-50%); transition: width .3s; border-radius: 2px;
}
.nav a:hover, .nav a.active { color: var(--white); }
.nav a:hover::after, .nav a.active::after { width: 18px; }
.site-header.scrolled .nav a { color: var(--charcoal); }
.site-header.scrolled .nav a:hover, .site-header.scrolled .nav a.active { color: var(--palm-green); }
.header-cta { display: flex; align-items: center; gap: .9rem; }

.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; position: relative; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--white); border-radius: 2px; transition: .35s; }
.site-header.scrolled .menu-toggle span { background: var(--deep-canopy); }
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: var(--header-h); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(15,61,38,.94) 0%, rgba(15,61,38,.78) 42%, rgba(30,91,58,.45) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; width: 100%; }
.hero-copy { color: var(--ivory); max-width: 640px; }
.hero-copy h1 { color: var(--white); font-size: clamp(2.6rem, 6vw, 4.6rem); margin: 1.4rem 0 1.5rem; }
.hero-copy h1 .accent { color: var(--gold-soft); font-style: italic; }
.hero-copy .lede { font-size: 1.18rem; color: rgba(247,245,238,.85); max-width: 540px; margin-bottom: 2.3rem; }
.hero-emblem { display: flex; justify-content: center; align-items: center; position: relative; }
.hero-emblem .seal-glow { position: absolute; width: 115%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(214,174,99,.32) 0%, transparent 62%); animation: pulse 6s ease-in-out infinite; }
.hero-emblem img { width: min(360px, 80%); filter: drop-shadow(0 24px 50px rgba(0,0,0,.4)); animation: float 7s ease-in-out infinite; position: relative; z-index: 1; }
.hero-trust { display: flex; gap: 2rem; margin-top: 2.6rem; flex-wrap: wrap; }
.hero-trust .t-item { color: var(--ivory); }
.hero-trust .t-num { font-family: var(--display); font-size: 1.8rem; font-weight: 700; color: var(--gold-soft); }
.hero-trust .t-label { font-family: var(--sans); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(247,245,238,.7); }
.hero-scroll { position: absolute; bottom: 1.8rem; left: 50%; transform: translateX(-50%); color: rgba(247,245,238,.7); font-family: var(--sans); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.hero-scroll .mouse { width: 22px; height: 36px; border: 2px solid rgba(247,245,238,.5); border-radius: 12px; position: relative; }
.hero-scroll .mouse::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; background: var(--gold-soft); border-radius: 2px; transform: translateX(-50%); animation: scrollDot 1.8s infinite; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: .8; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes scrollDot { 0% { opacity: 0; transform: translate(-50%,0); } 40% { opacity: 1; } 80%,100% { opacity: 0; transform: translate(-50%,12px); } }

/* ---------- Page hero (interior) ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + 4.5rem) 0 4.5rem; overflow: hidden; }
.page-hero .hero-bg::after { background: linear-gradient(120deg, rgba(15,61,38,.92), rgba(30,91,58,.7)); }
.page-hero-inner { position: relative; max-width: 760px; color: var(--ivory); }
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 1.1rem 0 1rem; }
.page-hero p { color: rgba(247,245,238,.85); font-size: 1.12rem; max-width: 620px; }
.crumbs { font-family: var(--sans); font-size: .82rem; color: var(--gold-soft); letter-spacing: .04em; }
.crumbs a:hover { color: var(--white); }

/* ---------- Impact counters ---------- */
.impact-strip { position: relative; margin-top: -4rem; z-index: 5; }
.impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.stat-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 2.2rem 1.6rem; text-align: center;
  box-shadow: var(--shadow); position: relative; overflow: hidden; border: 1px solid var(--line);
}
.stat-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad-gold); }
.stat-card .s-icon { width: 56px; height: 56px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; background: rgba(30,91,58,.08); color: var(--palm-green); }
.stat-card .s-icon svg { width: 28px; height: 28px; }
.stat-num { font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3rem); color: var(--palm-green); line-height: 1; }
.stat-num .plus { color: var(--gold); }
.stat-label { font-family: var(--sans); font-weight: 600; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); margin-top: .6rem; }

/* ---------- About preview ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3.4; object-fit: cover; }
.split-media .badge {
  position: absolute; bottom: -26px; right: -10px; background: var(--grad-canopy); color: var(--ivory);
  padding: 1.3rem 1.6rem; border-radius: var(--radius); box-shadow: var(--shadow-lg); max-width: 230px;
  border: 1px solid rgba(214,174,99,.3);
}
.split-media .badge .b-num { font-family: var(--display); font-size: 2rem; font-weight: 800; color: var(--gold-soft); }
.split-media .badge .b-txt { font-family: var(--sans); font-size: .8rem; color: rgba(247,245,238,.85); }
.split-copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin: 1rem 0 1.2rem; }
.split-copy p { color: var(--gray); margin-bottom: 1.1rem; }
.value-list { display: grid; gap: .9rem; margin: 1.6rem 0 2rem; }
.value-list li { display: flex; gap: .9rem; align-items: flex-start; }
.value-list .tick { flex: none; width: 26px; height: 26px; border-radius: 50%; background: rgba(30,91,58,.1); color: var(--palm-green); display: grid; place-items: center; margin-top: 2px; }
.value-list .tick svg { width: 15px; height: 15px; }
.value-list b { color: var(--deep-canopy); font-family: var(--sans); }

/* ---------- Focus areas ---------- */
.focus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.focus-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 2.2rem; border: 1px solid var(--line);
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s; position: relative; overflow: hidden;
}
.focus-card::after { content: ""; position: absolute; inset: auto -40px -40px auto; width: 130px; height: 130px; background: radial-gradient(circle, rgba(184,138,59,.1), transparent 70%); border-radius: 50%; }
.focus-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.focus-card .f-icon {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1.3rem;
  background: var(--grad-canopy); color: var(--gold-soft); transition: transform .4s;
}
.focus-card:hover .f-icon { transform: rotate(-6deg) scale(1.05); }
.focus-card .f-icon svg { width: 30px; height: 30px; }
.focus-card h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.focus-card p { color: var(--gray); font-size: .95rem; }

/* ---------- Program cards ---------- */
.prog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.prog-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s; display: flex; flex-direction: column;
}
.prog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.prog-media { position: relative; aspect-ratio: 16/11; overflow: hidden; }
.prog-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.prog-card:hover .prog-media img { transform: scale(1.08); }
.prog-media .tag {
  position: absolute; top: 1rem; left: 1rem; background: rgba(15,61,38,.86); color: var(--gold-soft);
  font-family: var(--sans); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: .4rem .85rem; border-radius: 100px; backdrop-filter: blur(4px);
}
.prog-body { padding: 1.7rem; display: flex; flex-direction: column; flex: 1; }
.prog-body h3 { font-size: 1.32rem; margin-bottom: .6rem; }
.prog-body p { color: var(--gray); font-size: .94rem; margin-bottom: 1.3rem; flex: 1; }

/* ---------- Testimonials ---------- */
.testi-wrap { position: relative; max-width: 900px; margin-inline: auto; }
.testi-track { overflow: hidden; }
.testi-slides { display: flex; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.testi-slide { min-width: 100%; padding: .5rem; }
.testi-card {
  background: var(--white); border-radius: var(--radius-lg); padding: clamp(2rem, 4vw, 3.2rem); text-align: center;
  box-shadow: var(--shadow); border: 1px solid var(--line); position: relative;
}
.testi-card .quote-mark { font-family: var(--display); font-size: 5rem; line-height: .6; color: var(--gold); opacity: .25; }
.testi-card blockquote { font-family: var(--display); font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-style: italic; color: var(--deep-canopy); margin: .5rem 0 1.8rem; }
.testi-person { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.testi-person img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold-soft); }
.testi-person .tp-name { font-family: var(--sans); font-weight: 700; color: var(--deep-canopy); }
.testi-person .tp-role { font-size: .85rem; color: var(--gray); }
.testi-controls { display: flex; justify-content: center; align-items: center; gap: 1.5rem; margin-top: 2rem; }
.testi-arrow { width: 48px; height: 48px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow-sm); display: grid; place-items: center; color: var(--palm-green); border: 1px solid var(--line); transition: .3s; }
.testi-arrow:hover { background: var(--palm-green); color: var(--white); transform: scale(1.05); }
.testi-dots { display: flex; gap: .5rem; }
.testi-dots button { width: 9px; height: 9px; border-radius: 50%; background: var(--line); transition: .3s; }
.testi-dots button.active { background: var(--gold); width: 26px; border-radius: 100px; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 1rem; }
.gallery-item { overflow: hidden; border-radius: var(--radius); position: relative; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: var(--grad-overlay); opacity: 0; transition: opacity .4s; }
.gallery-item .g-plus { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ivory); opacity: 0; transition: opacity .4s; z-index: 2; }
.gallery-item .g-plus svg { width: 38px; height: 38px; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:hover::after, .gallery-item:hover .g-plus { opacity: 1; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(10,30,20,.94); display: none; place-items: center; padding: 2rem; }
.lightbox.open { display: grid; }
.lightbox img { max-width: 90vw; max-height: 84vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox-close { position: absolute; top: 1.5rem; right: 1.5rem; width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,.1); color: var(--ivory); display: grid; place-items: center; font-size: 1.5rem; transition: .3s; }
.lightbox-close:hover { background: var(--gold); color: var(--deep-canopy); }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.1); color: var(--ivory); display: grid; place-items: center; transition: .3s; }
.lightbox-nav:hover { background: var(--gold); color: var(--deep-canopy); }
.lightbox-nav.prev { left: 1.5rem; } .lightbox-nav.next { right: 1.5rem; }

/* ---------- Partners ---------- */
.partner-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.partner-track { display: flex; gap: 4rem; width: max-content; animation: marquee 32s linear infinite; }
.partner-track:hover { animation-play-state: paused; }
.partner-item { display: flex; align-items: center; gap: .7rem; font-family: var(--display); font-weight: 700; font-size: 1.35rem; color: var(--gray); white-space: nowrap; transition: color .3s; }
.partner-item:hover { color: var(--palm-green); }
.partner-item .p-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--gold); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Events ---------- */
.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.event-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); transition: transform .4s, box-shadow .4s; }
.event-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.event-media { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.event-media img { width: 100%; height: 100%; object-fit: cover; }
.event-date { position: absolute; top: 1rem; left: 1rem; background: var(--white); border-radius: 12px; padding: .55rem .8rem; text-align: center; box-shadow: var(--shadow-sm); line-height: 1; }
.event-date .d-day { font-family: var(--display); font-weight: 800; font-size: 1.5rem; color: var(--palm-green); }
.event-date .d-mon { font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.event-body { padding: 1.6rem; }
.event-body h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.event-meta { font-family: var(--sans); font-size: .82rem; color: var(--gray); display: flex; align-items: center; gap: .4rem; margin-bottom: 1rem; }
.countdown { display: flex; gap: .6rem; }
.countdown .c-unit { flex: 1; background: var(--ivory-deep); border-radius: 10px; padding: .6rem .2rem; text-align: center; }
.countdown .c-val { font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: var(--palm-green); }
.countdown .c-lab { font-family: var(--sans); font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gray); }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.news-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); transition: transform .4s, box-shadow .4s; display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.news-media { aspect-ratio: 16/10; overflow: hidden; }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.news-card:hover .news-media img { transform: scale(1.06); }
.news-body { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; }
.news-cat { font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: .6rem; }
.news-body h3 { font-size: 1.18rem; margin-bottom: .6rem; }
.news-body p { color: var(--gray); font-size: .92rem; margin-bottom: 1.2rem; flex: 1; }
.news-date { font-family: var(--sans); font-size: .82rem; color: var(--gray-soft); }

/* ---------- Big CTA ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band .hero-bg::after { background: linear-gradient(120deg, rgba(15,61,38,.95), rgba(30,91,58,.82)); }
.cta-inner { position: relative; text-align: center; max-width: 760px; margin-inline: auto; color: var(--ivory); }
.cta-inner h2 { color: var(--white); font-size: clamp(2.1rem, 4.5vw, 3.4rem); margin: 1.1rem 0 1.2rem; }
.cta-inner p { color: rgba(247,245,238,.85); font-size: 1.15rem; margin-bottom: 2.2rem; }
.cta-inner .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep-canopy); color: rgba(247,245,238,.78); padding: 4.5rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand img { width: 64px; height: 64px; margin-bottom: 1rem; }
.footer-brand .f-name { font-family: var(--display); font-weight: 700; font-size: 1.2rem; color: var(--white); }
.footer-brand p { font-size: .92rem; margin: 1rem 0 1.4rem; max-width: 320px; }
.footer h4 { color: var(--white); font-family: var(--sans); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.3rem; }
.footer-links li { margin-bottom: .7rem; }
.footer-links a { font-size: .94rem; transition: color .3s, padding .3s; }
.footer-links a:hover { color: var(--gold-soft); padding-left: 5px; }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .9rem; font-size: .92rem; }
.footer-contact svg { width: 18px; height: 18px; flex: none; color: var(--gold-soft); margin-top: 3px; }
.newsletter-form { display: flex; gap: .5rem; margin-top: 1rem; }
.newsletter-form input { flex: 1; padding: .8rem 1rem; border-radius: 100px; border: 1px solid rgba(247,245,238,.2); background: rgba(247,245,238,.06); color: var(--ivory); font-family: var(--body); font-size: .9rem; }
.newsletter-form input::placeholder { color: rgba(247,245,238,.5); }
.newsletter-form input:focus { outline: none; border-color: var(--gold-soft); }
.newsletter-form button { width: 46px; height: 46px; border-radius: 50%; background: var(--grad-gold); color: var(--deep-canopy); display: grid; place-items: center; flex: none; transition: transform .3s; }
.newsletter-form button:hover { transform: scale(1.08) rotate(8deg); }
.socials { display: flex; gap: .7rem; margin-top: 1.4rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(247,245,238,.08); display: grid; place-items: center; color: var(--ivory); transition: .3s; }
.socials a:hover { background: var(--gold); color: var(--deep-canopy); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(247,245,238,.12); padding: 1.6rem 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .85rem; }
.footer-bottom a:hover { color: var(--gold-soft); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; } .reveal.d5 { transition-delay: .4s; }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(1.8rem, 4vw, 3rem); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-family: var(--sans); font-weight: 600; font-size: .85rem; color: var(--deep-canopy); margin-bottom: .5rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border-radius: 12px; border: 1px solid var(--line);
  font-family: var(--body); font-size: .95rem; background: var(--ivory); color: var(--charcoal); transition: border-color .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: var(--ring); background: var(--white); }
.form-note { font-size: .82rem; color: var(--gray); margin-top: .8rem; }
.form-success { background: rgba(30,91,58,.1); border: 1px solid rgba(30,91,58,.3); color: var(--deep-canopy); padding: 1rem 1.2rem; border-radius: 12px; font-family: var(--sans); font-weight: 600; font-size: .92rem; display: none; align-items: center; gap: .6rem; margin-bottom: 1.2rem; }
.form-success.show { display: flex; }

/* ---------- Generic cards / chips ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }
.chip { font-family: var(--sans); font-size: .82rem; font-weight: 600; color: var(--palm-green); background: rgba(30,91,58,.08); padding: .5rem 1rem; border-radius: 100px; }
.divider-palm { text-align: center; color: var(--gold); font-size: 1.4rem; margin: 1rem 0; letter-spacing: .5rem; }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-3 { margin-top: 3rem; } .mt-2 { margin-top: 2rem; } .mt-4 { margin-top: 4rem; }
.muted { color: var(--gray); }
.lead { font-size: 1.15rem; color: var(--gray); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { margin-inline: auto; }
  .hero-copy .lede { margin-inline: auto; }
  .btn-row { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-emblem { order: -1; margin-bottom: 1rem; }
  .hero-emblem img { width: 220px; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .focus-grid, .prog-grid, .event-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav, .header-cta .btn:not(.donate-persist) { display: none; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch;
    background: rgba(247,245,238,.98); backdrop-filter: blur(16px); padding: 1rem 1.5rem 2rem; gap: .2rem;
    box-shadow: var(--shadow); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .35s;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  body.menu-open .nav { display: flex; transform: none; opacity: 1; pointer-events: auto; }
  .nav .nav-donate { display: block; text-align: center; }
  .nav a { color: var(--charcoal); padding: .9rem 1rem; border-radius: 12px; font-size: 1rem; }
  .nav a:hover { background: rgba(30,91,58,.07); }
  .nav a::after { display: none; }
  .nav .btn { margin-top: .6rem; }
}
@media (max-width: 620px) {
  .impact-grid { grid-template-columns: 1fr 1fr; }
  .focus-grid, .prog-grid, .event-grid, .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .split-media .badge { position: static; margin-top: 1rem; max-width: none; }
  .hero-trust { gap: 1.4rem; }
  .brand-text .b-name { font-size: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 1rem; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s; }
.faq-item.open { box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem 1.6rem; text-align: left; font-family: var(--sans); font-weight: 600; font-size: 1.02rem; color: var(--deep-canopy); }
.faq-q .ic { flex: none; width: 28px; height: 28px; border-radius: 50%; background: rgba(30,91,58,.08); color: var(--palm-green); display: grid; place-items: center; transition: transform .35s, background .35s; }
.faq-item.open .faq-q .ic { transform: rotate(45deg); background: var(--gold); color: var(--white); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-item.open .faq-a { max-height: 320px; }
.faq-a p { padding: 0 1.6rem 1.4rem; color: var(--gray); font-size: .96rem; }

/* ---------- Donation ---------- */
.donate-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: start; }
.donate-types { display: grid; grid-template-columns: repeat(3,1fr); gap: .8rem; margin-bottom: 1.6rem; }
.donate-type { padding: 1rem; border: 1.5px solid var(--line); border-radius: 12px; text-align: center; font-family: var(--sans); font-weight: 600; font-size: .9rem; color: var(--gray); transition: .3s; }
.donate-type.active, .donate-type:hover { border-color: var(--gold); color: var(--deep-canopy); background: rgba(184,138,59,.06); }
.amt-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: .8rem; margin-bottom: 1rem; }
.amt-btn { padding: 1rem; border: 1.5px solid var(--line); border-radius: 12px; font-family: var(--display); font-weight: 700; font-size: 1.2rem; color: var(--deep-canopy); transition: .3s; }
.amt-btn.active, .amt-btn:hover { border-color: var(--gold); background: var(--grad-gold); color: var(--deep-canopy); transform: translateY(-2px); }
.amt-custom { position: relative; margin-bottom: 1.4rem; }
.amt-custom .cur { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--gray); font-family: var(--display); font-weight: 700; }
.amt-custom input { width: 100%; padding: .9rem 1rem .9rem 2.2rem; border-radius: 12px; border: 1.5px solid var(--line); font-family: var(--display); font-size: 1.1rem; background: var(--ivory); }
.amt-custom input:focus { outline: none; border-color: var(--gold); }
.impact-line { background: var(--grad-canopy); color: var(--ivory); border-radius: 12px; padding: 1.1rem 1.3rem; font-size: .95rem; margin-bottom: 1.6rem; display: flex; gap: .7rem; align-items: flex-start; }
.impact-line svg { width: 20px; height: 20px; flex: none; color: var(--gold-soft); margin-top: 2px; }
.fund-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow-sm); }
.fund-item { margin-bottom: 1.8rem; }
.fund-item:last-child { margin-bottom: 0; }
.fund-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .6rem; }
.fund-head .f-name { font-family: var(--sans); font-weight: 600; color: var(--deep-canopy); }
.fund-head .f-pct { font-family: var(--display); font-weight: 800; color: var(--gold); }
.fund-bar { height: 10px; background: var(--ivory-deep); border-radius: 100px; overflow: hidden; }
.fund-bar span { display: block; height: 100%; width: 0; background: var(--grad-canopy); border-radius: 100px; transition: width 1.6s cubic-bezier(.2,.8,.2,1); position: relative; }
.fund-bar span::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 30px; background: linear-gradient(90deg, transparent, rgba(214,174,99,.5)); }
.fund-meta { font-size: .82rem; color: var(--gray); margin-top: .5rem; }
.impact-breakdown { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.2rem; }
.ib-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; text-align: center; transition: transform .3s, box-shadow .3s; }
.ib-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.ib-amt { font-family: var(--display); font-weight: 800; font-size: 1.8rem; color: var(--palm-green); }
.ib-amt .c { color: var(--gold); }
.ib-card p { font-size: .88rem; color: var(--gray); margin-top: .5rem; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.6rem; }
.team-grid.lead-row { grid-template-columns: repeat(3,1fr); max-width: 960px; margin-inline: auto; }
.team-card { text-align: center; }
.team-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3/3.4; margin-bottom: 1.1rem; box-shadow: var(--shadow-sm); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.team-card:hover .team-photo img { transform: scale(1.06); }
.team-socials { position: absolute; inset: auto 0 0 0; padding: 1rem; display: flex; gap: .5rem; justify-content: center; background: linear-gradient(0deg, rgba(15,61,38,.92), transparent); transform: translateY(100%); transition: transform .4s; }
.team-card:hover .team-socials { transform: none; }
.team-socials a { width: 36px; height: 36px; border-radius: 50%; background: rgba(247,245,238,.15); color: var(--ivory); display: grid; place-items: center; transition: .3s; }
.team-socials a:hover { background: var(--gold); color: var(--deep-canopy); }
.team-socials svg { width: 16px; height: 16px; }
.team-card h3 { font-size: 1.18rem; }
.team-role { font-family: var(--sans); font-weight: 600; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin: .3rem 0 .6rem; }
.team-card p { font-size: .9rem; color: var(--gray); }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 820px; margin-inline: auto; padding-left: 2rem; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--gold), var(--palm-green)); }
.tl-item { position: relative; padding-bottom: 2.4rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -2rem; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 3px solid var(--gold); }
.tl-year { font-family: var(--display); font-weight: 800; color: var(--gold); font-size: 1.1rem; }
.tl-item h3 { font-size: 1.2rem; margin: .2rem 0 .5rem; }
.tl-item p { color: var(--gray); font-size: .95rem; }

/* ---------- Process steps ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; counter-reset: step; }
.process-step { position: relative; padding-top: 1rem; }
.process-step .p-num { font-family: var(--display); font-weight: 800; font-size: 3rem; color: rgba(184,138,59,.28); line-height: 1; }
.process-step h3 { font-size: 1.2rem; margin: .4rem 0 .6rem; }
.process-step p { color: var(--gray); font-size: .94rem; }

/* ---------- Get involved cards ---------- */
.involve-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.6rem; }
.involve-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; transition: transform .4s, box-shadow .4s; position: relative; overflow: hidden; }
.involve-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.involve-card .i-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--grad-canopy); color: var(--gold-soft); display: grid; place-items: center; margin-bottom: 1.2rem; }
.involve-card .i-icon svg { width: 28px; height: 28px; }
.involve-card h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.involve-card p { color: var(--gray); font-size: .94rem; margin-bottom: 1rem; }
.involve-card ul { display: grid; gap: .5rem; margin-bottom: 1.2rem; }
.involve-card ul li { font-size: .9rem; color: var(--gray); display: flex; gap: .5rem; align-items: flex-start; }
.involve-card ul li::before { content: "▸"; color: var(--gold); flex: none; }

/* ---------- Values grid ---------- */
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.value-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; border-top: 4px solid var(--gold); transition: transform .3s, box-shadow .3s; }
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.value-card .v-icon { color: var(--palm-green); margin-bottom: 1rem; }
.value-card .v-icon svg { width: 34px; height: 34px; }
.value-card h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.value-card p { color: var(--gray); font-size: .94rem; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-info-card { background: var(--grad-canopy); color: var(--ivory); border-radius: var(--radius-lg); padding: 2.4rem; }
.contact-info-card h3 { color: var(--white); margin-bottom: 1.6rem; }
.contact-info-card .ci-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; }
.contact-info-card .ci-item .ci-ic { width: 44px; height: 44px; border-radius: 50%; background: rgba(214,174,99,.18); color: var(--gold-soft); display: grid; place-items: center; flex: none; }
.contact-info-card .ci-item .ci-ic svg { width: 20px; height: 20px; }
.contact-info-card .ci-item .ci-lab { font-family: var(--sans); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-soft); }
.contact-info-card .ci-item .ci-val { color: var(--ivory); font-size: .98rem; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); margin-top: 1.4rem; }
.map-embed iframe { width: 100%; height: 280px; border: 0; display: block; filter: grayscale(.2) contrast(1.05); }

/* ---------- Pull quote / legacy ---------- */
.legacy-quote { max-width: 820px; margin-inline: auto; text-align: center; }
.legacy-quote blockquote { font-family: var(--display); font-style: italic; font-size: clamp(1.4rem, 3vw, 2.1rem); color: var(--white); line-height: 1.4; }
.legacy-quote cite { display: block; margin-top: 1.4rem; font-family: var(--sans); font-style: normal; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .82rem; color: var(--gold-soft); }

@media (max-width: 980px) {
  .donate-layout, .contact-layout { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .team-grid.lead-row { grid-template-columns: repeat(2,1fr); max-width: 560px; }
  .impact-breakdown { grid-template-columns: repeat(2,1fr); }
  .process-grid { grid-template-columns: repeat(2,1fr); }
  .involve-grid, .values-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 620px) {
  .team-grid, .team-grid.lead-row, .impact-breakdown, .process-grid, .involve-grid, .values-grid, .donate-types, .amt-grid { grid-template-columns: 1fr; }
  .donate-types, .amt-grid { grid-template-columns: 1fr 1fr 1fr; }
}

/* ============ Gallery page additions ============ */
.gallery-filters { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin: 2.5rem 0 3rem; }
.gallery-filters button { font-family: var(--sans); font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: .6rem 1.3rem; border-radius: 100px; border: 1px solid var(--ivory-deep); background: var(--white); color: var(--gray); cursor: pointer; transition: all .3s; }
.gallery-filters button:hover { border-color: var(--gold-soft); color: var(--palm-green); }
.gallery-filters button.active { background: var(--palm-green); border-color: var(--palm-green); color: var(--ivory); }
.gallery-page-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; gap: 1.1rem; }
.gallery-item .g-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 1.2rem .9rem; color: var(--ivory); font-family: var(--sans); font-size: .82rem; font-weight: 600; letter-spacing: .02em; opacity: 0; transform: translateY(8px); transition: all .4s; z-index: 2; background: linear-gradient(to top, rgba(15,61,38,.9), transparent); }
.gallery-item:hover .g-cap { opacity: 1; transform: translateY(0); }
.gallery-item.hide { display: none; }
.lightbox-cap { position: absolute; bottom: 1.6rem; left: 0; right: 0; text-align: center; color: var(--ivory); font-family: var(--sans); font-size: .9rem; letter-spacing: .02em; }

/* ============ Events / Blog page additions ============ */
.events-tabs { display: flex; gap: .5rem; justify-content: center; margin: 0 0 3rem; flex-wrap: wrap; }
.events-tabs button { font-family: var(--sans); font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: .7rem 1.6rem; border-radius: 100px; border: none; background: transparent; color: var(--gray); cursor: pointer; transition: all .3s; }
.events-tabs button.active { background: var(--palm-green); color: var(--ivory); }
.feat-event { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--white); margin-bottom: 4rem; }
.feat-event-media { position: relative; min-height: 420px; }
.feat-event-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.feat-event-tag { position: absolute; top: 1.4rem; left: 1.4rem; background: var(--gold); color: var(--white); font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .45rem 1rem; border-radius: 100px; z-index: 2; }
.feat-event-body { padding: 3rem; display: flex; flex-direction: column; justify-content: center; }
.feat-event-body .fe-date { font-family: var(--sans); font-size: .85rem; font-weight: 600; color: var(--gold); letter-spacing: .04em; margin-bottom: .8rem; }
.feat-event-body h3 { font-family: var(--display); font-size: 2rem; color: var(--deep-canopy); line-height: 1.15; margin-bottom: 1rem; }
.feat-event-body p { color: var(--gray); margin-bottom: 1.6rem; }
.fe-countdown { display: flex; gap: 1.4rem; margin-bottom: 1.8rem; }
.fe-countdown .cd-unit { text-align: center; }
.fe-countdown .cd-num { font-family: var(--display); font-size: 2rem; font-weight: 700; color: var(--palm-green); line-height: 1; }
.fe-countdown .cd-lab { font-family: var(--sans); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gray-soft); margin-top: .35rem; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.blog-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform .4s, box-shadow .4s; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-media { position: relative; height: 210px; overflow: hidden; }
.blog-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.blog-card:hover .blog-media img { transform: scale(1.07); }
.blog-cat { position: absolute; top: 1rem; left: 1rem; background: rgba(30,91,58,.92); color: var(--ivory); font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .4rem .9rem; border-radius: 100px; }
.blog-body { padding: 1.8rem; display: flex; flex-direction: column; flex: 1; }
.blog-meta { font-family: var(--sans); font-size: .76rem; color: var(--gray-soft); letter-spacing: .03em; margin-bottom: .7rem; }
.blog-body h3 { font-family: var(--display); font-size: 1.3rem; color: var(--deep-canopy); line-height: 1.25; margin-bottom: .7rem; }
.blog-body p { color: var(--gray); font-size: .92rem; flex: 1; margin-bottom: 1.2rem; }
.blog-readmore { font-family: var(--sans); font-size: .82rem; font-weight: 600; color: var(--palm-green); display: inline-flex; align-items: center; gap: .4rem; }
.blog-readmore svg { width: 16px; height: 16px; transition: transform .3s; }
.blog-card:hover .blog-readmore svg { transform: translateX(4px); }

/* ============ Edidem biography sub-page ============ */
.bio-hero { position: relative; padding: 0; background: var(--deep-canopy); color: var(--ivory); overflow: hidden; }
.bio-hero-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 70vh; }
.bio-hero-copy { padding: 5rem clamp(1.5rem, 5vw, 5rem); }
.bio-hero-copy .eyebrow { color: var(--gold-soft); }
.bio-hero-copy h1 { font-family: var(--display); font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.08; margin: 1rem 0 1.2rem; }
.bio-hero-copy .reign { font-family: var(--sans); font-size: .95rem; letter-spacing: .04em; color: rgba(247,245,238,.75); }
.bio-hero-media { position: relative; min-height: 70vh; }
.bio-hero-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.bio-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--deep-canopy), transparent 40%); }
.bio-section { max-width: 820px; margin: 0 auto; }
.bio-section p { font-size: 1.08rem; line-height: 1.9; color: var(--charcoal); margin-bottom: 1.5rem; }
.bio-section p.lead { font-size: 1.3rem; line-height: 1.7; color: var(--deep-canopy); font-family: var(--display); font-style: italic; }
.bio-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.bio-pillar { background: var(--white); border-radius: var(--radius); padding: 2.2rem 1.8rem; box-shadow: var(--shadow); border-top: 3px solid var(--gold); }
.bio-pillar h3 { font-family: var(--display); font-size: 1.3rem; color: var(--palm-green); margin-bottom: .8rem; }
.bio-pillar p { color: var(--gray); font-size: .95rem; line-height: 1.7; }
.bio-quote { background: var(--deep-canopy); color: var(--ivory); border-radius: var(--radius-lg); padding: clamp(2.5rem, 5vw, 4rem); text-align: center; position: relative; }
.bio-quote blockquote { font-family: var(--display); font-style: italic; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.5; max-width: 760px; margin: 0 auto 1.4rem; }
.bio-quote cite { font-family: var(--sans); font-size: .9rem; letter-spacing: .05em; color: var(--gold-soft); font-style: normal; }

@media (max-width: 980px) {
  .gallery-page-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-event { grid-template-columns: 1fr; }
  .feat-event-media { min-height: 280px; }
  .bio-hero-inner { grid-template-columns: 1fr; }
  .bio-hero-media { min-height: 320px; order: -1; }
  .bio-hero-media::after { background: linear-gradient(0deg, var(--deep-canopy), transparent 50%); }
  .bio-pillars { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .gallery-page-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .blog-grid { grid-template-columns: 1fr; }
}

