/* ============================================================
   SPARKLINE STUDIOS — Responsive Styles
   ============================================================ */

/* ── Tablet ── */
@media (max-width: 1024px) {

  #about .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .about-image-wrap img {
    height: 400px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
  }

  .process-steps::before { display: none; }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-leader {
    grid-template-columns: 280px 1fr;
    gap: var(--space-8);
  }

  .team-leader-image img {
    height: 320px;
  }

  .crew-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .contact-cards {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .contact-social-links {
    gap: var(--space-3);
  }
}

/* ── Mobile ── */
@media (max-width: 768px) {

  :root {
    --nav-height: 70px;
  }

  /* Nav */
  .nav-menu,
  .nav-cta { display: none; }

  .nav-hamburger { display: flex; }

  /* Hero */
  .hero-stats { display: none; }

  .hero-content { max-width: 100%; }

  .hero-title { font-size: clamp(var(--fs-3xl), 10vw, var(--fs-5xl)); }

  /* Grids → single column */
  .services-grid,
  .process-steps,
  .portfolio-grid,
  .why-grid,
  .crew-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .crew-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: var(--space-2);
  }

  .portfolio-tab { white-space: nowrap; }

  /* About pillars */
  .about-pillars {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto var(--space-12);
  }

  /* Team leader */
  .team-leader {
    grid-template-columns: 1fr;
  }

  .team-leader-image img {
    height: 300px;
    object-position: center;
  }

  /* Form row */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-3);
    text-align: center;
  }

  /* Sections */
  .section { padding: var(--space-16) 0; }
  .section--large { padding: var(--space-20) 0; }

  /* Process */
  .process-steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn { width: 100%; justify-content: center; }

  .about-image-wrap img {
    height: 280px;
  }

  .testimonial-text {
    font-size: var(--fs-xl);
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .crew-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Short Viewports (Landscape Laptops / Short screens) ── */
@media (max-height: 850px) and (min-width: 769px) {
  .hero-title {
    font-size: clamp(var(--fs-3xl), 5.5vw, var(--fs-6xl));
  }
  .hero-subtitle {
    margin-bottom: var(--space-6);
  }
  .hero-eyebrow {
    margin-bottom: var(--space-4);
  }
}
