:root {
    --gold: #e5b532;
    --gold-dark: #c99a1c;
    --charcoal: #333333;
    --ink: #1c1c1c;
    --text: #454646;
    --muted: #8a8a8a;
    --light: #f4f4f2;
    --max: 1140px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Lato", sans-serif; font-size: 16px; line-height: 1.7; color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: "Roboto", sans-serif; color: #232331; line-height: 1.2; margin: 0 0 .5em; font-weight: 500; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; font-weight: 600; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.btn { display: inline-block; background: var(--gold); color: var(--ink); padding: 16px 28px; border-radius: 5px; font-size: 1rem; border: 0; cursor: pointer; }
.btn:hover { background: var(--gold-dark); text-decoration: none; }
.btn-outline { background: transparent; color: #fff; border: 1px solid #fff; }
.btn-outline:hover { background: #fff; color: var(--ink); }

/* Header */
.site-header { background: var(--charcoal); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; flex-direction: column; align-items: center; padding-top: 14px; padding-bottom: 8px; }
.logo img { height: 64px; width: auto; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.8rem; cursor: pointer; position: absolute; right: 20px; top: 18px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; }
.main-nav a { color: #fff; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; display: block; padding: 10px 0; }
.main-nav a:hover { color: var(--gold); text-decoration: none; }
.main-nav .nav-give { color: var(--gold); }
.has-sub { position: relative; }
.has-sub > ul { display: none; position: absolute; top: 100%; left: -12px; background: var(--charcoal); border-top: 2px solid var(--gold); min-width: 190px; flex-direction: column; gap: 0; padding: 6px 0; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.has-sub > ul a { padding: 9px 18px; white-space: nowrap; font-family: "Roboto", sans-serif; font-weight: 300; font-size: .9rem; text-transform: none; letter-spacing: 0; }
.has-sub > ul a:hover { color: var(--gold); }
.has-sub > ul .has-sub > a::after { content: "▾"; float: right; margin-left: 18px; font-size: .75rem; opacity: .7; }
.has-sub > ul .has-sub > ul { top: -8px; left: 100%; border-top: 0; border-left: 2px solid var(--gold); }
.has-sub:hover > ul, .has-sub:focus-within > ul { display: flex; }

/* Hero */
.hero { position: relative; min-height: 520px; display: flex; align-items: center; justify-content: center; text-align: center; background: #222 center/cover no-repeat; color: #fff; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.hero .container { position: relative; }
.hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.4rem); text-transform: uppercase; font-weight: 500; letter-spacing: .02em; }
.hero p { font-size: 1.2rem; margin-bottom: 1.5rem; }

/* Sections */
.section { padding: 80px 0; }
.section-light { background: var(--light); }
.section-dark { background: var(--charcoal); color: #ddd; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-title { text-align: center; margin-bottom: 40px; }
.welcome { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; align-items: center; }
.welcome-text { padding-left: 100px; }
.welcome .big { font-family: "Open Sans", sans-serif; font-weight: 400; font-size: clamp(3.5rem, 9vw, 110px); color: rgba(137,137,137,.52); line-height: 1; margin: 0 0 20px; text-transform: uppercase; }
.welcome .sub { font-size: clamp(1.8rem, 4vw, 50px); font-weight: 100; color: var(--text); line-height: 1.3; margin: 0 0 20px; }
.welcome .sub strong { font-weight: 900; }
.welcome h2.lead { font-family: "Roboto", sans-serif; font-weight: 700; font-size: 30px; line-height: 30px; color: #232331; margin: 0 0 14px; }
.welcome p { font-weight: 300; font-size: 1.15rem; line-height: 1.75; color: var(--text); }
.welcome .btn { margin-top: 10px; }
.welcome-portrait { width: 100%; max-width: 492px; margin-left: auto; }
.stats-band { position: relative; background: #222 url('../images/Stoffel-Malawi-Trip.jpg') center/cover fixed no-repeat; color: #fff; padding: 60px 0 90px; }
.stats-band::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.stats-band .container { position: relative; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tile { text-align: center; color: #fff; }
.tile img { height: 64px; width: auto; margin: 0 auto 6px; }
.tile .stat { font-family: "Lato", sans-serif; font-size: 50px; font-weight: 300; line-height: 1.5; color: #fff; }
.tile h4 { font-family: "Roboto", sans-serif; font-size: 18px; font-weight: 500; text-transform: uppercase; color: #fff; margin: 10px 0 8px; }
.tile p { margin: 0; font-weight: 300; font-size: 1.05rem; color: #fff; }
.triple { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 40px; }
.triple h3 { color: var(--gold); text-transform: uppercase; letter-spacing: .06em; }
.leaders { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.flip { perspective: 1400px; width: 90%; max-width: 460px; aspect-ratio: 10 / 7; margin: 0 auto; outline: none; }
@media (max-width: 899px) { .leaders .flip { aspect-ratio: 1 / 1; max-width: 380px; } }
.flip-inner { position: relative; width: 100%; height: 100%; transition: transform .7s; transform-style: preserve-3d; }
.flip:hover .flip-inner, .flip:focus .flip-inner, .flip:focus-within .flip-inner { transform: rotateY(180deg); }
.flip-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 10px; overflow: hidden; }
.flip-front { background: #ddd center 40%/cover no-repeat; }
.flip-back { background: #ebebeb; transform: rotateY(180deg); padding: 18px 22px; overflow-y: auto; display: flex; flex-direction: column; justify-content: center; }
.flip-back h3 { text-align: center; font-size: 1.4rem; font-weight: 500; margin-bottom: .3em; }
.flip-back p { font-size: .9rem; font-weight: 300; line-height: 1.45; margin: 0; color: #333; }
.centered { text-align: center; max-width: 760px; margin: 0 auto; }
.placeholder-list { text-align: center; color: var(--muted); }

/* Footer */
.site-footer { background: var(--charcoal); color: #bbb; padding: 40px 0; text-align: center; font-size: .9rem; }
.site-footer p { margin: 0; }

@media (max-width: 900px) {
    .tiles, .triple { grid-template-columns: 1fr 1fr; }
    .welcome { grid-template-columns: 1fr; }
    .welcome-text { padding-left: 0; }
    .welcome-portrait { max-width: 320px; margin: 0 auto; }
}
@media (max-width: 720px) {
    .nav-toggle { display: block; }
    .header-inner { position: relative; }
    .main-nav { display: none; width: 100%; }
    .nav-open .main-nav { display: block; }
    .main-nav ul { flex-direction: column; align-items: stretch; }
    .has-sub > ul { display: flex; position: static; box-shadow: none; border: 0; padding-left: 14px; }
    .has-sub > ul .has-sub > ul { border: 0; }
    .has-sub > ul .has-sub > a::after { content: none; }
    .tiles, .triple, .leaders { grid-template-columns: 1fr; }
    .flip { width: 90%; }
    .stats-band { background-attachment: scroll; }
    .section { padding: 56px 0; }
}

/* ---- Converted page content ---- */
.vcr { position: relative; padding: 40px 0; background-position: center; }
.vcr > .container { position: relative; }
.vcr-parallax { background-size: cover; background-attachment: fixed; background-repeat: no-repeat; }
.vcr-overlay { position: absolute; inset: 0; pointer-events: none; }
.vcr-dark, .vcr-dark h1, .vcr-dark h2, .vcr-dark h3, .vcr-dark h4, .vcr-dark p, .vcr-dark li { color: #fff; }
.vcrow { display: flex; flex-wrap: wrap; align-items: flex-start; margin: 0 -15px; }
.vcc { padding: 0 15px; min-width: 0; }
.vcrow-inner { margin: 0 -15px; }
.vct p { margin: 0 0 1em; }
.vct { font-weight: 300; font-size: 1.1rem; }
.vct h1, .vct h2, .vct h3, .vct h4 { font-weight: 700; }
.vct a:not(.btn), .article-body a:not(.btn), .vcc a:not(.btn) { color: #666; text-decoration: none; }
.vct a:not(.btn):hover, .vct a:not(.btn):focus-visible, .article-body a:not(.btn):hover, .article-body a:not(.btn):focus-visible, .vcc a:not(.btn):hover, .vcc a:not(.btn):focus-visible { color: var(--gold-dark); text-decoration: underline; }
.vch { margin: 0 0 .4em; }
.vci img { display: inline-block; }
.vcb { margin: 8px 0; }
.btn-dark { background: #232331; color: #fff; }
.vc-sep { border: 0; border-top: 1px solid #ddd; margin: 20px 0; }
.vcico { font-size: 2.2rem; margin: 6px 0; }
.vcmap, .vcvid { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.vcmap iframe, .vcvid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vcgal { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.vcgal img { width: 100%; height: 190px; object-fit: cover; border-radius: 4px; }
.stat-block { text-align: center; }
.stat-block img { height: 56px; width: auto; margin: 0 auto; }
.stat-block .stat { font-size: 50px; font-weight: 300; line-height: 1.4; }
.cta { padding: 36px; border-radius: 4px; text-align: center; }
.cta-dark, .cta-dark h2, .cta-dark h4, .cta-dark p { color: #fff; }
.tta-item { border-bottom: 1px solid #ddd; padding: 10px 0; }
.tta-item summary { cursor: pointer; font-weight: 700; font-size: 1.1rem; }
.flip-title { position: absolute; inset: auto 0 0 0; padding: 16px; background: rgba(0,0,0,.45); color: #fff; font-size: 1.2rem; text-align: center; }
.vcc .flip { margin-bottom: 20px; }
.contact-form { max-width: 640px; margin: 0 auto; }
.contact-form label { display: block; font-weight: 700; margin: 14px 0 4px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 4px; font: inherit; }
.contact-form .ok { background: #e7f6e7; border: 1px solid #9c9; padding: 12px; border-radius: 4px; }
.contact-form .err { color: #b00; font-size: .9rem; }
.hp { position: absolute; left: -9999px; }
.post-card { background: #fff; border-radius: 6px; box-shadow: 0 2px 14px rgba(0,0,0,.08); overflow: hidden; }
.post-card h3 { padding: 16px 20px 0; margin: 0; }
.post-card p, .post-card .meta { padding: 0 20px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
@media (max-width: 720px) {
    .vcc { flex: 0 0 100% !important; max-width: 100% !important; padding-left: 15px !important; padding-right: 15px !important; }
    .vcr-parallax { background-attachment: scroll; }
    .vcr { padding-left: 0 !important; padding-right: 0 !important; }
    .vcrow { max-width: 100% !important; }
    .flip { width: 90% !important; }
}
.vcband { position: relative; width: 100vw; margin-left: calc(50% - 50vw); padding: 36px 20px; }
.vcband > .vcrow { margin: 0 auto; max-width: 1140px; position: relative; }
.vcband.vcr-dark { color: #fff; }
.flip-front, .flip-face { border-radius: 14px; }
.vcc .flip-back { font-size: .98rem; line-height: 1.5; text-align: center; display: flex; flex-direction: column; justify-content: center; }
.vcc .flip-back p { color: #1c1c1c; }
html, body { overflow-x: clip; }

/* ---- Blog & events ---- */
.post-card { display: flex; flex-direction: column; }
.post-card .card-img { display: flex; align-items: center; justify-content: center; height: 200px; background: #e9e6df center/cover no-repeat; }
.post-card .card-img-contain { background-size: contain; background-color: #f4f4f2; }
.card-fallback { font-family: "Roboto", sans-serif; font-size: 3rem; color: var(--gold); font-weight: 300; letter-spacing: .1em; }
.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card-body .meta { color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }
.card-body h3 { padding: 0; margin: 6px 0 8px; font-size: 1.2rem; }
.card-body h3 a { color: #232331; }
.card-body p { padding: 0; margin: 0 0 12px; font-weight: 300; flex: 1; }
.card-body .more { color: var(--gold-dark); font-weight: 700; font-size: .9rem; text-transform: uppercase; letter-spacing: .04em; }
.article { max-width: 780px; }
.article-img { width: 100%; border-radius: 6px; margin-bottom: 24px; }
.article-body { font-size: 1.1rem; font-weight: 300; }
.article-body p { margin: 0 0 1.1em; }
.article-body img { border-radius: 4px; }
.pager { margin-top: 30px; text-align: center; }
.pager svg { width: 18px; height: 18px; display: inline; }
.pager nav > div:first-child { display: none; }

/* ---- Event posters ---- */
.events-title { font-family: "Roboto", sans-serif; font-weight: 300; font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 28px; }
.events-title strong { font-weight: 700; }
.events-sub { margin: 48px 0 20px; }
.meta-line { color: var(--muted); margin: -8px 0 20px; }
.poster-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 28px; align-items: start; }
.poster { margin: 0; }
.poster img { display: block; width: 100%; height: auto; border-radius: 6px; box-shadow: 0 2px 14px rgba(0,0,0,.12); }
.poster-square img { max-width: 520px; margin: 0 auto; }
.poster figcaption { padding: 10px 2px 0; display: flex; flex-direction: column; gap: 2px; }
.poster figcaption strong { font-family: "Roboto", sans-serif; font-size: 1.05rem; color: #232331; }
.poster figcaption span { color: var(--muted); font-size: .9rem; }
.poster figcaption .btn { align-self: flex-start; margin-top: 8px; padding: 10px 18px; }
@media (max-width: 720px) { .poster-square img { max-width: 100%; } }

/* ---- Hero video slider ---- */
.hero-slider { position: relative; min-height: 560px; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; background: #222; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; background: #222 center/cover no-repeat; opacity: 0; transition: opacity .8s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.hero-slide.is-playing video { opacity: 1; }
.hero-slider::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.35); z-index: 1; pointer-events: none; }
.hero-content { position: relative; z-index: 2; pointer-events: none; }
.hero-content a { pointer-events: auto; }
.hero-content h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.4rem); text-transform: uppercase; font-weight: 500; letter-spacing: .02em; }
.hero-content p { font-size: 1.2rem; margin-bottom: 1.5rem; }
.hero-arrow { position: absolute; top: 50%; z-index: 3; transform: translateY(-50%); background: none; border: 0; color: #fff; cursor: pointer; font: 700 .8rem "Lato", sans-serif; letter-spacing: .15em; writing-mode: vertical-rl; padding: 18px 10px; opacity: .8; }
.hero-arrow:hover, .hero-arrow:focus-visible { opacity: 1; color: var(--gold); outline: none; }
.hero-prev { left: 14px; transform: translateY(-50%) rotate(180deg); }
.hero-next { right: 14px; }
.hero-slider[data-clickable] { cursor: pointer; }
@media (max-width: 719px) { .hero-slider { min-height: 440px; } .hero-arrow { padding: 12px 6px; } }

/* ---- Scroll reveal (effects match the live site's animate.css set) ---- */
.js [data-reveal] { opacity: 0; }
.js [data-reveal].is-visible { opacity: 1; animation-duration: .9s; animation-fill-mode: both; animation-delay: var(--rv-delay, 0s); animation-timing-function: ease-out; }
.js [data-reveal="appear"].is-visible { animation-name: rv-fade; }
.js [data-reveal="fadeIn"].is-visible { animation-name: rv-fade; }
.js [data-reveal="fadeInUp"].is-visible { animation-name: rv-fade-up; }
.js [data-reveal="fadeInLeftBig"].is-visible { animation-name: rv-left; animation-duration: 1.1s; }
.js [data-reveal="fadeInRightBig"].is-visible { animation-name: rv-right; animation-duration: 1.1s; }
.js [data-reveal="bounceIn"].is-visible { animation-name: rv-bounce; }
.js [data-reveal="rubberBand"].is-visible { animation-name: rv-rubber; animation-duration: 1.2s; }
.js [data-reveal="pulse"].is-visible { animation-name: rv-pulse; }
@keyframes rv-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rv-fade-up { from { opacity: 0; transform: translate3d(0, 40px, 0); } to { opacity: 1; transform: none; } }
@keyframes rv-left { from { opacity: 0; transform: translate3d(-160px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes rv-right { from { opacity: 0; transform: translate3d(160px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes rv-bounce { 0% { opacity: 0; transform: scale3d(.3, .3, .3); } 40% { transform: scale3d(1.08, 1.08, 1.08); } 70% { transform: scale3d(.95, .95, .95); } 100% { opacity: 1; transform: scale3d(1, 1, 1); } }
@keyframes rv-rubber { 0% { opacity: 0; transform: scale3d(1, 1, 1); } 30% { opacity: 1; transform: scale3d(1.25, .75, 1); } 40% { transform: scale3d(.75, 1.25, 1); } 50% { transform: scale3d(1.15, .85, 1); } 65% { transform: scale3d(.95, 1.05, 1); } 75% { transform: scale3d(1.05, .95, 1); } 100% { opacity: 1; transform: scale3d(1, 1, 1); } }
@keyframes rv-pulse { 0% { opacity: 0; transform: scale3d(1, 1, 1); } 50% { opacity: 1; transform: scale3d(1.06, 1.06, 1.06); } 100% { opacity: 1; transform: scale3d(1, 1, 1); } }
@media (prefers-reduced-motion: reduce) {
    .js [data-reveal] { opacity: 1 !important; animation: none !important; transform: none !important; }
    .hero-slide, .hero-slide video { transition: none; }
}

/* ---- Blog list (matches the live site) ---- */
.blog-heading { font-family: "Roboto", sans-serif; font-size: 1.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; margin: 0 0 32px; padding-bottom: 8px; border-bottom: 1px solid #ddd; position: relative; }
.blog-heading::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 90px; height: 3px; background: var(--gold); }
.post-rows { display: grid; gap: 24px; }
.post-row { background: #f1f1f1; border-radius: 10px; padding: 28px 34px; }
.post-row h3 { margin: 0 0 6px; font-size: 1.3rem; }
.post-row h3 a { color: #232331; }
.post-row h3 a:hover { color: var(--gold-dark); text-decoration: none; }
.post-row .meta { color: var(--muted); font-size: .85rem; margin-bottom: 12px; }
.post-row p { margin: 0; font-weight: 300; }

/* ---- Footer & back to top ---- */
.site-footer .copyright a { color: #fff; }
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 40px; height: 40px; display: none; align-items: center; justify-content: center; background: var(--gold); color: #1c1c1c; border: 2px solid rgba(255,255,255,.7); font-size: 1rem; line-height: 1; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.js .to-top.is-shown { display: flex; }
.to-top:hover { background: var(--gold-dark); text-decoration: none; }
