/* ==============================================
   ART SAVES LIVES — Design System
   ============================================== */

/* --- Custom Properties --- */
:root {
  /* Brand Colors */
  --purple-900: #0D0520;
  --purple-800: #1E0A4C;
  --purple-700: #2D1B69;
  --purple-600: #3D2B82;
  --purple-400: #7C5CBF;
  --purple-200: #C4B3E8;
  --purple-100: #EDE8F8;

  --gold-500: #D4AF37;
  --gold-400: #E8C84A;
  --gold-300: #F0D572;
  --gold-100: #FBF3CC;

  --teal-500: #00BFA5;
  --teal-400: #1DE9B6;
  --teal-100: #CCFAF3;

  --white: #FFFFFF;
  --gray-50: #FAFAFA;
  --gray-100: #F5F5F7;
  --gray-200: #E5E5EA;
  --gray-400: #AEAEB2;
  --gray-600: #636366;
  --gray-800: #1C1C1E;

  /* Semantic */
  --color-primary: var(--purple-800);
  --color-accent: var(--gold-500);
  --color-highlight: var(--teal-500);
  --color-text: var(--gray-800);
  --color-text-muted: var(--gray-600);
  --color-bg: var(--white);
  --color-bg-alt: var(--gray-50);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Type Scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.75rem;
  --text-5xl: clamp(2.5rem, 6vw, 4.5rem);
  --text-hero: clamp(3.5rem, 10vw, 7.5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --container-max: 1200px;
  --container-wide: 1440px;
  --nav-height: 72px;

  /* Borders */
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 4px rgba(30, 10, 76, 0.08);
  --shadow: 0 2px 12px rgba(30, 10, 76, 0.12);
  --shadow-md: 0 4px 24px rgba(30, 10, 76, 0.16);
  --shadow-lg: 0 8px 48px rgba(30, 10, 76, 0.2);
  --shadow-gold: 0 4px 24px rgba(212, 175, 55, 0.3);

  /* Transitions */
  --ease: 0.2s ease;
  --ease-md: 0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, select, textarea { font: inherit; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.15;
  font-weight: 700;
  color: var(--color-text);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

p { max-width: 68ch; }
p + p { margin-top: var(--space-4); }

.lead {
  font-size: var(--text-xl);
  line-height: 1.55;
  color: var(--gray-600);
  max-width: 60ch;
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container--wide { max-width: var(--container-wide); }

.section {
  padding: var(--space-20) 0;
}

.section--alt { background: var(--gray-50); }
.section--dark {
  background: var(--purple-800);
  color: var(--white);
}
.section--darker {
  background: var(--purple-900);
  color: var(--white);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: var(--space-4);
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold-500);
  flex-shrink: 0;
}

.section-header { margin-bottom: var(--space-12); }

.section-header h2 {
  margin-bottom: var(--space-4);
}

.text-center { text-align: center; }
.text-center p { margin-left: auto; margin-right: auto; }

/* Gold Heading Accent */
.heading-accent {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Dark section headings */
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--darker h2,
.section--darker h3 {
  color: var(--white);
}
.section--dark .lead,
.section--dark p,
.section--darker p,
.section--darker .lead {
  color: var(--purple-200);
}
.section--dark .section-label,
.section--darker .section-label { color: var(--gold-400); }
.section--dark .section-label::before,
.section--darker .section-label::before { background: var(--gold-400); }

/* Grid helpers */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-8); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }

/* --- Image Placeholders --- */
.img-ph {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--purple-700) 0%, var(--purple-800) 50%, var(--purple-900) 100%);
}

.img-ph::before {
  content: '';
  display: block;
  padding-top: 62.5%; /* 16:10 default */
}

.img-ph--square::before { padding-top: 100%; }
.img-ph--4x3::before { padding-top: 75%; }
.img-ph--16x9::before { padding-top: 56.25%; }
.img-ph--tall::before { padding-top: 120%; }

.img-ph--teal {
  background: linear-gradient(135deg, var(--purple-700) 0%, #0a3d35 50%, var(--teal-500) 100%);
}
.img-ph--gold {
  background: linear-gradient(135deg, var(--purple-800) 0%, #3a2a00 50%, #6b5000 100%);
}
.img-ph--warm {
  background: linear-gradient(135deg, #3a0a1a 0%, var(--purple-800) 50%, #1a0a30 100%);
}
.img-ph--dance {
  background: linear-gradient(135deg, #1a0040 0%, #0d003a 30%, #00134d 100%);
}
.img-ph--music {
  background: linear-gradient(135deg, #1a2a00 0%, #0a1a00 40%, #001a0d 100%);
}
.img-ph--visual {
  background: linear-gradient(135deg, #2a1a00 0%, #1a0500 40%, #3a0028 100%);
}

.img-ph__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  color: rgba(255,255,255,0.4);
}

.img-ph__icon {
  width: 40px;
  height: 40px;
  opacity: 0.5;
}

.img-ph__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.5;
}

/* Decorative circles on placeholders */
.img-ph::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 60%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius-full);
  transition: all var(--ease);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  line-height: 1.5;
}

.btn--primary {
  background: var(--gold-500);
  color: var(--purple-900);
  border-color: var(--gold-500);
}
.btn--primary:hover {
  background: var(--gold-400);
  border-color: var(--gold-400);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

.btn--secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn--secondary:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--gold-500);
  border-color: var(--gold-500);
}
.btn--outline:hover {
  background: var(--gold-500);
  color: var(--purple-900);
  transform: translateY(-1px);
}

.btn--dark {
  background: var(--purple-700);
  color: var(--white);
  border-color: var(--purple-700);
}
.btn--dark:hover {
  background: var(--purple-600);
  transform: translateY(-1px);
}

.btn--lg {
  padding: var(--space-4) var(--space-10);
  font-size: var(--text-base);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background var(--ease-md), box-shadow var(--ease-md);
}

.nav--scrolled {
  background: rgba(30, 10, 76, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav--light {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.nav--light .nav__logo-art { color: var(--purple-800); }
.nav--light .nav__logo-text { color: var(--gray-600); }
.nav--light .nav__link { color: var(--gray-800); }
.nav--light .nav__link:hover,
.nav--light .nav__link.active { color: var(--purple-700); }
.nav--light .nav__toggle span { background: var(--purple-800); }

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
  text-decoration: none;
}

.nav__logo-art {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 900;
  color: var(--gold-500);
  letter-spacing: -0.02em;
}

.nav__logo-text {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  line-height: 1.2;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  margin-left: auto;
}

.nav__link {
  display: block;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  border-radius: var(--radius);
  transition: all var(--ease);
  white-space: nowrap;
}

.nav__link:hover,
.nav__link.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.nav__link--cta {
  background: var(--gold-500);
  color: var(--purple-900) !important;
  font-weight: 700;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  margin-left: var(--space-2);
}

.nav__link--cta:hover {
  background: var(--gold-400) !important;
  color: var(--purple-900) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  border-radius: var(--radius);
  cursor: pointer;
  background: none;
  border: none;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--ease);
}

.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--purple-900);
  padding-top: var(--nav-height);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(0, 191, 165, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 20% 70%, rgba(212, 175, 55, 0.1) 0%, transparent 60%),
    linear-gradient(135deg, #0D0520 0%, #1E0A4C 40%, #2A1560 70%, #0D1A3A 100%);
  pointer-events: none;
}

/* Decorative geometric elements */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero__orb--1 {
  width: 600px; height: 600px;
  right: -150px; top: -100px;
  background: radial-gradient(circle, rgba(0, 191, 165, 0.06) 0%, transparent 70%);
}
.hero__orb--2 {
  width: 400px; height: 400px;
  left: -80px; bottom: -80px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
}

/* Sankofa decorative ring */
.hero__ring {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: min(50vw, 560px);
  height: min(50vw, 560px);
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.hero__ring::before {
  content: '';
  position: absolute;
  width: 80%;
  height: 80%;
  border-radius: 50%;
  border: 1px solid rgba(0, 191, 165, 0.06);
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding: var(--space-24) 0;
  max-width: 720px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-400);
  margin-bottom: var(--space-6);
}
.hero__eyebrow::before {
  content: '';
  width: 32px; height: 2px;
  background: var(--teal-400);
  flex-shrink: 0;
}

.hero__headline {
  font-size: var(--text-hero);
  font-weight: 900;
  color: var(--white);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
}

.hero__headline .line { display: block; }

.hero__headline .accent {
  display: block;
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-300) 50%, var(--gold-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: var(--text-xl);
  color: rgba(255,255,255,0.7);
  max-width: 56ch;
  line-height: 1.55;
  margin-bottom: var(--space-10);
}

.hero__cta { margin-bottom: var(--space-16); }

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
}

.hero__badge {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.hero__badge-num {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--gold-500);
  line-height: 1;
}

.hero__badge-text {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.3;
  max-width: 80px;
}

/* Scroll Indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255,255,255,0.35);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}

.hero__scroll-arrow {
  width: 20px; height: 20px;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* --- Impact Metrics --- */
.metrics {
  background: var(--purple-800);
  padding: var(--space-12) 0;
}

.metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}

.metric {
  text-align: center;
  padding: var(--space-6);
  border-right: 1px solid rgba(255,255,255,0.08);
}
.metric:last-child { border-right: none; }

.metric__num {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--gold-500);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.metric__label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--ease-md), box-shadow var(--ease-md);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card__body {
  padding: var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card__label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-500);
  margin-bottom: var(--space-3);
}

.card__title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-3);
}

.card__text {
  color: var(--gray-600);
  font-size: var(--text-sm);
  line-height: 1.65;
  flex: 1;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--purple-700);
  font-weight: 600;
  font-size: var(--text-sm);
  margin-top: var(--space-5);
  transition: gap var(--ease);
}
.card__link:hover { gap: var(--space-3); }
.card__link svg { transition: transform var(--ease); }
.card__link:hover svg { transform: translateX(3px); }

/* --- Programs --- */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.program-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--ease-md), box-shadow var(--ease-md);
  border: 1px solid var(--gray-200);
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.program-card__body {
  padding: var(--space-6);
}

.program-card__icon {
  width: 48px; height: 48px;
  margin-bottom: var(--space-4);
}

.program-card__title {
  font-size: var(--text-xl);
  color: var(--purple-800);
  margin-bottom: var(--space-3);
}

.program-card__text {
  color: var(--gray-600);
  font-size: var(--text-sm);
  line-height: 1.65;
}

.program-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.tag {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
  background: var(--purple-100);
  color: var(--purple-700);
}

.tag--gold { background: var(--gold-100); color: #7a5f00; }
.tag--teal { background: var(--teal-100); color: #007a6a; }

/* --- Sankofa Theme Section --- */
.theme-section {
  background: var(--purple-800);
  position: relative;
  overflow: hidden;
}

.theme-section::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 70%;
  height: 140%;
  background: radial-gradient(ellipse, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.theme-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.theme-symbol {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-symbol__svg {
  width: min(80%, 400px);
  height: auto;
  opacity: 0.85;
}

.theme-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.theme-pillar {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.theme-pillar__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold-500);
  flex-shrink: 0;
  margin-top: 6px;
}

.theme-pillar__text {
  font-size: var(--text-sm);
  color: var(--purple-200);
  font-weight: 500;
}

/* --- Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 200px;
  gap: var(--space-3);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
}

.gallery-item:nth-child(4n+1) { grid-row: span 2; }
.gallery-item:nth-child(5n+3) { grid-column: span 2; }

.gallery-item .img-ph {
  width: 100%;
  height: 100%;
  border-radius: 0;
}
.gallery-item .img-ph::before { display: none; }
.gallery-item .img-ph::after { display: none; }

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 5, 32, 0.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--ease-md);
  display: flex;
  align-items: flex-end;
  padding: var(--space-4);
}

.gallery-item:hover .gallery-item__overlay { opacity: 1; }

.gallery-item__caption {
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: 500;
}

/* Gallery Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}

.modal.open { display: flex; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 5, 32, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}

.modal__content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.modal__close {
  position: fixed;
  top: var(--space-6);
  right: var(--space-6);
  z-index: 2001;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: background var(--ease);
}
.modal__close:hover { background: rgba(255,255,255,0.2); }

/* --- Sponsor Tiers --- */
.sponsor-wall {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.sponsor-tier { text-align: center; }

.sponsor-tier__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
}

.sponsor-tier__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
}

/* Diamond */
.sponsor-tier--diamond .sponsor-tier__label {
  background: linear-gradient(135deg, #1a1200, #3d2e00);
  color: var(--gold-300);
  border: 1px solid var(--gold-500);
  font-size: var(--text-sm);
  padding: var(--space-2) var(--space-6);
}

.sponsor-card--diamond {
  width: min(100%, 600px);
  padding: var(--space-8);
  background: linear-gradient(135deg, #1a1200 0%, #2d2000 50%, #1a0a00 100%);
  border: 2px solid var(--gold-500);
  border-radius: var(--radius-xl);
  box-shadow: 0 0 60px rgba(212, 175, 55, 0.2);
}

.sponsor-card--diamond .sponsor-card__name {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  color: var(--gold-400);
  margin-bottom: var(--space-2);
}

/* Platinum */
.sponsor-tier--platinum .sponsor-tier__label {
  background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
  color: #E0E0E0;
  border: 1px solid #aaaaaa;
}

.sponsor-card--platinum {
  width: min(100%, 400px);
  padding: var(--space-6);
  background: linear-gradient(135deg, #111111 0%, #222222 100%);
  border: 1.5px solid #888888;
  border-radius: var(--radius-xl);
}

.sponsor-card--platinum .sponsor-card__name {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: #D0D0D0;
}

/* Gold */
.sponsor-tier--gold .sponsor-tier__label {
  background: linear-gradient(135deg, #2d2000, #4d3800);
  color: var(--gold-400);
  border: 1px solid var(--gold-400);
}

.sponsor-card--gold {
  width: min(100%, 320px);
  padding: var(--space-5);
  background: linear-gradient(135deg, #1a1200, #2d1f00);
  border: 1px solid var(--gold-400);
  border-radius: var(--radius-lg);
}

.sponsor-card--gold .sponsor-card__name {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--gold-400);
}

/* Silver */
.sponsor-tier--silver .sponsor-tier__label {
  background: var(--gray-800);
  color: var(--gray-200);
  border: 1px solid var(--gray-400);
}

.sponsor-card--silver {
  width: min(100%, 260px);
  padding: var(--space-4);
  background: var(--gray-800);
  border: 1px solid var(--gray-600);
  border-radius: var(--radius-lg);
}

.sponsor-card--silver .sponsor-card__name {
  font-size: var(--text-lg);
  color: var(--gray-200);
  font-weight: 600;
}

/* Bronze */
.sponsor-tier--bronze .sponsor-tier__label {
  background: linear-gradient(135deg, #1a0a00, #2d1500);
  color: #CD7F32;
  border: 1px solid #CD7F32;
}

.sponsor-card--bronze {
  width: min(100%, 220px);
  padding: var(--space-4);
  background: linear-gradient(135deg, #1a0a00, #2d1500);
  border: 1px solid #CD7F32;
  border-radius: var(--radius-lg);
}

.sponsor-card--bronze .sponsor-card__name {
  font-size: var(--text-base);
  color: #CD7F32;
  font-weight: 600;
}

/* Supporter / Friends */
.sponsor-tier--supporter .sponsor-tier__label,
.sponsor-tier--friends .sponsor-tier__label {
  background: var(--purple-800);
  color: var(--purple-200);
  border: 1px solid var(--purple-600);
}

.sponsor-card--supporter,
.sponsor-card--friends {
  padding: var(--space-3) var(--space-5);
  background: var(--purple-800);
  border: 1px solid var(--purple-600);
  border-radius: var(--radius-lg);
  color: var(--purple-200);
  font-size: var(--text-sm);
  font-weight: 500;
}

.sponsor-card {
  text-align: center;
  transition: transform var(--ease);
}
.sponsor-card:hover { transform: translateY(-2px); }

.sponsor-card__logo {
  width: 80px; height: 80px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  margin: 0 auto var(--space-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.3);
}

.sponsor-card__amount {
  font-size: var(--text-xs);
  opacity: 0.6;
  margin-top: var(--space-1);
}

/* Placeholder sponsor cards */
.sponsor-placeholder {
  opacity: 0.35;
  border-style: dashed !important;
  cursor: default;
}

/* --- Forms --- */
.form-section {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.form-section--dark {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.form-group--full { grid-column: 1 / -1; }

label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray-800);
}

.form-section--dark label { color: rgba(255,255,255,0.8); }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--gray-800);
  transition: border-color var(--ease), box-shadow var(--ease);
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--purple-600);
  box-shadow: 0 0 0 3px rgba(61, 43, 130, 0.12);
}

.form-section--dark input,
.form-section--dark select,
.form-section--dark textarea {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.15);
  color: var(--white);
}

.form-section--dark input::placeholder,
.form-section--dark textarea::placeholder { color: rgba(255,255,255,0.3); }

.form-section--dark input:focus,
.form-section--dark select:focus,
.form-section--dark textarea:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

textarea { resize: vertical; min-height: 120px; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23636366' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }

.form-hint {
  font-size: var(--text-xs);
  color: var(--gray-400);
  margin-top: var(--space-1);
}

.file-upload {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius-lg);
  text-align: center;
  cursor: pointer;
  transition: all var(--ease);
  background: var(--gray-50);
}

.file-upload:hover {
  border-color: var(--purple-400);
  background: var(--purple-100);
}

.file-upload__icon { color: var(--purple-400); margin-bottom: var(--space-3); }
.file-upload__text { font-size: var(--text-sm); color: var(--gray-600); }
.file-upload__sub { font-size: var(--text-xs); color: var(--gray-400); margin-top: var(--space-1); }
.file-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* --- Summer Intensive Page --- */
.timeline {
  position: relative;
  padding-left: var(--space-10);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold-500), var(--teal-500));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-8);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-2.5rem - 6px);
  top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gold-500);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 3px var(--gold-500);
}

.timeline-item__time {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-500);
  margin-bottom: var(--space-2);
}

.timeline-item__title {
  font-size: var(--text-xl);
  color: var(--purple-800);
  margin-bottom: var(--space-2);
}

.timeline-item__text { color: var(--gray-600); font-size: var(--text-sm); }

/* Disciplines grid */
.disciplines-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
}

.discipline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-5);
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: all var(--ease-md);
}

.discipline-item:hover {
  border-color: var(--purple-400);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.discipline-item__icon {
  width: 52px; height: 52px;
  background: var(--purple-100);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-700);
}

.discipline-item__name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--purple-800);
}

/* Eligibility cards */
.eligibility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.eligibility-item {
  padding: var(--space-6);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
}

.eligibility-item__icon {
  width: 40px; height: 40px;
  background: rgba(212, 175, 55, 0.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  margin-bottom: var(--space-4);
}

.eligibility-item__title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-2);
}

.eligibility-item__text { font-size: var(--text-sm); color: var(--purple-200); }

/* --- Story Page --- */
.story-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.story-split--flipped .story-split__visual { order: -1; }

.stat-row {
  display: flex;
  gap: var(--space-8);
  margin-top: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid var(--gray-200);
}

.stat-item {}
.stat-item__num {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--purple-700);
  line-height: 1;
}
.stat-item__label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-600);
  margin-top: var(--space-2);
}

/* Quote block */
.pull-quote {
  position: relative;
  padding: var(--space-8) var(--space-8) var(--space-8) var(--space-10);
  border-left: 4px solid var(--gold-500);
  background: var(--purple-100);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  margin: var(--space-8) 0;
}

.pull-quote__mark {
  font-family: var(--font-heading);
  font-size: 80px;
  line-height: 0;
  position: absolute;
  top: 40px;
  left: 12px;
  color: var(--gold-500);
  opacity: 0.4;
}

.pull-quote__text {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-style: italic;
  color: var(--purple-800);
  line-height: 1.4;
  max-width: 100%;
}

.pull-quote__attribution {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray-600);
}

/* Alumni section */
.alumni-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

.alumni-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.06);
}

.alumni-item__icon {
  color: var(--gold-500);
  flex-shrink: 0;
  margin-top: 2px;
}

.alumni-item__text {
  font-size: var(--text-sm);
  color: var(--purple-200);
  line-height: 1.5;
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  background: var(--purple-900);
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-height) + var(--space-16)) 0 var(--space-16);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(0, 191, 165, 0.06) 0%, transparent 60%),
              radial-gradient(ellipse 40% 60% at 10% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero__inner { position: relative; z-index: 1; }

.page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-400);
  margin-bottom: var(--space-5);
}

.page-hero__title {
  font-size: var(--text-5xl);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: var(--space-5);
}

.page-hero__sub {
  font-size: var(--text-xl);
  color: rgba(255,255,255,0.6);
  max-width: 60ch;
  line-height: 1.55;
}

/* --- Testimonial --- */
.testimonial {
  background: var(--purple-800);
  padding: var(--space-10);
  border-radius: var(--radius-xl);
  position: relative;
  border: 1px solid rgba(212, 175, 55, 0.15);
}

.testimonial::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 120px;
  line-height: 0;
  position: absolute;
  top: 50px;
  left: 24px;
  color: var(--gold-500);
  opacity: 0.15;
}

.testimonial__text {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-style: italic;
  color: rgba(255,255,255,0.9);
  line-height: 1.5;
  margin-bottom: var(--space-6);
  max-width: 100%;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.testimonial__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-600), var(--teal-500));
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
}

.testimonial__name { font-weight: 700; color: var(--white); font-size: var(--text-sm); }
.testimonial__role { font-size: var(--text-xs); color: var(--gold-400); margin-top: 2px; }

/* Video placeholder */
.video-ph {
  position: relative;
  background: var(--purple-900);
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
}

.video-ph::before { content: ''; display: block; padding-top: 56.25%; }

.video-ph__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  background: linear-gradient(135deg, var(--purple-900) 0%, #1a0a3d 100%);
}

.video-ph__play {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  border: 2px solid var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-500);
  transition: all var(--ease);
}

.video-ph:hover .video-ph__play {
  background: var(--gold-500);
  color: var(--purple-900);
  transform: scale(1.08);
}

.video-ph__label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* --- Reach/Regions --- */
.regions-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

.region-badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}

.region-badge__flag { font-size: var(--text-lg); }

/* --- Footer --- */
.footer {
  background: var(--purple-900);
  color: rgba(255,255,255,0.65);
  padding: var(--space-16) 0 var(--space-8);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: var(--space-8);
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--gold-500);
  display: block;
  margin-bottom: var(--space-4);
}

.footer__brand p {
  font-size: var(--text-sm);
  line-height: 1.65;
  max-width: 36ch;
  margin-bottom: var(--space-6);
}

.footer__social {
  display: flex;
  gap: var(--space-3);
}

.footer__social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: all var(--ease);
}

.footer__social-link:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--purple-900);
}

.footer__col h4 {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--space-5);
}

.footer__col ul { display: flex; flex-direction: column; gap: var(--space-3); }

.footer__col a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  transition: color var(--ease);
}
.footer__col a:hover { color: var(--gold-400); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.3);
}

.footer__bottom a { color: var(--gold-500); }

/* --- PWA Install Banner --- */
.pwa-banner {
  position: fixed;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 1500;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: var(--space-4) var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  max-width: 420px;
  width: calc(100% - 2rem);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid var(--gray-200);
}

.pwa-banner.show { transform: translateX(-50%) translateY(0); }

.pwa-banner__icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-lg);
  background: var(--purple-800);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pwa-banner__content { flex: 1; }
.pwa-banner__title { font-weight: 700; font-size: var(--text-sm); color: var(--gray-800); }
.pwa-banner__sub { font-size: var(--text-xs); color: var(--gray-600); margin-top: 2px; }
.pwa-banner__actions { display: flex; gap: var(--space-2); flex-shrink: 0; }

.pwa-banner__btn-install {
  padding: var(--space-2) var(--space-4);
  background: var(--purple-800);
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background var(--ease);
}
.pwa-banner__btn-install:hover { background: var(--purple-600); }

.pwa-banner__btn-dismiss {
  padding: var(--space-2);
  color: var(--gray-400);
  cursor: pointer;
  border: none;
  background: none;
  font-size: var(--text-lg);
  line-height: 1;
  transition: color var(--ease);
}
.pwa-banner__btn-dismiss:hover { color: var(--gray-800); }

/* --- Breadcrumb --- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--space-5);
}
.breadcrumb a { color: rgba(255,255,255,0.4); transition: color var(--ease); }
.breadcrumb a:hover { color: var(--gold-400); }
.breadcrumb__sep { opacity: 0.3; }
.breadcrumb__current { color: rgba(255,255,255,0.7); }

/* --- Accordion --- */
.accordion { border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--gray-200); }

.accordion-item { border-bottom: 1px solid var(--gray-200); }
.accordion-item:last-child { border-bottom: none; }

.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-5) var(--space-6);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--gray-800);
  cursor: pointer;
  background: var(--white);
  border: none;
  text-align: left;
  transition: background var(--ease);
}

.accordion-trigger:hover { background: var(--gray-50); }
.accordion-trigger.open { color: var(--purple-700); }

.accordion-trigger__icon {
  width: 20px; height: 20px;
  color: var(--gray-400);
  transition: transform var(--ease);
  flex-shrink: 0;
}
.accordion-trigger.open .accordion-trigger__icon { transform: rotate(180deg); }

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content.open { max-height: 400px; }
.accordion-content__inner {
  padding: 0 var(--space-6) var(--space-5);
  font-size: var(--text-sm);
  color: var(--gray-600);
  line-height: 1.7;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .metrics__grid { grid-template-columns: repeat(2, 1fr); }
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .disciplines-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .theme-inner { gap: var(--space-10); }
  .story-split { gap: var(--space-10); }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  .nav__toggle { display: flex; }

  .nav__links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--purple-900);
    flex-direction: column;
    gap: 0;
    padding: var(--space-4) 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all var(--ease-md);
    align-items: stretch;
    margin-left: 0;
  }

  .nav__links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  }

  .nav__link {
    padding: var(--space-4) var(--space-6);
    border-radius: 0;
    color: rgba(255,255,255,0.8) !important;
    font-size: var(--text-base);
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  .nav__link--cta {
    margin: var(--space-4) var(--space-6);
    border-radius: var(--radius-full) !important;
    text-align: center;
  }

  .hero__headline { letter-spacing: -0.01em; }
  .hero__badges { gap: var(--space-5); }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .programs-grid { grid-template-columns: 1fr; }
  .metrics__grid { grid-template-columns: repeat(2, 1fr); }
  .disciplines-grid { grid-template-columns: repeat(2, 1fr); }
  .theme-inner { grid-template-columns: 1fr; }
  .theme-symbol { display: none; }
  .story-split { grid-template-columns: 1fr; }
  .story-split--flipped .story-split__visual { order: unset; }
  .eligibility-grid { grid-template-columns: 1fr; }
  .alumni-list { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .form-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid > * { grid-column: unset !important; grid-row: unset !important; }
  .gallery-item .img-ph::before { display: block; }
  .stat-row { gap: var(--space-6); }
  .section { padding: var(--space-16) 0; }

  .page-hero__title { font-size: var(--text-4xl); }

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

@media (max-width: 480px) {
  .metrics__grid { grid-template-columns: repeat(2, 1fr); }
  .disciplines-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__cta .btn-group { flex-direction: column; }
  .hero__cta .btn { width: 100%; justify-content: center; }
}

/* --- Utility Classes --- */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.full-width { width: 100%; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-4 { gap: var(--space-4); }

/* Apply page specifics */
.apply-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-12);
  align-items: start;
}

@media (max-width: 900px) {
  .apply-layout { grid-template-columns: 1fr; }
}

.apply-sidebar {
  background: var(--purple-800);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 1px solid rgba(255,255,255,0.06);
}

.apply-sidebar__title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-4);
}

.sidebar-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.sidebar-list__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--purple-200);
}

.sidebar-list__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-500);
  flex-shrink: 0;
  margin-top: 7px;
}

/* Success message */
.success-msg {
  display: none;
  padding: var(--space-5);
  background: var(--teal-100);
  border: 1px solid var(--teal-500);
  border-radius: var(--radius-lg);
  color: #005a4f;
  font-size: var(--text-sm);
  font-weight: 500;
  text-align: center;
}
