/*!
 * TIQRI — About page + shared inner-page components (.ab-*)
 * Used by: about.html, artificial-intelligence.html, case-sustainability-performance-platform.html
 *
 * Sections are in cascade order: later sections intentionally refine earlier
 * ones, so add new rules to the section that owns the component rather than
 * appending a new block at the end of the file.
 *
 * Loads after css/tiqri.css and reuses its tokens (:root custom properties).
 *
 * Contents
 *  01. About + inner pages
 *  02. Safe areas
 */

/* ==========================================================================
   01. About + inner pages
   Hero bridge, who we are, why TIQRI, leadership, CTA, inner-page banner.
   ========================================================================== */

/* ABOUT PAGE ==================== Inherits every homepage token, the glass header, footer,
   buttons and ribbon. Everything below is scoped with .ab- so it cannot collide with
   homepage rules. */
:root {
  --ab-ink: #132b50;
  --ab-title: #173767;
  --ab-muted: #576e90;
  --ab-soft: #6a83a7;
  --ab-line: #d6e2f2;
  --ab-pale: #bdceed;
  --ab-lime: #bded80;
  --ab-green: #74ad40;
}
.nav-links a[aria-current="page"] {
  opacity: 1;
}
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

/* ---------- 1. HERO: the bridge ---------- */
.ab-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: #040e32;
  padding: calc(var(--header-h) + 64px) 0 0;
}
.ab-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(
      ellipse at 88% 94%,
      rgba(120, 188, 67, 0.22) 0%,
      rgba(66, 164, 94, 0.1) 29%,
      rgba(66, 164, 94, 0) 60%
    ),
    radial-gradient(ellipse at 5% 12%, rgba(96, 179, 79, 0.085) 0%, rgba(96, 179, 79, 0) 43%),
    radial-gradient(ellipse at 79% 39%, #1851c09c 0%, #12328445 32%, transparent 59%),
    radial-gradient(ellipse at 20% 110%, #163d9660, transparent 58%),
    linear-gradient(120deg, #040d2a 0%, #0a1b50 48%, #09296d 100%);
}
.ab-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.ab-crumbs ol {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: #9fb3d8;
}
.ab-crumbs li + li::before {
  content: "/";
  margin-right: 10px;
  color: #5b74a4;
}
.ab-crumbs a {
  border-bottom: 1px solid #ffffff30;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.ab-crumbs a:hover {
  color: #fff;
  border-color: var(--ab-lime);
}
.ab-crumbs [aria-current] {
  color: #e7eefc;
}
.ab-hero h1 {
  font-size: clamp(44px, 5vw, 74px);
  font-weight: 550;
  line-height: 1.06;
  letter-spacing: -0.055em;
  margin-top: 30px;
}
.ab-hero h1 span {
  display: block;
}
.ab-hero h1 .accent {
  color: var(--ab-lime);
}
.ab-hero-lede {
  max-width: 420px;
  margin-top: 26px;
  font-size: 17px;
  line-height: 1.85;
  color: #bfd0eb;
}
.ab-hero-copy {
  padding-bottom: clamp(56px, 7vw, 104px);
}

/* The memorable moment: a live Norway ↔ Sri Lanka bridge over the team. */
.ab-bridge {
  position: relative;
  aspect-ratio: 1.18/1;
  max-height: 600px;
  width: 100%;
}
.ab-bridge-photo {
  position: absolute;
  inset: auto -4% 0 -4%;
  height: 64%;
  overflow: hidden;
  -webkit-mask-image:
    linear-gradient(90deg, transparent, #000 22%, #000 80%, transparent),
    linear-gradient(180deg, transparent, #000 55%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent, #000 22%, #000 80%, transparent),
    linear-gradient(180deg, transparent, #000 55%);
  mask-composite: intersect;
}
.ab-bridge-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 70%;
  filter: grayscale(1) contrast(1.05) brightness(1.08);
}
.ab-bridge-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0a1b50 0%, #2a5cc4b0 45%, #3a6fd88c 100%);
  mix-blend-mode: multiply;
}
.ab-bridge-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.12;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.ab-bridge svg.ab-arc {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.ab-arc-glow {
  fill: none;
  stroke: #5c93ff;
  stroke-width: 14;
  opacity: 0.1;
  filter: blur(6px);
}
.ab-arc-line {
  fill: none;
  stroke: #cfe0ff;
  stroke-width: 1.3;
  opacity: 0.55;
  stroke-dasharray: 2 7;
  stroke-linecap: round;
}
.ab-arc-draw {
  fill: none;
  stroke: var(--ab-lime);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: var(--len, 900);
  stroke-dashoffset: var(--len, 900);
  animation: abDraw 2.2s 0.5s var(--ease) forwards;
}
.ab-arc-runner {
  fill: var(--ab-lime);
}
.ab-pin-halo {
  fill: var(--ab-lime);
  opacity: 0.18;
  transform-box: fill-box;
  transform-origin: center;
  animation: abPulse 3.2s ease-out infinite;
}
.ab-pin {
  fill: #0a1b50;
  stroke: var(--ab-lime);
  stroke-width: 2;
}
@keyframes abDraw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes abPulse {
  0% {
    transform: scale(0.6);
    opacity: 0.35;
  }
  80%,
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}
.ab-place {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 16px 12px 14px;
  border-radius: 14px;
  background: linear-gradient(125deg, rgba(25, 57, 112, 0.55), rgba(8, 28, 69, 0.4));
  border: 1px solid #d3e4ff30;
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow:
    0 14px 34px #00113930,
    inset 0 1px 0 #ffffff14;
}
.ab-place b {
  font-family: var(--heading);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.02em;
}
.ab-place time {
  font-family: var(--heading);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.ab-place small {
  font-size: 12px;
  color: #9fb3d8;
}
.ab-place--no {
  left: 2%;
  top: 4%;
}
.ab-place--lk {
  right: 0;
  top: 20%;
  text-align: right;
  align-items: flex-end;
}
.ab-gap {
  position: absolute;
  left: 50%;
  top: 15.5%;
  transform: translateX(-50%);
  font-size: 12px;
  color: #0a1b50;
  background: var(--ab-lime);
  padding: 6px 12px;
  border-radius: 100px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 8px 24px #a9ed6330;
}
.ab-bridge-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  text-align: center;
  font-family: var(--heading);
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #fff;
  z-index: 2;
}
.ab-bridge-caption span {
  color: var(--ab-lime);
}

/* ---------- ---------- 2. Who We Are ---------- ---------- */
.ab-intro {
  position: relative;
  isolation: isolate;
  padding: clamp(80px, 8vw, 124px) 0 clamp(72px, 7vw, 104px);
  background:
    radial-gradient(ellipse at 88% 30%, rgba(211, 229, 255, 0.42), transparent 57%),
    linear-gradient(122deg, #fff 8%, #fcfdff 48%, #f3f8ff 100%);
}
.ab-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #506b90;
}
.ab-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--ab-green);
}
.ab-eyebrow i {
  font-style: normal;
  color: #8aa0c0;
  letter-spacing: 0.06em;
}
.ab-dark .ab-eyebrow {
  color: #c5d7f2;
}
.ab-dark .ab-eyebrow::before {
  background: var(--ab-lime);
}
.ab-dark .ab-eyebrow i {
  color: #7f97c4;
}
.ab-h2 {
  font-family: var(--heading);
  font-size: clamp(40px, 4.9vw, 68px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.052em;
  color: var(--ab-title);
  margin-top: 22px;
}
.ab-h2 .soft {
  color: var(--ab-soft);
}
.ab-dark .ab-h2 {
  color: #fff;
}
.ab-dark .ab-h2 .soft {
  color: var(--ab-lime);
}
.ab-intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}
.ab-intro-copy p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--ab-muted);
  max-width: 56ch;
}
.ab-intro-copy p + p {
  margin-top: 18px;
}
.ab-intro-copy strong {
  color: var(--ab-ink);
  font-weight: 600;
}
.ab-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: clamp(56px, 6vw, 88px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ab-line);
}
.ab-stat {
  padding: 30px 28px 6px 0;
  position: relative;
}
.ab-stat + .ab-stat {
  padding-left: 28px;
  border-left: 1px solid var(--ab-line);
}
.ab-stat::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--ab-green);
  transition: width 1.1s var(--ease) var(--delay, 0ms);
}
.ab-stat + .ab-stat::before {
  left: -1px;
}
.js .ab-stats.revealed .ab-stat::before,
.ab-stats:not([data-reveal]) .ab-stat::before {
  width: 44px;
}
.ab-stat strong {
  display: block;
  font-family: var(--heading);
  font-size: clamp(44px, 4.4vw, 62px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--ab-title);
  font-variant-numeric: tabular-nums;
  min-height: 80px;
}
.ab-stat .counter {
  display: inline;
  font: inherit;
}
.ab-stat strong sup {
  font-size: 0.5em;
  vertical-align: 0.7em;
  color: var(--ab-green);
  margin-left: 2px;
}
.ab-stat > span {
  display: block;
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ab-muted);
}
.ab-stat b {
  display: block;
  font-family: var(--heading);
  font-weight: 600;
  color: var(--ab-ink);
  font-size: 16px;
  letter-spacing: -0.02em;
  margin-top: 4px;
}
.ab-stat--iso strong {
  font-size: clamp(26px, 2.2vw, 32px);
  letter-spacing: -0.035em;
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 80px;
}
.ab-stat--iso svg {
  width: 34px;
  height: 34px;
  color: var(--ab-green);
  flex: none;
}

/* ---------- ---------- 3. Why Tiqri ---------- ---------- */
.ab-why {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  padding: clamp(88px, 8.5vw, 132px) 0 clamp(88px, 8vw, 120px);
}
.ab-why::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse at 2% 18%, #3c74d969, transparent 62%),
    radial-gradient(ellipse at 96% 100%, rgba(120, 188, 67, 0.14), transparent 46%),
    linear-gradient(115deg, #0a2052, #123b86 68%, #194895);
}
.ab-why-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}
.ab-why-head > p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--ab-pale);
  max-width: 46ch;
}
.ab-branch {
  position: relative;
  margin-top: clamp(56px, 6vw, 84px);
}
.ab-root {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}
.ab-root span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #0a1b50;
  background: var(--ab-lime);
  box-shadow:
    0 0 0 8px #bded8014,
    0 10px 30px #a9ed6330;
}
.ab-root span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0a1b50;
}
.ab-branch-svg {
  display: block;
  width: 100%;
  height: 92px;
  margin-top: -2px;
  overflow: visible;
}
.ab-branch-svg path {
  fill: none;
  stroke: #9cc0ff;
  stroke-width: 1.2;
  opacity: 0.55;
  vector-effect: non-scaling-stroke;
}
.ab-branch-svg .lit {
  stroke: var(--ab-lime);
  opacity: 0.9;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.4s var(--ease) var(--d, 0ms);
}
.js .ab-branch.revealed .lit,
.ab-branch:not([data-reveal]) .lit {
  stroke-dashoffset: 0;
}
.ab-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ab-pillar {
  position: relative;
  padding: 28px clamp(18px, 2vw, 30px) 8px;
  border-top: 1px solid #ffffff1f;
}
.ab-pillar + .ab-pillar {
  border-left: 1px solid #ffffff14;
}
.ab-pillar::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 9px;
  height: 9px;
  margin-left: -4.5px;
  border-radius: 50%;
  background: #0f2f70;
  border: 1.5px solid var(--ab-lime);
}
.ab-pillar svg {
  width: 34px;
  height: 34px;
  color: var(--ab-lime);
  margin-bottom: 22px;
}
.ab-pillar h3 {
  font-size: clamp(20px, 1.7vw, 24px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.2;
  color: #fff;
}
.ab-pillar p {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ab-pale);
}
.ab-pillar--nordic {
  background: linear-gradient(180deg, #bded800d, transparent 70%);
}
.ab-pillar--nordic h3 {
  color: var(--ab-lime);
}

/* ---------- ---------- 4. Leadership ---------- ---------- */
.ab-people {
  position: relative;
  isolation: isolate;
  padding: clamp(88px, 8vw, 128px) 0 clamp(110px, 10vw, 160px);
  background:
    radial-gradient(ellipse at 90% 24%, #e5efff88, transparent 62%),
    linear-gradient(180deg, #f9fcff, #f3f7ff);
}
.ab-people-head {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 7vw, 120px);
  align-items: end;
}
.ab-people-head > p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--ab-muted);
  max-width: 52ch;
}
.ab-people-head > p b {
  display: block;
  font-family: var(--heading);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ab-ink);
  margin-bottom: 8px;
}
.ab-leaders {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 28px);
  list-style: none;
  margin: clamp(56px, 6vw, 80px) 0 0;
  padding: 0;
}
.ab-leader:nth-child(even) {
  margin-top: 56px;
}
.ab-leader figure {
  margin: 0;
}
.ab-photo {
  position: relative;
  aspect-ratio: 4/4.6;
  border-radius: 20px;
  overflow: hidden;
  background: #dfe8f5;
  isolation: isolate;
}
.ab-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  filter: grayscale(1) contrast(1.06);
  transition: transform 1.2s var(--ease);
}
.ab-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 55%, #0a1b5038 100%),
    linear-gradient(135deg, #3b74ec14, transparent 60%);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.ab-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.1;
  pointer-events: none;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.ab-leader:hover .ab-photo img {
  transform: scale(1.035);
}
.ab-leader figcaption {
  padding: 20px 4px 0;
  border-top: 0;
}
.ab-leader h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ab-ink);
  line-height: 1.25;
}
.ab-leader p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--ab-muted);
  display: flex;
  align-items: center;
  gap: 9px;
}
.ab-leader p::before {
  content: "";
  width: 14px;
  height: 2px;
  background: var(--ab-green);
  flex: none;
}

/* Leadership slider */
.ab-lead-controls[hidden] {
  display: none;
}
.ab-lead-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: clamp(40px, 5vw, 60px);
}
@media (max-width: 600px) {
  .ab-lead-controls {
    display: none;
  }
}

/* Leadership: 7 people, 3 + 4 rows */
.ab-leaders.ab-leaders-7 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(28px, 3vw, 44px) clamp(16px, 2vw, 28px);
  overflow: visible;
  padding: 0;
}
.ab-leaders-7 .ab-leader {
  grid-column: span 3;
  margin-top: 0 !important;
}
.ab-leaders-7 .ab-leader:nth-child(-n + 3) {
  grid-column: span 4;
}
.ab-leaders-7 .ab-photo {
  aspect-ratio: 485/470;
}
.ab-photo[data-initials]::before {
  z-index: 0;
}
.ab-photo.no-img {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #dfe8f5, #c9d8ee);
}
.ab-photo.no-img::after {
  content: attr(data-initials);
  position: static;
  background: none;
  mix-blend-mode: normal;
  font-family: var(--heading);
  font-size: clamp(40px, 4vw, 64px);
  font-weight: 500;
  letter-spacing: -0.04em;
  color: #173767;
}
.ab-photo.no-img img {
  display: none;
}
@media (max-width: 1100px) {
  .ab-leaders-7 .ab-leader,
  .ab-leaders-7 .ab-leader:nth-child(-n + 3) {
    grid-column: span 6;
  }
}
@media (max-width: 600px) {
  .ab-leaders.ab-leaders-7 {
    gap: 24px 14px;
  }
}

/* ---------- ---------- 5. Cta ---------- ---------- */
.ab-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  padding: clamp(90px, 9vw, 140px) 0;
}
.ab-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse at 2% 18%, #3c74d969, transparent 62%),
    linear-gradient(115deg, #0a2052, #123b86 68%, #194895);
}
.ab-cta-flow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}
.ab-cta-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: end;
}
.ab-cta h2 {
  font-size: clamp(40px, 4.6vw, 66px);
  font-weight: 550;
  letter-spacing: -0.05em;
  line-height: 1.075;
  color: #fff;
}
.ab-cta h2 em {
  font-style: normal;
  color: var(--ab-lime);
  display: block;
}
.ab-cta p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--ab-pale);
  max-width: 40ch;
}
.ab-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-top: 30px;
}
.ab-cta-actions .text-link {
  color: #e2ebfb;
  border-bottom-color: #6f8cc2;
  font-size: 14px;
}

/* ---------- Motion & accessibility ---------- */
.motion-paused .ab-arc-draw {
  animation: none;
  stroke-dashoffset: 0;
}
.motion-paused .ab-pin-halo {
  animation: none;
  opacity: 0;
}
.motion-paused .ab-arc-runner {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .ab-arc-draw {
    animation: none;
    stroke-dashoffset: 0;
  }
  .ab-pin-halo {
    animation: none;
    opacity: 0;
  }
  .ab-arc-runner {
    display: none;
  }
  .ab-branch-svg .lit {
    transition: none;
    stroke-dashoffset: 0;
  }
  .ab-stat::before {
    transition: none;
  }
  .ab-photo img {
    transition: none;
  }
}

/* ---------- Responsive ---------- */
/* Shared inner-page banner size (About + every service page) */
@media (min-width: 901px) {
  .ab-hero,
  .sv-hero {
    min-height: clamp(600px, 47vw, 680px);
    display: grid;
    align-content: end;
  }
}
@media (max-width: 1100px) {
  .ab-pillars {
    grid-template-columns: repeat(2, 1fr);
  }
  .ab-pillar:nth-child(3) {
    border-left: 0;
  }
  .ab-pillar:nth-child(n + 3) {
    margin-top: 28px;
  }
  .ab-branch-svg {
    display: none;
  }
  .ab-root {
    margin-bottom: 34px;
  }
  .ab-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .ab-stat:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
  .ab-stat:nth-child(3)::before {
    left: 0;
  }
  .ab-stat:nth-child(n + 3) {
    border-top: 1px solid var(--ab-line);
    margin-top: 22px;
  }
  .ab-leaders {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .ab-hero {
    padding-top: calc(var(--header-h) + 36px);
  }
  .ab-hero-grid,
  .ab-intro-grid,
  .ab-why-head,
  .ab-people-head,
  .ab-cta-grid {
    grid-template-columns: 1fr;
  }
  .ab-hero-copy {
    padding-bottom: 0;
  }
  .ab-bridge {
    aspect-ratio: 1/1;
    max-width: 560px;
    margin-inline: auto;
    margin-top: 12px;
  }
}
@media (max-width: 600px) {
  .container {
    width: calc(100% - 40px);
  }
  .ab-pillars,
  .ab-stats {
    grid-template-columns: 1fr;
  }
  .ab-pillar + .ab-pillar {
    border-left: 0;
    margin-top: 20px;
  }
  .ab-stat + .ab-stat {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--ab-line);
    margin-top: 18px;
  }
  .ab-stat + .ab-stat::before {
    left: 0;
  }
  .ab-leaders {
    gap: 14px;
  }
  .ab-leader:nth-child(even) {
    margin-top: 36px;
  }
  .ab-leader h3 {
    font-size: 16px;
  }
  .ab-leader p {
    font-size: 12.5px;
  }
  .ab-place {
    padding: 9px 12px;
  }
  .ab-place time {
    font-size: 21px;
  }
  .ab-place b {
    font-size: 13px;
  }
  .ab-bridge {
    aspect-ratio: 1/1.08;
  }
  .ab-gap {
    top: 17%;
  }
}
@media print {
  .ab-hero,
  .ab-why,
  .ab-cta {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}

/* ==========================================================================
   02. Safe areas
   Notch / home-indicator insets for the fixed header and footer (inner pages).
   ========================================================================== */
.site-header {
  padding-top: env(safe-area-inset-top, 0px);
}
.footer {
  padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
}
