/* ================= ABOUT ================= */
.split .w:has(.mark-line) { overflow: visible; }

/* ---------- Story ---------- */
.story { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.story__copy .lead { margin: 1.25rem 0 1rem; }
.story__points { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.75rem; }
.story__points li {
  display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .95rem; border-radius: 999px;
  background: var(--bg); border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--ink-2);
}
.story__points .material-symbols-rounded { color: var(--blue); font-size: 1.15rem; }
@media (max-width: 880px) { .story { grid-template-columns: 1fr; } .story__visual { order: 2; } }

.story__visual { display: grid; place-items: center; perspective: 1000px; }
.dossier {
  position: relative; width: min(100%, 400px); aspect-ratio: 4 / 5; border-radius: var(--r-xl);
  background: radial-gradient(circle at 100% 0%, rgba(6, 182, 212, .25), transparent 55%), linear-gradient(160deg, #0F2340, #0B192C);
  color: var(--brand-text); padding: 1.75rem; display: flex; flex-direction: column; align-items: flex-start;
  box-shadow: 0 40px 80px -30px rgba(11, 25, 44, .6), 0 0 0 1px rgba(255,255,255,.06) inset;
  transition: transform .5s var(--ease); overflow: hidden;
}
.dossier__head { width: 100%; display: flex; justify-content: space-between; align-items: center; }
.dossier__tab { font-size: .68rem; font-weight: 700; letter-spacing: .2em; color: var(--cyan-l); padding: .35rem .7rem; border: 1px dashed rgba(103, 232, 249, .4); border-radius: 6px; }
.dossier .tag--success { background: rgba(16, 185, 129, .15); color: #34D399; }
.dossier__mark { width: 74px; margin: auto 0 1rem; }
.dossier__name { font-family: "Montserrat", Arial, sans-serif; font-weight: 800; font-size: clamp(1.4rem, 3vw, 1.8rem); color: var(--brand-text); letter-spacing: -.02em; }
.dossier__sub { font-size: .85rem; color: var(--on-dark-muted); margin-top: .2rem; }
.dossier__lines { width: 100%; display: grid; gap: .55rem; margin-top: 1.5rem; }
.dossier__lines li { height: 7px; border-radius: 4px; background: rgba(255,255,255,.08); position: relative; overflow: hidden; }
.dossier__lines li:nth-child(2) { width: 82%; } .dossier__lines li:nth-child(3) { width: 64%; } .dossier__lines li:nth-child(4) { width: 74%; }
.dossier__lines li::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(103, 232, 249, .55), transparent); transform: translateX(-100%); animation: lineScan 3.2s var(--ease-in-out) infinite; }
.dossier__lines li:nth-child(2)::after { animation-delay: .25s; } .dossier__lines li:nth-child(3)::after { animation-delay: .5s; } .dossier__lines li:nth-child(4)::after { animation-delay: .75s; }
@keyframes lineScan { to { transform: translateX(100%); } }
.dossier__lens {
  position: absolute; width: 96px; height: 96px; border-radius: 50%; top: 28%; left: 42%;
  border: 3px solid rgba(247, 250, 255, .8); background: rgba(34, 211, 238, .08); backdrop-filter: blur(1px) brightness(1.3);
  display: grid; place-items: center; color: rgba(247,250,255,.85);
  box-shadow: 0 0 40px rgba(34, 211, 238, .35);
  animation: lens 9s var(--ease-in-out) infinite;
}
.dossier__lens::after { content: ""; position: absolute; width: 36px; height: 6px; border-radius: 4px; background: rgba(247,250,255,.8); right: -30px; bottom: -6px; transform: rotate(45deg); }
.dossier__lens .material-symbols-rounded { opacity: 0; }
@keyframes lens { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(-90px, 40px); } 50% { transform: translate(-30px, 150px); } 75% { transform: translate(40px, 70px); } }
.dossier__stamp {
  position: absolute; right: 1.5rem; bottom: 1.5rem; transform: rotate(-14deg);
  border: 2px solid rgba(52, 211, 153, .65); color: #34D399; border-radius: 8px; padding: .35rem .6rem;
  font-family: var(--f-head); font-weight: 800; font-size: .7rem; letter-spacing: .14em; text-align: center; line-height: 1.3;
}

/* ---------- Purpose tabs ---------- */
.purpose {
  display: grid; grid-template-columns: 340px 1fr; gap: 1.5rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 1rem; box-shadow: var(--sh-2);
}
.purpose__tabs { display: flex; flex-direction: column; gap: .4rem; }
.purpose__tab {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: .8rem; text-align: left;
  padding: 1.1rem 1.15rem; border-radius: var(--r-lg); font-family: var(--f-head); font-weight: 700; font-size: 1rem; color: var(--muted);
  transition: background .35s, color .35s;
}
.purpose__tab .material-symbols-rounded { color: var(--muted-2); transition: color .35s; }
.purpose__tab:hover { background: var(--bg); color: var(--navy); }
.purpose__tab.is-active { background: linear-gradient(135deg, rgba(2, 132, 199, .1), rgba(6, 182, 212, .06)); color: var(--navy); }
.purpose__tab.is-active .material-symbols-rounded { color: var(--blue); }
.purpose__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan)); transform: scaleX(0); transform-origin: left; }
.purpose__tab.is-active .purpose__bar { animation: tabTimer var(--t, 6s) linear forwards; }
.purpose.is-paused .purpose__tab.is-active .purpose__bar { animation-play-state: paused; }
@keyframes tabTimer { to { transform: scaleX(1); } }
.purpose__panels { position: relative; border-radius: var(--r-lg); background: var(--navy); color: var(--brand-text); overflow: hidden; min-height: 320px; isolation: isolate; }
.purpose__panels::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 100% 0%, rgba(6, 182, 212, .3), transparent 55%), radial-gradient(circle at 0% 100%, rgba(2, 132, 199, .25), transparent 50%); }
.purpose__panel { padding: clamp(1.75rem, 4vw, 3rem); height: 100%; display: flex; flex-direction: column; justify-content: center; }
.purpose__panel.is-active { animation: panelIn .7s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.purpose__icon { font-size: 3.2rem !important; width: auto !important; color: var(--cyan-l); margin-bottom: 1.25rem; }
.purpose__panel h3 { color: var(--brand-text); margin-bottom: .9rem; }
.purpose__panel p { color: var(--on-dark-muted); font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.75; max-width: 620px; }
@media (max-width: 880px) {
  .purpose { grid-template-columns: 1fr; padding: .75rem; }
  .purpose__tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; }
  .purpose__tabs::-webkit-scrollbar { display: none; }
  .purpose__tab { flex: none; scroll-snap-align: start; padding: .85rem 1rem; font-size: .9rem; }
  .purpose__tab .num-badge { display: none; }
  .purpose__panels { min-height: 0; }
}

/* ---------- Founders (flip cards) ---------- */
.flip-hint { display: flex; align-items: center; gap: .4rem; font-size: .82rem; color: var(--muted-2); margin: -1.5rem 0 1.5rem; }
.flip-hint .material-symbols-rounded { color: var(--blue); font-size: 1.1rem; }
.flip { perspective: 1200px; min-height: 380px; cursor: pointer; outline-offset: 4px; border-radius: var(--r-lg); }
.flip__inner { position: relative; height: 100%; min-height: inherit; transform-style: preserve-3d; transition: transform .9s var(--ease); }
.flip.is-flipped .flip__inner { transform: rotateY(180deg); }
@media (hover: hover) and (pointer: fine) { .flip:hover .flip__inner { transform: rotateY(180deg); } }
.flip__face {
  position: absolute; inset: 0; border-radius: var(--r-lg); padding: 1.75rem 1.5rem; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  display: flex; flex-direction: column;
}
.flip__front { background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-2); align-items: center; text-align: center; justify-content: center; gap: .55rem; }
.flip__front p { color: var(--muted); font-size: .88rem; }
.flip__back {
  transform: rotateY(180deg); color: var(--brand-text); gap: .6rem;
  background: radial-gradient(circle at 100% 0%, rgba(6, 182, 212, .3), transparent 60%), var(--navy);
  border: 1px solid rgba(255,255,255,.08); box-shadow: var(--sh-3);
}
.flip__back h3 { color: var(--brand-text); }
.flip__back ul { display: grid; gap: .55rem; margin-top: .4rem; }
.flip__back li { position: relative; padding-left: 1.1rem; font-size: .86rem; color: var(--on-dark-muted); line-height: 1.5; }
.flip__back li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan-l); }
.avatar {
  width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; margin-bottom: .5rem; object-fit: cover;
  font-family: var(--f-head); font-weight: 800; font-size: 2rem; color: #fff; letter-spacing: .02em;
  background: linear-gradient(135deg, var(--a), var(--b));
  box-shadow: 0 0 0 6px #fff, 0 0 0 7px rgba(2, 132, 199, .25), 0 16px 30px -10px rgba(2, 132, 199, .5);
}
.role-chip { display: inline-flex; align-items: center; gap: .35rem; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-d); background: rgba(6, 182, 212, .1); padding: .35rem .7rem; border-radius: 999px; }
.role-chip .material-symbols-rounded { font-size: 1rem; }
.flip__cue { margin-top: auto; display: inline-flex; align-items: center; gap: .3rem; font-size: .8rem; font-weight: 600; color: var(--blue); }
.flip__cue .material-symbols-rounded { font-size: 1rem; }
@media (max-width: 1100px) and (min-width: 561px) { .flip { min-height: 360px; } }
@media (max-width: 560px) { .flip { min-height: 330px; } .avatar { width: 96px; height: 96px; font-size: 1.7rem; } }

/* ---------- Quote with scroll-lit words ---------- */
.quote-sec { background: radial-gradient(900px 500px at 80% 100%, #12345A, transparent 70%), var(--navy); }
.quote { max-width: 1000px; margin-inline: auto; text-align: center; }
.quote__mark { font-size: 4rem !important; width: auto !important; color: var(--cyan); opacity: .8; margin: 0 auto 1rem; display: block; }
.quote__text { font-family: var(--f-head); font-weight: 700; font-size: clamp(1.25rem, 2.8vw, 2.1rem); line-height: 1.45; letter-spacing: -.015em; }
.quote__text .lw { color: rgba(247, 250, 255, .18); transition: color .4s; }
.quote__text .lw.is-lit { color: var(--brand-text); }
.quote figcaption { margin-top: 2rem; display: inline-flex; align-items: center; gap: .6rem; font-size: .85rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan-l); }
.quote__line { width: 40px; height: 2px; background: var(--cyan-l); }
.quote .dot { color: var(--on-dark-muted); }

/* ---------- Clients ---------- */
.clients__title { text-align: center; font-family: var(--f-head); font-weight: 700; font-size: clamp(1.2rem, 2vw, 1.5rem); color: var(--navy); margin-bottom: 1.75rem; }

/* ---------- Values ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.75rem); counter-reset: v; }
.value { display: flex; flex-direction: column; gap: 1rem; padding-top: 2.25rem; }
.value p { color: var(--muted); flex: 1; }
.value .tag { align-self: flex-start; }
.value__n { position: absolute; right: 1.25rem; top: .75rem; font-family: var(--f-head); font-weight: 800; font-size: 4.5rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(2, 132, 199, .18); }
.value:nth-child(2) { top: 2rem; }
.values { padding-bottom: 2rem; }
@media (max-width: 960px) {
  .values { grid-template-columns: 1fr; }
  .value:nth-child(2) { top: 0; }
  .values { padding-bottom: 0; }
}

/* ---------- Colourful purpose tabs ---------- */
.purpose__tabs.colorful .purpose__tab .material-symbols-rounded, .purpose__tabs.colorful .num-badge { color: var(--pc); }
.purpose__tabs.colorful .purpose__tab.is-active { background: linear-gradient(135deg, color-mix(in srgb, var(--pc) 13%, #fff), color-mix(in srgb, var(--pc2) 6%, #fff)); }
.purpose__tabs.colorful .purpose__bar { background: linear-gradient(90deg, var(--pc), var(--pc2)); }
