/* ============================================================
   AMIHAN — Andela-inspired redesign
   Official Amihan palette: electric blue · deep navy · sky
   ============================================================ */

:root {
  --ink:        #080A12;
  --ink-2:      #12141F;
  --ink-3:      #1B1F30;
  --blue:       #1432F5;
  --blue-hi:    #2E48F7;
  --blue-dark:  #0E27CC;
  --sky:        #65B2F9;
  --sky-soft:   #C4DCFC;
  --bg:         #FFFFFF;
  --tint:       #F0F1F6;
  --tint-2:     #E7EAF6;
  --line:       #E4E5EA;
  --text:       #2E3140;
  --muted:      #6B7183;
  --claude:     #D97757;
  --openai:     #10A37F;
  --neo4j:      #4C8EDA;
  --aws:        #FF9900;
  --radius:     20px;
  --radius-sm:  12px;
  --shadow:     0 1px 2px rgba(8,10,18,.06), 0 8px 24px rgba(8,10,18,.06);
  --shadow-lg:  0 2px 6px rgba(8,10,18,.08), 0 20px 48px rgba(8,10,18,.12);
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.5rem, 5.2vw, 4.25rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.015em; }
h4 { font-size: 1.05rem; font-weight: 600; }
p  { margin: 0 0 1rem; }
a  { color: inherit; }

.container { width: min(1160px, 92vw); margin-inline: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

::selection { background: var(--blue); color: #fff; }

/* ---------- Reveal animation (only when JS is active) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Eyebrow / lede ---------- */
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 1rem;
}
.eyebrow--mint { color: var(--sky); }

.lede, .section__lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--muted);
  max-width: 640px;
}
.section__lede--dark { color: rgba(255,255,255,.72); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  line-height: 1;
  padding: .95rem 1.6rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn__arrow { transition: transform .18s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }

.btn--primary {
  background: linear-gradient(135deg, var(--blue-hi), var(--blue));
  color: #fff;
  box-shadow: 0 6px 20px rgba(20,50,245,.28), inset 0 1px 0 rgba(255,255,255,.22);
}
.btn--primary:hover {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 10px 30px rgba(20,50,245,.4);
  transform: translateY(-1px);
}

.btn--mint { background: var(--sky); color: var(--ink); }
.btn--mint:hover { background: var(--sky-soft); box-shadow: 0 8px 24px rgba(20,50,245,.35); transform: translateY(-1px); }

.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--ink); transform: translateY(-1px); }

.btn--outline-light { border-color: rgba(255,255,255,.3); color: #fff; background: transparent; }
.btn--outline-light:hover { border-color: var(--sky); color: var(--sky); }

.btn--ghost { background: transparent; color: var(--ink); border-color: transparent; }
.btn--ghost:hover { background: var(--tint-2); }

.btn--sm { padding: .7rem 1.2rem; font-size: .88rem; }
.btn--lg { padding: 1.1rem 2rem; font-size: 1.02rem; }

/* ---------- Partner dots ---------- */
.dot {
  display: inline-block;
  width: 9px; height: 9px;
  border-radius: 50%;
  margin-right: .55rem;
  flex: none;
}
.dot--lg { width: 14px; height: 14px; margin: 0 0 1.1rem; }
.dot--claude { background: var(--claude); }
.dot--openai { background: var(--openai); }
.dot--neo4j  { background: var(--neo4j); }
.dot--aws    { background: var(--aws); }
.dot--amihan { background: var(--blue); }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--ink);
  color: rgba(255,255,255,.85);
  font-size: .85rem;
  text-align: center;
  padding: .6rem 1rem;
}
.announce p { margin: 0; }
.announce a { color: var(--sky); font-weight: 600; text-decoration: none; }
.announce a:hover { text-decoration: underline; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(8,10,18,.05); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  color: var(--ink);
}
.brand__logo {
  display: block;
  height: 30px;
  width: auto;
}

.nav__links { display: flex; gap: 1.7rem; }
.nav__links a {
  font-size: .92rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  position: relative;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.nav__links a:hover::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: .6rem; }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 42px; height: 42px;
  padding: 0 10px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav__toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: .25rem;
  padding: 1rem 4vw 1.5rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.nav__mobile a {
  padding: .8rem .4rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--tint-2);
}
.nav__mobile a.btn { border-bottom: none; margin-top: .8rem; justify-content: center; }
.nav__mobile.is-open { display: flex; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 3rem;
  background:
    radial-gradient(52rem 30rem at 88% -10%, rgba(101,178,249,.20), transparent 60%),
    radial-gradient(40rem 26rem at -12% 30%, rgba(20,50,245,.09), transparent 60%),
    #fff;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--tint-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--tint-2) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(70rem 40rem at 50% 0%, rgba(0,0,0,.5), transparent 75%);
  pointer-events: none;
}

/* Living network canvas — the "human interface" mesh */
.hero__net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .9;
}
.hero .container { position: relative; z-index: 1; }

/* HUD micro-labels — instrumentation feel */
.hud {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-mono);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .14em;
  color: var(--muted);
  text-transform: uppercase;
}
.hud::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 6px rgba(20,50,245,.6);
}

.hero__copy {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--blue), var(--sky), var(--blue));
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-pan 7s ease-in-out infinite;
}
@keyframes gradient-pan {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero h1 em { animation: none; }
}

.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 1.9rem; justify-content: center; }

.hero__creds {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .55rem 1.4rem;
  list-style: none;
  margin: 0; padding: 0;
  font-size: .86rem;
  font-weight: 600;
  color: var(--text);
}
.hero__creds li { display: inline-flex; align-items: center; }

/* ---------- The stage: highlight piece — humans + living network + glass HUD ---------- */
.hero-stage {
  position: relative;
  height: clamp(300px, 36vw, 430px);
  margin-top: clamp(2rem, 4vw, 3rem);
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  border: 1px solid rgba(20,50,245,.22);
  background: var(--ink);
  box-shadow: 0 30px 90px rgba(8,10,18,.35), 0 4px 18px rgba(20,50,245,.16);
}
.hero-stage__photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.85) contrast(1.06);
}
.hero-stage__tint {
  position: absolute; inset: 0;
  background: linear-gradient(165deg, rgba(8,10,18,.78) 0%, rgba(20,50,245,.28) 52%, rgba(8,10,18,.85) 100%);
  mix-blend-mode: multiply;
}
.hero-stage__tint::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(8,10,18,.32);
}
.hero-stage .hero__net { opacity: 1; }

.hud--stage { position: absolute; z-index: 4; color: rgba(255,255,255,.75); }
.hud--stage::before { background: var(--sky); box-shadow: 0 0 8px rgba(101,178,249,.9); }
.hud--tl { top: 1.1rem; left: 1.2rem; }
.hud--br { bottom: 1.1rem; right: 1.2rem; }

.visual-card {
  position: absolute;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(255,255,255,.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(20,50,245,.05), 0 24px 60px rgba(20,50,245,.10);
  padding: 1.25rem 1.35rem;
  animation: float 8s ease-in-out infinite;
}
/* HUD corner brackets */
.visual-card::before,
.visual-card::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border: 2px solid rgba(20,50,245,.4);
  pointer-events: none;
}
.visual-card::before { top: -2px; left: -2px; border-right: none; border-bottom: none; border-top-left-radius: 6px; }
.visual-card::after { bottom: -2px; right: -2px; border-left: none; border-top: none; border-bottom-right-radius: 6px; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}
@media (prefers-reduced-motion: reduce) {
  .visual-card { animation: none; }
}
.visual-card h3 { font-size: 1.02rem; margin: .7rem 0 .15rem; }
.visual-card h4 { margin: 0 0 .15rem; }
.visual-card p  { margin: 0; font-size: .84rem; color: var(--muted); }

.visual-card--pod { top: 9%; left: 3.5%; width: min(320px, 44%); z-index: 2; animation-delay: 0s; }
.visual-card--engineer {
  bottom: 9%; right: 3.5%; z-index: 3;
  display: flex; gap: .95rem; align-items: center;
  width: min(320px, 48%);
  animation-delay: -2.6s;
}
.visual-card--metric {
  top: 8%; right: 5%; z-index: 1;
  text-align: center;
  padding: 1rem 1.3rem;
  animation-delay: -5.2s;
}
.visual-card--metric .metric-big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--ink);
  display: block;
}
.visual-card__head { display: flex; justify-content: space-between; align-items: center; }
.visual-card__foot { margin-top: .55rem !important; }

/* Dark-glass variant on the stage */
.hero-stage .visual-card {
  background: rgba(10,14,26,.55);
  border-color: rgba(255,255,255,.14);
  box-shadow: 0 24px 60px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.08);
  padding: 1.05rem 1.15rem;
}
.hero-stage .visual-card::before,
.hero-stage .visual-card::after { border-color: rgba(101,178,249,.55); }
.hero-stage .visual-card h3,
.hero-stage .visual-card h4 { color: #fff; }
.hero-stage .visual-card p { color: rgba(255,255,255,.62); }
.hero-stage .visual-card .muted { color: rgba(255,255,255,.5); }
.hero-stage .visual-card .hud { color: rgba(255,255,255,.55); }
.hero-stage .visual-card .hud::before { background: var(--sky); box-shadow: 0 0 6px rgba(101,178,249,.8); }
.hero-stage .visual-card--metric .metric-big { color: #fff; }
.hero-stage .progress { background: rgba(255,255,255,.14); }
.hero-stage .badge--live { background: rgba(101,178,249,.16); color: var(--sky); }
.hero-stage .badge--live::before { background: var(--sky); }

/* Real human portraits */
.avatar-stack { display: inline-flex; }
.avatar-stack img, img.avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.92);
  object-fit: cover;
  background: linear-gradient(135deg, var(--sky), var(--blue));
}
.avatar-stack img + img { margin-left: -10px; }
img.avatar--lg { width: 56px; height: 56px; flex: none; }

.badge {
  font-size: .72rem;
  font-weight: 700;
  padding: .32rem .7rem;
  border-radius: 999px;
  letter-spacing: .02em;
}
.badge--live { background: var(--tint-2); color: #1432F5; }
.badge--live::before {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue);
  margin-right: .4rem;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .35; } }

.progress {
  height: 8px;
  background: var(--tint-2);
  border-radius: 999px;
  margin-top: .9rem;
  overflow: hidden;
}
.progress span {
  display: block;
  height: 100%;
  width: var(--w, 50%);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--sky));
}

.muted { color: var(--muted); }

/* ---------- Marquee ---------- */
.marquee { margin-top: clamp(2.5rem, 6vw, 4.5rem); position: relative; }
.marquee__label {
  text-align: center;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.4rem;
}
.marquee__viewport {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee__viewport:hover .marquee__track { animation-play-state: paused; }
.marquee__track li {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -.02em;
  color: var(--ink);
  opacity: .42;
  white-space: nowrap;
  transition: opacity .2s ease;
}
.marquee__track li:hover { opacity: 1; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--ink); color: rgba(255,255,255,.82); }
.section--dark h2, .section--dark h3 { color: #fff; }

.section__head { max-width: 780px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .section__lede { margin-inline: auto; }
.section__head--split {
  max-width: none;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2rem;
  align-items: end;
}
.section__head--split .section__lede { max-width: 460px; justify-self: end; }

/* ---------- Cards: platform (3) ---------- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.pcard {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.8rem;
  box-shadow: var(--shadow);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--sky); }
.pcard--featured { border-color: var(--ink); box-shadow: var(--shadow-lg); }
.pcard__tag {
  align-self: flex-start;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--tint-2);
  padding: .35rem .75rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}
.pcard--featured .pcard__tag { background: var(--sky); }
.pcard p { color: var(--muted); font-size: .95rem; }

.checklist {
  list-style: none;
  margin: .4rem 0 1.5rem;
  padding: 0;
  font-size: .92rem;
  font-weight: 500;
  color: var(--text);
}
.checklist li {
  position: relative;
  padding: .45rem 0 .45rem 1.9rem;
  border-top: 1px solid var(--tint-2);
}
.checklist li:first-child { border-top: none; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: .62rem;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--tint-2) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%231432F5" stroke-width="3.2" stroke-linecap="round" stroke-linejoin="round"><path d="M5 13l4 4L19 7"/></svg>') center/10px no-repeat;
}

.card-link {
  margin-top: auto;
  font-weight: 600;
  font-size: .93rem;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  gap: .4rem;
  align-items: center;
}
.card-link span { transition: transform .18s ease; }
.card-link:hover span { transform: translateX(4px); }
.card-link:hover { color: #1432F5; }

/* ---------- Stats band ---------- */
.band {
  background: var(--ink);
  color: #fff;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  position: relative;
  overflow: hidden;
}
.band::before {
  content: "";
  position: absolute;
  width: 60rem; height: 60rem;
  right: -22rem; top: -26rem;
  background: radial-gradient(closest-side, rgba(20,50,245,.16), transparent);
  pointer-events: none;
}
.band__statement {
  max-width: 760px;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -.01em;
  color: rgba(255,255,255,.92);
  margin-bottom: clamp(2.2rem, 5vw, 3.5rem);
}
.band__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--sky);
  line-height: 1;
  margin-bottom: .55rem;
}
.stat__label {
  font-size: .88rem;
  color: rgba(255,255,255,.62);
  line-height: 1.5;
  display: block;
  max-width: 230px;
}

/* ---------- Success stories ---------- */
.stories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}
.scard {
  position: relative;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}
.scard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.scard::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--sky));
  opacity: 0;
  transition: opacity .22s ease;
}
.scard:hover::before { opacity: 1; }
.scard--wide { grid-column: span 1; }
.scard__body { padding: 1.9rem 1.8rem; }
.scard__tag {
  display: inline-flex;
  align-items: center;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.scard p { color: var(--muted); font-size: .95rem; }
.scard__metrics {
  display: flex;
  gap: 2.5rem;
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--tint-2);
}
.scard__metrics strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
}
.scard__metrics span { font-size: .82rem; color: var(--muted); }

/* ---------- Partners ---------- */
.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.partner-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  box-shadow: var(--shadow);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.partner-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--sky); }
.partner-card h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.partner-card__tier {
  font-size: .8rem !important;
  font-weight: 700;
  color: #1432F5;
  margin-bottom: .8rem !important;
}
.partner-card p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- Academy ---------- */
.academy__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.steps__item {
  display: flex;
  gap: 1.2rem;
  background: var(--ink-2);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  transition: border-color .2s ease, transform .2s ease;
}
.steps__item:hover { border-color: rgba(20,50,245,.45); transform: translateX(4px); }
.steps__num {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--sky);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
}
.steps__item h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.steps__item p { margin: 0; font-size: .9rem; color: rgba(255,255,255,.62); }

/* ---------- Why ---------- */
.why-card {
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.8rem;
  transition: transform .22s ease, box-shadow .22s ease;
}
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.why-card__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: #1432F5;
  margin-bottom: 1.3rem;
}
.why-card__icon svg { width: 26px; height: 26px; }
.why-card p { color: var(--muted); font-size: .95rem; margin: 0; }

.quote {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  max-width: 820px;
  margin-inline: auto;
}
.quote blockquote { margin: 0; }
.quote blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  font-weight: 500;
  letter-spacing: -.015em;
  line-height: 1.4;
  color: var(--ink);
}
.quote blockquote p::before { content: "“"; color: var(--blue); }
.quote blockquote p::after { content: "”"; color: var(--blue); }
.quote__by { color: var(--muted); font-size: .92rem; }
.quote__by a { color: #1432F5; font-weight: 600; }

/* ---------- Newsletter ---------- */
.newsletter {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow);
  padding: clamp(2rem, 5vw, 3.5rem);
}
.newsletter h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.newsletter .section__lede { margin: 0; font-size: 1rem; }
.newsletter__form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .7rem;
  align-items: start;
}
.newsletter__form input {
  width: 100%;
  font: inherit;
  padding: .95rem 1.2rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.newsletter__form input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(20,50,245,.15); }
.newsletter__msg {
  grid-column: 1 / -1;
  margin: 0;
  font-size: .86rem;
  min-height: 1.2em;
}
.newsletter__msg.is-ok { color: #1432F5; font-weight: 600; }
.newsletter__msg.is-err { color: #C2410C; font-weight: 600; }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40rem 22rem at 50% 120%, rgba(20,50,245,.22), transparent 65%),
    radial-gradient(28rem 18rem at 85% -10%, rgba(20,50,245,.12), transparent 65%);
  pointer-events: none;
}
.cta__inner { position: relative; max-width: 780px; }
.cta h2 { color: #fff; }
.text-mint { color: var(--sky); }
.cta__lede {
  color: rgba(255,255,255,.7);
  font-size: 1.08rem;
  max-width: 620px;
  margin: 0 auto 2.2rem;
}
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .8rem;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,.65);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
  font-size: .92rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.brand--footer { margin-bottom: 1rem; }
.footer__brand p { margin: 0 0 .4rem; max-width: 300px; }
.footer__loc { font-size: .82rem; color: rgba(255,255,255,.4); }
.footer__col { display: flex; flex-direction: column; gap: .55rem; }
.footer__col h3 {
  color: #fff;
  font-size: .82rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}
.footer__col a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: color .15s ease;
}
.footer__col a:hover { color: var(--sky); }
.footer__legal {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.6rem;
  font-size: .8rem;
  color: rgba(255,255,255,.38);
}
.footer__legal p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .band__stats { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 920px) {
  .nav__links, .nav__cta-secondary { display: none; }
  .nav__toggle { display: flex; }
  .section__head--split { grid-template-columns: 1fr; align-items: start; }
  .section__head--split .section__lede { justify-self: start; }
  .academy__grid { grid-template-columns: 1fr; }
  .newsletter { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .cards-3 { grid-template-columns: 1fr; }
  .stories { grid-template-columns: 1fr; }
  .scard--wide { grid-column: auto; }

  /* Stage becomes a flowing panel: photo + canvas behind, cards stacked over it */
  .hero-stage {
    height: auto;
    min-height: 0;
    display: grid;
    gap: .9rem;
    align-content: start;
    padding: 3.6rem 1rem 3.6rem;
  }
  .hero-stage .visual-card { position: relative; inset: auto; width: 100%; animation: none; }
  .hero-stage .visual-card--metric { text-align: left; }
  .hud--tl { top: .95rem; left: 1rem; }
  .hud--br { bottom: .95rem; right: 1rem; }
}

@media (max-width: 560px) {
  .cards-4 { grid-template-columns: 1fr; }
  .band__stats { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .newsletter__form { grid-template-columns: 1fr; }
  .newsletter__form .btn { justify-content: center; }
  .cta__actions .btn { width: 100%; justify-content: center; }
}
