:root {
  --ivory: #F7F8FA;
  --ivory-2: #F7F8FA;
  --burgundy: #0B1B33;
  --burgundy-deep: #132542;
  --brass: #C9962E;
  --brass-light: #E0AC44;
  --ink: #101820;
  --ink-soft: #4A5568;
  --line: #E2E6EB;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
body {
  margin: 0; background: var(--ivory-2); color: var(--ink);
  font-family: 'IBM Plex Sans', 'Segoe UI', Roboto, -apple-system, sans-serif;
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Only hide-then-reveal when JS is actually running — otherwise the whole page
   would stay invisible if the script fails to load. */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 600ms cubic-bezier(0.16,1,0.3,1), transform 600ms cubic-bezier(0.16,1,0.3,1); }
.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Header ---------- */
header.site { position: sticky; top: 0; z-index: 40; background: var(--burgundy); border-bottom: 1px solid rgba(255,255,255,0.08); }
.nav-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { color: #fff; font-size: 16.5px; letter-spacing: 0.01em; font-weight: 600; }
.brand-text span { color: var(--brass-light); font-size: 10.5px; letter-spacing: 0.07em; text-transform: uppercase; }
nav.primary { display: flex; align-items: center; gap: 30px; }
nav.primary a { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 14px; font-weight: 500; padding: 6px 2px; border-bottom: 1px solid transparent; transition: color 180ms ease, border-color 180ms ease; }
nav.primary a:hover, nav.primary a.active { color: #fff; border-bottom-color: var(--brass); }
.lang-toggle { display: flex; border: 1px solid rgba(255,255,255,0.25); border-radius: 3px; overflow: hidden; }
.lang-toggle button { appearance: none; border: none; background: transparent; color: rgba(255,255,255,0.82); font-size: 12px; font-weight: 600; padding: 9px 13px; min-height: 38px; cursor: pointer; font-family: inherit; transition: color 150ms ease, background-color 150ms ease; }
.lang-toggle button:hover { color: #fff; background: rgba(255,255,255,0.07); }
.lang-toggle button[aria-pressed="true"] { background: var(--brass); color: var(--burgundy-deep); }
.nav-right { display: flex; align-items: center; gap: 18px; }
.btn-cta { background: var(--brass); color: var(--burgundy-deep); border: none; border-radius: 2px; padding: 12px 22px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; font-size: 13.5px; font-weight: 700; cursor: pointer; text-decoration: none; transition: background-color 180ms ease, transform 180ms ease; }
.btn-cta:hover { background: var(--brass-light); transform: translateY(-1px); }
.btn-cta:focus-visible, nav.primary a:focus-visible, .lang-toggle button:focus-visible { outline: 2px solid var(--brass-light); outline-offset: 2px; }
.btn-submit { background: var(--brass); color: var(--burgundy-deep); border: none; border-radius: 3px; padding: 14px 32px; font-size: 15px; font-weight: 700; cursor: pointer; text-decoration: none; display: inline-block; transition: background-color 180ms ease, transform 180ms ease; }
.btn-submit:hover { background: var(--brass-light); transform: translateY(-1px); }
.btn-submit:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.menu-btn { display: none; background: none; border: none; color: #fff; cursor: pointer; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 3px; }
.menu-btn:hover { background: rgba(255,255,255,0.08); }
.menu-btn:focus-visible { outline: 2px solid var(--brass-light); outline-offset: 2px; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { background: var(--burgundy); color: #fff; padding: 56px 0 48px; }
.page-hero .crumb { font-size: 12px; color: rgba(255,255,255,0.55); margin-bottom: 14px; }
.page-hero .crumb a { color: rgba(255,255,255,0.75); text-decoration: none; }
.page-hero .crumb a:hover { color: var(--brass-light); }
.page-hero h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 600; letter-spacing: -0.01em; margin: 0 0 14px; max-width: 20ch; }
.page-hero p { font-size: 16px; color: rgba(255,255,255,0.75); max-width: 60ch; margin: 0; }

/* ---------- Section shell ---------- */
section { padding: 84px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.6rem, 2.2vw, 2.1rem); font-weight: 600; letter-spacing: -0.01em; margin: 0 0 14px; color: var(--burgundy); }
.section-head p { font-size: 16px; color: var(--ink-soft); margin: 0; max-width: 62ch; }
.rule { height: 1px; background: var(--line); border: none; margin: 0; }
.tinted { background: var(--ivory); }

/* ---------- Footer ---------- */
footer.site { background: var(--burgundy-deep); color: rgba(255,255,255,0.72); padding: 52px 0 26px; border-top: 1px solid rgba(255,255,255,0.08); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.foot-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.foot-brand img { width: 30px; height: 30px; border-radius: 50%; }
.foot-brand strong { color: #fff; font-size: 14.5px; }
.foot-col h5 { color: rgba(255,255,255,0.85); font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; margin: 0 0 16px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-col a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 13.5px; transition: color 150ms ease; }
.foot-col a:hover { color: var(--brass-light); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12px; color: rgba(255,255,255,0.62); }
.tbd { color: rgba(255,255,255,0.4); font-style: italic; }

@media (max-width: 900px) {
  nav.primary, .nav-right .lang-toggle { display: none; }
  .menu-btn { display: inline-flex; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  section { padding: 56px 0; }
}

/* ---------- Mobile navigation drawer ----------
   Below 900px the primary nav and language toggle are hidden; this drawer is
   the only way to reach them, so it ships on every page. */
.nav-drawer {
  position: fixed; inset: 0; z-index: 60;
  display: none; visibility: hidden;
}
.nav-drawer.is-open { display: block; visibility: visible; }
.nav-drawer-scrim {
  position: absolute; inset: 0; background: rgba(5,12,24,0.6);
  opacity: 0; transition: opacity 220ms ease;
}
.nav-drawer.is-open .nav-drawer-scrim { opacity: 1; }
.nav-drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(320px, 86vw); background: var(--burgundy);
  border-left: 1px solid rgba(255,255,255,0.1);
  padding: 18px 22px 32px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 8px;
  transform: translateX(100%); transition: transform 240ms cubic-bezier(0.16,1,0.3,1);
}
.nav-drawer.is-open .nav-drawer-panel { transform: translateX(0); }
.nav-drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.nav-drawer-head strong { color: #fff; font-size: 15px; }
.nav-drawer-close {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  background: none; border: none; color: #fff; cursor: pointer; border-radius: 3px;
}
.nav-drawer-close:hover { background: rgba(255,255,255,0.08); }
.nav-drawer-close:focus-visible, .nav-drawer a:focus-visible { outline: 2px solid var(--brass-light); outline-offset: 2px; }
.nav-drawer a.drawer-link {
  color: rgba(255,255,255,0.86); text-decoration: none; font-size: 15.5px; font-weight: 500;
  padding: 13px 4px; min-height: 48px; display: flex; align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.09);
  transition: color 150ms ease;
}
.nav-drawer a.drawer-link:hover, .nav-drawer a.drawer-link.active { color: var(--brass-light); }
.nav-drawer .btn-cta { margin-top: 18px; width: 100%; }
.nav-drawer .lang-toggle { display: flex; margin-top: 20px; align-self: flex-start; }
body.nav-open { overflow: hidden; }

/* ---------- India network map ---------- */
.sp-map { width: 100%; }
.sp-map-stage { position: relative; width: 100%; margin: 0 auto; }
.sp-map svg { width: 100%; height: auto; display: block; overflow: visible; }
.sp-map-base { fill: #16294A; stroke: #16294A; stroke-width: 2.5; stroke-linejoin: round; }
.sp-map-state {
  stroke: #E0AC44; stroke-width: 1.6; stroke-linejoin: round;
  transition: filter 200ms ease, opacity 200ms ease;
}
.sp-map-state.is-active { filter: brightness(1.16); }
.sp-map-leader { stroke: rgba(255,255,255,0.5); stroke-width: 2; stroke-dasharray: 5 5; }
.sp-map-anchor { fill: #fff; }
.sp-map-halo { fill: rgba(224,172,68,0.22); transform-origin: center; }
.sp-map-badge-bg { fill: #0B1B33; }
.sp-map-badge-ring { fill: none; stroke: #fff; stroke-width: 2.4; }
.sp-map-pin.is-active .sp-map-badge-ring { stroke: var(--brass-light); stroke-width: 3.4; }
.sp-map-pin.is-active .sp-map-halo { fill: rgba(224,172,68,0.42); }
.sp-map-dot-halo { fill: rgba(224,172,68,0.25); }
.sp-map-dot { fill: #fff; stroke: #0B1B33; stroke-width: 2; }

.sp-map-labels { position: absolute; inset: 0; pointer-events: none; }
.sp-map-label {
  position: absolute; pointer-events: auto; cursor: pointer;
  transform: translate(14px, -50%);
  background: rgba(11,27,51,0.9); color: #fff;
  border: 1px solid rgba(224,172,68,0.55); border-radius: 3px;
  padding: 6px 11px; font: 600 12.5px/1.2 inherit; white-space: nowrap;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}
.sp-map-label--l { transform: translate(calc(-100% - 14px), -50%); }
.sp-map-label:hover, .sp-map-label:focus-visible { background: var(--brass); color: var(--burgundy-deep); border-color: var(--brass); }
.sp-map-label:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* On a light section the map keeps its own dark canvas so the gold reads. */
.map-canvas {
  background: var(--burgundy); border-radius: 4px; padding: 18px 12px;
  border: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 620px) {
  .sp-map-label { font-size: 11px; padding: 4px 8px; transform: translate(11px, -50%); }
  .sp-map-label--l { transform: translate(calc(-100% - 11px), -50%); }
}


