/* ==========================================================================
   DFR — Reset, base elements, layout primitives, typography
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  font-family: var(--f-body);
  font-size: var(--t-body);
  font-weight: var(--fw-reg);
  line-height: var(--lh-body);
  color: var(--c-body);
  background: var(--c-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--c-blue); text-decoration: none; transition: color var(--dur-fast) var(--ease); }
a:hover { color: var(--c-blue-hover); }

button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

ul, ol { list-style: none; }

:focus-visible {
  outline: 2px solid var(--c-blue);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

::selection { background: var(--c-blue); color: #fff; }

/* Material Symbols ------------------------------------------------------- */
.ms {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  direction: ltr;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
  user-select: none;
  flex: none;
}

/* Skip link -------------------------------------------------------------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: var(--z-modal);
  background: var(--c-blue); color: #fff;
  padding: var(--s-3) var(--s-6);
  font-family: var(--f-display); font-weight: var(--fw-bold);
  text-transform: uppercase; letter-spacing: var(--ls-label);
}
.skip-link:focus { left: var(--s-4); top: var(--s-4); color: #fff; }

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--tight { max-width: var(--container-tight); }

.section { padding-block: var(--section-y); }
.section--sm { padding-block: var(--section-y-sm); }
.section--flush-t { padding-top: 0; }
.section--flush-b { padding-bottom: 0; }
.section--alt { background: var(--c-surface-alt); }
/* ⚠ Not a section tint. --c-canvas #DDE3EA is the brochure's page ground, a good
   deal darker than --c-surface-alt #F4F7FA, so a section using it reads as a
   different grey from every other tinted band on the site. That is exactly what
   happened to the home page's "Connecting India" section until 10 Aug 2026.
   For a tinted section band use .section--alt. */
.section--canvas { background: var(--c-canvas); }
.section--ink { background: var(--c-ink); color: rgba(255,255,255,.78); }

.grid { display: grid; gap: var(--s-6); }
.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)); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--auto-sm { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.grid--auto-lg { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

/* An auto-fit grid holding exactly four tiles resolves to three columns between
   about 700px and 1023px, which strands the fourth alone on a second row with
   two thirds of it empty — the same hole as the 4 + 2 wrap in ROADMAP 2.6. Pin
   four-tile grids to two columns across that band so they read 2 + 2.
   Opt-in: the other four .grid--auto-sm grids on the site hold five tiles and
   already wrap 3 + 2, which is even, so they must not pick this up. */
@media (min-width: 621px) and (max-width: 1023px) {
  .grid--auto-sm.grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

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

.stack > * + * { margin-top: var(--s-4); }
.stack-lg > * + * { margin-top: var(--s-7); }

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
.display, .h1, .h2, .h3, .h4, .h5,
h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-display);
  font-weight: var(--fw-black);
  color: var(--c-ink);
  text-transform: uppercase;
  letter-spacing: var(--ls-display);
  line-height: var(--lh-display);
  text-wrap: balance;
}

.display { font-size: var(--t-display); }
.h1, h1  { font-size: var(--t-h1); }
.h2, h2  { font-size: var(--t-h2); line-height: 0.94; }
.h3, h3  { font-size: var(--t-h3); line-height: 1.02; letter-spacing: -0.2px; }
.h4, h4  { font-size: var(--t-h4); line-height: 1.1; letter-spacing: 0.2px; }
.h5, h5  { font-size: var(--t-h5); line-height: 1.15; letter-spacing: 0.2px; }

/* Second line of a title, set in brand blue — the brochure's signature move */
.t-blue  { color: var(--c-blue); }
.t-ink   { color: var(--c-ink); }
.t-white { color: #fff; }
.t-body  { color: var(--c-body); }
.t-muted { color: var(--c-muted); }

.lead {
  font-size: var(--t-lead);
  line-height: 1.6;
  color: var(--c-body);
  max-width: 62ch;
}
.p-sm  { font-size: var(--t-sm); line-height: 1.55; }
.p-xs  { font-size: var(--t-xs); line-height: 1.5; }

.eyebrow {
  display: inline-block;
  font-family: var(--f-display);
  font-weight: var(--fw-bold);
  font-size: var(--t-eyebrow);
  text-transform: uppercase;
  letter-spacing: var(--ls-eyebrow);
  color: var(--c-blue);
  line-height: 1;
}
.eyebrow--on-blue { color: var(--c-tint-soft); }
.eyebrow--muted   { color: var(--c-muted); }

/* Accent underline bar — 54×4px beneath page titles (brochure motif) */
.rule {
  display: block;
  width: var(--rule-w);
  height: var(--rule-h);
  background: var(--c-blue);
  border: 0;
  margin: var(--s-5) 0 var(--s-4);
}
.rule--white { background: #fff; }
.rule--sm { width: 34px; height: 3px; margin: var(--s-3) 0; }
.rule--center { margin-inline: auto; }

/* Section head: title + hairline rule running to the right (brochure motif) */
.section-head {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  margin-bottom: var(--s-8);
}
.section-head__title {
  font-family: var(--f-display);
  font-weight: var(--fw-black);
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem);
  color: var(--c-ink);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  line-height: 1;
  white-space: nowrap;
}
.section-head__line { flex: 1; height: 1px; background: var(--c-line); }
.section-head--blue .section-head__title { color: var(--c-blue); }
.section-head--center { justify-content: center; }
.section-head--center .section-head__line { display: none; }
@media (max-width: 620px) {
  .section-head__title { white-space: normal; }
}

/* Intro block used at the top of most sections */
.section-intro { max-width: 720px; margin-bottom: var(--s-9); }
.section-intro--center { margin-inline: auto; text-align: center; }
.section-intro--center .rule { margin-inline: auto; }

/* --------------------------------------------------------------------------
   Utility
   -------------------------------------------------------------------------- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--s-4); }
.mt-6 { margin-top: var(--s-6); }
.mt-8 { margin-top: var(--s-8); }
.mt-9 { margin-top: var(--s-9); }
.mb-0 { margin-bottom: 0; }
.mb-6 { margin-bottom: var(--s-6); }
.mb-8 { margin-bottom: var(--s-8); }
.no-wrap { white-space: nowrap; }
