/* ============================================================= Brand tokens — color references for custom components. These mirror the Tailwind config in index.html so component styles work whether or not the utility layer is present. ============================================================= */ :root { --brand-purple-dark: #3b0764; --brand-purple: #6b21a8; --brand-purple-medium: #8b5cf6; --brand-purple-light: #f3e8ff; --brand-pink-dark: #be185d; --brand-pink: #ec4899; --brand-pink-light: #fce7f3; --brand-charcoal: #111827; --brand-gray: #4b5563; --brand-warm-white: #fdfbf7; --brand-warm-gray: #f9f8f6; --font-serif: "Playfair Display", Georgia, serif; --font-sans: "Plus Jakarta Sans", sans-serif; --radius-card: 1.25rem; --radius-pill: 9999px; } /* ============================================================= Base ============================================================= */ html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; } body { font-family: var(--font-sans); background: var(--brand-warm-white); color: var(--brand-charcoal); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; padding-bottom: env(safe-area-inset-bottom); } ::selection { background: var(--brand-pink-light); color: var(--brand-pink-dark); } p { text-wrap: pretty; } .overflow-fix { max-width: 100vw; overflow-x: hidden; } .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; } .focus\:not-sr-only:focus { position: fixed; top: 0.75rem; left: 0.75rem; z-index: 100; width: auto; height: auto; clip: auto; white-space: normal; } /* ============================================================= Buttons (custom, independent of Tailwind) ============================================================= */ .btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font-weight: 600; border-radius: var(--radius-pill); transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1); font-size: 0.9375rem; line-height: 1; white-space: nowrap; cursor: pointer; border: 1px solid transparent; text-decoration: none; font-family: inherit; } .btn:focus { outline: none; } .btn:focus-visible { box-shadow: 0 0 0 2px var(--brand-warm-white), 0 0 0 4px var(--brand-purple); } .btn-primary { background: var(--brand-purple); color: #fff; padding: 0.875rem 1.5rem; } .btn-primary:hover { background: var(--brand-purple-dark); transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(107, 33, 168, 0.55); } .btn-secondary { background: transparent; color: var(--brand-purple); padding: 0.875rem 1.5rem; border-color: rgba(107, 33, 168, 0.28); } .btn-secondary:hover { border-color: var(--brand-purple); background: rgba(243, 232, 255, 0.4); } .btn-pink { background: var(--brand-pink); color: #fff; padding: 0.875rem 1.5rem; } .btn-pink:hover { background: var(--brand-pink-dark); transform: translateY(-1px); } .btn-ghost-light { background: transparent; color: #fff; padding: 0.875rem 1.5rem; border-color: rgba(255, 255, 255, 0.25); } .btn-ghost-light:hover { border-color: rgba(255, 255, 255, 0.7); background: rgba(255, 255, 255, 0.06); } .btn-block { width: 100%; } .btn-sm { padding: 0.5rem 1rem; font-size: 0.8125rem; } .btn-lg { padding: 1rem 1.875rem; font-size: 1rem; } .link-arrow { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 600; color: var(--brand-purple); transition: all 0.3s; background: none; border: none; padding: 0; cursor: pointer; font-family: inherit; } .link-arrow svg { transition: transform 0.3s; } .link-arrow:hover { color: var(--brand-purple-dark); } .link-arrow:hover svg { transform: translateX(4px); } /* ============================================================= Animations ============================================================= */ @keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } } .fade-up { opacity: 0; animation: fadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards; } .fade-up-1 { animation-delay: 0.05s; } .fade-up-2 { animation-delay: 0.18s; } .fade-up-3 { animation-delay: 0.32s; } .fade-up-4 { animation-delay: 0.46s; } @keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } } .ambient-float { animation: floaty 6s ease-in-out infinite; } @keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } } .hero-img-zoom img { transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1); } .hero-img-zoom:hover img { transform: scale(1.04); } /* ============================================================= Navigation ============================================================= */ .nav-shell { background: rgba(253, 251, 247, 0.72); backdrop-filter: saturate(150%) blur(12px); -webkit-backdrop-filter: saturate(150%) blur(12px); border-bottom: 1px solid transparent; transition: padding 0.3s, border-color 0.3s, background 0.3s; } .nav-shell.is-scrolled { border-bottom-color: rgba(107, 33, 168, 0.10); } .nav-link { position: relative; font-size: 0.875rem; font-weight: 500; color: var(--brand-gray); transition: color 0.3s; text-decoration: none; } .nav-link::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1.5px; background: var(--brand-purple); transition: width 0.3s ease; } .nav-link:hover { color: var(--brand-purple); } .nav-link:hover::after { width: 100%; } /* Mobile menu */ .mobile-menu { background: #fff; border-left: 1px solid rgba(107, 33, 168, 0.10); transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1); } .mobile-menu.is-open { transform: translateX(0); } /* ============================================================= Hero ============================================================= */ .hero { position: relative; overflow: hidden; } .hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 85% 15%, rgba(236, 72, 153, 0.08), transparent 60%), radial-gradient(50% 50% at 10% 90%, rgba(107, 33, 168, 0.08), transparent 60%); pointer-events: none; } .hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.85rem; border-radius: var(--radius-pill); background: rgba(252, 231, 243, 0.7); color: var(--brand-pink-dark); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.05em; align-self: flex-start; } .hero-badge::before { content: ""; width: 6px; height: 6px; border-radius: 9999px; background: var(--brand-pink); box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.22); } .hero-stat-card { position: absolute; display: flex; align-items: center; gap: 0.75rem; background: #fff; border-radius: 0.875rem; padding: 0.75rem 1rem; box-shadow: 0 14px 40px -18px rgba(17, 24, 39, 0.25); border: 1px solid rgba(107, 33, 168, 0.08); } /* ============================================================= Trust strip marquee ============================================================= */ .marquee { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); } .marquee-track { display: flex; gap: 3.5rem; width: max-content; animation: marquee 32s linear infinite; } /* ============================================================= Impact grid ============================================================= */ .impact-grid > div { position: relative; padding-left: 0; } @media (min-width: 768px) { .impact-grid > div + div { padding-left: 1.5rem; } .impact-grid > div + div::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); height: 60%; width: 1px; background: rgba(107, 33, 168, 0.10); } } /* ============================================================= Story tabs ============================================================= */ .story-tab { position: relative; padding-bottom: 0.5rem; font-size: 0.875rem; font-weight: 600; color: var(--brand-gray); transition: color 0.3s; white-space: nowrap; background: none; border: 0; cursor: pointer; font-family: inherit; } .story-tab[aria-selected="true"] { color: var(--brand-purple); } .story-tab::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px; background: var(--brand-purple); transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease; } .story-tab[aria-selected="true"]::after { transform: scaleX(1); } .story-tab:hover { color: var(--brand-purple); } #story-content { transition: opacity 0.2s ease; } /* ============================================================= Programs ============================================================= */ .program-card { background: #fff; border-radius: var(--radius-card); padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); display: flex; flex-direction: column; height: 100%; position: relative; border: 1px solid rgba(107, 33, 168, 0.08); transition: background 0.3s, border-color 0.3s, box-shadow 0.3s; } .program-card:hover { background: var(--brand-warm-white); border-color: rgba(107, 33, 168, 0.18); } .program-number { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.22em; color: var(--brand-pink); margin-bottom: 1.5rem; display: inline-flex; align-items: center; gap: 0.6rem; } .program-number::before { content: ""; width: 1.25rem; height: 1px; background: var(--brand-pink); } /* ============================================================= Team carousel ============================================================= */ .team-row { scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: rgba(107, 33, 168, 0.2) transparent; } .team-row::-webkit-scrollbar { height: 6px; } .team-row::-webkit-scrollbar-track { background: transparent; } .team-row::-webkit-scrollbar-thumb { background: rgba(107, 33, 168, 0.22); border-radius: 9999px; } .team-card { scroll-snap-align: start; } .team-photo { transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); } .group:hover .team-photo { transform: scale(1.05); } /* ============================================================= Quote / stories ============================================================= */ .quote-block { position: relative; background: #fff; border-radius: var(--radius-card); padding: clamp(1.75rem, 1.2rem + 1.5vw, 2.5rem); height: 100%; display: flex; flex-direction: column; border: 1px solid rgba(107, 33, 168, 0.08); } .quote-block::before { content: "“"; position: absolute; top: -0.4rem; left: 1.25rem; font-family: var(--font-serif); font-size: 4rem; line-height: 1; color: rgba(243, 232, 255, 0.6); } /* Modal Base Overlay */ .modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(15, 23, 42, 0.6); /* Translucent backdrop overlay */ backdrop-filter: blur(4px); /* Soft background blur */ z-index: 9999; /* Ensures it sits top layer */ display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; } /* Open Modal State Class triggers visibility */ .modal-overlay.is-open { opacity: 1; pointer-events: auto; } /* Modal Content Card Sizing */ .modal-wrapper { background: #ffffff; width: 100%; max-width: 32rem; /* Equals Tailwind's max-w-xl layout width */ max-height: 85vh; /* Prevents overflow clipping off viewport */ border-radius: 1rem; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); margin: 1.5rem; display: flex; flex-direction: column; transform: scale(0.95); transition: transform 0.3s ease; } .modal-overlay.is-open .modal-wrapper { transform: scale(1); } .modal-content { position: relative; padding: 2rem; display: flex; flex-direction: column; height: 100%; overflow: hidden; } /* Scrollable Container Content Rules */ .modal-body { overflow-y: auto; padding-right: 0.5rem; } /* Absolute Position Dismiss Control Icon */ .modal-close-btn { position: absolute; top: 1.5rem; right: 1.5rem; background: transparent; border: none; cursor: pointer; color: #9ca3af; transition: color 0.2s ease; } .modal-close-btn:hover { color: #1f2937; } /* Stop underlying body element scaling shifts */ body.modal-open { overflow: hidden; } /* ============================================================= Get involved cards ============================================================= */ .ways-card { background: #fff; border-radius: var(--radius-card); padding: clamp(1.75rem, 1.2rem + 1.5vw, 2.5rem); display: flex; flex-direction: column; height: 100%; border: 1px solid rgba(107, 33, 168, 0.08); transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s; } .ways-card:hover { border-color: rgba(107, 33, 168, 0.25); box-shadow: 0 18px 40px -22px rgba(59, 7, 100, 0.25); transform: translateY(-2px); } .ways-icon { width: 2.5rem; height: 2.5rem; border-radius: 0.75rem; display: inline-flex; align-items: center; justify-content: center; background: rgba(243, 232, 255, 0.6); color: var(--brand-purple); margin-bottom: 1.25rem; } /* ============================================================= Final CTA ============================================================= */ .final-cta { background: radial-gradient(60% 80% at 80% 20%, rgba(236, 72, 153, 0.18), transparent 60%), radial-gradient(50% 60% at 10% 100%, rgba(139, 92, 246, 0.18), transparent 60%), var(--brand-charcoal); position: relative; overflow: hidden; } /* ============================================================= Footer ============================================================= */ .site-footer { background: #0b0f1a; color: rgba(255, 255, 255, 0.65); } .site-footer a { transition: color 0.3s; } .site-footer a:hover { color: #fff; } /* ============================================================= Mobile sticky bar ============================================================= */ .safe-bottom { padding-bottom: max(0.75rem, env(safe-area-inset-bottom)); } /* ============================================================= Modals ============================================================= */ .modal-panel { position: fixed; inset: 0 0 0 auto; width: 100%; max-width: 28rem; background: #fff; z-index: 60; box-shadow: -20px 0 60px -20px rgba(0, 0, 0, 0.25); overflow-y: auto; transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1); display: flex; flex-direction: column; } .modal-panel.is-open { transform: translateX(0); } .modal-overlay { position: fixed; inset: 0; background: rgba(17, 24, 39, 0.45); z-index: 55; opacity: 0; pointer-events: none; transition: opacity 0.3s; } .modal-overlay.is-open { opacity: 1; pointer-events: auto; } .field { width: 100%; padding: 0.875rem 1rem; border-radius: 0.625rem; border: 1px solid transparent; background: var(--brand-warm-gray); color: var(--brand-charcoal); font-size: 0.9375rem; font-family: inherit; transition: border-color 0.2s, background 0.2s; } .field::placeholder { color: var(--brand-gray); } .field:focus { outline: none; border-color: var(--brand-purple); background: #fff; } .tile-btn { padding: 0.75rem 0; border-radius: 0.625rem; border: 2px solid transparent; background: var(--brand-warm-gray); color: var(--brand-charcoal); font-weight: 600; font-size: 0.875rem; transition: border-color 0.2s, color 0.2s, background 0.2s; cursor: pointer; font-family: inherit; } .tile-btn:hover { border-color: rgba(107, 33, 168, 0.22); } .tile-btn.is-active { border-color: var(--brand-purple); color: var(--brand-purple); background: rgba(243, 232, 255, 0.3); } .freq-btn { padding: 0.5rem 0; border-radius: 9999px; font-size: 0.875rem; font-weight: 600; color: var(--brand-gray); background: transparent; border: 0; cursor: pointer; font-family: inherit; transition: color 0.2s, background 0.2s; } .freq-btn.is-active { background: #fff; color: var(--brand-purple); } /* Centered team modal */ .center-modal { position: fixed; inset: 0; z-index: 60; display: none; align-items: center; justify-content: center; padding: 1rem; } .center-modal.is-open { display: flex; } /* ============================================================= Scroll-reveal ============================================================= */ .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; } .reveal.is-visible { opacity: 1; transform: translateY(0); } /* ============================================================= Reduced motion ============================================================= */ @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; } }