/* -------------------------------------------------
   Evelyn Dunlap Foundation • Complete CSS File
   -------------------------------------------------
   ▸  Key Enhancements:
      1.  Sophisticated keyframes with elegant motion paths
      2.  Unique animation profiles for each section element
      3.  Subtle parallax and depth effects
      4.  Refined timing functions using custom cubic-bezier curves
      5.  Delicate motion-blur effects for decorative elements
      6.  Precision-timed sequential animations 
      7.  Nuanced hover transitions
      8.  Enhanced 3D perspective transforms
   ------------------------------------------------- */

/* ---------- BASIC RESET & BOX-SIZING ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ---------- GOOGLE FONTS ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600&display=swap');

/* ---------- CSS VARIABLES ---------- */
:root {
  /* Base */
  --dark-bg: #0a0c15;
  --dark-surface: #111827;
  --dark-card: rgba(20, 24, 42, 0.7);
  --glass-card: rgba(26, 32, 56, 0.4);

  /* Brand */
  --royal-blue: #3454d1;
  --royal-blue-light: #4e6be6;
  --soft-pink: #e5a9bc;
  --soft-pink-light: #f6c7d5;

  /* Accent / utility */
  --gold: #d3ad69;
  --gold-light: #e0c79a;
  --accent: #f5f0f7;
  --separator: rgba(255, 255, 255, 0.08);

  /* Text colours */
  --text-primary: #ffffff;
  --text-secondary: #e2e8f0;
  --text-tertiary: #94a3b8;

  /* Shadows */
  --shadow-sm: 0 4px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 10px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 30px 60px rgba(0, 0, 0, 0.2);
  --shadow-elegant: 0 10px 50px rgba(52, 84, 209, 0.15);
  --shadow-soft: 0 10px 30px rgba(229, 169, 188, 0.12);

  /* Focus ring */
  --focus-ring: 0 0 0 3px rgba(52, 84, 209, 0.4);
  --focus-ring-soft: 0 0 0 3px rgba(229, 169, 188, 0.4);

  /* Z-index */
  --z-under-2: -2;
  --z-under-1: -1;
  --z-base: 0;
  --z-content: 1;
  --z-overlay: 2;
  --z-float: 3;
  --z-front: 4;
  --z-control: 10;
  --z-floating-ui: 100;
  --z-header: 1000;
  --z-mobile-nav: 1100;
  --z-mobile-toggle: 1101;
  --z-progress: 1200;
  --z-modal: 2000;
  --z-banner: 9999;

  /* Easing - upgraded with sophisticated curves */
  --ease-slow: 0.9s cubic-bezier(0.19, 1, 0.22, 1);
  --ease-med: 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  --ease-fast: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  /* Additional timing functions for variety */
  --ease-gentle: 0.7s cubic-bezier(0.645, 0.045, 0.355, 1);
  --ease-bounce: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-smooth: 1s cubic-bezier(0.33, 1, 0.68, 1);
  --ease-reveal: 1.2s cubic-bezier(0.77, 0, 0.175, 1);

  /* Unified scales — surface, blur, motion, typography */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  --blur-xs: 6px;
  --blur-sm: 12px;
  --blur-md: 22px;
  --blur-lg: 40px;
  --blur-xl: 60px;

  --lift-sm: -3px;
  --lift-md: -6px;
  --lift-lg: -10px;

  --tracking-tight: -0.018em;
  --tracking-normal: 0;
  --tracking-wide: 0.08em;
  --tracking-eyebrow: 0.18em;

  /* Surface tokens — cohesive glass treatment */
  --surface-glass: rgba(22, 28, 50, 0.55);
  --surface-glass-strong: rgba(16, 22, 42, 0.7);
  --surface-border: rgba(255, 255, 255, 0.07);
  --surface-border-strong: rgba(255, 255, 255, 0.1);
  --surface-hairline: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0)
  );
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { 
  background: var(--dark-bg); 
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--royal-blue), var(--royal-blue-light));
  border-radius: 8px;
  transition: all 0.3s ease;
}
::-webkit-scrollbar-thumb:hover { 
  background: linear-gradient(to bottom, var(--royal-blue-light), var(--soft-pink)); 
}

/* ---------- SCROLL PROGRESS ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: var(--z-progress);
  pointer-events: none;
}

.scroll-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--royal-blue-light), var(--soft-pink));
  box-shadow: 0 0 12px rgba(78, 107, 230, 0.4);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.15s linear;
}

/* ---------- GLOBAL ---------- */
html { 
  scroll-behavior: smooth; 
  height: 100%;
  font-size: 13px; /* Base font size for rem calculations */
}
body {
  background-color: var(--dark-bg);
  background-image:
    radial-gradient(circle at 22% 18%, rgba(52, 84, 209, 0.06) 0%, transparent 65%),
    radial-gradient(circle at 78% 82%, rgba(229, 169, 188, 0.045) 0%, transparent 68%);
  color: var(--text-primary);
  font-family: 'Montserrat', sans-serif;
  line-height: 1.65;
  font-size: 16px; /* Default font size for body text */
  font-weight: 350;
  letter-spacing: 0.005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a,
button,
.btn,
.link,
.nav-link,
.mobile-nav-link,
.footer-bottom-link,
.footer-social-icon,
.donation-banner-btn,
.donation-banner-close,
.mobile-toggle {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* ---------- TYPOGRAPHY ---------- */
h1,h2,h3,h4,h5,h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  margin-bottom: 1rem;
  line-height: 1.18;
  letter-spacing: var(--tracking-tight);
}

h1 { font-size: clamp(2.5rem, 7vw, 4.25rem); line-height: 1.05; }
h2 { font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.1; }
h3 { font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1.18; }
h4 { font-size: clamp(1.2rem, 3vw, 1.5rem); }
h5 { font-size: clamp(1rem, 2vw, 1.2rem); }
h6 { font-size: 1rem; }

p { margin-bottom: 1rem; }

.text-gradient {
  background: linear-gradient(135deg, var(--royal-blue-light), var(--soft-pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
  transform: translateZ(0); /* Promotes to its own compositing layer */
  transition: background-position 1.4s cubic-bezier(0.33,1,0.68,1);
  background-size: 200% 100%;
  background-position: 0 0;
}

.text-gradient:hover {
  background-position: 100% 0;
}

/* Enhanced text selection */
::selection {
  background: rgba(52, 84, 209, 0.3);
  color: var(--text-primary);
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

/* ---------- CONTAINERS ---------- */
.container { 
  width: 100%; 
  max-width: 1400px; 
  margin-inline: auto; 
  padding-inline: clamp(1rem, 5vw, 3rem); /* Responsive padding */
  position: relative;
}

main { /* Added main tag for semantic structure */
    display: block; /* Ensure it behaves as a block element */
}
.scholarship-page-section .form-control {
  background-color: rgba(40, 44, 65, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: white !important;
  padding: 12px 15px !important;
  margin-bottom: 15px !important;
  width: 100% !important;
  display: block !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 0.9rem !important;
  border-radius: 4px !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
}
/* Focus state */
.scholarship-page-section .form-control:focus {
  border-color: var(--royal-blue) !important;
  box-shadow: 0 0 0 3px rgba(52, 84, 209, 0.2) !important;
  outline: none !important;
}

/* Placeholder color */
.scholarship-page-section .form-control::placeholder {
  color: rgba(255, 255, 255, 0.4) !important;
}

/* Section styles */
.scholarship-page-section .form-section {
  margin-bottom: 30px !important;
  padding-bottom: 30px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  display: block !important;
}

/* Form group styles */
.scholarship-page-section .form-group {
  margin-bottom: 20px !important;
  display: block !important;
  opacity: 1 !important;
}

/* Label styles */
.scholarship-page-section .form-label {
  display: block !important;
  margin-bottom: 8px !important;
  color: var(--text-secondary) !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  opacity: 1 !important;
}

/* Form container */
.scholarship-page-section .form-container {
  background-color: rgba(20, 24, 42, 0.7) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 8px !important;
  padding: 30px !important;
  margin-bottom: 50px !important;
  box-shadow: var(--shadow-lg) !important;
  display: block !important;
}

/* Text area specific */
.scholarship-page-section textarea.form-control {
  min-height: 120px !important;
  resize: vertical !important;
}

/* Checkbox specific */
.scholarship-page-section input[type="checkbox"] {
  display: inline-block !important;
  width: auto !important;
  margin-right: 10px !important;
  vertical-align: middle !important;
}

/* Form agreement container */
.scholarship-page-section .form-agreement {
  display: flex !important;
  align-items: flex-start !important;
  margin: 25px 0 !important;
}

.scholarship-page-section .form-agreement label {
  margin-top: 0 !important;
  color: var(--text-secondary) !important;
  font-size: 0.9rem !important;
}

/* Submit button */
.scholarship-page-section .form-submit {
  background: linear-gradient(135deg, var(--royal-blue), var(--royal-blue-light)) !important;
  color: white !important;
  border: none !important;
  padding: 12px 30px !important;
  font-weight: 600 !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.scholarship-page-section .form-submit:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 20px rgba(52, 84, 209, 0.2) !important;
}

/* Submit container */
.scholarship-page-section .form-submit-container {
  text-align: center !important;
  margin-top: 30px !important;
}

/* Form row for multi-column layout */
.scholarship-page-section .form-row {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
  gap: 15px !important;
  margin-bottom: 15px !important;
}

/* Form help text */
.scholarship-page-section .form-help {
  color: var(--text-tertiary) !important;
  font-size: 0.8rem !important;
  margin-top: 5px !important;
  display: block !important;
}

/* File inputs */
.scholarship-page-section input[type="file"].form-control {
  padding: 8px 12px !important;
}

/* Form section titles */
.scholarship-page-section .form-section-title {
  color: var(--soft-pink) !important;
  margin-bottom: 20px !important;
  font-size: 1.2rem !important;
  display: block !important;
}

/* Success message styling */
.scholarship-page-section #formStatusMessage {
  margin-top: 25px !important;
  padding: 15px !important;
  border-radius: 6px !important;
  text-align: center !important;
}

/* Success state */
.scholarship-page-section #formStatusMessage.success {
  background-color: rgba(76, 175, 80, 0.2) !important;
  color: #4CAF50 !important;
  border: 1px solid rgba(76, 175, 80, 0.3) !important;
}

/* Error state */
.scholarship-page-section #formStatusMessage.error {
  background-color: rgba(244, 67, 54, 0.2) !important;
  color: #f44336 !important;
  border: 1px solid rgba(244, 67, 54, 0.3) !important;
}

/* Custom styling for date inputs */
.scholarship-page-section input[type="date"].form-control {
  padding-right: 10px !important;
}

/* Animation fix */
.scholarship-page-section .form-group,
.scholarship-page-section .form-control,
.scholarship-page-section .form-label {
  animation: none !important;
  opacity: 1 !important;
}
.section {
  padding: clamp(4rem, 9vh, 7rem) 0;
  position: relative;
  overflow: hidden; /* Contains child elements and decorative blobs */
  z-index: var(--z-content);
  scroll-margin-top: calc(7rem + 52px);
}

.section.quote-section {
  padding: clamp(1rem, 2vh, 1.5rem) 0;
}

.quote-section + .scholarship-section {
  padding-top: clamp(1rem, 2vh, 1.5rem);
}

.section-title-container {
  margin-bottom: clamp(2rem, 5vh, 3rem); /* Reduced margin */
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-title {
  position: relative;
  text-align: center;
  margin-bottom: 0.5rem;
  z-index: var(--z-content);
  will-change: auto;
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.12;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}
.form-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background-color: rgba(10, 12, 21, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-modal);
    opacity: 0;
    visibility: hidden;
    transition: all var(--ease-med);
    overflow-y: auto;
    padding: 2rem;
}

.form-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.form-popup {
    background-color: var(--dark-card);
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    max-height: 90dvh;
    overflow-y: auto;
    position: relative;
    transform: translateY(30px) scale(0.95);
    opacity: 0;
    transition: all var(--ease-med);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-xl);
}

.form-popup-overlay.active .form-popup {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.popup-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: var(--z-control);
    transition: all var(--ease-fast);
}

.popup-close:hover {
    background-color: var(--royal-blue);
    color: white;
    transform: rotate(90deg);
}

.popup-close:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

.apply-button-container {
    text-align: center;
    margin-top: 2.5rem;
    animation: fadeUp 0.7s 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    opacity: 0;
}

.section-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  color: var(--soft-pink);
  margin-bottom: 1.1rem;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.section-subtitle::before,
.section-subtitle::after {
  content: '';
  width: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--soft-pink), transparent);
  opacity: 0.6;
}

.section-description {
  max-width: 660px;
  text-align: center;
  margin: 0 auto 1.5rem; /* Reduced bottom margin */
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.section-title-decoration {
  height: 1px;
  width: 72px;
  background: linear-gradient(to right, transparent, var(--soft-pink), transparent);
  margin: 1.25rem auto 1.5rem;
  opacity: 0.7;
}

/* ---------- DECORATIVE BLOBS (PARALLAX) ---------- */
.decorative-element {
  position: absolute;
  border-radius: 50%;
  filter: blur(var(--blur-xl));
  opacity: 0.1;
  z-index: var(--z-under-1); /* Behind content */
  pointer-events: none; /* Not interactive */
  transition: transform 1.2s cubic-bezier(0.33,1,0.68,1),
              opacity 1.2s ease-out;
}

.decorative-element.is-paused {
  animation-play-state: paused;
}

.blue-glow {
  background-color: var(--royal-blue);
  width: 280px;
  height: 280px;
  animation: floatBlobBlue 28s ease-in-out infinite, morphBlobBlue 36s ease-in-out infinite alternate;
}

.pink-glow {
  background-color: var(--soft-pink);
  width: 240px;
  height: 240px;
  animation: floatBlobPink 32s ease-in-out infinite, morphBlobPink 30s ease-in-out infinite alternate;
}

.gold-glow {
  background-color: var(--gold);
  width: 200px;
  height: 200px;
  animation: floatBlobGold 26s ease-in-out infinite, morphBlobGold 28s ease-in-out infinite alternate;
}

/* Animate each blob differently */
@keyframes floatBlobBlue {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(20px, -15px) rotate(2deg); }
  50% { transform: translate(0, 25px) rotate(0deg); }
  75% { transform: translate(-20px, 10px) rotate(-3deg); }
}

@keyframes floatBlobPink {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-25px, 20px) rotate(-2deg); }
  66% { transform: translate(25px, -15px) rotate(3deg); }
}

@keyframes floatBlobGold {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  30% { transform: translate(15px, 25px) rotate(4deg); }
  60% { transform: translate(-10px, -20px) rotate(-2deg); }
}

/* Subtle shape morphing */
@keyframes morphBlobBlue {
  0% { border-radius: 50%; }
  25% { border-radius: 45% 55% 50% 50% / 55% 45% 55% 45%; }
  50% { border-radius: 60% 40% 45% 55% / 40% 60% 40% 60%; }
  75% { border-radius: 40% 60% 60% 40% / 50% 50% 50% 50%; }
  100% { border-radius: 50%; }
}

@keyframes morphBlobPink {
  0% { border-radius: 50%; }
  33% { border-radius: 60% 40% 40% 60% / 45% 55% 45% 55%; }
  66% { border-radius: 40% 60% 55% 45% / 60% 40% 60% 40%; }
  100% { border-radius: 50%; }
}

@keyframes morphBlobGold {
  0% { border-radius: 50%; }
  50% { border-radius: 55% 45% 50% 50% / 40% 60% 40% 60%; }
  100% { border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%; }
}

/* Hover effect for sections to animate blobs */
.section:hover .decorative-element {
  filter: blur(var(--blur-lg));
}

.section:hover .blue-glow {
  opacity: 0.14;
  transform: scale(1.04);
}

.section:hover .pink-glow {
  opacity: 0.13;
  transform: scale(1.03);
}

.section:hover .gold-glow {
  opacity: 0.12;
  transform: scale(1.05);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 2.3rem;
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-decoration: none;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  color: var(--text-primary);
  background: transparent;
  position: relative;
  overflow: hidden;
  --mx: 50%;
  --my: 50%;
  background-size: 100% 100%;
  background-image: linear-gradient(
    135deg,
    rgba(42, 66, 158, 0.96) 0%,
    rgba(60, 86, 190, 0.96) 58%,
    rgba(78, 106, 214, 0.96) 100%
  );
  background-position: 0% 50%;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 6px 18px rgba(20, 30, 70, 0.3);
  transition: transform var(--ease-fast),
              box-shadow var(--ease-med),
              background-position 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              border-color var(--ease-fast);
  z-index: var(--z-content);
  isolation: isolate; /* New stacking context for ::before */
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0; /* shorthand for top, right, bottom, left = 0 */
  background: linear-gradient(135deg, rgb(42, 66, 158), rgb(70, 96, 200));
  z-index: var(--z-under-2);
  transition: transform var(--ease-med);
}

.btn::after {
  content: '';
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 60%);
  opacity: 0;
  transition: opacity var(--ease-fast);
  z-index: var(--z-under-1);
}

.btn:hover::before {
  transform: scale(1.06);
}

.btn:hover::after {
  opacity: 0.85;
}

.btn:hover {
  transform: translateY(var(--lift-sm));
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    0 18px 50px rgba(52, 84, 209, 0.35),
    0 4px 14px rgba(78, 107, 230, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  background-position: 100% 50%;
}

.btn:active {
  transform: translateY(0);
  box-shadow:
    0 6px 18px rgba(52, 84, 209, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring), var(--shadow-md);
}

.btn-icon {
  transition: transform var(--ease-bounce);
}

.btn:hover .btn-icon {
  transform: translateX(5px);
}

/* Button variants with enhanced animations */
.btn-alt {
  background-image: linear-gradient(
    135deg,
    rgba(211, 173, 105, 0.85) 0%,
    rgba(224, 199, 154, 0.85) 50%,
    rgba(232, 212, 160, 0.85) 100%
  );
  background-position: 0% 50%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-alt::before {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--ease-gentle);
}

.btn-alt:hover {
  box-shadow:
    0 15px 60px rgba(211, 173, 105, 0.35),
    0 5px 20px rgba(224, 199, 154, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  background-position: 100% 50%;
}

.btn-alt:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-alt:focus-visible {
  box-shadow: var(--focus-ring-soft), var(--shadow-soft);
}

.btn-gold::before {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--ease-gentle);
}

.btn-gold:hover::before {
  transform: scaleY(1);
  transform-origin: top;
}

/* Enhanced link animations */
.link {
  color: var(--royal-blue-light);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  padding-bottom: 2px;
  transition: color var(--ease-fast);
}

.link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--soft-pink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--ease-gentle);
}

.link:hover {
  color: var(--soft-pink-light);
}

.link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.link:focus-visible {
  outline: none;
  color: var(--soft-pink);
  box-shadow: 0 2px 0 0 var(--soft-pink); /* Custom focus style */
}

/* ---------- CARDS AND CONTAINERS ---------- */
.glass-card {
  background-color: var(--surface-glass);
  backdrop-filter: blur(var(--blur-md)) saturate(1.05);
  -webkit-backdrop-filter: blur(var(--blur-md)) saturate(1.05);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--ease-med),
              box-shadow var(--ease-med),
              border-color var(--ease-med);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 18px 40px rgba(0, 0, 0, 0.25);
}

.glass-card:hover {
  border-color: var(--surface-border-strong);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 28px 60px rgba(20, 30, 70, 0.32),
    0 8px 24px rgba(229, 169, 188, 0.08);
  transform: translateY(var(--lift-md));
}

.card {
  background-color: var(--dark-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--ease-med),
              box-shadow var(--ease-med),
              border-color var(--ease-med);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 18px 40px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--surface-border);
}

.card:hover {
  border-color: var(--surface-border-strong);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 28px 60px rgba(20, 30, 70, 0.3);
  transform: translateY(var(--lift-md));
}

/* ---------- HDR POP HIGHLIGHTS ---------- */
.hdr-pop {
  position: relative;
  isolation: isolate;
}

.hdr-pop::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 55%),
    radial-gradient(100% 80% at 100% 0%, rgba(52, 84, 209, 0.13), rgba(52, 84, 209, 0) 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(0, 0, 0, 0.18) 100%);
  opacity: 0.28;
  mix-blend-mode: screen;
  pointer-events: none;
  transition: opacity var(--ease-med), transform var(--ease-med);
}

.hdr-pop:hover::before {
  opacity: 0.45;
  transform: translateY(-1%);
}

.card-content {
  padding: 2rem;
}

.card-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform var(--ease-med), filter var(--ease-fast);
  display: block;
  filter: saturate(1.05) contrast(1.04);
}

.card:hover .card-img {
  transform: scale(1.08);
  filter: brightness(1.08) saturate(1.1) contrast(1.05);
}

/* Grid Layouts */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* ---------- HEADER / NAV ---------- */
header {
  position: fixed;
  width: 100%;
  top: 52px; /* Account for donation banner */
  left: 0;
  z-index: var(--z-header);
  transition: background-color var(--ease-med),
              box-shadow var(--ease-med),
              border-color var(--ease-med),
              backdrop-filter var(--ease-med),
              padding var(--ease-med);
  padding: 1.25rem 0;
}

/* When donation banner is hidden or scroll-hidden */
.donation-banner.hidden ~ header,
.donation-banner.scroll-hidden ~ header,
body:has(.donation-banner.hidden) header,
body:has(.donation-banner.scroll-hidden) header,
body.banner-collapsed header {
  top: 0;
}

body.banner-collapsed .section {
  scroll-margin-top: 7rem;
}

#applicationForm {
  scroll-margin-top: calc(7rem + 52px);
}

body.banner-collapsed #applicationForm {
  scroll-margin-top: 7rem;
}

header.scrolled {
  background-color: rgba(10, 12, 21, 0.72);
  backdrop-filter: blur(var(--blur-md)) saturate(1.15);
  -webkit-backdrop-filter: blur(var(--blur-md)) saturate(1.15);
  border-bottom: 1px solid var(--surface-border);
  padding: 0.85rem 0;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 12px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  transition: transform var(--ease-med);
}

.logo:hover {
  transform: scale(1.02);
}

.logo-icon { /* If you have a separate icon for the logo */
  height: 35px;
  margin-right: 12px;
}

.logo-text {
  position: relative;
}

.logo-text::after { /* Underline effect for logo text */
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, var(--royal-blue), var(--soft-pink));
  transform-origin: right;
  transform: scaleX(0);
  transition: transform var(--ease-med);
}

.logo:hover .logo-text::after {
  transform-origin: left;
  transform: scaleX(1);
}

.header-logo-img {
  height: 156px;
  width: auto;
  display: block;
  transition: filter var(--ease-med), height var(--ease-med);
}

header.scrolled .header-logo-img {
  height: 96px;
}

.logo:hover .header-logo-img {
  filter: brightness(1.08) drop-shadow(0 0 10px rgba(78, 107, 230, 0.4));
}

.logo:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: 4px; /* Added for better focus visibility */
}


.navbar {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2.1rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: color var(--ease-fast);
  padding-bottom: 5px; /* Space for underline */
  position: relative;
}

.nav-link:hover {
  color: var(--text-primary);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, var(--royal-blue), var(--soft-pink));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--ease-gentle);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-item.active .nav-link {
  color: var(--soft-pink);
}

.nav-item.active .nav-link::after {
  transform: scaleX(1);
  background: linear-gradient(to right, var(--soft-pink), var(--soft-pink-light));
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), background 0.5s ease;
}

.nav-link:focus-visible {
  outline: none;
  color: var(--text-primary);
  box-shadow: 0 2px 0 0 var(--soft-pink); /* Custom focus style */
}

.nav-cta {
  margin-left: 2rem;
}

/* Mobile drawer and toggle rules live in mobile-enhancements.css. */

/* ---------- HERO SECTION ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin-top: 0; /* Remove any default margin */
  padding-top: calc(7rem + 52px); /* Account for fixed header height + donation banner */
  box-sizing: border-box; /* Include padding in height calculation */
  z-index: var(--z-base);
}

/* Adjust when banner is closed or scroll-hidden */
.donation-banner.hidden ~ .hero,
.donation-banner.scroll-hidden ~ .hero,
body:has(.donation-banner.hidden) .hero,
body:has(.donation-banner.scroll-hidden) .hero,
body.banner-collapsed .hero {
  padding-top: 7rem;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none;
  z-index: var(--z-content); /* Above fallback */
  filter: none;
  opacity: 0.82;
  transition: none;
  will-change: auto;
}

.hero-fallback {
  position: absolute;
  inset: 0;
  z-index: var(--z-base);
  background:
    radial-gradient(circle at 25% 20%, rgba(52, 84, 209, 0.2), transparent 60%),
    radial-gradient(circle at 75% 70%, rgba(229, 169, 188, 0.18), transparent 65%),
    linear-gradient(135deg, rgba(10, 12, 21, 0.9), rgba(10, 12, 21, 0.7)),
    url("images/study.webp") center/cover no-repeat;
  opacity: 1;
  transition: opacity 0.6s var(--ease-med);
  pointer-events: none;
}

.hero-aurora {
  position: absolute;
  inset: -15%;
  z-index: var(--z-content);
  opacity: 0.35;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 18% 28%, rgba(88, 118, 255, 0.42), transparent 62%),
    radial-gradient(55% 45% at 82% 22%, rgba(229, 169, 188, 0.34), transparent 66%),
    radial-gradient(60% 60% at 50% 84%, rgba(120, 200, 255, 0.26), transparent 72%),
    linear-gradient(120deg, rgba(52, 84, 209, 0.13), rgba(229, 169, 188, 0.1));
  mix-blend-mode: screen;
  filter: blur(50px) saturate(1.15);
  transform: translateZ(0);
  transition: opacity 1.8s var(--ease-gentle);
  animation: auroraDrift 32s ease-in-out infinite alternate;
  will-change: auto;
}

.hero.video-playing .hero-aurora {
  opacity: 0.45;
}

.hero-mesh {
  position: absolute;
  inset: -20%;
  z-index: var(--z-content);
  opacity: 0.22;
  pointer-events: none;
  background:
    radial-gradient(45% 55% at 15% 20%, rgba(52, 84, 209, 0.3), transparent 70%),
    radial-gradient(55% 45% at 85% 30%, rgba(229, 169, 188, 0.26), transparent 68%),
    radial-gradient(50% 50% at 50% 80%, rgba(120, 200, 255, 0.18), transparent 72%),
    radial-gradient(45% 45% at 35% 65%, rgba(100, 120, 200, 0.2), transparent 65%);
  mix-blend-mode: soft-light;
  filter: blur(70px) saturate(1.08);
  transform: translateZ(0);
  transition: opacity 1.8s var(--ease-gentle);
  animation: meshDrift 38s ease-in-out infinite alternate;
  will-change: auto;
}

.hero.video-playing .hero-mesh {
  opacity: 0.3;
}

.hero-orbs {
  position: absolute;
  inset: -10%;
  z-index: var(--z-content);
  opacity: 0.18;
  pointer-events: none;
  background:
    radial-gradient(35% 35% at 18% 30%, rgba(255, 255, 255, 0.16), transparent 65%),
    radial-gradient(28% 30% at 82% 22%, rgba(88, 118, 255, 0.18), transparent 70%),
    radial-gradient(32% 34% at 70% 78%, rgba(229, 169, 188, 0.16), transparent 72%),
    radial-gradient(22% 24% at 35% 70%, rgba(120, 200, 255, 0.13), transparent 68%);
  mix-blend-mode: screen;
  filter: blur(28px) saturate(1.05);
  transform: translateZ(0);
  transition: opacity 1.8s var(--ease-gentle);
  animation: orbDrift 34s ease-in-out infinite alternate;
  will-change: auto;
}

.hero.video-playing .hero-orbs {
  opacity: 0.22;
}

.hero.video-playing .hero-fallback {
  opacity: 0;
}

.hero:hover .hero-video {
  filter: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 20%, rgba(52, 84, 209, 0.18), transparent 55%),
    radial-gradient(circle at 80% 75%, rgba(229, 169, 188, 0.12), transparent 60%),
    linear-gradient(135deg,
      rgba(10, 12, 21, 0.8) 0%,
      rgba(10, 12, 21, 0.5) 50%,
      rgba(10, 12, 21, 0.85) 100%);
  opacity: 0.95;
  transition: opacity 1.5s var(--ease-gentle);
  z-index: var(--z-overlay); /* Above video/fallback */
  will-change: opacity;
}

.hero:hover .hero-overlay {
  opacity: 0.9;
}

/* Cool sophisticated tint with royal blue and silver */
.hero-tint {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-overlay);
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: soft-light;
  background:
    radial-gradient(circle at 30% 25%, rgba(52, 84, 209, 0.28), transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(100, 120, 200, 0.18), transparent 55%),
    linear-gradient(180deg,
      rgba(52, 84, 209, 0.12) 0%,
      rgba(180, 190, 220, 0.08) 50%,
      rgba(52, 84, 209, 0.15) 100%);
  transition: opacity 2s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: opacity;
  animation: coolTintShift 15s ease-in-out infinite alternate;
}

.hero.video-playing .hero-tint {
  opacity: 1;
}

@keyframes coolTintShift {
  0% {
    background:
      radial-gradient(circle at 30% 25%, rgba(52, 84, 209, 0.28), transparent 50%),
      radial-gradient(circle at 70% 60%, rgba(100, 120, 200, 0.18), transparent 55%),
      linear-gradient(180deg,
        rgba(52, 84, 209, 0.12) 0%,
        rgba(180, 190, 220, 0.08) 50%,
        rgba(52, 84, 209, 0.15) 100%);
  }
  50% {
    background:
      radial-gradient(circle at 35% 30%, rgba(78, 107, 230, 0.25), transparent 52%),
      radial-gradient(circle at 65% 55%, rgba(150, 160, 210, 0.15), transparent 57%),
      linear-gradient(180deg,
        rgba(78, 107, 230, 0.1) 0%,
        rgba(52, 84, 209, 0.09) 50%,
        rgba(100, 120, 200, 0.12) 100%);
  }
  100% {
    background:
      radial-gradient(circle at 28% 22%, rgba(100, 120, 200, 0.22), transparent 48%),
      radial-gradient(circle at 72% 63%, rgba(52, 84, 209, 0.2), transparent 53%),
      linear-gradient(180deg,
        rgba(180, 190, 220, 0.11) 0%,
        rgba(78, 107, 230, 0.07) 50%,
        rgba(52, 84, 209, 0.13) 100%);
  }
}

@keyframes auroraDrift {
  0% { transform: translate3d(-2%, -1%, 0) scale(1); }
  50% { transform: translate3d(1.5%, 1%, 0) scale(1.04); }
  100% { transform: translate3d(-1%, 2%, 0) scale(1.02); }
}

@keyframes meshDrift {
  0% { transform: translate3d(1%, -1%, 0) scale(1); }
  50% { transform: translate3d(-1.5%, 1%, 0) scale(1.05); }
  100% { transform: translate3d(1%, 2%, 0) scale(1.02); }
}

@keyframes orbDrift {
  0% { transform: translate3d(-1%, 1%, 0) scale(1); }
  50% { transform: translate3d(1.5%, -1%, 0) scale(1.04); }
  100% { transform: translate3d(-1%, 2%, 0) scale(1.02); }
}

@keyframes heroHalo {
  0% { transform: scale(1); opacity: 0.35; }
  50% { transform: scale(1.05); opacity: 0.55; }
  100% { transform: scale(1.02); opacity: 0.45; }
}

/* Silver light scatter for depth */
.hero-light-scatter {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  z-index: var(--z-float);
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.08), transparent 35%),
    radial-gradient(circle at 85% 20%, rgba(180, 190, 220, 0.12), transparent 40%),
    radial-gradient(circle at 50% 85%, rgba(100, 120, 200, 0.06), transparent 38%);
  mix-blend-mode: screen;
  filter: blur(50px);
  transition: opacity 2.5s cubic-bezier(0.19, 1, 0.22, 1);
  animation: lightDrift 18s ease-in-out infinite;
}

.hero.video-playing .hero-light-scatter {
  opacity: 0.75;
}

@keyframes lightDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(-2%, 1.5%) scale(1.04); }
  50% { transform: translate(1.5%, -1.5%) scale(0.98); }
  75% { transform: translate(-1.5%, 2%) scale(1.02); }
}

.hero-decorative-element {
  position: absolute;
  z-index: var(--z-float); /* Above overlay, below content */
  will-change: auto;
}

.hero-content {
  max-width: 1000px;
  text-align: center;
  padding: 2rem 1rem 6rem; /* Bottom padding to avoid scroll indicator overlap */
  position: relative;
  z-index: var(--z-front); /* Above overlay */
  will-change: auto;
}

.hero-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  color: var(--soft-pink);
  margin: 0 auto 1.75rem;
  padding: 0.5rem 1.1rem;
  display: inline-block;
  border: 1px solid rgba(229, 169, 188, 0.22);
  border-radius: var(--radius-pill);
  background: rgba(229, 169, 188, 0.06);
  backdrop-filter: blur(var(--blur-xs));
  -webkit-backdrop-filter: blur(var(--blur-xs));
}

.hero-title {
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  z-index: var(--z-content);
  text-shadow: 0 12px 32px rgba(10, 12, 21, 0.55);
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}

.hero-title-soft {
  font-weight: 500;
}

.hero-title::before {
  content: '';
  position: absolute;
  inset: -28% -10%;
  background:
    radial-gradient(60% 70% at 30% 40%, rgba(88, 118, 255, 0.32), transparent 70%),
    radial-gradient(55% 60% at 70% 60%, rgba(229, 169, 188, 0.26), transparent 72%);
  opacity: 0.38;
  filter: blur(48px);
  z-index: var(--z-under-1);
  pointer-events: none;
}

.hero-title .text-gradient {
  background-size: 220% 100%;
  background-position: 0% 50%;
  will-change: auto;
  font-weight: 600;
  text-shadow:
    0 0 14px rgba(88, 118, 255, 0.32),
    0 0 24px rgba(229, 169, 188, 0.22);
  transition: background-position 2.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-title:hover .text-gradient {
  background-position: 100% 50%;
}


.hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem); /* Responsive font size */
  max-width: 800px;
  margin: 0 auto 2rem;
  color: var(--text-secondary);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  align-items: center;
  max-width: 720px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-primary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: var(--z-front); /* Above other hero elements */
  cursor: pointer;
  margin: 0; /* Reset margin */
  width: auto; /* Intrinsic width */
}

.hero-scroll:hover {
  opacity: 0.8; /* Slight fade on hover */
}

.scroll-text {
  margin-bottom: 0.5rem;
  animation: pulseOpacity 2s ease-in-out infinite;
}

.scroll-icon {
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  position: relative;
  transition: border-color var(--ease-fast);
}

.hero-scroll:hover .scroll-icon {
  border-color: rgba(255, 255, 255, 0.5);
}

.scroll-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background-color: var(--text-primary);
  border-radius: 50%;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollDown 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

.hero-scroll .fas { /* If using Font Awesome for an arrow */
  margin-top: 0.5rem;
  font-size: 1.2rem;
  animation: bounce 2s infinite;
}


/* ---------- ABOUT SECTION ---------- */
.about-section {
  position: relative;
}

.about-blue-glow {
  top: -150px;
  right: -100px;
}

.about-pink-glow {
  bottom: -100px;
  left: -150px;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text {
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--ease-slow);
}

.about-text.animated {
  animation: fadeLeft var(--ease-reveal) forwards;
}

.about-highlight {
  color: var(--soft-pink);
  font-weight: 500;
}

.about-mission,
.about-history,
.about-inspiration {
  margin-bottom: 2rem; /* Reduced from 2.5rem */
}

.about-mission-title,
.about-history-title,
.about-inspiration-title {
  margin-bottom: 0.75rem; /* Reduced from 1rem */
  opacity: 0;
}

.about-mission-title { color: var(--royal-blue-light); }
.about-history-title { color: var(--soft-pink); }
.about-inspiration-title { color: var(--gold); }

.about-text.animated .about-mission-title {
  animation: fadeLeft 0.7s 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.about-text.animated .about-history-title {
  animation: fadeLeft 0.7s 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.about-text.animated .about-inspiration-title {
  animation: fadeLeft 0.7s 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.about-image {
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--ease-slow);
}

.about-image.animated {
  animation: zoom var(--ease-reveal) forwards;
}

.about-img-wrapper {
  position: relative;
  z-index: var(--z-content);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--ease-med), filter var(--ease-fast);
  -webkit-mask-image: radial-gradient(
    ellipse 75% 75% at center,
    black 15%,
    rgba(0, 0, 0, 0.7) 30%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.1) 70%,
    transparent 85%
  );
  mask-image: radial-gradient(
    ellipse 75% 75% at center,
    black 15%,
    rgba(0, 0, 0, 0.7) 30%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.1) 70%,
    transparent 85%
  );
}

.about-img-wrapper:hover .about-img {
  transform: scale(1.08);
  filter: brightness(1.1);
}

/* Refined image decoration */
.about-img-decoration{
  position:absolute;
  bottom:1.5rem;
  left:50%;
  top:auto;
  transform:translateX(-50%);
  background:rgba(10, 12, 21, 0.65);
  backdrop-filter:blur(var(--blur-sm));
  -webkit-backdrop-filter:blur(var(--blur-sm));
  color:var(--text-primary);
  font-family:'Cormorant Garamond',serif;
  font-style:italic;
  font-size:1rem;
  font-weight:500;
  letter-spacing:0.02em;
  padding:0.5rem 1.4rem;
  border:1px solid rgba(255, 255, 255, 0.1);
  border-radius:var(--radius-pill);
  white-space:nowrap;
  box-shadow:0 8px 22px rgba(0, 0, 0, 0.3);
  transition:transform var(--ease-med),background var(--ease-med),border-color var(--ease-med);
}

.about-img-wrapper:hover .about-img-decoration{
  transform:translateX(-50%) translateY(-3px);
  border-color:rgba(229, 169, 188, 0.3);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-top: 3rem; /* Reduced from 4rem */
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--ease-slow);
}

.about-stats.animated {
  animation: fadeUp var(--ease-med) 0.3s forwards;
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
  background-color: var(--dark-card);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  transition: all var(--ease-med);
  overflow: hidden;
  position: relative;
  opacity: 0;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--royal-blue), var(--soft-pink));
  transform: translateX(-101%);
  transition: transform var(--ease-reveal);
  z-index: var(--z-content);
}

.stat-item:hover::before {
  transform: translateX(0);
}

.about-stats.animated .stat-item:nth-child(1) { 
  animation: slideUpFade 0.8s 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; 
}
.about-stats.animated .stat-item:nth-child(2) { 
  animation: slideUpFade 0.8s 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; 
}
.about-stats.animated .stat-item:nth-child(3) { 
  animation: slideUpFade 0.8s 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; 
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-elegant);
}

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--royal-blue-light), var(--soft-pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  transition: all var(--ease-med);
}

.stat-item:hover .stat-number {
  transform: scale(1.05);
  text-shadow: 0 0 10px rgba(52, 84, 209, 0.3);
}

.stat-text {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---------- ELEGANCE QUOTE ---------- */
.elegance-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  color: var(--text-primary);
  position: relative;
  padding: 3rem 2.5rem 2.5rem;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  transition: color var(--ease-med);
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  text-shadow: none;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: 0.005em;
}

.elegance-quote::before {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-style: normal;
  font-size: 5rem;
  color: var(--soft-pink);
  opacity: 0.5;
  position: absolute;
  top: -0.4rem;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
  transition: opacity var(--ease-med);
}

.elegance-quote::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--soft-pink), transparent);
  opacity: 0.6;
}

.section:hover .elegance-quote::before {
  opacity: 0.75;
}

/* ---------- SCHOLARSHIP SECTION ---------- */
.scholarship-section {
  position: relative;
}

.scholarship-blue-glow {
  top: 20%;
  right: -100px;
}

.scholarship-pink-glow {
  bottom: 10%;
  left: -150px;
}

.scholarship-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem; /* Reduced from 4rem */
}

.scholarship-info {
  opacity: 0;
  transform: translateX(-30px);
  transition: all var(--ease-slow);
}

.scholarship-info.animated {
  animation: fadeRight var(--ease-reveal) forwards;
}

.scholarship-title {
  margin-bottom: 1.5rem;
  color: var(--royal-blue-light);
  position: relative;
  padding-bottom: 0.5rem;
}
.scholarship-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, var(--royal-blue), var(--soft-pink));
}
.scholarship-info.animated .scholarship-title:nth-of-type(1) {
  animation: fadeRight 0.7s 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.scholarship-info.animated .scholarship-title:nth-of-type(2) {
  animation: fadeRight 0.7s 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.scholarship-info.animated .scholarship-title:nth-of-type(3) {
  animation: fadeRight 0.7s 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.scholarship-guidelines,
.scholarship-dates,
.scholarship-details {
  margin-bottom: 2rem; /* Reduced from 2.5rem */
}

.guidelines-subtitle, .details-subtitle {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.75rem;
  color: var(--soft-pink);
}

.guidelines-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.guidelines-item {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.guidelines-item::before {
  content: '';
  position: absolute;
  top: 0.5em;
  transform: translateY(-50%);
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--soft-pink);
}
.process-timeline {
  position: relative;
  margin: 2rem 0 3rem;
}
.timeline-item {
  display: flex;
  margin-bottom: 1.5rem;
  position: relative;
}

.timeline-marker {
  width: 30px;
  height: 30px;
  background-color: var(--royal-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  flex-shrink: 0;
  margin-right: 1rem;
  position: relative;
  z-index: var(--z-content);
}

.timeline-content {
  padding-top: 0.25rem;
}
.highlight-item {
  display: flex;
  align-items: flex-start;
  background-color: rgba(52, 84, 209, 0.1);
  padding: 1.25rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.highlight-item:hover {
  transform: translateY(-5px);
  background-color: rgba(52, 84, 209, 0.15);
}

.highlight-icon {
  font-size: 1.8rem;
  margin-right: 1rem;
  color: var(--royal-blue-light); /* Added color to icon */
}

.highlight-content h4 {
  margin: 0 0 0.5rem;
  color: var(--text-primary);
}
.highlight-content p {
  margin: 0;
  color: var(--text-secondary);
}

.timeline-content h4 {
  margin: 0 0 0.25rem;
  color: var(--text-primary);
}

.timeline-content p {
  margin: 0;
  color: var(--text-secondary);
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 15px;
  width: 2px;
  background: linear-gradient(to bottom, var(--royal-blue), var(--soft-pink));
}
      
.requirement-icon {
  font-size: 1.2rem;
  margin-right: 0.75rem; /* Increased spacing */
  color: var(--royal-blue-light);
  width: 20px; /* Ensure consistent width for alignment */
  text-align: center;
}        
.application-requirements .guidelines-item {
  display: flex;
  align-items: flex-start; /* Align items to the start */
}
.scholarship-info.animated .guidelines-item:nth-child(1) {
  animation: slideUpFade 0.5s 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.scholarship-info.animated .guidelines-item:nth-child(2) {
  animation: slideUpFade 0.5s 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.scholarship-info.animated .guidelines-item:nth-child(3) {
  animation: slideUpFade 0.5s 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.scholarship-info.animated .guidelines-item:nth-child(4) {
  animation: slideUpFade 0.5s 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.scholarship-info.animated .guidelines-item:nth-child(5) {
  animation: slideUpFade 0.5s 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Key Dates Styling */
.key-dates-container {
  margin: 2rem 0;
}

.key-dates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.key-date-card {
  background-color: var(--surface-glass);
  backdrop-filter: blur(var(--blur-sm));
  -webkit-backdrop-filter: blur(var(--blur-sm));
  border-radius: var(--radius-md);
  padding: 1.6rem 1.5rem;
  text-align: center;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 14px 32px rgba(0, 0, 0, 0.22);
  border: 1px solid var(--surface-border);
  transition: transform var(--ease-med),
              border-color var(--ease-med),
              box-shadow var(--ease-med);
  opacity: 0;
  animation: fadeInUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.scholarship-info.animated .key-date-card:nth-child(1) {
  animation-delay: 0.1s;
}

.scholarship-info.animated .key-date-card:nth-child(2) {
  animation-delay: 0.2s;
}

.scholarship-info.animated .key-date-card:nth-child(3) {
  animation-delay: 0.3s;
}

.scholarship-info.animated .key-date-card:nth-child(4) {
  animation-delay: 0.4s;
}

.key-date-card:hover {
  transform: translateY(var(--lift-md));
  border-color: var(--surface-border-strong);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 24px 50px rgba(0, 0, 0, 0.28);
}

.key-date-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  color: var(--soft-pink);
  font-size: 0.7rem;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
}

.key-date-value {
  color: var(--text-primary);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .key-dates-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .donation-grid {
    grid-template-columns: 1fr;
  }
  .donation-card {
    padding: 1.75rem;
  }
  .donation-giving-header {
    text-align: left;
    margin-bottom: 1rem;
  }
  .donation-info-item {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
  .donation-paypal-form {
    max-width: 100%;
  }
  .donation-card-footnote {
    text-align: left;
  }
  .donation-accepted {
    justify-content: flex-start;
  }
  .donation-support-grid {
    grid-template-columns: 1fr;
  }
  .event-card {
    flex-direction: column;
  }
  .form-control:focus {
    outline: none;
    border-color: var(--royal-blue);
    box-shadow: 0 0 0 3px rgba(52, 84, 209, 0.2);
  }
  .event-date {
    width: 100%;
    padding: 1rem;
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
  }
  .event-year {
    margin-top: 0;
  }
   .about-img-decoration{
    font-size:0.85rem;
    padding:0.5rem 1rem;
  } 
  .key-date-card {
    padding: 1.25rem 1rem;
  }
}

@media (max-width: 480px) {
  .key-dates-grid {
    grid-template-columns: 1fr;
  }
}

.scholarship-form {
  opacity: 0;
  transform: translateX(30px);
  transition: all var(--ease-slow);
}

.scholarship-form.animated {
  animation: fadeLeft var(--ease-reveal) forwards;
}

.form-container {
  background-color: var(--glass-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.form-title {
  margin-bottom: 2rem;
  color: var(--soft-pink);
  text-align: center;
}

.form-group {
  margin-bottom: 1.5rem;
  opacity: 0;
}

.scholarship-form.animated .form-group:nth-child(1) {
  animation: fadeLeft 0.5s 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.scholarship-form.animated .form-group:nth-child(2) {
  animation: fadeLeft 0.5s 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.scholarship-form.animated .form-group:nth-child(3) {
  animation: fadeLeft 0.5s 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.scholarship-form.animated .form-group:nth-child(4) {
  animation: fadeLeft 0.5s 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.scholarship-form.animated .form-group:nth-child(5) {
  animation: fadeLeft 0.5s 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.scholarship-form.animated .form-group:nth-child(6) {
  animation: fadeLeft 0.5s 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.scholarship-form.animated .form-group:nth-child(7) {
  animation: fadeLeft 0.5s 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.form-label {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--separator);
  border-radius: 4px;
  color: var(--text-primary);
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  transition: all var(--ease-fast), box-shadow var(--ease-fast);
  line-height: 1.5;
  position: relative;
  z-index: var(--z-content);
}

.form-control:focus {
  outline: none;
  border-color: var(--royal-blue);
  box-shadow: var(--focus-ring), 0 5px 15px rgba(52, 84, 209, 0.1);
  transform: translateY(-2px);
}

.form-control:focus-visible {
  outline: none;
  border-color: var(--royal-blue);
  box-shadow: var(--focus-ring);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.form-submit:hover::before {
  transform: scale(1.08);
}
.submit-icon {
  margin-right: 0.8rem;
  transition: transform var(--ease-bounce);
}

.form-submit:hover .submit-icon {
  transform: translateX(5px);
}

.form-submit:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring), var(--shadow-md);
}

/* Success Styling */
.submit-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  text-align: center;
}

.success-icon {
  font-size: 4rem;
  color: #4CAF50;
  margin-bottom: 1.5rem;
  animation: scaleUpFromZero 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.success-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}
/* Thank You Page Specific Styles - Add to your existing CSS */
.thank-you-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
}

.thank-you-container {
  background-color: var(--dark-card);
  border-radius: 12px;
  padding: 3rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

.thank-you-icon {
  font-size: 5rem;
  color: var(--royal-blue-light);
  margin-bottom: 1.5rem;
  animation: scaleUpFromHalf 0.6s cubic-bezier(0.17, 0.67, 0.83, 0.67) 0.3s forwards;
  opacity: 0;
  transform: scale(0.5);
}

.thank-you-icon i {
  display: inline-block;
  background: linear-gradient(135deg, var(--royal-blue-light), var(--soft-pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 10px rgba(52, 84, 209, 0.3));
}

.thank-you-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  animation: fadeUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s forwards;
  opacity: 0;
}

.thank-you-message {
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.7s forwards;
  opacity: 0;
}

.thank-you-message p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.what-to-expect {
  text-align: left;
  background-color: rgba(52, 84, 209, 0.1);
  padding: 1.5rem 2rem;
  border-radius: 8px;
  margin-top: 2rem;
  border-left: 3px solid var(--royal-blue);
}

.what-to-expect h2 {
  color: var(--soft-pink);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.what-to-expect ul {
  padding-left: 1.5rem;
}

.what-to-expect li {
  margin-bottom: 0.75rem;
  position: relative;
}

.what-to-expect li::before {
  content: '•';
  color: var(--soft-pink);
  position: absolute;
  left: -1.2rem;
}

.thank-you-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  animation: fadeUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.9s forwards;
  opacity: 0;
}

@keyframes scaleUpFromHalf {
  from {
      opacity: 0;
      transform: scale(0.5);
  }
  to {
      opacity: 1;
      transform: scale(1);
  }
}

.success-message {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
}

.success-btn {
  margin-top: 1rem;
}

@keyframes scaleUpFromZero {
  0% {
      transform: scale(0);
      opacity: 0;
  }
  100% {
      transform: scale(1);
      opacity: 1;
  }
}
.form-submit:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-elegant);
}
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}
.form-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--royal-blue), var(--royal-blue-light));
  z-index: var(--z-under-1);
  transition: transform var(--ease-med);
}
.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--royal-blue), var(--royal-blue-light));
  color: var(--text-primary);
  border: none;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 1px;
  transition: all var(--ease-med);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: var(--z-content);
  isolation: isolate;
}
.scholarship-form.animated .form-submit {
  animation: fadeUp 0.5s 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Form status message styling */
#formStatusMessage {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 4px;
    text-align: center;
    font-weight: 500;
    display: none; /* Hidden by default */
}
#formStatusMessage.success {
    background-color: rgba(76, 175, 80, 0.2); /* Light green */
    color: #4CAF50; /* Green text */
    border: 1px solid #4CAF50;
}
#formStatusMessage.error {
    background-color: rgba(244, 67, 54, 0.2); /* Light red */
    color: #f44336; /* Red text */
    border: 1px solid #f44336;
}


/* Approved Uses */
.approved-uses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0 2rem;
}

.use-category {
  background-color: rgba(229, 169, 188, 0.1);
  padding: 1.25rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.use-category:hover {
  transform: translateY(-5px);
  background-color: rgba(229, 169, 188, 0.15);
}

.use-category h5 {
  display: flex;
  align-items: center;
  margin: 0 0 0.75rem;
  color: var(--text-primary);
}

.use-icon {
  margin-right: 0.5rem;
  color: var(--soft-pink); /* Added color to icon */
}

.use-category ul {
  margin: 0;
  padding-left: 1.5rem;
  color: var(--text-secondary);
}

.use-category li {
  margin-bottom: 0.5rem;
}

/* Important Notice */
.important-notice {
  background-color: rgba(211, 173, 105, 0.1);
  border-left: 4px solid var(--gold);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0 8px 8px 0;
}

.important-notice h4 {
  margin: 0 0 0.75rem;
  color: var(--gold);
}

.important-notice p {
  margin: 0;
  color: var(--text-secondary);
}

/* Quote */
.scholarship-quote {
  text-align: center;
  margin: 3rem 0 1rem;
  padding: 0 2rem;
}

.scholarship-quote blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--text-primary);
  position: relative;
  margin: 0 0 1rem;
}

.scholarship-quote blockquote::before,
.scholarship-quote blockquote::after {
  content: '"';
  font-size: 3rem;
  color: rgba(229, 169, 188, 0.2);
  position: absolute;
  line-height: 0;
}

.scholarship-quote blockquote::before {
  top: 0.5rem;
  left: -1.5rem;
}

.scholarship-quote blockquote::after {
  bottom: 0;
  right: -1.5rem;
}

.scholarship-quote cite {
  font-style: normal;
  color: var(--soft-pink);
}

/* Form Enhancements */
.form-description {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

.form-download {
  text-align: center;
  margin-bottom: 2.5rem;
}

.download-link {
  display: inline-flex;
  align-items: center;
  background-color: rgba(52, 84, 209, 0.1);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  color: var(--royal-blue-light);
  transition: all 0.3s ease;
}

.download-link:hover {
  background-color: rgba(52, 84, 209, 0.2);
  transform: translateY(-2px);
}

.download-icon {
  margin-right: 0.75rem;
  font-size: 1.2rem;
}

.form-section {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--separator);
}

.form-section:last-child {
  border-bottom: none;
}

.form-section-title {
  margin-bottom: 1.25rem;
  color: var(--royal-blue-light);
}

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

.form-help {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-top: 0.5rem;
}

.form-info {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.document-list {
  padding-left: 1.5rem;
  color: var(--text-secondary);
}

.document-list li {
  margin-bottom: 0.5rem;
}

.form-agreement {
  display: flex;
  align-items: flex-start;
  margin: 2rem 0;
}

.form-agreement input {
  margin-top: 0.25rem;
  margin-right: 0.75rem;
}

/* Award Highlights */
.award-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0 2rem;
}

/* ---------- DONATION SECTION ---------- */
.donation-section {
  position: relative;
  padding-bottom: clamp(1.5rem, 3vh, 2.5rem);
}

.donation-blue-glow {
  top: 10%;
  left: -100px;
}

.donation-pink-glow {
  bottom: 30%;
  right: -150px;
}

.donation-container {
  opacity: 1;
  transform: none;
  transition: none;
}

.donation-container.animated {
  animation: none;
}

.donation-impact.donation-impact--hero {
  margin: 0 0 2rem;
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  background: linear-gradient(135deg, rgba(52, 84, 209, 0.12), rgba(20, 24, 42, 0.85));
  border: 1px solid rgba(78, 107, 230, 0.18);
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 1.5rem;
}

.donation-impact.donation-impact--hero::before {
  display: none;
}

.donation-impact-header {
  display: grid;
  gap: 0.75rem;
  max-width: 720px;
  justify-items: center;
  margin-left: auto;
  margin-right: auto;
}

.donation-impact.donation-impact--hero .impact-title {
  margin-bottom: 0;
  text-align: center;
}

.donation-impact.donation-impact--hero .impact-description {
  margin: 0;
  text-align: center;
}

.donation-impact.donation-impact--hero .impact-stats {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  justify-items: center;
}

.donation-impact.donation-impact--hero .impact-stat {
  padding: 1.1rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  text-align: center;
}

.donation-impact.donation-impact--hero .impact-number::after {
  left: 50%;
  transform: translateX(-50%);
}

.donation-impact.donation-impact--hero .impact-text {
  font-size: 0.75rem;
  letter-spacing: 1.2px;
}

.donation-widget {
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  display: grid;
  gap: 1.75rem;
  background: var(--surface-glass-strong);
  backdrop-filter: blur(var(--blur-md)) saturate(1.05);
  -webkit-backdrop-filter: blur(var(--blur-md)) saturate(1.05);
  border: 1px solid var(--surface-border);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 24px 60px rgba(0, 0, 0, 0.32);
}

.donation-widget.glass-card:hover,
.donation-details.glass-card:hover {
  transform: translateY(var(--lift-sm));
  border-color: var(--surface-border-strong);
  filter: none;
}

.donation-widget-header {
  display: grid;
  gap: 0.5rem;
  justify-items: center;
  text-align: center;
}

.donation-widget-title {
  margin: 0 auto;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--text-primary);
  font-family: 'Playfair Display', serif;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  padding-bottom: 0.35rem;
  position: relative;
}

.donation-widget-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 48px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--royal-blue), var(--soft-pink));
  opacity: 0.7;
  transform: translateX(-50%);
}

.donation-widget-subtitle {
  margin: 0;
  color: var(--text-secondary);
  max-width: 640px;
  text-align: center;
}

.donation-flow {
  display: grid;
  gap: 2rem;
}

.donation-step {
  display: grid;
  gap: 1rem;
}

.donation-step-header {
  display: grid;
  gap: 0.35rem;
}

.donation-step-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--soft-pink);
  font-weight: 600;
}

.donation-step-title {
  margin: 0;
  color: var(--text-primary);
  font-size: 1.2rem;
}


.donation-tabs {
  background: rgba(0, 0, 0, 0.18);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  border: 1px solid var(--surface-border);
  display: grid;
  gap: 1rem;
}

.donation-tablist {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 0.4rem;
  border-radius: var(--radius-md);
  background: rgba(5, 7, 14, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
  --tab-gap: 0.5rem;
  --tab-padding: 0.4rem;
  --tab-index: 0;
}

.donation-tablist::before {
  content: '';
  position: absolute;
  top: var(--tab-padding);
  left: var(--tab-padding);
  width: calc((100% - (var(--tab-gap) * 2) - (var(--tab-padding) * 2)) / 3);
  height: calc(100% - (var(--tab-padding) * 2));
  border-radius: 10px;
  background: linear-gradient(135deg, var(--royal-blue), var(--royal-blue-light));
  box-shadow: 0 10px 24px rgba(52, 84, 209, 0.25);
  transform: translateX(calc(var(--tab-index) * (100% + var(--tab-gap))));
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.donation-tablist[data-active="paypal"] {
  --tab-index: 0;
}

.donation-tablist[data-active="daf"] {
  --tab-index: 1;
}

.donation-tablist[data-active="check"] {
  --tab-index: 2;
}

.donation-tab {
  border: none;
  background: transparent;
  color: var(--text-tertiary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  border-radius: var(--radius-sm);
  padding: 0.85rem 0.6rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: color var(--ease-fast);
  position: relative;
  z-index: 1;
  min-height: 44px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.donation-tab i {
  font-size: 1rem;
}

.donation-tab.is-active {
  color: #fff;
  transform: translateY(-1px);
  text-shadow: 0 4px 12px rgba(10, 12, 21, 0.35);
}

.donation-panels {
  display: grid;
  gap: 1rem;
}

.donation-panel {
  display: grid;
  gap: 0.8rem;
  text-align: center;
  align-items: center;
}

.donation-panel.is-active {
  animation: donationPanelSlide 0.45s ease;
}

.donation-panel[hidden] {
  display: none;
}

@keyframes donationPanelSlide {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.donation-panel-note {
  margin: 0 auto;
  color: var(--text-tertiary);
  font-size: 0.85rem;
  line-height: 1.5;
  text-align: center;
  max-width: 420px;
}

.donation-panel .donation-paypal-form {
  max-width: 360px;
  margin: 0 auto;
}

.donation-panel .donation-accepted {
  justify-content: center;
}

.donation-panel .donation-steps {
  width: min(420px, 100%);
  margin: 0 auto;
  text-align: left;
}

.donation-details {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--surface-glass);
  backdrop-filter: blur(var(--blur-md)) saturate(1.05);
  -webkit-backdrop-filter: blur(var(--blur-md)) saturate(1.05);
  border: 1px solid var(--surface-border);
}

.donation-details summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-primary);
}

.donation-details summary::-webkit-details-marker {
  display: none;
}

.donation-details summary i {
  transition: transform var(--ease-med);
}

.donation-details[open] summary i {
  transform: rotate(180deg);
}

.donation-details-body {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 1rem;
}

.donation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
  align-items: start;
}

.donation-card {
  background: var(--glass-card);
  border-radius: 14px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  backdrop-filter: blur(12px);
  text-align: left;
}

.donation-card--primary {
  background: linear-gradient(135deg, rgba(52, 84, 209, 0.22), rgba(20, 24, 42, 0.7));
  border-color: rgba(78, 107, 230, 0.35);
  box-shadow: var(--shadow-elegant);
}

.donation-card--info {
  background: rgba(20, 24, 42, 0.65);
}

.donation-card-header {
  margin-bottom: 0;
  display: grid;
  gap: 0.5rem;
}

.donation-card-body {
  display: grid;
  gap: 1rem;
}

.donation-action {
  display: grid;
  gap: 0.85rem;
  align-items: center;
  justify-items: start;
}

.donation-card .payment-button-container {
  margin-top: 0;
  padding-top: 0;
  justify-content: flex-start;
}

@media (min-width: 900px) {
  .donation-action {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .donation-action .donation-accepted {
    justify-content: flex-end;
  }
}

.donation-card-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--soft-pink);
  margin-bottom: 0.5rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(229, 169, 188, 0.12);
  border: 1px solid rgba(229, 169, 188, 0.25);
}

.donation-card-title {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
}

.donation-card-description {
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

.donation-paypal-form {
  width: 100%;
  max-width: 360px;
  margin: 0;
}

.donation-accepted {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: 0;
}

.donation-accepted img {
  max-width: 200px;
  height: auto;
  opacity: 0.85;
}

.donation-card-footnote {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-top: 0.25rem;
  text-align: left;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.donation-info-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
}

.donation-info-item {
  display: grid;
  grid-template-columns: minmax(110px, 150px) minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.donation-info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.donation-info-item dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-tertiary);
  margin: 0;
}

.donation-info-item dd {
  margin: 0;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.5;
}

.donation-note {
  margin-top: 0;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--separator);
  border-left: 2px solid rgba(229, 169, 188, 0.45);
  color: var(--text-tertiary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.donation-giving {
  margin-bottom: 2.5rem;
}

.donation-giving-header {
  text-align: left;
  max-width: 700px;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.35rem;
}

.donation-support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.donation-support-grid .donation-card {
  padding: 1.75rem;
  gap: 1rem;
}

.donation-support-grid .donation-card-title {
  font-size: 1.25rem;
}

.donation-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
  color: var(--text-secondary);
  counter-reset: donation-step;
}

.donation-steps li {
  position: relative;
  padding-left: 2rem;
  counter-increment: donation-step;
  line-height: 1.55;
}

.donation-steps li::before {
  content: counter(donation-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(52, 84, 209, 0.22);
  border: 1px solid rgba(78, 107, 230, 0.4);
}

.donation-steps strong {
  color: var(--text-primary);
}

.donation-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem; /* Reduced from 4rem */
}

.donation-methods {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 3rem;
  gap: 2rem;
}

.givelify-button-container {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0;
  width: 100%;
}

.givelify-primary-button {
  transition: transform var(--ease-med), box-shadow var(--ease-med);
  display: inline-block;
}

.givelify-primary-button img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 32px;
  box-shadow: var(--shadow-md);
}

.givelify-primary-button:hover {
  transform: translateY(-5px);
}

.givelify-primary-button:hover img {
  box-shadow: var(--shadow-lg);
}

.donation-method {
    background-color: var(--dark-card);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    transition: all var(--ease-med);
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 500px;
    width: 100%;
    text-align: center;
    border: 1px solid rgba(99, 91, 255, 0.1);
    margin: 0 auto 2rem;
}

.donation-method:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(99, 91, 255, 0.3);
}

.donation-method-title {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1.6rem;
}

.donation-method-description {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.payment-button-container {
  margin-top: 1.5rem;
  width: 100%;
  padding-top: 0;
  display: flex;
  justify-content: center;
  opacity: 1;
}

.donation-container.animated .payment-button-container {
  animation: none;
}

.payment-button {
  width: 100%;
  padding: 1.2rem 2rem;
  border-radius: 6px;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  cursor: pointer;
  transition: all var(--ease-med);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  position: relative;
  z-index: var(--z-content);
  overflow: hidden;
  --mx: 50%;
  --my: 50%;
}

.payment-button::after {
  content: '';
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(255,255,255,0.35) 0%, rgba(255,255,255,0) 60%);
  opacity: 0;
  transition: opacity var(--ease-med);
  z-index: var(--z-under-1);
}

.payment-button:hover::after {
  opacity: 1;
}

.payment-button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.paypal-button {
  background-color: #0070BA;
  color: white;
  border: 1px solid #0070BA;
}

.paypal-button:hover {
  background-color: #005ea6;
}

.givelify-button {
  background-color: #FF5D00;
  color: white;
  border: 1px solid #FF5D00;
}

.givelify-button:hover {
  background-color: #e65400;
}

.givelify-instructions {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-tertiary);
  font-style: italic;
}

.stripe-button {
  background-color: #635BFF;
  color: white;
  border: 1px solid #635BFF;
}

.stripe-button::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 60%);
  transform: scale(0);
  transition: transform var(--ease-med);
  z-index: var(--z-under-1);
}

.stripe-button:hover::after {
  transform: scale(1);
}

.stripe-button:hover {
  background-color: #8780FA;
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.payment-button:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring), var(--shadow-lg);
}
/* Modal Styles for Evelyn Dunlap Foundation */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background-color: rgba(10, 12, 21, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: var(--z-modal);
  overflow-y: auto;
  padding: 50px 0;
  transition: all var(--ease-med);
}

.modal-content {
  background-color: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin: 0 auto;
  width: 90%;
  max-width: 900px;
  border-radius: 12px;
  box-shadow: var(--shadow-xl);
  position: relative;
  animation: rotateZoom 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  will-change: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 2.5rem;
  border-bottom: 1px solid var(--separator);
}

.modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 500;
  margin: 0;
  color: var(--soft-pink);
  animation: fadeLeft 0.5s 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  opacity: 0;
}

.modal-close {
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--ease-fast);
  animation: fadeIn 0.5s 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  opacity: 0;
}

.modal-close:hover {
  background-color: var(--royal-blue);
  color: white;
  transform: rotate(90deg);
}

.modal-close:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.modal-body {
  padding: 2.5rem;
  max-height: 70vh;
  max-height: 70dvh;
  overflow-y: auto;
  animation: fadeUp 0.7s 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  opacity: 0;
}

.modal .form-group,
.modal .form-label,
.modal .form-control {
  opacity: 1;
}

.modal .form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.modal .form-control {
  background: rgba(6, 8, 16, 0.55);
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
}

.modal .form-section-title {
  color: var(--soft-pink);
  letter-spacing: -0.01em;
}

/* Application Button Styles */
.application-btn {
  width: 100%;
  padding: 1.2rem 2.4rem;
  background: linear-gradient(135deg, var(--royal-blue), var(--royal-blue-light));
  font-size: 1.1rem;
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  z-index: var(--z-content);
  isolation: isolate;
  transition: all var(--ease-med), box-shadow var(--ease-fast), transform var(--ease-fast);
}

.application-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--royal-blue), var(--royal-blue-light));
  z-index: var(--z-under-1);
  transition: transform var(--ease-med);
}

.application-btn:hover::before {
  transform: scale(1.08);
}

.application-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-elegant);
}

.application-icon {
  margin-right: 0.8rem;
  transition: transform var(--ease-bounce);
}

.application-btn:hover .application-icon {
  transform: translateX(5px);
}

/* Body scroll lock when modal is open */
body.modal-open {
  overflow: hidden;
}

/* Form Status Message Styling */
#formStatusMessage {
  margin-top: 1.5rem;
  padding: 1.2rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
  display: none;
  animation: fadeUp 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

#formStatusMessage.success {
  background-color: rgba(76, 175, 80, 0.1);
  color: #4CAF50;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

#formStatusMessage.error {
  background-color: rgba(244, 67, 54, 0.1);
  color: #f44336;
  border: 1px solid rgba(244, 67, 54, 0.3);
}

/* Custom Scrollbar for Modal Body */
.modal-body::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.modal-body::-webkit-scrollbar-track {
  background: var(--dark-bg);
}

.modal-body::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--royal-blue), var(--royal-blue-light));
  border-radius: 8px;
  transition: all 0.3s ease;
}

.modal-body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, var(--royal-blue-light), var(--soft-pink));
}

.stripe-button img { /* For Stripe logo if used */
  height: 24px;
  width: auto;
}

.donation-alternative {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem;
  background-color: var(--dark-card);
  border-radius: 8px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.donation-alternative h4 {
  margin-bottom: 0.75rem;
  color: var(--soft-pink);
}

.donation-alternative p {
  color: var(--text-secondary);
}

.donation-alternative a {
  color: var(--royal-blue-light);
  text-decoration: none;
  transition: color var(--ease-fast);
}

.donation-alternative a:hover {
  color: var(--soft-pink);
}

.donation-impact {
  background-color: var(--dark-card);
  border-radius: 8px;
  padding: 3rem 2rem; /* Reduced from 4rem 2rem */
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  margin-top: 3rem; /* Reduced from 4rem */
}

.donation-impact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--royal-blue), var(--soft-pink));
  animation: revealWidth 1.5s 0.5s cubic-bezier(0.77, 0, 0.175, 1) forwards;
  width: 0;
}

.impact-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.impact-description {
  max-width: 700px;
  margin: 0 auto 2rem; /* Reduced from 3rem */
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.impact-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}

.impact-stat {
  padding: 1.4rem 1rem;
  opacity: 0;
  overflow: hidden;
  position: relative;
  text-align: center;
  transition: transform var(--ease-med);
}

.impact-stat:hover {
  transform: translateY(var(--lift-sm));
}

.donation-container.animated .impact-stat:nth-child(1) {
  animation: blurIn 0.8s 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.donation-container.animated .impact-stat:nth-child(2) {
  animation: blurIn 0.8s 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.donation-container.animated .impact-stat:nth-child(3) {
  animation: blurIn 0.8s 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.impact-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.6rem, 5vw, 3.2rem);
  font-weight: 500;
  margin-bottom: 0.85rem;
  background: linear-gradient(135deg, var(--text-primary) 20%, var(--soft-pink-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  position: relative;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  transition: transform var(--ease-med);
}

.impact-stat:hover .impact-number {
  transform: scale(1.04);
}

.impact-number::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--soft-pink), transparent);
  border-radius: 0;
  opacity: 0.65;
}

.impact-text {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  font-weight: 500;
  color: var(--text-tertiary);
  margin-top: 0.5rem;
}

.donation-testimonial {
  max-width: 800px;
  margin: 4rem auto 0;
  text-align: center;
  padding: 0 2rem;
}

.donation-testimonial blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--text-primary);
  position: relative;
  margin: 0 0 1rem;
}

.donation-testimonial blockquote::before,
.donation-testimonial blockquote::after {
  content: '"';
  font-size: 3rem;
  color: rgba(229, 169, 188, 0.2);
  position: absolute;
  line-height: 0;
}

.donation-testimonial blockquote::before {
  top: 0.5rem;
  left: -1.5rem;
}

.donation-testimonial blockquote::after {
  bottom: 0;
  right: -1.5rem;
}

.donation-testimonial cite {
  font-style: normal;
  color: var(--soft-pink);
}

/* ---------- EVENTS SECTION ---------- */
.events-section {
  position: relative;
  padding-bottom: clamp(2rem, 4vh, 3rem);
}

.events-blue-glow {
  bottom: 20%;
  right: -150px;
}

.events-pink-glow {
  top: 10%;
  left: -100px;
}

.featured-event {
  margin-bottom: 4rem; /* Reduced from 5rem */
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--ease-slow);
}

.featured-event.animated {
  animation: rotateZoom var(--ease-slow) forwards;
}

.soiree-event {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow-xl);
}

.soiree-date {
  /* Refined positioning */
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  
  /* Luxury glass effect with vibrant gradient */
  background: linear-gradient(135deg, 
                rgba(52, 84, 209, 0.85) 0%, 
                rgba(76, 107, 230, 0.85) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  
  /* Elegant styling */
  color: white;
  padding: 0.9rem 1.6rem;
  font-weight: 600;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.5px;
  
  /* Refined borders and shadows */
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2), 
              inset 0 1px 2px rgba(255, 255, 255, 0.2);
  
  /* Prevent text wrapping/clipping */
  white-space: nowrap;
  max-width: calc(100% - 3rem);
  overflow: visible;
  
  /* Other properties */
  z-index: var(--z-float);
  transition: all var(--ease-med);
}

.soiree-event:hover .soiree-date {
  /* Luxurious hover effect */
  transform: translateY(-5px);
  background: linear-gradient(135deg, 
                rgba(76, 107, 230, 0.9) 0%, 
                rgba(52, 84, 209, 0.9) 100%);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25), 
              inset 0 1px 3px rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.3);
}


.soiree-date::before {
  content: '';
  position: absolute;
  top: -180%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(45deg);
  z-index: var(--z-under-1);
  transition: transform 0.6s ease;
}

.soiree-event:hover .soiree-date::before {
  transform: rotate(45deg) translateY(175%);
}



.soiree-img {
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.soiree-media,
.soiree-video {
  position: absolute;
  inset: 0;
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  transform: none;
  object-fit: cover;
  object-position: center center;
  z-index: var(--z-base);
  filter: saturate(0.96) contrast(1.02) brightness(0.9);
  transition: none;
}

.soiree-event:hover .soiree-media,
.soiree-event:hover .soiree-video {
  filter: saturate(0.96) contrast(1.02) brightness(0.9);
}

.soiree-img::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(10, 12, 21, 0.72) 0%, 
    rgba(10, 12, 21, 0.5) 50%,
    rgba(10, 12, 21, 0.78) 100%);
  z-index: var(--z-content);
  transition: background 1.5s var(--ease-gentle);
}

.soiree-event:hover .soiree-img::before {
  background: linear-gradient(135deg, 
    rgba(10, 12, 21, 0.6) 0%, 
    rgba(10, 12, 21, 0.42) 50%,
    rgba(10, 12, 21, 0.68) 100%);
}

.soiree-img h1,
.soiree-img p {
  position: relative;
  z-index: var(--z-overlay);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.soiree-img h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 1.5rem;
}

.soiree-img p {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-secondary);
}

.soiree-content {
  padding: 2rem; /* Reduced from 3rem */
  background-color: var(--dark-card);
  text-align: center; /* Added to center the RSVP button */
}

.soiree-details {
  margin-bottom: 2rem; /* Reduced from 3rem */
}

.soiree-details-title {
  color: var(--royal-blue-light);
  margin-bottom: 1.5rem;
}

.rsvp-button-container {
  text-align: center;
  margin-top: 1rem;
  opacity: 0;
}

.featured-event.animated .rsvp-button-container {
  animation: fadeUp 0.7s 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.rsvp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--soft-pink), var(--soft-pink-light));
  color: var(--dark-bg);
  border: none;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 1px;
  transition: all var(--ease-med);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  cursor: pointer;
}

.rsvp-button:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  filter: brightness(1.1);
}

.rsvp-icon {
  margin-right: 0.75rem;
  font-size: 1.2em;
}

.rsvp-button:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring), var(--shadow-md);
}

/* Events Calendar */
.events-calendar {
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--ease-slow);
  margin-top: 3rem; /* Reduced from 4rem */
  position: relative;
}

.events-calendar.animated {
  animation: fadeUp var(--ease-reveal) forwards;
}


.calendar-title {
  margin-bottom: 2rem; /* Reduced from 3rem */
  color: var(--text-primary);
  text-align: center;
}

.events-calendar-chip-wrap {
  display: flex;
  justify-content: center;
  margin: -1rem 0 2rem;
}

.events-calendar-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(229, 169, 188, 0.12);
  border: 1px solid rgba(229, 169, 188, 0.25);
  color: var(--text-secondary);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.event-card {
  display: flex;
  background-color: var(--surface-glass);
  backdrop-filter: blur(var(--blur-sm));
  -webkit-backdrop-filter: blur(var(--blur-sm));
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.5rem; /* Reduced from 2rem */
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 18px 40px rgba(0, 0, 0, 0.25);
  transition: transform var(--ease-med),
              box-shadow var(--ease-med),
              border-color var(--ease-med);
  opacity: 0;
  transform: translateY(30px);
  position: relative;
  z-index: var(--z-content);
}

.events-calendar.animated .event-card:nth-of-type(1) {
  animation: fadeUp 0.7s 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.events-calendar.animated .event-card:nth-of-type(2) {
  animation: fadeUp 0.7s 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.events-calendar.animated .event-card:nth-of-type(3) {
  animation: fadeUp 0.7s 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.event-card:hover {
  transform: translateY(var(--lift-md));
  border-color: var(--surface-border-strong);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 28px 60px rgba(20, 30, 70, 0.3);
}

.event-date {
  width: 130px;
  flex-shrink: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, var(--royal-blue), var(--royal-blue-light));
  color: white;
  padding: 2.25rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}


.event-day {
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1;
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: -0.02em;
}

.event-month {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  margin-top: 0.6rem;
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
}

.event-year {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  margin-top: 0.35rem;
  font-weight: 500;
  opacity: 0.7;
  font-family: 'Montserrat', sans-serif;
}

.event-details {
  padding: 2rem;
  flex: 1;
}

.event-title {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.event-time {
  color: var(--soft-pink);
  margin-bottom: 1rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.event-time-icon {
  line-height: 1;
  color: var(--soft-pink); /* Ensure icon color matches text */
}

.event-description {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.event-thanks {
  background: linear-gradient(135deg, rgba(52, 84, 209, 0.1), rgba(229, 169, 188, 0.08));
  border: 1px solid rgba(52, 84, 209, 0.2);
  border-radius: 8px;
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.2rem;
}

.event-thanks-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--royal-blue-light);
  font-weight: 600;
}

.event-thanks-list {
  margin: 0.6rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--text-secondary);
  display: grid;
  gap: 0.5rem;
}

.event-thanks-list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.event-thanks-list li::before {
  content: "•";
  color: var(--soft-pink);
  line-height: 1.1;
}

/* ---------- PARTNERS SECTION ---------- */
.partners-section {
  padding-top: clamp(2rem, 4vh, 3rem);
  position: relative;
}

.partners-gold-glow {
  top: 30%;
  right: -100px;
}

.partners-blue-glow {
  bottom: -100px;
  left: -150px;
}

.partners-container {
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--ease-slow);
}

.partners-container.animated {
  animation: fadeDown var(--ease-reveal) forwards;
}

.partners-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem; /* Reduced from 4rem */
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.partner-card {
  background-color: var(--surface-glass);
  backdrop-filter: blur(var(--blur-sm));
  -webkit-backdrop-filter: blur(var(--blur-sm));
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 18px 40px rgba(0, 0, 0, 0.25);
  transition: transform var(--ease-med),
              box-shadow var(--ease-med),
              border-color var(--ease-med);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(30px);
}

.partners-container.animated .partner-card:nth-child(1) {
  animation: fadeUp 0.7s 0.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.partners-container.animated .partner-card:nth-child(2) {
  animation: fadeUp 0.7s 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.partners-container.animated .partner-card:nth-child(3) {
  animation: fadeUp 0.7s 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.partners-container.animated .partner-card:nth-child(4) {
  animation: fadeUp 0.7s 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.partner-card:hover {
  transform: translateY(var(--lift-md));
  border-color: var(--surface-border-strong);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 28px 60px rgba(20, 30, 70, 0.32);
}

.partner-img-container {
  height: 200px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.partner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--ease-med), filter var(--ease-fast);
  filter: saturate(1.05) contrast(1.04);
}

/* Hover effect now handled by performance-friendly overlay (see Motion System section) */

.partner-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 40%, rgba(10, 12, 21, 0.8));
}

.partner-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.partner-title {
  margin-bottom: 1rem;
  color: var(--royal-blue-light);
  font-size: 1.4rem;
}

.partner-description {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  flex-grow: 1;
}

.partner-content .link {
  margin-top: auto;
  align-self: flex-start;
}

/* ---------- TEAM SECTION ---------- */
.team-section {
  position: relative;
}

.team-blue-glow {
  top: 20%;
  left: -150px;
}

.team-pink-glow {
  bottom: -100px;
  right: -100px;
}

.team-container {
  opacity: 1;
  transform: none;
  transition: none;
}

.team-container.animated {
  animation: none;
}

.team-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem; /* Reduced from 4rem */
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Updated to 3 columns to accommodate 6 board members */
  gap: 2rem;
}

.team-member {
  text-align: center;
  position: relative;
  opacity: 1;
}

.team-container.animated .team-member:nth-child(1) {
  animation: none;
}
.team-container.animated .team-member:nth-child(2) {
  animation: none;
}
.team-container.animated .team-member:nth-child(3) {
  animation: none;
}
.team-container.animated .team-member:nth-child(4) {
  animation: none;
}
.team-container.animated .team-member:nth-child(5) {
  animation: none;
}
.team-container.animated .team-member:nth-child(6) {
  animation: none;
}
.team-container.animated .team-member:nth-child(7) {
  animation: none;
}
.team-container.animated .team-member:nth-child(8) {
  animation: none;
}

.member-img-container {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform var(--ease-med),
              border-color var(--ease-med),
              box-shadow var(--ease-med);
  box-shadow:
    0 0 0 1px rgba(78, 107, 230, 0.18),
    0 0 0 6px rgba(255, 255, 255, 0.025),
    0 18px 40px rgba(0, 0, 0, 0.32);
  z-index: var(--z-content);
}

.team-member:hover .member-img-container {
  transform: translateY(-3px);
  border-color: rgba(229, 169, 188, 0.35);
  box-shadow:
    0 0 0 1px rgba(229, 169, 188, 0.35),
    0 0 0 6px rgba(229, 169, 188, 0.06),
    0 22px 50px rgba(229, 169, 188, 0.22);
}

.member-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: all var(--ease-med);
  transform: scale(.85);
  border-radius: 50%;
  display: block;
  filter: saturate(1.05) contrast(1.04);
  animation: zoom 1.2s 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Specific positioning for Henry's portrait; class-based so board order can change safely. */
.team-member--henry .member-img,
.member-img--henry {
  object-position: center top;
}

/* ---------- SOIREE SLIDESHOW ---------- */
.soiree-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.soiree-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.soiree-slide.active {
  opacity: 1;
}

.soiree-slide img {
  position: absolute;
  inset: 0;
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  transform: none;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.96) contrast(1.02) brightness(0.9);
  transition: none;
}

.soiree-event:hover .soiree-slide img {
  filter: saturate(0.96) contrast(1.02) brightness(0.9);
}

.slideshow-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: var(--z-control);
}

.slideshow-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background-color 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.slideshow-dot.active {
  background: var(--royal-blue-light);
  border-color: var(--royal-blue-light);
}

.slideshow-dot:hover {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.5);
}

.team-member:hover .member-img {
  transform: scale(1.0);
  filter: saturate(1.1) contrast(1.06) brightness(1.02);
}

.member-name {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  opacity: 1;
}

.team-container.animated .member-name {
  animation: none;
}

.member-position {
  font-size: 0.95rem;
  color: var(--soft-pink);
  font-style: italic;
  margin-bottom: 1rem;
  font-weight: 500;
  opacity: 1;
}

.team-container.animated .member-position {
  animation: none;
}

.member-bio {
  font-size: 0.9rem;
  color: var(--text-tertiary);
  line-height: 1.6;
  opacity: 1;
}

.team-container.animated .member-bio {
  animation: none;
}

.member-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
  opacity: 1;
  position: relative;
  z-index: var(--z-content);
}

.team-container.animated .member-social {
  animation: none;
}

.social-link {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  transition: all var(--ease-med);
  text-decoration: none;
  font-size: 0.9rem; /* Adjusted for icon size */
}

.social-link i { /* Style for Font Awesome icons */
    line-height: 1; /* Ensure icon is centered */
}

.social-link:hover {
  background-color: var(--royal-blue);
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(52, 84, 209, 0.2);
}

.social-link:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  background-color: var(--royal-blue);
  color: white;
}

/* ---------- FOOTER STYLES ---------- */
footer {
  background-color: var(--dark-surface);
  padding: 3rem 0 1.5rem; /* Reduced from 5rem 0 2rem */
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--separator);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem; /* Reduced from 4rem */
}

.footer-logo-container {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.footer-logo-img {
  height: 120px;
  width: auto;
  margin-bottom: 1.5rem;
  transition: filter 0.3s ease;
}

.footer-logo:hover .footer-logo-img {
  filter: brightness(1.1) drop-shadow(0 0 8px rgba(52, 84, 209, 0.5));
}

.footer-description {
  color: var(--text-tertiary);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: auto; /* Pushes social icons to the bottom if space allows */
}

.footer-social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1rem; /* Icon size */
  transition: all var(--ease-med);
  text-decoration: none;
}

.footer-social-icon i { /* Style for Font Awesome icons */
    line-height: 1;
}

.footer-social-icon:hover {
  background-color: var(--royal-blue);
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(52, 84, 209, 0.2);
}

.footer-social-icon:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  background-color: var(--royal-blue);
  color: white;
}

.footer-heading {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, var(--royal-blue), var(--soft-pink));
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-link-item {
  margin-bottom: 1rem;
}

.footer-link {
  color: var(--text-tertiary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all var(--ease-fast);
  position: relative;
  padding-left: 1rem; /* Space for pseudo-element */
  display: block; /* Ensure it takes full width for hover effect */
}

.footer-link::before {
  content: '›'; /* Using a chevron character */
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--soft-pink);
  transition: transform var(--ease-fast);
}

.footer-link:hover {
  color: var(--text-primary);
  transform: translateX(5px);
}

.footer-link:hover::before {
  transform: translateY(-50%) translateX(3px); /* Slight move on hover */
}

.footer-link:focus-visible {
  outline: none;
  color: var(--soft-pink);
}

.footer-contact {
  display: flex;
  flex-direction: column;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start; /* Align icon with the start of text */
  margin-bottom: 1rem;
  color: var(--text-tertiary);
  font-size: 0.95rem;
}

.footer-contact-icon {
  margin-right: 1rem;
  color: var(--soft-pink);
  font-size: 1.1rem;
  margin-top: 0.2rem; /* Align icon slightly better with text */
  width: 20px; /* Ensure consistent width for icons */
  text-align: center;
}

.footer-divider {
  height: 1px;
  background: var(--separator);
  margin: 1.5rem 0; /* Reduced from 2rem 0 */
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  gap: 1rem;
  color: var(--text-tertiary);
  font-size: 0.9rem;
}

.footer-copyright a {
  color: var(--soft-pink);
  text-decoration: none;
  transition: color var(--ease-fast);
}

.footer-copyright a:hover {
  color: var(--soft-pink-light);
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-link {
  color: var(--text-tertiary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--ease-fast);
}

.footer-bottom-link:hover {
  color: var(--soft-pink);
}

.footer-bottom-link:focus-visible {
  outline: none;
  color: var(--soft-pink);
  box-shadow: 0 2px 0 0 var(--soft-pink); /* Custom focus style */
}

.footer-blue-glow {
  bottom: -150px;
  right: -100px;
}

.footer-pink-glow {
  top: 30%;
  left: -150px;
  opacity: 0.08;
}

/* ---------- BACK TO TOP BUTTON ---------- */
.back-to-top {
  position: fixed;
  bottom: calc(2rem + env(safe-area-inset-bottom, 0));
  right: calc(2rem + env(safe-area-inset-right, 0));
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, rgba(52, 84, 209, 0.85), rgba(78, 107, 230, 0.85));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  aspect-ratio: 1 / 1;
  appearance: none;
  -webkit-appearance: none;
  opacity: 0;
  transform: translateY(20px) scale(0.92);
  transition: opacity var(--ease-med),
              transform var(--ease-med),
              box-shadow var(--ease-med),
              border-color var(--ease-med);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 14px 30px rgba(20, 30, 70, 0.4);
  z-index: var(--z-floating-ui);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  backdrop-filter: blur(var(--blur-sm));
  -webkit-backdrop-filter: blur(var(--blur-sm));
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  transform: translateY(var(--lift-sm)) scale(1.04);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 22px 44px rgba(20, 30, 70, 0.45);
}

.back-to-top:focus-visible {
  outline: none;
  box-shadow:
    var(--focus-ring),
    0 14px 30px rgba(20, 30, 70, 0.4);
}

/* ---------- ANIMATIONS KEYFRAMES ---------- */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeDown {
  0% {
    opacity: 0;
    transform: translateY(-40px);
    filter: blur(5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes fadeLeft {
  0% {
    opacity: 0;
    transform: translateX(-40px);
    filter: blur(5px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
}

@keyframes fadeRight {
  0% {
    opacity: 0;
    transform: translateX(40px);
    filter: blur(5px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
}

@keyframes zoom {
  0% {
    opacity: 0;
    transform: scale(0.85);
    filter: blur(5px);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

@keyframes rotateZoom {
  0% {
    opacity: 0;
    transform: scale(0.8) rotate(-6deg);
    filter: blur(5px);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
    filter: blur(0);
  }
}

@keyframes blurIn {
  0% {
    opacity: 0;
    filter: blur(15px);
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
}

/* Luxury reveal with blur and scale */
@keyframes luxuryReveal {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.97);
    filter: blur(12px) brightness(0.8);
  }
  60% {
    opacity: 0.8;
    filter: blur(3px) brightness(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0) brightness(1);
  }
}

/* Elegant floating motion */
@keyframes elegantFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

/* Gradient shimmer effect */
@keyframes prismShimmer {
  0%, 100% {
    background-position: 0% 50%;
    filter: brightness(1) saturate(1);
  }
  50% {
    background-position: 100% 50%;
    filter: brightness(1.08) saturate(1.15);
  }
}

@keyframes swingUp {
  0% {
    opacity: 0;
    transform-origin: top;
    transform: rotateX(-90deg);
  }
  100% {
    opacity: 1;
    transform-origin: top;
    transform: rotateX(0);
  }
}

@keyframes slideUpFade {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes revealLeft {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes revealWidth {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes heroShimmer {
  0%, 100% {
    background-position: 0% 50%;
    filter: brightness(1) saturate(1);
  }
  50% {
    background-position: 100% 50%;
    filter: brightness(1.07) saturate(1.08);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes pulseOpacity {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 0.5; }
}

@keyframes scrollDown {
  0% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
  50% {
    opacity: 0;
    transform: translate(-50%, 25px);
  }
  51% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}

/* ---------- RESPONSIVE MEDIA QUERIES ---------- */
@media (max-width: 1200px) {
  .grid-3, .grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  
  .about-content { gap: 3rem; }
  .scholarship-options { gap: 3rem; }
  
  .container {
    max-width: 1140px;
  }
  
  .section-title-container {
    margin-bottom: clamp(2.5rem, 6vh, 3.5rem);
  }
  
  .section {
    padding: clamp(3rem, 6vh, 5rem) 0;
  }
  
  .decorative-element {
    filter: blur(50px);
  }
}

@media (max-width: 992px) {
  :root {
    /* Adjust timing for mobile experience */
    --ease-slow: 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    --ease-med: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    --ease-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .navbar { display: none; }
  
  .container {
    max-width: 960px;
  }

  .grid-2,
  .about-content,
  .scholarship-options,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .about-content { gap: 2rem; }
  .scholarship-options { gap: 3rem; }

  .about-image {
    order: -1; /* Move image above text on smaller screens */
    margin-bottom: 3rem;
  }

  .about-img-wrapper { max-width: 500px; margin: 0 auto; }

  .impact-stats {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .soiree-img { min-height: 400px; }
  .soiree-img h1 { font-size: clamp(2.2rem, 5vw, 3rem); }
  .soiree-img p { font-size: clamp(1rem, 2.5vw, 1.2rem); }
  
  /* Fix slideshow on mobile */
  .soiree-slideshow {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }
  
  .soiree-slide {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }
  
  .soiree-slide:not(.active) {
    display: none !important;
  }

  .section {
    padding: clamp(3rem, 5vh, 4rem) 0;
  }
  
  .card:hover,
  .glass-card:hover,
  .partner-card:hover {
    transform: translateY(-5px);
  }
  
  .footer-content {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
  .modal-content {
    width: 95%;
}

.modal-header {
    padding: 1.5rem 2rem;
}

.modal-body {
    padding: 2rem;
}

.modal-title {
    font-size: 1.6rem;
}

  .container {
    max-width: 720px;
  }

  /* Ensure grids stack to single column */
  .grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .team-grid,
  .partners-grid,
  .about-stats,
  .impact-stats,
  .form-row { /* Form rows also stack */
    grid-template-columns: 1fr;
  }
  
  .hero-content {
    padding: 2rem 1rem 9rem; /* Adjust padding for smaller screens */
  }
  
  .about-stats,
  .impact-stats {
    gap: 1.5rem;
  }

  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }
  
  .hero-description {
    font-size: clamp(0.9rem, 4vw, 1.1rem);
    margin-bottom: 1.5rem;
  }
  
  .hero-buttons {
    gap: 0.8rem;
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%; /* Full width buttons on small screens */
    max-width: 300px; /* Max width for readability */
  }

  .soiree-img h1 { font-size: clamp(2rem, 6vw, 2.7rem); }
  .soiree-img p { font-size: clamp(0.9rem, 3vw, 1.1rem); }
  
  /* Force slideshow behavior on small mobile */
  .soiree-slideshow {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
  }
  
  .soiree-slide {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }
  
  .soiree-slide:not(.active) {
    display: none !important;
  }

  .date-label { width: 120px; } /* If you have such a class */
  .date-item { flex-direction: column; align-items: flex-start; gap: 0.25rem; } /* If you have such a class */

  .event-card { flex-direction: column; }
  .event-date {
    width: 100%;
    padding: 1rem;
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
    border-bottom: 1px solid var(--separator);
  }
  .event-day { font-size: 1.8rem; }
  .event-month { font-size: 0.9rem; }
  
  /* Reduce staggered delays on mobile */
  .about-stats.animated .stat-item:nth-child(2) {
    animation-delay: 0.2s;
  }
  
  .about-stats.animated .stat-item:nth-child(3) {
    animation-delay: 0.3s;
  }
  
  .footer-content {
    grid-template-columns: 1fr; /* Stack footer columns */
    gap: 2.5rem;
  }
  
  .footer-bottom-links {
    flex-direction: column;
    gap: 1rem;
  }
  
  .back-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 45px;
    height: 45px;
  }

  /* Fix gap between events calendar and partners section on mobile */
  .events-section {
    padding-bottom: 2rem;
  }

  .events-calendar {
    margin-top: 2rem;
    margin-bottom: 0;
  }

  .events-calendar .event-card:last-child {
    margin-bottom: 0;
  }

  .partners-section {
    padding-top: 2rem;
  }
}

@media (max-width: 576px) {
  :root {
    /* Even faster animations on smallest screens */
    --ease-slow: 0.7s cubic-bezier(0.19, 1, 0.22, 1);
    --ease-med: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --ease-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .modal {
    padding: 20px 0;
}

.modal-header {
    padding: 1.25rem 1.5rem;
}

  .modal-body {
    padding: 1.5rem;
    max-height: 75vh;
    max-height: 75dvh;
}

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

  .modal .form-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .modal .form-control {
    min-height: 48px;
    font-size: 16px;
  }

.modal-title {
    font-size: 1.4rem;
}

.modal-close {
    width: 36px;
    height: 36px;
    font-size: 1.4rem;
}

.application-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
}


  .container {
    max-width: 540px;
    padding: 0 1rem; /* Standard padding for small screens */
  }

  /* Further reduce animation intensity */
  .card:hover,
  .glass-card:hover,
  .partner-card:hover {
    transform: translateY(-3px);
  }
  
  .section {
    padding: clamp(2.5rem, 4vh, 3.5rem) 0;
  }
  
  /* Minimal staggering on smallest screens */
  .about-stats.animated .stat-item:nth-child(2) {
    animation-delay: 0.15s;
  }
  
  .about-stats.animated .stat-item:nth-child(3) {
    animation-delay: 0.2s;
  }

  .soiree-img { min-height: 350px; padding: 2rem; }
  .soiree-date { font-size: 1rem; padding: 0.8rem 1.2rem; top: 1rem; right: 1rem;}
  
  /* Ensure slideshow works on very small screens */
  .soiree-slideshow {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
  }
  
  .soiree-slide {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }
  
  .soiree-slide:not(.active) {
    display: none !important;
  }

  .stat-number, .impact-number { font-size: clamp(2rem, 8vw, 2.5rem); }
  .stat-text, .impact-text { font-size: 0.8rem; }

  .member-img-container { width: 150px; height: 150px; }

  .social-icon { width: 40px; height: 40px; font-size: 1rem; } /* If you have this class */
  .social-link { width: 30px; height: 30px; font-size: 0.8rem; }

  .form-container { padding: 1.5rem; }
  
  /* Footer adjustments */
  footer { 
    padding: 3rem 0 1.5rem;
  }
  
  .footer-logo-img {
    height: 100px;
  }
  
  .back-to-top {
    width: 40px;
    height: 40px;
    bottom: 1rem;
    right: 1rem;
    font-size: 1.2rem;
  }
}

/* Tablet landscape adjustments */
@media (min-width: 992px) and (max-width: 1199px) {
  .hero-title {
    font-size: clamp(2.3rem, 6vw, 3.5rem);
  }
  
  .hero-description {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
  }
}

/* Larger desktop adjustments */
@media (min-width: 1400px) {
  body {
    font-size: 17px;
  }
  
  .container {
    max-width: 1320px;
  }
  
  .header-logo-img {
    height: 190px;
  }
  
  h1 { font-size: clamp(3rem, 8vw, 4.5rem); }
  h2 { font-size: clamp(2.2rem, 6vw, 3.2rem); }
  h3 { font-size: clamp(1.7rem, 4vw, 2.2rem); }
  
  .section {
    padding: clamp(4rem, 7vh, 6rem) 0;
  }
  
  .btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
  }
  
  .soiree-img {
    min-height: 600px;
  }
}

/* High resolution screens */
@media (min-width: 1800px) {
  body {
    font-size: 18px;
  }
  
  .container {
    max-width: 1600px;
  }
  
  .decorative-element.blue-glow {
    width: 350px;
    height: 350px;
  }
  
  .decorative-element.pink-glow {
    width: 300px;
    height: 300px;
  }
  
  .decorative-element.gold-glow {
    width: 250px;
    height: 250px;
  }
}

/* Print styles */
@media print {
  body {
    background: white;
    color: black;
    font-size: 12pt;
  }
  
  header, footer, .mobile-toggle, .nav-cta, .hero-buttons, .back-to-top { 
    display: none !important;
  }
  
  .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }
  
  h1, h2, h3, h4, h5, h6 {
    color: black;
    page-break-after: avoid;
  }
  
  p, ul, ol, dl, table {
    page-break-inside: avoid;
  }
  
  img {
    max-width: 100% !important;
  }
  
  .card, .glass-card, .partner-card {
    box-shadow: none;
    border: 1px solid #ccc;
  }
  
  .section {
    padding: 1cm 0;
    page-break-inside: avoid;
  }
}

/* Accessibility - reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .donation-tablist::before {
    transition: none !important;
  }
  .donation-panel.is-active {
    animation: none !important;
  }
  .modal-content,
  .modal-title,
  .modal-close,
  .modal-body,
  #formStatusMessage {
      animation: none !important;
      opacity: 1 !important;
      transform: none !important;
      transition: none !important;
  }
  .decorative-element {
    animation: none !important;
  }
  .form-submit-container {
    margin-top: 2rem;
    text-align: center;
}
  .hero-video,
  .soiree-media,
  .soiree-video {
    object-fit: cover; /* Ensure proper video fitting */
    filter: brightness(0.35); /* Darkened for better text visibility */
  }

  .hero-aurora {
    animation: none !important;
    opacity: 0.35;
  }

  .hero-mesh {
    animation: none !important;
    opacity: 0.25;
  }

  .hero-orbs {
    animation: none !important;
    opacity: 0.2;
  }

  .hero-title::before {
    animation: none !important;
    opacity: 0.35;
  }
  
  .hero-overlay {
    opacity: 1 !important;
    background: var(--dark-bg) !important;
  }

  .soiree-img::before {
    opacity: 1 !important;
    background:
      linear-gradient(180deg, rgba(5, 7, 13, 0.02) 0%, rgba(5, 7, 13, 0.08) 44%, rgba(5, 7, 13, 0.66) 100%),
      linear-gradient(90deg, rgba(5, 7, 13, 0.2) 0%, transparent 62%) !important;
  }
  
  .scroll-dot {
    animation: none !important;
  }
  
  .text-gradient {
    animation: none !important;
  }

  .scroll-progress-bar {
    transition: none !important;
  }
  
  .btn::before {
    transition: none !important;
  }
  
  .card:hover, 
  .glass-card:hover, 
  .partner-card:hover,
  .btn:hover {
    transform: none !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --royal-blue: #0000ff;
    --royal-blue-light: #4444ff;
    --soft-pink: #ff6699;
    --soft-pink-light: #ff99cc;
    --gold: #cc9900;
    --gold-light: #ddaa00;
    --text-primary: #ffffff;
    --text-secondary: #ffffff;
    --text-tertiary: #dddddd;
    --separator: rgba(255, 255, 255, 0.3);
  }
  
  .card, .glass-card {
    background-color: #000000;
    border: 1px solid white;
  }
  
  .text-gradient {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    color: #ffffff;
  }
  
  .btn::before,
  .form-control,
  .footer-newsletter-input {
    background: #000000;
    border: 1px solid white;
  }
  
  .stat-number,
  .impact-number {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    color: #ffffff;
  }
}

/* ========================================
   UNIFIED MOTION SYSTEM
   ======================================== */

/* Motion Primitives - Consistent reveal animations across the site */
[data-animate] {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 900ms var(--ease-reveal),
    transform 900ms var(--ease-reveal);
  will-change: auto;
}

[data-animate="fade-left"] {
  transform: translate3d(-24px, 0, 0);
}

[data-animate="fade-right"] {
  transform: translate3d(24px, 0, 0);
}

[data-animate="zoom"] {
  transform: scale(0.96);
}

[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger children in a grid/list */
[data-animate-stagger] > * {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
}

[data-animate-stagger].is-visible > * {
  opacity: 1;
  transform: none;
  filter: blur(0);
  transition:
    opacity 700ms var(--ease-reveal) var(--d, 0ms),
    transform 700ms var(--ease-reveal) var(--d, 0ms),
    filter 700ms var(--ease-reveal) var(--d, 0ms);
}

/* 3D Tilt + Spotlight Effect for Cards */
@media (hover: hover) and (pointer: fine) {
  .tilt-card {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .tilt-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
      circle at var(--mx, 50%) var(--my, 50%),
      rgba(255,255,255,0.14),
      transparent 55%
    );
    opacity: 0;
    transition: opacity 250ms ease;
    pointer-events: none;
    border-radius: inherit;
    z-index: var(--z-content);
  }

  .tilt-card:hover::after {
    opacity: 1;
  }
}

/* Nav Indicator */
.nav-indicator {
  position: absolute;
  bottom: -8px;
  height: 2px;
  width: 0;
  background: linear-gradient(to right, var(--royal-blue), var(--soft-pink));
  border-radius: 2px;
  transition: transform 450ms var(--ease-gentle), width 450ms var(--ease-gentle), opacity 200ms ease;
  opacity: 0.9;
  pointer-events: none;
}

/* Performance-friendly hover effects (replacing blur) */
.partner-img-container::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 20%, rgba(10,12,21,0.55));
  opacity: 0.6;
  transition: opacity var(--ease-fast);
  pointer-events: none;
  border-radius: inherit;
}

.partner-card:hover .partner-img-container::after {
  opacity: 0.85;
}

.partner-card:hover .partner-img {
  transform: scale(1.08);
  filter: brightness(1.08) saturate(1.1) contrast(1.06);
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  [data-animate],
  [data-animate-stagger] > *,
  .tilt-card {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
    animation: none !important;
  }
}

/* ========== Sticky Donation Banner ========== */
.donation-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-banner);
  background-color: #3454d1;
  background-image: linear-gradient(135deg,
    rgba(52, 84, 209, 0.97) 0%,
    rgba(78, 107, 230, 0.95) 50%,
    rgba(90, 126, 240, 0.97) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    0 8px 32px rgba(52, 84, 209, 0.25),
    0 2px 8px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(0);
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.4s ease;
  animation: slideDown 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  overflow: hidden;
}

.donation-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmerBanner 8s ease-in-out infinite;
}

@keyframes shimmerBanner {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

.donation-banner.hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.donation-banner.scroll-hidden {
  transform: translateY(-100%);
  transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.donation-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
  z-index: var(--z-content);
}

.donation-banner-text {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.donation-banner-icon {
  font-size: 1.4rem;
  color: #ff6b9d;
  animation: pulseGlowIcon 3s ease-in-out infinite;
  filter: drop-shadow(0 2px 8px rgba(255, 107, 157, 0.4));
}

@keyframes pulseGlowIcon {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.3));
  }
  50% {
    transform: scale(1.15);
    filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.5));
  }
}

.donation-banner-message {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.5px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.paypal-logo {
  height: 27px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  transition: opacity 0.3s ease;
}

.donation-banner-text:hover .paypal-logo {
  opacity: 1;
}

.donation-banner-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-decoration: none;
  color: var(--royal-blue);
  background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.15),
    0 1px 3px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.donation-banner-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transition: left 0.5s ease;
}

.donation-banner-btn:hover::before {
  left: 100%;
}

.donation-banner-btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.2),
    0 2px 8px rgba(52, 84, 209, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
  border-color: rgba(255, 255, 255, 1);
}

.donation-banner-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.donation-banner-close svg {
  color: white;
  width: 18px;
  height: 18px;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.donation-banner-close:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: rotate(90deg) scale(1.12);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.donation-banner-close:active {
  transform: rotate(90deg) scale(0.98);
  box-shadow:
    0 1px 4px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .donation-banner {
    /* Stronger background for better visibility on mobile */
    background-color: #3454d1;
    background-image: linear-gradient(135deg,
      rgba(52, 84, 209, 0.98) 0%,
      rgba(78, 107, 230, 0.96) 50%,
      rgba(90, 126, 240, 0.98) 100%);
    backdrop-filter: blur(15px) saturate(150%);
    -webkit-backdrop-filter: blur(15px) saturate(150%);
  }

  .donation-banner-content {
    padding: 0.85rem 1rem;
    gap: 0.75rem;
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .donation-banner-text {
    gap: 0.5rem;
    font-size: 0.85rem;
    flex-wrap: nowrap;
    min-width: 0;
  }

  .donation-banner-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
  }

  .donation-banner-message {
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .paypal-logo {
    height: 20px;
    flex-shrink: 0;
  }

  .donation-banner-btn {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    white-space: nowrap;
  }

  .donation-banner-close {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    flex-shrink: 0;
  }

  .donation-banner-close svg {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 576px) {
  .donation-banner {
    /* Even stronger background for small screens */
    background-color: #3454d1;
    background-image: linear-gradient(135deg,
      rgba(52, 84, 209, 1) 0%,
      rgba(78, 107, 230, 0.98) 50%,
      rgba(90, 126, 240, 1) 100%);
  }

  .donation-banner-content {
    padding: 0.75rem 0.75rem;
    gap: 0.5rem;
  }

  .donation-banner-text {
    gap: 0.4rem;
    flex: 1 1 auto;
    min-width: 0;
  }

  .donation-banner-message {
    font-size: 0.75rem;
    display: inline;
    white-space: normal;
    line-height: 1.2;
  }

  .paypal-logo {
    height: 18px;
  }

  .donation-banner-btn {
    padding: 0.45rem 0.85rem;
    font-size: 0.7rem;
  }

  .donation-banner-close {
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
  }
}

/* ---------- TAX-EXEMPT BANNER ---------- */
.tax-exempt-banner {
  position: relative;
  padding: 1.1rem 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0)),
    rgba(10, 12, 21, 0.55);
  border-bottom: 1px solid var(--surface-border);
  backdrop-filter: blur(var(--blur-sm));
  -webkit-backdrop-filter: blur(var(--blur-sm));
}

.tax-exempt-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 100% at 18% 50%, rgba(78, 107, 230, 0.06), transparent 70%),
    radial-gradient(50% 100% at 82% 50%, rgba(229, 169, 188, 0.05), transparent 72%);
}

.tax-exempt-row {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  text-align: center;
  font-size: 0.83rem;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
}

.tax-exempt-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-primary);
  font-weight: 400;
}

.tax-exempt-item--muted {
  color: var(--text-tertiary);
  font-size: 0.78rem;
}

.tax-exempt-item strong {
  font-weight: 600;
  color: var(--text-primary);
}

.tax-exempt-icon {
  font-size: 0.95rem;
  line-height: 1;
}

.tax-exempt-icon--blue { color: var(--royal-blue-light); }
.tax-exempt-icon--pink { color: var(--soft-pink); }
.tax-exempt-icon--gold { color: var(--gold); }

.tax-exempt-divider {
  width: 1px;
  height: 16px;
  background: var(--surface-border);
}

@media (max-width: 720px) {
  .tax-exempt-divider { display: none; }
  .tax-exempt-row { gap: 0.8rem 1.4rem; }
}


/* ---------- INCORPORATION CARD ---------- */
.incorporation-info {
  background: var(--surface-glass);
  backdrop-filter: blur(var(--blur-md)) saturate(1.05);
  -webkit-backdrop-filter: blur(var(--blur-md)) saturate(1.05);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  margin-bottom: 2.5rem;
  border: 1px solid var(--surface-border);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 18px 40px rgba(0, 0, 0, 0.25);
}

.incorporation-title {
  color: var(--soft-pink);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  margin-bottom: 1.5rem;
  text-align: center;
}

.incorporation-lede {
  text-align: center;
  margin-bottom: 1.75rem;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0)),
    rgba(10, 12, 21, 0.4);
  border: 1px solid var(--surface-border);
}

.incorporation-lede p {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.5;
  letter-spacing: 0.005em;
}

.incorporation-lede strong {
  color: var(--royal-blue-light);
  font-weight: 600;
}

/* ============================================================
   CONSOLIDATED EDITORIAL SYSTEM — typography, components, performance
   ============================================================ */

/* ---------- Performance: GPU layers only where actually animated ---------- */
/* (Promoting too many elements creates compositor pressure — Safari especially) */
.hero-video,
.hero-aurora,
.hero-orbs {
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* NOTE: content-visibility removed — caused paint stutter in Safari as
   sections crossed the viewport and reserved-size guesses settled. */

/* ---------- Editorial display type ---------- */
.hero-title {
  font-size: clamp(3rem, 9vw, 6.5rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  max-width: 16ch;
  font-weight: 500;
  text-shadow: 0 14px 40px rgba(10, 12, 21, 0.55);
}

.hero-title-soft {
  font-weight: 400;
  font-style: italic;
  color: rgba(255, 255, 255, 0.92);
}

.hero-title .text-gradient {
  background: linear-gradient(120deg, #ffffff 0%, #f6c7d5 45%, #b8c8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 500;
  letter-spacing: -0.038em;
  font-style: normal;
  text-shadow: none;
  background-size: 100% 100%;
}

.hero-title:hover .text-gradient {
  background-position: 0 0;
}

/* Character-split spans — animated by GSAP */
.split-char {
  display: inline-block;
  will-change: auto;
  transform-origin: 50% 100%;
}

.split-word {
  display: inline-block;
  white-space: nowrap;
  margin-right: 0.22em;
}

.split-word:last-child { margin-right: 0; }

/* Hero subtitle — refined eyebrow */
.hero-subtitle {
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  padding: 0.55rem 1.4rem 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
  position: relative;
  display: flex;
  width: fit-content;
  max-width: calc(100vw - 3rem);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero-description {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.65;
  color: rgba(226, 232, 240, 0.78);
  max-width: 580px;
  margin: 1.5rem auto 2.25rem;
  font-weight: 350;
  letter-spacing: 0.005em;
}

/* Hero buttons — refined spacing */
.hero-buttons {
  gap: 0.75rem;
}

.hero-content {
  padding: 2rem 1.5rem 7rem;
}

/* Hero scroll cue — minimal */
.hero-scroll {
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

.hero-scroll .scroll-text {
  margin-bottom: 0.85rem;
  animation: none;
}

.scroll-icon {
  width: 22px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
}

.scroll-dot {
  width: 3px;
  height: 6px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.7);
  top: 7px;
  animation: scrollDownRefined 2.4s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes scrollDownRefined {
  0% { transform: translate(-50%, 0); opacity: 0; }
  35% { opacity: 1; }
  100% { transform: translate(-50%, 14px); opacity: 0; }
}

/* ---------- Section title refinement ---------- */
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  max-width: 22ch;
}

.section-title .text-gradient {
  background: linear-gradient(120deg, #ffffff 0%, #f6c7d5 60%, #c8d4ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}

/* ---------- Section composition ---------- */
.section + .section:not(.quote-section) {
  position: relative;
}

.section + .section:not(.quote-section)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(85%, 980px);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.06) 25%,
    rgba(229, 169, 188, 0.16) 50%,
    rgba(255, 255, 255, 0.06) 75%,
    transparent 100%
  );
  pointer-events: none;
}

/* ---------- Editorial about composition ---------- */
.about-content {
  gap: 5rem;
  align-items: start;
}

@media (min-width: 1100px) {
  .about-content {
    grid-template-columns: 1.15fr 1fr;
    gap: 6rem;
  }
}

.about-image {
  position: sticky;
  top: 8rem;
}

.about-img {
  -webkit-mask-image: none;
  mask-image: none;
  filter: contrast(1.04) saturate(1.02);
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.6s ease;
}

.about-image {
  position: sticky;
  top: 7rem;
  isolation: isolate;
}

.about-image::before {
  content: '';
  position: absolute;
  inset: -50px -30px;
  background:
    radial-gradient(closest-side, rgba(78, 107, 230, 0.22), transparent 72%),
    radial-gradient(closest-side at 70% 80%, rgba(229, 169, 188, 0.18), transparent 68%);
  filter: blur(55px);
  z-index: 0;
  opacity: 0.7;
  pointer-events: none;
}

.about-image > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .about-image {
    position: static;
    top: auto;
  }
}

.about-img-wrapper {
  border-radius: var(--radius-lg);
}

.about-img-wrapper:hover .about-img {
  transform: scale(1.04);
}

.about-mission-title,
.about-history-title,
.about-inspiration-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.about-mission-title::before,
.about-history-title::before,
.about-inspiration-title::before {
  content: '';
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.about-text p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-secondary);
  font-weight: 350;
}

.about-mission, .about-history, .about-inspiration {
  margin-bottom: 2.75rem;
}

/* ---------- Refined team grid ---------- */
.team-grid {
  gap: 3rem 2rem;
}

.member-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.member-position {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  color: var(--soft-pink);
  margin: 0.4rem 0 0.9rem;
}

.member-bio {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-tertiary);
  max-width: 30ch;
  margin: 0 auto;
}

/* ---------- Refined partner cards ---------- */
.partner-img-container {
  height: 220px;
}

.partner-img {
  filter: saturate(1.0) contrast(1.02);
  transition: transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.partner-card:hover .partner-img {
  transform: scale(1.06);
}

.partner-content {
  padding: 1.75rem 1.75rem 2rem;
}

.partner-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.partner-description {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-tertiary);
  margin-bottom: 1.2rem;
  font-weight: 350;
}

/* ---------- Refined event card ---------- */
.event-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.2;
}

.event-time {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  color: var(--soft-pink);
}

/* ---------- Refined footer ---------- */
footer {
  position: relative;
  padding: 5rem 0 2.5rem;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.3) 30%,
    rgba(0, 0, 0, 0.5) 100%);
  border-top: 1px solid var(--surface-border);
}

.footer-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  color: var(--soft-pink);
  margin-bottom: 1.4rem;
}

.footer-link,
.footer-bottom-link {
  font-size: 0.88rem;
  color: var(--text-tertiary);
  transition: color var(--ease-fast);
}

.footer-link:hover,
.footer-bottom-link:hover {
  color: var(--text-primary);
}

.footer-contact-text a {
  color: inherit;
  text-decoration: none;
  transition: color var(--ease-fast);
}

.footer-contact-text a:hover,
.footer-contact-text a:focus-visible {
  color: var(--soft-pink-light);
}

.partner-focus {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.2rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--soft-pink-light);
}

.partner-focus::before {
  content: '';
  width: 18px;
  height: 1px;
  background: linear-gradient(90deg, var(--soft-pink), transparent);
  opacity: 0.85;
}

/* ---------- Launch accessibility + error page polish ---------- */
.skip-link {
  position: fixed;
  top: calc(1rem + env(safe-area-inset-top, 0px));
  left: 1rem;
  z-index: 100000;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(229, 169, 188, 0.45);
  border-radius: var(--radius-pill);
  background: rgba(10, 12, 21, 0.94);
  color: var(--text-primary);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateY(-160%);
  transition: transform 0.24s ease;
}

.skip-link:focus-visible {
  outline: none;
  transform: translateY(0);
}

.error-page {
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(circle at 50% 10%, rgba(78, 107, 230, 0.12), transparent 42%),
    radial-gradient(circle at 50% 90%, rgba(229, 169, 188, 0.1), transparent 48%),
    var(--dark-bg);
}

.error-shell {
  min-height: 100vh;
  min-height: 100dvh;
  width: min(720px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1.2rem;
  text-align: center;
}

.error-logo {
  display: inline-flex;
  width: 92px;
  height: 92px;
  margin-bottom: 0.75rem;
}

.error-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.error-shell .section-title,
.error-shell .section-description {
  margin-left: auto;
  margin-right: auto;
}

.footer-description {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-tertiary);
  font-weight: 350;
  max-width: 38ch;
}

.footer-divider {
  height: 1px;
  background: var(--surface-border);
  margin: 3rem 0 1.5rem;
}

/* ---------- Mobile performance hardening ---------- */
@media (max-width: 900px) {
  /* Cap blurs on touch devices for buttery scroll */
  .glass-card,
  .donation-widget,
  .donation-details,
  .key-date-card,
  .partner-card,
  .event-card,
  .incorporation-info,
  header.scrolled,
  .tax-exempt-banner {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  /* Drop expensive multi-layer hero atmosphere on mobile */
  .hero-mesh,
  .hero-light-scatter,
  .hero-tint {
    display: none;
  }

  .hero-aurora {
    filter: blur(35px);
    opacity: 0.3;
    animation-duration: 40s;
  }

  .hero-orbs {
    filter: blur(20px);
    opacity: 0.16;
    animation-duration: 40s;
  }

  /* Disable hdr-pop highlight on touch (gpu hog) */
  .hdr-pop::before { display: none; }

  /* Single decorative blob per section instead of two */
  .section .decorative-element + .decorative-element { display: none; }

  /* Drop heavy text-shadow on mobile */
  .hero-title { text-shadow: 0 6px 20px rgba(10, 12, 21, 0.55); }

  /* Disable sticky about image on small screens */
  .about-image { position: static; top: auto; }
}

@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  /* Bigger hero leverage */
  .hero-title { font-size: clamp(2.5rem, 11vw, 4.2rem); }

  /* Tighter section padding */
  .section { padding: clamp(3.5rem, 7vh, 5rem) 0; }
}

@media (max-width: 480px) {
  /* Drop backdrop-filter entirely on smallest screens */
  .glass-card,
  .donation-widget,
  .donation-details,
  .key-date-card,
  .partner-card,
  .event-card,
  .incorporation-info {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background-color: rgba(22, 28, 50, 0.85);
  }
}

/* iOS-specific scroll bounce containment */
@supports (-webkit-touch-callout: none) {
  body { -webkit-overflow-scrolling: touch; }
}

/* Reduced motion — respect user preference */
@media (prefers-reduced-motion: reduce) {
  .hero-aurora,
  .hero-mesh,
  .hero-orbs,
  .hero-tint,
  .hero-light-scatter,
  .decorative-element,
  .scroll-dot,
  .text-gradient {
    animation: none !important;
    transition: none !important;
  }
  .split-char { transform: none !important; opacity: 1 !important; }
}

/* ---------- Hero buttons — refined CTA pair ---------- */
.hero-buttons .btn {
  padding: 1.05rem 2.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
}

.hero-buttons .btn-alt {
  background-image: none;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--text-primary);
  box-shadow: none;
}

.hero-buttons .btn-alt::before {
  background: rgba(255, 255, 255, 0.08);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-buttons .btn-alt:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background-color: transparent;
  box-shadow: none;
}

.hero-buttons .btn-alt:hover::before {
  transform: scaleX(1);
  transform-origin: left center;
}

/* Fix btn-alt elsewhere — keep refined */
.btn-alt {
  background-image: none;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-primary);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.btn-alt::before {
  background: linear-gradient(135deg,
    rgba(229, 169, 188, 0.16),
    rgba(78, 107, 230, 0.14));
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-alt:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background-color: rgba(255, 255, 255, 0.06);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 14px 36px rgba(229, 169, 188, 0.15);
}

.btn-alt:hover::before {
  transform: scaleX(1);
  transform-origin: left center;
}

/* ---------- Refined scroll progress ---------- */
.scroll-progress {
  height: 2px;
}

.scroll-progress-bar {
  background: linear-gradient(90deg,
    var(--royal-blue-light) 0%,
    var(--soft-pink) 100%);
  box-shadow: 0 0 18px rgba(229, 169, 188, 0.45);
}

/* ---------- Page curtain transition ---------- */
.page-curtain {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: grid;
  place-items: center;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  background:
    radial-gradient(68% 54% at 50% 0%, rgba(78, 107, 230, 0.14), transparent 70%),
    radial-gradient(62% 48% at 50% 100%, rgba(229, 169, 188, 0.12), transparent 74%),
    #060811;
  clip-path: inset(0 0 100% 0);
  isolation: isolate;
}

.page-curtain.is-entering,
.page-curtain.is-leaving {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
}

.page-curtain.is-entering {
  clip-path: inset(0 0 0 0);
  transition: clip-path 620ms cubic-bezier(0.77, 0, 0.175, 1);
}

.page-curtain.is-leaving {
  clip-path: inset(0 0 0 0);
}

.page-curtain.is-leaving.is-revealed {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 850ms cubic-bezier(0.22, 1, 0.36, 1);
}

.page-curtain-mark {
  display: grid;
  gap: 0.08em;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 8vw, 5rem);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.025em;
  color: rgba(246, 241, 244, 0.92);
  transform: translateY(6px);
  opacity: 0;
  transition: opacity 360ms ease 120ms, transform 620ms cubic-bezier(0.22, 1, 0.36, 1) 80ms;
}

.page-curtain.is-entering .page-curtain-mark,
.page-curtain.is-leaving .page-curtain-mark {
  opacity: 1;
  transform: translateY(0);
}

.page-curtain-mark-line {
  display: block;
}

.page-curtain-mark-line--italic {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(115deg, #eadfe4 0%, #d3a0b3 66%, #8794c4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (prefers-reduced-motion: reduce) {
  .page-curtain {
    display: none !important;
  }
}

/* ---------- Section indicator — desktop edge only ---------- */
.section-indicator {
  position: fixed;
  left: clamp(1rem, 2vw, 1.8rem);
  top: 54%;
  z-index: 80;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.72rem;
  transform: translateY(-50%);
  pointer-events: none;
  color: rgba(246, 241, 244, 0.6);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-indicator-num {
  color: rgba(229, 169, 188, 0.78);
  font-variant-numeric: tabular-nums;
}

.section-indicator-rule {
  width: 1px;
  height: 74px;
  background: linear-gradient(to bottom, rgba(229, 169, 188, 0.55), rgba(255, 255, 255, 0.08));
  transform-origin: top center;
}

.section-indicator-name {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

@media (min-width: 1180px) and (min-height: 720px) {
  .section-indicator {
    display: flex;
  }
}

@media (max-width: 1179px), (max-height: 719px) {
  .section-indicator {
    display: none !important;
  }
}

/* ---------- Image reveal mask (used by GSAP) ---------- */
.reveal-mask {
  overflow: hidden;
  position: relative;
}

.reveal-mask > img,
.reveal-mask > video {
  transform: scale(1.012);
  opacity: 1;
  transition: none;
}

.reveal-mask.is-revealed > img,
.reveal-mask.is-revealed > video {
  transform: scale(1);
  opacity: 1;
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Quote section refinement ---------- */
.elegance-quote {
  font-size: clamp(1.4rem, 2.6vw, 1.95rem);
  max-width: 820px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
  padding: 4rem 2.5rem 3rem;
  font-weight: 400;
}

.elegance-quote::before {
  font-size: 6rem;
  opacity: 0.4;
  top: -1rem;
}

/* Char-split inside gradient text — re-inherit background-clip context */
.text-gradient .split-word,
.text-gradient .split-char {
  background: inherit;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Char-split inside hero-title-soft (italic, light) — preserve color */
.hero-title-soft .split-word,
.hero-title-soft .split-char {
  font-style: italic;
  font-weight: 400;
}

/* ---------- Final Safari scroll-perf pass ---------- */
/* Strip will-change from layers that no longer animate during scroll
   (the hero pin/scrub timeline was replaced with a transform-only parallax).
   Each will-change reserves a compositor layer; too many = memory + repaint cost. */
.hero-mesh,
.hero-tint,
.hero-light-scatter,
.hero-fallback,
.hero-overlay,
.hero-decorative-element {
  will-change: auto;
}

/* Drop mix-blend-mode on the rarely-visible hero light scatter — blend modes
   force Safari off the fast scroll path. */
.hero-light-scatter { mix-blend-mode: normal; }

/* Stop the gradient text animation hint (no longer animates) */
.text-gradient { will-change: auto; }

/* Hero overlay is static now — drop opacity transition cost */
.hero-overlay { transition: none; }

/* ============================================================
   CONSOLIDATED COMPONENT POLISH — footer, cards, links, mobile nav
   ============================================================ */

/* ---------- FOOTER (rebuilt) ---------- */
.site-footer {
  position: relative;
  padding: clamp(4rem, 8vh, 6rem) 0 2rem;
  background:
    radial-gradient(60% 80% at 20% 0%, rgba(78, 107, 230, 0.08), transparent 70%),
    radial-gradient(50% 70% at 80% 0%, rgba(229, 169, 188, 0.06), transparent 75%),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.35) 60%, rgba(0, 0, 0, 0.55) 100%);
  border-top: 1px solid var(--surface-border);
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, 80%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(229, 169, 188, 0.35), transparent);
}

.footer-mark {
  text-align: center;
  margin-bottom: clamp(3rem, 6vh, 4rem);
  padding: 0 1rem;
}

.footer-wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1em;
  text-decoration: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  font-weight: 500;
}

.footer-wordmark-line {
  display: block;
  font-style: normal;
}

.footer-wordmark-line--italic {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(120deg, #ffffff 0%, #f6c7d5 60%, #c8d4ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-tagline {
  margin: 1.4rem auto 0;
  max-width: 480px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-tertiary);
  font-weight: 350;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  padding: 0 1rem;
}

.footer-col--contact {
  grid-column: span 1;
}

.footer-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  color: var(--soft-pink);
  margin-bottom: 1.4rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--surface-border);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.footer-link {
  font-size: 0.92rem;
  color: var(--text-secondary);
  text-decoration: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--ease-fast), gap var(--ease-fast);
  font-weight: 350;
}

.footer-link::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--soft-pink);
  opacity: 0;
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.footer-link:hover {
  color: var(--text-primary);
  gap: 0.85rem;
}

.footer-link:hover::before {
  width: 18px;
  opacity: 0.8;
}

.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}

.footer-contact-list li {
  display: grid;
  gap: 0.25rem;
}

.footer-contact-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  color: var(--text-tertiary);
}

.footer-contact-value {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-secondary);
  font-weight: 350;
}

.footer-contact-link {
  text-decoration: none;
  transition: color var(--ease-fast);
}

.footer-contact-link:hover {
  color: var(--soft-pink);
}

.footer-divider {
  height: 1px;
  background: var(--surface-border);
  margin: clamp(3rem, 6vh, 4rem) 0 1.5rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0 1rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
}

.footer-meta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.footer-meta strong {
  color: var(--text-secondary);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.footer-meta-divider {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.footer-bottom-links {
  display: inline-flex;
  align-items: center;
  gap: 1.6rem;
}

.footer-bottom-link {
  font-size: 0.72rem;
  color: var(--text-tertiary);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  transition: color var(--ease-fast);
}

.footer-bottom-link:hover {
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

/* ---------- TABULAR NUMERALS for stats / dates / EIN ---------- */
.impact-number,
.key-date-value,
.event-day,
.event-year,
.donation-info-item dd,
.footer-meta strong,
.tax-exempt-item strong {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}

/* ---------- LINK with reveal-arrow micro-interaction ---------- */
.link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--soft-pink-light);
  text-decoration: none;
  position: relative;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-bottom: 0;
  transition: color var(--ease-fast), gap 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.link::after {
  content: '→';
  display: inline-block;
  font-family: inherit;
  font-size: 1em;
  transform: translateX(-4px);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
  background: none;
  width: auto;
  height: auto;
  position: static;
}

.link:hover,
.link:focus-visible {
  color: var(--text-primary);
  gap: 0.75rem;
  outline: none;
}

.link:hover::after,
.link:focus-visible::after {
  transform: translateX(0);
  opacity: 1;
}

/* ---------- READ FULL BIO + similar refined text CTAs ---------- */
.about-inspiration .btn-alt {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0;
  background: transparent !important;
  border: none !important;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--soft-pink-light);
  box-shadow: none !important;
  position: relative;
  isolation: isolate;
}

.about-inspiration .btn-alt::before,
.about-inspiration .btn-alt::after {
  display: none !important;
}

.about-inspiration .btn-alt span {
  position: relative;
  display: inline-block;
}

.about-inspiration .btn-alt span::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--soft-pink), transparent);
  transform-origin: right center;
  transform: scaleX(0.4);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-inspiration .btn-alt:hover {
  transform: none;
  color: var(--text-primary);
}

.about-inspiration .btn-alt:hover span::after {
  transform-origin: left center;
  transform: scaleX(1);
  background: linear-gradient(90deg, var(--soft-pink), var(--soft-pink-light));
}

.about-inspiration .btn-alt .btn-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-inspiration .btn-alt:hover .btn-icon {
  transform: translateX(4px);
}

/* ---------- Section divider ornament ---------- */
.section + .section:not(.quote-section)::after {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--soft-pink);
  box-shadow:
    0 0 10px rgba(229, 169, 188, 0.55),
    0 0 0 4px rgba(10, 12, 21, 1);
  opacity: 0.85;
  pointer-events: none;
}

/* ---------- Partner marks ----------
   These assets are logo lockups, so they use a quiet presentation plate
   instead of a photographic crop, tint, or scrim. */
.partners-grid {
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 2.5vw, 2rem);
}

.partners-container,
.partners-container.animated {
  opacity: 1;
  transform: none;
  transition: none;
  animation: none;
}

.partner-card,
.partners-container.animated .partner-card {
  opacity: 1;
  transform: none;
  animation: none;
}

.partner-img-container {
  height: auto;
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: #05070c;
  border-bottom: 1px solid var(--surface-border);
  overflow: hidden;
}

.partner-img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  filter: none;
  opacity: 0.92;
  transform: none;
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.partner-img-container::after {
  content: none;
}

.partner-img-overlay {
  display: none;
}

.partner-img--university,
.partner-img--water {
  max-width: 82%;
  max-height: 118%;
}

.partner-img--hbcu {
  max-width: 76%;
}

.partner-img--harvest {
  max-width: 84%;
}

.partner-card:hover .partner-img {
  filter: none;
  opacity: 1;
  transform: scale(1.012);
}

@media (min-width: 760px) {
  .partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Partner content link refinement */
.partner-content .link {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
}

.partner-title {
  color: rgba(245, 240, 247, 0.94);
}

/* ---------- SCHOLARSHIP — editorial confidence ---------- */
.scholarship-section .glass-card {
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.025),
    rgba(255, 255, 255, 0)),
    var(--surface-glass);
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.75rem, 4vw, 3.5rem);
  text-align: center;
  position: relative;
}

.scholarship-section .glass-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}

.scholarship-section .glass-card > p {
  max-width: 56ch;
  margin: 0 auto 2.5rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  font-weight: 350;
}

.scholarship-section .key-dates-grid {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.scholarship-section .application-btn {
  width: auto;
  padding: 1rem 2.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  background-image: linear-gradient(135deg,
    rgba(42, 66, 158, 0.96),
    rgba(70, 96, 200, 0.96));
  border-radius: var(--radius-pill);
  margin-top: 0;
}

.scholarship-section .application-icon {
  font-size: 0.95rem;
  margin-right: 0.4rem;
}

.application-btn::before {
  background: linear-gradient(135deg, rgb(42, 66, 158), rgb(70, 96, 200));
  border-radius: inherit;
}

/* ---------- DONATION WIDGET — refined hierarchy ---------- */
.donation-widget-title {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  padding-bottom: 0;
}

.donation-widget-title::after {
  display: none;
}

.donation-widget-subtitle {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-tertiary);
  font-weight: 350;
}

.donation-tab.is-active {
  color: #fff;
  text-shadow: none;
  letter-spacing: 0.08em;
}

.donation-tablist::before {
  background: linear-gradient(135deg, rgba(52, 84, 209, 0.56), rgba(78, 107, 230, 0.5));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 6px 18px rgba(20, 30, 70, 0.26);
}

.donation-tab {
  color: rgba(226, 232, 240, 0.58);
}

.donation-tab:hover:not(.is-active) {
  color: rgba(255, 255, 255, 0.84);
}

.donation-tab i {
  font-size: 0.95rem;
  opacity: 0.9;
}

.payment-button.paypal-button {
  border-radius: var(--radius-pill);
  padding: 1rem 1.6rem;
  background: linear-gradient(135deg, #ffc439 0%, #ffb52e 100%);
  color: #142c8e;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: none;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 8px 22px rgba(255, 196, 57, 0.2);
  transition: transform var(--ease-fast), box-shadow var(--ease-med);
}

.payment-button.paypal-button:hover {
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 12px 28px rgba(255, 196, 57, 0.28);
}

.donation-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.8rem;
  text-align: left;
}

.donation-steps li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-secondary);
  font-weight: 350;
}

.donation-steps li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 1px;
  background: var(--soft-pink);
}

.donation-info-item dt {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  color: var(--text-tertiary);
  margin-bottom: 0.3rem;
}

.donation-info-item dd {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 400;
  margin: 0;
}

/* Mobile drawer and toggle rules live in mobile-enhancements.css. */

/* ---------- Section title — refined hairline ---------- */
.section-title-decoration {
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--soft-pink), transparent);
  margin: 1.4rem auto 1.5rem;
  opacity: 0.65;
}

/* ---------- Page-edge container max width refinement ---------- */
.container {
  max-width: 1240px;
  padding-left: clamp(1.5rem, 4vw, 3rem);
  padding-right: clamp(1.5rem, 4vw, 3rem);
}

/* Slightly tighter container for narrow editorial sections */
.scholarship-section .container,
.quote-section .container {
  max-width: 1080px;
}

/* ---------- Refined .donate footer micro-CTA at bottom of donation card ---------- */
.donation-panel-note {
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  color: var(--text-tertiary);
  font-weight: 350;
}

.donation-accepted img {
  max-width: 190px;
  opacity: 0.58;
  filter: grayscale(1) brightness(1.55) contrast(0.9);
  transition: opacity 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .donation-accepted img:hover {
    opacity: 0.78;
  }
}

/* ---------- Hero composition glows ---------- */
.hero-glow-primary,
.hero-glow-secondary {
  filter: blur(42px);
  opacity: 0.065;
  pointer-events: none;
}

.hero-glow-primary {
  width: clamp(170px, 18vw, 260px);
  height: clamp(170px, 18vw, 260px);
  top: 18%;
  right: 9%;
}

.hero-glow-secondary {
  width: clamp(150px, 16vw, 230px);
  height: clamp(150px, 16vw, 230px);
  bottom: 20%;
  left: 8%;
}

@media (max-width: 768px) {
  .header-logo-img { height: 64px; }
  header.scrolled .header-logo-img { height: 52px; }

  .hero-glow-primary,
  .hero-glow-secondary {
    filter: blur(24px);
    opacity: 0.055;
    animation: none !important;
  }

  .hero-glow-primary {
    width: 190px;
    height: 190px;
    top: 19%;
    right: -58px;
  }

  .hero-glow-secondary {
    width: 180px;
    height: 180px;
    left: -64px;
    bottom: 15%;
  }
}

/* Drawer override removed: mobile-enhancements.css is the single source of truth. */

/* ============================================================
   FINAL EDITORIAL RESTRAINT PASS
   Less template gloss, clearer imagery, calmer hover/motion.
   ============================================================ */

/* ---------- Quieter ink-to-rose gradient language ---------- */
.text-gradient,
.hero-title .text-gradient,
.section-title .text-gradient,
.donation-widget-title .text-gradient,
.footer-wordmark-line--italic {
  background: linear-gradient(115deg, #eadfe4 0%, #d3a0b3 66%, #8794c4 100%);
  background-size: 100% 100%;
  background-position: 0 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  transition: none;
}

.hero-title:hover .text-gradient,
.section-title:hover .text-gradient,
.text-gradient:hover {
  background-position: 0 0;
}

.text-gradient .split-word,
.text-gradient .split-char {
  background: inherit;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero-title {
  text-shadow: 0 6px 18px rgba(6, 8, 16, 0.38);
}

.hero-title-soft {
  color: rgba(245, 240, 247, 0.9);
}

.hero-title::before {
  opacity: 0.07;
  filter: blur(18px);
}

.hero-subtitle {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  padding-left: 0;
  padding-right: 0;
  color: rgba(245, 240, 247, 0.68);
}

.hero-glow-primary,
.hero-glow-secondary,
.blue-glow,
.pink-glow,
.gold-glow {
  opacity: 0.045;
  filter: blur(32px);
}

/* ---------- Restrained hover system ---------- */
.btn {
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    filter 0.28s ease,
    box-shadow 0.28s ease,
    background-color 0.28s ease;
}

.btn::after {
  display: none;
}

.btn:hover::before,
.application-btn:hover::before {
  transform: none;
}

.btn:hover,
.btn:focus-visible,
.application-btn:hover,
.application-btn:focus-visible {
  transform: translateY(-2px);
  background-position: 0 50%;
  filter: brightness(1.025);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 8px 20px rgba(52, 84, 209, 0.16);
}

.btn:hover .btn-icon,
.btn:focus-visible .btn-icon,
.application-btn:hover .application-icon,
.application-btn:focus-visible .application-icon {
  transform: translateX(3px);
}

.btn-alt::before,
.hero-buttons .btn-alt::before {
  display: none;
}

.btn-alt:hover,
.hero-buttons .btn-alt:hover,
.btn-alt:focus-visible,
.hero-buttons .btn-alt:focus-visible {
  transform: translateY(-2px);
  background-color: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset;
}

.glass-card:hover,
.card:hover,
.partner-card:hover,
.event-card:hover,
.key-date-card:hover,
.donation-widget.glass-card:hover,
.donation-details.glass-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 14px 34px rgba(0, 0, 0, 0.22);
}

.hdr-pop::before {
  display: none;
}

.hdr-pop:hover::before {
  opacity: 0;
}

.partner-card:hover .partner-img,
.about-img-wrapper:hover .about-img {
  transform: scale(1.012);
}

.partner-card:hover .partner-img {
  filter: none;
  opacity: 1;
}

.team-member:hover .member-img-container {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 16px 32px rgba(0, 0, 0, 0.24);
}

@media (hover: none), (pointer: coarse) {
  .btn:hover,
  .btn-alt:hover,
  .glass-card:hover,
  .card:hover,
  .partner-card:hover,
  .event-card:hover,
  .key-date-card:hover,
  .team-member:hover .member-img-container,
  .about-img-wrapper:hover .about-img,
  .partner-card:hover .partner-img {
    transform: none;
  }
}

/* ============================================================
   FOUNDATION STORY — about, official record, scholarship, impact
   Dedicated launch styling for the editorial markup in index.html.
   ============================================================ */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(246, 199, 213, 0.86);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, gap 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--text-primary);
  gap: 0.8rem;
  outline: none;
}

.text-link-arrow {
  flex: 0 0 auto;
  opacity: 0.72;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), opacity 180ms ease;
}

.text-link:hover .text-link-arrow,
.text-link:focus-visible .text-link-arrow {
  opacity: 1;
  transform: translateX(3px);
}

.portrait-tone {
  filter: saturate(0.82) contrast(1.04) brightness(0.95);
}

.about-section {
  position: relative;
  overflow: clip;
}

.about-editorial {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}

.about-editorial .about-text,
.about-editorial .about-image {
  opacity: 1;
  transform: none;
  animation: none;
}

.about-editorial .about-text.animated,
.about-editorial .about-image.animated {
  animation: none;
}

.about-editorial .about-image {
  position: sticky;
  top: clamp(7rem, 14vh, 9rem);
  align-self: start;
  margin: 0;
}

.about-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.035);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 24px 62px rgba(0, 0, 0, 0.3);
}

.about-img-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 52%, rgba(8, 10, 18, 0.5) 100%),
    radial-gradient(80% 70% at 50% 12%, rgba(229, 169, 188, 0.12), transparent 70%);
}

.about-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  -webkit-mask-image: none;
  mask-image: none;
}

.about-img-decoration {
  margin-top: 1rem;
  color: rgba(226, 232, 240, 0.48);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.about-text {
  min-width: 0;
}

.about-hangtag {
  display: grid;
  grid-template-columns: auto minmax(42px, 72px) auto;
  gap: 0.8rem;
  align-items: center;
  width: fit-content;
  margin-bottom: clamp(1.4rem, 3vw, 2.4rem);
  color: rgba(229, 169, 188, 0.74);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.about-hangtag-rule {
  height: 1px;
  background: linear-gradient(90deg, rgba(229, 169, 188, 0.55), transparent);
}

.about-display {
  max-width: 14ch;
  margin: 0 0 clamp(2.2rem, 5vw, 3.6rem);
  text-align: left;
}

.about-chapter {
  position: relative;
  padding: clamp(1.45rem, 3vw, 2.15rem) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.085);
}

.about-chapter:last-of-type {
  border-bottom: 1px solid rgba(255, 255, 255, 0.085);
}

.about-chapter-title {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
  margin: 0 0 1rem;
  color: var(--text-primary);
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -0.015em;
}

.about-chapter-num {
  min-width: 1.7rem;
  color: rgba(229, 169, 188, 0.76);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

.about-chapter p {
  max-width: 68ch;
  margin: 0 0 1rem;
  color: rgba(226, 232, 240, 0.78);
  font-size: 1rem;
  font-weight: 350;
  line-height: 1.78;
}

.about-chapter p:last-child {
  margin-bottom: 0;
}

.about-pullquote {
  position: relative;
  margin: clamp(1.4rem, 4vw, 2.6rem) 0;
  padding: clamp(1.3rem, 3vw, 2rem) clamp(1.4rem, 3vw, 2.25rem);
  border-left: 1px solid rgba(229, 169, 188, 0.38);
  background:
    linear-gradient(90deg, rgba(229, 169, 188, 0.055), transparent 70%),
    rgba(255, 255, 255, 0.018);
}

.about-pullquote::before {
  content: '“';
  position: absolute;
  left: -0.16em;
  top: -0.32em;
  color: rgba(229, 169, 188, 0.22);
  font-family: 'Playfair Display', serif;
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 1;
}

.about-pullquote blockquote {
  margin: 0;
  max-width: 32ch;
  color: rgba(246, 241, 244, 0.92);
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-style: italic;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.about-pullquote figcaption {
  margin-top: 1rem;
  color: rgba(226, 232, 240, 0.52);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.incorporation-footnote {
  margin-top: clamp(3.5rem, 7vw, 6rem);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0)),
    rgba(13, 17, 30, 0.58);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 22px 58px rgba(0, 0, 0, 0.24);
}

.incorporation-footnote-header {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.incorporation-footnote-eyebrow,
.scholarship-eyebrow,
.impact-monument-eyebrow {
  color: var(--soft-pink);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.incorporation-footnote-title {
  margin: 0;
  color: var(--text-primary);
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.incorporation-footnote-lede,
.incorporation-footnote-cert {
  max-width: 72ch;
  margin: 0;
  color: rgba(226, 232, 240, 0.68);
  font-size: 0.94rem;
  font-weight: 350;
  line-height: 1.68;
}

.incorporation-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 1.65rem 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.07);
}

.incorporation-detail-row {
  min-width: 0;
  padding: 1rem;
  background: rgba(9, 12, 22, 0.82);
}

.incorporation-detail-row dt,
.scholarship-date-row dt {
  margin: 0 0 0.35rem;
  color: rgba(226, 232, 240, 0.48);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.incorporation-detail-row dd,
.scholarship-date-row dd {
  margin: 0;
  color: rgba(246, 241, 244, 0.88);
  font-family: 'Playfair Display', serif;
  font-size: 1.12rem;
  line-height: 1.25;
}

.incorporation-footnote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.7rem;
  align-items: center;
  margin-top: 1.5rem;
}

.scholarship-section {
  position: relative;
  overflow: clip;
}

.scholarship-editorial {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(78, 107, 230, 0.08), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.034), rgba(255, 255, 255, 0)),
    rgba(13, 17, 30, 0.66);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 28px 70px rgba(0, 0, 0, 0.26);
}

.scholarship-headline {
  max-width: 760px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.scholarship-amount {
  margin: 0.75rem 0 0.8rem;
}

.scholarship-amount-figure {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-style: italic;
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.scholarship-amount-note {
  max-width: 52ch;
  margin: 0 auto;
  color: rgba(226, 232, 240, 0.72);
  font-size: 1rem;
  font-weight: 350;
  line-height: 1.7;
}

.scholarship-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  padding-top: clamp(1.6rem, 3vw, 2.35rem);
  border-top: 1px solid rgba(255, 255, 255, 0.085);
}

.scholarship-prose p {
  max-width: 68ch;
  margin: 0 0 1rem;
  color: rgba(226, 232, 240, 0.78);
  font-size: 1rem;
  font-weight: 350;
  line-height: 1.76;
}

.scholarship-prose p:last-child {
  margin-bottom: 0;
}

.scholarship-dates {
  display: grid;
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.065);
}

.scholarship-date-row {
  padding: 1rem 1.1rem;
  background: rgba(8, 11, 21, 0.75);
}

.scholarship-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem 1.8rem;
  align-items: center;
  justify-content: center;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.impact-monument-section {
  position: relative;
  padding-top: clamp(4rem, 9vh, 7rem);
  padding-bottom: clamp(4rem, 9vh, 7rem);
  overflow: clip;
}

.impact-monument {
  position: relative;
  isolation: isolate;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.impact-monument::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(52% 78% at 50% 50%, rgba(229, 169, 188, 0.065), transparent 70%),
    radial-gradient(48% 70% at 15% 50%, rgba(78, 107, 230, 0.06), transparent 72%);
  pointer-events: none;
}

.impact-monument-header {
  max-width: 760px;
  margin: 0 auto clamp(2.4rem, 5vw, 4rem);
  text-align: center;
}

.impact-monument-headline {
  max-width: 24ch;
  margin: 0.65rem auto 0;
  color: var(--text-primary);
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.impact-monument-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr) 1px minmax(0, 1fr);
  gap: clamp(1.2rem, 3vw, 2.5rem);
  align-items: stretch;
}

.impact-monument-stat {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.65rem;
  min-width: 0;
  text-align: center;
  overflow: visible;
}

.impact-monument-num {
  display: block;
  font-family: 'Playfair Display', serif;
  max-width: 100%;
  font-size: clamp(3.6rem, 8.5vw, 6.4rem);
  font-style: italic;
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.045em;
  padding-inline: 0.08em 0.24em;
  margin-inline: 0;
  overflow: visible;
  background: linear-gradient(120deg, #eadfe4 0%, #d3a0b3 58%, #8794c4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.impact-monument-stat--funds .impact-monument-num {
  font-size: clamp(2.6rem, 5.6vw, 4.2rem);
}

.impact-monument-label {
  color: rgba(226, 232, 240, 0.66);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.45;
  text-transform: uppercase;
}

.impact-monument-rule {
  width: 1px;
  min-height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(229, 169, 188, 0.28), transparent);
}

@media (max-width: 980px) {
  .about-editorial,
  .scholarship-body {
    grid-template-columns: 1fr;
  }

  .about-editorial .about-image {
    position: relative;
    top: auto;
    max-width: 520px;
    margin: 0 auto;
  }

  .about-display {
    max-width: 14ch;
  }

  .incorporation-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .about-editorial {
    gap: 2.4rem;
  }

  .about-hangtag {
    grid-template-columns: auto 48px auto;
    margin-left: auto;
    margin-right: auto;
  }

  .about-display,
  .impact-monument-headline {
    max-width: none;
    text-align: center;
  }

  .about-chapter-title {
    grid-template-columns: 2.4rem minmax(0, 1fr);
  }

  .about-pullquote {
    margin-left: -0.2rem;
    margin-right: -0.2rem;
  }

  .incorporation-detail-grid {
    grid-template-columns: 1fr;
  }

  .incorporation-footnote-actions,
  .scholarship-cta-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .scholarship-editorial {
    padding: 1.55rem;
  }

  .scholarship-headline {
    text-align: left;
  }

  .scholarship-amount-figure {
    font-size: clamp(2.65rem, 15vw, 4.3rem);
  }

  .scholarship-amount-note {
    margin-left: 0;
  }

  .impact-monument {
    padding-left: 0;
    padding-right: 0;
  }

  .impact-monument-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .impact-monument-rule {
    width: 100%;
    height: 1px;
    min-height: 1px;
    background: linear-gradient(90deg, transparent, rgba(229, 169, 188, 0.24), transparent);
  }

  .impact-monument-stat {
    padding: 0.75rem 0;
  }
}

/* ============================================================
   EVENTS — final editorial feature + mobile-safe calendar
   ============================================================ */
.gala-announcement {
  position: relative;
  display: grid;
  grid-template-columns: minmax(210px, 0.58fr) minmax(0, 1.42fr);
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  padding: clamp(2rem, 5vw, 4.25rem) 0;
  border-top: 1px solid rgba(224, 199, 154, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(90deg, rgba(224, 199, 154, 0.045), transparent 46%);
  overflow: hidden;
}

.gala-announcement::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: min(38vw, 420px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(229, 169, 188, 0.46));
}

.gala-date {
  display: grid;
  align-content: space-between;
  min-height: 230px;
  padding: 0 clamp(1.5rem, 4vw, 3.5rem) 0 clamp(0.4rem, 0.8vw, 0.75rem);
  border-right: 1px solid rgba(255, 255, 255, 0.09);
}

.gala-date-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(224, 199, 154, 0.72);
}

.gala-date time {
  display: grid;
  gap: 0.35rem;
}

.gala-month {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.7rem, 8vw, 7rem);
  font-style: italic;
  font-weight: 500;
  line-height: 0.78;
  letter-spacing: -0.045em;
  color: rgba(245, 240, 247, 0.94);
}

.gala-year {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: rgba(226, 232, 240, 0.52);
}

.gala-story {
  display: grid;
  align-content: center;
  justify-items: start;
  padding-left: clamp(1.75rem, 5vw, 5rem);
}

.gala-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin-bottom: 1rem;
}

.gala-title {
  max-width: 14ch;
  margin: 0 0 1.2rem;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.7rem, 6vw, 5.4rem);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: rgba(245, 240, 247, 0.96);
}

.gala-title em {
  display: block;
  color: rgba(229, 169, 188, 0.92);
  font-weight: 400;
}

.gala-description {
  max-width: 62ch;
  margin: 0 0 1.4rem;
  color: rgba(226, 232, 240, 0.72);
  font-size: 1rem;
  font-weight: 350;
  line-height: 1.72;
}

.gala-link {
  margin-top: 0.2rem;
}

.featured-event {
  margin-top: clamp(4.25rem, 8vw, 7rem);
  opacity: 1;
  transform: none;
  transition: none;
}

.featured-event.animated {
  opacity: 1;
  transform: none;
  animation: none;
}

.featured-event-kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.54);
}

.featured-event-kicker::before {
  content: '';
  width: 30px;
  height: 1px;
  background: rgba(229, 169, 188, 0.48);
}

.soiree-event {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    rgba(14, 18, 32, 0.74);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 24px 62px rgba(0, 0, 0, 0.28);
}

.soiree-event::before {
  content: '';
  position: absolute;
  top: 0;
  left: clamp(1.4rem, 4vw, 3rem);
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, rgba(229, 169, 188, 0.3), transparent 56%);
  z-index: 3;
  pointer-events: none;
}

.soiree-img,
.soiree-img--feature {
  min-height: clamp(460px, 52vw, 660px);
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  isolation: isolate;
}

.soiree-media,
.soiree-video,
.soiree-img.reveal-mask > .soiree-media,
.soiree-img.reveal-mask.is-revealed > .soiree-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  object-position: center center;
  filter: none;
  opacity: 1;
  transform: none;
  transition: none;
  z-index: 0;
}

.soiree-event:hover .soiree-media {
  transform: none;
  filter: none;
}

.soiree-img::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 7, 13, 0.02) 0%, rgba(5, 7, 13, 0.08) 44%, rgba(5, 7, 13, 0.66) 100%),
    linear-gradient(90deg, rgba(5, 7, 13, 0.2) 0%, transparent 62%);
}

.soiree-event:hover .soiree-img::before {
  background:
    linear-gradient(180deg, rgba(5, 7, 13, 0.02) 0%, rgba(5, 7, 13, 0.08) 44%, rgba(5, 7, 13, 0.66) 100%),
    linear-gradient(90deg, rgba(5, 7, 13, 0.2) 0%, transparent 62%);
}

.soiree-feature-title,
.soiree-img p {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - clamp(3rem, 10vw, 8rem)));
  margin-left: clamp(2rem, 5vw, 4.25rem);
  margin-right: clamp(1.5rem, 5vw, 4rem);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.46);
}

.soiree-feature-title {
  margin-bottom: 0.9rem;
  font-size: clamp(2.15rem, 5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: rgba(255, 255, 255, 0.94);
}

.soiree-img p {
  max-width: 620px;
  margin-bottom: clamp(1.8rem, 4vw, 3.25rem);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.58;
  color: rgba(244, 246, 255, 0.84);
}

.soiree-date {
  top: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  z-index: 4;
  background: rgba(13, 17, 30, 0.82);
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.soiree-date::before { display: none; }
.soiree-event:hover .soiree-date {
  transform: none;
  background: rgba(13, 17, 30, 0.82);
  box-shadow: none;
}

.soiree-content {
  background:
    linear-gradient(90deg, rgba(229, 169, 188, 0.03), transparent 34%),
    rgba(13, 17, 30, 0.54);
  padding: clamp(2rem, 4vw, 3.4rem);
  text-align: left;
}

.soiree-details,
.rsvp-button-container {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.soiree-details { margin-bottom: 2rem; }

.soiree-details-title {
  margin-bottom: 1.2rem;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--soft-pink);
}

.soiree-details p {
  max-width: 74ch;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
  font-size: 0.98rem;
  line-height: 1.75;
  color: rgba(226, 232, 240, 0.84);
}

.event-callout {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.8rem;
  row-gap: 0.2rem;
  align-items: start;
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(229, 169, 188, 0.16);
  background: rgba(255, 255, 255, 0.024);
  color: var(--text-secondary);
}

.event-callout i {
  grid-row: span 2;
  color: var(--gold);
  margin-top: 0.22rem;
}

.event-callout strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--text-primary);
}

.event-thanks {
  background: rgba(255, 255, 255, 0.026);
  border-color: rgba(255, 255, 255, 0.1);
  text-align: left;
}

.event-thanks-title,
.event-thanks-list { text-align: left; }
.event-thanks-title { color: var(--soft-pink); }

.event-complete-note {
  max-width: 920px;
  margin: 0 auto;
  padding: 0.9rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(229, 169, 188, 0.14);
  background: rgba(255, 255, 255, 0.025);
  color: rgba(226, 232, 240, 0.72);
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-style: italic;
  text-align: center;
}

.events-calendar {
  max-width: 1060px;
  margin: clamp(3.5rem, 7vw, 6rem) auto 0;
  opacity: 1;
  transform: none;
}

.events-calendar.animated { animation: none; }

.calendar-kicker {
  width: fit-content;
  margin: 0 auto 0.85rem;
  position: relative;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--soft-pink);
}

.calendar-kicker::before,
.calendar-kicker::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(229, 169, 188, 0.48));
}

.calendar-kicker::before { right: calc(100% + 1rem); }
.calendar-kicker::after {
  left: calc(100% + 1rem);
  transform: rotate(180deg);
}

.calendar-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.75fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.25rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.calendar-title {
  margin: 0;
  text-align: left;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.25rem, 5vw, 4.15rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--text-primary);
}

.calendar-lede {
  margin: 0 0 0.25rem;
  color: rgba(226, 232, 240, 0.68);
  font-size: 0.98rem;
  line-height: 1.72;
  font-weight: 350;
}

.calendar-ledger {
  position: relative;
  display: grid;
  gap: 0;
}

.calendar-ledger::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 145px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(229, 169, 188, 0.42), rgba(255, 255, 255, 0.06) 38%, rgba(255, 255, 255, 0.025));
  pointer-events: none;
}

.calendar-ledger .event-card {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: clamp(1.4rem, 3vw, 3rem);
  align-items: stretch;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  overflow: visible;
  opacity: 1;
  transform: none;
  transition: none;
}

.calendar-ledger .event-card + .event-card {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.calendar-ledger .event-card:hover {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}

.calendar-ledger .event-date {
  width: auto;
  min-height: 170px;
  padding: 1.45rem 1.4rem 1.45rem 0;
  background: transparent;
  color: var(--text-primary);
  border: 0;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}

.calendar-ledger .event-date::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--soft-pink);
  box-shadow: 0 0 0 6px var(--dark-bg), 0 0 22px rgba(229, 169, 188, 0.32);
  transform: translateY(-50%);
}

.calendar-ledger .event-day {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 4.25rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.86;
  color: rgba(245, 240, 247, 0.92);
}

.calendar-ledger .event-month,
.calendar-ledger .event-year {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: rgba(226, 232, 240, 0.55);
}

.calendar-ledger .event-month {
  margin-top: 0.85rem;
  font-size: 0.68rem;
}

.calendar-ledger .event-year {
  margin-top: 0.3rem;
  font-size: 0.68rem;
}

.calendar-ledger .event-details {
  padding: clamp(1.5rem, 3vw, 2.35rem) 0 clamp(1.7rem, 3vw, 2.5rem);
}

.event-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin-bottom: 0.85rem;
}

.event-status,
.event-location,
.event-footnote {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.event-status { color: var(--soft-pink); }
.event-status--upcoming { color: var(--gold-light); }
.event-location { color: rgba(226, 232, 240, 0.48); }

.calendar-ledger .event-title {
  max-width: 18ch;
  margin: 0 0 0.85rem;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  font-weight: 500;
  letter-spacing: -0.028em;
  line-height: 1.05;
  color: var(--text-primary);
}

.calendar-ledger .event-description {
  max-width: 66ch;
  margin: 0 0 1.2rem;
  color: rgba(226, 232, 240, 0.72);
  font-size: 0.98rem;
  line-height: 1.7;
  font-weight: 350;
}

.calendar-ledger .event-time {
  margin: 0 0 0.95rem;
  color: rgba(229, 169, 188, 0.82);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.event-footnote {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(224, 199, 154, 0.8);
}

.event-footnote::before {
  content: '';
  width: 24px;
  height: 1px;
  background: rgba(224, 199, 154, 0.45);
}

.event-card--upcoming { position: relative; }
.event-card--upcoming::before {
  content: '';
  position: absolute;
  inset: 0 -1.2rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(45% 120% at 16% 50%, rgba(224, 199, 154, 0.075), transparent 72%),
    linear-gradient(90deg, rgba(229, 169, 188, 0.038), transparent 44%);
  border: 1px solid rgba(224, 199, 154, 0.08);
  pointer-events: none;
}

.event-card--upcoming .event-date,
.event-card--upcoming .event-details {
  position: relative;
  z-index: 1;
}

.event-card--gala::before {
  background:
    linear-gradient(90deg, rgba(224, 199, 154, 0.075), transparent 42%),
    radial-gradient(45% 120% at 100% 50%, rgba(229, 169, 188, 0.05), transparent 74%);
}

.event-card--gala .event-title {
  max-width: 28ch;
}

@media (max-width: 760px) {
  .gala-announcement {
    grid-template-columns: 1fr;
    padding: 1.75rem 0 2rem;
    background: linear-gradient(180deg, rgba(224, 199, 154, 0.045), transparent 58%);
  }

  .gala-date {
    min-height: 0;
    grid-template-columns: auto 1fr;
    align-items: baseline;
    gap: 1rem;
    padding: 0 0 1.15rem;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .gala-date time {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    justify-self: end;
  }

  .gala-month {
    font-size: clamp(2.45rem, 12vw, 3.5rem);
    line-height: 0.9;
  }

  .gala-year {
    font-size: 0.6rem;
  }

  .gala-story {
    padding: 1.5rem 0 0;
  }

  .gala-title {
    max-width: 10ch;
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  .gala-description {
    font-size: 0.94rem;
    line-height: 1.65;
  }

  .featured-event {
    margin-top: 4rem;
  }

  .soiree-event::before { display: none; }

  .soiree-img,
  .soiree-img--feature {
    min-height: min(78vh, 460px);
  }

  .soiree-media,
  .soiree-video,
  .soiree-img.reveal-mask > .soiree-media,
  .soiree-img.reveal-mask.is-revealed > .soiree-media {
    object-position: center center;
    filter: none;
  }

  .soiree-img::before {
    background:
      linear-gradient(180deg, rgba(5, 7, 13, 0.03) 0%, rgba(5, 7, 13, 0.1) 42%, rgba(5, 7, 13, 0.7) 100%),
      linear-gradient(90deg, rgba(5, 7, 13, 0.14) 0%, transparent 78%);
  }

  .soiree-feature-title,
  .soiree-img p {
    width: calc(100% - 2.6rem);
    margin-left: 1.3rem;
    margin-right: 1.3rem;
  }

  .soiree-feature-title {
    font-size: clamp(2rem, 9vw, 2.95rem);
    letter-spacing: -0.03em;
  }

  .soiree-img p {
    font-size: 0.96rem;
    margin-bottom: 1.45rem;
  }

  .soiree-date {
    left: 1rem;
    right: auto;
    top: 1rem;
    max-width: calc(100% - 2rem);
    font-size: 0.62rem;
    letter-spacing: 0.13em;
    white-space: normal;
  }

  .soiree-content { padding: 1.75rem 1.35rem 2rem; }

  .events-calendar { margin-top: 3.25rem; }

  .calendar-kicker {
    margin-left: auto;
    margin-right: auto;
  }

  .calendar-kicker::before,
  .calendar-kicker::after { width: 24px; }

  .calendar-head {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }

  .calendar-title,
  .calendar-lede { text-align: center; }
  .calendar-lede { max-width: 36rem; margin-left: auto; margin-right: auto; }

  .calendar-ledger {
    gap: 0.95rem;
  }

  .calendar-ledger::before { display: none; }

  .calendar-ledger .event-card {
    display: block;
    padding: 1.05rem 1.05rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-radius: var(--radius-md);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0)),
      rgba(13, 17, 30, 0.54);
    overflow: hidden;
  }

  .calendar-ledger .event-card + .event-card { border-top: 1px solid rgba(255, 255, 255, 0.085); }

  .calendar-ledger .event-date {
    min-height: 0;
    width: 100%;
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 0.55rem;
    padding: 0 0 0.8rem;
    margin-bottom: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  }

  .calendar-ledger .event-date::after { display: none; }

  .calendar-ledger .event-day {
    font-size: 1.45rem;
    line-height: 1;
    letter-spacing: -0.02em;
  }

  .calendar-ledger .event-month,
  .calendar-ledger .event-year {
    display: inline-block;
    margin-top: 0;
    font-size: 0.58rem;
    letter-spacing: 0.14em;
    text-align: left;
  }

  .calendar-ledger .event-details {
    padding: 0;
    min-width: 0;
  }

  .event-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.38rem 0.75rem;
    margin-bottom: 0.75rem;
  }

  .event-status,
  .event-location {
    line-height: 1.35;
    letter-spacing: 0.13em;
  }

  .event-location { font-size: 0.58rem; }

  .calendar-ledger .event-title {
    max-width: none;
    font-size: clamp(1.45rem, 6.7vw, 2rem);
    line-height: 1.08;
  }

  .calendar-ledger .event-description {
    font-size: 0.92rem;
    line-height: 1.62;
  }

  .event-card--upcoming::before {
    inset: 0;
    border-radius: inherit;
  }
}

/* ---------- Secondary page launch polish ---------- */
.page-hero-glow--blue {
  top: 19%;
  right: 11%;
  opacity: 0.1;
}

.page-hero-glow--pink {
  bottom: 17%;
  left: 8%;
  opacity: 0.085;
}

.page-section-glow--blue {
  top: 16%;
  right: -110px;
}

.page-section-glow--pink {
  bottom: 24%;
  left: -145px;
}

.page-content-heading {
  margin: 3rem 0 1.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: var(--tracking-eyebrow);
  line-height: 1.35;
  text-transform: uppercase;
}

.page-content-heading:first-child {
  margin-top: 0;
}

.page-content-heading--blue { color: var(--royal-blue-light); }
.page-content-heading--pink { color: var(--soft-pink); }
.page-content-heading--gold { color: var(--gold); }

.application-quote {
  margin: 3rem auto;
}

.application-form-container {
  max-width: 800px;
  margin: 4rem auto;
}

.btn-icon--back {
  margin-right: 8px;
  transform: rotate(180deg);
}

/* Drawer and mobile logo rules live in mobile-enhancements.css. */
