/* ══════════════════════════════════════════════
   Responsive — Mobile-first overrides
   Breakpoints: 1200px · 900px · 600px
   ══════════════════════════════════════════════ */

/* ── Hamburger button (hidden on desktop) ── */

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 110;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* ── Tablet & small desktop  (≤ 1200px) ── */

@media (max-width: 1200px) {
  .hero { padding: 0 32px; }
  .hero-inner { gap: 48px; }
  .hero-wordmark { font-size: 52px; letter-spacing: 8px; }
    .what-we-do { padding: 60px 32px 100px; }
  .process-section { padding: 80px 32px; }
  .cta { padding: 80px 32px; }
  .faq { padding: 80px 32px; }
  footer { padding: 36px 32px; }
}

/* ── Tablet  (≤ 900px) ── */

@media (max-width: 900px) {

  /* Nav — hamburger */
  nav { padding: 16px 24px; }

  .nav-hamburger { display: block; }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 260px;
    height: 100vh;
    height: 100dvh;
    background: var(--bg-surface);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 105;
    display: flex;
    list-style: none;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 14px;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 104;
  }

  .nav-overlay.open {
    display: block;
  }

  /* Hamburger → X */
  .nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Hero — stack vertically */
  .hero { padding: 0 24px; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-left { padding: 100px 0 0; }
  .hero-right {
    height: auto;
    min-height: 200px;
    padding-bottom: 40px;
  }
  .hero-ship { max-width: 260px; max-height: 220px; }
  .hero-wordmark { font-size: 42px; letter-spacing: 6px; }
  .hero-tagline { font-size: 16px; }
  .hero-body { font-size: 12px; }

  /* Social proof */
  .social-proof { padding: 0; }
  .social-proof::before,
  .social-proof::after { width: 60px; }

  /* Services */
  .what-we-do { padding: 60px 24px 80px; }
  .editorial-title { font-size: 32px; }
  .editorial-subtitle { font-size: 12px; }
  .offers-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 480px;
    padding: 40px 0;
  }
  .orbit-canvas { display: none; }
  .orbit-lodestar { display: none; }

  /* Process */
  .process-section { padding: 80px 24px; }
  .process-title { font-size: 32px; }
  .phase-item {
    grid-template-columns: 60px 1fr;
    gap: 20px;
  }
  .phase-number { font-size: 28px; }
  .phase-name { font-size: 20px; }
  .phase-divider { margin-left: 80px; }

  /* CTA */
  .cta { padding: 80px 24px; }
  .cta-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 480px;
  }
  .cta-left { text-align: center; }
  .cta-title { font-size: 32px; }
  .cta-body { font-size: 13px; }
  .cta-divider {
    flex-direction: row;
    align-self: auto;
  }
  .cta-divider-line {
    width: auto;
    height: 1px;
    flex: 1;
  }
  .contact-form .btn-solid { align-self: stretch; }

  /* FAQ */
  .faq { padding: 60px 24px; }
  .faq-title { font-size: 32px; }
  .faq-question { font-size: 16px; }

  /* Footer */
  footer {
    flex-direction: column;
    gap: 24px;
    padding: 32px 24px;
    text-align: center;
  }
  .footer-right {
    flex-direction: column;
    gap: 16px;
  }
}

/* ── Mobile  (≤ 600px) ── */

@media (max-width: 600px) {

  nav { padding: 12px 16px; }
  .nav-cta { padding: 8px 16px; font-size: 10px; }

  /* Hero */
  .hero { padding: 0 16px; min-height: auto; }
  .hero-left { padding: 80px 0 0; }
  .hero-inner { gap: 16px; }
  .hero-wordmark { font-size: 32px; letter-spacing: 4px; }
  .hero-tagline { font-size: 14px; max-width: 100%; }
  .hero-body { font-size: 11px; max-width: 100%; }
  .hero-credibility { font-size: 10px; }
  .hero-right { min-height: 160px; padding-bottom: 24px; }
  .hero-ship { max-width: 200px; max-height: 180px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }

  /* Social proof */
  .social-proof::before,
  .social-proof::after { width: 40px; }
  .cap-item { font-size: 11px; padding: 0 10px; }

  /* Services */
  .what-we-do { padding: 48px 16px 60px; }
  .editorial-header { margin-bottom: 40px; }
  .editorial-title { font-size: 26px; }
  .offer-card { padding: 24px 20px 32px; }
  .offer-name { font-size: 24px; }
  .offer-sub { font-size: 13px; }
  .offer-bullets li { font-size: 12px; }
  .offer-cta { font-size: 12px; padding: 14px 20px; }

  /* Process */
  .process-section { padding: 48px 16px; }
  .process-title { font-size: 26px; }
  .phase-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .phase-left {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }
  .phase-icon { width: 40px; height: 46px; }
  .phase-number { font-size: 24px; }
  .phase-name { font-size: 18px; }
  .phase-body { font-size: 12px; }
  .phase-deliverable { font-size: 11px; }
  .phase-divider { margin-left: 0; }

  /* CTA */
  .cta { padding: 60px 16px; }
  .cta-title { font-size: 26px; }
  .cta-body { font-size: 12px; }
  .cta-ship { width: 72px; }
  .cta-form-title { font-size: 20px; }
  .form-row { grid-template-columns: 1fr; }

  /* FAQ */
  .faq { padding: 48px 16px; }
  .faq-title { font-size: 26px; margin-bottom: 32px; }
  .faq-question { font-size: 15px; padding: 20px 0; gap: 16px; }
  .faq-answer p { font-size: 12px; }

  /* Footer */
  footer { padding: 24px 16px; }
  .footer-wordmark { font-size: 11px; letter-spacing: 3px; }
  .footer-right a { font-size: 10px; }
  .footer-copy { font-size: 10px; }

  /* Buttons */
  .btn-solid { padding: 14px 24px; font-size: 13px; }
  .btn-line { font-size: 11px; }

  /* Section dividers */
  .section-divider { padding: 16px 0; }
}
