/* ==========================================================================
   Liberty Garden Sarvajanik Shree Ganeshotsav Mandal
   Global stylesheet — mobile first
   Sections: 1 Tokens · 2 Base · 3 Layout · 4 Header/Nav · 5 Hero · 6 Cards
             7 Timeline · 8 Gallery/Lightbox · 9 Tables · 10 Forms/Donate
             11 Footer · 12 Utilities · 13 Motion
   ========================================================================== */

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
  --bg: #fbf7ef;
  --bg-alt: #f5ede0;
  --surface: #fffdf9;
  --primary: #7a1220;        /* deep maroon */
  --primary-dark: #5a0c17;
  --secondary: #e07a1f;      /* saffron */
  --accent: #c9a227;         /* gold */
  --text: #241c17;
  --text-muted: #6b5c50;
  --border: #e6d9c4;
  --shadow-sm: 0 1px 2px rgba(60, 30, 10, .06), 0 2px 8px rgba(60, 30, 10, .05);
  --shadow-md: 0 6px 24px rgba(80, 35, 12, .10);
  --shadow-lg: 0 18px 48px rgba(80, 35, 12, .16);
  --container: 1140px;
  --radius: 12px;
  --radius-sm: 8px;
  --gradient-warm: linear-gradient(135deg, var(--primary) 0%, #9c2432 55%, var(--secondary) 130%);
  --gradient-gold: linear-gradient(90deg, transparent, var(--accent), transparent);
  --font-en: "Outfit", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-dev: "Tiro Devanagari Marathi", "Noto Sans Devanagari", serif;
  --header-h: 62px;
}

/* 2. BASE ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-en);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(224, 122, 31, .07), transparent 42%),
    radial-gradient(circle at 88% 0%, rgba(122, 18, 32, .06), transparent 38%);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--secondary); }
h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 6vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 4.6vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 3.4vw, 1.4rem); }
p { margin: 0 0 1rem; }
.dev { font-family: var(--font-dev); }
:focus-visible { outline: 3px solid var(--secondary); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 200;
  background: var(--primary); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm);
  transition: top .2s;
}
.skip-link:focus { top: 8px; color: #fff; }

/* 3. LAYOUT ---------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 18px; }
section { padding: 52px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 28px; }
.eyebrow {
  display: inline-block; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--primary); font-weight: 600; margin-bottom: .55rem;
}
.section-head p { color: var(--text-muted); }
.rule { height: 1px; background: var(--gradient-gold); border: 0; margin: 0; opacity: .6; }
.grid { display: grid; gap: 18px; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 700px) and (max-width: 979px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { section { padding: 76px 0; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.35rem; border-radius: 999px; border: 1px solid transparent;
  font: 600 .95rem/1 var(--font-en); cursor: pointer; text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}
.btn-primary { background: var(--gradient-warm); color: #fff5e8; box-shadow: var(--shadow-md); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: rgba(255, 253, 249, .9); color: var(--primary); border-color: var(--border); }
.btn-ghost:hover { background: #fff; border-color: var(--accent); transform: translateY(-2px); }
.btn-outline-light { background: rgba(255,255,255,.10); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(2px); }
.btn-outline-light:hover { background: rgba(255,255,255,.2); color: #fff; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Instagram reels */
.reels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.reels-grid blockquote {
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}
.instagram-button { text-align: center; margin-top: 30px; }
.instagram-feed-frame { display: block; width: 100%; min-height: 1000px; border: 0; }
.instagram-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.instagram-posts .instagram-media { width: 100% !important; min-width: 0 !important; margin: 0 !important; }
@media (max-width: 768px) {
  .reels-grid { grid-template-columns: 1fr; }
  .instagram-posts { grid-template-columns: 1fr; }
}

/* YouTube videos */
.youtube-section { padding: 76px 20px; background: var(--bg-alt); }
.youtube-container { width: 100%; max-width: var(--container); margin: 0 auto; }
.youtube-heading { max-width: 700px; margin: 0 auto 42px; text-align: center; }
.youtube-eyebrow { display: inline-block; margin-bottom: 10px; color: var(--primary); font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.youtube-heading h2 { margin: 0 0 15px; }
.youtube-heading p { margin: 0; color: var(--text-muted); line-height: 1.7; }
.youtube-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.youtube-card { overflow: hidden; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.youtube-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.youtube-thumbnail { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #eee; text-decoration: none; }
.youtube-thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.youtube-card:hover .youtube-thumbnail img { transform: scale(1.05); }
.youtube-play { position: absolute; top: 50%; left: 50%; display: grid; width: 58px; height: 58px; place-items: center; transform: translate(-50%, -50%); background: rgba(255,255,255,.95); border-radius: 50%; box-shadow: 0 5px 20px rgba(0,0,0,.25); }
.youtube-play::after { content: ""; margin-left: 4px; width: 0; height: 0; border-top: 9px solid transparent; border-bottom: 9px solid transparent; border-left: 14px solid #d62828; }
.youtube-card:hover .youtube-play { transform: translate(-50%, -50%) scale(1.1); }
.youtube-info { padding: 18px; }
.youtube-title { display: -webkit-box; margin: 0 0 8px; overflow: hidden; color: var(--text); font-size: 1rem; font-weight: 700; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.youtube-date { margin: 0; color: var(--text-muted); font-size: .8rem; }
.youtube-loading { display: flex; min-height: 180px; flex-direction: column; align-items: center; justify-content: center; color: var(--text-muted); }
.youtube-loading[hidden], .youtube-error[hidden] { display: none; }
.youtube-spinner { width: 38px; height: 38px; margin-bottom: 15px; border: 3px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: youtubeSpin .8s linear infinite; }
@keyframes youtubeSpin { to { transform: rotate(360deg); } }
.youtube-error { padding: 32px; text-align: center; background: var(--surface); border-radius: var(--radius); }
.youtube-error p { margin: 0 0 15px; color: var(--text-muted); }
.youtube-error a { color: var(--primary); font-weight: 700; }
.youtube-footer { margin-top: 38px; text-align: center; }
.youtube-channel-button { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 8px; background: #d62828; color: #fff; font-size: .9rem; font-weight: 700; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.youtube-channel-button:hover { transform: translateY(-2px); background: #b91f1f; color: #fff; }
.youtube-play-icon { font-size: .75rem; }
@media (max-width: 900px) { .youtube-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .youtube-section { padding: 60px 16px; } .youtube-grid { grid-template-columns: 1fr; gap: 20px; } .youtube-info { padding: 16px; } }

/* 4. HEADER / NAV ---------------------------------------------------------- */
.announce {
  background: var(--gradient-warm); color: #ffeccf; text-align: center;
  font-size: .8rem; padding: .5rem 14px; letter-spacing: .01em;
}
.site-header {
  position: sticky; top: 0; z-index: 90; background: rgba(251, 247, 239, .94);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-mark {
  width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--gradient-warm);
  color: #ffe9c6; display: grid; place-items: center; font-family: var(--font-dev); font-size: 1.1rem;
  box-shadow: inset 0 0 0 2px rgba(201, 162, 39, .55);
}
.brand-mark img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.brand-text strong { display: block; font-family: var(--font-serif); font-size: .96rem; line-height: 1.15; }
.brand-text span { display: block; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); }
.nav-toggle {
  width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--surface); display: grid; place-items: center; cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--primary); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-2px) rotate(-45deg); }

.site-nav { display: none; }
.site-nav.is-open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md);
}
.site-nav ul { list-style: none; margin: 0; padding: 8px 18px 18px; }
.site-nav a {
  display: block; padding: .8rem .2rem; border-bottom: 1px solid var(--border);
  font-weight: 500; color: var(--text);
}
.site-nav a[aria-current="page"] { color: var(--primary); font-weight: 700; }
@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; }
  .site-nav ul { display: flex; gap: 4px; padding: 0; }
  .site-nav a { border: 0; padding: .5rem .7rem; border-radius: 999px; font-size: .92rem; }
  .site-nav a:hover { background: var(--bg-alt); color: var(--primary); }
  .site-nav a[aria-current="page"] { background: rgba(122, 18, 32, .08); }
}

/* Mobile bottom bar */
.bottom-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 80;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 253, 249, .97); border-top: 1px solid var(--border);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -6px 20px rgba(80, 35, 12, .08);
}
.bottom-bar a {
  padding: .5rem .2rem .55rem; text-align: center; font-size: .68rem; color: var(--text-muted);
  display: grid; gap: 2px; font-weight: 600;
}
.bottom-bar a span { font-size: 1.05rem; line-height: 1; }
.bottom-bar a:hover, .bottom-bar a[aria-current="page"] { color: var(--primary); }
body { padding-bottom: 62px; }
@media (min-width: 980px) { .bottom-bar { display: none; } body { padding-bottom: 0; } }

/* Floating language and contact actions */
.floating-actions {
  position: fixed; right: 16px; bottom: 78px; z-index: 85;
  display: grid; gap: 10px;
}
.floating-action {
  width: 48px; height: 48px; border: 0; border-radius: 50%;
  display: grid; place-items: center; color: #fff; cursor: pointer;
  font: 700 .78rem/1 var(--font-en); box-shadow: var(--shadow-lg);
  transition: transform .18s ease, box-shadow .18s ease;
}
.floating-action svg { width: 22px; height: 22px; fill: currentColor; stroke: currentColor; stroke-width: 1.6; }
.floating-action .icon-cutout { fill: #168c4b; stroke: none; }
.floating-action:hover { color: #fff; transform: translateY(-2px) scale(1.04); }
.floating-language { background: var(--primary); font-size: .72rem; }
.floating-call { background: var(--secondary); font-size: 1.35rem; }
.floating-whatsapp { background: #168c4b; }
@media (min-width: 980px) { .floating-actions { bottom: 24px; } }
@media (max-width: 420px) {
  .floating-actions { right: 12px; bottom: 76px; gap: 8px; }
  .floating-action { width: 44px; height: 44px; }
}

/* 5. HERO ------------------------------------------------------------------ */
.hero { position: relative; min-height: 78vh; display: grid; align-items: end; color: #fff; padding: 0; }
.hero-media { position: absolute; inset: 0; overflow: hidden; background: #3b0d13; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30, 8, 10, .55) 0%, rgba(30, 8, 10, .35) 40%, rgba(30, 8, 10, .88) 100%);
}
.hero-inner { position: relative; padding: 96px 0 44px; }
.hero h1 { color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .45); margin-bottom: .35rem; }
.hero .lead { color: #f6e6d2; max-width: 34ch; font-size: 1.02rem; }
.hero .mantra {
  font-family: var(--font-dev); color: var(--accent); font-size: 1.15rem; letter-spacing: .02em; margin-bottom: 1.2rem;
}
.hero .btn-row { margin-bottom: .6rem; }

/* 6. CARDS ----------------------------------------------------------------- */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card-body { padding: 18px; }
.card-body h3 { margin-bottom: .35rem; }
.card-body p { color: var(--text-muted); font-size: .93rem; margin-bottom: .5rem; }
.card figure { margin: 0; }
.meta-list { list-style: none; margin: 0; padding: 0; }
.meta-list li { display: flex; gap: 10px; padding: .55rem 0; border-bottom: 1px dashed var(--border); font-size: .93rem; }
.meta-list li:last-child { border-bottom: 0; }
.meta-list strong { min-width: 118px; color: var(--primary); font-weight: 600; }
.placeholder-note {
  display: inline-block; font-size: .74rem; color: var(--primary-dark); background: rgba(201, 162, 39, .16);
  border: 1px dashed var(--accent); border-radius: 6px; padding: .15rem .5rem;
}
.panel {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm);
}

/* Sponsors */
.sponsor-grid { display: grid; gap: 18px; }
.sponsor-card { text-align: center; }
.sponsor-logo { border-radius: 0; aspect-ratio: 5 / 3; }
.sponsor-card .card-body h3 { margin-bottom: .3rem; }
.sponsor-tier { color: var(--secondary); font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .35rem; }
.sponsor-strip { display: grid; gap: 12px; }
.sponsor-mini { min-height: 94px; display: grid; grid-template-columns: 48px 1fr; grid-template-rows: 1fr 1fr; align-items: center; column-gap: 12px; padding: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.sponsor-mini-mark { grid-row: 1 / 3; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: rgba(201, 162, 39, .16); color: var(--primary); font-family: var(--font-dev); font-weight: 700; overflow: hidden; }
.sponsor-mini-mark img { width: 100%; height: 100%; object-fit: cover; }
.sponsor-mini strong { align-self: end; }
.sponsor-mini small { align-self: start; color: var(--text-muted); }
@media (min-width: 700px) { .sponsor-grid { grid-template-columns: repeat(3, 1fr); } .sponsor-strip { grid-template-columns: repeat(3, 1fr); } .sponsor-mini { grid-template-columns: 1fr; grid-template-rows: auto auto auto; justify-items: center; text-align: center; gap: 5px; } .sponsor-mini-mark { grid-row: auto; } }

/* Image placeholder (shown when a real photo has not been added yet) */
.ph {
  position: relative; background:
    repeating-linear-gradient(135deg, #f2e6d3 0 12px, #ede0ca 12px 24px);
  display: grid; place-items: center; text-align: center; color: var(--text-muted);
  font-size: .78rem; padding: 1rem; border-radius: var(--radius-sm); aspect-ratio: 4 / 5;
}
.ph.wide { aspect-ratio: 16 / 10; }
.ph.square { aspect-ratio: 1 / 1; }
.ph code { display: block; font-size: .7rem; color: var(--primary); word-break: break-all; margin-top: .3rem; }
.hero-media .ph { aspect-ratio: auto; height: 100%; border-radius: 0; }

/* 7. TIMELINE -------------------------------------------------------------- */
.timeline { position: relative; display: grid; gap: 20px; }
.timeline::before { content: none; }
.year-card { display: grid; grid-template-columns: 1fr; }
.year-card .year {
  font-family: var(--font-serif); font-size: 1.5rem; color: var(--primary); display: flex;
  align-items: center; gap: .6rem;
}
.year-card .year::after { content: ""; flex: 1; height: 1px; background: var(--gradient-gold); }
@media (min-width: 980px) {
  .timeline { grid-template-columns: 1fr 1fr; column-gap: 46px; }
  .timeline::before {
    content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
    background: linear-gradient(180deg, transparent, var(--accent), transparent); transform: translateX(-1px);
  }
  .timeline > * { position: relative; }
  .timeline > *:nth-child(even) { margin-top: 64px; }
}

/* 8. GALLERY + LIGHTBOX ---------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 22px; }
.filters button {
  min-height: 42px; padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); font: 600 .85rem var(--font-en); cursor: pointer;
}
.filters button[aria-pressed="true"] { background: var(--primary); color: #fff; border-color: var(--primary); }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 700px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 980px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-item {
  padding: 0; border: 0; background: none; cursor: pointer; border-radius: var(--radius-sm);
  overflow: hidden; box-shadow: var(--shadow-sm); position: relative;
}
.gallery-item img, .gallery-item .ph { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; border-radius: 0; }
.gallery-item .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: .5rem .6rem; font-size: .72rem; color: #fff;
  background: linear-gradient(transparent, rgba(20, 6, 8, .78)); text-align: left;
}
.lightbox {
  position: fixed; inset: 0; z-index: 120; background: rgba(18, 6, 8, .94);
  display: none; align-items: center; justify-content: center; padding: 16px;
}
.lightbox[open], .lightbox.is-open { display: flex; }
.lightbox figure { margin: 0; max-width: 900px; width: 100%; text-align: center; }
.lightbox img { max-height: 74vh; margin-inline: auto; border-radius: var(--radius-sm); }
.lightbox figcaption { color: #f2e2cc; font-size: .85rem; margin-top: .8rem; }
.lb-btn {
  position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.12); color: #fff; font-size: 1.4rem; cursor: pointer;
}
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.lb-close { position: absolute; top: 14px; right: 14px; transform: none; }

/* 9. TABLES / PROGRAMME ---------------------------------------------------- */
.table-wrap { overflow-x: auto; }
table.schedule { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
table.schedule th, table.schedule td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--border); font-size: .93rem; }
table.schedule thead th { background: var(--primary); color: #ffeccf; font-family: var(--font-en); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 699px) {
  table.schedule thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.schedule, table.schedule tbody, table.schedule tr, table.schedule td { display: block; width: 100%; }
  table.schedule tr {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    margin-bottom: 12px; box-shadow: var(--shadow-sm); padding: .4rem .2rem;
  }
  table.schedule td { border: 0; display: flex; justify-content: space-between; gap: 12px; }
  table.schedule td::before { content: attr(data-label); font-weight: 600; color: var(--primary); }
}

/* 10. VIDEO / DONATE ------------------------------------------------------- */
.video-frame { position: relative; padding-top: 56.25%; background: #23120f; border-radius: var(--radius-sm); overflow: hidden; }
.video-frame iframe, .video-frame .ph { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 0; aspect-ratio: auto; }
.qr-box {
  display: grid; place-items: center; gap: .6rem; padding: 18px; border: 2px dashed var(--accent);
  border-radius: var(--radius); background: #fffaf0; text-align: center;
}
.qr-box .ph { width: 210px; }
.notice {
  border-left: 4px solid var(--secondary); background: rgba(224, 122, 31, .09);
  padding: .9rem 1rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .9rem; color: var(--text);
}
.cta-band { background: var(--gradient-warm); color: #fff3e2; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #f6e0c6; }

/* 11. FOOTER --------------------------------------------------------------- */
.site-footer { background: #2a0d12; color: #e9d6be; padding: 44px 0 26px; }
.site-footer::before { content: ""; display: block; width: 56px; height: 56px; margin: 0 auto 18px; background: url("../images/logo.png") center / cover no-repeat; border-radius: 50%; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: .8rem; }
.site-footer a { color: #e9d6be; }
.site-footer a:hover { color: var(--accent); }
.footer-grid { display: grid; gap: 26px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-size: .92rem; }
.social-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: .6rem; }
.social-row a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(233, 214, 190, .3); font-size: .95rem;
}
.social-row a svg { display: block; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.social-row a:hover { background: rgba(233, 214, 190, .12); }
.footer-bottom {
  margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(233, 214, 190, .18);
  display: grid; gap: .4rem; text-align: center; font-size: .82rem; color: #c9b49b;
}
.credit a { color: var(--accent); font-weight: 600; }

/* 12. UTILITIES ------------------------------------------------------------ */
.text-center { text-align: center; }
.muted { color: var(--text-muted); }
.small { font-size: .85rem; }
.stack > * + * { margin-top: 1rem; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.page-hero { background: var(--gradient-warm); color: #fff; padding: 42px 0 34px; text-align: center; }
.page-hero h1 { color: #fff; margin-bottom: .3rem; }
.page-hero p { color: #f7e3ca; margin: 0 auto; max-width: 56ch; }
.breadcrumb { font-size: .78rem; color: #f0d5b4; margin-bottom: .5rem; }
.breadcrumb a { color: #f0d5b4; }

/* 13. MOTION --------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =============================================================
   Trilingual labels — Marathi main, English below, Hindi on hover
   ============================================================= */
.i18n { position: relative; display: inline-block; text-align: inherit; line-height: 1.15; }
h1.i18n, h2.i18n, h3.i18n, .eyebrow.i18n, .site-footer h4.i18n { display: block; }
.i18n-mr { display: block; }
.i18n-en { display: block; font-size: .68em; font-weight: 500; letter-spacing: .02em; opacity: .72; margin-top: .12em; }
.i18n-hi {
  position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translate(-50%, 4px);
  background: var(--primary, #7a1220); color: #fff8ec; font-size: .74rem; line-height: 1.3;
  padding: 6px 10px; border-radius: 8px; white-space: nowrap; z-index: 60;
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .18s ease, transform .18s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,.22);
}
.i18n-hi::after {
  content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  border: 6px solid transparent; border-top-color: var(--primary, #7a1220);
}
.i18n:hover .i18n-hi, .i18n:focus-visible .i18n-hi, .i18n.i18n-open .i18n-hi {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.site-nav .i18n-en, .bottom-bar .i18n-en { font-size: .62em; }
h1 .i18n-en, h2 .i18n-en { font-size: .46em; font-weight: 500; }
.bottom-bar .i18n { align-items: center; }

/* Members / committee cards */
.member-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.member-card { text-align: center; padding: 18px 14px; }
.member-card .avatar {
  width: 74px; height: 74px; margin: 0 auto 10px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.4rem; font-weight: 700;
  background: rgba(196,124,22,.14); color: var(--primary, #7a1220);
  border: 1px solid rgba(196,124,22,.35);
}
.member-card .m-name { font-weight: 700; margin: 0 0 2px; }
.member-card .m-role { margin: 0; font-size: .86rem; color: var(--text-muted, #6b5c50); }

/* =========================================================
   GANESH INTRO - FINAL CSS
   ========================================================= */

#ganesh-intro {
    position: fixed;
    inset: 0;

    width: 100%;
    height: 100vh;
    height: 100dvh;

    margin: 0;
    padding: 0;

    z-index: 999999;

    overflow: hidden;

    background: transparent;

    display: flex;
    align-items: center;
    justify-content: center;

    /* IMPORTANT */
    pointer-events: none;
}



/* =========================================================
   CURTAIN VIDEO
   ========================================================= */

#curtain-intro {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    z-index: 1;

    overflow: hidden;

    pointer-events: none;
}

#curtain-video {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    display: block;

    object-fit: cover;
    object-position: center center;

    pointer-events: none;
}


/* =========================================================
   CENTER INTRO CONTENT
   ========================================================= */

.intro-content {
    position: absolute;

    top: 50%;
    left: 50%;

    width: min(90%, 900px);

    margin: 0;
    padding: 0;

    transform: translate(-50%, -50%);

    z-index: 10;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    color: #fff;

    pointer-events: none;

    /* Visible initially */
    opacity: 1;

    /* Disappear after 0.5 seconds */
    animation: introTextFadeOut 0.5s ease forwards;
    animation-delay: 0.5s;
}


/* =========================================================
   OM SYMBOL
   ========================================================= */

.intro-om {
    margin: 0 0 15px 0;

    font-size: clamp(45px, 6vw, 80px);

    line-height: 1;
}


/* =========================================================
   MANTRA
   ========================================================= */

.intro-mantra {
    margin: 0 0 20px 0;

    font-size: clamp(18px, 2vw, 28px);

    line-height: 1.4;
}


/* =========================================================
   MAIN TITLE
   ========================================================= */

.intro-content h1 {
    margin: 0;

    font-size: clamp(38px, 6vw, 80px);

    line-height: 1.1;

    font-weight: 600;

    letter-spacing: 1px;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.intro-content p {
    margin: 15px 0 25px;

    font-size: clamp(14px, 1.5vw, 20px);

    line-height: 1.5;
}


/* =========================================================
   DIVIDER
   ========================================================= */

.intro-divider {
    width: min(80%, 450px);

    margin: 5px auto 25px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 15px;

    font-size: 18px;
}

.intro-divider span {
    display: block;

    flex: 1;

    height: 1px;

    background: rgba(255, 255, 255, 0.7);
}


/* =========================================================
   GANPATI BAPPA TEXT
   ========================================================= */

.intro-bappa {
    margin: 0;

    font-size: clamp(20px, 2.5vw, 34px);

    line-height: 1.4;

    font-weight: 500;
}


/* =========================================================
   SKIP INTRO BUTTON
   ========================================================= */

.skip-intro {
    position: absolute;

    right: 30px;
    bottom: 30px;

    z-index: 30;

    margin: 0;
    padding: 10px 22px;

    border: 1px solid rgba(255, 255, 255, 0.5);

    border-radius: 50px;

    outline: none;

    background: rgba(0, 0, 0, 0.35);

    color: #fff;

    font-family: inherit;
    font-size: 14px;
    font-weight: 500;

    cursor: pointer;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.skip-intro:hover {
    background: rgba(0, 0, 0, 0.65);

    border-color: rgba(255, 255, 255, 0.9);

    transform: translateY(-2px);
}

.skip-intro:active {
    transform: translateY(0);
}


/* =========================================================
   HIDDEN INTRO
   ========================================================= */

#ganesh-intro.intro-hidden {
    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 0.6s ease,
        visibility 0s linear 0.6s;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    #ganesh-intro {
        height: 100vh;
        height: 100dvh;
    }

    .intro-content {
        width: 90%;
    }

    .intro-om {
        margin-bottom: 10px;
    }

    .intro-mantra {
        margin-bottom: 15px;
    }

    .intro-content p {
        margin-top: 10px;
        margin-bottom: 20px;
    }

    .intro-divider {
        width: 80%;
        gap: 10px;
    }

    .skip-intro {
        right: 20px;
        bottom: 20px;

        padding: 9px 18px;

        font-size: 13px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .intro-content {
        width: 92%;
    }

    .intro-divider {
        width: 75%;
    }

    .skip-intro {
        right: 15px;
        bottom: 15px;

        padding: 8px 16px;

        font-size: 12px;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    #ganesh-intro,
    #ganesh-intro.intro-hidden,
    .skip-intro {
        transition: none;
    }
}

/* =========================================================
   INTRO TEXT - DISAPPEAR AFTER 0.5 SECONDS
   ========================================================= */

.intro-content {
    animation: introTextFadeOut 0.5s ease forwards;
    animation-delay: 1.3s;
}


/* Fade the text away */
@keyframes introTextFadeOut {
    from {
        opacity: 1;
        visibility: visible;
    }

    to {
        opacity: 0;
        visibility: hidden;
    }
}