/* =========================================================
   Shree Siddhivinayak Sanskritik Mitra Mandal — Design System
   Palette drawn from the Mandal's own Ganeshotsav visual world:
   sindoor red, marigold gold, deep peacock teal, haldi-tinted paper.
   ========================================================= */

:root {
  /* Color — Royal Maroon + Gold + Ivory, premium heritage palette (v5) */
  --ink: #2a1a14;
  --ink-soft: #6b5647;
  --paper: #fbf6ec;          /* warm ivory — main page background */
  --paper-raised: #ffffff;   /* cards pop white against the ivory page */
  --paper-tint: #f4e9d3;     /* alternating section band tint */
  --maroon: #6e0f2a;         /* deep royal burgundy — header/footer/dark bands */
  --maroon-deep: #430818;
  --heading: #5c0e24;        /* rich dark maroon — key messaging/headings */
  --heading-soft: #8a2f47;
  --sindoor: #c9962c;        /* warm heritage gold — primary CTAs, accents */
  --sindoor-dark: #a87a1e;
  --gold: #c9962c;
  --gold-soft: #e8cb85;
  --teal: #2c3a6b;           /* deep royal indigo — supporting accent (no green) */
  --teal-dark: #1c2547;
  --line: #e8dcc0;
  --success: #2e7d5b;
  --danger: #b3402e;

  /* Type — modern, premium, full Devanagari support */
  --font-display: "Yantramanav", "Noto Sans Devanagari", sans-serif;
  --font-body: "Hind", "Noto Sans Devanagari", sans-serif;

  /* Layout */
  --max-w: 1160px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 22px;
  --shadow-card: 0 1px 2px rgba(42, 24, 16, 0.06), 0 8px 24px -12px rgba(168, 70, 14, 0.22);
  --focus-ring: 3px solid #1a5fb4;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
a:hover { color: var(--sindoor); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--heading);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}
h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 1.3rem + 1vw, 2.1rem); }
h3 { font-size: 1.3rem; }
p { max-width: 68ch; margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
.container { max-width: var(--max-w); margin-inline: auto; padding-inline: 20px; }
section { padding-block: 56px; }
@media (min-width: 768px) { section { padding-block: 84px; } }

/* Focus visibility everywhere */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  background: var(--maroon);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top .2s ease;
  font-family: var(--font-body);
  font-weight: 600;
}
.skip-link:focus { top: 12px; color: #fff; }

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

/* ---------- Rangoli divider (used between sections) ---------- */
.rangoli-divider {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin: 0 auto; max-width: 420px; color: var(--gold);
}
.rangoli-divider::before, .rangoli-divider::after {
  content: ""; flex: 1; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.rangoli-divider svg { flex-shrink: 0; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 500;
  background: var(--maroon);
  border-bottom: 3px solid var(--gold);
}
.header-inner {
  max-width: 1440px; margin-inline: auto; padding: 10px 12px;
  display: flex; align-items: center; gap: 8px;
}
@media (min-width: 480px) {
  .header-inner { padding: 10px 24px; gap: 14px; }
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; flex-shrink: 0; }
.brand img { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; }
.brand-text { color: #f5e4c8; line-height: 1.25; white-space: nowrap; overflow: hidden; max-width: 46vw; }
.brand-text .mr { display: block; font-family: var(--font-display); font-weight: 800; font-size: 0.92rem; color: #fff; overflow: hidden; text-overflow: ellipsis; }
.brand-text .en { display: none; }
.brand-text .regno { display: none; }
@media (min-width: 1180px) {
  .brand-text { max-width: none; }
  .brand-text .mr { font-size: 1rem; }
  .brand-text .en { display: block; font-size: 0.68rem; letter-spacing: 0.03em; color: var(--gold-soft); white-space: nowrap; font-weight: 600; }
  .brand-text .regno { display: block; font-size: 0.62rem; color: #e0c8a8; white-space: nowrap; opacity: 0.9; font-weight: 600; }
}
.brand:hover .mr, .brand:hover { color: #fff; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: transparent; border: 1px solid rgba(255,255,255,0.3);
  color: #fff; cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang-switch {
  display: flex; border: 1px solid rgba(255,255,255,0.35); border-radius: 999px;
  overflow: hidden; flex-shrink: 0;
}
.lang-switch button {
  background: transparent; border: 0; color: #e8cba0; font-family: var(--font-body);
  font-weight: 700; font-size: 0.7rem; padding: 6px 7px; cursor: pointer; line-height: 1;
}
@media (min-width: 480px) {
  .lang-switch button { font-size: 0.78rem; padding: 7px 10px; }
}
.lang-switch button[aria-pressed="true"] { background: var(--gold); color: var(--maroon-deep); }
.lang-switch button:not([aria-pressed="true"]):hover { background: rgba(255,255,255,0.12); color: #fff; }

.main-nav {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--maroon-deep);
  border-bottom: 3px solid var(--gold);
  max-height: calc(100vh - 64px);
  overflow-y: auto;
}
.main-nav.is-open { display: block; }
.main-nav ul { list-style: none; margin: 0; padding: 10px 0; display: flex; flex-direction: column; }
.main-nav a {
  display: block; padding: 12px 22px; color: #fdf0d8; text-decoration: none;
  font-weight: 600; font-size: 0.98rem; border-left: 3px solid transparent;
}
.main-nav a:hover, .main-nav a[aria-current="page"] {
  background: rgba(255,255,255,0.06); color: #fff; border-left-color: var(--sindoor);
}
.main-nav .nav-donate-mobile a { color: var(--gold-soft); font-weight: 700; }

.btn-donate-pill {
  display: none; align-items: center; gap: 6px;
  background: var(--gold); color: var(--heading); font-weight: 800; font-size: 0.85rem;
  padding: 9px 16px; border-radius: 999px; text-decoration: none; white-space: nowrap;
  box-shadow: 0 4px 12px -4px rgba(0,0,0,0.4); flex-shrink: 0;
}
.btn-donate-pill svg { width: 16px; height: 16px; }
.btn-donate-pill:hover { background: var(--gold-soft); color: var(--heading); }
@media (min-width: 640px) { .btn-donate-pill { display: inline-flex; } }

@media (min-width: 1340px) {
  .main-nav a { font-size: 0.93rem; padding: 10px 14px; }
}
@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .main-nav {
    display: block; position: static; background: transparent; border: 0; max-height: none; overflow: visible;
    flex: 1;
  }
  .main-nav ul { flex-direction: row; align-items: center; gap: 0; padding: 0; flex-wrap: wrap; justify-content: flex-end; }
  .main-nav a { padding: 8px 9px; border-left: 0; border-bottom: 3px solid transparent; font-size: 0.85rem; white-space: nowrap; color: #f5e4c8; font-weight: 700; }
  .main-nav a:hover, .main-nav a[aria-current="page"] { background: transparent; border-bottom-color: var(--gold); color: #fff; }
  .main-nav .nav-donate-mobile { display: none; }
}

/* Breadcrumbs */
.breadcrumbs {
  background: var(--paper-raised); border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
}
.breadcrumbs .container { padding-block: 10px; display: flex; flex-wrap: wrap; gap: 6px; color: var(--ink-soft); }
.breadcrumbs a { color: var(--teal); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 0.98rem;
  padding: 13px 24px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none; line-height: 1.1; transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--heading); color: #fff; }
.btn-primary:hover { background: var(--maroon-deep); color: #fff; }
.btn-secondary { background: transparent; border-color: var(--maroon); color: var(--maroon); }
.btn-secondary:hover { background: var(--maroon); color: #fff; }
.btn-gold { background: var(--gold); color: var(--maroon-deep); }
.btn-gold:hover { background: var(--gold-soft); color: var(--maroon-deep); }
.btn-ghost { background: #fff; color: var(--heading); border-color: #fff; }
.btn-ghost:hover { background: var(--gold-soft); color: var(--heading); border-color: var(--gold-soft); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 0.88rem; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 100% at 50% 0%, #8f1a3d 0%, var(--maroon) 55%, var(--maroon-deep) 100%);
  color: #fff8ec; padding-block: 28px 0;
}

/* Identity row: Shivaji Maharaj (left) — Mandal name block (centre) — Tilak (right) */
.hero-identity {
  display: flex; align-items: center; justify-content: center;
  gap: 18px; text-align: center; padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.16); margin-bottom: 28px;
}
.hero-figure-side { flex-shrink: 0; margin: 0; display: none; }
.hero-figure-side img {
  width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 40% 25%;
  border: 3px solid var(--gold-soft); box-shadow: 0 6px 16px -6px rgba(0,0,0,0.5); background: #fff;
}
.hero-figure-side figcaption { color: #f5e4c8; font-size: 0.72rem; font-weight: 700; margin-top: 6px; max-width: 100px; }
@media (min-width: 640px) {
  .hero-figure-side { display: block; }
  .hero-figure-side img { width: 96px; height: 96px; }
}
@media (min-width: 900px) {
  .hero-identity { gap: 40px; }
  .hero-figure-side img { width: 116px; height: 116px; }
}
.hero-identity-center { max-width: 640px; margin-inline: auto; text-align: center; }
.hero-mark { border-radius: 50%; margin: 0 auto 10px; display: block; border: 2px solid var(--gold-soft); }
.hero-identity-center h1 {
  color: #fff; margin-bottom: 0.18em; font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.4rem); line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0,0,0,0.25);
}
.hero-name-en { color: var(--heading); font-size: 1.02rem; font-weight: 800; letter-spacing: 0.01em; margin: 0; }
.hero-regno {
  color: var(--heading); font-size: 0.8rem; margin: 3px 0 0; font-weight: 600; opacity: 0.78;
}
.hero-id-card {
  display: inline-block; background: #fffaf2; border: 1px solid rgba(134,33,58,0.12);
  padding: 12px 26px; border-radius: 14px; margin: 10px 0 18px;
  box-shadow: 0 10px 24px -12px rgba(42,20,10,0.45);
}
.hero-tagline-mr {
  display: inline-block; color: var(--heading); background: var(--gold);
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem;
  padding: 11px 28px; border-radius: 999px; margin: 0;
  box-shadow: 0 10px 24px -12px rgba(0,0,0,0.5);
}

.hero-main-row {
  display: grid; gap: 32px; align-items: start;
  grid-template-columns: 1fr; padding-bottom: 12px;
}
@media (min-width: 900px) { .hero-main-row { grid-template-columns: 1.05fr 0.95fr; padding-top: 8px; } }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid rgba(255,255,255,0.6);
  color: var(--heading); padding: 7px 14px; border-radius: 999px; font-size: 0.85rem; font-weight: 700; margin-bottom: 18px;
  box-shadow: 0 4px 14px -6px rgba(0,0,0,0.35);
}
.hero .hero-sub { color: #f5e4c8; font-size: 1.1rem; font-weight: 500; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-figure {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.55);
  border: 4px solid rgba(255,255,255,0.55);
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1100/1295; }
.hero-figure figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.65), transparent);
  color: #fff2da; font-size: 0.8rem; padding: 26px 16px 10px; margin: 0;
}
.hero-wave { display: block; width: 100%; height: auto; margin-top: 40px; }

/* Quick-nav tiles (flowchart's top sections) */
.quicknav { margin-top: -1px; background: var(--paper); }
.quicknav-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
  margin-top: 8px;
}
@media (min-width: 640px) { .quicknav-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .quicknav-grid { grid-template-columns: repeat(5, 1fr); } }
.quicknav-tile {
  background: var(--paper-raised); border: 1px solid var(--line); border-top: 4px solid var(--gold);
  border-radius: var(--radius-md); padding: 22px 14px; text-align: center; text-decoration: none;
  color: var(--heading); box-shadow: var(--shadow-card); transition: transform .15s ease, border-color .15s ease;
}
.quicknav-tile:hover { transform: translateY(-3px); border-top-color: var(--sindoor); color: var(--sindoor); }
.quicknav-tile .ic {
  width: 46px; height: 46px; margin: 0 auto 12px; color: var(--sindoor);
}
.quicknav-tile span { display: block; font-weight: 700; font-size: 0.92rem; }

/* Section headers */
.section-head { max-width: 620px; margin-bottom: 36px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-soft); }

/* Alt background band */
.band-alt { background: var(--paper-tint); border-block: 1px solid var(--line); }
.band-maroon { background: var(--maroon); color: #f5e4c8; }
.band-maroon h2 { color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.band-maroon p { color: #f5e4c8; font-weight: 500; }
.band-maroon a { color: var(--gold-soft); font-weight: 700; }
.band-maroon .card { color: var(--ink); }
.band-maroon .card p { color: var(--ink); }
.band-maroon .card li { color: var(--ink); }
.band-maroon .card .form-note { color: var(--ink-soft); }
.band-maroon .card a { color: var(--teal); font-weight: 600; }

/* Cards */
.card {
  background: var(--paper-raised); border: 1px solid var(--line); color: var(--ink);
  border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-card);
}
.card-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }

/* Highlights strip on home */
.highlights { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .highlights { grid-template-columns: repeat(3, 1fr); } }
.highlight-card {
  border-radius: var(--radius-md); padding: 24px; color: #fff;
  background: linear-gradient(150deg, var(--teal), var(--teal-dark));
  box-shadow: var(--shadow-card);
}
.highlight-card:nth-child(2) { background: linear-gradient(150deg, var(--sindoor), var(--sindoor-dark)); color: var(--heading); }
.highlight-card:nth-child(2) p { color: var(--maroon-deep); }
.highlight-card:nth-child(3) { background: linear-gradient(150deg, #a68a4a, #7d6537); }
.highlight-card .num { font-family: var(--font-display); font-size: 2.1rem; font-weight: 700; display: block; }
.highlight-card p { color: rgba(255,255,255,0.88); margin: 6px 0 0; }

/* Timeline (Ganeshotsav day-by-day — genuine sequence, numbering justified) */
.timeline { position: relative; margin-left: 8px; border-left: 3px solid var(--line); padding-left: 28px; }
.timeline-day { position: relative; margin-bottom: 30px; }
.timeline-day::before {
  content: attr(data-num);
  position: absolute; left: -43px; top: 0;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--sindoor); color: #fff; font-weight: 700; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 4px var(--paper);
}
.timeline-day h4 { margin-bottom: 4px; }
.timeline-date { color: var(--sindoor-dark); font-weight: 700; font-size: 0.85rem; text-transform: none; }
.timeline-list { margin: 8px 0 0; padding-left: 1.1em; color: var(--ink-soft); }
.timeline-list li { margin-bottom: 4px; }

/* Tag / badge */
.tag {
  display: inline-block; background: rgba(15,92,86,0.1); color: var(--teal-dark);
  font-size: 0.78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}
.tag-gold { background: rgba(232,163,61,0.2); color: #7a5716; }
.tag-sindoor { background: rgba(193,68,14,0.12); color: var(--sindoor-dark); }

/* Placeholder blocks (for missing content, per brief) */
.placeholder {
  border: 2px dashed #b98b57; background: repeating-linear-gradient(135deg, #fff8ea, #fff8ea 10px, #fdefd2 10px, #fdefd2 20px);
  border-radius: var(--radius-md); padding: 18px 20px; color: #7a5716; font-size: 0.92rem;
}
.placeholder strong { display: block; color: #5c4310; margin-bottom: 3px; font-family: var(--font-display); }
.placeholder-inline {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1.5px dashed #b98b57; background: #fff8ea; color: #7a5716;
  font-size: 0.82rem; font-weight: 700; padding: 3px 10px; border-radius: 999px;
}
.logo-slot {
  width: 100%; aspect-ratio: 3/2; border: 2px dashed #b98b57; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: #fff8ea; color: #7a5716; font-size: 0.85rem; font-weight: 600; padding: 10px;
}

/* Gallery */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filter-btn {
  border: 1.5px solid var(--line); background: var(--paper-raised); color: var(--ink-soft);
  padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: 0.86rem; cursor: pointer;
}
.filter-btn[aria-pressed="true"] { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-item {
  aspect-ratio: 4/3; border-radius: var(--radius-sm); overflow: hidden; position: relative;
  background: var(--paper-raised); border: 1px solid var(--line);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item .cap {
  position: absolute; inset: auto 0 0 0; padding: 8px 10px; font-size: 0.74rem;
  background: linear-gradient(0deg, rgba(42,24,16,0.82), transparent); color: #fff;
}

/* Forms */
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 700; font-size: 0.9rem; color: var(--heading); }
.field .hint { font-size: 0.78rem; color: var(--ink-soft); font-weight: 400; }
.field input, .field textarea, .field select {
  font: inherit; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid #cbb894; background: #fff;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--teal); }
.field textarea { resize: vertical; min-height: 120px; }
.field.required label::after { content: " *"; color: var(--sindoor); }
.form-note { font-size: 0.82rem; color: var(--ink-soft); }
.form-status { padding: 12px 14px; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.92rem; display: none; }
.form-status.is-visible { display: block; }
.form-status.ok { background: #e4f3e8; color: var(--success); border: 1px solid #bfe3c8; }
.form-status.err { background: #fbe7e5; color: var(--danger); border: 1px solid #f0c4bf; }

/* FAQ accordion */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 18px 4px; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  color: var(--heading); display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq-q .icon { flex-shrink: 0; transition: transform .2s ease; color: var(--sindoor); }
.faq-q[aria-expanded="true"] .icon { transform: rotate(45deg); }
.faq-a { padding: 0 4px 20px; color: var(--ink-soft); display: none; }
.faq-a.is-open { display: block; }

/* Contact / info blocks */
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.info-list li { display: flex; gap: 12px; align-items: flex-start; }
.info-list .ic { flex-shrink: 0; width: 22px; height: 22px; color: var(--sindoor); margin-top: 2px; }
.emg-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.emg-table th, .emg-table td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); }
.emg-table th { font-family: var(--font-display); color: var(--heading); font-size: 0.82rem; text-transform: none; }
.emg-table td:last-child, .emg-table th:last-child { text-align: right; font-weight: 700; color: var(--teal-dark); white-space: nowrap; }

/* Committee grid */
.committee-lead { text-align: center; margin-bottom: 8px; }
.committee-lead .photo-ring {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 10px;
  background: var(--paper-raised); border: 3px solid var(--gold); display: flex; align-items: center; justify-content: center; color: var(--sindoor);
}
.committee-officers { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 28px 0; }
@media (min-width: 700px) { .committee-officers { grid-template-columns: repeat(3, 1fr); } }
.officer-card { text-align: center; background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 18px 12px; }
.officer-card .role { display: block; font-size: 0.78rem; color: var(--teal-dark); font-weight: 700; margin-top: 2px; }
.member-grid { columns: 2; column-gap: 20px; margin-top: 10px; }
@media (min-width: 700px) { .member-grid { columns: 3; } }
.member-grid div { break-inside: avoid; padding: 6px 0; border-bottom: 1px dotted var(--line); font-size: 0.94rem; }

/* Steps (process — genuine sequence) */
.steps { display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 760px) { .steps.cols-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 760px) { .steps.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.step { counter-increment: step; position: relative; padding-top: 46px; }
.step::before {
  content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--maroon); color: #fff; font-family: var(--font-display); font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* Footer */
.site-footer { background: var(--maroon-deep); color: #e8d7bb; padding-top: 56px; }
.footer-grid {
  display: grid; gap: 32px; grid-template-columns: 1fr;
  padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr; } }
.footer-grid h5 { color: #fff; font-family: var(--font-display); font-size: 0.95rem; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-grid a { color: #d9c39c; text-decoration: none; font-size: 0.92rem; }
.footer-chairman-label { color: var(--gold-soft); font-weight: 700; font-size: 0.92rem; display: inline-block; margin-bottom: 4px; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-brand p { color: #cbb794; font-size: 0.9rem; }
.social-row { display: flex; gap: 10px; margin-top: 14px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center; color: #f3e3c4;
}
.social-row a:hover { background: var(--sindoor); border-color: var(--sindoor); color: #fff; }
.footer-bottom {
  max-width: var(--max-w); margin-inline: auto; padding: 20px 20px 28px;
  display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between;
  font-size: 0.82rem; color: #b9a582;
}
.footer-bottom a { color: #b9a582; }

/* Install banner (PWA) */
.install-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 600;
  background: var(--paper-raised); border: 1px solid var(--line); border-left: 5px solid var(--sindoor);
  border-radius: var(--radius-md); box-shadow: 0 12px 30px -10px rgba(0,0,0,0.35);
  padding: 14px 16px; display: none; align-items: center; gap: 14px; max-width: 460px;
}
.install-banner.is-visible { display: flex; }
.install-banner p { margin: 0; font-size: 0.88rem; color: var(--ink-soft); }
.install-banner .row { display: flex; gap: 8px; margin-top: 8px; }
.install-close { background: none; border: 0; color: var(--ink-soft); cursor: pointer; font-size: 1.1rem; line-height: 1; padding: 4px; }

/* Offline / connectivity toast */
.net-toast {
  position: fixed; top: 70px; left: 50%; transform: translateX(-50%) translateY(-10px);
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px;
  font-size: 0.85rem; z-index: 700; opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease;
}
.net-toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Back to top */
.back-to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 400;
  width: 46px; height: 46px; border-radius: 50%; background: var(--maroon); color: #fff;
  border: 2px solid var(--gold); display: none; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 0 8px 20px -6px rgba(0,0,0,0.4);
}
.back-to-top.is-visible { display: flex; }

/* Page header (interior pages) */
.page-hero {
  background: linear-gradient(160deg, var(--maroon), var(--maroon-deep));
  color: #fff; padding-block: 40px;
}
.page-hero h1 { color: #fff; margin-bottom: 8px; text-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.page-hero p { color: #f5e4c8; margin: 0; max-width: 60ch; font-weight: 500; }

/* Empty state */
.empty-state {
  text-align: center; padding: 48px 20px; border: 1px dashed var(--line);
  border-radius: var(--radius-md); background: var(--paper-raised);
}
.empty-state .ic { width: 46px; height: 46px; color: var(--gold); margin: 0 auto 14px; }

/* Loading skeleton */
.skeleton { background: linear-gradient(90deg, #eee2cb 25%, #f6ecd9 37%, #eee2cb 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; border-radius: var(--radius-sm); }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

/* Utility */
.mt-0{margin-top:0}.mb-0{margin-bottom:0}.text-center{text-align:center}
.flex-between{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.stack{display:flex;flex-direction:column;gap:10px}
.small{font-size:.85rem;color:var(--ink-soft)}
