/* IBH Foundation Design System */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --white: #FFFFFF;
  --parchment: #F9F9F9;
  --parchment-grey: #E8E8E8;
  --light-grey: #D9D9D9;
  --medium-grey: #6B6B6B;
  --dark-grey: #6B6B6B;
  --charcoal: #111111;
  --black: #111111;
  --deep-black: #111111;
  --font-serif: 'Cinzel', 'Trajan Pro', Georgia, serif;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1536px;
  --nav-height: 80px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

/* ─── PRELOADER ─── */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  background: var(--white);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

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

.preloader__wordmark {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--charcoal);
  animation: preloader-pulse 2s ease-in-out infinite;
}

.preloader__spinner {
  width: 44px;
  height: 44px;
  border: 2px solid var(--parchment-grey);
  border-top-color: var(--charcoal);
  border-radius: 50%;
  animation: preloader-spin 0.9s linear infinite;
}

@keyframes preloader-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes preloader-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

@media (prefers-reduced-motion: reduce) {
  .preloader__spinner {
    animation-duration: 2s;
  }
  .preloader__wordmark {
    animation: none;
  }
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--medium-grey);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  text-align: center;
}

.section-label--light {
  color: rgba(255, 255, 255, 0.5);
}

.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: var(--space-xl);
}

.section-heading em {
  font-style: italic;
  color: var(--dark-grey);
}

.section-heading--light {
  color: var(--white);
}

.section-heading--light em {
  color: rgba(255, 255, 255, 0.7);
}

.section-intro {
  font-size: 1.1rem;
  color: var(--dark-grey);
  max-width: 600px;
  margin-bottom: var(--space-xl);
  line-height: 1.8;
}

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

.section-divider-line {
  width: 100%;
  max-width: 800px;
  height: 1px;
  background: var(--parchment-grey);
  margin: 0 auto var(--space-xl) auto;
}

.section-divider-icon {
  text-align: center;
  margin-bottom: var(--space-xl);
  color: var(--medium-grey);
}

.section-divider-icon svg {
  width: 24px;
  height: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.btn--primary:hover {
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn--dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.btn--dark:hover {
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.btn--outline-dark {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}

.btn--outline-dark:hover {
  background: var(--black);
  color: var(--white);
}

/* NAVIGATION */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--deep-black);
  height: var(--nav-height);
  transition: var(--transition);
}

.nav--scrolled {
  background: rgba(17, 17, 17, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  z-index: 1001;
}

.nav__logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav__link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.5rem 1rem;
  transition: var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--white);
}

.nav__donate {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.5rem;
  margin-left: 0.75rem;
  background: var(--white);
  color: var(--black);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  transition: var(--transition);
}

.nav__donate:hover {
  background: var(--parchment);
  transform: translateY(-1px);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: var(--transition);
}

.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 5px);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -5px);
}

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

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: grayscale(0.8) brightness(1.1) contrast(0.9);
}

.hero__overlay {
  display: none;
}

.hero__pattern {
  display: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: left;
}

.hero__badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.5rem 1.5rem;
  margin-bottom: var(--space-lg);
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--black);
  margin-bottom: var(--space-md);
}

.hero__title-line {
  display: block;
}

.hero__title-line--accent {
  font-style: italic;
  font-weight: 400;
  opacity: 0.85;
}

.hero__subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  color: var(--dark-grey);
  line-height: 1.9;
  margin-bottom: var(--space-xl);
  font-weight: 500;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

/* Removed unused hero elements */

/* INNER PAGE HERO */
.page-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background: var(--deep-black);
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,17,17,0.6) 0%, rgba(17,17,17,0.85) 100%);
}

.page-hero__pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0 L60 30 L30 60 L0 30 Z' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='0.5'/%3E%3C/svg%3E");
  background-size: 60px 60px;
  opacity: 0.6;
}

.page-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 4rem 2rem;
  max-width: 800px;
}

.page-hero__breadcrumb {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.5rem;
}
.page-hero__breadcrumb a {
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}
.page-hero__breadcrumb a:hover { color: var(--white); }
.page-hero__breadcrumb span { margin: 0 0.5rem; }

.page-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.page-hero__subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.5);
  font-weight: 300;
  line-height: 1.8;
}

/* PROGRAMS DETAIL */
.programs-detail {
  padding: var(--space-3xl) 0;
  background: var(--white);
}

.program-detail {
  margin-bottom: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.program-detail:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.program-detail__header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: var(--space-xl);
}

.program-detail__icon {
  width: 64px;
  height: 64px;
  color: var(--charcoal);
  opacity: 0.7;
  flex-shrink: 0;
}
.program-detail__icon svg { width: 100%; height: 100%; }

.program-detail__title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  color: var(--black);
  letter-spacing: 0.05em;
}

.program-detail__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.program-detail__text {
  font-size: 1rem;
  color: var(--dark-grey);
  line-height: 1.9;
}

.program-detail__list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.program-detail__item h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 0.3rem;
}

.program-detail__item p {
  font-size: 0.9rem;
  color: var(--dark-grey);
  line-height: 1.7;
}

/* DONATE SECTION */
.donate-section {
  padding: var(--space-3xl) 0;
  background: var(--white);
}

.donate__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.donate__text {
  font-size: 1.05rem;
  color: var(--dark-grey);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
}

.donate__ways {
  margin-bottom: var(--space-xl);
}
.donate__ways h4,
.donate__contact-info h4 {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--medium-grey);
  margin-bottom: 0.75rem;
}
.donate__ways ul { list-style: none; }
.donate__ways li {
  font-size: 0.9rem;
  color: var(--charcoal);
  padding: 0.4rem 0;
  padding-left: 1rem;
  position: relative;
}
.donate__ways li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  background: var(--medium-grey);
  border-radius: 50%;
}

.donate__contact-info a {
  font-size: 0.9rem;
  color: var(--charcoal);
}

.donate__form-wrapper {
  background: var(--parchment);
  padding: 2.5rem;
}

.donate__amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.donate__amount {
  padding: 0.9rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1.5px solid rgba(0,0,0,0.1);
  background: var(--white);
  color: var(--charcoal);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}
.donate__amount:hover,
.donate__amount.active {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}

.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--medium-grey);
  margin-bottom: 0.5rem;
}

.form-input-prefix {
  display: flex;
  align-items: center;
  border: 1px solid rgba(0,0,0,0.1);
  background: var(--white);
}
.form-input-prefix span {
  padding: 0.9rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--medium-grey);
  border-right: 1px solid rgba(0,0,0,0.1);
}
.form-input-prefix .form-input {
  border: none;
  background: transparent;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}
.form-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--black);
}
.form-checkbox span {
  font-size: 0.85rem;
  color: var(--charcoal);
}

.donate__secure {
  text-align: center;
  font-size: 0.75rem;
  color: var(--medium-grey);
  margin-top: 1rem;
}

.contact__form-wrapper { }
.contact__form-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--black);
  margin-bottom: var(--space-lg);
}

/* MISSION */
.mission {
  position: relative;
  padding: var(--space-3xl) 0;
  background: var(--white);
  overflow: hidden;
}

.mission__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.mission__heading {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--charcoal);
}

.mission__accent-line {
  width: 40px;
  height: 1px;
  background: var(--light-grey);
  margin-bottom: var(--space-md);
}

.mission__note {
  font-size: 0.9rem;
  color: var(--medium-grey);
  line-height: 1.8;
}

.mission__pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 0 L80 40 L40 80 L0 40 Z' fill='none' stroke='rgba(0,0,0,0.03)' stroke-width='0.5'/%3E%3Ccircle cx='40' cy='40' r='20' fill='none' stroke='rgba(0,0,0,0.02)' stroke-width='0.5'/%3E%3C/svg%3E");
  background-size: 80px 80px;
  opacity: 0.8;
}

/* PROGRAMS */
.programs {
  padding: var(--space-3xl) 0;
  background: var(--parchment);
  position: relative;
}

.programs::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 10 L90 50 L50 90 L10 50 Z' fill='none' stroke='rgba(0,0,0,0.015)' stroke-width='0.5'/%3E%3Cpath d='M50 25 L75 50 L50 75 L25 50 Z' fill='none' stroke='rgba(0,0,0,0.01)' stroke-width='0.5'/%3E%3C/svg%3E");
  background-size: 100px 100px;
}

.programs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.program-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  position: relative;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--charcoal);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-slow);
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

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

.program-card__icon {
  width: 64px;
  height: 64px;
  color: var(--charcoal);
  margin-bottom: var(--space-md);
  opacity: 0.7;
}

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

.program-card__title {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--black);
  margin-bottom: var(--space-sm);
}

.program-card__desc {
  font-size: 0.9rem;
  color: var(--dark-grey);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.program-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--charcoal);
  transition: var(--transition);
}

.program-card__link:hover {
  color: var(--black);
  gap: 0.75rem;
}

/* PROJECTS */
.projects {
  padding: var(--space-3xl) 0;
  background: var(--white);
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: var(--transition);
}

.project-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.project-card__img {
  overflow: hidden;
  background: var(--parchment);
  height: 200px;
}

.project-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.4) brightness(0.9);
  transition: var(--transition-slow);
}

.project-card:hover .project-card__img img {
  filter: saturate(0.6) brightness(1);
  transform: scale(1.03);
}

.project-card__body {
  padding: 1rem 1.2rem;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.project-card__tag {
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--medium-grey);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.project-card__title {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 0;
  line-height: 1.3;
}

.projects__action {
  margin-top: var(--space-xl);
}

/* (duplicate project-card rules removed) */

/* CONTENT / KNOWLEDGE */
.content-section {
  padding: var(--space-3xl) 0;
  background: var(--parchment);
  position: relative;
}

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

.content-card {
  background: var(--white);
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: var(--transition);
  position: relative;
}

.content-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
}

.content-card__icon {
  width: 32px;
  height: 32px;
  color: var(--medium-grey);
  margin-bottom: var(--space-sm);
}

.content-card__tag {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--medium-grey);
  margin-bottom: 0.75rem;
}

.content-card__title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.content-card__desc {
  font-size: 0.85rem;
  color: var(--dark-grey);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.content-card__link {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--charcoal);
  transition: var(--transition);
}

.content-card__link:hover {
  color: var(--black);
}

/* IMPACT */
.impact {
  position: relative;
  padding: var(--space-lg) 0;
  background: var(--white);
  border-bottom: 1px solid var(--parchment-grey);
  border-top: 1px solid var(--parchment-grey);
}

.impact__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  position: relative;
  flex-wrap: wrap;
}

.impact__stat {
  text-align: center;
  padding: 1rem 2.5rem;
}

.impact__number {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: var(--black);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.impact__number--symbol {
  font-size: 2rem;
}

.impact__label {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--medium-grey);
  text-transform: uppercase;
}

.impact__divider {
  width: 1px;
  height: 40px;
  background: var(--parchment-grey);
}

/* CTA */
.cta {
  position: relative;
  padding: var(--space-3xl) 0;
  background: var(--black);
  overflow: hidden;
}

.cta__pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M60 10 L110 60 L60 110 L10 60 Z' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='0.5'/%3E%3C/svg%3E");
  background-size: 120px 120px;
}

.cta__inner {
  text-align: center;
  position: relative;
  max-width: 650px;
  margin: 0 auto;
}

.cta__heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 500;
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.cta__text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.cta__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta .btn--dark {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.cta .btn--dark:hover {
  background: var(--light-grey);
  border-color: var(--light-grey);
}

.cta .btn--outline-dark {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.cta .btn--outline-dark:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

/* CONTACT */
.contact {
  padding: var(--space-3xl) 0;
  background: var(--white);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-xl);
}

.contact__item {
  margin-bottom: var(--space-lg);
}

.contact__item h4 {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--medium-grey);
  margin-bottom: 0.5rem;
}

.contact__item p {
  font-size: 0.95rem;
  color: var(--charcoal);
}

.contact__social {
  display: flex;
  gap: 1rem;
}

.contact__social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--medium-grey);
  transition: var(--transition);
}

.contact__social a:hover {
  color: var(--charcoal);
}

.contact__social svg {
  width: 20px;
  height: 20px;
}

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

.form-input {
  width: 100%;
  padding: 0.9rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--white);
  color: var(--charcoal);
  transition: var(--transition);
  outline: none;
}

.form-input:focus {
  border-color: var(--charcoal);
}

.form-input::placeholder {
  color: var(--medium-grey);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

/* FOOTER */
.footer {
  position: relative;
  padding: var(--space-2xl) 0 var(--space-lg);
  background: var(--deep-black);
  color: rgba(255, 255, 255, 0.6);
  overflow: hidden;
}

.footer__pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='200' height='200' viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M100 10 L190 100 L100 190 L10 100 Z' fill='none' stroke='rgba(255,255,255,0.015)' stroke-width='0.5'/%3E%3Ccircle cx='100' cy='100' r='50' fill='none' stroke='rgba(255,255,255,0.01)' stroke-width='0.5'/%3E%3Cpath d='M100 40 L160 100 L100 160 L40 100 Z' fill='none' stroke='rgba(255,255,255,0.008)' stroke-width='0.5'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  position: relative;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-md);
}

.footer__logo-img {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.footer__desc {
  font-size: 0.85rem;
  line-height: 1.8;
  max-width: 320px;
}

.footer__socials {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.footer__socials a {
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}
.footer__socials a:hover {
  color: var(--white);
}

.footer__email {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}
.footer__email:hover {
  color: var(--white);
}

.footer__col-title {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: var(--space-md);
}

.footer__list li {
  margin-bottom: 0.6rem;
}

.footer__list a {
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer__list a:hover {
  color: var(--white);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.footer__bottom p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
}

.footer__compass {
  width: 40px;
  height: 40px;
  color: rgba(255, 255, 255, 0.15);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .mission__grid {
    grid-template-columns: 1fr;
  }

  .mission__aside {
    padding-top: var(--space-md);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }

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

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

@media (max-width: 768px) {
  :root {
    --space-3xl: 5rem;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--deep-black);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    gap: 0.5rem;
    transition: var(--transition-slow);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
  }

  .nav__links.active {
    right: 0;
  }

  .nav__link {
    font-size: 0.8rem;
    padding: 0.75rem 0;
    width: 100%;
  }

  .nav__donate {
    margin-left: 0;
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
  }

  .nav__toggle {
    display: flex;
  }

  .hero__title {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }

  .hero__geo {
    width: 150px;
    height: 150px;
  }

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

  .project-card {
    grid-template-columns: 1fr;
  }

  .project-card__img {
    height: 200px;
  }

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

  .impact__grid {
    flex-direction: column;
  }

  .impact__divider {
    width: 60px;
    height: 1px;
  }

  .impact__stat {
    padding: 1rem 0;
  }

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

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

  .program-detail__content {
    grid-template-columns: 1fr;
  }

  .program-detail__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

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

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

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

  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}