/* ═══════════════════════════════════════════════
   RESPONSIVE — Mobile-first breakpoints
═══════════════════════════════════════════════ */

/* ── Tablet (≤960px) ── */
@media (max-width: 960px) {
  /* Hero */
  .hero { height: auto; min-height: calc(100svh - 66px); padding-top: 1.5rem; padding-bottom: 2rem; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 1.25rem; }
  .hero-visual { order: -1; }
  .hero-stamp, .hero-buttons, .hero-social, .hero-trust { justify-content: center; }
  .profile-wrapper { width: clamp(220px, 65vw, 300px); padding: 36px 32px; }
  .floating-chip { display: none; } /* chips hidden on tablet - they clip */

  /* Stats */
  .stats-bar { grid-template-columns: repeat(2, 1fr); }

  /* Services */
  .services-layout { grid-template-columns: 1fr; }
  .services-sticky { position: static; }

  /* Projects */
  .projects-grid { grid-template-columns: 1fr; }
  .projects-grid .project-card:first-child { grid-column: span 1; flex-direction: column; }
  .project-card:first-child .project-visual { width: 100%; min-height: 190px; }

  /* Skills */
  .skills-layout { grid-template-columns: 1fr; gap: 2rem; }

  /* Philosophy */
  .philosophy-layout { grid-template-columns: 1fr; }

  /* Experience */
  .experience-layout { grid-template-columns: 1fr; }
  .experience-sticky { position: static; }

  /* CTA */
  .cta-buttons { flex-direction: column; align-items: stretch; }
  .cta-buttons a { justify-content: center; }
}

/* ── Mobile (≤640px) ── */
@media (max-width: 640px) {
  /* Nav */
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: block; }

  /* Hero */
  .hero { padding-left: 1.25rem; padding-right: 1.25rem; padding-bottom: 2.5rem; }
  .hero-inner { padding-top: 72px; }
  .hero-buttons .btn-primary,
  .hero-buttons .btn-ghost { width: 100%; justify-content: center; }
  .profile-wrapper { width: clamp(200px, 78vw, 280px); padding: 32px 28px; }

  /* Stats */
  .stat-number { font-size: 2rem; }
  .stat-cell { padding: .85rem .75rem; }

  /* Section padding */
  .section { padding: 2rem 1.25rem; }

  /* Services */
  .service-cards { grid-template-columns: 1fr; }

  /* Skills tools */
  .tools-grid { grid-template-columns: repeat(3, 1fr); }

  /* Philosophy pills */
  .value-pills { grid-template-columns: 1fr; }

  /* Reviews */
  .review-card { width: 82vw; }
  .reviews-track-outer { mask-image: none; }

  /* Footer */
  .site-footer .footer-inner { flex-direction: column; text-align: center; gap: .75rem; }
  .footer-links { justify-content: center; }
}

/* ── Small mobile (≤480px) ── */
@media (max-width: 480px) {
  .section-title { font-size: clamp(1.5rem, 6vw, 2.2rem); }
  .cta-title     { font-size: clamp(1.7rem, 7vw, 2.4rem); }
  .tools-grid    { grid-template-columns: repeat(2, 1fr); }
}