/* ==========================================================================
   RAMSLEY Portfolio — Responsive Breakpoints (Mobile-First)
   ========================================================================== */

/* >= 576px (Large Mobile / Small Tablet) */
@media (min-width: 576px) {
  .grid-2,
  .grid-team,
  .grid-projects {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

/* >= 768px (Tablet) */
@media (min-width: 768px) {
  :root {
    --nav-offset: 116px;
  }

  .section {
    padding-block: var(--space-3xl);
  }

  .section-header-row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

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

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

  .bento-span-7 {
    grid-column: span 7;
  }

  .bento-span-5 {
    grid-column: span 5;
  }

  .bento-span-6 {
    grid-column: span 6;
  }

  .bento-span-4 {
    grid-column: span 4;
  }

  .contact-grid {
    grid-template-columns: 1fr 1.25fr;
    align-items: start;
  }

  .cta-banner {
    padding: var(--space-2xl);
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

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

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* >= 992px (Desktop — Floating Liquid Glass Pill Navbar expands inline) */
@media (min-width: 992px) {
  .site-header {
    padding: 1.1rem 1.5rem 0;
  }

  .nav-pill {
    padding: 0.42rem 0.48rem 0.42rem 1.2rem;
  }

  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.85rem;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 0;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
  }

  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: 0.2rem;
  }

  .nav-link {
    min-height: 40px;
    padding: 0.45rem 0.95rem;
    font-size: 0.89rem;
  }

  .nav-cta {
    width: auto;
    min-height: 42px;
    padding-inline: 1.15rem;
  }

  .hero {
    padding-block: var(--space-2xl) var(--space-3xl);
  }

  .hero-grid {
    grid-template-columns: 1.12fr 0.88fr;
    gap: var(--space-2xl);
  }

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

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

/* >= 1200px (Large Desktop) */
@media (min-width: 1200px) {
  .container {
    padding-inline: 1.5rem;
  }
}
