/* 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; }
}

/* =================== apply form (modal) =================== */
html.apply-open, html.apply-open body { overflow: hidden; }

.apply-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.apply-modal.is-open { display: flex; }
.apply-backdrop {
  position: absolute; inset: 0; background: rgba(12, 16, 57, 0.72);
  animation: apply-fade 0.2s ease both;
}
.apply-sheet {
  position: relative; width: 100%; max-width: 540px;
  max-height: calc(100vh - 48px); display: flex;
  animation: apply-rise 0.24s cubic-bezier(.2, .8, .3, 1) both;
}
/* the site's offset "stacked plate", here in saffron behind a white sheet */
.apply-sheet::before {
  content: ""; position: absolute; top: 14px; right: -12px; bottom: -12px; left: 14px;
  background: var(--saffron); border-radius: 28px;
}
.apply-panel {
  position: relative; width: 100%; background: #fff; border-radius: 28px;
  overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  padding: clamp(26px, 4vw, 40px);
}
.apply-close {
  position: absolute; top: 14px; right: 14px; z-index: 1;
  width: 44px; height: 44px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--navy-100); color: var(--navy-800);
  display: flex; align-items: center; justify-content: center;
  transition: background-color 0.15s ease;
}
.apply-close:hover { background: var(--navy-200); }
.apply-close svg { width: 18px; height: 18px; }

.apply-title {
  font-family: var(--display); font-weight: 700; font-size: clamp(28px, 3.4vw, 36px);
  line-height: 1.08; color: var(--navy-900); padding-right: 44px;
}
.apply-lede { margin-top: 10px; font-size: 17px; line-height: 1.55; color: var(--navy-600); }

.apply-form { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.apply-field { display: flex; flex-direction: column; gap: 6px; }
.apply-label { font-family: var(--head); font-weight: 600; font-size: 16px; letter-spacing: 0.02em; color: var(--navy-800); }
.apply-input {
  width: 100%; min-height: 50px; padding: 12px 15px;
  font: inherit; font-size: 17px; color: var(--navy-900);
  background: #fff; border: 1.5px solid var(--navy-200); border-radius: 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  -webkit-appearance: none; appearance: none;
}
.apply-input::placeholder { color: var(--navy-400); }
.apply-input:focus { outline: none; border-color: var(--navy-500); box-shadow: 0 0 0 3px rgba(255, 153, 41, 0.4); }
select.apply-input {
  padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23131a52' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
select.apply-input:invalid { color: var(--navy-400); }
select.apply-input option { color: var(--navy-900); }

.apply-tel { display: flex; align-items: stretch; }
.apply-tel-code {
  display: flex; align-items: center; padding: 0 14px;
  background: var(--surface); border: 1.5px solid var(--navy-200); border-right: 0;
  border-radius: 14px 0 0 14px; font-size: 17px; color: var(--navy-600);
}
.apply-tel .apply-input { border-radius: 0 14px 14px 0; }

.apply-field.has-error .apply-input,
.apply-field.has-error .apply-tel-code { border-color: #b42318; }
.apply-error { font-size: 15px; line-height: 1.4; color: #b42318; }
.apply-error:empty { display: none; }

.apply-consent { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 15px; line-height: 1.5; color: var(--navy-700); }
.apply-consent input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy-800); cursor: pointer; }

.apply-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.apply-form-error { background: #fdecea; color: #b42318; border-radius: 12px; padding: 12px 16px; font-size: 15px; }
.apply-submit { width: 100%; margin-top: 6px; }
.apply-submit[disabled] { opacity: 0.7; cursor: progress; }

.apply-done { display: flex; flex-direction: column; gap: 14px; }
.apply-done:focus { outline: none; }
.apply-done-mark {
  width: 56px; height: 56px; border-radius: 999px; background: var(--saffron);
  display: flex; align-items: center; justify-content: center; color: var(--navy-900);
}
.apply-done-mark svg { width: 26px; height: 26px; }
.apply-done p { font-size: 17px; line-height: 1.6; color: var(--navy-700); }
.apply-done strong { color: var(--navy-900); overflow-wrap: anywhere; }
.apply-done-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

@keyframes apply-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes apply-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 640px) {
  .apply-modal { align-items: flex-end; padding: 0; }
  .apply-sheet { max-width: none; max-height: 94vh; max-height: 94dvh; }
  .apply-sheet::before { display: none; }
  .apply-panel { border-radius: 24px 24px 0 0; padding: 26px 20px calc(24px + env(safe-area-inset-bottom, 0px)); }
  .apply-input, .apply-tel-code { font-size: 16px; } /* 16px stops iOS zooming into fields */
  .apply-done-actions .btn { width: 100%; }
}
.apply-step[hidden], .apply-form-error[hidden] { display: none !important; }

/* =================== privacy policy =================== */
.policy-updated { font-size: 15px; color: var(--navy-300); }
.policy { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: clamp(36px, 5vw, 56px); }
.policy-sec { display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 96px; }
.policy-h {
  display: flex; align-items: baseline; gap: 14px;
  font-size: clamp(24px, 2.6vw, 30px); letter-spacing: 0.03em; text-transform: uppercase; line-height: 1.15;
  padding-bottom: 12px; border-bottom: 1px solid var(--divider);
}
.policy-n { font-family: var(--display); font-weight: 700; color: var(--saffron-600); min-width: 1.4em; }
.policy-sub { font-family: var(--head); font-weight: 700; font-size: 20px; line-height: 1.3; color: var(--navy-700); margin-top: 8px; }
.policy p, .policy .bullets li { font-size: 17px; line-height: 1.65; color: var(--navy-800); }
.policy .bullets li::before { margin-top: 10px; }
.policy a { color: var(--saffron-700); text-decoration: underline; text-underline-offset: 2px; }
.policy code { font-size: 0.9em; background: var(--navy-100); padding: 1px 6px; border-radius: 6px; }
.policy-contact { font-style: normal; display: flex; flex-direction: column; gap: 4px; background: var(--surface); border-radius: 22px; padding: 20px 24px; font-size: 17px; line-height: 1.55; }
.apply-consent a { color: var(--navy-800); text-decoration: underline; }
.footer-links a[aria-current="page"] { color: var(--saffron-300); }
/* The site's .bullets uses flex, which splits links and bold text into columns; use normal text flow here. */
.policy .bullets li { display: block; position: relative; padding-left: 20px; }
.policy .bullets li::before { position: absolute; left: 0; top: 0; }

/* =================== application page (apply.html) =================== */
.apply-page { max-width: 820px; margin: 0 auto; }
.apply-full { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 56px); }
.apply-full .policy-sec { gap: 18px; }
.apply-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.apply-span { grid-column: 1 / -1; }
.apply-help { font-size: 16px; line-height: 1.6; color: var(--navy-600); margin-top: -4px; }
.apply-page .apply-label { line-height: 1.4; }
.apply-textarea { min-height: 220px; resize: vertical; line-height: 1.6; font-family: inherit; }
.apply-input.is-locked { background: var(--surface); color: var(--navy-600); }
.word-count { font-size: 14px; color: var(--navy-500); }
.word-count.is-over { color: #b42318; font-weight: 600; }
fieldset.apply-field { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.apply-field legend { padding: 0; margin-bottom: 12px; }

.apply-welcome { background: var(--saffron-100); border-radius: 18px; padding: 16px 20px; margin-bottom: 32px; color: var(--navy-800); font-size: 17px; line-height: 1.55; }
.apply-closed { margin-bottom: 32px; }

.theme-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.theme-option { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--navy-200); border-radius: 14px; cursor: pointer; background: #fff; transition: border-color .15s ease, background-color .15s ease; }
.theme-option:hover { border-color: var(--navy-500); }
.theme-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.theme-option:focus-within { box-shadow: 0 0 0 3px rgba(255, 153, 41, 0.45); }
.theme-num { flex: none; width: 28px; height: 28px; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: var(--navy-100); color: var(--navy-700); font-family: var(--head); font-weight: 700; font-size: 15px; }
.theme-title { font-size: 16px; line-height: 1.4; color: var(--navy-800); padding-top: 3px; }
.theme-option.is-on { border-color: var(--navy-800); background: var(--navy-100); }
.theme-option.is-on .theme-num { background: var(--saffron); color: var(--navy-900); }
.theme-option.is-off { opacity: 0.5; cursor: not-allowed; }
.has-error .theme-option { border-color: #e9a29b; }

.file-drop { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1.5px dashed var(--navy-300); border-radius: 14px; background: var(--surface); cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.file-drop:hover, .file-drop:focus-within { border-color: var(--saffron); background: var(--saffron-100); }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.file-drop-cta { flex: none; font-family: var(--head); font-weight: 600; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; padding: 9px 16px; border-radius: 999px; background: var(--navy); color: #fff; }
.file-drop-name { font-size: 16px; color: var(--navy-600); overflow-wrap: anywhere; }
.file-drop.has-file { border-style: solid; border-color: var(--navy-500); background: #fff; }
.file-drop.has-file .file-drop-name { color: var(--navy-900); font-weight: 500; }
.has-error .file-drop { border-color: #b42318; }

.ref-block { border: 1.5px solid var(--navy-200); border-radius: 18px; padding: 18px 20px 20px; margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.ref-block legend { font-family: var(--head); font-weight: 700; font-size: 18px; color: var(--navy-800); padding: 0 6px; }
.ref-block legend .opt { font-weight: 500; font-size: 15px; color: var(--navy-500); }
.ref-block.has-error { border-color: #b42318; }
.ref-remove { align-self: flex-start; background: none; border: 0; padding: 4px 0; font: inherit; font-size: 15px; color: var(--navy-600); text-decoration: underline; cursor: pointer; }
.ref-add { align-self: flex-start; }

.upload-progress { height: 8px; border-radius: 999px; background: var(--navy-100); overflow: hidden; }
.upload-progress-bar { display: block; height: 100%; width: 0; background: var(--saffron); transition: width .2s ease; }
.apply-full .apply-submit { width: auto; align-self: flex-start; min-width: 260px; }

.apply-done-page { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; padding: clamp(24px, 4vw, 40px); border-radius: 24px; background: var(--surface); }
.apply-done-page:focus { outline: none; }
.apply-done-page p { font-size: 17px; line-height: 1.65; color: var(--navy-700); max-width: 62ch; }
.apply-done-page a:not(.btn) { color: var(--saffron-700); }

@media (max-width: 640px) {
  .apply-grid, .theme-list { grid-template-columns: 1fr; }
  .apply-full .apply-submit { width: 100%; }
  .ref-block { padding: 14px 14px 16px; }
}
.apply-done-page .apply-title { padding-right: 0; }
/* Elements with display rules above must still disappear when marked hidden. */
.apply-page [hidden], .apply-full [hidden] { display: none !important; }

/* =================== homepage hero slider =================== */
.hero-slider { position: relative; overflow: hidden; background: #fff; }
.slides { display: grid; touch-action: pan-y; }
.slide {
  grid-area: 1 / 1; display: flex; align-items: center;
  padding: clamp(44px, 6vw, 88px) var(--pad-x) clamp(96px, 9vw, 120px);
  opacity: 0; visibility: hidden;
  transition: opacity .8s ease, visibility 0s linear .8s;
}
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .8s ease; }
.slide-1 { background: radial-gradient(120% 90% at 85% 40%, var(--saffron-100) 0%, #fff 55%); }
.slide-2 { background: var(--navy-900); }
.slide-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 72px); align-items: center; width: 100%; }

/* text rises in each time its slide appears */
.slide.is-active .slide-copy > * { animation: slide-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.slide.is-active .slide-copy > :nth-child(2) { animation-delay: .06s; }
.slide.is-active .slide-copy > :nth-child(3) { animation-delay: .12s; }
.slide.is-active .slide-copy > :nth-child(4) { animation-delay: .18s; }
.slide.is-active .slide-copy > :nth-child(5) { animation-delay: .24s; }
@keyframes slide-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* slide 1: portrait on a saffron sunburst, with a large "25" */
.art-portrait { position: relative; display: grid; place-items: center; min-height: 460px; }
.art-portrait .portrait { z-index: 2; }
.art-sun {
  position: absolute; width: 150%; aspect-ratio: 1; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: repeating-conic-gradient(from 0deg, rgba(255, 153, 41, 0.28) 0deg 5deg, transparent 5deg 15deg);
  -webkit-mask-image: radial-gradient(circle, #000 22%, transparent 66%);
          mask-image: radial-gradient(circle, #000 22%, transparent 66%);
  z-index: 0; pointer-events: none;
}
/* slide 2: the ten research themes on a stacked plate */
.art-themes { position: relative; }
.themes-shadow { position: absolute; inset: 18px -14px -14px 18px; background: var(--saffron); border-radius: 28px; }
.theme-board {
  position: relative; list-style: none; margin: 0; padding: clamp(18px, 2vw, 26px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  background: var(--navy-800); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 28px;
}
.theme-board li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); min-width: 0; }
.theme-board .tn { flex: none; font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1; color: var(--saffron); width: 30px; }
.theme-board .tt { font-family: var(--head); font-weight: 600; font-size: 16px; line-height: 1.25; color: #eef1fb; letter-spacing: 0.01em; }
.slide.is-active .theme-board li { animation: slide-rise .6s cubic-bezier(.2, .7, .2, 1) both; }
.slide.is-active .theme-board li:nth-child(n+3) { animation-delay: .05s; }
.slide.is-active .theme-board li:nth-child(n+5) { animation-delay: .1s; }
.slide.is-active .theme-board li:nth-child(n+7) { animation-delay: .15s; }
.slide.is-active .theme-board li:nth-child(n+9) { animation-delay: .2s; }

.slide-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.slide-chips li { padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255, 153, 41, 0.55); color: #fff; font-family: var(--head); font-weight: 600; font-size: 15px; letter-spacing: 0.04em; }

/* controls */
.slider-controls { position: absolute; left: 0; right: 0; bottom: clamp(24px, 3vw, 36px); z-index: 5; pointer-events: none; padding: 0 var(--pad-x); }
.slider-bar { display: flex; align-items: center; gap: 10px; }
.slider-bar > * { pointer-events: auto; }
.sl-btn {
  width: 44px; height: 44px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--navy-200); background: rgba(255, 255, 255, 0.85); color: var(--navy-800); cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.sl-btn:hover { border-color: var(--navy-800); }
.sl-btn svg { width: 18px; height: 18px; }
.sl-pause { margin-left: 6px; }
.sl-pause .i-play { display: none; }
.hero-slider.is-paused .sl-pause .i-play { display: block; }
.hero-slider.is-paused .sl-pause .i-pause { display: none; }
.sl-dots { display: flex; gap: 6px; padding: 0 4px; }
.sl-dot { width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.sl-dot span { position: relative; display: block; width: 36px; height: 5px; border-radius: 999px; background: var(--navy-200); overflow: hidden; }
.sl-dot.is-active span::after {
  content: ""; position: absolute; inset: 0; background: var(--saffron); transform-origin: left;
  animation: sl-progress var(--sl-delay, 7s) linear forwards;
}
.hero-slider.is-paused .sl-dot.is-active span::after { animation: none; transform: none; }
@keyframes sl-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* controls on the dark slide */
.hero-slider.on-dark .sl-btn { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.hero-slider.on-dark .sl-btn:hover { border-color: #fff; }
.hero-slider.on-dark .sl-dot span { background: rgba(255, 255, 255, 0.25); }
.sl-btn:focus-visible, .sl-dot:focus-visible { outline: 2px solid var(--saffron); outline-offset: 2px; }

@media (max-width: 900px) {
  .slide-grid { grid-template-columns: 1fr; }
  .slide { align-items: flex-start; padding-top: 36px; padding-bottom: 104px; }
  .art-portrait { min-height: 0; padding: 8px 0 0; }
  .art-portrait .portrait { max-width: 280px; }
  .art-themes { display: none; } /* the chips carry the summary on small screens */
  .slide-1 { background: radial-gradient(140% 60% at 50% 95%, var(--saffron-100) 0%, #fff 60%); }
}
@media (max-width: 640px) {
  .slide .row { flex-direction: column; align-items: stretch; }
  .slider-bar { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .slide, .slide.is-active { transition: none; }
  .slide.is-active .slide-copy > *, .slide.is-active .theme-board li { animation: none; }
}

/* slide 1: photo collage of governance work */
.slide-1 .slide-grid { grid-template-columns: 1fr 1.05fr; }
.art-collage { position: relative; }
.collage-shadow { position: absolute; inset: 18px -14px 22px 18px; background: var(--navy-800); border-radius: 28px; }
.collage {
  position: relative; display: grid; gap: 10px;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  grid-template-areas: "ujj rail" "beti swa";
  height: clamp(440px, 38vw, 560px);
  padding: 10px; border-radius: 28px; background: var(--saffron);
}
.ct { position: relative; margin: 0; overflow: hidden; border-radius: 18px; background: var(--navy-100); min-width: 0; }
.ct img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 6s ease; }
.ct-ujjwala { grid-area: ujj; }  .ct-ujjwala img { object-position: 22% 30%; }
.ct-rail    { grid-area: rail; } .ct-rail img    { object-position: 45% 35%; }
.ct-beti    { grid-area: beti; } .ct-beti img    { object-position: 72% 30%; }
.ct-swachh  { grid-area: swa; }  .ct-swachh img  { object-position: 58% 30%; }
.ct figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px;
  background: linear-gradient(to top, rgba(12, 16, 57, 0.85), rgba(12, 16, 57, 0));
  color: #fff; font-family: var(--head); font-weight: 600; font-size: 14px; letter-spacing: 0.04em; line-height: 1.25;
}
.slide.is-active .ct img { transform: scale(1.04); } /* a slow, gentle zoom while the slide is shown */
.collage-credit { position: relative; margin: 30px 0 0; font-size: 12px; color: var(--navy-500); text-align: right; }

@media (max-width: 900px) {
  .slide-1 .slide-grid { grid-template-columns: 1fr; }
  .collage {
    grid-template-columns: 1fr 1fr; grid-template-rows: 1.15fr 1fr 1fr;
    grid-template-areas: "ujj ujj" "rail beti" "rail swa";
    height: clamp(420px, 110vw, 560px);
  }
  .collage-shadow { inset: 14px -8px 18px 14px; }
  .ct figcaption { font-size: 13px; padding: 22px 10px 8px; }
}
@media (prefers-reduced-motion: reduce) { .ct img, .slide.is-active .ct img { transition: none; transform: none; } }

/* =================== interview booking page =================== */
.booking { display: flex; flex-direction: column; gap: 20px; }
.booking-loading { color: var(--navy-500); }
.booked-card { display: flex; gap: 18px; align-items: flex-start; padding: clamp(20px, 3vw, 28px); border-radius: 24px; background: var(--surface); }
.booked-label { font-size: 15px; color: var(--navy-600); margin: 0; }
.booked-when { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 3vw, 30px); line-height: 1.2; color: var(--navy-900); margin: 4px 0 12px; }
.booked-meet { margin: 0; color: var(--navy-700); }
.btn-meet { margin-top: 2px; }
.booking-note { font-size: 16px; line-height: 1.6; color: var(--navy-600); }
.slot-days { display: flex; flex-direction: column; gap: 22px; }
.slot-day h3 { font-family: var(--head); font-weight: 700; font-size: 19px; color: var(--navy-800); margin: 0 0 10px; }
.slot-times { display: flex; flex-wrap: wrap; gap: 10px; }
.slot-btn {
  min-width: 112px; min-height: 48px; padding: 10px 16px; border-radius: 12px; cursor: pointer;
  font: inherit; font-size: 17px; font-weight: 600; color: var(--navy-800); background: #fff; border: 1.5px solid var(--navy-200);
  transition: border-color .15s ease, background-color .15s ease;
}
.slot-btn:hover, .slot-btn:focus-visible { border-color: var(--saffron); background: var(--saffron-100); outline: none; }
.slot-btn[disabled] { opacity: .6; cursor: progress; }
.booking-empty { padding: 18px 20px; border-radius: 16px; background: var(--saffron-100); color: var(--navy-800); }
.booking-ok { background: #e6f4ea; color: #146c43; border-radius: 12px; padding: 12px 16px; font-size: 15px; }
@media (max-width: 640px) { .slot-btn { flex: 1 1 calc(50% - 10px); } .booked-card { flex-direction: column; } }

/* preview note on the booking and documents pages (test-email links) */
.preview-note { background: #eef3ff; border-left: 4px solid var(--navy-500); margin-bottom: 20px; }

/* interview documents: the applicant's details as a summary (nothing to fill in) */
.docs-who { display: flex; flex-direction: column; gap: 4px; padding: 18px 22px; border-radius: 18px; background: var(--surface); border-left: 4px solid var(--saffron); }
.docs-who-label { font-family: var(--head); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--saffron-700); }
.docs-who-name { font-family: var(--display); font-size: clamp(22px, 2.6vw, 28px); line-height: 1.2; color: var(--navy-900); }
.docs-who-contact { font-size: 17px; color: var(--navy-700); overflow-wrap: anywhere; }
.docs-who-sep { margin: 0 10px; color: var(--navy-300); }
.docs-who small { margin-top: 6px; font-size: 14px; color: var(--navy-500); line-height: 1.5; }
.docs-who [data-who-phone] { white-space: nowrap; }
@media (max-width: 560px) {
  .docs-who-contact { display: flex; flex-direction: column; gap: 2px; }
  .docs-who-sep { display: none; }
}

/* interview documents: friendly status message instead of an empty page */
.status-note { padding: clamp(24px, 4vw, 36px); }
.status-note p { font-size: 18px; line-height: 1.6; }
.status-note .status-note-more { margin-top: 12px; font-size: 15px; color: var(--navy-600); }

/* =================== interview page: two steps =================== */
.booking .step { display: flex; flex-direction: column; gap: 16px; padding-top: 8px; }
.booking .step + .step { margin-top: 18px; padding-top: 26px; border-top: 1px solid var(--navy-100); }
.booking .step .apply-full { gap: 20px; }
.step-sub { font-family: var(--head); font-weight: 700; font-size: 19px; color: var(--navy-800); margin: 12px 0 0; }
.opt, .req { font-family: var(--body); font-weight: 400; font-size: 14px; color: var(--navy-500); text-transform: none; letter-spacing: 0; }
.req { color: var(--saffron-700); }
.docs-done { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: 18px; background: #e6f4ea; color: #146c43; }
.docs-done strong { font-size: 17px; }
.docs-done-detail { margin: 4px 0 10px; color: var(--navy-700); overflow-wrap: anywhere; }
.booking-locked { padding: 18px 20px; border-radius: 16px; background: var(--surface); color: var(--navy-600); font-size: 16px; }
.booking .step.is-locked .policy-h { opacity: .55; }

/* Application deadline notice */
.deadline-bar {
  background: var(--saffron); color: var(--navy-900); text-align: center;
  padding: 8px 16px; font-size: 15px; line-height: 1.4; letter-spacing: .01em;
}
.deadline-bar a { color: var(--navy-900); font-weight: 700; text-decoration: underline; margin-left: 10px; white-space: nowrap; }
.deadline-pill {
  display: inline-block; align-self: flex-start; margin: 0;
  background: rgba(255, 153, 51, .16); color: #fff; border: 1.5px solid var(--saffron);
  border-radius: 999px; padding: 6px 14px; font-size: 15px;
}
.deadline-pill strong { color: var(--saffron); }
.apply-closed { background: #fff; border: 2px solid var(--saffron); border-radius: 18px; padding: 28px; display: grid; gap: 12px; max-width: 720px; }
