/* =====================================================================
   Sargam — About page (scoped to .ab, no legacy selectors touched)
   Uses the approved Sargam tokens defined in refine.css
   ===================================================================== */

.ab {
  padding-top: 0;
  font-family: var(--sg-font);
  color: var(--sg-body);
  background: var(--sg-white);
  --ab-navy: #0e2233;
  --ab-navy-soft: #16324a;
  overflow-x: clip;
}

.ab h1,
.ab h2,
.ab h3 {
  font-family: var(--sg-font);
  color: var(--sg-charcoal);
  letter-spacing: -0.015em;
  font-weight: 600;
  margin: 0;
}

.ab p {
  font-size: 17px;
  line-height: 1.72;
  margin: 0 0 16px;
  max-width: 68ch;
}

.ab-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.ab :is(a, button):focus-visible {
  outline: 2px solid var(--sg-red);
  outline-offset: 3px;
  border-radius: 4px;
}

.ab-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 6px;
  background: var(--sg-red);
  border: 1px solid var(--sg-red);
  color: var(--sg-white);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.ab-cta:hover,
.ab-cta:focus-visible {
  background: var(--sg-red-dark);
  border-color: var(--sg-red-dark);
  color: var(--sg-white);
  transform: translateY(-1px);
  box-shadow: 0 14px 26px -16px rgba(181, 9, 29, 0.8);
}

.ab-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sg-red);
  margin-bottom: 14px;
}
.ab-eyebrow--light {
  color: #e9b8bf;
}

.ab-section {
  padding: 76px 0;
}
.ab-section h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.16;
}
.ab-head {
  max-width: 760px;
  margin-bottom: 44px;
}
.ab-lede {
  font-size: 18px;
  color: var(--sg-body);
  margin-top: 16px;
}
.ab-lede a {
  color: var(--sg-red);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ab-note {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(55, 64, 71, 0.82);
  border-left: 2px solid var(--sg-line);
  padding-left: 16px;
  margin-top: 28px;
}

/* 1. Hero -------------------------------------------------------------- */
.ab-hero {
  position: relative;
  isolation: isolate;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  padding: 120px 0 72px;
  overflow: hidden;
}
.ab-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 58%;
  z-index: -2;
}
.ab-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    100deg,
    rgba(14, 34, 51, 0.92) 0%,
    rgba(14, 34, 51, 0.78) 42%,
    rgba(14, 34, 51, 0.42) 100%
  );
}
.ab-hero__inner {
  max-width: 1240px;
  width: 100%;
}
.ab-hero h1 {
  color: var(--sg-white);
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.1;
  max-width: 17ch;
  margin-bottom: 22px;
}
.ab-hero__lede {
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  max-width: 62ch;
  margin-bottom: 30px;
}
.ab-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 16px;
}

.ab-crumbs {
  margin-bottom: 26px;
}
.ab-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}
.ab-crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.45);
}
.ab-crumbs a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}
.ab-crumbs a:hover {
  color: var(--sg-white);
  text-decoration: underline;
}
.ab-crumbs li[aria-current] {
  color: var(--sg-white);
}

/* 2. Introduction ------------------------------------------------------ */
.ab-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.ab-intro h2 {
  margin-bottom: 22px;
}
.ab-panel {
  background: var(--sg-off);
  border: 1px solid var(--sg-line-soft);
  border-top: 3px solid var(--sg-red);
  border-radius: 8px;
  padding: 30px 28px;
}
.ab-panel h3 {
  font-size: 18px;
  margin-bottom: 18px;
}
.ab-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ab-panel li {
  position: relative;
  padding: 10px 0 10px 20px;
  font-size: 15.5px;
  line-height: 1.5;
  border-bottom: 1px solid var(--sg-line-soft);
}
.ab-panel li:last-child {
  border-bottom: 0;
}
.ab-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 1px;
  background: var(--sg-red);
}
.ab-panel__foot {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--sg-line);
  display: grid;
  gap: 4px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(32, 36, 40, 0.72);
}

/* 3. Engineered in India ---------------------------------------------- */
.ab-eng {
  background: var(--ab-navy);
  padding: 78px 0;
}
.ab-eng__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: center;
}
.ab-eng__media {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--ab-navy-soft);
}
.ab-eng__media img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
}
.ab-eng h2 {
  color: var(--sg-white);
  margin-bottom: 20px;
}
.ab-eng p {
  color: rgba(255, 255, 255, 0.8);
}
.ab-eng__links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 26px;
}
.ab-textlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sg-white);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 4px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.ab-textlink:hover {
  color: #f2c3ca;
  border-color: #f2c3ca;
}

/* 4. Capability -------------------------------------------------------- */
.ab-cap {
  background: var(--sg-off);
}
.ab-cap__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}
.ab-cap__grid > li {
  grid-column: span 2;
}
.ab-cap__grid > li:nth-child(4) {
  grid-column: 2 / span 2;
}
.ab-cap__grid > li:nth-child(5) {
  grid-column: 4 / span 2;
}
.ab-cap__card {
  background: var(--sg-white);
  border: 1px solid var(--sg-line-soft);
  border-radius: 8px;
  padding: 26px 22px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.ab-cap__card:hover {
  transform: translateY(-3px);
  border-color: rgba(181, 9, 29, 0.35);
  box-shadow: 0 18px 34px -26px rgba(32, 36, 40, 0.55);
}
.ab-cap__step {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--sg-red);
  margin-bottom: 14px;
}
.ab-cap__card h3 {
  font-size: 17px;
  line-height: 1.32;
  margin-bottom: 12px;
}
.ab-cap__card p {
  font-size: 15px;
  line-height: 1.62;
  margin: 0;
}

/* 5. Expertise --------------------------------------------------------- */
.ab-exp__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.ab-exp__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 26px;
  border: 1px solid var(--sg-line);
  border-radius: 8px;
  background: var(--sg-white);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.ab-exp__card:hover {
  border-color: rgba(181, 9, 29, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 18px 34px -26px rgba(32, 36, 40, 0.5);
}
.ab-exp__title {
  font-size: 19px;
  font-weight: 600;
  color: var(--sg-charcoal);
}
.ab-exp__line {
  font-size: 15.5px;
  line-height: 1.62;
  color: var(--sg-body);
}
.ab-exp__more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--sg-red);
}

/* 6. Markets ----------------------------------------------------------- */
.ab-mkt {
  background: var(--sg-off);
}
.ab-mkt__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr);
  gap: 56px;
  align-items: start;
}
.ab-mkt__media {
  margin-top: 30px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--sg-line-soft);
}
.ab-mkt__media img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.ab-exp__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
  border-top: 1px solid var(--sg-line);
}
.ab-exp__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 12px 14px 0;
  border-bottom: 1px solid var(--sg-line);
  color: var(--sg-charcoal);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.ab-exp__list a:nth-child(odd) { margin-right: 16px; }
.ab-exp__list a:hover { color: var(--sg-red); }
.ab-mkt__list {
  display: grid;
  gap: 20px;
}
.ab-mkt__block {
  display: flex;
  gap: 18px;
  background: var(--sg-white);
  border: 1px solid var(--sg-line-soft);
  border-radius: 8px;
  padding: 26px 26px 22px;
}
.ab-mkt__icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(181, 9, 29, 0.08);
  color: var(--sg-red);
}
.ab-mkt__block h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.ab-mkt__block p {
  font-size: 15.5px;
  line-height: 1.62;
  margin-bottom: 12px;
}
.ab-mkt__block ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ab-mkt__block li {
  font-size: 13.5px;
  color: var(--sg-charcoal);
  background: var(--sg-off);
  border: 1px solid var(--sg-line-soft);
  border-radius: 999px;
  padding: 5px 12px;
}

/* 7. Principles -------------------------------------------------------- */
.ab-prin__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--sg-line);
}
.ab-prin__item {
  padding: 32px 34px 32px 0;
  border-bottom: 1px solid var(--sg-line);
}
.ab-prin__item:nth-child(2n) {
  padding-left: 34px;
  border-left: 1px solid var(--sg-line);
}
.ab-prin__item h3 {
  font-size: 19px;
  margin-bottom: 12px;
}
.ab-prin__item p {
  margin: 0;
  font-size: 16px;
}

/* 8. Credibility ------------------------------------------------------- */
.ab-cred {
  background: var(--sg-off);
}
.ab-cred__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}
.ab-cred__item {
  grid-column: span 2;
}
.ab-cred__item:nth-child(4) {
  grid-column: 2 / span 2;
}
.ab-cred__item:nth-child(5) {
  grid-column: 4 / span 2;
}
.ab-cred__item {
  background: transparent;
  border-top: 1px solid var(--sg-line);
  padding: 22px 18px 18px 0;
}
.ab-cred__mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: rgba(14, 34, 51, 0.06);
  color: var(--ab-navy);
  margin-bottom: 16px;
}
.ab-cred__item h3 {
  font-size: 17px;
  margin-bottom: 10px;
}
.ab-cred__item p {
  font-size: 15.5px;
  line-height: 1.62;
  margin: 0;
}

/* 9. Enquiry ----------------------------------------------------------- */
.ab-enquiry {
  background: var(--sg-charcoal);
  padding: 64px 0;
}
.ab-enquiry__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.ab-enquiry h2 {
  color: var(--sg-white);
  font-size: clamp(24px, 2.6vw, 34px);
  margin-bottom: 12px;
}
.ab-enquiry p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  max-width: 62ch;
}

/* Responsive ----------------------------------------------------------- */
@media (max-width: 1100px) {
  .ab-cap__grid,
  .ab-cred__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ab-cap__grid > li,
  .ab-cap__grid > li:nth-child(4),
  .ab-cap__grid > li:nth-child(5),
  .ab-cred__item,
  .ab-cred__item:nth-child(4),
  .ab-cred__item:nth-child(5) {
    grid-column: auto;
  }
  .ab-exp__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ab-intro__grid,
  .ab-eng__grid,
  .ab-mkt__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .ab-eng__media img {
    height: 340px;
  }
}

@media (max-width: 760px) {
  .ab-section,
  .ab-eng {
    padding: 56px 0;
  }
  .ab-wrap {
    padding: 0 18px;
  }
  .ab-hero {
    min-height: 0;
    padding: 64px 0 52px;
  }
  .ab-hero h1 {
    max-width: none;
  }
  .ab p {
    font-size: 16px;
  }
  .ab-cap__grid,
  .ab-exp__grid,
  .ab-cred__grid,
  .ab-prin__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .ab-cap__grid > li,
  .ab-cap__grid > li:nth-child(4),
  .ab-cap__grid > li:nth-child(5),
  .ab-cred__item,
  .ab-cred__item:nth-child(4),
  .ab-cred__item:nth-child(5) {
    grid-column: auto;
  }
  .ab-prin__item,
  .ab-prin__item:nth-child(2n) {
    padding: 26px 0;
    border-left: 0;
  }
  .ab-mkt__block {
    flex-direction: column;
    gap: 14px;
  }
  .ab-eng__media img,
  .ab-mkt__media img {
    height: 240px;
  }
  .ab-enquiry__inner {
    gap: 26px;
  }
  .ab-cta {
    width: 100%;
    justify-content: center;
  }
  .ab-exp__list { grid-template-columns: 1fr; }
  .ab-exp__list a:nth-child(odd) { margin-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .ab *,
  .ab *::before,
  .ab *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
