/* ─── DESIGN TOKENS ─── */
:root {
  --cedar: #1a3a2a;
  --cedar-light: #2a5a3a;
  --sand: #f5f0e8;
  --sand-dark: #e8e0d0;
  --terracotta: #c45a3c;
  --terracotta-light: #d4795f;
  --white: #ffffff;
  --text: #2c2c2c;
  --text-light: #6b6b6b;
  --gold: #c9a84c;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--sand);
  line-height: 1.65;
  overflow-x: hidden;
}

/* ─── SITE NAV (org pages) ─── */
.site-nav {
  background: var(--cedar);
  padding: 1rem 2rem;
  padding-right: 8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-back {
  color: rgba(245,240,232,0.7);
  text-decoration: none;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s ease;
}

.nav-back:hover { color: var(--sand); }

.nav-back svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.nav-title {
  color: rgba(245,240,232,0.45);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ─── HERO (landing page) ─── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  background: var(--cedar);
  color: var(--sand);
  padding: 2rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(196,90,60,0.15), transparent),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(201,168,76,0.08), transparent);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  right: -5%;
  bottom: -10%;
  width: 500px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(42,90,58,0.3) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  animation: fadeUp 1s ease-out;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-label {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  font-weight: 500;
}

.hero h1 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 1.08;
  font-weight: 400;
  margin-bottom: 1.5rem;
  max-width: 800px;
}

.hero h1 em {
  font-style: italic;
  color: var(--terracotta-light);
}

.hero-desc {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 560px;
  color: rgba(245,240,232,0.75);
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--terracotta);
  color: var(--white);
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
}

.hero-cta:hover {
  background: var(--terracotta-light);
  transform: translateY(-2px);
}

.hero-cta svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.hero-cta:hover svg { transform: translateY(2px); }

/* ─── ORG HERO (org pages) ─── */
.org-hero {
  background: var(--cedar);
  color: var(--sand);
  padding: 5rem 2rem 4.5rem;
  position: relative;
  overflow: hidden;
}

.org-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(196,90,60,0.15), transparent),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(201,168,76,0.08), transparent);
  pointer-events: none;
}

.org-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.org-hero-tag {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.org-hero h1 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.org-hero-ar {
  font-size: 1.4rem;
  color: rgba(245,240,232,0.5);
  margin-bottom: 1.5rem;
  direction: rtl;
  font-style: italic;
}

.org-hero-summary {
  font-size: 1.05rem;
  color: rgba(245,240,232,0.75);
  max-width: 560px;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.hero-donate-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--terracotta);
  color: var(--white);
  padding: 0.9rem 2rem;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.hero-donate-btn:hover {
  background: var(--terracotta-light);
  transform: translateY(-2px);
}

.hero-donate-btn svg {
  width: 14px;
  height: 14px;
}

/* ─── CONTEXT (landing page) ─── */
.context {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.context-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.context-label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
  margin-bottom: 1rem;
}

.context h2 {
  font-family: 'Instrument Serif', serif;
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1.15;
  color: var(--cedar);
}

.context-body p {
  margin-bottom: 1.25rem;
  color: var(--text);
  font-size: 1.02rem;
}

.context-body p:first-child::first-letter {
  font-family: 'Instrument Serif', serif;
  font-size: 3.5rem;
  float: left;
  line-height: 0.85;
  margin-right: 0.5rem;
  margin-top: 0.15rem;
  color: var(--cedar);
}

.stat-row {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--sand-dark);
}

.stat { flex: 1; }

.stat-number {
  font-family: 'Instrument Serif', serif;
  font-size: 2.4rem;
  color: var(--terracotta);
  line-height: 1;
}

.stat-desc {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 0.35rem;
}

/* ─── ORGANISATIONS (landing page) ─── */
.orgs {
  padding: 5rem 2rem 6rem;
  background: var(--white);
}

.orgs-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.orgs-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.orgs h2 {
  font-family: 'Instrument Serif', serif;
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--cedar);
}

.orgs-subtitle {
  font-size: 0.95rem;
  color: var(--text-light);
  max-width: 400px;
}

.org-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.org-card {
  border: 1px solid var(--sand-dark);
  padding: 2.5rem 2rem 2rem;
  position: relative;
  transition: all 0.35s ease;
  background: var(--white);
}

.org-card:hover {
  border-color: var(--cedar-light);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(26,58,42,0.08);
}

.org-tag {
  position: absolute;
  top: 0;
  left: 2rem;
  background: var(--cedar);
  color: var(--sand);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  font-weight: 500;
}

.org-name {
  font-family: 'Instrument Serif', serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--cedar);
  margin-bottom: 0.4rem;
  margin-top: 0.5rem;
}

.org-name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.org-name a:hover { color: var(--terracotta); }

.org-name-ar {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  direction: rtl;
  font-style: italic;
}

.org-desc {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.org-services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.75rem;
}

.org-service {
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--sand);
  color: var(--cedar);
  padding: 0.3rem 0.65rem;
  font-weight: 500;
}

.org-donate {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--terracotta);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.3s ease;
  width: 100%;
  justify-content: center;
}

.org-donate:hover { background: var(--terracotta-light); }

.org-donate svg {
  width: 14px;
  height: 14px;
}

/* ─── EU AUDIENCE NOTE (landing page) ─── */
.eu-note {
  padding: 4rem 2rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.eu-note h2 {
  font-family: 'Instrument Serif', serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--cedar);
  margin-bottom: 1rem;
}

.eu-note p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.eu-note-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--terracotta);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  border-bottom: 2px solid var(--terracotta);
  padding-bottom: 2px;
  transition: all 0.3s ease;
}

.eu-note-cta:hover {
  color: var(--cedar);
  border-color: var(--cedar);
}

/* ─── SECTION LABEL (shared) ─── */
.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ─── ORG ABOUT ─── */
.org-about {
  padding: 5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.org-about h2 {
  font-family: 'Instrument Serif', serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--cedar);
  margin-bottom: 2rem;
}

.org-about-body p {
  margin-bottom: 1.4rem;
  color: var(--text);
  font-size: 1.02rem;
  max-width: 720px;
  line-height: 1.75;
}

.org-about-body p:first-child::first-letter {
  font-family: 'Instrument Serif', serif;
  font-size: 3.5rem;
  float: left;
  line-height: 0.85;
  margin-right: 0.5rem;
  margin-top: 0.15rem;
  color: var(--cedar);
}

/* ─── SUPPLIES / WHAT THEY PROVIDE ─── */
.org-supplies {
  padding: 4rem 2rem;
  background: var(--white);
}

.org-supplies-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.org-supplies h2 {
  font-family: 'Instrument Serif', serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--cedar);
  margin-bottom: 0.5rem;
}

.org-supplies-subtitle {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}

.supplies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.supply-item {
  border: 1px solid var(--sand-dark);
  padding: 1.5rem;
  background: var(--sand);
}

.supply-tag {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--cedar);
  color: var(--sand);
  padding: 0.3rem 0.65rem;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.supply-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cedar);
  margin-bottom: 0.4rem;
}

.supply-item p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.55;
}

/* ─── WHERE THEY WORK ─── */
.org-where {
  padding: 4rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.org-where h2 {
  font-family: 'Instrument Serif', serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--cedar);
  margin-bottom: 0.75rem;
}

.org-where p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 680px;
  margin-bottom: 1.5rem;
}

.where-regions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.where-region {
  background: var(--sand-dark);
  color: var(--cedar);
  font-size: 0.82rem;
  padding: 0.45rem 1rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* ─── UPDATES / TIMELINE ─── */
.updates {
  padding: 5rem 2rem;
  background: var(--white);
}

.updates-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.updates h2 {
  font-family: 'Instrument Serif', serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--cedar);
  margin-bottom: 0.5rem;
}

.updates-subtitle {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 3rem;
}

.update-list {
  display: flex;
  flex-direction: column;
}

.update-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 3rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--sand-dark);
}

.update-item:last-child {
  border-bottom: 1px solid var(--sand-dark);
}

.update-date {
  font-family: 'Instrument Serif', serif;
  font-size: 1.05rem;
  color: var(--terracotta);
  padding-top: 0.15rem;
}

.update-body h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--cedar);
  margin-bottom: 0.75rem;
}

.update-body p {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 0.75rem;
  max-width: 680px;
}

.update-body p:last-child { margin-bottom: 0; }

/* ─── DONATE SECTION (org pages) ─── */
.donate-section {
  background: var(--cedar);
  color: var(--sand);
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}

.donate-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 30% 50%, rgba(196,90,60,0.2), transparent);
  pointer-events: none;
}

.donate-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.donate-section h2 {
  font-family: 'Instrument Serif', serif;
  font-size: 2.2rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.donate-section p {
  font-size: 0.95rem;
  color: rgba(245,240,232,0.75);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.donate-btn-large {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--terracotta);
  color: var(--white);
  padding: 1.1rem 2.5rem;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  transition: all 0.3s ease;
  letter-spacing: 0.02em;
}

.donate-btn-large:hover {
  background: var(--terracotta-light);
  transform: translateY(-2px);
}

.donate-btn-large svg {
  width: 16px;
  height: 16px;
}

.donate-note {
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: rgba(245,240,232,0.38);
}

/* ─── FOOTER ─── */
footer {
  background: var(--cedar);
  color: rgba(245,240,232,0.5);
  padding: 3rem 2rem;
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.7;
}

footer a {
  color: rgba(245,240,232,0.7);
  text-decoration: none;
}

footer a:hover { color: var(--sand); }

.footer-cedar {
  font-family: 'Instrument Serif', serif;
  font-size: 1.8rem;
  color: rgba(245,240,232,0.15);
  margin-bottom: 1rem;
}

/* ─── SCROLL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .context-grid { grid-template-columns: 1fr; gap: 2rem; }
  .stat-row { flex-direction: column; gap: 1.5rem; }
  .org-cards { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.4rem; }
  .update-item { grid-template-columns: 1fr; gap: 0.75rem; }
  .supplies-grid { grid-template-columns: 1fr; }
  .nav-title { display: none; }
}

/* ─── LANGUAGE TOGGLE ─── */
.lang-toggle-fixed {
  position: fixed;
  top: 1.25rem;
  right: 1.5rem;
  z-index: 1000;
  display: flex;
  align-items: center;
  background: rgba(26,58,42,0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(245,240,232,0.12);
}

.lang-btn {
  background: none;
  border: none;
  color: rgba(245,240,232,0.45);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
  line-height: 1;
}

.lang-btn.active { color: var(--sand); background: rgba(245,240,232,0.1); }
.lang-btn:hover:not(.active) { color: rgba(245,240,232,0.75); }

.lang-divider {
  width: 1px;
  height: 14px;
  background: rgba(245,240,232,0.18);
  flex-shrink: 0;
}

/* ─── ORG CARD ACTIONS ─── */
.org-card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.org-learn-more {
  display: inline-flex;
  align-items: center;
  color: var(--cedar);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(26,58,42,0.25);
  padding-bottom: 2px;
  width: fit-content;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.org-learn-more:hover {
  color: var(--terracotta);
  border-color: var(--terracotta);
}

/* ─── WHO WE ARE ─── */
.who-we-are {
  padding: 4.5rem 2rem;
  border-top: 1px solid var(--sand-dark);
}

.who-inner {
  max-width: 680px;
  margin: 0 auto;
}

.who-we-are h2 {
  font-family: 'Instrument Serif', serif;
  font-size: 1.9rem;
  font-weight: 400;
  color: var(--cedar);
  margin-bottom: 1rem;
}

.who-we-are p {
  font-size: 0.97rem;
  color: var(--text);
  line-height: 1.8;
}

/* ─── INSTAGRAM SECTION (org pages) ─── */
.instagram-section {
  padding: 5rem 2rem;
  background: var(--white);
}

.instagram-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.instagram-section h2 {
  font-family: 'Instrument Serif', serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--cedar);
  margin-bottom: 0.5rem;
}

.instagram-subtitle {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}

.instagram-embed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.instagram-embed-slot {
  background: var(--sand);
  border: 1px solid var(--sand-dark);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  gap: 0.75rem;
}

.instagram-embed-slot p {
  font-size: 0.85rem;
  color: var(--text-light);
}

.instagram-link-row {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--terracotta);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--terracotta);
  padding-bottom: 2px;
  transition: opacity 0.2s ease;
}

.instagram-link:hover { opacity: 0.75; }

.instagram-link svg { width: 14px; height: 14px; }

.instagram-embed-note {
  font-size: 0.82rem;
  color: var(--text-light);
  font-style: italic;
}

@media (max-width: 768px) {
  .lang-toggle-fixed { top: 0.75rem; right: 1rem; }
  .who-we-are { padding: 3rem 1.5rem; }
  .instagram-embed-grid { grid-template-columns: 1fr; }
}