/*
  responsive.css — Phase 1: shared-shell breakpoints.
  Matches the master's actual Tailwind breakpoints in the header/
  footer/mobile-nav components: `lg:` = 1024px, `sm:` = 640px.
*/

/* Mobile-nav headline: fluid 13vw up to 640px, then fixed at 3rem
   (48px) — matches `text-[13vw] sm:text-5xl` in MobileNavigation.tsx. */
@media (min-width: 640px) {
  .mobile-nav__link {
    font-size: 3rem;
  }

  .footer__legal-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .logo__img--footer {
    width: auto;
    height: 86px;
  }
}

/* Tablet header logo */
@media (min-width: 768px) {
  .logo__img--header {
    width: auto;
    height: 44px;
    max-height: 44px;
  }
}

/* Desktop navigation swap: inline nav + actions replace the
   hamburger trigger — matches `hidden lg:flex` / `lg:hidden`. */
@media (min-width: 1024px) {
  .site-nav {
    display: flex;
  }

  .site-header__actions {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  /* desktop header: stacked logo ~83x48, centred in the 76px bar */
  .logo__img--header {
    width: auto;
    height: 48px;
    max-height: 48px;
  }

  .footer__grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
}

/* =================================================================
   Phase 2 — homepage breakpoints
   ================================================================= */
@media (min-width: 640px) {
  .sm-only {
    display: block;
  }

  .hero {
    padding-top: 9rem;
  }

  .hero__headline {
    font-size: 70px;
  }

  .hero__micro {
    display: block;
  }

  .scroll-cue {
    display: flex;
  }

  .hero__portal {
    right: 8%;
    top: 14%;
    width: 46vw;
    opacity: 1;
  }

  .manifesto {
    height: 170vh;
  }

  .red-interlude {
    padding-top: 9rem;
  }

  .red-interlude__shape {
    margin-top: 6rem;
    height: 9rem;
  }

  .journey {
    padding-block: 8rem;
  }

  .journey__connector {
    display: block;
  }

  .journey__grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
  }

  .journey__stage {
    display: block;
    padding-top: 0;
  }

  .journey__number {
    margin-bottom: 1.25rem;
  }

  .cap-row__keywords {
    display: block;
  }

  .cap-row__title {
    font-size: 26px;
  }

  .ecosystem {
    padding-block: 8rem;
  }

  .ecosystem__list {
    display: none;
  }

  .ecosystem__field-wrap {
    display: block;
  }

  .connection {
    padding-bottom: 8rem;
  }

  .connection__panel {
    padding: 5rem 4rem;
  }

  .partners-marquee {
    padding-bottom: 3rem;
    padding-top: 4rem;
  }

  .partners-marquee__rows {
    margin-top: 2.5rem;
    gap: 1rem;
  }

  .marquee-card {
    height: 6rem;
    width: 196px;
    padding: 0.3rem;
  }
}

@media (min-width: 1024px) {
  .hero__headline {
    font-size: 80px;
  }

  .cap-universe__header {
    flex-direction: row;
    align-items: flex-end;
  }

  .cap-universe__grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 4rem;
  }

  .cap-nav__hint {
    display: none;
  }

  .cap-stage {
    display: block;
    position: sticky;
    top: 8rem;
  }

  .ecosystem__grid {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    gap: 2.5rem;
  }

  .marquee-card {
    height: 7rem;
    width: 220px;
    padding: 0.35rem;
  }
}

@media (min-width: 1280px) {
  .hero__headline {
    font-size: 92px;
  }
}
