/* ==========================================================================
   JIRAR PAR — Design System v2
   Jamia Darul-Uloom Jirar Par Inc. · British Green + Gold + Cream
   Merriweather (display) · Montserrat (body) · Amiri (Arabic)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,400;0,700;0,900;1,400&family=Montserrat:wght@400;500;600;700&family=Amiri:wght@400;700&display=swap');

:root {
  /* Green scale — brand: primary #084023, medium #217c4a */
  --green-900: #063318;
  --green-800: #084023;
  --green-700: #084023;
  --green-600: #217c4a;
  --green-500: #217c4a;
  --green-200: #ceb38d;
  --green-100: #eaf2ec;

  /* Gold — brand: primary #d1a046, light #f4d29a */
  --gold-600: #b0832b;
  --gold-500: #d1a046;
  --gold-300: #f4d29a;
  --gold-100: #faf1dc;

  /* Neutrals */
  --tan: #ceb38d;
  --cream: #f9f9f9;
  --white: #FFFFFF;
  --ink-900: #111816;
  --ink-700: #2C3A32;
  --ink-600: #4A4A4A;
  --ink-500: #5C6B62;
  --ink-300: #9EADA5;
  --border: #e6e1d6;

  /* Fonts */
  --font-display: 'Merriweather', Georgia, serif;
  --font-body: 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-arabic: 'Amiri', 'Traditional Arabic', serif;

  /* Type scale */
  --fs-display: clamp(3rem, 2rem + 5vw, 5.5rem);
  --fs-h1: clamp(2.25rem, 1.5rem + 3.5vw, 4rem);
  --fs-h2: clamp(1.75rem, 1.25rem + 2.2vw, 2.75rem);
  --fs-h3: clamp(1.25rem, 1rem + 1vw, 1.625rem);
  --fs-lead: clamp(1.0625rem, 0.95rem + 0.5vw, 1.25rem);
  --fs-body: 1rem;
  --fs-small: 0.75rem;

  /* Radii */
  --r-sm: 6px; --r-md: 12px; --r-lg: 18px; --r-xl: 28px; --r-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(13,33,24,0.04), 0 1px 3px rgba(13,33,24,0.07);
  --shadow-md: 0 6px 16px -4px rgba(13,33,24,0.10), 0 2px 6px -2px rgba(13,33,24,0.06);
  --shadow-lg: 0 24px 48px -16px rgba(13,33,24,0.22), 0 8px 20px -10px rgba(13,33,24,0.10);
  --shadow-gold: 0 8px 28px -8px rgba(201,168,76,0.5);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-emph: cubic-bezier(0.16, 1, 0.3, 1);

  --container: 1200px;
  --container-wide: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink-700);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink-900);
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 1em; text-wrap: pretty; }

em { font-style: italic; }

/* ── LAYOUT ───────────────────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
@media (max-width: 720px) { .section { padding: 64px 0; } }

/* ── EYEBROW ──────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-body); font-size: var(--fs-small); font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--green-500);
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--green-500); }
.eyebrow.on-dark { color: var(--gold-500); }
.eyebrow.on-dark::before { background: var(--gold-500); }
.eyebrow.center { justify-content: center; }

/* ── SECTION HEAD ─────────────────────────────────────────── */
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-top: 16px; }
.section-head .lead { font-size: var(--fs-lead); color: var(--ink-500); margin-top: 16px; }

/* ── ARABIC ───────────────────────────────────────────────── */
.arabic { font-family: var(--font-arabic); direction: rtl; }
.arabic-watermark {
  position: absolute; font-family: var(--font-arabic); direction: rtl;
  font-size: clamp(8rem, 22vw, 22rem); line-height: 1; color: currentColor;
  opacity: 0.05; pointer-events: none; user-select: none; z-index: 0;
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: var(--r-pill);
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; line-height: 1;
  transition: transform 160ms var(--ease), box-shadow 240ms var(--ease), background 200ms var(--ease), color 200ms var(--ease);
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-gold { background: var(--gold-500); color: var(--green-900); box-shadow: var(--shadow-gold); }
.btn-gold:hover { background: var(--gold-600); color: #fff; transform: translateY(-2px); }
.btn-green { background: var(--green-700); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset, 0 6px 18px -6px rgba(13,33,24,0.5); }
.btn-green:hover { background: var(--green-600); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink-900); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--green-500); color: var(--green-700); }
.btn-ghost-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.4); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-lg { padding: 18px 38px; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }

/* ── BADGES ───────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: var(--r-pill);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em;
}
.badge-gold { background: var(--gold-500); color: var(--green-900); }
.badge-green { background: var(--green-100); color: var(--green-700); border: 1px solid var(--green-200); }
.badge-soft { background: rgba(255,255,255,0.14); color: #fff; border: 1px solid rgba(255,255,255,0.22); }

/* Page hero eyebrow — gold pill matching homepage hero */
.page-hero .eyebrow,
.page-hero .eyebrow.on-dark {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 18px; border-radius: var(--r-pill);
  background: rgba(209,160,70,0.14); border: 1px solid rgba(209,160,70,0.4);
  color: var(--gold-300); font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 16px; align-self: flex-start;
}
.page-hero .eyebrow::before, .page-hero .eyebrow.on-dark::before { display: none; }
.page-hero .eyebrow .dot { width:7px; height:7px; border-radius:50%; background:var(--gold-500); flex-shrink:0; }
@media (prefers-reduced-motion: no-preference) { .page-hero .eyebrow .dot { animation: dotPulse 2.4s ease-out infinite; } }
.announce-bar { background: var(--green-700); color: #fff; padding: 9px 0; font-size: 0.84rem; }
.announce-inner { max-width: var(--container-wide); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; position: relative; }
.announce-arabic { font-family: var(--font-arabic); direction: rtl; font-size: 1rem; color: var(--gold-300); }
.announce-text { color: rgba(255,255,255,0.9); }
.announce-text strong { color: #fff; font-weight: 700; }
.announce-cta { background: var(--gold-500); color: var(--green-900); font-weight: 700; font-size: 0.78rem; padding: 5px 14px; border-radius: var(--r-pill); letter-spacing: 0.04em; transition: background 160ms var(--ease); white-space: nowrap; }
.announce-cta:hover { background: var(--gold-300); }
.announce-close { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); color: rgba(255,255,255,0.55); font-size: 0.8rem; padding: 4px 8px; transition: color 160ms var(--ease); }
.announce-close:hover { color: #fff; }
@media (max-width: 600px) { .announce-arabic { display: none; } .announce-close { position: static; transform: none; } }

/* ── NAV ──────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: box-shadow 240ms var(--ease);
}
.nav.scrolled { box-shadow: 0 4px 20px -6px rgba(13,33,24,0.12); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; transition: height 240ms var(--ease); }
.nav.scrolled .nav-inner { height: 56px; }
.brand { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.brand-mark { height: 56px; flex-shrink: 0; overflow: hidden; transition: height 240ms var(--ease); display: flex; align-items: center; }
.nav.scrolled .brand-mark { height: 42px; }
.brand-mark img, .brand-mark svg { height: 100%; width: auto; object-fit: contain; object-position: left center; display: block; }
/* Reserve space BEFORE JS injects the nav — prevents logo FOUC */
header.nav { min-height: 76px; transition: min-height 240ms var(--ease); }
header.nav.scrolled { min-height: 56px; }
header.nav .brand-mark { background: transparent; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--ink-900); letter-spacing: -0.01em; }
.brand-text span { font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-500); margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a, .nav-more-btn {
  padding: 9px 14px; border-radius: var(--r-pill);
  font-size: 0.9rem; font-weight: 500; color: var(--ink-700);
  transition: background 160ms var(--ease), color 160ms var(--ease);
  display: inline-flex; align-items: center; gap: 5px;
}
.nav-links a:hover, .nav-more-btn:hover { background: var(--green-100); color: var(--green-700); }
.nav-links a.active { background: var(--green-100); color: var(--green-700); font-weight: 600; }
.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-more { position: relative; }
.nav-more-menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 210px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg); padding: 6px; display: none; flex-direction: column;
}
.nav-more-menu.open { display: flex; }
.nav-more-menu a { padding: 11px 14px; border-radius: var(--r-sm); font-size: 0.9rem; font-weight: 500; color: var(--ink-700); }
.nav-more-menu a:hover { background: var(--green-100); color: var(--green-700); }

.nav-burger { display: none; width: 44px; height: 44px; border-radius: var(--r-md); align-items: center; justify-content: center; color: var(--ink-900); }
.nav-burger:hover { background: var(--green-100); }

@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-cta .btn-text-hide { display: none; }
}

/* Mobile drawer */
.drawer-backdrop { position: fixed; inset: 0; z-index: 95; background: rgba(13,33,24,0.5); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity 240ms var(--ease); }
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 96; width: min(360px, 86vw);
  background: var(--green-900); color: #fff; transform: translateX(100%);
  transition: transform 320ms var(--ease-emph); padding: 28px 24px; display: flex; flex-direction: column;
  overflow-y: auto;
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.drawer-close { width: 44px; height: 44px; border-radius: var(--r-md); color: #fff; display: grid; place-items: center; }
.drawer-close:hover { background: rgba(255,255,255,0.1); }
.drawer-links { display: flex; flex-direction: column; gap: 2px; }
.drawer-links a { padding: 14px 16px; border-radius: var(--r-md); font-size: 1.05rem; font-weight: 500; color: rgba(255,255,255,0.85); }
.drawer-links a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.drawer .btn { margin-top: 24px; }

/* ── PAGE HERO (photo version) ───────────────────────────── */
.page-hero {
  position: relative; overflow: hidden;
  min-height: clamp(480px, 60vh, 720px);
  display: flex; align-items: flex-end;
  color: #fff;
  padding: 0;
  border-bottom: none;
  background: var(--green-900);
}
.page-hero > img.hero-bg { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 30%; opacity:0.4; z-index:0; }
.page-hero::after { content:''; position:absolute; inset:0; background:linear-gradient(180deg, rgba(4,30,20,0.3) 0%, rgba(4,30,20,0.92) 100%); z-index:1; pointer-events:none; }
.page-hero .container, .page-hero .container-wide { position:relative; z-index:2; width:100%; padding-bottom: clamp(48px,7vw,80px); padding-top: clamp(64px,9vw,100px); }
.page-hero .crumbs { font-size: 0.78rem; color: rgba(255,255,255,0.55); letter-spacing: 0.06em; margin-bottom: 20px; text-transform: uppercase; }
.page-hero .crumbs a { color: rgba(255,255,255,0.55); }
.page-hero .crumbs a:hover { color: var(--gold-400); }
.page-hero h1 { color: #fff; max-width: 820px; text-wrap: balance; text-shadow: 0 2px 20px rgba(4,20,12,0.4); }
.page-hero h1 em { color: var(--gold-400); }
.page-hero .page-sub { font-size: var(--fs-lead); color: rgba(255,255,255,0.8); max-width: 640px; margin-top: 18px; line-height: 1.65; }
.page-hero .arabic-watermark { color: #fff; top: 50%; right: -1%; transform: translateY(-50%); font-size: clamp(7rem,18vw,18rem); opacity: 0.07; }
.page-hero .container { position:relative; z-index:2; padding-bottom: clamp(40px,6vw,72px); padding-top: clamp(56px,8vw,96px); }
.page-hero .crumbs { font-size: 0.78rem; color: rgba(255,255,255,0.55); letter-spacing: 0.06em; margin-bottom: 20px; text-transform: uppercase; }
.page-hero .crumbs a { color: rgba(255,255,255,0.55); }
.page-hero .crumbs a:hover { color: var(--gold-400); }
.page-hero h1 { color: #fff; max-width: 820px; text-wrap: balance; text-shadow: 0 2px 20px rgba(4,20,12,0.4); }
.page-hero h1 em { color: var(--gold-400); }
.page-hero .page-sub { font-size: var(--fs-lead); color: rgba(255,255,255,0.8); max-width: 640px; margin-top: 18px; line-height: 1.65; }
.page-hero .arabic-watermark { color: #fff; top: 50%; right: -1%; transform: translateY(-50%); font-size: clamp(7rem,18vw,18rem); opacity: 0.07; }



.page-hero .crumbs { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 22px; }
.page-hero .crumbs a { color: rgba(255,255,255,0.75); }
.page-hero .crumbs a:hover { color: var(--gold-500); }
.page-hero h1 { color: #fff; max-width: 780px; text-wrap: balance; text-shadow: 0 2px 20px rgba(6,30,18,0.3); }
.page-hero h1 em { color: var(--gold-300); }
.page-hero .page-sub { font-size: var(--fs-lead); color: rgba(255,255,255,0.8); max-width: 640px; margin-top: 20px; line-height: 1.7; }
.page-hero .arabic-watermark { color: #fff; top: 50%; right: -1%; transform: translateY(-50%); font-size: clamp(7rem, 18vw, 18rem); opacity: 0.09; }
@media (max-width: 720px) { .page-hero { padding: 64px 0 56px; } }

/* ── STAT BAR ─────────────────────────────────────────────── */
.statbar { background: var(--cream); border-bottom: 1px solid var(--border); }
.statbar-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.statbar-item { padding: 48px 24px; text-align: center; border-right: 1px solid var(--border); }
.statbar-item:last-child { border-right: 0; }
.statbar-num { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.25rem, 1.5rem + 2.5vw, 3.5rem); color: var(--green-700); line-height: 1; }
.statbar-num sup { font-size: 0.45em; color: var(--gold-500); vertical-align: super; }
.statbar-label { font-size: 0.9rem; color: var(--ink-500); margin-top: 10px; letter-spacing: 0.02em; }
@media (max-width: 760px) {
  .statbar-grid { grid-template-columns: repeat(2, 1fr); }
  .statbar-item:nth-child(2) { border-right: 0; }
  .statbar-item:nth-child(1), .statbar-item:nth-child(2) { border-bottom: 1px solid var(--border); }
}

/* ── SPLIT SECTION ────────────────────────────────────────── */
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 72px; align-items: center; }
.split.wide-text { grid-template-columns: minmax(0,1.1fr) minmax(0,0.9fr); }
.split-img { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 880px) { .split, .split.wide-text { grid-template-columns: 1fr; gap: 40px; } .split-img { aspect-ratio: 16/11; } }

/* ── AYAH BLOCK ───────────────────────────────────────────── */
.ayah { border-left: 3px solid var(--gold-500); padding: 8px 0 8px 24px; margin: 28px 0; }
.ayah .ar { font-family: var(--font-arabic); direction: rtl; text-align: center; font-size: 1.7rem; line-height: 1.9; color: var(--green-800); }
.ayah .tr { font-style: italic; color: var(--ink-500); margin-top: 8px; }
.ayah .ref { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-600); margin-top: 6px; }
.page-hero .ayah .ar, .on-dark-block .ayah .ar { color: #fff; }
.page-hero .ayah .tr, .on-dark-block .ayah .tr { color: rgba(255,255,255,0.75); }
/* Featured ayah — mission section */
.ayah-featured {
  position: relative;
  margin: 32px 0;
  padding: 28px 32px;
  background: linear-gradient(135deg, var(--green-100) 0%, #fff 100%);
  border-radius: var(--r-lg);
  border-left: 4px solid var(--gold-500);
  box-shadow: var(--shadow-sm);
  width: 100%;
}
.ayah-featured .ar {
  font-family: var(--font-arabic);
  direction: rtl;
  text-align: right;
  font-size: 2rem;
  line-height: 2;
  color: var(--green-800);
  display: block;
  width: 100%;
}
.ayah-featured .tr {
  font-style: italic;
  color: var(--ink-500);
  font-size: 1rem;
  margin-top: 10px;
  line-height: 1.6;
  padding-right: 4px;
}
.ayah-featured .ref {
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-top: 8px;
  display: block;
}
.ayah-band .ayah .ar, .ayah-band .ayah .tr, .ayah-band .ayah .ref,
.on-dark-block .ayah .ar, .on-dark-block .ayah .tr, .on-dark-block .ayah .ref { text-align: center; }

/* ── CARDS: generic ───────────────────────────────────────── */
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); transition: transform 240ms var(--ease), box-shadow 240ms var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* ── ORPHAN CARD ──────────────────────────────────────────── */
.orphan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .orphan-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .orphan-grid { grid-template-columns: 1fr; } }
.orphan-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-md); transition: transform 280ms var(--ease), box-shadow 280ms var(--ease); display: flex; flex-direction: column; position: relative; }
.orphan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.orphan-photo { aspect-ratio: 4/3; overflow: hidden; position: relative; background: var(--green-100); }
.orphan-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-emph); }
.orphan-card:hover .orphan-photo img { transform: scale(1.06); }
.orphan-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,33,24,0) 45%, rgba(13,33,24,0.82) 100%); }
.orphan-status { position: absolute; top: 14px; left: 14px; z-index: 2; }
.orphan-fav { position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.92); display: grid; place-items: center; color: var(--green-700); box-shadow: var(--shadow-sm); transition: background 160ms var(--ease), color 160ms var(--ease); }
.orphan-fav:hover { background: var(--gold-500); color: #fff; }
.orphan-fav svg { width: 18px; height: 18px; }
.orphan-id { position: absolute; left: 18px; bottom: 14px; z-index: 2; color: #fff; }
.orphan-id .nm { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; line-height: 1.1; }
.orphan-id .ag { font-size: 0.85rem; color: rgba(255,255,255,0.85); margin-top: 2px; }
.orphan-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.orphan-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.orphan-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: var(--r-pill); font-size: 0.76rem; font-weight: 600; background: var(--green-100); color: var(--green-700); }
.orphan-tag svg { width: 13px; height: 13px; }
.orphan-story { font-size: 0.9rem; color: var(--ink-500); line-height: 1.55; margin: 0; }
.orphan-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); }
.orphan-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 14px; }
.orphan-price strong { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--green-700); }
.orphan-price span { font-size: 0.85rem; color: var(--ink-500); }
.orphan-actions { display: flex; flex-direction: column; gap: 8px; }
.orphan-actions .btn { width: 100%; justify-content: center; }
.orphan-enquire { text-align: center; font-size: 0.85rem; font-weight: 600; color: var(--green-600); padding: 4px; }
.orphan-enquire:hover { color: var(--green-800); }

/* ── DONATION TYPE CARD ───────────────────────────────────── */
.dtype-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .dtype-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .dtype-grid { grid-template-columns: 1fr; } }
.dtype-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow-sm); transition: transform 240ms var(--ease), box-shadow 240ms var(--ease), border-color 240ms var(--ease); }
.dtype-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green-200); }
.dtype-icon { width: 52px; height: 52px; border-radius: var(--r-md); background: var(--green-100); color: var(--green-600); display: grid; place-items: center; margin-bottom: 20px; }
.dtype-icon svg { width: 26px; height: 26px; }
.dtype-ar { font-family: var(--font-arabic); direction: rtl; font-size: 1.15rem; color: var(--gold-600); margin-bottom: 2px; }
.dtype-card h3 { font-size: 1.3rem; }
.dtype-card p { font-size: 0.94rem; color: var(--ink-500); margin: 8px 0 18px; }
.dtype-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 0.9rem; color: var(--green-600); }
.dtype-link:hover { gap: 11px; color: var(--green-700); }
.dtype-link svg { width: 15px; height: 15px; transition: transform 200ms var(--ease); }

/* ── AMOUNT SELECTOR ──────────────────────────────────────── */
.amounts { display: flex; flex-wrap: wrap; gap: 10px; }
.amount-pill { padding: 13px 24px; border-radius: var(--r-pill); border: 1.5px solid var(--border); background: #fff; font-weight: 600; color: var(--ink-700); transition: all 160ms var(--ease); }
.amount-pill:hover { border-color: var(--green-500); }
.amount-pill.active { background: var(--green-700); border-color: var(--green-700); color: #fff; }

/* ── PHOTO GALLERY ────────────────────────────────────────── */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 14px; }
.gallery-item { border-radius: var(--r-lg); overflow: hidden; position: relative; aspect-ratio: 1; }
.gallery-item.feature { grid-column: span 2; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-emph); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(13,33,24,0.4)); opacity: 0; transition: opacity 240ms var(--ease); }
.gallery-item:hover::after { opacity: 1; }
@media (max-width: 880px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .gallery { grid-template-columns: repeat(2, 1fr); } .gallery-item.feature { grid-column: span 2; grid-row: span 1; } }

/* ── TRUST STRIP (dark) ───────────────────────────────────── */
.on-dark-block { position: relative; overflow: hidden; background: var(--green-800); color: #fff; }
.on-dark-block h2, .on-dark-block h3 { color: #fff; }
.on-dark-block .container { position: relative; z-index: 1; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
@media (max-width: 820px) { .trust-grid { grid-template-columns: 1fr; gap: 32px; } }
.trust-col h3 { font-size: 1.25rem; margin-bottom: 10px; }
.trust-col p { color: rgba(255,255,255,0.75); font-size: 0.95rem; }
.trust-col .big { font-family: var(--font-display); font-weight: 900; font-size: 2.5rem; color: var(--gold-500); line-height: 1; margin-bottom: 8px; }

/* ── TIMELINE (card style) ────────────────────────────────── */
.timeline { position: relative; padding-left: 34px; display: flex; flex-direction: column; gap: 18px; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 0; bottom: 0; width: 2px; background: var(--green-200); border-radius: 2px; }
.timeline-row { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px 26px; box-shadow: var(--shadow-sm); transition: transform 240ms var(--ease), box-shadow 240ms var(--ease); }
.timeline-row:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.timeline-row::before { content: ''; position: absolute; left: -27px; top: 50%; transform: translateY(-50%); width: 14px; height: 14px; border-radius: 50%; background: var(--gold-500); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--gold-500); }
.timeline-year { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: 0.92rem; color: var(--green-700); background: var(--green-100); padding: 3px 13px; border-radius: var(--r-pill); margin-bottom: 8px; }
.timeline-row h4 { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; margin: 0 0 6px; color: var(--ink-900); }
.timeline-row p { color: var(--ink-500); font-size: 0.95rem; margin: 0; line-height: 1.6; }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-top: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 4px; text-align: left; font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; color: var(--ink-900); }
.faq-icon { flex-shrink: 0; width: 26px; height: 26px; position: relative; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; background: var(--gold-600); transition: transform 240ms var(--ease); }
.faq-icon::before { top: 12px; left: 3px; right: 3px; height: 2px; }
.faq-icon::after { left: 12px; top: 3px; bottom: 3px; width: 2px; }
.faq-item.open .faq-icon::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 320ms var(--ease-emph); }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner { padding: 0 4px 24px; color: var(--ink-500); }

/* ── FOOTER ───────────────────────────────────────────────── */
.footer { position: relative; background: var(--green-900); color: rgba(255,255,255,0.72); overflow: hidden; }
.footer::before { content: ''; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23d1a046' stroke-width='0.6' opacity='0.5'%3E%3Cpath d='M40 8l9 18 18 2-13 13 4 18-18-9-18 9 4-18-13-13 18-2z'/%3E%3C/g%3E%3C/svg%3E"); background-size: 80px 80px; opacity: 0.10; pointer-events: none; }
.footer > * { position: relative; z-index: 1; }
.footer-cta { background: transparent; }
.footer-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-top: 44px; padding-bottom: 44px; flex-wrap: wrap; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-cta h3 { color: #fff; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); margin: 0; }
.footer-cta p { color: rgba(255,255,255,0.78); margin: 6px 0 0; }
@media (max-width: 640px) {
  .footer-cta-inner { gap: 20px; padding-top: 36px; padding-bottom: 36px; }
  .footer-cta-inner .btn { width: 100%; justify-content: center; }
}
.footer-main { display: grid; grid-template-columns: 1.6fr 0.9fr 1fr 1.25fr; gap: 56px; padding: 64px 0 40px; }
@media (max-width: 1100px) { .footer-main { gap: 36px; } }
@media (max-width: 920px) { .footer-main { grid-template-columns: 1fr 1fr; gap: 40px 32px; } .footer-brand-col { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-main { grid-template-columns: 1fr; gap: 32px; } }
.footer-brand-col .fbrand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.footer-mark { width: 100px; height: 80px; flex-shrink: 0; }
.footer-mark img { width: 100%; height: 100%; object-fit: contain; }
.footer-mark svg { width: 100%; height: 100%; }
.footer-brand-col .fbrand-text strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: #fff; line-height: 1.15; }
.footer-brand-col .fbrand-text span { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-500); }
.footer-brand-col p { color: rgba(255,255,255,0.6); font-size: 0.92rem; line-height: 1.65; max-width: 340px; margin: 0 0 18px; }
.footer-ein { display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; color: rgba(255,255,255,0.65); background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); padding: 7px 13px; border-radius: var(--r-pill); }
.footer-ein svg { width: 14px; height: 14px; color: var(--gold-500); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.08); display: grid; place-items: center; color: #fff; transition: background 180ms var(--ease), color 180ms var(--ease), transform 180ms var(--ease); }
.footer-social a:hover { background: var(--gold-500); color: var(--green-900); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h4 { color: #fff; font-family: var(--font-body); font-weight: 600; font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 18px; }
.footer-col a { color: rgba(255,255,255,0.68); display: block; padding: 6px 0; font-size: 0.92rem; transition: color 160ms var(--ease), padding-left 160ms var(--ease); }
.footer-col a:hover { color: var(--gold-500); padding-left: 4px; }
.footer-contact-item { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 14px; font-size: 0.9rem; color: rgba(255,255,255,0.72); line-height: 1.5; }
.footer-contact-item svg { width: 17px; height: 17px; color: var(--gold-500); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a { color: rgba(255,255,255,0.72); }
.footer-contact-item a:hover { color: var(--gold-500); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; padding: 24px 0; font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--gold-500); }
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ── DONATE MODAL ─────────────────────────────────────────── */
.modal-backdrop { position: fixed; inset: 0; z-index: 200; background: rgba(13,33,24,0.6); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; padding: 24px; }
.modal-backdrop.open { display: flex; animation: fade 200ms var(--ease); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.modal { background: #fff; border-radius: var(--r-xl); max-width: 520px; width: 100%; max-height: calc(100vh - 48px); overflow-y: auto; box-shadow: var(--shadow-lg); animation: rise 300ms var(--ease-emph); }
.modal-head { padding: 28px 30px 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.modal-head h3 { font-size: 1.5rem; }
.modal-close { flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--green-100); color: var(--green-700); display: grid; place-items: center; }
.modal-close:hover { background: var(--green-200); }
.modal-body { padding: 18px 30px 30px; }
.modal-sub { color: var(--ink-500); font-size: 0.92rem; padding: 6px 30px 0; }
.seg { display: flex; gap: 4px; background: var(--green-100); padding: 4px; border-radius: var(--r-pill); margin-bottom: 20px; }
.seg button { flex: 1; padding: 10px; border-radius: var(--r-pill); font-weight: 600; font-size: 0.88rem; color: var(--ink-500); }
.seg button.active { background: #fff; color: var(--green-700); box-shadow: var(--shadow-sm); }
.modal label.fld-label { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-500); margin: 0 0 10px; }
.modal-amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.modal-amounts button { padding: 14px; border: 1.5px solid var(--border); border-radius: var(--r-md); background: #fff; font-weight: 700; color: var(--ink-900); transition: all 160ms var(--ease); }
.modal-amounts button:hover { border-color: var(--green-500); }
.modal-amounts button.active { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.modal-custom { position: relative; margin-bottom: 22px; }
.modal-custom span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--ink-500); font-weight: 600; }
.modal-custom input { width: 100%; padding: 14px 16px 14px 32px; border: 1.5px solid var(--border); border-radius: var(--r-md); font: inherit; color: var(--ink-900); }
.modal-custom input:focus { outline: none; border-color: var(--green-500); }
.fund-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.fund-opt { display: flex; align-items: center; gap: 12px; padding: 13px 15px; border: 1.5px solid var(--border); border-radius: var(--r-md); cursor: pointer; transition: all 160ms var(--ease); }
.fund-opt:hover { border-color: var(--green-200); background: var(--green-100); }
.fund-opt.active { border-color: var(--green-500); background: var(--green-100); }
.fund-radio { width: 18px; height: 18px; border: 2px solid var(--ink-300); border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; }
.fund-opt.active .fund-radio { border-color: var(--green-600); }
.fund-opt.active .fund-radio::after { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--green-600); }
.fund-opt .lbl { flex: 1; font-weight: 500; font-size: 0.92rem; color: var(--ink-900); }
.fund-opt .hint { font-size: 0.78rem; color: var(--ink-500); }
.modal-total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 18px; background: var(--green-100); border-radius: var(--r-md); margin-bottom: 18px; }
.modal-total span { font-size: 0.9rem; color: var(--ink-700); }
.modal-total strong { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: var(--green-700); }
.modal-note { text-align: center; font-size: 0.8rem; color: var(--ink-500); margin: 16px 0 0; }

/* ── UTILITIES ────────────────────────────────────────────── */
.reveal { opacity: 0; transition: opacity 600ms var(--ease); }
.reveal.in { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transition: none; } }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.diagonal-cut { clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%); }

/* ══════════ HOMEPAGE v2 ══════════ */
/* Hero — editorial split */
.hero2 { position: relative; overflow: hidden; background: var(--cream); }
.hero2::before { content: ''; position: absolute; top: -160px; right: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(58,138,85,0.10), transparent 70%); pointer-events: none; }
.hero2 .arabic-watermark { color: var(--green-700); top: 6%; left: -2%; opacity: 0.05; }
.hero2-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,0.95fr); gap: 64px; align-items: center; padding: 84px 0 88px; }
@media (max-width: 940px) { .hero2-inner { grid-template-columns: 1fr; gap: 48px; padding: 56px 0 64px; } }
.hero2-eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px; border-radius: var(--r-pill); background: var(--white); border: 1px solid var(--border); color: var(--green-700); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; box-shadow: var(--shadow-sm); }
.hero2-eyebrow b { color: var(--gold-600); }
.hero2 h1 { color: var(--ink-900); font-size: clamp(2.6rem, 1.7rem + 4vw, 4.6rem); font-weight: 900; line-height: 1.05; margin: 24px 0 0; }
.hero2 h1 em { color: var(--green-600); font-style: italic; }
.hero2-lead { color: var(--ink-700); font-size: var(--fs-lead); max-width: 520px; margin: 22px 0 32px; }
.hero2-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero2-trust { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 32px; padding-top: 26px; border-top: 1px solid var(--border); }
.hero2-trust-item { display: flex; align-items: center; gap: 9px; font-size: 0.85rem; color: var(--ink-500); font-weight: 500; }
.hero2-trust-item svg { width: 18px; height: 18px; color: var(--green-500); flex-shrink: 0; }
.hero2-trust-item strong { color: var(--ink-900); }
/* visual */
.hero2-visual { position: relative; }
.hero2-frame { position: relative; z-index: 2; border-radius: 280px 280px 28px 28px; overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-lg); }
.hero2-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero2-ring { position: absolute; z-index: 1; top: -22px; right: -22px; width: 180px; height: 180px; border: 3px solid var(--gold-500); border-radius: 50%; opacity: 0.5; }
.hero2-dot { position: absolute; z-index: 1; bottom: 40px; left: -28px; width: 96px; height: 96px; border-radius: 50%; background: var(--green-100); }
.hero2-tag { position: absolute; z-index: 3; top: 22px; left: -16px; background: var(--gold-500); color: var(--green-900); font-weight: 700; font-size: 0.82rem; padding: 9px 16px; border-radius: var(--r-pill); box-shadow: var(--shadow-md); }
.hero2-card { position: absolute; z-index: 3; bottom: 22px; left: 50%; transform: translateX(-50%); width: calc(100% - 48px); max-width: 320px; background: rgba(255,255,255,0.96); backdrop-filter: blur(8px); border-radius: var(--r-lg); padding: 16px 18px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow-lg); }
.hero2-card-ic { width: 46px; height: 46px; border-radius: 50%; background: var(--green-700); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.hero2-card-ic svg { width: 24px; height: 24px; }
.hero2-card strong { display: block; font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; color: var(--green-700); line-height: 1; }
.hero2-card span { font-size: 0.82rem; color: var(--ink-500); }
@media (max-width: 940px) { .hero2-frame { aspect-ratio: 16/12; border-radius: 140px 140px 24px 24px; max-width: 520px; margin: 0 auto; } .hero2-ring { right: 8px; } }

/* Hero stats strip (separate band) */
.hero2-stats { background: var(--green-800); }
.hero2-stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero2-stat { padding: 32px 24px; text-align: center; border-right: 1px solid rgba(255,255,255,0.12); }
.hero2-stat:last-child { border-right: 0; }
.hero2-stat .n { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem); color: #fff; line-height: 1; }
.hero2-stat .n sup { font-size: 0.45em; color: var(--gold-500); vertical-align: super; }
.hero2-stat .l { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-top: 8px; }
@media (max-width: 640px) {
  .hero2-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .hero2-stat:nth-child(2) { border-right: 0; }
  .hero2-stat:nth-child(1), .hero2-stat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.12); }
}

/* Programs */
.programs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 920px) { .programs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .programs { grid-template-columns: 1fr; } }
.program { background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); padding: 36px 28px 30px; box-shadow: var(--shadow-sm); transition: transform 260ms var(--ease), box-shadow 260ms var(--ease), border-color 260ms var(--ease); display: flex; flex-direction: column; }
.program:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--green-200); }
.program-icon { width: 64px; height: 64px; border-radius: 18px; background: var(--green-100); color: var(--green-700); display: grid; place-items: center; margin-bottom: 22px; transition: background 260ms var(--ease), color 260ms var(--ease); }
.program:hover .program-icon { background: var(--green-700); color: #fff; }
.program-icon svg { width: 30px; height: 30px; }
.program-body { display: flex; flex-direction: column; flex: 1; }
.program-body h3 { font-size: 1.25rem; }
.program-body p { color: var(--ink-500); font-size: 0.92rem; margin: 8px 0 18px; flex: 1; }
.program-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 0.88rem; color: var(--green-600); }
.program:hover .program-link { color: var(--green-800); }
.program-link svg { width: 15px; height: 15px; transition: transform 200ms var(--ease); }
.program:hover .program-link svg { transform: translateX(4px); }

/* Quote band */
.quote-band { position: relative; overflow: hidden; background: var(--green-800); color: #fff; }
.quote-band .arabic-watermark { color: #fff; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.quote-inner { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; text-align: center; }
.quote-mark { font-family: var(--font-display); font-size: 5rem; line-height: 0.5; color: var(--gold-500); height: 40px; display: block; }
.quote-inner blockquote { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.4rem); line-height: 1.35; color: #fff; margin: 0 0 28px; }
.quote-inner cite { display: block; font-style: normal; color: var(--gold-500); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.04em; }

/* Gallery v2 — editorial wall with captions */
.gallery2 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .gallery2 { grid-template-columns: repeat(2, 1fr); } }
.g2 { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1; box-shadow: var(--shadow-sm); }
.g2.big { grid-column: span 2; grid-row: span 2; }
@media (max-width: 900px) { .g2.big { grid-column: span 2; grid-row: span 1; aspect-ratio: 2/1; } }
.g2 img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-emph); }
.g2:hover img { transform: scale(1.08); }
.g2::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(13,33,24,0.8)); }
.g2-cap { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; color: #fff; font-size: 0.85rem; font-weight: 600; transform: translateY(6px); opacity: 0; transition: opacity 260ms var(--ease), transform 260ms var(--ease); }
.g2:hover .g2-cap { opacity: 1; transform: none; }
.g2.big .g2-cap { font-size: 1rem; }

/* Typography: body floor at 17px */
:root { --fs-body: 1.0625rem; }
body p, body li, body td { font-size: 1rem; line-height: 1.72; }
/* Lift all the 0.9x sub-sizes to 0.95 floor */
.statbar-label, .orphan-story, .dtype-card p, .dtype-link,
.program-body p, .trust-col p, .timeline-row p, .bd-row,
.iact p, .gcard p, .footer-brand-col p, .footer-col a,
.footer-contact-item, .fcard-cap, .faq-a-inner {
  font-size: 0.95rem;
}
/* Nav stays compact */
.nav-links a, .nav-more-btn, .nav-more-menu a { font-size: 0.88rem; }
/* Legal / meta stays small */
.footer-ein, .footer-bottom, .modal-note { font-size: 0.8rem; }
/* Bento donation grid */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.gcard { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 260px; display: flex; box-shadow: var(--shadow-md); transition: transform 260ms var(--ease), box-shadow 260ms var(--ease); }
.gcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.gcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-emph); }
.gcard:hover img { transform: scale(1.06); }
.gcard::after { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(13,33,24,0.30) 0%, rgba(13,33,24,0.55) 55%, rgba(13,33,24,0.92) 100%); }
.gcard.solid { background: var(--green-800); }
.gcard.solid::after { background: none; }
.gcard-in { position: relative; z-index: 1; padding: 28px; color: #fff; display: flex; flex-direction: column; width: 100%; }
.gcard-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: auto; }
.gcard-ic { width: 50px; height: 50px; border-radius: 14px; background: rgba(201,168,76,0.2); border: 1px solid rgba(201,168,76,0.4); color: var(--gold-300); display: grid; place-items: center; }
.gcard-ic svg { width: 26px; height: 26px; }
.gcard h3 { color: #fff; font-size: 1.45rem; margin: 18px 0 8px; }
.gcard p { color: rgba(255,255,255,0.82); font-size: 0.92rem; margin: 0 0 16px; max-width: 42ch; }
.gcard .chip { padding: 6px 13px; border-radius: var(--r-pill); background: var(--gold-500); color: var(--green-900); font-size: 0.78rem; font-weight: 700; }
.gcard .gcta { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.9rem; color: var(--gold-300); }
.gcard:hover .gcta { gap: 12px; }
.gcard .gcta svg { width: 16px; height: 16px; }
.gcard.c1 { grid-column: span 4; min-height: 380px; }
.gcard.c2 { grid-column: span 2; }
.gcard.c3 { grid-column: span 2; }
.gcard.c4 { grid-column: span 4; min-height: 320px; }
.gcard.c5 { grid-column: span 4; min-height: 320px; }
.gcard.c6 { grid-column: span 2; }
@media (max-width: 920px) { .bento { grid-template-columns: repeat(2, 1fr); } .gcard.c1, .gcard.c2, .gcard.c3, .gcard.c4, .gcard.c5, .gcard.c6 { grid-column: span 1; min-height: 280px; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .gcard.c1, .gcard.c2, .gcard.c3, .gcard.c4, .gcard.c5, .gcard.c6 { grid-column: span 1; } }

/* Sponsor band */
.sband { position: relative; overflow: hidden; background: var(--green-900); color: #fff; }
.sband::before { content: ''; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='%23d1a046' stroke-width='0.5' opacity='0.5'%3E%3Cpath d='M30 6l8 16 16-2-10 13 6 17-20-9-20 9 6-17-10-13 16 2z'/%3E%3C/g%3E%3C/svg%3E"); opacity: 0.18; }
.sband-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,0.9fr); gap: 56px; align-items: center; }
@media (max-width: 880px) { .sband-inner { grid-template-columns: 1fr; gap: 36px; } }
.sband h2 { color: #fff; }
.sband h2 em { color: var(--gold-500); font-style: italic; }
.sband p { color: rgba(255,255,255,0.82); font-size: var(--fs-lead); margin: 18px 0 28px; }
.sband-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.breakdown { background: #fff; border-radius: var(--r-xl); padding: 32px; box-shadow: var(--shadow-lg); }
.breakdown .bd-label { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-500); font-weight: 600; }
.breakdown .bd-amt { font-family: var(--font-display); font-weight: 900; font-size: 3.2rem; color: var(--green-700); line-height: 1; margin: 8px 0 4px; }
.breakdown .bd-amt span { font-size: 0.3em; color: var(--ink-500); font-weight: 400; }
.breakdown .bd-sub { color: var(--ink-500); font-size: 0.9rem; margin-bottom: 22px; }
.bd-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px dashed var(--border); font-size: 0.92rem; }
.bd-row span { color: var(--ink-600); }
.bd-row strong { color: var(--green-700); font-weight: 700; }

/* Impact in action */
.iact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 900px) { .iact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .iact-grid { grid-template-columns: 1fr; } }
.iact { background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); padding: 30px 26px; box-shadow: var(--shadow-sm); transition: transform 240ms var(--ease), box-shadow 240ms var(--ease); }
.iact:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.iact-ic { width: 52px; height: 52px; border-radius: 50%; background: var(--green-700); color: #fff; display: grid; place-items: center; margin-bottom: 18px; }
.iact-ic svg { width: 24px; height: 24px; }
.iact h3 { font-size: 1.1rem; margin-bottom: 8px; }
.iact p { color: var(--ink-500); font-size: 0.9rem; line-height: 1.55; margin: 0; }

/* Construction */
.constr { background: #131a15; color: #fff; position: relative; }
.constr .chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: var(--r-pill); background: rgba(201,168,76,0.16); border: 1px solid rgba(201,168,76,0.4); color: var(--gold-500); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.constr .chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.constr h2 { color: #fff; margin: 18px 0 14px; }
.constr-lead { color: rgba(255,255,255,0.72); max-width: 640px; }
.constr-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 36px 0 32px; }
@media (max-width: 700px) { .constr-photos { grid-template-columns: 1fr; } }
.constr-photos img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-md); }
.progress { max-width: 560px; }
.progress-top { display: flex; justify-content: space-between; font-size: 0.88rem; margin-bottom: 10px; }
.progress-top .pl { color: rgba(255,255,255,0.7); }
.progress-top .pr { color: var(--gold-500); font-weight: 700; }
.progress-bar { height: 12px; background: rgba(255,255,255,0.12); border-radius: var(--r-pill); overflow: hidden; }
.progress-fill { height: 100%; width: 28%; background: linear-gradient(90deg, var(--gold-600), var(--gold-500)); border-radius: var(--r-pill); }

/* Field scroll strip */
.fieldstrip { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 18px; -webkit-overflow-scrolling: touch; }
.fieldstrip::-webkit-scrollbar { height: 8px; }
.fieldstrip::-webkit-scrollbar-thumb { background: var(--green-200); border-radius: 99px; }
.fcard { flex: 0 0 300px; scroll-snap-align: start; }
.fcard-img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-sm); background: var(--green-100); }
.fcard-img img { width: 100%; height: 100%; object-fit: contain; object-position: center; transition: transform 600ms var(--ease-emph); }
.fcard:hover .fcard-img img { transform: scale(1.06); }
.fcard .fcap { font-size: 0.88rem; color: var(--ink-600); margin-top: 12px; font-weight: 500; }

/* Newsletter */
.nl { background: var(--green-700); color: #fff; }
.nl-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; }
@media (max-width: 820px) { .nl-inner { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.nl h3 { color: #fff; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); }
.nl p { color: rgba(255,255,255,0.82); margin: 10px 0 0; }
.nl-form { display: flex; gap: 0; background: #fff; border-radius: var(--r-pill); padding: 6px; box-shadow: var(--shadow-md); }
.nl-form input { flex: 1; min-width: 0; border: 0; outline: none; padding: 13px 18px; font: inherit; color: var(--ink-900); background: transparent; }
.nl-note { font-size: 0.8rem; color: rgba(255,255,255,0.7); margin-top: 12px; }

/* ══════════ HOME v4 — hero card, slider, polish ══════════ */
/* Image framing — keep faces visible + unify tone so photos read calm, not busy */
.hero2-frame img, .program-img img, .gcard img, .fcard-img img, .orphan-photo img, .g2 img, .m-main img { object-position: center 28%; }
.heroc-card > img, .program-img img, .gcard img, .fcard-img img, .g2 img, .m-main img, .orphan-photo img, .constr-photos img { filter: saturate(0.88) contrast(1.02); }

/* HERO CARD — full-bleed banner */
.heroc { background: var(--green-900); padding: 0; position: relative; overflow: hidden; }
.heroc .container-wide { max-width: none; padding: 0; }
.heroc-card { position: relative; border-radius: 0; overflow: hidden; min-height: min(calc(100vh - 76px), 880px); display: flex; align-items: center; box-shadow: none; }
.heroc-in { position: relative; z-index: 2; flex: 0 0 auto; box-sizing: content-box; max-width: none; padding: clamp(40px, 6vh, 72px) 0; padding-left: max(24px, calc((100vw - var(--container)) / 2 + 24px)); }
.heroc-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.heroc-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(98deg, rgba(8,40,24,0.95) 0%, rgba(8,40,24,0.84) 38%, rgba(8,40,24,0.5) 66%, rgba(8,40,24,0.28) 100%), linear-gradient(0deg, rgba(6,30,18,0.5) 0%, transparent 22%); }
.heroc-wm { position: absolute; right: 2%; top: 50%; transform: translateY(-50%); z-index: 1; font-family: var(--font-arabic); font-size: clamp(8rem, 24vw, 26rem); color: #fff; opacity: 0.10; line-height: 1; pointer-events: none; }
.heroc-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.heroc-logo img { width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,0.1); }
.heroc-logo span { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.15; }
.heroc-logo span small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-300); margin-top: 3px; }
.heroc-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border-radius: var(--r-pill); background: rgba(209,160,70,0.14); border: 1px solid rgba(209,160,70,0.4); color: var(--gold-300); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.heroc-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 0 0 rgba(209,160,70,0.6); }
@media (prefers-reduced-motion: no-preference) { .heroc-eyebrow .dot { animation: dotPulse 2.4s ease-out infinite; } }
@keyframes dotPulse { 0% { box-shadow: 0 0 0 0 rgba(209,160,70,0.55); } 70% { box-shadow: 0 0 0 8px rgba(209,160,70,0); } 100% { box-shadow: 0 0 0 0 rgba(209,160,70,0); } }
.btn-hero-outline { background: rgba(255,255,255,0.04); color: #fff; border: 1.5px solid rgba(209,160,70,0.55); }
.btn-hero-outline:hover { border-color: var(--gold-500); background: rgba(209,160,70,0.14); transform: translateY(-2px); }
.heroc h1 { max-width: 820px; color: #fff; font-size: clamp(2.3rem, 1.5rem + 3.2vw, 4rem); font-weight: 900; line-height: 1.12; letter-spacing: -0.015em; margin: 26px 0 0; text-wrap: balance; text-shadow: 0 2px 24px rgba(6,30,18,0.35); }
.heroc h1 em { color: var(--gold-300); font-style: italic; }
.heroc-lead { color: rgba(255,255,255,0.82); font-size: var(--fs-lead); line-height: 1.7; max-width: 720px; margin: 22px 0 34px; }
.heroc-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.heroc-chips { display: flex; gap: 36px; flex-wrap: wrap; margin-top: 40px; }
.heroc-chip { color: #fff; padding-left: 16px; border-left: 3px solid var(--gold-500); }
.heroc-chip b { display: block; font-family: var(--font-display); font-weight: 900; font-size: 1.75rem; line-height: 1.05; color: #fff; }
.heroc-chip span { font-size: 0.8rem; color: rgba(255,255,255,0.68); letter-spacing: 0.02em; }
@media (max-width: 720px) { .heroc-card { min-height: 0; } .heroc-card > img { position: absolute; } }

/* Entrance animation for hero content */
@media (prefers-reduced-motion: no-preference) {
  .heroc-in > * { opacity: 0; transform: translateY(20px); animation: heroRise 0.7s var(--ease-emph) forwards; }
  .heroc-eyebrow { animation-delay: 0.08s; }
  .heroc h1 { animation-delay: 0.18s; }
  .heroc-lead { animation-delay: 0.3s; }
  .heroc-cta { animation-delay: 0.42s; }
  .heroc-chips { animation-delay: 0.54s; }
}
@keyframes heroRise { to { opacity: 1; transform: none; } }

/* ── ADVANCED HERO ────────────────────────────────────────── */
/* Ken Burns slow settle on the photo */
@media (prefers-reduced-motion: no-preference) {
  .heroc-card > img { animation: heroKen 11s var(--ease) forwards; transform-origin: 62% 28%; }
  @keyframes heroKen { from { transform: scale(1.09); } to { transform: scale(1); } }
}
/* Faint geometric star pattern over the gradient */
.heroc-card::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23d1a046' stroke-width='0.5' opacity='0.5'%3E%3Cpath d='M36 8l10 19 19 3-13 14 4 20-20-10-20 10 4-20-13-14 19-3z'/%3E%3C/g%3E%3C/svg%3E"); background-size: 72px 72px; opacity: 0.07; }
/* Gold em — clean, no underline bar (gold-on-gold read muddy) */
.heroc h1 em { position: relative; z-index: 0; }
.heroc h1 em::after { content: none; }
/* Glass quick-donate panel */
.heroc-give { position: relative; z-index: 3; flex: 0 0 340px; width: 340px; margin-right: max(24px, calc((100vw - var(--container)) / 2 + 24px)); background: rgba(8, 64, 35, 0.45); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(209, 160, 70, 0.4); border-radius: var(--r-lg); padding: 30px; color: #fff; box-shadow: var(--shadow-lg); }
@media (prefers-reduced-motion: no-preference) { .heroc-give { opacity: 0; transform: translateY(20px); animation: heroRise 0.7s 0.65s var(--ease-emph) forwards; } }
@media (max-width: 1280px), (max-height: 720px) { .heroc-give { display: none; } }
.hg-head { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.hg-ic { width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; background: rgba(209,160,70,0.2); border: 1px solid rgba(209,160,70,0.45); color: var(--gold-300); display: grid; place-items: center; }
.hg-ic svg { width: 18px; height: 18px; }
.hg-title { font-size: 0.84rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; line-height: 1.2; }
.hg-title small { display: block; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.02em; text-transform: none; color: rgba(255,255,255,0.55); margin-top: 3px; }
.hg-freq { display: flex; gap: 4px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); padding: 4px; border-radius: var(--r-pill); margin-bottom: 12px; }
.hg-freq button { flex: 1; padding: 10px; border-radius: var(--r-pill); font-weight: 600; font-size: 0.85rem; color: rgba(255,255,255,0.65); transition: all 160ms var(--ease); }
.hg-freq button.active { background: #fff; color: var(--green-800); }
.hg-amts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 12px; }
.hg-amts button { padding: 15px 8px; border-radius: var(--r-md); border: 1.5px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.06); color: #fff; font-weight: 700; font-size: 1.05rem; transition: all 160ms var(--ease); }
.hg-amts button:hover { border-color: var(--gold-500); }
.hg-amts button.active { background: var(--gold-500); border-color: var(--gold-500); color: var(--green-900); }
.hg-note { font-size: 0.84rem; color: rgba(255,255,255,0.65); margin-bottom: 16px; }
.heroc-give .btn { width: 100%; justify-content: center; }
.hg-secure { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 0.72rem; color: rgba(255,255,255,0.55); margin-top: 12px; }
.hg-secure svg { width: 12px; height: 12px; color: var(--gold-500); }
/* Scroll cue */
.heroc-scroll { position: absolute; left: 50%; transform: translateX(-50%); bottom: 16px; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 5px; color: rgba(255,255,255,0.7); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; transition: color 200ms var(--ease); }
.heroc-scroll:hover { color: #fff; }
.heroc-scroll svg { width: 16px; height: 16px; }
@media (prefers-reduced-motion: no-preference) { .heroc-scroll svg { animation: scrollBob 1.8s ease-in-out infinite; } }
@keyframes scrollBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media (max-width: 900px) { .heroc-scroll { display: none; } }

/* Short viewports — compress hero content so the card truly fits under 100vh */
@media (max-height: 860px) and (min-width: 721px) {
  .heroc-in { padding-top: 24px; padding-bottom: 32px; }
  .heroc h1 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.1rem); margin-top: 16px; max-width: 640px; }
  .heroc-lead { margin: 14px 0 22px; font-size: 1.02rem; }
  .heroc-chips { margin-top: 24px; }
  .heroc-chip b { font-size: 1.4rem; }
  .heroc-eyebrow { padding: 6px 14px; font-size: 0.7rem; }
  .btn-lg { padding: 14px 28px; font-size: 0.95rem; }
}

/* Home trust grid — 3 up, responsive */
.home-trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 820px) { .home-trust-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (max-width: 560px) { .home-trust-grid { grid-template-columns: 1fr; gap: 18px; } }

/* Mobile hero — let the content column shrink to fit the screen */
@media (max-width: 720px) {
  .heroc-card { min-height: auto; }
  .heroc-in {
    flex: 1 1 auto; min-width: 0; width: 100%; max-width: 100%;
    box-sizing: border-box;
    padding: 40px 20px 44px;
  }
  .heroc h1 { max-width: 100%; font-size: clamp(1.9rem, 1.3rem + 3.2vw, 2.6rem); }
  .heroc-lead, .heroc-chips, .heroc-give { max-width: 100%; }
}

/* Slider (paginated carousel — whole cards only, no peek) */
.slider-wrap { position: relative; overflow: hidden; }
.slider { display: flex; gap: 20px; padding: 6px 0; transition: transform 460ms var(--ease-emph); will-change: transform; }
.slider > * { flex: 0 0 auto; }
.slider .fcard { flex: 0 0 calc((100% - 44px) / 3); width: auto; max-width: none; }
@media (max-width: 900px) { .slider .fcard { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 560px) { .slider .fcard { flex-basis: 100%; } }
.slider-nav { display: flex; gap: 10px; }
.slider-btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--border); background: #fff; color: var(--green-700); display: grid; place-items: center; transition: background 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease), transform 160ms var(--ease); box-shadow: var(--shadow-sm); }
.slider-btn:hover { background: var(--green-700); color: #fff; border-color: var(--green-700); transform: translateY(-2px); }
.slider-btn:disabled { opacity: 0.35; cursor: default; transform: none; }
.slider-btn svg { width: 20px; height: 20px; }
.slider-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 36px; }
@media (max-width: 600px) { .slider-head { flex-direction: column; align-items: flex-start; } }

/* Button micro-interaction: arrow nudge */
.btn svg { transition: transform 220ms var(--ease); }
.btn:hover svg { transform: translateX(3px); }

/* Newsletter → gold band (breaks dark-on-dark before footer) */
.nl { background: linear-gradient(120deg, var(--gold-100), #fbf3df); color: var(--ink-900); border-top: 1px solid var(--border); }
.nl h3 { color: var(--green-900); }
.nl p { color: var(--ink-600); }
.nl-form { border: 1px solid rgba(0,0,0,0.06); }
.nl-note { color: var(--ink-500); }

/* line-height polish */
.section-head h2, .gcard h3, .iact h3, .program-body h3 { line-height: 1.18; }
.lead { line-height: 1.6; }

/* ══════════ RESPONSIVE BREAKPOINTS ══════════ */
/* Large desktop — let content breathe into the screen instead of a narrow 1200 column */
@media (min-width: 1500px) {
  :root { --container: 1320px; --container-wide: 1320px; }
  .section { padding: 108px 0; }
}
@media (min-width: 1800px) {
  :root { --container: 1440px; --container-wide: 1440px; --fs-body: 1.05rem; }
  .section { padding: 128px 0; }
}
@media (min-width: 2200px) {
  :root { --container: 1560px; --container-wide: 1560px; }
}

/* Laptop / small desktop — tighten gaps so nothing feels cramped 1024–1280 */
@media (max-width: 1280px) and (min-width: 1001px) {
  .bento { gap: 16px; }
  .programs, .iact-grid { gap: 18px; }
}

/* Tablet landscape / portrait 768–1000 */
@media (max-width: 1000px) {
  .section { padding: 72px 0; }
  .sband-inner { gap: 40px; }
}

/* Small tablet 600–768 */
@media (max-width: 768px) {
  .iact-grid { grid-template-columns: repeat(2, 1fr); }
  .constr-photos { grid-template-columns: 1fr 1fr; }
  .heroc-card { min-height: 0; }
  .heroc-card > img { position: absolute; }
}

/* Phone < 560 */
@media (max-width: 560px) {
  .section { padding: 56px 0; }
  .container, .container-wide { padding: 0 18px; }
  .constr-photos { grid-template-columns: 1fr; }
  .iact-grid { grid-template-columns: 1fr; }
  .btn-lg { padding: 15px 26px; font-size: 0.98rem; }
  .heroc-chips { gap: 16px; }
  .heroc-chip b { font-size: 1.4rem; }
}
