/* ==========================================================================
   Girgaon Cha Raja — Static site stylesheet
   Clean hand-coded rebuild of girgaoncharaja.com
   ========================================================================== */

:root {
  --saffron: #ef6c1a;
  --saffron-dark: #d2570c;
  --maroon: #730006;
  --maroon-deep: #5c0e0c;
  --wp-red: #ae0009;
  --gold: #e0a82e;
  --cream: #ffffff;
  --cream-2: #fdeede;
  --ink: #2a2320;
  --muted: #6c615b;
  --line: #ecd9c4;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(122, 19, 16, 0.12);
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 24px 60px rgba(122, 19, 16, 0.18);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1120px;
  --header-h: 126px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

/* Safety net: if JS never runs (blocked/slow/errors elsewhere), scroll-reveal
   content must not stay permanently invisible. script.js adds "js-ready" to
   <html> the moment it starts, then "in-view" per element as it animates in. */
html:not(.js-ready) .reveal,
html:not(.js-ready) .reveal-left,
html:not(.js-ready) .reveal-right,
html:not(.js-ready) .reveal-scale,
html:not(.js-ready) .reveal-stagger,
html:not(.js-ready) .reveal-stagger > * {
  opacity: 1 !important;
  transform: none !important;
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Poppins", "Mukta", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--saffron-dark); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--maroon); }
h1, h2, h3, h4 { font-family: "Poppins", "Mukta", sans-serif; line-height: 1.25; color: var(--maroon); margin: 0 0 .5em; }
h1, h2, h3 { font-family: "Playfair Display", "Poppins", "Mukta", serif; font-weight: 700; line-height: 1.3; }
p { margin: 0 0 1rem; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.text-center { text-align: center; }

/* ----- Buttons ----- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 50px;
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: .2px;
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.28);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
  pointer-events: none;
}
.btn:hover::after { transform: scaleX(1); }
.btn-primary { background: var(--wp-red); color: #fff; box-shadow: 0 6px 18px rgba(174,0,9,.28); }
.btn-primary:hover { background: #8e0007; color: #fff; transform: translateY(-3px); box-shadow: 0 10px 24px rgba(174,0,9,.36); }
.btn-outline { background: var(--wp-red); color: #fff; border-color: var(--wp-red); box-shadow: 0 6px 18px rgba(174,0,9,.28); }
.btn-outline:hover { background: #8e0007; color: #fff; transform: translateY(-3px); box-shadow: 0 10px 24px rgba(174,0,9,.36); }
.btn-ghost { background: #fff; color: var(--maroon); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { background: var(--maroon); color: #fff; transform: translateY(-3px); }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px) saturate(1.4);
  -webkit-backdrop-filter: blur(10px) saturate(1.4);
  border-bottom: 1px solid #e9e9e9;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  transition: box-shadow .3s ease, background .3s ease;
  animation: headerDrop .7s var(--ease) both;
}
.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(122,19,16,.14);
}
@keyframes headerDrop {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.site-header .container.nav { transition: height .3s ease; }
/* The header bar is fully fluid: logo (left) · menu (flexes & centres) · CTAs
   (right). Every size uses clamp() so the bar scales smoothly between breakpoints
   and never overflows the viewport — identical on every page. */
.site-header .container.nav {
  max-width: none;
  width: 100%;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(10px, 2.2vw, 44px);
  height: var(--header-h);
  padding-left: clamp(16px, 3.5vw, 64px);
  padding-right: clamp(16px, 2vw, 40px);
}
.nav-logo { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; }
.nav-logo img {
  height: clamp(64px, 7vw, 106px);
  width: auto;
  object-fit: contain;
}
.nav-menu {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: clamp(0px, 0.4vw, 8px);
  min-width: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  color: #404040;
  font-weight: 400;
  font-size: clamp(13px, 1.02vw, 16px);
  position: relative;
  display: block;
  padding: 10px clamp(7px, 0.85vw, 15px);
  line-height: 20px;
  white-space: nowrap;
}
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 3px;
  background: var(--wp-red);
  transition: width .25s ease;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--wp-red); }
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: clamp(8px, 1vw, 22px); flex: 0 0 auto; }
.site-header .btn {
  min-width: 0;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(14px, 1.5vw, 26px);
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px; height: 3px;
  background: var(--maroon);
  border-radius: 3px;
  transition: .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ==========================================================================
   Hero / Carousel
   ========================================================================== */
.hero {
  position: relative;
  width: 100%;
  background: #111;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 70%, rgba(115,0,6,.35) 100%);
  pointer-events: none;
  z-index: 2;
}
.carousel { position: relative; width: 100%; min-height: 0; overflow: hidden; }
.carousel-track { position: relative; }
.slide {
  display: none;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.slide.active { display: block; animation: slideIn 1s var(--ease); }
.slide img {
  width: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: kenburns 6.5s ease-out forwards;
  will-change: transform;
}
@keyframes slideIn {
  from { opacity: 0; transform: scale(1.04); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes kenburns {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(6px);
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
  width: 46px; height: 46px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: grid; place-items: center;
  transition: color .2s, background .2s, transform .2s;
  z-index: 4;
}
.carousel-btn:hover { background: var(--wp-red); color: #fff; transform: translateY(-50%) scale(1.08); border-color: var(--wp-red); }
.carousel-btn.prev { left: 16px; }
.carousel-btn.next { right: 16px; }
.carousel-dots {
  position: absolute;
  bottom: 22px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 10px;
  z-index: 4;
}
.carousel-dots button {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.7);
  background: rgba(255,255,255,.25);
  cursor: pointer;
  padding: 0;
  transition: background .25s, width .25s, transform .2s;
}
.carousel-dots button:hover { transform: scale(1.2); }
.carousel-dots button.active { background: var(--saffron); width: 26px; border-radius: 5px; border-color: var(--saffron); }

/* ==========================================================================
   Scroll-reveal animation system
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-48px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--reveal-delay, 0s); }
.reveal-left.in-view { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(48px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--reveal-delay, 0s); }
.reveal-right.in-view { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(.88); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--reveal-delay, 0s); }
.reveal-scale.in-view { opacity: 1; transform: scale(1); }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal-stagger.in-view > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in-view > *:nth-child(1) { transition-delay: .02s; }
.reveal-stagger.in-view > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.in-view > *:nth-child(3) { transition-delay: .14s; }
.reveal-stagger.in-view > *:nth-child(4) { transition-delay: .2s; }
.reveal-stagger.in-view > *:nth-child(5) { transition-delay: .26s; }
.reveal-stagger.in-view > *:nth-child(6) { transition-delay: .32s; }
.reveal-stagger.in-view > *:nth-child(7) { transition-delay: .38s; }
.reveal-stagger.in-view > *:nth-child(8) { transition-delay: .44s; }
.reveal-stagger.in-view > *:nth-child(n+9) { transition-delay: .5s; }

/* ==========================================================================
   Stats marquee
   ========================================================================== */
.stats-marquee {
  position: relative;
  background: linear-gradient(120deg, var(--maroon) 0%, var(--maroon-deep) 100%);
  overflow: hidden;
  padding: 22px 0;
  border-bottom: 3px solid var(--saffron);
}
.stats-marquee .marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 34s linear infinite;
}
.stats-marquee:hover .marquee-track { animation-play-state: paused; }
.stat-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 44px;
  white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,.18);
}
.stat-chip .stat-icon {
  font-size: 1.5rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.3));
}
.stat-chip .stat-num {
  font-family: "Playfair Display", "Poppins", serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--gold);
  line-height: 1;
}
.stat-chip .stat-label {
  color: #fff;
  font-size: .82rem;
  letter-spacing: .5px;
  text-transform: uppercase;
  opacity: .9;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   Stat grid (About page — count-up numbers)
   ========================================================================== */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.stat-box {
  background: linear-gradient(160deg, #fff 0%, var(--cream-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.stat-box:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.stat-box .stat-icon { font-size: 2rem; display: block; margin-bottom: 10px; }
.stat-box .stat-count {
  display: block;
  font-family: "Playfair Display", "Poppins", serif;
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--maroon);
  line-height: 1.3;
}
.stat-box .stat-label {
  display: block;
  margin-top: 6px;
  font-size: .85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .6px;
}
@media (max-width: 620px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Parallax hero decor
   ========================================================================== */
.parallax-layer {
  will-change: transform;
}

/* ==========================================================================
   Accessible-but-crawlable hidden text (SEO h1 on pages with no visible one)
   ========================================================================== */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Devanagari brand name — header, footer, page banners
   ========================================================================== */
.brand-name {
  font-family: "Playfair Display", "Mukta", serif;
  font-weight: 700;
  font-size: clamp(0.92rem, 4vw, 1.5rem);
  color: var(--maroon);
  white-space: nowrap;
  line-height: 1;
}
.footer-brand {
  font-family: "Playfair Display", "Mukta", serif;
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--maroon);
  margin: 14px 0 10px;
  line-height: 1.2;
}
.devanagari-tag {
  font-family: "Playfair Display", "Mukta", serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: rgba(255,255,255,.95);
  margin: 0 0 8px;
  line-height: 1.3;
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 72px 0; background: #fff; }
.section img { max-width: 100% !important; height: auto; }
.section.alt { background: #fff; }
.section.maroon { background: #fff; color: var(--ink); }
.section.maroon h2, .section.maroon h3 { color: var(--maroon); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 46px; }
.section-head .eyebrow {
  display: inline-block;
  color: var(--saffron-dark);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: .8rem;
  line-height: 1.4;
  margin-bottom: 16px;
}
.section-head h2 { font-size: 32px; line-height: 1.4; color: var(--maroon); }
.section-head h2::after { display: none; }
.lead { font-size: 1.08rem; color: var(--muted); }

/* Page banner (interior pages) */
.page-banner {
  position: relative;
  background: linear-gradient(120deg, var(--maroon) 0%, var(--maroon-deep) 60%, var(--wp-red) 130%);
  color: #fff;
  padding: 96px 0 46px;
  text-align: left;
  overflow: hidden;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(224,168,46,.28) 0%, transparent 45%),
    radial-gradient(circle at 8% 90%, rgba(239,108,26,.25) 0%, transparent 40%);
  pointer-events: none;
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 {
  color: #fff;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.25;
  margin: 0 0 10px;
  animation: fadeUpHero .8s var(--ease) both;
}
.page-banner .crumbs {
  display: block;
  color: rgba(255,255,255,.82);
  font-size: .85rem;
  letter-spacing: .4px;
  animation: fadeUpHero .8s var(--ease) .12s both;
}
.page-banner .crumbs a { color: var(--gold); }
.page-banner .crumbs a:hover { color: #fff; }
@keyframes fadeUpHero {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.page-banner + .section { padding-top: 18px; }
.prose.text-center { text-align: left; }

@media (min-width: 821px) {
  .page-banner { padding-top: 88px; }
}

/* Two-column feature */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.split-media:hover img { transform: translateY(-6px) scale(1.015); box-shadow: var(--shadow-lg); }
.split-body h2 { font-size: 32px; color: var(--maroon); margin-bottom: 20px; }
#about .eyebrow { display: none; }
#about .split { align-items: start; }

/* Live-page structural overrides */
.page-no-banner .page-banner { display: none; }

.page-advertisements .ad-brochure {
  padding: 70px 0;
}
.page-advertisements .ad-brochure .container,
.page-g2022 .g2022-video-hero .container,
.page-g2023 .section.lb-scope > .container {
  max-width: 1120px;
  padding-left: 0;
  padding-right: 0;
}
.page-advertisements .ad-brochure .split {
  grid-template-columns: 456px 1fr;
  gap: 50px;
  align-items: start;
}
.page-advertisements .ad-brochure .split-media img {
  width: 456px;
  max-width: 456px;
}
.page-advertisements .ad-brochure .split-body {
  padding-top: 41px;
}
.page-advertisements .ad-brochure h2 {
  font-family: "Poppins", "Mukta", sans-serif;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 600;
  margin-bottom: 20px;
}
.page-advertisements .ad-brochure .form-card {
  border: 0;
  box-shadow: none;
  padding: 18px 0 0;
}

.page-contact .page-banner + .section {
  margin-top: 0;
  padding-top: 60px;
}

.page-donation .donation-bank {
  padding: 60px 0 172px;
}
.bank-panel {
  width: 830px;
  min-height: 475px;
  margin: 0 auto;
  background: #fff;
  display: grid;
  grid-template-columns: 222px 1fr;
  gap: 90px;
  align-items: start;
  padding: 112px 80px 70px;
}
.bank-panel img {
  width: 222px;
  height: 215px;
  object-fit: contain;
  margin-top: 18px;
}
.bank-panel h2 {
  font-size: 32px;
  margin-bottom: 26px;
}
.bank-panel p {
  color: #404040;
  font-size: 16px;
  line-height: 1.7;
}

.page-g2022 .g2022-video-hero {
  background: #fff;
  padding: 10px 0 0;
}
.page-g2022 .g2022-video-hero iframe {
  display: block;
  width: 1120px;
  height: 630px;
  border: 0;
}

.page-g2023 .section.lb-scope {
  padding: 40px 0;
}
.page-g2023 .section.lb-scope > .container {
  display: grid;
  grid-template-columns: 355px 1fr;
  column-gap: 30px;
  align-items: start;
}
.page-g2023 .section.lb-scope > .container > div.text-center {
  grid-column: 1;
  grid-row: 1;
  margin: 30px 0 0 10px !important;
}
.page-g2023 .section.lb-scope > .container > div.text-center img {
  width: 355px !important;
  max-width: 355px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.page-g2023 .section.lb-scope > .container > h2.text-center {
  grid-column: 2;
  grid-row: 1;
  text-align: left;
  margin-top: 20px;
}
.page-g2023 .section.lb-scope > .container > .quote-card {
  grid-column: 2;
  grid-row: 1;
  margin-top: 60px !important;
  max-width: none !important;
}
.page-g2023 .section.lb-scope > .container > .grid {
  grid-column: 1 / -1;
}

/* Quote / Mann ki baat */
.quote-card {
  background: linear-gradient(135deg, #fff 0%, var(--cream-2) 100%);
  border-left: 5px solid var(--saffron);
  border-radius: var(--radius);
  padding: 28px 30px;
  box-shadow: var(--shadow-sm);
  font-style: normal;
  color: var(--ink);
  position: relative;
}
.quote-card::before {
  content: "\201C";
  position: absolute;
  top: -6px; left: 18px;
  font-family: Georgia, serif;
  font-size: 4.5rem;
  color: var(--saffron);
  opacity: .35;
  line-height: 1;
}
.quote-card .who { font-style: normal; font-weight: 600; color: var(--maroon); margin-top: 10px; }

/* ==========================================================================
   Cards / grids
   ========================================================================== */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.member-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.member-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.member-card .photo { aspect-ratio: 1 / 1; background: var(--cream-2); overflow: hidden; }
.member-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.member-card .info { padding: 16px 12px 20px; }
.member-card .info h3 { font-size: 1.1rem; margin: 0 0 2px; }
.member-card .info span { color: var(--saffron-dark); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .6px; }

/* Contribution items */
.contrib {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
  margin-bottom: 14px;
}
.contrib.reverse .contrib-media { order: 2; }
.contrib-media img { border-radius: var(--radius); box-shadow: none; width: 100%; }
.contrib h3 { font-size: 1.3rem; line-height: 1.6; margin-bottom: 10px; }

/* Feature list (advertisement uniqueness) */
.feature {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--saffron);
  height: 100%;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.feature:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.feature h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature p { margin: 0; color: var(--muted); font-size: .96rem; }

/* Branding image blocks */
.brand-block { margin-bottom: 30px; overflow: hidden; border-radius: var(--radius-sm); }
.brand-block h3 { font-size: 1.15rem; margin-bottom: 12px; }
.brand-block img { border-radius: var(--radius-sm); box-shadow: none; width: 100%; transition: transform .5s var(--ease); }
.brand-block:hover img { transform: scale(1.06); }

/* ==========================================================================
   Gallery
   ========================================================================== */
.tabs { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 34px; }
.tab {
  padding: 10px 22px;
  border-radius: 50px;
  border: 2px solid var(--saffron);
  background: #fff;
  color: var(--maroon);
  font-weight: 600;
  cursor: pointer;
  transition: .2s;
}
.tab.active, .tab:hover { background: var(--saffron); color: #fff; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  align-items: start;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: none;
  display: block;
  transition: transform .5s var(--ease);
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  margin: 0;
}
.gallery-item .cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 12px 12px;
  font-size: .82rem;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(0deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,0) 100%);
  transform: translateY(100%);
  opacity: 0;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
  pointer-events: none;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:hover .cap { transform: translateY(0); opacity: 1; }
.section.maroon .section-head {
  max-width: var(--maxw);
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  margin-bottom: 55px;
}
.section.maroon .section-head h2 { margin: 0; }
.section.maroon .section-head .btn {
  min-width: 125px;
  height: 39px;
  padding: 9px 24px;
  line-height: 19px;
}
.home-gallery img { height: 288px; }
.home-gallery .gallery-item:nth-child(2),
.home-gallery .gallery-item:nth-child(3) { grid-column: span 2; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 8, 6, .92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 30px;
}
.lightbox.open { display: flex; animation: fade .3s ease; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.6); animation: lbZoom .35s var(--ease); }
@keyframes lbZoom { from { transform: scale(.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.lightbox .lb-close {
  position: absolute;
  top: 22px; right: 30px;
  color: #fff;
  font-size: 2.4rem;
  background: none; border: 0; cursor: pointer;
  line-height: 1;
}
.lightbox .lb-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  color: #fff; font-size: 3rem;
  background: none; border: 0; cursor: pointer;
  padding: 0 18px;
  opacity: .8;
}
.lightbox .lb-nav:hover { opacity: 1; }
.lightbox .lb-prev { left: 6px; }
.lightbox .lb-next { right: 6px; }

/* ==========================================================================
   Forms (static)
   ========================================================================== */
.form-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--maroon); font-size: .9rem; }
.form-row input, .form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  background: var(--cream);
  transition: border .2s;
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--saffron); }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 6px; }

/* Contact info */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0 0 22px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.info-list .ic {
  flex: 0 0 42px; height: 42px;
  background: var(--saffron); color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.1rem;
}
.info-list a, .info-list span { color: var(--ink); }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--maroon);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(0,0,0,.18);
  transition: .2s;
}
.socials a:hover { transform: translateY(-4px) rotate(-8deg) scale(1.08); filter: brightness(1.12); }
.socials a { transition: transform .25s var(--ease), filter .25s ease, box-shadow .25s ease; }
.socials a svg { width: 20px; height: 20px; display: block; fill: #fff; }
.socials a.ic-fb { background: #1877F2; }
.socials a.ic-tw { background: #000000; }
.socials a.ic-yt { background: #FF0000; }
.socials a.ic-ig {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}
.map-embed {
  width: 100%;
}
.map-embed iframe {
  width: 100%;
  min-height: 340px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.map-fallback {
  display: block;
  margin-top: 10px;
  padding: 14px 16px;
  border: 1px solid #ead6d8;
  background: #fff8f2;
  color: var(--maroon);
  font-size: 15px;
  line-height: 1.45;
}
.map-fallback strong {
  display: block;
  color: var(--wp-red);
  margin-bottom: 4px;
}

/* CTA strip */
.cta-strip {
  position: relative;
  background: linear-gradient(120deg, var(--saffron), var(--wp-red), var(--maroon-deep), var(--saffron));
  background-size: 300% 300%;
  animation: ctaGradient 10s ease infinite;
  color: #fff;
  text-align: center;
  padding: 74px 0;
  overflow: hidden;
}
.cta-strip::before {
  content: "\1F6D5";
  position: absolute;
  font-size: 9rem;
  opacity: .12;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  animation: floatY 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes ctaGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes floatY {
  0%, 100% { transform: translateY(-54%); }
  50% { transform: translateY(-46%); }
}
.cta-strip h2 { color: #fff; position: relative; z-index: 1; }
.cta-strip p { color: #fff3e8; max-width: 620px; margin: 0 auto 24px; position: relative; z-index: 1; }
.cta-strip .btn { position: relative; z-index: 1; }

/* Prose (policy pages) */
.prose { max-width: 860px; margin: 0 auto; }
.prose h2 { font-size: 1.9rem; }
.prose h4 { color: var(--maroon); margin-top: 28px; font-size: 1.12rem; }
.prose p { color: var(--ink); }
.prose .effective { color: var(--saffron-dark); font-weight: 600; }

/* Instagram strip */
.insta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.insta-grid a { position: relative; display: block; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1/1; background: var(--cream-2); }
.insta-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.insta-grid a:hover img { transform: scale(1.08); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  position: relative;
  background: linear-gradient(160deg, var(--maroon) 0%, var(--maroon-deep) 55%, #400507 100%);
  color: #f1dfd3;
  padding: 72px 0 0;
  text-align: left;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 8%, rgba(224,168,46,.16) 0%, transparent 45%),
    radial-gradient(circle at 4% 90%, rgba(239,108,26,.14) 0%, transparent 40%);
  pointer-events: none;
}
.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1.15fr 1fr;
  align-items: start;
  gap: 40px 48px;
  max-width: 1520px;
  margin: 0 auto 56px;
  padding: 0 40px;
}
.footer-grid > div + div {
  border-left: 1px solid rgba(241, 223, 211, .14);
  padding-left: 48px;
}
.site-footer img.f-logo {
  height: 96px;
  width: auto;
  border-radius: 50%;
  background: #fff;
  padding: 5px;
  box-shadow: 0 8px 22px rgba(0,0,0,.3);
}
.footer-brand {
  color: var(--gold);
  font-size: 1.7rem;
  margin: 16px 0 10px;
}
.site-footer h4 {
  color: var(--gold);
  font-size: 19px;
  line-height: 1.2;
  margin: 0 0 22px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  letter-spacing: .3px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 13px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li { margin-bottom: 0; }
.footer-links a { color: #f1dfd3; font-size: 16px; transition: color .2s, padding-left .2s; }
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.site-footer p { color: #d9bfae; line-height: 1.7; }
.site-footer .socials a { box-shadow: 0 4px 14px rgba(0,0,0,.35); }
.footer-col-badge { text-align: center; }
.footer-col-badge .footer-badge-frame {
  width: 148px;
  height: 148px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224,168,46,.22) 0%, transparent 72%);
  display: grid;
  place-items: center;
}
.footer-col-badge img.footer-badge {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.footer-col-badge .footer-badge-caption {
  color: var(--gold);
  font-family: "Playfair Display", "Mukta", serif;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.4;
  margin: 0;
}
.footer-skyline {
  position: relative;
  z-index: 1;
  height: 118px;
  background: url("../assets/uploads/2023/07/footer-skyline-removebg-preview-1536x135.png") bottom center / auto 100% repeat-x;
  opacity: .95;
}
.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(241,223,211,.16);
  padding: 20px 0;
  text-align: center;
  font-size: 15px;
  color: #d9bfae;
  background: rgba(0,0,0,.14);
}
.footer-bottom a { color: var(--gold); font-weight: 600; }

/* ==========================================================================
   Invitation popup
   ========================================================================== */
.popup {
  position: fixed;
  inset: 0;
  background: rgba(20, 8, 6, .8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 24px;
}
.popup.open { display: flex; animation: fade .4s ease; }
.popup { display: none !important; }
.popup-inner {
  position: relative;
  max-width: 420px;
  width: 100%;
  text-align: center;
}
.popup-inner img { width: 100%; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.popup-close {
  position: absolute;
  top: -16px; right: -16px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--saffron);
  color: #fff;
  border: 3px solid #fff;
  font-size: 1.3rem;
  cursor: pointer;
  line-height: 1;
  display: grid; place-items: center;
}

/* Scroll to top */
.to-top {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--saffron);
  color: #fff;
  border: 0;
  font-size: 1.4rem;
  cursor: pointer;
  display: grid; place-items: center;
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: .3s;
  box-shadow: var(--shadow);
  z-index: 90;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--maroon); transform: translateY(-4px) rotate(360deg); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .footer-col-badge { grid-column: 1 / -1; border-left: 0 !important; padding-left: 0 !important; margin-top: 10px; }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid, .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .home-gallery img:nth-child(n) { grid-column: auto; height: 260px; }
}
@media (max-width: 1150px) {
  :root { --header-h: 88px; }
  .container { padding: 0 16px; }
  /* Mobile: single slim bar — logo · CTAs · hamburger. The menu drops down. */
  .site-header .container.nav {
    height: var(--header-h);
    flex-wrap: nowrap;
    gap: 10px;
    padding-left: clamp(12px, 4vw, 22px);
    padding-right: clamp(12px, 4vw, 22px);
  }
  .nav-logo { flex: 0 0 auto; }
  .nav-logo img { height: clamp(54px, 13vw, 68px); }
  .nav-menu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 10px 22px 20px;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-130%);
    transition: transform .35s ease;
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-menu li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-menu a { display: block; padding: 14px 0; font-size: 16px; }
  .nav-cta {
    margin-left: auto;
    gap: 8px;
  }
  .nav-cta .btn {
    min-width: 0;
    width: auto;
    height: 44px;
    padding: 0 16px;
    font-size: 14px;
    line-height: 1.1;
    white-space: nowrap;
  }
  .nav-toggle {
    display: flex;
    order: 1;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: #f4f4f4;
    border-radius: 4px;
    padding: 9px;
  }
  .nav-toggle span { width: 23px; height: 3px; background: #333; }
  .split, .split.reverse .split-media { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .split-media { display: flex; justify-content: center; }
  .split-media img { max-width: 300px; width: 100%; }
  #about .split { gap: 8px; }
  .contrib, .contrib.reverse .contrib-media { grid-template-columns: 1fr; }
  .contrib.reverse .contrib-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .page-advertisements .ad-brochure { padding: 18px 0 70px; }
  .page-advertisements .ad-brochure .container,
  .page-g2022 .g2022-video-hero .container,
  .page-g2023 .section.lb-scope > .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .page-advertisements .ad-brochure .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .page-advertisements .ad-brochure .split {
    grid-template-columns: 1fr;
    gap: 31px;
  }
  .page-advertisements .ad-brochure .split-media img {
    width: 100%;
    max-width: 335px;
  }
  .page-advertisements .ad-brochure .split-body {
    padding-top: 0;
  }
  .page-contact .page-banner + .section {
    margin-top: 0;
    padding-top: 48px;
  }
  .page-donation .donation-bank {
    padding: 60px 0 96px;
  }
  .bank-panel {
    width: 100%;
    min-height: 475px;
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 70px 24px 54px;
    text-align: left;
  }
  .bank-panel img {
    width: 222px;
    height: 215px;
    margin: 0 auto;
  }
  .page-g2022 .g2022-video-hero iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }
  .page-g2023 .section.lb-scope > .container {
    display: block;
  }
  .page-g2023 .section.lb-scope > .container > div.text-center {
    margin: 0 0 30px !important;
  }
  .page-g2023 .section.lb-scope > .container > div.text-center img {
    width: 100% !important;
    max-width: 355px !important;
    margin: 0 auto;
  }
  .page-g2023 .section.lb-scope > .container > h2.text-center {
    text-align: center;
    margin-top: 0;
  }
  .page-g2023 .section.lb-scope > .container > .quote-card {
    margin-top: 24px !important;
  }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid, .insta-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-grid > div + div { border-left: 0; padding-left: 0; }
  .site-footer img.f-logo { margin-left: auto; margin-right: auto; }
  .site-footer .socials { justify-content: center; }
  .section { padding: 50px 0; }
  .split { gap: 34px; }
  .split-body h2, .section-head h2 { font-size: 34px; }
  .section.maroon .section-head {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 40px;
  }
  .section.maroon .section-head .btn {
    min-width: 112px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .home-gallery img:nth-child(n) { height: auto; }
  .carousel-btn { width: 38px; height: 38px; font-size: 1.2rem; }
}
@media (max-width: 480px) {
  .grid-2, .grid-3, .grid-4, .gallery-grid, .insta-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 360px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .gallery-grid,
  .insta-grid {
    grid-template-columns: 1fr;
  }
  .nav-cta { gap: 6px; }
  .nav-cta .btn {
    height: 42px;
    padding: 0 12px;
    font-size: 13px;
  }
  .nav-toggle {
    width: 38px;
    height: 38px;
    padding: 8px;
  }
  .nav-toggle span {
    width: 20px;
  }
  .section.maroon .section-head {
    display: block;
    text-align: center;
  }
  .section.maroon .section-head .btn {
    margin-top: 12px;
  }
}
