/* ==========================================================================
   LEGAL & NETWORK — NGO Website
   Modern, premium, accessible design system
   ========================================================================== */

:root {
  --ink:        #05112b;
  --navy:       #0b1b3a;
  --navy-700:   #13285a;
  --navy-600:   #1b3574;
  --royal:      #23407f;
  --gold:       #f0b429;
  --gold-dark:  #c6891a;
  --gold-soft:  #fdf3dc;
  --emerald:    #0e9f6e;
  --emerald-soft:#e8f7f0;
  --cream:      #faf7f1;
  --paper:      #ffffff;
  --slate:      #5b6478;
  --line:       rgba(11, 27, 58, 0.12);
  --line-soft:  rgba(11, 27, 58, 0.07);

  --font-display: "Fraunces", "Georgia", serif;
  --font-body:    "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;

  --shadow-sm:  0 2px 10px rgba(5, 17, 43, 0.06);
  --shadow-md:  0 12px 34px rgba(5, 17, 43, 0.10);
  --shadow-lg:  0 30px 70px rgba(5, 17, 43, 0.18);
  --shadow-gold:0 14px 40px rgba(240, 180, 41, 0.35);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --radius-xl: 40px;

  --ease: cubic-bezier(.22, .68, .28, 1);
  --nav-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16.5px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul[role="list"], ol[role="list"] { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.14; font-weight: 600; letter-spacing: -0.01em; }

::selection { background: var(--gold); color: var(--ink); }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- Layout helpers ---------- */
.container { width: min(1180px, 92vw); margin-inline: auto; }
.section { padding-block: clamp(64px, 8vw, 108px); position: relative; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: #fff; }
.section--paper { background: var(--paper); }

.grid { display: grid; gap: 28px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.flow > * + * { margin-top: 20px; }

.text-center { text-align: center; }
.muted { color: var(--slate); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold-dark);
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--gold); border-radius: 2px; }
.eyebrow--center::after { content: ""; width: 34px; height: 2px; background: var(--gold); border-radius: 2px; }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); margin-block: 14px 16px; }
.section-head p { color: var(--slate); font-size: 1.06rem; }
.section--navy .section-head p { color: rgba(255,255,255,.72); }
.section--navy .section-head h2 { color: #fff; }

.split-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.split-head .section-head { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  --pad: 15px 26px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad); border-radius: 100px; font-weight: 700; font-size: 0.96rem;
  letter-spacing: 0.01em; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap; position: relative;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--gold); color: var(--ink); box-shadow: var(--shadow-gold); }
.btn-primary:hover { background: #ffc53c; transform: translateY(-3px); }
.btn-navy { background: var(--navy); color: #fff; box-shadow: var(--shadow-md); }
.btn-navy:hover { background: var(--navy-700); transform: translateY(-3px); }
.btn-outline { border: 1.6px solid var(--line); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--navy); background: var(--navy); color: #fff; transform: translateY(-3px); }
.btn-ghost-gold { color: #fff; border: 1.6px solid rgba(255,255,255,.35); }
.btn-ghost-gold:hover { border-color: var(--gold); color: var(--gold); }
.btn-lg { --pad: 18px 34px; font-size: 1.02rem; }
.btn-sm { --pad: 10px 18px; font-size: 0.86rem; }

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 60;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(250, 247, 241, .86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-soft), 0 10px 30px rgba(5,17,43,.06);
  height: 68px;
}
.home-hero + .site-header-wrap:has(.site-header), body:not(.home) .site-header { background: rgba(250,247,241,.9); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 44px; height: 44px; flex: none; }

.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; line-height: 1.05; }
.brand__name span { color: var(--gold-dark); }
.brand__tag { font-size: 0.62rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--slate); font-weight: 700; }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 0.94rem; font-weight: 600; color: var(--ink); position: relative; padding: 6px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--gold-dark); }
.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); position: relative; z-index: 70; background: #fff; }
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: .35s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 15px; } .nav-toggle span:nth-child(2) { top: 21px; } .nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(240,180,41,.16), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(35,64,127,.14), transparent 55%),
    linear-gradient(160deg, var(--cream) 0%, #fdfbf7 55%, #f6f1e7 100%);
  padding: clamp(48px, 6vw, 88px) 0 clamp(88px, 8vw, 130px);
}
.hero::before { /* blueprint grid */
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(11,27,58,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,27,58,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(700px 500px at 70% 30%, #000, transparent 75%);
          mask-image: radial-gradient(700px 500px at 70% 30%, #000, transparent 75%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 100px;
  padding: 9px 18px; font-size: .82rem; font-weight: 700; color: var(--navy);
  box-shadow: var(--shadow-sm); margin-bottom: 26px;
}
.hero-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 4px rgba(14,159,110,.18); animation: pulse 2.4s infinite; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.15rem); font-weight: 600; line-height: 1.06; letter-spacing: -0.015em; }
.hero h1 .gold { color: var(--gold-dark); }
.hero h1 .underline { position: relative; white-space: nowrap; }
.hero h1 .underline::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.06em; height: 0.32em;
  background: rgba(240,180,41,.34); z-index: -1; border-radius: 4px;
}
.hero p.lead { margin: 22px 0 30px; color: var(--slate); font-size: 1.12rem; max-width: 520px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 22px; margin-top: 34px; flex-wrap: wrap; }
.hero-trust .col { display: flex; align-items: center; gap: 10px; font-size: .84rem; font-weight: 600; color: var(--slate); }
.hero-trust svg { width: 20px; height: 20px; color: var(--emerald); }

.hero-art { position: relative; }
.hero-media { position: relative; max-width: 520px; margin-left: auto; }
.decor-ring {
  position: absolute; inset: -34px -34px auto auto; width: 190px; height: 190px;
  border-radius: 50%; border: 2px dashed rgba(240,180,41,.55); animation: spin 40s linear infinite;
  pointer-events: none;
}
.decor-ring::after {
  content: ""; position: absolute; left: -13px; top: 42px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 7px rgba(240,180,41,.22);
}
.hero-photo {
  width: 100%; aspect-ratio: 4 / 3.6; position: relative; overflow: hidden;
  border-radius: var(--radius-xl); border: 8px solid #fff; box-shadow: var(--shadow-lg);
  background: var(--navy-700);
}
.hero-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1s ease;
}
.hero-photo img.active { opacity: 1; }
.hero-stamp {
  position: absolute; top: -18px; left: 34px; background: var(--gold); color: var(--ink);
  border-radius: 100px; padding: 10px 16px; font-weight: 800; font-size: .72rem;
  letter-spacing: .08em; text-transform: uppercase; box-shadow: var(--shadow-md); display: inline-flex;
  align-items: center; gap: 8px;
}
.hero-stamp svg { width: 14px; height: 14px; }
.hero-fab {
  position: absolute; background: #fff; border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); padding: 14px 18px; display: flex; align-items: center; gap: 12px;
  animation: float 6s ease-in-out infinite;
}
.hero-fab .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.hero-fab .ic svg { width: 22px; height: 22px; }
.hero-fab b { font-family: var(--font-display); font-size: 1.05rem; display: block; line-height: 1.2; }
.hero-fab small { color: var(--slate); font-size: .74rem; font-weight: 600; }
.hero-fab--1 { top: 26%; right: -10%; animation-delay: .4s; }
.hero-fab--2 { bottom: -22px; left: -6%; animation-delay: 1.2s; }
.hero-fab--1 .ic { background: var(--emerald-soft); color: var(--emerald); }
.hero-fab--2 .ic { background: var(--gold-soft); color: var(--gold-dark); }

/* ==========================================================================
   STATS BAND
   ========================================================================== */
.stats-band {
  background: var(--navy); color: #fff; position: relative; overflow: hidden;
}
.stats-band::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px;
  border-radius: 50%; background: radial-gradient(circle, rgba(240,180,41,.18), transparent 70%);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; z-index: 2; padding-block: 30px; }
.stat { text-align: center; position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; left: -16px; top: 12%; bottom: 12%; width: 1px; background: rgba(255,255,255,.12);
}
.stat__num { font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 700; color: var(--gold); display: flex; justify-content: center; align-items: baseline; }
.stat__num .suffix { font-size: .55em; margin-left: 2px; color: var(--gold); }
.stat__label { color: rgba(255,255,255,.78); font-size: .9rem; font-weight: 600; margin-top: 6px; }

/* ==========================================================================
   CARDS — services / programs
   ========================================================================== */
.service-card {
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: 34px 28px; position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.service-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark)); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card__ic {
  width: 58px; height: 58px; border-radius: var(--radius-md); display: grid; place-items: center;
  background: var(--gold-soft); color: var(--gold-dark); margin-bottom: 22px; transition: .35s var(--ease);
}
.service-card:hover .service-card__ic { background: var(--navy); color: var(--gold); transform: rotate(-6deg) scale(1.05); }
.service-card__ic svg { width: 27px; height: 27px; }
.service-card h3 { font-size: 1.28rem; margin-bottom: 10px; }
.service-card p { color: var(--slate); font-size: .95rem; }
.service-card a.card-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 700;
  font-size: .88rem; color: var(--navy);
}
.service-card a.card-link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.service-card:hover a.card-link svg { transform: translateX(5px); }

/* ---------- Feature / about split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.media-frame { position: relative; }
.media-frame .frame {
  border-radius: var(--radius-xl); background: linear-gradient(150deg, var(--navy-600), var(--royal));
  aspect-ratio: 4 / 3.4; display: grid; place-items: center; overflow: hidden; position: relative;
  box-shadow: var(--shadow-lg);
}
.media-frame .frame--photo::after { display: none; }
.media-frame .frame--photo img,
.media-frame .frame img.photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0;
}
.media-frame .frame::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 34px 34px;
}
.media-frame .frame svg { width: 46%; height: auto; filter: drop-shadow(0 16px 40px rgba(0,0,0,.35)); }
.frame-note {
  position: absolute; bottom: -26px; right: -18px; background: var(--gold); color: var(--ink);
  border-radius: var(--radius-lg); padding: 18px 26px; box-shadow: var(--shadow-md); z-index: 3;
  text-align: center;
}
.frame-note b { font-family: var(--font-display); font-size: 2rem; line-height: 1; display: block; }
.frame-note small { font-weight: 700; font-size: .74rem; letter-spacing: .04em; }

.check-list { display: grid; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list .chk {
  width: 26px; height: 26px; border-radius: 9px; background: var(--emerald-soft); color: var(--emerald);
  display: grid; place-items: center; flex: none; margin-top: 2px;
}
.check-list .chk svg { width: 14px; height: 14px; }
.check-list b { display: block; font-size: 1rem; }
.check-list span { color: var(--slate); font-size: .92rem; }

/* ---------- Steps ---------- */
.step { position: relative; padding: 30px; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); transition: transform .35s var(--ease), box-shadow .35s; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.section--navy .step { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); }
.section--navy .step:hover { box-shadow: 0 18px 44px rgba(0,0,0,.35); }
.step__num {
  font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: transparent;
  -webkit-text-stroke: 1.4px var(--gold-dark); line-height: 1;
}
.step h3 { margin: 16px 0 8px; font-size: 1.2rem; }
.step p { color: var(--slate); font-size: .94rem; }

/* ---------- Donation ---------- */
.donate-card {
  background: var(--navy); border-radius: var(--radius-xl); color: #fff; overflow: hidden;
  position: relative; box-shadow: var(--shadow-lg);
}
.donate-card::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(240,180,41,.22), transparent 60%),
    radial-gradient(500px 400px at 0% 100%, rgba(35,64,127,.5), transparent 60%);
}
.donate-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 0; }
.donate-art { padding: clamp(40px, 5vw, 70px); display: flex; flex-direction: column; justify-content: center; }
.donate-art h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); color: #fff; margin-block: 12px 18px; }
.donate-art p { color: rgba(255,255,255,.78); max-width: 400px; }
.donate-amounts { display: flex; flex-wrap: wrap; gap: 12px; }
.amount {
  border: 1.6px solid rgba(255,255,255,.28); color: #fff; padding: 14px 22px; border-radius: 100px;
  font-weight: 700; font-size: 1rem; transition: .3s var(--ease);
}
.amount:hover { border-color: var(--gold); }
.amount.active { background: var(--gold); color: var(--ink); border-color: var(--gold); box-shadow: var(--shadow-gold); }
.donate-panel { padding: clamp(40px, 5vw, 70px); display: flex; flex-direction: column; justify-content: center; }
.donate-panel .card {
  background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 36px);
  box-shadow: var(--shadow-lg);
}
.donate-panel .field { margin-bottom: 16px; }
.donate-panel label { display: block; font-size: .8rem; font-weight: 700; color: var(--slate); margin-bottom: 8px; letter-spacing: .02em; }
.donate-panel input, .donate-panel select {
  width: 100%; padding: 14px 16px; border: 1.6px solid var(--line); border-radius: 12px; background: #fff;
  transition: border-color .25s, box-shadow .25s;
}
.donate-panel input:focus, .donate-panel select:focus { outline: none; border-color: var(--gold-dark); box-shadow: 0 0 0 4px rgba(240,180,41,.16); }
.donate-panel .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testi-wrap { position: relative; overflow: hidden; }
.testi-track { display: flex; transition: transform .6s var(--ease); }
.testi-slide { flex: 0 0 100%; padding: 4px; }
.testi {
  max-width: 780px; margin-inline: auto; text-align: center; background: #fff;
  border-radius: var(--radius-xl); padding: clamp(30px, 4vw, 54px) clamp(24px, 4vw, 60px);
  box-shadow: var(--shadow-md); border: 1px solid var(--line-soft); position: relative;
}
.testi .quote-mark { width: 52px; height: 52px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-dark); display: grid; place-items: center; margin: 0 auto 22px; }
.testi .quote-mark svg { width: 24px; height: 24px; }
.testi blockquote { font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.45; color: var(--ink); }
.testi cite { display: block; margin-top: 26px; font-style: normal; }
.testi cite b { font-family: var(--font-display); font-size: 1.05rem; display: block; }
.testi cite small { color: var(--slate); font-weight: 600; }
.testi-stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 16px; font-size: .95rem; }
.testi-dots { display: flex; gap: 9px; justify-content: center; margin-top: 30px; }
.testi-dots button { width: 34px; height: 5px; border-radius: 3px; background: var(--line); transition: .35s; }
.testi-dots button.active { width: 46px; background: var(--gold); }

/* ---------- Logos / partners ---------- */
.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); }
.marquee-track { display: flex; gap: 60px; width: max-content; animation: marquee 30s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
.partner { font-family: var(--font-display); font-size: 1.15rem; color: var(--slate); opacity: .6; white-space: nowrap; display: flex; align-items: center; gap: 8px; font-weight: 600; transition: opacity .3s; }
.partner:hover { opacity: 1; }
.partner svg { width: 20px; height: 20px; }

/* ==========================================================================
   IMPACT / metrics bars
   ========================================================================== */
.bar-item { margin-bottom: 26px; }
.bar-item header { display: flex; justify-content: space-between; font-weight: 700; font-size: .92rem; margin-bottom: 10px; }
.bar { height: 9px; border-radius: 6px; background: rgba(255,255,255,.14); overflow: hidden; }
.bar > span { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--gold), #ffca3a); transition: width 1.6s var(--ease); }
.section--navy .bar-item header { color: #fff; }

/* ==========================================================================
   TEAM
   ========================================================================== */
.team-card { text-align: center; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line-soft); transition: transform .35s var(--ease), box-shadow .35s; }
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.team-avatar {
  aspect-ratio: 1/1.05; display: grid; place-items: center; color: #fff; overflow: hidden;
  background: linear-gradient(150deg, var(--navy-600), var(--royal)) ;
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-avatar svg { width: 46%; opacity: .9; }
.team-meta { padding: 22px 18px 26px; }
.team-meta h3 { font-size: 1.18rem; }
.team-meta span { color: var(--gold-dark); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.team-meta p { color: var(--slate); font-size: .86rem; margin-top: 8px; }

/* ==========================================================================
   TIMELINE
   ========================================================================== */
.timeline { position: relative; max-width: 760px; margin-inline: auto; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--gold), var(--navy)); border-radius: 2px; }
.tl-item { position: relative; padding-bottom: 40px; }
.tl-item::before {
  content: ""; position: absolute; left: -28px; top: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 4px solid var(--gold); box-shadow: 0 0 0 5px var(--gold-soft);
}
.tl-year { font-family: var(--font-display); font-weight: 700; color: var(--gold-dark); font-size: 1.05rem; }
.tl-item h3 { font-size: 1.25rem; margin: 4px 0 6px; }
.tl-item p { color: var(--slate); font-size: .95rem; }

/* ==========================================================================
   VALUES
   ========================================================================== */
.value-card { background: #fff; border-radius: var(--radius-lg); padding: 32px; border: 1px solid var(--line-soft); transition: .35s var(--ease); }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value-card svg { width: 34px; height: 34px; color: var(--gold-dark); margin-bottom: 18px; }
.value-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.value-card p { color: var(--slate); font-size: .94rem; }

/* ==========================================================================
   ACCORDION (FAQ)
   ========================================================================== */
.acc { border-bottom: 1px solid var(--line-soft); }
.acc:last-child { border-bottom: 0; }
.acc summary { list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc__btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 6px; text-align: left; font-weight: 700; font-size: 1.04rem; }
.acc__btn .plus { width: 30px; height: 30px; border-radius: 50%; border: 1.6px solid var(--line); display: grid; place-items: center; flex: none; transition: .35s var(--ease); }
.acc__btn .plus svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.acc[open] .acc__btn .plus { background: var(--gold); border-color: var(--gold); transform: rotate(45deg); }
.acc__panel { color: var(--slate); font-size: .95rem; padding: 0 6px 24px; }

/* ==========================================================================
   FORMS / CONTACT
   ========================================================================== */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .8rem; font-weight: 700; color: var(--slate); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border: 1.6px solid var(--line); border-radius: 12px; background: #fff;
  transition: border-color .25s, box-shadow .25s; resize: vertical;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold-dark); box-shadow: 0 0 0 4px rgba(240,180,41,.16); }
.field .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field.invalid input, .field.invalid textarea { border-color: #d64545; }
.form-note { font-size: .82rem; color: var(--slate); }
.chip-group { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input {
  position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%;
}
.chip span {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 100px;
  border: 1.6px solid var(--line); font-size: .85rem; font-weight: 700; background: #fff;
  transition: .25s var(--ease); cursor: pointer; user-select: none;
}
.chip input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.chip--light span { border-color: rgba(255,255,255,.28); color: #fff; background: transparent; }
.chip--light input:checked + span { background: var(--gold); color: var(--ink); border-color: var(--gold); }

.form-success {
  display: none; margin-top: 16px; padding: 16px 18px; border-radius: 12px;
  background: var(--emerald-soft); color: #0b6e4f; font-weight: 600; font-size: .92rem;
}
.form-success.show { display: flex; align-items: center; gap: 10px; }
.form-success svg { width: 20px; height: 20px; flex: none; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 34px; align-items: start; }
.info-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-md); }
.info-card .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; flex: none; }
.info-card .ic svg { width: 22px; height: 22px; }
.info-card .ic--gold { background: var(--gold-soft); color: var(--gold-dark); }
.info-card .ic--green { background: var(--emerald-soft); color: var(--emerald); }
.info-card .ic--navy { background: #e8edf8; color: var(--navy); }
.info-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.info-card p, .info-card a { color: var(--slate); font-size: .92rem; }

/* ==========================================================================
   PAGE BANNER
   ========================================================================== */
.page-banner {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(800px 400px at 85% -20%, rgba(240,180,41,.25), transparent 60%),
    radial-gradient(700px 400px at -5% 110%, rgba(35,64,127,.6), transparent 60%),
    linear-gradient(150deg, var(--navy-700), var(--navy));
  padding: clamp(64px, 8vw, 110px) 0 clamp(40px, 6vw, 70px);
}
.page-banner::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(600px 400px at 70% 0%, #000, transparent 75%);
          mask-image: radial-gradient(600px 400px at 70% 0%, #000, transparent 75%);
}
.breadcrumb { font-size: .82rem; color: rgba(255,255,255,.65); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.breadcrumb a:hover { color: var(--gold); }
.page-banner h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); margin-block: 14px 12px; }
.page-banner p { color: rgba(255,255,255,.8); max-width: 620px; font-size: 1.05rem; }

/* ==========================================================================
   CTA FOOTER BAND
   ========================================================================== */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--gold) 0%, #ffc53c 100%); color: var(--ink); }
.cta-band::before { content: ""; position: absolute; right: -60px; top: -60px; width: 300px; height: 300px; border-radius: 50%; border: 40px solid rgba(11,27,58,.08); }
.cta-grid { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; position: relative; }
.cta-grid h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); max-width: 560px; }
.cta-grid p { font-weight: 600; opacity: .85; margin-top: 8px; }

/* ---------- Newsletter ---------- */
.newsletter { display: flex; gap: 10px; max-width: 460px; }
.newsletter input { flex: 1; padding: 15px 20px; border-radius: 100px; border: 0; background: #fff; box-shadow: var(--shadow-md); min-width: 0; }
.newsletter input:focus { outline: 3px solid rgba(5,17,43,.25); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--ink); color: rgba(255,255,255,.78); padding-top: clamp(56px, 6vw, 84px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 46px; }
.footer-brand .brand__name { color: #fff; }
.footer-brand .brand__tag { color: rgba(255,255,255,.5); }
.footer-brand p { font-size: .92rem; margin: 18px 0 22px; max-width: 300px; }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18);
  display: grid; place-items: center; transition: .3s var(--ease);
}
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: translateY(-4px); }
.socials svg { width: 18px; height: 18px; }
.footer-col h4 { color: #fff; font-family: var(--font-body); font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 20px; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { font-size: .93rem; transition: color .25s, padding-left .25s; }
.footer-col a:hover { color: var(--gold); padding-left: 5px; }
.footer-col li span { display: block; font-size: .93rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--gold); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 80; width: 50px; height: 50px; border-radius: 50%;
  background: var(--navy); color: var(--gold); display: grid; place-items: center;
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: .35s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--navy-700); }
.to-top svg { width: 20px; height: 20px; }

/* ==========================================================================
   ANIMATIONS / REVEAL
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; } .reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; } .reveal-delay-4 { transition-delay: .32s; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes marquee { to { transform: translateX(-50%); } }

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

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 70px; }
  .hero-art { max-width: 460px; margin-inline: auto; width: 100%; }
  .hero-media { margin-inline: auto; }
  .hero-fab--1 { right: 0; } .hero-fab--2 { left: 0; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  .nav-links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 8px;
    background: rgba(250,247,241,.97); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    transform: translateX(105%); transition: transform .5s var(--ease); padding: 30px; z-index: 69;
  }
  .nav-links.open { transform: translateX(0); box-shadow: 0 40px 80px rgba(5,17,43,.2); }
  .nav-links a { font-size: 1.6rem; font-family: var(--font-display); padding: 10px 0; }
  .nav-links a::after { display: none; }
  .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .g3, .g2 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .frame-note { right: 8px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .stat + .stat::before { display: none; }
  .donate-grid, .contact-grid { grid-template-columns: 1fr; }
  .donate-art, .donate-panel { padding: 38px 26px; }
  .cta-grid { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  :root { --nav-h: 72px; }
  .g4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .hero-fab { padding: 11px 14px; }
  .hero-fab .ic { width: 36px; height: 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .donate-panel .row, .field .row { grid-template-columns: 1fr; }
  .newsletter { flex-direction: column; }
  .newsletter input { border-radius: 50px; }
}