/* Home "Who We Are": navy band with Dubai skyline plate, left-aligned copy and a glass stats bar. */

.who {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(80px, 8vw, 132px) var(--gutter) clamp(72px, 7vw, 112px);
  background: #030a1f;
}

/* Neural scene: stage is sized/positioned by home-neural.js to cover the section. */
.neural { position: absolute; z-index: -2; left: 0; top: 0; width: 100%; aspect-ratio: 2235 / 1258; overflow: hidden; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 50%), linear-gradient(180deg, transparent 0%, #000 12%, #000 74%, transparent 96%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 30%, #000 50%), linear-gradient(180deg, transparent 0%, #000 12%, #000 74%, transparent 96%); mask-composite: intersect; }
@media (max-width: 1100px) { .neural { opacity: .4; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 95%); mask-image: linear-gradient(180deg, #000 60%, transparent 95%); } }
.neural__scene { position: absolute; inset: 0; transform-origin: 69% 50%; animation: neural-drift 18s ease-in-out infinite alternate; }
.neural__bg { position: absolute; inset: 0; background: url("../../../uploads/who/neural-bg.jpg") center / cover no-repeat; }
.neural__hand {
  position: absolute; left: 66.577%; top: 14.785%; width: 33.423%; height: 39.746%; max-width: none;
  transform-origin: 100% 52%; animation: neural-reach 6.4s ease-in-out infinite; will-change: transform;
  filter: drop-shadow(0 0 .6vw rgb(80 170 255 / 18%));
}
.neural__glow {
  position: absolute; left: 68.7%; top: 47%; width: 26%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgb(110 200 255 / 45%) 0%, rgb(60 150 255 / 18%) 35%, transparent 68%);
  mix-blend-mode: screen; animation: neural-pulse 3.2s ease-in-out infinite;
}
.neural__touch {
  position: absolute; left: 68.3%; top: 24%; width: 7%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgb(170 225 255 / 60%), transparent 65%); mix-blend-mode: screen; animation: neural-pulse 3.2s ease-in-out infinite .4s;
}
.neural canvas { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: screen; }
.neural.is-paused .neural__scene, .neural.is-paused .neural__hand, .neural.is-paused .neural__glow, .neural.is-paused .neural__touch { animation-play-state: paused; }
@keyframes neural-reach { 0%, 100% { transform: rotate(.25deg) translate(0, 0); } 50% { transform: rotate(-.9deg) translate(-.25%, .6%); } }
@keyframes neural-drift { from { transform: scale(1); } to { transform: scale(1.035) translate(-.4%, .3%); } }
@keyframes neural-pulse { 0%, 100% { opacity: .35; transform: translate(-50%, -50%) scale(.94); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .neural__scene, .neural__hand, .neural__glow, .neural__touch { animation: none; } }

/* Legibility wash over the artwork's dark left side */
.who::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60% 55% at 78% 34%, rgb(28 95 208 / 18%) 0%, rgb(28 95 208 / 0%) 70%);
}

.who__copy { max-width: 1060px; margin-bottom: clamp(64px, 6vw, 104px); }

.who__kicker {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 26px;
  font-size: clamp(16px, 1.15vw, 20px);
  font-weight: 500;
  color: var(--night-ink);
}

.who__title {
  margin-bottom: 24px;
  color: var(--night-ink);
}
.who__title .accent-gold { color: var(--gold); }

.who__lead {
  max-width: 54ch;
  font-size: clamp(16px, 1.25vw, 21px);
  line-height: 1.6;
  color: rgb(232 238 250 / 88%);
  text-wrap: pretty;
}


/* ---------- stats: open strip, each stat topped by a hairline with a gold lead-in ---------- */

.who__stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(24px, 2.6vw, 48px);
  margin: 0;
  padding: 0;
}
.who__stat {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgb(127 168 245 / 22%);
}
.who__stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: -2px;
  width: 44px;
  height: 3px;
  border-radius: 2px;
  background: var(--gold);
}

.who__icon {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--blue-soft);
  background: rgb(59 116 232 / 14%);
  box-shadow: inset 0 0 0 1px rgb(127 168 245 / 22%);
}
.who__icon svg { width: 20px; height: 20px; }

.who__num {
  display: block;
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  font-weight: 700;
  font-size: clamp(30px, 2.6vw, 44px);
  line-height: 1;
  letter-spacing: -1.2px;
  color: var(--night-ink);
}
.who__label {
  display: block;
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 14px;
  font-size: clamp(13px, .95vw, 15px);
  line-height: 1.4;
  color: var(--night-soft);
}

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  .who::after { background: linear-gradient(180deg, rgb(3 10 31 / 55%) 0%, rgb(3 10 31 / 30%) 40%, rgb(3 10 31 / 80%) 100%); }
  .who__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
}

@media (max-width: 720px) {
  .who__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 20px; }
  .who__stat:last-child { grid-column: 1 / -1; }
}
