/* ==================================================================
   AFCEI Festival — "Rhythm & Canvas" design system
   ================================================================== */

:root {
  --sand: #F4EFE6;
  --clay: #EAE0D5;
  --white: #FFFFFF;
  --ink: #121212;
  --terracotta: #E05D3A;
  --terracotta-light: #F4C9B8;
  --ochre: #D99036;
  --emerald: #00A86B;
  --ghost-hero: #EBE1D3;
  --ghost-banner: rgba(244, 239, 230, 0.05);
  --ghost-gallery: #E2D7C7;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --section-pad: 112px 48px;
  --block-pad: 112px 48px;
}

@media (max-width: 759px) {
  :root {
    --section-pad: 72px 20px;
    --block-pad: 72px 20px;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--sand);
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
  padding-bottom: 0;
}

body.is-mobile { padding-bottom: 78px; }

::selection { background: var(--terracotta); color: var(--sand); }

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

a, button { transition: all .45s var(--ease); font-family: inherit; }

.text-terracotta { color: var(--terracotta); }
.text-ochre { color: var(--ochre); }
.text-emerald { color: var(--emerald); }

/* ---------- keyframes ---------- */
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes slideUpIn { from { transform: translateY(70px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes drumPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ---------- shared bits ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}
.eyebrow--center { display: inline-flex; }
.eyebrow--dark { color: var(--sand); }
.eyebrow--ochre { color: var(--ochre); }
.eyebrow--ochre-solid { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ochre); }

.eyebrow__dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; }
.eyebrow__dot--terracotta { background: var(--terracotta); }
.eyebrow__dot--ochre { background: var(--ochre); }
.eyebrow__dot--emerald { background: var(--emerald); }
.eyebrow__dot--pulse { animation: drumPulse 2.4s ease-in-out infinite; }

.h2 {
  font-weight: 600;
  font-size: clamp(30px, 7vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 20px 0 0;
}
.h2--dark { color: var(--sand); font-size: clamp(30px, 7vw, 64px); line-height: 1.06; }

.body-text {
  font-size: 17px;
  line-height: 1.55;
  font-weight: 450;
  color: rgba(18, 18, 18, 0.7);
  max-width: 58ch;
  margin: 20px 0 0;
}
.body-text--dark { color: rgba(244, 239, 230, 0.72); }

.section-pad { max-width: 1220px; margin: 0 auto; padding: var(--section-pad); }

.btn {
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding: 17px 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.arrow { font-size: 18px; }

.btn--primary { background: var(--ink); color: var(--sand); }
.btn--primary:hover { background: var(--terracotta); color: var(--white); padding: 17px 34px; }

.btn--secondary { background: transparent; color: var(--ink); padding: 17px 28px; border: 1px solid rgba(18, 18, 18, 0.2); gap: 9px; }
.btn--secondary:hover { background: var(--clay); padding: 17px 30px; }

.btn--donate { background: var(--terracotta); color: var(--white); font-size: 15px; padding: 13px 24px; }
.btn--donate:hover { background: var(--ink); padding: 13px 26px; }

.btn--donate-lg { background: var(--terracotta); color: var(--white); padding: 16px 28px; text-align: center; }
.btn--donate-lg:hover { background: var(--ink); padding: 16px 30px; }

.btn--poster { gap: 10px; margin-top: 28px; background: var(--terracotta); color: var(--white); font-weight: 700; font-size: 15px; padding: 16px 30px; letter-spacing: 0.02em; text-transform: uppercase; }
.btn--poster:hover { gap: 12px; background: var(--sand); color: var(--ink); padding: 16px 32px; }

.btn--footer-cta { gap: 10px; margin-top: 28px; background: var(--terracotta); color: var(--white); padding: 16px 30px; }
.btn--footer-cta:hover { gap: 12px; background: var(--sand); color: var(--ink); padding: 16px 32px; }

/* ==================================================================
   NAV
   ================================================================== */
.nav-wrap {
  position: sticky;
  top: 16px;
  z-index: 60;
  padding: 0 16px;
  margin-top: 16px;
}

.nav {
  max-width: 1220px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 999px;
  box-shadow: rgba(0, 0, 0, 0.04) 0 4px 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 10px 22px;
  gap: 16px;
  transition: box-shadow .4s ease, padding .4s ease;
}
.nav.is-scrolled { box-shadow: rgba(0, 0, 0, 0.09) 0 10px 30px 0; }

.nav__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav__logo img { height: 34px; width: auto; border-radius: 8px; }

.nav__links { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: center; }
.nav__link {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
  padding: 9px 16px;
  border-radius: 999px;
}
.nav__link--active { font-weight: 600; background: var(--sand); }
.nav__link:hover { color: var(--terracotta); }
.nav__link--active:hover { color: var(--ink); }

.nav__actions { display: flex; align-items: center; gap: 8px; }

.nav__icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(18, 18, 18, 0.12);
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  flex: none;
}

.nav__hamburger { display: none; }
.nav__hamburger .icon-close { display: none; }
.nav__hamburger .icon-open { display: block; }
.nav__hamburger[aria-expanded="true"] .icon-close { display: block; }
.nav__hamburger[aria-expanded="true"] .icon-open { display: none; }

.mobile-menu {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .45s var(--ease), opacity .35s ease;
  background: var(--white);
  border-radius: 24px;
  margin: 0 auto 0;
  max-width: 1220px;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  padding: 0 14px;
}
.mobile-menu.is-open {
  max-height: 420px;
  opacity: 1;
  margin: 8px auto 0;
  padding: 14px;
  box-shadow: rgba(0, 0, 0, 0.08) 0 14px 34px 0;
}
.mobile-menu__link {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 17px;
  padding: 14px 16px;
  border-radius: 16px;
}

/* ==================================================================
   HERO
   ================================================================== */
.hero {
  position: relative;
  padding: 72px 48px 40px;
}

.hero__ghost {
  position: absolute;
  top: 100px;
  left: 0;
  right: 0;
  text-align: center;
  font-weight: 800;
  font-size: clamp(120px, 25vw, 400px);
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: var(--ghost-hero);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.hero__content { position: relative; z-index: 2; max-width: 1120px; margin: 0 auto; text-align: center; }

.hero__title {
  font-weight: 600;
  font-size: clamp(38px, 9.5vw, 112px);
  line-height: 1.03;
  letter-spacing: -0.03em;
  margin: 22px auto 0;
  max-width: 15ch;
}

.hero__lead {
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.5;
  font-weight: 450;
  color: rgba(18, 18, 18, 0.68);
  max-width: 60ch;
  margin: 22px auto 0;
}

.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

.hero__frame {
  position: relative;
  z-index: 2;
  max-width: 1344px;
  margin: 56px auto 0;
  border-radius: 40px;
  overflow: hidden;
  aspect-ratio: 16 / 8;
  background: var(--clay);
}
.hero__frame-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; }
.hero__frame-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0) 40%, rgba(18, 18, 18, 0.35) 100%);
}

.hero__pills {
  position: absolute;
  left: 20px;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
}
.hero__pills-left { display: flex; gap: 8px; flex-wrap: wrap; }

.pill {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-weight: 600;
  font-size: 13px;
  padding: 9px 15px;
  border-radius: 999px;
  display: inline-block;
}
.pill--emerald { background: var(--emerald); color: var(--white); }
.pill--dotted { display: inline-flex; align-items: center; gap: 8px; }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--terracotta); display: inline-block; }

/* ==================================================================
   MARQUEE
   ================================================================== */
.marquee { background: var(--terracotta); overflow: hidden; padding: 14px 0; margin-top: 32px; }
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
  white-space: nowrap;
  will-change: transform;
}
.marquee__group {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--sand);
  text-transform: uppercase;
}
.marquee__group span:not(.marquee__star) { padding: 0 20px; }
.marquee__star { color: var(--terracotta-light); }

/* ==================================================================
   MISSION
   ================================================================== */
.mission {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: center;
}

.mission__title { max-width: 17ch; }
.mission__lead { max-width: 54ch; }

.callout {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  padding: 18px 22px;
  background: var(--clay);
  border-radius: 20px;
  max-width: 52ch;
}
.callout__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--emerald); flex: none; }
.callout p { margin: 0; font-size: 15px; font-weight: 500; line-height: 1.45; color: rgba(18, 18, 18, 0.8); }

.stats { display: flex; gap: 44px; flex-wrap: wrap; margin-top: 40px; }
.stat__number { font-weight: 600; letter-spacing: -0.02em; font-size: 44px; }
.stat__number span { font-size: 20px; }
.stat__number--terracotta { color: var(--terracotta); }
.stat__number--ochre { color: var(--ochre); }
.stat__number--emerald { color: var(--emerald); }
.stat__label { font-size: 14px; font-weight: 500; color: rgba(18, 18, 18, 0.6); margin-top: 2px; }

.mission__art { position: relative; display: flex; justify-content: center; }
.mission__art-halo { position: absolute; inset: -6%; background: var(--clay); border-radius: 50%; }
.mission__art-img {
  position: relative;
  width: 100%;
  max-width: 340px;
  filter: drop-shadow(0 20px 40px rgba(18, 18, 18, 0.12));
  animation: floaty 8s ease-in-out infinite;
}

/* ==================================================================
   POSTER BANNER
   ================================================================== */
.banner { padding: 40px 48px 112px; }
.banner__outer {
  max-width: 1344px;
  margin: 0 auto;
  border-radius: 44px;
  padding: 14px;
  background-image: url('../assets/images/banner-bg.jpg');
  background-size: cover;
  background-position: center;
}
.banner__inner {
  border-radius: 30px;
  background: var(--ink);
  overflow: hidden;
  position: relative;
  padding: clamp(40px, 6vw, 72px) clamp(28px, 5vw, 64px);
}
.banner__ghost {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: clamp(120px, 30vw, 460px);
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: var(--ghost-banner);
  pointer-events: none;
  user-select: none;
}
.banner__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 36px;
  align-items: center;
}
.banner__photo {
  width: 160px;
  height: 200px;
  border-radius: 100px;
  overflow: hidden;
  flex: none;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.banner__photo img { width: 100%; height: 100%; object-fit: cover; }
.banner__center { text-align: center; }
.banner__headline {
  font-weight: 700;
  font-size: clamp(38px, 6.6vw, 96px);
  line-height: 0.94;
  letter-spacing: -0.03em;
  color: var(--sand);
  margin: 18px 0 0;
}
.banner__location {
  font-size: clamp(14px, 1.5vw, 19px);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(244, 239, 230, 0.82);
  margin: 20px 0 0;
  text-transform: uppercase;
}

/* ==================================================================
   CONSTELLATION EXPERIENCES
   ================================================================== */
.experiences { background: var(--clay); padding: var(--block-pad); position: relative; }
.experiences__header { max-width: 1220px; margin: 0 auto; text-align: center; }
.experiences__title { max-width: 18ch; margin-left: auto; margin-right: auto; }

.constellation { position: relative; max-width: 1180px; margin: 56px auto 0; }
.tapestry { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; overflow: visible; }

.constellation__row {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
}

.card { width: 264px; }
.card__circle-wrap { position: relative; }
.card__circle {
  width: 264px;
  height: 264px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--sand);
  box-shadow: 0 24px 44px rgba(18, 18, 18, 0.14);
  transition: transform .5s var(--ease), box-shadow .5s;
}
.card__circle img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.card:hover .card__circle { transform: translateY(-6px); box-shadow: 0 30px 54px rgba(18, 18, 18, 0.2); }

.card__satellite {
  position: absolute;
  bottom: 14px;
  right: 14px;
  transform: translate(30%, 30%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(18, 18, 18, 0.16);
  font-size: 20px;
}
.card__satellite:hover {
  transform: translate(30%, 30%) rotate(-45deg);
  background: var(--terracotta);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(224, 93, 58, 0.4);
}

.card__meta { text-align: center; margin-top: 24px; }
.card__label { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.card__name { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; margin: 6px 0 0; }
.card__desc { font-size: 15px; line-height: 1.45; color: rgba(18, 18, 18, 0.6); margin: 8px auto 0; max-width: 24ch; }

/* ==================================================================
   PROGRAM
   ================================================================== */
.program {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 64px;
  align-items: start;
}

.day-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.day-tab {
  border: 1px solid var(--ink);
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  background: transparent;
  color: var(--ink);
}
.day-tab.is-active { background: var(--ink); color: var(--sand); }

.schedule { margin-top: 14px; transition: opacity .5s ease, transform .5s var(--ease); }
.schedule__item {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 20px 6px;
  border-top: 1px solid rgba(18, 18, 18, 0.12);
  flex-wrap: wrap;
}
.schedule__time { width: 86px; flex: none; font-weight: 600; font-size: 14px; color: var(--ink); }
.schedule__dot { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.schedule__body { flex: 1; min-width: 140px; }
.schedule__title { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.schedule__venue { font-size: 14px; font-weight: 450; color: rgba(18, 18, 18, 0.55); margin-top: 2px; }
.schedule__tag {
  flex: none;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid rgba(18, 18, 18, 0.15);
}

.program__aside { position: sticky; top: 120px; }
.program__image {
  border-radius: 32px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: 0 24px 50px rgba(18, 18, 18, 0.14);
  background: var(--clay);
}
.program__image img { width: 100%; height: 100%; object-fit: cover; }

.program__info { background: var(--ink); color: var(--sand); border-radius: 24px; padding: 24px; margin-top: 16px; }
.program__info-text { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; margin-top: 8px; line-height: 1.25; }
.program__info-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  text-decoration: none;
  color: var(--sand);
  font-weight: 600;
  font-size: 15px;
}
.program__info-link:hover { gap: 12px; color: var(--terracotta); }

/* ==================================================================
   CHARITY
   ================================================================== */
.charity { background: var(--ink); color: var(--sand); padding: var(--block-pad); position: relative; overflow: hidden; }
.charity__bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 38%;
  opacity: 0.3;
  background-image: url('../assets/images/mission-map.jpg');
  background-size: contain;
  background-position: right center;
  background-repeat: no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
  mask-image: linear-gradient(90deg, transparent, #000 60%);
  pointer-events: none;
}
.charity__inner { max-width: 1220px; margin: 0 auto; position: relative; z-index: 2; }
.charity__header { max-width: 640px; }

.charity__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.charity-card {
  background: rgba(244, 239, 230, 0.06);
  border: 1px solid rgba(244, 239, 230, 0.12);
  border-radius: 24px;
  padding: 28px 26px;
}
.charity-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.charity-card__icon--terracotta { background: var(--terracotta); }
.charity-card__icon--ochre { background: var(--ochre); }
.charity-card__icon--emerald { background: var(--emerald); }
.charity-card h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; margin: 18px 0 0; }
.charity-card p { font-size: 15px; line-height: 1.5; color: rgba(244, 239, 230, 0.62); margin: 8px 0 0; }

.charity__cta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 44px;
  padding: 32px 36px;
  background: var(--sand);
  color: var(--ink);
  border-radius: 28px;
}
.charity__cta-title { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.charity__cta-sub { font-size: 15px; font-weight: 450; color: rgba(18, 18, 18, 0.6); margin-top: 6px; }
.charity__cta-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.charity__call {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.charity__call-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--emerald); display: inline-block; }

/* ==================================================================
   GALLERY
   ================================================================== */
.gallery { background: var(--clay); padding: var(--block-pad); position: relative; overflow: hidden; }
.gallery__ghost {
  position: absolute;
  bottom: -3%;
  left: 0;
  right: 0;
  text-align: center;
  font-weight: 800;
  font-size: clamp(90px, 20vw, 320px);
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: var(--ghost-gallery);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.gallery__inner { position: relative; z-index: 2; max-width: 1220px; margin: 0 auto; }
.gallery__header { max-width: 680px; }

.gallery__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; margin-top: 56px; }
.gallery__item { border-radius: 32px; overflow: hidden; box-shadow: 0 20px 44px rgba(18, 18, 18, 0.12); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item--a { grid-column: span 7; aspect-ratio: 16 / 10; }
.gallery__item--b { grid-column: span 5; aspect-ratio: 16 / 10; }
.gallery__item--c { grid-column: span 4; aspect-ratio: 1 / 1; }

.gallery__quote {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  padding: 24px 28px;
  background: var(--sand);
  border-radius: 24px;
  max-width: 760px;
}
.gallery__quote-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--terracotta); flex: none; }
.gallery__quote p { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.5; color: rgba(18, 18, 18, 0.82); }

/* ==================================================================
   JOIN / GET INVOLVED
   ================================================================== */
.join { background: var(--ink); border-radius: 40px; padding: clamp(32px, 6vw, 80px); position: relative; overflow: hidden; }
.join__bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 34%;
  opacity: 0.5;
  background-image: url('../assets/images/banner-bg.jpg');
  background-size: cover;
  background-position: center;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 65%);
  mask-image: linear-gradient(90deg, transparent, #000 65%);
}
.join__content { position: relative; z-index: 2; max-width: 640px; }
.join__phone { color: var(--sand); font-weight: 600; }
.join__form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 32px; }
.join__input {
  flex: 1;
  min-width: 200px;
  background: var(--sand);
  border: none;
  border-radius: 999px;
  padding: 17px 24px;
  font-size: 16px;
  font-family: inherit;
  color: var(--ink);
  outline: none;
}
.join__input::placeholder { color: rgba(18, 18, 18, 0.4); }

/* ---------- kente tapestry divider ---------- */
.tapestry-divider-wrap { max-width: 1344px; margin: 0 auto; padding: 0 16px; }
.tapestry-divider {
  height: 14px;
  border-radius: 999px;
  background-image: url('../assets/images/banner-bg.jpg');
  background-size: auto 320%;
  background-position: center;
  background-repeat: repeat-x;
}

/* ==================================================================
   FOOTER
   ================================================================== */
.footer { background: var(--ink); color: var(--sand); padding: 100px 48px 40px; margin-top: 64px; }
.footer__inner { max-width: 1220px; margin: 0 auto; }

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
  padding-bottom: 72px;
  border-bottom: 1px solid rgba(244, 239, 230, 0.14);
}
.footer__headline {
  font-weight: 600;
  font-size: clamp(32px, 8vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 15ch;
  margin: 0;
}

.footer__links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col-title { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ochre); margin-bottom: 4px; }
.footer__col a, .footer__col span {
  text-decoration: none;
  color: rgba(244, 239, 230, 0.78);
  font-size: 15px;
  font-weight: 450;
}
.footer__col a:hover { color: var(--terracotta-light); }

.footer__bottom {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
}
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand img { height: 32px; border-radius: 8px; }
.footer__brand span { font-size: 13px; font-weight: 450; color: rgba(244, 239, 230, 0.55); }
.footer__copy { font-size: 13px; font-weight: 450; color: rgba(244, 239, 230, 0.5); }

.footer__back-to-top { display: none; }

/* ==================================================================
   MOBILE QUICK-ACTION BAR
   ================================================================== */
.quick-actions {
  display: none;
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 70;
  gap: 8px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 999px;
  padding: 7px;
  box-shadow: 0 16px 40px rgba(18, 18, 18, 0.2);
  align-items: center;
  animation: slideUpIn .6s var(--ease) .2s both;
}
.quick-actions__link {
  flex: 1;
  text-decoration: none;
  text-align: center;
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  padding: 13px 10px;
  border-radius: 999px;
}
.quick-actions__link--donate { color: var(--white); background: var(--terracotta); }

/* ==================================================================
   SCROLL REVEAL (JS-driven base state)
   ================================================================== */
[data-reveal] {
  opacity: 0;
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal-variant="up"] { transform: translateY(26px); }
[data-reveal-variant="left"] { transform: translateX(-38px); }
[data-reveal-variant="right"] { transform: translateX(38px); }
[data-reveal-variant="scale"] { transform: scale(0.92); }
[data-reveal-variant="rotate"] { transform: translateY(22px) rotate(-3deg); }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
}

/* ==================================================================
   RESPONSIVE — mobile (<760px)
   ================================================================== */
@media (max-width: 759px) {
  .nav__links, .nav__search { display: none; }
  .nav__hamburger { display: flex; }

  .hero { padding: 56px 18px 28px; }
  .hero__ghost { display: none; }
  .hero__title { font-weight: 700; }
  .hero__actions { flex-direction: column; align-items: stretch; margin-top: 30px; }
  .btn--primary, .btn--secondary { width: 100%; }
  .hero__frame { margin: 36px auto 0; border-radius: 26px; aspect-ratio: 3 / 4; }

  .mission { display: flex; flex-direction: column; gap: 44px; }
  .h2 { font-weight: 700; }
  .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; }
  .stat__number { font-size: 30px; }

  .banner { padding: 24px 14px 64px; }
  .banner__outer { border-radius: 30px; }
  .banner__inner { border-radius: 22px; padding: 40px 20px; }
  .banner__grid { display: flex; flex-direction: column; align-items: center; gap: 0; }
  .banner__photo { display: none; }

  .experiences { padding: var(--block-pad); }
  .tapestry { display: none; }
  .constellation__row { gap: 22px; }
  .card { width: 168px; }
  .card__circle { width: 168px; height: 168px; }
  .card__satellite { bottom: 8px; right: 8px; width: 42px; height: 42px; font-size: 16px; }

  .program { display: flex; flex-direction: column; gap: 44px; }
  .program__aside { position: static; }

  .charity__cards { display: flex; flex-direction: column; gap: 14px; margin-top: 36px; }
  .charity__cta { flex-direction: column; align-items: stretch; gap: 18px; margin-top: 32px; padding: 24px 22px; }
  .charity__cta-actions { flex-direction: column; gap: 10px; align-items: stretch; }
  .btn--donate-lg { width: 100%; }

  .gallery__ghost { display: none; }
  .gallery__grid { gap: 12px; margin-top: 32px; }
  .gallery__item--a, .gallery__item--b, .gallery__item--c { grid-column: span 6; aspect-ratio: 4 / 3; }

  .join { border-radius: 28px; }
  .join__form { flex-direction: column; gap: 12px; margin-top: 28px; }

  .footer { padding: 64px 20px 32px; }
  .footer__top { display: flex; flex-direction: column; gap: 44px; padding-bottom: 48px; }
  .footer__headline { font-weight: 700; }

  .quick-actions { display: flex; }

  .footer__back-to-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
    padding: 15px 20px;
    border-radius: 999px;
    background: rgba(244, 239, 230, 0.08);
    border: 1px solid rgba(244, 239, 230, 0.16);
    color: var(--sand);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
  }
  .footer__back-to-top:active { background: var(--terracotta); border-color: var(--terracotta); }
}

/* ==================================================================
   VISION & MISSION  (African-embroidery framed)
   ================================================================== */
.vm { padding: var(--section-pad); }

.vm__frame {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px;
  border-radius: 46px;
  /* woven kente-diamond binding */
  background-color: var(--ochre);
  background-image:
    linear-gradient(45deg, var(--ink) 25%, transparent 25%, transparent 75%, var(--ink) 75%),
    linear-gradient(45deg, var(--ink) 25%, transparent 25%, transparent 75%, var(--ink) 75%);
  background-size: 26px 26px;
  background-position: 0 0, 13px 13px;
  box-shadow: 0 30px 60px rgba(18, 18, 18, 0.14);
}

.vm__panel {
  position: relative;
  background: var(--sand);
  border-radius: 30px;
  padding: clamp(40px, 6vw, 76px) clamp(28px, 5vw, 68px);
}
/* dashed "stitch" thread over the weave */
.vm__panel::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 20px;
  border: 2px dashed rgba(224, 93, 58, 0.35);
  pointer-events: none;
}

.vm__topline { text-align: center; position: relative; z-index: 1; }

.vm__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 44px;
  margin-top: 40px;
  align-items: stretch;
}
.vm__divider { width: 1px; background: linear-gradient(180deg, transparent, rgba(18, 18, 18, 0.18), transparent); }
.vm__col { text-align: center; }

.vm__kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.vm__statement {
  font-weight: 500;
  font-size: clamp(19px, 2.2vw, 27px);
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 16px auto 0;
  max-width: 34ch;
}

/* ==================================================================
   PROPOSED HOSPITAL
   ================================================================== */
.hospital__header { max-width: 720px; }
.hospital__frame {
  position: relative;
  margin: 48px 0 0;
  border-radius: 40px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--clay);
  box-shadow: 0 30px 60px rgba(18, 18, 18, 0.16);
}
.hospital__frame img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hospital__caption {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ==================================================================
   MEDICAL OUTREACHES
   ================================================================== */
.outreach { background: var(--clay); padding: var(--block-pad); }
.outreach__inner { max-width: 1220px; margin: 0 auto; }
.outreach__header { max-width: 680px; }

.outreach__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 52px;
}
.outreach__item {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--sand);
  box-shadow: 0 20px 44px rgba(18, 18, 18, 0.12);
}
.outreach__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.outreach__item:hover img { transform: scale(1.05); }
.outreach__item--wide { grid-column: span 2; aspect-ratio: 16 / 9; }

/* ==================================================================
   DIRECTOR
   ================================================================== */
.director__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.director__portrait { position: relative; display: flex; justify-content: center; }
.director__halo {
  position: absolute;
  inset: -5% -5% -5% -5%;
  background: var(--clay);
  border-radius: 40px;
}
.director__portrait img {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 32px;
  box-shadow: 0 24px 50px rgba(18, 18, 18, 0.18);
}
.director__quote {
  font-weight: 500;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 20px 0 0;
  max-width: 24ch;
}
.director__name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: 26px;
}
.director__role {
  font-size: 14px;
  font-weight: 500;
  color: rgba(18, 18, 18, 0.6);
  margin-top: 4px;
  max-width: 42ch;
}

/* ---------- new sections: mobile ---------- */
@media (max-width: 759px) {
  .vm__frame { padding: 12px; border-radius: 32px; }
  .vm__panel { border-radius: 22px; }
  .vm__panel::before { inset: 8px; border-radius: 15px; }
  .vm__grid { grid-template-columns: 1fr; gap: 28px; margin-top: 32px; }
  .vm__divider { width: auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(18, 18, 18, 0.18), transparent); }

  .hospital__frame { margin-top: 32px; border-radius: 26px; aspect-ratio: 4 / 3; }

  .outreach__grid { gap: 12px; margin-top: 32px; }
  .outreach__item { border-radius: 20px; }

  .director__grid { grid-template-columns: 1fr; gap: 32px; }
  .director__portrait img { max-width: 280px; }
}
