/* Utsharga — modern minimal stylesheet */

:root {
  --accent: #d9622b;
  --accent-dark: #b74f1f;
  --ink: #1f2420;
  --ink-soft: #4b524d;
  --paper: #ffffff;
  --paper-alt: #f6f4f0;
  --line: #e7e3db;
  --radius: 14px;
  --max: 1140px;
  --shadow: 0 10px 30px -18px rgba(31, 36, 32, 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.6em;
  color: var(--ink);
}

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }
section.tight { padding: 72px 0; }
.alt { background: var(--paper-alt); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.9em;
}

.section-head { max-width: 640px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 2px 20px -18px rgba(0,0,0,0.4); }

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 10px; font-family: "Fraunces", serif; font-weight: 600; font-size: 1.15rem; color: var(--ink); }
.brand img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.brand:hover { color: var(--ink); }

.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink-soft); font-size: 0.93rem; font-weight: 500; }
.nav-links a:hover { color: var(--accent); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: "";
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span { margin: 5px 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: #fff;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 20, 18, 0.55) 0%, rgba(20, 20, 18, 0.72) 100%);
}
.hero-inner { position: relative; z-index: 1; max-width: 680px; padding: 140px 24px 80px; margin: 0 auto; text-align: center; }
.hero .eyebrow { color: #f3d9c6; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem); }
.hero p.lead { color: #f1efe9; font-size: 1.1rem; max-width: 540px; margin: 0 auto 2em; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: -64px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow);
}
.stat {
  background: var(--paper);
  padding: 32px 24px;
  text-align: center;
}
.stat .num { font-family: "Fraunces", serif; font-size: 2.4rem; font-weight: 600; color: var(--accent); }
.stat .label { font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.about-grid img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-grid .facts { display: flex; gap: 24px; margin-top: 24px; flex-wrap: wrap; }
.about-grid .facts div { font-size: 0.85rem; color: var(--ink-soft); border-left: 2px solid var(--accent); padding-left: 10px; }

/* ---------- Cards grid ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: #f7e6d9;
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card h3 { font-size: 1.1rem; }
.card p { font-size: 0.93rem; margin-bottom: 0; }

/* ---------- Causes ---------- */
.cause-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cause {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.cause::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(15,15,13,0.82) 100%); }
.cause .txt { position: relative; z-index: 1; padding: 22px; }
.cause h3 { color: #fff; font-size: 1.05rem; margin-bottom: 0.3em; }
.cause p { color: #eee; font-size: 0.85rem; margin: 0; }

/* ---------- Split content (Mission, EDP, Advocacy) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .media { order: 2; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }

.program {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--paper);
  margin-bottom: 20px;
}
.program h3 { font-size: 1.08rem; margin-bottom: 0.5em; }
.program p:last-child { margin-bottom: 0; }

/* ---------- Projects ---------- */
.project-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.project-col { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.project-col h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); }
.project-col ul { list-style: none; margin: 0; padding: 0; }
.project-col li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--ink-soft);
  display: flex;
  gap: 10px;
}
.project-col li:last-child { border-bottom: none; }
.project-col li::before { content: "→"; color: var(--accent); flex-shrink: 0; }

/* ---------- Members ---------- */
.member-card { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; background: var(--paper-alt); border-radius: var(--radius); padding: 40px; }
.member-card img { border-radius: var(--radius); box-shadow: var(--shadow); }
.member-card h3 { margin-bottom: 0.2em; }
.member-card .role { color: var(--accent); font-weight: 600; font-size: 0.9rem; margin-bottom: 1.4em; display: block; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-grid button {
  padding: 0; border: none; cursor: pointer;
  border-radius: 10px; overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--paper-alt);
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.gallery-grid button:hover img { transform: scale(1.06); }

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10, 10, 9, 0.92);
  display: none;
  align-items: center; justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 8px; }
.lightbox-close {
  position: absolute; top: 24px; right: 32px;
  background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; line-height: 1;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-align: center; }
.contact-card .icon { width: 44px; height: 44px; margin: 0 auto 16px; color: var(--accent); }
.contact-card h4 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.6em; }
.contact-card p { margin: 0; font-size: 0.93rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d8d6d0; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-grid h4 { color: #fff; font-family: "Inter", sans-serif; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1.1em; }
.site-footer p { color: #adaaa2; font-size: 0.9rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.6em; }
.footer-grid a { color: #d8d6d0; font-size: 0.9rem; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px; text-align: center; font-size: 0.82rem; color: #918e86; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .about-grid, .split, .project-cols, .footer-grid { grid-template-columns: 1fr; }
  .split.reverse .media { order: 0; }
  .stats, .card-grid, .cause-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .member-card { grid-template-columns: 1fr; }
  .member-card img { max-width: 220px; }
  section { padding: 64px 0; }
}

@media (max-width: 560px) {
  .stats, .card-grid, .cause-grid, .contact-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { padding-top: 120px; }
}

body.nav-open .nav-links {
  display: flex;
  position: absolute;
  top: 100%; left: 0; right: 0;
  flex-direction: column;
  background: var(--paper);
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  gap: 16px;
}
