/* Mercy For Life Africa — Hostinger public site */
:root {
  --bg: #f2f6fa;
  --paper: #ffffff;
  --sand: #d9e6f0;
  --fg: #16324a;
  --muted: #5b7388;
  --border: #c9d7e4;
  --forest: #163a56;
  --forest-2: #1e4a6a;
  --clay: #3b8ec9;
  --clay-hover: #2f7bb3;
  --cream: #f4f8fc;
  --flag: #c8102e;
  --shadow: 0 0 0 1px rgb(22 50 74 / 0.06), 0 1px 2px -1px rgb(22 50 74 / 0.06), 0 2px 4px 0 rgb(22 50 74 / 0.04);
  --shadow-hover: 0 0 0 1px rgb(22 50 74 / 0.08), 0 1px 2px -1px rgb(22 50 74 / 0.08), 0 2px 4px 0 rgb(22 50 74 / 0.06);
  --font-sans: "Figtree", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Fraunces", "Iowan Old Style", Palatino, serif;
  --font-mark: "Permanent Marker", "Marker Felt", cursive;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, a, [role="button"] { cursor: pointer; -webkit-tap-highlight-color: rgb(59 142 201 / 0.22); }
h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1.12;
  font-weight: 500;
  text-wrap: balance;
  margin: 0;
}
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(72rem, calc(100% - 2rem)); margin-inline: auto; }
.wrap-sm { width: min(48rem, calc(100% - 2rem)); margin-inline: auto; }
.kicker, .kicker-light {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.kicker { color: var(--clay); }
.kicker-light { color: rgb(244 248 252 / 0.78); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 2.75rem; padding: 0 1.25rem; border-radius: 0.5rem;
  font-size: 0.9rem; font-weight: 600; border: 0; font-family: inherit;
  transition: background-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn:active { transform: scale(0.98); }
.btn-lg { min-height: 3rem; padding: 0 1.5rem; border-radius: 0.6rem; }
.btn-clay { background: var(--clay); color: var(--cream); }
.btn-clay:hover { background: var(--clay-hover); }
.btn-forest { background: var(--forest); color: var(--cream); }
.btn-outline { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px var(--border); }
.btn-outline:hover { background: var(--paper); }
.btn-invert { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1px rgb(244 248 252 / 0.28); }
.btn-invert:hover { background: rgb(244 248 252 / 0.1); }
.btn-cream { background: var(--cream); color: var(--forest); }
.row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
header.site {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 4.25rem;
  display: flex; align-items: center;
  transition: background-color .2s, box-shadow .2s, color .2s;
}
header.site .bar {
  width: min(72rem, calc(100% - 1.5rem)); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
}
header.site.solid { background: rgb(242 246 250 / 0.92); color: var(--fg); box-shadow: 0 1px 0 var(--border); backdrop-filter: blur(12px); }
header.site.transparent { background: transparent; color: var(--cream); }
.logo { display: flex; align-items: center; gap: 0.65rem; min-width: 0; }
.logo img { width: 2.6rem; height: 2.6rem; border-radius: 0.4rem; background: var(--paper); object-fit: cover; }
.logo span { font-family: var(--font-mark); text-transform: uppercase; font-size: 1.15rem; line-height: 1; white-space: nowrap; }
.icon-btn {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem;
  border: 0; background: transparent; color: inherit; border-radius: 0.5rem; flex-shrink: 0;
}
.nav-desk { display: none; align-items: center; gap: 0.85rem; }
.nav-desk a { font-size: 0.9rem; font-weight: 500; white-space: nowrap; opacity: 0.78; }
.nav-desk a:hover, .nav-desk a[aria-current="page"] { opacity: 1; }
.drawer {
  display: none; position: fixed; inset: 4.25rem 0 0 0; z-index: 49;
  background: var(--paper); color: var(--fg); padding: 1.25rem 1.25rem 4rem;
  overflow: auto;
}
.drawer.open { display: block; }
.drawer a, .drawer .d-link {
  display: block; padding: 0.85rem 0; font-size: 1.15rem; font-weight: 600;
  border-bottom: 1px solid var(--sand);
}
body.menu-open { overflow: hidden; }
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  background: var(--forest); color: var(--cream);
  display: flex; align-items: flex-end;
}
.hero img.bg, .intro img.bg, .band img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgb(22 58 86 / 0.4), rgb(22 50 74 / 0.8)); }
.hero .copy { position: relative; width: min(72rem, calc(100% - 2rem)); margin: 0 auto; padding: 7rem 0 4rem; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); max-width: 20ch; }
.hero p.lede { margin-top: 1.2rem; max-width: 38rem; color: rgb(244 248 252 / 0.85); font-size: 1.05rem; }
.intro { position: relative; overflow: hidden; padding: 7rem 0 4rem; }
.intro.has-image { color: var(--cream); min-height: 52svh; display: flex; align-items: flex-end; }
.intro.has-image .shade { position: absolute; inset: 0; background: rgb(22 58 86 / 0.72); }
.intro .copy { position: relative; width: min(72rem, calc(100% - 2rem)); margin: 0 auto; padding: 2.5rem 0; }
.intro h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); max-width: 20ch; margin-top: 1rem; }
.intro .lede { margin-top: 1.1rem; max-width: 40rem; font-size: 1.12rem; }
.section { padding: 4rem 0; }
.paper { background: var(--paper); }
.sand { background: var(--sand); }
.forest { background: var(--forest); color: var(--cream); }
.grid-2 { display: grid; gap: 2.5rem; }
.grid-3 { display: grid; gap: 1.25rem; }
.grid-4 { display: grid; gap: 1rem; }
.card {
  overflow: hidden; border-radius: 1rem; background: var(--paper); box-shadow: var(--shadow);
  transition: box-shadow .15s;
}
.card:hover { box-shadow: var(--shadow-hover); }
.card img, .card video { width: 100%; height: auto; max-height: 22rem; object-fit: contain; object-position: center; background: var(--sand); display: block; }
.card img.portrait { max-height: none; aspect-ratio: 3/4; object-fit: cover; object-position: center 18%; }
.card img.passport { max-height: none; aspect-ratio: 1/1; object-fit: cover; object-position: center; }
.card img.holding { max-height: none; aspect-ratio: 3/4; object-fit: cover; object-position: center; }
.card .pad { padding: 1.25rem; }
.card h3 { font-size: 1.45rem; margin-top: 0.4rem; }
.lead-card { display: grid; overflow: hidden; border-radius: 1rem; background: var(--forest); color: var(--cream); }
.lead-card img { width: 100%; height: auto; max-height: 28rem; object-fit: contain; object-position: center; background: var(--sand); display: block; }
.lead-card .pad { padding: 1.5rem; display: flex; flex-direction: column; justify-content: flex-end; }
.gallery { display: grid; gap: 1.25rem; margin-top: 2.5rem; }
.g-item { overflow: hidden; border-radius: 1rem; background: var(--paper); box-shadow: var(--shadow); }
.g-item img, .g-item video { width: 100%; height: auto; max-height: 36rem; object-fit: contain; object-position: center; background: var(--sand); display: block; }
.g-item.wide img, .g-item.wide video { max-height: 32rem; }
.g-item .pad { padding: 1rem 1.1rem 1.2rem; }
.g-item.span2 { }
.chip {
  display: inline-flex; align-items: center; height: 2.25rem; padding: 0 0.9rem;
  border-radius: 999px; background: var(--paper); color: var(--forest);
  font-size: 0.9rem; font-weight: 500; box-shadow: var(--shadow);
}
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.4rem; }
.filter-chip {
  display: inline-flex; align-items: center; height: 2.75rem; padding: 0 1rem;
  border: 0; border-radius: 999px; background: var(--paper); color: var(--fg);
  font: inherit; font-size: 0.9rem; font-weight: 600; box-shadow: var(--shadow);
}
.filter-chip span { margin-left: 0.45rem; font-size: 0.75rem; font-weight: 500; color: var(--muted); }
.filter-chip.on { background: var(--forest); color: var(--cream); }
.filter-chip.on span { color: rgb(244 248 252 / 0.7); }
.badge { width: min(100%, 28rem); margin-inline: auto; border-radius: 1rem; box-shadow: var(--shadow); }
.quote { border-left: 2px solid var(--clay); padding-left: 1.1rem; font-family: var(--font-display); font-size: 1.25rem; font-style: italic; color: var(--forest); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 2rem; }
.stats strong { display: block; font-family: var(--font-display); font-size: 1.8rem; color: var(--forest); font-weight: 500; }
.stats span { display: block; margin-top: 0.2rem; font-size: 0.9rem; color: var(--muted); }
form.panel, .panel { background: var(--paper); border-radius: 1rem; padding: 1.4rem; box-shadow: var(--shadow); }
label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.35rem; }
input, select, textarea {
  width: 100%; min-height: 3rem; padding: 0.7rem 1rem; border: 0; border-radius: 0.5rem;
  font: inherit; color: var(--fg); background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--border);
}
textarea { min-height: 8rem; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--forest); }
.field { margin-top: 1rem; }
.choice {
  min-height: 3rem; border: 0; border-radius: 0.75rem; font: inherit; font-weight: 600;
  background: var(--bg); color: var(--fg); box-shadow: inset 0 0 0 1px var(--border);
}
.choice.on { background: var(--forest); color: var(--cream); box-shadow: none; }
.copy-row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: 0.8rem; padding: 0.85rem 1rem; border-radius: 0.7rem; background: var(--bg); box-shadow: inset 0 0 0 1px var(--border); }
.copy-row button { border: 0; background: transparent; color: var(--clay); font-weight: 700; font: inherit; }
footer.site { background: var(--forest); color: var(--cream); padding: 4rem 0 0; }
footer.site .grid { display: grid; gap: 2.5rem; }
footer.site a { color: rgb(244 248 252 / 0.82); }
footer.site a:hover { color: var(--cream); }
footer.site .muted { color: rgb(244 248 252 / 0.6); font-size: 0.9rem; }
footer.site .legal { border-top: 1px solid rgb(244 248 252 / 0.1); margin-top: 2.5rem; padding: 1.1rem 0; font-size: 0.75rem; color: rgb(244 248 252 / 0.5); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; }
.wa {
  position: fixed; right: 1rem; bottom: calc(1.25rem + env(safe-area-inset-bottom));
  z-index: 40; width: 3.5rem; height: 3.5rem; border-radius: 999px;
  display: grid; place-items: center; background: var(--clay); color: var(--cream);
  box-shadow: var(--shadow-hover);
}
.wa:hover { background: var(--clay-hover); }
.popup { display: none; position: fixed; inset: 0; z-index: 80; align-items: flex-end; justify-content: center; padding: 0.75rem; }
.popup.open { display: flex; }
.popup .scrim { position: absolute; inset: 0; background: rgb(22 50 74 / 0.55); border: 0; }
.popup .box { position: relative; width: min(48rem, 100%); max-height: min(92svh, 44rem); overflow: auto; background: var(--paper); border-radius: 1rem; }
.popup .top { background: var(--forest); color: var(--cream); padding: 0.7rem 0.9rem 0.7rem 1.1rem; display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; position: sticky; top: 0; z-index: 2; }
.popup .bot { display: flex; flex-direction: column; gap: 0.7rem; padding: 1.15rem 1.2rem 1.3rem; }
.pair-card { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--sand); }
.pair-card figure { margin: 0; position: relative; min-width: 0; background: var(--bg); }
.card .pair-card img, .pair-card img { width: 100%; height: auto; max-height: 18rem; object-fit: contain; object-position: center; background: var(--sand); display: block; }
.pair-card .tag {
  position: absolute; left: 0.45rem; top: 0.45rem; z-index: 1;
  background: rgb(22 50 74 / 0.88); color: var(--cream);
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.22rem 0.42rem; border-radius: 0.35rem; max-width: calc(100% - 0.9rem); line-height: 1.2;
}
.pair-card figure.want .tag { background: rgb(176 84 54 / 0.92); }
.yt { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--forest); }
.yt img { width: 100%; height: 100%; object-fit: cover; }
.play {
  position: absolute; inset: 0; display: grid; place-items: center; background: rgb(22 50 74 / 0.2);
}
.play span {
  width: 3.4rem; height: 3.4rem; border-radius: 999px; background: var(--clay); color: var(--cream);
  display: grid; place-items: center; font-size: 1.2rem;
}
.back { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.9rem; font-weight: 500; color: rgb(244 248 252 / 0.8); }
.flag { color: var(--flag); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; }
.mark { font-family: var(--font-mark); text-transform: uppercase; color: var(--forest); }
.notice { padding: 0.9rem 1rem; border-radius: 0.7rem; background: #e7f3ec; color: #1c4d36; margin-bottom: 1rem; }
.error { color: var(--flag); font-weight: 600; margin-top: 0.8rem; }
@media (min-width: 640px) {
  .hero .copy { padding-bottom: 5rem; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .grid-2.sm, .sm-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .lead-card img { height: 20rem; }
  .popup { align-items: center; }
  .g-item.span2 { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .nav-desk { display: flex; }
  .menu-toggle { display: none; }
  .grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2.5rem; }
  .span5 { grid-column: span 5; }
  .span7 { grid-column: span 7; }
  .lead-card { grid-template-columns: 1fr 1fr; }
  .lead-card img { height: 100%; min-height: 22rem; }
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }
  footer.site .grid { grid-template-columns: 5fr 7fr; }
  .gallery { grid-template-columns: 1fr 1fr 1fr; }
  .split { display: grid; grid-template-columns: 1fr 1fr; }
  .split img { height: 100%; min-height: 22rem; object-fit: cover; }
}
