/* ══════════════════════════════════════════
   About Page — Hero (light, text-centred)
   ══════════════════════════════════════════ */

.ab-hero {
  position: relative;
  background: var(--black);
  overflow: hidden;
  padding: 180px 0 100px;
}

.ab-hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ab-hero__breadcrumb {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 40px;
}

.ab-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.2s ease;
}

.ab-hero__breadcrumb a:hover { color: rgba(255, 255, 255, 0.7); }

.ab-hero__breadcrumb-sep {
  margin: 0 8px;
  opacity: 0.4;
}

.ab-hero__breadcrumb-current {
  color: rgba(255, 255, 255, 0.6);
}

.ab-hero__eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.ab-hero__eyebrow::before,
.ab-hero__eyebrow::after {
  content: '';
  width: 32px;
  height: 1px;
  background: rgba(168, 204, 54, 0.4);
}

.ab-hero__headline {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 28px;
  max-width: 100%;
}

.ab-hero__valueprop {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.5);
  max-width: 56ch;
}

/* ── Aurora blobs ── */

.ab-hero__aurora {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  filter: blur(100px);
  -webkit-filter: blur(100px);
  opacity: 0.45;
}

.ab-hero__aurora-blob {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

.ab-hero__aurora-blob--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168, 204, 54, 0.6) 0%, rgba(168, 204, 54, 0) 70%);
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  animation: ab-aurora-1 12s ease-in-out infinite alternate;
}

.ab-hero__aurora-blob--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(151, 184, 46, 0.5) 0%, rgba(151, 184, 46, 0) 70%);
  bottom: -10%;
  left: -5%;
  animation: ab-aurora-2 14s ease-in-out infinite alternate;
}

.ab-hero__aurora-blob--3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(168, 204, 54, 0.35) 0%, rgba(168, 204, 54, 0) 70%);
  top: 20%;
  right: -8%;
  animation: ab-aurora-3 10s ease-in-out infinite alternate;
}

@keyframes ab-aurora-1 {
  0%   { transform: translateX(-50%) translateY(0) scale(1); }
  100% { transform: translateX(-40%) translateY(30px) scale(1.15); }
}

@keyframes ab-aurora-2 {
  0%   { transform: translateX(0) translateY(0) scale(1); }
  100% { transform: translateX(40px) translateY(-20px) scale(1.1); }
}

@keyframes ab-aurora-3 {
  0%   { transform: translateX(0) translateY(0) scale(1); }
  100% { transform: translateX(-30px) translateY(20px) scale(1.2); }
}

@media (prefers-reduced-motion: reduce) {
  .ab-hero__aurora-blob { animation: none; }
}


/* ══════════════════════════════════════════
   Brand Story
   ══════════════════════════════════════════ */

.ab-story { background: var(--white); }

.ab-story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.ab-story__lead {
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 300;
  line-height: 1.75;
  color: var(--gray);
  margin-bottom: 24px;
}

.ab-story__body {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--gray-light);
}

/* ══════════════════════════════════════════
   Stats
   ══════════════════════════════════════════ */

.ab-stats {
  background: var(--black);
  padding: 80px 0;
}

.ab-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.ab-stats__item {
  text-align: center;
}

.ab-stats__number {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 12px;
}

.ab-stats__num {
  font-family: var(--font-heading);
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
}

.ab-stats__suffix {
  font-family: var(--font-heading);
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 700;
  color: var(--lime);
  line-height: 1;
}

.ab-stats__label {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.01em;
  max-width: 20ch;
  margin: 0 auto;
}

/* ══════════════════════════════════════════
   Pillars
   ══════════════════════════════════════════ */

.ab-pillars { background: var(--white); }

.ab-pillars__header {
  margin-bottom: 64px;
}

.ab-pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.ab-pillars__card {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.ab-pillars__num {
  font-size: 12px;
  font-weight: 400;
  color: var(--gray-light);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 20px;
}

.ab-pillars__title {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.ab-pillars__desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--gray);
}

/* ══════════════════════════════════════════
   Verticals List
   ══════════════════════════════════════════ */

.ab-verticals { background: var(--off-white); }

.ab-verticals__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  gap: 2rem;
}

.ab-verticals__desc {
  max-width: 36ch;
  text-align: right;
}

.ab-verticals__list {
  border-top: 1px solid var(--border);
}

.ab-verticals__row {
  display: grid;
  grid-template-columns: 48px 1fr 2fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: background 0.25s var(--ease);
}

.ab-verticals__row:hover {
  background: rgba(168, 204, 54, 0.06);
}

@media (hover: hover) {
  .ab-verticals__row:hover {
    padding-left: 16px;
    padding-right: 16px;
    margin-left: -16px;
    margin-right: -16px;
  }
}

.ab-verticals__row-num {
  font-size: 12px;
  font-weight: 400;
  color: var(--gray-light);
  letter-spacing: 0.05em;
}

.ab-verticals__row-name {
  font-family: var(--font-heading);
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.01em;
}

.ab-verticals__row-desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--gray);
}

.ab-verticals__row-arrow {
  font-size: 16px;
  color: var(--lime);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.ab-verticals__row:hover .ab-verticals__row-arrow {
  opacity: 1;
  transform: translateX(0);
}


/* ══════════════════════════════════════════
   Clients
   ══════════════════════════════════════════ */

.ab-clients { background: var(--white); }

.ab-clients__header {
  margin-bottom: 56px;
}

.ab-clients__sub {
  margin-top: 16px;
  max-width: 52ch;
}

.ab-clients__marquee {
  padding: 48px 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}

.ab-clients__marquee-row {
  display: flex;
  width: max-content;
  will-change: transform;
}

.ab-clients__marquee-row--left {
  animation: ab-marquee-left 60s linear infinite;
}

.ab-clients__marquee-row--right {
  animation: ab-marquee-right 60s linear infinite;
  transform: translateX(-50%);
}

.ab-clients__marquee-track {
  display: flex;
  align-items: center;
  gap: 72px;
  padding-right: 72px;
}

.ab-clients__marquee-track img {
  height: 60px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

@keyframes ab-marquee-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes ab-marquee-right {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.ab-clients__segments {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--border);
  margin-top: 48px;
}

.ab-clients__segment {
  padding: 28px 24px 28px 0;
  border-right: 1px solid var(--border);
}

.ab-clients__segment:last-child {
  border-right: none;
}

.ab-clients__segment-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.ab-clients__segment-count {
  font-size: 13px;
  font-weight: 400;
  color: var(--gray-light);
}

/* ══════════════════════════════════════════
   CTA
   ══════════════════════════════════════════ */

.ab-cta {
  background: var(--off-white);
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.ab-cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.ab-cta__headline {
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--black);
}

.ab-cta__lead {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--gray);
  margin-bottom: 32px;
  max-width: 44ch;
}

/* ══════════════════════════════════════════
   Nav: dark hero state (same pattern as cp-page)
   ══════════════════════════════════════════ */

body.ab-page .nav:not(.is-scrolled) .nav__pill {
  background: rgba(0,0,0,0.25);
  border-color: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}
body.ab-page .nav:not(.is-scrolled) .nav__logo-white { display: block; }
body.ab-page .nav:not(.is-scrolled) .nav__logo-black { display: none; }
body.ab-page .nav:not(.is-scrolled) .nav__link       { color: rgba(255,255,255,0.92); }
body.ab-page .nav:not(.is-scrolled) .nav__link:hover  { color: rgba(255,255,255,0.95); }
body.ab-page .nav:not(.is-scrolled) .nav__link::after  { background: var(--lime); }
body.ab-page .nav:not(.is-scrolled) .nav__hamburger   { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.12); }
body.ab-page .nav:not(.is-scrolled) .nav__hamburger-line { background-color: rgba(255,255,255,0.85); }
body.ab-page .nav:not(.is-scrolled) .nav__link--active { color: rgba(255,255,255,0.95) !important; }
body.ab-page .nav:not(.is-scrolled) .nav__link--active::after { width: 100% !important; }
body.ab-page .nav.is-scrolled .nav__link--active { color: var(--black) !important; }
body.ab-page .nav.is-scrolled .nav__link--active::after { width: 100% !important; background: var(--black) !important; }

@media (max-width: 960px) {
  body.ab-page .nav:not(.is-scrolled) .nav__pill {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* ══════════════════════════════════════════
   GSAP pre-hide (matches base.css pattern)
   ══════════════════════════════════════════ */

@media (prefers-reduced-motion: no-preference) {
  .ab-hero__breadcrumb,
  .ab-hero__eyebrow,
  .ab-hero__headline,
  .ab-hero__valueprop {
    visibility: hidden;
    animation: anim-safety 0s 3.5s forwards;
  }
}

/* ══════════════════════════════════════════
   Tablet — below 1024px
   ══════════════════════════════════════════ */

@media (max-width: 1023px) {
  .ab-story__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .ab-stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }

  .ab-pillars__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .ab-pillars__card:last-child {
    grid-column: 1 / -1;
  }

  .ab-verticals__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .ab-verticals__desc { text-align: left; }

  .ab-verticals__row {
    grid-template-columns: 36px 1fr auto;
  }

  .ab-verticals__row-desc { display: none; }

  .ab-clients__segments {
    grid-template-columns: repeat(3, 1fr);
  }

  .ab-clients__segment:nth-child(3) {
    border-right: none;
  }

  .ab-cta__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ══════════════════════════════════════════
   Mobile — below 768px
   ══════════════════════════════════════════ */

@media (max-width: 767px) {
  .ab-hero {
    padding: 140px 0 72px;
  }

  .ab-hero__breadcrumb {
    margin-bottom: 28px;
  }

  .ab-hero__headline {
    font-size: clamp(28px, 7vw, 44px);
  }

  .ab-hero__valueprop {
    font-size: 15px;
  }

  .ab-hero__aurora { display: none; }
  .ab-hero__aurora-blob {
    animation: none;
    will-change: auto;
  }

  .ab-hero__aurora-blob--1 { width: 350px; height: 350px; }
  .ab-hero__aurora-blob--2 { width: 300px; height: 300px; }
  .ab-hero__aurora-blob--3 { width: 280px; height: 280px; }

  .ab-stats { padding: 56px 0; }

  .ab-stats__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .ab-pillars__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .ab-pillars__card {
    border-top: 1px solid var(--border);
    padding: 32px 0;
  }

  .ab-pillars__card:last-child {
    grid-column: auto;
  }

  .ab-verticals__row {
    grid-template-columns: 36px 1fr auto;
    padding: 20px 0;
    gap: 16px;
  }

  .ab-clients__marquee { padding: 28px 0; gap: 24px; }
  .ab-clients__marquee-row--left {
    animation-duration: 90s;
  }
  .ab-clients__marquee-row--right {
    animation-duration: 90s;
  }
  .ab-clients__marquee-track img { height: 36px; }
  .ab-clients__marquee-track { gap: 40px; padding-right: 40px; }

  .ab-clients__segments {
    grid-template-columns: 1fr;
  }

  .ab-clients__segment {
    padding: 16px 0;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .ab-clients__segment:last-child {
    border-bottom: none;
  }

  .ab-clients__segment:nth-child(odd) {
    padding-right: 0;
  }

  .ab-clients__segment:nth-child(even) {
    border-right: none;
  }

  .ab-clients__segment:nth-child(3) {
    border-right: none;
  }

  .ab-cta { padding: 72px 0; }

  .ab-cta__btn {
    width: 100%;
    justify-content: center;
  }
}

/* ══════════════════════════════════════════
   Small phones — below 400px
   ══════════════════════════════════════════ */

@media (max-width: 400px) {
  .ab-hero {
    padding: 120px 0 56px;
  }

  .ab-hero__headline {
    font-size: 26px;
  }

  .ab-hero__eyebrow {
    font-size: 10px;
  }

  .ab-hero__eyebrow::before,
  .ab-hero__eyebrow::after {
    width: 20px;
  }

  .ab-hero__aurora-blob--1 { width: 250px; height: 250px; }
  .ab-hero__aurora-blob--2 { width: 200px; height: 200px; }
  .ab-hero__aurora-blob--3 { width: 180px; height: 180px; }

  .ab-stats { padding: 44px 0; }

  .ab-stats__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .ab-pillars__card {
    padding: 24px 0;
  }

  .ab-verticals__row {
    gap: 12px;
  }

  .ab-verticals__row-name {
    font-size: 16px;
  }

  .ab-verticals__row-num {
    font-size: 11px;
  }

  .ab-clients__marquee-track img { height: 28px; }
  .ab-clients__marquee-track { gap: 32px; padding-right: 32px; }

  .ab-clients__segments {
    grid-template-columns: 1fr;
  }

  .ab-clients__segment {
    border-right: none;
    padding-right: 0;
  }

  .ab-clients__segment:nth-child(3) {
    border-right: none;
  }

  .ab-cta { padding: 56px 0; }

  .ab-cta__headline {
    font-size: 28px;
  }

  .ab-cta__lead {
    font-size: 14px;
  }
}
