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

/* ── HERO (shared 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-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(4, 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(2, 1fr) }
  .ribbon-item:nth-child(2n){ border-right: 0 }
  .ribbon-item:nth-child(-n+2){ border-bottom: 1px solid rgba(255,255,255,0.08) }
}
@media (max-width: 600px){
  .ribbon-item{ padding: 14px 16px }
  .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 } }

/* ── MISSION / VISION editorial blocks ───────────────────────── */
.mv-block{
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 70px;
  align-items: start;
  margin-top: 50px;
}
.mv-statement{
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.018em;
  color: var(--ink);
  text-transform: none;
  max-width: 28ch;
}
.sec.dark .mv-statement, .sec.dark2 .mv-statement{ color: var(--bg) }
.mv-statement em{ font-style: normal; color: var(--accent) }
.sec.dark .mv-statement em, .sec.dark2 .mv-statement em{ color: var(--accent-hi) }
.mv-body p{
  font-family: var(--body);
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-2);
  margin-bottom: 18px;
}
.sec.dark .mv-body p, .sec.dark2 .mv-body p{ color: rgba(255,255,255,0.78) }
.mv-body p:last-child{ margin-bottom: 0 }
.mv-body strong{ color: var(--ink); font-weight: 600 }
.sec.dark .mv-body strong, .sec.dark2 .mv-body strong{ color: var(--bg) }

@media (max-width: 920px){ .mv-block{ grid-template-columns: 1fr; gap: 30px } }

/* ── PILLARS ─────────────────────────────────────────────────── */
.pillars-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 60px;
  border: 1px solid var(--rule);
  background: var(--rule);
  gap: 1px;
}
.pillar{
  background: var(--bg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  transition: background var(--t-base);
}
.pillar:hover{ background: var(--blue-ice) }
.pillar-num{
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pillar-num::before{ content: ''; width: 16px; height: 2px; background: var(--accent) }
.pillar-title{
  font-family: var(--display);
  font-weight: 800;
  font-size: 36px;
  color: var(--ink);
  letter-spacing: -0.022em;
  text-transform: uppercase;
  line-height: 0.95;
  margin-bottom: 18px;
}
.pillar-desc{
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-2);
}
@media (max-width: 920px){ .pillars-grid{ grid-template-columns: 1fr } }

/* ── SERVE GRID (dark) ───────────────────────────────────────── */
.serve-grid{
  display: grid;
  grid-template-columns: repeat(2, 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;
}
.serve-item{
  background: var(--bg-dark-2);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  transition: background var(--t-base);
}
.serve-item:hover{ background: rgba(99,91,255,0.10) }
.serve-label{
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  color: var(--bg);
  letter-spacing: -0.012em;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 12px;
}
.serve-desc{
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.70);
}
@media (max-width: 700px){ .serve-grid{ grid-template-columns: 1fr } }

/* ── QUOTE / FOUNDER PULL ───────────────────────────────────── */
.founder-quote{
  margin: 0 0 50px;
  padding: 30px 36px;
  border-left: 3px solid var(--accent);
  background: var(--bg-2);
}
.founder-quote p{
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.25;
  color: var(--ink);
  font-style: italic;
  letter-spacing: -0.012em;
}
.founder-quote cite{
  display: block;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-style: normal;
}
