/**
 * FLUX Creation — Responsive Design & Breakpoint Overrides
 */

/* ========================================================================= */
/* DESKTOPS & LARGE LAPTOPS (Max 1200px)                                     */
/* ========================================================================= */
@media (max-width: 1200px) {
  .hero-canvas-wrapper {
    width: 50vw;
  }
  .portfolio-grid {
    gap: 1.5rem;
  }
  .project-card {
    grid-column: span 6;
  }
  .footer-top-grid {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 2rem;
  }
}

/* ========================================================================= */
/* TABLETS & SMALL LAPTOPS (Max 992px)                                       */
/* ========================================================================= */
@media (max-width: 992px) {
  .desktop-nav,
  .btn-header-cta {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-section {
    padding-top: 7rem;
    padding-bottom: 4rem;
    min-height: auto;
  }

  .hero-canvas-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.35;
    z-index: 1;
  }

  .hero-content {
    max-width: 100%;
    position: relative;
    z-index: 2;
  }

  .hero-3d-info-card {
    display: none;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .focus-split-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .cinema-specs-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ai-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .motion-content-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .growth-split-cards {
    grid-template-columns: 1fr;
  }

  .web-split {
    grid-template-columns: 1fr;
  }

  .podcast-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-split-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

/* ========================================================================= */
/* MOBILE DEVICES (Max 768px)                                                */
/* ========================================================================= */
@media (max-width: 768px) {
  :root {
    --space-xl: 3rem;
    --space-2xl: 4.5rem;
  }

  section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .hero-title {
    font-size: 2.35rem;
  }

  .hero-lead {
    font-size: 1.05rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }
  .hero-actions .btn {
    width: 100%;
  }

  .hero-capabilities-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .cap-divider {
    display: none;
  }

  .services-groups-wrapper {
    grid-template-columns: 1fr;
  }

  .project-card,
  .project-card.card-large {
    grid-column: span 12;
  }

  .portfolio-filters {
    width: 100%;
    overflow-x: auto;
    padding: 0.5rem;
    justify-content: flex-start;
  }

  .filter-btn {
    flex-shrink: 0;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .web-perks-grid {
    grid-template-columns: 1fr;
  }

  .device-mobile-frame {
    display: none;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

/* ========================================================================= */
/* SMALL SCREENS & PHONES (Max 480px)                                        */
/* ========================================================================= */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .btn {
    padding: 0.8rem 1.4rem;
    font-size: 0.9rem;
  }

  .service-group-card,
  .branding-card,
  .contact-form-card,
  .feedback-card {
    padding: 1.5rem;
  }

  .modal-card {
    width: 95%;
  }
  .modal-body {
    padding: 1.25rem;
  }
}

/* ========================================================================= */
/* ACCESSIBILITY: REDUCED MOTION PREFERENCES                                 */
/* ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .glow-1, .glow-2, .hero-3d-info-card, .scroll-wheel, .play-ripple, .wave-bar {
    animation: none !important;
  }

  .hero-canvas-wrapper {
    display: none !important;
  }

  #hero-fallback {
    display: block !important;
  }

  .project-card:hover, .service-group-card:hover, .why-card:hover {
    transform: none !important;
  }
}
