/* ——— About page ——— */

.ab-eyebrow {
  font-family: "Fustat", sans-serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #909090;
}

.ab-eyebrow.dark {
  color: #909090;
}

/* Hero */

.ab-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 80px;
  padding: 122px 120px;
  background: linear-gradient(180deg, #000 0%, #212121 100%);
  overflow: hidden;
  width: 100%;
}

.ab-hero-glow {
  position: absolute;
  left: 50%;
  top: -246px;
  transform: translateX(-50%);
  width: 623px;
  height: 257px;
  background: rgba(224, 105, 0, 0.5);
  border-radius: 200px;
  filter: blur(300px);
  pointer-events: none;
}

.ab-hero-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  width: 100%;
  position: relative;
  z-index: 1;
}

.ab-hero-left {
  flex: 1;
  min-width: 0;
}

.ab-hero-title {
  font-family: "Fustat", sans-serif;
  font-weight: 600;
  font-size: 64px;
  line-height: 1.2;
  color: #fff;
  width: 700px;
  max-width: 100%;
  margin-top: 24px;
}

.ab-hero-right {
  width: 755px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.ab-hero-copy {
  font-family: "Fustat", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
}

.ab-hero-copy p + p {
  margin-top: 1.5em;
}

.ab-trusted-note {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 12px;
  line-height: 12px;
  text-transform: uppercase;
  color: #bfc7d4;
  position: relative;
  z-index: 1;
}

.ab-trusted-note strong {
  color: #fff;
  font-weight: 600;
}

/* Story */

.ab-story {
  position: relative;
  width: 100%;
  background: #1d1d1d;
}

.ab-story-banner {
  position: relative;
  display: block;
  width: 100%;
  height: 619px;
  object-fit: cover;
  object-position: center top;
}

.ab-story-overlay {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 673px 1fr;
  align-items: start;
  min-height: 887px;
  background: #1d1d1d;
}

/* Left rail: right-aligned stats over an orange bloom, divider on the edge */

.ab-story-stats {
  position: relative;
  overflow: hidden;
  min-height: 887px;
  padding: 168px 89px 72px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  text-align: right;
}

.ab-story-stats::before {
  content: "";
  position: absolute;
  left: 390px;
  top: 120px;
  width: 480px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(224, 104, 0, 0.42), rgba(224, 104, 0, 0.1) 60%, rgba(224, 104, 0, 0) 100%);
  filter: blur(70px);
  pointer-events: none;
}

.ab-stat {
  position: relative;
  z-index: 1;
}

.ab-stat + .ab-stat {
  margin-top: 83px;
}

.ab-stat-num {
  font-family: var(--font-nav);
  font-weight: 500;
  font-size: 36px;
  line-height: 24px;
  color: #f68121;
}

.ab-stat-label {
  font-family: var(--font-nav);
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  color: #fff;
  margin-top: 15px;
  max-width: none;
}

.ab-story-copy {
  padding: 192px 104px 72px 125px;
}

.ab-story-title {
  font-family: var(--font-nav);
  font-weight: 500;
  font-size: 36px;
  line-height: 24px;
  letter-spacing: 0;
  text-transform: none;
  color: #fff;
  margin: 0 0 67px;
}

.ab-story-copy > p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 909px;
}

.ab-story-copy > p + p {
  margin-top: 30px;
}

/* Logos */

.ab-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 38px;
  padding: 101px 0 145px;
  width: 100%;
  background: #1d1d1d;
}

.ab-logos-title {
  font-family: "Fustat", sans-serif;
  font-weight: 600;
  font-size: 25.16px;
  letter-spacing: 3.77px;
  text-transform: uppercase;
  color: #909090;
  text-align: center;
}

.ab-logos-track {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  max-width: 1473px;
  width: 100%;
  padding: 0 40px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.ab-logos-track::-webkit-scrollbar {
  display: none;
}

.ab-logo-slot {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 148px;
  height: 56px;
  padding: 4px 10px;
  box-sizing: border-box;
}

.ab-logo-slot img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Methods */

.ab-methods {
  background: #161616;
  padding: 10px;
  width: 100%;
}

.ab-methods-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 104px 0 80px;
  width: 100%;
}

.ab-methods-title {
  font-family: "Fustat", sans-serif;
  font-weight: 400;
  font-size: 64px;
  line-height: 64px;
  letter-spacing: -1px;
  color: #fff;
  width: 781px;
  max-width: 1416px;
  align-self: flex-start;
  margin-left: calc((100% - 1416px) / 2);
}

.ab-methods-sub {
  font-family: "Fustat", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
  width: 1416px;
  max-width: calc(100% - 242px);
  margin: 30px 0 80px;
}

.ab-method-cards {
  display: flex;
  gap: 34px;
  width: 1430px;
  max-width: calc(100% - 242px);
}

.ab-method-card {
  width: 454px;
  height: 500px;
  background: #272727;
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}

.ab-method-card:hover {
  transform: translateY(-10px);
  background: #2e2e2e;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
}

.ab-method-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
}

.ab-method-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 99px;
  background: rgba(255, 149, 61, 0.21);
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: #f68121;
  margin-bottom: 11px;
}

.ab-method-body h3 {
  font-family: "Fustat", sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 28.8px;
  letter-spacing: -1px;
  color: #fff;
  margin-bottom: 12px;
  max-width: 394px;
}

.ab-method-body p {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 22.4px;
  letter-spacing: -0.32px;
  color: #cecece;
  max-width: 377px;
}

/* Certifications */

.ab-certs {
  position: relative;
  background: linear-gradient(180deg, #fff 0%, #f5f5f5 100%);
  padding: 122px 200px;
  overflow: hidden;
  width: 100%;
}

.ab-certs-glow {
  position: absolute;
  left: 50%;
  top: -246px;
  transform: translateX(-50%);
  width: 623px;
  height: 257px;
  background: rgba(224, 105, 0, 0.5);
  border-radius: 200px;
  filter: blur(300px);
  pointer-events: none;
}

.ab-certs-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 97px;
  width: 1521px;
  max-width: 100%;
}

.ab-certs-intro {
  max-width: 1015px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ab-certs-title {
  font-family: "Fustat", sans-serif;
  font-weight: 700;
  font-size: 42px;
  line-height: 1.2;
  color: #121212;
}

.ab-certs-copy {
  font-family: "Fustat", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.5;
  color: rgba(18, 18, 18, 0.8);
  margin-top: 8px;
}

.ab-certs-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.ab-cert-main {
  width: 613px;
  height: 407px;
  object-fit: cover;
}

.ab-certs-side {
  width: 549px;
  display: flex;
  flex-direction: column;
  gap: 43px;
  align-items: center;
}

.ab-certs-side img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.ab-iso-heading {
  font-family: "Fustat", sans-serif;
  font-weight: 700;
  font-size: 42px;
  line-height: 1.2;
  color: #121212;
}

.ab-iso-row {
  display: flex;
  justify-content: space-between;
  gap: 80px;
}

.ab-iso {
  width: 706px;
  max-width: 48%;
}

.ab-iso img {
  width: 100%;
  height: auto;
  display: block;
}

.ab-iso figcaption {
  font-family: "Fustat", sans-serif;
  font-weight: 600;
  font-size: 32px;
  line-height: 38px;
  color: #121212;
  margin-top: 24px;
  max-width: 480px;
}

/* Process — animated roadmap */
.ab-process {
  position: relative;
  background: #1a1a1a;
  padding: 140px 0 120px;
  width: 100%;
  overflow: hidden;
}

.ab-process-inner {
  width: 1416px;
  max-width: calc(100% - 120px);
  margin: 0 auto;
}

.ab-process-kicker {
  margin-bottom: 20px;
}

.ab-process-title {
  font-family: "Fustat", sans-serif;
  font-weight: 500;
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.1;
  letter-spacing: -1.4px;
  color: #fff;
  max-width: 1060px;
  margin-bottom: 0;
}

/* Coordinate box mirrors the SVG viewBox (976 x 790) so the step copy
   lands inside the loops at every width. */
.ab-process-stage {
  position: relative;
  width: 100%;
  max-width: 1440px;
  aspect-ratio: 976 / 790;
  margin: 32px auto 0;
}

.ab-process-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.ab-process-draw {
  fill: none;
  stroke: #f68121;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 2.6s cubic-bezier(0.33, 0, 0.15, 1);
}

.ab-process-stage.is-on .ab-process-draw {
  stroke-dashoffset: 0;
}

.ab-step {
  position: absolute;
  width: 19%;
  max-width: 275px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.ab-process-stage.is-on .ab-step {
  opacity: 1;
  transform: translateY(0);
}

.ab-process-stage.is-on .ab-step-1 { transition-delay: 0.55s; }
.ab-process-stage.is-on .ab-step-2 { transition-delay: 1.25s; }
.ab-process-stage.is-on .ab-step-3 { transition-delay: 1.95s; }

.ab-step h3 {
  font-family: "Fustat", sans-serif;
  font-weight: 500;
  font-size: clamp(15px, 1.45vw, 20px);
  line-height: 1.3;
  letter-spacing: -0.3px;
  color: #fff;
  margin: 0;
}

.ab-step p {
  font-family: "Figtree", "Fustat", sans-serif;
  font-weight: 500;
  font-size: clamp(10.5px, 0.87vw, 12.5px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

.ab-step-1 {
  left: 55.1%;
  top: 14.2%;
}

.ab-step-2 {
  left: 26.9%;
  top: 43.2%;
}

.ab-step-3 {
  left: 48.6%;
  top: 69.6%;
}

@media (max-width: 1100px) {
  .ab-process {
    padding: 100px 0 80px;
  }

  .ab-process-inner {
    max-width: calc(100% - 48px);
  }

  .ab-process-title {
    margin-bottom: 44px;
  }


  .ab-process-stage {
    aspect-ratio: auto;
    width: 1416px;
    max-width: calc(100% - 48px);
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .ab-process-svg {
    display: none;
  }

  .ab-step {
    position: relative;
    width: 100%;
    max-width: none;
    right: auto !important;
    left: auto !important;
    top: auto !important;
    padding-left: 20px;
    border-left: 1px solid rgba(246, 129, 33, 0.5);
    opacity: 1;
    transform: none;
  }

  .ab-step h3 {
    font-size: 20px;
  }

  .ab-step p {
    font-size: 14px;
  }

  .ab-process-stage.is-on .ab-step {
    animation: ab-step-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .ab-process-stage.is-on .ab-step-1 { animation-delay: 0.1s; }
  .ab-process-stage.is-on .ab-step-2 { animation-delay: 0.25s; }
  .ab-process-stage.is-on .ab-step-3 { animation-delay: 0.4s; }
}

@keyframes ab-step-rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ab-process-draw {
    transition: none;
    stroke-dashoffset: 0;
  }

  .ab-step {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* HSC Policy */

.ab-hsc {
  background: #2c2c2c;
  padding: 100px 155px;
  display: flex;
  flex-direction: column;
  gap: 92px;
  width: 100%;
}

.ab-hsc-title {
  font-family: "Fustat", sans-serif;
  font-weight: 400;
  font-size: 64px;
  line-height: 64px;
  letter-spacing: -1px;
  color: #fff;
}

.ab-hsc-points {
  display: flex;
  gap: 100px;
  width: 100%;
  max-width: 1520px;
}

.ab-hsc-point {
  flex: 1;
  opacity: 0.93;
}

.ab-hsc-num {
  font-family: "Fustat", sans-serif;
  font-size: 56px;
  line-height: 74px;
  letter-spacing: -0.8px;
  color: rgba(255, 255, 255, 0.2);
}

.ab-hsc-label {
  font-family: "Fustat", sans-serif;
  font-size: 32px;
  line-height: 47.7px;
  letter-spacing: -0.8px;
  color: #fff;
  margin-top: 20px;
}

.ab-hsc-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  position: relative;
}

.ab-hsc-copy {
  font-family: "Fustat", sans-serif;
  font-size: 40px;
  line-height: 50.4px;
  letter-spacing: -0.4px;
  color: #fff;
  max-width: 974px;
}

.ab-hsc-badges {
  display: flex;
  gap: 39px;
  flex-shrink: 0;
}

.ab-hsc-badges img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 20px;
  background: #fff;
}

/* Legacy */

.ab-legacy {
  position: relative;
  padding: 100px 120px;
  background: #fff;
  overflow: hidden;
  width: 100%;
}

.ab-legacy-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  pointer-events: none;
}

.ab-legacy-inner {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 68px;
  align-items: center;
}

.ab-legacy-photo-wrap {
  position: relative;
  width: 883px;
  height: 762px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  background: #fff;
}

.ab-legacy-photo {
  position: absolute;
  left: -124px;
  top: -18px;
  width: 1243px;
  height: 798px;
  max-width: none;
  object-fit: cover;
}

.ab-legacy-quote {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 40px;
  width: 763px;
  border-radius: 30px;
  backdrop-filter: blur(75px);
  background: rgba(33, 33, 33, 0.1);
  border: 1px solid rgba(21, 21, 21, 0.09);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: #fff;
}

.ab-legacy-quote p {
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.24px;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
  padding-left: 44px;
}

.ab-legacy-quote img {
  position: absolute;
  left: 32px;
  top: 36px;
}

.ab-legacy-quote span {
  font-family: "Fustat", sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding-left: 40px;
}

.ab-legacy-content {
  width: 679px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  text-align: center;
}

.ab-arul-logo {
  width: 122px;
  height: 120px;
  object-fit: contain;
}

.ab-legacy-content h2 {
  font-family: "Fustat", sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 1.2;
  letter-spacing: -1px;
  color: #121212;
  text-transform: none;
}

.ab-legacy-content > p {
  font-family: "Fustat", sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.5;
  color: #555;
}

.ab-brand-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.ab-brand-chip {
  background: #eff0f0;
  border-radius: 20px;
  width: 200px;
  min-width: 160px;
  height: 88px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
}

.ab-brand-chip img {
  display: block;
  width: auto;
  height: auto;
  max-width: 140px;
  max-height: 42px;
  object-fit: contain;
  object-position: center;
  flex: 0 1 auto;
}

/* Team */

.ab-team {
  background: #1d1d1d;
  padding: 115px 80px 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  width: 100%;
  box-sizing: border-box;
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.ab-team-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  max-width: 1332px;
}

.ab-team-head h2 {
  font-family: "Fustat", sans-serif;
  font-weight: 700;
  font-size: 42px;
  line-height: 1.2;
  color: #fff;
}

.ab-team-copy {
  font-family: "Fustat", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
  max-width: 1055px;
}

.ab-team-badge {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 8px;
}

.ab-avatars {
  display: flex;
  position: relative;
  width: 120px;
  height: 53px;
}

.ab-avatars img {
  position: absolute;
  width: 53px;
  height: 53px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  border: 2px solid #1d1d1d;
}

.ab-avatars img:nth-child(1) { left: 0; }
.ab-avatars img:nth-child(2) { left: 33px; }
.ab-avatars img:nth-child(3) { left: 67px; }

.ab-team-badge p {
  font-size: 18px;
  color: #fff;
}

.ab-team-grid {
  display: flex;
  justify-content: center;
  gap: 36px;
  width: 100%;
  max-width: 1534px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.ab-team-grid::-webkit-scrollbar {
  display: none;
}

.ab-member {
  width: 278px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.ab-member-photo {
  position: relative;
  width: 278px;
  height: 278px;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  border-radius: 21px;
  overflow: hidden;
  background: #1a1a1a;
}

.ab-member-photo.pink { background: #ffced2; }
.ab-member-photo.coral { background: #ff8c78; }
.ab-member-photo.cream { background: #ffefb6; }

.ab-member-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.ab-member:hover .ab-member-photo img {
  transform: scale(1.1);
}

.ab-member-meta img {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.ab-member:hover .ab-member-meta img {
  transform: translate(3px, -3px);
}

.ab-member-meta {
  background: #1b1a1a;
  border-radius: 21px;
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 0;
  box-sizing: border-box;
}

.ab-member-meta > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.ab-member-meta h3 {
  margin: 0;
  font-family: "Fustat", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.25;
  color: #fff;
}

.ab-member-meta p {
  margin: 0;
  font-family: "Fustat", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.35;
  color: #f57f2a;
}

.ab-team-cta {
  display: flex;
  align-items: center;
  gap: 11px;
}

.ab-team-cta > span {
  font-family: "Fustat", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #fff;
}

/* Connect form */

.ab-connect {
  background: #131313;
  padding: 180px 215px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.ab-connect-inner {
  display: flex;
  justify-content: space-between;
  gap: 111px;
  align-items: flex-start;
}

.ab-connect-copy {
  width: 803px;
  max-width: 100%;
}

.ab-connect-copy h2 {
  font-family: "Fustat", sans-serif;
  font-weight: 600;
  font-size: 48px;
  line-height: 1.2;
  color: #fff;
  text-transform: capitalize;
  margin: 229px 0 18px;
}

.ab-connect-copy > p:last-child {
  font-family: "Fustat", sans-serif;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  max-width: 726px;
}

.ab-form {
  width: 576px;
  background: rgba(19, 19, 19, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 33px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ab-form-head h3 {
  font-family: "Fustat", sans-serif;
  font-weight: 600;
  font-size: 28px;
  color: #fff;
}

.ab-form-head p {
  font-family: "Fustat", sans-serif;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 12px;
  margin-bottom: 16px;
}

.ab-field input,
.ab-field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 13px 16px;
  font-family: "Fustat", sans-serif;
  font-size: 16px;
  color: #fff;
  outline: none;
}

.ab-field input {
  height: 50px;
}

.ab-field textarea {
  min-height: 122px;
  resize: vertical;
}

.ab-form .btn-primary {
  align-self: flex-start;
}

.ab-field input::placeholder,
.ab-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

/* Journey */

.ab-journey {
  display: flex;
  gap: 42px;
  align-items: center;
  padding: 120px clamp(48px, 6vw, 141px);
  background: #1d1d1d;
  width: 100%;
}

.ab-journey-left {
  flex: 0 1 629px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 70px;
}

.ab-since {
  display: flex;
  align-items: center;
  gap: 26px;
}

.ab-since span {
  font-family: "Fustat", sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 18px;
  text-transform: uppercase;
  color: #71717a;
}

.ab-journey-brand {
  font-family: "Fustat", sans-serif;
  font-weight: 800;
  font-size: clamp(56px, 7vw, 120px);
  line-height: 0.88;
  background: linear-gradient(138deg, #ff3337 0%, #f8ca53 23%, #009a8f 41%, #4f7a75 60%, #7c8384 78%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ab-journey-brand span {
  display: block;
}

.ab-journey-points {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 531px;
}

.ab-journey-point {
  display: flex;
  gap: 20px;
  align-items: center;
}

.ab-journey-icon {
  width: 66px;
  height: 66px;
  border-radius: 15px;
  background: linear-gradient(150deg, rgba(246, 129, 33, 0.26), rgba(246, 129, 33, 0.03) 70%);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.41);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ab-journey-icon span {
  font-size: 41px;
  line-height: 1;
  background: linear-gradient(180deg, #ff7300, orange);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Image tile shares the 66x66 footprint of the numeric tile above it. */
.ab-journey-icon-img img {
  width: auto;
  height: 40px;
  object-fit: contain;
}

.ab-journey-point h3 {
  font-family: "Fustat", sans-serif;
  font-weight: 600;
  font-size: 22px;
  color: #fff;
  margin-bottom: 8px;
}

.ab-journey-point p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.4);
}

.ab-journey .btn-primary {
  align-self: flex-start;
}

.ab-journey-media {
  position: relative;
  flex: 1 1 968px;
  min-width: 0;
  max-width: 968px;
  aspect-ratio: 968 / 668;
  border-radius: 12px;
  background: #000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ab-journey-title {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--font-nav);
  font-weight: 700;
  color: #fff;
  text-align: center;
  text-shadow:
    0 0 26px rgba(255, 255, 255, 0.75),
    0 0 62px rgba(255, 255, 255, 0.45);
}

.ab-journey-title span:first-child {
  font-size: clamp(26px, 3.6vw, 53px);
  line-height: 1.1;
  letter-spacing: 10px;
  text-indent: 10px;
}

.ab-journey-title span:last-child {
  font-size: clamp(52px, 7.2vw, 106px);
  line-height: 1.05;
  letter-spacing: 7px;
  text-indent: 7px;
}

/* FAQ */

.ab-faq {
  background: #1d1d1d;
  padding: 120px 215px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.ab-faq-head {
  text-align: center;
  margin-bottom: 95px;
}

.ab-faq-head h2 {
  font-family: "Fustat", sans-serif;
  font-weight: 700;
  font-size: 42px;
  color: #fff;
  margin-top: 24px;
}

.ab-faq-list {
  width: 792px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 29px;
}

.ab-faq-item {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  overflow: hidden;
}

.ab-faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  cursor: pointer;
  font-family: "Fustat", sans-serif;
  font-size: 16px;
  color: #fff;
}

.ab-faq-item summary::-webkit-details-marker {
  display: none;
}

.ab-faq-item summary img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.ab-faq-item[open] summary img {
  transform: rotate(45deg);
}

.ab-faq-answer {
  padding: 0 24px 24px;
  font-family: "Fustat", sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.7);
}

.ab-faq-answer p + p {
  margin-top: 0;
}

.ab-faq-more {
  margin-top: 48px;
  font-family: "Fustat", sans-serif;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

.ab-faq-more a {
  color: #fff;
  text-decoration: underline;
}

/* CTA + partners — styled entirely by css/components.css. The verbatim copy
   removed from here pinned .cta-title to a 56px leading and forced the
   partner band to a fixed 319px, so it sat 79px taller than everywhere else. */

@media (max-width: 1100px) {
  .ab-story-overlay {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .ab-story-stats {
    min-height: 0;
    padding: 56px 24px 56px 0;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .ab-story-copy {
    padding: 56px 24px;
  }

  .ab-hero,
  .ab-logos,
  .ab-methods,
  .ab-certs,
  .ab-hsc,
  .ab-team,
  .ab-journey,
  .ab-connect,
  .ab-faq {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 768px) {
  .ab-hero {
    padding: 100px 20px 56px;
    gap: 40px;
    overflow-x: clip;
  }

  .ab-hero-row {
    flex-direction: column;
    gap: 24px;
    width: 100%;
  }

  .ab-hero-left,
  .ab-hero-right,
  .ab-hero-title,
  .ab-hero-copy,
  .ab-hero .btn-primary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  .ab-hero-title {
    font-size: clamp(28px, 8vw, 40px) !important;
    line-height: 1.15;
  }

  .ab-hero-copy {
    font-size: 15px;
  }

  .ab-hero .btn-primary {
    justify-content: center;
  }

  .ab-story {
    padding: 0;
  }

  .ab-story-banner {
    height: 280px;
    width: 100%;
  }

  .ab-story-overlay {
    display: flex !important;
    flex-direction: column;
    padding: 24px 16px;
    gap: 24px;
    width: 100%;
    min-height: 0;
    box-sizing: border-box;
  }

  .ab-story-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
    min-height: 0;
    padding: 0;
    border-right: none;
    text-align: left;
    overflow: visible;
  }

  .ab-story-stats::before {
    display: none;
  }

  .ab-stat + .ab-stat {
    margin-top: 0;
  }

  .ab-stat-num {
    font-size: 26px;
  }

  .ab-stat-label {
    font-size: 15px;
    line-height: 1.35;
    margin-top: 6px;
  }

  .ab-story-copy {
    padding: 0;
  }

  .ab-story-copy > p {
    font-size: 16px;
    line-height: 1.65;
  }

  .ab-story-copy > p + p {
    margin-top: 16px;
  }

  .ab-stat,
  .ab-stat-num,
  .ab-stat-label,
  .ab-story-title,
  .ab-story-copy {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  .ab-story-title {
    font-size: clamp(26px, 7vw, 36px);
  }

  .ab-logos {
    padding: 48px 16px;
    overflow: hidden;
  }

  .ab-logos-track {
    gap: 8px;
    padding: 0 8px;
  }

  .ab-logo-slot {
    width: 120px;
    height: 48px;
    padding: 4px 8px;
  }

  .ab-methods {
    padding: 64px 16px;
  }

  .ab-methods-inner {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  .ab-methods-title {
    font-size: clamp(26px, 7vw, 36px);
  }

  .ab-method-cards {
    flex-direction: column;
    align-items: stretch;
  }

  .ab-method-card {
    width: 100%;
    height: auto;
    min-height: 320px;
  }

  .ab-certs {
    padding: 64px 20px;
    width: 100%;
    box-sizing: border-box;
  }

  .ab-iso-row {
    flex-direction: column;
    align-items: center;
  }

  .ab-hsc {
    padding: 64px 20px;
    gap: 40px;
  }

  .ab-hsc-title {
    font-size: clamp(28px, 7vw, 40px);
  }

  .ab-hsc-points {
    flex-direction: column;
    gap: 28px;
  }

  .ab-hsc-main {
    flex-direction: column;
  }

  .ab-hsc-badges {
    justify-content: flex-start;
  }

  .ab-legacy {
    padding: 0;
  }

  .ab-legacy-inner {
    display: flex !important;
    flex-direction: column !important;
    padding: 48px 16px;
    gap: 32px;
  }

  .ab-legacy-photo-wrap,
  .ab-legacy-photo {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  .ab-team {
    padding: 64px 16px;
  }

  .ab-team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .ab-team-grid::before,
  .ab-team-grid::after {
    display: none;
  }

  .ab-member-photo {
    width: min(278px, 80vw);
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .ab-journey {
    display: flex !important;
    flex-direction: column !important;
    padding: 64px 20px;
    gap: 32px;
  }

  .ab-journey-left,
  .ab-journey-media,
  .ab-journey-points {
    width: 100% !important;
    max-width: 100% !important;
  }

  .ab-journey-point {
    align-items: flex-start;
  }

  .ab-journey-point h3 {
    font-size: 18px;
  }

  .ab-journey-brand {
    font-size: clamp(48px, 14vw, 80px);
    line-height: 1;
  }

  .ab-journey-media {
    height: auto;
    aspect-ratio: 968 / 668;
  }

  .ab-journey-title span:first-child {
    font-size: clamp(18px, 5.6vw, 53px);
    letter-spacing: 4px;
    text-indent: 4px;
  }

  .ab-journey-title span:last-child {
    font-size: clamp(32px, 11vw, 106px);
    letter-spacing: 3px;
    text-indent: 3px;
  }

  .ab-journey .btn-primary {
    align-self: stretch;
    justify-content: center;
  }

  .ab-connect,
  .ab-faq {
    padding: 48px 20px 80px;
    width: 100%;
    box-sizing: border-box;
  }

  .ab-connect {
    display: flex;
    flex-direction: column;
  }

  .ab-connect-inner {
    flex-direction: column;
    gap: 32px;
    width: 100%;
  }

  .ab-connect-copy,
  .ab-connect-copy h2,
  .ab-form {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  .ab-connect-copy h2 {
    margin: 0 0 16px;
    font-size: clamp(28px, 7vw, 40px);
  }
}

/* ═══════════════════════════════════════════════════════════════════
   LIGHT MODE — html[data-theme="light"]
   Palette from Figma light landing 1264:9007. Accent #f68121 never themed.

   Sections deliberately kept DARK (photographic / brand panels):
     .ab-story        — stats + copy panel sits directly under the story
                        photograph; the light landing keeps the band under
                        its hero photo dark in exactly the same way.
     .ab-journey-media — the black "THE JOURNEY OF ARUL GROUP" panel is black
                        in the Figma light frame too.
     .ab-legacy       — already a light section in both themes.
     .ab-certs        — already a light (white → #f5f5f5) section in both themes.
   ═══════════════════════════════════════════════════════════════════ */

/* — Hero — */
html[data-theme="light"] .ab-hero {
  background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg-page) 100%);
}

html[data-theme="light"] .ab-hero-glow {
  background: rgba(224, 105, 0, 0.4);
}

html[data-theme="light"] .ab-hero-title {
  color: var(--text);
}

html[data-theme="light"] .ab-hero-copy {
  color: var(--text-secondary);
}

html[data-theme="light"] .ab-trusted-note {
  color: var(--text-grey);
}

html[data-theme="light"] .ab-trusted-note strong {
  color: var(--text);
}

/* — Logos band — deliberately stays DARK.
   The Figma light landing (1264:9007) keeps this exact band — same
   "Trusted by Industry Leaders" heading, same client logos — on a near-black
   ground. Several supplied logo files (Wabtec, Faiveley, HFL) are white-on-
   transparent and disappear entirely on a light ground, so this is both the
   designed and the legible choice. */

/* — Methods — */
html[data-theme="light"] .ab-methods {
  background: var(--bg-page);
}

html[data-theme="light"] .ab-methods-title {
  color: var(--text);
}

html[data-theme="light"] .ab-methods-sub {
  color: var(--text-secondary);
}

html[data-theme="light"] .ab-method-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
}

html[data-theme="light"] .ab-method-card:hover {
  background: var(--bg-sunken);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.1);
}

/* the method glyphs are white-stroked SVGs */
html[data-theme="light"] .ab-method-icon img {
  filter: invert(1);
}

html[data-theme="light"] .ab-method-body h3 {
  color: var(--text);
}

html[data-theme="light"] .ab-method-body p {
  color: var(--text-secondary);
}

/* — Process — */
html[data-theme="light"] .ab-process {
  background: var(--bg-page);
}

html[data-theme="light"] .ab-process-title {
  color: var(--text);
}

html[data-theme="light"] .ab-step h3 {
  color: var(--text);
}

html[data-theme="light"] .ab-step p {
  color: var(--text-secondary);
}

/* — Quality & HSC — */
html[data-theme="light"] .ab-hsc {
  background: var(--bg-elevated);
}

html[data-theme="light"] .ab-hsc-title,
html[data-theme="light"] .ab-hsc-label,
html[data-theme="light"] .ab-hsc-copy {
  color: var(--text);
}

html[data-theme="light"] .ab-hsc-num {
  /* ghosted step numeral — 0.2 alpha was 1.55:1, below even the 3:1 large-text floor */
  color: rgba(18, 18, 18, 0.46);
}

html[data-theme="light"] .ab-hsc-badges img {
  border: 1px solid var(--border);
}

/* — Team — */
html[data-theme="light"] .ab-team {
  background: var(--bg-page);
}

html[data-theme="light"] .ab-team-head h2 {
  color: var(--text);
}

html[data-theme="light"] .ab-team-copy {
  color: var(--text-secondary);
}

html[data-theme="light"] .ab-team-badge p {
  color: var(--text);
}

html[data-theme="light"] .ab-avatars img {
  border-color: #fff;
}

html[data-theme="light"] .ab-member-photo {
  background: var(--bg-card);
}

html[data-theme="light"] .ab-member-meta {
  background: var(--bg-card);
}

html[data-theme="light"] .ab-member-meta p { color: var(--accent-text); }

html[data-theme="light"] .ab-member-meta h3 {
  color: var(--text);
}

/* white arrow glyph on the member card */
html[data-theme="light"] .ab-member-meta img {
  filter: invert(1);
}

html[data-theme="light"] .ab-team-cta > span {
  color: var(--text);
}

/* — Connect form — */
html[data-theme="light"] .ab-connect {
  background: var(--bg-page);
}

html[data-theme="light"] .ab-connect-copy h2 {
  color: var(--text);
}

html[data-theme="light"] .ab-connect-copy > p:last-child {
  color: var(--text-secondary);
}

html[data-theme="light"] .ab-form {
  background: var(--bg-elevated);
  border-color: var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .ab-form-head h3 {
  color: var(--text);
}

html[data-theme="light"] .ab-form-head p {
  color: var(--text-secondary);
}

html[data-theme="light"] .ab-field input,
html[data-theme="light"] .ab-field textarea {
  background: var(--bg-page);
  border-color: var(--border);
  color: var(--text);
}

html[data-theme="light"] .ab-field input::placeholder,
html[data-theme="light"] .ab-field textarea::placeholder {
  color: var(--text-grey);
}

/* — Journey — */
html[data-theme="light"] .ab-journey {
  background: var(--bg-page);
}

html[data-theme="light"] .ab-since span {
  color: var(--text-grey);
}

html[data-theme="light"] .ab-journey-icon {
  background: linear-gradient(150deg, var(--bg-elevated), #fdf0e2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] .ab-journey-point h3 {
  color: var(--text);
}

html[data-theme="light"] .ab-journey-point p {
  color: var(--text-secondary);
}

/* — FAQ — */
html[data-theme="light"] .ab-faq {
  background: var(--bg-elevated);
}

html[data-theme="light"] .ab-faq-head h2 {
  color: var(--text);
}

html[data-theme="light"] .ab-faq-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] .ab-faq-item summary {
  color: var(--text);
}

/* white +/× toggle glyphs */
html[data-theme="light"] .ab-faq-item summary img {
  filter: invert(1);
}

html[data-theme="light"] .ab-faq-answer,
html[data-theme="light"] .ab-faq-more {
  color: var(--text-secondary);
}

html[data-theme="light"] .ab-faq-more a {
  color: var(--text);
}

/* ═══════════════════════════════════════════════════════════════════
   MOBILE (<= 768px / 375px reference)
   Figma has no dedicated About mobile frame — the only ~390w frames in the
   file (719:27416 "390w dark", 719:27138) are landing-page adaptations, so
   the rules below follow those conventions: single column, 16-20px gutters,
   rails keep hidden scrollbars, nothing wider than the viewport.
   ═══════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  /* — Story: line-height was locked to 24px, which collided at mobile sizes — */
  .ab-story-title {
    line-height: 1.2;
    margin-bottom: 24px;
  }

  .ab-stat-num {
    line-height: 1.2;
  }

  /* — Methods: the desktop centering trick (fixed 1416/1430px widths plus a
       negative margin) pushed the heading 520px off-screen and squeezed the
       cards to ~100px. — */
  .ab-methods-title,
  .ab-methods-sub,
  .ab-method-cards {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    box-sizing: border-box;
  }

  .ab-methods-title {
    line-height: 1.15;
    align-self: stretch;
  }

  .ab-methods-sub {
    margin: 20px 0 40px;
    font-size: 16px;
  }

  .ab-method-cards {
    gap: 20px;
  }

  .ab-method-card {
    min-height: 0;
    padding: 24px;
    gap: 32px;
  }

  .ab-method-body h3,
  .ab-method-body p {
    max-width: 100%;
  }

  .ab-method-body h3 {
    font-size: 20px;
    line-height: 1.3;
  }

  /* — Certifications — */
  .ab-certs-inner {
    gap: 48px;
  }

  .ab-certs-grid {
    flex-direction: column;
    gap: 24px;
  }

  .ab-cert-main,
  .ab-certs-side {
    width: 100%;
    height: auto;
  }

  .ab-certs-title,
  .ab-iso-heading {
    font-size: clamp(26px, 7vw, 36px);
  }

  .ab-certs-copy {
    font-size: 16px;
  }

  .ab-iso {
    width: 100%;
    max-width: 100%;
  }

  .ab-iso-row {
    gap: 40px;
  }

  .ab-iso figcaption {
    font-size: 20px;
    line-height: 1.3;
    max-width: 100%;
  }

  /* — Quality & HSC: 40px/32px display copy and 200px badges overflowed — */
  .ab-hsc {
    gap: 40px;
  }

  .ab-hsc-num {
    font-size: 40px;
    line-height: 1.2;
  }

  .ab-hsc-label {
    font-size: 20px;
    line-height: 1.4;
    margin-top: 8px;
  }

  .ab-hsc-main {
    gap: 32px;
  }

  .ab-hsc-copy {
    font-size: 20px;
    line-height: 1.5;
    max-width: 100%;
  }

  .ab-hsc-badges {
    gap: 16px;
    flex-wrap: wrap;
  }

  .ab-hsc-badges img {
    width: 128px;
    height: 128px;
  }

  /* — Legacy: the photo is absolutely positioned inside a fixed 883x762 wrap,
       so on mobile the wrap collapsed to zero height and the picture never
       rendered; the quote card and brand chips ran off both edges. — */
  .ab-legacy-photo-wrap {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .ab-legacy-photo {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .ab-legacy-quote {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    max-width: none;
    transform: none;
    padding: 18px;
    border-radius: 18px;
    gap: 10px;
  }

  .ab-legacy-quote p {
    font-size: 15px;
    padding-left: 30px;
  }

  .ab-legacy-quote img {
    left: 18px;
    top: 22px;
    width: 18px;
    height: auto;
  }

  .ab-legacy-quote span {
    font-size: 14px;
    padding-left: 30px;
  }

  .ab-legacy-content {
    width: 100%;
    max-width: 100%;
    gap: 24px;
    box-sizing: border-box;
  }

  .ab-legacy-content h2 {
    font-size: clamp(26px, 7vw, 36px);
  }

  .ab-legacy-content > p {
    font-size: 16px;
  }

  .ab-brand-row {
    width: 100%;
    gap: 12px;
  }

  .ab-brand-chip {
    width: calc(50% - 6px);
    min-width: 0;
    height: 72px;
    padding: 12px;
  }

  .ab-brand-chip img {
    max-width: 100%;
    max-height: 36px;
  }

  /* — Team: the wrapped grid needs no scroll track — */
  .ab-team {
    gap: 32px;
  }

  .ab-team-head h2 {
    font-size: clamp(28px, 7.5vw, 40px);
  }

  .ab-team-copy {
    font-size: 16px;
  }

  .ab-team-grid {
    overflow-x: visible;
  }

  .ab-member,
  .ab-member-photo {
    width: min(300px, calc(100vw - 32px));
  }

  .ab-member-photo {
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .ab-team-cta {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* — Journey: in a column flex container `flex: 1 1 968px` was read as a
       968px flex-basis on the HEIGHT, so the black panel grew ~4x too tall.
       The copy column has the same problem (`flex: 0 1 629px` on a 513px
       stack), which left 116px of dead space above the black panel. — */
  .ab-journey-media {
    flex: none;
    width: 100%;
  }

  .ab-journey-left {
    flex: none;
  }

  .ab-journey-left {
    gap: 40px;
  }

  /* — FAQ — */
  .ab-faq-head {
    margin-bottom: 40px;
  }

  .ab-faq-head h2 {
    font-size: clamp(26px, 7vw, 36px);
  }

  .ab-faq-list {
    gap: 16px;
  }

  .ab-faq-item summary {
    padding: 18px 20px;
    gap: 16px;
  }

  .ab-faq-answer {
    padding: 0 20px 20px;
  }

  /* negative margin keeps the sentence on one baseline while giving the
     inline link a 44px touch box */
  .ab-faq-more a {
    display: inline-block;
    padding: 12px 4px;
    margin: -12px -4px;
  }

  /* — CTA — mobile sizing is shared (css/responsive.css @768). */

  /* The mobile partner-band rail lives in css/components.css @900. */
}

/* ═══════════════════════════════════════════════════════════════════
   TABLET (769–1100px)
   Scoped away from the mobile block above so the two never fight over the
   cascade. Same root cause as mobile: desktop-only fixed pixel widths.
   ═══════════════════════════════════════════════════════════════════ */

@media (min-width: 769px) and (max-width: 1100px) {
  /* heading was pushed ~200px off the left edge by the desktop centering
     margin `calc((100% - 1416px) / 2)` */
  .ab-methods-title,
  .ab-methods-sub,
  .ab-method-cards {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    box-sizing: border-box;
  }

  .ab-methods-title {
    font-size: clamp(34px, 4.8vw, 56px);
    line-height: 1.15;
  }

  .ab-methods-sub {
    margin: 24px 0 56px;
  }

  .ab-method-cards {
    gap: 20px;
  }

  .ab-method-card {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    height: auto;
    min-height: 420px;
    padding: 24px;
  }

  .ab-method-body h3,
  .ab-method-body p {
    max-width: 100%;
  }

  /* legacy ran ~300px past the right edge as a two-column row */
  .ab-legacy-inner {
    flex-direction: column;
    gap: 48px;
  }

  .ab-legacy-photo-wrap {
    width: 100%;
    height: auto;
    aspect-ratio: 883 / 762;
  }

  .ab-legacy-photo {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .ab-legacy-quote {
    left: 24px;
    right: 24px;
    width: auto;
    max-width: none;
    transform: none;
  }

  .ab-legacy-content {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* `justify-content: center` on an overflowing scroll rail makes the leading
     card unreachable (scrollLeft cannot go negative); `safe` falls back to
     flex-start only once the row overflows. */
  .ab-team-grid {
    justify-content: safe center;
  }
}


/* ═══════════════════════════════════════════════════════════════════
   MOBILE RAILS — arrow controls for the client-logo strip and the team
   roster. The client asked for the homepage pattern (.home-stats-arrow +
   homeStatsCarousel) on every horizontal rail, because a swipe alone is
   not discoverable. Geometry, disabled state and 44px hit box are copied
   from .home-stats-arrow so the two pages read as one system.
   Driven by js/pages/rails.js — the block only gets .is-scrollable while
   the track actually overflows, so nothing shows at desktop widths.
   ═══════════════════════════════════════════════════════════════════ */

.ab-rail-nav {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  width: 100%;
}

.ab-rail-arrow {
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: #f4f4f4;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    opacity 0.2s ease;
}

.ab-rail-arrow svg {
  display: block;
  width: 18px;
  height: 18px;
}

.ab-rail-arrow:hover:not(:disabled) {
  border-color: #f68121;
  background: rgba(246, 129, 33, 0.14);
  color: #f68121;
}

.ab-rail-arrow:active:not(:disabled) {
  background: rgba(246, 129, 33, 0.22);
}

.ab-rail-arrow:disabled {
  opacity: 0.32;
  cursor: default;
}

.ab-rail-arrow:focus-visible {
  outline: 2px solid #f68121;
  outline-offset: 3px;
}

html[data-theme="light"] .ab-team .ab-rail-arrow {
  border-color: var(--border-strong);
  background: rgba(18, 18, 18, 0.04);
  color: var(--text-secondary);
}

html[data-theme="light"] .ab-team .ab-rail-arrow:hover:not(:disabled) {
  border-color: var(--accent);
  background: rgba(246, 129, 33, 0.12);
  color: var(--accent);
}

/* The logo band stays dark in both themes (see the note above), so its
   arrows keep the dark treatment in light mode too. */

/* 1099.98 rather than 1100: the desktop layout is signed off down to and
   including 1100px, so the arrows start one pixel below it. */
@media (max-width: 1099.98px) {
  .ab-logos.is-scrollable .ab-rail-nav,
  .ab-team.is-scrollable .ab-rail-nav {
    display: flex;
  }

  /* Centred inside the logo band, right-aligned over the team rail —
     same placement the homepage uses for each. */
  .ab-logos .ab-rail-nav {
    justify-content: center;
  }

  .ab-team-nav {
    margin-bottom: 4px;
  }
}

@media (max-width: 768px) {
  /* The roster was a 5-card wrapped column ~3100px tall on a 375 screen.
     Desktop shows it as one horizontal row, so mobile keeps the row and
     scrolls it — swipe plus the arrows above. */
  .ab-team-grid {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    scroll-padding-left: 0;
    gap: 16px;
    padding-bottom: 4px;
  }

  .ab-member {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  /* A card narrower than the rail leaves the next one peeking, which is
     what tells a thumb there is more to the right. */
  .ab-member,
  .ab-member-photo {
    width: min(278px, calc(100vw - 96px));
  }

  .ab-member-photo {
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .ab-logos .ab-rail-nav {
    margin-top: 4px;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   MOBILE LEGIBILITY (<= 768px) — follow-ups
   ═══════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  /* "Trusted by 100+ businesses" rendered at 12px, under the 14px floor —
     and its 12px leading was shorter than the new type size. */
  .ab-trusted-note,
  .ab-trusted-note span,
  .ab-trusted-note strong {
    font-size: 14px;
    line-height: 1.4;
  }

  /* Method-card category pills were 12px. */
  .ab-method-pill {
    font-size: 14px;
    line-height: 20px;
  }
}

/* Team: a static five-up grid on desktop; phones keep the swipe rail. */
@media (min-width: 1100px) {
  .ab-team-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 278px));
    justify-content: center;
    gap: clamp(16px, 2vw, 36px);
    overflow: visible;
  }

  .ab-member {
    width: auto;
    min-width: 0;
  }

  .ab-member-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
}
