/* ==========================================================================
   Save The Environment — Design System
   --------------------------------------------------------------------------
   1.  Design tokens
   2.  Reset & base
   3.  Typography
   4.  Layout primitives
   5.  Motion system
   6.  Buttons & links
   7.  Header, navigation, search
   8.  Hero
   9.  Home sections
   10. Inner pages
   11. Forms
   12. Footer
   13. Utilities & responsive
   ========================================================================== */

/* ==========================================================================
   0. Fonts
   --------------------------------------------------------------------------
   SolaimanLipi is self-hosted rather than pulled from a third-party Bangla
   CDN: it removes an extra DNS + TLS round trip on the critical path, and the
   site keeps working if that CDN is slow or unreachable. Only the two weights
   actually used are shipped.
   ========================================================================== */

@font-face {
  font-family: 'SolaimanLipi';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/solaimanlipi-normal.bc2966855e97.woff2") format('woff2');
}

@font-face {
  font-family: 'SolaimanLipi';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/solaimanlipi-bold.719b786faad1.woff2") format('woff2');
}

/* 600 maps to the bold file so semibold UI text does not get synthesised. */
@font-face {
  font-family: 'SolaimanLipi';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/solaimanlipi-bold.719b786faad1.woff2") format('woff2');
}

/* ==========================================================================
   1. Design tokens
   ========================================================================== */

:root {
  /* Brand greens */
  --leaf-50:  #f3faef;
  --leaf-100: #e4f7d9;
  --leaf-200: #c8edb4;
  --leaf-300: #a2de85;
  --leaf-400: #77c954;
  --leaf-500: #52b032;
  --leaf-600: #3d8f24;
  --leaf-700: #2f6f20;
  --leaf-800: #28571f;
  --leaf-900: #1d3f18;
  --leaf-950: #0d2410;

  /* Accents */
  --lime: #b7e33a;
  --ocean: #12a3a8;
  --amber: #f0a52a;
  --clay: #d4703c;

  /* Semantic surface + text
     --brand is the green that carries white text (buttons, badges, arrows).
     It is #35801f rather than --leaf-600, because white on --leaf-600 scores
     4.08:1 — just under the WCAG AA 4.5:1 minimum. This value clears it at
     4.93:1 and also passes as body-size text on white. */
  --brand: #35801f;
  --brand-strong: var(--leaf-700);
  --brand-bright: var(--leaf-400);
  /* Green used for TEXT (kickers, links, icon glyphs) as opposed to green
     used as a surface. It must invert in dark mode: a dark green that reads
     well on white is nearly invisible on a near-black background. */
  --brand-text: var(--brand);
  --ink: #0e1410;
  --text: #2c332e;
  --muted: #667069;
  --faint: #8d968f;
  --paper: #ffffff;
  --soft: #f4f7f2;
  --soft-2: #e9efe6;
  --line: #dde4da;
  --line-strong: #c6d0c2;
  --card: #ffffff;
  --dark-surface: #0f1712;
  --dark-surface-2: #16211a;

  /* Effects */
  --shadow-sm: 0 2px 8px rgba(16, 38, 22, .06);
  --shadow: 0 12px 32px rgba(16, 38, 22, .10);
  --shadow-lg: 0 28px 64px rgba(16, 38, 22, .16);
  --shadow-glow: 0 16px 40px rgba(82, 176, 50, .28);
  --ring: 0 0 0 3px rgba(119, 201, 84, .45);

  /* Geometry */
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shell: min(1280px, 100% - 3rem);
  --header-h: 72px;

  /* Motion */
  --ease-out: cubic-bezier(.22, .94, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .5, 1);
  --t-fast: .18s;
  --t: .32s;
  --t-slow: .6s;

  /* Type */
  --font-display: 'Barlow Condensed', 'SolaimanLipi', system-ui, sans-serif;
  --font-body: 'Inter', 'SolaimanLipi', system-ui, -apple-system, sans-serif;
  --font-bn: 'SolaimanLipi', 'Inter', system-ui, sans-serif;

  color-scheme: light;
}

.dark {
  --brand-text: var(--leaf-400);
  --ink: #f2f7f3;
  --text: #cfd8d1;
  --muted: #98a49c;
  --faint: #7b867f;
  --paper: #0b100d;
  --soft: #111812;
  --soft-2: #182118;
  --line: #26312a;
  --line-strong: #35433a;
  --card: #121a15;
  --dark-surface: #080c09;
  --dark-surface-2: #101711;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .3);
  --shadow: 0 12px 32px rgba(0, 0, 0, .42);
  --shadow-lg: 0 28px 64px rgba(0, 0, 0, .55);

  color-scheme: dark;
}

/* Bangla typography — Barlow Condensed has no Bengali glyphs, so the
   display face is swapped wholesale when the site language is Bangla. */
.lang-bn {
  --font-display: 'SolaimanLipi', 'Inter', system-ui, sans-serif;
  --font-body: 'SolaimanLipi', 'Inter', system-ui, sans-serif;
}

/* ==========================================================================
   2. Reset & base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body.gp-body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color var(--t) var(--ease-out), color var(--t) var(--ease-out);
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, dl, dd { margin: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
::selection { background: var(--leaf-400); color: #08140a; }

/* Focus — visible for keyboards, quiet for mouse users */
.gp-body :focus { outline: none; }
.gp-body :focus-visible {
  outline: 3px solid var(--leaf-400);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: .75rem;
  left: -100vw;
  z-index: 999;
  /* Brand green rather than var(--ink), which inverts to near-white in
     dark mode and would render this white-on-white. */
  background: var(--brand);
  color: #fff;
  padding: .75rem 1.25rem;
  font-weight: 700;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.skip-link:focus { left: .75rem; }

/* Custom scrollbar (desktop only) */
@media (pointer: fine) {
  ::-webkit-scrollbar { width: 11px; height: 11px; }
  ::-webkit-scrollbar-track { background: var(--soft); }
  ::-webkit-scrollbar-thumb {
    background: var(--line-strong);
    border-radius: 99px;
    border: 3px solid var(--soft);
  }
  ::-webkit-scrollbar-thumb:hover { background: var(--brand); }
}

/* ==========================================================================
   3. Typography
   ========================================================================== */

h1, h2, h3, h4, h5 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.lang-bn h1, .lang-bn h2, .lang-bn h3, .lang-bn h4 {
  line-height: 1.3;
  letter-spacing: 0;
  font-weight: 700;
}

h1 { font-size: clamp(2.5rem, 1.6rem + 4vw, 5rem); text-transform: uppercase; }
h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.5rem); text-transform: uppercase; }
h3 { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.65rem); }
.lang-bn h1, .lang-bn h2 { text-transform: none; }

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 700; color: var(--ink); }
small { font-size: .82rem; }

/* Eyebrow / kicker label above headings */
.gp-kicker {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 1rem;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand-text);
}
.gp-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.lang-bn .gp-kicker { letter-spacing: .04em; text-transform: none; }
.gp-kicker-light { color: var(--lime); }

.gp-card-meta {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.lang-bn .gp-card-meta { letter-spacing: .03em; text-transform: none; }

/* ==========================================================================
   4. Layout primitives
   ========================================================================== */

.gp-shell {
  width: var(--shell);
  margin-inline: auto;
}

.gp-section { padding: clamp(4rem, 2.5rem + 6vw, 7.5rem) 0; }
.gp-page-section { padding: clamp(3.5rem, 2.5rem + 5vw, 6rem) 0; }

/* Section heading: title block left, "view all" link right */
.gp-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.25rem, 1.5rem + 2.5vw, 3.5rem);
  flex-wrap: wrap;
}
.gp-section-heading > div { max-width: 46ch; }
.gp-section-heading h2 { margin: 0; }

/* ==========================================================================
   5. Motion system
   ========================================================================== */

@keyframes gp-fade-up {
  from { opacity: 0; transform: translate3d(0, 26px, 0); }
  to   { opacity: 1; transform: none; }
}
@keyframes gp-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
@keyframes gp-pulse-ring {
  0%   { transform: scale(.9); opacity: .7; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}
@keyframes gp-ken-burns {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to   { transform: scale(1.18) translate3d(-1.5%, -1.5%, 0); }
}
@keyframes gp-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes gp-spin { to { transform: rotate(360deg); } }
@keyframes gp-sheen {
  from { transform: translateX(-120%) skewX(-18deg); }
  to   { transform: translateX(320%) skewX(-18deg); }
}

/* Scroll-reveal. Elements start hidden and are released by IntersectionObserver.
   A `no-js` fallback in <head> removes this behaviour entirely if JS is off. */
.reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition:
    opacity var(--t-slow) var(--ease-out),
    transform var(--t-slow) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* Safety net: if JS never runs, nothing may stay invisible. */
.no-js .reveal { opacity: 1; transform: none; }

/* ==========================================================================
   6. Buttons & links
   ========================================================================== */

.gp-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.75rem;
  border-radius: 99px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .01em;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform var(--t) var(--ease-spring),
    box-shadow var(--t) var(--ease-out),
    background-color var(--t) var(--ease-out),
    color var(--t) var(--ease-out),
    border-color var(--t) var(--ease-out);
}
.gp-btn span { transition: transform var(--t) var(--ease-spring); }
.gp-btn:hover span { transform: translateX(4px); }
.gp-btn:active { transform: translateY(1px) scale(.99); }

/* Animated sheen sweep on hover */
.gp-btn::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: translateX(-120%) skewX(-18deg);
  z-index: -1;
}
.gp-btn:hover::after { animation: gp-sheen .75s var(--ease-out); }

.gp-btn-green {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.gp-btn-green:hover {
  background: var(--brand-strong);
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(82, 176, 50, .4);
}

.gp-btn-dark {
  background: var(--ink);
  color: #fff;
}
.dark .gp-btn-dark { background: var(--brand); }
.gp-btn-dark:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  background: var(--leaf-700);
}

.gp-btn-ghost {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .55);
  backdrop-filter: blur(6px);
}
.gp-btn-ghost:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
  transform: translateY(-3px);
}

/* Underlined text link with sliding rule */
.gp-text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 700;
  font-size: .9rem;
  color: var(--brand-text);
  padding-bottom: 3px;
  white-space: nowrap;
}
.dark .gp-text-link { color: var(--brand-text); }
.gp-text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(.34);
  transform-origin: left;
  transition: transform var(--t) var(--ease-out);
}
.gp-text-link:hover::after { transform: scaleX(1); }
.gp-text-link span { transition: transform var(--t) var(--ease-spring); }
.gp-text-link:hover span { transform: translateX(4px); }

.gp-download {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.1rem;
  border-radius: 99px;
  border: 1.5px solid var(--line-strong);
  font-size: .85rem;
  font-weight: 700;
  color: var(--ink);
  transition: all var(--t) var(--ease-out);
}
.gp-download:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* ==========================================================================
   7. Header, navigation, search
   ========================================================================== */

.gp-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    box-shadow var(--t) var(--ease-out),
    border-color var(--t) var(--ease-out),
    transform var(--t-slow) var(--ease-out);
}
.gp-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 26px rgba(16, 38, 22, .08);
}
.dark .gp-header.is-scrolled { box-shadow: 0 6px 26px rgba(0, 0, 0, .5); }

/* Hide the header while scrolling down; restore it on scroll up */
.gp-header.is-hidden { transform: translateY(-100%); }


/* Language switch — sits in the main nav beside the theme toggle. */
.gp-language {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 40px;
  padding: .4rem .9rem;
  border-radius: 99px;
  border: 1.5px solid var(--line);
  font-size: .85rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  transition: background-color var(--t-fast) var(--ease-out),
              border-color var(--t-fast) var(--ease-out),
              color var(--t-fast) var(--ease-out);
}
.gp-language svg { flex: none; opacity: .75; }
.gp-language:hover {
  background: var(--soft-2);
  border-color: var(--line-strong);
  color: var(--brand-text);
}

/* --- Main nav row ------------------------------------------------------ */
.gp-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.gp-brand { display: inline-flex; align-items: center; gap: .8rem; }
/* The emblem is transparent and trimmed to its own bounds, so it needs no
   tile behind it — it sits directly on the header and on the dark footer. */
.gp-brand-mark {
  flex: none;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  transition: transform var(--t) var(--ease-spring), filter var(--t) var(--ease-out);
}
.gp-brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.gp-brand:hover .gp-brand-mark {
  transform: rotate(-6deg) scale(1.08);
  filter: drop-shadow(0 6px 14px rgba(82, 176, 50, .45));
}
.gp-brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.gp-brand-copy strong {
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--ink);
}
.lang-bn .gp-brand-copy strong { text-transform: none; font-size: 1.05rem; }
.gp-brand-copy small { color: var(--muted); font-size: .72rem; }

.gp-desktop-nav { display: flex; align-items: center; gap: .25rem; }
.gp-nav-link {
  position: relative;
  padding: .55rem .85rem;
  border-radius: 8px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--text);
  transition: color var(--t-fast) var(--ease-out);
}
.gp-nav-link::after {
  content: "";
  position: absolute;
  left: .85rem;
  right: .85rem;
  bottom: .3rem;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t) var(--ease-out);
}
.gp-nav-link:hover { color: var(--brand-text); }

.gp-nav-link:hover::after,
.gp-nav-link.is-active::after { transform: scaleX(1); }
.gp-nav-link.is-active { color: var(--brand-text); }


.gp-nav-actions { display: flex; align-items: center; gap: .5rem; }

.gp-icon-button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  transition: background-color var(--t-fast) var(--ease-out), transform var(--t) var(--ease-spring);
}
.gp-icon-button:hover { background: var(--soft-2); transform: scale(1.08); }
.gp-icon-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.gp-icon-button [data-theme-icon] { font-size: 1.05rem; line-height: 1; }

.gp-action-button {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .7rem 1.4rem;
  border-radius: 99px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  box-shadow: var(--shadow-glow);
  transition: transform var(--t) var(--ease-spring), background-color var(--t) var(--ease-out), box-shadow var(--t) var(--ease-out);
}
.gp-action-button:hover {
  background: var(--brand-strong);
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(82, 176, 50, .42);
}

/* Hamburger */
.gp-menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 44px;
  min-width: 44px;
  padding: .5rem .75rem;
  border-radius: 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: .82rem;
}
.gp-menu-button b { font-weight: 700; }
.gp-menu-button:hover { background: var(--soft-2); }
.gp-menu-button .gp-bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 20px;
}
.gp-menu-button .gp-bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--t) var(--ease-out), opacity var(--t-fast) var(--ease-out);
}
.gp-menu-button[aria-expanded="true"] .gp-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.gp-menu-button[aria-expanded="true"] .gp-bars span:nth-child(2) { opacity: 0; }
.gp-menu-button[aria-expanded="true"] .gp-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --- Mobile panel ------------------------------------------------------ */
.gp-mobile-panel {
  display: none;
  overflow: hidden;
  max-height: 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  transition: max-height var(--t-slow) var(--ease-out);
}
.gp-mobile-panel.is-open { max-height: 82vh; overflow-y: auto; }
.gp-mobile-panel-inner { padding: 1.25rem 0 2rem; }

.gp-mobile-links { display: flex; flex-direction: column; }
.gp-mobile-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .95rem .25rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateX(-14px);
  transition: color var(--t-fast) var(--ease-out), opacity .4s var(--ease-out), transform .4s var(--ease-out);
}
.lang-bn .gp-mobile-links a { text-transform: none; font-size: 1.25rem; }
.gp-mobile-panel.is-open .gp-mobile-links a { opacity: 1; transform: none; }
.gp-mobile-links a span { color: var(--brand-text); transition: transform var(--t) var(--ease-spring); }
.gp-mobile-links a:hover { color: var(--brand-text); }
.gp-mobile-links a:hover span { transform: translate(4px, -4px); }

.gp-mobile-meta {
  margin-top: 1.5rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--soft);
  font-size: .9rem;
}
.gp-mobile-meta p { margin: 0 0 .5rem; color: var(--muted); }
.gp-mobile-meta a { font-weight: 700; color: var(--brand-text); }

/* --- Full-screen search ------------------------------------------------ */
.gp-search-layer {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: start center;
  padding-top: 14vh;
  visibility: hidden;
  opacity: 0;
  transition: opacity var(--t) var(--ease-out), visibility var(--t);
}
.gp-search-layer.is-open { visibility: visible; opacity: 1; }

.gp-search-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  background: rgba(8, 16, 10, .72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.gp-search-dialog {
  position: relative;
  width: var(--shell);
  max-width: 760px;
  background: var(--paper);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  transform: translateY(-24px) scale(.97);
  transition: transform var(--t-slow) var(--ease-spring);
}
.gp-search-layer.is-open .gp-search-dialog { transform: none; }

.gp-search-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.gp-search-top strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.lang-bn .gp-search-top strong { text-transform: none; }

.gp-close-button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--muted);
  transition: background-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out), transform var(--t) var(--ease-spring);
}
.gp-close-button:hover { background: var(--soft-2); color: var(--ink); transform: rotate(90deg); }

.gp-search-form { display: flex; gap: .75rem; flex-wrap: wrap; }
.gp-search-form input {
  flex: 1 1 260px;
  min-width: 0;
  padding: 1rem 1.25rem;
  border-radius: 99px;
  border: 2px solid var(--line);
  background: var(--soft);
  transition: border-color var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out);
}
.gp-search-form input:focus { border-color: var(--brand); box-shadow: var(--ring); outline: none; }
.gp-search-form button {
  padding: 1rem 1.75rem;
  border-radius: 99px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  transition: background-color var(--t) var(--ease-out), transform var(--t) var(--ease-spring);
}
.gp-search-form button:hover { background: var(--brand-strong); transform: translateY(-2px); }

/* Inline search box on dark page headers */
.gp-search-box {
  display: flex;
  gap: .6rem;
  margin-top: 1.75rem;
  max-width: 560px;
  flex-wrap: wrap;
}
.gp-search-box input {
  flex: 1 1 220px;
  min-width: 0;
  padding: .9rem 1.25rem;
  border-radius: 99px;
  border: 2px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .12);
  color: #fff;
  backdrop-filter: blur(4px);
}
.gp-search-box input::placeholder { color: rgba(255, 255, 255, .65); }
.gp-search-box input:focus {
  outline: none;
  border-color: var(--lime);
  background: rgba(255, 255, 255, .18);
}
.gp-search-box button {
  padding: .9rem 1.6rem;
  border-radius: 99px;
  background: var(--lime);
  color: #17280f;
  font-weight: 700;
  transition: transform var(--t) var(--ease-spring), background-color var(--t) var(--ease-out);
}
.gp-search-box button:hover { transform: translateY(-2px); background: #c8f24a; }

/* --- Toasts ------------------------------------------------------------ */
.gp-toast-stack {
  position: fixed;
  top: calc(var(--header-h) + 1.5rem);
  right: 1.5rem;
  z-index: 130;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  max-width: min(380px, calc(100vw - 3rem));
}
.gp-toast {
  padding: .95rem 1.25rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--leaf-400);
  animation: gp-fade-up .45s var(--ease-spring) both;
}
.dark .gp-toast { background: var(--dark-surface-2); border: 1px solid var(--line); border-left: 4px solid var(--leaf-400); }

/* ==========================================================================
   8. Hero
   --------------------------------------------------------------------------
   The hero sizes itself from its content: `min-height` sets the ambition,
   the copy block sets the floor. Nothing is clipped at any viewport.
   ========================================================================== */

.gp-hero {
  position: relative;
  isolation: isolate;
  background: var(--leaf-950);
}

.gp-hero-track { display: grid; }

/* All slides stack in one grid cell; only the active one is painted. */
.gp-hero-slide {
  grid-area: 1 / 1;
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(540px, 78vh, 820px);
  padding: clamp(3.5rem, 2rem + 7vw, 7rem) 0 clamp(5.5rem, 3rem + 8vw, 9rem);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .9s var(--ease-out), visibility .9s;
  overflow: hidden;
}
.gp-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.gp-hero-image,
.gp-hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}
.gp-hero-image { object-fit: cover; }
.gp-hero-slide.is-active .gp-hero-image {
  animation: gp-ken-burns 14s var(--ease-out) forwards;
}

/* Layered gradient fallback when no photograph is uploaded */
.gp-hero-fallback {
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 90% at 78% 22%, rgba(119, 201, 84, .55), transparent 62%),
    radial-gradient(90% 80% at 12% 82%, rgba(18, 163, 168, .38), transparent 60%),
    linear-gradient(135deg, var(--leaf-950) 0%, var(--leaf-800) 48%, var(--leaf-600) 100%);
}
.gp-hero-fallback::after {
  /* soft botanical texture */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, .06) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, .05) 0 2px, transparent 3px);
  background-size: 120px 120px, 180px 180px;
  opacity: .8;
}
/* The emblem is transparent now, so it can sit on the gradient directly —
   no mask or blend hack needed to hide a background box. */
.gp-hero-fallback img {
  width: min(38%, 380px);
  opacity: .22;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, .35));
  animation: gp-float 9s ease-in-out infinite;
}
.gp-hero-fallback-2 { filter: hue-rotate(-12deg); }
.gp-hero-fallback-3 { filter: hue-rotate(14deg); }

.gp-hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    100deg,
    rgba(6, 18, 9, .92) 0%,
    rgba(6, 18, 9, .74) 38%,
    rgba(6, 18, 9, .28) 68%,
    rgba(6, 18, 9, .12) 100%
  );
}

.gp-hero-content { width: var(--shell); }

.gp-hero-copy {
  max-width: min(760px, 92%);
  color: #fff;
}
.gp-hero-copy h1 {
  color: #fff;
  /* Deliberately capped so long bilingual headlines never swallow the view */
  font-size: clamp(2.35rem, 1.2rem + 4.4vw, 4.4rem);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .35);
}

.gp-hero-lead {
  font-size: clamp(1rem, .95rem + .35vw, 1.2rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, .88);
  max-width: 58ch;
  margin-bottom: 2rem;
}

.gp-hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }

/* Entrance choreography for the active slide */
.gp-hero-slide.is-active .gp-hero-copy > * {
  animation: gp-fade-up .85s var(--ease-out) both;
}
.gp-hero-slide.is-active .gp-hero-copy > *:nth-child(1) { animation-delay: .1s; }
.gp-hero-slide.is-active .gp-hero-copy > *:nth-child(2) { animation-delay: .22s; }
.gp-hero-slide.is-active .gp-hero-copy > *:nth-child(3) { animation-delay: .34s; }
.gp-hero-slide.is-active .gp-hero-copy > *:nth-child(4) { animation-delay: .46s; }

/* Controls sit inside the hero's bottom padding — never over the copy */
.gp-hero-controls {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.gp-hero-dots { display: flex; align-items: center; gap: .6rem; }
.gp-hero-dots button {
  width: 34px;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .34);
  transition: background-color var(--t) var(--ease-out), width var(--t) var(--ease-spring);
}
.gp-hero-dots button:hover { background: rgba(255, 255, 255, .6); }
.gp-hero-dots button.is-active { background: var(--lime); width: 56px; }

.gp-hero-arrows { display: flex; gap: .5rem; }
.gp-hero-arrows button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .4);
  color: #fff;
  font-size: 1.05rem;
  backdrop-filter: blur(6px);
  transition: background-color var(--t) var(--ease-out), transform var(--t) var(--ease-spring), border-color var(--t) var(--ease-out);
}
.gp-hero-arrows button:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
  transform: scale(1.08);
}

/* ==========================================================================
   9. Home sections
   ========================================================================== */

/* --- Commitment band --------------------------------------------------- */
.gp-intro-band {
  position: relative;
  z-index: 4;
  background: var(--brand);
  color: #fff;
}
.gp-intro-band-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.25rem, 1rem + 2vw, 3rem);
  padding: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem) 0;
}
.gp-band-label {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--lime);
  white-space: nowrap;
}
.lang-bn .gp-band-label { letter-spacing: .02em; text-transform: none; }
.gp-intro-band-inner > p {
  margin: 0;
  font-size: clamp(.95rem, .9rem + .3vw, 1.1rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, .95);
}
.gp-intro-band-inner > a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 700;
  font-size: .9rem;
  white-space: nowrap;
  padding-bottom: 3px;
  border-bottom: 2px solid rgba(255, 255, 255, .45);
  transition: border-color var(--t) var(--ease-out), gap var(--t) var(--ease-out);
}
.gp-intro-band-inner > a:hover { border-color: #fff; gap: .8rem; }

/* --- Issue / program cards --------------------------------------------- */
.gp-issues-section { background: var(--paper); }

.gp-issue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr));
  gap: clamp(1rem, .7rem + 1vw, 1.75rem);
}
/* The first card spans two columns on wide screens for editorial rhythm */
.gp-issue-card-wide { grid-column: span 2; }

.gp-issue-card { position: relative; }

.gp-issue-media {
  position: relative;
  display: block;
  height: 100%;
  min-height: 330px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  background: var(--leaf-900);
  transition: transform var(--t-slow) var(--ease-out), box-shadow var(--t-slow) var(--ease-out);
}
.gp-issue-card-wide .gp-issue-media { min-height: 400px; }
.gp-issue-media:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.gp-issue-media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}
.gp-issue-media:hover > img { transform: scale(1.08); }

/* Generated artwork when a program has no photograph */
.gp-issue-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--leaf-800), var(--leaf-600));
  overflow: hidden;
}
.gp-issue-placeholder span {
  font-size: clamp(3rem, 2rem + 4vw, 4.5rem);
  line-height: 1;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .35));
  transform: translateY(-14%);
  transition: transform var(--t-slow) var(--ease-spring);
}
.gp-issue-media:hover .gp-issue-placeholder span { transform: translateY(-14%) scale(1.12) rotate(-5deg); }
/* concentric ring motif */
.gp-issue-placeholder i {
  position: absolute;
  inset: auto -30% -55% auto;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .16);
  box-shadow:
    inset 0 0 0 22px rgba(255, 255, 255, .05),
    inset 0 0 0 44px rgba(255, 255, 255, .04);
}
.gp-issue-placeholder-1 { background: linear-gradient(150deg, #123b1c, #3d8f24); }
.gp-issue-placeholder-2 { background: linear-gradient(150deg, #0c3a3c, #12a3a8); }
.gp-issue-placeholder-3 { background: linear-gradient(150deg, #2a3d10, #77c954); }
.gp-issue-placeholder-4 { background: linear-gradient(150deg, #402a12, #d4703c); }
.gp-issue-placeholder-5 { background: linear-gradient(150deg, #14331f, #52b032); }
.gp-issue-placeholder-6 { background: linear-gradient(150deg, #103033, #2f6f20); }

.gp-issue-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 14, 7, .93) 8%, rgba(4, 14, 7, .55) 42%, rgba(4, 14, 7, .05) 78%);
  transition: opacity var(--t-slow) var(--ease-out);
}
.gp-issue-media:hover .gp-issue-overlay { opacity: .88; }

.gp-issue-content {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(1.25rem, 1rem + 1vw, 2rem);
  /* Reserve the bottom-right corner for .gp-card-arrow so long titles
     never run underneath it. */
  padding-right: calc(clamp(1.25rem, 1rem + 1vw, 2rem) + 54px);
  color: #fff;
}
.gp-issue-content .gp-card-meta { color: var(--lime); margin-bottom: .6rem; }
.gp-issue-content h3 {
  color: #fff;
  font-size: clamp(1.2rem, 1rem + .9vw, 1.8rem);
  text-transform: uppercase;
  margin-bottom: .55rem;
}
.lang-bn .gp-issue-content h3 { text-transform: none; }
.gp-issue-card-wide .gp-issue-content h3 { font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.3rem); }
.gp-issue-content p {
  font-size: .9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, .8);
  margin: 0;
  max-width: 46ch;
  /* Reveal the description on hover for a calmer default card */
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height var(--t-slow) var(--ease-out), opacity var(--t-slow) var(--ease-out), margin var(--t-slow) var(--ease-out);
}
.gp-issue-media:hover p,
.gp-issue-media:focus-visible p { max-height: 8rem; opacity: 1; margin-top: .3rem; }

.gp-card-arrow {
  position: absolute;
  right: clamp(1.25rem, 1rem + 1vw, 2rem);
  bottom: clamp(1.25rem, 1rem + 1vw, 2rem);
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 1.05rem;
  transform: scale(.85);
  opacity: .85;
  transition: transform var(--t) var(--ease-spring), background-color var(--t) var(--ease-out), opacity var(--t) var(--ease-out);
}
.gp-issue-media:hover .gp-card-arrow { transform: scale(1); opacity: 1; background: var(--lime); color: #17280f; }

/* --- Impact strip ------------------------------------------------------ */
.gp-impact-strip {
  position: relative;
  background: var(--dark-surface);
  color: #fff;
  padding: clamp(3.5rem, 2.5rem + 4vw, 5.5rem) 0;
  overflow: hidden;
}
.gp-impact-strip::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 46vw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(82, 176, 50, .22), transparent 68%);
  pointer-events: none;
}
/* Two columns — heading, then the stats — so the strip stays balanced
   whether the admin publishes one stat or four. */
.gp-impact-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 1rem + 2vw, 3.5rem);
  align-items: center;
}
.gp-impact-intro h2 { color: #fff; font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem); }

.gp-impact-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}

.gp-impact-stat {
  flex: 1 1 150px;
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding-left: 1.25rem;
  border-left: 2px solid rgba(255, 255, 255, .14);
}
.gp-impact-stat > span { font-size: 1.5rem; line-height: 1; margin-bottom: .35rem; }
.gp-impact-stat strong {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  font-weight: 700;
  line-height: 1;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}
.gp-impact-stat p { margin: 0; font-size: .85rem; color: rgba(255, 255, 255, .68); line-height: 1.45; }

/* --- About block ------------------------------------------------------- */
.gp-about-block { background: var(--soft); }
.gp-about-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 1.5rem + 3vw, 4.5rem);
  align-items: center;
}

.gp-about-visual { position: relative; }
.gp-about-logo-panel {
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(2rem, 1.5rem + 3vw, 3.5rem);
  background: var(--card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.gp-about-logo-panel::before {
  content: "";
  position: absolute;
  inset: -30% -30% auto auto;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(119, 201, 84, .2), transparent 70%);
}
.gp-about-logo-panel img {
  position: relative;
  width: min(80%, 330px);
  animation: gp-float 8s ease-in-out infinite;
}

.gp-about-stamp {
  position: absolute;
  right: clamp(-.5rem, -2vw, 0rem);
  bottom: clamp(-1.25rem, -3vw, -.75rem);
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding: 1.1rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-glow);
  max-width: 190px;
}
.gp-about-stamp strong {
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
  color: #fff;
}
.gp-about-stamp span { font-size: .74rem; line-height: 1.3; color: rgba(255, 255, 255, .88); }

.gp-about-copy h2 { margin-bottom: 1.25rem; }
.gp-about-copy .gp-btn { margin-top: 1.75rem; }

.gp-rich-text { color: var(--text); font-size: 1.02rem; line-height: 1.75; }
.gp-rich-text p { margin-bottom: 1rem; }

/* --- Updates / reports ------------------------------------------------- */
.gp-updates-section { background: var(--paper); }
.gp-update-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: clamp(1.25rem, 1rem + 1vw, 2rem);
}

.gp-update-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--t-slow) var(--ease-out), box-shadow var(--t-slow) var(--ease-out), border-color var(--t) var(--ease-out);
}
.gp-update-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--leaf-300);
}

.gp-update-art {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--leaf-800), var(--leaf-500));
  overflow: hidden;
}
.gp-update-art span {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: .02em;
}
.gp-update-art svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: rgba(255, 255, 255, .13);
  transition: transform 1s var(--ease-out);
}
.gp-update-card:hover .gp-update-art svg { transform: scale(1.1) translateY(-4px); }

.gp-update-copy { padding: clamp(1.25rem, 1rem + .8vw, 1.75rem); display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.gp-update-copy h3 { font-size: 1.3rem; }
.gp-update-copy h3 a { transition: color var(--t-fast) var(--ease-out); }
.gp-update-copy h3 a:hover { color: var(--brand-text); }
.gp-update-copy p { margin: 0; font-size: .92rem; color: var(--muted); flex: 1; }
.gp-update-copy .gp-text-link { align-self: flex-start; margin-top: .3rem; }

/* --- Gallery preview strip --------------------------------------------- */
.gp-gallery-preview { background: var(--soft); }
.gp-gallery-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: clamp(.75rem, .6rem + .6vw, 1.25rem);
}
.gp-gallery-tile {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.gp-gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.gp-gallery-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 14, 7, .85), transparent 55%);
}
.gp-gallery-tile span {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 1rem;
  color: #fff;
  font-weight: 700;
  font-size: .92rem;
  transform: translateY(6px);
  transition: transform var(--t-slow) var(--ease-out);
}
.gp-gallery-tile:hover img { transform: scale(1.08); }
.gp-gallery-tile:hover span { transform: none; }

/* --- Get involved ------------------------------------------------------ */
.gp-join-section {
  background: var(--dark-surface);
  color: #fff;
  padding: clamp(4rem, 2.5rem + 6vw, 7rem) 0;
}
.gp-join-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 1.5rem + 3vw, 4rem);
  align-items: center;
}
.gp-join-copy h2 { color: #fff; margin-bottom: 1.25rem; }
.gp-join-copy p { color: rgba(255, 255, 255, .72); max-width: 46ch; }

.gp-join-cards { display: flex; flex-direction: column; gap: .85rem; }
.gp-join-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .03);
  overflow: hidden;
  transition: background-color var(--t) var(--ease-out), border-color var(--t) var(--ease-out), transform var(--t) var(--ease-out);
}
.gp-join-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--lime);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--t) var(--ease-out);
}
.gp-join-card:hover {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(183, 227, 58, .35);
  transform: translateX(6px);
}
.gp-join-card:hover::before { transform: scaleY(1); }
.gp-join-card > span {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: rgba(255, 255, 255, .28);
  line-height: 1;
}
.gp-join-card h3 {
  grid-row: 1;
  color: #fff;
  font-size: 1.15rem;
  text-transform: uppercase;
  margin-bottom: .2rem;
}
.lang-bn .gp-join-card h3 { text-transform: none; }
.gp-join-card p { margin: 0; font-size: .86rem; color: rgba(255, 255, 255, .6); }
.gp-join-card > div { min-width: 0; }
.gp-join-card b {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: var(--lime);
  transition: background-color var(--t) var(--ease-out), transform var(--t) var(--ease-spring);
}
.gp-join-card:hover b { background: var(--lime); color: #17280f; transform: translateX(3px); }

/* --- FAQ --------------------------------------------------------------- */
.gp-faq-section { background: var(--paper); }
.gp-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 1.5rem + 3vw, 4rem);
  align-items: start;
}
.gp-faq-grid > div:first-child p { color: var(--muted); margin-top: 1rem; }

.gp-faq-list { display: flex; flex-direction: column; }
.gp-faq-list details {
  border-bottom: 1px solid var(--line);
  padding: .35rem 0;
}
.gp-faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.15rem .25rem;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
  transition: color var(--t-fast) var(--ease-out);
}
.gp-faq-list summary::-webkit-details-marker { display: none; }
.gp-faq-list summary:hover { color: var(--brand-text); }
.gp-faq-list summary span {
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--soft-2);
  color: var(--brand-text);
  font-size: 1.2rem;
  line-height: 1;
  transition: transform var(--t) var(--ease-spring), background-color var(--t) var(--ease-out), color var(--t) var(--ease-out);
}
.gp-faq-list details[open] summary span {
  transform: rotate(135deg);
  background: var(--brand);
  color: #fff;
}
.gp-faq-list details > div {
  padding: 0 .25rem 1.35rem;
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.7;
  animation: gp-fade-up .4s var(--ease-out) both;
}

/* --- Newsletter -------------------------------------------------------- */
.gp-newsletter {
  position: relative;
  background: linear-gradient(120deg, var(--leaf-700), var(--leaf-500));
  color: #fff;
  padding: clamp(3.5rem, 2.5rem + 4vw, 5.5rem) 0;
  overflow: hidden;
}
.gp-newsletter::before {
  content: "";
  position: absolute;
  inset: auto auto -60% -10%;
  width: 40vw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .14), transparent 66%);
}
.gp-newsletter-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  gap: clamp(1.75rem, 1.25rem + 2.5vw, 3.5rem);
  align-items: center;
}
.gp-newsletter h2 { color: #fff; margin-bottom: .85rem; }
.gp-newsletter p { color: rgba(255, 255, 255, .85); margin: 0; }

.gp-newsletter-form { display: flex; gap: .6rem; flex-wrap: wrap; }
.gp-newsletter-form input {
  flex: 1 1 220px;
  min-width: 0;
  padding: 1rem 1.35rem;
  border-radius: 99px;
  border: 2px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .14);
  color: #fff;
  backdrop-filter: blur(4px);
  transition: border-color var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease-out);
}
.gp-newsletter-form input::placeholder { color: rgba(255, 255, 255, .62); }
.gp-newsletter-form input:focus {
  outline: none;
  border-color: #fff;
  background: rgba(255, 255, 255, .2);
}
.gp-newsletter-form button {
  padding: 1rem 1.9rem;
  border-radius: 99px;
  /* Fixed dark, not var(--ink): this button always sits on the green
     gradient, and --ink inverts to near-white in dark mode. */
  background: #0e1410;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
  transition: transform var(--t) var(--ease-spring), background-color var(--t) var(--ease-out), box-shadow var(--t) var(--ease-out);
}
.gp-newsletter-form button:hover {
  transform: translateY(-2px);
  background: #000;
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   10. Inner pages
   ========================================================================== */

/* --- Dark page header -------------------------------------------------- */
.gp-page-hero {
  position: relative;
  padding: clamp(3.5rem, 2.5rem + 5vw, 6.5rem) 0 clamp(3rem, 2rem + 4vw, 5rem);
  background:
    radial-gradient(90% 120% at 82% 10%, rgba(82, 176, 50, .35), transparent 60%),
    linear-gradient(140deg, var(--leaf-950), var(--leaf-800) 65%, var(--leaf-700));
  color: #fff;
  overflow: hidden;
}
.gp-page-hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -55% auto;
  width: 36vw;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .1);
  box-shadow: inset 0 0 0 30px rgba(255, 255, 255, .04);
  pointer-events: none;
}
.gp-page-hero .gp-shell { position: relative; z-index: 2; }
.gp-page-hero .gp-kicker { color: var(--lime); }
.gp-page-hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 1.4rem + 3.4vw, 4rem);
  animation: gp-fade-up .75s var(--ease-out) both;
}
.gp-page-lead {
  max-width: 62ch;
  margin-top: 1.1rem;
  font-size: clamp(1rem, .95rem + .3vw, 1.15rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, .82);
  animation: gp-fade-up .75s var(--ease-out) .12s both;
}

/* Back link on detail pages */
.gp-back-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.5rem;
  padding: .5rem 1.1rem;
  border-radius: 99px;
  border: 1.5px solid rgba(255, 255, 255, .35);
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  transition: background-color var(--t) var(--ease-out), border-color var(--t) var(--ease-out), gap var(--t) var(--ease-out);
}
.gp-back-link:hover { background: rgba(255, 255, 255, .14); border-color: var(--lime); gap: .8rem; }

/* --- Two-column content grid ------------------------------------------- */
.gp-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, .95fr);
  gap: clamp(2rem, 1.5rem + 3vw, 4rem);
  align-items: start;
}

.gp-prose { font-size: 1.04rem; line-height: 1.8; color: var(--text); }
.gp-prose p { margin-bottom: 1.15rem; }
.gp-prose h2, .gp-prose h3 { margin: 2rem 0 .9rem; }
.gp-prose a { color: var(--brand-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.gp-side-card {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  padding: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  border-radius: var(--radius-xl);
  background: var(--soft);
  border: 1px solid var(--line);
}
.gp-side-card h2 { font-size: 1.5rem; margin-bottom: .9rem; }
.gp-side-card h3 { margin-bottom: .6rem; }
.gp-side-card p { color: var(--muted); font-size: .95rem; }
.gp-side-card .gp-btn { margin-top: 1.25rem; }
.gp-side-card.dark-card {
  background: var(--dark-surface);
  border-color: transparent;
  color: rgba(255, 255, 255, .82);
}
.gp-side-card.dark-card h2 { color: #fff; }
.gp-side-card.dark-card div { color: rgba(255, 255, 255, .75); }
/* `.gp-side-card p` (0,2,0) outranks `.gp-kicker-light` (0,1,0), so without
   these the kicker and the |linebreaks-wrapped body render muted grey on a
   near-black card. Match that specificity to restore legible colours. */
.gp-side-card.dark-card p { color: rgba(255, 255, 255, .75); }
.gp-side-card.dark-card .gp-kicker-light { color: var(--lime); }

.gp-side-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 2rem;
  margin-bottom: 1.1rem;
}

/* --- Standard card grid (programs) ------------------------------------- */
.gp-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: clamp(1.1rem, .9rem + .8vw, 1.75rem);
}

.gp-standard-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--t-slow) var(--ease-out), box-shadow var(--t-slow) var(--ease-out), border-color var(--t) var(--ease-out);
}
.gp-standard-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--lime));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow) var(--ease-out);
}
.gp-standard-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--leaf-300);
}
.gp-standard-card:hover::before { transform: scaleX(1); }
.gp-standard-card .icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--leaf-50);
  font-size: 1.8rem;
  margin-bottom: .35rem;
  transition: transform var(--t) var(--ease-spring), background-color var(--t) var(--ease-out);
}
.dark .gp-standard-card .icon { background: var(--soft-2); }
.gp-standard-card:hover .icon { transform: rotate(-8deg) scale(1.08); background: var(--leaf-100); }
.dark .gp-standard-card:hover .icon { background: var(--leaf-900); }
.gp-standard-card h2 { font-size: 1.32rem; }
.gp-standard-card p { margin: 0; color: var(--muted); font-size: .93rem; flex: 1; }
.gp-standard-card .gp-text-link { align-self: flex-start; margin-top: .4rem; }

/* --- Reports list ------------------------------------------------------ */
.gp-report-list { display: flex; flex-direction: column; gap: 1rem; }
.gp-report-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.25rem, 1rem + 1.5vw, 2.5rem);
  padding: clamp(1.4rem, 1.1rem + 1vw, 2rem);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform var(--t-slow) var(--ease-out), box-shadow var(--t-slow) var(--ease-out), border-color var(--t) var(--ease-out);
}
.gp-report-row:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--leaf-300);
}
.gp-report-year {
  display: grid;
  place-items: center;
  min-width: 118px;
  padding: 1rem .9rem;
  border-radius: var(--radius);
  background: linear-gradient(140deg, var(--leaf-700), var(--leaf-500));
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
}
.gp-report-row h2 { font-size: 1.4rem; margin-bottom: .45rem; }
.gp-report-row h2 a { transition: color var(--t-fast) var(--ease-out); }
.gp-report-row h2 a:hover { color: var(--brand-text); }
.gp-report-row p { margin: 0; color: var(--muted); font-size: .93rem; }
.gp-report-actions { display: flex; flex-direction: column; gap: .7rem; align-items: flex-start; }

/* --- Documents --------------------------------------------------------- */
.gp-document-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: clamp(1.1rem, .9rem + .8vw, 1.75rem);
}
.gp-doc-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.25rem;
  padding: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform var(--t-slow) var(--ease-out), box-shadow var(--t-slow) var(--ease-out), border-color var(--t) var(--ease-out);
}
.gp-doc-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--leaf-300);
}
.gp-doc-icon {
  flex: none;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--leaf-50);
  color: var(--brand-text);
  font-size: 1.35rem;
  font-weight: 700;
  transition: transform var(--t) var(--ease-spring), background-color var(--t) var(--ease-out), color var(--t) var(--ease-out);
}
.dark .gp-doc-icon { background: var(--soft-2); }
.gp-doc-card:hover .gp-doc-icon { transform: translateY(3px); background: var(--brand); color: #fff; }
.gp-doc-card h2 { font-size: 1.22rem; margin: .35rem 0 .5rem; }
.gp-doc-card p { color: var(--muted); font-size: .92rem; margin-bottom: .9rem; }

/* --- Gallery ----------------------------------------------------------- */
.gp-gallery-masonry {
  columns: 3 260px;
  column-gap: clamp(.75rem, .6rem + .6vw, 1.25rem);
}
.gp-gallery-item {
  position: relative;
  break-inside: avoid;
  margin-bottom: clamp(.75rem, .6rem + .6vw, 1.25rem);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.gp-gallery-item img { width: 100%; transition: transform 1s var(--ease-out); }
.gp-gallery-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem 1.25rem 1.1rem;
  background: linear-gradient(to top, rgba(4, 14, 7, .92), transparent);
  color: #fff;
  transform: translateY(12px);
  opacity: 0;
  transition: transform var(--t-slow) var(--ease-out), opacity var(--t-slow) var(--ease-out);
}
.gp-gallery-item figcaption strong { color: #fff; display: block; margin-bottom: .2rem; }
.gp-gallery-item figcaption p { margin: 0; font-size: .85rem; color: rgba(255, 255, 255, .78); }
.gp-gallery-item:hover img { transform: scale(1.06); }
.gp-gallery-item:hover figcaption { transform: none; opacity: 1; }

/* --- Team -------------------------------------------------------------- */
.gp-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: clamp(1.1rem, .9rem + .8vw, 1.75rem);
}
.gp-team-card {
  padding: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform var(--t-slow) var(--ease-out), box-shadow var(--t-slow) var(--ease-out);
}
.gp-team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.gp-team-photo {
  width: 104px;
  height: 104px;
  margin: 0 auto 1.1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--soft-2);
  font-size: 2.4rem;
  overflow: hidden;
  border: 3px solid var(--card);
  box-shadow: 0 0 0 2px var(--leaf-200);
}
.gp-team-photo img { width: 100%; height: 100%; object-fit: cover; }
.gp-team-card h3 { font-size: 1.2rem; margin-bottom: .2rem; }
.gp-team-card .role {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-text);
  margin-bottom: .65rem;
}
.lang-bn .gp-team-card .role { letter-spacing: .02em; text-transform: none; }
.gp-team-card p { margin: 0; font-size: .9rem; color: var(--muted); }

/* --- Mini stats -------------------------------------------------------- */
.gp-mini-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: clamp(1rem, .8rem + .8vw, 1.75rem);
}
.gp-mini-stat {
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform var(--t-slow) var(--ease-out), box-shadow var(--t-slow) var(--ease-out);
}
.gp-mini-stat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.gp-mini-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.6rem);
  line-height: 1;
  color: var(--brand-text);
  font-variant-numeric: tabular-nums;
}

.gp-mini-stat span { display: block; margin-top: .4rem; font-size: .85rem; color: var(--muted); }

/* --- Contact ----------------------------------------------------------- */
.gp-contact-card {
  padding: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  border-radius: var(--radius-xl);
  background: var(--dark-surface);
  color: rgba(255, 255, 255, .8);
}
.gp-contact-card h2 { color: #fff; font-size: 1.5rem; margin-bottom: 1.35rem; }
.gp-contact-card dt {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--lime);
  margin-top: 1.1rem;
}
.lang-bn .gp-contact-card dt { letter-spacing: .02em; text-transform: none; }
.gp-contact-card dd { margin: .3rem 0 0; font-size: .95rem; line-height: 1.6; }
.gp-contact-card dd a { transition: color var(--t-fast) var(--ease-out); }
.gp-contact-card dd a:hover { color: var(--lime); }

/* --- Search results ---------------------------------------------------- */
.gp-search-results { display: flex; flex-direction: column; gap: 2.75rem; }
.gp-result-group > h2 {
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
  padding-bottom: .65rem;
  border-bottom: 2px solid var(--line);
}
.gp-result-list { display: flex; flex-direction: column; gap: .6rem; }
.gp-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.15rem 1.35rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform var(--t) var(--ease-out), border-color var(--t) var(--ease-out), box-shadow var(--t) var(--ease-out);
}
.gp-result-item:hover {
  transform: translateX(6px);
  border-color: var(--leaf-300);
  box-shadow: var(--shadow-sm);
}
.gp-result-item h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.gp-result-item p { margin: 0; font-size: .88rem; color: var(--muted); }
.gp-result-item > span {
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--soft-2);
  color: var(--brand-text);
  transition: background-color var(--t) var(--ease-out), color var(--t) var(--ease-out);
}
.gp-result-item:hover > span { background: var(--brand); color: #fff; }

/* Empty state */
.gp-empty {
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--muted);
  background: var(--soft);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
}

/* ==========================================================================
   11. Forms
   ========================================================================== */

.gp-form-card {
  padding: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}
.gp-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1.1rem;
}
.gp-form-grid label { display: flex; flex-direction: column; gap: .45rem; }
.gp-form-grid label.full { grid-column: 1 / -1; }
.gp-form-grid label > span {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.lang-bn .gp-form-grid label > span { letter-spacing: .01em; text-transform: none; }

/* Shared control styling (applied via core/forms.py widget classes) */
.gp-input, .gp-textarea {
  width: 100%;
  padding: .85rem 1.1rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  transition: border-color var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease-out);
}
.gp-input::placeholder, .gp-textarea::placeholder { color: var(--faint); }
.gp-input:focus, .gp-textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: var(--ring);
}
.gp-textarea { resize: vertical; min-height: 140px; line-height: 1.6; }

.gp-field-error { color: #d14343; font-size: .8rem; font-weight: 600; }
.dark .gp-field-error { color: #ff8d8d; }

.gp-submit {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .95rem 2rem;
  border-radius: 99px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow-glow);
  transition: transform var(--t) var(--ease-spring), background-color var(--t) var(--ease-out), box-shadow var(--t) var(--ease-out);
}
.gp-submit:hover {
  background: var(--brand-strong);
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(82, 176, 50, .42);
}

/* Newsletter input rendered by Django widget */
.gp-newsletter-input {
  flex: 1 1 220px;
  min-width: 0;
  padding: 1rem 1.35rem;
  border-radius: 99px;
  border: 2px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .14);
  color: #fff;
  backdrop-filter: blur(4px);
  transition: border-color var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease-out);
}
.gp-newsletter-input::placeholder { color: rgba(255, 255, 255, .62); }
.gp-newsletter-input:focus {
  outline: none;
  border-color: #fff;
  background: rgba(255, 255, 255, .2);
}

/* ==========================================================================
   12. Footer
   ========================================================================== */

.gp-footer {
  position: relative;
  background: var(--dark-surface);
  color: rgba(255, 255, 255, .68);
  padding-top: clamp(3.5rem, 2.5rem + 4vw, 5.5rem);
}
.gp-footer-wave {
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--leaf-700), var(--lime), var(--ocean), var(--leaf-700));
  background-size: 300% 100%;
  animation: gp-footer-shift 12s linear infinite;
}
@keyframes gp-footer-shift {
  to { background-position: 300% 0; }
}

.gp-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 1.25rem + 2.5vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem);
}
.gp-footer-brand p { margin: 1.1rem 0 1.25rem; font-size: .92rem; line-height: 1.7; max-width: 42ch; }
.gp-brand-footer .gp-brand-copy strong { color: #fff; }
.gp-brand-footer .gp-brand-mark { background: rgba(255, 255, 255, .08); }
.gp-brand-footer .gp-brand-copy small { color: rgba(255, 255, 255, .55); }

.gp-socials { display: flex; flex-wrap: wrap; gap: .5rem; }
.gp-socials a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .95rem;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, .16);
  font-size: .82rem;
  font-weight: 600;
  transition: background-color var(--t) var(--ease-out), border-color var(--t) var(--ease-out), color var(--t) var(--ease-out), transform var(--t) var(--ease-spring);
}
.gp-socials a:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transform: translateY(-2px);
}

.gp-footer-column h3 {
  color: #fff;
  font-size: .95rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.lang-bn .gp-footer-column h3 { letter-spacing: .02em; text-transform: none; }
.gp-footer-column a,
.gp-footer-column p {
  display: block;
  margin: 0 0 .65rem;
  font-size: .9rem;
  line-height: 1.6;
  transition: color var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out);
}
.gp-footer-column a:hover { color: var(--lime); transform: translateX(3px); }

.gp-footer-action {
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
}
.gp-footer-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: .5rem;
  padding: .7rem 1.35rem;
  border-radius: 99px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: .88rem;
  transition: transform var(--t) var(--ease-spring), background-color var(--t) var(--ease-out);
}
.gp-footer-cta:hover { background: var(--brand-strong); transform: translateY(-2px); }

.gp-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 1.35rem 0;
  font-size: .82rem;
}
/* The back-to-top button is fixed to the bottom-right and lands on this row
   once the page is scrolled to the end. Keep its footprint clear so the
   links underneath stay readable and clickable. */
.gp-footer-bottom .gp-shell { padding-right: 64px; }
.gp-footer-bottom .gp-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.gp-footer-bottom p { margin: 0; }
.gp-footer-bottom div { display: flex; gap: 1.25rem; }
.gp-footer-bottom a { transition: color var(--t-fast) var(--ease-out); }
.gp-footer-bottom a:hover { color: var(--lime); }

/* Developer credit — reads as an attribution, not another nav link. */
.gp-credit {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: rgba(255, 255, 255, .45);
}
.gp-credit strong {
  color: rgba(255, 255, 255, .78);
  font-weight: 700;
  transition: color var(--t-fast) var(--ease-out);
}
.gp-credit:hover,
.gp-credit:hover strong { color: var(--lime); }

/* Back-to-top */
.gp-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 70;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(.9);
  transition: opacity var(--t) var(--ease-out), transform var(--t) var(--ease-spring), visibility var(--t), background-color var(--t) var(--ease-out);
}
.gp-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.gp-to-top:hover { background: var(--brand-strong); transform: translateY(-3px); }

/* Scroll progress bar */
.gp-progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 140;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--lime));
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

/* ==========================================================================
   13. Utilities & responsive
   ========================================================================== */

.gp-soft-bg { background: var(--soft); }

/* Visible to screen readers only */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Empty-state messages span the full width of any grid they land in */
.gp-empty { grid-column: 1 / -1; }

/* --- Tablet ------------------------------------------------------------ */
@media (max-width: 1080px) {
  :root { --shell: min(1280px, 100% - 2.5rem); }

  .gp-about-grid,
  .gp-join-grid,
  .gp-faq-grid,
  .gp-newsletter-inner,
  .gp-content-grid { grid-template-columns: minmax(0, 1fr); }

  .gp-side-card { position: static; }

  .gp-impact-grid { grid-template-columns: minmax(0, 1fr); }

  .gp-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gp-footer-brand { grid-column: 1 / -1; }

  .gp-issue-card-wide { grid-column: span 1; }
  .gp-issue-card-wide .gp-issue-media { min-height: 330px; }
}

/* --- Mobile ------------------------------------------------------------ */
@media (max-width: 860px) {
  :root { --shell: min(1280px, 100% - 2rem); --header-h: 64px; }

  .gp-desktop-nav { display: none; }
  .gp-menu-button { display: inline-flex; }
  .gp-mobile-panel { display: block; }
  .gp-action-button { display: none; }


  .gp-brand-mark { width: 40px; height: 40px; border-radius: 12px; }
  .gp-brand-copy strong { font-size: 1rem; }
  .gp-brand-copy small { display: none; }

  .gp-hero-slide { min-height: auto; padding-bottom: 6.5rem; }
  .gp-hero-copy { max-width: 100%; }
  .gp-hero-actions .gp-btn { flex: 1 1 100%; }
  .gp-hero-controls { justify-content: center; gap: 1rem; }
  .gp-hero-arrows { display: none; }

  .gp-intro-band-inner { grid-template-columns: minmax(0, 1fr); gap: .85rem; }
  .gp-band-label { white-space: normal; }

  /* Card descriptions are always visible without hover on touch devices */
  .gp-issue-content p { max-height: none; opacity: 1; overflow: visible; }
  .gp-issue-media { min-height: 300px; }

  .gp-report-row { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .gp-report-year { justify-self: start; min-width: 0; padding: .55rem 1.1rem; font-size: 1.05rem; }
  .gp-report-actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 1rem; }

  .gp-doc-card { grid-template-columns: minmax(0, 1fr); }

  .gp-gallery-masonry { columns: 2 150px; }

  .gp-footer-grid { grid-template-columns: minmax(0, 1fr); }
  .gp-footer-bottom .gp-shell { flex-direction: column; align-items: flex-start; padding-right: 0; }
  /* Stacked on a phone, so clear the floating button downwards instead. */
  .gp-footer-bottom { padding-bottom: 4.75rem; }

  .gp-toast-stack { right: 1rem; left: 1rem; max-width: none; }
  .gp-to-top { right: 1rem; bottom: 1rem; }

  .gp-search-layer { padding-top: 8vh; }
  .gp-search-dialog { padding: 1.5rem; }
}

@media (max-width: 520px) {
  .gp-issue-grid { grid-template-columns: minmax(0, 1fr); }
  .gp-gallery-masonry { columns: 1; }
  .gp-join-card { grid-template-columns: auto minmax(0, 1fr); }
  .gp-join-card b { display: none; }
  .gp-mini-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* --- Touch & small-screen refinements ----------------------------------
   Two things that only show up on a phone:
   1. Tap targets. Links sized by their text alone land around 20-28px tall,
      well under the ~44px a finger needs.
   2. Legibility. 11.5-12px label text is hard to read on a phone, and harder
      in Bangla, whose conjuncts carry more detail per glyph than Latin.
   ----------------------------------------------------------------------- */

@media (max-width: 860px) {
  /* Label text: raise the floor */
  .gp-kicker { font-size: .82rem; }
  .gp-card-meta { font-size: .8rem; }
  .gp-about-stamp span { font-size: .82rem; }
  .gp-brand-copy small { font-size: .78rem; }
  .gp-footer-bottom { font-size: .85rem; }
  .gp-join-card p,
  .gp-impact-stat p { font-size: .9rem; }

  /* Inline links: pad vertically, keeping the rule under the text */
  .gp-text-link { padding-block: .7rem; }
  .gp-text-link::after { bottom: .7rem; }

  .gp-download { padding: .8rem 1.2rem; }

  .gp-language { padding: .45rem .8rem; }

  .gp-footer-column a {
    padding: .6rem 0;
    margin-bottom: .1rem;
  }
  .gp-footer-bottom div { gap: .5rem 1.25rem; flex-wrap: wrap; }
  .gp-footer-bottom a { padding: .45rem 0; }

  .gp-contact-card dd a { display: inline-block; padding: .4rem 0; }
  .gp-mobile-meta a { display: inline-block; padding: .7rem 0; }
  .gp-intro-band-inner > a { padding-block: .7rem; }
  .gp-report-row h2 a { display: inline-block; padding-block: .7rem; }

  /* The nav row is tight on a phone: show the language switch as an icon
     only, so it cannot push the header past the viewport. The accessible
     name still comes from the link's title attribute. */
  .gp-language {
    padding: .5rem;
    min-width: 44px;
    justify-content: center;
    gap: 0;
  }
  .gp-language-label { display: none; }
  .gp-language svg { width: 18px; height: 18px; opacity: 1; }
  .gp-socials a { padding: .6rem 1.1rem; }

  /* Full-width primary actions read better than half-width ones */
  .gp-submit { width: 100%; justify-content: center; }
  .gp-newsletter-form button { flex: 1 1 100%; }
}

/* Coarse pointers: widen hit areas without changing how anything looks. */
@media (pointer: coarse) {
  .gp-hero-dots button {
    position: relative;
    height: 5px;
  }
  .gp-hero-dots button::after {
    content: "";
    position: absolute;
    inset: -20px -5px;   /* invisible 45px-tall target */
  }

  .gp-faq-list summary { padding-block: 1.25rem; }

  /* Hover-only reveals never fire on touch, so show card text outright. */
  .gp-issue-content p { max-height: none; opacity: 1; overflow: visible; margin-top: .3rem; }
  .gp-gallery-item figcaption { transform: none; opacity: 1; }
  .gp-gallery-tile span { transform: none; }
}

/* Small phones: tighten the gutter so content keeps its width */
@media (max-width: 440px) {
  :root { --shell: min(1280px, 100% - 1.5rem); }
  .gp-hero-copy h1 { font-size: clamp(1.9rem, 1.2rem + 4vw, 2.4rem); }
  .gp-menu-button b { display: none; }   /* icon-only hamburger */

  /* The nav must never be wider than the screen. Let the brand give way:
     it shrinks and truncates instead of pushing the actions off-screen. */
  .gp-nav { gap: .5rem; }
  .gp-brand { min-width: 0; flex: 1 1 auto; gap: .55rem; }
  .gp-brand-copy { min-width: 0; }
  .gp-brand-copy strong {
    font-size: .92rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .gp-brand-mark { width: 38px; height: 38px; }

  .gp-nav-actions { flex: none; gap: .15rem; }
  .gp-icon-button { width: 38px; height: 38px; }
  .gp-language { min-width: 38px; padding: .45rem; }
}

/* Respect notches and rounded corners on modern phones */
@supports (padding: max(0px)) {
  .gp-shell {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }
  .gp-to-top { bottom: max(1rem, env(safe-area-inset-bottom)); }
}

/* --- Motion preferences ------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .gp-hero-slide.is-active .gp-hero-image { animation: none; }
}

/* --- Print -------------------------------------------------------------- */
@media print {
  .gp-header, .gp-footer, .gp-search-layer, .gp-to-top,
  .gp-progress, .gp-hero-controls, .gp-newsletter { display: none !important; }
  .gp-body { background: #fff; color: #000; }
  .reveal { opacity: 1 !important; transform: none !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; color: #555; }
}
