/* ══════════════════════════════════════════════════════════════════
   STOBOX — About v3 (page-specific overrides)
   Loads AFTER /css/v3-system.css.
   ══════════════════════════════════════════════════════════════════ */

/* ── HERO (shared with index/sector pattern) ─────────────────── */
.hero{
  position: relative;
  padding: 0;
  overflow: hidden;
  min-height: calc(100vh - 52px);
  width: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg-dark);
  color: var(--bg);
}
.hero::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: 80px 80px;
  mask-image: linear-gradient(to bottom, transparent, black 8%, black 75%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 8%, black 75%, transparent);
  pointer-events: none;
  z-index: 1;
}
.hero::after{
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 50% 50%, transparent 30%, rgba(10,14,44,0.55) 70%, var(--bg-dark) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero .sec-bg-img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 0;
  display: block;
  animation: bg-drift-a 22s ease-in-out infinite;
}
@keyframes glow-breathe{
  0%, 100%{ opacity: 0.55; filter: blur(70px) }
  50%     { opacity: 1;    filter: blur(90px) }
}
.hero-glow{
  position: absolute;
  width: 70vw;
  height: 70vw;
  max-width: 900px;
  max-height: 900px;
  top: -10%;
  left: 35%;
  background:
    radial-gradient(circle at 50% 50%,
      rgba(99,91,255,0.45) 0%,
      rgba(99,91,255,0.20) 30%,
      rgba(99,91,255,0.05) 60%,
      transparent 80%);
  pointer-events: none;
  z-index: 1;
  animation: glow-breathe 7s ease-in-out infinite;
}
.hero-content{
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  padding: 80px var(--gutter) 60px;
  position: relative;
  z-index: 2;
}
.hero-eye{
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-hi);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.hero-eye::before{
  content: '';
  width: 24px; height: 2px;
  background: var(--accent-hi);
}
.hero h1{
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(44px, 6.4vw, 116px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--bg);
  margin-bottom: 24px;
  text-transform: uppercase;
}
.hero h1 .line{ display: block; overflow: hidden }
.hero h1 .line span{
  display: inline-block;
  transform: translateY(102%);
  animation: rise .9s var(--ease) forwards;
}
.hero h1 .line:nth-child(1) span{ animation-delay: .1s }
.hero h1 .line:nth-child(2) span{ animation-delay: .22s }
.hero h1 .line:nth-child(3) span{ animation-delay: .34s }
.hero h1 em{ font-style: normal; color: var(--accent-hi) }
@keyframes rise{ to { transform: none } }
.hero-sub{
  font-family: var(--body);
  font-weight: 400;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  max-width: 64ch;
  margin-bottom: 32px;
  opacity: 0;
  animation: fade .5s var(--ease) .2s forwards;
}
.hero-sub strong{ color: var(--bg); font-weight: 600 }
.hero .btn-g{ border-color: rgba(255,255,255,0.4); color: var(--bg) }
.hero .btn-g:hover{ background: var(--bg); color: var(--ink); border-color: var(--bg) }
@keyframes fade{ to { opacity: 1 } }
.hero-btns{
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  animation: fade .5s var(--ease) .35s forwards;
}

.hero-ribbon{
  border-top: 1px solid rgba(255,255,255,0.10);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: var(--bg-dark-2);
  position: relative;
  z-index: 3;
  padding: 0 var(--gutter);
}
.ribbon-inner{
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.ribbon-item{
  padding: 26px 28px;
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ribbon-item:last-child{ border-right: 0 }
.ribbon-key{
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.ribbon-val{
  font-family: var(--display);
  font-weight: 800;
  font-size: 36px;
  color: var(--bg);
  line-height: 1;
  letter-spacing: -0.022em;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}
.ribbon-unit{
  font-family: var(--mono);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: .12em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
}
@media (max-width: 1100px){
  .ribbon-inner{ grid-template-columns: repeat(3, 1fr) }
  .ribbon-item:nth-child(3n){ border-right: 0 }
  .ribbon-item:nth-child(-n+3){ border-bottom: 1px solid rgba(255,255,255,0.08) }
}
@media (max-width: 600px){
  .ribbon-inner{ grid-template-columns: repeat(2, 1fr) }
  .ribbon-item{ padding: 14px 16px }
  .ribbon-item:nth-child(2n){ border-right: 0 }
  .ribbon-item:nth-child(2n+1){ border-right: 1px solid rgba(255,255,255,0.08) }
  .ribbon-val{ font-size: 22px }
}
@media (max-width: 1024px){
  .hero{ min-height: auto }
  .hero-content{ padding: 60px var(--gutter) 50px }
}
@media (min-width: 768px){
  .hero h1 .line span{ white-space: nowrap }
}

/* ── ABOUT (numbered list — matches index home) ─────────────── */
.about{
  padding: 120px var(--gutter);
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.about-inner{
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}
.about-eye{
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.about-eye::before{ content: '§01'; color: var(--ink-4); letter-spacing: .04em }
.about-headline{
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 80px);
  line-height: 0.96;
  letter-spacing: -0.018em;
  color: var(--ink);
  text-transform: uppercase;
}
.about-headline em{ font-style: normal; color: var(--accent) }
.about-list{
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
}
.about-item{
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 28px 28px;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
  transition: background var(--t-base);
}
.about-item:hover{ background: var(--bg-2) }
.about-num{
  font-family: var(--display);
  font-weight: 700;
  font-size: 48px;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
}
.about-title{
  font-family: var(--body);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.about-desc{
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
}
@media (max-width: 920px){
  .about{ padding: 70px var(--gutter) }
  .about-inner{ grid-template-columns: 1fr; gap: 40px }
  .about-num{ font-size: 36px }
}

/* ── STORY LAYOUT (long-form narrative + aside) ─────────────── */
.story-layout{
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 70px;
  align-items: start;
}
.story-body p{
  font-family: var(--body);
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-2);
  margin-bottom: 20px;
}
.story-body p:last-child{ margin-bottom: 0 }
.story-body strong{ color: var(--ink); font-weight: 600 }
.story-aside{
  display: flex;
  flex-direction: column;
  border: 1px solid var(--rule);
}
.aside-card{
  padding: 22px 24px;
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
  transition: background var(--t-base);
}
.aside-card:last-child{ border-bottom: 0 }
.aside-card:hover{ background: var(--blue-ice) }
.aside-label{
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.aside-val{
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: -0.012em;
  line-height: 1.1;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.aside-sub{
  font-family: var(--body);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-3);
}
.aside-sub a{ color: var(--accent); border-bottom: 1px solid var(--accent-bd) }
@media (max-width: 920px){
  .story-layout{ grid-template-columns: 1fr; gap: 40px }
}

/* ── PRODUCTS GRID (4 proprietary products) ───────────────────
   2x2 layout — gives each product card room to breathe; 3-up
   left an orphan slot when Compass joined as Product 04. */
.products-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 60px;
  border: 1px solid var(--rule);
  background: var(--rule);
  gap: 1px;
}
.prod{
  background: var(--bg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  transition: background var(--t-base);
}
.sec.alt .prod{ background: var(--bg-2) }
.prod:hover, .sec.alt .prod:hover{ background: var(--blue-ice) }
.prod-num{
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.prod-name{
  font-family: var(--display);
  font-weight: 800;
  font-size: 36px;
  color: var(--ink);
  letter-spacing: -0.022em;
  text-transform: uppercase;
  margin-bottom: 10px;
  line-height: 1;
}
.prod-tag{
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
}
.prod-desc{
  font-family: var(--body);
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: auto;
}
.prod-link{
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--rule);
  padding-top: 16px;
  transition: color var(--t-fast), gap var(--t-base) var(--ease);
}
.prod:hover .prod-link{ color: var(--accent); gap: 14px }
@media (max-width: 920px){ .products-grid{ grid-template-columns: 1fr } }

/* ── TEAM GRID ──────────────────────────────────────────────── */
.team-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 60px;
  border: 1px solid var(--rule);
  background: var(--rule);
  gap: 1px;
}
.team-card{
  background: var(--bg);
  padding: 30px 26px 28px;
  display: flex;
  flex-direction: column;
  transition: background var(--t-base);
}
.team-card:hover{ background: var(--bg-2) }
.team-card--ai{
  background: linear-gradient(180deg, rgba(99,91,255,0.04), var(--bg));
}
.team-card--ai:hover{ background: rgba(99,91,255,0.08) }
.team-avatar{
  width: 88px;
  height: 88px;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 1px;
  background: var(--bg-2);
  border: 1px solid var(--rule);
}
.team-avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-name{
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: -0.012em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 6px;
}
.team-role{
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule-soft);
}
.team-bio{
  font-family: var(--body);
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-2);
}
@media (max-width: 920px){
  .team-grid{ grid-template-columns: 1fr }
}

/* ── PARTNERS — Marquee (legacy carry-over) ──────────────────── */
.partners{
  padding: 50px 0;
  background: var(--bg-2);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
.partners-inner{ position: relative; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter) }
.p-lbl{
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}
.p-lbl::before, .p-lbl::after{
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule);
}
.p-marquee{
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}
.p-track{
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 72px;
  animation: marquee 60s linear infinite;
  width: max-content;
}
@keyframes marquee{ to { transform: translateX(-50%) } }
.plogo img{
  height: 40px;
  width: auto;
  opacity: .55;
  filter: grayscale(1);
  transition: opacity var(--t-base) var(--ease), filter var(--t-base);
}
.plogo img:hover{ opacity: 1; filter: none }

/* ── PARTNER GROUPS (categorized rows) ───────────────────────── */
.partners-groups{
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-top: 50px;
}
.partner-group-label{
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}
.partner-group-label::before{
  content: '';
  width: 16px; height: 2px;
  background: var(--accent);
}
.partner-row{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.partner-pill{
  padding: 16px 18px;
  border: 1px solid var(--rule);
  background: var(--bg);
  transition: background var(--t-base), border-color var(--t-base);
}
.partner-pill:hover{ background: var(--blue-ice); border-color: var(--accent-bd) }
.pp-name{
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.012em;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 6px;
}
.pp-role{
  font-family: var(--body);
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink-3);
}

/* ── CRED GRID (regulatory / on-chain credentials, dark) ─────── */
.cred-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 60px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.06);
  gap: 1px;
  position: relative;
  z-index: 2;
}
.cred{
  background: var(--bg-dark-2);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: background var(--t-base);
}
.cred:hover{ background: rgba(99,91,255,0.10) }
.cred-label{
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-hi);
  margin-bottom: 14px;
}
.cred-val{
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  color: var(--bg);
  letter-spacing: -0.012em;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 12px;
}
.cred-sub{
  font-family: var(--body);
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,0.70);
}
.cred-sub a{ color: var(--accent-hi); border-bottom: 1px solid rgba(165,180,252,0.5) }
@media (max-width: 1024px){ .cred-grid{ grid-template-columns: repeat(2, 1fr) } }
@media (max-width: 560px){ .cred-grid{ grid-template-columns: 1fr } }

/* ── REGISTERED ENTITIES (dark) ─────────────────────────────── */
.reg-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 50px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.06);
  gap: 1px;
  position: relative;
  z-index: 2;
}
.reg{
  background: var(--bg-dark-2);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
}
.reg-country{
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-hi);
  margin-bottom: 12px;
}
.reg-name{
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  color: var(--bg);
  letter-spacing: -0.012em;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 8px;
}
.reg-addr{
  font-family: var(--body);
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(255,255,255,0.65);
}
.legal-note{
  margin-top: 36px;
  padding: 22px 24px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  font-family: var(--body);
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255,255,255,0.55);
  position: relative;
  z-index: 2;
}
@media (max-width: 920px){ .reg-grid{ grid-template-columns: 1fr } }
