/* =========================================================
   Lebanese Young Talents — Design System
   ========================================================= */

/* ---------- Accessibility: skip link ---------- */
.skip-link {
  position: absolute;
  top: -100px; left: 12px;
  background: #FE4811;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 700;
  z-index: 9999;
  transition: top .2s ease;
  text-decoration: none;
}
.skip-link:focus { top: 12px; outline: 3px solid #F6BD00; outline-offset: 2px; }

/* Visible keyboard focus everywhere */
:focus-visible {
  outline: 3px solid #F6BD00;
  outline-offset: 2px;
  border-radius: 4px;
}
.btn:focus-visible { outline-offset: 4px; }

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

:root {
  /* Official LYT brand palette — from Aida Bedran's brand bible */
  --blue:        #0064A1;   /* Pantone 641C — primary brand */
  --blue-deep:   #004A78;   /* darker shade for hover/depth */
  --blue-soft:   #1278B8;   /* lighter shade */
  --orange:      #FE4811;   /* Pantone 172C — primary accent */
  --orange-deep: #D03808;
  --yellow:      #F6BD00;   /* Pantone 7408C — secondary accent */
  --yellow-soft: #FFD443;

  /* Legacy aliases (still used in places) → mapped to brand */
  --navy:        #0064A1;
  --navy-soft:   #004A78;
  --red:         #FE4811;
  --red-deep:    #D03808;
  --gold:        #F6BD00;

  /* Neutrals */
  --cream:       #FFF8EE;     /* warm off-white, complements yellow */
  --cream-soft:  #FFFCF6;
  --ink:         #0A1929;     /* near-black with blue undertone */
  --ink-soft:    #1A2F44;
  --muted:       #5A6B7C;
  --muted-soft:  #A8B4C0;
  --line:        #E4EAF0;
  --white:       #FFFFFF;

  --shadow-sm:   0 1px 2px rgba(0,100,161,.05);
  --shadow-md:   0 10px 30px -10px rgba(0,100,161,.18);
  --shadow-lg:   0 30px 60px -20px rgba(0,100,161,.28);

  --radius:      14px;
  --radius-lg:   22px;
  --container:   1200px;

  --font-head:   'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, sans-serif;
  --font-body:   'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1,h2,h3,h4 {
  font-family: var(--font-head);
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-weight: 800; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }
p  { margin: 0 0 1rem; color: var(--ink-soft); }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-family: var(--font-head);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 24px -10px rgba(254,72,17,.6); }
.btn-primary:hover { background: var(--orange-deep); box-shadow: 0 14px 28px -10px rgba(254,72,17,.7); }
.btn-ghost   { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-ghost:hover { background: var(--blue); color: #fff; }
.btn-white   { background: #fff; color: var(--blue); }
.btn-white:hover { background: var(--yellow); color: var(--blue-deep); }
.btn-yellow  { background: var(--yellow); color: var(--blue-deep); }
.btn-yellow:hover { background: var(--yellow-soft); }
.btn-sm { padding: 10px 18px; font-size: .85rem; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--navy);
  font-size: 1.05rem;
}
.nav-logo .mark {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}
.nav-logo .tagline {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .68rem;
  color: var(--muted);
  letter-spacing: .14em;
  text-transform: uppercase;
  padding-left: 14px;
  border-left: 2px solid var(--yellow);
  margin-left: 4px;
  white-space: nowrap;          /* never split "SINCE 2007" across lines */
  line-height: 1.2;
}
.footer-logo {
  width: 220px;
  height: auto;
  display: block;
  margin-bottom: 16px;
}
@media (max-width: 720px) {
  .nav-logo .tagline { display: none; }
  .nav-logo .mark { height: 36px; }
}
.nav-links {
  display: flex; align-items: center; gap: 22px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  font-weight: 500; color: var(--ink-soft); font-size: .95rem;
  position: relative; padding: 6px 0;
  white-space: nowrap;          /* never wrap "Get involved" */
}
/* Hide the language switcher for now — partial translations only.
   Re-enable when full multilingual (Odoo native or full data-i18n) is wired. */
.lang-switch { display: none !important; }
/* Tighter spacing at intermediate widths, then hide tagline */
@media (max-width: 1200px) {
  .nav-logo .tagline { display: none; }
  .nav-links { gap: 16px; font-size: .9rem; }
}
.nav-links a:hover { color: var(--navy); }
.nav-links a.active { color: var(--navy); font-weight: 600; }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 3px; background: var(--orange); border-radius: 3px;
}
.nav {
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 -4px 0 0 var(--yellow);
}
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 42px; height: 42px; border-radius: 10px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--navy);
  margin: 5px auto; transition: .3s;
}
@media (max-width: 920px) {
  .nav-links, .nav-cta .btn:not(.btn-primary) { display: none; }
  .nav-toggle { display: block; }
  .nav-mobile-open .nav-links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; left: 0; right: 0; top: 76px;
    background: #fff; padding: 16px 24px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .nav-mobile-open .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 600px at 85% 5%, rgba(246,189,0,.28), transparent 55%),
    radial-gradient(900px 500px at 8% 95%, rgba(254,72,17,.22), transparent 55%),
    linear-gradient(180deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 1px, transparent 1px 22px);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0 100px;
}
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--gold); }
.hero p.lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,.85);
  max-width: 540px;
  margin-bottom: 32px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  padding: 8px 16px; border-radius: 999px;
  font-size: .85rem; font-weight: 500;
  color: rgba(255,255,255,.9);
  margin-bottom: 22px;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(232,177,78,.25);
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-meta {
  margin-top: 40px;
  display: flex; gap: 40px;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 28px;
}
.hero-meta div strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem; font-weight: 800;
  color: #fff;
  line-height: 1;
}
.hero-meta div span { color: rgba(255,255,255,.7); font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; }

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.01));
  border: 1px solid rgba(255,255,255,.12);
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr auto;
}
.hero-visual .photo {
  background:
    linear-gradient(180deg, rgba(11,31,58,0) 50%, rgba(11,31,58,.85) 100%),
    url('https://images.unsplash.com/photo-1530549387789-4c1017266635?auto=format&fit=crop&w=900&q=80') center/cover;
}
.hero-visual .photo-meta {
  padding: 24px;
  position: relative;
  z-index: 2;
}
.hero-visual .photo-meta h4 { color: #fff; margin-bottom: 6px; }
.hero-visual .photo-meta span { color: rgba(255,255,255,.7); font-size: .85rem; }

.hero-badge {
  position: absolute;
  top: 24px; left: 24px;
  background: var(--red);
  color: #fff;
  padding: 8px 14px; border-radius: 999px;
  font-size: .8rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
}

@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 60px 0 70px; }
  .hero-meta { gap: 24px; flex-wrap: wrap; }
}

/* ---------- Section ---------- */
.section { padding: 100px 0; }
.section.tight { padding: 70px 0; }
.section.cream { background: var(--cream); }
.section.navy { background: linear-gradient(180deg, var(--blue) 0%, var(--blue-deep) 100%); color: #fff; position: relative; }
.section.navy h1, .section.navy h2, .section.navy h3 { color: #fff; }
.section.navy p { color: rgba(255,255,255,.85); }
.section.orange { background: var(--orange); color: #fff; }
.section.orange h1, .section.orange h2, .section.orange h3 { color: #fff; }
.section.orange .eyebrow { color: var(--yellow); }
.section.orange p { color: rgba(255,255,255,.92); }
.section.yellow { background: var(--yellow); color: var(--blue-deep); }
.section.yellow h1, .section.yellow h2, .section.yellow h3 { color: var(--blue-deep); }
.section.yellow .eyebrow { color: var(--orange); }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 50px; gap: 30px;
}
.section-head .left { max-width: 640px; }
.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.section.navy .eyebrow { color: var(--yellow); }
@media (max-width: 720px) {
  .section { padding: 70px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
}

/* ---------- Stat Strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat .num {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  display: block;
}
.stat .num em {
  font-style: normal;
  color: var(--red);
  font-size: 1.2rem;
  margin-left: 4px;
}
.stat .label {
  display: block;
  margin-top: 10px;
  font-size: .9rem; color: var(--muted);
}
@media (max-width: 920px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Cards ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.cards-grid.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 920px) { .cards-grid, .cards-grid.two { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card .media {
  aspect-ratio: 16/10;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .media img { transform: scale(1.05); }
.card .media .tag {
  position: absolute; top: 16px; left: 16px;
  background: rgba(11,31,58,.85); color: #fff;
  padding: 6px 12px; border-radius: 999px;
  font-size: .75rem; font-weight: 600; backdrop-filter: blur(8px);
}
.card .body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.card .body .meta {
  font-size: .8rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 10px;
}
.card .body h3 { margin-bottom: 10px; }
.card .body p { color: var(--muted); flex: 1; }
.card .body .more {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--red); font-weight: 600; margin-top: 16px;
  font-size: .9rem;
}
.card .body .more svg { transition: transform .2s ease; }
.card:hover .body .more svg { transform: translateX(4px); }

/* ---------- Feature row ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.feature-row.flip { direction: rtl; }
.feature-row.flip > * { direction: ltr; }
.feature-row .visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5/4;
  background: var(--cream);
  position: relative;
}
.feature-row .visual img { width: 100%; height: 100%; object-fit: cover; }
.feature-row .badge {
  position: absolute; bottom: 20px; left: 20px;
  background: #fff; padding: 14px 20px; border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.feature-row .badge strong { display: block; color: var(--navy); font-family: var(--font-head); font-size: 1.4rem; }
.feature-row .badge span { font-size: .8rem; color: var(--muted); }
@media (max-width: 920px) {
  .feature-row, .feature-row.flip { grid-template-columns: 1fr; gap: 30px; direction: ltr; }
}

/* ---------- Partner strip ---------- */
.partner-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  align-items: center;
}
.partner-strip .p-logo {
  aspect-ratio: 3/2;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; color: var(--muted);
  text-align: center; padding: 14px;
  background: #fff;
  font-size: .85rem;
  transition: all .2s ease;
}
.partner-strip .p-logo:hover { color: var(--navy); border-color: var(--navy); }
@media (max-width: 920px) { .partner-strip { grid-template-columns: repeat(3, 1fr); } }

/* ---------- CTA banner ---------- */
.cta-banner {
  background:
    radial-gradient(800px 400px at 80% 30%, rgba(246,189,0,.25), transparent 55%),
    radial-gradient(600px 300px at 10% 90%, rgba(254,72,17,.18), transparent 55%),
    linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  border-radius: var(--radius-lg);
  padding: 70px 60px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue) 33%, var(--orange) 33%, var(--orange) 66%, var(--yellow) 66%, var(--yellow) 100%);
}
.cta-banner h2 { color: #fff; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,.8); margin: 0; }
.cta-banner .actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
@media (max-width: 720px) {
  .cta-banner { padding: 40px 28px; grid-template-columns: 1fr; }
  .cta-banner .actions { justify-content: flex-start; }
}

/* ---------- Page header ---------- */
.page-header {
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(246,189,0,.22), transparent 55%),
    radial-gradient(700px 400px at 0% 100%, rgba(254,72,17,.18), transparent 55%),
    linear-gradient(180deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff;
  padding: 90px 0 110px;
  position: relative;
  overflow: hidden;
}
/* Lebanese flag-inspired tri-band strip at top of dark sections */
.page-header::after,
.section.navy::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue) 33%, var(--orange) 33%, var(--orange) 66%, var(--yellow) 66%, var(--yellow) 100%);
}
.page-header h1 { color: #fff; max-width: 800px; }
.page-header p { color: rgba(255,255,255,.8); font-size: 1.15rem; max-width: 660px; }
.crumbs {
  display: flex; gap: 8px; align-items: center;
  font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 18px;
}
.crumbs a { color: rgba(255,255,255,.85); }
.crumbs span { opacity: .5; }

/* ---------- Project list ---------- */
.project {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--line);
}
.project:last-child { border-bottom: 0; }
.project.flip { grid-template-columns: 1.3fr 1fr; }
.project .visual { aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; background: var(--cream); position: relative; }
.project .visual img { width: 100%; height: 100%; object-fit: cover; }
.project .visual .label {
  position: absolute; top: 18px; left: 18px;
  background: var(--red); color: #fff; padding: 8px 16px; border-radius: 999px;
  font-size: .8rem; font-weight: 600;
}
.project .info .tagline {
  font-size: .8rem; color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: .15em;
  margin-bottom: 14px; display: block;
}
.project .info ul { padding-left: 20px; color: var(--muted); }
.project .info ul li { margin-bottom: 6px; }
@media (max-width: 920px) {
  .project, .project.flip { grid-template-columns: 1fr; gap: 30px; padding: 40px 0; }
  .project.flip .visual { order: -1; }
}

/* ---------- Athlete grid ---------- */
.athletes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.athlete {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--navy);
  cursor: pointer;
}
.athlete .img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .6s ease;
}
.athlete:hover .img { transform: scale(1.08); }
.athlete::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11,31,58,.92) 100%);
}
.athlete .info {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 24px; color: #fff; z-index: 2;
}
.athlete .info span { font-size: .8rem; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; }
.athlete .info h3 { color: #fff; margin: 6px 0 0; }
@media (max-width: 920px) { .athletes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .athletes-grid { grid-template-columns: 1fr; } }

/* ---------- Events list ---------- */
.event-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 30px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.event-item:last-child { border-bottom: 0; }
.event-date {
  background: var(--cream); border-radius: var(--radius);
  padding: 18px; text-align: center;
}
.event-date .day { display: block; font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; color: var(--navy); line-height: 1; }
.event-date .mon { display: block; text-transform: uppercase; color: var(--muted); letter-spacing: .15em; font-size: .8rem; margin-top: 6px; }
.event-date .yr  { display: block; color: var(--muted-soft); font-size: .8rem; margin-top: 2px; }
.event-tag {
  display: inline-block; background: var(--cream); color: var(--navy);
  font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 6px;
  text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px;
}
@media (max-width: 720px) {
  .event-item { grid-template-columns: 1fr; }
  .event-date { display: inline-block; padding: 10px 16px; }
  .event-date .day { display: inline; font-size: 1.4rem; margin-right: 6px; }
  .event-date .mon, .event-date .yr { display: inline; margin: 0 4px; font-size: .9rem; }
}

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 36px; border-left: 2px solid var(--line); }
.timeline-item { position: relative; padding: 0 0 36px; }
.timeline-item::before {
  content: ''; position: absolute;
  left: -45px; top: 4px; width: 16px; height: 16px;
  background: var(--red); border-radius: 50%;
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--red);
}
.timeline-item .year { font-family: var(--font-head); color: var(--red); font-weight: 800; font-size: 1.1rem; margin-bottom: 6px; }

/* ---------- Donate tiers ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tier {
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; text-align: center;
  transition: all .25s ease;
  cursor: pointer;
}
.tier:hover { border-color: var(--red); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tier.featured { border-color: var(--red); background: linear-gradient(180deg, #fff 0%, #fff5f6 100%); }
.tier .amount { font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; color: var(--navy); }
.tier .amount em { font-style: normal; color: var(--red); font-size: 1.4rem; vertical-align: top; margin-right: 4px; }
.tier h4 { margin: 8px 0 14px; }
.tier p { color: var(--muted); font-size: .95rem; min-height: 60px; }
@media (max-width: 920px) { .tiers { grid-template-columns: 1fr; } }

/* ---------- Bank info ---------- */
.bank-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.bank-card {
  background: var(--cream); border-radius: var(--radius);
  padding: 24px;
}
.bank-card h4 { color: var(--navy); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.bank-card h4 span {
  background: var(--red); color: #fff; padding: 3px 10px; border-radius: 6px;
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
}
.bank-card dl { display: grid; grid-template-columns: 130px 1fr; gap: 8px 16px; margin: 0; font-size: .92rem; }
.bank-card dt { color: var(--muted); }
.bank-card dd { margin: 0; color: var(--ink); font-weight: 600; word-break: break-all; }
@media (max-width: 720px) { .bank-grid { grid-template-columns: 1fr; } }

/* ---------- Form ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .85rem; color: var(--muted); margin-bottom: 6px; font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(215,38,61,.12);
}
.field textarea { resize: vertical; min-height: 120px; }
@media (max-width: 720px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Founder card ---------- */
.founder {
  display: grid; grid-template-columns: 280px 1fr; gap: 36px; align-items: start;
  padding: 36px; background: var(--cream-soft); border-radius: var(--radius-lg);
  margin-bottom: 24px;
}
.founder .portrait {
  aspect-ratio: 1/1; border-radius: var(--radius);
  background: var(--navy); overflow: hidden;
  background-size: cover; background-position: center;
}
.founder .info span { color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: .15em; font-size: .8rem; }
.founder .info h3 { margin: 10px 0 14px; }
@media (max-width: 720px) {
  .founder { grid-template-columns: 1fr; padding: 24px; }
  .founder .portrait { max-width: 220px; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  padding: 80px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer h5 { color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1rem; margin-bottom: 18px; }
.footer a { color: rgba(255,255,255,.75); }
.footer a:hover { color: var(--gold); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 10px; font-size: .92rem; }
.footer .brand { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: #fff; margin-bottom: 12px; display: block; }
.footer p { color: rgba(255,255,255,.7); font-size: .92rem; }
.footer-socials { display: flex; gap: 10px; margin-top: 18px; }
.footer-socials a {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08);
  transition: background .2s ease, transform .2s ease;
}
.footer-socials a:hover { background: var(--red); transform: translateY(-3px); }
.footer-socials svg { width: 16px; height: 16px; fill: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  font-size: .85rem; color: rgba(255,255,255,.5);
}
@media (max-width: 920px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ---------- Helpers / animations ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

.divider-cedar {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  color: var(--gold); margin: 24px 0;
}
.divider-cedar::before, .divider-cedar::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  max-width: 80px;
}

.text-center { text-align: center; }
.muted { color: var(--muted); }
.flex-center { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* Anchors fade-in headers */
.section h2 { position: relative; }

/* Quote */
.quote {
  background: var(--cream); border-radius: var(--radius-lg);
  padding: 40px; border-left: 6px solid var(--red);
  margin: 30px 0;
}
.quote p {
  font-family: var(--font-head); font-size: 1.35rem; color: var(--navy);
  line-height: 1.4; margin: 0;
}
.quote .by { display: block; margin-top: 16px; font-size: .9rem; color: var(--muted); font-style: normal; font-family: var(--font-body); }

/* =========================================================
   Language switcher (EN / FR / AR)
   ========================================================= */
.lang-switch {
  display: inline-flex;
  align-items: center;
  background: rgba(0,100,161,.06);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  font-family: var(--font-head);
  margin-right: 8px;
}
.lang-switch button {
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .04em;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--muted);
  transition: all .15s ease;
}
.lang-switch button[aria-pressed="true"] {
  background: var(--blue);
  color: #fff;
}
.lang-switch button:hover:not([aria-pressed="true"]) {
  color: var(--blue);
}
@media (max-width: 720px) {
  .lang-switch { margin: 0 0 0 auto; }
}

/* RTL support for Arabic */
html[dir="rtl"] body { font-family: 'Segoe UI', Tahoma, sans-serif; }
html[dir="rtl"] .nav-links a.active::after { left: 0; right: 0; }
html[dir="rtl"] .hero-cta,
html[dir="rtl"] .hero-meta { direction: rtl; }
html[dir="rtl"] .timeline { padding-left: 0; padding-right: 36px; border-left: 0; border-right: 2px solid var(--line); }
html[dir="rtl"] .timeline-item::before { left: auto; right: -45px; }
html[dir="rtl"] .footer-bottom { direction: rtl; }
html[dir="rtl"] .card .body .more svg { transform: scaleX(-1); }
html[dir="rtl"] .card:hover .body .more svg { transform: scaleX(-1) translateX(4px); }

/* =========================================================
   Sticky mobile donate CTA
   ========================================================= */
.mobile-cta-bar {
  display: none;
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 60;
  background: var(--blue-deep);
  border-radius: 999px;
  padding: 8px 8px 8px 22px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 12px 30px -8px rgba(0,74,120,.45);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
}
.mobile-cta-bar .label { line-height: 1.2; }
.mobile-cta-bar .label small { display: block; font-size: .7rem; font-weight: 500; opacity: .8; letter-spacing: .04em; }
.mobile-cta-bar .btn { padding: 10px 20px; font-size: .85rem; }
@media (max-width: 720px) {
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 84px; }
  .footer { padding-bottom: 100px; }
}

/* Better hamburger animation */
.nav-mobile-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-mobile-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-mobile-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   Lebanon program map
   ========================================================= */
.lebanon-map {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.lebanon-map .map-wrap {
  position: relative;
  background: var(--cream);
  border-radius: var(--radius);
  padding: 16px;
}
.lebanon-map svg { width: 100%; height: auto; display: block; }
.lebanon-map .governorate {
  fill: #E1ECF4;
  stroke: var(--blue);
  stroke-width: 1.4;
  transition: fill .2s ease;
  cursor: pointer;
}
.lebanon-map .governorate:hover { fill: #C2DCEC; }
.lebanon-map .governorate.has-program { fill: #BDDCEF; }
.lebanon-map .governorate.has-program:hover { fill: #97C9E8; }
.lebanon-map .pin {
  fill: var(--orange);
  stroke: #fff;
  stroke-width: 2;
  cursor: pointer;
  transition: transform .2s ease, fill .2s ease;
  transform-origin: center;
  transform-box: fill-box;
}
.lebanon-map .pin:hover { fill: var(--blue); transform: scale(1.3); }
.lebanon-map .pin.active { fill: var(--yellow); stroke: var(--blue); }
.lebanon-map .pin-label {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  fill: var(--ink);
  pointer-events: none;
  text-anchor: start;
}
.lebanon-map .map-side {
  display: flex; flex-direction: column; gap: 14px;
  max-height: 540px;
  overflow-y: auto;
  padding-right: 4px;
}
.lebanon-map .map-side h3 { margin-bottom: 4px; }
.lebanon-map .map-side .pill {
  display: inline-block;
  background: var(--cream);
  color: var(--blue);
  padding: 4px 10px; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase;
}
.lebanon-map .program-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  cursor: pointer;
  transition: all .2s ease;
}
.lebanon-map .program-item:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.lebanon-map .program-item.active { border-color: var(--orange); background: #fff7f3; }
.lebanon-map .program-item h4 { margin: 0 0 6px; font-size: 1rem; color: var(--blue); }
.lebanon-map .program-item .place { font-size: .8rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.lebanon-map .program-item p { margin: 8px 0 0; font-size: .9rem; color: var(--ink-soft); }
@media (max-width: 920px) {
  .lebanon-map { grid-template-columns: 1fr; padding: 20px; }
  .lebanon-map .map-side { max-height: none; }
}

/* =========================================================
   News / Press list
   ========================================================= */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.news-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-item .news-cover {
  aspect-ratio: 16/9;
  background-size: cover; background-position: center;
  background-color: var(--cream);
  border-bottom: 4px solid var(--orange);
}
.news-item .news-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.news-item .news-meta {
  display: flex; gap: 10px; align-items: center;
  margin-bottom: 12px;
  font-size: .76rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; font-weight: 600;
}
.news-item .news-meta .news-source { color: var(--orange); }
.news-item h3 { font-size: 1.15rem; margin-bottom: 12px; }
.news-item p { font-size: .92rem; color: var(--muted); flex: 1; }
.news-item .more {
  color: var(--blue); font-weight: 700; font-size: .85rem;
  margin-top: 12px; display: inline-flex; align-items: center; gap: 6px;
}
@media (max-width: 920px) { .news-grid { grid-template-columns: 1fr; } }

.reports-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.report-row {
  display: flex; align-items: center; gap: 18px;
  background: var(--cream);
  border-radius: var(--radius);
  padding: 20px;
  transition: background .2s ease, transform .2s ease;
}
.report-row:hover { background: #FFEFD8; transform: translateY(-2px); }
.report-row .icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: #fff; border-radius: 12px;
  display: grid; place-items: center;
  color: var(--orange);
}
.report-row .info { flex: 1; }
.report-row .info strong { display: block; color: var(--blue); font-family: var(--font-head); font-size: 1rem; }
.report-row .info span { font-size: .82rem; color: var(--muted); }
.report-row .download {
  color: var(--blue); font-weight: 700; font-size: .82rem;
  display: inline-flex; align-items: center; gap: 6px;
}
@media (max-width: 720px) { .reports-list { grid-template-columns: 1fr; } }

/* =========================================================
   Get involved page
   ========================================================= */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.role-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.role-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--orange), var(--yellow));
}
.role-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.role-card .role-icon {
  width: 54px; height: 54px;
  background: var(--cream);
  color: var(--orange);
  border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.role-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.role-card .role-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 16px;
}
.role-card .role-tags span {
  background: var(--cream);
  color: var(--blue);
  font-size: .72rem; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
  letter-spacing: .05em;
}
@media (max-width: 920px) { .roles-grid { grid-template-columns: 1fr; } }

.ways-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.way-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
}
.way-card .num-circle {
  width: 44px; height: 44px;
  margin: 0 auto 12px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800;
}
.way-card h4 { font-size: 1rem; margin-bottom: 8px; }
.way-card p { font-size: .85rem; color: var(--muted); margin: 0; }
@media (max-width: 920px) { .ways-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .ways-grid { grid-template-columns: 1fr; } }

/* Print-friendly */
@media print {
  .nav, .footer, .mobile-cta-bar, .hero-visual, .hero-cta { display: none !important; }
  .section.navy, .hero { background: #fff !important; color: var(--ink) !important; }
  .hero h1, .section.navy h1, .section.navy h2, .section.navy h3 { color: var(--ink) !important; }
  a { color: var(--ink) !important; text-decoration: underline !important; }
}

/* =========================================================
   Polish pack — cookie banner, lightbox, scroll-to-top, 404
   ========================================================= */

/* Cookie consent banner */
.cookie-banner {
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  max-width: 720px;
  margin: 0 auto;
  background: var(--blue-deep);
  color: #fff;
  padding: 20px 24px;
  border-radius: var(--radius);
  box-shadow: 0 18px 40px -10px rgba(0,74,120,.45);
  z-index: 70;
  display: none;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: .9rem;
}
.cookie-banner.show { display: flex; }
.cookie-banner p { margin: 0; color: rgba(255,255,255,.92); flex: 1; min-width: 280px; }
.cookie-banner a { color: var(--yellow); text-decoration: underline; }
.cookie-banner .actions { display: flex; gap: 10px; }
.cookie-banner .btn { padding: 8px 18px; font-size: .85rem; }
@media (max-width: 720px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 90px; padding: 16px; }
  body.has-mobile-cta .cookie-banner { bottom: 88px; }
}

/* Scroll-to-top button */
.scroll-top {
  position: fixed;
  bottom: 90px; right: 24px;
  width: 48px; height: 48px;
  background: var(--blue);
  color: #fff;
  border: 0;
  border-radius: 50%;
  display: grid; place-items: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity .25s ease, transform .25s ease, background .2s ease;
  box-shadow: 0 12px 24px -8px rgba(0,100,161,.45);
  z-index: 55;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.scroll-top:hover { background: var(--orange); }
.scroll-top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.5; }
@media (max-width: 720px) {
  .scroll-top { bottom: 100px; right: 16px; width: 42px; height: 42px; }
}

/* Image lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(10, 25, 41, .94);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  cursor: zoom-out;
}
.lightbox.show { display: flex; }
.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 12px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.6);
}
.lightbox .lb-close {
  position: absolute; top: 18px; right: 18px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,.12);
  color: #fff; border: 0; border-radius: 50%;
  cursor: pointer; font-size: 1.5rem; line-height: 1;
}
.lightbox .lb-close:hover { background: rgba(255,255,255,.22); }
.lightbox-target { cursor: zoom-in; }

/* 404 page */
.error-page {
  min-height: calc(100vh - 200px);
  display: grid; place-items: center;
  text-align: center;
  padding: 80px 24px;
  background:
    radial-gradient(900px 500px at 50% 0%, rgba(246,189,0,.18), transparent 55%),
    var(--cream);
}
.error-page h1 {
  font-size: clamp(4rem, 12vw, 8rem);
  color: var(--blue);
  margin-bottom: 0;
}
.error-page h2 {
  color: var(--ink);
  margin-bottom: 20px;
}
.error-page p { color: var(--muted); max-width: 520px; margin-bottom: 32px; }
.error-page .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }


/* =========================================================
   POST-LAUNCH OVERRIDES — applied 2026-05-26
   ========================================================= */

/* Force hero layout side-by-side (text left, photo right) */
.hero-inner {
  display: grid !important;
  grid-template-columns: 1.1fr 0.9fr !important;
  grid-template-rows: auto !important;
  gap: 60px !important;
  align-items: center !important;
  direction: ltr !important;
}
.hero-inner > .hero-text {
  grid-column: 1 !important;
  grid-row: 1 !important;
}
.hero-inner > .hero-visual {
  grid-column: 2 !important;
  grid-row: 1 !important;
}
@media (max-width: 920px) {
  .hero-inner {
    grid-template-columns: 1fr !important;
  }
  .hero-inner > .hero-text,
  .hero-inner > .hero-visual {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
}

/* Eager-load above-the-fold images: nav logo, hero photo */
.nav-logo .mark,
.hero-visual .photo {
  loading: eager;
}


/* Map pin number badges in side panel */
.pin-num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--orange, #E94E1B);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  margin-right: 10px;
  margin-bottom: 6px;
  vertical-align: middle;
  flex-shrink: 0;
}
.pin-num-badge-gold {
  background: #F6BD00;
  color: #0064A1;
}
.program-item .place {
  display: inline-block;
  vertical-align: middle;
}


/* =========================================================
   2026-05-26: ensure content is ALWAYS visible even if JS i18n / observer fails.
   Reveal animation kept as progressive enhancement only.
   ========================================================= */
.reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}


/* Project partner-logo chips (Programs page) */
.project-partners {
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
  margin: 14px 0 6px;
}
.partner-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: #fff;
  border: 1.5px solid var(--line, #e5e7eb);
  border-radius: 999px;
  font-family: var(--font-head, Inter), sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--blue, #0064A1);
  text-transform: uppercase;
}
.partner-chip-un { color: #009edb; border-color: #009edb; }
.partner-chip-fr { color: #002395; border-color: #002395; }
.partner-chip-fr::before { content: "🇫🇷"; }
.partner-chip-lb { color: var(--red, #ED1C24); border-color: var(--red, #ED1C24); }
.partner-chip-lb::before { content: "🇱🇧"; }
.partner-chip-muted { color: var(--muted, #5A6B7C); border-color: var(--line, #e5e7eb); }

/* cache-bust: 2026-05-26T12:36:18.816585 */

/* Hero stat "+" — smaller, raised so it doesn't dwarf the digit */
.hero-meta div strong .plus,
.stats .num .plus,
.stat .num em {
  display: inline-block;
  font-size: 0.55em;
  font-weight: 700;
  vertical-align: top;
  margin-left: 2px;
  position: relative;
  top: 0.2em;
  opacity: 0.85;
}
