/* ==========================================================================
   Asha Kiran Foundation — main stylesheet
   Palette: White (dominant) + Yellow + Orange accents
   ========================================================================== */

:root {
  /* Brand */
  --yellow: #FFC107;
  --yellow-bright: #FFD54F;
  --orange: #F57C00;
  --orange-dark: #E65100;
  --orange-text: #B54708;      /* accessible orange for small text on white (5.6:1) */
  --orange-light: #FFF3E0;
  --yellow-light: #FFF8E1;
  --cream: #FFF9F0;
  --white: #FFFFFF;

  /* Text */
  --text: #222222;
  --text-2: #666666;
  --text-3: #8a8a8a;

  /* Footer */
  --footer-bg: #3A1C08;
  --footer-bg-2: #2C1405;
  --footer-text: #F3E3D3;

  /* UI */
  --border: #F1E6D8;
  --border-2: #E9E2DA;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(60, 30, 5, .05), 0 2px 8px rgba(60, 30, 5, .04);
  --shadow: 0 2px 4px rgba(60, 30, 5, .04), 0 10px 28px rgba(60, 30, 5, .07);
  --shadow-lg: 0 18px 44px rgba(60, 30, 5, .12);
  --focus: 0 0 0 3px #fff, 0 0 0 5px var(--orange-dark);

  /* Type */
  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1240px;
  --gutter: 20px;
  --section-y: 72px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --section-y: 96px; }
}
@media (min-width: 1100px) {
  :root { --section-y: 112px; --header-h: 84px; }
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--orange-text); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--orange-dark); }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--text);
  line-height: 1.2;
  margin: 0 0 .75rem;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 700; letter-spacing: -.025em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 700; letter-spacing: -.02em; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

.hl { color: var(--orange-dark); }           /* large-heading accent */
.hl-underline {
  background: linear-gradient(transparent 68%, rgba(255, 193, 7, .45) 68%);
  padding: 0 .08em;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--text); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: #fff; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.section--cream { background: var(--cream); }
.section--tight { padding: calc(var(--section-y) * .6) 0; }

.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--text-2); font-size: 1.05rem; margin: 0; }
.section-head--left { margin-left: 0; text-align: left; }
.section-head--split {
  max-width: none; display: flex; flex-wrap: wrap; gap: 20px 40px;
  align-items: flex-end; justify-content: space-between; text-align: left;
}
.section-head--split > div { max-width: 640px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: .8rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-text); margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--yellow), var(--orange));
}
.section-head:not(.section-head--left):not(.section-head--split) .eyebrow::after {
  content: ""; width: 26px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
}

.lead { font-size: 1.125rem; color: var(--text-2); }
.muted { color: var(--text-2); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid { gap: 28px; }
}

.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .split--reverse > :first-child { order: 2; }
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--yellow); --btn-fg: var(--text); --btn-bd: var(--yellow);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 26px;
  font-family: var(--font-head); font-size: .98rem; font-weight: 600; line-height: 1.2;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 2px solid var(--btn-bd); border-radius: 999px;
  cursor: pointer; white-space: nowrap; text-align: center;
  transition: transform .25s var(--ease), background-color .25s var(--ease),
              border-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); color: var(--btn-fg); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { border-radius: 999px; }

.btn-primary { box-shadow: 0 6px 18px rgba(245, 124, 0, .22); }
.btn-primary:hover { --btn-bg: var(--orange); --btn-bd: var(--orange); box-shadow: 0 10px 24px rgba(245, 124, 0, .3); }

.btn-secondary { --btn-bg: var(--white); --btn-fg: var(--orange-text); --btn-bd: var(--orange); }
.btn-secondary:hover { --btn-bg: var(--orange-light); --btn-fg: var(--orange-dark); box-shadow: 0 8px 20px rgba(245, 124, 0, .14); }

/* Orange CTA — dark text keeps 6.4:1 contrast on #F57C00 */
.btn-orange { --btn-bg: var(--orange); --btn-bd: var(--orange); --btn-fg: #1a1a1a; box-shadow: 0 6px 18px rgba(245, 124, 0, .25); }
.btn-orange:hover { --btn-bg: var(--yellow); --btn-bd: var(--yellow); box-shadow: 0 10px 24px rgba(245, 124, 0, .3); }

.btn-dark { --btn-bg: var(--text); --btn-fg: #fff; --btn-bd: var(--text); }
.btn-dark:hover { --btn-bg: #000; --btn-bd: #000; --btn-fg: #fff; }

.btn-sm { min-height: 42px; padding: 8px 20px; font-size: .92rem; }
.btn-block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--orange-text);
}
.link-arrow svg { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
/* Shared header/footer mount points must not affect layout (keeps the header sticky) */
[data-site-header], [data-site-footer] { display: contents; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  /* Solid background: backdrop-filter would trap the fixed mobile menu inside the header */
  background: #fff;
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(60, 30, 5, .07); }
.site-header .container, .topbar .container { max-width: 1440px; }
.nav-list a { white-space: nowrap; }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); flex: none; }
.brand:hover { color: var(--text); }
.brand img { width: 44px; height: 44px; }
.brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name strong { font-family: var(--font-head); font-size: 1.18rem; font-weight: 700; letter-spacing: -.01em; }
.brand-name span { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--orange-text); margin-top: 3px; }

.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list a {
  position: relative; display: block; padding: 10px 10px;
  font-family: var(--font-head); font-size: .95rem; font-weight: 500; color: var(--text);
  border-radius: 8px;
}
.nav-list a::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 2px;
  background: var(--orange); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-list a:hover { color: var(--orange-dark); }
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-list a[aria-current="page"] { color: var(--orange-text); font-weight: 600; }

.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .btn { min-height: 46px; padding: 10px 22px; }
.header-cta .btn svg { width: 17px; height: 17px; }
.header-cta .btn:hover svg { transform: scale(1.12); }

.nav-toggle {
  display: none; width: 46px; height: 46px; padding: 0;
  align-items: center; justify-content: center;
  background: var(--orange-light); color: var(--text);
  border: 0; border-radius: 12px; cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }
.mobile-donate { display: none; }

@media (max-width: 1199px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { margin-left: auto; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; margin: 0;
    background: var(--white); border-top: 1px solid var(--border);
    padding: 20px var(--gutter) 32px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-list a { padding: 15px 16px; font-size: 1.08rem; border-radius: 12px; }
  .nav-list a::after { display: none; }
  .nav-list a:hover, .nav-list a[aria-current="page"] { background: var(--cream); }
  .nav-list a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--orange); }
  .mobile-donate { display: block; margin-top: 20px; }
  body.nav-open { overflow: hidden; }
}
/* Long organisation name: let it shrink instead of pushing the menu button off-screen */
.brand { min-width: 0; }
.brand-name { min-width: 0; }
@media (max-width: 699px) {
  .header-cta .btn { display: none; }
  .header-inner { gap: 12px; }
}
@media (max-width: 479px) {
  .brand { gap: 10px; }
  .brand img { width: 36px; height: 36px; }
  .brand-name strong { font-size: .86rem; }
  .brand-name span { font-size: .6rem; letter-spacing: .08em; }
}
@media (max-width: 359px) {
  .brand-name strong { font-size: .78rem; }
}

/* ---------- Latest Notice ticker (index page) ---------- */
/* Placed in normal flow ABOVE the sticky header so nothing overlaps. */
.notice-ticker {
  position: relative; z-index: 98;
  background: var(--footer-bg); color: #F3E3D3;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-size: .92rem;
}
.notice-ticker__inner {
  display: flex; align-items: center; gap: 18px;
  min-height: 44px; padding: 0 var(--gutter);
}
.notice-ticker__label {
  display: inline-flex; align-items: center; gap: 8px;
  flex: none;
  font-family: var(--font-head); font-size: .78rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--yellow-bright);
}
.notice-ticker__label svg { width: 16px; height: 16px; }
.notice-ticker__track {
  flex: 1; overflow: hidden; position: relative;
}
.notice-ticker__scroller {
  display: flex;
  width: 200%; /* 2 items × 100% */
  animation: ticker-scroll 20s linear infinite;
}
.notice-ticker__item {
  flex: 0 0 50%; /* 100% / 2 */
  min-width: 0;
  box-sizing: border-box;
  padding-right: 24px;
  display: flex; align-items: center;
}
.notice-ticker__item a {
  color: #F3E3D3; font-weight: 500;
  transition: color .2s var(--ease);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.notice-ticker__item a:hover { color: var(--yellow-bright); }
.notice-ticker__item::before {
  content: "";
  flex: none; width: 6px; height: 6px; border-radius: 50%;
  background: var(--yellow-bright); margin-right: 10px;
}
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .notice-ticker__scroller { animation: none; overflow-x: auto; display: flex; }
  .notice-ticker__track { overflow-x: auto; }
  .notice-ticker__item { flex: 0 0 auto; min-width: auto; }
}
@media (max-width: 640px) {
  .notice-ticker__label { display: none; }
  .notice-ticker__item { padding-right: 16px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 72px; overflow: hidden; }
.hero::before {                          /* soft warm wash, right side */
  content: ""; position: absolute; z-index: -1;
  top: -10%; right: -12%; width: 60%; height: 120%;
  background: radial-gradient(closest-side, rgba(255, 213, 79, .18), transparent);
}
.hero-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) {
  .hero { padding: 72px 0 104px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 64px; }
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 8px; margin-bottom: 22px;
  background: var(--orange-light); border-radius: 999px;
  font-size: .88rem; font-weight: 500; color: #7a3a06;
}
.hero-badge i {
  display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--yellow); color: var(--text);
}
.hero-badge svg { width: 14px; height: 14px; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { max-width: 560px; margin-bottom: 34px; }

.hero-trust {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px;
  margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--border);
}
.avatars { display: flex; }
.avatars img {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
  border: 3px solid #fff; margin-left: -12px; box-shadow: var(--shadow-sm);
}
.avatars img:first-child { margin-left: 0; }
.hero-trust p { margin: 0; font-size: .92rem; color: var(--text-2); line-height: 1.5; }
.hero-trust strong { color: var(--text); font-family: var(--font-head); }

.hero-visual { position: relative; max-width: 560px; margin: 0 auto; width: 100%; }
.hero-img-main {
  position: relative; z-index: 1;
  border-radius: 200px 200px var(--radius-lg) var(--radius-lg);
  overflow: hidden; aspect-ratio: 1 / 1.05; box-shadow: var(--shadow-lg);
}
.hero-img-main img { width: 100%; height: 100%; object-fit: cover; }
.hero-deco-ring {
  position: absolute; z-index: 0; top: -22px; right: -22px;
  width: 58%; aspect-ratio: 1; border-radius: 50%;
  border: 3px dashed rgba(245, 124, 0, .45);
}
.hero-deco-blob {
  position: absolute; z-index: 0; bottom: -26px; left: -26px;
  width: 46%; aspect-ratio: 1; border-radius: 34px;
  background: var(--yellow-bright); opacity: .9;
}
.hero-deco-dots {
  position: absolute; z-index: 2; top: 18%; left: -30px; width: 84px; height: 84px;
  background-image: radial-gradient(var(--orange) 2px, transparent 2.5px);
  background-size: 14px 14px; opacity: .55;
}
.hero-card {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 14px 18px;
}
.hero-card .ic { width: 44px; height: 44px; }
.hero-card strong { display: block; font-family: var(--font-head); font-size: 1.2rem; line-height: 1.1; }
.hero-card span { font-size: .82rem; color: var(--text-2); }
.hero-card--a { left: -18px; bottom: 16%; }
.hero-card--b { right: -14px; top: 12%; }
@media (max-width: 599px) {
  .hero-card--a { left: 8px; bottom: 6%; }
  .hero-card--b { right: 8px; top: 6%; }
  .hero-card { padding: 10px 14px; }
  .hero-card .ic { width: 38px; height: 38px; }
  .hero-card strong { font-size: 1.05rem; }
  .hero-deco-dots { display: none; }
}

/* ---------- Icon tile ---------- */
.ic {
  display: inline-grid; place-items: center; flex: none;
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--orange-light); color: var(--orange-dark);
}
.ic svg { width: 26px; height: 26px; }
.ic--yellow { background: var(--yellow-light); color: #9A5B00; }
.ic--solid { background: var(--yellow); color: var(--text); }
.ic--round { border-radius: 50%; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: 64px 0 60px; background: var(--cream);
  border-bottom: 1px solid var(--border);
}
.page-hero::after {
  content: ""; position: absolute; right: -80px; top: -80px;
  width: 300px; height: 300px; border-radius: 50%;
  border: 3px dashed rgba(245, 124, 0, .28);
}
.page-hero::before {
  content: ""; position: absolute; right: 120px; bottom: -60px;
  width: 140px; height: 140px; border-radius: 32px;
  background: rgba(255, 213, 79, .45); transform: rotate(18deg);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 14px; }
.page-hero p { max-width: 620px; color: var(--text-2); font-size: 1.08rem; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: var(--text-2); margin-bottom: 18px; }
.breadcrumb a { color: var(--text-2); }
.breadcrumb a:hover { color: var(--orange-dark); }
.breadcrumb span[aria-hidden] { color: var(--orange); }
@media (min-width: 960px) { .page-hero { padding: 88px 0 80px; } }

/* ---------- About / media blocks ---------- */
.media-stack { position: relative; padding: 0 0 40px 0; max-width: 560px; margin: 0 auto; width: 100%; }
.media-stack .m-main { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 4.3; box-shadow: var(--shadow); }
.media-stack .m-main img { width: 100%; height: 100%; object-fit: cover; }
.media-stack .m-sub {
  position: absolute; right: -8px; bottom: 0; width: 44%;
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 1;
  border: 6px solid #fff; box-shadow: var(--shadow-lg);
}
.media-stack .m-sub img { width: 100%; height: 100%; object-fit: cover; }
.media-stack::before {
  content: ""; position: absolute; z-index: -1; left: -20px; top: -20px;
  width: 42%; aspect-ratio: 1; border-radius: 28px; background: var(--orange-light);
}
.exp-badge {
  position: absolute; left: 20px; bottom: 60px;
  background: var(--yellow); color: var(--text);
  border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow);
  font-family: var(--font-head); line-height: 1.2;
}
.exp-badge strong { display: block; font-size: 2rem; font-weight: 700; }
.exp-badge span { font-size: .82rem; font-weight: 500; }

.check-list { display: grid; gap: 12px; margin: 26px 0 32px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23222' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}
@media (min-width: 600px) { .check-list--2 { grid-template-columns: 1fr 1fr; } }

.mini-values { display: grid; gap: 16px; margin: 28px 0 32px; }
@media (min-width: 600px) { .mini-values { grid-template-columns: 1fr 1fr; } }
.mini-value { display: flex; gap: 14px; align-items: flex-start; }
.mini-value .ic { width: 48px; height: 48px; border-radius: 12px; }
.mini-value .ic svg { width: 22px; height: 22px; }
.mini-value h4 { margin: 2px 0 4px; }
.mini-value p { margin: 0; font-size: .94rem; color: var(--text-2); line-height: 1.55; }

/* ---------- Cards ---------- */
.card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-media { position: relative; aspect-ratio: 16 / 10.5; overflow: hidden; background: var(--orange-light); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.card-body h3 { margin-bottom: 10px; }
.card-body h3 a { color: inherit; }
.card-body h3 a:hover { color: var(--orange-dark); }
.card-body > p { color: var(--text-2); font-size: .96rem; line-height: 1.65; }
.card-foot { margin-top: auto; padding-top: 18px; }

/* program card */
.program-card .card-media .ic {
  position: absolute; left: 20px; bottom: -24px; z-index: 1;
  width: 52px; height: 52px; background: var(--yellow); color: var(--text);
  box-shadow: 0 6px 16px rgba(245, 124, 0, .25);
}
.program-card .card-media { overflow: visible; }
.program-card .card-media img { border-radius: var(--radius) var(--radius) 0 0; }
.program-card .card-media-clip { overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; height: 100%; }
.program-card .card-body { padding-top: 38px; }
.program-card .tag { position: absolute; right: 14px; top: 14px; }

.progress { margin: 6px 0 4px; }
.progress-top { display: flex; justify-content: space-between; font-size: .85rem; margin-bottom: 8px; }
.progress-top span { color: var(--text-2); }
.progress-top strong { font-family: var(--font-head); font-weight: 600; }
.progress-bar { height: 8px; border-radius: 8px; background: #F4EDE4; overflow: hidden; }
.progress-bar span {
  display: block; height: 100%; border-radius: 8px;
  background: linear-gradient(90deg, var(--yellow), var(--orange));
}
.progress-meta { display: flex; justify-content: space-between; font-size: .82rem; color: var(--text-2); margin-top: 8px; }
.progress-meta b { color: var(--text); font-weight: 600; }

.card-foot--split {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border-top: 1px solid var(--border); margin-top: 20px; padding-top: 16px;
}
.impact-note { display: inline-flex; gap: 8px; align-items: center; font-size: .85rem; color: var(--text-2); }
.impact-note svg { width: 16px; height: 16px; color: var(--orange); }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  background: #fff; color: #7a3a06; font-size: .78rem; font-weight: 600;
  letter-spacing: .02em; box-shadow: var(--shadow-sm);
}
.tag--soft { background: var(--orange-light); box-shadow: none; }

/* feature (icon) card, no image */
.feature-card {
  height: 100%; padding: 32px 28px; border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow);
  border-top: 3px solid transparent;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-top-color: var(--orange); }
.feature-card .ic { margin-bottom: 20px; }
.feature-card p { color: var(--text-2); font-size: .96rem; margin: 0; }
.feature-card .link-arrow { margin-top: 18px; }

/* ---------- Impact statistics ---------- */
.stats-band {
  position: relative; overflow: hidden;
  background: var(--orange-light); border-radius: var(--radius-lg);
  padding: 48px 24px;
}
.stats-band::before, .stats-band::after {
  content: ""; position: absolute; border-radius: 50%;
}
.stats-band::before { width: 220px; height: 220px; right: -70px; top: -90px; background: rgba(255, 193, 7, .28); }
.stats-band::after { width: 160px; height: 160px; left: -60px; bottom: -80px; border: 3px dashed rgba(245, 124, 0, .35); }
.stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
@media (min-width: 900px) {
  .stats-band { padding: 64px 48px; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat + .stat { border-left: 1px solid rgba(230, 81, 0, .16); }
}
.stat { text-align: center; padding: 0 8px; }
.stat .ic { width: 52px; height: 52px; margin: 0 auto 14px; background: #fff; }
.stat strong {
  display: block; font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 700; line-height: 1;
  color: var(--orange-dark); letter-spacing: -.02em;
}
.stat span { display: block; margin-top: 10px; font-weight: 500; color: var(--text); }
.stat small { display: block; color: var(--text-2); font-size: .85rem; }

/* ---------- Donation CTA ---------- */
.donate-cta {
  position: relative; overflow: hidden;
  display: grid; align-items: stretch;
  background: var(--cream); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
@media (min-width: 900px) { .donate-cta { grid-template-columns: .9fr 1.1fr; } }
.donate-cta-media { position: relative; min-height: 260px; }
.donate-cta-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.donate-cta-body { position: relative; padding: 40px 28px; }
@media (min-width: 900px) { .donate-cta-body { padding: 64px 56px; } }
.donate-cta-body::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 180px; height: 180px;
  border-radius: 50%; background: rgba(255, 213, 79, .35); z-index: 0;
}
.donate-cta-body > * { position: relative; z-index: 1; }
.donate-cta h2 { max-width: 520px; }
.donate-cta p { color: var(--text-2); max-width: 520px; font-size: 1.05rem; }

.amounts { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 28px; }
.amount {
  min-width: 88px; padding: 11px 18px; border-radius: 12px;
  background: #fff; border: 2px solid var(--border-2);
  font-family: var(--font-head); font-weight: 600; cursor: pointer;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), transform .2s var(--ease);
}
.amount:hover { border-color: var(--orange); transform: translateY(-1px); }
.amount[aria-pressed="true"] { border-color: var(--orange); background: var(--yellow); }
.secure-note { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: .86rem; color: var(--text-2); }
.secure-note svg { width: 16px; height: 16px; color: var(--orange-dark); }

/* ---------- Testimonials ---------- */
.testimonial {
  display: flex; flex-direction: column; height: 100%;
  padding: 32px 28px 28px; background: #fff;
  border-radius: var(--radius); box-shadow: var(--shadow);
  position: relative;
}
.testimonial .q {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  background: var(--yellow); color: var(--text); margin-bottom: 20px;
}
.testimonial .q svg { width: 20px; height: 20px; }
.stars { display: flex; gap: 3px; color: var(--yellow); margin-bottom: 14px; }
.stars svg { width: 17px; height: 17px; }
.testimonial blockquote { margin: 0 0 24px; color: #444; font-size: 1rem; line-height: 1.75; flex: 1; }
.person { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--border); }
.person img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 3px solid var(--orange-light); }
.person strong { display: block; font-family: var(--font-head); font-size: 1rem; font-weight: 600; line-height: 1.3; }
.person span { font-size: .86rem; color: var(--text-2); }

/* ---------- Events ---------- */
.event-card .card-media { aspect-ratio: 16 / 11; }
.date-badge {
  position: absolute; left: 16px; top: 16px; z-index: 1;
  display: grid; place-items: center; width: 62px; padding: 8px 0 7px;
  background: #fff; border-radius: 12px; box-shadow: var(--shadow);
  font-family: var(--font-head); line-height: 1; text-align: center;
}
.date-badge strong { font-size: 1.45rem; font-weight: 700; color: var(--orange-dark); }
.date-badge span { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }
.event-card .tag { position: absolute; right: 14px; top: 16px; z-index: 1; }
.event-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 12px; font-size: .85rem; color: var(--text-2); }
.event-meta span { display: inline-flex; align-items: center; gap: 6px; }
.event-meta svg { width: 15px; height: 15px; color: var(--orange); }

.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.filter {
  padding: 9px 20px; border-radius: 999px; cursor: pointer;
  background: #fff; border: 1.5px solid var(--border-2);
  font-family: var(--font-head); font-size: .92rem; font-weight: 500;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.filter:hover { border-color: var(--orange); }
.filter[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); font-weight: 600; }
[hidden] { display: none !important; }

/* ---------- Volunteer ---------- */
.volunteer {
  position: relative; overflow: hidden;
  display: grid; gap: 40px; align-items: center;
  padding: 40px 24px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow);
}
@media (min-width: 960px) {
  .volunteer { grid-template-columns: 1.1fr .9fr; padding: 64px; gap: 64px; }
}
.volunteer::before {
  content: ""; position: absolute; left: -40px; top: -40px; width: 160px; height: 160px;
  border-radius: 50%; background: rgba(255, 213, 79, .3);
}
.volunteer > * { position: relative; }
.volunteer-media { position: relative; max-width: 460px; width: 100%; margin: 0 auto; }
.volunteer-media img { border-radius: var(--radius-lg); aspect-ratio: 1 / 1.05; object-fit: cover; width: 100%; }
.volunteer-media::after {
  content: ""; position: absolute; z-index: -1; right: -16px; bottom: -16px;
  width: 70%; height: 70%; border-radius: var(--radius-lg); background: var(--yellow-bright);
}
.volunteer-perks { display: grid; gap: 14px; margin: 24px 0 32px; }
@media (min-width: 560px) { .volunteer-perks { grid-template-columns: 1fr 1fr; } }
.perk { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 12px; background: var(--cream); font-weight: 500; font-size: .95rem; }
.perk .ic { width: 38px; height: 38px; border-radius: 10px; background: #fff; }
.perk .ic svg { width: 18px; height: 18px; }

/* ---------- Team ---------- */
.team-card { text-align: center; }
.team-card .card-media { aspect-ratio: 1 / 1; }
.team-card .card-body { padding: 22px 20px 26px; align-items: center; }
.team-card h3 { font-size: 1.1rem; margin-bottom: 2px; }
.team-card .role { color: var(--orange-text); font-size: .9rem; font-weight: 500; margin: 0; }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; gap: 28px; max-width: 820px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 23px; top: 8px; bottom: 8px; width: 2px; background: var(--border); }
.tl-item { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 20px; }
.tl-dot {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--yellow); font-family: var(--font-head); font-weight: 700; font-size: .78rem;
  box-shadow: 0 0 0 6px #fff;
}
.tl-body { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 24px; }
.tl-body h3 { font-size: 1.1rem; margin-bottom: 6px; }
.tl-body p { margin: 0; color: var(--text-2); font-size: .95rem; }

/* ---------- Partners strip ---------- */
.partners { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 44px; }
.partner {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: #9b8f84;
  transition: color .2s var(--ease);
}
.partner svg { width: 26px; height: 26px; }
.partner:hover { color: var(--orange-dark); }
.partners-label { text-align: center; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 22px; font-weight: 600; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 32px 24px; }
@media (min-width: 768px) { .form-card { padding: 44px; } }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 8px; }
.field label .req { color: var(--orange-dark); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px;
  background: #fff; border: 1.5px solid var(--border-2); border-radius: 12px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #9d9d9d; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #d8c7b4; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255, 193, 7, .28);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #C62828; }
.field-error { display: none; margin-top: 6px; font-size: .84rem; color: #B71C1C; }
.field.has-error .field-error { display: block; }
.checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; color: var(--text-2); cursor: pointer; }
.checkbox input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--orange); flex: none; }
.form-success {
  display: none; align-items: flex-start; gap: 12px; margin-top: 18px; padding: 16px 18px;
  border-radius: 12px; background: #FFF6D6; color: #5c3300; font-weight: 500;
}
.form-success.is-visible { display: flex; }
.form-success svg { width: 22px; height: 22px; flex: none; color: var(--orange-dark); }
.form-error {
  display: none; align-items: flex-start; gap: 12px; margin-top: 18px; padding: 16px 18px;
  border-radius: 12px; background: #FDECEA; color: #8E1B1B; font-weight: 500;
}
.form-error.is-visible { display: flex; }
.form-error svg { width: 22px; height: 22px; flex: none; color: #C62828; }
.form-error a { color: inherit; text-decoration: underline; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
form.is-sending [type="submit"] { opacity: .7; cursor: progress; transform: none; }

.chip-group { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: 9px 16px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--border-2); background: #fff; font-size: .92rem; font-weight: 500;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.chip span:hover { border-color: var(--orange); }
.chip input:checked + span { background: var(--yellow); border-color: var(--yellow); font-weight: 600; }
.chip input:focus-visible + span { box-shadow: var(--focus); }

/* Donate page */
.donate-layout { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1000px) { .donate-layout { grid-template-columns: 1.25fr .75fr; gap: 40px; } }
.segmented { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--cream); border: 1px solid var(--border); margin-bottom: 24px; }
.segmented button {
  padding: 10px 22px; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--text-2);
}
.segmented button[aria-pressed="true"] { background: #fff; color: var(--text); box-shadow: var(--shadow-sm); }
.amount-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 560px) { .amount-grid { grid-template-columns: repeat(4, 1fr); } }
.amount-grid .amount { width: 100%; min-height: 56px; font-size: 1.05rem; }
.impact-hint { margin: 16px 0 0; padding: 14px 16px; border-radius: 12px; background: var(--orange-light); font-size: .93rem; color: #5c3300; display: flex; gap: 10px; }
.impact-hint svg { width: 20px; height: 20px; flex: none; color: var(--orange-dark); margin-top: 2px; }
.form-divider { height: 1px; background: var(--border); margin: 28px 0; border: 0; }
.form-label { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; margin: 0 0 14px; }

.side-card { background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.side-card + .side-card { margin-top: 24px; }
.side-card h3 { font-size: 1.15rem; }
.side-list { display: grid; gap: 16px; }
.side-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .94rem; color: var(--text-2); line-height: 1.55; }
.side-list li .ic { width: 40px; height: 40px; border-radius: 10px; background: #fff; }
.side-list li .ic svg { width: 19px; height: 19px; }
.side-list strong { display: block; color: var(--text); font-family: var(--font-head); font-weight: 600; font-size: .98rem; }
.bank-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.bank-table th, .bank-table td { text-align: left; padding: 9px 0; border-bottom: 1px dashed #e8d9c6; vertical-align: top; }
.bank-table th { color: var(--text-2); font-weight: 500; width: 42%; }
.bank-table td { font-weight: 600; }
.bank-table tr:last-child th, .bank-table tr:last-child td { border-bottom: 0; }

/* Contact */
.contact-cards { display: grid; gap: 20px; }
@media (min-width: 640px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .contact-cards { grid-template-columns: repeat(4, 1fr); } }
.contact-card { padding: 28px 24px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); height: 100%; }
.contact-card .ic { margin-bottom: 16px; }
.contact-card h3 { font-size: 1.08rem; margin-bottom: 6px; }
.contact-card p, .contact-card a { color: var(--text-2); font-size: .95rem; margin: 0; }
.contact-card a:hover { color: var(--orange-dark); }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); min-height: 360px; height: 100%; background: var(--cream); }
.map-frame iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; cursor: pointer; list-style: none;
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--orange-light); color: var(--orange-dark); font-size: 1.2rem; font-weight: 500;
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--yellow); color: var(--text); }
.faq details[open] { border-color: #f5d9b3; }
.faq .faq-body { padding: 0 24px 22px; color: var(--text-2); }
.faq .faq-body p { margin: 0; }

/* Program detail rows (programs page) */
.program-row { display: grid; gap: 32px; align-items: center; padding: 48px 0; border-bottom: 1px solid var(--border); }
.program-row:last-child { border-bottom: 0; }
@media (min-width: 960px) {
  .program-row { grid-template-columns: 1fr 1fr; gap: 64px; padding: 64px 0; }
  .program-row:nth-child(even) .program-row-media { order: 2; }
}
.program-row-media { position: relative; }
.program-row-media img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.program-row-media .ic { position: absolute; left: 20px; top: 20px; background: var(--yellow); color: var(--text); box-shadow: var(--shadow); }
.program-row h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.program-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0 28px; }
.program-kpis div { background: var(--cream); border-radius: 12px; padding: 14px 12px; text-align: center; }
.program-kpis strong { display: block; font-family: var(--font-head); font-size: 1.35rem; color: var(--orange-dark); line-height: 1.2; }
.program-kpis span { font-size: .8rem; color: var(--text-2); line-height: 1.3; display: block; margin-top: 4px; }

/* Jump nav (programs) */
.jump-nav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--border); }
.jump-nav ul { display: flex; gap: 6px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.jump-nav ul::-webkit-scrollbar { display: none; }
.jump-nav a {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 8px 16px; border-radius: 999px; font-size: .9rem; font-weight: 500; color: var(--text);
  background: var(--cream);
}
.jump-nav a:hover { background: var(--orange-light); color: var(--orange-dark); }
.jump-nav svg { width: 16px; height: 16px; color: var(--orange-dark); }
.program-row { scroll-margin-top: calc(var(--header-h) + 70px); }

/* Mission / Vision big cards */
.mv-card { height: 100%; padding: 36px 30px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.mv-card--accent { background: var(--yellow); box-shadow: 0 16px 36px rgba(245, 124, 0, .2); }
.mv-card--accent .ic { background: #fff; }
.mv-card--accent p { color: #3b2a12; }
.mv-card h3 { font-size: 1.35rem; margin-top: 20px; }
.mv-card p { color: var(--text-2); margin: 0; }

/* ---------- Info list cards ---------- */
.info-card { height: 100%; padding: 40px 32px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.info-card h3 { font-size: 1.45rem; margin: 0 0 24px; color: var(--text); }
.info-list { display: grid; gap: 16px; list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--text-2); line-height: 1.5; font-size: .96rem; }
.info-list li strong { color: var(--text); font-weight: 600; min-width: 140px; flex: none; }
.info-list .ic { width: 32px; height: 32px; flex: none; border-radius: 8px; background: var(--cream); color: var(--orange); }
.info-list .ic svg { width: 16px; height: 16px; }
.info-list .ic--green { background: #e8f5e9; color: #2e7d32; }

/* ---------- License table ---------- */
.license-table-wrapper {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow);
  overflow: hidden; padding: 24px; max-width: 900px; margin: 0 auto;
}
.license-table { width: 100%; border-collapse: collapse; text-align: left; }
.license-table th {
  background: var(--teal); color: #fff; padding: 14px 20px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
}
.license-table td { padding: 14px 20px; border-bottom: 1px solid var(--cream); color: var(--text-2); font-size: .95rem; }
.license-table tr:last-child td { border-bottom: none; }
.license-table td:first-child { font-weight: 600; color: var(--text); width: 40%; }
.license-footer { padding: 20px 20px 0; border-top: 1px solid var(--cream); margin-top: 10px; }
.print-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--teal); font-weight: 600; font-size: .9rem;
  transition: opacity .2s var(--ease);
}
.print-link:hover { opacity: .8; }
.print-link svg { width: 18px; height: 18px; }

@media print {
  .site-header, .site-footer, .to-top, .cta-panel, .license-footer, .eyebrow, .btn, .notice-ticker { display: none !important; }
  body { background: #fff; }
  .section { padding: 20px 0; }
  .license-table-wrapper { box-shadow: none; padding: 0; max-width: none; }
  .license-table th { background: #eee !important; color: #000 !important; border: 1px solid #ddd; }
  .license-table td { border: 1px solid #ddd; }
}

/* ---------- Final CTA strip ---------- */
.cta-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  padding: 40px 28px; border-radius: var(--radius-lg);
  background: var(--yellow); position: relative; overflow: hidden;
}
@media (min-width: 900px) { .cta-strip { padding: 52px 56px; } }
.cta-strip::after {
  content: ""; position: absolute; right: -40px; top: -60px; width: 220px; height: 220px; border-radius: 50%;
  background: rgba(245, 124, 0, .22);
}
.cta-strip > * { position: relative; z-index: 1; }
.cta-strip h2 { margin: 0 0 6px; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-strip p { margin: 0; color: #3b2a12; }
.cta-strip .btn-secondary { --btn-bd: var(--text); --btn-fg: var(--text); }
.cta-strip .btn-secondary:hover { --btn-bg: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: var(--footer-text); }
.site-footer a { color: var(--footer-text); }
.site-footer a:hover { color: var(--yellow-bright); }
.footer-top { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-news {
  display: grid; gap: 20px; align-items: center; padding: 40px 0;
}
@media (min-width: 900px) { .footer-news { grid-template-columns: 1fr auto; } }
.footer-news h2 { color: #fff; font-size: 1.5rem; margin-bottom: 4px; }
.footer-news p { margin: 0; color: #d9c3ae; }
.news-form { display: flex; gap: 10px; flex-wrap: wrap; }
.news-form input {
  flex: 1 1 240px; min-width: 0; min-height: 50px; padding: 12px 20px; border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); color: #fff;
}
.news-form input::placeholder { color: #bfa792; }
.news-form input:focus { outline: none; border-color: var(--yellow); background: rgba(255, 255, 255, .1); }
@media (min-width: 900px) { .news-form input { width: 320px; } }
.news-form .form-success { flex-basis: 100%; }

.footer-main { display: grid; gap: 40px; padding-top: 56px; padding-bottom: 44px; }
@media (min-width: 640px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-main { grid-template-columns: 1.5fr 1fr 1.1fr 1.3fr; gap: 48px; } }
.footer-brand .brand { color: #fff; margin-bottom: 18px; }
.footer-brand .brand-name span { color: var(--yellow-bright); }
.footer-brand .footer-reg { margin: 0; font-size: .88rem; }
.footer-brand p { color: #d9c3ae; font-size: .95rem; max-width: 340px; }
.site-footer h3 {
  color: #fff; font-size: 1.05rem; margin-bottom: 20px; padding-bottom: 12px; position: relative;
}
.site-footer h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 3px; border-radius: 3px; background: var(--yellow); }
.footer-links { display: grid; gap: 10px; font-size: .95rem; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; }
.footer-links a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); flex: none; transition: transform .2s var(--ease); }
.footer-links a:hover::before { transform: scale(1.4); background: var(--yellow); }
.footer-contact { display: grid; gap: 14px; font-size: .95rem; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--yellow); }
.socials { display: flex; gap: 10px; margin: 22px 0 24px; }
.socials a {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, .08); color: #fff;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.socials a:hover { background: var(--yellow); color: var(--text); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { background: var(--footer-bg-2); padding: 20px 0; font-size: .88rem; color: #c9b29c; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-bottom a { color: #c9b29c; }
.site-footer :focus-visible { box-shadow: 0 0 0 3px var(--footer-bg), 0 0 0 5px var(--yellow); }

/* ---------- Secretary's Message (index page) ---------- */
.secretary-message__card {
  position: relative;
  width: 100%;
  max-width: 1115px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--orange-dark), var(--orange));
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
.secretary-message__circle {
  position: absolute;
  right: 60px;
  bottom: -30px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 193, 7, 0.32);
  z-index: 1;
  pointer-events: none;
}
.secretary-message__content {
  position: relative;
  z-index: 2;
}
.secretary-message__quote {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  color: var(--yellow);
  margin: 0 0 14px 0;
  letter-spacing: -2px;
}
.secretary-message__heading {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 22px 0;
}
.secretary-message__text {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
  color: #fff;
  max-width: 680px;
  margin: 0;
}
.secretary-message__image-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 328px;
  padding: 35px;
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.secretary-message__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 258 / 172;
  object-fit: cover;
  border-radius: 8px;
}
@media (min-width: 900px) {
  .secretary-message__card {
    display: flex;
    align-items: center;
    gap: 40px;
    min-height: 326px;
  }
  .secretary-message__content { flex: 1 1 65%; }
  .secretary-message__image-wrapper { flex: 1 1 35%; max-width: none; }
}
@media (max-width: 899px) and (min-width: 600px) {
  .secretary-message__card {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 36px;
  }
  .secretary-message__quote { font-size: 40px; }
  .secretary-message__heading { font-size: 24px; }
  .secretary-message__text { font-size: 15px; }
  .secretary-message__image-wrapper { padding: 26px; }
}
@media (max-width: 599px) {
  .secretary-message__card {
    flex-direction: column;
    padding: 32px 24px;
    min-height: auto;
  }
  .secretary-message__quote { font-size: 36px; }
  .secretary-message__heading { font-size: 22px; }
  .secretary-message__text { font-size: 15px; }
  .secretary-message__image-wrapper {
    width: 100%;
    max-width: none;
    padding: 24px;
    margin-top: 24px;
  }
  .secretary-message__circle {
    right: 30px;
    bottom: 10px;
    width: 130px;
    height: 130px;
  }
}

/* ---------- Floating contact buttons (Call + WhatsApp) ---------- */
.floating-contact {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 95;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}
.floating-contact__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 56px;
  min-height: 56px;
  padding: 0 18px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: .92rem;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.floating-contact__btn svg { width: 22px; height: 22px; }
.floating-contact__btn:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34); }
.floating-contact__btn:focus-visible { outline: none; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--orange-dark); }
.floating-contact__btn--whatsapp { background: #25D366; }
.floating-contact__btn--call { background: var(--orange); color: #1a1a1a; }
@media (max-width: 560px) {
  .floating-contact__btn { justify-content: center; }
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--yellow); color: var(--text); border: 0; cursor: pointer; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background-color .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--orange); }
.to-top svg { width: 22px; height: 22px; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: 48px; }
.center-row { display: flex; justify-content: center; }

/* ==========================================================================
   Co-operative components
   ========================================================================== */

/* ---------- Top bar ---------- */
.topbar { background: var(--footer-bg); color: #F3E3D3; font-size: .86rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar-info { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.topbar-info a, .topbar-info span { display: inline-flex; align-items: center; gap: 8px; color: #F3E3D3; }
.topbar-info a:hover { color: var(--yellow-bright); }
.topbar-info svg { width: 15px; height: 15px; color: var(--yellow); }
.topbar-info b { font-weight: 600; color: #fff; }
.topbar .socials { margin: 0; gap: 6px; }
.topbar .socials a { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #fff; }
.topbar .socials a:hover { background: var(--yellow); color: var(--text); }
.topbar .socials svg { width: 15px; height: 15px; }
.topbar :focus-visible { box-shadow: 0 0 0 2px var(--yellow); }
@media (max-width: 767px) {
  .topbar .socials { display: none !important; }
  .topbar .container { justify-content: center; }
  .topbar-info { gap: 12px; }
  .topbar-info a { font-size: .82rem; }
  .topbar-email { display: inline-flex !important; }
}

/* ---------- Quick services (under hero) ---------- */
.quick-card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  padding: 30px 26px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); border-bottom: 3px solid transparent;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.quick-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-bottom-color: var(--orange); }
.quick-card .ic { margin-bottom: 20px; transition: background-color .3s var(--ease), color .3s var(--ease); }
.quick-card:hover .ic { background: var(--yellow); color: var(--text); }
.quick-card h3 { margin-bottom: 8px; }
.quick-card h3 a { color: inherit; }
.quick-card p { color: var(--text-2); font-size: .95rem; margin-bottom: 18px; }
.quick-card .link-arrow { margin-top: auto; }
.quick-card .num {
  position: absolute; right: 22px; top: 18px;
  font-family: var(--font-head); font-weight: 700; font-size: 2.4rem; line-height: 1;
  color: #F7EBDC; pointer-events: none;
}

/* ---------- About stats ---------- */
.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 28px 0 32px; }
@media (min-width: 600px) { .about-stats { grid-template-columns: repeat(4, 1fr); } }
.about-stats div { padding: 16px 10px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); text-align: center; border-top: 3px solid var(--yellow); }
.about-stats strong { display: block; font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; color: var(--orange-dark); line-height: 1.1; }
.about-stats span { font-size: .82rem; color: var(--text-2); }
.mvv { display: grid; gap: 16px; margin: 24px 0 0; }
.mvv > div { display: flex; gap: 14px; align-items: flex-start; }
.mvv .ic { width: 44px; height: 44px; border-radius: 12px; }
.mvv .ic svg { width: 20px; height: 20px; }
.mvv h4 { margin: 0 0 2px; }
.mvv p { margin: 0; font-size: .94rem; color: var(--text-2); line-height: 1.55; }

/* ---------- Product cards (deposits / loans) ---------- */
.product-card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  padding: 32px 28px 28px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid transparent;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #F8DDB8; }
.product-card--featured { border-color: var(--yellow); box-shadow: 0 16px 40px rgba(245, 124, 0, .14); }
.product-card .ribbon {
  position: absolute; right: 20px; top: -13px;
  padding: 5px 14px; border-radius: 999px; background: var(--yellow);
  font-family: var(--font-head); font-size: .76rem; font-weight: 600; letter-spacing: .03em;
}
.product-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.product-head h3 { margin: 0; }
.product-head small { display: block; color: var(--text-2); font-size: .85rem; margin-top: 2px; }
.product-card > p { color: var(--text-2); font-size: .96rem; }
.rate {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; padding: 14px 18px; margin: 4px 0 20px;
  border-radius: 12px; background: var(--yellow-light);
}
.rate strong { font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; color: var(--orange-dark); line-height: 1; }
.rate span { font-size: .88rem; color: #6b4a1a; }
.list-title { font-family: var(--font-head); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #7d7268; margin: 0 0 10px; }
.tick-list { display: grid; gap: 9px; margin-bottom: 20px; font-size: .94rem; }
.tick-list li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.tick-list svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--orange); }
.eligibility { padding: 14px 16px; border-radius: 12px; border: 1px dashed #EFCB9A; font-size: .9rem; color: var(--text-2); margin-bottom: 22px; line-height: 1.6; }
.eligibility b { display: block; color: var(--text); font-family: var(--font-head); font-weight: 600; margin-bottom: 2px; }
.product-card .btn { margin-top: auto; }

/* ---------- Why choose ---------- */
.why-list { display: grid; gap: 16px; }
@media (min-width: 640px) { .why-list { grid-template-columns: 1fr 1fr; } }
.why-item { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.why-item .ic { width: 46px; height: 46px; border-radius: 12px; }
.why-item .ic svg { width: 21px; height: 21px; }
.why-item h4 { margin: 0 0 4px; }
.why-item p { margin: 0; font-size: .92rem; color: var(--text-2); line-height: 1.55; }
.why-item--wide { grid-column: 1 / -1; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 24px; counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 16px; border-radius: 50%;
  background: var(--yellow); font-family: var(--font-head); font-weight: 700;
}
.step h3 { font-size: 1.08rem; margin-bottom: 6px; }
.step p { margin: 0; color: var(--text-2); font-size: .94rem; }

/* ---------- Big CTA panel ---------- */
.cta-panel {
  position: relative; overflow: hidden; display: grid; gap: 28px; align-items: center;
  padding: 44px 28px; border-radius: var(--radius-lg); background: var(--orange-light);
  border: 1px solid #F8DDB8;
}
@media (min-width: 900px) { .cta-panel { grid-template-columns: 1.3fr .7fr; padding: 60px 56px; } }
.cta-panel::before { content: ""; position: absolute; width: 260px; height: 260px; right: -80px; top: -110px; border-radius: 50%; background: rgba(255, 193, 7, .35); }
.cta-panel::after { content: ""; position: absolute; width: 150px; height: 150px; left: 40%; bottom: -90px; border-radius: 50%; border: 3px dashed rgba(245, 124, 0, .35); }
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel h2 { margin-bottom: 10px; }
.cta-panel p { color: #5c4630; margin: 0; font-size: 1.05rem; max-width: 560px; }
@media (min-width: 900px) { .cta-panel .btn-row { justify-content: flex-end; } }
.cta-contact { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-size: .95rem; color: #5c4630; }
.cta-contact .ic { width: 42px; height: 42px; border-radius: 50%; background: #fff; }
.cta-contact .ic svg { width: 19px; height: 19px; }
.cta-contact a { font-family: var(--font-head); font-weight: 600; color: var(--text); }

/* ---------- Staff ---------- */
.staff-card .card-media { aspect-ratio: 1 / 1; }
.staff-card .card-body { padding: 22px 22px 24px; }
.staff-card h3 { font-size: 1.12rem; margin-bottom: 2px; }
.staff-card .role { color: var(--orange-text); font-weight: 600; font-size: .92rem; margin: 0 0 10px; }
.staff-card .dept { align-self: flex-start; margin-bottom: 12px; }
.staff-card .card-body > p { font-size: .92rem; margin: 0; }
.staff-contact { display: flex; gap: 8px; margin-top: auto; padding-top: 18px; }
.staff-contact a {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--orange-light); color: var(--orange-dark);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.staff-contact a:hover { background: var(--yellow); color: var(--text); }
.staff-contact svg { width: 16px; height: 16px; }

/* ---------- Service cards ---------- */
.service-card {
  display: flex; flex-direction: column; height: 100%;
  padding: 30px 26px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.service-card .ic { margin-bottom: 20px; transition: transform .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease); }
.service-card:hover .ic { background: var(--yellow); color: var(--text); transform: rotate(-6deg); }
.service-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.service-card p { color: var(--text-2); font-size: .94rem; margin-bottom: 18px; }
.service-card .link-arrow { margin-top: auto; }
.service-card .rate { margin-bottom: 16px; }
.service-card .rate + .link-arrow { margin-top: 0; }

/* ---------- Noticeboard ---------- */
.notice-layout { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1000px) { .notice-layout { grid-template-columns: 1fr 320px; gap: 40px; } }
.notice-list { display: grid; gap: 16px; }
.notice {
  display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: start;
  padding: 20px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow);
  border-left: 4px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.notice:hover { box-shadow: var(--shadow-lg); border-left-color: var(--orange); transform: translateX(3px); }
.notice--important { border-left-color: var(--yellow); }
@media (min-width: 640px) { .notice { grid-template-columns: 84px 1fr auto; gap: 22px; padding: 24px 26px; align-items: center; } }
.notice-date {
  display: grid; place-items: center; padding: 10px 0; border-radius: 12px;
  background: var(--yellow-light); font-family: var(--font-head); line-height: 1; text-align: center;
}
.notice-date strong { font-size: 1.6rem; font-weight: 700; color: var(--orange-dark); }
.notice-date span { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; }
.notice-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 6px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.badge--new { background: var(--orange-dark); color: #fff; }
.badge--important { background: var(--yellow); color: var(--text); }
.badge--cat { background: #F4EFE9; color: #5f5448; }
.notice h3 { font-size: 1.1rem; margin-bottom: 4px; }
.notice h3 a { color: var(--text); }
.notice h3 a:hover { color: var(--orange-dark); }
.notice p { margin: 0; color: var(--text-2); font-size: .93rem; line-height: 1.6; }
.notice .link-arrow { grid-column: 2; white-space: nowrap; }
@media (min-width: 640px) { .notice .link-arrow { grid-column: auto; } }

/* ---------- Gallery ---------- */
.gallery-cell { margin: 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 700px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 1100px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.gallery-item {
  position: relative; display: block; width: 100%; margin: 0; padding: 0; border: 0; cursor: zoom-in;
  aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: var(--orange-light);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(40, 18, 2, .75));
  opacity: 0; transition: opacity .35s var(--ease);
}
.gallery-cap {
  position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; text-align: left;
  color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .92rem; line-height: 1.3;
  opacity: 0; transform: translateY(8px); transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.gallery-cap small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .75rem; color: var(--yellow-bright); margin-bottom: 2px; }
.gallery-item .zoom {
  position: absolute; right: 12px; top: 12px; z-index: 1;
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--yellow); color: var(--text); opacity: 0; transform: scale(.8);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.gallery-item .zoom svg { width: 17px; height: 17px; }
.gallery-item:focus-visible { border-radius: var(--radius); }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.06); }
.gallery-item:hover::after, .gallery-item:focus-visible::after,
.gallery-item:hover .gallery-cap, .gallery-item:focus-visible .gallery-cap,
.gallery-item:hover .zoom, .gallery-item:focus-visible .zoom { opacity: 1; transform: none; }
@media (hover: none) { .gallery-item::after, .gallery-cap { opacity: 1; transform: none; } }

/* Year sections + Year / Photos / Videos filters */
.gallery-toolbar { display: grid; gap: 12px; margin-bottom: 44px; }
.gallery-toolbar .filters { margin-bottom: 0; }
.gallery-filters--type .filter { padding: 7px 16px; font-size: .86rem; }
.gallery-filters--type .filter span { margin-left: 4px; color: var(--text-2); font-weight: 500; }
.gallery-year + .gallery-year { margin-top: 56px; }
.gallery-year-title {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px;
  font-size: clamp(1.5rem, 3vw, 2rem); padding-bottom: 14px; margin-bottom: 22px;
  border-bottom: 2px solid var(--border);
}
.gallery-year-count { font-family: var(--font-body); font-size: .9rem; font-weight: 500; color: var(--text-2); letter-spacing: 0; }
.gallery-empty { text-align: center; color: var(--text-2); padding: 40px 0; margin: 0; }

/* Video tiles: YouTube thumbnail + play badge always visible */
.gallery-item--video { cursor: pointer; }
.gallery-item .play {
  position: absolute; left: 50%; top: 50%; z-index: 1; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: rgba(24, 12, 3, .62); color: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.gallery-item .play svg { width: 24px; height: 24px; margin-left: 3px; }
.gallery-item:hover .play, .gallery-item:focus-visible .play { background: var(--yellow); color: var(--text); transform: translate(-50%, -50%) scale(1.08); }
@media (max-width: 480px) { .gallery-item .play { width: 44px; height: 44px; } .gallery-item .play svg { width: 19px; height: 19px; } }
@media (max-width: 480px) { .gallery-cap { font-size: .8rem; left: 10px; bottom: 8px; } }

.lightbox {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center;
  padding: 72px 16px; background: rgba(24, 12, 3, .93);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); text-align: center; }
.lightbox img { max-height: 74vh; width: auto; margin: 0 auto; border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.lightbox .lb-video { width: min(1100px, calc(100vw - 32px), calc(74vh * 16 / 9)); aspect-ratio: 16 / 9; margin: 0 auto; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.lightbox .lb-video iframe { display: block; width: 100%; height: 100%; border: 0; }
.lightbox figcaption { margin-top: 16px; color: #fff; font-family: var(--font-head); font-weight: 500; }
.lightbox figcaption small { display: block; color: var(--yellow-bright); font-family: var(--font-body); font-size: .82rem; margin-top: 2px; }
.lb-btn {
  position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 0; cursor: pointer; background: rgba(255,255,255,.12); color: #fff;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.lb-btn:hover { background: var(--yellow); color: var(--text); }
.lb-btn svg { width: 24px; height: 24px; }
.lb-close { right: 16px; top: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; left: 22px; top: 28px; color: #d9c3ae; font-size: .9rem; }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; } }
.lightbox :focus-visible { box-shadow: 0 0 0 3px var(--yellow); }

/* ---------- Member directory ---------- */
.directory-tools { display: grid; gap: 14px; margin-bottom: 24px; }
@media (min-width: 800px) { .directory-tools { grid-template-columns: 1fr 210px 190px; align-items: end; } }
.search-field { position: relative; }
.search-field svg { position: absolute; left: 16px; bottom: 15px; width: 19px; height: 19px; color: var(--text-3); pointer-events: none; }
.search-field input { padding-left: 46px; }
.dir-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; font-size: .92rem; color: var(--text-2); }
.dir-summary b { color: var(--text); }
.table-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.member-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.member-table th {
  text-align: left; padding: 16px 20px; background: var(--yellow-light);
  font-family: var(--font-head); font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #5c4630;
}
.member-table td { padding: 15px 20px; border-top: 1px solid var(--border); vertical-align: middle; }
.member-table tbody tr { transition: background-color .2s var(--ease); }
.member-table tbody tr:hover { background: var(--cream); }
.member-id { font-family: var(--font-head); font-weight: 600; color: var(--orange-text); }
.member-name { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.initials {
  display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: var(--orange-light); color: var(--orange-dark); font-family: var(--font-head); font-weight: 600; font-size: .78rem;
}
/* Staff photo: covers the initials; if the photo is missing, the initials show instead */
.staff-photo { position: relative; overflow: hidden; width: 48px; height: 48px; font-size: .9rem; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--border); }
.staff-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Meet Our Leadership Team: one row per leader, 50% photo / 50% text */
.leader-row {
  display: grid; overflow: hidden; background: #fff;
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.leader-row + .leader-row { margin-top: 32px; }
.leader-row__media { position: relative; aspect-ratio: 1 / 1; background: var(--orange-light); }
.leader-row__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.leader-row__body { display: flex; flex-direction: column; justify-content: center; padding: 32px 24px 36px; }
.leader-row__role {
  align-self: flex-start; padding: 6px 16px; margin-bottom: 14px; border-radius: 999px;
  background: var(--yellow); color: var(--text);
  font-family: var(--font-head); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.leader-row__body h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 16px; }
.leader-row__body p {
  margin: 0; padding-left: 18px; border-left: 3px solid var(--orange);
  color: var(--text-2); font-size: 1.05rem; line-height: 1.8;
}
@media (min-width: 768px) {
  .leader-row { grid-template-columns: 1fr 1fr; }
  .leader-row__media { aspect-ratio: auto; min-height: 420px; }
  .leader-row__body { padding: 48px 56px; }
  .leader-row--reverse .leader-row__media { order: 2; }
}

/* Board of Directors: large round photo, centred card */
.director-card { text-align: center; }
.director-photo { width: 104px; height: 104px; margin: 0 auto 18px; font-size: 1.6rem; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--yellow); }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--active { background: #E8F5E9; color: #1B5E20; }
.status--inactive { background: #F1EFED; color: #5f5448; }
.status--pending { background: var(--yellow-light); color: #8a4b00; }
/* Staff list table (members.html) */
.staff-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--text); white-space: nowrap; }
.staff-phone svg { width: 16px; height: 16px; color: var(--orange-dark); flex: none; }
.staff-phone:hover { color: var(--orange-dark); }
.empty-state { padding: 48px 20px; text-align: center; color: var(--text-2); }
.empty-state .ic { margin: 0 auto 14px; }
@media (max-width: 767px) {
  .table-card { background: transparent; box-shadow: none; overflow: visible; }
  .member-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .member-table, .member-table tbody, .member-table tr, .member-table td { display: block; width: 100%; }
  .member-table tbody { display: grid; gap: 12px; }
  .member-table tr { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 6px 18px; }
  .member-table tbody tr:hover { background: #fff; }
  .member-table td { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px dashed var(--border); text-align: right; }
  .member-table td:first-child { border-top: 0; }
  .member-table td::before { content: attr(data-label); font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #7d7268; text-align: left; }
}
.pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 28px; }
.pagination button {
  min-width: 42px; height: 42px; padding: 0 12px; border-radius: 12px; cursor: pointer;
  background: #fff; border: 1.5px solid var(--border-2); font-family: var(--font-head); font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.pagination button:hover:not(:disabled) { border-color: var(--orange); }
.pagination button[aria-current="page"] { background: var(--yellow); border-color: var(--yellow); }
.pagination button:disabled { opacity: .45; cursor: not-allowed; }
.pagination svg { width: 18px; height: 18px; }

/* ---------- Contact cards (3) ---------- */
.contact-cards--3 { display: grid; gap: 20px; }
@media (min-width: 760px) { .contact-cards--3 { grid-template-columns: repeat(3, 1fr); } }
.contact-cards--3 .contact-card { text-align: center; padding: 36px 24px; }
.contact-cards--3 .ic { margin: 0 auto 18px; width: 66px; height: 66px; border-radius: 50%; background: var(--yellow); color: var(--text); }
.contact-cards--3 .contact-card:nth-child(2) .ic { background: var(--orange); color: var(--text); }

/* ---------- Scroll reveal (only when JS is on) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* Compact desktop header for 1340–1519px screens */
@media (min-width: 1340px) and (max-width: 1519px) {
  .header-inner { gap: 16px; }
  .nav-list { gap: 0; }
  .nav-list a { padding: 10px 8px; font-size: .9rem; }
  .nav-list a::after { left: 8px; right: 8px; }
  .header-cta .btn { padding: 10px 18px; font-size: .92rem; }
  .header-cta .btn svg { display: none; }
  .brand-name strong { font-size: 1.02rem; }
  .brand-name span { font-size: .66rem; letter-spacing: .08em; }
}

/* Tight desktop header for 1200–1339px screens: full menu instead of the hamburger */
@media (min-width: 1200px) and (max-width: 1339px) {
  .header-inner { gap: 12px; }
  .nav-list { gap: 0; }
  .nav-list a { padding: 10px 6px; font-size: .86rem; }
  .nav-list a::after { left: 6px; right: 6px; }
  .header-cta .btn { min-height: 42px; padding: 8px 14px; font-size: .86rem; }
  .header-cta .btn svg { display: none; }
  .brand { gap: 10px; }
  .brand img { width: 38px; height: 38px; }
  .brand-name strong { font-size: .92rem; }
  .brand-name span { font-size: .6rem; letter-spacing: .06em; }
}
