/* MOBILE RESPONSIVE — loaded as external file */
/* Hamburger base (always present, hidden on desktop by display:none) */
.nav-hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px;
  z-index: 210;
}
.nav-hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: #F0EDE6; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@media screen and (max-width: 900px) {
  /* NAV — hamburger + fullscreen overlay */
  nav { padding: 1.2rem 1.5rem !important; }
  nav.scrolled { padding: 0.8rem 1.5rem !important; }
  .nav-hamburger { display: flex !important; }
  .nav-links {
    display: none !important;
    position: fixed !important;
    top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    height: 100dvh !important;
    background: rgba(10,10,15,0.98) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    backdrop-filter: blur(24px) !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2.5rem !important;
    z-index: 9999 !important;
    overflow-y: auto !important;
  }
  .nav-links.open {
    display: flex !important;
  }
  .nav-links a { font-size: 1.2rem !important; color: #F0EDE6 !important; letter-spacing: 0.1em !important; }
  .nav-links a::after { display: none !important; }
  .nav-cta { margin-top: 1rem !important; font-size: 1rem !important; padding: 0.8rem 2.5rem !important; }

  /* HERO */
  .hero { padding: 0 1.5rem !important; min-height: 100vh !important; }
  .hero-content { max-width: 100% !important; }
  .hero h1 { font-size: clamp(1.4rem, 5vw, 1.8rem) !important; line-height: 1.55 !important; }
  .hero-sub { font-size: 0.95rem !important; max-width: 100% !important; }
  .hero-overline { font-size: 0.6rem !important; letter-spacing: 0.15em !important; }
  .hero-lockup-name { font-size: 1.2rem !important; }
  .hero-stats { flex-wrap: wrap !important; max-width: 100% !important; }
  .stat { padding: 0.8rem 0.5rem !important; }
  .s-val { font-size: 1.1rem !important; }
  .s-lbl { font-size: 0.55rem !important; }
  .hero-ctas { flex-direction: row !important; gap: 1rem !important; margin-top: 3rem !important; padding-bottom: 1rem !important; }
  .hero-cta { padding: 0.6rem 1.2rem !important; font-size: 0.62rem !important; }

  /* PILLARS */
  .pillars { padding: 3rem 1.5rem 3rem !important; }
  .pillars-header { margin-bottom: 2.5rem !important; }
  .pillars-grid { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
  .p-card-visual { height: 140px !important; }
  .p-card-body { padding: 1.8rem 1.5rem 2rem !important; }
  .p-card-name { font-size: 1.2rem !important; }
  .p-card-desc { font-size: 0.88rem !important; }

  /* SPOTLIGHT / FEATURED — show details always (no hover on touch) */
  .portfolio { padding: 3rem 1.5rem 3rem !important; }
  .spotlight-grid { grid-template-columns: 1fr !important; }
  .spotlight-card { height: auto !important; min-height: 280px !important; }
  .spotlight-bg {
    filter: brightness(0.3) saturate(0.6) !important;
  }
  .spotlight-center {
    position: relative !important;
    inset: auto !important;
    height: auto !important;
    padding: 2rem 1.5rem 0.5rem !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
  }
  .spotlight-logo { height: 40px !important; max-width: 160px !important; }
  .spotlight-status {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    display: inline-block !important;
    margin: 0.5rem auto 0 !important;
    text-align: center !important;
  }
  .spotlight-detail {
    position: relative !important;
    transform: translateY(0) !important;
    opacity: 1 !important;
    padding: 1rem 1.5rem 1.5rem !important;
    background: linear-gradient(to top, rgba(10,10,15,0.95) 0%, rgba(10,10,15,0.7) 100%) !important;
  }
  .spotlight-detail * { pointer-events: auto !important; }

  /* COMPANY GRID — proper sizing for mobile */
  .company-grid { grid-template-columns: repeat(3, 1fr) !important; min-height: auto !important; gap: 1px !important; }
  .company-card { min-height: 140px !important; overflow: hidden !important; }
  .card-content { padding: 1.2rem 0.6rem !important; }
  .company-logo {
    height: 36px !important;
    max-width: 110px !important;
    object-fit: contain !important;
  }
  .company-name {
    font-size: 0.55rem !important;
    margin-top: 0.5rem !important;
  }
  .exit-badge {
    white-space: normal !important;
    text-align: center !important;
    font-size: 0.48rem !important;
    padding: 0.15rem 0.3rem !important;
    margin-top: 0.4rem !important;
    line-height: 1.3 !important;
    word-break: break-word !important;
  }
  .active-badge {
    white-space: normal !important;
    font-size: 0.48rem !important;
    text-align: center !important;
  }
  .card-bg-img { opacity: 0 !important; }

  .filter-tabs { gap: 0.3rem !important; flex-wrap: wrap !important; }
  .filter-tab { font-size: 0.58rem !important; padding: 0.4rem 0.7rem !important; }
  .scorecard { padding: 1.5rem !important; max-width: 95% !important; }
  .scorecard-meta { grid-template-columns: 1fr !important; }
  .section-title { font-size: clamp(1.4rem, 5vw, 2rem) !important; }
  .section-sub { font-size: 0.92rem !important; }

  /* MANIFESTO */
  .manifesto { padding: 3rem 1.5rem 2rem !important; }
  .m-pullquote { padding: 1.5rem 0 1.5rem 1.5rem !important; }
  .m-close { padding: 2rem 0 2rem !important; }
  .m-pullquote p { font-size: 1.1rem !important; }

  /* TEAM */
  .team-section { padding: 3rem 1.5rem 2rem !important; }
  .core-team-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 1rem !important; }
  .core-card { padding: 1.2rem 0.8rem !important; }
  .core-photo { width: 80px !important; height: 80px !important; }

  /* APPROACH */
  .approach-section { padding: 3rem 1.5rem 2rem !important; }
  .approach-phase { gap: 1.5rem !important; }
  .phase-visual-bg { display: none !important; }
  .approach-phase p { font-size: 0.88rem !important; }

  /* CONTACT */
  .contact-section { padding: 3rem 1.5rem 2rem !important; }
  .form-grid { grid-template-columns: 1fr !important; }
  .contact-paths { gap: 0.5rem !important; flex-wrap: wrap !important; justify-content: center !important; }
  .contact-path-btn { font-size: 0.7rem !important; padding: 0.5rem 1rem !important; }

  /* LEGAL */
  .legal-inner { padding: 2rem 1.5rem 2rem !important; max-height: 90vh !important; width: 95% !important; }
  .legal-close { right: 1rem !important; top: 0.8rem !important; }

  /* FOOTER */
  footer { flex-direction: column !important; text-align: center !important; padding: 2rem 1.5rem !important; gap: 1.5rem !important; }
  .footer-right { justify-content: center !important; }
  .footer-logo-row { justify-content: center !important; }

  /* TOAST */
  .thank-you-toast { font-size: 1rem !important; padding: 1.5rem 2rem !important; width: 85% !important; }
}

@media screen and (max-width: 480px) {
  nav { padding: 1rem 1rem !important; }
  nav.scrolled { padding: 0.7rem 1rem !important; }
  .nav-wordmark-top { font-size: 0.8rem !important; }
  .nav-wordmark-bot { font-size: 0.48rem !important; }
  .nav-logo svg { width: 36px !important; height: 18px !important; }

  .hero { padding: 0 1.2rem !important; }
  .hero h1 { font-size: clamp(1.2rem, 4.5vw, 1.5rem) !important; }
  .hero-sub { font-size: 0.85rem !important; }
  .hero-lockup-name { font-size: 1rem !important; }
  .hero-ctas { gap: 0.8rem !important; }
  .hero-cta { padding: 0.55rem 1rem !important; font-size: 0.58rem !important; }
  .s-val { font-size: 1rem !important; }
  .s-lbl { font-size: 0.5rem !important; }
  .stat { padding: 0.6rem 0.3rem !important; }

  .pillars { padding: 2rem 1rem 2rem !important; }
  .p-card-visual { height: 120px !important; }
  .p-card-body { padding: 1.5rem 1.2rem 1.8rem !important; }

  .portfolio { padding: 2rem 1rem 2rem !important; }
  .spotlight-card { min-height: 240px !important; }
  .spotlight-logo { height: 32px !important; max-width: 140px !important; }
  .company-grid { grid-template-columns: repeat(3, 1fr) !important; }
  .company-card { min-height: 120px !important; }
  .company-logo { height: 30px !important; max-width: 90px !important; }
  .company-name { font-size: 0.5rem !important; }
  .exit-badge { font-size: 0.42rem !important; }

  .manifesto { padding: 2rem 1rem 2rem !important; }
  .m-pullquote p { font-size: 1rem !important; }

  .team-section { padding: 2rem 1rem 2rem !important; }
  .core-team-grid { gap: 0.6rem !important; }
  .core-photo { width: 65px !important; height: 65px !important; }
  .core-card h4 { font-size: 0.75rem !important; }

  .approach-section { padding: 2rem 1rem 2rem !important; }
  .approach-phase p { font-size: 0.82rem !important; }

  .contact-section { padding: 2rem 1rem 2rem !important; }
  .contact-path-btn { font-size: 0.62rem !important; padding: 0.4rem 0.8rem !important; }

  .scorecard { max-width: 100% !important; border-radius: 8px !important; }
  .legal-inner { padding: 1.5rem 1rem 1.5rem !important; width: 96% !important; }
  .thank-you-toast { font-size: 0.95rem !important; padding: 1.2rem 1.5rem !important; width: 92% !important; }

  footer { padding: 2rem 1rem !important; }
}
