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

:root {
    /* Purple & White palette */
    --purple-deep: #2d1b69;
    --purple-core: #6c3ce0;
    --purple-mid: #8b5cf6;
    --purple-light: #a78bfa;
    --purple-glow: #c4b5fd;
    --purple-muted: #4c1d95;
    --purple-dark: #1e1148;
    --white: #ffffff;
    --off-white: #f8f6ff;
    --ghost-white: #f0ecff;
    --charcoal: #1a1a2e;
    --charcoal-mid: #2d2d44;
    --ink: #0d0d1a;
    --text-secondary: #64648b;

    /* Typography */
    --font-display: 'Syne', sans-serif;
    --font-hero: 'Bebas Neue', sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-accent: 'Space Grotesk', sans-serif;

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--off-white);
    color: var(--charcoal);
    overflow-x: clip;
    line-height: 1.6;
    cursor: none;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: none;
}

button {
    border: none;
    background: none;
    cursor: none;
    font-family: inherit;
}

input,
textarea,
select {
    cursor: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ========================================
   CUSTOM CURSOR
======================================== */
.custom-cursor {
    width: 12px;
    height: 12px;
    background: var(--purple-core);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 100000;
    mix-blend-mode: difference;
    transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease;
    transform: translate(-50%, -50%);
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--purple-mid);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999;
    transition: transform 0.4s var(--ease-out-expo), width 0.3s ease, height 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
    transform: translate(-50%, -50%);
    opacity: 0.6;
}

.custom-cursor.hovering {
    transform: translate(-50%, -50%) scale(2.5);
    background: var(--purple-light);
}

.cursor-follower.hovering {
    width: 60px;
    height: 60px;
    border-color: var(--purple-glow);
    opacity: 0.3;
}

/* ========================================
   PRELOADER
======================================== */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--ink);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    text-align: center;
}

.preloader-logo {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--purple-mid), var(--purple-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: preloaderPulse 1.5s ease-in-out infinite alternate;
    margin-bottom: 2rem;
}

@keyframes preloaderPulse {
    0% {
        opacity: 0.5;
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.preloader-bar {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto 1.5rem;
}

.preloader-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--purple-core), var(--purple-glow));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.preloader-text {
    font-family: var(--font-accent);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

/* ========================================
   SCROLL PROGRESS BAR
======================================== */
.scroll-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, var(--purple-core), var(--purple-glow));
    transition: width 0.1s linear;
    z-index: 101;
}

/* ========================================
   HEADER
======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.25rem 2.5rem;
    transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.header.scrolled {
    background: rgba(13, 13, 26, 0.92);
    backdrop-filter: blur(12px);
    padding: 0.75rem 2.5rem;
    box-shadow: 0 2px 30px rgba(108, 60, 224, 0.15);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 101;
}

.logo-ye {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--purple-mid), var(--purple-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.9;
}

/* Hamburger */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 101;
    padding: 8px;
    transition: transform 0.3s ease;
}

.hamburger:hover {
    transform: scale(1.1);
}

.hamburger span {
    display: block;
    width: 28px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.4s var(--ease-out-expo);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ========================================
   SIDE NAV
======================================== */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 199;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

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

.side-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(480px, 85vw);
    height: 100vh;
    background: var(--purple-deep);
    z-index: 200;
    padding: 5rem 3.5rem;
    transition: right 0.6s var(--ease-out-expo);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.side-nav.active {
    right: 0;
}

.close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2.5rem;
    color: #fff;
    opacity: 0.7;
    transition: all 0.3s ease;
    line-height: 1;
}

.close-btn:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.nav-search input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.75rem 0;
    color: #fff;
    font-family: var(--font-accent);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    outline: none;
    transition: border-color 0.3s ease;
}

.nav-search input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.nav-search input:focus {
    border-bottom-color: var(--purple-light);
}

.nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.nav-links li {
    overflow: hidden;
}

.nav-links a {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.75rem 0;
    position: relative;
    transform: translateX(-100%);
    opacity: 0;
    transition: all 0.4s var(--ease-out-expo);
}

.side-nav.active .nav-links a {
    transform: translateX(0);
    opacity: 1;
}

.side-nav.active .nav-links li:nth-child(1) a {
    transition-delay: 0.15s;
}

.side-nav.active .nav-links li:nth-child(2) a {
    transition-delay: 0.2s;
}

.side-nav.active .nav-links li:nth-child(3) a {
    transition-delay: 0.25s;
}

.side-nav.active .nav-links li:nth-child(4) a {
    transition-delay: 0.3s;
}

.side-nav.active .nav-links li:nth-child(5) a {
    transition-delay: 0.35s;
}

.side-nav.active .nav-links li:nth-child(6) a {
    transition-delay: 0.4s;
}

.side-nav.active .nav-links li:nth-child(7) a {
    transition-delay: 0.45s;
}

.side-nav.active .nav-links li:nth-child(8) a {
    transition-delay: 0.5s;
}

.side-nav.active .nav-links li:nth-child(9) a {
    transition-delay: 0.55s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--purple-light);
    transition: width 0.4s var(--ease-out-expo);
}

.nav-links a:hover {
    color: var(--purple-light);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-home {
    color: var(--purple-light) !important;
    font-size: 1.2rem !important;
    opacity: 0.7;
}

.nav-footer-info {
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-footer-info p {
    font-family: var(--font-accent);
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.nav-socials {
    display: flex;
    gap: 1rem;
}

.nav-socials a {
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.nav-socials a:hover {
    color: var(--purple-light);
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: opacity 1.8s var(--ease-in-out), transform 8s linear;
    opacity: 0;
    will-change: opacity, transform;
}

.hero-bg.active {
    opacity: 1;
}

.hero-bg-1 {
    background-image: url('https://i0.wp.com/yeafoundationinc.org/wp-content/uploads/2023/06/Copy-of-Copy-of-YE-Theory-of-Change-Final.jpg?fit=1920%2C1080&ssl=1');
}

.hero-bg-2 {
    background-image: url('../images/hero-ye-universe-stars.png');
    background-position: center;
}

.hero-globe {
    position: absolute;
    bottom: clamp(-430px, -26vw, -220px);
    left: 50%;
    width: min(76vw, 980px);
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid rgba(125, 211, 252, 0.42);
    border-radius: 50%;
    background-image: url('../images/hero-earth-night-texture.png');
    background-repeat: repeat-x;
    background-position: 0 center;
    background-size: auto 100%;
    box-shadow:
        inset 24px 0 46px rgba(56, 189, 248, 0.25),
        inset -88px -24px 130px rgba(1, 4, 14, 0.78),
        0 0 24px rgba(96, 165, 250, 0.62),
        0 0 74px rgba(79, 70, 229, 0.28);
    transform: translateX(-50%);
    animation: spinYeGlobe 70s linear infinite;
    will-change: background-position;
}

.hero-globe::before,
.timeline-photo-globe::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(circle at 36% 24%, rgba(255, 255, 255, 0.24), transparent 26%),
        linear-gradient(90deg, rgba(1, 4, 14, 0.42), transparent 27% 64%, rgba(1, 4, 14, 0.68));
    pointer-events: none;
}

.hero-globe::after,
.timeline-photo-globe::after {
    content: '';
    position: absolute;
    top: -2%;
    left: 50%;
    width: 34%;
    height: 10%;
    border-radius: 50%;
    background: rgba(255, 244, 214, 0.72);
    filter: blur(22px);
    opacity: 0.8;
    transform: translateX(-50%);
    pointer-events: none;
}

@keyframes spinYeGlobe {
    from {
        background-position: 0 center;
    }

    to {
        background-position: 200% center;
    }
}

/* Ken Burns zoom effect on active slide */
.hero-bg-1.active {
    animation: kenBurns 10s ease-in-out forwards;
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.08);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(13, 13, 26, 0.4) 0%,
            rgba(13, 13, 26, 0.15) 40%,
            rgba(13, 13, 26, 0.5) 100%);
    z-index: 2;
}

/* Hero particles */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--purple-glow);
    border-radius: 50%;
    opacity: 0;
    animation: floatParticle linear infinite;
}

@keyframes floatParticle {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        opacity: 0;
        transform: translateY(-20vh) scale(1);
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
    padding: 0 2rem;
}

.hero-title-wrap {
    margin-bottom: 2.5rem;
}

.hero-title {
    font-family: var(--font-hero);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.title-line {
    display: block;
    overflow: hidden;
    white-space: nowrap;
}

.title-line-1 {
    font-size: clamp(4rem, 12vw, 9rem);
    margin-bottom: 0.05em;
}

.title-line-2 {
    font-size: clamp(3rem, 9vw, 7rem);
}

.char-wrap {
    display: inline-block;
    overflow: hidden;
}

.char {
    display: inline-block;
    transform: translateY(120%);
    opacity: 0;
    animation: charReveal 0.8s var(--ease-out-expo) forwards;
    transition: color 0.6s ease, text-shadow 0.6s ease;
    color: #fff;
}

/* Purple highlight class toggled by JS */
.char.purple-active {
    color: var(--purple-light);
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.6), 0 0 60px rgba(139, 92, 246, 0.2);
}

/* Stagger each character */
.title-line-1 .char-wrap:nth-child(1) .char {
    animation-delay: 0.3s;
}

.title-line-1 .char-wrap:nth-child(2) .char {
    animation-delay: 0.36s;
}

.title-line-1 .char-wrap:nth-child(3) .char {
    animation-delay: 0.42s;
}

.title-line-1 .char-wrap:nth-child(4) .char {
    animation-delay: 0.48s;
}

.title-line-1 .char-wrap:nth-child(5) .char {
    animation-delay: 0.54s;
}

.title-line-2 .char-wrap:nth-child(1) .char {
    animation-delay: 0.6s;
}

.title-line-2 .char-wrap:nth-child(2) .char {
    animation-delay: 0.64s;
}

.title-line-2 .char-wrap:nth-child(3) .char {
    animation-delay: 0.68s;
}

.title-line-2 .char-wrap:nth-child(4) .char {
    animation-delay: 0.72s;
}

.title-line-2 .char-wrap:nth-child(5) .char {
    animation-delay: 0.76s;
}

.title-line-2 .char-wrap:nth-child(6) .char {
    animation-delay: 0.80s;
}

.title-line-2 .char-wrap:nth-child(7) .char {
    animation-delay: 0.84s;
}

.title-line-2 .char-wrap:nth-child(8) .char {
    animation-delay: 0.88s;
}

.title-line-2 .char-wrap:nth-child(9) .char {
    animation-delay: 0.92s;
}

.title-line-2 .char-wrap:nth-child(10) .char {
    animation-delay: 0.96s;
}

.title-line-2 .char-wrap:nth-child(11) .char {
    animation-delay: 1.0s;
}

.title-line-2 .char-wrap:nth-child(12) .char {
    animation-delay: 1.04s;
}

.title-line-2 .char-wrap:nth-child(13) .char {
    animation-delay: 1.08s;
}

@keyframes charReveal {
    0% {
        transform: translateY(120%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Title glow pulse after reveal */
.hero-title {
    text-shadow:
        0 0 40px rgba(139, 92, 246, 0.0),
        0 2px 20px rgba(0, 0, 0, 0.3);
    animation: titleGlow 4s ease-in-out 2s infinite alternate;
}

@keyframes titleGlow {
    0% {
        text-shadow:
            0 0 40px rgba(139, 92, 246, 0.0),
            0 2px 20px rgba(0, 0, 0, 0.3);
    }

    100% {
        text-shadow:
            0 0 60px rgba(139, 92, 246, 0.12),
            0 0 120px rgba(139, 92, 246, 0.05),
            0 2px 20px rgba(0, 0, 0, 0.3);
    }
}

.hero-tagline {
    font-family: var(--font-accent);
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUpIn 0.8s var(--ease-out-expo) 1.4s forwards;
    color: var(--purple-glow);
}

@keyframes fadeUpIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-btn {
    display: inline-block;
    font-family: var(--font-accent);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    padding: 1rem 3rem;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUpIn 0.8s var(--ease-out-expo) 1.7s forwards;
    transition: all 0.5s var(--ease-out-expo);
}

.hero-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--purple-core), var(--purple-mid));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out-expo);
    z-index: -1;
}

.hero-btn:hover {
    border-color: var(--purple-mid);
    color: #fff;
}

.hero-btn:hover::before {
    transform: scaleX(1);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    animation: fadeUpIn 0.8s var(--ease-out-expo) 2.2s forwards;
}

.scroll-text {
    font-family: var(--font-accent);
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, rgba(167, 139, 250, 0.7), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        transform: scaleY(1);
        opacity: 0.6;
    }

    50% {
        transform: scaleY(1.3);
        opacity: 1;
    }
}

/* ========================================
   MARQUEE SECTION
======================================== */
.marquee-section {
    background: var(--purple-deep);
    padding: 1.25rem 0;
    overflow: hidden;
    position: relative;
}

.marquee-track {
    display: flex;
    width: max-content;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    animation: marqueeScroll 25s linear infinite;
    white-space: nowrap;
    padding-right: 2.5rem;
}

.marquee-content-reverse {
    animation: marqueeScrollReverse 30s linear infinite;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes marqueeScrollReverse {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.marquee-content span {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.marquee-dot {
    font-size: 0.5rem !important;
    color: var(--purple-light) !important;
    opacity: 0.5;
}

.marquee-reverse {
    background: var(--ink);
}

/* ========================================
   ABOUT SECTION
======================================== */
.about-section {
    padding: 8rem 2.5rem;
    background: var(--off-white);
    position: relative;
    overflow: hidden;
    transition: background 0.6s ease, color 0.6s ease;
}

.about-section::before {
    content: 'YE';
    position: absolute;
    top: -5rem;
    right: -3rem;
    font-family: var(--font-display);
    font-size: 25rem;
    font-weight: 800;
    color: rgba(108, 60, 224, 0.03);
    line-height: 1;
    pointer-events: none;
    letter-spacing: -0.05em;
}

.section-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.label-line {
    display: block;
    width: 60px;
    height: 1px;
    background: var(--purple-core);
    opacity: 0.3;
}

.label-text {
    font-family: var(--font-accent);
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--purple-core);
    font-weight: 600;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    max-width: 1300px;
    margin: 0 auto;
    align-items: center;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(108, 60, 224, 0.12);
    border: 1px solid rgba(108, 60, 224, 0.1);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* Quote header for the about section */
.quote-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.quote-icon {
    width: 48px;
    height: 48px;
    color: var(--purple-core);
    flex-shrink: 0;
    opacity: 0.7;
}

.quote-heading {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--charcoal);
    line-height: 1.15;
}

.about-paragraphs p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--charcoal-mid);
    margin-bottom: 1.25rem;
    opacity: 0.85;
}

.about-paragraphs p:first-child {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--charcoal);
    opacity: 1;
}

.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(108, 60, 224, 0.1);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--purple-core);
    line-height: 1;
}

.stat-plus {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--purple-core);
}

.stat-label {
    font-family: var(--font-accent);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--charcoal);
    opacity: 0.6;
}

/* ========================================
   PROGRAMS SECTION
======================================== */
.programs-section {
    padding: 8rem 2.5rem;
    background: var(--ink);
    position: relative;
    overflow: hidden;
    transition: background 0.6s ease;
}

.programs-section .section-label .label-text {
    color: var(--purple-light);
}

.programs-section .section-label .label-line {
    background: var(--purple-light);
}

.programs-heading {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: #fff;
    text-align: center;
    margin-top: -2rem;
    margin-bottom: 4rem;
    line-height: 1.1;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

.program-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.6s var(--ease-out-expo);
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--purple-core), var(--purple-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--ease-out-expo);
}

.program-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(108, 60, 224, 0.1);
}

.program-card:hover::before {
    transform: scaleX(1);
}

.program-icon {
    width: 56px;
    height: 56px;
    color: var(--purple-light);
    margin-bottom: 1.5rem;
    transition: transform 0.5s var(--ease-out-expo);
}

.program-card:hover .program-icon {
    transform: scale(1.1) rotate(5deg);
}

.program-icon svg {
    width: 100%;
    height: 100%;
}

.program-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.04);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    line-height: 1;
    transition: color 0.4s ease;
}

.program-card:hover .program-number {
    color: rgba(139, 92, 246, 0.12);
}

.program-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.program-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 1.5rem;
}

.program-cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-accent);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--purple-light);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s var(--ease-out-expo);
}

.program-card:hover .program-cta {
    opacity: 1;
    transform: translateY(0);
}

.program-arrow {
    transition: transform 0.3s ease;
}

.program-card:hover .program-arrow {
    transform: translateX(5px);
}

/* ========================================
   GALLERY SECTION
======================================== */
.gallery-section {
    padding: 8rem 0 6rem;
    background: var(--off-white);
    position: relative;
    overflow: hidden;
    transition: background 0.6s ease;
}

.gallery-header {
    padding: 0 2.5rem;
    margin-bottom: 3rem;
}

.gallery-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: var(--charcoal);
    text-align: center;
    margin-top: -2rem;
    line-height: 1.1;
}

.gallery-scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 2.5rem 2rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.gallery-scroll-container::-webkit-scrollbar {
    display: none;
}

.gallery-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    padding-right: 2.5rem;
}

.gallery-item {
    width: 380px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: transform 0.6s var(--ease-out-expo), box-shadow 0.6s ease;
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px rgba(108, 60, 224, 0.15);
}

.gallery-img {
    width: 100%;
    height: 280px;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s var(--ease-out-expo);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.08);
}

.gallery-caption {
    background: var(--charcoal);
    padding: 1.25rem 1.5rem;
    transition: background 0.3s ease;
}

.gallery-tag {
    font-family: var(--font-accent);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--purple-light);
    margin-bottom: 0.5rem;
    display: block;
}

.gallery-caption p {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.gallery-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 2.5rem 0;
}

.gallery-arrow-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid rgba(108, 60, 224, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple-core);
    transition: all 0.4s var(--ease-out-expo);
}

.gallery-arrow-btn:hover {
    background: var(--purple-core);
    border-color: var(--purple-core);
    color: #fff;
    transform: scale(1.1);
}

.gallery-counter {
    font-family: var(--font-accent);
    font-size: 0.85rem;
    color: var(--text-secondary);
    letter-spacing: 0.15em;
}

/* ========================================
   IMPACT / TIMELINE SECTION
======================================== */
.impact-section {
    padding: 8rem 2.5rem;
    background: var(--charcoal);
    position: relative;
    overflow: hidden;
    transition: background 0.6s ease;
}

.impact-section .section-label .label-text {
    color: var(--purple-light);
}

.impact-section .section-label .label-line {
    background: var(--purple-light);
}

.impact-heading {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: #fff;
    text-align: center;
    margin-top: -2rem;
    margin-bottom: 5rem;
    line-height: 1.1;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent, var(--purple-core), var(--purple-light), transparent);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-left {
    justify-content: flex-start;
    padding-right: calc(50% + 40px);
    text-align: right;
}

.timeline-right {
    justify-content: flex-end;
    padding-left: calc(50% + 40px);
    text-align: left;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 0.5rem;
    width: 16px;
    height: 16px;
    background: var(--purple-core);
    border: 3px solid var(--charcoal);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    transition: all 0.4s ease;
    box-shadow: 0 0 0 4px rgba(108, 60, 224, 0.2);
}

.timeline-item:hover .timeline-dot {
    transform: translateX(-50%) scale(1.4);
    box-shadow: 0 0 0 8px rgba(108, 60, 224, 0.3), 0 0 20px rgba(108, 60, 224, 0.4);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.5s var(--ease-out-expo);
}

.timeline-item:hover .timeline-content {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.timeline-year {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--purple-light);
    display: block;
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.timeline-content p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   NEWS SECTION
======================================== */
.news-section {
    padding: 7rem 2.5rem 6rem;
    background: #000000;
    position: relative;
    overflow: hidden;
    transition: background 0.6s ease, color 0.6s ease;
}

/* Subtle noise texture overlay for newsletter feel */
.news-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

.news-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.overline {
    display: block;
    font-family: var(--font-accent);
    font-size: 0.7rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
    font-weight: 600;
    transition: color 0.4s ease;
}

.news-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    transition: color 0.4s ease;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.news-card {
    position: relative;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.5s var(--ease-out-expo);
    cursor: pointer;
}

.news-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.news-card-accent {
    height: 3px;
    background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.5));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--ease-out-expo);
}

.news-card:hover .news-card-accent {
    transform: scaleX(1);
}

.news-card-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 8.5;
    background: linear-gradient(135deg, var(--purple-deep), var(--ink));
}

.news-card-media::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, transparent 52%, rgba(13, 13, 26, 0.34));
    pointer-events: none;
}

.news-card-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.02);
    animation: headlinePhotoCycle 10s ease-in-out infinite;
    will-change: opacity, transform;
}

.news-card-image:nth-child(2) {
    animation-delay: -5s;
}

.news-card-image-gates-disk {
    object-position: center 24%;
}

.news-card-image-gates-portrait {
    object-position: center 31%;
}

.news-card-image-giving-basketball {
    object-position: center 30%;
}

.news-card-image-giving-community {
    object-position: center 42%;
}

@keyframes headlinePhotoCycle {
    0%, 42% {
        opacity: 1;
        transform: scale(1.02);
    }

    50%, 92% {
        opacity: 0;
        transform: scale(1.08);
    }

    100% {
        opacity: 1;
        transform: scale(1.02);
    }
}

.news-card-inner {
    padding: 2rem 2.25rem;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.news-category {
    font-family: var(--font-accent);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    padding: 0.3rem 0.75rem;
    border-radius: 2px;
    transition: background 0.4s ease, color 0.4s ease;
}

.news-date {
    font-family: var(--font-accent);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.05em;
}

.news-card-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.news-card:hover .news-card-title {
    color: var(--purple-glow);
}

.news-excerpt {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.5rem;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.read-time {
    font-family: var(--font-accent);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.05em;
}

.news-arrow {
    font-size: 1.25rem;
    color: var(--purple-light);
    transition: transform 0.3s ease;
    opacity: 0;
}

.news-card:hover .news-arrow {
    opacity: 1;
    transform: translateX(4px);
}

@media (max-width: 640px) {
    .news-card-media {
        aspect-ratio: 4 / 3;
    }
}

@media (prefers-reduced-motion: reduce) {
    .news-card-image {
        animation: none;
    }

    .news-card-image:first-child {
        opacity: 1;
    }
}

/* News CTA */
.news-cta {
    text-align: center;
    margin-top: 4rem;
}

.news-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-accent);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #fff;
    border: 1.5px solid rgba(167, 139, 250, 0.35);
    padding: 1.1rem 3rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--ease-out-expo);
    border-radius: 2px;
}

.news-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--purple-core), var(--purple-mid));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out-expo);
    z-index: -1;
}

.news-btn:hover {
    border-color: var(--purple-mid);
    color: #fff;
}

.news-btn:hover::before {
    transform: scaleX(1);
}

.btn-icon {
    transition: transform 0.3s ease;
}

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

/* ========================================
   TESTIMONIALS SECTION
======================================== */
.testimonials-section {
    padding: 8rem 2.5rem;
    background: var(--off-white);
    position: relative;
    overflow: hidden;
    transition: background 0.6s ease;
}

.testimonials-heading {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: var(--charcoal);
    text-align: center;
    margin-top: -2rem;
    margin-bottom: 4rem;
    line-height: 1.1;
}

.testimonials-carousel {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    min-height: 280px;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid rgba(108, 60, 224, 0.1);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(108, 60, 224, 0.06);
    opacity: 0;
    transform: translateX(60px) scale(0.95);
    transition: all 0.7s var(--ease-out-expo);
    pointer-events: none;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: all;
}

.testimonial-quote {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.8;
    color: var(--charcoal-mid);
    margin-bottom: 2rem;
    position: relative;
}

.testimonial-quote::before {
    content: '"';
    font-family: var(--font-display);
    font-size: 5rem;
    color: var(--purple-glow);
    position: absolute;
    top: -2rem;
    left: -0.5rem;
    opacity: 0.3;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple-core), var(--purple-mid));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.testimonial-name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--charcoal);
}

.testimonial-role {
    font-family: var(--font-accent);
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.t-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(108, 60, 224, 0.15);
    border: none;
    transition: all 0.4s ease;
    padding: 0;
}

.t-dot.active {
    background: var(--purple-core);
    transform: scale(1.3);
    box-shadow: 0 0 12px rgba(108, 60, 224, 0.4);
}

.t-dot:hover {
    background: var(--purple-mid);
}

/* ========================================
   DONATE SECTION
======================================== */
.donate-section {
    padding: 10rem 2.5rem;
    background: linear-gradient(135deg, var(--purple-deep) 0%, var(--purple-muted) 50%, var(--purple-dark) 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.donate-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-hero);
    font-size: clamp(15rem, 30vw, 35rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    pointer-events: none;
    letter-spacing: 0.05em;
}

.donate-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.donate-overline {
    font-family: var(--font-accent);
    font-size: 0.75rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--purple-glow);
    display: block;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.donate-heading {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.donate-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 3rem;
}

.donate-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.donate-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-accent);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 1.15rem 2.5rem;
    border-radius: 4px;
    transition: all 0.5s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.donate-btn-primary {
    background: #fff;
    color: var(--purple-deep);
}

.donate-btn-primary:hover {
    background: var(--purple-glow);
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.donate-btn-icon {
    transition: transform 0.4s ease;
}

.donate-btn-primary:hover .donate-btn-icon {
    transform: scale(1.3);
}

.donate-btn-secondary {
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.donate-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-4px);
}

.donate-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.donate-trust span {
    font-family: var(--font-accent);
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.donate-trust-dot {
    font-size: 0.4rem !important;
}

/* ========================================
   VOLUNTEER SECTION
======================================== */
.volunteer-section {
    padding: 8rem 2.5rem;
    background: var(--off-white);
    position: relative;
    overflow: hidden;
    transition: background 0.6s ease;
}

.volunteer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    max-width: 1300px;
    margin: 0 auto;
    align-items: center;
}

.volunteer-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.volunteer-desc {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--charcoal-mid);
    margin-bottom: 2.5rem;
    opacity: 0.8;
}

.volunteer-text .section-label {
    justify-content: flex-start;
    margin-bottom: 1.5rem;
}

.volunteer-roles {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.volunteer-role {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.25rem;
    background: #fff;
    border-radius: 10px;
    border: 1px solid rgba(108, 60, 224, 0.08);
    transition: all 0.5s var(--ease-out-expo);
}

.volunteer-role:hover {
    transform: translateX(8px);
    border-color: rgba(108, 60, 224, 0.2);
    box-shadow: 0 10px 30px rgba(108, 60, 224, 0.06);
}

.role-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.volunteer-role h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 0.35rem;
}

.volunteer-role p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--charcoal-mid);
    opacity: 0.75;
}

.volunteer-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-accent);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    background: var(--purple-core);
    padding: 1rem 2.5rem;
    border-radius: 4px;
    transition: all 0.5s var(--ease-out-expo);
}

.volunteer-btn:hover {
    background: var(--purple-mid);
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(108, 60, 224, 0.3);
}

.volunteer-visual {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.volunteer-stat-card {
    background: #fff;
    border: 1px solid rgba(108, 60, 224, 0.08);
    border-radius: 12px;
    padding: 2rem 2.5rem;
    text-align: center;
    transition: all 0.5s var(--ease-out-expo);
}

.volunteer-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(108, 60, 224, 0.08);
    border-color: rgba(108, 60, 224, 0.2);
}

.volunteer-stat-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--purple-core);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.volunteer-stat-label {
    font-family: var(--font-accent);
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

/* ========================================
   APPLICATION SECTION
======================================== */
.apply-section {
    padding: 8rem 2.5rem;
    background: var(--charcoal);
    position: relative;
    overflow: hidden;
    transition: background 0.6s ease;
}

.apply-section .section-label .label-text {
    color: var(--purple-light);
}

.apply-section .section-label .label-line {
    background: var(--purple-light);
}

.apply-inner {
    max-width: 800px;
    margin: 0 auto;
}

.apply-heading {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: #fff;
    text-align: center;
    margin-top: -2rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.apply-desc {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
    margin-bottom: 3.5rem;
}

.apply-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.form-group label {
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    padding: 1rem 1.25rem;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.4s ease;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--purple-mid);
    background: rgba(108, 60, 224, 0.08);
    box-shadow: 0 0 0 3px rgba(108, 60, 224, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.apply-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-family: var(--font-accent);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--purple-deep);
    background: #fff;
    padding: 1.15rem 3rem;
    border-radius: 4px;
    transition: all 0.5s var(--ease-out-expo);
    align-self: center;
    border: none;
    position: relative;
    overflow: hidden;
}

.apply-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--purple-core), var(--purple-mid));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out-expo);
    z-index: 0;
}

.apply-submit:hover {
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.apply-submit:hover::before {
    transform: scaleX(1);
}

.submit-text,
.submit-icon {
    position: relative;
    z-index: 1;
}

.submit-icon {
    transition: transform 0.3s ease;
}

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

/* Success state */
.apply-submit.success {
    background: #22c55e;
    color: #fff;
    pointer-events: none;
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background: var(--ink);
    padding: 0;
    position: relative;
    border-top: 1px solid rgba(108, 60, 224, 0.1);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem 2.5rem 4rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo-ye {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--purple-mid), var(--purple-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo-text {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.3;
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.6;
}

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

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.footer-col a {
    display: block;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.4);
    padding: 0.35rem 0;
    transition: all 0.3s ease;
    position: relative;
}

.footer-col a:hover {
    color: var(--purple-light);
    transform: translateX(5px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-family: var(--font-accent);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.08em;
}

.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-bottom-right a {
    font-family: var(--font-accent);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.footer-bottom-right a:hover {
    color: var(--purple-light);
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    padding: 0.6rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    cursor: none;
    transition: all 0.4s ease;
    background: transparent;
}

.dark-mode-toggle:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.06);
}

.toggle-icon {
    display: flex;
    align-items: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.moon-icon {
    display: none;
}

body.dark-mode .sun-icon {
    display: none;
}

body.dark-mode .moon-icon {
    display: flex;
}

.toggle-label {
    transition: opacity 0.3s ease;
}

body.dark-mode .toggle-label::after {
    content: ' ON';
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--purple-core);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.5s var(--ease-out-expo);
    box-shadow: 0 8px 30px rgba(108, 60, 224, 0.3);
}

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

.back-to-top:hover {
    background: var(--purple-mid);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(108, 60, 224, 0.4);
}

/* ========================================
   APPAREL SECTION
======================================== */
.apparel-section {
    padding: 8rem 2.5rem;
    background: var(--off-white);
    position: relative;
    overflow: hidden;
    transition: background 0.6s ease;
}

.apparel-heading {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: var(--charcoal);
    text-align: center;
    margin-top: -2rem;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.apparel-subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--charcoal-mid);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
    opacity: 0.75;
}

.apparel-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

.apparel-card {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(108, 60, 224, 0.08);
    transition: all 0.6s var(--ease-out-expo);
}

.apparel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(108, 60, 224, 0.12);
    border-color: rgba(108, 60, 224, 0.2);
}

.apparel-img-placeholder {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #f0ecff 0%, #e8e0ff 30%, #f5f2ff 60%, #ede6ff 100%);
    background-size: 300% 300%;
    animation: apparelShimmer 6s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.apparel-img-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        transparent 0%,
        rgba(108, 60, 224, 0.04) 50%,
        transparent 100%
    );
    background-size: 200% 200%;
    animation: apparelShimmer 4s ease-in-out infinite reverse;
}

@keyframes apparelShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.apparel-placeholder-icon {
    width: 56px;
    height: 56px;
    color: var(--purple-light);
    opacity: 0.5;
    transition: all 0.5s var(--ease-out-expo);
}

.apparel-card:hover .apparel-placeholder-icon {
    opacity: 0.8;
    transform: scale(1.1);
}

.apparel-placeholder-icon svg {
    width: 100%;
    height: 100%;
}

.apparel-placeholder-text {
    font-family: var(--font-accent);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--purple-light);
    opacity: 0.5;
    font-weight: 600;
}

.apparel-info {
    padding: 1.5rem;
}

.apparel-tag {
    font-family: var(--font-accent);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--purple-core);
    display: block;
    margin-bottom: 0.5rem;
}

.apparel-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.apparel-price {
    font-family: var(--font-accent);
    font-size: 1rem;
    font-weight: 700;
    color: var(--purple-core);
}

.apparel-cta {
    text-align: center;
    margin-top: 3rem;
}

.apparel-coming-soon {
    font-family: var(--font-accent);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    font-weight: 500;
    font-style: italic;
}

/* Apparel Dark Mode */
body.dark-mode .apparel-section {
    background: #111;
}

body.dark-mode .apparel-heading {
    color: #fff;
}

body.dark-mode .apparel-subtitle {
    color: rgba(255, 255, 255, 0.55);
}

body.dark-mode .apparel-card {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .apparel-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

body.dark-mode .apparel-img-placeholder {
    background: linear-gradient(135deg, #1a1030 0%, #2a1858 30%, #1e1348 60%, #251a55 100%);
    background-size: 300% 300%;
}

body.dark-mode .apparel-img-placeholder::before {
    background: linear-gradient(
        135deg,
        transparent 0%,
        rgba(139, 92, 246, 0.08) 50%,
        transparent 100%
    );
}

body.dark-mode .apparel-name {
    color: #fff;
}

body.dark-mode .apparel-coming-soon {
    color: rgba(255, 255, 255, 0.4);
}

/* ========================================
   MODAL OVERLAY & FORMS
======================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s var(--ease-out-expo);
    padding: 2rem;
    cursor: none;
}

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

.modal-container {
    background: var(--charcoal);
    border: 1px solid rgba(108, 60, 224, 0.2);
    border-radius: 16px;
    padding: 3rem;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(40px) scale(0.95);
    transition: all 0.5s var(--ease-out-expo);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5), 0 0 60px rgba(108, 60, 224, 0.1);
}

.modal-overlay.active .modal-container {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.5);
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.modal-overline {
    display: block;
    font-family: var(--font-accent);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--purple-glow);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.modal-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

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

.modal-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.modal-form-group label {
    font-family: var(--font-accent);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.modal-form-group input,
.modal-form-group textarea,
.modal-form-group select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    padding: 0.85rem 1rem;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.4s ease;
    outline: none;
    -webkit-appearance: none;
}

.modal-form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.modal-form-group select option {
    background: var(--charcoal);
    color: #fff;
}

.modal-form-group input::placeholder,
.modal-form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.modal-form-group input:focus,
.modal-form-group textarea:focus,
.modal-form-group select:focus {
    border-color: var(--purple-mid);
    background: rgba(108, 60, 224, 0.08);
    box-shadow: 0 0 0 3px rgba(108, 60, 224, 0.15);
}

.modal-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.modal-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-family: var(--font-accent);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--purple-deep);
    background: #fff;
    padding: 1.1rem 2.5rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.5s var(--ease-out-expo);
    align-self: center;
    margin-top: 0.5rem;
    position: relative;
    overflow: hidden;
}

.modal-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--purple-core), var(--purple-mid));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out-expo);
    z-index: 0;
}

.modal-submit:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.modal-submit:hover::before {
    transform: scaleX(1);
}

.modal-submit-text,
.modal-submit-icon {
    position: relative;
    z-index: 1;
}

.modal-submit.success {
    background: #22c55e;
    color: #fff;
    pointer-events: none;
}

.modal-submit.success::before {
    display: none;
}

.modal-disclaimer {
    font-family: var(--font-accent);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
    text-align: center;
    margin-top: 0.5rem;
}

/* Modal scrollbar */
.modal-container::-webkit-scrollbar {
    width: 4px;
}

.modal-container::-webkit-scrollbar-track {
    background: transparent;
}

.modal-container::-webkit-scrollbar-thumb {
    background: rgba(108, 60, 224, 0.3);
    border-radius: 2px;
}

/* ========================================
   SCROLL ANIMATIONS (initial states)
======================================== */
.anim-fade-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.9s var(--ease-out-expo);
}

.anim-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.anim-slide-left {
    opacity: 0;
    transform: translateX(-80px);
    transition: all 1s var(--ease-out-expo);
}

.anim-slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.anim-slide-right {
    opacity: 0;
    transform: translateX(80px);
    transition: all 1s var(--ease-out-expo);
}

.anim-slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.anim-slide-up {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.9s var(--ease-out-expo);
}

.anim-slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.anim-scale-in {
    opacity: 0;
    transform: scale(0.85);
    transition: all 1s var(--ease-out-expo);
}

.anim-scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* ========================================
   MAGNETIC HOVER EFFECT
======================================== */
.magnetic-hover {
    transition: transform 0.3s var(--ease-out-expo);
}

/* ========================================
   SPLIT TEXT REVEAL (for section headings)
======================================== */
.text-reveal-wrap {
    overflow: hidden;
    display: inline-block;
}

.text-reveal-inner {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 0.8s var(--ease-out-expo);
}

.text-reveal-wrap.visible .text-reveal-inner {
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1100px) {
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .header {
        padding: 1rem 1.5rem;
    }

    .about-section {
        padding: 5rem 1.5rem;
    }

    .news-section {
        padding: 5rem 1.5rem 4rem;
    }

    .programs-section {
        padding: 5rem 1.5rem;
    }

    .programs-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .gallery-section {
        padding: 5rem 0 4rem;
    }

    .gallery-item {
        width: 300px;
    }

    .impact-section {
        padding: 5rem 1.5rem;
    }

    .timeline-left {
        padding-right: 0;
        padding-left: calc(30px + 2rem);
        text-align: left;
    }

    .timeline-right {
        padding-left: calc(30px + 2rem);
    }

    .timeline-line {
        left: 15px;
    }

    .timeline-dot {
        left: 15px;
    }

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

    .volunteer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .modal-container {
        padding: 2.5rem 2rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .donate-section {
        padding: 6rem 1.5rem;
    }

    .apply-section {
        padding: 5rem 1.5rem;
    }

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

    .testimonials-section {
        padding: 5rem 1.5rem;
    }

    /* Hide custom cursor on tablet/mobile */
    .custom-cursor,
    .cursor-follower {
        display: none;
    }

    body,
    a,
    button,
    input,
    textarea,
    select {
        cursor: auto;
    }
}

@media (max-width: 1100px) {
    .donate-page-section .anim-slide-right {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 600px) {
    html,
    body {
        overflow-x: clip;
    }

    .hero-btn {
        padding: 0.85rem 2rem;
        font-size: 0.75rem;
    }

    .about-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .side-nav {
        padding: 4rem 2rem;
    }

    .logo-text {
        display: none;
    }

    .quote-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .quote-icon {
        width: 36px;
        height: 36px;
    }

    .donate-buttons {
        flex-direction: column;
        align-items: center;
    }

    .gallery-item {
        width: 260px;
    }

    .apparel-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin: 0 auto;
    }

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

    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-right {
        flex-wrap: wrap;
        justify-content: center;
    }

    .testimonial-card {
        padding: 2rem 1.5rem;
    }

    .testimonial-quote {
        font-size: 1rem;
    }
}

/* ========================================
   DARK MODE OVERRIDES
   Hero → darker hue
   About → black background
   Headlines → white background
======================================== */

/* HERO: darken the overlay further */
body.dark-mode .hero-overlay {
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.65) 0%,
            rgba(0, 0, 0, 0.4) 40%,
            rgba(0, 0, 0, 0.75) 100%);
}

body.dark-mode .header.scrolled {
    background: rgba(0, 0, 0, 0.92);
}

/* ABOUT SECTION: black background, light text */
body.dark-mode .about-section {
    background: #000;
}

body.dark-mode .about-section::before {
    color: rgba(255, 255, 255, 0.03);
}

body.dark-mode .label-text {
    color: var(--purple-light);
}

body.dark-mode .label-line {
    background: var(--purple-light);
}

body.dark-mode .quote-heading {
    color: #fff;
}

body.dark-mode .about-paragraphs p {
    color: rgba(255, 255, 255, 0.6);
}

body.dark-mode .about-paragraphs p:first-child {
    color: rgba(255, 255, 255, 0.85);
}

body.dark-mode .stat-label {
    color: rgba(255, 255, 255, 0.55);
}

body.dark-mode .about-stats {
    border-top-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .video-wrapper {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.1);
}

/* NEWS/HEADLINES SECTION: white background, dark text */
body.dark-mode .news-section {
    background: #ffffff;
}

body.dark-mode .news-section::before {
    opacity: 0.015;
}

body.dark-mode .overline {
    color: rgba(0, 0, 0, 0.45);
}

body.dark-mode .news-title {
    color: #0d0d1a;
}

body.dark-mode .news-card {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.1);
}

body.dark-mode .news-card:hover {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

body.dark-mode .news-card-accent {
    background: linear-gradient(90deg, var(--purple-core), var(--purple-mid));
}

body.dark-mode .news-category {
    color: var(--purple-core);
    background: rgba(108, 60, 224, 0.1);
}

body.dark-mode .news-date {
    color: rgba(0, 0, 0, 0.4);
}

body.dark-mode .news-card-title {
    color: #1a1a2e;
}

body.dark-mode .news-card:hover .news-card-title {
    color: var(--purple-core);
}

body.dark-mode .news-excerpt {
    color: rgba(0, 0, 0, 0.5);
}

body.dark-mode .news-footer {
    border-top-color: rgba(0, 0, 0, 0.08);
}

body.dark-mode .read-time {
    color: rgba(0, 0, 0, 0.35);
}

body.dark-mode .news-arrow {
    color: var(--purple-core);
}

body.dark-mode .news-btn {
    color: #1a1a2e;
    border-color: rgba(0, 0, 0, 0.2);
}

body.dark-mode .news-btn:hover {
    color: #fff;
    border-color: var(--purple-mid);
}

body.dark-mode .news-btn::before {
    background: linear-gradient(135deg, var(--purple-core), var(--purple-mid));
}

/* ========================================
   REQUESTED PAGE AND CONTENT UPDATES
======================================== */

/* Headlines: white, directly below the entrance, with the current featured stories. */
.news-section,
body.dark-mode .news-section {
    background: #ffffff;
}

.news-section::before,
body.dark-mode .news-section::before {
    opacity: 0.015;
}

.news-section .overline,
.news-section .news-date,
.news-section .read-time {
    color: rgba(13, 13, 26, 0.5);
}

.news-section .news-title,
.news-section .news-card-title,
.news-section .news-btn {
    color: var(--charcoal);
}

.news-section .news-card {
    background: var(--off-white);
    border-color: rgba(45, 27, 105, 0.12);
}

.news-section .news-card:hover {
    background: #ffffff;
    border-color: rgba(108, 60, 224, 0.35);
    box-shadow: 0 20px 40px rgba(45, 27, 105, 0.12);
}

.news-section .news-card-accent {
    background: linear-gradient(90deg, var(--purple-core), var(--purple-mid));
}

.news-section .news-category {
    color: var(--purple-core);
    background: rgba(108, 60, 224, 0.1);
}

.news-section .news-excerpt {
    color: var(--text-secondary);
}

.news-section .news-footer {
    border-top-color: rgba(45, 27, 105, 0.08);
}

.news-carousel {
    display: grid;
    grid-template-columns: auto minmax(0, 1200px) auto;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    max-width: 1320px;
    margin: 0 auto;
}

.news-grid {
    display: flex;
    gap: 1.5rem;
    max-width: 1200px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 0.5rem;
}

.news-grid::-webkit-scrollbar {
    display: none;
}

.news-grid > .news-card {
    flex: 0 0 min(720px, calc(100% - 2rem));
    scroll-snap-align: center;
}

.news-carousel-btn {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(108, 60, 224, 0.25);
    border-radius: 50%;
    color: var(--purple-core);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.news-carousel-btn:hover {
    color: #ffffff;
    background: var(--purple-core);
}

.news-grid > .news-card:focus-visible {
    outline: 3px solid var(--purple-mid);
    outline-offset: 3px;
}

.article-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(13, 13, 26, 0.82);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.article-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.article-modal {
    width: min(620px, 100%);
    padding: clamp(2rem, 5vw, 3.5rem);
    border-top: 4px solid var(--purple-core);
    background: #ffffff;
    color: var(--charcoal);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: translateY(24px);
    transition: transform 0.35s var(--ease-out-expo);
}

.article-modal-overlay.active .article-modal {
    transform: translateY(0);
}

.article-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    color: var(--charcoal);
    font-size: 2rem;
    line-height: 1;
}

.article-modal-category {
    display: block;
    margin-bottom: 1rem;
    color: var(--purple-core);
    font-family: var(--font-accent);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.article-modal-title {
    margin-bottom: 1rem;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 5vw, 2.75rem);
    line-height: 1.15;
}

.article-modal-description {
    margin-bottom: 2rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

.article-modal-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 1rem 1.5rem;
    color: #ffffff;
    background: var(--purple-core);
    font-family: var(--font-accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.article-modal-link[aria-disabled="true"] {
    opacity: 0.55;
}

/* Standalone pages keep the site's existing typography and purple palette. */
.subpage-hero {
    min-height: 52vh;
    padding: 9rem 2rem 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    background:
        radial-gradient(circle at 18% 28%, rgba(196, 181, 253, 0.9) 0 1px, transparent 2px),
        radial-gradient(circle at 73% 22%, rgba(255, 255, 255, 0.75) 0 1px, transparent 2px),
        radial-gradient(circle at 82% 68%, rgba(167, 139, 250, 0.75) 0 1px, transparent 2px),
        linear-gradient(135deg, var(--ink), var(--purple-deep));
    background-size: 170px 170px, 220px 220px, 260px 260px, auto;
    position: relative;
    overflow: hidden;
}

.subpage-hero h1 {
    font-family: var(--font-hero);
    font-size: clamp(5rem, 13vw, 10rem);
    line-height: 0.9;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 2;
}

.subpage-overline {
    font-family: var(--font-accent);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--purple-glow);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.subpage-orbit {
    position: absolute;
    width: min(44vw, 480px);
    aspect-ratio: 1;
    right: -8%;
    bottom: -42%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
}

.subpage-orbit::before,
.subpage-orbit::after {
    content: '';
    position: absolute;
    inset: 14%;
    border: 1px solid rgba(196, 181, 253, 0.2);
    border-radius: 50%;
    transform: rotate(34deg) scaleY(0.45);
}

.subpage-orbit::after {
    transform: rotate(-34deg) scaleY(0.45);
}

.standalone-section {
    min-height: 60vh;
}

.programs-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 1000px;
    margin: 0 auto;
}

.program-page-kicker {
    display: block;
    margin-bottom: 0.75rem;
    font-family: var(--font-accent);
    color: var(--purple-core);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.program-card .program-cta {
    display: flex;
}

.newsletter-form {
    margin-top: 1.75rem;
}

.newsletter-form label {
    display: block;
    margin-bottom: 0.65rem;
    font-family: var(--font-accent);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.newsletter-row {
    display: flex;
}

.newsletter-row input {
    flex: 1;
    min-width: 0;
    border: 1px solid rgba(45, 27, 105, 0.18);
    padding: 0.85rem 1rem;
    font: inherit;
    outline: none;
}

.newsletter-row button {
    background: var(--purple-core);
    color: #ffffff;
    padding: 0.85rem 1.25rem;
    font-weight: 600;
}

.newsletter-status {
    min-height: 1.4em;
    margin-top: 0.5rem;
    color: var(--purple-core);
    font-size: 0.8rem;
}

.form-status {
    min-height: 1.4em;
    margin-top: 1rem;
    color: var(--purple-core);
    font-size: 0.85rem;
    text-align: center;
}

.timeless-count {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem auto 4rem;
    color: rgba(255, 255, 255, 0.62);
    font-family: var(--font-accent);
}

.timeless-count .stat-number,
.timeless-count .stat-plus {
    color: var(--purple-light);
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
}

.gallery-intro {
    max-width: 650px;
    margin: -2rem auto 3rem;
    text-align: center;
    color: var(--text-secondary);
}

.gallery-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--purple-core), var(--purple-deep));
}

.gallery-slot span {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.16);
}

.donate-page-section {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 7rem 2.5rem;
    align-items: center;
}

.donate-page-heading {
    margin: 1rem 0 1.25rem;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.05;
}

.donate-page-copy > p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.standalone-form {
    padding: 2.5rem;
    background: #ffffff;
    border: 1px solid rgba(45, 27, 105, 0.1);
    box-shadow: 0 24px 60px rgba(45, 27, 105, 0.12);
    color: var(--charcoal);
}

.standalone-form .modal-form-group label,
.standalone-form .giving-frequency legend,
.standalone-form .monthly-levels legend {
    color: var(--purple-deep);
}

.standalone-form .modal-form-group input,
.standalone-form .modal-form-group textarea,
.standalone-form .modal-form-group select {
    color: var(--charcoal);
    background: var(--off-white);
    border-color: rgba(45, 27, 105, 0.22);
}

.standalone-form .modal-form-group input::placeholder,
.standalone-form .modal-form-group textarea::placeholder {
    color: rgba(45, 27, 105, 0.48);
}

.standalone-form .modal-form-group input:focus,
.standalone-form .modal-form-group textarea:focus,
.standalone-form .modal-form-group select:focus {
    background: var(--ghost-white);
}

.standalone-form .giving-frequency span,
.standalone-form .monthly-levels span {
    color: var(--purple-deep);
    background: #ffffff;
}

.standalone-form .modal-disclaimer {
    color: var(--text-secondary);
}

.giving-frequency,
.monthly-levels {
    border: 0;
    margin-bottom: 1.5rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.monthly-levels {
    grid-template-columns: repeat(4, 1fr);
}

.giving-frequency legend,
.monthly-levels legend {
    grid-column: 1 / -1;
    margin-bottom: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.giving-frequency input,
.monthly-levels input {
    position: absolute;
    opacity: 0;
}

.giving-frequency span,
.monthly-levels span {
    display: block;
    padding: 0.85rem;
    border: 1px solid rgba(45, 27, 105, 0.18);
    text-align: center;
    font-weight: 600;
    transition: all 0.25s ease;
}

.giving-frequency input:checked + span,
.monthly-levels input:checked + span {
    color: #ffffff;
    background: var(--purple-core);
    border-color: var(--purple-core);
}

body.dark-mode .subpage-hero {
    background-color: #000000;
}

body.dark-mode .standalone-form {
    background: #11111c;
    border-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

body.dark-mode .standalone-form .modal-form-group label,
body.dark-mode .standalone-form .giving-frequency legend,
body.dark-mode .standalone-form .monthly-levels legend {
    color: rgba(255, 255, 255, 0.82);
}

body.dark-mode .standalone-form .modal-form-group input,
body.dark-mode .standalone-form .modal-form-group textarea,
body.dark-mode .standalone-form .modal-form-group select {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.2);
}

body.dark-mode .standalone-form .modal-form-group input::placeholder,
body.dark-mode .standalone-form .modal-form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.48);
}

body.dark-mode .standalone-form .giving-frequency span,
body.dark-mode .standalone-form .monthly-levels span {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

body.dark-mode .standalone-form .giving-frequency input:checked + span,
body.dark-mode .standalone-form .monthly-levels input:checked + span {
    background: var(--purple-core);
    border-color: var(--purple-light);
}

body.dark-mode .standalone-form .modal-disclaimer {
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 968px) {
    .programs-grid-two,
    .donate-page-section {
        grid-template-columns: 1fr;
    }

    .donate-page-section {
        gap: 3rem;
    }

    .donate-page-section .anim-slide-right {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 640px) {
    .news-carousel {
        grid-template-columns: 1fr;
    }

    .news-carousel-btn {
        display: none;
    }

    .news-grid > .news-card {
        flex-basis: calc(100% - 1rem);
    }

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

    .timeless-count {
        flex-wrap: wrap;
    }

    .donate-page-section .anim-slide-right {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========================================
   CINEMATIC YE UNIVERSE REVISION
======================================== */
.story-pull-quote {
    max-width: 1180px;
    margin: 6rem auto 0;
    padding: 1.5rem 0 1.5rem clamp(1.5rem, 4vw, 4rem);
    border-left: 4px solid var(--purple-core);
    color: var(--charcoal);
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.4vw, 4.75rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.after-hours-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: clamp(2.5rem, 6vw, 7rem);
    max-width: 1300px;
    margin: 0 auto;
    padding: clamp(2.5rem, 5vw, 5rem) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    align-items: center;
}

.after-hours-media .video-wrapper {
    border-radius: 6px;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

.after-hours-copy {
    padding: 0 0 0 clamp(1.5rem, 3vw, 3rem);
    border-left: 2px solid var(--purple-core);
}

.after-hours-title {
    margin: 0 0 1.25rem;
    color: #fff;
    font-family: var(--font-hero);
    font-size: clamp(4.5rem, 8vw, 8rem);
    font-weight: 400;
    line-height: 0.82;
    letter-spacing: 0.015em;
    text-transform: uppercase;
}

.after-hours-copy h3,
.program-online h3 {
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    line-height: 1.2;
}

.after-hours-location {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin: 2rem 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1rem;
}

.after-hours-location span {
    color: var(--purple-light);
    font-family: var(--font-accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.after-hours-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 48px;
    padding: 0 0.25rem;
    border-bottom: 1px solid var(--purple-light);
    color: #fff;
    font-family: var(--font-accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.after-hours-cta:focus-visible,
.newsletter-row button:focus-visible,
.apply-submit:focus-visible {
    outline: 3px solid var(--purple-light);
    outline-offset: 4px;
}

.program-online {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
    gap: clamp(2rem, 5vw, 6rem);
    max-width: 1300px;
    margin: 0 auto;
    padding: 3.5rem 0 0;
    align-items: end;
}

.program-online p {
    margin-top: 0.75rem;
    color: rgba(255, 255, 255, 0.52);
}

.program-online .newsletter-form {
    margin-top: 0;
}

.program-photo-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: 1.25rem;
    max-width: 1300px;
    height: clamp(420px, 54vw, 660px);
    margin: 2rem auto 0;
}

.program-photo-card {
    position: relative;
    min-width: 0;
    height: 100%;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
}

.program-photo-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(13, 13, 26, 0.82), transparent 42%);
    pointer-events: none;
}

.program-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo), filter 0.8s ease;
}

.program-photo-card-studio img {
    object-position: center 44%;
}

.program-photo-card-after-hours img {
    object-position: center 40%;
}

.program-photo-card:hover img {
    transform: scale(1.025);
    filter: saturate(1.06);
}

.program-photo-card figcaption {
    position: absolute;
    right: clamp(1.25rem, 3vw, 2.5rem);
    bottom: clamp(1.25rem, 3vw, 2.5rem);
    left: clamp(1.25rem, 3vw, 2.5rem);
    z-index: 1;
    color: #ffffff;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.8rem);
    font-weight: 700;
    line-height: 1;
}

.after-hours-application {
    margin-top: 8rem;
    padding-top: 7rem;
}

.after-hours-form {
    max-width: 900px;
}

.after-hours-form .form-group input {
    min-height: 52px;
}

.after-hours-form .form-group input,
.after-hours-form .form-group textarea {
    border-radius: 4px;
}

.after-hours-apply-page .apply-desc strong {
    display: inline-block;
    margin-bottom: 0.75rem;
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.25rem;
}

.apply-below-label {
    display: inline-block;
    margin-top: 1.25rem;
    color: var(--purple-light);
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.after-hours-apply-page .form-group input {
    min-height: 52px;
}

.after-hours-form .form-group input:user-invalid,
.after-hours-form .form-group textarea:user-invalid {
    border-color: rgba(248, 113, 113, 0.78);
}

@media (max-width: 968px) {
    .after-hours-feature,
    .program-online {
        grid-template-columns: 1fr;
    }

    .after-hours-copy {
        max-width: 680px;
    }

    .program-online {
        align-items: start;
    }

    .program-photo-feature {
        grid-template-columns: 1fr 1fr;
        height: clamp(380px, 62vw, 560px);
    }
}

@media (max-width: 600px) {
    .hero-globe {
        bottom: -230px;
        width: 145vw;
    }

    .hero-content {
        width: 100%;
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .title-line-1 {
        font-size: clamp(3.5rem, 19vw, 5rem);
    }

    .title-line-2 {
        font-size: clamp(1.85rem, 9vw, 2.8rem);
        letter-spacing: 0.015em;
    }

    .hero-tagline {
        font-size: clamp(0.7rem, 3vw, 0.9rem);
        letter-spacing: 0.18em;
    }

    .char.purple-active {
        text-shadow: none;
    }

    .story-pull-quote {
        margin-top: 4rem;
        padding-left: 1.25rem;
        font-size: clamp(1.8rem, 9vw, 2.8rem);
    }

    .after-hours-feature {
        gap: 2.25rem;
        padding: 2.5rem 0 3rem;
    }

    .after-hours-copy {
        padding-left: 1.25rem;
    }

    .after-hours-title {
        font-size: clamp(4rem, 22vw, 6rem);
    }

    .program-online {
        padding-top: 3rem;
    }

    .program-photo-feature {
        grid-template-columns: 1fr;
        height: auto;
    }

    .program-photo-card {
        aspect-ratio: 4 / 5;
    }

    .newsletter-row {
        flex-direction: column;
    }

    .newsletter-row input,
    .newsletter-row button {
        width: 100%;
        min-height: 48px;
    }

    .after-hours-application {
        margin-top: 5rem;
        padding-top: 4.5rem;
    }

    .after-hours-form {
        gap: 1.15rem;
    }

    .after-hours-form .form-row {
        gap: 1.15rem;
    }

    .after-hours-form .apply-submit {
        width: 100%;
        min-height: 52px;
        padding-right: 1rem;
        padding-left: 1rem;
    }
}

.scroll-indicator.hero-scrolled {
    opacity: 0 !important;
    transform: translateX(-50%) translateY(20px) !important;
}

/* ========================================
   CURRENT CONTENT PLACEMENT UPDATES
======================================== */
[hidden] {
    display: none !important;
}

/* Cosmic pointer: a small four-point star instead of the circular lens. */
.custom-cursor {
    width: 16px;
    height: 16px;
    border-radius: 0;
    background: var(--purple-mid);
    clip-path: polygon(50% 0%, 61% 38%, 100% 50%, 61% 62%, 50% 100%, 39% 62%, 0% 50%, 39% 38%);
    mix-blend-mode: normal;
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.75);
}

.custom-cursor.hovering {
    width: 20px;
    height: 20px;
    background: var(--purple-glow);
    transform: translate(-50%, -50%) rotate(45deg);
}

.cursor-follower {
    display: none;
}

.story-section::before {
    content: '\221E';
    top: -8rem;
    right: -2rem;
    font-size: 30rem;
    color: rgba(108, 60, 224, 0.055);
    letter-spacing: 0;
}

.story-video-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--purple-deep), var(--ink));
}

.story-video-placeholder span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.72);
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-align: center;
    text-transform: uppercase;
}

.story-mission {
    max-width: 680px;
    color: var(--text-secondary);
    font-size: 0.86rem;
    line-height: 1.9;
}

.story-welcome {
    margin-top: 1.25rem;
    color: var(--purple-core);
    font-family: var(--font-accent);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.story-stats {
    grid-template-columns: 1fr;
    max-width: 190px;
    margin-top: 2.5rem;
}

.program-trailer {
    max-width: 920px;
    margin: 0 auto 4.5rem;
}

.program-trailer .program-page-kicker {
    text-align: center;
}

.timeless-beyond {
    max-width: 720px;
    margin: 2rem auto 3rem;
    text-align: center;
}

@media (max-width: 640px) {
    .story-section::before {
        top: -2rem;
        right: -2rem;
        font-size: 15rem;
    }
}

/* Gallery dark mode */
body.dark-mode .gallery-section {
    background: #0a0a0a;
}

body.dark-mode .gallery-title {
    color: #fff;
}

body.dark-mode .gallery-arrow-btn {
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--purple-light);
}

body.dark-mode .gallery-arrow-btn:hover {
    background: var(--purple-core);
    border-color: var(--purple-core);
    color: #fff;
}

body.dark-mode .gallery-counter {
    color: rgba(255, 255, 255, 0.4);
}

/* Testimonials dark mode */
body.dark-mode .testimonials-section {
    background: #111;
}

body.dark-mode .testimonials-heading {
    color: #fff;
}

body.dark-mode .testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .testimonial-quote {
    color: rgba(255, 255, 255, 0.7);
}

body.dark-mode .testimonial-name {
    color: #fff;
}

body.dark-mode .testimonial-role {
    color: rgba(255, 255, 255, 0.4);
}

body.dark-mode .t-dot {
    background: rgba(255, 255, 255, 0.15);
}

body.dark-mode .t-dot.active {
    background: var(--purple-light);
}

/* Volunteer dark mode */
body.dark-mode .volunteer-section {
    background: #0a0a0a;
}

body.dark-mode .volunteer-heading {
    color: #fff;
}

body.dark-mode .volunteer-desc {
    color: rgba(255, 255, 255, 0.55);
}

body.dark-mode .volunteer-role {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .volunteer-role:hover {
    border-color: rgba(139, 92, 246, 0.3);
}

body.dark-mode .volunteer-role h4 {
    color: #fff;
}

body.dark-mode .volunteer-role p {
    color: rgba(255, 255, 255, 0.45);
}

body.dark-mode .volunteer-stat-card {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .volunteer-stat-card:hover {
    border-color: rgba(139, 92, 246, 0.2);
}

body.dark-mode .volunteer-stat-label {
    color: rgba(255, 255, 255, 0.4);
}

/* ========================================
   REQUESTED CONTENT AND MOBILE UPDATES
======================================== */
.home-mission-statement {
    max-width: 680px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.9;
}

.home-mission-welcome {
    margin-top: 1.25rem;
    color: var(--purple-core);
    font-family: var(--font-accent);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.after-hours-application {
    max-width: 1050px;
    margin: 7rem auto 0;
    padding-top: 6rem;
    border-top: 1px solid rgba(45, 27, 105, 0.12);
}

.after-hours-form {
    margin-right: auto;
    margin-left: auto;
}

.volunteer-grid-single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 900px;
}

/* The standalone Timeless page uses one horizontal journey. */
#timeless .timeline {
    display: block;
    max-width: 100%;
    margin: 3rem auto 0;
    padding: 0;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-color: var(--purple-core) rgba(255, 255, 255, 0.08);
}

#timeless .timeline-track {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    width: max-content;
    min-width: 100%;
    padding: 3.5rem 0 2rem;
}

#timeless .timeline-line {
    top: 44px;
    right: min(210px, 42.5vw);
    bottom: auto;
    left: 130px;
    width: auto;
    height: 2px;
    transform: none;
}

#timeless .timeline-item,
#timeless .timeline-left,
#timeless .timeline-right {
    position: relative;
    right: auto;
    left: auto;
    flex: 0 0 260px;
    width: 260px;
    min-width: 0;
    margin: 0;
    padding: 0;
    text-align: left;
    scroll-snap-align: start;
}

#timeless .timeline-dot {
    top: -20px;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
}

#timeless .timeline-content {
    width: 100%;
    height: auto;
    min-height: 155px;
}

#timeless .timeline-beyond {
    flex-basis: min(420px, 85vw);
    width: min(420px, 85vw);
}

.beyond-impact {
    display: flex;
    flex-direction: column;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.beyond-impact strong {
    color: var(--purple-light);
    font-family: var(--font-display);
    font-size: 2.5rem;
    line-height: 1;
}

.beyond-impact span {
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.55);
    font-family: var(--font-accent);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@media (max-width: 640px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: clip;
    }

    .standalone-section,
    .about-section,
    .gallery-section,
    .programs-section,
    .impact-section,
    .volunteer-section,
    .apply-section {
        max-width: 100%;
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .after-hours-application {
        margin-top: 5rem;
        padding-top: 4rem;
    }

    .apply-form,
    .standalone-form,
    .after-hours-form {
        width: 100%;
        min-width: 0;
    }

    #timeless .timeline-item,
    #timeless .timeline-left,
    #timeless .timeline-right {
        flex-basis: 230px;
        width: 230px;
    }

    #timeless .timeline-line {
        left: 115px;
    }
}

/* ========================================
   YE UNIVERSE MOTION AND CONTENT UPDATES
======================================== */
.hero-globe,
.timeline-photo-globe {
    isolation: isolate;
}

.globe-photo-track {
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 1;
    display: flex;
    width: 400%;
    height: 100%;
    opacity: 0.34;
    mix-blend-mode: screen;
    animation: globePhotoOrbit 92s linear infinite;
    will-change: transform;
}

.globe-photo-track img {
    flex: 0 0 25%;
    width: 25%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.75) contrast(1.2) brightness(0.58);
    animation: globePhotoIlluminate 9s ease-in-out infinite;
}

.globe-photo-track img:nth-child(even) {
    animation-delay: -4.5s;
}

/* Photo mosaic is contained inside the sphere and blended into organic land-like regions. */
.globe-photo-mosaic {
    position: absolute;
    inset: 7%;
    z-index: 1;
    overflow: hidden;
    opacity: 0.74;
    border-radius: 50%;
    -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0%, #000 69%, rgba(0, 0, 0, 0.86) 78%, transparent 94%);
    mask-image: radial-gradient(circle at 50% 50%, #000 0%, #000 69%, rgba(0, 0, 0, 0.86) 78%, transparent 94%);
    mix-blend-mode: screen;
    transform: rotate(-6deg) scale(1.03);
    animation: globeMosaicFloat 24s ease-in-out infinite alternate;
    pointer-events: none;
}

.globe-photo-panel {
    position: absolute;
    margin: 0;
    overflow: hidden;
    background: rgba(45, 27, 105, 0.24);
    filter: drop-shadow(0 0 12px rgba(196, 181, 253, 0.3));
    animation: globePanelIlluminate 12s ease-in-out infinite;
}

.globe-photo-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 42% 34%, rgba(255, 255, 255, 0.16), transparent 24%),
        linear-gradient(135deg, rgba(13, 13, 26, 0.04), rgba(76, 29, 149, 0.3));
    pointer-events: none;
}

.globe-photo-panel img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.94) contrast(1.2) brightness(0.78);
    transform: scale(1.08);
    animation: globeMosaicImage 18s ease-in-out infinite alternate;
}

.globe-photo-love {
    top: 13%;
    left: -2%;
    width: 48%;
    height: 72%;
    -webkit-clip-path: polygon(9% 9%, 27% 0, 49% 7%, 67% 3%, 87% 14%, 100% 29%, 88% 42%, 75% 46%, 65% 58%, 66% 72%, 55% 83%, 46% 100%, 35% 86%, 31% 70%, 20% 58%, 4% 48%, 0 29%);
    clip-path: polygon(9% 9%, 27% 0, 49% 7%, 67% 3%, 87% 14%, 100% 29%, 88% 42%, 75% 46%, 65% 58%, 66% 72%, 55% 83%, 46% 100%, 35% 86%, 31% 70%, 20% 58%, 4% 48%, 0 29%);
}

.globe-photo-love img {
    object-position: 50% 55%;
}

.globe-photo-excuse {
    top: 8%;
    left: 37%;
    width: 60%;
    height: 42%;
    -webkit-clip-path: polygon(0 46%, 8% 27%, 22% 25%, 31% 10%, 45% 8%, 55% 14%, 64% 3%, 76% 0, 85% 8%, 95% 13%, 100% 28%, 91% 39%, 96% 53%, 83% 62%, 77% 79%, 62% 89%, 49% 82%, 38% 100%, 29% 84%, 16% 82%, 8% 67%);
    clip-path: polygon(0 46%, 8% 27%, 22% 25%, 31% 10%, 45% 8%, 55% 14%, 64% 3%, 76% 0, 85% 8%, 95% 13%, 100% 28%, 91% 39%, 96% 53%, 83% 62%, 77% 79%, 62% 89%, 49% 82%, 38% 100%, 29% 84%, 16% 82%, 8% 67%);
    animation-delay: -4s;
}

.globe-photo-excuse img {
    object-position: 50% 27%;
    animation-delay: -6s;
}

.globe-photo-green {
    top: 42%;
    left: 42%;
    width: 30%;
    height: 48%;
    -webkit-clip-path: polygon(45% 0, 64% 4%, 72% 13%, 88% 18%, 100% 32%, 89% 45%, 82% 59%, 74% 67%, 70% 82%, 56% 94%, 43% 100%, 34% 87%, 28% 72%, 22% 58%, 8% 51%, 0 35%, 14% 19%, 29% 10%);
    clip-path: polygon(45% 0, 64% 4%, 72% 13%, 88% 18%, 100% 32%, 89% 45%, 82% 59%, 74% 67%, 70% 82%, 56% 94%, 43% 100%, 34% 87%, 28% 72%, 22% 58%, 8% 51%, 0 35%, 14% 19%, 29% 10%);
    animation-delay: -8s;
}

.globe-photo-green img {
    object-position: 51% 39%;
    animation-delay: -12s;
}

@keyframes globeMosaicFloat {
    from {
        transform: rotate(-6.6deg) scale(1.02) translate3d(-0.6%, -0.35%, 0);
    }

    to {
        transform: rotate(-5.2deg) scale(1.055) translate3d(0.6%, 0.35%, 0);
    }
}

@keyframes globePanelIlluminate {
    0%, 100% {
        opacity: 0.74;
        filter: drop-shadow(0 0 9px rgba(139, 92, 246, 0.22));
    }

    50% {
        opacity: 1;
        filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.44)) drop-shadow(0 0 28px rgba(139, 92, 246, 0.3));
    }
}

@keyframes globeMosaicImage {
    from {
        filter: saturate(0.9) contrast(1.18) brightness(0.7);
        transform: scale(1.08) translate3d(-1%, -0.7%, 0);
    }

    to {
        filter: saturate(1.08) contrast(1.24) brightness(0.96);
        transform: scale(1.14) translate3d(1%, 0.7%, 0);
    }
}

.globe-continent-layer {
    position: absolute;
    inset: 0;
    z-index: 1;
    animation: continentLayerDrift 18s ease-in-out infinite alternate;
    pointer-events: none;
}

.photo-continent {
    position: absolute;
    margin: 0;
    overflow: hidden;
    opacity: 0.78;
    mix-blend-mode: normal;
    filter: drop-shadow(0 0 11px rgba(255, 255, 255, 0.76)) drop-shadow(0 0 20px rgba(139, 92, 246, 0.72));
    animation: continentIlluminate 10s ease-in-out infinite;
}

.photo-continent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.18) contrast(1.16) brightness(0.92);
    transform: scale(1.08);
    animation: continentPhotoMotion 14s ease-in-out infinite alternate;
}

.continent-americas {
    top: 17%;
    left: 2%;
    width: 39%;
    height: 72%;
    -webkit-clip-path: polygon(16% 3%, 34% 0, 49% 5%, 64% 2%, 81% 10%, 96% 20%, 88% 30%, 74% 34%, 67% 42%, 58% 45%, 55% 54%, 64% 60%, 66% 70%, 58% 79%, 54% 90%, 46% 100%, 41% 88%, 38% 75%, 32% 66%, 28% 55%, 18% 49%, 8% 42%, 0 30%, 7% 18%);
    clip-path: polygon(16% 3%, 34% 0, 49% 5%, 64% 2%, 81% 10%, 96% 20%, 88% 30%, 74% 34%, 67% 42%, 58% 45%, 55% 54%, 64% 60%, 66% 70%, 58% 79%, 54% 90%, 46% 100%, 41% 88%, 38% 75%, 32% 66%, 28% 55%, 18% 49%, 8% 42%, 0 30%, 7% 18%);
}

.continent-americas img {
    object-position: 50% 58%;
}

.continent-africa {
    top: 38%;
    left: 40%;
    width: 23%;
    height: 48%;
    -webkit-clip-path: polygon(46% 0, 62% 3%, 70% 12%, 86% 17%, 100% 31%, 90% 42%, 83% 54%, 75% 62%, 71% 78%, 60% 91%, 47% 100%, 38% 88%, 30% 75%, 25% 61%, 12% 52%, 3% 36%, 14% 20%, 30% 12%);
    clip-path: polygon(46% 0, 62% 3%, 70% 12%, 86% 17%, 100% 31%, 90% 42%, 83% 54%, 75% 62%, 71% 78%, 60% 91%, 47% 100%, 38% 88%, 30% 75%, 25% 61%, 12% 52%, 3% 36%, 14% 20%, 30% 12%);
    animation-delay: -3.3s;
}

.continent-africa img {
    object-position: 50% 28%;
}

.continent-eurasia {
    top: 10%;
    left: 36%;
    width: 59%;
    height: 38%;
    -webkit-clip-path: polygon(0 45%, 6% 31%, 16% 27%, 22% 13%, 36% 9%, 46% 15%, 53% 5%, 64% 0, 73% 7%, 81% 5%, 88% 15%, 100% 22%, 94% 34%, 99% 44%, 88% 51%, 85% 66%, 75% 71%, 68% 88%, 57% 78%, 50% 92%, 42% 79%, 30% 83%, 24% 70%, 13% 71%, 6% 59%);
    clip-path: polygon(0 45%, 6% 31%, 16% 27%, 22% 13%, 36% 9%, 46% 15%, 53% 5%, 64% 0, 73% 7%, 81% 5%, 88% 15%, 100% 22%, 94% 34%, 99% 44%, 88% 51%, 85% 66%, 75% 71%, 68% 88%, 57% 78%, 50% 92%, 42% 79%, 30% 83%, 24% 70%, 13% 71%, 6% 59%);
    animation-delay: -6.6s;
}

.continent-eurasia img {
    object-position: 50% 38%;
}

@keyframes continentLayerDrift {
    from {
        transform: translateX(-1.5%) rotate(-0.6deg);
    }

    to {
        transform: translateX(1.5%) rotate(0.6deg);
    }
}

@keyframes continentIlluminate {
    0%, 100% {
        opacity: 0.62;
        filter: drop-shadow(0 0 9px rgba(255, 255, 255, 0.54)) drop-shadow(0 0 16px rgba(139, 92, 246, 0.58));
    }

    42%, 58% {
        opacity: 1;
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.95)) drop-shadow(0 0 34px rgba(139, 92, 246, 0.88));
    }
}

@keyframes continentPhotoMotion {
    from {
        transform: scale(1.08) translate3d(-1.5%, -1%, 0);
    }

    to {
        transform: scale(1.16) translate3d(1.5%, 1%, 0);
    }
}

.globe-core-light {
    position: absolute;
    inset: 20%;
    z-index: 2;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, rgba(196, 181, 253, 0.3) 22%, transparent 68%);
    filter: blur(22px);
    mix-blend-mode: screen;
    animation: globeCorePulse 6s ease-in-out infinite;
    pointer-events: none;
}

.hero-globe::before,
.timeline-photo-globe::before {
    z-index: 3;
}

.hero-globe::after,
.timeline-photo-globe::after {
    z-index: 4;
}

@keyframes globePhotoOrbit {
    to {
        transform: translateX(-50%);
    }
}

@keyframes globePhotoIlluminate {
    0%, 100% {
        opacity: 0.28;
        filter: saturate(0.7) contrast(1.15) brightness(0.5);
    }

    50% {
        opacity: 0.72;
        filter: saturate(1.08) contrast(1.28) brightness(0.95);
    }
}

@keyframes globeCorePulse {
    0%, 100% {
        opacity: 0.34;
        transform: scale(0.88);
    }

    50% {
        opacity: 0.9;
        transform: scale(1.12);
    }
}

.code-rain {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
    opacity: 0.32;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.7) 62%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.7) 62%, transparent 100%);
}

.code-column {
    position: absolute;
    top: -85vh;
    width: 1ch;
    color: var(--purple-light);
    font-family: var(--font-accent);
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    white-space: pre-line;
    text-shadow: 0 0 9px rgba(139, 92, 246, 0.85);
    animation: codeFall linear infinite;
}

.code-column:nth-child(3n) {
    color: rgba(255, 255, 255, 0.86);
    text-shadow: 0 0 9px rgba(255, 255, 255, 0.62);
}

@keyframes codeFall {
    to {
        transform: translateY(205vh);
    }
}

.hero-shooting-star {
    position: absolute;
    top: 11%;
    left: -28rem;
    z-index: 3;
    width: 26rem;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(196, 181, 253, 0.85), #ffffff);
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.95), 0 0 30px rgba(139, 92, 246, 0.8);
    transform: rotate(-8deg);
    opacity: 0;
    animation: shootingStarAcross 7s ease-in infinite;
    pointer-events: none;
}

@keyframes shootingStarAcross {
    0%, 12% {
        opacity: 0;
        transform: translateX(0) translateY(0) rotate(-8deg);
    }

    18% {
        opacity: 1;
    }

    48%, 100% {
        opacity: 0;
        transform: translateX(calc(100vw + 42rem)) translateY(7rem) rotate(-8deg);
    }
}

.home-mission-statement {
    color: var(--charcoal);
    font-family: var(--font-accent);
    font-size: clamp(1.05rem, 1.45vw, 1.28rem);
    font-weight: 500;
    line-height: 1.75;
    letter-spacing: 0.01em;
}

.home-self-business {
    max-width: 680px;
    margin-top: 2rem;
    color: var(--purple-deep);
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.5vw, 2.15rem);
    font-weight: 700;
    line-height: 1.2;
}

body.dark-mode .home-mission-statement {
    color: rgba(255, 255, 255, 0.82);
}

body.dark-mode .home-self-business {
    color: var(--purple-light);
}

.self-business-marquee {
    padding: 1.45rem 0;
    background: var(--purple-deep);
}

.self-business-marquee-content {
    animation-duration: 32s;
    gap: 2rem;
    padding-right: 2rem;
}

.self-business-marquee-content span:not(.marquee-dot) {
    color: #ffffff;
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.4vw, 2rem);
    font-weight: 750;
    letter-spacing: -0.015em;
    text-transform: none;
}

.story-opening-line {
    max-width: 980px;
    margin: -1.25rem auto 4rem;
    color: var(--purple-deep);
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.16;
    text-align: center;
}

.story-video-wrapper video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
    object-fit: cover;
}

.story-lead {
    color: var(--purple-deep) !important;
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.2vw, 1.9rem) !important;
    font-weight: 700;
    line-height: 1.35 !important;
}

.story-pull-quote strong {
    color: var(--purple-core);
}

body.dark-mode .story-opening-line,
body.dark-mode .story-lead {
    color: var(--purple-light) !important;
}

.programs-page .programs-section {
    background: var(--charcoal);
}

.programs-page .after-hours-feature,
.programs-page .program-online,
.programs-page .after-hours-application {
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.programs-page .after-hours-feature {
    padding: clamp(2rem, 5vw, 4.5rem);
}

.programs-page .program-online {
    margin-top: 2rem;
    padding: clamp(2rem, 4vw, 3.5rem);
}

.programs-page .after-hours-application {
    padding: clamp(3rem, 6vw, 5.5rem) clamp(1.25rem, 5vw, 5rem);
}

.after-hours-location strong {
    color: #ffffff;
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2vw, 1.65rem);
    line-height: 1.25;
}

.after-hours-cta {
    font-size: 1rem;
    font-weight: 800;
}

.program-online h3 {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.loop-infinity {
    display: inline-block;
    margin-left: 0.06em;
    font-family: Arial, sans-serif;
    font-size: 2.4em;
    font-weight: 700;
    line-height: 0.42;
    vertical-align: -0.17em;
}

#timeless > :not(.timeline-photo-globe) {
    position: relative;
    z-index: 1;
}

.timeline-photo-globe {
    position: absolute;
    top: 18%;
    left: 50%;
    z-index: 0;
    width: min(78vw, 900px);
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid rgba(125, 211, 252, 0.26);
    border-radius: 50%;
    background-image: url('../images/hero-earth-night-texture.png');
    background-repeat: repeat-x;
    background-position: 0 center;
    background-size: auto 100%;
    box-shadow: inset -90px -30px 150px rgba(1, 4, 14, 0.82), 0 0 90px rgba(108, 60, 224, 0.2);
    opacity: 0.3;
    transform: translateX(-50%);
    animation: timelineGlobeSpin 105s linear infinite;
    pointer-events: none;
}

@keyframes timelineGlobeSpin {
    from {
        background-position: 0 center;
    }

    to {
        background-position: 200% center;
    }
}

.timeless-live-count {
    display: inline-block;
    min-width: 5.5ch;
    text-align: right;
    text-shadow: 0 0 22px rgba(167, 139, 250, 0.55);
    animation: timelessNumberGlow 2.4s ease-in-out infinite;
}

.subpage-hero .history-infinity {
    font-family: var(--font-display);
    font-size: clamp(7rem, 19vw, 14rem);
    font-weight: 700;
    line-height: 0.58;
    letter-spacing: 0;
}

.impact-heading.history-infinity {
    margin-top: -1.25rem;
    margin-bottom: 4rem;
    font-size: clamp(5rem, 10vw, 8rem);
    font-weight: 700;
    line-height: 0.72;
    letter-spacing: 0;
}

#timeless .timeline-beyond .timeline-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 210px;
    text-align: center;
}

#timeless .timeline-beyond .timeline-content > p {
    max-width: 330px;
    margin: 0 auto;
}

#timeless .timeline-beyond .timeline-year {
    margin-bottom: 0.85rem;
}

#timeless .timeline-beyond .beyond-impact {
    width: 100%;
    align-items: center;
}

.history-conclusion {
    max-width: 1000px;
    margin: 4rem auto 0;
    color: #ffffff;
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5vw, 5rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;
    text-align: center;
    text-shadow: 0 0 34px rgba(139, 92, 246, 0.34);
}

@keyframes timelessNumberGlow {
    50% {
        color: #ffffff;
        text-shadow: 0 0 34px rgba(196, 181, 253, 0.9);
    }
}

.donation-page-photo {
    margin: 2rem 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 20px 55px rgba(45, 27, 105, 0.2);
}

.donation-page-photo img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.donation-payment-panel {
    padding: clamp(1.5rem, 4vw, 2.75rem);
    border: 1px solid rgba(45, 27, 105, 0.14);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(45, 27, 105, 0.12);
}

.donation-payment-heading span {
    color: var(--purple-core);
    font-family: var(--font-accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.donation-payment-heading h2 {
    margin: 0.65rem 0 1.75rem;
    color: var(--charcoal);
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 3vw, 2.4rem);
    line-height: 1.15;
}

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

.donation-payment-grid-single {
    grid-template-columns: minmax(0, 460px);
    justify-content: center;
}

.donation-method {
    padding: 1.25rem;
    border: 1px solid rgba(45, 27, 105, 0.14);
    border-radius: 9px;
    background: var(--off-white);
    text-align: center;
}

.donation-method-featured {
    padding: clamp(1.5rem, 4vw, 2.25rem);
}

.donation-qr-image {
    display: block;
    width: min(100%, 290px);
    aspect-ratio: 1;
    margin: 0 auto 1.5rem;
    padding: 0.65rem;
    border: 1px solid rgba(45, 27, 105, 0.15);
    border-radius: 8px;
    background: #ffffff;
    image-rendering: pixelated;
}

.donation-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    margin-top: 1.35rem;
    padding: 0.85rem 1.75rem;
    border-radius: 5px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--purple-core), var(--purple-mid));
    font-family: var(--font-accent);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.donation-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(108, 60, 224, 0.28);
}

.donation-link:focus-visible {
    outline: 3px solid var(--purple-light);
    outline-offset: 4px;
}

.donation-qr-placeholder {
    display: grid;
    width: min(100%, 190px);
    aspect-ratio: 1;
    margin: 0 auto 1rem;
    place-items: center;
    border: 2px dashed rgba(108, 60, 224, 0.38);
    border-radius: 6px;
    color: var(--purple-core);
    background: #ffffff;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
}

.donation-method h3 {
    color: var(--purple-deep);
    font-family: var(--font-display);
    font-size: 1.25rem;
}

.donation-method-detail {
    margin-top: 0.45rem;
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.55;
}

.donation-contact-note {
    margin-top: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.88rem;
    text-align: center;
}

.donation-contact-note a,
.contact-direct-email a {
    color: var(--purple-core);
    font-weight: 700;
}

body.dark-mode .donation-payment-panel {
    border-color: rgba(255, 255, 255, 0.12);
    background: #11111c;
}

body.dark-mode .donation-payment-heading h2,
body.dark-mode .donation-method h3 {
    color: #ffffff;
}

body.dark-mode .donation-method {
    border-color: rgba(255, 255, 255, 0.13);
    background: rgba(255, 255, 255, 0.05);
}

body.dark-mode .donation-qr-placeholder {
    color: var(--purple-light);
    background: #1a1a2e;
}

body.dark-mode .donation-method-detail,
body.dark-mode .donation-contact-note {
    color: rgba(255, 255, 255, 0.62);
}

.contact-direct-email {
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.9rem;
    text-align: center;
}

@media (max-width: 700px) {
    .code-rain {
        opacity: 0.22;
    }

    .hero-shooting-star {
        width: 18rem;
    }

    .donation-payment-grid {
        grid-template-columns: 1fr;
    }

    .timeline-photo-globe {
        top: 23%;
        width: 135vw;
    }

    .globe-photo-mosaic {
        inset: 8%;
    }

    .history-conclusion {
        margin-top: 3rem;
    }
}

/* ========================================
   EDITORIAL HEADLINES SHOWCASE
======================================== */
.news-section,
body.dark-mode .news-section {
    padding: clamp(6rem, 9vw, 9rem) clamp(1.25rem, 4vw, 3.5rem);
    background:
        radial-gradient(circle at 7% 10%, rgba(139, 92, 246, 0.12), transparent 26%),
        radial-gradient(circle at 93% 68%, rgba(76, 29, 149, 0.08), transparent 25%),
        linear-gradient(180deg, #ffffff 0%, #f8f6ff 100%);
}

.news-editorial-shell {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
}

.news-section .news-header {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
    gap: clamp(2rem, 7vw, 7rem);
    align-items: end;
    max-width: none;
    margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
    text-align: left;
}

.news-section .news-title,
body.dark-mode .news-section .news-title {
    max-width: 100%;
    font-size: clamp(3.25rem, 6.5vw, 5.6rem);
    line-height: 0.9;
    letter-spacing: -0.055em;
    overflow-wrap: normal;
    word-break: keep-all;
    white-space: nowrap;
}

.news-section .news-label {
    min-width: 0;
}

.news-section .overline {
    color: var(--purple-core);
    font-weight: 800;
}

.news-deck {
    max-width: 470px;
    margin: 0 0 0.25rem auto;
    padding-left: 1.5rem;
    border-left: 2px solid var(--purple-core);
    color: var(--charcoal-mid);
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2vw, 1.6rem);
    font-weight: 600;
    line-height: 1.35;
}

.headline-photo-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 8.8;
    overflow: hidden;
    border: 1px solid rgba(108, 60, 224, 0.2);
    border-radius: 12px;
    background: var(--ink);
    box-shadow: 0 34px 90px rgba(45, 27, 105, 0.2);
    isolation: isolate;
}

.headline-photo-stage:focus-visible {
    outline: 3px solid var(--purple-mid);
    outline-offset: 5px;
}

.headline-photo-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    pointer-events: none;
}

.headline-photo-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(13, 13, 26, 0.82) 0%, rgba(13, 13, 26, 0.22) 58%, transparent 82%),
        linear-gradient(0deg, rgba(13, 13, 26, 0.64), transparent 48%);
}

.headline-photo-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.headline-photo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    transition: transform 8s linear;
}

.headline-photo-slide.active .headline-photo-image {
    transform: scale(1.015);
}

.headline-photo-image-gates-disk {
    object-position: center 24%;
}

.headline-photo-image-gates-portrait {
    object-position: center 29%;
}

.headline-photo-image-giving-basketball {
    object-position: center 28%;
}

.headline-photo-image-giving-community {
    object-position: center 41%;
}

.headline-photo-caption {
    position: absolute;
    bottom: clamp(1.75rem, 4vw, 3.5rem);
    left: clamp(1.5rem, 5vw, 5rem);
    z-index: 2;
    max-width: min(880px, calc(100% - 8rem));
    color: #ffffff;
}

.headline-photo-kicker {
    display: block;
    margin-bottom: 0.85rem;
    color: var(--purple-glow);
    font-family: var(--font-accent);
    font-size: clamp(0.65rem, 1.1vw, 0.78rem);
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.headline-photo-caption h3 {
    max-width: 880px;
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 4.6vw, 4.6rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.045em;
    text-wrap: balance;
    overflow-wrap: anywhere;
}

.headline-photo-story {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    min-height: 46px;
    margin-top: clamp(1.25rem, 2.2vw, 2rem);
    padding: 0.8rem 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    color: #ffffff;
    background: rgba(13, 13, 26, 0.22);
    backdrop-filter: blur(12px);
    font-family: var(--font-accent);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.headline-photo-story:hover,
.headline-photo-story:focus-visible {
    border-color: var(--purple-glow);
    color: var(--purple-deep);
    background: #ffffff;
}

.headline-photo-controls {
    position: absolute;
    top: clamp(1rem, 2.5vw, 2rem);
    right: clamp(1rem, 2.5vw, 2rem);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(13, 13, 26, 0.35);
    backdrop-filter: blur(14px);
}

.headline-photo-arrow {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    font-size: 1rem;
    transition: color 0.3s ease, background 0.3s ease;
}

.headline-photo-arrow:hover,
.headline-photo-arrow:focus-visible {
    color: var(--purple-deep);
    background: #ffffff;
}

.headline-photo-count {
    display: flex;
    gap: 0.35rem;
    min-width: 62px;
    justify-content: center;
    color: rgba(255, 255, 255, 0.72);
    font-family: var(--font-accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.headline-photo-count span:first-child {
    color: #ffffff;
}

.headline-photo-dots {
    position: absolute;
    right: clamp(1.25rem, 3vw, 2.5rem);
    bottom: clamp(1.25rem, 3vw, 2.5rem);
    z-index: 3;
    display: flex;
    gap: 0.55rem;
}

.headline-photo-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    transition: width 0.3s ease, background 0.3s ease;
}

.headline-photo-dot.active {
    width: 28px;
    background: #ffffff;
}

.news-articles-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin: clamp(4rem, 7vw, 6.5rem) 0 1.5rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(45, 27, 105, 0.16);
}

.news-articles-heading > span {
    color: var(--charcoal);
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.6rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.035em;
}

.news-articles-heading p {
    max-width: 470px;
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: right;
}

.news-section .news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    max-width: none;
    margin: 0;
    padding: 0;
    overflow: visible;
}

.news-section .news-grid > .news-card,
body.dark-mode .news-section .news-grid > .news-card {
    display: flex;
    min-width: 0;
    min-height: 100%;
    border: 1px solid rgba(108, 60, 224, 0.16);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 18px 48px rgba(45, 27, 105, 0.08);
    scroll-snap-align: none;
}

.news-section .news-grid > .news-card:hover,
body.dark-mode .news-section .news-grid > .news-card:hover {
    border-color: rgba(108, 60, 224, 0.48);
    background: #ffffff;
    box-shadow: 0 26px 64px rgba(45, 27, 105, 0.14);
}

.news-section .news-card-inner {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 390px;
    flex-direction: column;
    padding: clamp(1.5rem, 2.5vw, 2.25rem);
}

.news-card-number {
    display: block;
    margin-bottom: 2rem;
    color: rgba(108, 60, 224, 0.28);
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 0.75;
    letter-spacing: -0.06em;
}

.news-section .news-meta {
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: flex-start;
}

.news-section .news-card-title {
    font-size: clamp(1.3rem, 2vw, 1.65rem);
    line-height: 1.22;
    overflow-wrap: anywhere;
}

.news-section .news-excerpt {
    margin-bottom: 2rem;
    overflow-wrap: anywhere;
}

.news-section .news-footer {
    align-items: flex-start;
    gap: 1rem;
    margin-top: auto;
    flex-wrap: wrap;
}

.news-section .read-time {
    flex: 1 1 210px;
    max-width: 100%;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.news-card-action {
    flex: 0 0 auto;
    margin-left: auto;
    color: var(--purple-core);
    font-family: var(--font-accent);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.news-card-action span {
    display: inline-block;
    margin-left: 0.25rem;
    transition: transform 0.3s ease;
}

.news-card:hover .news-card-action span {
    transform: translateX(4px);
}

@media (max-width: 1024px) {
    .news-section .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .news-section .news-grid > .news-card:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .news-section .news-title,
    body.dark-mode .news-section .news-title {
        font-size: clamp(2.6rem, 11vw, 3.25rem);
    }

    .news-section .news-label {
        padding-bottom: 1.5rem;
    }

    .news-section .news-header {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .news-deck {
        margin-left: 0;
    }

    .headline-photo-stage {
        aspect-ratio: 4 / 5;
    }

    .headline-photo-slide::after {
        background: linear-gradient(0deg, rgba(13, 13, 26, 0.88) 0%, rgba(13, 13, 26, 0.2) 72%, transparent 100%);
    }

    .headline-photo-caption {
        bottom: 4.25rem;
        left: 1.2rem;
        max-width: calc(100% - 2.4rem);
    }

    .headline-photo-caption h3 {
        font-size: clamp(1.75rem, 7.8vw, 2.9rem);
        line-height: 1.07;
    }

    .headline-photo-controls {
        top: 0.9rem;
        right: 0.9rem;
    }

    .headline-photo-dots {
        right: 1.25rem;
        bottom: 1.25rem;
    }

    .news-articles-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.75rem;
    }

    .news-articles-heading p {
        text-align: left;
    }

    .news-section .news-grid {
        grid-template-columns: 1fr;
    }

    .news-section .news-grid > .news-card:last-child {
        grid-column: auto;
    }

    .news-section .news-card-inner {
        min-height: 0;
    }
}

.daily-bread-newsletter {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    margin-top: 2rem;
    padding: clamp(2rem, 4vw, 3.5rem);
    overflow: hidden;
    border-radius: 18px;
    color: #ffffff;
    background:
        radial-gradient(circle at 88% 20%, rgba(167, 139, 250, 0.32), transparent 34%),
        linear-gradient(135deg, var(--purple-deep), #171026);
    box-shadow: 0 24px 68px rgba(45, 27, 105, 0.2);
}

.daily-bread-newsletter-kicker {
    display: block;
    margin-bottom: 0.7rem;
    color: var(--purple-glow);
    font-family: var(--font-accent);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.daily-bread-newsletter h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    line-height: 1.05;
}

.daily-bread-newsletter-copy p {
    margin: 0.85rem 0 0;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.daily-bread-newsletter-form {
    margin-top: 0;
}

.daily-bread-newsletter-form label {
    color: rgba(255, 255, 255, 0.72);
}

.daily-bread-newsletter-form .newsletter-row {
    gap: 0.5rem;
}

.daily-bread-newsletter-form .newsletter-row input {
    min-height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 4px;
    color: var(--charcoal);
    background: #ffffff;
}

.daily-bread-newsletter-form .newsletter-row button {
    min-height: 50px;
    border-radius: 4px;
    background: var(--purple-mid);
}

.daily-bread-newsletter-form .newsletter-status {
    color: var(--purple-glow);
}

@media (max-width: 760px) {
    .daily-bread-newsletter {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .daily-bread-newsletter-form .newsletter-row {
        flex-direction: column;
    }

    .daily-bread-newsletter-form .newsletter-row input,
    .daily-bread-newsletter-form .newsletter-row button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .headline-photo-image,
    .headline-photo-slide {
        transition: none;
    }
}

/* Requested refinements: full headline copy, mission page, and infinity treatments. */
.news-section .news-card,
.news-section .news-card-inner,
.news-section .news-card-title,
.news-section .news-excerpt,
.news-section .read-time {
    max-height: none;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    -webkit-line-clamp: unset;
}

.news-section .news-card-title,
.news-section .news-excerpt {
    display: block;
}

.programs-page .program-online {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.programs-page .program-online > *:not(.program-loop-infinity) {
    position: relative;
    z-index: 1;
}

.program-loop-infinity {
    position: absolute;
    top: 50%;
    left: 20%;
    z-index: 0;
    color: rgba(139, 92, 246, 0.16);
    font-family: Arial, sans-serif;
    font-size: clamp(15rem, 34vw, 32rem);
    font-weight: 700;
    line-height: 0.5;
    transform: translate(-50%, -50%);
    text-shadow: 0 0 65px rgba(139, 92, 246, 0.22);
    pointer-events: none;
}

.history-hero {
    min-height: 68vh;
    isolation: isolate;
}

.history-hero h1 {
    z-index: 2;
    font-family: var(--font-display);
    font-size: clamp(5.8rem, 16vw, 13rem);
    font-weight: 800;
    line-height: 0.86;
    letter-spacing: -0.055em;
    text-wrap: balance;
    text-shadow: 0 12px 55px rgba(0, 0, 0, 0.38);
}

.history-hero-infinity {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    color: rgba(167, 139, 250, 0.24);
    font-family: Arial, sans-serif;
    font-size: clamp(18rem, 48vw, 42rem);
    font-weight: 700;
    line-height: 0.5;
    transform: translate(-50%, -50%);
    text-shadow: 0 0 90px rgba(139, 92, 246, 0.35);
    pointer-events: none;
}

.history-conclusion {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.18em;
}

.history-conclusion span {
    color: var(--purple-light);
    font-family: Arial, sans-serif;
    font-size: 1.55em;
    line-height: 0.5;
}

.mission-page .about-section {
    min-height: 68vh;
}

@media (max-width: 760px) {
    .headline-photo-stage {
        min-height: 620px;
        aspect-ratio: auto;
    }

    .headline-photo-caption {
        right: 1.2rem;
        bottom: 4.5rem;
        max-width: none;
    }

    .headline-photo-caption h3 {
        max-width: 100%;
        overflow: visible;
        text-wrap: pretty;
    }

    .program-loop-infinity {
        top: 33%;
        left: 50%;
        font-size: clamp(16rem, 86vw, 25rem);
    }

    .history-hero {
        min-height: 62vh;
        padding-inline: 1rem;
    }

    .history-hero h1 {
        font-size: clamp(4.4rem, 23vw, 7.5rem);
    }

    .history-hero-infinity {
        font-size: clamp(17rem, 92vw, 29rem);
    }
}
