@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=Source+Serif+4:wght@400;600;700&family=IBM+Plex+Mono:wght@400;500;600&family=Noto+Sans+Devanagari:wght@400;500;600;700&family=Noto+Sans+Gurmukhi:wght@400;500;600;700&display=swap');

/*
  Design system: "The Workshop Ledger" — in the Aam Aadmi Party's own colors.
  Palette sampled directly from aamaadmiparty.org: deep navy (#021a32),
  the party's blue (#164fa3), and the gold used on its primary "Join" button
  (#f8cf25). Blue reads on light paper (7.8:1); gold reads on dark navy
  (11.6:1) — the reverse pairing fails contrast, so each is scoped to the
  background it actually appears on. The page still opens like a portfolio
  cover (hero, footer) in navy around paper-textured body sections; the
  signature dashed stitch-line is gold on navy, blue on paper.
*/

:root {
  --paper: #faf3e0;
  --paper-alt: #f1e7c8;
  --paper-line: rgba(2, 26, 50, 0.09);
  --ink: #021a32;
  --ink-soft: #3d5470;
  --ink-faint: #71859f;
  --charcoal: #021a32;
  --charcoal-2: #010d1c;
  --cream: #ffffff;
  --cream-soft: #b9c6dc;
  --oxblood: #f8cf25;
  --oxblood-deep: #dcb400;
  --brass: #164fa3;
  --brass-bright: #f8cf25;
  --brass-ink: #0d3a78;
  --stitch-on-paper: rgba(2, 26, 50, 0.28);
  --stitch-on-dark: rgba(248, 207, 37, 0.55);
  --shadow-sm: 0 1px 2px rgba(2, 26, 50, 0.12);
  --shadow-md: 0 10px 26px rgba(2, 26, 50, 0.18);
  --shadow-lg: 0 24px 52px rgba(1, 13, 28, 0.38);
  --radius: 14px;
  --max-w: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  font-family: 'Source Serif 4', Georgia, serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Oswald', sans-serif;
  color: var(--ink);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 2px;
  border-radius: 2px;
}
/* On navy panels, blue focus rings vanish against the dark background — use gold instead */
.hero a:focus-visible, .hero button:focus-visible,
.quote-card a:focus-visible, .quote-card button:focus-visible,
.feature-visual a:focus-visible, .feature-visual button:focus-visible,
.contact-band a:focus-visible, .contact-band button:focus-visible,
footer a:focus-visible, footer button:focus-visible {
  outline-color: var(--brass-bright);
}

/* subtle kraft-paper grain: fine dot grid, like drafting/pattern paper */
body {
  background-image:
    radial-gradient(var(--paper-line) 0.6px, transparent 0.6px);
  background-size: 18px 18px;
  background-position: -4px -4px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 243, 224, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 200ms ease, border-color 200ms ease;
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--paper-line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--brass-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px dashed var(--brass-bright);
  box-shadow: inset 0 0 0 3px var(--charcoal-2);
}
.brand-text .role {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-faint);
  white-space: nowrap;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 1;
  min-width: 0;
}
.nav-links a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 8px 1px;
  position: relative;
  white-space: nowrap;
  transition: color 200ms ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 0;
  border-bottom: 2px dashed var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
  gap: 8px;
  background: var(--oxblood);
  color: var(--charcoal-2) !important;
  padding: 10px 18px;
  border-radius: 4px;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--oxblood-deep);
  box-shadow: var(--shadow-sm);
  transition: background 200ms ease, transform 200ms ease;
}
.nav-cta:hover { background: var(--oxblood-deep); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  color: var(--ink);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 8px 24px 20px;
  background: var(--paper);
  border-bottom: 1px solid var(--paper-line);
}
.mobile-menu a {
  padding: 12px 0;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-bottom: 1px dashed var(--paper-line);
  min-height: 44px;
  display: flex;
  align-items: center;
}
.mobile-menu.open { display: flex; }

/* ---------- Hero: the portfolio cover ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 500px at 82% 8%, rgba(248, 207, 37, 0.22), transparent 60%),
    linear-gradient(160deg, var(--charcoal) 0%, var(--charcoal-2) 100%);
  color: var(--cream);
  overflow: hidden;
  padding-top: 64px;
}
/* corner stitches — like brass tacks on a leather portfolio cover */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  border-top: 2px dashed var(--stitch-on-dark);
  border-left: 2px dashed var(--stitch-on-dark);
  top: 26px;
  pointer-events: none;
}
.hero::before { left: 26px; }
.hero::after {
  right: 26px;
  left: auto;
  border-left: none;
  border-right: 2px dashed var(--stitch-on-dark);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  padding-top: 64px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass-bright);
  border: 1px dashed var(--stitch-on-dark);
  padding: 7px 14px;
  border-radius: 3px;
  margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
  color: var(--cream);
}
.hero-sub {
  font-family: 'Source Serif 4', serif;
  font-size: 1.18rem;
  color: var(--cream-soft);
  max-width: 46ch;
  margin-bottom: 30px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 4px;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  min-height: 44px;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease, color 200ms ease, border-color 200ms ease;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--brass-bright);
  color: var(--charcoal-2) !important;
  border-color: var(--brass-bright);
}
.btn-primary:hover { background: var(--oxblood-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost {
  background: transparent;
  color: var(--cream) !important;
  border-color: var(--cream-soft);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: var(--cream); transform: translateY(-2px); }
.btn-dark {
  background: var(--ink);
  color: var(--cream) !important;
}
.btn-dark:hover { background: var(--oxblood); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 30px;
  padding-top: 24px;
  border-top: 1px dashed var(--stitch-on-dark);
}
.hero-stats .stat-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 6px;
}
.hero-stats .stat-value {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--cream);
}

.hero-photo-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 100%;
}
/* concentric rings: reads as both a shoe-sole tread and a hockey centre-circle.
   Each ring slowly orbits at its own speed/direction, and a highlight chases
   outer -> middle -> inner -> outer around the set (negative delays start
   each ring already mid-cycle, so the chase is visible from first paint). */
@keyframes ring-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes ring-pulse {
  0%, 100% { opacity: 0.35; filter: drop-shadow(0 0 0 rgba(248, 207, 37, 0)); }
  50% { opacity: 1; filter: drop-shadow(0 0 7px rgba(248, 207, 37, 0.85)); }
}
.hero-photo-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 1px dashed rgba(248,207,37,0.4);
  top: 4%;
  z-index: 0;
  animation: ring-spin 32s linear infinite, ring-pulse 6s ease-in-out infinite;
}
.hero-photo-glow::before,
.hero-photo-glow::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(248,207,37,0.25);
}
.hero-photo-glow::before {
  inset: 34px;
  animation: ring-spin 22s linear infinite reverse, ring-pulse 6s ease-in-out infinite -2s;
}
.hero-photo-glow::after {
  inset: 68px;
  animation: ring-spin 15s linear infinite, ring-pulse 6s ease-in-out infinite -4s;
}
.hero-photo {
  position: relative;
  z-index: 1;
  width: min(360px, 78%);
  height: auto;
  transform: rotate(-1.2deg);
  filter: drop-shadow(0 26px 34px rgba(0,0,0,0.5));
}
.hero-caption-card {
  position: absolute;
  z-index: 2;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%) rotate(-1.2deg);
  background: var(--paper);
  border: 1px dashed var(--stitch-on-paper);
  padding: 9px 16px;
  border-radius: 3px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
  box-shadow: var(--shadow-md);
}

/* ---------- Sections generic ---------- */
section { padding: 100px 0; }
.section-alt { background: var(--paper-alt); }
.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}
.kicker {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass-ink);
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  margin-bottom: 16px;
}
.section-head p {
  font-family: 'Source Serif 4', serif;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-grid p + p { margin-top: 18px; }
.about-grid p { color: var(--ink-soft); font-size: 1.05rem; }
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--paper);
  border: 1px dashed var(--stitch-on-paper);
  padding: 9px 16px;
  border-radius: 3px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.pill svg { width: 15px; height: 15px; color: var(--brass-ink); flex-shrink: 0; }
a.pill { transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease; }
a.pill:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); border-color: var(--brass); }

.quote-card {
  background: linear-gradient(160deg, var(--charcoal), var(--charcoal-2));
  color: var(--cream);
  border-radius: var(--radius);
  padding: 38px;
  position: relative;
  box-shadow: var(--shadow-lg);
  border: 1px dashed var(--stitch-on-dark);
}
.quote-card svg.quote-mark { width: 32px; height: 32px; color: var(--brass-bright); margin-bottom: 16px; }
.quote-card blockquote {
  font-family: 'Source Serif 4', serif;
  font-style: italic;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 18px;
}
.quote-card cite {
  font-style: normal;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--cream-soft);
  display: block;
}

/* ---------- Timeline — the stitch-line, this page's signature ---------- */
.timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 8px;
  bottom: 8px;
  width: 0;
  border-left: 2px dashed var(--stitch-on-paper);
}
.tl-item {
  position: relative;
  padding-left: 76px;
  margin-bottom: 48px;
}
.tl-item:last-child { margin-bottom: 0; }
.tl-dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px dashed var(--brass);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.tl-dot::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1px solid var(--paper-line);
}
.tl-dot svg { width: 22px; height: 22px; color: var(--ink); position: relative; }
.tl-year {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brass-ink);
  margin-bottom: 8px;
}
.tl-item h3 { font-size: 1.2rem; margin-bottom: 10px; }
.tl-item p { color: var(--ink-soft); }

/* ---------- Cards / grid ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.info-card {
  background: var(--paper);
  border: 1px solid var(--paper-line);
  border-top: 3px solid var(--brass);
  border-radius: 4px;
  padding: 28px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.info-card .icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px dashed var(--brass-bright);
}
.info-card .icon-badge svg { width: 22px; height: 22px; color: var(--brass-bright); }
.info-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.info-card p { color: var(--ink-soft); font-size: 0.97rem; }

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.stat-box { text-align: center; }
.stat-box .num {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 2.1rem;
  color: var(--ink);
}
.stat-box .lbl {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 4px;
}

/* ---------- Two column feature (business / public service) ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.feature-row.reverse { grid-template-columns: 1.1fr 0.9fr; }
.feature-row.reverse .feature-visual { order: 2; }
/* #business lists feature-copy before feature-visual in source order (so its
   h2 precedes the panel's h3 for a correct heading outline); restore the
   original visual (panel-left, copy-right) layout here. */
#business .feature-visual { order: 1; }
#business .feature-copy { order: 2; }
.feature-visual {
  background: linear-gradient(165deg, var(--charcoal), var(--charcoal-2) 65%);
  border-radius: var(--radius);
  padding: 40px;
  color: var(--cream);
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  border: 1px dashed var(--stitch-on-dark);
}
.feature-visual .fv-icon {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(248,207,37,0.16);
  border: 1px dashed var(--brass-bright);
  display: flex; align-items: center; justify-content: center;
}
.feature-visual .fv-icon svg { width: 26px; height: 26px; color: var(--brass-bright); }
.feature-visual h2, .feature-visual h3 { font-size: 1.3rem; color: var(--cream); letter-spacing: 0.02em; }
.feature-visual ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 13px; }
.feature-visual li {
  display: flex; align-items: flex-start; gap: 10px;
  font-family: 'Source Serif 4', serif;
  font-size: 0.96rem; color: var(--cream-soft);
}
.feature-visual li svg { width: 16px; height: 16px; color: var(--brass-bright); flex-shrink: 0; margin-top: 4px; }

.feature-copy .kicker { margin-bottom: 12px; }
.feature-copy h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 20px; }
.feature-copy p { color: var(--ink-soft); font-size: 1.04rem; }
.feature-copy p + p { margin-top: 16px; }

.mini-quote {
  margin-top: 26px;
  border-left: 2px dashed var(--brass);
  padding-left: 18px;
  font-family: 'Source Serif 4', serif;
  font-style: italic;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
}
.mini-quote .cite {
  display: block;
  margin-top: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-style: normal;
  font-weight: 400;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  color: var(--ink-faint);
}

/* ---------- Contact / footer — the inside back cover ---------- */
.contact-band {
  background: linear-gradient(150deg, var(--charcoal-2), var(--charcoal));
  color: var(--cream);
  border-radius: 18px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  border: 1px dashed var(--stitch-on-dark);
}
.contact-band h2 { color: var(--cream); font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin-bottom: 16px; }
.contact-band p { font-family: 'Source Serif 4', serif; color: var(--cream-soft); font-size: 1.04rem; max-width: 52ch; }
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px dashed rgba(248,207,37,0.4);
  padding: 16px 18px;
  border-radius: 6px;
  transition: background 200ms ease, transform 200ms ease, border-color 200ms ease;
}
.contact-item:hover { background: rgba(255,255,255,0.1); border-color: var(--brass-bright); transform: translateY(-2px); }
.contact-item .ci-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(248,207,37,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-item .ci-icon svg { width: 19px; height: 19px; color: var(--brass-bright); }
.contact-item .ci-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cream-soft);
}
.contact-item .ci-value { font-family: 'Oswald', sans-serif; font-weight: 500; font-size: 0.95rem; text-transform: none; letter-spacing: 0; margin-top: 2px; display: inline-block; }

footer {
  background: var(--charcoal-2);
  color: var(--cream-soft);
  padding: 56px 0 28px;
  font-size: 0.9rem;
  border-top: 1px dashed var(--stitch-on-dark);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px dashed rgba(248,207,37,0.32);
  margin-bottom: 28px;
}
.footer-top h3 {
  color: var(--cream);
  font-size: 0.9rem;
  margin-bottom: 18px;
}
.footer-top p { font-family: 'Source Serif 4', serif; color: var(--cream-soft); max-width: 40ch; }
.footer-top ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-top a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.82rem;
  color: var(--cream-soft);
  transition: color 200ms ease;
}
.footer-top li:not(:has(a)) {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.82rem;
}
.footer-top a:hover { color: var(--brass-bright); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.social-row { display: flex; gap: 10px; }
.social-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px dashed rgba(248,207,37,0.4);
  display: flex; align-items: center; justify-content: center;
  transition: background 200ms ease, transform 200ms ease;
}
.social-btn:hover { background: var(--oxblood); border-color: var(--oxblood); transform: translateY(-2px); }
.social-btn:hover svg { color: var(--charcoal-2); }
.social-btn svg { width: 17px; height: 17px; color: var(--cream); }

.sources-note {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.74rem;
  color: var(--ink-faint);
  line-height: 1.8;
}
.sources-note a { color: var(--cream-soft); text-decoration: underline; text-underline-offset: 2px; }
.sources-note a:hover { color: var(--brass-bright); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-strip { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-visual { order: 0; }
  .about-grid { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 24px; }
  .hero-photo-wrap { order: -1; padding-top: 24px; }
  .contact-band { grid-template-columns: 1fr; padding: 40px 28px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 1260px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav .lang-switch { display: none; }
}

@media (min-width: 1261px) {
  .nav { gap: 20px; }
}

@media (max-width: 720px) {
  section { padding: 68px 0; }
  .card-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; gap: 16px; }
  .hero { padding-top: 0; }
  body { font-size: 16px; }
}

/* ---------- Language switcher ---------- */
.lang-switch {
  display: flex;
  gap: 4px;
  background: var(--paper-alt);
  border: 1px solid var(--paper-line);
  border-radius: 999px;
  padding: 3px;
  flex-shrink: 0;
}
.lang-switch button {
  border: none;
  background: transparent;
  color: var(--ink-soft);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.74rem;
  font-weight: 500;
  padding: 7px 12px;
  min-height: 32px;
  border-radius: 999px;
  transition: background 200ms ease, color 200ms ease;
}
.lang-switch button:hover { color: var(--ink); }
.lang-switch button.active {
  background: var(--charcoal);
  color: var(--brass-bright);
}
.lang-switch-mobile {
  margin-top: 16px;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 0;
  gap: 8px;
}
.lang-switch-mobile button {
  flex: 1;
  min-height: 44px;
  background: var(--paper-alt);
  border: 1px solid var(--paper-line);
}
.lang-switch-mobile button.active {
  background: var(--charcoal);
  color: var(--brass-bright);
  border-color: var(--charcoal);
}

/* ---------- Hindi / Punjabi typography ----------
   Oswald / Source Serif 4 / IBM Plex Mono have no Devanagari or Gurmukhi
   glyphs, so switch the whole page to Noto Sans for those two scripts
   rather than letting text silently fall back to a generic system font. */
html[lang="hi"] *,
html[lang="pa"] * {
  font-family: 'Noto Sans Devanagari', 'Noto Sans Gurmukhi', sans-serif;
}
html[lang="hi"] .lang-switch button,
html[lang="pa"] .lang-switch button {
  font-family: 'IBM Plex Mono', 'Noto Sans Devanagari', 'Noto Sans Gurmukhi', sans-serif;
}

/* ---------- Achievement banners (photo-forward cards) ---------- */
.banner-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--paper-line);
  border-top: 3px solid var(--brass);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.banner-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.banner-photo {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  background: var(--paper-alt);
}
.banner-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--charcoal);
  color: var(--brass-bright);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px dashed var(--brass-bright);
  z-index: 2;
}
.banner-body { padding: 22px; }
.banner-body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.banner-body p { color: var(--ink-soft); font-size: 0.93rem; }
.banner-credit {
  display: block;
  margin-top: 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  color: var(--ink-faint);
}
.banner-credit a { color: var(--brass-ink); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Jan Samvad native form modal ---------- */
button.social-btn, button.btn { cursor: pointer; font: inherit; }

.jsform-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 26, 50, 0.72);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}
.jsform-overlay.is-open { opacity: 1; visibility: visible; }
.jsform-modal {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--paper-line);
  border-top: 4px solid var(--brass);
  border-radius: 6px;
  max-width: 640px;
  width: 100%;
  max-height: 88vh;
  box-shadow: var(--shadow-lg);
  transform: translateY(16px) scale(0.98);
  transition: transform 220ms ease;
}
.jsform-overlay.is-open .jsform-modal { transform: translateY(0) scale(1); }
.jsform-scroll { max-height: 88vh; overflow-y: auto; padding: 36px 32px 32px; }
.jsform-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--paper-line);
  background: var(--paper);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 3;
}
.jsform-close:hover { background: var(--charcoal); color: var(--brass-bright); border-color: var(--charcoal); }
.jsform-intro { margin-bottom: 20px; }
.jsform-intro h2 { font-size: 1.5rem; margin: 8px 0; }
.jsform-intro p { color: var(--ink-soft); font-size: 0.94rem; }

#janSamvadForm fieldset { border: none; padding: 0; margin: 0 0 26px; }
#janSamvadForm legend {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brass-ink);
  padding: 0 0 10px;
  border-bottom: 1px dashed var(--stitch-on-paper);
  width: 100%;
  margin-bottom: 16px;
}
.jsform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.jsform-field { display: flex; flex-direction: column; gap: 6px; }
.jsform-field-full { grid-column: 1 / -1; }
.jsform-field span, .jsform-radio-row > span { font-size: 0.82rem; color: var(--ink-soft); font-weight: 600; }
.jsform-field input, .jsform-field select, .jsform-field textarea {
  font-family: inherit;
  font-size: 0.94rem;
  padding: 10px 12px;
  border: 1px solid var(--paper-line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
}
.jsform-field input:focus, .jsform-field select:focus, .jsform-field textarea:focus {
  outline: 2px solid var(--brass);
  outline-offset: 1px;
}
.jsform-hint { font-size: 0.82rem; color: var(--ink-faint); margin-bottom: 12px; }
.jsform-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.jsform-checks label, .jsform-radio-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--ink);
  cursor: pointer;
}
.jsform-checks input, .jsform-radio-group input { accent-color: var(--brass); width: 16px; height: 16px; }
.jsform-radio-row { margin-bottom: 16px; }
.jsform-radio-row > span { display: block; margin-bottom: 8px; }
.jsform-radio-group { display: flex; gap: 20px; }
.jsform-required { font-size: 0.76rem; color: var(--ink-faint); margin-bottom: 16px; }
.jsform-error {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: #b91c1c;
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 0.86rem;
  margin-bottom: 16px;
}
.jsform-submit {
  width: 100%;
  justify-content: center;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 4px;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  min-height: 44px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--cream) !important;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}
.jsform-submit:hover { background: var(--brass-ink); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.jsform-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.jsform-success { text-align: center; padding: 20px 0 4px; }
.jsform-success-icon { color: var(--brass-ink); margin-bottom: 12px; }
.jsform-success h3 { font-size: 1.3rem; margin-bottom: 8px; }
.jsform-success p { color: var(--ink-soft); margin-bottom: 20px; }
.jsform-success-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 4px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease;
}
.jsform-success-close:hover { background: var(--ink); color: var(--cream); }

@media (max-width: 640px) {
  .jsform-grid, .jsform-checks { grid-template-columns: 1fr; }
  .jsform-scroll { padding: 30px 20px 24px; }
  .jsform-radio-group { gap: 14px; }
}

/* ---------- Floating Jan Samvad reminder (bottom-right) ---------- */
.jsform-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  pointer-events: none;
  transition: opacity 320ms ease, transform 320ms ease;
}
.jsform-fab.is-visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.jsform-fab-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--charcoal);
  border: 1px solid var(--brass-bright);
  color: var(--cream);
  padding: 12px 20px 12px 12px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  animation: jsform-fab-pulse 2.6s ease-in-out infinite;
}
.jsform-fab-btn:hover { background: var(--charcoal-2); border-color: var(--brass-bright); transform: translateY(-3px); }
.jsform-fab-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--brass-bright);
  color: var(--charcoal-2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.jsform-fab-text { display: flex; flex-direction: column; text-align: left; line-height: 1.35; }
.jsform-fab-text strong { font-family: 'Lexend', sans-serif; font-size: 0.86rem; font-weight: 600; color: var(--cream); }
.jsform-fab-text small { font-family: 'IBM Plex Mono', monospace; font-size: 0.66rem; letter-spacing: 0.02em; color: var(--brass-bright); text-transform: uppercase; }
.jsform-fab-close {
  position: absolute;
  top: -8px; right: -8px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--paper-line);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 2;
}
.jsform-fab-close:hover { background: var(--ink); color: var(--cream); }

@keyframes jsform-fab-pulse {
  0%, 100% { box-shadow: var(--shadow-lg), 0 0 0 0 rgba(248, 207, 37, 0.55); }
  50% { box-shadow: var(--shadow-lg), 0 0 0 9px rgba(248, 207, 37, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .jsform-fab-btn { animation: none; }
}

@media (max-width: 480px) {
  .jsform-fab { right: 14px; bottom: 14px; }
  .jsform-fab-text small { display: none; }
  .jsform-fab-btn { padding: 10px 16px 10px 10px; gap: 10px; }
  .jsform-fab-icon { width: 34px; height: 34px; }
}

/* ---------- Jan Samvad intro dialog (shown before the form itself) ---------- */
.jsform-intro-modal .jsform-scroll h2 { font-size: 1.5rem; margin: 10px 0 14px; }
.jsform-intro-modal .jsform-scroll > p { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 12px; }
.jsform-intro-list { margin: 18px 0 28px; display: flex; flex-direction: column; gap: 10px; }
.jsform-intro-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; color: var(--ink); }
.jsform-intro-list svg { color: var(--brass-ink); flex-shrink: 0; margin-top: 2px; }
.jsform-intro-modal .jsform-submit { width: auto; }
