/* ================================================================
   RESPONSIVE.CSS — Mobile & tablet breakpoints
   Breakpoints: tablet = 900px, mobile = 600px
================================================================ */

/* ── TABLET (≤ 900px) ── */
@media (max-width: 900px) {

  /* Nav: hide text links, show burger */
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__drawer { display: flex; }

  /* Hero: single column, hide sidebar */
  .hero { grid-template-columns: 1fr; }
  .hero__side { display: none; }
  .hero__main { border-right: none; min-height: calc(100vh - var(--nav-height)); }

  /* About: stack columns */
  .about { grid-template-columns: 1fr; }
  .about__left { border-right: none; border-bottom: var(--border-heavy); }

  /* Process: 2-col grid */
  .process-grid { grid-template-columns: 1fr 1fr; }

  /* Contact: stack columns */
  .contact { grid-template-columns: 1fr; }
  .contact__right { border-left: none; border-top: 1px solid rgba(255,255,255,.06); }

  /* Work rows: hide tag + year columns */
  .work-row { grid-template-columns: 36px 1fr 28px; }
  .work-row__tag,
  .work-row__year { display: none; }
}

/* ── MOBILE (≤ 600px) ── */
@media (max-width: 600px) {

  :root {
    --space-lg: 20px;  /* tighten outer padding */
    --space-xl: 36px;
  }

  /* Process: single column */
  .process-grid { grid-template-columns: 1fr; }

  /* Hero bottom: stack description + buttons */
  .hero__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }
  .hero__cta { align-items: flex-start; width: 100%; }
  .btn--solid,
  .btn--outline { width: 100%; text-align: center; }

  /* Footer: stack */
  .footer { flex-direction: column; gap: var(--space-sm); text-align: center; }
  .footer__links { justify-content: center; }

  /* Work rows full width */
  .work-row { grid-template-columns: 30px 1fr 24px; gap: 12px; }

  /* Nav: tighter */
  .nav { padding: 0 var(--space-md); }
}
