/* NCCI | Layout concept: "Equal Ground". Calm institutional pages on a cool paper ground,
   navy bands for emphasis, and a teal ground line with the logo's upward arrow marking each section start. */
:root {
  --navy: #0B3A6E;
  --navy-deep: #072747;
  --teal: #1A9384;
  --teal-bright: #49C9B9;
  --teal-soft: #E2F3F0;
  --bg: #F5F8FA;
  --surface: #FFFFFF;
  --ink: #13243A;
  --heading: #0B3A6E;
  --muted: #536378;
  --line: #D8E2EA;
  --chip: #EAF1F7;
  --on-navy: #F1F6FA;
  --on-navy-muted: #B9CADB;
  --wa: #1FAF54;
  --font-display: "Martel", "Noto Serif Devanagari", Georgia, serif;
  --font-body: "Mukta", "Noto Sans Devanagari", "Segoe UI", system-ui, sans-serif;
  --radius: 10px;
  --wrap: 1180px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --navy: #0F335C; --navy-deep: #06182C; --teal: #43BFAF; --teal-bright: #6FD8CB; --teal-soft: #11313A;
    --bg: #0A1524; --surface: #0F2036; --ink: #E4ECF4; --heading: #EAF2F9; --muted: #9EB0C3;
    --line: #213753; --chip: #16304E; --on-navy: #F1F6FA; --on-navy-muted: #A9BCD0; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --navy: #0F335C; --navy-deep: #06182C; --teal: #43BFAF; --teal-bright: #6FD8CB; --teal-soft: #11313A;
  --bg: #0A1524; --surface: #0F2036; --ink: #E4ECF4; --heading: #EAF2F9; --muted: #9EB0C3;
  --line: #213753; --chip: #16304E; --on-navy: #F1F6FA; --on-navy-muted: #A9BCD0; color-scheme: dark;
}

/* Language switching: only the chosen language is shown */
html:not([data-lang]) body [lang="hi"], html:not([data-lang]) body [lang="mr"],
html[data-lang="en"] body [lang="hi"], html[data-lang="en"] body [lang="mr"],
html[data-lang="hi"] body [lang="en"], html[data-lang="hi"] body [lang="mr"],
html[data-lang="mr"] body [lang="en"], html[data-lang="mr"] body [lang="hi"] { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 1.125rem; line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--heading); }
:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 2px; border-radius: 4px; }
p { margin: 0; text-align: justify; text-justify: inter-word; hyphens: auto; -webkit-hyphens: auto; text-align-last: left; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--heading); margin: 0; line-height: 1.25; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5.2vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); font-weight: 800; }
h3 { font-size: 1.22rem; font-weight: 700; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); color: var(--ink); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* Utility bar */
.utility { background: var(--navy-deep); color: var(--on-navy-muted); font-size: 0.92rem; }
.utility .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; flex-wrap: wrap; }
.utility a { color: var(--on-navy); text-decoration: none; }
.utility-contact { display: flex; gap: 18px; flex-wrap: wrap; }
.utility-contact .mail { display: inline; }
.langs { display: flex; gap: 2px; background: rgba(255,255,255,0.08); border-radius: 999px; padding: 3px; }
.langs button {
  font: inherit; font-size: 0.9rem; border: 0; background: transparent; color: var(--on-navy);
  padding: 3px 12px; border-radius: 999px; cursor: pointer; line-height: 1.6;
}
.langs button[aria-pressed="true"] { background: var(--teal-bright); color: #06182C; font-weight: 600; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--heading); }
.brand-logo { background: #FFFFFF; border-radius: 8px; padding: 4px 6px; }
.brand-logo img { height: 52px; width: auto; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; line-height: 1.25; max-width: 13rem; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink); text-decoration: none; padding: 8px 9px; border-radius: 6px; font-size: 1rem; white-space: nowrap; }
.nav a:hover { background: var(--chip); color: var(--heading); }
.nav a[aria-current="page"] { color: var(--teal); font-weight: 600; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  padding: 11px 20px; border-radius: 8px; border: 2px solid transparent; line-height: 1.3; text-align: center;
}
.btn-primary { background: var(--teal); color: #FFFFFF; }
.btn-primary:hover { background: var(--navy); color: #FFFFFF; }
.btn-light { background: var(--on-navy); color: #072747; }
.btn-light:hover { background: var(--teal-bright); color: #072747; }
.btn-ghost { border-color: currentColor; color: var(--on-navy); background: transparent; }
.btn-ghost:hover { color: var(--teal-bright); }
.btn-outline { border-color: var(--teal); color: var(--teal); background: transparent; }
.btn-outline:hover { background: var(--teal); color: #FFFFFF; }
.btn-wa { background: var(--wa); color: #FFFFFF; }
.btn-wa:hover { filter: brightness(0.92); color: #FFFFFF; }
.nav .btn { margin-left: 8px; padding: 9px 16px; color: #FFFFFF; }
.nav .btn:hover { background: var(--navy); color: #FFFFFF; }
.menu-toggle { display: none; font: inherit; background: var(--chip); color: var(--heading); border: 0; border-radius: 8px; padding: 10px 14px; cursor: pointer; font-weight: 600; }
.menu-toggle svg { width: 22px; height: 22px; vertical-align: middle; }

@media (max-width: 1180px) {
  .brand-name { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 6px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line);
         flex-direction: column; align-items: stretch; padding: 8px 20px 20px; gap: 2px; max-height: calc(100vh - 120px); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 10px; font-size: 1.08rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .btn { margin: 12px 0 0; border-radius: 8px; border-bottom: 0; }
}
@media (max-width: 560px) {
  .utility-contact .mail { display: none; }
  .brand-logo img { height: 46px; }
  .site-header .wrap { min-height: 66px; }
}

/* Hero */
.hero { position: relative; color: var(--on-navy); background: var(--navy-deep); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 35%; }
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(7,39,71,0.96) 0%, rgba(7,39,71,0.88) 42%, rgba(7,39,71,0.45) 100%); }
.hero .wrap { position: relative; padding-block: clamp(56px, 10vw, 118px) clamp(64px, 9vw, 104px); }
.hero h1 { color: #FFFFFF; max-width: 15ch; }
.hero .lead { max-width: 40rem; font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--on-navy); margin-top: 20px; }
.hero .eyebrow { color: var(--teal-bright); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

/* Ground line: the brand's arrow rising from a level line */
.groundline { position: relative; height: 2px; background: var(--teal); margin-top: 0; }
.groundline::before { content: ""; position: absolute; left: max(20px, calc((100% - var(--wrap)) / 2 + 20px)); bottom: 2px;
  width: 2px; height: 22px; background: var(--teal); }
.groundline::after { content: ""; position: absolute; left: calc(max(20px, calc((100% - var(--wrap)) / 2 + 20px)) - 6px); bottom: 22px;
  border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 10px solid var(--teal); }

/* Stats */
.stats { background: var(--navy-deep); color: var(--on-navy); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding-block: 28px; }
.stat { padding: 8px 20px; border-left: 1px solid rgba(255,255,255,0.14); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 3.6vw, 2.5rem); color: var(--teal-bright); line-height: 1.2; font-variant-numeric: tabular-nums; }
.stat span { color: var(--on-navy-muted); font-size: 1rem; }
@media (max-width: 760px) {
  .stats .wrap { grid-template-columns: repeat(2, 1fr); row-gap: 16px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* Sections */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.section.navy { background: var(--navy); color: var(--on-navy); }
.section.navy h2, .section.navy h3 { color: #FFFFFF; }
.section.navy .eyebrow { color: var(--teal-bright); }
.section.navy p { color: var(--on-navy); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-body); font-weight: 600; font-size: 0.86rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 9px solid currentColor; }
.section-head { max-width: 46rem; margin-bottom: 40px; display: grid; gap: 14px; }
.section-head p { color: var(--muted); }
.section.navy .section-head p { color: var(--on-navy-muted); }
.stack { display: grid; gap: 18px; }
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split > * { min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.photo { border-radius: var(--radius); overflow: hidden; background: var(--chip); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption { font-size: 0.92rem; color: var(--muted); padding: 10px 2px 0; background: var(--bg); }
.text-link { font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.text-link::after { content: "\2192"; }

/* Page header */
.page-head { background: var(--navy); color: var(--on-navy); }
.page-head .wrap { padding-block: clamp(44px, 7vw, 80px); display: grid; gap: 14px; }
.page-head h1 { color: #FFFFFF; font-size: clamp(1.9rem, 4.6vw, 3rem); }
.page-head p { color: var(--on-navy-muted); max-width: 44rem; font-size: 1.15rem; }
.page-head .eyebrow { color: var(--teal-bright); margin-bottom: 0; }

/* Services ledger */
.ledger { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.ledger > div { padding: 28px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); display: grid; gap: 12px; align-content: start; min-width: 0; }
.icon { width: 46px; height: 46px; border-radius: 50%; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; }
.icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ledger p { color: var(--muted); font-size: 1.04rem; }
@media (max-width: 960px) { .ledger { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ledger { grid-template-columns: 1fr; } }

/* Leaders */
.leaders { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.leader { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: 170px 1fr; min-width: 0; }
.leader img { width: 100%; height: 100%; object-fit: cover; object-position: center top; min-height: 230px; }
.leader-body { padding: 24px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.leader-role { color: var(--teal); font-weight: 600; font-size: 0.98rem; }
.leader-body p { color: var(--muted); font-size: 1.04rem; }
@media (max-width: 960px) { .leaders { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .leader { grid-template-columns: 1fr; } .leader img { height: 300px; } }

.profile { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.profile + .profile { margin-top: clamp(48px, 7vw, 80px); padding-top: clamp(48px, 7vw, 80px); border-top: 1px solid var(--line); }
.profile > * { min-width: 0; }
.profile-photo { border-radius: var(--radius); overflow: hidden; background: #FFFFFF; border: 1px solid var(--line); }
.profile-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
.profile .role { color: var(--teal); font-weight: 600; margin-top: 4px; }
.message { margin-top: 26px; padding: 26px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 14px; }
.message h3 { font-size: 1.1rem; }
.message .sign { font-family: var(--font-display); font-weight: 700; color: var(--heading); }
@media (max-width: 760px) { .profile { grid-template-columns: 1fr; } .profile-photo { max-width: 340px; } }

/* Tiers */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.tier { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.tier.featured { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }
.tier.featured h3, .tier.featured .price { color: #FFFFFF; }
.tier.featured p, .tier.featured li { color: var(--on-navy); }
.tier .price { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; color: var(--heading); font-variant-numeric: tabular-nums; line-height: 1.2; }
.tier .price small { font-family: var(--font-body); font-size: 1rem; font-weight: 400; color: var(--muted); }
.tier.featured .price small { color: var(--on-navy-muted); }
.tier p { color: var(--muted); font-size: 1.02rem; }
.tier ul { display: grid; gap: 9px; border-top: 1px solid var(--line); padding-top: 16px; }
.tier.featured ul { border-color: rgba(255,255,255,0.18); }
.tier li { position: relative; padding-left: 24px; font-size: 1rem; line-height: 1.5; }
.tier li::before { content: ""; position: absolute; left: 2px; top: 0.45em; width: 9px; height: 5px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.tier.featured li::before { border-color: var(--teal-bright); }
.tier .plus { font-weight: 600; color: var(--teal); padding-left: 0; }
.tier.featured .plus { color: var(--teal-bright); }
.tier .plus::before { display: none; }
.tier-badge { justify-self: start; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; background: var(--teal-bright); color: #072747; padding: 2px 10px; border-radius: 999px; }
@media (max-width: 960px) { .tiers { grid-template-columns: 1fr; max-width: 560px; } }

/* Tables */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 1rem; }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--chip); color: var(--heading); font-weight: 700; font-size: 0.95rem; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody th { font-weight: 600; color: var(--ink); }
td.c, th.c { text-align: center; }
.yes, .no { display: inline-block; width: 22px; height: 22px; border-radius: 50%; vertical-align: middle; position: relative; }
.yes { background: var(--teal-soft); }
.yes::after { content: ""; position: absolute; left: 7px; top: 5px; width: 6px; height: 10px; border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(45deg); }
.no::after { content: ""; position: absolute; left: 5px; right: 5px; top: 10px; height: 2px; background: var(--muted); opacity: 0.6; }
.tnum { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Steps (real sequences only) */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0; counter-reset: step; border-top: 2px solid var(--teal); }
.steps > li { counter-increment: step; padding: 22px 22px 22px 0; display: grid; gap: 8px; align-content: start; min-width: 0; }
.steps > li::before { content: counter(step); font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: var(--teal); color: #FFFFFF; margin-top: -40px; }
.steps p { color: var(--muted); font-size: 1.02rem; }
.section.navy .steps p { color: var(--on-navy-muted); }

/* Payment */
.pay { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 22px; }
.pay > * { min-width: 0; }
.pay-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; align-content: start; }
.qr { background: #FFFFFF; border-radius: 8px; padding: 12px; border: 1px solid var(--line); max-width: 240px; }
.kv { display: grid; gap: 0; }
.kv div { display: grid; grid-template-columns: 9.5rem 1fr auto; gap: 10px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.kv div:last-child { border-bottom: 0; }
.kv dt { color: var(--muted); font-size: 0.98rem; }
.kv dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.copy { font: inherit; font-size: 0.88rem; border: 1px solid var(--line); background: var(--chip); color: var(--heading); border-radius: 6px; padding: 4px 10px; cursor: pointer; }
.note { font-size: 0.98rem; color: var(--muted); background: var(--teal-soft); border-radius: 8px; padding: 12px 14px; }
@media (max-width: 860px) { .pay { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .kv div { grid-template-columns: 1fr auto; } .kv dt { grid-column: 1 / -1; } }

/* Form embed */
.form-shell { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.form-shell iframe { width: 100%; height: 1500px; border: 0; display: block; background: #FFFFFF; }
.form-empty { padding: clamp(28px, 5vw, 48px); display: grid; gap: 16px; justify-items: start; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }

/* Cards grid (sectors, schemes, initiatives) */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.card p { color: var(--muted); font-size: 1.02rem; }
.card .mr-line { color: var(--ink); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { background: var(--chip); color: var(--heading); font-size: 0.9rem; padding: 2px 10px; border-radius: 999px; }
.meta { display: grid; gap: 6px; border-top: 1px solid var(--line); padding-top: 12px; font-size: 0.98rem; }
.meta b { color: var(--heading); font-weight: 600; }
.group-title { display: flex; align-items: baseline; gap: 14px; margin: 0 0 18px; }
.group-title h2 { font-size: 1.5rem; }
.group-title span { color: var(--muted); font-size: 0.98rem; }
.grid + .group-title { margin-top: 48px; }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.facts div { padding: 18px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.facts dt { color: var(--muted); font-size: 0.9rem; }
.facts dd { margin: 4px 0 0; font-weight: 600; color: var(--heading); overflow-wrap: anywhere; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1px solid var(--line); background: var(--surface); padding: 6px 14px; border-radius: 999px; font-size: 1rem; }

/* Quote */
.quote { display: grid; gap: 18px; max-width: 52rem; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.35rem, 3vw, 2rem); line-height: 1.45; color: #FFFFFF; }
.quote cite { font-style: normal; color: var(--teal-bright); font-weight: 600; letter-spacing: 0.04em; }
.quote-mark { width: 44px; height: 44px; color: var(--teal-bright); }
.inspire { display: grid; grid-template-columns: 340px 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.inspire > * { min-width: 0; }
.inspire figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 4px solid rgba(255,255,255,0.12); }
.inspire figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 760px) { .inspire { grid-template-columns: 1fr; } .inspire figure { max-width: 340px; } }

/* Partnership + workshops */
.partner-mark { display: inline-grid; gap: 2px; padding: 14px 18px; border-radius: 8px; background: #FFFFFF; color: #0B3A6E; border: 1px solid var(--line); }
.partner-mark b { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: 0.04em; }
.partner-mark small { font-size: 0.82rem; color: #536378; line-height: 1.35; max-width: 18rem; }
.partner-mark img { max-height: 64px; width: auto; }
.workshops { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.workshop { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; display: grid; gap: 8px; min-width: 0; }
.section.navy .workshop { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); }
.section.navy .workshop h3 { color: #FFFFFF; }
.workshop .districts { font-weight: 600; }
.workshop .focus { color: var(--muted); font-size: 0.98rem; }
.section.navy .workshop .focus { color: var(--on-navy-muted); }
.pill { justify-self: start; font-size: 0.84rem; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: var(--teal-soft); color: var(--teal); }
.section.navy .pill { background: rgba(73,201,185,0.16); color: var(--teal-bright); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.gallery a { border-radius: 8px; overflow: hidden; display: block; background: var(--chip); }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; transition: transform 0.4s ease; }
.gallery a:hover img { transform: scale(1.03); }
.gallery a:nth-child(1), .gallery a:nth-child(2) { grid-column: span 3; }
.gallery a:nth-child(n+3) { grid-column: span 2; }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery a:nth-child(n) { grid-column: span 1; } .gallery a:first-child { grid-column: span 2; } }

/* Voices */
.soon { display: inline-block; font-size: 0.86rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; background: var(--teal-bright); color: #072747; padding: 3px 12px; border-radius: 999px; }
.series { display: grid; gap: 0; border-top: 1px solid var(--line); }
.series li { display: grid; grid-template-columns: 15rem 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.series li > * { min-width: 0; }
.series h3 { font-size: 1.1rem; }
.series p { color: var(--muted); }
@media (max-width: 640px) { .series li { grid-template-columns: 1fr; gap: 4px; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.contact-grid .card .big { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--heading); overflow-wrap: anywhere; }
.contact-grid address { font-style: normal; color: var(--ink); line-height: 1.6; }
.row { display: flex; gap: 10px; flex-wrap: wrap; }

/* CTA */
.cta { background: var(--teal); color: #FFFFFF; }
.cta .wrap { padding-block: clamp(44px, 6vw, 72px); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta h2 { color: #FFFFFF; }
.cta p { color: #F2FBF9; max-width: 38rem; margin-top: 10px; }
.cta .btn-light { color: #072747; }
.cta-text { min-width: 0; flex: 1 1 380px; }

/* Legal */
.legal { max-width: 46rem; display: grid; gap: 16px; }
.legal h2 { margin-top: 28px; font-size: 1.5rem; }
.legal ul { list-style: disc; padding-left: 1.3rem; display: grid; gap: 6px; }
.draft-note { border: 1px dashed var(--teal); border-radius: 8px; padding: 12px 14px; color: var(--muted); font-size: 0.98rem; }

/* Footer */
.site-footer { background: var(--navy-deep); color: var(--on-navy-muted); font-size: 1rem; }
.site-footer .wrap { padding-block: 56px 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; }
.footer-grid > * { min-width: 0; }
.footer-grid h4 { font-family: var(--font-body); font-size: 0.86rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-bright); margin-bottom: 14px; }
.footer-grid ul { display: grid; gap: 7px; }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { color: var(--teal-bright); }
.footer-logo { display: inline-block; background: #FFFFFF; border-radius: 8px; padding: 8px 12px; }
.footer-logo img { height: 80px; width: auto; }
.footer-brand p { margin-top: 14px; color: var(--on-navy-muted); }
.footer-legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.12); display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; font-size: 0.92rem; }
.footer-legal p { text-align: left; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60; width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa); color: #FFFFFF; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(6,24,44,0.28); }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }
.wa-float:hover { color: #FFFFFF; filter: brightness(0.94); }

/* Devanagari reads better a touch larger and with taller lines */
[lang="hi"], [lang="mr"] { line-height: 1.75; }
h1[lang="hi"], h1[lang="mr"], h2[lang="hi"], h2[lang="mr"] { line-height: 1.4; letter-spacing: 0; }
.eyebrow[lang="hi"], .eyebrow[lang="mr"] { letter-spacing: 0.02em; font-size: 0.95rem; }

/* Short card text reads better left-aligned; long prose stays justified */
.ledger p, .tier p, .card p, .leader-body p, .series p, .workshop, .steps p { text-align: left; }
.workshops.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.workshops.compact .workshop { padding: 16px 18px; gap: 4px; }
.workshops.compact h3 { font-size: 1.05rem; }
@media (max-width: 600px) { .workshops.compact { grid-template-columns: 1fr; } }
.leader { grid-template-columns: 150px 1fr; }

.form-intro { display: grid; gap: 14px; margin-bottom: 20px; max-width: 46rem; }
.form-long iframe { height: 2400px; }
@media (max-width: 700px) { .form-long iframe { height: 3200px; } }
.form-actions p { flex-basis: 100%; color: var(--muted); }

/* On narrow phones, justified text leaves big gaps between words, so align left */
@media (max-width: 480px) { p { text-align: left; } }

.frame-preview { min-height: 520px; display: grid; place-content: center; gap: 10px; text-align: center; padding: 32px;
  background: repeating-linear-gradient(45deg, var(--surface), var(--surface) 14px, var(--chip) 14px, var(--chip) 28px); color: var(--muted); }
.frame-preview b { font-family: var(--font-display); color: var(--heading); font-size: 1.3rem; }
.frame-preview span { max-width: 32rem; }

/* Leader cards: always show the whole photo */
.leader { grid-template-columns: 220px 1fr; align-items: start; }
.leader img { height: auto; min-height: 0; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
@media (max-width: 1100px) { .leaders { grid-template-columns: 1fr; max-width: 820px; } }
@media (max-width: 560px) { .leader { grid-template-columns: 1fr; } .leader img { height: auto; } }

/* Inspiration page */
.photo.portrait img { aspect-ratio: 5 / 6; object-position: center top; }
.photo.portrait { margin: 0; max-width: 460px; }
.ideas { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.idea { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.idea-quote { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; line-height: 1.55; color: var(--heading); border-left: 3px solid var(--teal); padding-left: 14px; }
.idea-source { font-size: 0.92rem; color: var(--teal); font-weight: 600; }
.idea-ncci { background: var(--teal-soft); border-radius: 8px; padding: 12px 14px; display: grid; gap: 4px; }
.idea-ncci b { font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); }
.idea p, .idea-ncci p { text-align: left; font-size: 1.02rem; }
.nav a { padding: 8px 7px; }

@media (max-width: 1360px) { .brand-name { display: none; } }

/* Ambedkar photos: show each image whole, with its credit */
.inspire figure img { aspect-ratio: auto; height: auto; object-fit: contain; }
.inspire figure figcaption, .life-photo figcaption { font-size: 0.82rem; color: var(--on-navy-muted); padding: 8px 4px 2px; background: transparent; }
.inspire figure { background: rgba(255,255,255,0.04); }
.photo.portrait img { aspect-ratio: auto; height: auto; object-fit: contain; }
.life-photo { margin: 12px 0 0; max-width: 360px; border-radius: var(--radius); overflow: hidden; border: 4px solid rgba(255,255,255,0.12); }
.life-photo img { width: 100%; height: auto; }

/* Header: always show the chamber name next to the logo */
.brand-name { display: block; font-size: 0.95rem; max-width: 12.5rem; }
@media (max-width: 560px) { .brand-name { font-size: 0.8rem; max-width: 10.5rem; line-height: 1.25; } .brand { gap: 8px; } }
@media (max-width: 360px) { .brand-name { font-size: 0.72rem; max-width: 8.5rem; } }

.brand { flex-shrink: 0; }
.brand-logo { flex-shrink: 0; }
@media (min-width: 1181px) and (max-width: 1320px) { .nav a { padding: 8px 5px; font-size: 0.97rem; } .nav .btn { margin-left: 4px; padding: 9px 12px; } .brand-name { max-width: 11rem; font-size: 0.9rem; } }

/* Featured schemes */
.scheme-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1000px) { .scheme-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .scheme-features { grid-template-columns: 1fr; } }
.scheme-feature { --tone: var(--navy); background: var(--surface); border: 1px solid var(--line); border-top: 6px solid var(--tone); border-radius: var(--radius); padding: 20px 20px 22px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.scheme-feature.tone-rose { --tone: #C2185B; }
.scheme-feature.tone-green { --tone: #2E8B3E; }
.scheme-feature.tone-navy { --tone: #1F4E9A; }
.scheme-feature.tone-orange { --tone: #E2711D; }
.sf-top h3 { font-size: 1.35rem; }
.sf-by { font-size: 0.92rem; color: var(--muted); line-height: 1.45; margin-top: 4px; }
.sf-amount { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--tone); font-variant-numeric: tabular-nums; }
.scheme-feature p { text-align: left; color: var(--muted); font-size: 1rem; }
:root[data-theme="dark"] .sf-amount { color: var(--heading); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sf-amount { color: var(--heading); } }

/* Opportunities */
.opps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 800px) { .opps { grid-template-columns: 1fr; } }
.opp-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.opp-img { display: block; background: #FFFFFF; }
.opp-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.opp-body { padding: 22px 24px 24px; display: grid; gap: 10px; align-content: start; }
.opp-body p { text-align: left; color: var(--muted); }
.opp-photo { margin: 6px 0 0; background: #FFFFFF; }
.opp-photo img { aspect-ratio: auto; height: auto; }
.ticks { display: grid; gap: 9px; margin-top: 4px; }
.ticks li { position: relative; padding-left: 26px; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: 0.4em; width: 10px; height: 5px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }

.sf-by { min-height: 4.4em; }
@media (max-width: 520px) { .sf-by { min-height: 0; } }
