/* ==========================================================================
   AHMAD DIGITAL — RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Large Desktops (1440px and above) */
@media (min-width: 1440px) {
  .hero-stage-spacer {
    min-height: 520px;
  }
}

/* Laptop & Compact Desktops (1024px – 1366px) */
@media (max-width: 1366px) {
  .brand-logo-full {
    height: 46px;
    max-width: 185px;
  }

  .hero-container {
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
    gap: 2rem;
  }

  .hero-stage-spacer {
    min-height: 400px;
  }

  .process-timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Tablet Viewports (768px – 1023px) */
@media (max-width: 1023px) {
  :root {
    --header-height: 76px;
  }

  .brand-logo-full {
    height: 44px;
    max-width: 176px;
  }

  .nav-list {
    gap: 1.5rem;
  }

  .hero-section {
    padding-top: calc(var(--header-height) + 1rem);
    padding-bottom: 3.5rem;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-content {
    max-width: 660px;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    background: radial-gradient(
      ellipse at 35% 50%,
      rgba(11, 11, 15, 0.72) 0%,
      rgba(11, 11, 15, 0.25) 75%,
      transparent 100%
    );
  }

  .hero-stage-spacer {
    display: none;
  }

  .section-header-split,
  .about-grid,
  .why-layout,
  .global-panel,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .why-sticky-intro {
    position: static;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .service-row-meta {
    text-align: left;
  }

  .project-card--standard {
    grid-column: 1 / -1;
  }

  .project-card--featured .project-media,
  .project-card--standard .project-media {
    aspect-ratio: 16 / 10;
  }

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

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

/* Mobile & Small Tablets (<= 820px) */
@media (max-width: 820px) {
  .primary-nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

/* Mobile Viewports (320px – 767px) */
@media (max-width: 767px) {
  :root {
    --header-height: 72px;
  }

  .hero-section {
    padding-top: calc(var(--header-height) + 0.75rem);
    padding-bottom: 3rem;
  }

  .hero-content {
    padding: 1.15rem 0.5rem;
    background: radial-gradient(
      ellipse at 50% 45%,
      rgba(11, 11, 15, 0.78) 0%,
      rgba(11, 11, 15, 0.35) 78%,
      transparent 100%
    );
  }

  .hero-eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    margin-bottom: 1.25rem;
  }

  .hero-description {
    font-size: var(--text-base);
    line-height: 1.65;
    margin-bottom: 2rem;
  }

  .about-pillars,
  .why-principles-grid,
  .process-timeline,
  .form-row-two,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .global-visual {
    order: -1;
  }

  .global-meridian-svg {
    max-width: 210px;
  }
}

/* Small Mobile Viewports (<= 480px) */
@media (max-width: 480px) {
  :root {
    --header-height: 68px;
  }

  /* Switch to compact icon-only emblem on narrow mobile screens */
  .brand-logo-full {
    display: none;
  }

  .brand-logo-icon {
    display: block;
    height: 42px;
    width: 42px;
  }

  .footer-logo-img {
    height: 58px;
    max-width: 215px;
  }

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

  .hero-actions .btn {
    width: 100%;
  }

  .hero-scroll-cue {
    display: none;
  }
}