:root {
  --blue: #4267e8;
  --blue-dark: #2448bd;
  --green: #47cf57;
  --green-dark: #1d6747;
  --yellow: #f6d900;
  --ink: #101114;
  --muted: #606570;
  --paper: #ffffff;
  --soft: #f5f7fb;
  --radius: 18px;
  --shadow: 0 24px 70px rgba(13, 31, 76, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Nunito Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 9999; padding: 10px 16px; color: #fff; background: var(--blue-dark); border-radius: 0 0 8px 8px; }
.skip-link:focus { top: 0; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 1000; height: 82px; background: rgba(255,255,255,.96); box-shadow: 0 5px 30px rgba(24,38,66,.08); backdrop-filter: blur(12px); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 17px; line-height: .83; letter-spacing: -.045em; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.main-menu { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 800; }
.main-menu > a { position: relative; padding: 28px 0; }
.main-menu > a::after { position: absolute; content: ""; left: 0; right: 100%; bottom: 20px; height: 3px; background: var(--blue); border-radius: 4px; transition: right .2s ease; }
.main-menu > a:hover::after, .main-menu > a:focus-visible::after { right: 0; }
.main-menu > .button { flex-shrink: 0; min-height: 42px; padding: 10px 18px; white-space: nowrap; }
.main-menu > .button::after { display: none; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; }
.menu-toggle > span:not(.sr-only) { display: block; width: 100%; height: 3px; margin: 5px 0; border-radius: 2px; background: var(--ink); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border: 0; border-radius: 999px; color: #fff; font-weight: 900; line-height: 1.1; box-shadow: 0 10px 24px rgba(31,75,191,.15); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); box-shadow: 0 15px 32px rgba(31,75,191,.22); }
.button-small { min-height: 42px; padding: 10px 18px; font-size: 13px; }
.button-blue { background: var(--blue); }
.button-blue:hover, .button-blue:focus-visible { background: var(--blue-dark); }
.button-green { background: var(--green); color: #062c14; box-shadow: 0 12px 28px rgba(71,207,87,.25); }
.button-green:hover, .button-green:focus-visible { background: #64df70; }
.button-ghost { color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.55); box-shadow: none; backdrop-filter: blur(8px); }

.hero { position: relative; min-height: 650px; display: grid; align-items: center; color: #fff; background: url("assets/hero.jpg") center/cover no-repeat; isolation: isolate; }
.hero-scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13,17,22,.72) 0%, rgba(13,17,22,.38) 42%, rgba(13,17,22,0) 74%); }
.hero-inner { padding-block: 110px; }
.hero-copy { max-width: 600px; }
.hero h1 { max-width: 590px; margin: 14px 0 22px; font-size: clamp(46px, 6vw, 78px); line-height: .96; letter-spacing: -.055em; text-wrap: balance; }
.hero-copy > p:not(.eyebrow) { max-width: 580px; margin: 0 0 30px; font-size: clamp(17px, 2vw, 21px); line-height: 1.55; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }

.section { position: relative; padding: 105px 0; }
.eyebrow { margin: 0 0 8px; color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow-light { color: #fff; opacity: .88; }
h2 { margin: 0; font-size: clamp(38px, 5vw, 58px); line-height: 1.05; letter-spacing: -.045em; }
.title-rule { display: block; width: 56px; height: 5px; margin: 20px 0 26px; background: var(--yellow); border-radius: 5px; }
.title-rule-center { margin-inline: auto; }
.section-lead { max-width: 680px; margin: 16px auto 42px; color: rgba(255,255,255,.86); font-size: 17px; }
.dark-lead { color: var(--muted); }
.section-center { position: relative; z-index: 2; text-align: center; }

.story-video { overflow: hidden; background: var(--soft); }
.video-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; align-items: center; }
.video-copy > p:not(.eyebrow) { margin: 0 0 28px; color: var(--muted); font-size: 17px; }
.video-embed { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #0b0d12; border: 8px solid #fff; border-radius: 18px; box-shadow: var(--shadow); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.shape-video { left: -110px; bottom: -150px; width: 330px; height: 330px; background: var(--yellow); border-radius: 50%; opacity: .75; }

.who { overflow: hidden; }
.split-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 76px; align-items: center; }
.image-frame { position: relative; }
.image-frame img { width: 100%; aspect-ratio: 1.1; object-fit: cover; border-radius: 10px; box-shadow: var(--shadow); }
.image-accent { position: absolute; left: -22px; bottom: -22px; z-index: -1; width: 58%; height: 62%; background: var(--blue); border-radius: 10px; }
.section-copy > p:not(.eyebrow) { color: var(--muted); font-size: 17px; }
.mission-vision { display: grid; gap: 14px; margin: 26px 0 32px; }
.mission-vision div { display: grid; grid-template-columns: 112px 1fr; gap: 18px; padding: 17px 18px; background: var(--soft); border-left: 4px solid var(--green); border-radius: 0 10px 10px 0; }
.mission-vision strong { font-weight: 900; }
.mission-vision span { color: var(--muted); }
.shape { position: absolute; pointer-events: none; }
.shape-blue { right: -115px; top: 40px; width: 310px; height: 370px; background: var(--blue); border-radius: 55% 0 0 43%; transform: rotate(12deg); }
.shape-yellow { right: -100px; bottom: -115px; width: 280px; height: 280px; background: var(--yellow); border-radius: 50%; }
.shape-dots { left: 3.5%; top: 70px; width: 140px; height: 120px; opacity: .35; background-image: radial-gradient(#101114 2px, transparent 2px); background-size: 17px 17px; }

.programs { color: #fff; background: var(--blue-dark) url("assets/festival-tents.jpg") center/cover no-repeat; isolation: isolate; }
.programs-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, rgba(31,72,193,.97), rgba(38,90,209,.91)); }
.program-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: left; }
.program-card { overflow: hidden; min-width: 0; color: #fff; background: #fff; border-radius: 10px; box-shadow: 0 18px 50px rgba(0,0,0,.22); transition: transform .25s ease; }
.program-card:hover, .program-card:focus-visible { transform: translateY(-8px); }
.program-card > img { width: 100%; aspect-ratio: 1.15; object-fit: cover; }
.program-card-body { display: block; min-height: 190px; padding: 20px 18px; color: var(--ink); }
.program-card small { display: block; margin-bottom: 8px; color: var(--blue); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.program-card strong { display: block; margin-bottom: 9px; font-size: 19px; line-height: 1.15; }
.program-card-body > span { color: var(--muted); font-size: 14px; line-height: 1.45; }
.program-card b { color: var(--blue); }
.centered-action { margin-top: 38px; }

.values { background: #fff; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 44px; }
.value-card { padding: 10px 12px; }
.value-icon { width: 116px; height: 116px; display: grid; place-items: center; margin: 0 auto 22px; color: #fff; border-radius: 50%; box-shadow: 0 15px 35px rgba(18,39,75,.14); }
.value-icon svg { width: 54px; height: 54px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.value-yellow { background: var(--yellow); }
.value-green { background: var(--green); }
.value-blue { background: var(--blue); }
.value-deep { background: var(--green-dark); }
.value-card h3 { margin: 0 0 10px; font-size: 20px; }
.value-card p { margin: 0; color: var(--muted); font-size: 14px; }

.events { color: #fff; background: var(--green) url("assets/events-bg.jpg") center/cover no-repeat; isolation: isolate; }
.events-scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, rgba(26,167,65,.94), rgba(20,195,76,.86)); }
.events-inner { position: relative; z-index: 2; }
.events-grid { display: grid; grid-template-columns: 1.22fr .78fr; gap: 22px; text-align: left; }
.event-stack { display: grid; gap: 22px; }
.event-card { overflow: hidden; color: var(--ink); background: #fff; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,61,20,.25); }
.event-card > img { width: 100%; height: 310px; object-fit: cover; }
.event-body { display: flex; gap: 18px; padding: 22px; }
.event-body h3 { margin: 2px 0 8px; font-size: 24px; line-height: 1.18; }
.event-body p { margin: 0 0 12px; color: var(--muted); }
.event-body a { color: var(--blue); font-weight: 900; }
.event-date { flex: 0 0 58px; min-height: 78px; display: grid; align-content: center; justify-items: center; color: #fff; background: var(--blue); border-radius: 8px; line-height: 1; }
.event-date b { font-size: 11px; letter-spacing: .12em; }
.event-date strong { margin: 2px 0; font-size: 27px; }
.event-date small { font-size: 10px; }
.event-meta { color: var(--green-dark) !important; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.event-small { display: grid; grid-template-columns: 42% 58%; }
.event-small > img, .video-thumb { width: 100%; height: 100%; min-height: 205px; object-fit: cover; }
.event-small .event-body { align-items: center; padding: 18px; }
.event-small .event-body h3 { font-size: 19px; }
.event-small .event-body p { font-size: 13px; }
.video-thumb { position: relative; overflow: hidden; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.play-button { position: absolute; inset: 50% auto auto 50%; width: 54px; height: 54px; display: grid; place-items: center; color: var(--blue); background: #fff; border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 10px 30px rgba(0,0,0,.22); }

.join { background: #fff; }
.join-grid { display: grid; grid-template-columns: .83fr 1.17fr; gap: 75px; align-items: center; }
.check-list { display: grid; gap: 10px; margin: 26px 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 30px; font-weight: 700; }
.check-list li::before { position: absolute; content: "✓"; left: 0; top: 0; width: 21px; height: 21px; display: grid; place-items: center; color: #fff; background: var(--green); border-radius: 50%; font-size: 12px; }
.contact-lines { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--blue); font-weight: 900; }
.contact-card { display: grid; gap: 15px; padding: 34px; background: var(--soft); border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-card label { display: grid; gap: 6px; color: #30343a; font-size: 13px; font-weight: 800; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.contact-card input, .contact-card textarea, .contact-card select { width: 100%; border: 1px solid #e1e5ee; border-radius: 10px; background: #fff; padding: 13px 14px; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.contact-card input:focus, .contact-card textarea:focus, .contact-card select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(66,103,232,.12); }
.contact-card textarea { resize: vertical; }
.contact-card .button { justify-self: start; }
.form-note { margin: -3px 0 0; color: var(--muted); font-size: 12px; }

.newsletter { padding: 55px 0; color: #fff; background: var(--blue-dark); }
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.newsletter h2 { max-width: 690px; font-size: clamp(28px, 4vw, 42px); }

.site-footer { padding: 76px 0 25px; color: rgba(255,255,255,.72); background: #090a0d; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .7fr .8fr 1fr; gap: 60px; }
.brand-footer { color: #fff; font-size: 22px; }
.brand-footer img { width: 54px; height: 54px; }
.footer-grid p { max-width: 320px; }
.footer-grid h3 { margin: 0 0 16px; color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: .1em; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-grid a:hover, .footer-grid a:focus-visible, .footer-grid button:hover, .footer-grid button:focus-visible { color: var(--green); }
.footer-grid button { padding: 0; color: inherit; background: transparent; border: 0; }
.footer-grid address { font-style: normal; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 55px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; }

.reveal { transition: opacity .6s ease, transform .6s ease; }
.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .site-header { height: 72px; }
  .menu-toggle { display: block; }
  .main-menu { position: absolute; left: 20px; right: 20px; top: 76px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; background: #fff; border-radius: 14px; box-shadow: var(--shadow); }
  .main-menu.is-open { display: flex; }
  .main-menu > a { padding: 13px 12px; }
  .main-menu > a::after { display: none; }
  .main-menu .button { margin-top: 8px; }
  .hero { min-height: 590px; background-position: 58% center; }
  .hero-scrim { background: linear-gradient(90deg, rgba(13,17,22,.82), rgba(13,17,22,.45) 65%, rgba(13,17,22,.16)); }
  .split-grid, .join-grid, .video-grid { grid-template-columns: 1fr; gap: 60px; }
  .program-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .program-card-body { min-height: 165px; }
  .events-grid { grid-template-columns: 1fr; }
  .event-stack { grid-template-columns: 1fr 1fr; }
  .event-small { grid-template-columns: 1fr; }
  .event-small > img, .video-thumb { min-height: 220px; max-height: 220px; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 28px, 1160px); }
  .section { padding: 76px 0; }
  .hero { min-height: 650px; background-position: 65% center; }
  .hero-inner { padding-block: 95px 75px; }
  .hero-copy { text-shadow: 0 2px 14px rgba(0,0,0,.35); }
  .hero-scrim { background: linear-gradient(90deg, rgba(8,12,18,.89), rgba(8,12,18,.58)); }
  .button-row { align-items: stretch; flex-direction: column; }
  .button-row .button { width: 100%; }
  .shape-blue { right: -210px; opacity: .55; }
  .shape-yellow { opacity: .75; }
  .split-grid { gap: 48px; }
  .video-grid { gap: 38px; }
  .program-grid, .values-grid, .event-stack { grid-template-columns: 1fr; }
  .program-card { display: grid; grid-template-columns: 42% 58%; }
  .program-card > img { height: 100%; aspect-ratio: auto; }
  .program-card-body { min-height: 190px; }
  .mission-vision div { grid-template-columns: 1fr; gap: 4px; }
  .event-card > img { height: 240px; }
  .event-body { padding: 18px; }
  .field-row { grid-template-columns: 1fr; }
  .contact-card { padding: 24px 20px; }
  .newsletter-inner, .footer-bottom { align-items: stretch; flex-direction: column; }
  .newsletter-inner .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
