/* ============================================
   Responsive Overrides
   ============================================ */

/* Desktop (990px+) */
@media (min-width: 990px) {
  .header__nav {
    display: block;
  }

  .header__hamburger {
    display: none;
  }
}

/* Tablet + Mobile (below 990px) */
@media (max-width: 989px) {
  /* Services */
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Hero */
  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__subtitle {
    margin-inline: auto;
  }

  .hero__cta {
    justify-content: center;
  }

  .hero__materials {
    text-align: center;
  }

  .hero__materials-grid {
    justify-content: center;
  }

  /* Portfolio */
  .portfolio__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Calligraphy */
  .calligraphy__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Process */
  .process__steps {
    flex-direction: column;
    align-items: center;
    gap: var(--sp-xl);
  }

  .process-step__connector {
    width: 2px;
    height: 40px;
    margin-top: 0;
  }

  /* Pricing */
  .pricing__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__col--brand {
    grid-column: span 2;
  }
}

/* Mobile (below 750px) */
@media (max-width: 749px) {
  /* Hero */
  .hero__title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero__materials-grid {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: var(--sp-sm);
    -webkit-overflow-scrolling: touch;
  }

  /* Services */
  .services__grid {
    grid-template-columns: 1fr;
  }

  /* Portfolio */
  .portfolio__grid {
    grid-template-columns: 1fr;
  }

  .portfolio__filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: var(--sp-sm);
    -webkit-overflow-scrolling: touch;
  }

  .portfolio__filter {
    flex-shrink: 0;
  }

  /* Calligraphy */
  .calligraphy__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-md);
  }

  .calligraphy__grid > :last-child {
    grid-column: span 2;
  }

  /* Pricing */
  .pricing__grid {
    grid-template-columns: 1fr;
  }

  /* Stats */
  .stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-xl);
  }

  /* Quote form */
  .quote__row {
    grid-template-columns: 1fr;
  }

  .quote__options {
    grid-template-columns: 1fr 1fr;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__col--brand {
    grid-column: auto;
  }

  .footer__bottom .page-width {
    flex-direction: column;
    gap: var(--sp-sm);
    text-align: center;
  }
}

/* Small mobile (below 480px) */
@media (max-width: 479px) {
  .quote__options {
    grid-template-columns: 1fr;
  }

  .calligraphy__grid {
    grid-template-columns: 1fr;
  }

  .calligraphy__grid > :last-child {
    grid-column: auto;
  }

  .hero__cta {
    flex-direction: column;
    align-items: center;
  }

  .hero__cta .btn {
    width: 100%;
  }
}
