/* ==========================================================================
   RootsToRise Youth Empowerment Foundation — Design System
   Navy / Sky-blue / Gold on white. Modern nonprofit-tech aesthetic.
   ========================================================================== */

:root {
  /* Brand colors */
  --navy-950: #08132a;
  --navy-900: #0b1c3d;
  --navy-800: #10254e;
  --navy-700: #163264;
  --navy-600: #1d4180;
  --blue-500: #3f93e0;
  --blue-400: #63a9e8;
  --blue-300: #8fc3f0;
  --blue-100: #e8f3fd;
  --gold-600: #c98a2e;
  --gold-500: #e3a94a;
  --gold-400: #eebd6e;
  --gold-100: #fbecd4;
  --white: #ffffff;
  --off-white: #f6f8fc;
  --surface: #fbfcfe;
  --slate-900: #101828;
  --slate-700: #34405a;
  --slate-600: #4c5972;
  --slate-500: #6b7791;
  --slate-400: #97a1b8;
  --slate-200: #dde3ee;
  --slate-100: #eef1f7;
  --border: #e3e8f2;

  /* Semantic */
  --bg: var(--white);
  --bg-alt: var(--off-white);
  --text: var(--slate-900);
  --text-muted: var(--slate-600);
  --brand: var(--navy-900);
  --accent: var(--blue-500);
  --highlight: var(--gold-500);

  /* Typography */
  --font-heading: "Sora", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  /* Radii */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 10px rgba(11, 28, 61, 0.06);
  --shadow-md: 0 12px 32px rgba(11, 28, 61, 0.10);
  --shadow-lg: 0 24px 64px rgba(11, 28, 61, 0.18);
  --shadow-gold: 0 12px 30px rgba(227, 169, 74, 0.28);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 180ms;
  --dur-base: 280ms;
  --dur-slow: 480ms;

  --container: 1200px;
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-wrap: break-word;
  word-break: break-word;
}

img, svg, iframe, video { max-width: 100%; }
img, svg { display: block; }

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--brand);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: 1.125rem; }

p { color: var(--text-muted); }

button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

:focus-visible {
  outline: 3px solid var(--blue-400);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

@media (min-width: 768px) { .container { padding-inline: 32px; } }

section { position: relative; }

.section-pad { padding-block: clamp(64px, 9vw, 120px); }
.section-pad-sm { padding-block: clamp(48px, 6vw, 72px); }

.bg-alt { background: var(--bg-alt); }
.bg-navy { background: linear-gradient(160deg, var(--navy-900), var(--navy-800) 55%, var(--navy-700)); color: var(--white); }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }
.bg-navy p { color: rgba(255,255,255,0.78); }

/* ==========================================================================
   Utility
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-500);
  background: var(--blue-100);
  padding: 8px 16px 8px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}
.bg-navy .eyebrow { background: rgba(255,255,255,0.1); color: var(--gold-400); }
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-500);
  flex-shrink: 0;
}

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.centered { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 14px; font-size: 1.08rem; }

.text-gold { color: var(--gold-500); }
.text-blue { color: var(--blue-500); }

.grid { display: grid; gap: 28px; }
/* Grid items default to min-width:auto, which lets their content's natural
   size override a minmax(0,1fr) track and overflow it. Force them to respect
   the track instead. */
.grid > *, .two-col > *, .contact-layout > *, .hero-grid > *, .footer-grid > *, .form-grid > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

.skip-link {
  position: absolute; top: -50px; left: 12px; z-index: 1000;
  background: var(--navy-900); color: var(--white);
  padding: 12px 18px; border-radius: var(--radius-sm);
  transition: top var(--dur-base) var(--ease-out);
}
.skip-link:focus { top: 12px; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 15px 28px;
  border-radius: var(--radius-full);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
  min-height: 48px;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--navy-950);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(227, 169, 74, 0.38); }

.btn-secondary {
  background: rgba(255,255,255,0.06);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
}
.btn-secondary:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.6); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--navy-900);
  border: 1.5px solid var(--slate-200);
}
.btn-outline:hover { border-color: var(--blue-500); color: var(--blue-500); transform: translateY(-2px); }

.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform var(--dur-fast) var(--ease-out); }
.btn:hover svg.arrow { transform: translateX(3px); }

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding-block: 18px;
  transition: background var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), padding var(--dur-base) var(--ease-out);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.navbar.is-scrolled {
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 1px 0 rgba(11,28,61,0.06), 0 12px 30px rgba(11,28,61,0.06);
  padding-block: 12px;
}

.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem; color: var(--navy-900); flex-shrink: 0; }
body:not(.page-scrolled) .navbar:not(.is-scrolled) .brand { color: var(--white); }
.logo-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 10px;
  padding: 5px;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.logo-chip--lg { padding: 14px; border-radius: var(--radius-md); }
.brand__logo { width: 32px; height: 32px; flex-shrink: 0; display: block; }
.brand__word { white-space: nowrap; }
.brand__word b { color: var(--gold-500); font-weight: 800; }

.nav-links { display: flex; align-items: center; gap: 4px; flex-wrap: nowrap; }
.nav-links a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  color: var(--slate-700);
  transition: background var(--dur-fast), color var(--dur-fast);
  position: relative;
}
.navbar:not(.is-scrolled) .nav-links a { color: rgba(255,255,255,0.88); }
.nav-links a:hover { background: rgba(63,147,224,0.1); color: var(--blue-500); }
.navbar:not(.is-scrolled) .nav-links a:hover { background: rgba(255,255,255,0.14); color: var(--white); }
.nav-links a[aria-current="page"] { color: var(--blue-500); }
.navbar:not(.is-scrolled) .nav-links a[aria-current="page"] { color: var(--gold-400); }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta-mobile { display: none; }
.nav-toggle {
  display: none;
  position: relative;
  z-index: 510;
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  align-items: center; justify-content: center;
  background: rgba(255,255,255,0.1);
  color: var(--white);
}
.navbar.is-scrolled .nav-toggle { background: var(--slate-100); color: var(--navy-900); }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle.is-active .icon-menu { display: none; }
.nav-toggle.is-active .icon-close { display: block; }

@media (max-width: 940px) {
  .nav-links { position: fixed; top: 0; right: 0; height: 100dvh; width: min(320px, 84vw);
    background: var(--navy-900); flex-direction: column; align-items: stretch;
    padding: 100px 28px 40px; gap: 6px; transform: translateX(100%);
    transition: transform var(--dur-slow) var(--ease-out);
    box-shadow: -20px 0 60px rgba(0,0,0,0.25);
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links a { color: rgba(255,255,255,0.9) !important; padding: 14px 16px; font-size: 1.05rem; }
  .nav-links a:hover { background: rgba(255,255,255,0.08) !important; }
  .nav-cta { display: none; }
  .nav-links .nav-cta-mobile { display: flex; margin-top: 18px; }
  .nav-toggle { display: inline-flex; }
}

.nav-scrim {
  position: fixed; inset: 0; background: rgba(8,19,42,0.55);
  opacity: 0; pointer-events: none; transition: opacity var(--dur-slow) var(--ease-out);
  z-index: 480;
}
.nav-scrim.is-open { opacity: 1; pointer-events: auto; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
  color: var(--white);
  background: var(--navy-950);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(45% 55% at 12% 15%, rgba(63,147,224,0.42), transparent 60%),
    radial-gradient(50% 60% at 90% 10%, rgba(227,169,74,0.28), transparent 60%),
    radial-gradient(70% 70% at 50% 100%, rgba(29,65,128,0.55), transparent 65%),
    linear-gradient(160deg, var(--navy-950), var(--navy-900) 60%, var(--navy-800));
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 40%, transparent 90%);
  z-index: -1;
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(2px); opacity: 0.7; animation: float 9s ease-in-out infinite; }
.hero-orb--1 { width: 10px; height: 10px; background: var(--gold-400); top: 22%; left: 18%; animation-delay: 0s; }
.hero-orb--2 { width: 7px; height: 7px; background: var(--blue-300); top: 62%; left: 8%; animation-delay: 1.4s; }
.hero-orb--3 { width: 8px; height: 8px; background: var(--gold-400); top: 30%; right: 14%; animation-delay: 2.6s; }
.hero-orb--4 { width: 12px; height: 12px; background: var(--blue-300); bottom: 18%; right: 20%; animation-delay: 3.6s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-22px); } }

.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 1fr); text-align: center; } .hero-actions, .hero-note { justify-content: center; } }

.hero h1 { color: var(--white); margin-bottom: 22px; }
.hero-lede { font-size: 1.18rem; color: rgba(255,255,255,0.8); max-width: 540px; margin-bottom: 34px; }
@media (max-width: 980px) { .hero-lede { margin-inline: auto; } }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-note { display: flex; align-items: center; gap: 14px; color: rgba(255,255,255,0.66); font-size: 0.9rem; }
.avatar-stack { display: flex; }
.avatar-stack span {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--navy-950);
  margin-left: -10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 0.72rem; font-weight: 700; color: var(--navy-950);
}
.avatar-stack span:first-child { margin-left: 0; }

.hero-art { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(18px);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 400px;
}
.hero-card__logo { width: 60px; height: 60px; display: block; }
.hero-card .logo-chip--lg { margin-inline: auto 0; }
.hero-card .mini-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.hero-card .mini-stat { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-md); padding: 16px; }
.hero-card .mini-stat strong { display: block; font-family: var(--font-heading); font-size: 1.7rem; color: var(--gold-400); }
.hero-card .mini-stat span { font-size: 0.8rem; color: rgba(255,255,255,0.65); }

.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.5); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
  z-index: 2;
}
.scroll-cue__line { width: 1px; height: 30px; background: linear-gradient(var(--gold-400), transparent); animation: scrollcue 1.8s ease-in-out infinite; }
@keyframes scrollcue { 0% { transform: scaleY(0); transform-origin: top; opacity: 0.4; } 50% { transform: scaleY(1); transform-origin: top; opacity: 1; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; opacity: 0.4; } }

/* ==========================================================================
   Stat strip
   ========================================================================== */
.stat-strip { padding-block: 56px; background: var(--white); border-bottom: 1px solid var(--border); }
.stat-strip .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 780px) { .stat-strip .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat-item { text-align: center; padding: 12px; }
.stat-item strong { display: block; font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.6rem); color: var(--navy-900); }
.stat-item strong .unit { color: var(--gold-500); }
.stat-item span { font-size: 0.88rem; color: var(--text-muted); font-weight: 500; }

/* ==========================================================================
   Cards
   ========================================================================== */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
  height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--blue-300); }

.card__icon {
  width: 54px; height: 54px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue-100), var(--white));
  color: var(--blue-500);
  margin-bottom: 20px;
  transition: transform var(--dur-base) var(--ease-out);
}
.card:hover .card__icon { transform: scale(1.08) rotate(-4deg); }
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.97rem; }
.card ul { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.card ul li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.9rem; color: var(--text-muted); }
.card ul li svg { width: 16px; height: 16px; color: var(--gold-500); flex-shrink: 0; margin-top: 3px; }

.card--gold .card__icon { background: linear-gradient(135deg, var(--gold-100), var(--white)); color: var(--gold-600); }

.card--glass {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(16px);
  color: var(--white);
}
.card--glass:hover { border-color: rgba(227,169,74,0.5); }
.card--glass h3 { color: var(--white); }
.card--glass p { color: rgba(255,255,255,0.72); }
.card--glass .card__icon { background: rgba(255,255,255,0.1); color: var(--gold-400); }

.pill-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: var(--blue-100);
  color: var(--blue-500);
  margin-bottom: 12px;
}

/* ==========================================================================
   Team
   ========================================================================== */
.team-card { text-align: center; }
.team-card__avatar {
  width: 108px; height: 108px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.6rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-800), var(--blue-500));
  box-shadow: var(--shadow-md);
  position: relative;
}
.team-card__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: center; }
.team-card__avatar::after {
  content: "";
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 1.5px dashed var(--gold-400);
  opacity: 0.6;
}
.team-card__role { color: var(--blue-500); font-weight: 600; font-size: 0.88rem; margin: 4px 0 14px; }
.team-card p { font-size: 0.92rem; }

/* ==========================================================================
   Timeline (About)
   ========================================================================== */
.timeline { position: relative; padding-left: 28px; border-left: 2px solid var(--slate-200); display: flex; flex-direction: column; gap: 36px; }
.timeline-item { position: relative; }
.timeline-item::before {
  content: ""; position: absolute; left: -34px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--gold-500); border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold-500);
}
.timeline-item strong { display: block; font-family: var(--font-heading); color: var(--navy-900); margin-bottom: 4px; }

/* ==========================================================================
   Values grid
   ========================================================================== */
.value-chip {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem;
  color: var(--navy-900);
  transition: border-color var(--dur-base), transform var(--dur-base);
}
.value-chip:hover { border-color: var(--gold-400); transform: translateY(-3px); }
.value-chip__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--blue-500); flex-shrink: 0; }

/* ==========================================================================
   CTA banner
   ========================================================================== */
.cta-banner {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px);
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.cta-banner::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 90% at 100% 0%, rgba(227,169,74,0.35), transparent 60%),
    radial-gradient(50% 80% at 0% 100%, rgba(63,147,224,0.35), transparent 60%);
  z-index: -1;
}
.cta-banner h2 { color: var(--white); margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,0.78); max-width: 560px; margin-bottom: 30px; font-size: 1.05rem; }
.cta-banner .btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-family: var(--font-heading); font-weight: 600; font-size: 0.9rem; color: var(--navy-900); }
.form-field .required { color: var(--gold-600); }
.form-field input, .form-field select, .form-field textarea {
  padding: 14px 16px;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  min-height: 48px;
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(63,147,224,0.15);
  outline: none;
}
.form-hint { font-size: 0.82rem; color: var(--slate-500); }
.form-status { margin-top: 16px; font-size: 0.92rem; font-weight: 600; display: none; padding: 12px 16px; border-radius: var(--radius-sm); }
.form-status.is-success { display: block; background: #e7f7ee; color: #1c7c4c; }
.form-status.is-error { display: block; background: #fdeceb; color: #b3261e; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,0.7); padding-block: 72px 32px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px; margin-bottom: 56px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; color: var(--white); }
.footer-brand svg, .footer-brand img { width: 30px; height: 30px; display: block; }
.footer-col h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 18px; letter-spacing: 0.04em; text-transform: uppercase; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.92rem; transition: color var(--dur-fast); }
.footer-col a:hover { color: var(--gold-400); }
.footer-col p { font-size: 0.92rem; color: rgba(255,255,255,0.62); }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; color: rgba(255,255,255,0.75); }
.footer-contact svg { width: 18px; height: 18px; color: var(--gold-400); flex-shrink: 0; margin-top: 2px; }
.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-row a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center;
  transition: background var(--dur-fast), transform var(--dur-fast);
}
.social-row a:hover { background: var(--gold-500); color: var(--navy-950); transform: translateY(-3px); }
.social-row svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 28px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--white); }

/* ==========================================================================
   Reveal animation
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 90ms; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 180ms; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 270ms; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 360ms; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 450ms; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 540ms; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: 630ms; }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero {
  position: relative;
  padding-top: 168px;
  padding-bottom: 84px;
  color: var(--white);
  background: var(--navy-950);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(50% 70% at 85% 0%, rgba(227,169,74,0.3), transparent 60%),
    radial-gradient(60% 70% at 10% 100%, rgba(63,147,224,0.35), transparent 60%),
    linear-gradient(160deg, var(--navy-950), var(--navy-800));
  z-index: -1;
}
.page-hero .eyebrow { background: rgba(255,255,255,0.1); color: var(--gold-400); }
.page-hero h1 { color: var(--white); max-width: 780px; }
.page-hero p { color: rgba(255,255,255,0.78); max-width: 620px; margin-top: 18px; font-size: 1.08rem; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: rgba(255,255,255,0.55); margin-top: 26px; }
.breadcrumb a:hover { color: var(--white); }

/* ==========================================================================
   Map / contact aside
   ========================================================================== */
.contact-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: minmax(0, 1fr); } }
.contact-info-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.contact-info-card ul { display: flex; flex-direction: column; gap: 20px; margin-top: 22px; }
.contact-info-card li { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-card .ico { width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--blue-100); color: var(--blue-500); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-card .ico svg { width: 20px; height: 20px; }
.contact-info-card strong { display: block; color: var(--navy-900); font-family: var(--font-heading); font-size: 0.95rem; margin-bottom: 2px; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); margin-top: 24px; box-shadow: var(--shadow-sm); }
.map-frame iframe { width: 100%; height: 280px; border: 0; display: block; }

/* ==========================================================================
   Misc components
   ========================================================================== */
.divider-dot { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--slate-400); margin-inline: 8px; }

.back-to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 400;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy-900); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity var(--dur-base), transform var(--dur-base);
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--gold-500); color: var(--navy-950); }
.back-to-top svg { width: 20px; height: 20px; }

.donate-option {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color var(--dur-base), transform var(--dur-base), box-shadow var(--dur-base);
}
.donate-option:hover { border-color: var(--gold-400); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.donate-option .card__icon { margin-bottom: 16px; }

.faq-item { border-bottom: 1px solid var(--border); padding-block: 20px; }
.faq-item summary { font-family: var(--font-heading); font-weight: 600; font-size: 1.02rem; color: var(--navy-900); cursor: pointer; display: flex; justify-content: space-between; align-items: center; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { width: 20px; height: 20px; color: var(--blue-500); transition: transform var(--dur-base); flex-shrink: 0; margin-left: 16px; }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item p { margin-top: 14px; font-size: 0.96rem; }

.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.badge-row span { font-size: 0.8rem; font-weight: 600; padding: 8px 14px; border-radius: var(--radius-full); background: var(--slate-100); color: var(--slate-600); }

.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; }
@media (max-width: 900px) { .two-col { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

.stat-block-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.stat-block-card strong { font-family: var(--font-heading); font-size: 2.2rem; color: var(--navy-900); display: block; }
.stat-block-card strong .unit { color: var(--gold-500); }

.image-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.image-frame img { width: 100%; height: 100%; object-fit: cover; }

.not-found { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 140px 24px 80px; }
.not-found .code { font-family: var(--font-heading); font-weight: 800; font-size: clamp(4rem, 14vw, 8rem); background: linear-gradient(135deg, var(--navy-900), var(--blue-500)); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }

/* ==========================================================================
   Bootcamp 1.0 showcase (added for Bootcamp 1.0 update)
   ========================================================================== */
.bootcamp-feature {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 520px at 10% -20%, var(--navy-700), transparent 60%),
    linear-gradient(140deg, var(--navy-950), var(--navy-900) 55%, var(--navy-800));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(30px, 5vw, 64px);
  box-shadow: var(--shadow-lg);
}
.bootcamp-feature .eyebrow { color: var(--gold-400); }
.bootcamp-feature .eyebrow::before { background: var(--gold-400); }
.bootcamp-feature h2, .bootcamp-feature h3 { color: #fff; }
.bootcamp-feature p { color: rgba(255, 255, 255, 0.74); }
.bootcamp-feature .btn-outline { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.bootcamp-feature .btn-outline:hover { border-color: var(--gold-400); color: var(--gold-400); }

.bootcamp-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-heading); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy-900);
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  padding: 7px 15px; border-radius: var(--radius-full); box-shadow: var(--shadow-gold);
}

.highlight-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 38px; }
@media (max-width: 900px) { .highlight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .highlight-grid { grid-template-columns: 1fr; } }
.highlight-card { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius-md); padding: 22px; }
.highlight-card .hc-tag { display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 12px; }
.highlight-card strong { display: block; font-family: var(--font-heading); font-size: 1.02rem; color: #fff; margin-bottom: 6px; line-height: 1.3; }
.highlight-card span { display: block; font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); line-height: 1.55; }

/* Credit structure */
.credit-list { margin-top: 8px; }
.credit-list > div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--border); }
.credit-list > div:last-child { border-bottom: 0; }
.credit-list dt { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--slate-500); margin: 0; }
.credit-list dd { margin: 0; font-family: var(--font-heading); font-weight: 600; color: var(--navy-900); text-align: right; }

/* Photo gallery placeholders */
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-tile { aspect-ratio: 4 / 3; border-radius: var(--radius-md); border: 1.5px dashed var(--slate-200); background: linear-gradient(135deg, var(--slate-100), var(--off-white)); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 16px; }
.gallery-tile svg { width: 32px; height: 32px; stroke: var(--slate-400); }
.gallery-tile span { font-size: 0.82rem; font-weight: 600; color: var(--slate-500); }
.gallery-photo { margin: 0; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--slate-200); background: var(--off-white); box-shadow: var(--shadow-sm); transition: box-shadow .3s ease, transform .3s ease; }
.gallery-photo:hover { box-shadow: var(--shadow-md, 0 12px 28px rgba(11,28,61,.16)); }
.gallery-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; cursor: zoom-in; transition: transform .4s ease; }
.gallery-photo:hover img { transform: scale(1.07); }
@media (hover: none) { .gallery-photo:hover img { transform: none; } }

/* Video testimonials */
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; max-width: 900px; margin: 0 auto; }
@media (max-width: 760px) { .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 560px; } }
@media (max-width: 480px) { .video-grid { grid-template-columns: 1fr; max-width: 300px; } }
.video-card { margin: 0; }
.video-card video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: var(--navy-900); border-radius: var(--radius-md); border: 1px solid var(--slate-200); box-shadow: var(--shadow-sm); }
.video-card figcaption { font-size: 0.82rem; font-weight: 600; color: var(--slate-500); text-align: center; padding: 12px 6px 0; }
.gallery-photo figcaption { font-size: 0.82rem; font-weight: 600; color: var(--slate-500); text-align: center; padding: 12px 14px; }

/* Info / report-pending notice */
.notice-card { display: flex; gap: 16px; align-items: flex-start; background: var(--blue-100); border: 1px solid #cfe4fa; border-radius: var(--radius-md); padding: 20px 22px; }
.notice-card svg { flex-shrink: 0; width: 24px; height: 24px; stroke: var(--blue-500); fill: none; margin-top: 2px; }
.notice-card strong { display: block; color: var(--navy-900); font-family: var(--font-heading); margin-bottom: 4px; }
.notice-card p { margin: 0; color: var(--slate-600); font-size: 0.95rem; }

/* Checklist (impact metrics to be published) */
.check-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; margin-top: 22px; }
@media (max-width: 640px) { .check-list { grid-template-columns: 1fr; } }
.check-list li { list-style: none; display: flex; align-items: center; gap: 12px; font-size: 0.96rem; color: var(--slate-700); }
.check-list li::before { content: ""; width: 18px; height: 18px; flex-shrink: 0; border-radius: 50%; background: var(--gold-100); border: 1.5px solid var(--gold-500); }

/* Certificate endorsement note (light section) */
.cert-note { display: flex; gap: 24px; align-items: flex-start; max-width: 760px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 34px; box-shadow: var(--shadow-sm); }
.cert-note__icon { flex-shrink: 0; width: 54px; height: 54px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); color: var(--navy-900); box-shadow: var(--shadow-gold); }
.cert-note__icon svg { width: 27px; height: 27px; }
.cert-note h3 { color: var(--navy-900); }
.cert-note p { color: var(--text-muted); font-size: 0.98rem; }
@media (max-width: 560px) { .cert-note { flex-direction: column; gap: 18px; padding: 26px; } }
