:root {
  --c2-forest: #062f27;
  --c2-forest-2: #0a4437;
  --c2-ink: #10201b;
  --c2-ivory: #f6f2e8;
  --c2-paper: #fbfaf5;
  --c2-gold: #c9a85b;
  --c2-gold-light: #ead8a7;
  --c2-muted: #63706b;
  --c2-pad: clamp(24px, 5vw, 96px);
}

body:not(.inner-page) .site-header {
  height: 78px;
  border-color: rgba(255,255,255,.12);
  background: rgba(4,37,30,.78);
  color: #fff;
  box-shadow: none;
  backdrop-filter: blur(16px);
  transition: background .35s ease, box-shadow .35s ease;
}
body:not(.inner-page) .site-header.c2-header-scrolled { background: rgba(4,37,30,.94); box-shadow: 0 8px 30px rgba(0,0,0,.14); }
body:not(.inner-page) .site-header .brand,
body:not(.inner-page) .site-header nav a:not(.button) { color: #fff; }
body:not(.inner-page) .site-header nav a:not(.button) { opacity: .78; }
body:not(.inner-page) .site-header nav a:not(.button):hover { opacity: 1; }
body:not(.inner-page) .site-header .menu-button { color: #fff; border-color: rgba(255,255,255,.45); }
body:not(.inner-page) .site-header .top-search { display: none; }
body:not(.inner-page) .site-header .admin-access-link { border-color: rgba(255,255,255,.22); color: var(--c2-gold-light); }

.c2-home { overflow: hidden; color: var(--c2-ink); background: var(--c2-paper); }
.c2-home h1,.c2-home h2,.c2-home h3 { font-family: "Playfair Display", serif; }
.c2-progress { position: fixed; left: 0; top: 0; z-index: 80; width: 0; height: 2px; background: var(--c2-gold-light); pointer-events: none; }
.c2-section { position: relative; padding: clamp(92px,11vw,176px) var(--c2-pad); }
.c2-inner { width: min(1260px,100%); margin: 0 auto; }
.c2-display { margin: 0; font-size: clamp(48px,5.7vw,92px); font-weight: 600; line-height: 1.01; letter-spacing: -.045em; }
.c2-display em { color: var(--c2-forest-2); font-weight: 600; }
.c2-kicker { margin: 0 0 18px; color: var(--c2-gold-light); font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.c2-label { display: flex; align-items: center; gap: 13px; margin: 0 0 18px; color: #6f736b; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.c2-label::before { content: ""; width: 38px; height: 1px; background: var(--c2-gold); }
.c2-lead { max-width: 720px; color: var(--c2-muted); font: 400 clamp(16px,1.6vw,20px)/1.75 "DM Sans",sans-serif; }
.c2-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.c2-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; color: inherit; font-size: 13px; font-weight: 700; text-decoration: none; transition: transform .25s ease,background .25s ease; }
.c2-button:hover { transform: translateY(-2px); }
.c2-button-gold { color: #13251f; background: var(--c2-gold-light); }
.c2-button-line { color: #fff; border-color: rgba(255,255,255,.4); }
.c2-text-link { display: inline-flex; align-items: center; gap: 10px; padding: 0 0 6px; border-bottom: 1px solid currentColor; color: inherit; font-size: 13px; font-weight: 700; text-decoration: none; }

.c2-hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; background: var(--c2-forest); overflow: hidden; }
.c2-hero-media { position: absolute; inset: 0; }
.c2-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(2,25,20,.93),rgba(2,28,22,.68) 46%,rgba(2,22,18,.18) 78%),linear-gradient(0deg,rgba(2,28,22,.86),transparent 56%); }
.c2-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; scale: 1.06; animation: c2HeroDrift 16s ease-out both; }
@keyframes c2HeroDrift { to { scale: 1.01; } }
.c2-hero-orbit { position: absolute; z-index: 2; width: min(62vw,880px); aspect-ratio: 1; right: -16vw; top: 4vh; border: 1px solid rgba(234,216,167,.2); border-radius: 50%; }
.c2-hero-orbit::before,.c2-hero-orbit::after { content: ""; position: absolute; inset: 12%; border: 1px solid rgba(234,216,167,.13); border-radius: 50%; }
.c2-hero-orbit::after { inset: 28%; }
.c2-hero-content { position: relative; z-index: 3; width: min(1060px,100%); padding: 145px var(--c2-pad) clamp(68px,8vw,118px); }
.c2-hero h1 { max-width: 990px; margin: 0; font-size: clamp(58px,7.7vw,126px); font-weight: 600; line-height: .91; letter-spacing: -.055em; text-wrap: balance; }
.c2-hero h1 em { color: var(--c2-gold-light); font-weight: 600; }
.c2-hero-copy { max-width: 620px; margin: 30px 0 24px; color: rgba(255,255,255,.73); font-size: clamp(16px,1.5vw,20px); line-height: 1.65; }
.c2-scroll-cue { position: absolute; right: var(--c2-pad); bottom: 55px; z-index: 4; display: grid; gap: 9px; justify-items: center; color: rgba(255,255,255,.6); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; writing-mode: vertical-rl; }
.c2-scroll-cue i { width: 1px; height: 58px; background: linear-gradient(var(--c2-gold-light),transparent); }

.c2-purpose { background: var(--c2-ivory); overflow: hidden; }
.c2-purpose::before { content: ""; position: absolute; width: 42vw; aspect-ratio: 1; right: -18vw; top: -12vw; border: 1px solid rgba(6,47,39,.12); border-radius: 50%; box-shadow: 0 0 0 7vw rgba(6,47,39,.025),0 0 0 14vw rgba(6,47,39,.018); }
.c2-purpose-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(45px,9vw,150px); align-items: start; }
.c2-trust-line { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 64px; border-top: 1px solid #cfcec6; }
.c2-independence-note { display: grid; gap: 6px; max-width: 760px; margin: 30px 0 0; padding: 18px 20px; border-left: 3px solid var(--c2-gold); background: rgba(255,255,255,.48); }
.c2-independence-note b { color: var(--c2-forest); font-size: 13px; }
.c2-independence-note span { color: #65706b; font-size: 12px; line-height: 1.65; }
.c2-trust-line article { padding: 24px 20px 0 0; }
.c2-trust-line article + article { padding-left: 20px; border-left: 1px solid #cfcec6; }
.c2-trust-line b { display: block; margin-bottom: 8px; font-size: 14px; }
.c2-trust-line span { color: #747b77; font-size: 12px; line-height: 1.55; }

.c2-stats { color: #fff; background: var(--c2-forest); overflow: hidden; }
.c2-stats::after { content: ""; position: absolute; inset: 0; opacity: .14; background-image: linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(90deg,transparent,#000); }
.c2-stats .c2-inner { position: relative; z-index: 2; }
.c2-stats-heading { display: grid; grid-template-columns: 1fr .62fr; gap: 70px; align-items: end; }
.c2-stats-heading p { color: rgba(255,255,255,.62); line-height: 1.7; }
.c2-stats .c2-display em { color: var(--c2-gold-light); }
.c2-stat-grid { display: grid; grid-template-columns: 1.2fr .85fr .85fr; gap: 1px; margin-top: 70px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.16); }
.c2-stat { min-height: 300px; padding: 34px; display: flex; flex-direction: column; justify-content: space-between; background: var(--c2-forest); }
.c2-stat:first-child { color: var(--c2-ink); background: var(--c2-gold-light); }
.c2-stat small { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; opacity: .65; }
.c2-stat strong { font-family: "Playfair Display",serif; font-size: clamp(42px,4.4vw,76px); line-height: .95; letter-spacing: -.055em; }
.c2-stat span { max-width: 240px; font-size: 13px; line-height: 1.5; opacity: .72; }
.c2-source { margin: 20px 0 0; color: rgba(255,255,255,.48); font-size: 11px; line-height: 1.6; }
.c2-source a { color: var(--c2-gold-light); }

.c2-home .c2-world { margin: 0; color: var(--c2-ink); background: #e9e4d8; }
.c2-home .c2-world::before { content: ""; position: absolute; inset: 0; opacity: .34; background-image: radial-gradient(rgba(6,47,39,.12) 1px,transparent 1px); background-size: 18px 18px; mask-image: linear-gradient(90deg,#000,transparent 62%); }
.c2-home .c2-world .c2-inner { position: relative; }
.c2-split-heading { display: grid; grid-template-columns: 1fr .58fr; gap: 60px; align-items: end; margin-bottom: 55px; }
.c2-split-heading > p { color: var(--c2-muted); line-height: 1.7; }
.c2-home .story-world-layout { grid-template-columns: minmax(0,1.25fr) minmax(320px,.75fr); gap: 28px; }
.c2-home .story-map-frame { padding: 16px; border-color: rgba(7,61,49,.14); border-radius: 26px; box-shadow: 0 35px 75px rgba(32,45,38,.16); }
.c2-home .story-map-frame .home-leaflet-map { height: 470px; min-height: 470px; }
.c2-home .story-country-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.c2-heading-row { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.c2-heading-row .c2-display { max-width: 850px; }

.c2-causes { color: #fff; background: #0a322a; }
.c2-causes .c2-display { max-width: 900px; }
.c2-causes .c2-display em { color: var(--c2-gold-light); }
.c2-causes .c2-label { color: #c4c9c4; }
.c2-cause-mosaic { display: grid; grid-template-columns: 1.3fr .7fr 1fr; grid-template-rows: 290px 290px; gap: 13px; margin-top: 55px; }
.c2-cause { position: relative; overflow: hidden; border-radius: 16px; color: #fff; text-decoration: none; }
.c2-cause:first-child { grid-row: 1/3; }
.c2-cause:nth-child(4) { grid-column: 2/4; }
.c2-cause::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(1,25,20,.88),transparent 72%); }
.c2-cause img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75); transition: scale .7s ease,filter .7s ease; }
.c2-cause:hover img { scale: 1.05; filter: saturate(1); }
.c2-cause > span { position: absolute; z-index: 2; inset: auto 22px 20px; display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.c2-cause b { max-width: 75%; font-family: "Playfair Display",serif; font-size: clamp(23px,2vw,34px); line-height: 1.1; }
.c2-cause i { color: rgba(255,255,255,.66); font-size: 11px; font-style: normal; }

.c2-zakat { background: var(--c2-ivory); overflow: hidden; }
.c2-zakat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px,8vw,130px); align-items: center; }
.c2-zakat-art { position: relative; min-height: 560px; border-radius: 290px 290px 20px 20px; overflow: hidden; background: var(--c2-forest); }
.c2-zakat-art img { width: 100%; height: 100%; object-fit: cover; opacity: .78; }
.c2-zakat-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(4,38,31,.88),transparent 65%); }
.c2-zakat-art blockquote { position: absolute; z-index: 2; inset: auto 32px 32px; margin: 0; color: #fff; font-family: "Playfair Display",serif; font-size: clamp(25px,2.7vw,41px); line-height: 1.2; }
.c2-zakat-points { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 30px 0; }
.c2-zakat-points div { padding: 16px 0; border-top: 1px solid #cac9c0; }
.c2-zakat-points b,.c2-zakat-points span { display: block; }
.c2-zakat-points span { margin-top: 5px; color: var(--c2-muted); font-size: 12px; line-height: 1.5; }
.c2-zakat .c2-actions .c2-text-link { color: var(--c2-ink); }

.c2-charities { background: var(--c2-paper); }
.c2-home .c2-charity-grid { margin-top: 55px; }
.c2-home .story-charity-card { min-height: 390px; border-color: #d9d8d0; border-radius: 20px; box-shadow: none; }
.c2-home .story-charity-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(19,40,32,.09); }

.c2-final { min-height: 86svh; display: grid; place-items: center; overflow: hidden; color: #fff; text-align: center; background: var(--c2-forest); }
.c2-final::before { content: ""; position: absolute; width: 880px; aspect-ratio: 1; border: 1px solid rgba(234,216,167,.18); border-radius: 50%; box-shadow: 0 0 0 128px rgba(234,216,167,.025),0 0 0 256px rgba(234,216,167,.02); }
.c2-final .c2-inner { position: relative; z-index: 2; max-width: 950px; }
.c2-final h2 { margin: 0; font-size: clamp(50px,7vw,115px); font-weight: 600; line-height: .95; letter-spacing: -.05em; }
.c2-final h2 em { color: var(--c2-gold-light); font-weight: 600; }
.c2-final .c2-inner > p:not(.c2-kicker) { max-width: 620px; margin: 28px auto; color: rgba(255,255,255,.64); line-height: 1.7; }
.c2-final .c2-actions { justify-content: center; }
.c2-final .c2-disclaimer { margin-top: 48px!important; padding-top: 23px; border-top: 1px solid rgba(255,255,255,.13); font-size: 11px; }
.c2-final .c2-disclaimer b { color: #fff; }

.c2-reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.2,.7,.2,1),transform .8s cubic-bezier(.2,.7,.2,1); }
.c2-reveal.c2-visible { opacity: 1; transform: none; }

@media (max-width:1050px) {
  .c2-purpose-grid,.c2-stats-heading,.c2-split-heading,.c2-zakat-grid { grid-template-columns: 1fr; gap: 32px; }
  .c2-home .story-world-layout { grid-template-columns: 1fr; }
  .c2-home .story-country-grid { grid-template-columns: repeat(3,1fr); }
  .c2-stat-grid { grid-template-columns: 1fr 1fr; }
  .c2-stat:first-child { grid-column: 1/3; }
  .c2-charity-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width:900px) {
  body:not(.inner-page) .site-header nav { background: #fff; }
  body:not(.inner-page) .site-header nav a:not(.button) { color: var(--c2-forest); opacity: 1; }
  body:not(.inner-page) .site-header .admin-access-link { margin-left: auto; margin-right: 12px; }
  .c2-cause-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3,240px); }
  .c2-cause:first-child { grid-row: 1/3; }
  .c2-cause:nth-child(4) { grid-column: 1/3; }
}

@media (max-width:760px) {
  :root { --c2-pad: 18px; }
  body:not(.inner-page) .site-header { height: 68px; padding: 0 18px; }
  body:not(.inner-page) .site-header .admin-access-link { border: 0; padding-left: 0; }
  .c2-section { padding-top: 86px; padding-bottom: 86px; }
  .c2-display { font-size: clamp(43px,13vw,62px); }
  .c2-hero { min-height: 92svh; }
  .c2-hero-media::after { background: linear-gradient(0deg,rgba(2,25,20,.97),rgba(2,25,20,.16) 92%); }
  .c2-hero-content { padding: 120px 18px 70px; }
  .c2-hero h1 { font-size: clamp(50px,15vw,72px); line-height: .93; }
  .c2-hero-copy { margin-top: 24px; font-size: 16px; }
  .c2-scroll-cue { display: none; }
  .c2-actions { display: grid; width: 100%; }
  .c2-button { width: 100%; }
  .c2-trust-line { grid-template-columns: 1fr; gap: 12px; margin-top: 40px; }
  .c2-trust-line article + article { padding-left: 0; border-left: 0; }
  .c2-stat-grid { display: block; border: 0; }
  .c2-stat { min-height: 220px; border-top: 1px solid rgba(255,255,255,.16); }
  .c2-stat:first-child { min-height: 255px; }
  .c2-home .story-map-frame { padding: 9px; border-radius: 20px; }
  .c2-home .story-map-frame .home-leaflet-map { height: 300px; min-height: 300px; }
  .c2-home .story-country-grid { grid-template-columns: 1fr; margin-top: 14px; }
  .c2-heading-row { align-items: flex-start; flex-direction: column; }
  .c2-cause-mosaic { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: -18px; padding-right: 18px; }
  .c2-cause { min-width: 82vw; height: 430px; scroll-snap-align: start; }
  .c2-zakat-art { min-height: 430px; }
  .c2-zakat-points,.c2-charity-grid { grid-template-columns: 1fr; }
  .c2-final { min-height: 78svh; }
  .c2-final h2 { font-size: clamp(48px,14vw,68px); }
}

@media (prefers-reduced-motion:reduce) {
  .c2-home *,.c2-home *::before,.c2-home *::after { animation: none!important; transition-duration: .01ms!important; }
  .c2-reveal { opacity: 1; transform: none; }
}
