/* ══════════════════════════════════════════════════════════════════
   STOBOX — Partners 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:.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(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 } }

/* ── ECOSYSTEM (re-using homepage 3-col layout, but styled for partners with extra header) ── */
.ecosystem-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 60px;
  border: 1px solid var(--rule);
  background: var(--rule);
}
.eco-col{
  background: var(--bg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}
.sec.alt .eco-col{ background: var(--bg-2) }
.eco-cat{
  font-family: var(--mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
  display: inline-flex; align-items: center; gap: 10px;
}
.eco-cat::before{ content:''; width: 16px; height: 2px; background: var(--accent) }
.eco-cat-sub{
  font-family: var(--body);
  font-size: 13px; line-height: 1.55;
  color: var(--ink-3);
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}
.eco-list{ display: flex; flex-direction: column }
.eco-pp{
  display: flex; flex-direction: column;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule-soft);
  transition: padding-left var(--t-fast) var(--ease);
}
.eco-pp:last-child{ border-bottom: 0 }
.eco-pp:hover{ padding-left: 6px }
.eco-pp-name{
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
  letter-spacing: -0.012em;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 4px;
}
.eco-pp-tag{
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.eco-pp-desc{
  font-family: var(--body);
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-2);
  margin-bottom: 8px;
}
.eco-pp-region{
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.eco-pp[href]{ cursor: pointer }
.eco-pp[href]::after{
  content: '→';
  position: absolute;
  font-size: 11px;
  color: var(--ink-4);
}
@media (max-width: 920px){ .ecosystem-grid{ grid-template-columns: 1fr } }

/* ── PARTNERSHIP TIERS ───────────────────────────────────────── */
.tiers-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 60px;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.tier{
  background: var(--bg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  transition: background var(--t-base);
}
.sec.alt .tier{ background: var(--bg-2) }
.tier:hover, .sec.alt .tier:hover{ background: var(--blue-ice) }
.tier--accent{
  background: var(--blue-ice) !important;
  outline: 1px solid var(--accent-bd);
  outline-offset: -1px;
  z-index: 1;
}
.tier--accent:hover{ background: rgba(99,91,255,0.10) !important }
.tier-badge{
  font-family: var(--mono);
  font-size: 10px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-bd);
  background: var(--accent-bg);
  padding: 5px 10px; border-radius: 1px;
  align-self: flex-start;
  margin-bottom: 22px;
}
.tier-title{
  font-family: var(--display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.018em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 16px;
}
.tier-desc{
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
}
.tier-perks{
  list-style: none;
  margin-bottom: auto;
}
.tier-perks li{
  font-family: var(--body);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-2);
  padding: 9px 0 9px 22px;
  position: relative;
  border-bottom: 1px solid var(--rule-soft);
}
.tier-perks li::before{
  content: '+';
  position: absolute; left: 0; top: 8px;
  color: var(--accent);
  font-weight: 600; font-family: var(--mono); font-size: 14px;
}
.tier-perks li:last-child{ border-bottom: 0 }
@media (max-width: 920px){ .tiers-grid{ grid-template-columns: 1fr } }
