/* About Us — hero preserved; middle content scoped below */

.ab-page {
  --ab-navy: #071a2d;
  --ab-blue: #0b66c3;
  --ab-accent: #0b66c3;
  --ab-sky: #38bdf8;
  --ab-muted: #5a7086;
  --ab-line: #d9e4ef;
  --ab-soft: #eaf3fb;
  --ab-max: 1200px;
  --ab-header-offset: 76px;
  background: #fff;
  color: var(--ab-navy);
  font-family: "Outfit", "Outfit Placeholder", sans-serif;
}

.ab-page main,
.ab-page main * {
  font-family: "Outfit", "Outfit Placeholder", sans-serif !important;
}

.ab-page :focus-visible {
  outline: 3px solid #63a9ff;
  outline-offset: 3px;
}

.ab-wrap {
  width: min(calc(100% - 48px), var(--ab-max));
  margin-inline: auto;
}

/* ——— Preserved hero (unchanged) ——— */
.ab-kicker {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, .78);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.ab-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 480px;
  padding: 140px 0 56px;
  overflow: hidden;
  background: #061b2c;
  color: #fff;
}

.ab-hero-bg {
  position: absolute;
  inset: 0;
}

.ab-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ab-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 18, 32, .82) 0%, rgba(4, 18, 32, .62) 48%, rgba(4, 18, 32, .45) 100%),
    linear-gradient(180deg, rgba(4, 18, 32, .35) 0%, rgba(4, 18, 32, .55) 100%);
}

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

.ab-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.ab-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700 !important;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.15;
}

.ab-hero h1 span {
  color: transparent;
  background: linear-gradient(100deg, #fff 8%, #8fc5ff 55%, #7dd3fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.ab-hero p {
  margin: 0;
  max-width: 680px;
  color: rgba(255, 255, 255, .88);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ——— Section navigation ——— */
.ab-subnav {
  position: sticky;
  top: var(--ab-header-offset);
  z-index: 30;
  margin-top: 0;
  background: #071a2d;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.ab-subnav-inner {
  display: flex;
  gap: 8px 28px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.ab-subnav-inner::-webkit-scrollbar {
  display: none;
}

.ab-subnav a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 2px;
  color: rgba(255, 255, 255, .82);
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color .2s ease, border-color .2s ease;
}

.ab-subnav a:hover,
.ab-subnav a.is-active {
  color: #fff;
  border-bottom-color: var(--ab-blue);
}

#our-mission,
#core-values,
#at-a-glance {
  scroll-margin-top: calc(var(--ab-header-offset) + 56px);
}

/* ——— Mission ——— */
.ab-mission {
  padding: 80px 0;
  background: #fff;
}

.ab-mission-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .95fr);
  gap: 48px 40px;
  align-items: start;
}

.ab-mission h2,
.ab-values h2,
.ab-glance h2 {
  margin: 0 0 10px;
  color: var(--ab-navy);
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  font-weight: 700 !important;
  letter-spacing: -.03em;
  line-height: 1.15;
}

.ab-mission h2 span,
.ab-values h2 span {
  color: var(--ab-blue);
}

.ab-mission-sub,
.ab-values-sub {
  margin: 0 0 18px;
  color: var(--ab-navy);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.4;
}

.ab-mission-copy > p {
  margin: 0 0 14px;
  max-width: 48ch;
  color: var(--ab-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.ab-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--ab-line);
  border-radius: 8px;
  overflow: hidden;
}

.ab-facts li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 2px;
  padding: 18px 16px;
  border-right: 1px solid var(--ab-line);
  border-bottom: 1px solid var(--ab-line);
  background: #fff;
}

.ab-facts li:nth-child(2n) {
  border-right: 0;
}

.ab-facts li:nth-child(n+3) {
  border-bottom: 0;
}

.ab-fact-icon {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-top: 2px;
  color: var(--ab-blue);
}

.ab-fact-icon svg {
  width: 22px;
  height: 22px;
}

.ab-facts strong {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.01em;
}

.ab-facts li > span:last-child {
  color: var(--ab-muted);
  font-size: .9rem;
  line-height: 1.4;
}

.ab-mission-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 460px;
}

.ab-mission-illustration {
  display: block;
  width: min(100%, 460px);
  height: auto;
  margin: 0 auto;
}

/* ——— Core Values ——— */
.ab-values {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
  background: var(--ab-soft);
}

.ab-values-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(234, 243, 251, .92), rgba(234, 243, 251, .96)),
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(11, 102, 195, .08), transparent 55%),
    repeating-linear-gradient(90deg, transparent 0 48px, rgba(11, 102, 195, .035) 48px 49px);
  pointer-events: none;
}

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

.ab-values-intro {
  max-width: 720px;
  margin-bottom: 28px;
}

.ab-values-intro > p:last-child {
  margin: 0;
  color: var(--ab-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.ab-values-panel {
  padding: 36px 32px 28px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(7, 26, 45, .06);
}

.ab-values-panel > h3 {
  margin: 0 0 28px;
  font-size: 1.25rem;
  font-weight: 700 !important;
  letter-spacing: -.02em;
}

.ab-values-upper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .9fr) minmax(0, 1fr);
  gap: 24px 28px;
  align-items: start;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--ab-line);
}

.ab-values-side h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 1.05rem;
  font-weight: 700 !important;
}

.ab-values-side-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--ab-line);
  border-radius: 50%;
  color: var(--ab-blue);
}

.ab-values-side-icon svg {
  width: 18px;
  height: 18px;
}

.ab-values-side ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ab-values-side li {
  position: relative;
  padding: 8px 0 8px 16px;
  color: var(--ab-muted);
  font-size: 1rem;
  line-height: 1.55;
}

.ab-values-side li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1em;
  width: 6px;
  height: 1px;
  background: linear-gradient(90deg, var(--ab-blue), var(--ab-sky));
}

.ab-values-diagram {
  text-align: center;
}

.ab-values-diagram svg {
  display: block;
  width: min(100%, 220px);
  height: auto;
  margin: 0 auto 12px;
}

.ab-values-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ab-muted);
  font-size: .86rem;
  font-weight: 600;
}

.ab-values-legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  border-radius: 50%;
  vertical-align: middle;
}

.ab-values-legend .is-people { background: #5a7a98; }
.ab-values-legend .is-clients { background: #0b66c3; }
.ab-values-legend .is-community { background: #38bdf8; }

.ab-values-pillars > h4 {
  margin: 0 0 18px;
  font-size: 1.05rem;
  font-weight: 700 !important;
}

.ab-values-pillars ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ab-values-pillars li {
  padding: 8px 18px;
  border-right: 1px solid var(--ab-line);
}

.ab-values-pillars li:first-child {
  padding-left: 0;
}

.ab-values-pillars li:last-child {
  border-right: 0;
  padding-right: 0;
}

.ab-pillar-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  color: var(--ab-blue);
}

.ab-pillar-icon svg {
  width: 22px;
  height: 22px;
}

.ab-values-pillars h5 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700 !important;
  line-height: 1.3;
}

.ab-values-pillars p {
  margin: 0;
  color: var(--ab-muted);
  font-size: .95rem;
  line-height: 1.6;
}

/* ——— At a Glance + footer continuous band ——— */
.ab-bottom-band {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  background:
    radial-gradient(ellipse 90% 70% at 10% 0%, rgba(0, 119, 200, 0.28), transparent 55%),
    linear-gradient(160deg, #041421 0%, #061b2c 40%, #001F2B 75%, #001018 100%);
}

.ab-bottom-band > link,
.ab-bottom-band > script {
  display: none !important;
}

.ab-bottom-band .cl-footer {
  margin: -25px 0 0 !important;
  padding-top: 24px !important;
  border-top: 0 !important;
  background: transparent !important;
}

.ab-bottom-band .cl-footer::before {
  display: none !important;
}

.ab-glance {
  position: relative;
  margin: 0;
  padding: 72px 0 32px;
  overflow: hidden;
  background: transparent;
  color: #fff;
}

.ab-glance-bg {
  position: absolute;
  inset: 0;
}

.ab-glance-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ab-glance-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 18, 32, .78), rgba(4, 18, 32, .88));
}

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

.ab-glance h2 {
  margin: 0 0 28px;
  padding-bottom: 4px;
  color: #fff;
  text-align: left;
}

.ab-glance-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 8px 4px;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(6px);
}

.ab-glance-strip li {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 22px 14px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .92);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.35;
}

.ab-glance-strip li:last-child {
  border-right: 0;
}

.ab-glance-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #9bc7ff;
}

.ab-glance-icon svg {
  width: 28px;
  height: 28px;
}

.ab-glance-badge {
  display: grid;
  place-items: center;
  min-height: 56px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff;
}

.ab-glance-badge img {
  display: block;
  width: auto;
  max-width: 150px;
  height: auto;
  max-height: 48px;
  object-fit: contain;
}

.ab-glance-partner {
  gap: 10px;
}

/* Responsive */
@media (max-width: 1024px) {
  .ab-mission-grid,
  .ab-values-upper {
    grid-template-columns: 1fr;
  }

  .ab-mission-visual {
    min-height: 380px;
    order: 2;
  }

  .ab-values-pillars ul {
    grid-template-columns: 1fr 1fr;
    gap: 20px 0;
  }

  .ab-values-pillars li {
    border-right: 0;
    border-bottom: 1px solid var(--ab-line);
    padding: 0 16px 18px 0;
  }

  .ab-values-pillars li:nth-child(2n) {
    padding-left: 16px;
    padding-right: 0;
  }

  .ab-values-pillars li:nth-child(n+3) {
    border-bottom: 0;
    padding-top: 4px;
  }

  .ab-glance-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ab-glance-strip li {
    border-right: 1px solid rgba(255, 255, 255, .18);
    border-bottom: 1px solid rgba(255, 255, 255, .18);
  }

  .ab-glance-strip li:nth-child(2n) {
    border-right: 0;
  }

  .ab-glance-strip li:nth-child(n+3) {
    border-bottom: 0;
  }
}

@media (max-width: 940px) {
  .ab-page {
    --ab-header-offset: 72px;
  }
}

@media (max-width: 640px) {
  .ab-wrap {
    width: min(calc(100% - 40px), var(--ab-max));
  }

  .ab-hero {
    min-height: 400px;
    padding: 118px 0 44px;
  }

  .ab-hero-copy {
    max-width: none;
  }

  .ab-mission,
  .ab-values {
    padding: 56px 0;
  }

  .ab-glance {
    padding: 56px 0;
  }

  .ab-glance h2 {
    margin: 0 0 20px;
    padding-bottom: 16px;
  }

  .ab-facts {
    grid-template-columns: 1fr;
  }

  .ab-facts li {
    border-right: 0;
    border-bottom: 1px solid var(--ab-line);
  }

  .ab-facts li:last-child {
    border-bottom: 0;
  }

  .ab-mission-visual {
    min-height: 280px;
  }

  .ab-mission-illustration {
    width: min(100%, 360px);
  }

  .ab-values-panel {
    padding: 24px 18px;
  }

  .ab-values-pillars ul {
    grid-template-columns: 1fr;
  }

  .ab-values-pillars li,
  .ab-values-pillars li:nth-child(2n) {
    padding: 0 0 18px;
    border-bottom: 1px solid var(--ab-line);
  }

  .ab-values-pillars li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .ab-glance-strip {
    grid-template-columns: 1fr;
  }

  .ab-glance-strip li {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
  }

  .ab-glance-strip li:last-child {
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ab-subnav a {
    transition: none;
  }
}
