/* ==========================================================
   About page (uses tokens, buttons and reveal animations from aurex-service.css)
   ========================================================== */

/* ---------- Hero: full-bleed photo with navy-to-brand overlay ---------- */
.ab-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(150px, 16vw, 10px) 0 0;
  background: var(--svc-navy);
  color: #fff;
}
.ab-hero__bg {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  animation: ab-kenburns 18s ease-in-out infinite alternate;
}
.ab-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(15, 26, 42, 0.94) 0%, rgba(15, 26, 42, 0.78) 45%, rgba(15, 26, 42, 0.35) 100%),
    radial-gradient(ellipse at 85% 90%, rgba(255, 59, 79, 0.35), transparent 50%);
  content: "";
}
.ab-hero__crumb li,
.ab-hero__crumb a {
  color: rgba(255, 255, 255, 0.7);
}
.ab-hero__crumb li + li::before {
  color: rgba(255, 255, 255, 0.4);
}
.ab-hero__crumb a:hover,
.ab-hero__crumb [aria-current] {
  color: #ff8a96;
}
.ab-hero__eyebrow {
  color: #ff8a96;
}
.ab-hero__eyebrow span {
  background: #ff8a96;
}
.ab-hero h1 {
  max-width: 820px;
  margin: 0;
  color: #fff;
  font-size: clamp(40px, 5.6vw, 76px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.04;
}
.ab-hero h1 em {
  color: var(--svc-brand);
  font-style: normal;
}
.ab-hero__lead {
  max-width: 600px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.75;
}
.ab-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 16px;
  margin-top: 34px;
}
.ab-btn--glass {
  padding: 0 26px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.ab-btn--glass:hover,
.ab-btn--glass:focus-visible {
  border-color: #fff;
  background: #fff;
  color: var(--svc-ink);
}
.ab-hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: clamp(60px, 8vw, 96px) 0 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  list-style: none;
}
.ab-hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 28px 24px 34px;
}
.ab-hero__stats li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}
.ab-hero__stats strong {
  color: #fff;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.ab-hero__stats span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
/* Hero entrance */
.ab-hero__inner > *,
.ab-hero__stats li {
  animation: svc-rise 900ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}
.ab-hero__inner > :nth-child(1) { animation-delay: 80ms; }
.ab-hero__inner > :nth-child(2) { animation-delay: 180ms; }
.ab-hero__inner > :nth-child(3) { animation-delay: 280ms; }
.ab-hero__inner > :nth-child(4) { animation-delay: 400ms; }
.ab-hero__inner > :nth-child(5) { animation-delay: 520ms; }
.ab-hero__stats li:nth-child(1) { animation-delay: 650ms; }
.ab-hero__stats li:nth-child(2) { animation-delay: 750ms; }
.ab-hero__stats li:nth-child(3) { animation-delay: 850ms; }
.ab-hero__stats li:nth-child(4) { animation-delay: 950ms; }
@keyframes ab-kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.1) translate(-1.5%, -1%); }
}

/* ---------- About Aurex (story) ---------- */
.ab-story {
  padding: clamp(80px, 10vw, 120px) 0;
  background: #fff;
}
.ab-story__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 7vw, 96px);
}
.ab-story__visual {
  position: relative;
  min-height: 520px;
}
.ab-story__visual::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 140px;
  height: 140px;
  background-image: radial-gradient(rgba(255, 59, 79, 0.35) 2px, transparent 2px);
  background-size: 16px 16px;
  content: "";
}
.ab-story__photo {
  position: absolute;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 24px 55px rgba(26, 48, 73, 0.16);
}
.ab-story__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}
.ab-story__photo:hover img {
  transform: scale(1.05);
}
.ab-story__photo--main {
  top: 30px;
  right: 0;
  width: 78%;
  height: 420px;
  border-radius: 180px 180px 24px 24px;
}
.ab-story__photo--small {
  bottom: 0;
  left: 0;
  width: 46%;
  height: 230px;
  border: 8px solid #fff;
}
.ab-story__badge {
  position: absolute;
  right: 6%;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  border-radius: 16px;
  background: var(--svc-brand);
  color: #fff;
  box-shadow: 0 18px 36px rgba(255, 59, 79, 0.35);
  animation: svc-float 5s ease-in-out infinite;
}
.ab-story__badge strong {
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
}
.ab-story__badge span {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}
.ab-story__content h2 {
  margin: 0;
  color: var(--svc-ink);
  font-size: clamp(32px, 3.8vw, 50px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
}
.ab-story__content h2 em {
  color: var(--svc-brand);
  font-style: normal;
}
.ab-story__content p {
  margin: 16px 0 0;
  color: var(--svc-text);
  font-size: 15.5px;
  line-height: 1.8;
}
.ab-story__content p.ab-story__intro {
  margin-top: 22px;
  color: #2f3a4b;
  font-size: 17px;
  font-weight: 500;
}
.ab-story__points {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 22px 24px;
  border: 1px solid #fbe3e6;
  border-radius: 16px;
  background: #fff6f7;
  list-style: none;
}
.ab-story__points li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #334459;
  font-size: 15px;
  font-weight: 600;
}
.ab-story__points li span {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--svc-brand);
  color: #fff;
}

/* ---------- Mission & Vision ---------- */
.ab-mv {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 10vw, 120px) 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 59, 79, 0.08), transparent 30%),
    var(--svc-bg);
}
.ab-mv__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
}
.ab-mv__card {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 4vw, 52px);
  border: 1px solid var(--svc-line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(33, 24, 56, 0.06);
  transition: transform 350ms ease, box-shadow 350ms ease;
}
.ab-mv__card::after {
  position: absolute;
  top: -70px;
  right: -70px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 59, 79, 0.07);
  content: "";
  transition: transform 600ms ease;
}
.ab-mv__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 54px rgba(255, 59, 79, 0.14);
}
.ab-mv__card:hover::after {
  transform: scale(1.4);
}
.ab-mv__card--dark {
  border-color: transparent;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 59, 79, 0.28), transparent 45%),
    var(--svc-navy);
}
.ab-mv__card--dark::after {
  background: rgba(255, 255, 255, 0.05);
}
.ab-mv__icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 66px;
  height: 66px;
  margin-bottom: 26px;
  place-items: center;
  border-radius: 20px;
  background: var(--svc-brand);
  color: #fff;
  box-shadow: 0 12px 26px rgba(255, 59, 79, 0.32);
  transition: transform 350ms ease;
}
.ab-mv__card:hover .ab-mv__icon {
  transform: rotate(-8deg) scale(1.05);
}
.ab-mv__label {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 10px;
  color: var(--svc-brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.ab-mv__card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  color: var(--svc-ink);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.ab-mv__card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--svc-text);
  font-size: 16px;
  line-height: 1.8;
}
.ab-mv__card--dark .ab-mv__label {
  color: #ff8a96;
}
.ab-mv__card--dark h3 {
  color: #fff;
}
.ab-mv__card--dark p {
  color: #a9b6c7;
}
.ab-values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: clamp(28px, 4vw, 40px) 0 0;
  padding: 0;
  list-style: none;
}
.ab-values li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  border: 1px solid var(--svc-line);
  border-radius: 16px;
  background: #fff;
  color: var(--svc-ink);
  font-size: 17px;
  font-weight: 800;
  transition: border-color 300ms ease, color 300ms ease;
}
.ab-values li b {
  color: transparent;
  font-size: 26px;
  -webkit-text-stroke: 1.2px var(--svc-brand);
}
.ab-values li:hover {
  border-color: var(--svc-brand);
  color: var(--svc-brand);
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .ab-hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ab-hero__stats li:nth-child(3) {
    border-left: 0;
  }
  .ab-hero__stats li:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }
  .ab-story__layout {
    grid-template-columns: 1fr;
  }
  .ab-story__visual {
    width: min(100%, 560px);
    margin: 0 auto;
  }
  .ab-values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .ab-mv__grid {
    grid-template-columns: 1fr;
  }
  .ab-story__visual {
    min-height: 420px;
  }
  .ab-story__photo--main {
    height: 330px;
  }
  .ab-story__photo--small {
    height: 170px;
  }
  .ab-story__badge {
    right: 0;
    padding: 12px 16px;
  }
  .ab-story__badge strong {
    font-size: 30px;
  }
  .ab-hero__stats li {
    padding: 22px 16px 26px;
  }
}
@media (max-width: 575px) {
  .ab-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .ab-btn--glass {
    justify-content: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ab-hero__bg,
  .ab-hero__inner > *,
  .ab-hero__stats li,
  .ab-story__badge {
    animation: none;
  }
  .ab-mv__card,
  .ab-mv__card::after,
  .ab-mv__icon,
  .ab-story__photo img {
    transition: none;
  }
}

/* ==========================================================
   About page v2: AI growth engine content
   ========================================================== */

/* Hero: brand black instead of navy */
.ab-hero {
  background: #070708;
}
.ab-hero::before {
  background:
    linear-gradient(100deg, rgba(7, 7, 8, 0.96) 0%, rgba(7, 7, 8, 0.82) 50%, rgba(7, 7, 8, 0.45) 100%),
    radial-gradient(ellipse at 85% 90%, rgba(255, 59, 79, 0.32), transparent 50%);
}
.ab-hero h1 {
  max-width: 900px;
  font-size: clamp(36px, 5vw, 66px);
}

/* Who we are */
.ab-story__badge {
  gap: 12px;
  padding: 14px 20px 14px 14px;
}
.ab-story__badge-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
}
.ab-story__badge b {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  opacity: 0.85;
  text-transform: uppercase;
}
.ab-story__badge span:last-child {
  font-size: 17px;
  font-weight: 800;
}
.ab-story__content p strong {
  color: var(--svc-brand);
  font-weight: 800;
}
.ab-story__roof {
  margin-top: 26px;
  padding: 22px 24px;
  border: 1px solid #fbe3e6;
  border-radius: 18px;
  background: #fff6f7;
}
.ab-story__content .ab-story__roof p {
  margin: 0;
  color: #334459;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
}
.ab-story__roof ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.ab-story__roof li {
  padding: 7px 14px;
  border: 1px solid #f5cdd2;
  border-radius: 999px;
  background: #fff;
  color: var(--svc-ink);
  font-size: 13px;
  font-weight: 700;
  transition: background 250ms ease, color 250ms ease, border-color 250ms ease;
}
.ab-story__roof li:hover {
  border-color: var(--svc-brand);
  background: var(--svc-brand);
  color: #fff;
}

/* Shared dark band (matches the mission / vision / values artwork) */
.ab-dark {
  position: relative;
  overflow: hidden;
  background-color: #0a0a0c;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  color: #c9c9cf;
}
.ab-dark .svc-eyebrow {
  color: #ff5a69;
}
.ab-dark .svc-eyebrow span {
  background: #ff5a69;
}
.ab-dark h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
}
.ab-dark h2 em {
  color: var(--svc-brand);
  font-style: normal;
}
.ab-dark p {
  margin: 16px 0 0;
  color: #a7a7b0;
  font-size: 16px;
  line-height: 1.8;
}
.ab-dark p strong {
  color: #fff;
  font-weight: 700;
}

/* Mission / Vision feature rows */
.ab-feature {
  padding: clamp(70px, 9vw, 110px) 0;
}
.ab-feature + .ab-feature {
  padding-top: 0;
}
.ab-feature__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 84px);
}
.ab-feature--reverse .ab-feature__media {
  order: 2;
}
.ab-feature__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow: 0 40px 80px -40px rgba(255, 59, 79, 0.45);
}
.ab-feature__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1600 / 1066;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(0.2, 0.75, 0.25, 1);
}
.ab-feature__media:hover img {
  transform: scale(1.04);
}
.ab-feature__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 6px;
  padding: 0;
  list-style: none;
}
.ab-feature__metrics li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  transition: border-color 250ms ease, background 250ms ease, transform 250ms ease;
}
.ab-feature__metrics li:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 59, 79, 0.5);
  background: rgba(255, 59, 79, 0.08);
}
.ab-feature__metrics b {
  color: transparent;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  -webkit-text-stroke: 1.2px var(--svc-brand);
}
.ab-feature__checks {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.ab-feature__checks li {
  position: relative;
  padding-left: 34px;
  color: #fff;
  font-size: 15.5px;
  font-weight: 600;
}
.ab-feature__checks li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--svc-brand);
  color: #fff;
  content: "\2713";
  font-size: 12px;
  font-weight: 800;
}
.ab-dark p.ab-feature__goal {
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 3px solid var(--svc-brand);
  border-radius: 0 14px 14px 0;
  background: linear-gradient(90deg, rgba(255, 59, 79, 0.12), rgba(255, 59, 79, 0));
  color: #d8d8de;
}

/* Core values */
.ab-values-sec {
  padding: clamp(70px, 9vw, 110px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.ab-values-sec__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(30px, 5vw, 70px);
  margin-bottom: clamp(36px, 5vw, 56px);
}
.ab-values-sec__media {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
}
.ab-values-sec__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1600 / 1066;
  object-fit: cover;
}
.ab-values-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: value;
}
.ab-values-grid li {
  position: relative;
  grid-column: span 2;
  overflow: hidden;
  padding: 28px 26px 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: linear-gradient(180deg, #121215, #0c0c0e);
  counter-increment: value;
  transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}
/* last row: two wider cards */
.ab-values-grid li:nth-child(4),
.ab-values-grid li:nth-child(5) {
  grid-column: span 3;
}
.ab-values-grid li::after {
  position: absolute;
  top: 14px;
  right: 20px;
  color: transparent;
  content: "0" counter(value);
  font-size: 54px;
  font-weight: 800;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
  transition: -webkit-text-stroke-color 300ms ease;
}
.ab-values-grid li:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 59, 79, 0.45);
  box-shadow: 0 24px 50px -24px rgba(255, 59, 79, 0.55);
}
.ab-values-grid li:hover::after {
  -webkit-text-stroke-color: rgba(255, 59, 79, 0.6);
}
.ab-values-grid__icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  place-items: center;
  border: 1px solid rgba(255, 59, 79, 0.3);
  border-radius: 14px;
  background: rgba(255, 59, 79, 0.1);
  color: #ff5a69;
  transition: background 300ms ease, color 300ms ease, transform 300ms ease;
}
.ab-values-grid li:hover .ab-values-grid__icon {
  transform: rotate(-6deg) scale(1.06);
  background: var(--svc-brand);
  color: #fff;
}
.ab-values-grid__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.ab-values-grid h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.ab-dark .ab-values-grid p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}

/* CTA: dark page section above it, keep the red card */
.ab-values-sec + .svc-cta {
  background: #0a0a0c;
  padding-bottom: clamp(56px, 7vw, 80px);
}
.ab-cta__actions {
  display: flex;
  flex-wrap: wrap;
  flex-shrink: 0;
  gap: 12px;
}

@media (max-width: 991px) {
  .ab-feature__layout,
  .ab-values-sec__head {
    grid-template-columns: 1fr;
  }
  .ab-feature--reverse .ab-feature__media {
    order: 0;
  }
  .ab-values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ab-values-grid li,
  .ab-values-grid li:nth-child(4),
  .ab-values-grid li:nth-child(5) {
    grid-column: auto;
  }
  .ab-values-grid li:nth-child(5) {
    grid-column: 1 / -1;
  }
}
@media (max-width: 575px) {
  .ab-feature__metrics,
  .ab-values-grid {
    grid-template-columns: 1fr;
  }
  .ab-values-grid li:nth-child(5) {
    grid-column: auto;
  }
  .ab-cta__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .ab-cta__actions .svc-btn {
    justify-content: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ab-feature__media img,
  .ab-feature__metrics li,
  .ab-values-grid li,
  .ab-values-grid__icon,
  .ab-story__roof li {
    transition: none;
  }
}
