/* ==========================================================================
   Future Guardian Trust — single-page site
   Design A "Warm Hope", in the Future Guardian brand indigo
   ========================================================================== */

:root {
  /* Brand indigo from the Future Guardian logo, used throughout */
  --brand: #2E2A86;
  --brand-dark: #221F66;
  --brand-soft: #ECEBF7;
  --tint: #C9C6F4;      /* light indigo for text and numbers on indigo backgrounds */
  --surface: #F5F5FB;   /* light section background */
  --ink: #1B1F23;
  --ink-2: #3E3D55;
  --muted: #55546B;
  --line: #E3E2F0;
  --footer: #16143F;

  /* Mukta supplies the Devanagari (Hindi) glyphs */
  --font-display: "Bricolage Grotesque", "Mukta", system-ui, sans-serif;
  --font-body: "DM Sans", "Mukta", system-ui, sans-serif;

  --radius: 24px;
  --radius-sm: 14px;
  --container: 1240px;
  --header-h: 76px;
  --shadow: 0 20px 50px rgba(27, 31, 35, .14);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
h1, h2, h3 { font-family: var(--font-display); margin: 0; letter-spacing: -0.02em; }
h2 { font-weight: 800; font-size: clamp(32px, 4vw, 48px); line-height: 1.08; }
h3 { font-size: 24px; line-height: 1.2; }
p { margin: 0 0 16px; }
address { font-style: normal; }

.container { max-width: var(--container); margin: 0 auto; padding-inline: 24px; }
.section { padding-block: clamp(72px, 9vw, 112px); }
.section-bg { background: var(--surface); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

.eyebrow {
  color: var(--brand); font-weight: 700; font-size: 14px;
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px;
}
.eyebrow--light { color: var(--tint); }

.section-head { margin-bottom: 48px; }
.section-head--center { text-align: center; max-width: 640px; margin-inline: auto; }
.section-head--split {
  display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-end;
}
.section-head--split p { margin: 0; max-width: 420px; color: var(--muted); }

.link { font-weight: 700; text-decoration: none; }
.link:hover { color: var(--brand-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 12px 26px; border-radius: 999px;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background .2s, color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--lg { padding: 16px 32px; font-size: 18px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); color: #fff; }
.btn--outline { background: #fff; color: var(--brand); border-color: var(--brand); }
.btn--outline:hover { background: var(--brand); color: #fff; }
.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--brand-dark); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { align-items: center; }

.pill {
  display: inline-block; background: #fff; color: var(--brand);
  font-weight: 700; font-size: 17px; padding: 6px 16px; border-radius: 999px;
}

.icon-tile {
  width: 56px; height: 56px; border-radius: 16px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-soft); color: var(--brand);
}
.icon-tile--alt { background: var(--brand); color: #fff; }

/* ---------- Image slots ----------
   Each .media box shows a striped placeholder with its data-label until the
   real image (same filename as in index.html) is added to assets/. */
.media {
  position: relative; overflow: hidden;
  background-color: #E4E3F2;
  background-image: repeating-linear-gradient(135deg, rgba(46, 42, 134, .08) 0 12px, transparent 12px 24px);
}
.media--dark {
  background-color: #3A3693;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .06) 0 12px, transparent 12px 24px);
}
.media--round { border-radius: 50%; }
.media > img { width: 100%; height: 100%; object-fit: cover; }
.media.is-missing::after {
  content: attr(data-label);
  position: absolute; left: 14px; bottom: 12px; right: 14px;
  font-size: 13px; color: #4A4790; line-height: 1.3;
}
.media--dark.is-missing::after { color: #C9C6F4; }
.media--round.is-missing::after { inset: 0; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; }

/* ---------- Top bar ---------- */
.topbar { background: var(--brand); color: #E9E8FA; font-size: 14px; }
.topbar__inner { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; padding-block: 8px; }
.topbar__links { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar a { color: #E9E8FA; text-decoration: none; }
.topbar a:hover { color: #fff; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); transition: box-shadow .2s;
}
.header.is-scrolled { box-shadow: 0 6px 24px rgba(27, 31, 35, .08); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand__logo { height: 52px; width: auto; }

.nav { display: flex; align-items: center; gap: 28px; font-weight: 500; }
.nav > a:not(.btn) { color: var(--ink); text-decoration: none; position: relative; padding-block: 6px; }
.nav > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--brand); transform: scaleX(0); transition: transform .2s; transform-origin: left;
}
.nav > a:not(.btn):hover::after, .nav > a.is-active::after { transform: scaleX(1); }
.nav > a.is-active { color: var(--brand); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px; border-radius: 10px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(720px, 88vh); display: flex; align-items: flex-end; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { object-position: 60% 70%; }
/* Light scrim keeps the dark headline readable over any photo */
.hero__media::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(245, 245, 251, .94) 0%, rgba(245, 245, 251, .78) 45%, rgba(245, 245, 251, 0) 80%);
}
.hero__media.is-missing::before { display: none; }
.hero__media.is-missing::after { left: auto; right: 24px; top: 24px; bottom: auto; background: rgba(255,255,255,.8); padding: 4px 10px; border-radius: 6px; }
.hero__inner {
  position: relative; z-index: 2; width: 100%;
  display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: space-between;
  padding-block: 96px 72px;
}
.hero__content { flex: 1 1 520px; max-width: 680px; }
.hero h1 {
  font-weight: 800; font-size: clamp(40px, 6vw, 76px); line-height: 1.02;
  letter-spacing: -0.025em; margin: 20px 0;
}
.hero__lead { font-size: 20px; max-width: 560px; color: #2B2A3D; margin-bottom: 32px; }
.hero__tags { list-style: none; padding: 0; margin: -12px 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.hero__tags li {
  font-size: 14px; font-weight: 700; color: var(--brand);
  background: rgba(255, 255, 255, .85); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px;
}
.hero__card {
  background: #fff; border-radius: 24px; padding: 26px 26px 22px; box-shadow: var(--shadow);
  flex: 0 1 380px; align-self: center;
}
.hero__card-head { border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 14px; }
.hero__card-title { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.01em; }
.hero__card-hi { font-family: var(--font-display); font-weight: 700; color: var(--brand); font-size: 17px; }
.provide { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.provide li { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 16px; line-height: 1.35; }
.provide__icon {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-soft); color: var(--brand);
}
.provide li:last-child .provide__icon { background: var(--brand); color: #fff; }
.provide li:last-child { font-weight: 700; color: var(--brand); }
.hero__card-link { font-size: 15px; }

/* ---------- Impact ---------- */
.impact { background: var(--brand); color: #fff; }
.impact__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px;
  padding-block: 56px;
}
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 5vw, 52px); line-height: 1; color: var(--tint); }
.stat__label { margin-top: 8px; color: #DCDBF5; }

/* ---------- About ---------- */
.about { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.about__gallery { flex: 1 1 440px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.about__img-tall { grid-row: span 2; height: 360px; border-radius: var(--radius); }
.about__img { height: 172px; border-radius: var(--radius); }
.about__years {
  height: 172px; border-radius: var(--radius); background: var(--brand); color: #fff;
  padding: 22px; display: flex; flex-direction: column; justify-content: flex-end;
}
.about__years-num { font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 1; }
.about__text { flex: 1 1 480px; }
.about__text h2 { margin-bottom: 20px; }
.about__text > p { color: var(--ink-2); }
.mv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 28px; }
.mv { border-radius: 16px; padding: 20px; }
.mv h3 { font-family: var(--font-body); font-size: 17px; letter-spacing: 0; margin-bottom: 4px; }
.mv p { margin: 0; font-size: 15px; color: var(--muted); }
.mv--light { background: var(--surface); }
.mv--tint { background: var(--brand-soft); }

/* ---------- Programmes ---------- */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.service {
  background: #fff; border-radius: var(--radius); padding: 28px 26px;
  transition: transform .25s, box-shadow .25s;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service .icon-tile { margin-bottom: 18px; }
.service h3 { font-size: 21px; }
.service__hi { font-family: var(--font-display); font-weight: 700; color: var(--brand); font-size: 16px; margin: 4px 0 10px; }
.service p { margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- Job placement ---------- */
.placement { background: var(--brand-dark); color: #fff; padding-block: clamp(72px, 9vw, 112px); overflow: hidden; }
.placement__hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.placement__intro { flex: 1 1 480px; min-width: 0; }
.placement__intro h2 { font-size: clamp(36px, 5vw, 60px); margin-bottom: 18px; }
.placement__lead { font-size: 19px; color: #DCDBF5; max-width: 560px; margin-bottom: 24px; }
.placement__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.placement__badges span {
  font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
}
.placement__media { flex: 1 1 440px; min-height: 380px; border-radius: 28px; align-self: stretch; }
.btn--light { background: #fff; color: var(--brand); }
.btn--light:hover { background: var(--tint); color: var(--brand-dark); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }

.journey {
  list-style: none; margin: 56px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px;
  counter-reset: none;
}
.journey__step {
  position: relative; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius); padding: 28px 26px;
}
.journey__num {
  position: absolute; top: 22px; right: 24px;
  font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 1; color: rgba(255, 255, 255, .14);
}
.journey__icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 18px;
  display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--brand);
}
.journey__step h3 { font-size: 22px; margin-bottom: 8px; }
.journey__step p { margin: 0; color: #DCDBF5; font-size: 16px; }
.journey__step:last-child { background: #fff; color: var(--ink); border-color: #fff; }
.journey__step:last-child .journey__icon { background: var(--brand); color: #fff; }
.journey__step:last-child .journey__num { color: var(--brand-soft); }
.journey__step:last-child p { color: var(--muted); }

/* ---------- Government schemes ---------- */
.schemes { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.schemes__intro { flex: 1 1 360px; }
.schemes__intro h2 { margin-bottom: 16px; }
.schemes__intro p { color: var(--ink-2); }
.schemes__list {
  flex: 1.4 1 520px; list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px;
}
.schemes__list li {
  border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; background: #fff;
}
.schemes__list strong { display: block; font-size: 17px; line-height: 1.35; color: var(--brand); }
.schemes__list span { font-size: 15px; color: var(--muted); }

/* ---------- Gallery ---------- */
.section-head__sub { color: var(--muted); margin: 12px 0 0; }
.gallery {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 240px; gap: 16px; grid-auto-flow: row dense;
}
.gallery__item {
  position: relative; margin: 0; border-radius: 20px; overflow: hidden; background: var(--brand-soft);
}
.gallery__item--video { grid-column: span 2; grid-row: span 2; background: #000; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item video { width: 100%; height: 100%; display: block; object-fit: cover; }
.gallery__open { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.gallery__open:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px; }
.gallery__open img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery__item:hover .gallery__open img { transform: scale(1.05); }
.gallery__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; pointer-events: none;
  padding: 36px 16px 12px; color: #fff; font-weight: 500; font-size: 15px;
  background: linear-gradient(transparent, rgba(22, 20, 63, .85));
}
.gallery__item--video figcaption { top: 0; bottom: auto; padding: 12px 16px 36px; background: linear-gradient(rgba(22, 20, 63, .8), transparent); }

.lightbox {
  border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh;
  width: 100vw; height: 100vh; display: none; align-items: center; justify-content: center; gap: 12px;
}
.lightbox[open] { display: flex; }
.lightbox::backdrop { background: rgba(14, 13, 40, .92); }
.lightbox__figure { margin: 0; max-width: min(1100px, 82vw); text-align: center; }
.lightbox__figure img { max-width: 100%; max-height: 80vh; border-radius: 12px; margin: 0 auto; }
.lightbox__figure figcaption { color: #fff; margin-top: 12px; }
.lightbox button {
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; flex: none;
  background: rgba(255, 255, 255, .14); color: #fff; display: inline-flex; align-items: center; justify-content: center;
}
.lightbox button:hover { background: rgba(255, 255, 255, .28); }
.lightbox__close { position: absolute; top: 20px; right: 20px; }

@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; }
  .gallery__item--video { grid-row: span 2; }
}
@media (max-width: 560px) {
  .gallery { grid-auto-rows: 150px; gap: 10px; }
  .gallery__item figcaption { font-size: 13px; padding: 28px 10px 8px; line-height: 1.3; }
  .gallery__item--video figcaption { padding: 10px 12px 28px; }
  .lightbox__nav { position: absolute; bottom: 24px; }
  .lightbox__nav--prev { left: calc(50% - 60px); }
  .lightbox__nav--next { right: calc(50% - 60px); }
}

/* ---------- Donate ---------- */
.donate { background: var(--brand); border-radius: 32px; color: #fff; display: flex; flex-wrap: wrap; overflow: hidden; }
.donate__media { flex: 1 1 420px; min-height: 420px; }
.donate__body { flex: 1 1 520px; min-width: 0; padding: clamp(32px, 5vw, 56px) clamp(24px, 4vw, 48px); }
.donate__body h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 12px; }
.donate__intro { color: #DCDBF5; margin-bottom: 24px; }
.checklist { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 14px; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px;
  background: no-repeat center / 22px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9C6F4' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}
.donate__contact {
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 18px; padding: 22px 24px; margin-bottom: 24px;
}
.donate__contact h3 { font-weight: 700; font-size: 22px; margin-bottom: 6px; }
.donate__contact p { color: #DCDBF5; font-size: 16px; margin-bottom: 14px; }
.donate__links { display: flex; flex-wrap: wrap; gap: 10px 28px; font-weight: 700; }
.donate__links a { color: #fff; display: inline-flex; gap: 8px; align-items: center; text-decoration: none; min-height: 44px; overflow-wrap: anywhere; }
.donate__links svg { flex: none; }
.donate__links a:hover { color: var(--tint); }
.donate .btn--primary { background: #fff; color: var(--brand); }
.donate .btn--primary:hover { background: var(--tint); color: var(--brand-dark); }

/* ---------- Get involved ---------- */
.ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.way { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; transition: border-color .2s, box-shadow .2s; }
.way:hover { border-color: transparent; box-shadow: var(--shadow); }
.way .icon-tile { margin-bottom: 20px; }
.way h3 { margin-bottom: 8px; }
.way p { color: var(--muted); }

/* ---------- Contact ---------- */
.contact { display: flex; flex-wrap: wrap; gap: 48px; }
.contact__info { flex: 1 1 380px; min-width: 0; }
.contact__info h2 { margin-bottom: 20px; }
.contact__info address { color: var(--ink-2); margin-bottom: 24px; display: flex; flex-direction: column; gap: 4px; }
.contact__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.contact__list li { display: flex; gap: 14px; align-items: center; }
.contact__list small { display: block; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.contact__list a { font-weight: 700; font-size: 18px; text-decoration: none; overflow-wrap: anywhere; }
.contact__list a:hover { color: var(--brand-dark); }
.icon-tile--sm { width: 44px; height: 44px; border-radius: 12px; }

.form {
  flex: 1 1 480px; min-width: 0; background: #fff; border-radius: var(--radius); padding: clamp(24px, 4vw, 36px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; align-content: start;
}
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 500; font-size: 15px; }
.form__full { grid-column: 1 / -1; }
.form input, .form select, .form textarea {
  font: inherit; padding: 12px 14px; border: 1px solid #D3D2E6; border-radius: 12px;
  min-height: 44px; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(46, 42, 134, .18);
}
.form [aria-invalid="true"] { border-color: #B42318; }
.form__status { margin: 0; font-size: 15px; min-height: 0; }
.form__status:empty { display: none; }
.form__status.is-error { color: #B42318; }
.form__status.is-success { color: var(--brand); font-weight: 700; }

/* ---------- Footer ---------- */
.footer { background: var(--footer); color: #CFCDEB; font-size: 15px; }
.footer__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px;
  padding-block: 64px 32px;
}
.footer h3 { font-family: var(--font-body); font-size: 16px; letter-spacing: 0; color: #fff; margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer a { color: #CFCDEB; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__subhead { margin-top: 22px; }
.footer__address { font-style: normal; display: flex; flex-direction: column; gap: 8px; }
.footer__address span { padding-left: 22px; position: relative; }
.footer__address span::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 14px;
  background: no-repeat center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9C6F4' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13S3 17 3 10a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}
.footer__logo { height: 56px; width: auto; margin-bottom: 14px; }
.footer__tagline { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--tint); margin-bottom: 6px; }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  padding-block: 20px 32px; border-top: 1px solid #2C2A5E; font-size: 14px;
}

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 24px 24px; box-shadow: 0 16px 32px rgba(27, 31, 35, .08);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .nav > a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav > a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 16px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar__inner > span:first-child { display: none; }
  .topbar__inner { justify-content: center; }
  .brand__logo { height: 42px; }
  .hero__inner { padding-block: 64px 48px; }
  .hero__media::before { background: linear-gradient(180deg, rgba(245, 245, 251, .7) 0%, rgba(245, 245, 251, .94) 60%); }
  .hero__card { flex-basis: 100%; }
  .btn--lg { width: 100%; }
  .about__img-tall { height: 280px; }
  .about__img, .about__years { height: 132px; }
  .donate__media { min-height: 260px; }
  .placement__media { min-height: 240px; }
}

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