
/* =========================================================
   ABOUT US — PHASE 1
   Hero, story timeline and impact metrics
   ========================================================= */

body:has(.about-hero){
  --about-ink:#11131b;
  --about-soft:#f6f5fb;
}

.desktop-nav a[aria-current="page"],
.mobile-menu a[aria-current="page"]{
  color:var(--primary);
}

/* HERO */
.about-hero{
  position:relative;
  min-height:100svh;
  display:flex;
  align-items:center;
  overflow:hidden;
  padding:calc(var(--header-height) + 78px) 0 82px;
  background:
    radial-gradient(circle at 82% 18%,rgba(124,58,237,.12),transparent 28%),
    radial-gradient(circle at 10% 80%,rgba(14,165,233,.08),transparent 25%),
    var(--background);
}
.about-hero-grid{
  position:absolute;
  inset:0;
  opacity:.28;
  background-image:
    linear-gradient(var(--line) 1px,transparent 1px),
    linear-gradient(90deg,var(--line) 1px,transparent 1px);
  background-size:72px 72px;
  mask-image:linear-gradient(to bottom,black,transparent 92%);
}
.about-orb{
  position:absolute;
  border-radius:50%;
  filter:blur(3px);
  pointer-events:none;
}
.about-orb-one{
  width:420px;
  height:420px;
  top:4%;
  right:-170px;
  background:rgba(124,58,237,.11);
}
.about-orb-two{
  width:280px;
  height:280px;
  bottom:1%;
  left:-130px;
  background:rgba(14,165,233,.08);
}
.about-hero-layout{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:minmax(0,.95fr) minmax(430px,1.05fr);
  gap:72px;
  align-items:center;
}
.about-hero-copy h1{
  max-width:760px;
  margin:22px 0 24px;
  font:800 clamp(58px,6.5vw,98px)/.98 var(--font-heading);
  letter-spacing:-.065em;
}
.about-hero-copy>p{
  max-width:670px;
  margin:0;
  color:var(--muted);
  font-size:17px;
  line-height:1.78;
}
.about-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:34px;
}
.about-hero-trust{
  display:grid;
  grid-template-columns:1fr 1.3fr;
  gap:22px;
  margin-top:46px;
  padding-top:26px;
  border-top:1px solid var(--line);
}
.about-trust-item{
  display:grid;
  gap:7px;
}
.about-trust-item strong{
  font:800 14px var(--font-heading);
}
.about-trust-item span{
  color:var(--muted);
  font-size:11px;
  line-height:1.55;
}

.about-hero-visual{
  position:relative;
  min-width:0;
  perspective:1200px;
}
.about-visual-frame{
  position:relative;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:30px;
  background:var(--surface);
  box-shadow:0 42px 100px rgba(27,22,58,.15);
  transform:rotateY(-3deg) rotateX(1deg);
  transform-origin:center;
}
.about-visual-frame::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(135deg,rgba(255,255,255,.16),transparent 25%);
}
.about-visual-topbar,
.about-visual-footer{
  position:relative;
  z-index:3;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:15px 18px;
  border-bottom:1px solid var(--line);
  color:var(--muted);
  font-size:10px;
}
.about-visual-topbar>svg{
  width:16px;
  color:var(--primary);
}
.about-window-dots{
  display:flex;
  gap:5px;
}
.about-window-dots i{
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--line-strong);
}
.about-visual-canvas{
  position:relative;
  min-height:500px;
  overflow:hidden;
  background:
    radial-gradient(circle at center,rgba(124,58,237,.12),transparent 37%),
    linear-gradient(145deg,var(--surface-soft),var(--surface));
}
.about-visual-canvas::before{
  content:"";
  position:absolute;
  inset:0;
  opacity:.35;
  background-image:
    linear-gradient(var(--line) 1px,transparent 1px),
    linear-gradient(90deg,var(--line) 1px,transparent 1px);
  background-size:40px 40px;
}
.about-system-ring{
  position:absolute;
  top:50%;
  left:50%;
  border:1px solid rgba(124,58,237,.24);
  border-radius:50%;
  transform:translate(-50%,-50%);
}
.ring-one{
  width:260px;
  height:260px;
  animation:aboutRing 18s linear infinite;
}
.ring-two{
  width:380px;
  height:380px;
  border-style:dashed;
  animation:aboutRingReverse 26s linear infinite;
}
.ring-one::before,
.ring-two::before{
  content:"";
  position:absolute;
  top:-5px;
  left:50%;
  width:9px;
  height:9px;
  border-radius:50%;
  background:var(--primary);
  box-shadow:0 0 18px var(--primary);
}
.about-system-core{
  position:absolute;
  z-index:4;
  top:50%;
  left:50%;
  width:132px;
  height:132px;
  display:grid;
  place-content:center;
  justify-items:center;
  border:1px solid rgba(124,58,237,.32);
  border-radius:50%;
  background:var(--surface-glass);
  backdrop-filter:blur(16px);
  box-shadow:0 20px 50px rgba(124,58,237,.16);
  transform:translate(-50%,-50%);
}
.about-system-core span{
  font:800 34px var(--font-heading);
  letter-spacing:-.06em;
}
.about-system-core small{
  margin-top:4px;
  color:var(--muted);
  font-size:9px;
}
.about-floating-card{
  position:absolute;
  z-index:5;
  min-width:142px;
  display:flex;
  align-items:center;
  gap:11px;
  padding:13px;
  border:1px solid var(--line);
  border-radius:15px;
  background:var(--surface-glass);
  backdrop-filter:blur(14px);
  box-shadow:0 15px 35px rgba(22,20,39,.1);
}
.about-card-icon{
  width:35px;
  height:35px;
  display:grid;
  place-items:center;
  border-radius:10px;
  color:var(--primary);
  background:rgba(124,58,237,.1);
}
.about-card-icon svg{width:16px}
.about-floating-card small,
.about-floating-card strong{
  display:block;
}
.about-floating-card small{
  color:var(--muted);
  font-size:8px;
}
.about-floating-card strong{
  margin-top:2px;
  font:800 11px var(--font-heading);
}
.about-card-strategy{top:15%;left:5%;animation:aboutFloat 5s ease-in-out infinite}
.about-card-design{top:15%;right:5%;animation:aboutFloat 5.8s ease-in-out infinite .4s}
.about-card-build{bottom:14%;left:5%;animation:aboutFloat 6.1s ease-in-out infinite .7s}
.about-card-grow{right:5%;bottom:14%;animation:aboutFloat 5.4s ease-in-out infinite 1s}
.about-connection-lines{
  position:absolute;
  z-index:2;
  inset:0;
  width:100%;
  height:100%;
  fill:none;
  stroke:rgba(124,58,237,.32);
  stroke-width:1.5;
  stroke-dasharray:5 8;
}
.about-visual-footer{
  border-top:1px solid var(--line);
  border-bottom:0;
}
.about-visual-footer span{
  display:flex;
  align-items:center;
  gap:7px;
}
.about-visual-footer span i{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#10b981;
  box-shadow:0 0 0 5px rgba(16,185,129,.1);
}
.about-visual-footer strong{
  color:var(--text);
  font-size:10px;
}
.about-hero-badge{
  position:absolute;
  z-index:7;
  right:-20px;
  bottom:48px;
  display:flex;
  align-items:center;
  gap:11px;
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--surface-glass);
  backdrop-filter:blur(16px);
  box-shadow:0 18px 45px rgba(25,21,50,.13);
}
.about-hero-badge>span{
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border-radius:11px;
  color:#fff;
  background:var(--primary);
}
.about-hero-badge svg{width:17px}
.about-hero-badge small,
.about-hero-badge strong{display:block}
.about-hero-badge small{
  color:var(--muted);
  font-size:8px;
}
.about-hero-badge strong{
  margin-top:3px;
  font-size:10px;
}
.about-scroll-cue{
  position:absolute;
  z-index:4;
  left:50%;
  bottom:24px;
  display:flex;
  align-items:center;
  gap:9px;
  color:var(--muted);
  font-size:9px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  transform:translateX(-50%);
}
.about-scroll-cue svg{
  width:14px;
  animation:aboutScroll 1.7s ease-in-out infinite;
}

/* SECTION HEADING */
.about-section-heading,
.about-stats-header{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(280px,.55fr);
  gap:80px;
  align-items:end;
  margin-bottom:70px;
}
.section-kicker{
  display:block;
  margin-bottom:14px;
  color:var(--primary);
  font-size:10px;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.about-section-heading h2,
.about-stats-header h2{
  max-width:850px;
  margin:0;
  font:800 clamp(42px,5vw,72px)/1.03 var(--font-heading);
  letter-spacing:-.055em;
}
.about-section-heading>p,
.about-stats-header>p{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.8;
}

/* STORY */
.about-story{
  position:relative;
  padding-top:140px;
  padding-bottom:150px;
  background:var(--surface-soft);
}
.about-story-layout{
  display:grid;
  grid-template-columns:minmax(300px,.72fr) minmax(0,1.28fr);
  gap:100px;
  align-items:start;
}
.about-story-sticky{
  position:sticky;
  top:calc(var(--header-height) + 34px);
}
.about-story-panel{
  position:relative;
  overflow:hidden;
  padding:38px;
  border:1px solid var(--line);
  border-radius:26px;
  background:var(--surface);
  box-shadow:0 25px 65px rgba(26,22,48,.08);
}
.about-story-panel::before{
  content:"";
  position:absolute;
  width:220px;
  height:220px;
  top:-110px;
  right:-90px;
  border-radius:50%;
  background:rgba(124,58,237,.11);
}
.about-story-number{
  position:relative;
  display:block;
  font:800 clamp(68px,7vw,104px)/.9 var(--font-heading);
  letter-spacing:-.07em;
  color:transparent;
  -webkit-text-stroke:1px rgba(124,58,237,.45);
}
.about-story-panel>strong{
  position:relative;
  display:block;
  max-width:350px;
  margin-top:24px;
  font:800 25px/1.2 var(--font-heading);
  letter-spacing:-.03em;
}
.about-story-panel>p{
  position:relative;
  margin:16px 0 0;
  color:var(--muted);
  font-size:13px;
  line-height:1.75;
}
.about-story-principle{
  position:relative;
  margin-top:30px;
  padding:21px;
  border-radius:16px;
  background:rgba(124,58,237,.07);
}
.about-story-principle svg{
  width:20px;
  color:var(--primary);
}
.about-story-principle p{
  margin:10px 0 0;
  font:700 13px/1.65 var(--font-heading);
}
.about-story-signature{
  position:relative;
  margin-top:30px;
  padding-top:22px;
  border-top:1px solid var(--line);
}
.about-story-signature span{
  display:block;
  font:800 16px var(--font-heading);
  letter-spacing:.18em;
}
.about-story-signature small{
  display:block;
  margin-top:5px;
  color:var(--muted);
  font-size:8px;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.about-timeline{
  position:relative;
  display:grid;
  gap:24px;
  padding-left:54px;
}
.about-timeline-track{
  position:absolute;
  top:0;
  bottom:0;
  left:15px;
  width:2px;
  overflow:hidden;
  border-radius:99px;
  background:var(--line);
}
.about-timeline-track span{
  position:absolute;
  inset:0 0 auto;
  height:0;
  border-radius:99px;
  background:linear-gradient(to bottom,var(--primary),#38bdf8);
  transition:height .12s linear;
}
.about-timeline-item{
  position:relative;
  padding:30px 32px;
  border:1px solid var(--line);
  border-radius:22px;
  background:var(--surface);
  transition:.3s ease;
}
.about-timeline-item:hover{
  border-color:rgba(124,58,237,.35);
  transform:translateX(5px);
  box-shadow:0 20px 48px rgba(35,28,68,.08);
}
.about-timeline-dot{
  position:absolute;
  top:31px;
  left:-55px;
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border:5px solid var(--surface-soft);
  border-radius:50%;
  color:var(--muted);
  background:var(--surface);
  box-shadow:0 0 0 1px var(--line);
  transition:.3s ease;
}
.about-timeline-dot svg{width:13px}
.about-timeline-item.is-active .about-timeline-dot{
  color:#fff;
  background:var(--primary);
  box-shadow:0 0 0 1px var(--primary),0 0 0 7px rgba(124,58,237,.1);
}
.about-timeline-content>span{
  color:var(--primary);
  font-size:9px;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.about-timeline-content h3{
  margin:10px 0 12px;
  font:800 25px/1.2 var(--font-heading);
  letter-spacing:-.035em;
}
.about-timeline-content p{
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.75;
}
.about-timeline-tags{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:20px;
}
.about-timeline-tags span{
  padding:7px 10px;
  border:1px solid var(--line);
  border-radius:99px;
  color:var(--muted);
  background:var(--surface-soft);
  font-size:9px;
  font-weight:700;
}

/* STATS */
.about-stats{
  position:relative;
  overflow:hidden;
  padding-top:145px;
  padding-bottom:145px;
}
.about-stats-glow{
  position:absolute;
  width:640px;
  height:640px;
  right:-320px;
  top:10%;
  border-radius:50%;
  background:rgba(124,58,237,.07);
  filter:blur(2px);
}
.about-stats-grid{
  position:relative;
  display:grid;
  grid-template-columns:1.25fr .875fr .875fr;
  grid-template-rows:auto auto;
  gap:16px;
}
.about-stat-card{
  min-height:260px;
  display:flex;
  flex-direction:column;
  padding:26px;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:22px;
  background:var(--surface);
  transition:.3s ease;
}
.about-stat-card:hover{
  border-color:rgba(124,58,237,.34);
  transform:translateY(-4px);
  box-shadow:0 22px 50px rgba(30,25,58,.08);
}
.about-stat-featured{
  grid-row:span 2;
  min-height:536px;
  color:#fff;
  border-color:transparent;
  background:
    radial-gradient(circle at 80% 20%,rgba(56,189,248,.23),transparent 25%),
    linear-gradient(145deg,#161129,#6844d0);
}
.about-stat-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
}
.about-stat-top>span:last-child{
  color:var(--muted);
  font-size:9px;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.about-stat-featured .about-stat-top>span:last-child{
  color:#d5cdef;
}
.about-stat-icon{
  width:39px;
  height:39px;
  display:grid;
  place-items:center;
  border-radius:12px;
  color:var(--primary);
  background:rgba(124,58,237,.1);
}
.about-stat-featured .about-stat-icon{
  color:#fff;
  background:rgba(255,255,255,.11);
}
.about-stat-icon svg{width:17px}
.about-stat-value{
  display:flex;
  align-items:end;
  gap:9px;
  margin-top:auto;
}
.about-stat-value strong{
  font:800 clamp(58px,6vw,84px)/.88 var(--font-heading);
  letter-spacing:-.065em;
}
.about-stat-value small{
  margin-bottom:7px;
  color:var(--muted);
  font-size:10px;
  font-weight:800;
  text-transform:uppercase;
}
.about-stat-featured .about-stat-value small{color:#d5cdef}
.about-stat-card>p{
  max-width:390px;
  margin:19px 0 0;
  color:var(--muted);
  font-size:12px;
  line-height:1.65;
}
.about-stat-featured>p{color:#d8d0ee}
.about-stat-graph{
  height:125px;
  display:flex;
  align-items:end;
  gap:9px;
  margin-top:34px;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.12);
}
.about-stat-graph i{
  flex:1;
  height:var(--h);
  border-radius:7px 7px 2px 2px;
  background:linear-gradient(to top,rgba(255,255,255,.15),rgba(255,255,255,.8));
  transform-origin:bottom;
  animation:aboutBars 1.2s cubic-bezier(.22,.61,.36,1) both;
}
.about-stat-quote{
  position:relative;
  grid-column:span 2;
  min-height:260px;
  justify-content:center;
  background:var(--surface-soft);
}
.about-stat-quote>svg{
  position:absolute;
  top:24px;
  right:24px;
  width:22px;
  color:var(--primary);
}
.about-stat-quote blockquote{
  max-width:690px;
  margin:0;
  font:800 clamp(26px,3vw,40px)/1.18 var(--font-heading);
  letter-spacing:-.04em;
}
.about-stat-quote>span{
  margin-top:18px;
  color:var(--muted);
  font-size:9px;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.about-stats-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:25px;
  margin-top:34px;
  padding-top:28px;
  border-top:1px solid var(--line);
}
.about-stats-footer p{
  margin:0;
  color:var(--muted);
  font-size:13px;
}

/* ANIMATION */
@keyframes aboutRing{to{transform:translate(-50%,-50%) rotate(360deg)}}
@keyframes aboutRingReverse{to{transform:translate(-50%,-50%) rotate(-360deg)}}
@keyframes aboutFloat{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-9px)}
}
@keyframes aboutScroll{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(5px)}
}
@keyframes aboutBars{
  from{transform:scaleY(0)}
  to{transform:scaleY(1)}
}

/* DARK */
[data-theme="dark"] .about-hero{
  background:
    radial-gradient(circle at 82% 18%,rgba(124,58,237,.2),transparent 28%),
    radial-gradient(circle at 10% 80%,rgba(14,165,233,.1),transparent 25%),
    var(--background);
}
[data-theme="dark"] .about-visual-frame,
[data-theme="dark"] .about-story-panel,
[data-theme="dark"] .about-timeline-item,
[data-theme="dark"] .about-stat-card{
  box-shadow:none;
}

/* RESPONSIVE */
@media(max-width:1100px){
  .about-hero-layout{
    grid-template-columns:minmax(0,1fr) minmax(390px,.9fr);
    gap:42px;
  }
  .about-hero-copy h1{
    font-size:clamp(52px,6vw,76px);
  }
  .about-visual-canvas{min-height:450px}
  .about-story-layout{gap:56px}
  .about-section-heading,
  .about-stats-header{gap:45px}
}
@media(max-width:900px){
  .about-hero{
    min-height:auto;
    padding-top:calc(var(--header-height) + 70px);
  }
  .about-hero-layout{
    grid-template-columns:1fr;
  }
  .about-hero-copy{
    max-width:760px;
  }
  .about-hero-visual{
    max-width:700px;
    width:100%;
    margin:0 auto;
  }
  .about-visual-frame{
    transform:none;
  }
  .about-scroll-cue{display:none}
  .about-section-heading,
  .about-stats-header{
    grid-template-columns:1fr;
    gap:22px;
  }
  .about-story-layout{
    grid-template-columns:1fr;
  }
  .about-story-sticky{
    position:relative;
    top:auto;
  }
  .about-story-panel{
    display:grid;
    grid-template-columns:auto 1fr;
    gap:0 25px;
  }
  .about-story-panel>strong,
  .about-story-panel>p,
  .about-story-principle,
  .about-story-signature{
    grid-column:2;
  }
  .about-story-number{
    grid-row:1/6;
  }
  .about-stat-featured{
    grid-row:auto;
    min-height:420px;
  }
  .about-stats-grid{
    grid-template-columns:1fr 1fr;
  }
  .about-stat-featured{
    grid-column:span 2;
  }
}
@media(max-width:620px){
  .about-hero{
    padding-top:calc(var(--header-height) + 45px);
    padding-bottom:80px;
  }
  .about-hero-copy h1{
    margin-top:18px;
    font-size:46px;
    line-height:1.01;
  }
  .about-hero-copy>p{
    font-size:15px;
    line-height:1.7;
  }
  .about-hero-actions{
    display:grid;
  }
  .about-hero-actions .button{
    width:100%;
    justify-content:center;
  }
  .about-hero-trust{
    grid-template-columns:1fr;
    margin-top:34px;
  }
  .about-visual-canvas{min-height:400px}
  .ring-one{width:210px;height:210px}
  .ring-two{width:300px;height:300px}
  .about-system-core{width:108px;height:108px}
  .about-floating-card{
    min-width:116px;
    padding:10px;
  }
  .about-card-icon{
    width:31px;
    height:31px;
  }
  .about-card-strategy{top:10%;left:3%}
  .about-card-design{top:10%;right:3%}
  .about-card-build{bottom:10%;left:3%}
  .about-card-grow{right:3%;bottom:10%}
  .about-hero-badge{
    right:10px;
    bottom:-22px;
  }
  .about-section-heading h2,
  .about-stats-header h2{
    font-size:42px;
  }
  .about-story,
  .about-stats{
    padding-top:95px;
    padding-bottom:95px;
  }
  .about-story-panel{
    display:block;
    padding:28px;
  }
  .about-story-number{
    font-size:76px;
  }
  .about-story-panel>strong,
  .about-story-panel>p,
  .about-story-principle,
  .about-story-signature{
    grid-column:auto;
  }
  .about-timeline{
    padding-left:38px;
  }
  .about-timeline-track{left:12px}
  .about-timeline-dot{
    left:-42px;
    width:30px;
    height:30px;
  }
  .about-timeline-item{
    padding:23px 20px;
  }
  .about-timeline-content h3{
    font-size:21px;
  }
  .about-stats-grid{
    grid-template-columns:1fr;
  }
  .about-stat-featured,
  .about-stat-quote{
    grid-column:auto;
  }
  .about-stat-featured{
    min-height:430px;
  }
  .about-stat-card{
    min-height:235px;
  }
  .about-stat-quote blockquote{
    font-size:28px;
  }
  .about-stats-footer{
    align-items:flex-start;
    flex-direction:column;
  }
}
@media(prefers-reduced-motion:reduce){
  .ring-one,.ring-two,.about-floating-card,.about-scroll-cue svg,.about-stat-graph i{
    animation:none!important;
  }
}
