/* ===========================================================
   TBCS Durga Puja — Design System
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,800;1,600&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  /* Palette */
  --maroon-900: #5a1420;
  --maroon-800: #7a1f2b;
  --maroon-700: #8f1d2c;
  --maroon-600: #a8283a;
  --gold-500: #d4af37;
  --gold-400: #e6c766;
  --gold-300: #f2ddA0;
  --marigold-500: #f4991a;
  --marigold-400: #f7ad42;
  --cream-100: #fdf6ec;
  --cream-200: #f8ecd8;
  --cream-300: #f1e0c2;
  --ink-900: #241012;
  --ink-700: #3d2226;
  --ink-500: #6b4a4f;

  /* Semantic */
  --bg: var(--cream-100);
  --bg-alt: var(--cream-200);
  --surface: #ffffff;
  --text: var(--ink-900);
  --text-muted: var(--ink-500);
  --primary: var(--maroon-800);
  --primary-dark: var(--maroon-900);
  --accent: var(--marigold-500);
  --accent-gold: var(--gold-500);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', system-ui, -apple-system, sans-serif;

  --shadow-sm: 0 2px 10px rgba(90, 20, 32, 0.08);
  --shadow-md: 0 8px 30px rgba(90, 20, 32, 0.14);
  --shadow-lg: 0 20px 60px rgba(90, 20, 32, 0.22);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* -------------------- Reset -------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--primary-dark);
}
p { line-height: 1.75; color: var(--text-muted); margin: 0 0 1em; }
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* -------------------- Decorative background texture -------------------- */
.texture-dots {
  background-image: radial-gradient(var(--gold-400) 1px, transparent 1.5px);
  background-size: 22px 22px;
  opacity: 0.15;
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.alpona-divider {
  width: 100%;
  height: 46px;
  display: block;
  color: var(--gold-500);
}

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
}
.btn-primary {
  background: linear-gradient(135deg, var(--marigold-500), var(--maroon-700));
  /* Must come after the `background` shorthand, which resets this to padding-box.
     With padding-box the 2px transparent border sits outside the gradient's tile,
     so the image repeats and the ring shows the opposite end of the ramp — a
     visible seam around the button. */
  background-origin: border-box;
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-outline {
  background: transparent;
  border-color: var(--gold-500);
  color: var(--primary-dark);
}
.btn-outline:hover { background: var(--gold-500); color: #fff; transform: translateY(-3px); }
.btn-light {
  background: var(--cream-100);
  color: var(--primary-dark);
}
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* -------------------- Header / Nav -------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--cream-300);
  border-bottom: 1px solid rgba(122, 31, 43, 0.18);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary-dark);
}
.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
/* the tree mark is dark brown/teal, so it needs a light plate on dark surfaces */
.site-footer .brand-mark { background: var(--cream-100); padding: 4px; }

/* Durga-face mark, used on Durga Puja pages only */
.puja-mark { display: block; width: 104px; height: 104px; margin: 0 auto 20px; object-fit: contain; }
.brand-text .sub { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.62rem; letter-spacing: 0.14em; color: var(--marigold-500); text-transform: uppercase; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  position: relative;
  /* Must be block: the flex items are the <li>s, so an inline <a> would not let
     its vertical padding affect layout — the pill would paint over its neighbours. */
  display: block;
  padding: 10px 16px;
  font-weight: 500;
  font-size: 0.94rem;
  color: var(--text);
  border-radius: 999px;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}
.nav-links a:hover { color: var(--maroon-800); background: var(--cream-200); }
.nav-links a.active { color: #fff; background: var(--primary); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px;
  height: 2.5px;
  background: var(--primary-dark);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* -------------------- Hero -------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 80px;
  background: radial-gradient(1100px 600px at 80% -10%, rgba(244, 153, 26, 0.25), transparent 60%),
              radial-gradient(900px 500px at -10% 110%, rgba(122, 31, 43, 0.18), transparent 60%),
              var(--cream-100);
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--maroon-800);
  background: var(--gold-300);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  margin-bottom: 0.35em;
}
.hero h1 em {
  font-style: italic;
  background: linear-gradient(135deg, var(--marigold-500), var(--maroon-700));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lede { font-size: 1.1rem; max-width: 46ch; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }

.hero-art {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--maroon-800), var(--maroon-900));
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-art-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.hero-art::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(200deg, rgba(90, 20, 32, 0.02) 0%, rgba(36, 16, 18, 0.38) 100%);
  pointer-events: none;
}
.hero-art .ring {
  position: absolute;
  border: 1.5px solid rgba(230, 199, 102, 0.55);
  border-radius: 50%;
  z-index: 2;
  pointer-events: none;
}
.hero-art .ring.r1 { width: 70%; height: 70%; animation: spin 40s linear infinite; }
.hero-art .ring.r2 { width: 88%; height: 88%; animation: spin 60s linear infinite reverse; }
.hero-art svg { position: relative; z-index: 2; width: 46%; height: 46%; color: var(--gold-400); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Countdown */
.countdown {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.countdown .unit {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  min-width: 76px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--cream-300);
}
.countdown .unit .num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--maroon-800);
  display: block;
  font-variant-numeric: tabular-nums;
}
.countdown .unit .label {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* -------------------- Sections -------------------- */
section { position: relative; padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark {
  background: linear-gradient(160deg, var(--maroon-900), var(--maroon-800));
  color: var(--cream-100);
}
.section-dark h2, .section-dark h3 { color: var(--cream-100); }
.section-dark p { color: rgba(253, 246, 236, 0.78); }

.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

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

.card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(212, 175, 55, 0.18);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--marigold-400), var(--maroon-700));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { margin-bottom: 0; }

/* -------------------- Placeholder blocks -------------------- */
.ph-image {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: repeating-linear-gradient(135deg, var(--cream-300), var(--cream-300) 12px, var(--cream-200) 12px, var(--cream-200) 24px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--maroon-700);
  border: 1.5px dashed var(--gold-500);
  min-height: 220px;
}
.ph-image .ph-label {
  background: rgba(255,255,255,0.88);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  max-width: 80%;
}
.ph-image .ph-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--marigold-500);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

/* -------------------- Schedule (Events page) -------------------- */
.schedule-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.schedule-day {
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--marigold-500);
  padding: 30px 28px;
}
.schedule-day h3 { font-size: 1.3rem; color: var(--maroon-800); margin-bottom: 2px; }
.schedule-date { display: block; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 20px; }
.schedule-list { list-style: none; margin: 0; padding: 0; }
.schedule-row { display: flex; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--gold-300); }
.schedule-row:last-child { border-bottom: none; }
.schedule-time { flex: 0 0 100px; font-weight: 700; font-size: 0.82rem; color: var(--marigold-500); padding-top: 1px; }
.schedule-desc { flex: 1; font-size: 0.92rem; color: var(--ink-700); margin: 0; line-height: 1.5; }
.schedule-flyer { text-align: center; margin-top: 40px; }
.schedule-flyer img { max-width: 340px; width: 100%; border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
.schedule-flyer p { margin-top: 12px; font-size: 0.82rem; color: var(--text-muted); }

/* -------------------- Info strip -------------------- */
.info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  position: relative;
  z-index: 3;
}
.info-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--marigold-500);
}
.info-card .label { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; }
.info-card .value { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--primary-dark); }

/* -------------------- Gallery -------------------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 18px; }
.gallery-item {
  cursor: pointer;
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 100%;
}
.gallery-item.tall { grid-row: span 2; }
.gallery-item .ph-image {
  min-height: 180px;
  height: 100%;
  border-radius: var(--radius-sm);
  margin: 0;
  align-items: flex-end;
  padding-bottom: 16px;
  transition: transform 0.5s var(--ease);
}
.gallery-item .ph-image .ph-label { max-width: 88%; }
.gallery-item:hover .ph-image { transform: scale(1.04); }

.gallery-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  display: block;
  transition: transform 0.5s var(--ease);
}
.gallery-item:hover .gallery-photo { transform: scale(1.04); }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(36, 16, 18, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
  padding: 40px;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox-inner { max-width: 720px; width: 100%; }
.lightbox-inner .ph-image { min-height: 420px; }
.lightbox-photo {
  display: none;
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  color: #fff;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}
.lightbox-caption { color: var(--cream-200); text-align: center; margin-top: 16px; font-size: 0.9rem; }

/* -------------------- Committee cards -------------------- */
.person-card { text-align: center; padding: 30px 22px; }
.person-photo {
  width: 108px;
  height: 108px;
  min-height: 0;
  border-radius: 50%;
  margin: 0 auto 18px;
}
.person-card h3 { font-size: 1.05rem; margin-bottom: 2px; }
.person-role { color: var(--marigold-500); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 12px; }

/* -------------------- Sponsors -------------------- */
.sponsor-row { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.sponsor-tile {
  width: 180px;
  height: 96px;
  min-height: 0;
  border-radius: var(--radius-sm);
}

/* -------------------- Status badge -------------------- */
.pulse-dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--marigold-500);
  display: inline-block; margin-right: 8px; animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{ opacity:1; transform:scale(1);} 50%{ opacity:0.4; transform:scale(1.4);} }
.stream-status {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.08); padding: 8px 16px; border-radius: 999px;
  font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 18px;
}

/* -------------------- Forms -------------------- */
.form-grid { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; }
.form-grid .full { grid-column: 1 / -1; }
/* honeypot — off-screen rather than display:none so bots still fill it in */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-actions { text-align: center; }
.form-status { margin: 16px 0 0; font-size: 0.9rem; min-height: 1.2em; }
.form-status.is-ok { color: var(--maroon-800); font-weight: 600; }
.form-status.is-error { color: #b3261e; font-weight: 600; }
label { display: block; font-weight: 600; font-size: 0.85rem; margin-bottom: 8px; color: var(--primary-dark); }
input, textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--cream-300);
  background: var(--surface);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--marigold-500);
  box-shadow: 0 0 0 4px rgba(244, 153, 26, 0.15);
}
textarea { resize: vertical; min-height: 130px; }

.map-placeholder {
  height: 260px;
  border-radius: var(--radius-md);
}

/* -------------------- Footer -------------------- */
.site-footer {
  background: var(--maroon-900);
  color: rgba(253, 246, 236, 0.82);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}
.site-footer h4 { color: var(--gold-400); font-size: 0.95rem; letter-spacing: 0.04em; margin-bottom: 18px; }
.site-footer .brand { color: var(--cream-100); }
.site-footer a { color: rgba(253, 246, 236, 0.75); transition: color 0.25s var(--ease); }
.site-footer a:hover { color: var(--gold-400); }
.footer-links li { margin-bottom: 10px; }
.social-row { display: flex; gap: 12px; margin-top: 18px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(253, 246, 236, 0.1);
  display: flex; align-items: center; justify-content: center;
}
.social-row a:hover { background: var(--marigold-500); color: #fff; }
.social-row svg { width: 17px; height: 17px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; font-size: 0.82rem; color: rgba(253, 246, 236, 0.55);
  flex-wrap: wrap; gap: 10px;
}

/* -------------------- Page hero (interior pages) -------------------- */
.page-hero {
  position: relative;
  padding: 74px 0 64px;
  text-align: center;
  background: radial-gradient(900px 400px at 50% -20%, rgba(244, 153, 26, 0.2), transparent 65%), var(--cream-100);
  overflow: hidden;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.breadcrumb { font-size: 0.82rem; color: var(--text-muted); letter-spacing: 0.04em; margin-bottom: 16px; }
.breadcrumb span { color: var(--marigold-500); }

/* -------------------- Utility -------------------- */
.text-center { text-align: center; }
.mt-lg { margin-top: 48px; }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.role-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; margin: 20px 0 0; }
.role-list li { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; color: var(--text); }
.role-list li svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--marigold-500); }
.tag {
  background: var(--cream-200);
  color: var(--maroon-800);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
}

.notice-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--gold-300);
  color: var(--maroon-900);
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 40px;
}

/* -------------------- Responsive -------------------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  /* width:100% is load-bearing — the auto margins stop this grid item from
     stretching, and its only child is absolutely positioned, so without a
     definite width it collapses to 0 and the hero photo disappears entirely. */
  .hero-art { width: 100%; max-width: 420px; margin: 0 auto; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .info-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav-links {
    /* Anchored to the sticky header rather than a hardcoded offset, so the panel
       keeps clearing it if the header's height ever changes. */
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 12px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s var(--ease);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 14px 18px; }
  .nav-toggle { display: flex; }
}
@media (max-width: 760px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .info-strip { grid-template-columns: 1fr; margin-top: 28px; }
  .schedule-grid { grid-template-columns: 1fr; }
  .role-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .countdown { justify-content: center; }
  section { padding: 64px 0; }
}
@media (max-width: 560px) {
  /* the full org name plus the mark crowds the header on a phone */
  .brand { font-size: 1rem; gap: 9px; }
  .brand-mark { width: 38px; height: 38px; }
  .puja-mark { width: 84px; height: 84px; }
}
