/* ==========================================================================
   ILF Eswatini — theme stylesheet
   Layout concept: white pages, royal-blue bands, gold "thread" lines from the Eswatini flag that
   mark section edges; photography carries the warmth.
   ========================================================================== */

:root {
  --ink: #0F1A2E;
  --muted: #586274;
  --green-950: #071634;
  --green-900: #0B2150;
  --green-800: #12306E;
  --green-700: #1D45A0;
  --green-600: #3E5EB9;
  --green-100: #E7ECF8;
  --mist: #F5F7FB;
  --line: #DCE2EF;
  --lime: #FFD200;
  --lime-soft: #FFF1B8;
  --white: #FFFFFF;
  --crimson: #B10C0C;

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Figtree", "Segoe UI", system-ui, sans-serif;

  --max: 1220px;
  --gut: max(18px, 4vw);
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 84px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
html { overflow-x: clip; }
[hidden] { display: none !important; }
body.ilse-body {
  margin: 0; background: var(--white); color: var(--ink);
  font: 400 17px/1.65 var(--body);
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-underline-offset: 3px; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 12px; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; margin: 0; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-left: var(--gut); padding-right: var(--gut); }
.sec { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.sec--mist { background: var(--mist); }
.sec--green { background: var(--green-900); color: #DDE4F3; }
.sec--green h2, .sec--green h3 { color: #fff; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.25rem); color: var(--muted); max-width: 60ch; }
.sec--green .lead { color: #BCC8E3; }
.measure { max-width: 66ch; }

/* Eyebrow: lime thread + label */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 700 .78rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--green-700); }
.eyebrow::before { content: ""; width: 34px; height: 3px; background: var(--lime); border-radius: 2px; }
.sec--green .eyebrow, .hero .eyebrow { color: var(--lime); }

.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 28px; flex-wrap: wrap; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head > .stack { max-width: 720px; }

/* Lime edge on top of a section */
.edge-top::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--lime) 0 22%, var(--green-600) 22% 100%); }

/* ---------- Buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  --bg: var(--green-700); --fg: #fff; --bd: var(--green-700);
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 2px solid var(--bd);
  font: 700 .95rem/1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(4px); }
.btn--lime { --bg: var(--lime); --fg: var(--green-950); --bd: var(--lime); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--ink); }
.btn--ghost-light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.7); }
.btn--ghost-light:hover { --bg: #fff; --fg: var(--green-900); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--green-700); text-decoration: none; }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header (sticky) ---------- */
.site-header { position: sticky; top: 0; z-index: 100; }
body.admin-bar .site-header { top: 32px; }
.topbar { background: var(--green-950); color: #C3CDE5; font-size: .83rem; transition: margin-top .3s var(--ease); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 8px; flex-wrap: wrap; }
.topbar a { color: #E9EEF8; text-decoration: none; }
.topbar a:hover { color: var(--lime); }
.topbar-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-info span { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 14px; height: 14px; color: var(--lime); flex: none; }
.topbar-end { display: flex; align-items: center; gap: 14px; }
.lang--top { border-color: rgba(255,255,255,.22); padding: 2px; }
.lang--top a { color: #D3DCF0; padding: 5px 10px; font-size: .74rem; letter-spacing: .03em; }
.lang--top a.is-on { background: var(--lime); color: var(--green-950); }
.lang--top a:hover { color: #fff; }
.lang--top a.is-on:hover { color: var(--green-950); }
.lang.lang--bar, .lang.lang--top { display: none; }
.socials { display: flex; gap: 6px; align-items: center; }
.socials a { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; }
.socials a:hover { background: rgba(255,255,255,.1); }
.is-scrolled .topbar { margin-top: -38px; }

.mainbar { background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.is-scrolled .mainbar { box-shadow: 0 10px 30px -18px rgba(7,22,52,.35); border-color: var(--line); }
.mainbar .wrap { max-width: 1400px; padding-left: max(18px, 2.5vw); padding-right: max(18px, 2.5vw); display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); flex: none; }
.brand-mark { height: 50px; width: auto; transition: height .3s var(--ease); }
.is-scrolled .brand-mark { height: 42px; }
.brand-sep { width: 1px; height: 38px; background: var(--line); }
.brand-flag { width: 34px; height: auto; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.brand-text { line-height: 1.1; }
.brand-text b { display: block; font: 700 1.15rem/1.1 var(--display); letter-spacing: -.01em; }
.brand-text small { display: block; font-size: .7rem; color: var(--muted); letter-spacing: .04em; margin-top: 3px; }

.nav-wrap { display: flex; align-items: center; gap: 4px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav li { position: relative; }
.nav a.top { display: inline-flex; align-items: center; gap: 6px; padding: 10px 11px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .94rem; white-space: nowrap; transition: background .2s, color .2s; }
.nav a.top:hover, .nav li:focus-within > a.top { background: var(--green-100); color: var(--green-800); }
.nav a.top.is-on { color: var(--green-700); box-shadow: inset 0 -3px 0 var(--lime); border-radius: 0; }
.nav .caret { width: 10px; height: 10px; transition: transform .2s; }
.nav li:hover .caret, .nav li:focus-within .caret { transform: rotate(180deg); }
.sub { list-style: none; margin: 0; padding: 10px; position: absolute; top: calc(100% + 10px); left: 0; min-width: 270px; background: #fff; border-radius: var(--radius); border-top: 3px solid var(--lime); box-shadow: 0 24px 50px -20px rgba(7,22,52,.35), 0 0 0 1px var(--line);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
.sub::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.nav li:hover > .sub, .nav li:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: .93rem; font-weight: 500; }
.sub a:hover { background: var(--mist); color: var(--green-700); }
.nav-tools { display: flex; align-items: center; gap: 10px; margin-left: 6px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang a { padding: 6px 10px; border-radius: 999px; font: 700 .78rem/1 var(--body); color: var(--muted); text-decoration: none; letter-spacing: .05em; }
.lang a.is-on { background: var(--green-800); color: #fff; }
.nav-cta { padding: 12px 20px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; place-items: center; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: background .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); transition: transform .25s var(--ease); }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero slider ---------- */
.hero { position: relative; min-height: clamp(580px, 84vh, 820px); display: grid; color: #fff; overflow: hidden; background: var(--green-950); isolation: isolate; }
.slide { grid-area: 1 / 1; position: relative; display: grid; align-items: center; opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 1.1s; }
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.slide-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.slide-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 7.5s linear; }
.slide.is-active .slide-bg img { transform: scale(1); }
.slide::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(100deg, rgba(6,18,44,.93) 0%, rgba(7,22,52,.78) 42%, rgba(7,22,52,.25) 75%, rgba(7,22,52,.1) 100%),
  linear-gradient(0deg, rgba(6,18,44,.6) 0%, transparent 38%); }
.slide .wrap { padding-block: 120px 170px; }
.slide-copy { max-width: 700px; display: flex; flex-direction: column; gap: 22px; }
.slide-copy h1, .slide-copy h2 { color: #fff; font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
.slide-copy h1 em, .slide-copy h2 em { font-style: normal; color: var(--lime); }
.slide-copy p { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: #D6DEEF; max-width: 54ch; }
.slide-copy > * { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.slide.is-active .slide-copy > * { opacity: 1; transform: none; }
.slide.is-active .slide-copy > :nth-child(2) { transition-delay: .12s; }
.slide.is-active .slide-copy > :nth-child(3) { transition-delay: .24s; }
.slide.is-active .slide-copy > :nth-child(4) { transition-delay: .36s; }
.no-js .slide:first-child { opacity: 1; visibility: visible; }
.no-js .slide-copy > * { opacity: 1; transform: none; }

.hero-tabs { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; }
.hero-tabs .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.18); }
.hero-tab { background: none; border: 0; color: rgba(255,255,255,.62); text-align: left; padding: 18px 18px 22px 0; cursor: pointer; position: relative; display: flex; gap: 12px; align-items: baseline; font-size: .9rem; }
.hero-tab b { font: 700 .8rem/1 var(--body); color: rgba(255,255,255,.45); letter-spacing: .08em; }
.hero-tab::before { content: ""; position: absolute; left: 0; right: 18px; top: -1px; height: 3px; background: var(--lime); transform: scaleX(0); transform-origin: left; }
.hero-tab.is-active { color: #fff; }
.hero-tab.is-active b { color: var(--lime); }
.hero-tab.is-active::before { animation: tabfill var(--slide-ms, 7000ms) linear forwards; }
.hero.is-paused .hero-tab.is-active::before { animation-play-state: paused; }
@keyframes tabfill { to { transform: scaleX(1); } }

/* ---------- Network strip ---------- */
.netstrip { background: var(--white); border-bottom: 1px solid var(--line); position: relative; }
.netstrip::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--lime); }
.netstrip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; padding-block: 26px; }
.netstrip p { font-size: 1.05rem; max-width: 78ch; }
.netstrip b { color: var(--green-800); }

/* ---------- Marquee ---------- */
.marquee { background: var(--green-800); color: #fff; overflow: hidden; border-block: 3px solid var(--lime); }
.marquee-track { display: flex; width: max-content; gap: 0; animation: marquee 48s linear infinite; }
.marquee span { font: 600 clamp(1.1rem, 2vw, 1.5rem)/1 var(--display); padding: 20px 26px; white-space: nowrap; display: inline-flex; align-items: center; gap: 26px; }
.marquee span::after { content: ""; width: 9px; height: 9px; background: var(--lime); border-radius: 50%; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Welcome split ---------- */
.welcome { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.welcome > * { min-width: 0; }
.photo-frame { position: relative; }
.photo-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; }
.photo-frame::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 3px solid var(--lime); border-radius: 22px; z-index: -1; }
.photo-badge { position: absolute; right: -14px; bottom: 28px; background: var(--green-800); color: #fff; padding: 18px 22px; border-radius: 16px; max-width: 220px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); }
.photo-badge strong { display: block; font: 700 2.2rem/1 var(--display); color: var(--lime); }
.photo-badge span { font-size: .85rem; color: #D3DCF0; }
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 10px; }
.pillar { padding: 20px; border-radius: var(--radius); background: var(--mist); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; transition: border-color .25s, background .25s; }
.pillar:hover { background: #fff; border-color: var(--green-600); }
.pillar h3 { font-size: 1.08rem; display: flex; align-items: center; gap: 10px; }
.pillar h3::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--lime); box-shadow: 0 0 0 3px var(--lime-soft); }
.pillar p { font-size: .95rem; color: var(--muted); }

/* ---------- Programme cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards > * { min-width: 0; }
.card { container-type: inline-size; background: #fff; border-radius: 18px; border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(7,22,52,.45); border-color: transparent; }
.card-img { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card-img img { transform: scale(1.06); }
.card-tag { position: absolute; left: 14px; top: 14px; background: #fff; color: var(--green-800); font: 700 .72rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; }
.card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body p { color: var(--muted); font-size: .96rem; }
.card-body .link-arrow { margin-top: auto; padding-top: 8px; }
.card-body h3 { position: relative; padding-bottom: 12px; }
.card-body h3::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 36px; background: var(--lime); transition: width .4s var(--ease); }
.card:hover .card-body h3::after { width: 90px; }
.card--text { background: var(--green-800); color: #DDE4F3; border-color: var(--green-800); }
.card--text h3 { color: #fff; }
.card--text p { color: #C0CCE6; }
.card--text .link-arrow { color: var(--lime); }

/* ---------- 12 C ---------- */
.twelve { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.14); border-left: 1px solid rgba(255,255,255,.14); counter-reset: c; }
.twelve li { list-style: none; border-right: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); padding: 26px 20px 24px; display: flex; flex-direction: column; gap: 14px; position: relative; transition: background .3s; min-width: 0; }
.twelve li:hover { background: rgba(255,210,0,.08); }
.twelve b { font: 700 2.6rem/1 var(--display); color: transparent; -webkit-text-stroke: 1.4px var(--lime); transition: color .3s; }
.twelve li:hover b { color: var(--lime); }
.twelve span { color: #fff; font-weight: 600; line-height: 1.3; hyphens: auto; }
.twelve--light { border-color: var(--line); }
.twelve--light li { border-color: var(--line); }
.twelve--light li:hover { background: var(--green-100); }
.twelve--light b { -webkit-text-stroke-color: var(--green-600); }
.twelve--light li:hover b { color: var(--green-600); }
.twelve--light span { color: var(--ink); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 8px 28px; border-left: 2px solid rgba(255,210,0,.5); display: flex; flex-direction: column; gap: 6px; }
.stat strong { font: 700 clamp(2.6rem, 5vw, 4rem)/1 var(--display); color: var(--lime); font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.stat span { color: #C9D3EA; font-size: .98rem; }

/* ---------- Events ---------- */
.events { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; }
.events > * { min-width: 0; }
.ev-side { display: grid; gap: 22px; }
.ev { position: relative; border-radius: 20px; overflow: hidden; color: #fff; text-decoration: none; display: flex; align-items: flex-end; min-height: 260px; isolation: isolate; }
.ev--big { min-height: 540px; }
.ev img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.ev::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6,18,44,.92) 0%, rgba(6,18,44,.35) 55%, rgba(6,18,44,.1) 100%); }
.ev:hover img { transform: scale(1.05); }
.ev-body { padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.ev-date { align-self: flex-start; background: var(--lime); color: var(--green-950); font: 700 .78rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; }
.ev h3 { color: #fff; font-size: clamp(1.2rem, 2vw, 1.7rem); }
.ev--big h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.ev p { color: #D3DCF0; font-size: .95rem; }

/* ---------- Quote ---------- */
.quote { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.quote > * { min-width: 0; }
.quote img { border-radius: 20px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.quote blockquote { margin: 0; font: 600 clamp(1.5rem, 2.8vw, 2.3rem)/1.25 var(--display); letter-spacing: -.015em; position: relative; padding-top: 40px; }
.quote blockquote::before { content: "“"; position: absolute; top: -18px; left: -4px; font-size: 6rem; line-height: 1; color: var(--lime); }
.quote figcaption { margin-top: 22px; color: var(--muted); font-size: .98rem; }
.quote figcaption b { color: var(--ink); }

/* ---------- Books (title list, no imitation covers) ---------- */
.library { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.library > * { min-width: 0; }
.library-note { font: 700 .75rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.books { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 14px; }
.books--list { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
.book { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .25s, transform .3s var(--ease), background .25s; }
.book:hover { border-color: var(--green-600); transform: translateY(-3px); }
.books--list .book { border-radius: 0; border-width: 0 0 1px; padding: 18px 4px; }
.books--list .book:hover { transform: none; background: var(--mist); padding-left: 12px; }
.book-ic { width: 48px; height: 48px; border-radius: 12px; background: var(--green-100); color: var(--green-700); display: grid; place-items: center; transition: background .25s, color .25s; }
.book:hover .book-ic { background: var(--green-800); color: var(--lime); }
.book-ic svg { width: 24px; height: 24px; }
.book-txt { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.book-txt b { font: 600 1.05rem/1.3 var(--display); letter-spacing: -.01em; }
.book-meta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: .85rem; }
.book-go { color: var(--green-700); font-weight: 700; }
.pill { display: inline-block; font: 700 .7rem/1 var(--body); letter-spacing: .06em; padding: 6px 9px; border-radius: 999px; background: var(--green-100); color: var(--green-800); }
.pill--lime { background: var(--lime-soft); color: #5C4A00; }

/* ---------- CTA ---------- */
.cta { background: var(--green-800); color: #fff; position: relative; overflow: hidden; clip-path: polygon(0 28px, 100% 0, 100% 100%, 0 100%); margin-top: -28px; }
.cta .wrap { display: grid; grid-template-columns: 1.3fr auto; gap: 30px; align-items: center; padding-block: clamp(80px, 9vw, 120px) clamp(56px, 7vw, 90px); }
.cta h2 { color: #fff; max-width: 16ch; }
.cta p { color: #C9D3EA; margin-top: 14px; max-width: 52ch; }
.cta-rings { position: absolute; right: -120px; top: 50%; width: 520px; height: 520px; transform: translateY(-50%); pointer-events: none; }
.cta-rings span { position: absolute; inset: 0; border: 2px solid rgba(255,210,0,.35); border-radius: 50%; animation: ring 9s ease-in-out infinite; }
.cta-rings span:nth-child(2) { inset: 70px; animation-delay: -3s; }
.cta-rings span:nth-child(3) { inset: 140px; animation-delay: -6s; }
@keyframes ring { 50% { transform: scale(1.06); opacity: .5; } }

/* ---------- Page hero (inner pages) ---------- */
.phero { position: relative; color: #fff; isolation: isolate; overflow: hidden; background: var(--green-950); }
.phero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: drift 18s ease-in-out infinite alternate; }
.phero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(6,18,44,.94) 0%, rgba(7,22,52,.75) 55%, rgba(7,22,52,.35) 100%); }
.phero .wrap { padding-block: clamp(80px, 11vw, 140px) clamp(64px, 8vw, 100px); display: flex; flex-direction: column; gap: 18px; }
.phero h1 { color: #fff; max-width: 18ch; }
.phero p { color: #D3DBEE; max-width: 60ch; font-size: 1.15rem; }
.crumbs { font-size: .85rem; color: #AEBBD8; }
.crumbs a { color: #E8EDF7; text-decoration: none; }
.phero-line { height: 6px; background: linear-gradient(90deg, var(--lime) 0 30%, var(--green-600) 30% 100%); }
@keyframes drift { to { transform: scale(1.08) translateX(-2%); } }

/* ---------- Text + media rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.split > * { min-width: 0; }
.split--rev > :first-child { order: 2; }
.split img.rounded { border-radius: 20px; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.prose { display: flex; flex-direction: column; gap: 16px; }
.prose p { color: var(--muted); }
.prose p strong { color: var(--ink); }

.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.mv > div { padding: clamp(28px, 4vw, 44px); border-radius: 20px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.mv > div:first-child { background: var(--green-800); color: #DDE4F3; }
.mv > div:first-child h3 { color: #fff; }
.mv > div:last-child { background: #fff; border: 2px solid var(--lime); }
.mv h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.2; }
.mv .eyebrow { color: inherit; }
.mv > div:first-child .eyebrow { color: var(--lime); }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value { padding: 26px 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; min-width: 0; }
.value::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.value:hover::after { transform: scaleX(1); }
.value i { font: 700 .8rem/1 var(--body); font-style: normal; color: var(--green-600); letter-spacing: .1em; }
.value p { color: var(--muted); font-size: .95rem; }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 118px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--lime), var(--green-600)); }
.timeline li { display: grid; grid-template-columns: 100px 1fr; gap: 44px; padding-block: 18px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 112px; top: 26px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--green-700); }
.timeline time { font: 700 1.05rem/1.3 var(--display); color: var(--green-700); text-align: right; padding-top: 2px; }
.timeline h3 { font-size: 1.15rem; margin-bottom: 4px; }
.timeline p { color: var(--muted); font-size: .96rem; }

.person { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 28px; border-radius: 20px; background: #fff; border: 1px solid var(--line); align-items: start; }
.person > * { min-width: 0; }
.monogram { width: 120px; height: 120px; border-radius: 50%; background: var(--green-100); display: grid; place-items: center; font: 700 2.2rem/1 var(--display); color: var(--green-800); border: 3px solid var(--lime); overflow: hidden; }
.monogram img { width: 100%; height: 100%; object-fit: cover; }
.person p { color: var(--muted); font-size: .96rem; }
.person .role { color: var(--green-700); font-weight: 700; font-size: .9rem; margin: 4px 0 10px; }

/* Programme detail */
.prog { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); padding-block: clamp(48px, 6vw, 72px); border-bottom: 1px solid var(--line); align-items: start; }
.prog:last-child { border-bottom: 0; }
.prog > * { min-width: 0; }
.prog-media { position: sticky; top: calc(var(--header-h) + 24px); }
.prog-media img { border-radius: 20px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 6px 0; }
.facts div { background: var(--mist); border-radius: 12px; padding: 14px 16px; border-left: 3px solid var(--lime); }
.facts dt { font: 700 .7rem/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 6px 0 0; font-weight: 600; font-size: .95rem; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23083622' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.cols-2 > * { min-width: 0; }
.box { background: var(--mist); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.box h4 { font: 700 1rem/1.2 var(--display); color: var(--green-800); }

.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.how > div { padding: 30px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.how p { color: #C0CCE6; }
.how svg { width: 34px; height: 34px; color: var(--lime); }

/* Events page */
.event-row { display: grid; grid-template-columns: 340px 1fr; gap: clamp(24px, 4vw, 56px); padding-block: 44px; border-bottom: 1px solid var(--line); align-items: start; }
.event-row > * { min-width: 0; }
.flyer { border-radius: 14px; overflow: hidden; box-shadow: 0 24px 40px -26px rgba(7,22,52,.6); cursor: zoom-in; border: 0; padding: 0; background: none; display: block; width: 100%; }
.flyer img { width: 100%; transition: transform .6s var(--ease); }
.flyer:hover img { transform: scale(1.03); }
.status { display: inline-flex; align-items: center; gap: 8px; font: 700 .75rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.status--recent { color: var(--green-700); }
.status--recent::before { background: var(--green-600); box-shadow: 0 0 0 4px var(--green-100); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(231,236,248,.3); } }

.gallery { columns: 3 260px; column-gap: 16px; }
.gallery button { break-inside: avoid; margin: 0 0 16px; display: block; width: 100%; padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: var(--mist); position: relative; }
.gallery img { width: 100%; transition: transform .6s var(--ease), filter .4s; }
.gallery button:hover img { transform: scale(1.04); filter: saturate(1.1); }
.gallery button::after { content: ""; position: absolute; inset: 0; border: 3px solid var(--lime); border-radius: 14px; opacity: 0; transition: opacity .3s; }
.gallery button:hover::after { opacity: 1; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1200px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(4,12,30,.88); backdrop-filter: blur(4px); }
.lightbox img { max-height: 86vh; width: auto; margin-inline: auto; border-radius: 10px; }
.lightbox-close { position: fixed; top: max(16px, env(safe-area-inset-top)); right: max(16px, env(safe-area-inset-right)); width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--lime); color: var(--green-950); font-size: 1.6rem; cursor: pointer; }

/* Resources */
.res-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.res-link { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 18px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); transition: border-color .25s, transform .3s var(--ease); min-width: 0; }
.res-link:hover { border-color: var(--green-600); transform: translateY(-4px); }
.res-link p { color: var(--muted); font-size: .95rem; }
.res-link .link-arrow { margin-top: auto; }
.filter { display: inline-flex; gap: 6px; background: var(--mist); padding: 5px; border-radius: 999px; margin-bottom: 30px; }
.filter button { border: 0; background: none; padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: .88rem; color: var(--muted); cursor: pointer; }
.filter button.is-on { background: var(--green-800); color: #fff; }

/* Contact */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact > * { min-width: 0; }
.cinfo { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cinfo li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; padding: 18px; border-radius: 16px; background: var(--mist); }
.cinfo .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--green-800); color: var(--lime); display: grid; place-items: center; }
.cinfo .ic svg { width: 22px; height: 22px; }
.cinfo small { display: block; font: 700 .72rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.cinfo a { color: var(--ink); text-decoration: none; font-weight: 600; }
.form { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--lime); border-radius: 20px; padding: clamp(24px, 4vw, 40px); display: grid; gap: 16px; box-shadow: 0 30px 60px -40px rgba(7,22,52,.4); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 7px; font-weight: 600; font-size: .9rem; }
.form input, .form select, .form textarea { font: inherit; font-size: 1rem; padding: 13px 15px; border: 1.5px solid #C9D2E3; border-radius: 12px; background: #fff; color: var(--ink); width: 100%; transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--green-600); box-shadow: 0 0 0 4px var(--green-100); }
.form .hp { position: absolute; left: -9999px; }
.notice { padding: 14px 18px; border-radius: 12px; background: var(--green-100); color: var(--green-800); font-weight: 600; }
.notice--err { background: #FDECEF; color: #8A1023; }
.pay { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pay div { padding: 16px; border-radius: 14px; border: 1px dashed var(--green-600); }
.pay b { display: block; font: 700 1.2rem/1.2 var(--display); letter-spacing: .02em; }
.pay span { font-size: .82rem; color: var(--muted); }
.map-link { display: block; position: relative; border-radius: 18px; overflow: hidden; min-height: 200px; background: var(--green-900); color: #fff; text-decoration: none; padding: 26px; }
.map-link::before { content: ""; position: absolute; inset: 0; background:
  repeating-linear-gradient(0deg, transparent 0 38px, rgba(255,255,255,.06) 38px 39px),
  repeating-linear-gradient(90deg, transparent 0 38px, rgba(255,255,255,.06) 38px 39px); }
.map-link .pin { position: absolute; right: 34px; top: 34px; width: 22px; height: 22px; background: var(--lime); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 0 0 10px rgba(255,210,0,.18); animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: rotate(-45deg) translate(3px, -3px); } }
.map-link b { position: relative; font: 700 1.2rem/1.3 var(--display); display: block; max-width: 22ch; }
.map-link span { position: relative; color: var(--lime); font-weight: 700; display: inline-block; margin-top: 14px; }

/* Posts */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 10px; }
.post-card .thumb { aspect-ratio: 16/10; border-radius: 16px; overflow: hidden; background: var(--mist); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card time { font-size: .8rem; font-weight: 700; color: var(--green-700); letter-spacing: .08em; text-transform: uppercase; }
.entry { max-width: 760px; margin-inline: auto; }
.entry > * + * { margin-top: 1.1em; }
.entry img { border-radius: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-950); color: #AAB6D2; font-size: .95rem; position: relative; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--green-600) 0 70%, var(--lime) 70% 100%); }
.site-footer .wrap { padding-block: 72px 30px; }
.fgrid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.fgrid > * { min-width: 0; }
.site-footer h4 { font: 700 .78rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #E3E9F5; text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.fbrand { display: inline-flex; align-items: center; gap: 12px; background: #fff; padding: 10px 14px; border-radius: 14px; margin-bottom: 18px; }
.fbrand img.m { height: 38px; width: auto; }
.fbrand img.f { width: 30px; border-radius: 2px; }
.fbrand b { color: var(--ink); font: 700 1rem/1.1 var(--display); }
.fbase { border-top: 1px solid rgba(255,255,255,.1); margin-top: 52px; padding-top: 22px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .84rem; }
.to-top { width: 44px; height: 44px; border-radius: 50%; background: var(--lime); color: var(--green-950); display: grid; place-items: center; text-decoration: none; position: fixed; right: max(26px, calc(env(safe-area-inset-right) + 8px)); bottom: calc(max(18px, env(safe-area-inset-bottom)) + 76px); z-index: 90; box-shadow: 0 10px 24px -8px rgba(0,0,0,.4); opacity: 0; transform: translateY(12px); transition: opacity .3s, transform .3s; pointer-events: none; }
.is-scrolled .to-top { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 20px; height: 20px; }


/* ---------- Chat assistant (WhatsApp) ---------- */
.chat { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 95; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.chat-launch { width: 62px; height: 62px; border-radius: 50%; border: 0; background: var(--green-700); color: #fff; display: grid; place-items: center; cursor: pointer; position: relative; box-shadow: 0 16px 30px -10px rgba(7,22,52,.55), 0 0 0 4px rgba(255,210,0,.0); transition: transform .3s var(--ease), background .25s, box-shadow .3s; animation: chat-pulse 3s ease-in-out 2s 3; }
.chat-launch:hover { transform: scale(1.06); background: var(--green-800); }
.chat-launch svg { width: 28px; height: 28px; grid-area: 1 / 1; transition: transform .3s var(--ease), opacity .2s; }
.chat-launch .i-close { opacity: 0; transform: rotate(-90deg); }
.chat.is-open .chat-launch .i-open { opacity: 0; transform: rotate(90deg); }
.chat.is-open .chat-launch .i-close { opacity: 1; transform: none; }
.chat-dot { position: absolute; top: 4px; right: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--lime); border: 2px solid var(--green-700); }
.chat.is-open .chat-dot { display: none; }
@keyframes chat-pulse { 50% { box-shadow: 0 16px 30px -10px rgba(7,22,52,.55), 0 0 0 12px rgba(255,210,0,.35); } }
.chat-hint { position: absolute; right: 74px; bottom: 14px; white-space: nowrap; background: #fff; color: var(--ink); font-weight: 600; font-size: .88rem; padding: 9px 14px; border-radius: 12px 12px 4px 12px; box-shadow: 0 12px 28px -12px rgba(7,22,52,.45), 0 0 0 1px var(--line); opacity: 0; transform: translateX(8px); pointer-events: none; transition: opacity .4s, transform .4s var(--ease); }
.chat.show-hint .chat-hint { opacity: 1; transform: none; }
.chat.is-open .chat-hint { opacity: 0; }
.chat-panel { width: min(360px, calc(100vw - 36px)); max-height: min(560px, calc(100dvh - 120px)); background: #fff; border-radius: 20px; box-shadow: 0 30px 70px -20px rgba(7,22,52,.5), 0 0 0 1px var(--line); overflow: hidden; display: flex; flex-direction: column; transform-origin: bottom right; animation: chat-in .35s var(--ease); }
@keyframes chat-in { from { opacity: 0; transform: translateY(14px) scale(.96); } }
.chat-head { background: var(--green-800); color: #fff; padding: 16px 16px 16px 18px; display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; border-bottom: 3px solid var(--lime); }
.chat-avatar { width: 40px; height: 40px; border-radius: 50%; background: #fff; overflow: hidden; display: grid; place-items: center; }
.chat-avatar img { width: 34px; height: auto; }
.chat-head b { display: block; font: 700 1rem/1.2 var(--display); }
.chat-status { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; color: #D3DCF0; margin-top: 3px; }
.chat-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 3px rgba(74,222,128,.25); }
.chat-x { width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; }
.chat-x:hover { background: rgba(255,255,255,.22); }
.chat-body { padding: 18px; background: var(--mist); overflow-y: auto; flex: 1; }
.chat-msgs { display: flex; flex-direction: column; gap: 10px; }
.chat-msg { background: #fff; padding: 11px 14px; border-radius: 4px 16px 16px 16px; font-size: .93rem; line-height: 1.5; box-shadow: 0 1px 0 var(--line); max-width: 92%; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chat-chip { padding: 9px 13px; border-radius: 999px; border: 1.5px solid var(--green-600); color: var(--green-800); background: #fff; text-decoration: none; font-weight: 600; font-size: .85rem; transition: background .2s, color .2s; }
.chat-chip:hover { background: var(--green-700); color: #fff; }
.chat-typing { display: none; gap: 5px; background: #fff; padding: 14px 16px; border-radius: 4px 16px 16px 16px; width: max-content; }
.chat-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--green-600); animation: typing 1s infinite; }
.chat-typing span:nth-child(2) { animation-delay: .15s; } .chat-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 50% { transform: translateY(-4px); opacity: .4; } }
.chat.is-typing .chat-typing { display: flex; }
.chat.is-typing .chat-msgs { display: none; }
.chat-foot { padding: 14px 16px 16px; display: grid; gap: 10px; border-top: 1px solid var(--line); }
.chat-wa { --bg: #1F9D55; --bd: #1F9D55; justify-content: center; }
.chat-wa svg { width: 20px; height: 20px; }
.chat-wa:hover svg { transform: none; }
.chat-call { text-align: center; font-size: .84rem; color: var(--muted); text-decoration: none; }
.chat-call b { color: var(--ink); }

/* ---------- Scroll-driven reveal (progressive enhancement) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .rv { animation: rv-in linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    .rv-stagger > * { animation: rv-in linear both; animation-timeline: view(); animation-range: entry 0% entry 80%; }
    .rv-stagger > :nth-child(2n) { animation-range: entry 8% entry 90%; }
    .rv-stagger > :nth-child(3n) { animation-range: entry 14% entry 100%; }
    .rv-img img { animation: rv-zoom linear both; animation-timeline: view(); animation-range: entry 0% cover 50%; }
    .site-header .mainbar { animation: none; }
  }
}
@keyframes rv-in { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes rv-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }

@media (max-width: 430px) { .brand-text { display: none; } .brand { gap: 10px; } }

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

/* ---------- Responsive ---------- */
@media (max-width: 1480px) { .brand-text small { display: none; } }
@media (max-width: 1240px) {
  .nav-wrap { visibility: hidden; transition: transform .35s var(--ease), visibility 0s .35s; position: fixed; inset: 0 0 0 auto; width: min(400px, 100%); background: #fff; z-index: 120; padding: 90px 24px 32px; overflow-y: auto; transform: translateX(105%); box-shadow: -30px 0 60px -30px rgba(0,0,0,.4); display: flex; flex-direction: column; align-items: stretch; gap: 20px; }
  .mainbar { backdrop-filter: none; background: #fff; }
  .nav-open .nav-wrap { transform: none; visibility: visible; transition: transform .35s var(--ease); }
  .nav-scrim { position: fixed; inset: 0; background: rgba(4,12,30,.5); z-index: 99; opacity: 0; pointer-events: none; transition: opacity .3s; }
  .nav-open .nav-scrim { opacity: 1; pointer-events: auto; }
  .nav, .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a.top { display: flex; padding: 14px 6px; border-radius: 0; border-bottom: 1px solid var(--line); justify-content: space-between; font-size: 1.05rem; }
  .nav a.top.is-on { box-shadow: inset 3px 0 0 var(--lime); padding-left: 12px; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 8px 12px; min-width: 0; }
  .sub::before { display: none; }
  .nav .caret { display: none; }
  .nav-tools { margin: 0; flex-wrap: wrap; }
  .burger { display: grid; position: relative; z-index: 130; }
  .lang.lang--bar { display: inline-flex; margin-left: auto; position: relative; z-index: 130; }
  .nav-tools .lang, .lang--top { display: none; }
  .mainbar .wrap { gap: 12px; }
  .library { grid-template-columns: 1fr; }
  .welcome, .split, .quote, .contact, .mv, .events, .prog, .cols-2, .event-row { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .prog-media { position: static; }
  .cards, .posts, .res-links, .how { grid-template-columns: repeat(2, 1fr); }
  .twelve { grid-template-columns: repeat(4, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .fgrid { grid-template-columns: 1fr 1fr; }
  .event-row .flyer { max-width: 360px; }
  .cta .wrap { grid-template-columns: 1fr; }
  .ev--big { min-height: 420px; }
}
@media (min-width: 1241px) { .nav-scrim { display: none; } }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
@media (max-width: 680px) {
  body.ilse-body { font-size: 16px; }
  :root { --header-h: 72px; }
  .topbar-info .hide-sm, .topbar .socials { display: none; }
  .chat-hint { display: none; }
  .lang--bar a { padding: 6px 9px; }
  .chat-launch { width: 56px; height: 56px; }
  .to-top { bottom: calc(max(18px, env(safe-area-inset-bottom)) + 70px); right: max(24px, calc(env(safe-area-inset-right) + 6px)); }
  .brand-mark { height: 40px; } .is-scrolled .brand-mark { height: 36px; }
  .brand-text small { display: none; }
  .brand-sep { height: 30px; }
  .cards, .posts, .res-links, .how, .values, .fgrid, .facts, .form .row, .pay { grid-template-columns: 1fr; }
  .twelve { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 6px 16px; }
  .hero-tabs .wrap { grid-template-columns: repeat(4, 1fr); }
  .hero-tab { padding: 14px 8px 18px 0; }
  .hero-tab span { display: none; }
  .slide .wrap { padding-block: 72px 110px; }
  .photo-badge { right: 10px; }
  .photo-frame::before { inset: 14px -10px -14px 14px; }
  .timeline::before { left: 7px; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; padding-left: 34px; }
  .timeline li::before { left: 0; top: 22px; }
  .timeline time { text-align: left; }
  .person { grid-template-columns: 1fr; }
  .cta { clip-path: polygon(0 16px, 100% 0, 100% 100%, 0 100%); }
}
.cta .eyebrow { color: var(--lime); }
.card--text .eyebrow { color: var(--lime); }
.fbrand b { white-space: nowrap; }
.phero .eyebrow { color: var(--lime); }

/* ---------- News cards & articles ---------- */
.posts--one { grid-template-columns: 1fr; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; gap: 0; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.post-card:hover { transform: translateY(-5px); box-shadow: 0 30px 50px -30px rgba(7,22,52,.45); }
.post-card .thumb { border-radius: 0; }
.post-card .thumb img { transition: transform .7s var(--ease); }
.post-card:hover .thumb img { transform: scale(1.05); }
.post-card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.post-card-body p { color: var(--muted); font-size: .96rem; }
.post-card-body .link-arrow { margin-top: 4px; }
.posts--one .post-card { display: grid; grid-template-columns: 1.1fr 1fr; }
.posts--one .post-card .thumb { aspect-ratio: auto; min-height: 320px; height: 100%; }
.posts--one .post-card-body { padding: clamp(26px, 4vw, 48px); justify-content: center; gap: 14px; }
.posts--one .post-card-body h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.15; }
.phero h1.post-title { max-width: 24ch; font-size: clamp(2rem, 4.4vw, 3.4rem); }
.article { font-size: 1.08rem; color: #2A3346; }
.article > p:first-child { font-size: 1.22rem; color: var(--ink); }
.article h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); margin-top: 1.8em; }
.article ul { padding-left: 1.2em; display: grid; gap: 8px; }
.article ul li::marker { color: var(--green-600); }
.article figure { margin: 1.8em 0; }
.article figure img { width: 100%; border-radius: 16px; }
.article figcaption { font-size: .88rem; color: var(--muted); margin-top: 10px; padding-left: 12px; border-left: 3px solid var(--lime); }
.article blockquote { margin: 1.6em 0; padding: 26px 28px; background: var(--mist); border-left: 4px solid var(--lime); border-radius: 0 16px 16px 0; font: 600 clamp(1.2rem, 2vw, 1.45rem)/1.35 var(--display); color: var(--ink); }
.article blockquote p { margin: 0; }
.article blockquote cite { display: block; margin-top: 12px; font: 600 .9rem/1 var(--body); font-style: normal; color: var(--green-700); }
.article-foot { margin-top: 2.6em; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
@media (max-width: 860px) { .posts--one .post-card { grid-template-columns: 1fr; } .posts--one .post-card .thumb { min-height: 0; aspect-ratio: 16/10; } }

/* ---------- ILF Eswatini additions ---------- */
.eyebrow::before { background: linear-gradient(90deg, var(--lime) 0 68%, var(--crimson) 68% 100%); }
.topbar-global { font-weight: 600; letter-spacing: .01em; }
.founder { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.founder-photo { margin: 0; position: relative; max-width: 460px; justify-self: center; width: 100%; }
.founder-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; position: relative; z-index: 1; }
.founder-photo::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border-radius: 26px; background: linear-gradient(160deg, var(--green-700), var(--green-950)); z-index: 0; }
.founder-photo::after { content: ""; position: absolute; left: -18px; right: 18px; bottom: 18px; height: 10px; z-index: 2; background: linear-gradient(90deg, var(--green-600) 0 30%, var(--lime) 30% 38%, var(--crimson) 38% 62%, var(--lime) 62% 70%, var(--green-600) 70%); border-radius: 0 0 0 26px; }
.founder-photo figcaption { position: absolute; z-index: 3; right: -14px; bottom: 40px; background: #fff; border-radius: 14px; padding: 14px 18px; box-shadow: 0 20px 40px -20px rgba(7,22,52,.5); border-left: 4px solid var(--lime); }
.founder-photo figcaption b { display: block; font: 700 1rem/1.2 var(--display); }
.founder-photo figcaption span { font-size: .82rem; color: var(--muted); }
.founder-quote { margin: 4px 0 0; padding: 22px 24px; background: #fff; border-radius: 16px; border-left: 4px solid var(--lime); font: 600 clamp(1.15rem, 1.8vw, 1.35rem)/1.4 var(--display); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.founder-cite { font-size: .9rem; color: var(--muted); }
.sec:not(.sec--mist) .founder-quote { background: var(--mist); }
.pager { display: flex; gap: 8px; flex-wrap: wrap; }
.pager .page-numbers { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.pager .current { background: var(--green-800); color: #fff; border-color: var(--green-800); }
.slide-bg img { object-position: center; }
@media (max-width: 1240px) { .founder { grid-template-columns: 1fr; } .founder-photo { max-width: 380px; } }
@media (max-width: 680px) { .founder-photo figcaption { right: 8px; bottom: 30px; } .founder-photo::before { inset: -12px 12px 12px -12px; } .founder-photo::after { left: -12px; right: 12px; bottom: 12px; } .topbar-global { display: none; } }
