/* About: the system assembling around Veliora, six live screens, too many apps becoming one, what we do, how we
   work together, keeping up with change, what we believe, the facts, the team and a closing call to action. */
.ab2 .ab2-head {
  display: grid;
  gap: 14px;
  margin-bottom: 40px;
}
.ab2 .ab2-head .h2 {
  max-width: 20ch;
}
.ab2 .ab2-head .lead {
  max-width: 60ch;
}
.ab2-n {
  font-family: 'Plus Jakarta Sans', var(--font);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.9;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.4px currentColor;
}

/* hero */
.ab2-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.ab2-hero-copy {
  display: grid;
  gap: 22px;
  justify-items: start;
}
.ab2-hero h1 {
  font-size: clamp(42px, 5.6vw, 82px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.ab2-mark {
  font-style: normal;
  background: linear-gradient(transparent 62%, var(--lime) 62%, var(--lime) 92%, transparent 92%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.ab2-orbit {
  position: relative;
  aspect-ratio: 1;
  max-width: 480px;
  width: 100%;
  justify-self: center;
}
.ab2-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.ab2-lines circle {
  fill: none;
  stroke: var(--line);
  stroke-width: 1.5;
  stroke-dasharray: 6 8;
  animation: abSpin 40s linear infinite;
  transform-origin: 200px 200px;
}
.ab2-core {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 24px;
  border-radius: 22px;
  background: var(--ink);
  color: #fff;
  font:
    800 22px 'Plus Jakarta Sans',
    var(--font);
  letter-spacing: -0.03em;
  box-shadow: 0 30px 60px -25px rgba(19, 21, 17, 0.5);
  animation: abPulse 3.2s ease-in-out infinite;
}
.ab2-bars {
  display: inline-flex;
  gap: 3px;
  transform: skewX(-18deg);
}
.ab2-bars i {
  width: 5px;
  height: 18px;
  border-radius: 3px;
  background: #fff;
}
.ab2-bars i:last-child {
  background: var(--lime);
}
.ab2-node {
  position: absolute;
  left: 50%;
  top: 50%;
  padding: 10px 16px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  box-shadow: 0 12px 30px -18px rgba(19, 21, 17, 0.35);
  transform: rotate(var(--a)) translate(37.5%) rotate(calc(-1 * var(--a)));
  translate: -50% -50%;
  animation: abSnap 1s cubic-bezier(0.2, 0.9, 0.25, 1.15) both;
  animation-delay: calc(0.25s + var(--d) * 0.12s);
}
.ab2-node::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(203, 251, 69, 0.3);
}
.ab2-orbit .ab2-node {
  transform: rotate(var(--a)) translateX(min(190px, 38vw)) rotate(calc(-1 * var(--a)));
}
@keyframes abSnap {
  from {
    opacity: 0;
    transform: rotate(var(--a)) translateX(min(420px, 70vw)) rotate(calc(-1 * var(--a))) scale(0.6);
  }
}
@keyframes abSpin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes abPulse {
  50% {
    box-shadow:
      0 30px 60px -25px rgba(19, 21, 17, 0.5),
      0 0 0 14px rgba(203, 251, 69, 0.18);
  }
}

/* six screens */
.ab2-screens {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.ab2-scr {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 16px 16px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  transition:
    transform 0.35s,
    box-shadow 0.35s;
}
.ab2-scr:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -32px rgba(19, 21, 17, 0.35);
}
.ab2-scr h3 {
  margin-top: 8px;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.ab2-scr > p {
  color: var(--muted);
  font-size: 14.5px;
}
.ab2-win {
  position: relative;
  height: 170px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--soft);
  padding: 14px;
  font-size: 12.5px;
}
.ab2-row {
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin-bottom: 8px;
  padding: 9px 11px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 16px -12px rgba(19, 21, 17, 0.4);
  animation: abIn 6s calc(var(--i) * 0.6s) infinite both;
}
.ab2-row b {
  flex: none;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 99px;
  background: var(--lime);
}
@keyframes abIn {
  0% {
    opacity: 0;
    transform: translateY(14px);
  }
  10%,
  85% {
    opacity: 1;
    transform: none;
  }
  100% {
    opacity: 0;
  }
}
.ab2-cal {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: 1fr;
  gap: 6px;
}
.ab2-cal span {
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  color: var(--muted);
}
.ab2-cal i {
  border-radius: 8px;
  background: #fff;
}
.ab2-cal i.on {
  background: var(--ink);
}
.ab2-cal i.new {
  animation: abBook 4s infinite;
}
@keyframes abBook {
  0%,
  35% {
    background: #fff;
    box-shadow: inset 0 0 0 2px var(--lime);
  }
  45%,
  100% {
    background: var(--lime);
    box-shadow: none;
  }
}
.ab2-pipe {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.ab2-pipe > div {
  border-radius: 10px;
  background: #fff;
  padding: 8px;
}
.ab2-pipe small {
  font-weight: 700;
  color: var(--muted);
}
.ab2-deal {
  position: absolute;
  top: 54px;
  left: 20px;
  width: calc((100% - 52px) / 3);
  padding: 9px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 11.5px;
  animation: abDeal 6s infinite cubic-bezier(0.6, 0, 0.3, 1);
}
@keyframes abDeal {
  0%,
  20% {
    transform: none;
  }
  40%,
  60% {
    transform: translateX(calc(100% + 6px));
  }
  80%,
  100% {
    transform: translateX(calc(200% + 12px));
    background: var(--lime);
    color: var(--ink);
  }
}
.ab2-pay {
  display: grid;
  align-content: center;
  gap: 8px;
}
.ab2-pay small {
  color: var(--muted);
  font-weight: 700;
}
.ab2-pay b {
  font:
    800 28px 'Plus Jakarta Sans',
    var(--font);
  letter-spacing: -0.03em;
}
.ab2-bar {
  height: 8px;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}
.ab2-bar i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--ink);
  transform-origin: left;
  animation: abPay 5s infinite;
}
@keyframes abPay {
  0% {
    transform: scaleX(0.1);
  }
  60%,
  100% {
    transform: scaleX(1);
    background: var(--lime);
  }
}
.ab2-pay em {
  font-style: normal;
  position: relative;
  height: 24px;
}
.ab2-pay em span {
  position: absolute;
  left: 0;
  padding: 3px 10px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 12px;
  background: #fff;
}
.ab2-pay em span + span {
  background: var(--lime);
  opacity: 0;
  animation: abShow 5s infinite;
}
@keyframes abShow {
  0%,
  58% {
    opacity: 0;
  }
  62%,
  100% {
    opacity: 1;
  }
}
.ab2-rev {
  display: grid;
  align-content: center;
  gap: 8px;
}
.ab2-stars {
  display: flex;
  gap: 4px;
}
.ab2-stars i {
  width: 22px;
  height: 22px;
  background: #d9dccf;
  clip-path: polygon(
    50% 0,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
  animation: abStar 5s infinite;
}
.ab2-stars i:nth-child(2) {
  animation-delay: 0.15s;
}
.ab2-stars i:nth-child(3) {
  animation-delay: 0.3s;
}
.ab2-stars i:nth-child(4) {
  animation-delay: 0.45s;
}
.ab2-stars i:nth-child(5) {
  animation-delay: 0.6s;
}
@keyframes abStar {
  0%,
  10% {
    background: #d9dccf;
  }
  20%,
  100% {
    background: #f5b301;
  }
}
.ab2-rev p {
  font-size: 15px;
  font-weight: 600;
}
.ab2-rev small {
  color: var(--muted);
}
.ab2-call p {
  max-width: 85%;
  padding: 10px 12px;
  border-radius: 14px;
  margin-bottom: 10px;
}
.ab2-miss {
  background: #fff;
  color: #b42318;
  font-weight: 700;
}
.ab2-sent {
  margin-left: auto;
  background: var(--ink);
  color: #fff;
  animation: abIn 5s 0.9s infinite both;
}

/* why we started */
.ab2-why {
  background: var(--soft);
  border-radius: 40px;
  margin-inline: 16px;
}
.ab2-why-in {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.ab2-why-copy {
  display: grid;
  gap: 18px;
}
.ab2-pile {
  position: relative;
  height: 380px;
}
.ab2-pile span {
  position: absolute;
  left: 50%;
  top: 50%;
  padding: 12px 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  translate: -50% -50%;
  transform: translate(var(--x), var(--y)) rotate(var(--r));
  transition:
    transform 1s cubic-bezier(0.6, 0, 0.2, 1),
    opacity 0.6s 0.5s;
}
.ab2-pile.go span {
  transform: none;
  opacity: 0;
}
.ab2-one {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 24px;
  border-radius: 20px;
  background: var(--ink);
  color: #fff;
  font:
    800 22px 'Plus Jakarta Sans',
    var(--font);
  letter-spacing: -0.03em;
  scale: 0.4;
  opacity: 0;
  transition:
    scale 0.7s 0.9s cubic-bezier(0.2, 0.9, 0.25, 1.2),
    opacity 0.4s 0.9s;
}
.ab2-pile.go .ab2-one {
  scale: 1;
  opacity: 1;
}

/* what we do */
.ab2-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.ab2-cards article,
.ab2-values article {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition:
    border-color 0.3s,
    transform 0.3s;
}
.ab2-cards article:hover {
  border-color: var(--ink);
  transform: translateY(-4px);
}
.ab2-cards .ab2-n {
  font-size: 60px;
}
.ab2-cards article:hover .ab2-n {
  -webkit-text-fill-color: var(--lime);
}
.ab2-cards h3,
.ab2-values h3,
.ab2-steps h3 {
  font-size: 22px;
  letter-spacing: -0.02em;
}
.ab2-cards p,
.ab2-values p,
.ab2-steps p {
  color: var(--muted);
}

/* from first call to launch */
.ab2-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
  position: relative;
}
.ab2-steps::before,
.ab2-steps::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 26px;
  height: 2px;
  background: var(--line);
}
.ab2-steps::after {
  background: var(--ink);
  transform-origin: left;
  transform: scaleX(var(--p, 0));
  transition: transform 0.2s linear;
}
.ab2-steps li {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  align-content: start;
}
.ab2-steps .ab2-n {
  justify-self: start;
  font-size: 54px;
  background: var(--bg);
  padding-right: 12px;
  transition: -webkit-text-fill-color 0.3s;
}
.ab2-steps li.done .ab2-n {
  -webkit-text-fill-color: var(--lime);
}

/* always up to date */
.ab2-evolve {
  background: var(--ink);
  color: #fff;
  border-radius: 40px;
  margin-inline: 16px;
}
.ab2-evolve .lbl,
.ab2-evolve .lead {
  color: #b9bfae;
}
.ab2-flips {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.ab2-flips article {
  position: relative;
  height: 210px;
  perspective: 900px;
}
.ab2-flips article > div {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: space-between;
  padding: 22px;
  border-radius: 22px;
  backface-visibility: hidden;
  transition: transform 0.8s cubic-bezier(0.6, 0, 0.2, 1);
}
.ab2-flips article > div:first-child {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.ab2-flips article > div:last-child {
  background: var(--lime);
  color: var(--ink);
  transform: rotateY(180deg);
}
.ab2-flips article.on > div:first-child {
  transform: rotateY(-180deg);
}
.ab2-flips article.on > div:last-child {
  transform: none;
}
.ab2-flips small {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}
.ab2-flips b {
  font:
    800 21px/1.2 'Plus Jakarta Sans',
    var(--font);
  letter-spacing: -0.02em;
}

/* what we believe */
.ab2-values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.ab2-values article {
  border: 0;
  background: var(--soft);
}
.ab2-values article::before {
  content: '';
  width: 34px;
  height: 6px;
  border-radius: 6px;
  background: var(--lime);
}

/* facts and who we are */
.ab2-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.ab2-facts-grid div {
  display: grid;
  gap: 8px;
}
.ab2-facts-grid .ab2-n {
  font-size: clamp(56px, 7vw, 96px);
}
.ab2-facts-grid small {
  color: var(--muted);
  font-weight: 600;
}
.ab2-who {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 56px;
}
.ab2-who img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--r);
}
.ab2-who > div {
  display: grid;
  gap: 16px;
}

/* team (filled from Veliora Site) */
.ab-people {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}
.ab-person {
  margin: 0;
  display: grid;
  gap: 12px;
}
.ab-person img,
.ab-person-ph {
  width: 100%;
  aspect-ratio: 5/6;
  object-fit: cover;
  border-radius: var(--r);
  background: var(--soft);
  transition:
    transform 0.4s,
    filter 0.4s;
  filter: grayscale(0.3);
}
.ab-person:hover img {
  transform: translateY(-6px);
  filter: none;
}
.ab-person-ph {
  display: grid;
  place-items: center;
  font:
    800 72px 'Plus Jakarta Sans',
    var(--font);
  color: var(--ink);
}
.ab-person figcaption {
  display: grid;
  gap: 2px;
}
.ab-person b {
  font:
    800 19px 'Plus Jakarta Sans',
    var(--font);
  letter-spacing: -0.02em;
}
.ab-person span {
  color: var(--muted);
}
.ab-team .ab-head {
  display: grid;
  gap: 14px;
  margin-bottom: 36px;
}

/* closing */
.ab2-end-in {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: clamp(48px, 7vw, 88px) 24px;
  border-radius: 40px;
  background: var(--ink);
  color: #fff;
  text-align: center;
}
.ab2-end-in p {
  color: #b9bfae;
  max-width: 52ch;
}

@media (max-width: 1080px) {
  .ab2-screens,
  .ab2-cards,
  .ab2-flips,
  .ab2-values,
  .ab2-facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ab2-steps {
    grid-template-columns: 1fr;
  }
  .ab2-steps::before,
  .ab2-steps::after {
    display: none;
  }
}
@media (max-width: 760px) {
  .ab2-hero,
  .ab2-why-in,
  .ab2-who {
    grid-template-columns: 1fr;
  }
  .ab2-screens,
  .ab2-cards,
  .ab2-flips,
  .ab2-values {
    grid-template-columns: 1fr;
  }
  .ab2-pile {
    height: 320px;
    overflow: hidden;
  }
  .ab2-why,
  .ab2-evolve {
    margin-inline: 8px;
    border-radius: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ab2 *,
  .ab2 *::before,
  .ab2 *::after {
    animation: none !important;
  }
  .ab2-pile span {
    transition: none;
  }
}

/* the Veliora robot above the closing call to action */
.ab2-end-bot {
  --vbot-w: 190px;
  margin-bottom: -4px;
}
