/* ==========================================
   DESIGN SYSTEM — TOKEN DEFINITIONS
========================================== */
:root {
  /* Light Theme Variables */
  --navy:        #1A3A5C;
  --sky:         #2E7BB5;
  --forest:      #1E6641;
  --leaf:        #3A9E5F;
  --gold:        #D4860A;
  --amber:       #F5A623;
  --cloud:       #F0F6FF;
  --cream:       #FDFAF4;
  --white:       #FFFFFF;
  --text-dark:   #0D1B2A;
  --text-mid:    #3D5166;
  --text-light:  #7A90A8;
  --border:      #D9E8F5;

  --ff-display: 'Playfair Display', Georgia, serif;
  --ff-body:    'Inter', system-ui, sans-serif;

  --shadow-sm:  0 1px 3px rgba(26,58,92,.08), 0 1px 2px rgba(26,58,92,.04);
  --shadow-md:  0 4px 16px rgba(26,58,92,.12), 0 2px 6px rgba(26,58,92,.06);
  --shadow-lg:  0 12px 40px rgba(26,58,92,.16), 0 4px 12px rgba(26,58,92,.08);

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  /* Backgrounds — deep dark blues */
  --cloud:       #111827;
  --cream:       #1c2433;
  --white:       #0d1117;

  /* Brand colors — stay vibrant, brightened for dark bg */
  --navy:        #4a90c4;
  --sky:         #5ba8d8;
  --forest:      #27ae60;
  --leaf:        #4ecb74;
  --gold:        #f5a623;
  --amber:       #ffb830;

  /* Text — high contrast on dark backgrounds */
  --text-dark:   #f0f6fc;
  --text-mid:    #b0bec5;
  --text-light:  #78909c;

  /* Borders — subtle on dark */
  --border:      #2d3748;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.4), 0 1px 2px rgba(0,0,0,.3);
  --shadow-md:  0 4px 16px rgba(0,0,0,.5), 0 2px 6px rgba(0,0,0,.4);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.6), 0 4px 12px rgba(0,0,0,.5);
}

/* Dark mode: targeted element overrides for visibility */

[data-theme="dark"] .c-navy {
  color: #7ec8e3;
}

[data-theme="dark"] .card,
[data-theme="dark"] .pillar-card,
[data-theme="dark"] .involve-card,
[data-theme="dark"] .vm-card,
[data-theme="dark"] .symbol-card,
[data-theme="dark"] .contact-panel {
  background: #1c2433;
  border-color: #2d3748;
  color: var(--text-dark);
}

[data-theme="dark"] .stats-band {
  background: #111827;
  border-color: #2d3748;
}

[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea {
  background: #0d1117;
  color: #f0f6fc;
  border-color: #2d3748;
}

[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder {
  color: #78909c;
}

[data-theme="dark"] #footer {
  background: #0a0f17;
}

[data-theme="dark"] .newsletter-section {
  background: #111827;
}

[data-theme="dark"] #nav.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

[data-theme="dark"] .hero-float-card {
  background: rgba(28, 36, 51, 0.92);
  border-color: rgba(45, 55, 72, 0.8);
  color: #f0f6fc;
}

[data-theme="dark"] .hero-float-card-sub {
  color: #b0bec5;
}

[data-theme="dark"] .symbol-icon {
  background: #0d1117;
}

[data-theme="dark"] .bg-cloud {
  background: #111827;
}

[data-theme="dark"] .bg-cream {
  background: #1c2433;
}

[data-theme="dark"] .about-text img {
  background: #1c2433 !important;
  border-color: #2d3748 !important;
}

[data-theme="dark"] .hero-logo-card {
  background: #1c2433;
  border-color: rgba(245, 166, 35, 0.4);
}

[data-theme="dark"] ::-webkit-scrollbar-track {
  background: #0d1117;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
  background: #2d3748;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
  background: #4a90c4;
}

/* ==========================================
   RESET & BASE
========================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--cloud);
}
::-webkit-scrollbar-thumb {
  background: var(--navy);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--sky);
}

body {
  font-family: var(--ff-body);
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Custom Cursor CSS */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  background-color: transparent;
  border: 1.5px solid var(--amber);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 999999;
  transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}
.custom-cursor.hover {
  width: 60px;
  height: 60px;
  background-color: rgba(245, 166, 35, 0.1);
  border-color: rgba(245, 166, 35, 0.5);
}
@media (max-width: 1024px) {
  .custom-cursor { display: none !important; }
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ==========================================
   ACCESSIBILITY
========================================== */
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  background: var(--gold);
  color: var(--white);
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  transition: top .3s;
}
.skip-link:focus { top: 16px; }

*:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ==========================================
   TYPOGRAPHY UTILITIES
========================================== */
.display-xl {
  font-family: var(--ff-display);
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.display-lg {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
}
.display-md {
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
}
.section-label {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}
.lead { font-size: 1.125rem; line-height: 1.75; color: var(--text-mid); }
.small { font-size: .875rem; color: var(--text-light); }

/* ==========================================
   COLOR UTILITIES
========================================== */
.c-navy   { color: var(--navy); }
.c-sky    { color: var(--sky); }
.c-forest { color: var(--forest); }
.c-gold   { color: var(--gold); }
.c-amber  { color: var(--amber); }
.c-white  { color: var(--white); }
.bg-navy  { background: var(--navy); }
.bg-cloud { background: var(--cloud); }
.bg-cream { background: var(--cream); }
.bg-forest{ background: var(--forest); }

/* ==========================================
   LAYOUT UTILITIES
========================================== */
.container {
  width: 90%;
  max-width: 1200px;
  margin-inline: auto;
}
.section {
  padding: 100px 0;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.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.5rem; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: .5rem; } .gap-2 { gap: 1rem; } .gap-3 { gap: 1.5rem; }
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; } .mt-6 { margin-top: 3rem; }
.mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; }

/* ==========================================
   BUTTON SYSTEM
========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 2rem;
  border-radius: 50px;
  font-family: var(--ff-body);
  font-size: .9375rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
  box-shadow: 0 4px 14px rgba(212,134,10,.35);
}
.btn-primary:hover {
  background: #b8720a;
  border-color: #b8720a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,134,10,.45);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
}
.btn-navy:hover {
  background: #0e2338;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ==========================================
   CARD SYSTEM
========================================== */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ==========================================
   SCROLL-REVEAL ANIMATION
========================================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s cubic-bezier(0.4,0,0.2,1), transform .7s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity .7s cubic-bezier(0.4,0,0.2,1), transform .7s cubic-bezier(0.4,0,0.2,1);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity .7s cubic-bezier(0.4,0,0.2,1), transform .7s cubic-bezier(0.4,0,0.2,1);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }

/* ==========================================
   NAVIGATION
========================================== */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
#nav.scrolled {
  box-shadow: 0 4px 24px rgba(26, 58, 92, 0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 5%;
  max-width: 1400px;
  margin: 0 auto;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}
.nav-emblem {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(26, 58, 92, 0.15);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  /* White background ring ensures emblem visible on any nav bg */
  background: #ffffff;
  outline: 2px solid rgba(255,255,255,0.9);
  transition: var(--transition);
}
.nav-emblem:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(26, 58, 92, 0.25);
}
.nav-brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 1px;
}
.nav-name {
  font-family: var(--ff-body);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.nav-tagline {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 320px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.nav-links a {
  position: relative;
  padding: .5rem 1rem;
  color: var(--text-mid);
  font-size: .9rem;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--amber);
  transition: width 0.25s ease, left 0.25s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 60%;
  left: 20%;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
  background: transparent !important;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.btn-donate {
  background: var(--gold);
  color: var(--white) !important;
  font-weight: 700;
  padding: .625rem 1.5rem;
  border-radius: 50px;
  font-size: .875rem;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-donate:hover {
  background: #b8720a !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(212,134,10,.4);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1.5rem 5%;
  z-index: 999;
  flex-direction: column;
  gap: .5rem;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(26, 58, 92, 0.08);
}
[data-theme="dark"] .mobile-menu {
  background: rgba(13, 17, 23, 0.95);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--text-dark);
  font-size: 1rem;
  font-weight: 600;
  padding: .875rem 1rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.mobile-menu a:hover {
  color: var(--gold);
  background: rgba(26, 58, 92, 0.05);
}
.mobile-menu .btn-donate {
  margin-top: .5rem;
  text-align: center;
  display: block;
}

/* ==========================================
   UI CONTROLS (Lang & Theme)
========================================= */
.ui-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-right: 0.5rem;
}
.lang-select {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.5rem;
  font-family: var(--ff-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: var(--transition);
}
.lang-select:focus {
  border-color: var(--gold);
}
[data-theme="dark"] .lang-select {
  color: var(--text-dark);
}
.theme-toggle {
  background: transparent;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  border-radius: 50%;
  transition: var(--transition);
}
.theme-toggle:hover {
  background: rgba(128, 128, 128, 0.1);
}
.theme-toggle .icon-moon { display: none; }
.theme-toggle .icon-sun { display: block; color: var(--gold); }

[data-theme="dark"] .theme-toggle .icon-moon { display: block; color: var(--text-dark); }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] #nav {
  background: rgba(13, 17, 23, 0.95);
}

/* ==========================================
   HERO SECTION — SPLIT-SCREEN LAYOUT
========================================== */
#hero {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 70% 60% at 80% 40%, rgba(46,123,181,.2) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(30,102,65,.2) 0%, transparent 60%),
    radial-gradient(ellipse 30% 30% at 50% 50%, rgba(212,134,10,.1) 0%, transparent 50%),
    linear-gradient(160deg, #07111c 0%, #0D1B2A 35%, #1A3A5C 70%, #0d1b2a 100%);
  display: flex;
  align-items: center;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}

/* Animated grid overlay */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 50%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 50%, transparent 100%);
}

/* Bottom fade to next section */
#hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 100px;
  background: linear-gradient(to bottom, transparent, rgba(240,246,255,.5));
  pointer-events: none;
  z-index: 2;
}

/* Animated glow orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  animation: orb-float 12s ease-in-out infinite;
}
.hero-orb-1 {
  width: 500px; height: 500px;
  background: rgba(46,123,181,.25);
  top: -10%; right: -5%;
  animation-delay: 0s;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: rgba(30,102,65,.2);
  bottom: -5%; left: -5%;
  animation-delay: 4s;
}
.hero-orb-3 {
  width: 250px; height: 250px;
  background: rgba(212,134,10,.15);
  top: 30%; left: 25%;
  animation-delay: 2s;
}
.hero-orb-4 {
  width: 300px; height: 300px;
  background: rgba(58,158,95,.15);
  bottom: 25%; right: 25%;
  animation-delay: 6s;
}

@keyframes orb-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.04); }
}

/* Split-screen container grid */
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 5rem;
  align-items: center;
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 80px 0 120px;
  position: relative;
  z-index: 1;
}

/* Left Text Column */
.hero-text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

/* Kicker pill */
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem 1.2rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(245,166,35,.3);
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  animation: fade-up .8s ease both;
}
.hero-kicker-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--leaf);
  animation: pulse-dot 2s infinite;
}

/* Giant tagline words */
.hero-tagline {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .25rem;
}
.hero-tagline .word {
  font-family: var(--ff-display);
  font-size: clamp(3.2rem, 5.5vw, 6.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  display: inline-block;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  animation: word-rise .8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-tagline .word.w2 { animation-delay: .12s; }
.hero-tagline .word.w3 { animation-delay: .24s; }

@keyframes word-rise {
  to { opacity: 1; transform: translateY(0); }
}

.word-educating   { color: var(--amber); }
.word-transforming{ color: var(--leaf);  }
.word-sustaining  { color: #6EC6F0;       }

/* Glow behind each word */
.word-educating::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: var(--amber);
  filter: blur(24px);
  opacity: .25;
  z-index: -1;
}
.word-transforming::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: var(--leaf);
  filter: blur(24px);
  opacity: .22;
  z-index: -1;
}
.word-sustaining::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: #6EC6F0;
  filter: blur(24px);
  opacity: .22;
  z-index: -1;
}

/* Noun subtitles */
.hero-nouns {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.25rem;
  margin: 1.25rem 0 0;
  animation: fade-up 1s .4s ease both;
}
.hero-noun-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .15rem;
}
.hero-noun-word {
  font-family: var(--ff-display);
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  font-weight: 700;
  font-style: italic;
  color: rgba(255,255,255,.9);
}
.hero-noun-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  margin-top: .1rem;
}
.hero-noun-dot.amber { background: var(--amber); }
.hero-noun-dot.green { background: var(--leaf); }
.hero-noun-dot.blue  { background: #6EC6F0; }
.hero-noun-sep {
  color: rgba(255,255,255,.15);
  font-size: 1.25rem;
  line-height: 1;
  align-self: center;
  margin-top: -.2rem;
}

/* Mission text */
.hero-mission {
  font-size: clamp(.95rem, 1.4vw, 1.125rem);
  color: rgba(255,255,255,.7);
  line-height: 1.8;
  margin: 2rem 0 0;
  max-width: 580px;
  text-align: left;
  animation: fade-up 1s .55s ease both;
}

/* CTA actions */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: flex-start;
  margin-top: 2.25rem;
  animation: fade-up 1s .7s ease both;
}
.btn-hero-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--amber) 100%);
  color: var(--white);
  border: none;
  padding: .9rem 2.25rem;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 700;
  font-family: var(--ff-body);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  box-shadow: 0 5px 20px rgba(212,134,10,.4);
  transition: var(--transition);
}
.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(212,134,10,.5);
}
.btn-hero-secondary {
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.85);
  border: 1.5px solid rgba(255,255,255,.18);
  padding: .9rem 2rem;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 600;
  font-family: var(--ff-body);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition);
}
.btn-hero-secondary:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.3);
  color: var(--white);
  transform: translateY(-2px);
}

/* Right Artwork Column */
.hero-artwork-col {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-centre {
  position: relative;
  width: 600px;
  height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-up 1.1s .25s ease both;
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Logo Card */
.hero-logo-card {
  position: relative;
  width: 560px;
  height: 340px;
  z-index: 4;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 3px solid rgba(245, 166, 35, 0.55);
  box-shadow:
    0 0 0 8px rgba(26, 58, 92, 0.35),
    0 0 0 9px rgba(245, 166, 35, 0.1),
    0 20px 60px rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  overflow: hidden;
}

/* In dark mode: hero logo card always shows a white bg so the logo is visible */
[data-theme="dark"] .hero-logo-card {
  background: #ffffff !important;
  border-color: rgba(245, 166, 35, 0.6) !important;
}
.hero-logo-glow {
  position: absolute;
  inset: -20px;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle, rgba(212,134,10,.25), transparent 70%);
  animation: glow-pulse 3.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes glow-pulse {
  0%,100% { opacity: .5; transform: scale(1); }
  50%      { opacity: .9; transform: scale(1.04); }
}
.hero-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 3;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  filter: contrast(1.12) brightness(1.03) saturate(1.05);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  /* Scale up slightly to fill the card edge-to-edge */
  transform: scale(1.04);
}

/* Floating cards */
.hero-float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(26, 58, 92, 0.15);
  border-radius: 14px;
  padding: .75rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .2rem;
  min-width: 140px;
  max-width: 200px;
  z-index: 5;
  transition: var(--transition);
  cursor: default;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.hero-float-card:hover {
  background: var(--white);
  transform: scale(1.06) translateY(-2px);
  border-color: var(--amber);
  box-shadow: var(--shadow-lg);
}
.hero-float-card-icon {
  font-size: 1.4rem;
}
.hero-float-card-title {
  font-size: .8rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.hero-float-card-sub {
  font-size: .68rem;
  color: var(--text-mid);
  font-weight: 600;
  line-height: 1.3;
}
.hero-float-card-bar {
  height: 3px;
  border-radius: 1.5px;
  width: 100%;
  margin-top: .25rem;
}

/* Corners placement relative to 520x520 grid */
.hfc-tl { top: -10px;  left: -25px;  animation: float-card1 6.5s ease-in-out infinite; }
.hfc-tr { top: -10px;  right: -25px; animation: float-card2 7.5s ease-in-out infinite; }
.hfc-bl { bottom: -10px; left: -25px; animation: float-card3 8.5s ease-in-out infinite; }
.hfc-br { bottom: -10px; right: -25px; animation: float-card4 7s ease-in-out infinite; }

@keyframes float-card1 { 0%,100%{transform:translate(0,0) rotate(-0.5deg)}50%{transform:translate(-3px,-8px) rotate(0.5deg)} }
@keyframes float-card2 { 0%,100%{transform:translate(0,0) rotate(0.5deg)}50%{transform:translate(3px,-10px) rotate(-0.5deg)} }
@keyframes float-card3 { 0%,100%{transform:translate(0,0) rotate(0.5deg)}50%{transform:translate(-4px,6px) rotate(-1deg)} }
@keyframes float-card4 { 0%,100%{transform:translate(0,0) rotate(-0.5deg)}50%{transform:translate(4px,8px) rotate(1.5deg)} }

/* Centered Scroll down indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  text-decoration: none;
  color: rgba(255,255,255,.45);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  z-index: 3;
  transition: color .3s;
}
.hero-scroll-indicator:hover { color: rgba(255,255,255,.75); }
.scroll-mouse {
  width: 22px; height: 34px;
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}
.scroll-mouse-wheel {
  width: 3px; height: 5px;
  background: var(--amber);
  border-radius: 1px;
  animation: scroll-wheel 2.2s ease-in-out infinite;
}
@keyframes scroll-wheel {
  0%   { transform: translateY(0); opacity: 1; }
  60%  { transform: translateY(6px); opacity: 0; }
  61%  { transform: translateY(0); opacity: 0; }
  100% { opacity: 1; }
}

/* Marquee ticker at the absolute bottom */
.hero-ticker {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(212,134,10,.08);
  border-top: 1px solid rgba(212,134,10,.18);
  overflow: hidden;
  height: 40px;
  display: flex;
  align-items: center;
  z-index: 3;
}
.hero-ticker-inner {
  display: flex;
  animation: marquee 35s linear infinite;
  white-space: nowrap;
  will-change: transform;
}
.hero-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .75rem;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  letter-spacing: .04em;
  padding: 0 1.75rem;
}
.hero-ticker-item span.accent {
  color: var(--amber);
}
.hero-ticker-sep {
  color: rgba(212,134,10,.3);
  font-size: .85rem;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* kicker pulse & badge dots */
.hero-badge-dot {
  width: 8px; height: 8px;
  background: var(--leaf);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.3); }
}

.pillar-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.pi-edu   { background: rgba(245,166,35,.2); }
.pi-hlth  { background: rgba(46,123,181,.2); }
.pi-wom   { background: rgba(58,158,95,.2); }
.pi-yth   { background: rgba(212,134,10,.2); }

.tagline-chip {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .75rem;
  font-weight: 600;
  padding: .3rem .75rem;
  border-radius: 50px;
  opacity: .85;
}
.chip-amber { background: rgba(245,166,35,.15); color: var(--amber); border: 1px solid rgba(245,166,35,.3); }
.chip-green { background: rgba(58,158,95,.15); color: var(--leaf); border: 1px solid rgba(58,158,95,.3); }
.chip-blue  { background: rgba(46,123,181,.15); color: #7ab8e0; border: 1px solid rgba(46,123,181,.3); }

/* ==========================================
   TREE SIGNATURE ELEMENT (scroll-grow SVG)
========================================== */
.tree-divider {
  display: flex;
  justify-content: center;
  padding: 3rem 0 1rem;
  overflow: hidden;
}
.tree-svg {
  width: 60px;
  opacity: .3;
  transition: opacity .5s;
}
.tree-svg.grown { opacity: .8; }
.tree-branch {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.4,0,0.2,1);
}
.tree-svg.grown .tree-branch { stroke-dashoffset: 0; }

/* ==========================================
   SECTION: ABOUT
========================================== */
#about { background: var(--cloud); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.about-text p {
  color: var(--text-mid);
  margin-bottom: 1.25rem;
  line-height: 1.85;
}
.about-text p:last-child { margin-bottom: 0; }

.symbol-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 96px;
  border: 1px solid var(--border);
}
.symbol-card h3 {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.symbol-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.symbol-item:last-child { border-bottom: none; padding-bottom: 0; }
.symbol-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.si-book  { background: rgba(212,134,10,.12); }
.si-tree  { background: rgba(30,102,65,.1); }
.si-people{ background: rgba(46,123,181,.1); }
.symbol-info h4 {
  font-family: var(--ff-display);
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: .25rem;
}
.symbol-info p { font-size: .9rem; color: var(--text-mid); line-height: 1.6; }

/* ==========================================
   SECTION: VISION & MISSION
========================================== */
#vision { background: var(--white); }

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.vm-card {
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.vm-card:hover { transform: translateY(-6px); }
.vm-card::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 120px; height: 120px;
  border-radius: 50%;
  opacity: .08;
}
.vm-vision {
  background: linear-gradient(135deg, var(--navy) 0%, #2A5280 100%);
  color: var(--white);
}
.vm-vision::before { background: var(--white); }
.vm-mission {
  background: linear-gradient(135deg, var(--forest) 0%, #2E8B55 100%);
  color: var(--white);
}
.vm-mission::before { background: var(--white); }
.vm-card-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.25rem;
}
.vm-card-label-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber);
}
.vm-card h3 {
  font-family: var(--ff-display);
  font-size: 1.7rem;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.25;
}
.vm-card p {
  color: rgba(255,255,255,.8);
  line-height: 1.8;
  font-size: .975rem;
}
.vm-icon {
  position: absolute;
  bottom: 1.5rem;
  right: 2rem;
  font-size: 4rem;
  opacity: .08;
}

/* ==========================================
   SECTION: PILLARS
========================================== */
#pillars { background: var(--cream); }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.pillar-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.pillar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.pc-edu::before   { background: linear-gradient(90deg, var(--gold), var(--amber)); }
.pc-hlth::before  { background: linear-gradient(90deg, var(--sky), #5BB8EF); }
.pc-wom::before   { background: linear-gradient(90deg, var(--leaf), #6CD99A); }
.pc-yth::before   { background: linear-gradient(90deg, var(--forest), var(--leaf)); }

.pillar-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: var(--transition);
}
.pillar-card:hover .pillar-icon-wrap { transform: scale(1.1) rotate(-4deg); }
.piw-edu  { background: linear-gradient(135deg, rgba(212,134,10,.15), rgba(245,166,35,.1)); }
.piw-hlth { background: linear-gradient(135deg, rgba(46,123,181,.15), rgba(91,184,239,.1)); }
.piw-wom  { background: linear-gradient(135deg, rgba(58,158,95,.15), rgba(108,217,154,.1)); }
.piw-yth  { background: linear-gradient(135deg, rgba(30,102,65,.15), rgba(58,158,95,.1)); }

.pillar-card h3 {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: .5rem;
}
.pillar-card .pillar-subtitle {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}
.ps-edu  { color: var(--gold); }
.ps-hlth { color: var(--sky); }
.ps-wom  { color: var(--leaf); }
.ps-yth  { color: var(--forest); }

.pillar-card p {
  font-size: .9rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ==========================================
   SECTION: PULL QUOTE BAND
========================================== */
#quote {
  background: linear-gradient(135deg, var(--navy) 0%, #0f2a47 50%, var(--forest) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
#quote::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.quote-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 0 5%;
  position: relative;
}
.quote-mark {
  font-family: var(--ff-display);
  font-size: 8rem;
  line-height: .7;
  color: var(--amber);
  opacity: .25;
  margin-bottom: -1.5rem;
  display: block;
}
.quote-text {
  font-family: var(--ff-display);
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  color: var(--white);
  line-height: 1.5;
  font-style: italic;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.quote-text em {
  color: var(--amber);
  font-style: normal;
}
.quote-attribution {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ==========================================
   SECTION: GET INVOLVED
========================================== */
#get-involved { background: var(--cloud); }

.involve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.involve-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.involve-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.involve-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}
.ii-sponsor  { background: rgba(212,134,10,.12); }
.ii-volunteer{ background: rgba(46,123,181,.12); }
.ii-partner  { background: rgba(30,102,65,.1); }

.involve-card h3 {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: .75rem;
}
.involve-card p {
  color: var(--text-mid);
  line-height: 1.7;
  font-size: .95rem;
  flex: 1;
  margin-bottom: 1.5rem;
}

/* Contact panel */
.contact-panel {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1.3fr;
}
.contact-info {
  background: linear-gradient(160deg, var(--navy) 0%, #0f2a47 100%);
  padding: 3rem 2.5rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.contact-info::before {
  content: '';
  position: absolute;
  bottom: -40px; right: -40px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.contact-info h3 {
  font-family: var(--ff-display);
  font-size: 1.7rem;
  margin-bottom: 1rem;
  position: relative;
}
.contact-info p {
  color: rgba(255,255,255,.7);
  font-size: .95rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  position: relative;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: .875rem;
  margin-bottom: 1.25rem;
  position: relative;
}
.contact-detail-icon {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-detail-text {
  font-size: .9rem;
  color: rgba(255,255,255,.75);
  font-style: italic;
}
.contact-detail-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--amber);
}
.contact-social {
  display: flex;
  gap: .75rem;
  margin-top: 2rem;
  position: relative;
}
.social-btn {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.08);
}
.social-btn:hover {
  background: var(--gold);
  transform: translateY(-2px);
}

.contact-form {
  padding: 3rem 2.5rem;
}
.contact-form h3 {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 1.75rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: .375rem;
  margin-bottom: 1rem;
}
.form-group label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: .03em;
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--ff-body);
  font-size: .9rem;
  color: var(--text-dark);
  background: var(--cloud);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
  transition: var(--transition);
  width: 100%;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--sky);
  background: var(--white);
  outline: none;
  box-shadow: 0 0 0 3px rgba(46,123,181,.15);
}
.form-group textarea { min-height: 110px; }

.form-submit-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.form-note {
  font-size: .78rem;
  color: var(--text-light);
}

/* ==========================================
   SECTION: NEWSLETTER
========================================== */
.newsletter-section {
  padding: 60px 0;
  background: var(--white);
}
.newsletter-inner {
  background: var(--cloud);
  border-radius: var(--radius-xl);
  padding: 3.5rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.newsletter-text h3 {
  font-family: var(--ff-display);
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.newsletter-text p {
  color: var(--text-mid);
  margin-bottom: 0;
  font-size: 1.05rem;
  max-width: 450px;
}
.newsletter-form {
  display: flex;
  gap: 0.75rem;
  flex: 1;
  max-width: 500px;
}
.newsletter-form input {
  flex: 1;
  padding: 1rem 1.5rem;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  font-family: var(--ff-body);
  outline: none;
  transition: var(--transition);
  background: var(--white);
}
.newsletter-form input:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(46,123,181,.15);
}
.success-msg {
  color: var(--leaf);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
}

/* ==========================================
   SECTION: FOOTER
========================================== */
#footer {
  background: var(--text-dark);
  color: rgba(255,255,255,.7);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand {}
.footer-emblem {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 2px solid rgba(245,166,35,.3);
}
.footer-name {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: .5rem;
}
.footer-tagline {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  line-height: 1.6;
  font-style: italic;
}
.footer-col h4 {
  font-family: var(--ff-body);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.25rem;
}
.footer-col ul li {
  margin-bottom: .625rem;
}
.footer-col ul li a {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  transition: var(--transition);
}
.footer-col ul li a:hover {
  color: var(--white);
  padding-left: 4px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy {
  font-size: .8rem;
  color: rgba(255,255,255,.35);
}
.footer-legal {
  display: flex;
  gap: 1.5rem;
}
.footer-legal a {
  font-size: .8rem;
  color: rgba(255,255,255,.35);
  transition: var(--transition);
}
.footer-legal a:hover { color: rgba(255,255,255,.7); }

/* ==========================================
   STATS BAND (between about and vision)
========================================== */
.stats-band {
  background: var(--white);
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item {}
.stat-number {
  font-family: var(--ff-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  margin-bottom: .25rem;
}
.stat-label {
  font-size: .85rem;
  color: var(--text-mid);
  font-weight: 500;
}
.stat-accent { color: var(--gold); }

/* ==========================================
   TOAST NOTIFICATION
========================================== */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--forest);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: .75rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all .4s cubic-bezier(0.4,0,0.2,1);
  max-width: 360px;
  font-size: .9rem;
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================
   PRELOADER
========================================== */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}
.preloader-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--cloud);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==========================================
   RESPONSIVE — TABLET
========================================== */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
    padding: 60px 0 80px;
  }
  .hero-text-col {
    align-items: center;
    text-align: center;
  }
  .hero-tagline {
    align-items: center;
  }
  .hero-nouns {
    justify-content: center;
  }
  .hero-mission {
    margin: 2rem auto 0;
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-scroll-indicator {
    position: static;
    transform: none;
    margin-top: 3rem;
  }
  .hero-centre {
    width: 500px;
    height: 350px;
    margin: 2rem auto 0;
  }
  .hero-logo-card {
    width: 400px;
    height: 240px;
    padding: 1rem;
  }
  .hfc-tl { top: -20px; left: -20px; }
  .hfc-tr { top: -20px; right: -20px; }
  .hfc-bl { bottom: -20px; left: -20px; }
  .hfc-br { bottom: -20px; right: -20px; }

  .about-grid { grid-template-columns: 1fr; }
  .symbol-card { position: static; }

  .vm-grid { grid-template-columns: 1fr; }

  .pillars-grid { grid-template-columns: 1fr 1fr; }

  .contact-panel {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .newsletter-inner {
    flex-direction: column;
    text-align: center;
    padding: 3rem 2rem;
  }
  .newsletter-form {
    width: 100%;
  }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================
   RESPONSIVE — MOBILE
========================================== */
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }

  .hero-tagline .word {
    font-size: clamp(2.2rem, 11vw, 3.5rem);
  }
  .hero-centre {
    width: 330px;
    height: 240px;
  }
  .hero-logo-card {
    width: 270px;
    height: 165px;
    padding: .75rem;
  }
  .hero-float-card {
    min-width: 95px;
    padding: .4rem .6rem;
  }
  .hero-float-card-icon {
    font-size: 1.15rem;
  }
  .hero-float-card-title {
    font-size: .68rem;
  }
  .hero-float-card-sub {
    display: none;
  }

  .involve-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .nav-brand-text .nav-tagline { display: none; }

  .newsletter-form {
    flex-direction: column;
  }
  .newsletter-form button {
    width: 100%;
  }

  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ==========================================
   REDUCED MOTION
========================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-left, .reveal-right {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================
   SCROLL PROGRESS BAR
========================================== */
.scroll-progress {
  position: fixed;
  top: 72px;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--amber), var(--leaf));
  z-index: 999;
  width: 0%;
  transition: width .1s linear;
  border-radius: 0 2px 2px 0;
}

/* ==========================================
   BACK TO TOP
========================================== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px; height: 48px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  border: none;
  z-index: 900;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Active nav link */
.nav-links a.active {
  color: var(--navy) !important;
  background: transparent !important;
  font-weight: 600;
}

/* ==========================================
   IMAGE VISIBILITY — LIGHT & DARK MODE
========================================== */

/* About section logo lockup */
.about-logo-img {
  max-width: 100%;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  padding: 1.25rem;
  background: #ffffff;
  box-shadow: var(--shadow-md);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  transition: box-shadow var(--transition);
}
.about-logo-img:hover {
  box-shadow: var(--shadow-lg);
}

/* In dark mode: keep white background so logo colours are accurate */
[data-theme="dark"] .about-logo-img {
  background: #ffffff;
  border-color: rgba(45, 55, 72, 0.6);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

/* Footer emblem — always sharp on dark footer */
.footer-emblem {
  background: #ffffff;
  border-radius: 50%;
  padding: 3px;
  outline: 2px solid rgba(255,255,255,0.15);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}
