/* =====================================================================
   About page (about.php). Every class starts with .ab- so nothing here
   touches the home page. Uses brand tokens from header-modern.css,
   .hero-bg / .hero-badge / .hero-btn from hero.css,
   .section-eyebrow from services.css and .about-call from about-home.css.
   ===================================================================== */
.ab-container {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Shared headings ---------- */
.ab-title {
  margin: 20px 0 0;
  font-family: var(--title-font);
  font-size: clamp(32px, 3.3vw, 50px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: #12141c;
}
.ab-title-light {
  color: #ffffff;
}
.ab-grad {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ab-grad-light {
  background: linear-gradient(100deg, #ffb37a 0%, var(--brand-pink) 45%, #a78bfa 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: 0.06em;
}
.ab-text {
  margin: 20px 0 0;
  font-size: 17px;
  line-height: 1.75;
  color: #5b6072;
}
.ab-head-center {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.ab-head-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

/* ---------- Page hero (dark, matches the home hero) ---------- */
.ab-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: #0c0d18;
  color: #ffffff;
  padding: 190px 0 110px;
  text-align: center;
}
.ab-hero .hero-blob-1 {
  width: 520px;
  height: 520px;
  top: -200px;
}
.ab-hero .hero-blob-2 {
  width: 420px;
  height: 420px;
  bottom: -260px;
}
.ab-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ab-hero-title {
  margin: 26px 0 0;
  font-family: var(--title-font);
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: #ffffff;
}
.ab-hero-text {
  max-width: 640px;
  margin: 22px auto 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}
.ab-crumbs {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  font-family: var(--title-font);
  font-size: 14px;
  font-weight: 600;
}
.ab-crumbs a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 250ms ease;
}
.ab-crumbs a:hover {
  color: #ffffff;
}
.ab-crumbs a i {
  font-size: 12px;
}
.ab-crumbs span {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ab-crumbs-sep {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.35);
}

/* ---------- Our story (light) ---------- */
.ab-story {
  position: relative;
  padding: 110px 0 100px;
  background:
    radial-gradient(40% 50% at 0% 0%, rgba(255, 122, 61, 0.08), transparent 70%),
    radial-gradient(40% 50% at 100% 60%, rgba(106, 61, 240, 0.08), transparent 70%),
    #fbfaff;
  overflow: hidden;
}
.ab-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 80px;
}

/* photo collage: one tall photo + two stacked */
.ab-collage {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 18px;
  height: 540px;
}
.ab-collage-tall,
.ab-collage-stack > div {
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 30px 60px -34px rgba(18, 20, 28, 0.5);
}
.ab-collage-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
  padding-top: 46px;
}
.ab-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--header-ease);
}
.ab-collage-tall:hover img,
.ab-collage-stack > div:hover img {
  transform: scale(1.05);
}
.ab-collage-tall img {
  object-position: center 30%;
}
.ab-exp {
  position: absolute;
  left: -22px;
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px 18px 20px;
  border-radius: 20px;
  background: var(--brand-gradient);
  color: #ffffff;
  box-shadow: 0 24px 44px -18px rgba(232, 49, 138, 0.65);
  animation: ab-float 7s ease-in-out infinite;
}
.ab-exp strong {
  color: #ffffff;
  font-family: var(--title-font);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}
.ab-exp span {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}
.ab-collage-dots {
  position: absolute;
  top: -28px;
  right: -28px;
  z-index: -1;
  width: 150px;
  height: 150px;
  background-image: radial-gradient(rgba(106, 61, 240, 0.35) 2px, transparent 2px);
  background-size: 18px 18px;
}
@keyframes ab-float {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -10px; }
}

/* checklist */
.ab-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.ab-checks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--title-font);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: #12141c;
}
.ab-checks i {
  margin-top: 2px;
  font-size: 16px;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ab-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
}

/* stats strip */
.ab-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 90px;
  list-style: none;
}
.ab-stats li {
  position: relative;
  padding: 30px 20px;
  text-align: center;
  background: #ffffff;
  border: 1px solid #ece9f5;
}
.ab-stats li:first-child {
  border-radius: 22px 0 0 22px;
}
.ab-stats li:last-child {
  border-radius: 0 22px 22px 0;
}
.ab-stats li + li {
  border-left: 0;
}
.ab-stats strong {
  display: block;
  font-family: var(--title-font);
  font-size: clamp(36px, 3.4vw, 50px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #12141c;
}
.ab-stats em {
  font-style: normal;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ab-stats small {
  display: block;
  margin-top: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #6b7084;
}

/* ---------- Mission + approach ---------- */
.ab-mission {
  padding: 100px 0 110px;
  background: #ffffff;
}
.ab-mission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 54px;
}
.ab-mcard {
  position: relative;
  padding: 44px 44px 46px;
  border-radius: 28px;
  border: 1px solid transparent;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(120deg, rgba(255, 122, 61, 0.4), rgba(232, 49, 138, 0.25) 50%, rgba(106, 61, 240, 0.4)) border-box;
  box-shadow: 0 30px 60px -40px rgba(106, 61, 240, 0.5);
  overflow: hidden;
  transition: transform 400ms var(--header-ease), box-shadow 400ms var(--header-ease);
}
.ab-mcard:hover {
  transform: translateY(-6px);
  box-shadow: 0 36px 70px -36px rgba(232, 49, 138, 0.55);
}
.ab-mcard-grad {
  border: 0;
  background: var(--brand-gradient);
  color: #ffffff;
}
/* soft light circle in the corner of the gradient card */
.ab-mcard-grad::after {
  content: "";
  position: absolute;
  top: -90px;
  right: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}
.ab-mcard-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--brand-gradient);
  color: #ffffff;
  font-size: 22px;
  box-shadow: 0 12px 24px -10px rgba(232, 49, 138, 0.6);
}
.ab-mcard-grad .ab-mcard-icon {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: none;
}
.ab-mcard h3 {
  margin: 26px 0 0;
  font-family: var(--title-font);
  font-size: 26px;
  font-weight: 700;
  color: #12141c;
}
.ab-mcard p {
  margin: 14px 0 0;
  font-size: 17px;
  line-height: 1.75;
  color: #5b6072;
}
.ab-mcard-grad h3 {
  color: #ffffff;
}
.ab-mcard-grad p {
  color: rgba(255, 255, 255, 0.88);
}

/* ---------- Why choose us (dark) ---------- */
.ab-why {
  position: relative;
  padding: 110px 0;
  background-color: #0c0d18;
  overflow: hidden;
  isolation: isolate;
}
.ab-why-glow {
  position: absolute;
  z-index: -1;
  width: 620px;
  height: 620px;
  right: -200px;
  top: -260px;
  border-radius: 50%;
  background: var(--brand-purple);
  filter: blur(120px);
  opacity: 0.35;
  pointer-events: none;
}
.ab-why .section-eyebrow {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
  color: #e9d5ff;
}
.ab-why-intro {
  max-width: 420px;
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
}
.ab-why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 56px;
}
.ab-wcard {
  position: relative;
  padding: 38px 34px 40px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  overflow: hidden;
  isolation: isolate;
  transition: transform 400ms var(--header-ease), border-color 400ms ease;
}
/* brand gradient glow that fades in on hover */
.ab-wcard::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(160deg, rgba(232, 49, 138, 0.22), rgba(106, 61, 240, 0.18));
  opacity: 0;
  transition: opacity 400ms ease;
}
.ab-wcard:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 49, 138, 0.45);
}
.ab-wcard:hover::before {
  opacity: 1;
}
.ab-wcard-num {
  position: absolute;
  top: 26px;
  right: 30px;
  font-family: var(--title-font);
  font-size: 54px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.18);
}
.ab-wcard-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: var(--brand-gradient);
  color: #ffffff;
  font-size: 21px;
  box-shadow: 0 12px 26px -10px rgba(232, 49, 138, 0.7);
  transition: transform 400ms var(--header-ease);
}
.ab-wcard:hover .ab-wcard-icon {
  transform: rotate(-8deg) scale(1.05);
}
.ab-wcard h3 {
  margin: 28px 0 0;
  font-family: var(--title-font);
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
}
.ab-wcard p {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
}

/* ---------- What we do (light) ---------- */
.ab-services {
  padding: 110px 0;
  background:
    radial-gradient(40% 50% at 100% 0%, rgba(232, 49, 138, 0.07), transparent 70%),
    #fbfaff;
}
.ab-svc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 52px;
}
.ab-svc {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px 18px 18px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #ece9f5;
  box-shadow: 0 14px 30px -24px rgba(106, 61, 240, 0.45);
  color: #12141c;
  transition: transform 400ms var(--header-ease), box-shadow 400ms var(--header-ease), border-color 300ms ease;
}
.ab-svc:hover {
  color: #12141c;
  transform: translateY(-4px);
  border-color: rgba(232, 49, 138, 0.35);
  box-shadow: 0 22px 40px -24px rgba(232, 49, 138, 0.55);
}
.ab-svc-icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #f4f1ff;
  color: var(--brand-purple);
  font-size: 19px;
  transition: background 300ms ease, color 300ms ease;
}
.ab-svc:hover .ab-svc-icon {
  background: var(--brand-gradient);
  color: #ffffff;
}
.ab-svc-text {
  flex: 1 1 auto;
  min-width: 0;
}
.ab-svc-text b {
  display: block;
  font-family: var(--title-font);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.3;
}
.ab-svc-text small {
  display: block;
  margin-top: 3px;
  font-size: 14px;
  color: #6b7084;
}
.ab-svc-arrow {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid #e6e4ef;
  color: #12141c;
  font-size: 13px;
  transition: background 300ms ease, color 300ms ease, border-color 300ms ease, transform 400ms var(--header-ease);
}
.ab-svc:hover .ab-svc-arrow {
  background: #12141c;
  border-color: #12141c;
  color: #ffffff;
  transform: rotate(-45deg);
}

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .ab-story-grid {
    gap: 56px;
  }
  .ab-why-grid,
  .ab-svc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 991.98px) {
  .ab-hero {
    padding: 160px 0 90px;
  }
  .ab-story,
  .ab-mission,
  .ab-why,
  .ab-services {
    padding: 90px 0;
  }
  .ab-story-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .ab-collage {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    height: 480px;
  }
  .ab-exp {
    left: 0;
  }
  .ab-head-split {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .ab-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 70px;
  }
  .ab-stats li:first-child   { border-radius: 22px 0 0 0; }
  .ab-stats li:nth-child(2)  { border-radius: 0 22px 0 0; }
  .ab-stats li:nth-child(3)  { border-radius: 0 0 0 22px; border-left: 1px solid #ece9f5; }
  .ab-stats li:last-child    { border-radius: 0 0 22px 0; }
  .ab-stats li:nth-child(n+3) { border-top: 0; }
  .ab-mission-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767.98px) {
  .ab-why-grid,
  .ab-svc-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 575.98px) {
  .ab-container {
    padding: 0 20px;
  }
  .ab-hero {
    padding: 130px 0 70px;
  }
  .ab-hero-text {
    font-size: 16.5px;
  }
  .ab-story,
  .ab-mission,
  .ab-why,
  .ab-services {
    padding: 70px 0;
  }
  /* same heading size as the home page sections on phones */
  .ab-title {
    font-size: clamp(24px, 7.4vw, 34px);
    line-height: 1.15;
  }
  .ab-text,
  .ab-mcard p {
    font-size: 16px;
  }
  .ab-collage {
    height: 380px;
    gap: 12px;
  }
  .ab-collage-stack {
    gap: 12px;
    padding-top: 30px;
  }
  .ab-collage-tall,
  .ab-collage-stack > div {
    border-radius: 18px;
  }
  .ab-exp {
    bottom: 20px;
    padding: 12px 16px;
  }
  .ab-exp strong {
    font-size: 32px;
  }
  .ab-exp span {
    font-size: 12px;
  }
  .ab-checks {
    grid-template-columns: 1fr;
  }
  .ab-stats li {
    padding: 22px 12px;
  }
  .ab-stats small {
    font-size: 13.5px;
  }
  .ab-mcard {
    padding: 32px 26px 34px;
    border-radius: 22px;
  }
  .ab-mcard h3 {
    font-size: 22px;
  }
  .ab-wcard {
    padding: 30px 26px 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ab-exp {
    animation: none;
  }
}

/* desktop: keep the gradient phrase of split headings on one line */
@media (min-width: 992px) {
  .ab-head-split .ab-title span {
    white-space: nowrap;
  }
}

/* shorter page hero */
.ab-hero {
  padding: 160px 0 70px;
}
.ab-crumbs {
  margin-top: 28px;
}
@media (max-width: 991.98px) {
  .ab-hero {
    padding: 140px 0 60px;
  }
}
@media (max-width: 575.98px) {
  .ab-hero {
    padding: 120px 0 56px;
  }
}

/* =====================================================================
   Our story: tighter, more polished layout
   ===================================================================== */
.ab-story {
  padding: 100px 0 90px;
}
.ab-story-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 72px;
}
.ab-story .ab-text {
  margin-top: 16px;
}

/* collage: a little shorter, softer, with a gradient shape behind */
.ab-collage {
  height: 480px;
  padding: 0 0 0 0;
}
.ab-collage-tall,
.ab-collage-stack > div {
  border: 6px solid #ffffff;
  border-radius: 28px;
  box-shadow: 0 30px 60px -30px rgba(18, 20, 28, 0.45);
}
.ab-collage-stack {
  padding-top: 0;
  padding-bottom: 46px;
}
.ab-collage-shape {
  position: absolute;
  z-index: -1;
  left: -20px;
  top: -20px;
  width: 58%;
  height: 72%;
  border-radius: 34px;
  background: var(--brand-gradient);
  opacity: 0.16;
}
.ab-collage-dots {
  top: auto;
  bottom: -26px;
  right: -26px;
}
.ab-exp {
  left: -26px;
  bottom: 36px;
}

/* floating customers chip */
.ab-chip {
  position: absolute;
  right: -22px;
  bottom: 8px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -18px rgba(18, 20, 28, 0.45);
  animation: ab-float 6s ease-in-out -2s infinite;
}
.ab-chip-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #34d399, #10b981);
  color: #ffffff;
  font-size: 16px;
}
.ab-chip b {
  display: block;
  font-family: var(--title-font);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.1;
  color: #12141c;
}
.ab-chip small {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: #6b7084;
}

/* checklist as small cards with a soft gradient edge */
.ab-checks {
  gap: 12px;
  margin-top: 24px;
}
.ab-checks li {
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid transparent;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(100deg, rgba(255, 122, 61, 0.35), rgba(232, 49, 138, 0.25) 50%, rgba(106, 61, 240, 0.35)) border-box;
  box-shadow: 0 10px 24px -18px rgba(106, 61, 240, 0.45);
  transition: transform 350ms var(--header-ease), box-shadow 350ms var(--header-ease);
}
.ab-checks li:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px -16px rgba(232, 49, 138, 0.5);
}
.ab-checks i {
  margin-top: 0;
}
.ab-actions {
  margin-top: 30px;
}
.ab-stats {
  margin-top: 80px;
}

@media (max-width: 991.98px) {
  .ab-collage {
    height: 440px;
  }
  .ab-exp {
    left: -10px;
  }
  .ab-chip {
    right: -10px;
  }
}
@media (max-width: 575.98px) {
  .ab-story {
    padding: 70px 0;
  }
  .ab-collage {
    height: 360px;
  }
  .ab-collage-tall,
  .ab-collage-stack > div {
    border-width: 4px;
    border-radius: 20px;
  }
  .ab-collage-stack {
    padding-bottom: 30px;
  }
  .ab-exp {
    left: -6px;
    bottom: 24px;
  }
  .ab-chip {
    right: -6px;
    bottom: 0;
    padding: 8px 12px 8px 8px;
  }
  .ab-chip-icon {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }
  .ab-chip b {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ab-chip {
    animation: none;
  }
}

/* collage rows: photos fill the set height instead of their natural height */
.ab-collage {
  grid-template-rows: minmax(0, 1fr);
}
.ab-collage-tall,
.ab-collage-stack,
.ab-collage-stack > div {
  min-height: 0;
}
/* tablets & phones: story stacks (re-stated because the desktop columns above come later) */
@media (max-width: 991.98px) {
  .ab-story-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

/* =====================================================================
   Our story v3: split heading + bento grid
   (replaces the photo collage; font sizes come from .ab-title / .ab-text)
   ===================================================================== */
.ab-story-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: end;
  gap: 64px;
}
.ab-story-copy .ab-text:first-child {
  margin-top: 0;
}
.ab-story-copy {
  padding-left: 28px;
  border-left: 2px solid transparent;
  border-image: linear-gradient(180deg, var(--brand-orange), var(--brand-pink), var(--brand-purple)) 1;
}

.ab-bento {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  grid-template-rows: 270px 270px;
  gap: 20px;
  margin-top: 56px;
}
.ab-bento > * {
  min-height: 0;
  border-radius: 26px;
  overflow: hidden;
}
.ab-bento-main {
  grid-row: 1 / 3;
}
.ab-bento-photo {
  position: relative;
  box-shadow: 0 30px 60px -36px rgba(18, 20, 28, 0.5);
}
.ab-bento-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--header-ease);
}
.ab-bento-photo:hover img {
  transform: scale(1.06);
}
.ab-bento-main img {
  object-position: center 30%;
}
/* soft dark fade at the bottom so the badge reads well */
.ab-bento-main::after {
  content: "";
  position: absolute;
  inset: 50% 0 0;
  background: linear-gradient(180deg, transparent, rgba(12, 13, 24, 0.55));
  pointer-events: none;
}
.ab-bento-main .ab-exp {
  left: 22px;
  bottom: 22px;
  z-index: 1;
  animation: none;
}

.ab-bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 30px 28px;
  isolation: isolate;
}
.ab-bento-card h3 {
  margin: 0;
  font-family: var(--title-font);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}

/* gradient card with the checklist */
.ab-bento-grad {
  background: var(--brand-gradient);
  color: #ffffff;
  box-shadow: 0 30px 60px -34px rgba(232, 49, 138, 0.7);
}
.ab-bento-grad::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
}
.ab-bento-grad h3 {
  color: #ffffff;
}
.ab-bento-list {
  display: grid;
  gap: 12px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}
.ab-bento-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--title-font);
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
}
.ab-bento-list i {
  font-size: 16px;
  color: #ffffff;
  opacity: 0.9;
}

/* dark call-to-action card */
.ab-bento-dark {
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(232, 49, 138, 0.35), transparent 60%),
    radial-gradient(60% 80% at 0% 100%, rgba(106, 61, 240, 0.35), transparent 60%),
    #0c0d18;
  color: #ffffff;
  box-shadow: 0 30px 60px -34px rgba(12, 13, 24, 0.7);
}
.ab-bento-dark h3 {
  margin-top: auto;
  color: #ffffff;
}
.ab-bento-avatars {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ab-bento-avatars b {
  display: block;
  font-family: var(--title-font);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
}
.ab-bento-avatars small {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}
.ab-bento-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 16px;
}
.ab-bento-actions .hero-btn {
  height: 48px;
  padding: 0 22px;
}
.ab-bento-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--title-font);
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}
.ab-bento-link i {
  font-size: 12px;
  transition: transform 250ms var(--header-ease);
}
.ab-bento-link:hover {
  color: #ffffff;
}
.ab-bento-link:hover i {
  transform: translateX(4px);
}

/* hover lift for the two cards */
.ab-bento-card {
  transition: transform 400ms var(--header-ease);
}
.ab-bento-card:hover {
  transform: translateY(-5px);
}

@media (max-width: 1199.98px) {
  .ab-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 300px 280px 280px;
  }
  .ab-bento-main {
    grid-row: auto;
    grid-column: 1 / 3;
  }
}
@media (max-width: 991.98px) {
  .ab-story-head {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
@media (max-width: 575.98px) {
  .ab-story-copy {
    padding-left: 18px;
  }
  .ab-bento {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-rows: auto;
    gap: 14px;
    margin-top: 40px;
  }
  .ab-bento-main {
    grid-column: auto;
    height: 320px;
  }
  .ab-bento-photo {
    height: 220px;
  }
  .ab-bento-main.ab-bento-photo {
    height: 320px;
  }
  .ab-bento > * {
    border-radius: 22px;
  }
  .ab-bento-card {
    padding: 26px 22px 24px;
  }
  .ab-bento-list {
    margin-top: 18px;
  }
  .ab-bento-dark h3 {
    margin-top: 20px;
  }
}

/* =====================================================================
   Alternating backgrounds below the story:
   Mission = dark, Why = light, What we do = dark
   ===================================================================== */
.ab-mission .section-eyebrow,
.ab-services .section-eyebrow {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
  color: #e9d5ff;
}

/* ---- Mission: dark ---- */
.ab-mission {
  position: relative;
  background:
    radial-gradient(45% 60% at 0% 0%, rgba(232, 49, 138, 0.22), transparent 70%),
    radial-gradient(45% 60% at 100% 100%, rgba(106, 61, 240, 0.28), transparent 70%),
    #0c0d18;
}
.ab-mcard:not(.ab-mcard-grad) {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow: none;
}
.ab-mcard:not(.ab-mcard-grad):hover {
  border-color: rgba(232, 49, 138, 0.45);
  box-shadow: 0 30px 60px -36px rgba(232, 49, 138, 0.5);
}
.ab-mcard:not(.ab-mcard-grad) h3 {
  color: #ffffff;
}
.ab-mcard:not(.ab-mcard-grad) p {
  color: rgba(255, 255, 255, 0.68);
}
.ab-mcard-grad {
  box-shadow: 0 30px 60px -30px rgba(232, 49, 138, 0.6);
}

/* ---- Why choose us: light ---- */
.ab-why {
  background:
    radial-gradient(40% 50% at 100% 0%, rgba(106, 61, 240, 0.08), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(255, 122, 61, 0.08), transparent 70%),
    #fbfaff;
}
.ab-why-glow {
  display: none;
}
.ab-why .section-eyebrow {
  background: #ffffff;
  border-color: rgba(106, 61, 240, 0.15);
  box-shadow: 0 4px 14px -6px rgba(106, 61, 240, 0.25);
  color: var(--brand-purple);
}
.ab-why-intro {
  color: #5b6072;
}
.ab-wcard {
  border: 1px solid #ece9f5;
  background: #ffffff;
  box-shadow: 0 24px 50px -36px rgba(106, 61, 240, 0.45);
}
.ab-wcard::before {
  background: linear-gradient(160deg, rgba(255, 122, 61, 0.06), rgba(232, 49, 138, 0.06) 50%, rgba(106, 61, 240, 0.08));
}
.ab-wcard:hover {
  border-color: rgba(232, 49, 138, 0.35);
  box-shadow: 0 30px 60px -32px rgba(232, 49, 138, 0.5);
}
.ab-wcard-num {
  -webkit-text-stroke: 1px rgba(106, 61, 240, 0.25);
}
.ab-wcard h3 {
  color: #12141c;
}
.ab-wcard p {
  color: #5b6072;
}

/* ---- What we do: dark ---- */
.ab-services {
  background:
    radial-gradient(40% 55% at 100% 0%, rgba(232, 49, 138, 0.2), transparent 70%),
    radial-gradient(40% 55% at 0% 100%, rgba(106, 61, 240, 0.22), transparent 70%),
    #0c0d18;
}
.ab-svc {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.09);
  box-shadow: none;
  color: #ffffff;
}
.ab-svc:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(232, 49, 138, 0.45);
  box-shadow: 0 22px 40px -24px rgba(232, 49, 138, 0.5);
}
.ab-svc-icon {
  background: rgba(255, 255, 255, 0.07);
  color: #c4b5fd;
}
.ab-svc-text small {
  color: rgba(255, 255, 255, 0.55);
}
.ab-svc-arrow {
  border-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}
.ab-svc:hover .ab-svc-arrow {
  background: #ffffff;
  border-color: #ffffff;
  color: #12141c;
}
/* thin line so the dark services section and the dark footer read as two blocks */
.ab-services {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.ab-services .ab-svc-text b {
  color: #ffffff;
}

/* =====================================================================
   Why cards: hover = brand gradient rises from the bottom,
   text turns white, icon flips to white, number slides up
   ===================================================================== */
.ab-wcard {
  transition: transform 500ms var(--header-ease), box-shadow 500ms var(--header-ease), border-color 400ms ease;
}
.ab-wcard::before {
  background: var(--brand-gradient);
  opacity: 1;
  transform: scaleY(0);
  transform-origin: bottom center;
  transition: transform 550ms var(--header-ease);
}
/* soft light circle that appears in the corner of the filled card */
.ab-wcard::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -90px;
  right: -90px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  transform: scale(0);
  transition: transform 600ms var(--header-ease) 100ms;
}
.ab-wcard h3,
.ab-wcard p {
  transition: color 400ms ease;
}
.ab-wcard-num {
  transition: transform 500ms var(--header-ease), -webkit-text-stroke-color 400ms ease;
}
.ab-wcard-icon {
  transition: transform 500ms var(--header-ease), background 400ms ease, color 400ms ease, box-shadow 400ms ease;
}

.ab-wcard:hover {
  transform: translateY(-10px);
  border-color: transparent;
  box-shadow: 0 34px 60px -28px rgba(232, 49, 138, 0.65);
}
.ab-wcard:hover::before {
  transform: scaleY(1);
}
.ab-wcard:hover::after {
  transform: scale(1);
}
.ab-wcard:hover h3 {
  color: #ffffff;
}
.ab-wcard:hover p {
  color: rgba(255, 255, 255, 0.88);
}
.ab-wcard:hover .ab-wcard-num {
  -webkit-text-stroke-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-6px);
}
.ab-wcard:hover .ab-wcard-icon {
  background: #ffffff;
  color: var(--brand-pink);
  box-shadow: 0 12px 26px -10px rgba(0, 0, 0, 0.35);
  transform: rotate(-10deg) scale(1.08);
}

@media (prefers-reduced-motion: reduce) {
  .ab-wcard,
  .ab-wcard::before,
  .ab-wcard::after,
  .ab-wcard-icon,
  .ab-wcard-num {
    transition: none;
  }
}

/* breadcrumb: page name always on one line */
.ab-crumbs {
  max-width: 100%;
  white-space: nowrap;
}
.ab-crumbs a,
.ab-crumbs-sep {
  flex: 0 0 auto;
}
.ab-crumbs span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 575.98px) {
  .ab-crumbs {
    gap: 9px;
    padding: 9px 16px;
    font-size: 13px;
  }
}
/* small phones: house icon only, so long page names fit */
@media (max-width: 399.98px) {
  .ab-crumbs a {
    font-size: 0;
    gap: 0;
  }
  .ab-crumbs a i {
    font-size: 13px;
  }
}
