/* ============ FOOTER ============ */
footer {
  border-top: 1px solid var(--line);
  padding:    60px 0 36px;
}

.footer__grid {
  display:               grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap:                   40px;
}

.footer__brand p {
  margin-top: 16px;
  font-size:  .92rem;
  max-width:  34ch;
}

.footer__column h4 {
  font-family:    var(--font-mono);
  font-size:      11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color:          var(--muted);
  margin-bottom:  18px;
}

.footer__column a {
  display:    block;
  color:      var(--muted);
  font-size:  .92rem;
  padding:    6px 0;
  width:      fit-content;
  transition:
    color     .2s,
    transform .2s;
}

.footer__column a:hover {
  color:     var(--text);
  transform: translateX(5px);
}

.footer__bottom {
  margin-top:      48px;
  padding-top:     26px;
  border-top:      1px solid var(--line);
  display:         flex;
  justify-content: space-between;
  align-items:     center;
  gap:             18px;
  flex-wrap:       wrap;
}

.footer__bottom p {
  font-family: var(--font-mono);
  font-size:   12px;
  color:       var(--muted);
}

/* ============ SOCIALS ============ */
.socials {
  display: flex;
  gap:     10px;
}

.socials__link {
  width:         38px;
  height:        38px;
  border:        1px solid var(--line);
  border-radius: 9px;
  display:       grid;
  place-items:   center;
  color:         var(--muted);
  transition:    .2s;
}

.socials__link:hover {
  border-color: var(--gold);
  color:        var(--gold);
  background:   rgba(139,92,246,.16);
  transform:    translateY(-3px);
}

.socials svg {
  width:  17px;
  height: 17px;
  fill:   currentColor;
}

/* ============ FOOTER RESPONSIVE ============ */
@media (max-width: 760px) {
  footer {
    padding: 48px 0 28px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap:                   30px 24px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items:    flex-start;
    gap:            14px;
  }
}

@media (max-width: 440px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

/* ============ SCROLL REVEAL ============ */
.lite {
  color:      #8c8896;
  transition: color 1s ease;
}

#page-network .lite {
  color: #8c8896;
}

.section--light .lite {
  color: #bcb7c6;
}

.lite.is-active,
#page-network .lite.is-active {
  color: #a78bfa;
}

.section--light .lite.is-active {
  color: #6D28D9;
}

.reveal {
  opacity:          0;
  transform:        translateY(22px);
  transition:
    opacity   .7s ease,
    transform .7s ease;
  transition-delay: var(--rd, 0s);
}

.reveal.is-visible {
  opacity:   1;
  transform: none;
}

/* ============ SCROLL PROGRESS METER ============ */
.scroll-meter {
  position:       fixed;
  top:            0;
  left:           0;
  height:         3px;
  width:          0;
  z-index:        100;
  background:     linear-gradient(90deg, var(--gold-deep), var(--gold));
  box-shadow:     0 0 12px var(--glow);
  transition:     width .08s linear;
  pointer-events: none;
}

/* ============ RESPONSIVE — nav collapses to hamburger on mobile only ============ */
@media (max-width: 900px) {
  .nav__links {
    display: none;
  }

  /* Hide every action (buttons + login link) except the hamburger */
  .nav__actions > *:not(.menu-toggle) {
    display: none;
  }

  .menu-toggle {
    display:      flex;
    /* pull it in from the screen edge — flush-right on a wide, mostly-empty
       header (once the nav links are hidden) reads as stranded */
    margin-right: 24px;
  }

  .nav {
    display:         flex;
    justify-content: space-between;
  }
}

/* ============ RESPONSIVE — main breakpoints ============ */
@media (max-width: 980px) {
  .mission__grid {
    grid-template-columns: 1fr;
    gap:                   36px;
  }

  .levels__ladder-wrap {
    grid-template-columns: 1fr;
    gap:                   30px;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .guest__box {
    grid-template-columns: 1fr;
  }

  .guest__right {
    border-left:  none;
    border-top:   1px solid var(--line);
  }

  .testimonials__grid {
    columns: 2;
  }

  .youtube-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tiers {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .wrap {
    padding: 0 18px;
  }

  .stats .wrap {
    grid-template-columns: 1fr 1fr;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .testimonials__grid {
    columns: 1;
  }

  .guest__left,
  .guest__right {
    padding: 36px 28px;
  }

  .ladder__bars {
    height: 230px;
    gap:    5px;
  }

  .ladder__bar-number {
    font-size: 11px;
  }

  .ladder__bar-badge {
    font-size: 10px;
  }

  .level-card {
    padding: 24px;
  }

  .mission li {
    font-size: .95rem;
  }

  .youtube-grid {
    grid-template-columns: 1fr;
  }

  .showcase {
    padding: 64px 0;
  }

  .spotify-list__duration {
    display: none;
  }

  .tiers {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation:       none !important;
    transition:      none !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity:   1;
    transform: none;
  }
}

/* ============ FOCUS STYLES ============ */
:focus-visible {
  outline:        2px solid var(--gold);
  outline-offset: 3px;
  border-radius:  4px;
}
