/* Good Governance Fellowship — Rambhau Mhalgi Prabodhini
   Brand: navy #131a52 / saffron #ff9929, from the Modi@25 brochure. */

:root {
  --navy: #131a52;
  --navy-900: #0c1039;
  --navy-800: #131a52;
  --navy-700: #1c2765;
  --navy-600: #2b3a7a;
  --navy-500: #4a5a9e;
  --navy-400: #7d8cc9;
  --navy-300: #b0bbe6;
  --navy-200: #d5dbf3;
  --navy-100: #eceffb;
  --saffron: #ff9929;
  --saffron-900: #5a2f02;
  --saffron-800: #854604;
  --saffron-700: #a85a05;
  --saffron-600: #e07d14;
  --saffron-400: #ffb763;
  --saffron-300: #ffd09b;
  --saffron-100: #fff4e6;
  --surface: #f2f4fb;
  --divider: rgba(19, 26, 82, 0.16);
  --shadow-sm: 0 1px 2px rgba(19, 26, 82, 0.06), 0 2px 8px rgba(19, 26, 82, 0.05);
  --shadow-md: 0 4px 16px rgba(19, 26, 82, 0.1);
  --display: "Bodoni Moda", Georgia, "Times New Roman", serif;
  --head: "Barlow Semi Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --deva: "Mukta", system-ui, sans-serif;
  --pad-x: clamp(20px, 4vw, 48px);
  --pad-y: clamp(48px, 7vw, 104px);
  --wrap: 1120px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: #fff;
  color: var(--navy);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: var(--saffron-700); }
a:hover { color: var(--saffron-800); }
:focus-visible { outline: 2px solid var(--saffron); outline-offset: 2px; }
::selection { background: var(--saffron-300); color: var(--navy-900); }

h1, h2, h3 { margin: 0; font-family: var(--head); font-weight: 700; line-height: 1.05; }
p { margin: 0; }

/* ---------- layout helpers ---------- */
.sec { padding: var(--pad-y) var(--pad-x); }
.sec-tight { padding: clamp(36px, 5vw, 72px) var(--pad-x); }
.wrap { max-width: var(--wrap); margin: 0 auto; }
.wrap-narrow { max-width: 900px; margin: 0 auto; }
.wrap-text { max-width: 840px; margin: 0 auto; }
.bg-surface { background: var(--surface); }
.bg-navy { background: var(--navy-800); color: #fff; }
.bg-saffron { background: var(--saffron); }
.stack { display: flex; flex-direction: column; }
.gap-10 { gap: 10px; } .gap-14 { gap: 14px; } .gap-18 { gap: 18px; }
.gap-22 { gap: 22px; } .gap-32 { gap: clamp(24px, 3vw, 36px); }
.gap-48 { gap: clamp(28px, 4vw, 48px); }
.row { display: flex; flex-wrap: wrap; }

.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.span-all { grid-column: 1 / -1; }

.kicker {
  font-family: var(--head); font-weight: 600; font-size: 15px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--saffron-700);
}
.kicker-light { color: var(--saffron); }
.h1 { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 5vw, 64px); line-height: 1.04; }
.h2 { font-size: clamp(28px, 3.8vw, 48px); letter-spacing: 0.02em; text-transform: uppercase; }
.h3 { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: 0.03em; text-transform: uppercase; line-height: 1.15; }
.lede { font-size: clamp(17px, 1.7vw, 21px); line-height: 1.6; color: var(--navy-700); }
.lede-light { color: #d5dbf3; }
.prose { font-size: 18px; line-height: 1.65; }
.measure { max-width: 64ch; }
.rule { width: 76px; height: 6px; background: var(--saffron); border-radius: 999px; }
.muted { color: var(--navy-500); font-size: 15px; }

.tag {
  display: inline-block; background: var(--saffron-300); color: var(--saffron-900);
  border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em;
}
.tag-navy { background: var(--navy-800); color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--head); font-weight: 600; font-size: 16px;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 14px 30px; min-height: 48px; border-radius: 999px;
  border: 2px solid transparent; text-decoration: none; cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  -webkit-appearance: none; appearance: none;
}
.btn-primary { background: var(--saffron); color: var(--navy-900); }
.btn-primary:hover { background: var(--saffron-600); color: var(--navy-900); }
.btn-primary:active { background: var(--saffron-700); color: #fff; }
.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--navy-900); color: #fff; }
.btn-outline { background: transparent; border-color: var(--navy-300); color: var(--navy-800); }
.btn-outline:hover { background: var(--navy-100); color: var(--navy-800); }
.btn-outline-navy { background: transparent; border-color: var(--navy-800); color: var(--navy-900); }
.btn-outline-navy:hover { background: rgba(19, 26, 82, 0.08); color: var(--navy-900); }
.btn-outline-light { background: transparent; border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }

/* ---------- navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 60; background: #fff;
  border-bottom: 1px solid var(--divider);
  padding: 12px var(--pad-x);
  display: flex; align-items: center; gap: clamp(14px, 2.2vw, 32px);
}
.nav-brand { display: flex; align-items: center; gap: 12px; margin-right: auto; text-decoration: none; color: var(--navy); min-width: 0; }
.nav-logo-modi { height: 46px; width: auto; }
.nav-rmp { display: flex; align-items: center; flex: none; padding-left: clamp(10px, 1.6vw, 20px); border-left: 1px solid var(--divider); }
.nav-rmp img { height: 42px; width: auto; }
.nav-mark {
  width: 40px; height: 40px; border-radius: 999px; background: var(--navy-800);
  display: flex; align-items: center; justify-content: center; flex: none;
  font-family: var(--display); font-weight: 700; font-size: 19px; color: var(--saffron);
}
.nav-name-hi { font-family: var(--deva); font-weight: 600; font-size: 13px; line-height: 1.1; color: var(--navy-600); }
.nav-name-en { font-family: var(--head); font-weight: 700; font-size: 16px; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.1; }
.nav-links { display: flex; align-items: center; gap: clamp(12px, 1.5vw, 22px); flex-wrap: wrap; }
.nav-links a {
  font-family: var(--head); font-weight: 600; font-size: 15px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); text-decoration: none;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--saffron-700); }
.nav-cta { padding: 10px 22px; font-size: 15px; min-height: 44px; flex: none; margin-left: auto; }
.nav-toggle {
  display: none; width: 48px; height: 48px; flex: none; padding: 0;
  background: transparent; border: 2px solid var(--divider); border-radius: 14px;
  cursor: pointer; color: var(--navy); align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: currentColor; position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ---------- hero ---------- */
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-lockup { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-lockup-line { font-family: var(--display); font-weight: 700; font-size: clamp(15px, 1.5vw, 19px); letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.15; max-width: 220px; }
.hero-lockup-bar { width: 2px; align-self: stretch; background: var(--saffron); min-height: 44px; }
.hero-lockup-mark { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 3.4vw, 40px); line-height: 0.95; color: var(--saffron); }
.portrait { position: relative; width: 100%; max-width: 440px; justify-self: center; }
.portrait-shadow { position: absolute; top: 22px; right: -14px; bottom: -14px; left: 22px; background: var(--navy-800); border-radius: 32px; }
.portrait-plate { position: relative; background: var(--saffron); border-radius: 32px; padding: 28px 28px 0; overflow: hidden; display: flex; justify-content: center; }
.portrait-plate img { max-width: 360px; width: 100%; }
.portrait-notch { position: absolute; left: -16px; bottom: 38px; width: 0; height: 0; border-left: 26px solid transparent; border-right: 26px solid transparent; border-bottom: 34px solid var(--navy-800); }

/* ---------- stat strip ---------- */
.stat-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 3vw, 40px); }
.stat-n { font-family: var(--head); font-weight: 700; font-size: clamp(26px, 3vw, 38px); line-height: 1; color: var(--saffron); }
.stat-l { font-family: var(--head); font-weight: 600; font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; }

/* ---------- cards ---------- */
.card {
  background: #fff; border-radius: 24px; padding: clamp(22px, 2.5vw, 32px);
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 10px;
  min-width: 0;
}
.card-surface { background: var(--surface); box-shadow: none; }
.card-navy { background: var(--navy-800); color: #fff; box-shadow: none; }
.card-label { font-family: var(--head); font-weight: 600; font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--saffron-700); }
.card-navy .card-label { color: var(--saffron); }
.card-value { font-family: var(--head); font-weight: 700; font-size: clamp(22px, 2.2vw, 26px); line-height: 1.15; }
.card-body { font-size: 17px; line-height: 1.6; color: var(--navy-600); }

/* offset "stacked plate" motif */
.plate { position: relative; }
.plate::before {
  content: ""; position: absolute; top: 14px; right: -10px; bottom: -10px; left: 14px;
  background: var(--navy-800); border-radius: 28px;
}
.plate > * { position: relative; }
.plate-face { background: var(--saffron); border-radius: 28px; padding: clamp(24px, 3vw, 40px); color: var(--navy-900); }

/* ---------- numbered activity list ---------- */
.act { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border: 1px solid var(--divider); border-radius: 24px; min-width: 0; }
.act-n { flex: none; width: 48px; height: 48px; border-radius: 999px; background: var(--saffron); display: flex; align-items: center; justify-content: center; font-family: var(--head); font-weight: 700; font-size: 20px; color: var(--navy-900); }

/* ---------- chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 10px; background: var(--navy-100); color: var(--navy-800); border-radius: 999px; padding: 9px 18px; font-size: 15px; }
.chip-lg { background: #fff; padding: 14px 22px; font-family: var(--head); font-weight: 700; font-size: 18px; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.15; }
.chip-dot { flex: none; width: 10px; height: 10px; border-radius: 999px; background: var(--saffron); }

/* ---------- people ---------- */
.people-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.person { display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; text-decoration: none; color: inherit; min-width: 0; }
.person-face {
  width: clamp(96px, 11vw, 128px); height: clamp(96px, 11vw, 128px); border-radius: 999px;
  background-color: var(--navy-800); background-position: top center; background-size: cover;
  background-repeat: no-repeat; flex: none;
}
.person-name { font-family: var(--head); font-weight: 700; font-size: 18px; line-height: 1.2; }
.person-role { font-size: 14px; line-height: 1.45; color: var(--navy-500); }
.bio-face {
  background-color: var(--navy-800); background-position: top center; background-size: cover;
  background-repeat: no-repeat; border-radius: 28px; width: 100%; padding-top: 105%;
}
.bio-face-sm { border-radius: 22px; }

/* ---------- stepper ---------- */
.steps { display: flex; flex-direction: column; gap: 14px; }
.step { display: flex; gap: clamp(16px, 2.5vw, 32px); align-items: stretch; }
.step-n {
  flex: none; width: clamp(64px, 9vw, 104px); min-height: clamp(76px, 10vw, 116px);
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%);
  display: flex; align-items: flex-start; justify-content: center; padding-top: 12px;
  font-family: var(--head); font-weight: 700; font-size: clamp(30px, 4vw, 46px); line-height: 1;
}
.step-text { display: flex; flex-direction: column; gap: 6px; justify-content: center; padding: 10px 0; min-width: 0; }
.step-body { font-size: 17px; line-height: 1.6; color: var(--navy-600); }

.notice { background: var(--saffron-100); border-radius: 22px; padding: 20px 24px; display: flex; flex-direction: column; gap: 12px; }
.notice-title { font-family: var(--head); font-weight: 700; font-size: 17px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--saffron-800); }
.bullets { display: flex; flex-direction: column; gap: 9px; margin: 0; padding: 0; list-style: none; }
.bullets li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.55; }
.bullets li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 999px; background: var(--saffron-700); margin-top: 8px; }
.hidden { display: none !important; }

/* ---------- contact ---------- */
.map-card { background: var(--surface); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); min-width: 0; }
.map-card iframe { width: 100%; height: 240px; border: 0; display: block; background: var(--navy-200); }
.contact-line { display: flex; gap: 14px; flex-wrap: wrap; font-size: 19px; line-height: 1.5; }
.contact-line dt { font-family: var(--head); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--saffron-700); min-width: 110px; margin: 0; }
.contact-line dd { margin: 0; }
.contact-line a { color: var(--navy); text-decoration: none; }
.contact-line a:hover { color: var(--saffron-700); }
.qr { background: #fff; border-radius: 28px; padding: 22px; box-shadow: var(--shadow-md); }
.qr img { width: clamp(150px, 18vw, 210px); }

/* ---------- footer ---------- */
.footer { background: var(--navy-800); color: #fff; padding: clamp(48px, 6vw, 64px) var(--pad-x) 32px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.footer h3 { font-family: var(--head); font-weight: 700; font-size: 15px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--saffron); }
.footer-logo { height: 62px; width: auto; }
.footer-links { display: flex; flex-direction: column; gap: 9px; font-size: 16px; }
.footer-links a { color: #fff; text-decoration: none; }
.footer-links a:hover { color: var(--saffron-300); }
.footer-bottom {
  max-width: var(--wrap); margin: 36px auto 0; padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: 15px; color: #9aa4cd;
}

/* =================== tablet =================== */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-rmp { margin-left: 0; }
  .nav-cta { margin-left: 0; }
  .nav.open { flex-wrap: wrap; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    order: 3; width: 100%; margin-top: 8px; padding-top: 8px;
    border-top: 1px solid var(--divider);
    max-height: calc(100vh - 140px); overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav.open .nav-links a { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--divider); }
  .nav-cta { order: 2; }

  .hero-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 380px; }
  .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .people-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* =================== mobile =================== */
@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --pad-y: 44px; }
  .nav { padding: 10px 16px; gap: 10px; }
  .nav-brand { min-width: 0; }
  .nav-logo-modi { height: 34px; }
  .nav-rmp { padding-left: 10px; }
  .nav-rmp img { height: 32px; }
  .footer-logo { height: 52px; }
  .nav-name-en { font-size: 13px; letter-spacing: 0.03em; }
  .nav-name-hi { font-size: 11px; }
  .nav-cta { width: auto; padding: 10px 14px; font-size: 13px; letter-spacing: 0.05em; }

  .grid-3, .grid-4, .people-grid, .stat-strip { grid-template-columns: 1fr; }
  .people-grid { gap: 24px; }
  .person { flex-direction: row; text-align: left; align-items: center; gap: 16px; }
  .person-face { width: 76px; height: 76px; }

  .btn { width: 100%; padding: 14px 20px; }
  .nav .btn, .btn-auto { width: auto; }

  .hero-lockup-line { font-size: 15px; max-width: 180px; }
  .portrait-shadow { top: 16px; right: -8px; bottom: -8px; left: 16px; border-radius: 26px; }
  .portrait-plate { border-radius: 26px; padding: 20px 20px 0; }
  .portrait-notch { display: none; }

  .plate::before { top: 10px; right: -6px; bottom: -6px; left: 10px; border-radius: 24px; }
  .plate-face { border-radius: 24px; padding: 22px; }

  .act { padding: 18px; gap: 14px; }
  .act-n { width: 42px; height: 42px; font-size: 18px; }

  .step { gap: 14px; }
  .step-n { width: 58px; min-height: 68px; font-size: 26px; padding-top: 10px; }
  .step-text { padding: 6px 0; }
  .step-body { font-size: 16px; }

  .contact-line dt { min-width: 100%; }
  .map-card iframe { height: 200px; }
  .footer-grid { gap: 32px; }
}

@media (max-width: 420px) {
  .nav-name-en { display: none; }
  .nav-name-hi { font-size: 13px; }
  .nav-rmp { display: none; }
  .nav.open .nav-rmp { display: flex; order: 4; width: 100%; margin-top: 12px; padding: 0; border-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

@media print {
  .nav, .nav-toggle, .btn { display: none !important; }
  body { color: #000; }
}
