:root {
  --ink: #12171a;
  --muted: #64748b;
  --line: #e2e8f0;
  --soft: #f8fafc;
  --gold: #e0a100;
  --gold-light: #fff7df;
  --red: #d91b24;
  --green: #0d7a48;
  --page: min(1180px, calc(100% - 3rem));
  --heading: "Plus Jakarta Sans", sans-serif;
  --body: "Plus Jakarta Sans", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: #fff; color: var(--muted); font-family: var(--body); line-height: 1.65; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
.container { width: var(--page); margin-inline: auto; }
h1, h2, h3, h4, .logo, .btn { color: var(--ink); font-family: var(--heading); }
h1, h2, h3, h4 { line-height: 1.15; }

.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 2rem; }
.logo { display: flex; align-items: center; gap: .65rem; font-size: 1.35rem; font-weight: 700; white-space: nowrap; }
.logo-img { width: 50px; height: 50px; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; text-transform: uppercase; font-weight: 800; }
.logo-name { color: var(--muted); }
.logo-text em { color: #f59e0b; font-style: normal; }
.logo-text::after { content: "FOUNDATION"; display: block; width: 100%; color: var(--red); font-family: var(--body); font-size: .66rem; text-align: justify; text-align-last: justify; text-justify: inter-character; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; font-size: .78rem; font-weight: 600; }
.nav-links a { color: var(--muted); padding: .5rem .1rem; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); border-color: var(--gold); }
.nav-toggle { display: none; border: 0; background: none; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px; background: var(--ink); }

.hero-section { padding-bottom: 1rem; }
.hero-grid { display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 4rem; }
.hero-copy { max-width: 650px; }
.eyebrow { display: inline-flex; align-items: center; gap: .4rem; color: var(--red); background: var(--gold-light); border: 1px solid #f6df9b; border-radius: 999px; padding: .4rem .9rem; font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow-text { display: inline-block; color: #f59e0b; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow-icon { width: .85rem; height: .85rem; flex-shrink: 0; }
.hero-title { display: block; color: var(--ink); font-family: var(--heading); font-size: 3.375rem; font-weight: 800; line-height: 1.15; letter-spacing: -.055em; margin: 1.25rem 0 1rem; }
.hero-title em { color: var(--red); font-style: normal; }
.hero-title em.em-gold { color: #f59e0b; }
.hero-copy > p { max-width: 560px; font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.6rem 0 2.3rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; border: 1px solid transparent; border-radius: 4px; cursor: pointer; font-size: .78rem; font-weight: 700; padding: .78rem 1.2rem; transition: .2s ease; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #26313a; }
.btn-secondary { border-color: #cbd5e1; background: #fff; }
.btn-secondary:hover { border-color: var(--ink); background: var(--soft); }
.impact-strip { display: flex; gap: 2rem; border-left: 3px solid var(--gold); padding: .2rem 0 .2rem 1rem; }
.impact-strip div { display: grid; }
.impact-strip strong { color: var(--ink); font: 700 1.35rem var(--heading); }
.impact-strip span { font-size: .68rem; }
.hero-mosaic { min-height: 480px; position: relative; }
.hero-image { object-fit: cover; border: 1px solid var(--line); border-radius: 12px; }
.hero-image-main-frame { width: 72%; margin-top: 2rem; padding: .35rem; background: #fff; border-radius: 14px; box-shadow: 0 10px 30px rgba(15,23,42,.12); }
.hero-image-main { width: 100%; height: 270px; }
.hero-image-overlap-frame { position: absolute; right: 0; bottom: 4rem; width: 43%; height: 270px; padding: .35rem; background: #fff; border-radius: 14px; box-shadow: 0 10px 30px rgba(15,23,42,.12); }
.hero-image-overlap { width: 100%; height: 100%; transition: opacity .6s ease-in-out; }

.section { padding: 5.5rem 0; }
#events { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.section-soft { background: var(--soft); border-bottom: 1px solid var(--line); width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); padding-top: 2.5rem; padding-bottom: 2.5rem; }
.section-heading { max-width: 750px; margin: 0 auto 2.8rem; text-align: center; }
.section-heading h1, .section-heading h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: .75rem 0 .7rem; letter-spacing: -.035em; white-space: nowrap; }
.section-heading p { font-size: .92rem; }
.mission-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.mission-card { display: flex; flex-direction: column; gap: .8rem; min-height: 230px; padding: 1.6rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 1px 3px rgba(15,23,42,.04); transition: border-color .25s ease, box-shadow .25s ease; }
.mission-card:hover { border-color: var(--gold); box-shadow: 0 12px 28px rgba(15,23,42,.08); }
.mission-card:nth-child(2):hover { border-color: var(--green); }
.mission-card:nth-child(3):hover { border-color: var(--red); }
.mission-card:nth-child(4):hover { border-color: var(--ink); }
.mission-card .icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--gold-light); color: var(--gold); transition: transform .25s ease; }
.mission-card:nth-child(2) .icon { background: #e3f5ec; color: var(--green); }
.mission-card:nth-child(3) .icon { background: #fde3e4; color: var(--red); }
.mission-card:nth-child(4) .icon { background: var(--soft); color: var(--ink); }
.mission-card .icon svg { width: 22px; height: 22px; }
.mission-card:hover .icon { transform: scale(1.15); }
.mission-card h3 { font-size: 1.02rem; }
.mission-card p { font-size: .8rem; line-height: 1.65; color: var(--muted); }
.event-intro { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 1.8rem; }
.event-name-badges { display: flex; flex-direction: row; align-items: center; gap: .5rem; flex-shrink: 0; }
.event-name-badge { flex-shrink: 0; }
.event-intro h3 { font-size: 2rem; font-weight: 800; margin-top: .5rem; }
.event-intro p { max-width: 620px; font-size: .85rem; }
.event-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.event-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 1px 3px rgba(15,23,42,.04); transition: box-shadow .25s ease; }
.event-card:hover { box-shadow: 0 16px 32px rgba(15,23,42,.14); }
.event-card-image { height: 220px; background-size: cover; background-position: center; background-color: var(--soft); transition: transform .35s ease; }
.event-card:hover .event-card-image { transform: scale(1.08); }
.event-card-image.is-placeholder { display: grid; place-items: center; }
.event-card-image.is-placeholder::after { content: "COMING SOON"; color: #f59e0b; font-size: 1.1rem; font-weight: 700; letter-spacing: .04em; }
.event-card-details { display: flex; flex-direction: column; padding: 1.2rem 1.6rem 1.4rem; }
.event-card-link { display: inline-flex; align-items: center; gap: .35rem; margin-top: .9rem; align-self: flex-start; border: none; background: none; padding: 0; color: #f59e0b; font-size: .78rem; font-weight: 700; font-family: var(--body); cursor: pointer; }
.event-card-link svg { width: 14px; height: 14px; transition: transform .2s ease; }
.event-card-link:hover svg { transform: translateX(3px); }
.event-date { display: flex; align-items: center; gap: .5rem; color: #f59e0b; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.event-date svg { width: 15px; height: 15px; }
.event-card-details h4 { font-size: 1rem; margin: .4rem 0 .4rem; }
.event-card-details p { font-size: .8rem; line-height: 1.5; }
.event-card-empty { border: none; background: none; box-shadow: none; }
.event-card-empty:hover,
.event-card-static:hover { box-shadow: 0 1px 3px rgba(15,23,42,.04); }
.event-card-empty:hover .event-card-image,
.event-card-static:hover .event-card-image { transform: none; }
.video-embed { display: grid; place-items: center; position: relative; height: 360px; margin-top: 1.5rem; background-position: center; background-size: cover; border-radius: 18px; overflow: hidden; box-shadow: 0 1px 3px rgba(15,23,42,.04); transition: box-shadow .25s ease; }
.video-embed:hover { box-shadow: 0 16px 32px rgba(15,23,42,.16); }
.video-embed::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,23,42,.15) 0%, rgba(15,23,42,.55) 100%); transition: background .25s ease; }
.video-embed:hover::after { background: linear-gradient(180deg, rgba(15,23,42,.25) 0%, rgba(15,23,42,.65) 100%); }
.video-embed-content { z-index: 1; display: flex; flex-direction: column; align-items: center; gap: .9rem; }
.play-btn { display: grid; place-items: center; width: 76px; height: 52px; border-radius: 14px; background: #ff0000; box-shadow: 0 8px 24px rgba(0,0,0,.35); transition: transform .2s ease, background .2s ease; }
.play-btn::after { content: ""; width: 0; height: 0; margin-left: 4px; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #fff; }
.video-embed:hover .play-btn { background: #cc0000; transform: scale(1.08); }
.video-embed-title { color: #f59e0b; font: 700 .78rem var(--heading); letter-spacing: .06em; text-transform: uppercase; text-align: center; }
.video-embed-subtitle { max-width: 420px; margin-top: -.4rem; color: #fff; font-size: .78rem; line-height: 1.5; text-align: center; }
.cta-banner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2.5rem; background: var(--ink); color: #cbd5e1; }
.cta-banner h2 { color: #fff; font-size: 1.75rem; }
.cta-banner .btn { background: var(--gold); color: var(--ink); }
.testimonial-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
#testimonials .section-heading { margin: 0; text-align: left; }
#testimonials .section-heading h2 { font-size: 1.6rem; margin: 0; }
.testimonial-eyebrow { color: #16a34a; font-weight: 700; }
.testimonial-nav { display: flex; gap: .6rem; flex-shrink: 0; }
.testimonial-nav[hidden] { display: none; }
.testimonial-arrow { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; transition: .2s ease; }
.testimonial-arrow:hover { border-color: var(--ink); background: var(--soft); }
.testimonial-arrow svg { width: 16px; height: 16px; }
.testimonial-grid { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.testimonial-grid::-webkit-scrollbar { display: none; }
.testimonial-card { display: flex; flex-direction: column; gap: 1rem; flex: 0 0 calc(25% - .94rem); scroll-snap-align: start; padding: 1.4rem; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 1px 3px rgba(15,23,42,.04); }
.testimonial-quote { font-size: .8rem; line-height: 1.6; font-style: italic; color: var(--muted); }
.testimonial-author { display: flex; align-items: center; gap: .7rem; margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--line); }
.testimonial-avatar { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .72rem; font-weight: 700; }
.testimonial-author strong { display: block; color: var(--ink); font-size: .8rem; }
.testimonial-author > div span { display: block; margin-top: 0; font-size: .7rem; }

.about-section { background: var(--soft); }
.profile-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.profile-tile { display: flex; gap: 1.5rem; padding: 1.8rem; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 1px 3px rgba(15,23,42,.04); }
.profile-photo { display: grid; place-items: center; flex-shrink: 0; width: 110px; height: 110px; border-radius: 14px; background: var(--gold-light); color: #f59e0b; overflow: hidden; }
.profile-photo svg { width: 48px; height: 48px; }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-name { font-size: 1.15rem; }
.profile-position { display: block; color: #f59e0b; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin: .4rem 0 .7rem; }
.profile-bio { font-size: .82rem; line-height: 1.65; }

.contact-main { min-height: calc(100vh - 190px); padding: 5rem 0; background: var(--soft); }
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2rem; align-items: start; }
.contact-form-card { padding: 2.5rem; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.contact-form-card h1 { font-size: 2.2rem; margin-bottom: 2rem; }
.contact-info { padding: 2.5rem; background: #fff; border: 1px solid var(--line); border-radius: 16px; color: var(--muted); }
.contact-info h3 { color: var(--ink); font-size: 1.4rem; margin-bottom: .7rem; }
.contact-info > p { font-size: .85rem; margin-bottom: 2rem; }
.contact-info-item { display: flex; align-items: flex-start; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.contact-info-item:first-of-type { border-top: none; }
.contact-info-icon { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; background: #fef3c7; color: #f59e0b; }
.contact-info-icon svg { width: 18px; height: 18px; }
.contact-info-item strong { display: block; color: var(--ink); font-size: .82rem; margin-bottom: .3rem; }
.contact-info-item p { font-size: .8rem; line-height: 1.6; }
.contact-info-item a:hover { color: var(--ink); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.field label { color: var(--ink); font-size: .72rem; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #cbd5e1; border-radius: 4px; color: var(--ink); font: .86rem var(--body); padding: .7rem .85rem; background: #fff; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 1px solid var(--ink); outline-offset: 1px; }
.field input.invalid, .field select.invalid, .field textarea.invalid { border-color: var(--red); background: #fef2f2; }
.submit-status { margin-top: 1rem; font-size: .82rem; }
.site-footer { padding: 3rem 0 1.2rem; background: #fff; border-top: 1px solid var(--line); color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; }
.footer-grid h4 { color: var(--ink); font-size: .9rem; margin-bottom: .7rem; }
.footer-grid p { font-size: .76rem; margin: .25rem 0; }
.footer-brand { display: flex; align-items: center; gap: .5rem; margin-bottom: .7rem; }
.footer-logo { width: 50px; height: 50px; object-fit: contain; }
.footer-brand-name { display: block; color: #f59e0b; font-family: var(--heading); font-size: 1.05rem; font-weight: 700; text-transform: uppercase; }
.footer-brand p { margin-top: 0; }
.footer-social { display: flex; gap: .6rem; margin-top: .7rem; }
.footer-social-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.footer-social-icon:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(15,23,42,.18); }
.footer-social-icon svg { width: 16px; height: 16px; }
.footer-social-facebook { background: #1877f2; }
.footer-social-instagram { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.footer-grid a:hover { color: var(--ink); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 1rem; font-size: .7rem; text-align: right; }
.reveal { opacity: 1; }


.photo-modal { position: fixed; inset: 0; z-index: 200; display: none; }
.photo-modal.is-open { display: block; }
.photo-modal-backdrop { position: absolute; inset: 0; background: rgba(15,23,42,.78); }
.photo-modal-panel { position: relative; width: min(900px, calc(100% - 2rem)); max-height: 85vh; margin: 6vh auto 0; display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden; }
.photo-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.5rem; border-bottom: 1px solid var(--line); }
.photo-modal-header h3 { font-size: 1.1rem; }
.photo-modal-close { border: none; background: none; color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.photo-modal-grid { padding: 1.5rem; overflow-y: auto; column-count: 3; column-gap: 1rem; }
.photo-modal-grid img { width: 100%; height: auto; display: block; margin-bottom: 1rem; border-radius: 10px; break-inside: avoid; }
