/* ==========================================================================
   Blue Bell Studios — Responsive
   Desktop-first refinements, then tablet and mobile intentional layouts.
   ========================================================================== */

@media (max-width: 1366px) {
  :root {
    --text-h1: clamp(2.8rem, 6vw, 4.8rem);
    --text-display: clamp(3rem, 6.4vw, 5.4rem);
  }
}

@media (max-width: 1100px) {
  .nav-desktop {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .mobile-nav-links a {
    font-size: clamp(1.65rem, 8.5vw, 2.35rem);
  }

  .results-grid,
  .services-grid,
  .belief-grid,
  .testimonial-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mission-grid,
  .split,
  .split.reverse,
  .proposal,
  .contact-grid,
  .service-detail,
  .results-head {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .instagram-feed-head {
    flex-direction: column;
    align-items: start;
  }

  .compare {
    grid-template-columns: 1fr;
  }

  .editorial-grid {
    grid-template-columns: 1fr;
  }

  .editorial-grid .project-card:nth-child(3) .project-media {
    aspect-ratio: 16 / 9;
  }

  .float-card:nth-child(5),
  .float-card:nth-child(6) {
    display: none;
  }

  .showcase-stage {
    min-height: 360px;
  }

  .service-detail .sticky {
    position: static;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 72px;
    --text-h2: clamp(2rem, 9vw, 2.8rem);
    --radius-lg: 22px;
  }

  .logo img {
    height: 46px;
  }

  .hero {
    padding-top: calc(var(--header-h) + 1.4rem);
  }

  .hero-card {
    width: 210px;
  }

  .results-grid,
  .services-grid,
  .project-grid,
  .article-grid,
  .belief-grid,
  .testimonial-grid,
  .mission-stats,
  .cs-gallery,
  .form,
  .deliverables,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .instagram-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .project-card.span-2 {
    grid-column: auto;
  }

  .process-item {
    grid-template-columns: 54px 1fr;
    gap: 0.8rem;
  }

  .proposal,
  .testimonial-stage,
  .form {
    padding: 1.3rem;
    border-radius: 24px;
  }

  .cs-hero-visual,
  .cs-gallery .full,
  .article-hero-img {
    border-radius: 18px;
    aspect-ratio: 4 / 3;
  }

  .next-project {
    flex-direction: column;
    align-items: start;
  }

  .split .media,
  .mission-visual {
    min-height: 280px;
  }

  .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-row .btn {
    width: 100%;
  }

  .hero-proof {
    flex-direction: column;
  }

  .float-card {
    width: 64px;
    height: 64px;
    border-radius: 16px;
  }

  .showcase {
    min-height: auto;
    padding-block: 4rem;
  }

  .section {
    padding: 4rem 0;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .hero-card {
    width: 180px;
    border-radius: 16px;
  }

  .compare-col,
  .service-card,
  .result-card {
    min-height: 0;
  }

  .page-hero {
    padding-top: calc(var(--header-h) + 2rem);
  }
}

@media (min-width: 1920px) {
  :root {
    --container: 1280px;
    --container-wide: 1480px;
  }
}
