/* ABOUT PAGE STYLES – loaded only on about.php */

/* ---------- Hero ---------- */
.ab-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 130px 0 130px;
  color: #c9d4ee;
  background: var(--navy-900);
}
.ab-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(700px 420px at 10% 10%, rgba(30, 107, 255, 0.35), transparent 65%),
    radial-gradient(560px 380px at 95% 80%, rgba(46, 230, 242, 0.16), transparent 65%);
}
.ab-hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse at 40% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at 40% 40%, #000 20%, transparent 75%);
}
.ab-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.ab-hero .crumbs {
  margin-bottom: 18px;
}
.ab-hero h1 {
  max-width: 600px;
  color: #fff;
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
}
.ab-hero__content > p {
  max-width: 540px;
  margin: 18px 0 22px;
  font-size: 16.5px;
  line-height: 1.7;
}
.ab-hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-bottom: 30px;
}
.ab-hero__points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
}
.ab-hero__points i {
  color: var(--cyan);
}
.ab-hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.ab-hero__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: #fff;
}
.ab-hero__link span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition:
    background 0.3s,
    border-color 0.3s;
}
.ab-hero__link span i {
  animation: abBounce 1.8s ease-in-out infinite;
}
@keyframes abBounce {
  0%,
  100% {
    transform: translateY(-2px);
  }
  50% {
    transform: translateY(3px);
  }
}
.ab-hero__link:hover span {
  background: var(--blue-600);
  border-color: var(--blue-600);
}
.ab-hero__trust {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}
.ab-hero__trust strong {
  color: #fff;
}
.ab-hero__avatars {
  display: flex;
}
.ab-hero__avatars img {
  width: 38px;
  height: 38px;
  margin-left: -10px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--navy-900);
}
.ab-hero__avatars img:first-child {
  margin-left: 0;
}
.ab-hero__stars {
  display: block;
  color: var(--star);
  font-size: 11px;
  letter-spacing: 1px;
}

/* image: framed, with a soft gradient block + dot pattern behind it */
.ab-hero__media {
  position: relative;
  padding: 0 0 28px 28px;
}
.px-layer {
  /* used by the Growth Engine section (mouse parallax via --px / --py) */
  translate: calc(var(--px) * var(--depth, 0) * 1.5px) calc(var(--py) * var(--depth, 0) * 1.5px);
  transition: translate 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ab-hero__block {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 70%;
  height: 70%;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--blue-600), var(--cyan));
  opacity: 0.85;
}
.ab-hero__dots {
  position: absolute;
  right: -18px;
  top: -18px;
  width: 140px;
  height: 140px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.28) 1.6px, transparent 2px);
  background-size: 16px 16px;
}
.ab-hero__img {
  position: relative;
  z-index: 1;
  margin: 0;
  aspect-ratio: 4 / 3.3;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
}
.ab-hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ab-hero__media:hover .ab-hero__img img {
  transform: scale(1.04);
}
.ab-hero__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(6, 21, 56, 0.7));
  pointer-events: none;
}
/* frosted caption at the bottom of the photo */
.ab-hero__caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 14px;
  padding: 14px 16px;
  border-radius: 18px;
  color: #fff;
  background: rgba(6, 21, 56, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.ab-hero__caption-icon {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 16px;
  color: var(--navy-900);
  background: var(--cyan);
}
.ab-hero__caption-text {
  flex: 1;
  min-width: 150px;
}
.ab-hero__caption-text strong {
  display: block;
  font-family: var(--font-head);
  font-size: 15.5px;
  line-height: 1.2;
}
.ab-hero__caption-text small {
  font-size: 12.5px;
  color: #c9d4ee;
}
.ab-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ab-hero__tags span {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ---------- Stats strip (overlaps hero) ---------- */
.ab-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: -70px;
  padding: 28px 10px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.ab-stats__item {
  padding: 4px 26px;
  text-align: center;
}
.ab-stats__item + .ab-stats__item {
  border-left: 1px solid var(--line);
}
.ab-stats__item strong {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(90deg, var(--navy-800), var(--blue-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ab-stats__item > span {
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Story ---------- */
.ab-story {
  padding: 110px 0 90px;
}
.ab-story__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 72px;
  align-items: center;
}
.ab-story__media {
  position: relative;
  padding: 0 60px 70px 0;
}
.ab-story__img {
  margin: 0;
  overflow: hidden;
  border-radius: 26px;
}
.ab-story__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.ab-story__img:hover img {
  transform: scale(1.05);
}
.ab-story__img--main {
  aspect-ratio: 4 / 4.6;
  box-shadow: var(--shadow-lg);
}
.ab-story__img--sub {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  aspect-ratio: 1;
  border: 8px solid #fff;
  box-shadow: var(--shadow-lg);
}
.ab-story__badge {
  position: absolute;
  left: -20px;
  bottom: 40px;
  padding: 18px 22px;
  border-radius: 20px;
  color: #fff;
  background: var(--grad-primary);
  box-shadow: 0 18px 40px rgba(21, 84, 232, 0.4);
  animation: float 6s ease-in-out infinite;
}
.ab-story__badge strong {
  display: block;
  font-family: var(--font-head);
  font-size: 40px;
  line-height: 1;
}
.ab-story__badge span {
  font-size: 13px;
  font-weight: 600;
  color: #dbe5ff;
}
.ab-story__content h2 {
  margin: 6px 0 18px;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.ab-story__content > p {
  margin-bottom: 14px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
}
/* mission line: words light up as you scroll (JS) */
.ab-mission {
  margin: 28px 0;
  padding: 22px 26px;
  border-left: 3px solid var(--blue-600);
  border-radius: 0 18px 18px 0;
  font-family: var(--font-head);
  font-size: clamp(19px, 1.8vw, 23px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg-soft);
}
.ab-mission .w {
  color: #c3cde3;
  transition: color 0.35s ease;
}
.ab-mission .w.is-on {
  color: var(--ink);
}
.ab-mission .w.is-key.is-on {
  color: var(--blue-600);
}
.ab-story__sign {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.ab-story__sign .logo__img {
  height: 34px;
}

/* ---------- Strengths ---------- */
.ab-strengths {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0 16px;
  padding: 90px 0;
  border-radius: 36px;
  color: #a9b6d6;
  background: var(--navy-900);
}
.ab-strengths__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(600px 380px at 0% 0%, rgba(30, 107, 255, 0.32), transparent 65%),
    radial-gradient(560px 360px at 100% 100%, rgba(46, 230, 242, 0.14), transparent 65%);
}
.ab-strengths .section-head h2 {
  color: #fff;
}
.ab-strengths .section-head p {
  color: #a9b6d6;
}
.ab-strengths .eyebrow {
  color: var(--cyan);
}
.ab-strengths .eyebrow--line::before {
  background: var(--cyan);
}
.ab-strengths__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.strength {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border-radius: 24px;
  outline: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition:
    background 0.45s ease,
    border-color 0.45s ease,
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.strength::before {
  /* light that rises from the bottom on hover */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 0%, rgba(30, 107, 255, 0.35) 100%);
  opacity: 0;
  transition: opacity 0.45s ease;
}
.strength:hover,
.strength:focus-visible {
  transform: translateY(-8px);
  border-color: rgba(46, 230, 242, 0.4);
  background: rgba(255, 255, 255, 0.06);
}
.strength:hover::before,
.strength:focus-visible::before {
  opacity: 1;
}
.strength__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 26px;
}
.strength__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 22px;
  color: var(--cyan);
  background: rgba(46, 230, 242, 0.1);
  border: 1px solid rgba(46, 230, 242, 0.25);
  transition:
    background 0.45s ease,
    color 0.45s ease,
    transform 0.5s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.strength:hover .strength__icon,
.strength:focus-visible .strength__icon {
  color: var(--navy-900);
  background: var(--cyan);
  transform: rotate(-8deg) scale(1.06);
}
.strength__no {
  font-family: var(--font-head);
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.16);
  transition: -webkit-text-stroke-color 0.45s;
}
.strength:hover .strength__no {
  -webkit-text-stroke-color: var(--cyan);
}
.strength h3 {
  margin-bottom: 10px;
  font-size: 19px;
  font-weight: 800;
  color: #fff;
}
.strength p {
  flex: 1;
  font-size: 14px;
  line-height: 1.65;
}
/* key points: dimmed, light up on hover */
.strength__points {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.strength__points li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #dfe6f7;
  opacity: 0.5;
  translate: -4px 0;
  transition:
    opacity 0.35s ease,
    translate 0.35s ease;
}
.strength__points i {
  font-size: 11px;
  color: var(--cyan);
}
.strength:hover .strength__points li,
.strength:focus-visible .strength__points li {
  opacity: 1;
  translate: 0 0;
}
.strength:hover .strength__points li:nth-child(2) {
  transition-delay: 0.06s;
}
.strength:hover .strength__points li:nth-child(3) {
  transition-delay: 0.12s;
}
@media (hover: none) {
  /* touch screens: points fully visible */
  .strength__points li {
    opacity: 1;
    translate: 0 0;
  }
}

/* ---------- Mission / Vision / Values tabs ---------- */
.ab-pillars {
  padding: 100px 0 80px;
}
.ab-pillars__head {
  margin-bottom: 36px;
  text-align: center;
}
.ab-pillars__head h2 {
  margin-top: 6px;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.pillars__tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.pillars__tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px 10px 10px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition:
    background 0.4s ease,
    color 0.4s ease,
    border-color 0.4s ease,
    transform 0.3s;
}
.pillars__tab:hover {
  transform: translateY(-2px);
}
.pillars__tab-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  color: var(--blue-600);
  background: var(--blue-50);
  transition:
    background 0.4s ease,
    color 0.4s ease;
}
.pillars__tab.is-active {
  color: #fff;
  background: var(--navy-800);
  border-color: var(--navy-800);
}
.pillars__tab.is-active .pillars__tab-icon {
  color: var(--navy-900);
  background: var(--cyan);
}
.pillars__panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 18px 18px 18px 48px;
  border-radius: 30px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(13, 38, 96, 0.1);
}
.pillars__panel[hidden] {
  display: none;
}
.pillars__panel.is-active .pillars__text > *,
.pillars__panel.is-active .pillars__img {
  animation: pillarIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.pillars__panel.is-active .pillars__text > :nth-child(2) {
  animation-delay: 0.06s;
}
.pillars__panel.is-active .pillars__text > :nth-child(3) {
  animation-delay: 0.12s;
}
.pillars__panel.is-active .pillars__text > :nth-child(4) {
  animation-delay: 0.18s;
}
.pillars__panel.is-active .pillars__img {
  animation-name: pillarImg;
}
@keyframes pillarIn {
  from {
    opacity: 0;
    translate: 0 14px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@keyframes pillarImg {
  from {
    opacity: 0;
    scale: 0.96;
  }
  to {
    opacity: 1;
    scale: 1;
  }
}
.pillars__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-600);
}
.pillars__text h3 {
  margin: 12px 0 14px;
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.pillars__text p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
}
.pillars__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  margin-top: 22px;
}
.pillars__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}
.pillars__list i {
  color: var(--blue-600);
}
.pillars__img {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 22px;
}
.pillars__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Services marquee ---------- */
.ab-marquee {
  display: grid;
  gap: 14px;
  padding: 30px 0 60px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee {
  overflow: hidden;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  animation: marquee 50s linear infinite;
}
.marquee--reverse .marquee__track {
  animation-direction: reverse;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border-radius: 999px;
  white-space: nowrap;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  transition:
    background 0.3s,
    color 0.3s,
    border-color 0.3s;
}
.marquee__item i {
  color: var(--blue-600);
  transition: color 0.3s;
}
.marquee__item:hover {
  color: #fff;
  background: var(--navy-800);
  border-color: var(--navy-800);
}
.marquee__item:hover i {
  color: var(--cyan);
}
.marquee--reverse .marquee__item {
  background: var(--bg-soft);
}
.marquee__sep {
  font-size: 14px;
  color: var(--blue-400);
}

/* ---------- About page: responsive ---------- */
@media (max-width: 1024px) {
  .ab-hero {
    padding: 130px 0 120px;
  }
  .ab-hero__inner,
  .ab-story__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .ab-hero__media,
  .ab-story__media {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }
  .ab-strengths__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillars__panel {
    grid-template-columns: 1fr;
    padding: 36px 18px 18px;
  }
  .pillars__text {
    padding: 0 18px;
  }
}
@media (max-width: 720px) {
  .ab-hero {
    padding: 110px 0 100px;
  }
  .ab-hero__content > p {
    font-size: 15.5px;
  }
  .ab-hero__media {
    padding: 0 0 18px 18px;
  }
  .ab-hero__dots {
    right: -6px;
    top: -12px;
    width: 100px;
    height: 100px;
  }
  .ab-hero__points {
    flex-direction: column;
    gap: 8px;
  }
  .ab-hero__caption {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 12px;
  }
  .ab-hero__tags {
    display: none;
  }
  .ab-stats {
    grid-template-columns: 1fr 1fr;
    row-gap: 22px;
    margin-top: -50px;
  }
  .ab-stats__item:nth-child(3) {
    border-left: 0;
  }
  .ab-story {
    padding: 70px 0 60px;
  }
  .ab-story__media {
    padding: 0 24px 50px 0;
  }
  .ab-story__badge {
    left: -6px;
    padding: 14px 16px;
  }
  .ab-story__badge strong {
    font-size: 30px;
  }
  .ab-strengths {
    margin: 0 8px;
    padding: 64px 0;
    border-radius: 26px;
  }
  .ab-strengths__grid {
    grid-template-columns: 1fr;
  }
  .ab-pillars {
    padding: 70px 0 50px;
  }
  .pillars__tab {
    font-size: 14px;
    padding-right: 16px;
  }
  .pillars__list {
    grid-template-columns: 1fr;
  }
  .marquee__item {
    font-size: 15px;
    padding: 11px 18px;
  }
}

/* Marquee hover fix: the light background of the reverse row
   (.marquee--reverse .marquee__item) was overriding the hover background,
   leaving white text on a light pill. Higher specificity wins now. */
.marquee .marquee__item:hover,
.marquee .marquee__item:focus-visible {
  color: #fff;
  background: var(--navy-800);
  border-color: var(--navy-800);
}
.marquee .marquee__item:hover i,
.marquee .marquee__item:focus-visible i {
  color: var(--cyan);
}

/* ---------- About: The Growth Engine ---------- */
.engine {
  padding: 100px 0 40px;
}
.engine__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 70px;
  align-items: center;
}
.engine__media {
  --px: 0;
  --py: 0;
  position: relative;
  padding: 26px 0 30px 26px;
}
.engine__img {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 30px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.engine__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.engine__chip {
  position: absolute;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  padding: 12px 18px 12px 12px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
.engine__chip > span:first-child {
  grid-row: 1 / 3;
}
.engine__chip strong {
  font-family: var(--font-head);
  font-size: 16px;
  color: var(--ink);
}
.engine__chip small {
  font-size: 12px;
  color: var(--muted);
}
.engine__chip--top {
  top: 0;
  left: 0;
}
.engine__chip--top > span:first-child {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--grad-primary);
}
.engine__chip--bottom {
  right: -18px;
  bottom: 0;
  animation-delay: -3s;
}
.engine__live {
  position: relative;
  width: 12px;
  height: 12px;
  margin: 0 4px;
  border-radius: 50%;
  background: var(--green);
}
.engine__live::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--green);
  animation: livePulse 1.6s ease-out infinite;
}
.engine__content h2 {
  margin: 6px 0 14px;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.engine__content > p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}
.engine__features {
  display: grid;
  gap: 8px;
  margin: 26px 0;
}
.engine__features li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid transparent;
  transition:
    background 0.35s ease,
    border-color 0.35s ease;
}
.engine__features li:hover {
  background: var(--bg-soft);
  border-color: var(--line);
}
.engine__f-icon {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 17px;
  color: var(--blue-600);
  background: var(--blue-50);
  transition:
    background 0.35s ease,
    color 0.35s ease,
    transform 0.45s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.engine__features li:hover .engine__f-icon {
  color: #fff;
  background: var(--blue-600);
  transform: rotate(-8deg);
}
.engine__features strong {
  display: block;
  font-family: var(--font-head);
  font-size: 16px;
  color: var(--ink);
}
.engine__features small {
  font-size: 13.5px;
  color: var(--muted);
}
.engine__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.engine__stat {
  position: relative;
  overflow: hidden;
  padding: 18px 14px 16px;
  border-radius: 18px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}
.engine__stat::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-600), var(--cyan));
  transform: scaleX(0);
  transition: transform 0.45s ease;
}
.engine__stat:hover {
  transform: translateY(-5px);
  border-color: #c9d9ff;
  box-shadow: var(--shadow);
}
.engine__stat:hover::after {
  transform: scaleX(1);
}
.engine__stat-icon {
  width: 38px;
  height: 38px;
  margin: 0 auto 8px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 15px;
  color: var(--blue-600);
  background: var(--blue-50);
}
.engine__stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--ink);
}
.engine__stat small {
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- About: Team ---------- */
.team {
  padding: 40px 0 60px;
}
.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.member {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 24px;
  outline: none;
  background: var(--navy-900);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.45s ease;
}
.member:hover,
.member:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(6, 21, 56, 0.2);
}
.member__photo {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.member__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.35);
  transition:
    transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.6s ease;
}
.member:hover .member__photo img,
.member:focus-visible .member__photo img {
  transform: scale(1.07);
  filter: none;
}
.member::after {
  /* dark fade so the name stays readable */
  content: "";
  position: absolute;
  inset: 45% 0 0;
  z-index: 0;
  background: linear-gradient(180deg, transparent, rgba(6, 21, 56, 0.92));
  pointer-events: none;
}
.member__info {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 14px 14px 18px;
  border-radius: 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition:
    background 0.45s ease,
    border-color 0.45s ease;
}
.member:hover .member__info,
.member:focus-visible .member__info {
  background: var(--blue-600);
  border-color: var(--blue-600);
}
.member h3 {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
}
.member small {
  font-size: 12.5px;
  color: #dbe5ff;
}
.member__social {
  display: flex;
  gap: 6px;
}
.member__social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  color: var(--navy-900);
  background: #fff;
  opacity: 0;
  translate: 0 8px;
  transition:
    opacity 0.35s ease,
    translate 0.35s ease,
    background 0.3s,
    color 0.3s;
}
.member__social li:nth-child(2) a {
  transition-delay: 0.05s;
}
.member:hover .member__social a,
.member:focus-within .member__social a {
  opacity: 1;
  translate: 0 0;
}
/* hover: brand colour fill + tooltip from .social-fx in common.css */
@media (hover: none) {
  .member__social a {
    opacity: 1;
    translate: 0 0;
  }
}

/* responsive */
@media (max-width: 1024px) {
  .engine__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .engine__media {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
  }
  .engine__chip--bottom {
    right: 0;
  }
  .team__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 720px) {
  .engine {
    padding: 70px 0 30px;
  }
  .engine__stats {
    grid-template-columns: 1fr 1fr;
  }
  .engine__chip {
    padding: 9px 12px 9px 9px;
  }
  .team__grid {
    gap: 12px;
  }
  .member__info {
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 10px 10px 10px 12px;
  }
  .member h3 {
    font-size: 14.5px;
  }
  .member__social {
    display: none;
  }
}
