/* Inyadime Care Foundation — forest green + gold, inspired by the logo's golden hands and green heart */
:root {
  --forest: #0b2e22;
  --forest-2: #0f3d2e;
  --emerald: #17845c;
  --leaf: #2fbf7f;
  --gold: #d4a72c;
  --gold-2: #f1cf63;
  --cream: #fbf7ec;
  --card: #ffffff;
  --ink: #1d2622;
  --mute: #5d6a63;
  --line: #e7dfc8;
  --radius: 22px;
  --display: "Fraunces", Georgia, serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.65 var(--body); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--emerald); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; font-weight: 700; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 10px; top: 10px; background: #fff; padding: 8px 12px; z-index: 200; }

/* grain overlay */
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 150; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* scroll progress */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; background: linear-gradient(90deg, var(--gold), var(--leaf)); transform-origin: 0 50%; transform: scaleX(0); }

/* preloader */
.loader { position: fixed; inset: 0; z-index: 300; background: var(--forest); display: grid; place-items: center; transition: opacity .7s var(--ease), visibility .7s; }
.loader img { width: 110px; border-radius: 50%; animation: loaderPulse 1.2s ease-in-out infinite; }
.loader.done { opacity: 0; visibility: hidden; }
@keyframes loaderPulse { 50% { transform: scale(1.08); box-shadow: 0 0 0 18px rgba(212,167,44,.12); } }

/* header */
header { position: fixed; inset: 0 0 auto 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 14px 5%; transition: background .4s, padding .4s, box-shadow .4s; color: #fff; }
header::before { content: ""; position: absolute; inset: 0; z-index: -2; background: rgba(11, 46, 34, .92); backdrop-filter: blur(12px); box-shadow: 0 10px 30px rgba(0,0,0,.18); opacity: 0; transition: opacity .4s; }
header.scrolled { padding: 9px 5%; }
header.scrolled::before { opacity: 1; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 700 1.15rem var(--display); letter-spacing: .04em; }
.brand img { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--gold); }
.brand span { color: var(--gold-2); }
nav { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 500; }
nav a { color: #fff; text-decoration: none; position: relative; padding: 4px 0; }
nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
nav a:hover::after, nav a.active::after { transform: scaleX(1); transform-origin: left; }
nav a.cta { background: var(--gold); color: var(--forest); padding: 7px 16px; border-radius: 99px; font-weight: 700; }
nav a.cta::after { display: none; }
#menuBtn { display: none; background: none; border: 1px solid var(--gold); color: #fff; padding: 8px 14px; border-radius: 10px; font: inherit; cursor: pointer; }
@media (max-width: 960px) {
  #menuBtn { display: block; }
  nav { position: fixed; inset: 0; background: var(--forest); flex-direction: column; align-items: center; justify-content: center; gap: 26px; font: 600 1.5rem var(--display); clip-path: circle(0 at calc(100% - 50px) 36px); transition: clip-path .7s var(--ease); z-index: -1; }
  nav.open { clip-path: circle(150% at calc(100% - 50px) 36px); }
  nav a { opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .4s; }
  nav.open a { opacity: 1; transform: none; }
  nav.open a:nth-child(2) { transition-delay: .05s } nav.open a:nth-child(3) { transition-delay: .1s } nav.open a:nth-child(4) { transition-delay: .15s }
  nav.open a:nth-child(5) { transition-delay: .2s } nav.open a:nth-child(6) { transition-delay: .25s } nav.open a:nth-child(7) { transition-delay: .3s } nav.open a:nth-child(8) { transition-delay: .35s }
}

/* sections */
section { padding: 110px 5%; position: relative; }
.wrap { max-width: 1180px; margin: 0 auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--emerald); font: 700 12px var(--body); letter-spacing: .24em; text-transform: uppercase; margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
h2 { font-size: clamp(2rem, 4.6vw, 3.3rem); color: var(--forest); letter-spacing: -.01em; }
h2 em { font-style: italic; color: var(--emerald); font-weight: 500; }
.lede { color: var(--mute); max-width: 640px; font-size: 1.08rem; margin-top: 14px; }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.rv.l { transform: translateX(-60px); } .rv.r { transform: translateX(60px); } .rv.z { transform: scale(.85); }
.rv.in { opacity: 1; transform: none; }

/* HERO */
.hero { min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; padding-top: 130px;
  background: radial-gradient(1200px 600px at 85% 10%, rgba(47,191,127,.28), transparent 60%), radial-gradient(800px 500px at 0% 100%, rgba(212,167,44,.18), transparent 60%), linear-gradient(160deg, #082419, var(--forest-2)); }
.hero .wrap { display: grid; grid-template-columns: 1.25fr .9fr; gap: 50px; align-items: center; width: 100%; }
.hero .pill { display: inline-flex; gap: 8px; align-items: center; border: 1px solid rgba(241,207,99,.5); color: var(--gold-2); padding: 6px 16px; border-radius: 99px; font-size: 13px; font-weight: 600; letter-spacing: .05em; opacity: 0; animation: rise .9s var(--ease) .5s forwards; }
.hero .pill i { width: 8px; height: 8px; background: var(--leaf); border-radius: 50%; animation: blink 1.6s infinite; }
.hero h1 { font-size: clamp(2.7rem, 7.4vw, 6rem); letter-spacing: -.02em; margin: 22px 0 18px; font-weight: 800; }
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.hero h1 .w > span { display: inline-block; transform: translateY(110%); animation: wordUp 1s var(--ease) forwards; }
.hero h1 .gold { background: linear-gradient(90deg, var(--gold), var(--gold-2), var(--gold)); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: wordUp 1s var(--ease) forwards, shine 4s linear infinite; font-style: italic; }
.hero .tag { font: italic 500 clamp(1.15rem, 2.2vw, 1.5rem) var(--display); color: var(--gold-2); opacity: 0; animation: rise 1s var(--ease) 1.3s forwards; }
.hero p { max-width: 560px; color: #d6e5dc; font-size: 1.08rem; opacity: 0; animation: rise 1s var(--ease) 1.5s forwards; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; opacity: 0; animation: rise 1s var(--ease) 1.7s forwards; }
.btn { --bg: transparent; position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 99px; border: 2px solid var(--gold); background: var(--bg); color: #fff; font: 700 15px var(--body); text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate; transition: transform .3s var(--ease), color .3s; }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--gold); transform: translateY(101%); transition: transform .4s var(--ease); z-index: -1; }
.btn:hover { transform: translateY(-3px); color: var(--forest); }
.btn:hover::before { transform: none; }
.btn.solid { --bg: var(--gold); color: var(--forest); box-shadow: 0 10px 30px rgba(212,167,44,.35); animation: glow 2.6s infinite; }
.btn.solid::before { background: var(--gold-2); }
.btn.dark { --bg: var(--forest); border-color: var(--forest); color: #fff; }
.btn.dark::before { background: var(--emerald); }
.btn.dark:hover { color: #fff; }
.btn.wa { --bg: #25d366; border-color: #25d366; color: #fff; }
.btn.wa::before { background: #1da851; }
.btn.wa:hover { color: #fff; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn[disabled] { opacity: .7; cursor: wait; }

.hero-art { position: relative; aspect-ratio: 1; max-width: 440px; width: 100%; margin: auto; opacity: 0; animation: zoomIn 1.4s var(--ease) .6s forwards; }
.hero-art .ring { position: absolute; inset: -6%; border-radius: 50%; border: 2px dashed rgba(241,207,99,.45); animation: spin 40s linear infinite; }
.hero-art .ring.two { inset: -16%; border: 1px solid rgba(47,191,127,.3); animation-duration: 60s; animation-direction: reverse; }
.hero-art .ring.two::before, .hero-art .ring::before { content: ""; position: absolute; top: 50%; left: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 20px var(--gold); }
.hero-art .ring.two::before { background: var(--leaf); box-shadow: 0 0 20px var(--leaf); left: auto; right: -7px; }
.hero-art img { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 5px solid var(--gold); box-shadow: 0 40px 80px rgba(0,0,0,.45); animation: float 7s ease-in-out infinite; }
.hero-art .chip { position: absolute; background: rgba(255,255,255,.95); color: var(--forest); padding: 10px 16px; border-radius: 16px; font: 700 13px var(--body); box-shadow: 0 16px 40px rgba(0,0,0,.25); display: flex; gap: 8px; align-items: center; animation: float 6s ease-in-out infinite; }
.hero-art .chip.a { left: -8%; bottom: 14%; animation-delay: -2s; }
.hero-art .chip.b { right: -6%; top: 10%; animation-delay: -4s; }
.orb { position: absolute; border-radius: 50%; filter: blur(2px); background: radial-gradient(circle at 30% 30%, rgba(241,207,99,.35), rgba(212,167,44,.05)); animation: float 10s ease-in-out infinite; pointer-events: none; }
.scroll-cue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 20px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--gold); border-radius: 2px; animation: cue 1.8s infinite; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero-art { max-width: 280px; order: -1; } .scroll-cue { display: none; } }

/* marquee */
.marquee { background: var(--gold); color: var(--forest); overflow: hidden; padding: 16px 0; transform: rotate(-1.5deg); margin: -22px -2% 0; position: relative; z-index: 5; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.marquee .track { display: flex; gap: 48px; width: max-content; animation: marquee 32s linear infinite; font: 700 1.2rem var(--display); white-space: nowrap; }
.marquee .track span::after { content: "✦"; margin-left: 48px; color: var(--emerald); }

/* about / mission */
.about .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about .stack { position: relative; min-height: 460px; }
.about .stack figure { position: absolute; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px rgba(11,46,34,.22); border: 6px solid #fff; }
.about .stack figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about .stack figure:hover img { transform: scale(1.08); }
.about .stack .f1 { width: 64%; height: 78%; left: 0; top: 0; }
.about .stack .f2 { width: 52%; height: 58%; right: 0; bottom: 0; }
.about .stack .badge { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 120px; height: 120px; border-radius: 50%; background: var(--forest); color: var(--gold-2); display: grid; place-items: center; text-align: center; font: 700 12px/1.25 var(--body); letter-spacing: .08em; text-transform: uppercase; z-index: 2; border: 4px solid var(--gold); }
.about .stack .badge svg { position: absolute; inset: -4px; animation: spin 18s linear infinite; }
.mv { display: grid; gap: 16px; margin-top: 28px; }
.mv .card { padding: 22px 24px; border-left: 4px solid var(--gold); }
.mv h3 { font-size: 1.2rem; color: var(--forest); margin-bottom: 6px; }
.mv p { margin: 0; color: var(--mute); }
@media (max-width: 860px) { .about .wrap { grid-template-columns: 1fr; } .about .stack { min-height: 380px; } }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(11,46,34,.12); border-color: rgba(212,167,44,.5); }

/* programmes */
.programmes { background: var(--forest); color: #fff; overflow: hidden; }
.programmes h2 { color: #fff; } .programmes h2 em { color: var(--gold-2); } .programmes .eyebrow { color: var(--gold-2); } .programmes .lede { color: #b9cdc2; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; margin-top: 50px; }
.prog { position: relative; padding: 30px 24px 26px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(241,207,99,.2); overflow: hidden; transition: transform .5s var(--ease), background .5s; transform-style: preserve-3d; }
.prog::before { content: ""; position: absolute; inset: auto -40% -60% auto; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(212,167,44,.35), transparent 70%); transition: transform .6s var(--ease); }
.prog:hover { background: rgba(255,255,255,.1); }
.prog:hover::before { transform: scale(1.8); }
.prog .n { font: 800 3.2rem var(--display); color: transparent; -webkit-text-stroke: 1px rgba(241,207,99,.6); line-height: 1; }
.prog .ic { font-size: 2.1rem; margin: 14px 0 10px; display: inline-block; transition: transform .5s var(--ease); }
.prog:hover .ic { transform: scale(1.25) rotate(-8deg); }
.prog h3 { font-size: 1.18rem; margin-bottom: 8px; color: #fff; }
.prog p { margin: 0; color: #b9cdc2; font-size: .95rem; }

/* leadership */
.lgrid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 30px; margin-top: 50px; align-items: stretch; }
.leader { position: relative; padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.leader .ph { position: relative; overflow: hidden; aspect-ratio: 4/4.2; background: #e9e3d1; }
.leader .ph img { width: 100%; height: 100%; object-fit: cover; object-position: top; transform: scale(1.15); transition: transform 1.6s var(--ease); }
.leader .ph::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform-origin: right; transition: transform 1.2s var(--ease) .15s; }
.leader.in .ph img { transform: scale(1); }
.leader.in .ph::after { transform: scaleX(0); }
.leader:hover .ph img { transform: scale(1.05); }
.leader .body { padding: 24px 26px 28px; }
.leader .role { color: var(--emerald); font-weight: 700; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; }
.leader h3 { font-size: 1.5rem; margin: 8px 0 6px; color: var(--forest); }
.leader p { margin: 0; color: var(--mute); }
.leader.coord { background: linear-gradient(160deg, var(--forest), #12543c); color: #fff; border: 0; display: grid; grid-template-columns: .95fr 1.05fr; }
.leader.coord .ph { aspect-ratio: auto; min-height: 100%; background: #fff; }
.leader.coord .ph img { object-position: center 20%; }
.leader.coord .body { display: flex; flex-direction: column; justify-content: center; padding: 34px; }
.leader.coord .role { color: var(--gold-2); }
.leader.coord h3 { color: #fff; font-size: 1.7rem; }
.leader.coord p { color: #c9dbd0; }
.leader.coord .btns { opacity: 1; animation: none; margin-top: 22px; flex-direction: column; align-items: stretch; }
.leader.coord .btns .btn { justify-content: center; }
.leader.coord .live { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; color: #9fe3bf; margin-top: 14px; }
.leader.coord .live i { width: 8px; height: 8px; border-radius: 50%; background: #25d366; animation: blink 1.4s infinite; }
.stamp { position: absolute; top: 16px; left: 16px; z-index: 2; background: var(--gold); color: var(--forest); font: 800 11px var(--body); letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 99px; }
@media (max-width: 960px) { .lgrid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .leader.coord { grid-template-columns: 1fr; } .leader.coord .ph { aspect-ratio: 1; } }

/* scholarship checker */
.check { background: radial-gradient(900px 500px at 100% 0%, rgba(47,191,127,.12), transparent 60%), radial-gradient(700px 400px at 0% 100%, rgba(212,167,44,.14), transparent 60%), #f4efdf; overflow: hidden; }
.check .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 50px; align-items: start; }
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.steps li::before { content: counter(s); width: 44px; height: 44px; border-radius: 14px; background: var(--forest); color: var(--gold-2); display: grid; place-items: center; font: 700 1.1rem var(--display); }
.example { margin-top: 22px; background: #fff; border: 1px dashed var(--gold); border-radius: 16px; padding: 16px 18px; font-size: .95rem; }
.example code { background: var(--forest); color: var(--gold-2); padding: 2px 8px; border-radius: 6px; font-weight: 700; }
.panel { position: relative; background: var(--forest); color: #fff; border-radius: 28px; padding: 38px; box-shadow: 0 40px 80px rgba(11,46,34,.3); overflow: hidden; }
.panel::before { content: ""; position: absolute; width: 340px; height: 340px; right: -120px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(212,167,44,.4), transparent 70%); animation: float 8s ease-in-out infinite; }
.panel h3 { font-size: 1.7rem; position: relative; }
.panel .sub { color: #b9cdc2; margin: 8px 0 24px; position: relative; font-size: .95rem; }
.field { position: relative; margin-bottom: 18px; }
.field input { width: 100%; padding: 22px 16px 10px; border-radius: 14px; border: 1.5px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; font: 500 1.05rem var(--body); transition: border-color .3s, background .3s; }
.field input:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,.1); }
.field label { position: absolute; left: 16px; top: 17px; color: #a9c1b5; pointer-events: none; transition: transform .25s var(--ease), color .25s; transform-origin: left; }
.field input:focus + label, .field input:not(:placeholder-shown) + label { transform: translateY(-11px) scale(.78); color: var(--gold-2); }
.field .eye { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--gold-2); font: 600 13px var(--body); cursor: pointer; padding: 8px; }
.panel .btn { width: 100%; justify-content: center; margin-top: 6px; }
.panel .note { font-size: 12.5px; color: #93ab9f; margin-top: 16px; position: relative; }
.spin { width: 18px; height: 18px; border: 3px solid rgba(11,46,34,.25); border-top-color: var(--forest); border-radius: 50%; animation: spin .8s linear infinite; }
@media (max-width: 900px) { .check .wrap { grid-template-columns: 1fr; } .panel { padding: 28px 22px; } }

.result { position: relative; margin-top: 22px; border-radius: 20px; padding: 26px 24px; overflow: hidden; animation: resultIn .8s var(--ease) both; }
.result .icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; margin-bottom: 12px; animation: pop .7s var(--ease) .2s both; }
.result .label { font: 800 11px var(--body); letter-spacing: .2em; text-transform: uppercase; }
.result h4 { font: 700 1.45rem var(--display); margin: 6px 0 8px; }
.result p { margin: 0; }
.result.sel { background: linear-gradient(135deg, #e2f8ec, #c6efd9); color: #0b4a30; }
.result.sel .icon { background: var(--emerald); color: #fff; }
.result.pen { background: linear-gradient(135deg, #fff6d6, #ffe9a6); color: #5a4600; }
.result.pen .icon { background: var(--gold); color: var(--forest); }
.result.pen .icon span { display: inline-block; animation: spin 3s linear infinite; }
.result.not { background: linear-gradient(135deg, #eaf0f8, #d6e2f2); color: #1d3557; }
.result.not .icon { background: #5f7ea8; color: #fff; }
.result.err { background: #fde9e6; color: #8c1d18; }
.result.err .icon { background: #c0392b; color: #fff; }
.result.err { animation: resultIn .6s var(--ease) both, shake .5s .1s; }
.confetti { position: absolute; inset: 0; pointer-events: none; }
.confetti i { position: absolute; top: -12px; width: 8px; height: 14px; border-radius: 2px; animation: fall 3s ease-in forwards; }

/* gallery */
.gallery { overflow: hidden; }
.ghead { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 20px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button { border: 1.5px solid var(--line); background: #fff; color: var(--forest); padding: 9px 18px; border-radius: 99px; font: 600 14px var(--body); cursor: pointer; transition: all .3s var(--ease); }
.filters button:hover { border-color: var(--gold); }
.filters button.on { background: var(--forest); color: var(--gold-2); border-color: var(--forest); }
.masonry { columns: 4 240px; column-gap: 16px; margin-top: 40px; }
.tile { break-inside: avoid; margin: 0 0 16px; position: relative; border-radius: 18px; overflow: hidden; cursor: zoom-in; background: #e7e0cb; transform: translateY(40px) scale(.96); opacity: 0; transition: opacity .9s var(--ease), transform .9s var(--ease), filter .4s; transition-delay: var(--d, 0s); }
.tile.in { opacity: 1; transform: none; }
.tile.hide { display: none; }
.tile img { width: 100%; height: auto; transition: transform 1.1s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,46,34,.85), transparent 55%); opacity: 0; transition: opacity .5s; }
.tile figcaption { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; color: #fff; font: 600 .95rem var(--body); transform: translateY(16px); opacity: 0; transition: all .5s var(--ease); }
.tile figcaption small { display: block; color: var(--gold-2); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.tile:hover img, .tile:focus-visible img { transform: scale(1.08); }
.tile:hover::after, .tile:focus-visible::after { opacity: 1; }
.tile:hover figcaption, .tile:focus-visible figcaption { transform: none; opacity: 1; }
@media (hover: none) { .tile::after { opacity: .9; } .tile figcaption { opacity: 1; transform: none; } }

.lightbox { position: fixed; inset: 0; z-index: 250; background: rgba(5, 22, 16, .94); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: min(92vw, 1100px); text-align: center; }
.lightbox img { max-height: 78vh; width: auto; margin: auto; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox.open img { animation: lbIn .5s var(--ease); }
.lightbox figcaption { color: #e7efe9; margin-top: 14px; font-weight: 500; }
.lightbox figcaption span { color: var(--gold-2); margin-left: 8px; font-size: 13px; }
.lb-btn { position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 22px; cursor: pointer; display: grid; place-items: center; transition: background .3s, transform .3s; }
.lb-btn:hover { background: var(--gold); color: var(--forest); transform: scale(1.08); }
.lb-close { top: 20px; right: 20px; } .lb-prev { left: 20px; top: 50%; } .lb-next { right: 20px; top: 50%; }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: 20px; } .lb-prev { left: calc(50% - 64px); } .lb-next { right: calc(50% - 64px); } }

/* memorial */
.memorial { background: linear-gradient(135deg, #082419, #17845c); color: #fff; text-align: center; overflow: hidden; }
.memorial h2 { color: #fff; } .memorial h2 em { color: var(--gold-2); }
.memorial .eyebrow { color: var(--gold-2); justify-content: center; }
.memorial p { max-width: 700px; margin: 18px auto 0; font-size: 1.15rem; color: #d6e5dc; }
.heart { font-size: 3rem; color: var(--gold-2); display: inline-block; animation: beat 1.6s infinite; margin-bottom: 10px; }
.candle { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 14px 4px rgba(241,207,99,.6); animation: rise2 8s linear infinite; opacity: 0; bottom: -10px; }

/* forms */
.forms .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: start; }
.fcard { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 34px; }
.fcard h3 { font-size: 1.6rem; color: var(--forest); }
.fcard > p { color: var(--mute); margin: 8px 0 22px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fgrid .w { grid-column: 1 / -1; }
.f label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; color: var(--forest); }
.f input, .f select, .f textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fdfbf4; color: var(--ink); font: inherit; transition: border-color .3s, box-shadow .3s; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--emerald); box-shadow: 0 0 0 4px rgba(23,132,92,.12); }
.f input[type="file"] { padding: 10px; background: #fff; }
.f .err { color: #b3261e; font-size: 12.5px; min-height: 16px; display: block; margin-top: 4px; }
.f.chk label { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.f.chk input { width: auto; margin-top: 5px; }
.hp { position: absolute; left: -9999px; }
.ok { display: none; margin-top: 16px; padding: 16px 18px; border-radius: 14px; background: #e2f8ec; color: #0b4a30; font-weight: 500; animation: resultIn .6s var(--ease); }
.ok.show { display: block; } .ok.bad { background: #fde9e6; color: #8c1d18; }
.contact-list { display: grid; gap: 12px; margin: 0 0 22px; }
.contact-list a { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; background: #f6f1e2; color: var(--forest); text-decoration: none; font-weight: 600; transition: transform .35s var(--ease), background .35s; }
.contact-list a:hover { transform: translateX(6px); background: #efe6cc; }
.contact-list a span { width: 40px; height: 40px; border-radius: 12px; background: var(--forest); color: var(--gold-2); display: grid; place-items: center; flex: none; }
.contact-list a small { display: block; color: var(--mute); font-weight: 500; font-size: 12.5px; }
@media (max-width: 900px) { .forms .wrap { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .fgrid { grid-template-columns: 1fr; } .fcard { padding: 24px 20px; } }

details { border-top: 1px solid var(--line); padding: 16px 0; }
details summary { cursor: pointer; font: 600 1.05rem var(--display); color: var(--forest); }
details p { color: var(--mute); }

footer { background: var(--forest); color: #b9cdc2; padding: 60px 5% 40px; font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: center; }
footer .big { font: 700 clamp(1.8rem, 4vw, 2.6rem) var(--display); color: #fff; }
footer .big em { color: var(--gold-2); }
footer a { color: var(--gold-2); }

/* floating WhatsApp */
.fab { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 90; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.fab .bubble { background: #fff; color: var(--forest); font: 600 13px var(--body); padding: 9px 14px; border-radius: 14px 14px 4px 14px; box-shadow: 0 10px 30px rgba(0,0,0,.18); opacity: 0; transform: translateX(10px); transition: all .4s var(--ease); white-space: nowrap; }
.fab.show .bubble, .fab:hover .bubble { opacity: 1; transform: none; }
.fab .circle { width: 60px; height: 60px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37,211,102,.5); position: relative; }
.fab .circle::before, .fab .circle::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ripple 2.4s infinite; }
.fab .circle::after { animation-delay: 1.2s; }
.fab svg { width: 30px; height: 30px; fill: #fff; }
@media (max-width: 600px) { .fab .bubble { display: none; } }

/* announcement button (nav + hero pill) */
.ann-btn { position: relative; display: inline-flex; align-items: center; gap: 6px; background: rgba(241,207,99,.12); border: 1px solid rgba(241,207,99,.55); color: var(--gold-2); padding: 6px 14px; border-radius: 99px; font: 700 13px var(--body); cursor: pointer; transition: background .3s, transform .3s var(--ease); }
.ann-btn:hover { background: rgba(241,207,99,.25); transform: translateY(-2px); }
.ann-btn i { position: absolute; top: -3px; right: -3px; width: 10px; height: 10px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 0 rgba(47,191,127,.6); animation: ripple 2s infinite; }
@media (max-width: 960px) { .ann-btn { font: 600 1.2rem var(--display); padding: 10px 22px; opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .4s; } nav.open .ann-btn { opacity: 1; transform: none; transition-delay: .4s; } }
button.pill { background: none; font-family: var(--body); cursor: pointer; transition: background .3s, border-color .3s; }
button.pill:hover { background: rgba(241,207,99,.12); border-color: var(--gold-2); }
button.pill b { color: #fff; font-weight: 700; }
.prog .more { position: relative; display: inline-block; margin-top: 14px; color: var(--gold-2); font-weight: 700; font-size: .92rem; text-decoration: none; transition: transform .3s var(--ease); }
.prog .more:hover { transform: translateX(4px); }
.mem-cta { margin-top: 28px; }
.mem-cta .btn { opacity: 1; }

/* executive committee */
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin-top: 46px; }
.member { display: flex; flex-direction: column; text-align: left; padding: 0; border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; font: inherit; color: inherit;
  opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s), box-shadow .45s var(--ease), border-color .45s; }
.member.in { opacity: 1; transform: none; }
.member.in:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(11,46,34,.12); border-color: rgba(212,167,44,.5); }
.member .ph { display: block; aspect-ratio: 4/5; overflow: hidden; background: #e9e3d1; }
.member .ph img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.1s var(--ease); }
.member:hover .ph img, .member:focus-visible .ph img { transform: scale(1.06); }
.member .nm { display: block; padding: 16px 18px 2px; font: 700 1.08rem/1.25 var(--display); color: var(--forest); }
.member .rl { display: block; padding: 0 18px 18px; color: var(--emerald); font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* faq */
.faq { padding-bottom: 60px; }
.faq-list { margin-top: 30px; }
.faq details p a { color: var(--emerald); font-weight: 600; }

/* modals */
.modal { width: min(92vw, 560px); max-height: 88vh; padding: 0; border: 0; border-radius: 26px; background: var(--card); color: var(--ink); box-shadow: 0 40px 100px rgba(0,0,0,.45); overflow: auto; }
.modal::backdrop { background: rgba(5,22,16,.72); backdrop-filter: blur(4px); }
.modal[open] { animation: modalIn .5s var(--ease); }
.modal[open]::backdrop { animation: fadeIn .4s ease; }
.modal .x { position: absolute; top: 14px; right: 14px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 16px; cursor: pointer; transition: background .3s, transform .3s var(--ease); }
.modal .x:hover { background: var(--gold); color: var(--forest); transform: rotate(90deg); }
.m-head { display: flex; gap: 16px; align-items: center; padding: 28px 60px 24px 28px; background: linear-gradient(140deg, var(--forest), #12543c); color: #fff; }
.m-head small { color: var(--gold-2); font: 800 11px var(--body); letter-spacing: .2em; text-transform: uppercase; }
.m-head h3 { font-size: 1.35rem; margin-top: 4px; }
.m-ic { flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; font-size: 26px; animation: pop .7s var(--ease) .15s both; }
.m-body { padding: 22px 28px 6px; }
.m-body p { margin: 0 0 12px; }
.m-body ol, .m-body ul { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 10px; }
.m-body .sign { border-left: 3px solid var(--gold); padding-left: 14px; color: var(--mute); }
.m-body .sign b { color: var(--forest); }
.m-body .fine { font-size: 12.5px; color: var(--mute); }
.m-foot { display: flex; flex-wrap: wrap; gap: 12px; padding: 10px 28px 28px; }
.m-foot .btn { opacity: 1; animation: none; padding: 13px 22px; }
.btn.ghost { border-color: var(--line); color: var(--forest); }
.btn.ghost::before { background: var(--line); }
.up.sel .m-head { background: linear-gradient(140deg, #0b4a30, var(--emerald)); }
.up.pen .m-head { background: linear-gradient(140deg, #5a4600, #b8891a); }
.up.pen .m-head small { color: #fff3c4; }
.tm { width: min(92vw, 440px); }
.tm img { width: 100%; max-height: 64vh; object-fit: cover; object-position: top; }
.tm .m-body { padding-bottom: 24px; }
.tm small { color: var(--emerald); font-weight: 700; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; }
.tm h3 { color: var(--forest); font-size: 1.4rem; margin-top: 4px; }
.tm .x { background: rgba(11,46,34,.6); }

/* reveal + hover transitions combined (cards would otherwise drop the reveal fade) */
.card.rv, .prog.rv { transition: opacity 1s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s), box-shadow .45s var(--ease), border-color .45s, background .5s; }

/* keyframes */
@keyframes wordUp { to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.7) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes float { 50% { transform: translateY(-18px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shine { to { background-position: 200% center; } }
@keyframes blink { 50% { opacity: .25; } }
@keyframes glow { 0% { box-shadow: 0 0 0 0 rgba(212,167,44,.55); } 70% { box-shadow: 0 0 0 16px rgba(212,167,44,0); } 100% { box-shadow: 0 0 0 0 rgba(212,167,44,0); } }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes beat { 15%, 45% { transform: scale(1.22); } 30% { transform: scale(1); } }
@keyframes rise2 { 0% { opacity: 0; transform: translateY(0); } 15% { opacity: 1; } 100% { opacity: 0; transform: translateY(-110vh); } }
@keyframes resultIn { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes pop { from { transform: scale(0) rotate(-120deg); } to { transform: none; } }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
@keyframes fall { to { transform: translateY(420px) rotate(720deg); opacity: 0; } }
@keyframes lbIn { from { opacity: 0; transform: scale(.9); } }
@keyframes modalIn { from { opacity: 0; transform: translateY(30px) scale(.95); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes ripple { from { transform: scale(1); opacity: .8; } to { transform: scale(1.8); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv, .tile, .member { opacity: 1; transform: none; }
  .hero h1 .w > span { transform: none; }
}
