/* ==========================================================================
   Gausia Committee Bangladesh — landing
   ========================================================================== */

:root {
  --forest-950: #06140e;
  --forest-900: #0a2118;
  --forest-800: #0d3322;
  --forest-700: #124a32;
  --forest-600: #166343;
  --forest-500: #1b7a52;
  --forest-400: #2d9a6a;
  --gold-700: #8a6a22;
  --gold-600: #a8842d;
  --gold-500: #c4a04a;
  --gold-400: #d4b86a;
  --gold-300: #e6d19a;
  --gold-100: #f3ead0;
  --cream-50: #fbf8f1;
  --cream-100: #f4eee0;
  --cream-200: #e8dcc4;
  --ink: #12201a;
  --muted: #5a6b62;
  --paper: #fffdf8;
  --line: rgba(196, 160, 74, 0.3);
  --shadow: 0 18px 50px rgba(6, 20, 14, 0.12);
  --radius: 22px;
  --header-h: 78px;
  --font-display: "Cormorant Garamond", "Noto Serif Bengali", "Times New Roman", serif;
  --font-body: "Outfit", "Hind Siliguri", system-ui, sans-serif;
  --font-ar: "Amiri", "Noto Serif Bengali", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html[lang="bn"] {
  --font-display: "Noto Serif Bengali", "Cormorant Garamond", serif;
  --font-body: "Hind Siliguri", "Outfit", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

html[lang="bn"] .en { display: none !important; }
html[lang="en"] .bn { display: none !important; }

body {
  margin: 0;
  padding-top: var(--header-h);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  background: var(--cream-50);
  overflow-x: clip;
}

html[lang="bn"] body {
  font-size: 1.08rem;
  line-height: 1.85;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
}
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; margin: 0; }
html[lang="bn"] h1,
html[lang="bn"] h2,
html[lang="bn"] h3,
html[lang="bn"] h4 { letter-spacing: 0; line-height: 1.4; font-weight: 700; }

p { margin: 0; }

.wrap {
  width: min(1180px, calc(100% - 2.4rem));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--gold-500);
  color: var(--forest-950);
  padding: 0.6rem 1rem;
  z-index: 80;
  border-radius: 8px;
}
.skip:focus { top: 1rem; }

/* Language-aware numerals helper already in markup */

/* -------------------------------------------------------------------------- */
/* Topbar + Header
/* -------------------------------------------------------------------------- */
.topbar {
  background: var(--forest-950);
  color: var(--gold-300);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 0;
}
html[lang="bn"] .topbar {
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 0.86rem;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.topbar a { color: var(--gold-300); }
.topbar a:hover { color: #fff; }
.topbar-links { display: flex; gap: 1.25rem; align-items: center; }
.topbar-links span { opacity: 0.55; }

.topbar { display: none; }

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  background: #f7f4ec;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(18, 32, 26, 0.05);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.header.is-scrolled {
  box-shadow: 0 10px 30px rgba(6, 20, 14, 0.08);
  background: rgba(251, 248, 241, 0.96);
}
.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: min(1180px, calc(100% - 1.6rem));
  min-height: var(--header-h);
  position: relative;
  z-index: 102;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.brand-mark {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(196, 160, 74, 0.35), 0 8px 18px rgba(6, 20, 14, 0.08);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
}
.brand-mark img {
  width: 92%;
  height: 92%;
  object-fit: contain;
}
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.15;
  color: var(--forest-800);
  font-weight: 700;
  white-space: nowrap;
}
html[lang="bn"] .brand-text strong { font-size: 1.05rem; }
.brand-text small {
  color: var(--gold-700);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 0.15rem;
}
html[lang="bn"] .brand-text small {
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 0.78rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav a {
  padding: 0.45rem 0.7rem;
  font-size: 0.92rem;
  color: var(--forest-800);
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.2rem;
  height: 1.5px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav a:hover::after,
.nav a:focus-visible::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex: 0 0 auto;
}

.lang-switch {
  display: inline-flex;
  background: var(--cream-100);
  border: 1px solid var(--cream-200);
  border-radius: 999px;
  padding: 3px;
}
.lang-switch button {
  border: 0;
  background: transparent;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.lang-switch button[aria-pressed="true"] {
  background: var(--forest-800);
  color: var(--gold-300);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.82rem 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-gold {
  background: linear-gradient(180deg, #e0c57a, var(--gold-500));
  color: var(--forest-950);
  box-shadow: 0 10px 24px rgba(168, 132, 45, 0.28);
}
.btn-gold:hover { box-shadow: 0 14px 28px rgba(168, 132, 45, 0.36); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); }
.btn-outline {
  background: transparent;
  color: var(--forest-800);
  border: 1px solid var(--forest-700);
}
.btn-outline:hover { background: var(--forest-800); color: var(--gold-300); }
.btn-sm { padding: 0.58rem 1.05rem; font-size: 0.9rem; }

.nav-backdrop {
  display: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 0;
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  z-index: 103;
}
.menu-toggle .bars,
.menu-toggle .bars::before,
.menu-toggle .bars::after {
  display: block;
  width: 20px;
  height: 1.8px;
  background: var(--forest-800);
  position: absolute;
  left: 12px;
  transition: 0.25s var(--ease);
}
.menu-toggle .bars { top: 21px; }
.menu-toggle .bars::before,
.menu-toggle .bars::after { content: ""; left: 0; }
.menu-toggle .bars::before { top: -6px; }
.menu-toggle .bars::after { top: 6px; }
body.nav-open .menu-toggle .bars { background: transparent; }
body.nav-open .menu-toggle .bars::before { top: 0; transform: rotate(45deg); }
body.nav-open .menu-toggle .bars::after { top: 0; transform: rotate(-45deg); }

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

/* -------------------------------------------------------------------------- */
/* Hero — same framed panel as intro.png, light green field
/* -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  place-items: center;
  color: #166D43;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 65% at 50% 42%, #d8f0e2 0%, #c0e4d0 42%, #a6d4bc 78%, #8fc8a8 100%);
}
.hero-wash {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.28), transparent 28%, rgba(22,109,67,0.08) 100%);
  pointer-events: none;
}
.hero-frame {
  pointer-events: none;
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(212, 184, 106, 0.42);
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 4.8rem 0 5.4rem;
  max-width: 900px;
}
.bismillah {
  font-family: var(--font-ar);
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  color: #a8842d;
  margin-bottom: 0.95rem;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: #8a6a22;
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 1.15rem;
}
html[lang="bn"] .kicker {
  letter-spacing: 0.06em;
  text-transform: none;
  font-size: 0.95rem;
}
.kicker::before,
.kicker::after {
  content: "";
  width: 36px;
  height: 1px;
  background: #c4a04a;
}
.hero h1 {
  font-size: clamp(2.5rem, 6.6vw, 5.35rem);
  font-weight: 500;
  line-height: 1.02;
  color: #166D43;
  text-wrap: balance;
}
html[lang="bn"] .hero h1 {
  font-size: clamp(2.05rem, 5.4vw, 4.1rem);
  line-height: 1.28;
  font-weight: 700;
}
.hero-lead {
  margin: 1.35rem auto 0;
  max-width: 40rem;
  color: rgba(22, 109, 67, 0.78);
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
  font-weight: 300;
}
html[lang="bn"] .hero-lead { font-weight: 400; line-height: 1.95; }
.hero-cta {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 2.15rem;
}
.hero .btn-ghost {
  color: #166D43;
  border: 1px solid rgba(22, 109, 67, 0.32);
  background: rgba(255, 255, 255, 0.38);
}
.hero .btn-ghost:hover {
  background: rgba(22, 109, 67, 0.08);
}
.scroll-hint {
  position: absolute;
  bottom: 1.35rem;
  left: 50%;
  transform: translateX(-50%);
  color: #a8842d;
  z-index: 1;
  opacity: 0.8;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  animation: bob 1.8s var(--ease) infinite;
}
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* -------------------------------------------------------------------------- */
/* Quote
/* -------------------------------------------------------------------------- */
.quote {
  background:
    radial-gradient(circle at 20% 0%, rgba(196,160,74,0.12), transparent 40%),
    var(--forest-900);
  color: #fff;
  padding: 4.4rem 0;
  text-align: center;
  position: relative;
}
.quote::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/pattern.svg") center / 180px repeat;
  opacity: 0.07;
  pointer-events: none;
}
.quote .wrap { position: relative; }
.quote blockquote {
  margin: 0 auto;
  max-width: 48rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 2.05rem);
  line-height: 1.45;
  font-weight: 500;
  font-style: italic;
}
html[lang="bn"] .quote blockquote {
  font-style: normal;
  line-height: 1.8;
  font-weight: 600;
}
.quote cite {
  display: block;
  margin-top: 1.4rem;
  font-style: normal;
  color: var(--gold-400);
  font-size: 0.92rem;
  letter-spacing: 0.06em;
}
.ornament {
  width: min(280px, 70%);
  height: 28px;
  margin: 0 auto 1.4rem;
  background: url("../assets/ornament.svg") center / contain no-repeat;
}

/* -------------------------------------------------------------------------- */
/* Sections common
/* -------------------------------------------------------------------------- */
.section { padding: 5.4rem 0; }
.section-head {
  max-width: 42rem;
  margin-bottom: 2.6rem;
}
.section-head.center {
  text-align: center;
  margin-inline: auto;
}
.eyebrow {
  color: var(--gold-600);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.55rem;
}
html[lang="bn"] .eyebrow {
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 0.95rem;
}
.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 3.05rem);
  color: var(--forest-900);
}
.section-head p {
  margin-top: 0.85rem;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: rise 0.9s var(--ease) forwards;
}
.reveal[data-d="1"] { animation-delay: 0.08s; }
.reveal[data-d="2"] { animation-delay: 0.16s; }
.reveal[data-d="3"] { animation-delay: 0.24s; }
.reveal[data-d="4"] { animation-delay: 0.32s; }
@keyframes rise {
  to { opacity: 1; transform: none; }
}

/* -------------------------------------------------------------------------- */
/* About
/* -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.9fr);
  gap: 2.6rem;
  align-items: start;
}
.about-copy p + p { margin-top: 1rem; color: var(--muted); }
.about-copy .lead {
  font-size: 1.18rem;
  color: var(--ink);
}
html[lang="bn"] .about-copy .lead { font-size: 1.16rem; line-height: 1.9; }

.about-visual {
  position: sticky;
  top: calc(var(--header-h) + 18px);
  align-self: start;
  z-index: 1;
}
.about-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--cream-200);
  height: calc(100svh - var(--header-h) - 150px);
  max-height: 580px;
  min-height: 280px;
}
.about-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
.about-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  margin-top: 0.85rem;
}
.badge-year,
.gold-plate {
  position: static;
  inset: auto;
  max-width: none;
}
.badge-year {
  background: var(--forest-800);
  color: var(--gold-300);
  padding: 0.9rem 1rem;
  border-radius: 16px;
  min-width: 110px;
  box-shadow: var(--shadow);
  text-align: center;
}
.badge-year strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: #fff;
  line-height: 1;
}
.badge-year span {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
html[lang="bn"] .badge-year span { letter-spacing: 0; text-transform: none; font-size: 0.8rem; }

.gold-plate {
  background: var(--paper);
  border: 1px solid var(--gold-300);
  padding: 0.85rem 1rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.gold-plate b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--forest-800);
}
.gold-plate span { color: var(--muted); font-size: 0.82rem; }

/* -------------------------------------------------------------------------- */
/* Pillars
/* -------------------------------------------------------------------------- */
.pillars {
  background:
    linear-gradient(180deg, var(--cream-100), var(--cream-50) 40%);
}
.purpose-list {
  display: grid;
  gap: 1rem;
}
.purpose {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1.1rem;
  align-items: start;
  background: var(--paper);
  border: 1px solid rgba(18,32,26,0.06);
  border-radius: 22px;
  padding: 1.35rem 1.4rem;
  box-shadow: 0 10px 28px rgba(6,20,14,0.04);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.purpose:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.purpose-mark {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--forest-800);
  color: var(--gold-300);
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
}
html[lang="bn"] .purpose-mark { font-size: 1.85rem; }
.purpose h3 {
  font-size: 1.4rem;
  color: var(--forest-900);
  margin-bottom: 0.35rem;
}
.purpose p { color: var(--muted); }

.members {
  background: linear-gradient(180deg, var(--cream-50), #eef6f0 80%);
}
.member-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.pillar {
  background: var(--paper);
  border: 1px solid rgba(18,32,26,0.06);
  border-radius: 22px;
  padding: 1.5rem 1.3rem 1.45rem;
  box-shadow: 0 10px 30px rgba(6,20,14,0.04);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.pillar::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--forest-500));
  transform: scaleX(0.28);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar:hover::before { transform: scaleX(1); }
.icon-orb {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--cream-100);
  color: var(--forest-700);
  margin-bottom: 1rem;
}
.pillar h3 {
  font-size: 1.28rem;
  margin-bottom: 0.45rem;
  color: var(--forest-900);
}
.pillar p { color: var(--muted); font-size: 0.95rem; }

/* -------------------------------------------------------------------------- */
/* Programs bento
/* -------------------------------------------------------------------------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.05rem;
}
.card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 230px;
  background: var(--forest-800);
  color: #fff;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}
.card.light {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid rgba(18,32,26,0.06);
  box-shadow: 0 10px 28px rgba(6,20,14,0.05);
}
.card.span-7 { grid-column: span 7; min-height: 340px; }
.card.span-5 { grid-column: span 5; min-height: 340px; }
.card.span-4 { grid-column: span 4; }
.card.span-8 { grid-column: span 8; }
.card-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 80%;
  transition: transform 0.8s var(--ease);
}
.card:hover .card-bg img { transform: scale(1.06); }
.card-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6,20,14,0.05) 10%, rgba(6,20,14,0.78) 100%);
}
.card .tag {
  align-self: flex-start;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 0.4rem;
}
html[lang="bn"] .card .tag { letter-spacing: 0.03em; text-transform: none; font-size: 0.84rem; }
.card.light .tag { color: var(--gold-700); }
.card h3 { font-size: 1.55rem; margin-bottom: 0.35rem; }
.card p { color: rgba(255,255,255,0.82); font-size: 0.95rem; max-width: 38ch; }
.card.light p { color: var(--muted); }
.card.light .icon-orb { background: var(--cream-100); }

/* -------------------------------------------------------------------------- */
/* Lineage
/* -------------------------------------------------------------------------- */
.lineage { background: var(--forest-950); color: #fff; }
.lineage .section-head h2 { color: #fff; }
.lineage .section-head p { color: rgba(255,255,255,0.68); }
.mash-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.mash {
  border: 1px solid rgba(212,184,106,0.18);
  background:
    radial-gradient(circle at 50% 0%, rgba(196,160,74,0.12), transparent 55%),
    #0c261b;
  border-radius: 22px;
  padding: 1.6rem 1.2rem 1.4rem;
  text-align: center;
  min-height: 100%;
}
.mash-emblem {
  width: 74px;
  height: 74px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 1px solid var(--gold-500);
  display: grid;
  place-items: center;
  color: var(--gold-400);
  background: rgba(196,160,74,0.06);
}
.mash h3 {
  font-size: 1.18rem;
  color: var(--gold-300);
  margin-bottom: 0.35rem;
}
.mash .role {
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
  margin-bottom: 0.85rem;
}
.mash q {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  color: rgba(255,255,255,0.82);
  font-size: 0.98rem;
  line-height: 1.45;
}
html[lang="bn"] .mash q { font-style: normal; line-height: 1.75; }

/* -------------------------------------------------------------------------- */
/* Stats + mosque band
/* -------------------------------------------------------------------------- */
.band {
  position: relative;
  min-height: 220px;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
}
.band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: -2;
}
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6,20,14,0.78), rgba(6,20,14,0.45) 50%, rgba(6,20,14,0.78));
  z-index: -1;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  width: min(1000px, calc(100% - 2rem));
  padding: 3rem 0;
}
.stat { text-align: center; color: #fff; }
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.1rem);
  color: var(--gold-300);
  line-height: 1;
}
.stat span {
  display: block;
  margin-top: 0.4rem;
  color: rgba(255,255,255,0.78);
  font-size: 0.92rem;
}

/* -------------------------------------------------------------------------- */
/* Engineers wing
/* -------------------------------------------------------------------------- */
.wing-panel {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.4rem;
  align-items: center;
  background:
    radial-gradient(circle at 0% 0%, rgba(196,160,74,0.14), transparent 40%),
    var(--forest-800);
  color: #fff;
  border-radius: 32px;
  padding: 2.2rem 2.4rem;
  overflow: hidden;
  position: relative;
}
.wing-panel::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 260px;
  height: 260px;
  background: url("../assets/pattern.svg") center / 160px;
  opacity: 0.12;
}
.wing-logo {
  width: 240px;
  height: 240px;
  margin: 0 auto;
  background: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 8px rgba(255,255,255,0.06), 0 20px 40px rgba(0,0,0,0.25);
}
.wing-logo img { width: 88%; height: 88%; object-fit: contain; }
.wing-copy h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0.3rem 0 0.8rem; }
.wing-copy p { color: rgba(255,255,255,0.78); max-width: 48rem; }
.wing-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.3rem;
}
.wing-pills span {
  border: 1px solid rgba(212,184,106,0.35);
  color: var(--gold-300);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.82rem;
}

/* -------------------------------------------------------------------------- */
/* News
/* -------------------------------------------------------------------------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.news {
  background: var(--paper);
  border: 1px solid rgba(18,32,26,0.06);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.news:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-thumb {
  height: 168px;
  background:
    linear-gradient(160deg, rgba(13,51,34,0.55), rgba(6,20,14,0.2)),
    url("../assets/banner.jpg") center 80% / cover;
}
.news-thumb.a { filter: saturate(1.05); }
.news-thumb.b { background-position: 20% 70%; }
.news-thumb.c { background-position: 80% 60%; }
.news-body { padding: 1.2rem 1.25rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.news time {
  color: var(--gold-700);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
html[lang="bn"] .news time { letter-spacing: 0; text-transform: none; font-size: 0.86rem; }
.news h3 { font-size: 1.22rem; margin: 0.4rem 0 0.55rem; }
.news p { color: var(--muted); font-size: 0.94rem; }
.news .more {
  margin-top: auto;
  padding-top: 1rem;
  color: var(--forest-700);
  font-weight: 600;
  font-size: 0.9rem;
}

/* -------------------------------------------------------------------------- */
/* Join
/* -------------------------------------------------------------------------- */
.join {
  background:
    linear-gradient(180deg, var(--cream-50), var(--cream-100));
}
.join-box {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  background: var(--paper);
  border: 1px solid var(--cream-200);
  border-radius: 32px;
  padding: 2.4rem;
  box-shadow: var(--shadow);
}
.join-copy .eyebrow { margin-top: 0; }
.join-points {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
  color: var(--muted);
}
.join-points li::before {
  content: "✦";
  color: var(--gold-600);
  margin-right: 0.5rem;
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.form .full { grid-column: 1 / -1; }
.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.field label {
  font-size: 0.82rem;
  color: var(--forest-700);
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  border: 1px solid var(--cream-200);
  background: var(--cream-50);
  border-radius: 12px;
  padding: 0.78rem 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(196,160,74,0.16);
  background: #fff;
}
.form-note { grid-column: 1 / -1; color: var(--muted); font-size: 0.82rem; }
.form-success {
  display: none;
  grid-column: 1 / -1;
  background: #e8f6ee;
  border: 1px solid #b7e0c6;
  color: var(--forest-800);
  padding: 0.9rem 1rem;
  border-radius: 12px;
}
.form.is-sent .form-success { display: block; }
.form.is-sent .field,
.form.is-sent button,
.form.is-sent .form-note { display: none; }

/* -------------------------------------------------------------------------- */
/* Contact
/* -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
}
.map-card {
  border-radius: 28px;
  overflow: hidden;
  min-height: 380px;
  position: relative;
  background:
    linear-gradient(180deg, rgba(6,20,14,0.15), rgba(6,20,14,0.55)),
    url("../assets/mosque-about.jpg") center 60% / cover;
  color: #fff;
  display: flex;
  align-items: flex-end;
  padding: 1.6rem;
}
.map-card a.btn { pointer-events: auto; }
.info-cards { display: grid; gap: 0.85rem; }
.info {
  background: var(--paper);
  border: 1px solid rgba(18,32,26,0.06);
  border-radius: 18px;
  padding: 1.1rem 1.15rem;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.8rem;
  align-items: start;
}
.info h3 { font-size: 1.05rem; margin-bottom: 0.15rem; }
.info p, .info a { color: var(--muted); font-size: 0.95rem; }
.info a:hover { color: var(--forest-700); }

/* -------------------------------------------------------------------------- */
/* Footer — emblem + icon transfer
/* -------------------------------------------------------------------------- */
.footer {
  position: relative;
  background:
    radial-gradient(ellipse at 50% 0%, #1a2c22 0%, #0c1712 62%);
  color: rgba(247, 243, 234, 0.72);
  padding: 3.4rem 0 1.4rem;
  overflow: hidden;
}
.footer-glow {
  position: absolute;
  inset: 0;
  background: url("../assets/pattern.svg") center / 180px repeat;
  opacity: 0.05;
  pointer-events: none;
}
.footer-inner {
  position: relative;
  text-align: center;
}
.footer-seal {
  width: 86px;
  height: 86px;
  object-fit: contain;
  margin: 0 auto 1rem;
  background: #fff;
  border-radius: 50%;
  padding: 6px;
  box-shadow: 0 0 0 1px rgba(212,184,106,0.35), 0 16px 40px rgba(0,0,0,0.25);
}
.footer-name {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  color: #f4efe3;
  margin: 0 0 0.7rem;
}
.footer .ornament { margin-bottom: 1.4rem; }
.footer-icons {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 2rem;
}
.f-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #e6d19a;
  border: 1px solid rgba(230, 209, 154, 0.35);
  background: rgba(255,255,255,0.03);
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}
.f-icon:hover {
  transform: translateY(-3px);
  background: #e6d19a;
  color: #12201a;
  border-color: #e6d19a;
}
.legal {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1rem 0 0;
  display: flex;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(247, 243, 234, 0.48);
}
.legal-links { display: flex; gap: 1.1rem; }
.legal a:hover { color: #e6d19a; }

/* -------------------------------------------------------------------------- */
/* Mobile nav
/* -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .menu-toggle { display: inline-block; }
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(6, 20, 14, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
    z-index: 90;
  }
  body.nav-open .nav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(320px, 86vw);
    height: 100dvh;
    margin: 0;
    background: #0d1c15;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: calc(var(--header-h) + 1rem) 1.4rem 2rem;
    gap: 0.15rem;
    transform: translateX(110%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.35s var(--ease), visibility 0.35s var(--ease);
    z-index: 101;
    overflow-y: auto;
    box-shadow: -18px 0 40px rgba(0,0,0,0.25);
  }
  body.nav-open .nav {
    transform: none;
    visibility: visible;
    pointer-events: auto;
  }
  .nav a {
    color: #f4efe3;
    font-size: 1.28rem;
    padding: 0.9rem 0.2rem;
    font-family: var(--font-display);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav a::after { display: none; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 980px) {
  .about-grid,
  .intro-grid,
  .join-box,
  .contact-grid,
  .wing-panel { grid-template-columns: 1fr; }
  .about-visual {
    position: static;
  }
  .about-frame {
    height: 220px;
    max-height: none;
    min-height: 0;
  }
  .about-meta { grid-template-columns: 1fr; }
  .pillar-grid,
  .member-grid,
  .mash-grid,
  .news-grid,
  .stats { grid-template-columns: 1fr 1fr; }
  .card.span-7,
  .card.span-5,
  .card.span-4,
  .card.span-8 { grid-column: span 12; min-height: 240px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .wing-logo { width: 200px; height: 200px; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .brand-text strong { font-size: 0.88rem; white-space: normal; max-width: 18ch; line-height: 1.2; }
  .brand-text small { letter-spacing: 0.08em; }
  .brand-mark { width: 44px; height: 44px; }
  .hero { min-height: calc(100svh - var(--header-h)); }
  .hero-frame { inset: 0.7rem; }
  .hero-inner { padding: 2.6rem 0 4.4rem; }
  .hero h1 { font-size: clamp(2rem, 11vw, 2.8rem); }
  .pillar-grid,
  .member-grid,
  .mash-grid,
  .news-grid,
  .stats,
  .footer-grid,
  .form,
  .about-meta { grid-template-columns: 1fr; }
  .purpose { grid-template-columns: 56px 1fr; padding: 1.1rem; }
  .purpose-mark { width: 52px; height: 52px; font-size: 1.4rem; border-radius: 14px; }
  .section { padding: 3.2rem 0; }
  .join-box, .wing-panel { padding: 1.3rem; border-radius: 22px; }
  .map-card { min-height: 240px; }
  .about-frame { height: 200px; }
  .scroll-hint { bottom: 0.85rem; }
}

.page-copy { max-width: 44rem; }
.page-copy h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--forest-900);
  margin: 0.3rem 0 1rem;
}
.page-copy h2 {
  font-size: 1.45rem;
  color: var(--forest-800);
  margin: 1.8rem 0 0.5rem;
}
.page-copy p { color: var(--muted); margin-bottom: 0.9rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}
