/* ============================================================
   OM AATHI SIVAN PANCHA MUGAM CHARITABLE TRUST
   Premium Design System — Heritage meets modern craft
   ============================================================ */

/* Palette ONLY: #1A1A1A · #E8720C · #E8720C · #F7F1E6 */
:root {
  --c-primary: #1A1A1A;
  --c-primary-mid: #0D0D0D;
  --c-primary-soft: #3D3D3D;
  --c-secondary: #E8720C;
  --c-secondary-soft: #F2934A;
  --c-accent: #E8720C;
  --c-accent-soft: #F2934A;
  --c-teal: #E8720C;

  --c-bg: #F7F1E6;
  --c-bg-alt: #EFE6D8;
  --c-surface: #FCF8F1;
  --c-elevated: #ffffff;
  --c-ink: #1A1A1A;
  --c-ink-soft: #3D3D3D;
  --c-muted: #6E6E6E;
  --c-border: #E3D9C6;
  --c-border-strong: #C9BCA0;

  --c-success: #E8720C;
  --c-danger: #1A1A1A;

  /* Dedicated button palette — every clickable button/CTA uses this */
  --c-button: #E8720C;
  --c-button-hover: #C15B08;
  --c-button-soft: #F2934A;
  --c-button-ink: #ffffff;

  --shadow-xs: 0 1px 3px rgba(26, 26, 26, .08);
  --shadow-sm: 0 4px 18px rgba(26, 26, 26, .10);
  --shadow-md: 0 14px 44px rgba(26, 26, 26, .14);
  --shadow-lg: 0 28px 70px rgba(26, 26, 26, .18);
  --shadow-glow: 0 10px 36px rgba(232, 114, 12, .28);

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-xl: 36px;
  --radius-full: 999px;

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;

  --space-xs: 0.35rem;
  --space-sm: 0.65rem;
  --space-md: 1rem;
  --space-lg: 1.75rem;
  --space-xl: 2.75rem;
  --space-2xl: 4.5rem;
  --space-3xl: 6.5rem;

  --header-h: 76px;
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t: 0.4s var(--ease);

  /* Grand theme tokens — orange + black, richer treatment */
  --grad-brand: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 35%, #E8720C 100%);
  --grad-brand-deep: linear-gradient(160deg, #050505 0%, #1A1A1A 45%, #E8720C 100%);
  --grad-aurora-1: radial-gradient(circle, rgba(232, 114, 12, .55), transparent 65%);
  --grad-aurora-2: radial-gradient(circle, rgba(232, 114, 12, .35), transparent 65%);
  --grad-aurora-3: radial-gradient(circle, rgba(26, 26, 26, .55), transparent 65%);
  --grad-text: linear-gradient(100deg, #C15B08 0%, #E8720C 45%, #F2934A 75%, #E8720C 100%);
  --glass-bg: color-mix(in srgb, var(--c-elevated) 65%, transparent);
  --glass-border: color-mix(in srgb, #ffffff 40%, transparent);
  --shadow-grand: 0 30px 90px rgba(26, 26, 26, .35), 0 8px 28px rgba(232, 114, 12, .22);
  --glow-secondary: 0 0 0 1px rgba(232, 114, 12, .25), 0 18px 52px rgba(232, 114, 12, .45);
}

[data-theme="dark"] {
  --c-primary: #E8720C;
  --c-primary-mid: #F2934A;
  --c-primary-soft: #E8720C;
  --c-secondary: #E8720C;
  --c-secondary-soft: #F2934A;
  --c-accent: #E8720C;
  --c-accent-soft: #F2934A;
  --c-button: #E8720C;
  --c-button-hover: #F2934A;
  --c-button-soft: #F2934A;
  --c-button-ink: #ffffff;
  --c-bg: #0A0A0A;
  --c-bg-alt: #161616;
  --c-surface: #202020;
  --c-elevated: #1A1A1A;
  --c-ink: #F7F1E6;
  --c-ink-soft: #EFE6D8;
  --c-muted: #ABABAB;
  --c-border: #3D3D3D;
  --c-border-strong: #6E6E6E;
  --shadow-xs: 0 1px 3px rgba(0, 0, 0, .3);
  --shadow-sm: 0 4px 18px rgba(0, 0, 0, .35);
  --shadow-md: 0 14px 44px rgba(0, 0, 0, .4);
  --shadow-lg: 0 28px 70px rgba(0, 0, 0, .5);
  --shadow-glow: 0 10px 36px rgba(232, 114, 12, .25);
  --glass-bg: color-mix(in srgb, var(--c-elevated) 55%, transparent);
  --glass-border: color-mix(in srgb, #ffffff 12%, transparent);
  --shadow-grand: 0 30px 90px rgba(0, 0, 0, .5), 0 8px 24px rgba(232, 114, 12, .2);
}

/* ---------- Reset / Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t);
}

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--c-secondary);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  background: var(--c-primary);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 0;
}

.container {
  width: min(var(--container), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-primary-soft);
  margin-bottom: 0.75rem;
}

h1,
h2,
h3,
.display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--c-ink);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.4rem, 5.2vw, 3.85rem);
}

h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.65rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.4rem);
}

p {
  color: var(--c-muted);
  margin: 0 0 1rem;
}

.lead {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--c-ink-soft);
}

/* ---------- Buttons ---------- */
.btn,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
}

.btn:active,
.button:active {
  transform: scale(0.97);
}

.btn-primary,
.button {
  background: var(--c-button);
  color: var(--c-button-ink);
  box-shadow: 0 8px 24px rgba(232, 114, 12, .30);
}

.btn-primary:hover,
.button:hover {
  background: var(--c-button-hover);
  color: var(--c-button-ink);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(232, 114, 12, .38);
}

.btn-outline-primary,
.button-outline {
  background: transparent;
  color: var(--c-button);
  border-color: var(--c-button);
}

.btn-outline-primary:hover,
.button-outline:hover {
  background: var(--c-button);
  color: var(--c-button-ink);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
  background: transparent;
}

.btn-outline-light:hover {
  background: #fff;
  color: var(--c-primary);
  border-color: #fff;
}

.btn-gold {
  background: linear-gradient(135deg, #1A1A1A, #0A0A0A);
  color: #F7F1E6;
  border: 2px solid #E8720C;
  box-shadow: 0 10px 36px rgba(26, 26, 26, .35), 0 0 0 1px rgba(232, 114, 12, .25) inset;
}

.btn-gold:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #E8720C, #C15B08);
  border-color: #E8720C;
  box-shadow: 0 14px 40px rgba(232, 114, 12, .45);
  color: #ffffff;
}

.btn-lg {
  padding: 0.95rem 1.85rem;
  font-size: 1.02rem;
}

.btn-sm,
.button-small {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

.btn-hero-outline {
  background: transparent;
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, .55);
  border-radius: var(--radius-full);
  padding: 0.8rem 1.6rem;
  font-weight: 600;
  transition: all var(--t);
}

.btn-hero-outline:hover {
  background: #fff;
  color: var(--c-primary) !important;
  border-color: #fff;
  transform: translateY(-2px);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background var(--t), box-shadow var(--t), height var(--t), backdrop-filter var(--t);
  background: transparent;
}

.site-header.scrolled {
  height: 64px;
  background: color-mix(in srgb, var(--c-elevated) 92%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  flex-wrap: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 0 1 auto;
  min-width: 0;
  max-width: calc(100% - 110px);
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, .3);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
}

.site-header.scrolled .brand-logo {
  border-color: var(--c-border);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand-text b {
  font-size: 1.02rem;
  color: var(--c-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-text small {
  font-size: 0.68rem;
  color: var(--c-muted);
  font-weight: 500;
  white-space: nowrap;
}

.brand-mark {
  display: none;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 0.1rem;
}

.main-nav a {
  padding: 0.4rem 0.7rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--c-ink);
  border-radius: var(--radius-full);
  position: relative;
  transition: color var(--t);
}

.main-nav a:hover {
  color: var(--c-primary);
}

.main-nav a.active {
  color: var(--c-primary);
  font-weight: 600;
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 3px;
  background: #E8720C;
  border-radius: var(--radius-full);
}

.nav-donate {
  background: var(--c-button) !important;
  color: #fff !important;
  padding: 0.5rem 1.15rem !important;
  border-radius: var(--radius-full) !important;
  margin-left: 0.35rem;
  box-shadow: 0 6px 20px rgba(232, 114, 12, .30);
}

.nav-donate:hover {
  background: var(--c-button-hover) !important;
  transform: translateY(-1px);
  color: #fff !important;
}

.nav-donate::after {
  display: none !important;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex: 0 0 auto;
  margin-left: auto;
}

.theme-toggle,
.menu-toggle {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border: 1px solid var(--c-border);
  background: var(--c-elevated);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--c-ink);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0;
  transition: all var(--t);
  box-shadow: var(--shadow-xs);
}

.theme-toggle:hover,
.menu-toggle:hover {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
}

/* Header over dark hero */
.site-header:not(.scrolled) .brand-text b {
  color: #fff;
}

.site-header:not(.scrolled) .brand-text small {
  color: rgba(255, 255, 255, .72);
}

.site-header:not(.scrolled) .main-nav a:not(.nav-donate) {
  color: rgba(255, 255, 255, .92);
}

.site-header:not(.scrolled) .main-nav a:not(.nav-donate):hover,
.site-header:not(.scrolled) .main-nav a.active {
  color: #fff;
}

.site-header:not(.scrolled) .main-nav a.active::after {
  background: var(--c-secondary-soft);
}

.site-header:not(.scrolled) .theme-toggle,
.site-header:not(.scrolled) .menu-toggle {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .35);
  color: #fff;
  backdrop-filter: blur(8px);
}

.site-header:not(.scrolled) .theme-toggle:hover,
.site-header:not(.scrolled) .menu-toggle:hover {
  background: rgba(255, 255, 255, .28);
  color: #fff;
}

/* Desktop nav */
@media (min-width: 992px) {
  .main-nav {
    display: flex !important;
  }

  .menu-toggle,
  #mobileMenuBtn {
    display: none !important;
  }

  #mobileDrawer,
  #mobileBackdrop {
    display: none !important;
    visibility: hidden !important;
  }
}

/* ---------- Mobile Drawer ---------- */
#mobileBackdrop {
  position: fixed;
  inset: 0;
  z-index: 1090;
  background: rgba(0, 0, 0, .55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .28s ease, visibility .28s ease;
}

#mobileBackdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#mobileBackdrop[hidden] {
  display: none !important;
}

#mobileDrawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 88vw);
  z-index: 1100;
  background: var(--c-elevated);
  color: var(--c-ink);
  display: flex;
  flex-direction: column;
  transform: translate3d(110%, 0, 0);
  transition: transform .32s var(--ease);
  visibility: hidden;
  pointer-events: none;
  box-shadow: -16px 0 48px rgba(0, 0, 0, .22);
  overflow: hidden;
}

#mobileDrawer.is-open {
  transform: translate3d(0, 0, 0);
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--c-border);
}

.mobile-drawer-header .brand-text b,
.mobile-drawer-header .brand-text small {
  color: var(--c-ink) !important;
}

.mobile-drawer-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--c-ink);
}

.mobile-drawer-nav {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: .75rem 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .15rem;
}

.mobile-drawer-nav a {
  display: block;
  padding: .85rem 1rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--c-ink) !important;
  border-radius: 12px;
  min-height: 48px;
}

.mobile-drawer-nav a:hover,
.mobile-drawer-nav a.active {
  background: color-mix(in srgb, var(--c-primary) 10%, transparent);
  color: var(--c-primary) !important;
}

.mobile-donate {
  margin-top: .75rem !important;
  background: var(--c-primary) !important;
  color: #fff !important;
  text-align: center;
  font-weight: 700 !important;
  border-radius: var(--radius-full) !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: .45rem;
}

body.menu-open {
  overflow: hidden;
  touch-action: none;
}

@media (max-width: 991.98px) {
  .main-nav {
    display: none !important;
  }

  .menu-toggle,
  #mobileMenuBtn {
    display: grid !important;
  }
}

/* ---------- Hero ---------- */
.hero-v2 {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 2.5rem) 0 5rem;
  overflow: hidden;
  background: #1A1A1A;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-bg-video.active {
  opacity: 1;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(26, 26, 26, .82) 0%, rgba(14, 176, 19, 0.35) 45%, rgba(26, 26, 26, .22) 100%),
    linear-gradient(to top, rgba(26, 26, 26, .7) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  width: min(820px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.hero-copy h1 {
  color: #fff;
  font-size: clamp(2.5rem, 5.5vw, 3.9rem);
  margin: 0 0 1.25rem;
  text-shadow: 0 2px 28px rgba(0, 0, 0, .25);
}

.hero-eyebrow {
  color: #D4782C;
}

.hero-copy .lead {
  color: rgba(255, 255, 255, .88);
  max-width: 34em;
  margin-bottom: 1.85rem;
}

.hero-copy .actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-bottom: .25rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .9rem;
  color: rgba(255, 255, 255, .65);
  margin-top: 1.25rem;
}

.hero-trust i {
  color: #D4782C;
}

.scroll-indicator {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, .55);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  z-index: 3;
  animation: bounce 2.2s ease-in-out infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(7px);
  }
}

/* ---------- Sections ---------- */
.section {
  padding: var(--space-2xl) 0;
  background: #0A0A0A;
  color: #F7F1E6;
}

.section.alt {
  background: #0D0D0D;
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.section-head.center {
  text-align: center;
  margin-inline: auto;
}

.page-hero {
  padding: calc(var(--header-h) + 3rem) 0 3.5rem;
  background:
    radial-gradient(ellipse 70% 80% at 90% 0%, color-mix(in srgb, var(--c-primary) 8%, transparent), transparent),
    var(--c-bg);
}

.page-hero h1 {
  margin: .35rem 0 .75rem;
}

.page-hero p {
  max-width: 36em;
  margin: 0;
}

/* ---------- Grids & Cards ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--c-elevated);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-xs);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--c-primary) 20%, var(--c-border));
}

.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--c-primary) 10%, transparent);
  color: var(--c-primary);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
  transition: transform var(--t), background var(--t), color var(--t);
}

.card:hover .icon {
  transform: scale(1.06) rotate(-3deg);
  background: var(--c-primary);
  color: #fff;
}

.card h3 {
  margin: 0 0 .5rem;
}

.card p {
  margin-bottom: 1rem;
  font-size: .95rem;
}

.link,
.card .link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-weight: 600;
  font-size: .92rem;
  color: var(--c-primary);
  transition: gap var(--t);
}

.link:hover,
.card .link:hover {
  gap: .55rem;
}

.program-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.program-card .card-media {
  height: 200px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-soft));
}

.program-card .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s var(--ease);
}

.program-card:hover .card-media img {
  transform: scale(1.06);
}

.program-card .card-body {
  padding: 1.4rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.media-label {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .22rem .55rem;
  border-radius: var(--radius-full);
  background: rgba(26, 26, 26, .85);
  color: #fff;
}

.media-label.illustrative {
  background: rgba(26, 26, 26, .85);
}

/* ---------- Pancha Mugam Pillars ---------- */
.pillars-section {
  position: relative;
  overflow: hidden;
}

.pillars-section::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 50%;
  height: 70%;
  background: radial-gradient(circle, color-mix(in srgb, var(--c-secondary) 12%, transparent), transparent 70%);
  pointer-events: none;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
  position: relative;
}

.pillar-card {
  grid-column: span 2;
  background: #161616;
  border: 1px solid #2A2A2A;
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t), background var(--t);
}

.pillar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1A1A1A, #E8720C);
  opacity: 0;
  transition: opacity var(--t);
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  border-color: rgba(232, 114, 12, 0.35);
  background: #1A1A1A;
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 30%, rgba(232, 114, 12, 0.06) 48%, transparent 62%);
  background-size: 250% 250%;
  background-position: -150% -150%;
  opacity: 0;
  pointer-events: none;
  transition: background-position .9s var(--ease), opacity .3s ease;
}

.pillar-card:hover::after {
  opacity: 1;
  background-position: 150% 150%;
}

.pillar-card:nth-child(4),
.pillar-card:nth-child(5) {
  grid-column: span 3;
}

.pillars-section .btn-outline-primary {
  color: #E8720C;
  border-color: #E8720C;
}

.pillars-section .btn-outline-primary:hover {
  background: #E8720C;
  color: #fff;
}

.pillars-section .media-label {
  background: rgba(232, 114, 12, 0.9);
  color: #fff;
}

.pillar-num {
  position: absolute;
  top: 1.1rem;
  right: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: rgba(232, 114, 12, 0.18);
  line-height: 1;
}

.pillar-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(145deg, #1A1A1A, #2A2A2A);
  color: #E8720C;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
  box-shadow: 0 8px 20px rgba(26, 26, 26, .2);
}

.pillar-card h3 {
  font-size: 1.2rem;
  margin: 0 0 .55rem;
  color: #E8720C;
}

.pillar-card p {
  margin: 0;
  font-size: .92rem;
  color: #9CA3AF;
}

/* ---------- Impact ---------- */
.impact {
  background: linear-gradient(155deg, #0A0A0A 0%, #1A1A1A 45%, #E8720C 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.impact::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(232, 114, 12, .22), transparent 50%);
  pointer-events: none;
}

.impact .eyebrow {
  color: var(--c-secondary-soft);
}

.impact h2,
.impact p {
  color: #fff;
}

.impact p {
  color: rgba(255, 255, 255, .78);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
  position: relative;
}

.stat {
  text-align: center;
  padding: 1.5rem 1rem;
  background: rgba(255, 255, 255, .07);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(4px);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--c-secondary-soft);
  line-height: 1.1;
}

.stat span {
  font-size: .85rem;
  color: rgba(255, 255, 255, .7);
  margin-top: .35rem;
  display: block;
}

/* ---------- Programmes ---------- */
#programs {
  background: #0A0A0A;
  position: relative;
  overflow: hidden;
}

#programs::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(circle, rgba(232, 114, 12, 0.14), transparent 70%);
  pointer-events: none;
  animation: programmeGlow 7s ease-in-out infinite;
}

#programs::after {
  content: "";
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(circle, rgba(156, 163, 175, 0.08), transparent 70%);
  pointer-events: none;
  animation: programmeGlow 7s ease-in-out 3.5s infinite;
}

@keyframes programmeGlow {
  0%, 100% { opacity: 0.5; transform: scale(1) translateY(0); }
  50% { opacity: 1; transform: scale(1.15) translateY(-10px); }
}

#programs .section-head {
  color: #F7F1E6;
}

#programs .section-head .eyebrow {
  color: #E8720C;
}

#programs .section-head h2 {
  color: #F7F1E6;
}

#programs .section-head p {
  color: #9CA3AF;
}

#programs .card {
  background: #161616;
  border: 1px solid #2A2A2A;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t), background var(--t);
}

#programs .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  border-color: rgba(232, 114, 12, 0.35);
  background: #1A1A1A;
}

#programs .card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 30%, rgba(232, 114, 12, 0.06) 48%, transparent 62%);
  background-size: 250% 250%;
  background-position: -150% -150%;
  opacity: 0;
  pointer-events: none;
  transition: background-position .9s var(--ease), opacity .3s ease;
  z-index: 3;
}

#programs .card:hover::after {
  opacity: 1;
  background-position: 150% 150%;
}

#programs .card .icon {
  background: linear-gradient(145deg, #1A1A1A, #2A2A2A);
  color: #E8720C;
}

#programs .card h3 {
  color: #E8720C;
}

#programs .card p {
  color: #9CA3AF;
}

#programs .link {
  color: #E8720C;
}

#programs .link:hover {
  color: #F2934A;
}

#programs .media-label {
  background: rgba(232, 114, 12, 0.9);
  color: #fff;
}

#programs .btn-outline-primary {
  color: #E8720C;
  border-color: #E8720C;
}

#programs .btn-outline-primary:hover {
  background: #E8720C;
  color: #fff;
}

/* ---------- Mission / Vision ---------- */
.mission-photo,
.split-media,
.about-hero-media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}

.mission-photo img,
.split-media img,
.about-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-logo-panel {
  background: var(--c-elevated);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--c-border);
  text-align: center;
}

.about-logo-panel img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin-inline: auto;
}

.trust-facts {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}

.trust-facts li {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  padding: .7rem 0;
  border-bottom: 1px solid var(--c-border);
  color: var(--c-muted);
  font-size: .95rem;
}

.trust-facts li i {
  color: var(--c-primary);
  font-size: 1.15rem;
  margin-top: .15rem;
}

.trust-facts strong {
  display: block;
  color: var(--c-ink);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.vision-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: .35rem 0 .75rem;
}

/* ---------- CTA ---------- */
.cta-banner {
  background: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 55%, #E8720C 100%);
  background-size: 200% 200%;
  animation: gradientShift 10s ease infinite;
  border-radius: var(--radius-xl);
  padding: 3.25rem 2.5rem;
  text-align: center;
  color: #F7F1E6;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(232, 114, 12, .18), transparent 60%);
  pointer-events: none;
}

.cta-banner h2 {
  color: #F7F1E6;
  margin-bottom: .75rem;
  position: relative;
}

.cta-banner p {
  color: #9CA3AF;
  max-width: 32em;
  margin: 0 auto 1.5rem;
  position: relative;
}

.cta-banner .actions {
  position: relative;
  justify-content: center;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ---------- Unity / Handshake CTA ---------- */
.unity-section {
  background: #050505;
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.unity-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(34, 197, 94, .10) 0%, transparent 55%);
  pointer-events: none;
}

.unity-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.unity-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  color: #9CA3AF;
  max-width: 32em;
  margin: 0 auto;
  line-height: 1.35;
}

.unity-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(34, 197, 94, .08);
  border: 2px solid rgba(34, 197, 94, .25);
  box-shadow: 0 0 60px rgba(34, 197, 94, .18);
}

.unity-icon svg {
  width: 80px;
  height: 80px;
  display: block;
  animation: unityFloat 3.4s ease-in-out infinite;
}

.btn-unity {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .95rem 2.4rem;
  border-radius: var(--radius-full);
  background: #22c55e;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  border: 2px solid #22c55e;
  box-shadow: 0 12px 36px rgba(34, 197, 94, .28);
  text-decoration: none;
  transition: transform var(--t), box-shadow var(--t), background var(--t);
}

.btn-unity:hover {
  transform: translateY(-3px);
  background: #16a34a;
  border-color: #16a34a;
  box-shadow: 0 18px 44px rgba(34, 197, 94, .38);
  color: #fff;
}

@keyframes unityFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ---------- Scroll-triggered accent balls ---------- */
.scroll-ball {
  position: fixed;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #E8720C;
  box-shadow: 0 0 0 0 rgba(232, 114, 12, 0.45);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  pointer-events: none;
  z-index: 5;
}

.scroll-ball.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-ball-left {
  left: max(1.25rem, calc((100vw - var(--container)) / 2 - 28px));
  bottom: 2.5rem;
  animation: scrollBallPulse 2.2s ease-in-out 0.6s infinite;
}

.scroll-ball-right {
  right: max(1.25rem, calc((100vw - var(--container)) / 2 - 28px));
  bottom: 2.5rem;
  animation: scrollBallPulse 2.2s ease-in-out 0.9s infinite;
}

@keyframes scrollBallPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(232, 114, 12, 0.45);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(232, 114, 12, 0);
  }
}

@media (max-width: 768px) {
  .scroll-ball {
    width: 14px;
    height: 14px;
  }
  .scroll-ball-left {
    left: 1rem;
    bottom: 1.5rem;
  }
  .scroll-ball-right {
    right: 1rem;
    bottom: 1.5rem;
  }
}

/* ---------- Forms ---------- */
.form .field {
  margin-bottom: 1.15rem;
}

.form label {
  display: block;
  font-weight: 600;
  font-size: .88rem;
  margin-bottom: .4rem;
  color: var(--c-ink);
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-sm);
  background: var(--c-surface);
  color: var(--c-ink);
  transition: border-color var(--t), box-shadow var(--t);
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-primary) 14%, transparent);
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  font-weight: 500;
  font-size: .92rem;
  background: color-mix(in srgb, var(--c-success) 12%, transparent);
  color: var(--c-success);
  border: 1px solid color-mix(in srgb, var(--c-success) 25%, transparent);
  line-height: 1.5;
}

.alert-error {
  background: color-mix(in srgb, var(--c-danger) 12%, transparent);
  color: var(--c-danger);
  border-color: color-mix(in srgb, var(--c-danger) 25%, transparent);
}

/* ---------- Toast Notifications ---------- */
.toast-container {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  max-width: min(420px, calc(100vw - 2.5rem));
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--c-elevated);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-lg);
  color: var(--c-ink);
  font-size: .92rem;
  line-height: 1.5;
  transform: translateX(120%);
  opacity: 0;
  transition: transform .4s var(--ease), opacity .35s ease;
  position: relative;
  overflow: hidden;
}

.toast.is-visible {
  transform: translateX(0);
  opacity: 1;
}

.toast.is-removing {
  transform: translateX(120%);
  opacity: 0;
  transition: transform .35s var(--ease), opacity .3s ease;
}

.toast-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1rem;
  margin-top: .05rem;
}

.toast-body {
  flex: 1;
  min-width: 0;
}

.toast-title {
  font-weight: 700;
  margin-bottom: .15rem;
  font-size: .95rem;
}

.toast-message {
  color: var(--c-muted);
  font-size: .85rem;
  line-height: 1.45;
}

.toast-close {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: none;
  background: transparent;
  color: var(--c-muted);
  cursor: pointer;
  border-radius: 50%;
  transition: all var(--t);
  font-size: 1.1rem;
}

.toast-close:hover {
  background: rgba(0, 0, 0, .06);
  color: var(--c-ink);
}

.toast-success .toast-icon {
  background: rgba(232, 114, 12, .12);
  color: #E8720C;
}

.toast-error .toast-icon {
  background: rgba(26, 26, 26, .08);
  color: #1A1A1A;
}

.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--c-secondary);
  border-radius: 0 0 var(--radius) var(--radius);
  transition: width linear;
}

.toast-error .toast-progress {
  background: var(--c-danger);
}

@media (max-width: 640px) {
  .toast-container {
    top: auto;
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    max-width: none;
    align-items: stretch;
  }

  .toast {
    border-radius: var(--radius-sm);
  }

  .toast-progress {
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  }
}

@media (prefers-reduced-motion: reduce) {

  .toast,
  .toast.is-removing {
    transition: none;
  }
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .65rem;
  margin-bottom: 1rem;
}

.amount-btn {
  padding: .85rem;
  border: 2px solid var(--c-border);
  border-radius: var(--radius-sm);
  background: var(--c-surface);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t);
  text-align: center;
}

.amount-btn:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
}

.amount-btn.active {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(26, 26, 26, .2);
}

/* ---------- Gallery / Events / FAQ ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--c-surface);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.07);
}

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 26, 26, .92) 0%, transparent 55%);
  opacity: 0;
  transition: opacity var(--t);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  color: #fff;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.badge-verified {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--c-secondary);
  color: #1A1A1A;
  font-size: .7rem;
  font-weight: 700;
  padding: .25rem .55rem;
  border-radius: var(--radius-full);
}

.event-date-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: var(--c-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: .5rem .75rem;
  min-width: 64px;
  margin-bottom: 1rem;
}

.event-date-badge .day {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.event-date-badge .month {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  opacity: .9;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .85rem;
  color: var(--c-muted);
  margin-top: .75rem;
}

.event-meta i {
  color: var(--c-primary);
}

.faq-list details {
  background: var(--c-elevated);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  margin-bottom: .75rem;
  overflow: hidden;
  transition: box-shadow var(--t);
}

.faq-list details[open] {
  box-shadow: var(--shadow-sm);
  border-color: color-mix(in srgb, var(--c-primary) 28%, var(--c-border));
}

.faq-list summary {
  padding: 1.1rem 1.35rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "\F282";
  font-family: "bootstrap-icons";
  font-size: 1.1rem;
  color: var(--c-primary);
  transition: transform var(--t);
}

.faq-list details[open] summary::after {
  transform: rotate(180deg);
}

.faq-list details p {
  padding: 0 1.35rem 1.25rem;
  margin: 0;
  border-top: 1px solid var(--c-border);
  padding-top: 1rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0A0A0A;
  color: rgba(247, 241, 230, .85);
  padding: 5rem 0 0;
  position: relative;
  margin-top: 2.5rem;
}

.footer-wave {
  position: absolute;
  top: -36px;
  left: 0;
  right: 0;
  height: 36px;
  background: #0A0A0A;
  clip-path: ellipse(55% 100% at 50% 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.25fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-brand .brand-text b,
.footer-brand .brand-text small {
  color: #F7F1E6;
}

.footer-mission {
  margin: 1rem 0 1rem;
  font-size: .95rem;
  color: rgba(247, 241, 230, .65);
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: .55rem;
  margin-top: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  display: grid;
  place-items: center;
  color: #F7F1E6;
  transition: background var(--t), transform var(--t), color var(--t);
}

.social-link:hover {
  background: #E8720C;
  color: #0A0A0A;
  transform: translateY(-3px);
}

.site-footer h4 {
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 700;
  color: #F7F1E6;
  margin: 0 0 1rem;
  letter-spacing: .03em;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: .45rem;
}

.footer-links a {
  color: rgba(247, 241, 230, .65);
  font-size: .92rem;
  transition: color var(--t), padding-left var(--t);
}

.footer-links a:hover {
  color: #F2934A;
  padding-left: 4px;
}

.footer-newsletter-text {
  font-size: .9rem;
  color: rgba(247, 241, 230, .6);
  margin-bottom: .85rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .85rem;
  color: rgba(247, 241, 230, .45);
}

.footer-legal {
  display: flex;
  gap: 1.25rem;
}

.footer-legal a {
  color: rgba(247, 241, 230, .45);
}

.footer-legal a:hover {
  color: #F2934A;
}

/* ---------- Empty / Admin / Utils ---------- */
.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--c-surface);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--c-border);
}

.empty-state i {
  font-size: 2.5rem;
  color: var(--c-muted);
  margin-bottom: 1rem;
  display: block;
}

.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.d-flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.gap-2 {
  gap: .75rem;
}

.justify-content-center {
  justify-content: center;
}

.w-100 {
  width: 100%;
}

.admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  background: #1A1A1A;
  color: #fff;
  padding: 1.5rem 1rem;
  position: sticky;
  top: 0;
  height: 100vh;
}

.admin-sidebar .brand {
  margin-bottom: 2rem;
  padding: 0 .5rem;
}

.admin-sidebar .brand-text b,
.admin-sidebar .brand-text small {
  color: #fff;
}

.admin-nav a {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .7rem .9rem;
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, .75);
  font-weight: 500;
  margin-bottom: .25rem;
  transition: background var(--t), color var(--t);
}

.admin-nav a:hover,
.admin-nav a.active {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.admin-main {
  padding: 2rem;
  background: var(--c-bg);
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--c-elevated);
  border-radius: var(--radius);
  padding: 1.4rem;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-xs);
}

.stat-card .value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--c-primary);
}

.stat-card .label {
  font-size: .85rem;
  color: var(--c-muted);
  margin-top: .25rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pillar-card,
  .pillar-card:nth-child(4),
  .pillar-card:nth-child(5) {
    grid-column: span 1;
  }
}

@media (max-width: 950px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-v2 {
    min-height: auto;
    padding-bottom: 3.5rem;
  }

  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    height: auto;
    position: relative;
  }

  .unity-section {
    padding: 3.5rem 0;
  }

  .unity-icon {
    width: 88px;
    height: 88px;
  }

  .unity-icon svg {
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 700px) {

  .grid-2,
  .grid-3,
  .grid-4,
  .stats,
  .form-row,
  .footer-grid,
  .amount-grid,
  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .container {
    width: min(100% - 1.5rem, var(--container));
  }

  .section {
    padding: 4rem 0;
  }

  .unity-section {
    padding: 3rem 0;
  }

  .unity-icon {
    width: 72px;
    height: 72px;
  }

  .unity-icon svg {
    width: 48px;
    height: 48px;
  }

  .page-hero {
    padding: calc(var(--header-h) + 1.75rem) 0 2.5rem;
  }

  .hero-copy h1 {
    font-size: 2.25rem;
  }

  .hero-copy .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-copy .actions .btn,
  .hero-copy .actions .btn-hero-outline {
    width: 100%;
    justify-content: center;
  }

  .cta-banner {
    padding: 2.25rem 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .amount-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .brand-text small {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  .scroll-indicator {
    animation: none;
  }
}

/* ============================================================
   DYNAMIC MOTION LAYER — visible premium animations
   ============================================================ */

/* Hero entrance */
.hero-v2 .hero-copy .eyebrow {
  animation: fadeSlideUp .7s var(--ease) both;
}

.hero-v2 .hero-copy h1 {
  animation: fadeSlideUp .85s .12s var(--ease) both;
}

.hero-v2 .hero-copy .lead {
  animation: fadeSlideUp .85s .22s var(--ease) both;
}

.hero-v2 .hero-copy .actions {
  animation: fadeSlideUp .85s .32s var(--ease) both;
}

.hero-v2 .hero-copy .hero-trust {
  animation: fadeSlideUp .85s .42s var(--ease) both;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeScaleIn {
  from {
    opacity: 0;
    transform: scale(.94) translateY(20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Floating ambient orbs on hero */
.hero-v2::before,
.hero-v2::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  filter: blur(60px);
  opacity: .45;
  animation: floatOrb 12s ease-in-out infinite;
}

.hero-v2::before {
  width: 280px;
  height: 280px;
  background: rgba(232, 114, 12, .18);
  top: 15%;
  right: 18%;
}

.hero-v2::after {
  width: 220px;
  height: 220px;
  background: rgba(232, 114, 12, .18);
  bottom: 20%;
  left: 10%;
  animation-delay: -4s;
  animation-duration: 15s;
}

@keyframes floatOrb {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(18px, -22px) scale(1.08);
  }
}

/* Pillar cards stagger pulse on icon */
.pillar-card .pillar-icon {
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}

.pillar-card:hover .pillar-icon {
  transform: scale(1.1) rotate(-6deg);
  box-shadow: 0 12px 28px rgba(26, 26, 26, .3);
}

/* Shimmer line on primary buttons */
.btn-primary,
.button,
.nav-donate {
  position: relative;
  overflow: hidden;
}

.btn-primary::after,
.button::after,
.nav-donate::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22), transparent);
  transition: left .6s var(--ease);
}

.btn-primary:hover::after,
.button:hover::after,
.nav-donate:hover::after {
  left: 120%;
}

/* Section decorative top accent */
.section.alt {
  position: relative;
}

.section.alt::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(120px, 30%);
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--c-secondary), transparent);
  border-radius: var(--radius-full);
}

/* Impact stats pop */
.impact .stat {
  transition: transform .4s var(--ease), background .4s var(--ease);
}

.impact .stat:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, .12);
}

/* CTA banner subtle gradient shift */
.cta-banner {
  background: linear-gradient(125deg, #0A0A0A 0%, #E8720C 50%, #0A0A0A 100%) !important;
  background-size: 200% 200% !important;
  animation: gradientShift 10s ease infinite;
}

@keyframes gradientShift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* Page hero gold underline accent under h1 */
.page-hero h1 {
  position: relative;
  display: inline-block;
}

.page-hero h1::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin-top: .75rem;
  background: linear-gradient(90deg, var(--c-secondary), var(--c-secondary-soft));
  border-radius: var(--radius-full);
  animation: lineGrow .8s .3s var(--ease) both;
}

@keyframes lineGrow {
  from {
    width: 0;
    opacity: 0;
  }

  to {
    width: 64px;
    opacity: 1;
  }
}

/* Card media gradient overlay on hover */
.program-card .card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 26, 26, .55), transparent 60%);
  opacity: 0;
  transition: opacity .4s var(--ease);
}

.program-card:hover .card-media::after {
  opacity: 1;
}

/* Smooth logo spin-in on load */
.site-header .brand-logo {
  animation: logoIn .6s var(--ease) both;
}

@keyframes logoIn {
  from {
    opacity: 0;
    transform: scale(.6) rotate(-12deg);
  }

  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

/* AOS-like utility if AOS fails */
[data-aos] {
  transition-property: opacity, transform;
}

/* Mobile menu slide polish */
#mobileDrawer {
  transition: transform .38s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#mobileDrawer.is-open .mobile-drawer-nav a {
  animation: menuItemIn .4s var(--ease) both;
}

#mobileDrawer.is-open .mobile-drawer-nav a:nth-child(1) {
  animation-delay: .05s;
}

#mobileDrawer.is-open .mobile-drawer-nav a:nth-child(2) {
  animation-delay: .08s;
}

#mobileDrawer.is-open .mobile-drawer-nav a:nth-child(3) {
  animation-delay: .11s;
}

#mobileDrawer.is-open .mobile-drawer-nav a:nth-child(4) {
  animation-delay: .14s;
}

#mobileDrawer.is-open .mobile-drawer-nav a:nth-child(5) {
  animation-delay: .17s;
}

#mobileDrawer.is-open .mobile-drawer-nav a:nth-child(6) {
  animation-delay: .2s;
}

#mobileDrawer.is-open .mobile-drawer-nav a:nth-child(7) {
  animation-delay: .23s;
}

#mobileDrawer.is-open .mobile-drawer-nav a:nth-child(8) {
  animation-delay: .26s;
}

#mobileDrawer.is-open .mobile-drawer-nav a:nth-child(9) {
  animation-delay: .29s;
}

#mobileDrawer.is-open .mobile-drawer-nav a:nth-child(10) {
  animation-delay: .32s;
}

#mobileDrawer.is-open .mobile-drawer-nav a:nth-child(11) {
  animation-delay: .35s;
}

@keyframes menuItemIn {
  from {
    opacity: 0;
    transform: translateX(16px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Footer social bounce */
.social-link:hover {
  animation: socialPop .45s var(--ease);
}

@keyframes socialPop {
  0% {
    transform: translateY(0) scale(1);
  }

  40% {
    transform: translateY(-6px) scale(1.1);
  }

  100% {
    transform: translateY(-3px) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {

  .hero-v2::before,
  .hero-v2::after,
  .cta-banner,
  .hero-v2 .hero-copy .eyebrow,
  .hero-v2 .hero-copy h1,
  .hero-v2 .hero-copy .lead,
  .hero-v2 .hero-copy .actions,
  .hero-v2 .hero-copy .hero-trust,
  .site-header .brand-logo {
    animation: none !important;
  }
}

/* ============================================================
   PALETTE LOCK — only #1A1A1A #E8720C #E8720C #F7F1E6
   Adaptive surfaces for content hierarchy
   ============================================================ */

body {
  background: var(--c-bg);
  color: var(--c-ink);
}

/* Adaptive section backgrounds */
.section {
  background: #0A0A0A;
}

.section.alt {
  background: #0D0D0D;
}

.page-hero {
  background:
    radial-gradient(ellipse 80% 70% at 100% 0%, rgba(232, 114, 12, .25), transparent 55%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(232, 114, 12, .12), transparent 50%),
    #0A0A0A !important;
}

/* Hero: deep slate with blue overlay */
.hero-v2 {
  background: #1A1A1A !important;
}

.hero-bg-overlay {
  background:
    linear-gradient(115deg, rgba(26, 26, 26, .08) 0%, rgba(4, 187, 38, 0.08) 45%, rgba(26, 26, 26, .12) 100%),
    linear-gradient(to top, rgba(26, 26, 26, .17) 0%, transparent 50%) !important;
}

.hero-v2::before {
  background: rgba(232, 114, 12, .18) !important;
}

.hero-v2::after {
  background: rgba(232, 114, 12, .18) !important;
}

.hero-eyebrow,
.hero-v2 .hero-eyebrow {
  color: #D4782C !important;
}

.hero-copy h1 {
  color: #F7F1E6 !important;
}

.hero-copy .lead {
  color: rgba(247, 241, 230, .9) !important;
}

.hero-trust {
  color: rgba(247, 241, 230, .7) !important;
}

.hero-trust i {
  color: #D4782C !important;
}

/* Primary CTA = green (button color) */
.btn-primary,
.button {
  background: var(--c-button) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 28px rgba(232, 114, 12, .32) !important;
}

.btn-primary:hover,
.button:hover {
  background: var(--c-button-hover) !important;
  color: #ffffff !important;
}

.btn-outline-primary,
.button-outline {
  color: var(--c-button) !important;
  border-color: var(--c-button) !important;
  background: transparent !important;
}

.btn-outline-primary:hover,
.button-outline:hover {
  background: var(--c-button) !important;
  color: #ffffff !important;
}

.btn-hero-outline {
  border-color: rgba(247, 241, 230, .55) !important;
  color: #F7F1E6 !important;
}

.btn-hero-outline:hover {
  background: #F7F1E6 !important;
  color: #1A1A1A !important;
  border-color: #F7F1E6 !important;
}

/* Pillar icons */
.pillar-icon {
  background: linear-gradient(145deg, #1A1A1A, #E8720C) !important;
  box-shadow: 0 8px 20px rgba(26, 26, 26, .25) !important;
}

.pillar-card::before {
  background: linear-gradient(90deg, #1A1A1A, #E8720C, #F2934A) !important;
}

.pillar-num {
  color: rgba(232, 114, 12, 0.18) !important;
}

/* Impact band */
.impact {
  background: linear-gradient(155deg, #0A0A0A 0%, #1A1A1A 45%, #E8720C 100%) !important;
}

.impact .eyebrow {
  color: #F7F1E6 !important;
  opacity: .9;
}

.impact h2,
.impact p {
  color: #F7F1E6 !important;
}

.impact p {
  opacity: .85;
}

.stat strong {
  color: #F7F1E6 !important;
}

.stat span {
  color: rgba(247, 241, 230, .8) !important;
}

/* CTA */
.cta-banner {
  background: linear-gradient(125deg, #0A0A0A 0%, #1A1A1A 40%, #E8720C 100%) !important;
  animation: gradientShift 12s ease infinite;
}

.cta-banner h2,
.cta-banner p {
  color: #F7F1E6 !important;
}

/* Footer */
.site-footer,
.footer-wave {
  background: #0A0A0A !important;
}

.site-footer h4,
.footer-brand .brand-text b,
.footer-brand .brand-text small {
  color: #F7F1E6 !important;
}

.footer-links a,
.footer-mission,
.footer-newsletter-text,
.footer-bottom,
.footer-legal a {
  color: rgba(247, 241, 230, .7) !important;
}

.footer-links a:hover,
.footer-legal a:hover {
  color: #F2934A !important;
}

.social-link:hover {
  background: #E8720C !important;
  color: #1A1A1A !important;
}

/* Cards & text */
.card {
  background: var(--c-elevated);
  border-color: var(--c-border);
}

.card h3,
h1,
h2,
h3 {
  color: #F7F1E6;
}

p,
.lead {
  color: #9CA3AF;
}

.eyebrow {
  color: #E8720C !important;
}

.link,
.card .link {
  color: #E8720C !important;
}

.card .icon {
  background: rgba(232, 114, 12, .25) !important;
  color: #E8720C !important;
}

.card:hover .icon {
  background: #E8720C !important;
  color: #F7F1E6 !important;
}

/* Header scrolled */
.site-header.scrolled {
  background: color-mix(in srgb, var(--c-elevated) 94%, transparent) !important;
}

.site-header.scrolled .brand-text b {
  color: var(--c-ink) !important;
}

.site-header.scrolled .main-nav a:not(.nav-donate) {
  color: var(--c-ink) !important;
}

.site-header:not(.scrolled) .brand-text b,
.site-header:not(.scrolled) .main-nav a:not(.nav-donate) {
  color: #F7F1E6 !important;
}

.site-header:not(.scrolled) .brand-text small {
  color: rgba(247, 241, 230, .75) !important;
}

.nav-donate {
  background: var(--c-button) !important;
  color: #ffffff !important;
}

.main-nav a.active::after {
  background: #E8720C !important;
}

/* Forms */
.form input:focus,
.form textarea:focus,
.form select:focus {
  border-color: #E8720C !important;
  box-shadow: 0 0 0 4px rgba(232, 114, 12, .15) !important;
}

.amount-btn.active {
  background: var(--c-button) !important;
  border-color: var(--c-button) !important;
  color: #ffffff !important;
}

/* Mobile drawer */
#mobileDrawer {
  background: var(--c-elevated) !important;
  color: var(--c-ink) !important;
}

.mobile-drawer-nav a {
  color: var(--c-ink) !important;
}

.mobile-drawer-nav a:hover,
.mobile-drawer-nav a.active {
  background: rgba(232, 114, 12, .25) !important;
  color: #E8720C !important;
}

.mobile-donate {
  background: #E8720C !important;
  color: #F7F1E6 !important;
}

/* Admin */
.admin-sidebar {
  background: #1A1A1A !important;
}

.stat-card .value {
  color: #E8720C !important;
}

/* Gold underline accent */
.page-hero h1::after {
  background: linear-gradient(90deg, #E8720C, #1A1A1A) !important;
}

/* Section alt accent line */
.section.alt::before {
  background: linear-gradient(90deg, transparent, #E8720C, #1A1A1A, transparent) !important;
}

/* Media labels */
.media-label,
.media-label.illustrative {
  background: rgba(26, 26, 26, .88) !important;
  color: #F7F1E6 !important;
}

.badge-verified {
  background: #E8720C !important;
  color: #1A1A1A !important;
}

/* FAQ / events */
.event-date-badge {
  background: #E8720C !important;
  color: #F7F1E6 !important;
}

.faq-list summary::after {
  color: #E8720C !important;
}

.faq-list details[open] {
  border-color: rgba(232, 114, 12, .35) !important;
}

/* ============================================================
   BOOTSTRAP OVERRIDE — force the CDN's default blue/grey theme
   onto the approved palette everywhere Bootstrap classes are used
   (admin CMS, login, create-admin). Palette ONLY.
   ============================================================ */
:root,
[data-bs-theme="light"] {
  --bs-primary: #E8720C !important;
  --bs-primary-rgb: 232, 114, 12 !important;
  --bs-secondary: #1A1A1A !important;
  --bs-secondary-rgb: 26, 26, 26 !important;
  --bs-success: #E8720C !important;
  --bs-success-rgb: 232, 114, 12 !important;
  --bs-info: #E8720C !important;
  --bs-info-rgb: 232, 114, 12 !important;
  --bs-danger: #1A1A1A !important;
  --bs-danger-rgb: 26, 26, 26 !important;
  --bs-warning: #E8720C !important;
  --bs-warning-rgb: 232, 114, 12 !important;
  --bs-light: #F7F1E6 !important;
  --bs-light-rgb: 247, 241, 230 !important;
  --bs-dark: #1A1A1A !important;
  --bs-dark-rgb: 26, 26, 26 !important;
  --bs-body-color: #1A1A1A !important;
  --bs-body-bg: #F7F1E6 !important;
  --bs-border-color: #E3D9C6 !important;
  --bs-link-color: #E8720C !important;
  --bs-link-hover-color: #C15B08 !important;
  --bs-focus-ring-color: rgba(232, 114, 12, .25) !important;
}

.btn-primary {
  --bs-btn-bg: #E8720C !important;
  --bs-btn-border-color: #E8720C !important;
  --bs-btn-hover-bg: #C15B08 !important;
  --bs-btn-hover-border-color: #C15B08 !important;
  --bs-btn-active-bg: #C15B08 !important;
  --bs-btn-active-border-color: #C15B08 !important;
  --bs-btn-focus-shadow-rgb: 232, 114, 12 !important;
}

.btn-outline-primary {
  --bs-btn-color: #E8720C !important;
  --bs-btn-border-color: #E8720C !important;
  --bs-btn-hover-bg: #E8720C !important;
  --bs-btn-hover-border-color: #E8720C !important;
  --bs-btn-active-bg: #E8720C !important;
  --bs-btn-active-border-color: #E8720C !important;
}

.bg-primary {
  background-color: #E8720C !important;
}

.text-primary {
  color: #E8720C !important;
}

.text-bg-primary {
  background-color: #E8720C !important;
  color: #F7F1E6 !important;
}

.text-muted {
  color: #6E6E6E !important;
}

a:not(.btn):not(.button) {
  color: #E8720C;
}

a:not(.btn):not(.button):hover {
  color: #C15B08;
}

.form-control,
.form-select {
  border-color: #E3D9C6 !important;
  background-color: #ffffff !important;
  color: #1A1A1A !important;
}

.form-control:focus,
.form-select:focus {
  border-color: #E8720C !important;
  box-shadow: 0 0 0 4px rgba(232, 114, 12, .15) !important;
}

.form-check-input:checked {
  background-color: #E8720C !important;
  border-color: #E8720C !important;
}

.badge.bg-primary,
.badge.text-bg-primary {
  background-color: #E8720C !important;
}

.badge.bg-success {
  background-color: #E8720C !important;
}

.badge.bg-secondary {
  background-color: #1A1A1A !important;
}

.alert-primary {
  background-color: rgba(232, 114, 12, .12) !important;
  border-color: rgba(232, 114, 12, .28) !important;
  color: #C15B08 !important;
}

.alert-success {
  background-color: rgba(232, 114, 12, .12) !important;
  border-color: rgba(232, 114, 12, .28) !important;
  color: #C15B08 !important;
}

.alert-danger {
  background-color: rgba(26, 26, 26, .08) !important;
  border-color: rgba(26, 26, 26, .25) !important;
  color: #1A1A1A !important;
}

.table {
  --bs-table-color: #1A1A1A;
  --bs-table-bg: transparent;
  --bs-table-border-color: #E3D9C6;
}

.table thead {
  color: #1A1A1A;
  border-bottom-color: #C9BCA0;
}

.table-hover>tbody>tr:hover>* {
  --bs-table-accent-bg: rgba(232, 114, 12, .06);
}

.dropdown-menu {
  border-color: #E3D9C6;
  box-shadow: var(--shadow-md);
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: rgba(232, 114, 12, .1);
  color: #E8720C;
}

.dropdown-item.active,
.dropdown-item:active {
  background-color: #E8720C;
  color: #F7F1E6;
}

.pagination .page-link {
  color: #E8720C;
  border-color: #E3D9C6;
}

.pagination .page-item.active .page-link {
  background-color: #E8720C;
  border-color: #E8720C;
}

.spinner-border,
.spinner-grow {
  color: #E8720C !important;
}

.progress {
  background-color: #EFE6D8 !important;
}

.progress-bar {
  background-color: #E8720C !important;
}

.nav-tabs .nav-link.active {
  color: #E8720C !important;
  border-color: #E3D9C6 #E3D9C6 #fff !important;
}

.nav-pills .nav-link.active {
  background-color: #E8720C !important;
}

::selection {
  background: #E8720C;
  color: #1A1A1A;
}

::-moz-selection {
  background: #E8720C;
  color: #1A1A1A;
}

/* ============================================================
   UI POLISH — scrollbar, entrance, back-to-top, micro-interactions
   ============================================================ */
html {
  scrollbar-width: thin;
  scrollbar-color: #E8720C #F7F1E6;
}

::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

::-webkit-scrollbar-track {
  background: #F7F1E6;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #E8720C, #1A1A1A);
  border-radius: 999px;
  border: 2px solid #F7F1E6;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #C15B08, #0D0D0D);
}

[data-theme="dark"] html {
  scrollbar-color: #E8720C #0A0A0A;
}

[data-theme="dark"] ::-webkit-scrollbar-track {
  background: #0A0A0A;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
  border-color: #0A0A0A;
}

body {
  opacity: 0;
  animation: pageFadeIn .55s var(--ease) .05s forwards;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Back-to-top */
.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #E8720C, #1A1A1A);
  color: #F7F1E6;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  box-shadow: 0 10px 30px rgba(26, 26, 26, .35);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(.85);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s, box-shadow .3s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  box-shadow: 0 14px 36px rgba(232, 114, 12, .45);
  transform: translateY(-4px) scale(1.05);
}

.back-to-top:active {
  transform: translateY(-1px) scale(.97);
}

/* Card lift micro-interaction shared by cards/pillars/programs */
.card,
.pillar-card,
.program-card,
.stat-card {
  will-change: transform;
}

/* Image lazy fade-in */
img[data-src],
img.is-loading {
  filter: blur(6px);
  opacity: .6;
  transition: filter .5s ease, opacity .5s ease;
}

img.is-loaded {
  filter: blur(0);
  opacity: 1;
}

/* Subtle glow ring on focused cards/links for polish */
.card:focus-within,
.pillar-card:focus-within {
  box-shadow: 0 0 0 3px rgba(232, 114, 12, .25), var(--shadow-md);
}

@media (prefers-reduced-motion: reduce) {
  body {
    opacity: 1;
    animation: none;
  }

  .back-to-top {
    transition: opacity .01ms, visibility .01ms;
  }
}

/* ============================================================
   GRAND THEME — richer, more dramatic treatment of the SAME
   4-colour palette (#1A1A1A · #E8720C · #E8720C · #F7F1E6)
   ============================================================ */

/* ---- Ambient aurora field behind the whole site ---- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 8%, rgba(232, 114, 12, .16), transparent 38%),
    radial-gradient(circle at 88% 18%, rgba(232, 114, 12, .14), transparent 40%),
    radial-gradient(circle at 25% 92%, rgba(26, 26, 26, .10), transparent 42%);
  animation: auroraDrift 22s ease-in-out infinite alternate;
}

@keyframes auroraDrift {
  0% {
    background-position: 0% 0%, 0% 0%, 0% 0%;
  }

  100% {
    background-position: 4% 3%, -3% 4%, 3% -3%;
  }
}

[data-theme="dark"] body::before {
  background:
    radial-gradient(circle at 12% 8%, rgba(232, 114, 12, .10), transparent 38%),
    radial-gradient(circle at 88% 18%, rgba(232, 114, 12, .14), transparent 40%),
    radial-gradient(circle at 25% 92%, rgba(0, 0, 0, .35), transparent 42%);
}

/* ---- Gradient headline text ---- */
.text-grad,
.grad-text {
  background: var(--grad-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradTextShift 6s ease-in-out infinite;
}

@keyframes gradTextShift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* ---- Grander hero: deeper aurora blobs + cursor spotlight ---- */
.hero-v2 {
  --mx: 50%;
  --my: 40%;
}

.hero-spotlight {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(600px circle at var(--mx) var(--my), rgba(232, 114, 12, .08), transparent 60%);
  transition: background .15s ease-out;
}

.hero-v2::before {
  width: 380px;
  height: 380px;
  filter: blur(80px);
  opacity: .55;
  animation: floatOrb 12s ease-in-out infinite, blobMorph 14s ease-in-out infinite;
}

.hero-v2::after {
  width: 300px;
  height: 300px;
  filter: blur(80px);
  opacity: .5;
  animation: floatOrb 15s ease-in-out infinite -4s, blobMorph 18s ease-in-out infinite -3s;
}

@keyframes blobMorph {

  0%,
  100% {
    border-radius: 42% 58% 65% 35% / 45% 40% 60% 55%;
  }

  33% {
    border-radius: 60% 40% 35% 65% / 55% 65% 35% 45%;
  }

  66% {
    border-radius: 35% 65% 55% 45% / 40% 55% 45% 60%;
  }
}

.hero-eyebrow {
  padding: .3rem .85rem;
  border: 1px solid rgba(212, 120, 44, .4);
  border-radius: var(--radius-full);
  background: rgba(212, 120, 44, .08);
  backdrop-filter: blur(6px);
}

/* Hero headline gradient accent for the emphasised line */
.hero-copy h1 {
  position: relative;
}

/* ---- Premium button: layered gradient + glow pulse for the hero CTA ---- */
.btn-primary,
.button {
  background: linear-gradient(120deg, #D4782C 0%, #A84D06 60%, #D4782C 100%) !important;
  background-size: 220% auto !important;
  transition: background-position .6s var(--ease), transform var(--t), box-shadow var(--t) !important;
}

.btn-primary:hover,
.button:hover {
  background-position: 100% 0 !important;
  box-shadow: 0 0 0 1px rgba(232, 114, 12, .15), 0 18px 48px rgba(232, 114, 12, .25) !important;
}

.hero-copy .btn-primary {
  animation: ctaPulse 2.6s ease-in-out infinite;
}

@keyframes ctaPulse {

  0%,
  100% {
    box-shadow: 0 8px 28px rgba(232, 114, 12, .25);
  }

  50% {
    box-shadow: 0 8px 40px rgba(232, 114, 12, .45), 0 0 0 6px rgba(232, 114, 12, .08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy .btn-primary {
    animation: none;
  }
}

.btn-gold {
  background: linear-gradient(120deg, #0A0A0A, #1A1A1A, #0A0A0A) !important;
  background-size: 220% auto !important;
  color: #F7F1E6 !important;
  border-color: #E8720C !important;
  transition: background-position .6s var(--ease), transform var(--t), box-shadow var(--t) !important;
}

.btn-gold:hover {
  background: linear-gradient(120deg, #E8720C, #C15B08, #E8720C) !important;
  background-position: 100% 0 !important;
  border-color: #E8720C !important;
  color: #fff !important;
}

/* ---------- Timed donation prompt ---------- */
body.modal-open {
  overflow: hidden;
}

.donation-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity .22s ease;
}

.donation-modal[hidden] {
  display: none;
}

.donation-modal.is-visible {
  opacity: 1;
}

.donation-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, .78);
  backdrop-filter: blur(7px);
}

.donation-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(220px, .9fr) minmax(280px, 1.1fr);
  width: min(760px, 100%);
  height: min(520px, calc(100vh - 2rem));
  max-height: calc(100vh - 2rem);
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius-lg);
  background: var(--c-elevated);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .42);
  transform: scale(.98);
  transition: transform .3s var(--ease);
  margin-top: 1rem;
}

.donation-modal.is-visible .donation-dialog {
  transform: scale(1);
}

.donation-dialog-media {
  position: relative;
  min-height: 0;
  height: 100%;
  background: #1a1a1a;
}

.donation-dialog-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.donation-dialog-media::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(10, 10, 10, .68));
  pointer-events: none;
}

.donation-dialog-media .media-label {
  z-index: 1;
}

.donation-dialog-copy {
  min-height: 0;
  overflow-y: auto;
  padding: clamp(1.5rem, 4vw, 3rem);
  align-self: center;
}

.donation-dialog-copy h2 {
  margin: .2rem 0 .8rem;
  font-size: clamp(1.8rem, 4vw, 2.65rem);
}

.donation-dialog-copy p {
  margin-bottom: 1.45rem;
}

.donation-dialog-copy small {
  display: block;
  margin-top: 1rem;
  color: var(--c-muted);
  font-size: .76rem;
  line-height: 1.5;
}

.donation-dialog-copy small i {
  color: var(--c-secondary);
  margin-right: .25rem;
}

.donation-modal-close {
  position: absolute;
  top: .8rem;
  right: .8rem;
  z-index: 2;
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  background: rgba(10, 10, 10, .42);
  color: #fff;
  cursor: pointer;
}

.donation-modal-close:hover {
  background: var(--c-secondary);
  border-color: var(--c-secondary);
}

@media (max-width: 640px) {
  .donation-modal {
    padding: 1rem;
  }

  .donation-dialog {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(150px, 34%) minmax(0, 1fr);
    height: min(620px, calc(100vh - 2rem));
    max-height: calc(100vh - 2rem);
    border-radius: var(--radius);
  }

  .donation-dialog-media {
    height: auto;
  }

  .donation-dialog-copy {
    padding: 1.35rem;
  }

  .donation-dialog-copy h2 {
    font-size: clamp(1.65rem, 8vw, 2.2rem);
  }

  .donation-dialog-copy .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {

  .donation-modal,
  .donation-dialog {
    transition: none;
  }
}

/* ---- 3D tilt + shine sweep for cards, pillars, programs ---- */
.card,
.pillar-card,
.program-card {
  transform-style: preserve-3d;
  position: relative;
  isolation: isolate;
}

.card::after,
.pillar-card::after,
.program-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, .5) 48%, transparent 62%);
  background-size: 250% 250%;
  background-position: -140% -140%;
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.card:hover::after,
.pillar-card:hover::after,
.program-card:hover::after {
  opacity: 1;
  background-position: 140% 140%;
  transition: background-position .9s var(--ease), opacity .3s ease;
}

.card:hover,
.pillar-card:hover {
  box-shadow: var(--shadow-grand);
}

.pillar-icon,
.card .icon {
  box-shadow: 0 10px 26px rgba(26, 26, 26, .28), 0 0 0 5px rgba(232, 114, 12, .06);
}

.pillar-card:hover .pillar-icon {
  box-shadow: 0 16px 34px rgba(232, 114, 12, .35), 0 0 0 6px rgba(232, 114, 12, .18);
}

/* Gradient top border reveal on pillar/program cards */
.pillar-card::before {
  height: 4px;
  background: var(--grad-brand) !important;
  background-size: 200% auto;
}

.pillar-card:hover::before {
  animation: gradTextShift 2.4s linear infinite;
}

/* ---- Impact section: deep animated aurora gradient ---- */
.impact {
  background: var(--grad-brand-deep) !important;
  background-size: 220% 220% !important;
  animation: gradientShift 14s ease infinite;
  position: relative;
}

.impact::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(232, 114, 12, .22), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(232, 114, 12, .28), transparent 45%);
  pointer-events: none;
}

.impact .stat {
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1rem;
  position: relative;
  z-index: 1;
}

.impact .stat strong {
  background: linear-gradient(100deg, #fff, #F2934A);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(2.1rem, 4vw, 2.75rem);
  font-family: var(--font-display);
}

/* ---- CTA banner: richer glow + animated border ---- */
.cta-banner {
  box-shadow: var(--shadow-grand);
  position: relative;
}

.cta-banner::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(from 0deg, #E8720C, #E8720C, #1A1A1A, #E8720C);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .55;
  animation: spin 8s linear infinite;
  pointer-events: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---- Wave dividers between key sections for an editorial, grand rhythm ---- */
.page-hero,
.hero-v2 {
  position: relative;
}

.hero-v2 {
  z-index: 0;
}

.section.impact {
  clip-path: none;
}

.section+.section.impact,
.pillars-section+.section {
  position: relative;
}

.impact {
  clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%);
  margin: -1px 0;
  padding-top: calc(var(--space-2xl) + 1.5rem) !important;
  padding-bottom: calc(var(--space-2xl) + 1.5rem) !important;
}

/* ---- Navbar: premium glass + animated gradient underline ---- */
.site-header.scrolled {
  background: color-mix(in srgb, var(--c-elevated) 82%, transparent);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
}

.main-nav a.active::after {
  background: var(--grad-text) !important;
  background-size: 200% auto;
  animation: gradTextShift 3s linear infinite;
}

.brand-logo {
  box-shadow: 0 0 0 3px rgba(232, 114, 12, .35), 0 4px 14px rgba(0, 0, 0, .15);
  animation: logoIn .6s var(--ease) both, logoGlow 4s ease-in-out infinite 1s;
}

@keyframes logoGlow {

  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(232, 114, 12, .35), 0 4px 14px rgba(0, 0, 0, .15);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(232, 114, 12, .28), 0 4px 18px rgba(0, 0, 0, .18);
  }
}

/* ---- Footer: brand gradient + shimmering top edge ---- */
.site-footer,
.footer-wave {
  background: var(--grad-brand-deep) !important;
}

.footer-wave::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #E8720C, #F2934A, transparent);
  animation: gradTextShift 5s linear infinite;
  background-size: 200% auto;
}

.social-link:hover {
  box-shadow: 0 8px 24px rgba(232, 114, 12, .4);
}

/* ---- Admin: grander sidebar + glowing stat cards ---- */
.admin-sidebar {
  background: var(--grad-brand-deep) !important;
  position: relative;
}

.admin-sidebar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 10%, rgba(232, 114, 12, .18), transparent 45%);
  pointer-events: none;
}

.admin-nav a.active {
  background: linear-gradient(90deg, rgba(232, 114, 12, .35), rgba(232, 114, 12, .12)) !important;
  box-shadow: inset 3px 0 0 #E8720C;
}

.stat-card {
  position: relative;
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t);
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-brand);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-grand);
}

/* ---- Section alt: subtle dotted texture for depth ---- */
.section.alt {
  background:
    radial-gradient(rgba(232, 114, 12, .08) 1px, transparent 1px),
    #0D0D0D;
  background-size: 22px 22px;
}

@media (prefers-reduced-motion: reduce) {
  body::before {
    animation: none;
  }

  .text-grad,
  .grad-text,
  .main-nav a.active::after,
  .footer-wave::after,
  .pillar-card:hover::before,
  .impact,
  .cta-banner::after,
  .brand-logo,
  .unity-icon svg,
  .scroll-ball,
  .scroll-ball-left,
  .scroll-ball-right,
  .pillars-section::before,
  .pillars-section::after,
  #programs::before,
  #programs::after {
    animation: none !important;
  }
}